]> sourceware.org Git - glibc.git/blame - ChangeLog
Fix typo in bug number in NEWS.
[glibc.git] / ChangeLog
CommitLineData
356b3480
RM
12013-03-28 Roland McGrath <roland@hack.frob.com>
2
3 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4 (__libc_message): Never call vsyslog.
5
b0f1246a
AM
62013-03-28 Alan Modra <amodra@gmail.com>
7
8 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9 Define as empty.
10 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
11 Likewise.
12
fbbe2b9a
AZ
132013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14
15 [BZ #15214]
16 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17 underflow.
18 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19
1728ab37
SP
202013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21
7a86be6e
SP
22 [BZ #15304]
23 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
24 Don't add gid passed as argument.
25
1728ab37
SP
26 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27
3a7182a1
JM
282013-03-27 Joseph Myers <joseph@codesourcery.com>
29
30 [BZ #15307]
31 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32 imaginary part between 1.0 and 1.5 and real part less than 0.5
33 specially.
34 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35 * math/k_casinhl.c (__kernel_casinhl): Likewise.
36 * math/libm-test.inc (cacos_test): Add more tests.
37 (casin_test): Likewise.
38 (casinh_test): Likewise.
39 * sysdeps/i386/fpu/libm-test-ulps: Update.
40 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41
6f2e90e7
SP
422013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
43
5739f705
SP
44 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
45 constants.
46 (norm): Likewise.
47 (denorm): Likewise.
48 (__dbl_mp): Likewise.
49 (add_magnitudes): Likewise.
50 (sub_magnitudes): Likewise.
51 (__add): Likewise.
52 (__sub): Likewise.
53 (__mul): Likewise.
54 (__sqr): Likewise.
55 (__inv): Likewise.
56 (__dvd): Likewise.
57
e375e83d
SP
58 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
59 commented code.
60 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
61 (__dubcos): Likewise.
62 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
63 (__ieee754_acos): Likewise.
64 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
65 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
66 (__exp1): Likewise.
67 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69 (log1): Likewise.
70 (my_log2): Likewise.
71 (checkint): Likewise.
72 * sysdeps/ieee754/dbl-64/e_remainder.c
73 (__ieee754_remainder): Likewise.
74 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
75 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
76 (bsloww): Likewise.
77 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
78
6f2e90e7
SP
79 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
80 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
81 MANTISSA_STORE_T to store computations on mantissa. Use
82 macros for rounding and division.
83 (denorm): Likewise.
84 (__dbl_mp): Likewise.
85 (add_magnitudes): Likewise.
86 (sub_magnitudes): Likewise.
87 (__mul): Likewise.
88 (__sqr): Likewise.
89 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
90 powers of two in terms of TWOPOW macro.
91 (mp_no): Make type of mantissa as MANTISSA_T.
92 [!RADIXI]: Define RADIXI.
93 [!TWO52]: Define TWO52.
94 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
95
fce14d4e
AZ
962013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
97
98 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
99 llroundl symbol when building for PPC32.
100
9ad027fb
MW
1012013-03-24 Mark H Weaver <mhw@netris.org>
102
103 * manual/arith.texi (Normalization Functions): Fix prototypes for
104 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
105
e42a38dd
AZ
1062013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
107
108 [BZ #13889]
109 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
110 high value to check if expl overflow.
111 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
112 to check for underflow and overflow.
113 * math/libm-test.inc: Add exp test.
114
2e0fb521
DL
1152013-03-21 Dmitry V. Levin <ldv@altlinux.org>
116
117 [BZ #11120]
118 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
119 with NOT_IN_libc.
120
b5784d95
AZ
1212013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
122
123 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
124 symbol.
125
5aa4a1a1
TS
1262013-03-21 Thomas Schwinge <thomas@codesourcery.com>
127
bdef0be7
TS
128 * math/gen-libm-test.pl (parse_args, special_functions): Properly
129 wrap blocks consisting of several statements.
130
5aa4a1a1
TS
131 * sysdeps/generic/math-tests.h: New file.
132 * sysdeps/i386/fpu/math-tests.h: Likewise.
133 * math/test-snan.c: Include it.
134 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
135
98c48fe5
JM
1362013-03-21 Joseph Myers <joseph@codesourcery.com>
137
138 [BZ #15285]
139 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
140 (__ieee754_j0l): Do not improve calculations using cos of twice
141 input for inputs above LDBL_MAX / 2.0L.
142 (__ieee754_y0l): Likewise.
143 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
144 (__ieee754_j1l): Do not improve calculations using cos of twice
145 input for inputs above LDBL_MAX / 2.0L.
146 (__ieee754_y1l): Likewise.
147 * math/libm-test.inc (j0_test): Add another test.
148 (j1_test): Likewise.
149 (y0_test): Likewise.
150 (y1_test): Likewise.
151 * sysdeps/i386/fpu/libm-test-ulps: Update.
152
3775a8bc
SP
1532013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
154
155 * Rules ($(objpfx)bench-%.c): Include code from a C source
156 file.
157
0a1b2ae6
JM
1582013-03-21 Joseph Myers <joseph@codesourcery.com>
159
160 [BZ #15287]
161 * math/k_casinh.c (__kernel_casinh): Handle arguments with
162 imaginary part 1.0 and real part less than 0.5 specially.
163 * math/k_casinhf.c (__kernel_casinhf): Likewise.
164 * math/k_casinhl.c (__kernel_casinhl): Likewise.
165 * math/libm-test.inc (cacos_test): Add more tests.
166 (casin_test): Likewise.
167 (casinh_test): Likewise.
168 * sysdeps/i386/fpu/libm-test-ulps: Update.
169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
170
b33d4ce4
SP
1712013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
172
173 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
174 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
175
bef0b507
JM
1762013-03-20 Joseph Myers <joseph@codesourcery.com>
177
178 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
179 * config.make.in (config-cflags-sse4): Remove variable.
180 (config-cflags-avx): Likewise.
181 (config-cflags-sse2avx): Likewise.
182 (config-cflags-novzeroupper): Likewise.
183 (config-asflags-i686): Likewise.
184 (have-mfma4): Likewise.
185 (have-as-vis3): Likewise.
186 (MIG): Likewise.
187 * configure.in (MIG): Do not AC_SUBST.
188 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
189 (libc_cv_cc_sse4): Do not AC_SUBST.
190 (libc_cv_cc_avx): Likewise.
191 (libc_cv_cc_sse2avx): Likewise.
192 (libc_cv_cc_novzeroupper): Likewise.
193 (libc_cv_cc_fma4): Likewise.
194 (libc_cv_as_i686): Likewise.
195 (libc_cv_sparc_as_vis3): Likewise.
196 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
197 LIBC_CONFIG_VAR.
198 (config-asflags-i686): Likewise.
199 (config-cflags-avx): Likewise.
200 (config-cflags-sse2avx): Likewise.
201 (have-mfma4): Likewise.
202 (config-cflags-novzeroupper): Likewise.
203 * sysdeps/mach/configure.in (MIG): Likewise.
204 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
205 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
206 LIBC_CONFIG_VAR.
207 (config-cflags-avx): Likewise.
208 (config-cflags-sse2avx): Likewise.
209 (have-mfma4): Likewise.
210 (config-cflags-novzeroupper): Likewise.
211 * configure: Regenerated.
212 * sysdeps/i386/configure: Likewise.
213 * sysdeps/mach/configure: Likewise.
214 * sysdeps/sparc/configure: Likewise.
215 * sysdeps/x86_64/configure: Likewise.
216
912cc4b3
RM
2172013-03-20 Roland McGrath <roland@hack.frob.com>
218
219 [BZ #14812]
220 * locale/programs/localedef.c (options): Put N_ translation marker
221 on argument names, not just descriptions.
222
04eed2b0
MS
2232013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
224
225 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
226
a065ceff
OB
2272013-03-20 Ondřej Bílka <neleai@seznam.cz>
228
9bb2a810 229 [BZ #14176]
a065ceff
OB
230 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
231
a600e5ce
RM
2322013-03-19 Roland McGrath <roland@hack.frob.com>
233
234 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
235 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
236 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
237 [!BEFORE_ABORT] (before_abort): New function.
238 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
239 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
240 (writev_for_fatal): New function.
241 (WRITEV_FOR_FATAL): New macro; call that.
242 (backtrace_and_maps): New function.
243 (BEFORE_ABORT): New macro; call that.
244 (struct str_list): Type removed.
245 (__libc_message, __libc_fatal): Functions removed.
246 Include <sysdeps/posix/libc_fatal.c> instead.
247
6b18bea6
JM
2482013-03-19 Joseph Myers <joseph@codesourcery.com>
249
250 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
251 constants.
252 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
253 double constants.
254
aaa8cb4b
AS
2552013-03-19 Andreas Schwab <schwab@suse.de>
256
44673770
AS
257 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
258 * sysdeps/gnu/configure: Regenerate.
259
aaa8cb4b
AS
260 * configure.in: Substitute libc_cv_rtlddir.
261 * configure: Regenerate.
262 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
263 * Makeconfig (rtlddir, inst_rtlddir): New variables.
264 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
265 * elf/Makefile (install-others, CFLAGS-interp.c)
266 (ldso_install, common-ldd-rewrite): Likewise.
267 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
268 $(inst_slibdir)/$(rtld-installed-name).
269 * scripts/rellns-sh: Add -p option.
270 * Makerules (make-shlib-link): Use rellns-sh to get relative name
271 for source.
272
d3cfc668
SP
2732013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
274
275 * manual/nptl.texi: Renamed to ...
276 * manual/threads.texi: ... this.
277 * manual/Makefile (chapters): Update.
278
0e2b9cdd
RM
2792013-03-18 Roland McGrath <roland@hack.frob.com>
280
281 [BZ #14812]
282 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
283 on argument names, not just descriptions.
0e2b9cdd
RM
284 * malloc/memusagestat.c (options): Likewise.
285 * nss/getent.c (options): Likewise.
63270c24
RM
286
2872013-03-18 Benno Schulenberg <bensberg@justemail.net>
288
289 [BZ #14812]
290 * iconv/iconv_prog.c (options): Put N_ translation marker
291 on argument names, not just descriptions.
292 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 293
b2e1393c
OB
2942013-03-18 Ondrej Bilka <neleai@seznam.cz>
295
296 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
297 implementation which is faster on all x86_64 architectures.
298 Tested on AMD, Intel Nehalem, SNB, IVB.
299 * sysdeps/x86_64/strnlen.S: Likewise.
300
301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
302 Remove all multiarch strlen and strnlen versions.
303 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
304 Remove strlen and strnlen related parts.
305
306 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
307 Inline strlen part.
308 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
309
310 * sysdeps/x86_64/multiarch/strlen.S: Remove.
311 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
312 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
313 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
314 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
315 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
316
ec4ff04d
CD
3172013-03-17 Carlos O'Donell <carlos@redhat.com>
318
319 * manual/memory.texi (Malloc Tunable Parameters):
320 Sort parameters alphabetically. Add comments for missing entries.
321
cd18e90a
DM
3222013-03-17 David S. Miller <davem@davemloft.net>
323
324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
325
2a185d32
JM
3262013-03-16 Joseph Myers <joseph@codesourcery.com>
327
d2f9799e
JM
328 [BZ #15283]
329 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
330 for arguments at most half maximum finite value.
331 * math/libm-test.inc (j0_test): Add more tests.
332 (j1_test): Likewise.
333 (y0_test): Likewise.
334 (y1_test): Likewise.
335 * sysdeps/i386/fpu/libm-test-ulps: Update.
336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
337
2a185d32
JM
338 [BZ #14155]
339 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
340 1 / x and functions P and Q for arguments above 0x1p256L.
341 (__ieee754_y0l): Likewise.
342 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
343 (__ieee754_y1l): Likewise.
344 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
345 (j1_test): Likewise.
346 (y0_test): Likewise.
347 (y1_test): Likewise.
348
6cbec759
TS
3492013-03-16 Thomas Schwinge <thomas@codesourcery.com>
350
351 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
352 variable.
353
bc16e260
RM
3542013-03-15 Roland McGrath <roland@hack.frob.com>
355
aefc9b8c
RM
356 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
357 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
358 zero since it's initialized to EXEC_PAGESIZE.
359
bc16e260
RM
360 * sysdeps/unix/sysv/linux/ldsodefs.h
361 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
362 * sysdeps/generic/ldsodefs.h: ... here.
363
a57da955
TS
3642013-03-15 Thomas Schwinge <thomas@codesourcery.com>
365
af00a34d
TS
366 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
367
495ded2c
TS
368 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
369 math/test-snan.c.
370 * math/test-snan.c: Renamed from
371 sysdeps/powerpc/fpu/test-powerpc-snan.c.
372 * math/Makefile (tests): Add test-snan.
373 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
374 test-powerpc-snan.
375
777b0332
TS
376 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
377 SUFFIX. Initialize qNaN_var with __builtin_nan family of
378 functions.
379 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
380 __builtin_nan family of functions.
381 * math/libm-test.inc (initialize): Initialize qnan_value with
382 __builtin_nan family of functions.
383 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
384 Remove variables.
385 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
386 Remove functions.
387 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
388 storage class. Initialize qNaN_var and sNaN_var with
389 __builtin_nan and __builtin_nans families of functions,
390 respectively.
391
64d063b8
TS
392 * math/libm-test.inc (acosh_test): Also test with qNaN input.
393 (sqrt_test): Remove duplicate test with qNaN input.
394 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
395 (round_test, signbit_test, significand_test): Note missing +/-Inf
396 as well as qNaN tests.
397
67e971f1
TS
398 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
399 qNaN_var. Fix a few strings, too.
400 * math/libm-test.inc (nan_value): Rename to qnan_value.
401 * math/gen-libm-test.pl (%beautify): Adjust to that.
402 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
403 * math/test-misc.c (main): Likewise.
404 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
405 to __qnan_bytes, and __qnan_union, respectively.
406 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
407 Likewise.
408 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
409 and lqnanval, respectively.
410 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
411 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
412 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
413 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
414
64487e12
TS
415 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
416 * math/test-misc.c (main) [__x86_64__]: Enable test for long
417 doubles.
418
e015e27b
TS
419 * math/test-misc.c (main): Fix copy'n'pastos.
420 * misc/tst-efgcvt.c (special): Likewise.
421
a57da955
TS
422 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
423 Remove declarations.
424
1e380345
SP
4252013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
426
427 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
428 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
429 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
430 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
431
ef26eece
AZ
4322013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
433
434 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
435 macro to return vdso values correctly in IFUNC implementations.
436 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
437 Optimization by using IFUNC.
438
8cfdb7e0
SP
4392013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
440 Richard Henderson <rth@redhat.com>
441 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
442
443 * Makefile.in (bench): New target.
444 * NEWS: Mention the benchmark framework.
445 * Rules (bench): Likewise.
446 (binaries-bench): Generate binaries for functions to
447 benchmark.
448 * benchtests/Makefile: New makefile for benchmark tests.
449 * benchtests/bench-skeleton.c: New skeleton file for benchmark
450 programs.
451 * benchtests/exp-inputs: New input file for EXP function.
452 * benchtests/pow-inputs: New input file for POW function.
453 * scripts/bench.pl: New script to generate source files for
454 benchmark programs.
455
bcda9880
SP
4562013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
457
d22ca8cd
SP
458 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
459 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
460 computations on mantissa. Use macros for rounding and
461 division.
462 (denorm): Likewise.
463 (__dbl_mp): Likewise.
464 (add_magnitudes): Likewise.
465 (sub_magnitudes): Likewise.
466 (__mul): Likewise.
467 (__sqr): Likewise.
468 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
469 powers of two in terms of TWOPOW macro.
470 (mp_no): Make type of mantissa as MANTISSA_T.
471 [!RADIXI]: Define RADIXI.
472 [!TWO52]: Define TWO52.
473 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
474
bcda9880
SP
475 * manual/nptl.texi (cindex): Modify threads to pthreads.
476
06d5adfb
JM
4772013-03-15 Joseph Myers <joseph@codesourcery.com>
478
479 * sysdeps/x86_64/preconfigure: Regenerated.
480
41c7328e
JM
4812013-03-14 Joseph Myers <joseph@codesourcery.com>
482
483 [BZ #14155]
484 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
485 0x1p28 and above.
486 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
487 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
488 0x1p28 and above.
489 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
490 * math/libm-test.inc (j0_test): Do not allow one spurious
491 underflow exception.
492 (y1_test): Likewise.
493
e25cfa60
SP
4942013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
495
0409959c
SP
496 * manual/Makefile (chapters): Add nptl.
497 * manual/debug.texi (Debugging Support): Add link to Threads
498 chapter.
499 * manual/nptl.texi: New file.
500
e25cfa60
SP
501 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
502
58a1335e
PB
5032013-03-14 Petr Baudis <pasky@ucw.cz>
504
505 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
506 for non-NULL pointer before the memory validity test. Pointed
507 out by Holger Brunck <holger.brunck@keymile.com>.
508
9dc7c64f
AS
5092013-03-13 Andreas Schwab <schwab@suse.de>
510
511 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
512 instead of .os.
513
54206aa6
JM
5142013-03-13 Joseph Myers <joseph@codesourcery.com>
515
516 * timezone/zic.c: Update from tzcode 2013b.
517
e98cdb38
CD
5182013-03-12 Carlos O'Donell <carlos@redhat.com>
519
520 * manual/install.texi (Configuring and compiling):
521 Mention i686 and i586.
522 * INSTALL: Regenerate.
523
9967e003
RM
5242013-03-12 Roland McGrath <roland@hack.frob.com>
525
526 * sysdeps/init_array/elf-init.c: New file.
527 * csu/elf-init.c
528 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
529 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
530
531 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
532 __gmon_start__ as global, but as static with a .preinit_array pointer.
533 * sysdeps/init_array/gmon-start.c: New file. Use that.
534 * sysdeps/init_array/crti.S: New file, empty except for comments.
535 * sysdeps/init_array/crtn.S: Likewise.
536
e6b5a293 5372013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
538
539 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
540 definining bcopy.
80f844c9
OB
541 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
542 Remove Prefer_SSE_for_memop.
543 * sysdeps/x86_64/multiarch/init-arch.h: Remove
544 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
545 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
546 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
547 memset-x86-64.
80f844c9 548 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 549 Remove bzero, memset ifunc support.
80f844c9
OB
550 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
551 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
552 * sysdeps/x86_64/multiarch/memset.S: Likewise.
553 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
554
fb6b0fcb
AS
5552013-03-11 Andreas Schwab <schwab@suse.de>
556
557 [BZ #15234]
558 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
559 by SHLIB_COMPAT.
560 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
561 (GLIBC_2.16): Remove pthread_atfork.
562
3e6bd4b1
PP
5632013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
564
565 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
566 (ptestcases.h): Likewise.
567
222d7f00
RM
5682013-03-08 Roland McGrath <roland@hack.frob.com>
569
570 * Makeconfig ($(common-objpfx)config.status): Depend on
571 sysdeps/*/preconfigure{,.in} too.
572
1ba4f030
JM
5732013-03-08 Joseph Myers <joseph@codesourcery.com>
574
a222d91a
JM
575 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
576 (__free_hook): Use void * instead of __malloc_ptr_t.
577 (__malloc_hook): Likewise.
578 (__realloc_hook): Likewise.
579 (__memalign_hook): Likewise.
580 (__after_morecore_hook): Likewise.
581 * malloc/arena.c (save_malloc_hook): Likewise.
582 (save_free_hook): Likewise.
583 * malloc/hooks.c (malloc_hook_ini): Likewise.
584 (realloc_hook_ini): Likewise.
585 (memalign_hook_ini): Likewise.
586 * malloc/malloc.c (malloc_hook_ini): Likewise.
587 (realloc_hook_ini): Likewise.
588 (memalign_hook_ini): Likewise.
589 (__free_hook): Likewise.
590 (__malloc_hook): Likewise.
591 (__realloc_hook): Likewise.
592 (__memalign_hook): Likewise.
593 (__libc_malloc): Likewise.
594 (__libc_free): Likewise.
595 (__libc_realloc): Likewise.
596 (__libc_memalign): Likewise.
597 (__libc_valloc): Likewise.
598 (__libc_pvalloc): Likewise.
599 (__libc_calloc): Likewise.
600 (__posix_memalign): Likewise.
601 * malloc/morecore.c (__sbrk): Likewise.
602 (__default_morecore): Likewise.
603
5cc45e10
JM
604 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
605
dd54b864
JM
606 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
607 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
608 __malloc_ptrdiff_t.
609
1ba4f030
JM
610 * malloc/malloc.h (__malloc_size_t): Remove macro.
611 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
612 __malloc_size_t.
613 (old_memalign_hook): Likewise.
614 (old_realloc_hook): Likewise.
615 (struct hdr): Likewise.
616 (flood): Likewise.
617 (mallochook): Likewise.
618 (memalignhook): Likewise.
619 (reallochook): Likewise.
620 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
621 (tr_old_realloc_hook): Likewise.
622 (tr_old_memalign_hook): Likewise.
623 (tr_mallochook): Likewise.
624 (tr_reallochook): Likewise.
625 (tr_memalignhook): Likewise.
626
edf66e57
AZ
6272013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
628
629 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
630 default_ldbl_pack and using as default implementation.
631 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
632 implementation.
633 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
634 redundant definition.
635 (ldbl_insert_mantissa): Likewise.
636 (ldbl_canonicalize): Likewise.
637 (ldbl_nearbyint): Likewise.
638 (ldbl_pack): Rename to ldbl_pack_ppc.
639 (ldbl_unpack): Rename to ldbl_unpack_ppc.
640 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
641 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
642
6d9145d8
SP
6432013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
644
645 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
646 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
647 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
648 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
649 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
650 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
651 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
652 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
653
4dd4e157
AJ
6542013-03-07 Andreas Jaeger <aj@suse.de>
655
656 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
657 bits/mman-linux.h.
658
adbb8027
SP
6592013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
660
ce544b5b
SP
661 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
662 Include mpa.h and declare __MPEXP.
663 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
664 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
665 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
666 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
667 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
668 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
669 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
670
4cc149fd
SP
671 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
672 (__slowpow): Use long double EXPL and LOGL functions to
673 compute POW.
674 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
675 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
676 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
677 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
678 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
679 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
680
e6ebd4a7
SP
681 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
682 intermediate variable to calculate exponent.
683 (__sqr): Likewise.
684 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
685 Likewise.
686 (__sqr): Likewise.
687
82a9811d
SP
688 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
689 [!NO__SQR]: Define __sqr.
690 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
691 and NO__SQR. Remove all code except __mul and __sqr. Include
692 sysdeps/ieee754/dbl-64/mpa.c.
693 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
694
adbb8027
SP
695 [BZ #12723]
696 * posix/Makefile (tests): Add tst-pathconf.
697 * posix/tst-pathconf.c: New test case.
698 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
699 _PC_PIPE_BUF.
700 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
701
39120df9
PF
7022013-03-06 Patsy Franklin <pfrankli@redhat.com>
703
704 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
705
67525cb8
AJ
7062013-03-06 Andreas Jaeger <aj@suse.de>
707
664a9ce4
AJ
708 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
709 definition via __MAP_ANONYMOUS.
710
8e39047d
AJ
711 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
712 it's not part of Linux headers.
713
67525cb8
AJ
714 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
715 (MAP_HUGE_MASK): Define.
716
717 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
718 Define.
719 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
720 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
721 Define.
722 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
723 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
724 Define.
725 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
726 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
727 Define.
728 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
729
730 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
731 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
732 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
733 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
734 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
735 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
736
737 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
738 Handle f2fs.
739
740 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
741 Handle f2fs and efivarfs.
742
743 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
744 f2fs.
745
746 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
747 (EFIVARFS_MAGIC): Add.
748 (F2FS_LINK_MAX): Add.
749
e1b42695
PP
7502013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
751
752 * stdio-common/vfprintf.c: Replace __builtin_expect with
753 __glibc_unlikely.
754
2d67d91a
JM
7552013-03-06 Joseph Myers <joseph@codesourcery.com>
756
757 [BZ #13550]
758 * sysdeps/generic/bp-sym.h: Remove file.
759 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
760 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
761 <bp-sym.h> and <bp-asm.h>.
762 (__longjmp): Don't use BP_SYM.
763 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
764 and <bp-asm.h>.
765 (memcpy): Don't use BP_SYM.
766 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
767 <bp-sym.h> and <bp-asm.h>.
768 (memcpy): Don't use BP_SYM.
769 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
770 <bp-asm.h>.
771 (memcpy): Don't use BP_SYM.
772 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
773 <bp-asm.h>.
774 (memset): Don't use BP_SYM.
775 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
776 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
777 (__bzero): Don't use BP_SYM.
778 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
779 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
780 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
781 <bp-sym.h> and <bp-asm.h>.
782 (memcmp): Don't use BP_SYM. Remove comment about bounded
783 pointers.
784 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
785 <bp-sym.h> and <bp-asm.h>.
786 (memcpy): Don't use BP_SYM.
787 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
788 <bp-sym.h> and <bp-asm.h>.
789 (memset): Don't use BP_SYM.
790 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
791 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
792 (__bzero): Don't use BP_SYM.
793 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
794 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
795 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
796 <bp-sym.h> and <bp-asm.h>.
797 (strncmp): Don't use BP_SYM. Remove comment about bounded
798 pointers.
799 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
800 <bp-sym.h> and <bp-asm.h>.
801 (memcpy): Don't use BP_SYM.
802 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
803 <bp-sym.h> and <bp-asm.h>.
804 (memset): Don't use BP_SYM.
805 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
806 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
807 (__bzero): Don't use BP_SYM.
808 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
809 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
810 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
811 <bp-sym.h> and <bp-asm.h>.
812 (__memchr): Don't use BP_SYM.
813 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
814 <bp-sym.h> and <bp-asm.h>.
815 (memcmp): Don't use BP_SYM. Remove comment about bounded
816 pointers.
817 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
818 <bp-sym.h> and <bp-asm.h>.
819 (memcpy): Don't use BP_SYM.
820 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
821 <bp-sym.h> and <bp-asm.h>.
822 (__mempcpy): Don't use BP_SYM.
823 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
824 <bp-sym.h> and <bp-asm.h>.
825 (__memrchr): Don't use BP_SYM.
826 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
827 <bp-sym.h> and <bp-asm.h>.
828 (memset): Don't use BP_SYM.
829 (__bzero): Likewise.
830 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
831 <bp-sym.h> and <bp-asm.h>.
832 (__rawmemchr): Don't use BP_SYM.
833 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
834 <bp-sym.h> and <bp-asm.h>.
835 (__STRCMP): Don't use BP_SYM.
836 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
837 <bp-sym.h> and <bp-asm.h>.
838 (strchr): Don't use BP_SYM.
839 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
840 <bp-sym.h> and <bp-asm.h>.
841 (__strchrnul): Don't use BP_SYM.
842 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
843 <bp-sym.h> and <bp-asm.h>.
844 (strlen): Don't use BP_SYM.
845 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
846 <bp-sym.h> and <bp-asm.h>.
847 (strncmp): Don't use BP_SYM. Remove comment about bounded
848 pointers.
849 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
850 <bp-sym.h> and <bp-asm.h>.
851 (__strnlen): Don't use BP_SYM.
852 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
853 <bp-sym.h> and <bp-asm.h>.
854 (__GI__setjmp): Don't use BP_SYM.
855 (_setjmp): Likewise.
856 (__sigsetjmp): Likewise.
857 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
858 (L(start_addresses)): Don't use BP_SYM.
859 (_start): Likewise.
860 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
861 <bp-asm.h>.
862 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
863 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
864 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
865 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
866 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
867 <bp-asm.h>.
868 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
869 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
870 about bounded pointers.
871 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
872 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
873 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
874 <bp-asm.h>.
875 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
876 about bounded pointers. Remove GKM FIXME comments.
877 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
878 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
879 <bp-asm.h>.
880 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
881 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
882 Remove GKM FIXME comments.
883 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
884 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
885 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
886 <bp-asm.h>.
887 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
888 about bounded pointers. Remove GKM FIXME comment.
889 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
890 and <bp-asm.h>.
891 (strncmp): Don't use BP_SYM. Remove comment about bounded
892 pointers.
893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
894 <bp-sym.h> and <bp-asm.h>.
895 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
897 <bp-sym.h> and <bp-asm.h>.
898 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
899 comment.
900
cdcf361f
PP
9012013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
902
903 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
904 call free(NULL).
905
3c4a2b15
DM
9062013-03-05 David S. Miller <davem@davemloft.net>
907
908 * po/es.po: Update from translation team.
909
cdcf361f 9102013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
911
912 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
913 <bits/mman-linux.h>.
914 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
915 is fine.
916 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
917 <bits/mman-linux.h> to end of file.
918 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
919 is fine.
920 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
921 <bits/mman-linux.h> to end of file.
922 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
923 is fine.
924 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
925 <bits/mman-linux.h> to end of file.
926
927 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
928 (MCL_CURRENT, MCL_FUTURE): Define here.
929
5f67c04f
AK
9302013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
931
8a4473cc 932 [BZ #15232]
5f67c04f
AK
933 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
934 attribute_hidden.
935 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
936
c3e94a95
AK
9372013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
938
939 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
940 fourth parameter needed for rt_sigprocmask syscall.
941 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
942 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
943 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
944 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
945 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
946 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
947
cfb6382a
JM
9482013-03-04 Joseph Myers <joseph@codesourcery.com>
949
950 [BZ #13550]
951 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
952 comment about bounded pointers.
953 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
954 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
955
539d8e01
AJ
9562013-03-04 Andreas Jaeger <aj@suse.de>
957
958 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
959 common definitions.
960
961 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
962 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
963 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
964 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
965 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
966 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
967
2e167a70 9682013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
969
970 [BZ #15055]
971 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
972 __ieee754_sqrl instead of __sqrl.
973
68508633
JM
9742013-03-01 Joseph Myers <joseph@codesourcery.com>
975
976 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
977 * sysdeps/powerpc/fpu_control.h: ... here.
978 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
979 * sysdeps/powerpc/bits/fenvinline.h: ... here.
980 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
981 * sysdeps/powerpc/bits/mathinline.h: ... here.
982
7775448e
RM
9832013-03-01 Roland McGrath <roland@hack.frob.com>
984
985 * elf/dl-hwcaps.c (_dl_important_hwcaps):
986 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
987 to just [NEED_DL_SYSINFO_DSO].
988 * elf/dl-support.c: Likewise.
989 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
990 * elf/rtld.c (dl_main): Likewise.
991 * elf/setup-vdso.h (setup_vdso): Likewise.
992 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
993 * sysdeps/unix/sysv/linux/dl-sysdep.c
994 (_dl_discover_osversion): Likewise.
995
4e9b5995
CD
9962013-03-01 Carlos O'Donell <carlos@redhat.com>
997
998 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
999 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1000
e23872c8
SP
10012013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1002
e5c74c63
SP
1003 * NEWS: Mention libm performance improvements and non-x86 PI
1004 futex support.
1005
e23872c8
SP
1006 * csu/libc-start.c (__pthread_initialize_minimal): Change
1007 function arguments.
1008 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1009
b5510883
JM
10102013-02-28 Joseph Myers <joseph@codesourcery.com>
1011
1012 [BZ #13550]
1013 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1014 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1015 <bp-sym.h> and <bp-asm.h>.
1016 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1017 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1018 and <bp-asm.h>.
1019 (memcpy): Don't use BP_SYM.
1020 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1021 <bp-asm.h>.
1022 (__mpn_add_n): Don't use BP_SYM.
1023 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1024 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1025 and <bp-asm.h>.
1026 (__mpn_addmul_1): Don't use BP_SYM.
1027 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1028 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1029 <bp-sym.h>.
1030 (_setjmp): Don't use BP_SYM.
1031 (__novmx_setjmp): Likewise.
1032 (__GI__setjmp): Likewise.
1033 (__vmx_setjmp): Likewise.
1034 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1035 <bp-sym.h>.
1036 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1037 (__bzero): Don't use BP_SYM.
1038 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1039 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1040 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1041 <bp-sym.h> and <bp-asm.h>.
1042 (memcpy): Don't use BP_SYM.
1043 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1044 <bp-sym.h> and <bp-asm.h>.
1045 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1046 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1047 <bp-sym.h> and <bp-asm.h>.
1048 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1049 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1050 <bp-asm.h>.
1051 (__mpn_lshift): Don't use BP_SYM.
1052 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1053 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1054 <bp-asm.h>.
1055 (memset): Don't use BP_SYM.
1056 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1057 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1058 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1059 <bp-asm.h>.
1060 (__mpn_mul_1): Don't use BP_SYM.
1061 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1062 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1063 <bp-sym.h> and <bp-asm.h>.
1064 (memcmp): Don't use BP_SYM.
1065 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1066 <bp-sym.h> and <bp-asm.h>.
1067 (memcpy): Don't use BP_SYM.
1068 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1069 <bp-sym.h> and <bp-asm.h>.
1070 (memset): Don't use BP_SYM.
1071 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1072 <bp-sym.h> and <bp-asm.h>.
1073 (strncmp): Don't use BP_SYM.
1074 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1075 <bp-sym.h> and <bp-asm.h>.
1076 (memcpy): Don't use BP_SYM.
1077 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1078 <bp-sym.h> and <bp-asm.h>.
1079 (memset): Don't use BP_SYM.
1080 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1081 <bp-sym.h> and <bp-asm.h>.
1082 (__memchr): Don't use BP_SYM.
1083 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1084 <bp-sym.h> and <bp-asm.h>.
1085 (memcmp): Don't use BP_SYM.
1086 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1087 <bp-sym.h> and <bp-asm.h>.
1088 (memcpy): Don't use BP_SYM.
1089 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1090 <bp-sym.h> and <bp-asm.h>.
1091 (__mempcpy): Don't use BP_SYM.
1092 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1093 <bp-sym.h> and <bp-asm.h>.
1094 (__memrchr): Don't use BP_SYM.
1095 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1096 <bp-sym.h> and <bp-asm.h>.
1097 (memset): Don't use BP_SYM.
1098 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1099 <bp-sym.h> and <bp-asm.h>.
1100 (__rawmemchr): Don't use BP_SYM.
1101 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1102 <bp-sym.h> and <bp-asm.h>.
1103 (__STRCMP): Don't use BP_SYM.
1104 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1105 <bp-sym.h> and <bp-asm.h>.
1106 (strchr): Don't use BP_SYM.
1107 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1108 <bp-sym.h> and <bp-asm.h>.
1109 (__strchrnul): Don't use BP_SYM.
1110 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1111 <bp-sym.h> and <bp-asm.h>.
1112 (strlen): Don't use BP_SYM.
1113 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1114 <bp-sym.h> and <bp-asm.h>.
1115 (strncmp): Don't use BP_SYM.
1116 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1117 <bp-sym.h> and <bp-asm.h>.
1118 (__strnlen): Don't use BP_SYM.
1119 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1120 <bp-asm.h>.
1121 (__mpn_rshift): Don't use BP_SYM.
1122 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1123 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1124 <bp-sym.h> and <bp-asm.h>.
1125 (__sigsetjmp): Don't use BP_SYM.
1126 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1127 (L(start_addresses)): Don't use BP_SYM.
1128 (_start): Likewise.
1129 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1130 <bp-asm.h>.
1131 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1132 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1133 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1134 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1135 <bp-asm.h>.
1136 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1137 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1138 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1139 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1140 <bp-asm.h>.
1141 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1142 comments.
1143 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1144 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1145 <bp-asm.h>.
1146 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1147 FIXME comments.
1148 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1149 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1150 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1151 <bp-asm.h>.
1152 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1153 comment.
1154 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1155 and <bp-asm.h>.
1156 (strncmp): Don't use BP_SYM,
1157 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1158 <bp-asm.h>.
1159 (__mpn_sub_n): Don't use BP_SYM.
1160 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1161 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1162 and <bp-asm.h>.
1163 (__mpn_submul_1): Don't use BP_SYM.
1164 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1166 <bp-sym.h> and <bp-asm.h>.
1167 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1169 <bp-sym.h> and <bp-asm.h>.
1170 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1171 comment.
1172
8d19fe64
SP
11732013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1174
1175 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1176 Use ZK to minimize writes to Z.
1177 (sub_magnitudes): Simplify code a bit.
1178 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1179 Use ZK to minimize writes to Z.
1180 (sub_magnitudes): Simplify code a bit.
1181
85bd816a
RM
11822013-02-27 Roland McGrath <roland@hack.frob.com>
1183
1184 * csu/gmon-start.c: Add special exception to license text.
1185
b5977bf2
RH
11862013-02-27 Richard Henderson <rth@redhat.com>
1187
1188 * scripts/config.guess: Update from config.git.
1189 * scripts/config.sub: Likewise.
1190
11d6e2f2
SP
11912013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1192
09c14ed2
SP
1193 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1194
a688864e
SP
1195 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1196
6295157a
SP
1197 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1198
b8de2202
SP
1199 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1200
11d6e2f2
SP
1201 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1202
7e80ddb8
RM
12032013-02-26 Roland McGrath <roland@hack.frob.com>
1204
1205 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1206 [$(build-shared = yes].
7e80ddb8 1207
7da6d9ed
SP
12082013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1209
45f05884
SP
1210 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1211 (__mul): Reduce iterations for calculating mantissa.
1212
2236d359
SP
1213 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1214 MPTWO.
1215 (__mpranred): Likewise.
1216
7da6d9ed
SP
1217 [BZ #15160]
1218 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1219 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1220
b7688c42
PE
12212013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1222
1223 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1224 Define __attribute__.
1225
53a5c423
SP
12262013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1227
1228 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1229 unused.
1230 * posix/regex_internal.h (__attribute): Remove.
1231 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1232 (re_string_context_at): Likewise.
1233 (bitset_not): Use __attribute__ and mark function as possibly
1234 unused.
1235 (bitset_merge): Likewise.
1236 (bitset_mask): Likewise.
1237 (re_string_char_size_at): Likewise.
1238 (re_string_wchar_at): Likewise.
1239 (re_string_elem_size_at): Likewise.
1240
60f5a8b5
SP
12412013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1242
2a983a2e
SP
1243 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1244 code.
1245 (cc32): Likewise.
1246
e69804d1
SP
1247 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1248 (__acr): Likewise.
1249 (__cpy): Likewise.
1250 (norm): Likewise.
1251 (denorm): Likewise.
1252 (__dbl_mp): Likewise.
1253 (add_magnitudes): Likewise.
1254 (sub_magnitudes): Likewise.
1255 (__mul): Likewise.
1256 (__inv): Likewise.
1257
2f22a1e8
SP
1258 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1259 style.
1260
8930ddc7
SP
1261 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1262 style.
1263
dc60cb11
SP
1264 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1265 code.
1266
60f5a8b5
SP
1267 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1268 up changes with default code.
1269 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1270 Likewise.
1271
b4d1fd33
AM
12722013-02-24 Allan McRae <allan@archlinux.org>
1273
faf6f8bc
AM
1274 * manual/socket.texi (The Internet Namespace): Order menu items
1275 to match that in the file.
1276
b4d1fd33
AM
1277 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1278 node listing of the info page menu.
1279
2366713d
JM
12802013-02-21 Joseph Myers <joseph@codesourcery.com>
1281
1282 [BZ #13550]
1283 * sysdeps/i386/bp-asm.h: Remove file.
1284 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1285 (PARMS): Do not use macros from bp-asm.h.
1286 (S1): Likewise.
1287 (S2): Likewise.
1288 (SIZE): Likewise.
1289 (__mpn_add_n): Do not use BP_SYM
1290 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1291 "bp-asm.h".
1292 (PARMS): Do not use macros from bp-asm.h.
1293 (S1): Likewise.
1294 (SIZE): Likewise.
1295 (__mpn_addmul_1): Do not use BP_SYM
1296 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1297 "bp-asm.h".
1298 (PARMS): Do not use macros from bp-asm.h.
1299 (SIGMSK): Likewise.
1300 (_setjmp): Likewise. Do not use BP_SYM.
1301 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1302 "bp-asm.h".
1303 (PARMS): Do not use macros from bp-asm.h.
1304 (SIGMSK): Likewise.
1305 (setjmp): Likewise. Do not use BP_SYM.
1306 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1307 "bp-asm.h".
1308 (PARMS): Do not use macros from bp-asm.h.
1309 (__frexp): Do not use BP_SYM.
1310 (frexp): Likewise.
1311 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1312 "bp-asm.h".
1313 (PARMS): Do not use macros from bp-asm.h.
1314 (__frexpf): Do not use BP_SYM.
1315 (frexpf): Likewise.
1316 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1317 "bp-asm.h".
1318 (PARMS): Do not use macros from bp-asm.h.
1319 (__frexpl): Do not use BP_SYM.
1320 (frexpl): Likewise.
1321 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1322 "bp-asm.h".
1323 (PARMS): Do not use macros from bp-asm.h.
1324 (__remquo): Do not use BP_SYM.
1325 (remquo): Likewise.
1326 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1327 "bp-asm.h".
1328 (PARMS): Do not use macros from bp-asm.h.
1329 (__remquof): Do not use BP_SYM.
1330 (remquof): Likewise.
1331 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1332 "bp-asm.h".
1333 (PARMS): Do not use macros from bp-asm.h.
1334 (__remquol): Do not use BP_SYM.
1335 (remquol): Likewise.
1336 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1337 "bp-asm.h".
1338 (PARMS): Do not use macros from bp-asm.h.
1339 (DEST): Likewise.
1340 (SRC): Likewise.
1341 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1342 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1343 "bp-asm.h".
1344 (PARMS): Do not use macros from bp-asm.h.
1345 (strlen): Do not use BP_SYM.
1346 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1347 "bp-asm.h".
1348 (PARMS): Do not use macros from bp-asm.h.
1349 (S1): Likewise.
1350 (S2): Likewise.
1351 (SIZE): Likewise.
1352 (__mpn_add_n): Do not use BP_SYM.
1353 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1354 "bp-asm.h".
1355 (PARMS): Do not use macros from bp-asm.h.
1356 (S1): Likewise.
1357 (SIZE): Likewise.
1358 (__mpn_addmul_1): Do not use BP_SYM.
1359 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1360 weak_alias.
1361 (bzero): Likewise.
1362 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1363 "bp-asm.h".
1364 (PARMS): Do not use macros from bp-asm.h.
1365 (S): Likewise.
1366 (SIZE): Likewise.
1367 (__mpn_lshift): Do not use BP_SYM.
1368 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1369 "bp-asm.h".
1370 (PARMS): Do not use macros from bp-asm.h.
1371 (DEST): Likewise.
1372 (SRC): Likewise.
1373 (LEN): Likewise.
1374 (memcpy): Likewise. Do not use BP_SYM.
1375 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1376 libc_hidden_def and weak_alias.
1377 (mempcpy): Do not use BP_SYM in weak_alias.
1378 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1379 "bp-asm.h".
1380 (PARMS): Do not use macros from bp-asm.h.
1381 (DEST): Likewise.
1382 (LEN): Likewise.
1383 [!BZERO_P] (CHR): Likewise.
1384 (memset): Likewise. Do not use BP_SYM.
1385 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1386 "bp-asm.h".
1387 (PARMS): Do not use macros from bp-asm.h.
1388 (S1): Likewise.
1389 (SIZE): Likewise.
1390 (__mpn_mul_1): Do not use BP_SYM.
1391 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1392 "bp-asm.h".
1393 (PARMS): Do not use macros from bp-asm.h.
1394 (S): Likewise.
1395 (SIZE): Likewise.
1396 (__mpn_rshift): Do not use BP_SYM.
1397 * sysdeps/i386/i586/strchr.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 (strchr): Likewise. Do not use BP_SYM.
1403 (index): Do not use BP_SYM in weak_alias.
1404 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1405 "bp-asm.h".
1406 (PARMS): Do not use macros from bp-asm.h.
1407 (DEST): Likewise.
1408 (SRC): Likewise.
1409 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1410 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1411 "bp-asm.h".
1412 (PARMS): Do not use macros from bp-asm.h.
1413 (strlen): Do not use BP_SYM.
1414 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1415 "bp-asm.h".
1416 (PARMS): Do not use macros from bp-asm.h.
1417 (S1): Likewise.
1418 (S2): Likewise.
1419 (SIZE): Likewise.
1420 (__mpn_sub_n): Do not use BP_SYM.
1421 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1422 "bp-asm.h".
1423 (PARMS): Do not use macros from bp-asm.h.
1424 (S1): Likewise.
1425 (SIZE): Likewise.
1426 (__mpn_submul_1): Do not use BP_SYM.
1427 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1428 "bp-asm.h".
1429 (PARMS): Do not use macros from bp-asm.h.
1430 (S1): Likewise.
1431 (S2): Likewise.
1432 (SIZE): Likewise.
1433 (__mpn_add_n): Do not use BP_SYM.
1434 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1435 weak_alias.
1436 (bzero): Likewise.
1437 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1438 "bp-asm.h".
1439 (PARMS): Do not use macros from bp-asm.h.
1440 (BLK2): Likewise.
1441 (LEN): Likewise.
1442 (memcmp): Do not use BP_SYM.
1443 (bcmp): Do not use BP_SYM in weak_alias.
1444 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1445 "bp-asm.h".
1446 (PARMS): Do not use macros from bp-asm.h.
1447 (DEST): Likewise.
1448 (SRC): Likewise.
1449 (LEN): Likewise.
1450 (memcpy): Likewise. Do not use BP_SYM.
1451 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1452 "bp-asm.h".
1453 (PARMS): Do not use macros from bp-asm.h.
1454 (DEST): Likewise.
1455 (SRC): Likewise.
1456 (LEN): Likewise.
1457 (memmove): Likewise. Do not use BP_SYM.
1458 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1459 "bp-asm.h".
1460 (PARMS): Do not use macros from bp-asm.h.
1461 (DEST): Likewise.
1462 (SRC): Likewise.
1463 (LEN): Likewise.
1464 (__mempcpy): Likewise. Do not use BP_SYM.
1465 (mempcpy): Do not use BP_SYM in weak_alias.
1466 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1467 "bp-asm.h".
1468 (PARMS): Do not use macros from bp-asm.h.
1469 (DEST): Likewise.
1470 (LEN): Likewise.
1471 [!BZERO_P] (CHR): Likewise.
1472 (memset): Likewise. Do not use BP_SYM.
1473 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1474 "bp-asm.h".
1475 (PARMS): Do not use macros from bp-asm.h.
1476 (STR2): Likewise.
1477 (strcmp): Do not use BP_SYM.
1478 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1479 "bp-asm.h".
1480 (PARMS): Do not use macros from bp-asm.h.
1481 (STR): Likewise.
1482 (DELIM): Likewise.
1483 [USE_AS_STRTOK_R] (SAVE): Likewise.
1484 (FUNCTION): Likewise. Do not use BP_SYM.
1485 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1486 aliases.
1487 (strtok_r): Likewise.
1488 (__GI___strtok_r): Likewise.
1489 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1490 (PARMS): Do not use macros from bp-asm.h.
1491 (S): Likewise.
1492 (SIZE): Likewise.
1493 (__mpn_lshift): Do not use BP_SYM.
1494 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1495 (PARMS): Do not use macros from bp-asm.h.
1496 (STR): Likewise.
1497 (CHR): Likewise.
1498 (__memchr): Do not use BP_SYM.
1499 (memchr): Do not use BP_SYM in weak_alias.
1500 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1501 (PARMS): Do not use macros from bp-asm.h.
1502 (BLK2): Likewise.
1503 (LEN): Likewise.
1504 (memcmp): Do not use BP_SYM.
1505 (bcmp): Do not use BP_SYM in weak_alias.
1506 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1507 (PARMS): Do not use macros from bp-asm.h.
1508 (S1): Likewise.
1509 (SIZE): Likewise.
1510 (__mpn_mul_1): Do not use BP_SYM.
1511 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1512 "bp-asm.h".
1513 (PARMS): Do not use macros from bp-asm.h.
1514 (STR): Likewise.
1515 (CHR): Likewise.
1516 (__rawmemchr): Do not use BP_SYM.
1517 (rawmemchr): Do not use BP_SYM in weak_alias.
1518 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1519 (PARMS): Do not use macros from bp-asm.h.
1520 (S): Likewise.
1521 (SIZE): Likewise.
1522 (__mpn_rshift): Do not use BP_SYM.
1523 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1524 (PARMS): Do not use macros from bp-asm.h.
1525 (SIGMSK): Likewise.
1526 (__sigsetjmp): Likewise. Do not use BP_SYM.
1527 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1528 (_start): Do not use BP_SYM.
1529 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1530 (PARMS): Do not use macros from bp-asm.h.
1531 (DEST): Likewise.
1532 (SRC): Likewise.
1533 (__stpcpy): Likewise. Do not use BP_SYM.
1534 (stpcpy): Do not use BP_SYM in weak_alias.
1535 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1536 "bp-asm.h".
1537 (PARMS): Do not use macros from bp-asm.h.
1538 (DEST): Likewise.
1539 (SRC): Likewise.
1540 (LEN): Likewise.
1541 (__stpncpy): Likewise. Do not use BP_SYM.
1542 (stpncpy): Do not use BP_SYM in weak_alias.
1543 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1544 (PARMS): Do not use macros from bp-asm.h.
1545 (STR): Likewise.
1546 (CHR): Likewise.
1547 (strchr): Likewise. Do not use BP_SYM.
1548 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1549 "bp-asm.h".
1550 (PARMS): Do not use macros from bp-asm.h.
1551 (STR): Likewise.
1552 (CHR): Likewise.
1553 (__strchrnul): Likewise. Do not use BP_SYM.
1554 (strchrnul): Do not use BP_SYM in weak_alias.
1555 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1556 "bp-asm.h".
1557 (PARMS): Do not use macros from bp-asm.h.
1558 (STOP): Likewise.
1559 (strcspn): Do not use BP_SYM.
1560 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1561 "bp-asm.h".
1562 (PARMS): Do not use macros from bp-asm.h.
1563 (STR): Likewise.
1564 (STOP): Likewise.
1565 (strpbrk): Likewise. Do not use BP_SYM.
1566 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1567 "bp-asm.h".
1568 (PARMS): Do not use macros from bp-asm.h.
1569 (STR): Likewise.
1570 (CHR): Likewise.
1571 (strrchr): Likewise. Do not use BP_SYM.
1572 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1573 (PARMS): Do not use macros from bp-asm.h.
1574 (SKIP): Likewise.
1575 (strspn): Do not use BP_SYM.
1576 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1577 (PARMS): Do not use macros from bp-asm.h.
1578 (STR): Likewise.
1579 (DELIM): Likewise.
1580 (SAVE): Likewise.
1581 (FUNCTION): Likewise. Do not use BP_SYM.
1582 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1583 aliases.
1584 (strtok_r): Likewise.
1585 (__GI___strtok_r): Likewise.
1586 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1587 (PARMS): Do not use macros from bp-asm.h.
1588 (S1): Likewise.
1589 (S2): Likewise.
1590 (SIZE): Likewise.
1591 (__mpn_sub_n): Do not use BP_SYM.
1592 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1593 "bp-asm.h".
1594 (PARMS): Do not use macros from bp-asm.h.
1595 (S1): Likewise.
1596 (SIZE): Likewise.
1597 (__mpn_submul_1): Do not use BP_SYM.
1598 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1599 <bp-sym.h>.
1600 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1601 and <bp-asm.h>.
1602 (PARMS): Do not use macros from bp-asm.h.
1603 (FLAGS): Likewise.
1604 (PTID): Likewise.
1605 (TLS): Likewise.
1606 (CTID): Likewise.
1607 (__clone): Do not use BP_SYM.
1608 (clone): Do not use BP_SYM in weak_alias.
1609 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1610 and <bp-asm.h>.
1611 (PARMS): Do not use macros from bp-asm.h.
1612 (LEN): Likewise.
1613 (__mmap64): Do not use BP_SYM.
1614 (mmap64): Do not use BP_SYM in weak_alias.
1615 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1616 <bp-sym.h> and <bp-asm.h>.
1617 (PARMS): Do not use macros from bp-asm.h.
1618 (__posix_fadvise64_l64): Do not use BP_SYM.
1619 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1620 (PARMS): Do not use macros from bp-asm.h.
1621 (NSOPS): Likewise.
1622 (semtimedop): Do not use BP_SYM.
1623 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1624 and <bp-asm.h>.
1625
582a3cff
AM
16262013-02-21 Allan McRae <allan@archlinux.org>
1627
1628 * manual/message.texi (Charset conversion in gettext):
1629 Move @end statement to beginning of line.
1630
bab8a695
SP
16312013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1632
80945231
SP
1633 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1634 static.
1635 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1636 Likewise.
1637
bab8a695
SP
1638 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1639 (denorm): Likewise.
1640 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1641 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1642
e21d7aa7
AK
16432013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1644
1645 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1646 tail-call to the resolved function if pltexit isn't needed.
1647
4c7a4263
SP
16482013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1649
1650 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1651 or Y being zero as being unlikely.
1652 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1653 Likewise.
1654
41f49342
CD
16552013-02-20 Carlos O'Donell <carlos@redhat.com>
1656
1657 * manual/nss.texi (System Databases and Name Service Switch):
1658 Remove frobnicate @pxref.
1659
50022a93
TS
16602013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1661
1662 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1663 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1664
08cbd996
PM
16652013-02-20 Petr Machata <pmachata@redhat.com>
1666
1667 * elf/elf.h (R_ARM_TARGET1): New macro.
1668 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1669 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1670 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1671 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1672 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1673 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1674 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1675 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1676 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1677 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1678 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1679 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1680 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1681 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1682 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1683 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1684 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1685 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1686 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1687 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1688 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1689 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1690 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1691 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1692 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1693 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1694 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1695 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1696 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1697 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1698 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1699 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1700 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1701 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1702 (R_ARM_THM_GOT_BREL12): Likewise.
1703 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1704 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1705 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1706 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1707 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1708 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1709 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1710 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1711 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1712
c7b275d6
TS
17132013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1714
1715 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1716 __attribute_used__ to __attribute__ ((unused)).
1717
20cd7fb3
SP
17182013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1719
1720 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1721 powerpc mpa.c.
1722 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1723 comment formatting.
1724 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1725
92945b52
JM
17262013-02-19 Joseph Myers <joseph@codesourcery.com>
1727
1728 [BZ #13550]
1729 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1730 Remove macro.
1731 (ENTER): Remove both macro definitions.
1732 (LEAVE): Likewise.
1733 (CHECK_BOUNDS_LOW): Likewise.
1734 (CHECK_BOUNDS_HIGH): Likewise.
1735 (CHECK_BOUNDS_BOTH): Likewise.
1736 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1737 (RETURN_BOUNDED_POINTER): Likewise.
1738 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1739 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1740 (POP_ERRNO_LOCATION_RETURN): Likewise.
1741 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1742 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1743 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1744 macros.
1745 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1746 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1747 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1748 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1749 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1750 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1751 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1752 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1753 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1754 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1755 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1756 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1757 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1758 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1759 removed macros.
1760 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1761 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1762 macros.
1763 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1764 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1765 * sysdeps/i386/i586/memset.S (memset): Likewise.
1766 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1767 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1768 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1769 macros.
1770 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1771 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1772 Change uses of L(2) to L(out).
1773 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1774 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1775 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1776 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1777 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1778 removed macros.
1779 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1780 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1781 macros.
1782 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1783 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1784 (RETURN): Do not use macro LEAVE.
1785 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1786 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1787 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1788 * sysdeps/i386/i686/memset.S (memset): Likewise.
1789 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1790 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1791 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1792 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1793 Likewise.
1794 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1795 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1796 L(1_2) and L(1_3) into L(1).
1797 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1798 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1799 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1800 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1801 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1802 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1803 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1804 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1805 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1806 macros.
1807 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1808 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1809 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1810 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1811 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1812 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1813 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1814 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1815 * sysdeps/i386/strcspn.S (strcspn): Likewise.
1816 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1817 * sysdeps/i386/strrchr.S (strrchr): Likewise.
1818 * sysdeps/i386/strspn.S (strspn): Likewise.
1819 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1820 conditional code.
1821 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1822 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1823 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1824 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
1825 L(1_3) into L(1_1).
1826 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1827 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1828 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1829 macros.
1830 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1831
2389741a
JJ
18322013-02-19 Jakub Jelinek <jakub@redhat.com>
1833
1834 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1835 macro.
1836
2016b3cd
SP
18372013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1838
e4f22324
SP
1839 * math/atest-exp.c (exp_mpn): Remove ROUND.
1840 * math/atest-exp2.c (exp_mpn): Likewise.
1841 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1842
2016b3cd
SP
1843 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1844 * stdlib/tst-tls-atexit-lib.c: Likewise.
1845 * stdlib/tst-tls-atexit.c: Likewise.
1846
4be9b544
MF
18472013-02-18 Mike Frysinger <vapier@gentoo.org>
1848
1849 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1850 and __attribute_alloc_size__.
1851
2f62b9ee
MF
18522013-02-18 Mike Frysinger <vapier@gentoo.org>
1853
1854 * include/programs/xmalloc.h: Change __attribute_alloc_size to
1855 __attribute_alloc_size__.
1856 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1857 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1858
6ff444c4
MF
18592013-02-18 Mike Frysinger <vapier@gentoo.org>
1860
1861 * include/programs/xmalloc.h: New file.
1862 * catgets/gencat.c: Include it.
1863 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1864 * elf/pldd.c: Likewise.
1865 * iconv/iconv_charmap.c: Likewise.
1866 * iconv/iconvconfig.c: Likewise.
1867 * iconv/strtab.c: Likewise.
1868 * locale/programs/locale.c: Likewise.
1869 * locale/programs/localedef.h: Likewise.
1870 * locale/programs/simple-hash.c: Likewise.
1871 * nscd/nscd.h: Likewise.
1872 * nss/makedb.c: Likewise.
1873 * sysdeps/generic/ldconfig.h: Likewise.
1874
be179c8a
SP
18752013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1876
ba384f6e
SP
1877 * Versions.def: Add GLIBC_2.18.
1878 * include/link.h (struct link_map): New member l_tls_dtor_count.
1879 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1880 (__call_tls_dtors): Likewise.
1881 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1882 __cxa_thread_atexit_impl.
1883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1884 Likewise.
1885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1886 Likewise.
1887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1888 Likewise.
1889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1890 Likewise.
1891 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1892 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1893 Likewise.
1894 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1895 Likewise.
1896 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1898 Likewise.
1899 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1900 (tests): Add test case tst-tls-atexit.
1901 (modules-names): Add shared library for tst-tls-atexit.
1902 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1903 (GLIBC_PRIVATE): Add __call_tls_dtors.
1904 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1905 for libstdc++.
1906 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1907 * stdlib/tst-tls-atexit.c: New test case.
1908 * stdlib/tst-tls-atexit-lib.c: New test case.
1909
ffaa74cf 1910 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 1911
be179c8a
SP
1912 * elf/Versions (ld): Add _dl_find_dso_for_object.
1913 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1914 * elf/dl-open.c (_dl_find_dso_for_object): New function.
1915 (dl_open_worker): Use _dl_find_dso_for_object.
1916 * elf/dl-sym.c (do_sym): Likewise.
1917 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1918
f78b5caa
AK
19192013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1920
1921 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1922 Syntactic changes only.
1923 (_dl_runtime_profile): Do a tail-call to the resolved function.
1924
29691210
JM
19252013-02-17 Joseph Myers <joseph@codesourcery.com>
1926
1927 [BZ #13550]
1928 * sysdeps/x86_64/bp-asm.h: Remove file.
1929 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1930 <bp-sym.h> and <bp-asm.h>.
1931 (__clone): Do not use BP_SYM.
1932 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1933 <bp-sym.h> and <bp-asm.h>.
1934 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1935 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1936 "bp-asm.h".
1937 (_setjmp): Do not use BP_SYM.
1938 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1939 "bp-asm.h".
1940 (setjmp): Do not use BP_SYM.
1941 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1942 libc_hidden_def.
1943 (mempcpy): Do not use BP_SYM in weak_alias.
1944 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
1945 "bp-asm.h".
1946 (strchr): Do not use BP_SYM.
1947 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
1948 "bp-asm.h".
1949 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
1950 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
1951 (_start): Do not use BP_SYM.
1952 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
1953 "bp-asm.h".
1954 (strcat): Do not use BP_SYM.
1955 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
1956 "bp-asm.h".
1957 (STRCMP): Do not use BP_SYM.
1958 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
1959 "bp-asm.h".
1960 (STRCPY): Do not use BP_SYM.
1961 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
1962 "bp-asm.h".
1963 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
1964 "bp-asm.h".
1965 (FUNCTION): Do not use BP_SYM.
1966 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
1967 weak_alias.
1968 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
1969
f238fd19
AJ
19702013-02-17 Andreas Jaeger <aj@suse.de>
1971
1972 * time/Versions: Sort entries.
1973 * string/Versions: Likewise.
1974 * resolv/Versions: Likewise.
1975 * posix/Versions: Likewise.
1976 * iconv/Versions: Likewise.
1977 * elf/Versions: Likewise.
1978 * wcsmbs/Versions: Likewise.
1979
bd07f23c 19802013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 1981
22af19f9
SP
1982 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
1983 loop termination condition.
1984
4709fe76
SP
1985 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
1986 variable to calculate EZ.
1987 (__sqr): Likewise.
2d0e0f29
SP
1988
1989 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
1990 the lower precision input.
1991
daaa7713
JM
19922013-02-15 Joseph Myers <joseph@codesourcery.com>
1993
1994 [BZ #13550]
1995 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
1996 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
1997 (run-via-rtld-prefix): Do not handle %-bp tests.
1998 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
1999 (all-object-suffixes): Remove .ob.
2000 (bppfx): Remove variable.
2001 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2002 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2003 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2004 [$(build-bounded) = yes] (libtype.ob): Likewise.
2005 * Makerules (elide-routines.ob): Remove variable.
2006 (do-tests-clean): Do not handle *-bp.out.
2007 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2008 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2009 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2010 (tests): Do not include $(tests-bp.out).
2011 (xtests): Do not include $(xtests-bp.out).
2012 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2013 [$(build-bounded) = yes] ($(addprefix
2014 $(objpfx),$(binaries-bounded))): Remove rule.
2015 ($(objpfx)%-bp.out): Remove rule.
2016 * config.make.in (build-bounded): Remove variable.
2017 * crypt/Makefile [$(build-bounded) = yes]
2018 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2019 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2020 append to variable.
2021 [$(build-bounded) = yes] (install-lib): Likewise.
2022 [$(build-bounded) = yes] (generated): Likewise.
2023 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2024 Remove rule.
2025 * intl/Makefile [$(build-bounded) = yes]
2026 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2027 * math/Makefile [$(build-bounded) = yes]
2028 ($(tests:%=$(objpfx)%-bp): Likewise.
2029 * misc/Makefile [$(build-bounded) = yes]
2030 ($(objpfx)tst-tsearch-bp): Likewise.
2031 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2032 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2033 Remove dependency.
2034 * string/Makefile (o-objects.ob): Remove variable.
2035 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2036 (CFLAGS-.ob): Remove variable.
2037 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2038 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2039 both definitions of variable.
2040 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2041 (ASFLAGS-.ob): Remove variable.
2042
e97ed6dd
JM
20432013-02-14 Joseph Myers <joseph@codesourcery.com>
2044
2bdd4ca6
JM
2045 [BZ #13550]
2046 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2047 Remove __BOUNDED_POINTERS__ from condition.
2048 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2049 * string/bits/string2.h [!__NO_STRING_INLINES &&
2050 !__BOUNDED_POINTERS__]: Likewise.
2051 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2052 Likewise.
2053 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2054 Remove conditional code.
2055 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2056 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2057 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2058 condition.
2059
e97ed6dd
JM
2060 [BZ #13550]
2061 * csu/libc-start.c: Do not include <bp-sym.h>.
2062 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2063 * elf/dl-open.c: Do not include <bp-sym.h>.
2064 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2065 * math/fegetenv.c: Do not include <bp-sym.h>.
2066 (fegetenv): Do not use BP_SYM in versioned symbols.
2067 * nptl/sysdeps/pthread/bits/libc-lockP.h
2068 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2069 <bp-sym.h>.
2070 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2071 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2072 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2073 (__pthread_mutex_destroy): Likewise.
2074 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2075 (__pthread_mutex_lock): Likewise.
2076 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2077 (__pthread_mutex_trylock): Likewise.
2078 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2079 (__pthread_mutex_unlock): Likewise.
2080 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2081 (__pthread_mutexattr_init): Likewise.
2082 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2083 (__pthread_mutexattr_destroy): Likewise.
2084 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2085 (__pthread_mutexattr_settype): Likewise.
2086 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2087 (__pthread_rwlock_init): Likewise.
2088 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2089 (__pthread_rwlock_destroy): Likewise.
2090 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2091 (__pthread_rwlock_rdlock): Likewise.
2092 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2093 (__pthread_rwlock_tryrdlock): Likewise.
2094 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2095 (__pthread_rwlock_wrlock): Likewise.
2096 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2097 (__pthread_rwlock_trywrlock): Likewise.
2098 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2099 (__pthread_rwlock_unlock): Likewise.
2100 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2101 (__pthread_key_create): Likewise.
2102 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2103 (__pthread_setspecific): Likewise.
2104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2105 (__pthread_getspecific): Likewise.
2106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2107 Likewise.
2108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2109 (_pthread_cleanup_push_defer): Likewise.
2110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2111 (_pthread_cleanup_pop_restore): Likewise.
2112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2113 (pthread_setcancelstate): Likewise.
2114 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2115 <bp-sym.h>.
2116 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2117 (memchr): Do not use BP_SYM in weak_alias.
2118 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2119 (fegetenv): Do not use BP_SYM in versioned symbols.
2120 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2121 (fesetenv): Do not use BP_SYM in versioned symbols.
2122 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2123 (feupdateenv): Do not use BP_SYM in versioned symbols.
2124 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2125 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2126 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2127 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2128 (open64): Do not use BP_SYM in weak_alias.
2129 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2130 (fegetenv): Do not use BP_SYM in versioned symbols.
2131 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2132 (fesetenv): Do not use BP_SYM in versioned symbols.
2133 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2134 (feupdateenv): Do not use BP_SYM in versioned symbols.
2135 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2136 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2137 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2138 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2139 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2140 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2141 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2142 <bp-sym.h>.
2143 (__libc_start_main): Do not use BP_SYM.
2144
d6752ccd
SP
21452013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2146
cb57ce60
SP
2147 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2148 redundant return line.
2149 (norm): Likewise.
2150 (denorm): Likewise.
2151 (dbl_mp): Likewise.
2152 (sub_magnitudes): Likewise.
2153 (__add): Likewise.
2154 (__sub): Likewise.
2155 (__mul): Likewise.
2156 (__inv): Likewise.
2157 (__dvd): Likewise.
2158 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2159 (norm): Likewise.
2160 (denorm): Likewise.
2161 (dbl_mp): Likewise.
2162 (sub_magnitudes): Likewise.
2163 (__add): Likewise.
2164 (__sub): Likewise.
2165 (__mul): Likewise.
2166 (__inv): Likewise.
2167 (__dvd): Likewise.
2168
f414520d
SP
2169 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2170 instead of __mul.
2171 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2172 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2173 (cc32): Likewise.
2174
d6752ccd
SP
2175 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2176 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2177 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2178 of __mul for squares.
2179 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2180 function
2181 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2182 Likewise.
2183 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2184 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2185
70d9946a
JM
21862013-02-13 Joseph Myers <joseph@codesourcery.com>
2187
2188 [BZ #13550]
2189 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2190 code.
2191 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2192 prototype or function definition. Rename ubp_* variables and
2193 parameters. Remove argv definitions conditional on
2194 [__BOUNDED_POINTERS__].
2195 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2196 * elf/dl-runtime.c (_dl_fixup): Likewise.
2197 * include/set-hooks.h (RUN_HOOK): Likewise.
2198 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2199 definition.
2200 * string/strcpy.c (strcpy): Do not use __unbounded.
2201 * sysdeps/generic/frame.h (struct layout): Likewise.
2202 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2203 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2204 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2205 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2206 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2207 (__backtrace): Likewise.
2208 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2209 use __ptrvalue.
2210 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2211 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2212 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2213 Likewise.
2214 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2215 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2216 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2217 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2218 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2219 Do not use __unbounded.
2220 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2221 Rename __unboundedrlimits parameter to rlimits in prototype.
2222 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2223 Do not use __unbounded.
2224 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2225 not use __ptrvalue.
2226 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2227 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2228 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2229 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2230 __ptrvalue or __unbounded.
2231 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2232 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2233 use __unbounded.
2234 (__new_msgctl): Do not use __ptrvalue.
2235 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2236 __unbounded.
2237 (__libc_msgrcv): Do not use __ptrvalue.
2238 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2239 startup_info): Do not use __unbounded.
2240 (__libc_start_main): Likewise. Rename ubp_* variables and
2241 parameters. Remove argv definitions conditional on
2242 [__BOUNDED_POINTERS__].
2243 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2244 __ptrvalue.
2245 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2246 use __unbounded.
2247 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2248 or __ptrvalue.
2249 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2250 use __unbounded.
2251 (__new_shmctl): Do not use __ptrvalue.
2252 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2253 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2254 Likewise.
2255 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2256 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2257 (__libc_sigaction): Likewise.
2258 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2259 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2260 Likewise.
2261 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2262
cc7834d6
OB
22632013-02-13 Ondřej Bílka <neleai@seznam.cz>
2264
ffb1ec7b 2265 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
2266
2267 * string/mempcpy.c: Implement by calling memcpy.
2268
bdf02814
SP
22692013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2270
c2af38aa
SP
2271 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2272
4e92d59e
SP
2273 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2274 evaluation.
2275
909279a5
SP
2276 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2277 values in the mantissa.
2278
bdf02814
SP
2279 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2280 minimize writes to Z.
2281 (sub_magnitudes): Simplify code a bit.
2282
cd525923
RM
22832013-02-12 Roland McGrath <roland@hack.frob.com>
2284
2285 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2286 from the message. The linker prefixes all warnings with that already.
2287
7e2f0d2d
AS
22882013-02-12 Andreas Schwab <schwab@suse.de>
2289
a445af0b
AS
2290 [BZ #15078]
2291 * posix/regexec.c (extend_buffers): Add parameter min_len.
2292 (check_matching): Pass minimum needed length.
2293 (clean_state_log_if_needed): Likewise.
2294 (get_subexp): Likewise.
2295 * posix/Makefile (tests): Add bug-regex34.
2296 (bug-regex34-ENV): Define.
2297 * posix/bug-regex34.c: New file.
2298
7e2f0d2d
AS
2299 [BZ #11561]
2300 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2301 elements compare against the byte sequence of it, not its name.
2302 * posix/Makefile (tests): Add bug-regex35.
2303 (bug-regex35-ENV): Define.
2304 * posix/bug-regex35.c: New file.
2305
a175b684
TV
23062013-02-11 Tom de Vries <tom@codesourcery.com>
2307
2308 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2309 comment.
2310 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2311 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2312 (CHECK_EOL): Add undef.
2313
310998fe 23142013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
2315
2316 * bits/stdlib-bsearch.h: New file.
2317 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 2318 * stdlib/stdlib.h: Likewise.
41eda41d 2319
8ded91fb
RM
23202013-02-11 Roland McGrath <roland@hack.frob.com>
2321
2322 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2323 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2324 declaration.
2325 * manual/search.texi (Array Search Function): Add missing const in
2326 lfind prototype.
2327 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2328 declaration to use rlim_t.
2329 (Basic Scheduling Functions): Remove erroneous const from
2330 sched_getparam prototype. Remove erroneous * from
2331 sched_get_priority_max and sched_get_priority_min prototypes.
2332 (Resource Usage): Fix summary @comment on vtimes to refer to
2333 sys/vtimes.h rather than vtimes.h.
2334 Add missing *s in vtimes prototype.
2335 (Limits on Resources): Fix ulimit prototype to return long int.
2336 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2337 prototypes to use long int rather than double.
2338 (BSD Random): Fix initstate and setstate to use char *, not void *.
2339 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2340 prototype to make second argument 'struct aiocb64 *const[]'.
2341 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2342 (Status of AIO Operations): Remove erroneous const in aio_return and
2343 aio_return64 prototypes.
2344 (Synchronizing I/O): Fix sync prototype to return void.
2345 * manual/startup.texi (Suboptions): Remove an erroneous const in
2346 getsubopt prototype.
2347 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2348 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2349 use size_t rather than int.
2350 (Scanning All Users): Likewise for getpwent_r.
2351 (Setting Groups): Add missing const to setgroups prototype.
2352 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2353 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2354 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2355 'const void *' rather than 'const char *'.
2356 (Host Address Functions): Likewise for inet_ntop.
2357 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2358 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2359 ssize_t for return value.
2360 (Sending Data): Likewise for send, sendto, sendmsg.
2361 (Socket Option Functions): Add a missing const in setsockopt prototype.
2362 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2363 use wchar_t for the argument.
2364 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2365 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2366 take no arguments.
2367 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2368 double/float/long double for second argument.
2369 Fix return types of significand, significandf, significandl.
2370 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2371 argument in fchmod prototype.
2372 (File Owner): Use uid_t and gid_t in fchown prototype.
2373 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2374 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2375 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2376 use 'const struct dirent **' as argument types to CMP function pointer
2377 argument.
2378 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2379 (File Times): Fix summary magic @comment for struct utimbuf and utime
2380 to refer to utime.h, not time.h.
2381 * manual/string.texi (Argz Functions): Add missing const in
2382 argz_extract and argz_next prototypes.
2383 (Finding Tokens in a String): Likewise for basename.
2384 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2385 (Copying and Concatenation): Fix typo in wmemmove prototype.
2386 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2387 (Signal Stack): Remove erroneous const in sigstack prototype.
2388 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2389 prototype.
2390 (Simple Calendar Time): Likewise for stime.
2391 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2392 prototype.
2393 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2394 say sys/sysctl.h instead.
2395 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2396 and vsyslog prototypes.
2397
fe77fe6d
TV
23982013-02-11 Tom de Vries <tom@codesourcery.com>
2399
2400 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2401 Remove.
2402
3a09b620
RM
24032013-02-11 Roland McGrath <roland@hack.frob.com>
2404
2405 * misc/sys/mman.h: Fix typo in mremap comment.
2406
550a0b89
RM
24072013-02-08 Roland McGrath <roland@hack.frob.com>
2408
2409 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2410 the '\0' terminator.
2411
a2da1673
JM
24122013-02-08 Joseph Myers <joseph@codesourcery.com>
2413
2414 [BZ #13550]
2415 * debug/segfault.c: Don't include <bp-checks.h>.
2416 * sysdeps/generic/bp-checks.h: Remove file.
2417 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2418 (__GETDENTS): Don't use CHECK_N.
2419 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2420 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2421 (__getgroups): Don't use CHECK_N.
2422 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2423 (setgroups): Don't use CHECK_N.
2424 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2425 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2426 (__libc_msgrcv): Don't use CHECK_N.
2427 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2428 (__libc_msgsnd): Don't use CHECK_N.
2429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2430 <bp-checks.h>.
2431 (__libc_pread): Don't use CHECK_N.
2432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2433 include <bp-checks.h>.
2434 (__libc_pread64): Don't use CHECK_N.
2435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2436 include <bp-checks.h>.
2437 (__libc_pwrite): Don't use CHECK_N.
2438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2439 include <bp-checks.h>.
2440 (__libc_pwrite64): Don't use CHECK_N.
2441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2442 <bp-checks.h>.
2443 (__libc_pread): Don't use CHECK_N.
2444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2445 include <bp-checks.h>.
2446 (__libc_pread64): Don't use CHECK_N.
2447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2448 include <bp-checks.h>.
2449 (__libc_pwrite): Don't use CHECK_N.
2450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2451 include <bp-checks.h>.
2452 (__libc_pwrite64): Don't use CHECK_N.
2453 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2454 (do_pread): Don't use CHECK_N.
2455 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2456 (do_pread64): Don't use CHECK_N.
2457 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2458 (do_pwrite): Don't use CHECK_N.
2459 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2460 (do_pwrite64): Don't use CHECK_N.
2461 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2462 (__libc_readv): Don't use CHECK_N.
2463 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2464 (semop): Don't use CHECK_N.
2465 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2466 <bp-checks.h>.
2467 (semtimedop): Don't use CHECK_N.
2468 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2469 (__libc_pread): Don't use CHECK_N.
2470 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2471 <bp-checks.h>.
2472 (__libc_pread64): Don't use CHECK_N.
2473 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2474 <bp-checks.h>.
2475 (__libc_pwrite): Don't use CHECK_N.
2476 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2477 <bp-checks.h>.
2478 (__libc_pwrite64): Don't use CHECK_N.
2479 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2480 <bp-checks.h>.
2481 (__libc_msgrcv): Don't use CHECK_N.
2482 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2483 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2484 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2485 (__libc_writev): Don't use CHECK_N.
2486
b84660a8
RM
24872013-02-08 Roland McGrath <roland@hack.frob.com>
2488
7f3e75f8
RM
2489 * string/strcpy.c: Removed unused variable.
2490
b84660a8
RM
2491 * Makeconfig (+sysdep-includes): Define with := rather than =.
2492 Use an existing include/ subdir of each sysdeps dir before it.
2493
471514d3
CD
24942013-02-08 Carlos O'Donell <carlos@redhat.com>
2495
2496 * nscd/connection.c (register_traced_file): Comment function.
2497 [HAVE_INOTIFY] (union __inev): Define.
2498 [HAVE_INOTIFY] (inotify_check_files): New function.
2499 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2500 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2501 clear_db_cache.
2502 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2503
b2d3c3be
CD
25042013-02-08 Carlos O'Donell <carlos@redhat.com>
2505
2506 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2507 loaded if not already and that a failure is permanent.
2508
b39949d2
CD
25092013-02-08 Carlos O'Donell <carlos@redhat.com>
2510
ddacd1db 2511 [BZ #15006]
b39949d2
CD
2512 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2513 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2514
b2c9eff4
JM
25152013-02-08 Joseph Myers <joseph@codesourcery.com>
2516
f3aae3f3
JM
2517 [BZ #13550]
2518 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2519 (CHECK_1_NULL_OK): Likewise.
2520 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2521 (__fxstat): Do not use CHECK_1.
2522 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2523 <bp-checks.h>.
2524 (___fxstat64): Do not use CHECK_1.
2525 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2526 <bp-checks.h>.
2527 (__fxstatat): Do not use CHECK_1.
2528 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2529 <bp-checks.h>.
2530 (__fxstatat64): Do not use CHECK_1.
2531 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2532 <bp-checks.h>.
2533 (__fxstat): Do not use CHECK_1.
2534 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2535 <bp-checks.h>.
2536 (__fxstatat): Do not use CHECK_1.
2537 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2538 <bp-checks.h>.
2539 (__getresgid): Do not use CHECK_1.
2540 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2541 <bp-checks.h>.
2542 (__getresuid): Do not use CHECK_1.
2543 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2544 <bp-checks.h>.
2545 (__lxstat): Do not use CHECK_1.
2546 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2547 <bp-checks.h>.
2548 (__old_msgctl): Do not use CHECK_1.
2549 (__new_msgctl): Likewise.
2550 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2551 <bp-checks.h>.
2552 (__new_setrlimit): Do not use CHECK_1.
2553 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2554 <bp-checks.h>.
2555 (__old_shmctl): Do not use CHECK_1.
2556 (__new_shmctl): Likewise.
2557 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2558 <bp-checks.h>.
2559 (__xstat): Do not use CHECK_1.
2560 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2561 (__lxstat): Do not use CHECK_1.
2562 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2563 <bp-checks.h>.
2564 (___lxstat64): Do not use CHECK_1.
2565 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2566 (__old_msgctl): Do not use CHECK_1.
2567 (__new_msgctl): Likewise.
2568 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2569 <bp-checks.h>.
2570 (__gettimeofday): Do not use CHECK_1.
2571 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2572 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2573 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2574 <bp-checks.h>.
2575 (__gettimeofday): Do not use CHECK_1.
2576 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2577 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2578 (__new_shmctl): Do not use CHECK_1.
2579 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2580 <bp-checks.h>.
2581 (do_sigtimedwait): Do not use CHECK_1.
2582 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2583 <bp-checks.h>.
2584 (do_sigwaitinfo): Do not use CHECK_1.
2585 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2586 <bp-checks.h>.
2587 (msgctl): Do not use CHECK_1.
2588 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2589 <bp-checks.h>.
2590 (shmctl): Do not use CHECK_1.
2591 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2592 (ustat): Do not use CHECK_1.
2593 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2594 <bp-checks.h>.
2595 (__fxstat): Do not use CHECK_1.
2596 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2597 <bp-checks.h>.
2598 (__fxstatat): Do not use CHECK_1.
2599 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2600 <bp-checks.h>.
2601 (__lxstat): Do not use CHECK_1.
2602 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2603 <bp-checks.h>.
2604 (__xstat): Do not use CHECK_1.
2605 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2606 (__xstat): Do not use CHECK_1.
2607 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2608 (___xstat64): Do not use CHECK_1.
2609
b2c9eff4
JM
2610 [BZ #13550]
2611 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2612 definitions.
2613 (CHECK_BOUNDS_HIGH): Likewise.
2614 * string/strcpy.c: Do not include <bp-checks.h>.
2615 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2616
f1d70dad
RM
26172013-02-07 Roland McGrath <roland@hack.frob.com>
2618
2619 * nscd/nscd-client.h (__nscd_drop_map_ref):
2620 Add __attribute__ ((unused)).
2621 * nis/nss-nisplus.h (niserr2nss): Likewise.
2622
2623 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2624 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2625
2626 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2627 Remove inline keyword.
2628 * include/rounding-mode.h (round_away): Likewise.
2629 * libio/wfileops.c (adjust_wide_data): Likewise.
2630 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2631 (__m128i_strloadu_tolower): Likewise.
2632 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2633 (__m128i_strloadu_tolower): Likewise.
2634 * time/mktime.c (ydhms_diff): Likewise.
2635 * locale/elem-hash.h (elem_hash): Likewise.
2636 * locale/setlocale.c (setdata): Likewise.
2637 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2638 (re_string_wchar_at): Likewise.
2639 (bitset_not, bitset_merge, bitset_mask): Likewise.
2640 [!(__GNUC__ > 3)] (inline): Remove macro.
2641 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2642 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2643 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2644 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2645 * string/memcmp.c (memcmp_bytes): Likewise.
2646 * locale/programs/locarchive.c (compute_hashval): Likewise.
2647 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2648 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2649 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2650 * nss/getent.c (print_rpc, print_protocols): Likewise.
2651 (print_passwd, print_group, print_aliases): Likewise.
2652 * nis/nss-nisplus.h (niserr2nss): Likewise.
2653 * nscd/connections.c (restart_p): Likewise.
2654 Change return type to bool.
2655
eab55bfb
RM
26562013-02-05 Roland McGrath <roland@hack.frob.com>
2657
7bd642f5
RM
2658 * Makeconfig (all-Depend-files): Add existing
2659 $(sorted-subdirs:=/Depend) files.
2660 (all-subdirs): Remove nss.
2661 * sysdeps/unix/inet/Subdirs: Add it here instead.
2662 * hesiod/Depend: New file.
2663
573c29b2
RM
2664 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2665 instead of calling alloca.
2666
b2e25af0
RM
2667 * io/lseek.c (__lseek): Rename to __libc_lseek.
2668 Define __lseek as an alias.
2669
eab55bfb
RM
2670 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2671
9a0d1941
CD
26722013-02-04 Carlos O'Donell <carlos@redhat.com>
2673
2674 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2675 else clause and remove check for non-standard endianness.
2676
b83bbec4
DM
26772013-02-04 David S. Miller <davem@davemloft.net>
2678
2679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2680
6277fdab
JM
26812013-02-04 Joseph Myers <joseph@codesourcery.com>
2682
2683 [BZ #13550]
2684 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2685 (__ubp_memchr): Remove prototype.
2686 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2687 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2688 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2689 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2690 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2691 Remove alias.
2692 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2693 (__ubp_memchr): Likewise.
2694 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2695 (__ubp_memchr): Likewise.
2696 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2697 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2698 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2699 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2700 CHECK_STRING.
2701 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2702 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2703 (__getcwd): Do not use CHECK_STRING.
2704 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2705 <bp-checks.h>.
2706 (__real_chown): Do not use CHECK_STRING.
2707 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2708 <bp-checks.h>.
2709 (fchownat): Do not use CHECK_STRING.
2710 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2711 CHECK_STRING.
2712 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2713 <bp-checks.h>.
2714 (__lchown): Do not use CHECK_STRING.
2715 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2716 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2717 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2718 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2720 include <bp-checks.h>.
2721 (truncate64): Do not use CHECK_STRING.
2722 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2723 <bp-checks.h>.
2724 (__real_chown): Do not use CHECK_STRING.
2725 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2726 <bp-checks.h>.
2727 (__lchown): Do not use CHECK_STRING.
2728 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2729 <bp-checks.h>.
2730 (__chown): Do not use CHECK_STRING.
2731 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2732 <bp-checks.h>.
2733 (truncate64): Do not use CHECK_STRING.
2734 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2735 Likewise.
2736 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2737 (__xmknod): Do not use CHECK_STRING.
2738 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2739 <bp-checks.h>.
2740 (__xmknodat): Do not use CHECK_STRING.
2741 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2742 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2743
903ae060
AS
27442013-02-04 Andreas Schwab <schwab@suse.de>
2745
2746 [BZ #14142]
2747 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2748 * include/netdb.h: Likewise for h_errno.
2749 * elf/tst-stackguard1.c: Include <tls.h>.
2750
542f9466
JK
27512013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2752
2753 * elf/link.h (struct link_map): Extend the l_addr comment.
2754 * include/link.h (struct link_map): Likewise.
2755
e782a927
JM
27562013-02-01 Joseph Myers <joseph@codesourcery.com>
2757
2758 [BZ #13550]
2759 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2760 (BOUNDED_1): Remove macro.
2761 * debug/backtrace.c: Don't include <bp-checks.h>.
2762 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2763 (__backtrace): Likewise.
2764 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2765 <bp-checks.h>.
2766 (__backtrace): Don't use BOUNDED_1.
2767 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2768 <bp-checks.h>.
2769 (__backtrace): Don't use BOUNDED_1.
2770 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2771 (__backtrace): Don't use BOUNDED_1.
2772 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2773 (shmat): Don't use BOUNDED_N.
2774
8cf28c5e
JM
27752013-01-31 Joseph Myers <joseph@codesourcery.com>
2776
3a7ac8a0
JM
2777 [BZ #13550]
2778 * sysdeps/generic/bp-start.h: Remove file.
2779 * csu/libc-start.c: Don't include <bp-start.h>.
2780 (LIBC_START_MAIN): Set up __environ directly instead of using
2781 INIT_ARGV_and_ENVIRON.
2782 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2783 <bp-start.h>.
2784
f3499f95
JM
2785 [BZ #13550]
2786 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2787 definitions.
2788 (CHECK_FCNTL): Likewise.
2789 (CHECK_N_PAGES): Likewise.
2790
32a45bea
JM
2791 [BZ #13550]
2792 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2793 definitions.
2794 (CHECK_SIGSET_NULL_OK): Likewise.
2795 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2796 <bp-checks.h>.
2797 (sigpending): Don't use CHECK_SIGSET.
2798 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2799 <bp-checks.h>.
2800 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2801 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2802 <bp-checks.h>.
2803 (do_sigsuspend): Don't use CHECK_SIGSET.
2804 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2805 use CHECK_SIGSET.
2806 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2807 (do_sigwait): Don't use CHECK_SIGSET.
2808 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2809 use CHECK_SIGSET.
2810 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2811 include <bp-checks.h>.
2812 (sigpending): Don't use CHECK_SIGSET.
2813 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2814 include <bp-checks.h>.
2815 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2816 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2817 <bp-checks.h>.
2818 (sigpending): Don't use CHECK_SIGSET.
2819 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2820 <bp-checks.h>.
2821 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2822
2e8a5c8c
JM
2823 [BZ #13550]
2824 * sysdeps/generic/bp-semctl.h: Remove file.
2825 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2826 <bp-checks.h> and <bp-semctl.h>.
2827 (__old_semctl): Don't use CHECK_SEMCTL.
2828 (__new_semctl): Likewise.
2829 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2830 and <bp-semctl.h>.
2831 (__old_semctl): Don't use CHECK_SEMCTL.
2832 (__new_semctl): Likewise.
2833 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2834 <bp-checks.h> and <bp-semctl.h>.
2835 (__old_semctl): Don't use CHECK_SEMCTL.
2836 (__new_semctl): Likewise.
2837 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2838 <bp-checks.h> and <bp-semctl.h>.
2839 (semctl): Don't use CHECK_SEMCTL.
2840
c2d54929
JM
2841 [BZ #13550]
2842 * Makerules (elide-bp-thunks): Remove variable.
2843 (elide-routines.oS): Don't use $(elide-bp-thunks).
2844 (elide-routines.os): Likewise.
2845 (elide-routines.o): Likewise.
2846 (elide-routines.op): Likewise.
2847 (elide-routines.og): Likewise.
2848 (objects): Don't use $(bp-thunks).
2849 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2850 include.
2851 (common-generated): Do not add s-proto-bp.d.
2852 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2853 (int): Likewise.
2854 (typ): Likewise.
2855 Do not generate makefile rules for bounded-pointer thunks.
2856 * sysdeps/generic/bp-thunks.h: Remove file.
2857 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2858 * sysdeps/unix/s-proto-bp.S: Likewise.
2859
8cf28c5e
JM
2860 [BZ #15062]
2861 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2862 parts of result separately when argument is not close to line from
2863 -i to i and one part of argument is small.
2864 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2865 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2866 * math/libm-test.inc (cacos_test): Add more tests.
2867 (casin_test): Likewise.
2868 (casinh_test): Likewise.
2869 * sysdeps/i386/fpu/libm-test-ulps: Update.
2870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2871
c4e33b8d
DM
28722013-01-31 David S. Miller <davem@davemloft.net>
2873
2874 * po/de.po: Update from translation team.
2875
3b60b421
MK
28762013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
2877
2878 * time/tzfile.c: Include stdint.h for SIZE_MAX.
2879
bb931195
TS
28802013-01-25 Thomas Schwinge <thomas@codesourcery.com>
2881
b5a5da23
TS
2882 * configure.in (_AC_PROG_CC_C89): New definition.
2883 * configure: Regenerate.
2884
bb931195
TS
2885 * configure.in (AC_PROG_CPP): New definition.
2886 * configure: Regenerate.
2887
8c53a12c
JM
28882013-01-23 Joseph Myers <joseph@codesourcery.com>
2889
2890 * debug/tst-backtrace.h: New file.
2891 * debug/tst-backtrace2.c: Include tst-backtrace.h.
2892 (ret): Remove variable.
2893 (x): Likewise.
2894 (FAIL): Remove macro.
2895 (NO_INLINE): Likewise.
2896 (fn1): Use match function instead of strstr.
2897 * debug/tst-backtrace3.c: Include tst-backtrace.h.
2898 (ret): Remove variable.
2899 (x): Likewise.
2900 (FAIL): Remove macro.
2901 (NO_INLINE): Likewise.
2902 (fn): Use match function instead of strstr.
2903 * debug/tst-backtrace4.c: Include tst-backtrace.h.
2904 (ret): Remove variable.
2905 (x): Likewise.
2906 (FAIL): Remove macro.
2907 (NO_INLINE): Likewise.
2908 (handle_signal): Use match function instead of strstr.
2909 * debug/tst-backtrace5.c: Include tst-backtrace.h.
2910 (ret): Remove variable.
2911 (x): Likewise.
2912 (FAIL): Remove macro.
2913 (NO_INLINE): Likewise.
2914 (handle_signal): Use match function instead of strstr.
2915
4858fa2a
RM
29162013-01-23 Roland McGrath <roland@hack.frob.com>
2917
2918 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2919
bae8e7f5
DM
29202013-01-23 David S. Miller <davem@davemloft.net>
2921
2922 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2923 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2924 argument of CAS if possible.
2925 * sysdeps/sparc/sparc64/bits/atomic.h
2926 (__arch_compare_and_exchange_val_32_acq): Likewise.
2927 (__arch_compare_and_exchange_val_64_acq): Likewise.
2928
9cbbc4ae
PT
29292013-01-23 Pino Toscano <toscano.pino@tiscali.it>
2930
2931 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2932 * sysdeps/posix/ulimit.c: ... this.
92a601b8 2933 Include <limits.h>.
67b3f58c 2934 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 2935
5655a0b5
AC
29362013-01-23 Adam Conrad <adconrad@0c3.net>
2937
2938 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2939 (LDFLAGS-tst-array5): Likewise.
2940
052aff95
JM
29412013-01-23 Joseph Myers <joseph@codesourcery.com>
2942
2943 [BZ #15036]
2944 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
2945 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
2946 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
2947 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
2948
7c1e01aa
DM
29492013-01-21 David S. Miller <davem@davemloft.net>
2950
2951 * sysdeps/sparc/backtrace.c: New file.
2952 * sysdeps/sparc/sparc32/backtrace.h: New file.
2953 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
2954 * sysdeps/sparc/sparc64/backtrace.h: New file.
2955 * sysdeps/sparc/sparc64/backtrace.c: Delete.
2956 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
2957 -funwind-tables.
2958
ab087e0a
AS
29592013-01-21 Andreas Schwab <schwab@suse.de>
2960
2961 [BZ #15020]
2962 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
2963 closed its stdout.
2964
ed689c2f
AS
29652013-01-20 Andreas Schwab <schwab@linux-m68k.org>
2966
2967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
2968 "mpa2.h".
2969 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
2970
31d470ac
JM
29712013-01-18 Joseph Myers <joseph@codesourcery.com>
2972 Mark Mitchell <mark@codesourcery.com>
2973 Tom de Vries <tom@codesourcery.com>
2974 Paul Pluzhnikov <ppluzhnikov@google.com>
2975
2976 * debug/tst-backtrace2.c: New file.
2977 * debug/tst-backtrace3.c: Likewise.
2978 * debug/tst-backtrace4.c: Likewise.
2979 * debug/tst-backtrace5.c: Likewise.
2980 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
2981 (CFLAGS-tst-backtrace3.c): Likewise.
2982 (CFLAGS-tst-backtrace4.c): Likewise.
2983 (CFLAGS-tst-backtrace5.c): Likewise.
2984 (LDFLAGS-tst-backtrace2): Likewise.
2985 (LDFLAGS-tst-backtrace3): Likewise.
2986 (LDFLAGS-tst-backtrace4): Likewise.
2987 (LDFLAGS-tst-backtrace5): Likewise.
2988 (tests): Add new tests tst-backtrace2, tst-backtrace3,
2989 tst-backtrace4 and tst-backtrace5.
2990
90567f30 29912013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
2992 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2993
2994 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
2995 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
2996 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
2997 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
2998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2999 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3000 "+r" and remove output regs list as redundant. Add explicit inline
3001 asm to specify register of return val to work around compiler codegen
3002 bug. Remove (int) cast on return value. Add return type parameter to
3003 use in macro so that this macro does not truncate return value for
3004 64-bit values.
3005 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3006 pass to INTERNAL_VSYSCALL_NCS.
3007 (INLINE_VSYSCALL): Add 'long int' as return type to
3008 INTERNAL_VSYSCALL_NCS macro invocation.
3009 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3010 INTERNAL_VSYSCALL_NCS macro invocation.
3011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3012
d3b9ea61
SP
30132013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3014
0b57daeb
SP
3015 [BZ #14496]
3016 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3017 Fix application of SIMD FP exception mask.
3018
caa99d06
SP
3019 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3020 mp_no from a power of two.
3021 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3022 __mpexp_twomm1. Use __pow_mp.
3023
d3b9ea61
SP
3024 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3025 multiplication.
3026
1dbaee3c
DM
30272013-01-17 David S. Miller <davem@davemloft.net>
3028
3029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3030
728d7b43
JM
30312013-01-17 Joseph Myers <joseph@codesourcery.com>
3032
3033 [BZ #15023]
3034 * include/complex.h: Condition contents on [!_COMPLEX_H].
3035 (__kernel_casinhf): New prototype.
3036 (__kernel_casinh): Likewise.
3037 (__kernel_casinhl): Likewise.
3038 * math/Makefile (libm_calls): Add k_casinh.
3039 * math/k_casinh.c: New file.
3040 * math/k_casinhf.c: Likewise.
3041 * math/k_casinhl.c: Likewise.
3042 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3043 finite nonzero arguments.
3044 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3045 finite nonzero arguments.
3046 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3047 finite nonzero arguments.
3048 * math/s_casinh.c: Do not include <float.h>.
3049 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3050 * math/s_casinhf.c: Do not include <float.h>.
3051 (__casinhf): Move code for finite nonzero arguments to
3052 k_casinhf.c.
3053 * math/s_casinhl.c: Do not include <float.h>.
3054 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3055 redefine.
3056 (__casinhl): Move code for finite nonzero arguments to
3057 k_casinhl.c.
3058 * math/libm-test.inc (cacos_test): Add more tests.
3059 * sysdeps/i386/fpu/libm-test-ulps: Update.
3060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3061
2a26ef3a
PT
30622013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3063
3064 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3065 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3066 [!HAVE_MREMAP]: Remove [defined linux] case.
3067 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3068
a897655d
SP
30692013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3070
3071 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3072
881ebe89 30732013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
3074
3075 * elf/elf.h (R_386_SIZE32): New relocation.
3076 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3077 R_386_SIZE32.
3078 (elf_machine_rela): Likewise.
3079 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3080 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3081
59981e9b
JM
30822013-01-17 Joseph Myers <joseph@codesourcery.com>
3083
3084 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3085 (FP_FAST_FMA): Do not define.
3086 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3087 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3088 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3089 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3090 !_SOFT_FLOAT]: Likewise.
3091 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3092 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3093 value.
3094 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3095 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3096 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3097 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3098 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3099 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3100 file.
3101
cfa8054f
AS
31022013-01-16 Andreas Schwab <schwab@suse.de>
3103
3104 [BZ #14327]
3105 * include/stdlib.h (__mktemp): Add declaration.
3106 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3107 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3108
dd930cc5
SP
31092013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3110
881ebe89
SP
3111 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3112 definitions.
3113 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3114 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3115 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3116 definitions here.
3117 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3118 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3119 definitions.
3120 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3121 and ONE.
3122 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3123 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3124 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3125 definitions.
3126 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3127 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3128 definitions.
3129 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 3130
dd930cc5
SP
3131 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3132
c19a9f89
DM
31332013-01-15 David S. Miller <davem@davemloft.net>
3134
1aa61767
DM
3135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3136 trunc{,f} to libm-sysdep_routes.
3137 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3139 file.
3140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3142 file.
3143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3144 file.
3145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3147 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3148 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3149 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3150 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3151 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3152 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3153
c42d5e98
DM
3154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3155 nearbyint{,f} to libm-sysdep_routes.
3156 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3158 New file.
3159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3160 file.
3161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3162 New file.
3163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3164 file.
3165 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3167 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3168 file.
3169 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3170 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3171 file.
3172 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3173 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3174 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3175
c19a9f89
DM
3176 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3177 libc_feholdexcept and libc_fesetenv.
3178
357679d2
MF
31792013-01-15 Mike Frysinger <vapier@gentoo.org>
3180
3181 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3182
65a82e3d
DM
31832013-01-14 David S. Miller <davem@davemloft.net>
3184
8b954ab9
DM
3185 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3186 (SPARC_ASM_VIS2_IFUNC): Likewise.
3187 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3189 use of 'siam' instruction.
3190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3191 Likewise.
3192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3193 Likewise.
3194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3195 Likewise.
3196 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3197 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3198 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3199 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3201 file.
3202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3203 file.
3204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3205 file.
3206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3207 file.
3208 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3209 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3210 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3211 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3213 new VIS2 routines.
3214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3217 Likewise.
3218 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3219 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3220 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3221 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3223 routines to libm-sysdep_routines.
3224 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3225
65a82e3d
DM
3226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3227 fdim/fdimf to libm-sysdep_routines.
3228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3229 file.
3230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3232 file.
3233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3236 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3237 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3238 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3239 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3240
e34ab705
SP
32412013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3242
2a91b573
SP
3243 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3244 to optimize copies.
3245
1066a534
SP
3246 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3247 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3248 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3249
e34ab705
SP
3250 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3251 local variable MPTWO.
3252 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3253 Likewise.
3254
aba5e596
MF
32552013-01-13 Mike Frysinger <vapier@gentoo.org>
3256
3257 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3258 GLOB_NOESCAPE.
3259
e557e9e5
MF
32602013-01-13 Mike Frysinger <vapier@gentoo.org>
3261
3262 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3263
0428cec9
MF
32642013-01-13 Mike Frysinger <vapier@gentoo.org>
3265
3266 * manual/pattern.texi (glob_t): Document gl_flags.
3267 (glob64_t): Likewise.
3268
8794a964
DM
32692013-01-11 David S. Miller <davem@davemloft.net>
3270
66438c3f
RM
3271 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3272 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3273 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
3274 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3275 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3276 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3277 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3278 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3279 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3280 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3281 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3282 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3283 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3284
4ae4244d
DM
3285 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3286 sparc V9 rather than using V8 code.
3287 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3288 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3289
8794a964
DM
3290 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3291 Move to...
3292 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3293 Here.
3294
6270516e
RM
32952013-01-11 Roland McGrath <roland@hack.frob.com>
3296
3297 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3298 not in the main loop.
3299 * configure: Regenerated.
3300
6a57d931
JM
33012013-01-11 Joseph Myers <joseph@codesourcery.com>
3302
3303 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3304 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3305 to just #else.
3306 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3307 [!__GLIBC_HAVE_LONG_LONG] case.
3308 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3309 condition to just #else.
3310 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3311 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3312 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3313 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3314 unconditional.
3315 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3316 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3317 #elif condition to just #else.
3318 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3319 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3320 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3321 #elif condition to just #else.
3322
0e8529e9
SE
33232013-01-11 Steve Ellcey <sellcey@mips.com>
3324
3325 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3326 (EF_MIPS_ARCH_64): Fix value.
3327 (EF_MIPS_ARCH_32R2): New.
3328 (EF_MIPS_ARCH_64R2): New.
3329
740b3dbe
L
33302013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3331
3332 * Makeconfig (+link-pie-before-libc): New.
3333 (+link-pie-after-libc): Likewise.
3334 (+link-pie-tests): Likewise.
3335 (+link-pie): Rewritten.
3336 (link-before-libc): Remove $(config-LDFLAGS).
3337 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3338 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3339 (config-LDFLAGS): Renamed to ...
3340 (rtld-LDFLAGS): This.
3341 (rtld-tests-LDFLAGS): New macro.
3342 (link-libc-rpath-link): Likewise.
3343 (link-libc-tests-rpath-link): Likewise.
3344 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3345 (link-libc): Prepand $(link-libc-rpath-link).
3346 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3347 (test-program-prefix): New macro.
3348 (test-via-rtld-prefix): Likewise.
3349 (test-program-cmd): Likewise.
3350 (host-test-program-cmd): Likewise.
3351 * Makefile ($(common-objpfx)testrun.sh): Replace
3352 $(run-program-prefix) with $(test-program-prefix).
3353 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3354 $(rtld-LDFLAGS).
3355 ($(common-objpfx)shlib.lds): Likewise.
3356 (build-module-helper): Likewise.
3357 ($(common-objpfx)format.lds): Likewise.
3358 * Rules (binaries-pie-tests): New.
3359 (binaries-pie-notests): Likewise.
3360 (binaries-pie): Rewritten.
3361 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3362 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3363 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3364 (make-test-out): Replace $(host-built-program-cmd) with
3365 $(host-test-program-cmd).
3366 * config.make.in (build-hardcoded-path-in-tests): New variable.
3367 * configure.in (--enable-hardcoded-path-in-tests): New configure
3368 option.
3369 (hardcoded_path_in_tests): New AC_SUBST.
3370 * configure: Regenerated.
3371 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3372 $(built-program-cmd) with $(test-program-cmd).
3373 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3374 (test_program_cmd): This.
3375 * elf/Makefile ($(objpfx)order.out): Run test with
3376 $(test-program-prefix).
3377 ($(objpfx)order2.out): Likewise.
3378 ($(objpfx)tst-initorder.out): Likewise.
3379 ($(objpfx)tst-initorder2.out): Likewise.
3380 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3381 $(test-program-cmd).
3382 ($(objpfx)tst-array1-static.out): Likewise.
3383 ($(objpfx)tst-array2.out): Likewise.
3384 ($(objpfx)tst-array3.out): Likewise.
3385 ($(objpfx)tst-array4.out): Likewise.
3386 ($(objpfx)tst-array5.out): Likewise.
3387 ($(objpfx)tst-array5-static.out): Likewise.
3388 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3389 $(test-program-cmd).
3390 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3391 $(run-program-prefix) with $(test-program-prefix).
3392 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3393 (test_program_prefix): This.
3394 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3395 $(run-program-prefix) with $(test-program-prefix).
3396 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3397 (test_program_prefix): This.
3398 * iconvdata/tst-tables.sh: Likewise.
3399 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3400 $(run-program-prefix) with $(test-program-prefix).
3401 ($(objpfx)tst-translit.out): Likewise.
3402 ($(objpfx)tst-gettext2.out): Likewise.
3403 ($(objpfx)tst-gettext4.out): Likewise.
3404 ($(objpfx)tst-gettext6.out): Likewise.
3405 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3406 (test_program_prefix): This.
3407 * intl/tst-gettext2.sh: Likewise.
3408 * intl/tst-gettext4.sh Likewise.
3409 * intl/tst-gettext6.sh: Likewise.
3410 * intl/tst-translit.sh: Likewise.
3411 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3412 with $(test-program-cmd).
3413 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3414 $(run-program-prefix) with $(test-program-prefix).
3415 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3416 (test_program_prefix): This.
3417 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3418 $(run-program-prefix) with $(test-program-prefix).
3419 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3420 (test_program_prefix): This.
3421 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3422 * posix/Makefile ($(objpfx)globtest.out): Replace
3423 $(run-via-rtld-prefix) and $(test-wrapper) with
3424 $(test-program-prefix) and $(test-via-rtld-prefix).
3425 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3426 $(test-program-prefix).
3427 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3428 $(host-test-program-cmd).
3429 (tst-spawn-ARGS): Likewise.
3430 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3431 $(test-program-prefix).
3432 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3433 (test_via_rtld_prefix): This.
3434 (test_wrapper): Renamed to ...
3435 (test_program_prefix): This.
3436 (run_program_prefix): Replaced by test_program_prefix.
3437 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3438 (test_program_prefix): This.
3439 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3440 with $(host-test-program-cmd).
3441 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3442 $(run-program-prefix) with $(test-program-prefix).
3443 ($(objpfx)tst-printf.out): Likewise.
3444 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3445 $(test-program-cmd).
3446 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3447 (test_program_prefix): This.
3448 * stdio-common/tst-unbputc.sh: Likewise.
3449 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3450 $(run-program-prefix) with $(test-program-prefix).
3451 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3452 (test_program_prefix): This.
3453 * string/Makefile ($(objpfx)tst-svc.out): Replace
3454 $(built-program-cmd) with $(test-program-cmd).
3455
c6fe55cf
AJ
34562013-01-11 Andreas Jaeger <aj@suse.de>
3457
3458 [BZ #15003]
3459 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3460 value. Sync with Linux 3.7.
3461
9e6919c8
DM
34622013-01-10 David S. Miller <davem@davemloft.net>
3463
3464 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3465 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3466 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3467
1c9f1a02
RM
34682013-01-10 Roland McGrath <roland@hack.frob.com>
3469
3470 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3471 never set.
3472 * configure: Regenerated.
3473
b9de2dde
DM
34742013-01-10 David S. Miller <davem@davemloft.net>
3475
3476 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3477 sparc V9 rather than using V8 code.
3478 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3479 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3480
e7f68ef4
RM
34812013-01-10 Roland McGrath <roland@hack.frob.com>
3482
3483 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3484 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3485 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3486 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3487 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3488 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3489 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3490 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3491 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3492 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3493 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3494 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3495 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3496 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3497 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3498 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3499 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3500 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3501 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3502 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3503 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3504 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3505 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3506 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3507 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3508 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3509 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3510
5a47cc9c
DM
35112013-01-10 David S. Miller <davem@davemloft.net>
3512
3513 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3514
4cf8f209
L
35152013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3516
3517 * posix/Makefile (tests-static): New variable.
3518 (tests): Add $(tests-static).
3519 (tst-exec-static-ARGS): New variable.
3520 (tst-spawn-static-ARGS): Likewise.
3521 * posix/tst-exec-static.c: New file.
3522 * posix/tst-spawn-static.c: Likewise.
3523 * posix/tst-exec.c: Support run directly.
3524 * posix/tst-spawn.c: Likewise.
3525
fed0faa1
JM
35262013-01-10 Joseph Myers <joseph@codesourcery.com>
3527
828beb13
JM
3528 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3529 long.
3530 * math/bits/mathcalls.h (llrint): Likewise.
3531 (llround): Likewise.
3532 * stdlib/stdlib.h (struct drand48_data): Likewise.
3533 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3534 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3535 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3536 Likewise.
3537 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3538 Likewise.
3539 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3540 (elf_greg_t): Likewise.
3541 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3542 (__jmp_buf): Likewise.
3543 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3544 definitions.
3545 (llrint): Likewise, for all definitions.
3546 (llrintl): Likewise.
3547
fed0faa1
JM
3548 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3549 Remove [__GNUC__] condition.
3550 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3551 condition to just [__USE_ISOC99].
3552 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3553
1a20cb20
L
35542013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3555
3556 [BZ #14200]
3557 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3558 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3559 defined.
3560 (_POSIX_V6_ILP32_OFF32): Likewise.
3561 (_XBS5_ILP32_OFF32): Likewise.
3562 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3563 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3564
751b85f7
SP
35652013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3566
7490eb81
SP
3567 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3568
751b85f7
SP
3569 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3570 doubles __mpexp_twomm1. Adjust usage.
3571 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3572 Remove.
3573
988197f0
AS
35742013-01-10 Andreas Schwab <schwab@suse.de>
3575
3576 [BZ #14964]
3577 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3578 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3579
e83d7298
DM
35802013-01-09 David S. Miller <davem@davemloft.net>
3581
034ed64b 3582 [BZ #15003]
e83d7298
DM
3583 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3584 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3585 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3586 TCP_FASTOPEN): Define.
3587 (tcp_repair_opt): New structure.
3588 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3589 enum values.
3590 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3591 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3592 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3593 (tcp_cookie_transactions): New structure.
3594
d5e0b9bd
AB
35952013-01-09 Anton Blanchard <anton@samba.org>
3596
3597 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3598 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3599 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3600 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3601
0c07e3ea
JM
36022013-01-09 Joseph Myers <joseph@codesourcery.com>
3603
3604 * include/features.h (__USE_ANSI): Remove.
3605
232f7002
RM
36062013-01-09 Roland McGrath <roland@hack.frob.com>
3607
ad98e30c
RM
3608 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3609
232f7002
RM
3610 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3611
950c99ca
SP
36122013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3613
b5792741
SP
3614 * sysdeps/s390/fpu/libm-test-ulps: Update.
3615
47cf2278
SP
3616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3617
950c99ca
SP
3618 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3619 (__acr): Likewise.
3620 (__cpy): Likewise.
3621 (norm): Likewise.
3622 (denorm): Likewise.
3623 (__mp_dbl): Likewise.
3624 (__dbl_mp): Likewise.
3625 (add_magnitudes): Likewise.
3626 (sub_magnitudes): Likewise.
3627 (__add): Likewise.
3628 (__sub): Likewise.
3629 (__mul): Likewise.
3630 (__inv): Likewise.
3631 (__dvd): Likewise.
3632 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3633 (__acr): Likewise.
3634 (__cpy): Likewise.
3635 (norm): Likewise.
3636 (denorm): Likewise.
3637 (__mp_dbl): Likewise.
3638 (__dbl_mp): Likewise.
3639 (add_magnitudes): Likewise.
3640 (sub_magnitudes): Likewise.
3641 (__add): Likewise.
3642 (__sub): Likewise.
3643 (__mul): Likewise.
3644 (__inv): Likewise.
3645 (__dvd): Likewise.
3646 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3647 (__acr): Likewise.
3648 (__cpy): Likewise.
3649 (norm): Likewise.
3650 (denorm): Likewise.
3651 (__mp_dbl): Likewise.
3652 (__dbl_mp): Likewise.
3653 (add_magnitudes): Likewise.
3654 (sub_magnitudes): Likewise.
3655 (__add): Likewise.
3656 (__sub): Likewise.
3657 (__mul): Likewise.
3658 (__inv): Likewise.
3659 (__dvd): Likewise.
3660
eede9df9
JM
36612013-01-08 Joseph Myers <joseph@codesourcery.com>
3662
3663 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3664 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3665 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3666 2 && __USE_EXTERN_INLINES]: Likewise.
3667
c40ea3d9
AJ
36682013-01-08 Andreas Jaeger <aj@suse.de>
3669
3670 [BZ# 14985]
3671 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3672 Remove.
3673 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3674 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3675
2ccdea26
AB
36762013-01-07 Anton Blanchard <anton@samba.org>
3677
3678 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3679 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3680 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3681 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3682 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3683 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3684 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3685 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3686 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3687 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3688 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3689 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3690 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3691 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3692 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3693 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3694 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3695 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3696 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3697 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3698 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3699 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3700 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3701 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3702 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3703 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3704 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3705 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3706 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3707 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3708 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3709 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3710 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3711 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3712 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3713 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3714 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3715 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3716 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3717 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3718 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3719 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3720 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3721
a9708fed
JM
37222013-01-07 Joseph Myers <joseph@codesourcery.com>
3723
375607b9
JM
3724 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3725 (__MALLOC_PMT): Likewise.
3726 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3727 [__GNUC__], only on [_LIBC].
3728 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3729 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3730 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3731 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3732 forward declaration.
3733 (realloc_hook_ini): Likewise.
3734 (memalign_hook_ini): Likewise.
3735 (__libc_memalign): Do not use __MALLOC_PMT in variable
3736 declaration.
3737 (__libc_valloc): Likewise.
3738 (__libc_pvalloc): Likewise.
3739 (__libc_calloc): Likewise.
3740 (__posix_memalign): Likewise.
3741
a9708fed
JM
3742 [BZ #14996]
3743 * math/s_casinh.c: Include <float.h>.
3744 (__casinh): Do not do computation with squaring and square root
3745 for large arguments.
3746 * math/s_casinhf.c: Include <float.h>.
3747 (__casinhf): Do not do computation with squaring and square root
3748 for large arguments.
3749 * math/s_casinhl.c: Include <float.h>.
3750 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3751 (__casinhl): Do not do computation with squaring and square root
3752 for large arguments.
3753 * math/libm-test.inc (casin_test): Add more tests.
3754 (casinh_test): Likewise.
3755 * sysdeps/i386/fpu/libm-test-ulps: Update.
3756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3757
afec409a
L
37582013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3759
3760 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3761 (__x86_64_raw_data_cache_size): Likewise.
3762 (__x86_64_data_cache_size_half): Likewise.
3763 (__x86_64_raw_data_cache_size_half): Likewise.
3764 (__x86_64_shared_cache_size): Likewise.
3765 (__x86_64_raw_shared_cache_size): Likewise.
3766 (__x86_64_shared_cache_size_half): Likewise.
3767 (__x86_64_raw_shared_cache_size_half): Likewise.
3768 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3769 to ...
3770 (__x86_data_cache_size): This.
3771 (__x86_64_raw_data_cache_size): Renamed to ...
3772 (__x86_raw_data_cache_size): This.
3773 (__x86_64_data_cache_size_half): Renamed to ...
3774 (__x86_data_cache_size_half): This.
3775 (__x86_64_raw_data_cache_size_half): Renamed to ...
3776 (__x86_raw_data_cache_size_half): This.
3777 (__x86_64_shared_cache_size): Renamed to ...
3778 (__x86_shared_cache_size): This.
3779 (__x86_64_raw_shared_cache_size): Renamed to ...
3780 (__x86_raw_shared_cache_size): This.
3781 (__x86_64_shared_cache_size_half): Renamed to ...
3782 (__x86_shared_cache_size_half): This.
3783 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3784 (__x86_raw_shared_cache_size_half): This.
3785 * sysdeps/x86_64/memcpy.S: Updated.
3786 * sysdeps/x86_64/memset.S: Likewise.
3787 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3788 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3789 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3790
0b3986d0
DM
37912013-01-04 David S. Miller <davem@davemloft.net>
3792
3793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3794
e47686e9
AS
37952013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3796
d643bac1
AS
3797 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3798 1 to avoid redefinition warning.
3799 (__USE_GNU): Don't define.
3800 (init_signaling_nan): Protoize.
3801
e47686e9
AS
3802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3803
b18decba
SP
38042013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3805
fffb407f
SP
3806 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3807 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3808 (__cpymn): Likewise.
3809 (norm): Remove commented code.
3810 (denorm): Likewise.
3811 (__mp_dbl): Likewise.
3812 (__inv): Likewise.
3813 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3814 (__cpymn): Likewise.
3815 (norm): Remove commented code.
3816 (denorm): Likewise.
3817 (__mp_dbl): Likewise.
3818 (__inv): Likewise.
3819
b18decba
SP
3820 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3821 mp_no value for 1.0 and 2.0.
3822 (norm): Use RADIXI instead of radixi.d.
3823 (denorm): Likewise.
3824 (__mul): Use 0.0 instead of zero.d.
3825 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3826 mp_no value for 1.0 and 2.0.
3827 (norm): Use RADIXI instead of radixi.d.
3828 (denorm): Likewise.
3829 (__mul): Use 0.0 instead of zero.d.
3830
cdc1c96f
JM
38312013-01-04 Joseph Myers <joseph@codesourcery.com>
3832
3833 [BZ #14994]
3834 * math/s_casinh.c (__casinh): Reduce finite argument to first
3835 quadrant then set signs of results at the end.
3836 * math/s_casinhf.c (__casinhf): Likewise.
3837 * math/s_casinhl.c (__casinhl): Likewise.
3838 * math/libm-test.inc (casin_test): Add more tests.
3839 (casinh_test): Likewise.
3840 * sysdeps/i386/fpu/libm-test-ulps: Update.
3841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3842
302913e1
SP
38432013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3844
6420d207
SP
3845 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3846
a9e48ab4
SP
3847 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3848
b7837264
SP
3849 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3850 declarations.
3851 (denorm): Likewise.
3852 (__mp_dbl): Likewise.
3853 (__inv): Likewise.
3854
f8af25d2
SP
3855 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3856 and adjust the header comment.
3857
302913e1
SP
3858 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3859 variable name from declaration.
3860
5d7dd1ca
L
38612013-01-03 H.J. Lu <hongjiu.lu@intel.com>
3862
3863 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3864 Initialize COMMON_CPUID_INDEX_7 element.
3865 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3866 (CPUID_RTM): Likewise.
3867 (HAS_RTM): Likewise.
3868 (COMMON_CPUID_INDEX_7): New enum.
3869
2f5f40f4
AS
38702013-01-03 Andreas Schwab <schwab@linux-m68k.org>
3871
3872 [BZ #14981]
3873 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3874 size is zero, record memory as freed.
3875
4056f4a0
AJ
38762013-01-03 Andreas Jaeger <aj@suse.de>
3877
3878 * po/ia.po: Add new Interlingua translation.
3879
ab15736f 38802012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
3881
3882 * locale/programs/localedef.c: Fix description of '--posix' flag.
3883
568035b7
JM
38842013-01-02 Joseph Myers <joseph@codesourcery.com>
3885
e6898b8d
JM
3886 * NEWS: Update dates in second copyright notice.
3887 * README: Update copyright dates in example.
3888 * manual/libc.texinfo: Update copyright dates.
3889 * scripts/test-installation.pl: Update copyright date in --version
3890 output.
3891
0e2f9562
JM
3892 * hurd/ctty-input.c: Fix copyright notice formatting.
3893 * hurd/ctty-output.c: Likewise.
3894 * hurd/dtable.c: Likewise.
3895 * hurd/hurd-raise.c: Likewise.
3896 * hurd/hurdprio.c: Likewise.
3897 * hurd/msgportdemux.c: Likewise.
3898 * misc/sys/file.h: Likewise.
3899 * misc/sys/ioctl.h: Likewise.
3900 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3901 * sysdeps/mach/hurd/chdir.c: Likewise.
3902 * sysdeps/mach/hurd/fchdir.c: Likewise.
3903 * sysdeps/mach/hurd/rename.c: Likewise.
3904 * sysdeps/mach/hurd/rmdir.c: Likewise.
3905 * sysdeps/mach/hurd/seekdir.c: Likewise.
3906 * sysdeps/mach/hurd/setsid.c: Likewise.
3907 * sysdeps/posix/wait3.c: Likewise.
3908
568035b7
JM
3909 * All files with FSF copyright notices: Update copyright dates
3910 using scripts/update-copyrights.
3911 * intl/plural.c: Regenerated.
3912 * locale/programs/charmap-kw.h: Likewise.
3913 * locale/programs/locfile-kw.h: Likewise.
3914
da08f647
SP
39152013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3916
0f5477af
SP
3917 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3918 four values.
3919
44e0d4c2
SP
3920 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3921 calculation loop and add branch prediction.
3922
4d55b4e5
SP
3923 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3924 check access beyond bounds of m1np.
3925
da08f647
SP
3926 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3927 MPTWO.
3928 (__inv): Remove local variable MPTWO to use the global
3929 constant.
3930 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3931 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3932 variable MPTWO.
3933 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3934 MP3HALFS static const.
3935
8e051029
DM
39362013-01-01 David S. Miller <davem@davemloft.net>
3937
3938 * po/ca.po: Update from translation team.
3939
f4cf5f2d
JM
39402013-01-01 Joseph Myers <joseph@codesourcery.com>
3941
3942 * scripts/update-copyrights: New file.
3943 * Makeconfig: Reformat copyright notice.
3944 * ctype/ctype.h: Likewise.
3945 * debug/swprintf_chk.c: Likewise.
3946 * elf/dl-cache.c: Likewise.
3947 * elf/dl-debug.c: Likewise.
3948 * elf/dl-object.c: Likewise.
3949 * grp/initgroups.c: Likewise.
3950 * hurd/Makefile: Likewise.
3951 * hurd/hurd/signal.h: Likewise.
3952 * hurd/hurdfault.c: Likewise.
3953 * hurd/hurdioctl.c: Likewise.
3954 * hurd/hurdlookup.c: Likewise.
3955 * hurd/intr-msg.c: Likewise.
3956 * iconv/gconv_open.c: Likewise.
3957 * libio/swprintf.c: Likewise.
3958 * locale/lc-ctype.c: Likewise.
3959 * locale/nl_langinfo.c: Likewise.
3960 * mach/Machrules: Likewise.
3961 * mach/Makefile: Likewise.
3962 * malloc/obstack.h: Likewise.
3963 * manual/Makefile: Likewise.
3964 * manual/tsort.awk: Likewise.
3965 * misc/bits/stab.def: Likewise.
3966 * nis/nis_print_group_entry.c: Likewise.
3967 * nis/nis_table.c: Likewise.
3968 * nis/nss_compat/compat-pwd.c: Likewise.
3969 * nis/nss_compat/compat-spwd.c: Likewise.
3970 * po/Makefile: Likewise.
3971 * posix/fnmatch.c: Likewise.
3972 * posix/regex.h: Likewise.
3973 * resolv/Makefile: Likewise.
3974 * resolv/nss_dns/dns-network.c: Likewise.
3975 * resolv/res_hconf.c: Likewise.
3976 * scripts/gen-sorted.awk: Likewise.
3977 * soft-fp/soft-fp.h: Likewise.
3978 * stdio-common/printf.h: Likewise.
3979 * stdlib/monetary.h: Likewise.
3980 * stdlib/random.c: Likewise.
3981 * stdlib/random_r.c: Likewise.
3982 * sysdeps/generic/Makefile: Likewise.
3983 * sysdeps/gnu/Makefile: Likewise.
3984 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
3985 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
3986 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
3987 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
3988 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
3989 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
3990 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
3991 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
3992 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
3993 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
3994 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
3995 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
3996 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
3997 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
3998 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
3999 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4000 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4001 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4002 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4003 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4004 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4005 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4006 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4007 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4008 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4009 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4010 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4011 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4012 * sysdeps/mach/hurd/errnos.awk: Likewise.
4013 * sysdeps/mach/hurd/fork.c: Likewise.
4014 * sysdeps/mach/hurd/getcwd.c: Likewise.
4015 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4016 * sysdeps/mach/hurd/mmap.c: Likewise.
4017 * sysdeps/mach/hurd/utimes.c: Likewise.
4018 * sysdeps/mach/hurd/xmknod.c: Likewise.
4019 * sysdeps/posix/profil.c: Likewise.
4020 * sysdeps/posix/readdir_r.c: Likewise.
4021 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4022 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4023 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4024 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4025 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4026 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4027 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4028 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4029 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4030 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4031 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4032 * sysdeps/pthread/lio_listio.c: Likewise.
4033 * sysdeps/sparc/dl-procinfo.h: Likewise.
4034 * sysdeps/unix/i386/sysdep.S: Likewise.
4035 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4036 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4037 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4038 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4040 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4041 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4042 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4043 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4044 * sysdeps/wordsize-32/divdi3.c: Likewise.
4045 * time/sys/time.h: Likewise.
4046 * wcsmbs/Makefile: Likewise.
4047
0549fbba
DM
40482013-01-01 David S. Miller <davem@davemloft.net>
4049
a141f1a7
DM
4050 * po/fr.po: Update from translation team.
4051
0549fbba
DM
4052 * catgets/gencat.c: Update copyright year.
4053 * csu/version.c: Likewise.
4054 * debug/catchsegv.sh: Likewise.
4055 * debug/pcprofiledump.c: Likewise.
4056 * debug/xtrace.sh: Likewise.
4057 * elf/ldconfig.c: Likewise.
4058 * elf/ldd.bash.in: Likewise.
4059 * elf/pldd.c: Likewise.
4060 * elf/sotruss.ksh: Likewise.
4061 * elf/sprof.c: Likewise.
4062 * iconv/iconv_prog.c: Likewise.
4063 * iconv/iconvconfig.c: Likewise.
4064 * locale/programs/locale.c: Likewise.
4065 * locale/programs/localedef.c: Likewise.
4066 * login/programs/pt_chown.c: Likewise.
4067 * malloc/memusage.sh: Likewise.
4068 * malloc/memusagestat.c: Likewise.
4069 * malloc/mtrace.pl: Likewise.
4070 * nscd/nscd.c: Likewise.
4071 * nss/getent.c: Likewise.
4072 * nss/makedb.c: Likewise.
4073 * posix/getconf.c: Likewise.
4074
18ea052c
SP
40752012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4076
4077 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4078 numbers.
4079
9c89fca6
MF
40802012-12-30 Mike Frysinger <vapier@gentoo.org>
4081
4082 * math/bits/mathcalls.h (modf): Use __nonnull.
4083
085ec079
SP
40842012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4085
4086 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4087 (split): Use macro CN instead of the bare value.
4088 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4089 could be used.
4090 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4091 instead of the bare value.
4092 (power1): Likewise.
4093
6d9f97e1
SP
40942012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4095
d63f73be
SP
4096 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4097 __ATAN_TWOM.
4098 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4099
6d9f97e1
SP
4100 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4101 their values.
4102 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4103 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4104 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4105 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4106
4c4febf5
AJ
41072012-12-28 Andreas Jaeger <aj@suse.de>
4108
af5843ef
AJ
4109 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4110 values are from Linux 3.7.
4111
4c4febf5
AJ
4112 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4113 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4114
99136f82
SP
41152012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4116
2f216c3c 4117 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
4118 TRUE case.
4119
99136f82
SP
4120 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4121 (norm): Likewise.
4122 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4123 variables with preprocessor constants.
4124 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4125 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4126 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4127
7fffbdff
BH
41282012-12-27 Bruno Haible <bruno@clisp.org>
4129
4130 [BZ #14317]
4131 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4132 only if needed.
4133
b76eb5f0
SP
41342012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4135
31a7fe5c
SP
4136 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4137 and use variable directly.
4138 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4139
b76eb5f0
SP
4140 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4141 MPONE.
4142 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4143 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4144 variable MPONE.
4145 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4146 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4147 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4148 include directive. Remove local variable MPONE.
4149 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4150 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4151 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4152
2c8bfe7d
DM
41532012-12-25 David S. Miller <davem@davemloft.net>
4154
4155 * version.h (RELEASE): Set to "development".
4156 (VERSION): Set to "2.17.90".
4157 * NEWS: Add 2.18 section.
4158
147d03b0
DM
41592012-12-21 David S. Miller <davem@davemloft.net>
4160
4161 * po/hr.po: Update from translation team.
4162
a8ebb2b9
AK
41632012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4164
4165 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4166
95b4f1b6
SE
41672012-12-19 Steve Ellcey <sellcey@mips.com>
4168
b2d94007 4169 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 4170
cedb2a90
MS
41712012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4172
4173 * manual/contrib.texi (Contributors): Spelling correction.
4174
bbf527d6
DM
41752012-12-15 David S. Miller <davem@davemloft.net>
4176
4177 * po/ru.po: Update from translation team.
4178
bc38c906
DM
41792012-12-13 David S. Miller <davem@davemloft.net>
4180
85429b1a
DM
4181 * NEWS: Mention IFUNC testsuite enhancements.
4182
d283e353
DM
4183 * po/pl.po: Update from translation team.
4184 * po/bg.po: Likewise.
4185
bc38c906
DM
4186 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4187 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4188
a181b0d7
DM
41892012-12-11 David S. Miller <davem@davemloft.net>
4190
4641d57e
DM
4191 * po/sv.po: Update from translation team.
4192
f7bc6495
DM
4193 * po/vi.po: Update from translation team.
4194
6fc9048f
DM
4195 * po/cs.po: Update from translation team.
4196
a181b0d7
DM
4197 * po/de.po: Update from translation team.
4198 * po/eo.po: Likewise.
4199 * po/nl.po: Likewise.
4200
f70bfe80
SP
42012012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4202
3c8b4190
SP
4203 [BZ #14246]
4204 * manual/argp.texi (Argp Helper Functions): Move node to follow
4205 Argp Parsing State.
4206
f70bfe80
SP
4207 [BZ #14872]
4208 * manual/conf.texi (Limits on File System Capacity): Mention if
4209 terminating null is included in the max size.
4210
188f0adf
AJ
42112012-12-10 Andreas Jaeger <aj@suse.de>
4212
4213 * po/cs.po: Update from translation team.
4214
56e7d3ad
SP
42152012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4216
4217 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4218 void pointer and cast to uintptr_t.
4219 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4220 path.
4221 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4222 * sysdeps/s390/s390-64/memset.S: Likewise.
4223
76f2d2ea 42242012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
4225
4226 [BZ #14833]
4227 * menual/message.texi (Message Translation): Fix typos.
4228 (Helper programs for gettext): Likewise.
4229
67cbf9a2
AS
42302012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4231
4232 [BZ #14898]
4233 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4234 Change to -1.
4235
682d0e9a
DM
42362012-12-07 David S. Miller <davem@davemloft.net>
4237
4238 * po/libc.pot: Update.
4239
573cd484
RH
42402012-12-07 Richard Henderson <rth@redhat.com>
4241
7e9da188 4242 [BZ #10114]
573cd484
RH
4243 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4244 normal/normal case to before the switch.
4245 (_FP_DIV): Likewise.
4246
e933a943
MF
42472012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4248 Mike Frysinger <vapier@gentoo.org>
4249
4250 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4251 check for __NR_fadvise64_64.
4252
82123268
CM
42532012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4254
4255 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4256 0, not just to plain "0" as a statement.
4257 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4258 with cw.
4259
d9814526
JM
42602012-12-06 Joseph Myers <joseph@codesourcery.com>
4261
4262 * NEWS: Use sourceware.org in Bugzilla URL.
4263
7728c574
SP
42642012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4265
f16946dd
SP
4266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4267 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4268
5704bbcb
SP
4269 * stdio-common/tst-put-error.c (do_test): Add newline to the
4270 padded test to ensure flush.
4271
17aa0516
JL
42722012-12-05 Jeff Law <law@redhat.com>
4273
4274 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4275
363313b5
JM
42762012-12-05 Joseph Myers <joseph@codesourcery.com>
4277
effbd42a
JM
4278 * README: Don't refer to ports add-on as distributed separately.
4279 Mention AArch64 in list of systems supported in the ports add-on.
4280
87600365
JM
4281 * LICENSES: Add more non-FSF copyright and license notices.
4282
a0d7066a
JM
4283 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4284 ((unused)).
4285
66ca5a5b
JM
4286 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4287
363313b5
JM
4288 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4289 10000 as width of padded output.
4290
b37984ad
JM
42912012-12-04 Joseph Myers <joseph@codesourcery.com>
4292
9003570a
JM
4293 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4294
b37984ad
JM
4295 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4296 variable LX with __attribute__ ((unused)).
4297 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4298 Likewise.
4299 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4300 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4301 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4302 with __attribute__ ((unused)).
4303
c8df52ec
DM
43042012-12-04 David S. Miller <davem@abraco.davemloft.net>
4305
4306 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4307
b3b099af
JM
43082012-12-04 Joseph Myers <joseph@codesourcery.com>
4309
c33aa6e3
JM
4310 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4311 (CFLAGS-nldbl-acos.c): New variable.
4312 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4313 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4314 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4315 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4316 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4317 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4318 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4319 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4320 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4321 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4322 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4323 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4324 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4325 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4326 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4327 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4328 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4329 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4330 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4331 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4332 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4333 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4334 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4335 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4336 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4337 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4338 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4339 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4340 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4341 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4342 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4343 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4344 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4345 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4346 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4347 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4348 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4349 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4350 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4351 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4352 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4353 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4354 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4355 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4356 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4357 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4358 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4359 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4360 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4361 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4362 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4363 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4364 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4365 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4366 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4367 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4368 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4369 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4370 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4371 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4372 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4373 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4374 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4375 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4376 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4377 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4378 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4379 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4380 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4381 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4382 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4383 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4384 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4385 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4386 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4387 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4388 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4389 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4390 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4391 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4392 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4393 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4394 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4395 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4396 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4397 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4398 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4399 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4400 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4401 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4402 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4403 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4404 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4405 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4406 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4407 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4408 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4409
20f0018d
JM
4410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4411 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4412
b3b099af
JM
4413 [BZ #14914]
4414 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4415 whole low double instead of just low 47 bits when splitting values
4416 into two parts.
4417
029264d1
AM
44182012-12-03 Allan McRae <allan@archlinux.org>
4419
4420 * manual/stdio.texi (Predefined Printf Handlers): Remove
4421 @hsep and @vsep usage.
4422
c9d6789e
MF
44232012-12-03 Mike Frysinger <vapier@gentoo.org>
4424
4425 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4426 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4427
4b7634a5
JL
44282012-12-03 Jeff Law <law@redhat.com>
4429
4430 * time/sys/time.h (settimeofday): Do not mark TV argument
4431 as __nonnull.
4432
eb6cbd24
MF
44332012-12-01 Mike Frysinger <vapier@gentoo.org>
4434
4435 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4436 when currently writing and seek to current position when not.
4437 * libio/Makefile (tests): Remove bug-fclose1.
4438 * libio/bug-fclose1.c: Delete.
4439
f638872a
JM
44402012-12-01 Joseph Myers <joseph@codesourcery.com>
4441
4442 * manual/arith.texi (feenableexcept): Fix typo.
4443 (fedisableexcept): Likewise.
4444
48085d14
RM
44452012-11-30 Roland McGrath <roland@hack.frob.com>
4446
4447 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4448 second, differently-typed declaration, rather than a cast.
4449
1a538b9f
SP
44502012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4451
4452 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4453 * include/rpc/svc.h: ... here.
4454
d07f2ff1 44552012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
4456
4457 [BZ #13013]
4458 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4459 depending n and resplen2 to catch cases where answer
4460 equals answerp2.
4461
c93ec1f0
CD
44622012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4463
4464 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4465 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4466
37db69de
MF
44672012-11-29 Mike Frysinger <vapier@gentoo.org>
4468
4469 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4470
e10c4e4f
RM
44712012-11-29 Roland McGrath <roland@hack.frob.com>
4472
4473 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4474
2af1b328
JL
44752012-11-28 Jeff Law <law@redhat.com>
4476
4477 [BZ #13761]
4478 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4479 dataset_temporary. Track alloca usage into alloca_used.
4480 If dataset is large allocate and release it via malloc/free.
4481
111db5b1
FW
44822012-06-04 Florian Weimer <fweimer@redhat.com>
4483
f06cc227 4484 [BZ #14197]
111db5b1
FW
4485 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4486
dd694abd
DM
44872012-11-28 David S. Miller <davem@davemloft.net>
4488
4489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4490
9984dd01
JM
44912012-11-28 Joseph Myers <joseph@codesourcery.com>
4492
4493 [BZ #14803]
4494 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4495 of pi/2 rounded to nearest to 64 bits.
4496 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4497 nearest to 64 bits.
4498 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4499 bits.
4500
14bc93a9
JL
45012012-11-28 Jeff Law <law@redhat.com>
4502 Martin Osvald <mosvald@redhat.com>
4503
4504 [BZ #14889]
4505 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4506 * sunrpc/svc.c: Include time.h.
4507 (__svc_accept_failed): New function.
4508 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4509 any reason other than EINTR, call __svc_accept_failed.
4510 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4511 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4512
e3c6aa3a
AS
45132012-11-28 Andreas Schwab <schwab@suse.de>
4514
4515 * scripts/abilist.awk: Also handle indirect functions in .opd
4516 section.
4517
1bead169
JM
45182012-11-28 Joseph Myers <joseph@codesourcery.com>
4519
4520 [BZ #13881]
4521 * sysdeps/x86/fpu/powl_helper.c: New file.
4522 * sysdeps/x86/fpu/Makefile: Likewise.
4523 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4524 (p3): New object.
4525 (__ieee754_powl): Use __powl_helper for finite arguments except
4526 integer exponents below 8.
4527 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4528 (p3): New object.
4529 (__ieee754_powl): Use __powl_helper for finite arguments except
4530 integer exponents below 8.
4531 * math/libm-test.inc (pow_test): Add more tests and enable some
4532 previously disabled tests.
4533 * sysdeps/i386/fpu/libm-test-ulps: Update.
4534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4535
0817d63d
SP
45362012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4537 Carlos O'Donell <carlos_odonell@mentor.com>
4538
4539 * nss/makedb.c (is_prime): Assert that input is odd and greater
4540 than 4. Note that fact in a comment too.
4541 (next_prime): Add 4 to input.
4542
de2fd463
SP
45432012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4544
4545 [BZ #11741]
4546 * libio/Makefile (tests): Add test case tst-fwrite-error.
4547 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4548 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4549 * libio/tst-fwrite-error.c: New test case.
4550
c515fb51
L
45512012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4552
4553 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4554 before casting to void *.
4555 * include/libc-internal.h (__pointer_type): New macro.
4556 (__integer_if_pointer_type_sub): Likewise.
4557 (__integer_if_pointer_type): Likewise.
4558 (cast_to_integer): Likewise.
4559 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4560 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4561 before casting to atomic64_t.
4562 (atomic_exchange_acq): Likewise.
4563 (__arch_exchange_and_add_body): Likewise.
4564 (__arch_add_body): Likewise.
4565 (atomic_add_negative): Likewise.
4566 (atomic_add_zero): Likewise.
4567
4cf77aa9
JM
45682012-11-26 Joseph Myers <joseph@codesourcery.com>
4569
4570 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4571 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4572 (add_fdes): Likewise.
4573 (linear_search_fdes): Likewise.
4574 (binary_search_unencoded_fdes): Likewise.
4575
d260b3b4
AS
45762012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4577
4578 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4579
67060746
AC
45802012-11-24 Adam Conrad <adconrad@0c3.net>
4581
4582 * configure.in: Autodetect C++ header directories.
4583 * configure: Regenerated.
4584
800938a1
MF
45852012-11-23 Mike Frysinger <vapier@gentoo.org>
4586
4587 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4588
4e6e34e6
AS
45892012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4590
4591 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4592
7c7feb47
JM
45932012-11-22 Joseph Myers <joseph@codesourcery.com>
4594
7184dcdf
JM
4595 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4596 LDBL_MANT_DIG == 106]: Disable some tests.
4597 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4598 Likewise.
4599 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4600 Likewise.
4601
0a42601f
JM
4602 [BZ #14871]
4603 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4604 input for small inputs. Return +/- pi/2 for large inputs.
4605 * math/libm-test.inc (atan_test): Add more tests.
4606
79c9b9fe
JM
4607 * sysdeps/generic/unwind-dw2-fde-glibc.c
4608 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4609 __attribute__ ((unused)).
4610
c60d3bf2
JM
4611 [BZ #14645]
4612 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4613 x * y if x and y are nonzero and z is zero.
4614
ef1e0867
JM
4615 [BZ #14811]
4616 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4617 nonzero exponents with absolute value below 0x1p-117 to +/-
4618 0x1p-117.
4619
1468ded3
JM
4620 [BZ #14869]
4621 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4622 up arguments below 2**-450, not just those below 2**-500.
4623 * math/libm-test.inc (hypot_test): Add another test.
4624
8e27e3cc
JM
4625 [BZ #14868]
4626 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4627 Return a+b for ratio over 2**120, not 2**60.
4628 * math/libm-test.inc (hypot_test): Add another test.
4629
c9c0279b
JM
4630 * math/libm-test.inc (clog_test): Use
4631 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4632 (clog10_test): Likewise.
4633
7c7feb47
JM
4634 [BZ #6778]
4635 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4636
fff1530e
AS
46372012-11-22 Andreas Schwab <schwab@suse.de>
4638
4639 * sysdeps/i386/fpu/libm-test-ulps: Update.
4640
94558d30
PT
46412012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4642
4643 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4644 printf output with newline.
4645
7e1be741
L
46462012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4647
6bfea974
L
4648 [BZ #14865]
4649 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4650 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4651 -z nodlopen, -z initfirst and -z execstack support.
4652 * configure: Regenerated.
4653
7e1be741
L
4654 * elf/elf.h (DF_1_NODIRECT): New macro.
4655 (DF_1_IGNMULDEF): Likewise.
4656 (DF_1_NOKSYMS): Likewise.
4657 (DF_1_NOHDR): Likewise.
4658 (DF_1_EDITED): Likewise.
4659 (DF_1_NORELOC): Likewise.
4660 (DF_1_SYMINTPOSE): Likewise.
4661 (DF_1_GLOBAUDIT): Likewise.
4662 (DF_1_SINGLETON): Likewise.
4663 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4664 DT_1_SUPPORTED_MASK bits.
4665 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4666
105ce2ce
CD
46672012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4668
4669 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4670
123be9de
TS
46712012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4672
d072f3f7
TS
4673 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4674 macro.
4675
123be9de
TS
4676 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4677 (sendmmsg): Move declarations...
4678 * socket/sys/socket.h: ... here.
4679 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4680 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4681 include it from...
4682 * socket/recvmmsg.c: ... this new file.
4683 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4684 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4685 definition of __sendmmsg hidden.
4686 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4687 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4688 Move ENOSYS stub into and include it from...
4689 * socket/sendmmsg.c: ... this new file.
4690 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4691 (sysdep_routines): Move recvmmsg and sendmmsg...
4692 * socket/Makefile (routines): ... here.
4693 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4694 (GLIBC_PRIVATE): Add __sendmmsg.
4695 * include/sys/socket.h (__sendmmsg): Add declarations.
4696 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4697 sendmmsg.
4698
cf9a5d18
JM
46992012-11-20 Joseph Myers <joseph@codesourcery.com>
4700
4701 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4702 variable I1 with __attribute__ ((unused)).
4703 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4704
ecd4caf9
JM
47052012-11-19 Joseph Myers <joseph@codesourcery.com>
4706
be14d48f
JM
4707 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4708 DUMMY variables with __attribute__ ((unused)).
4709
ecd4caf9
JM
4710 * bits/byteswap.h: Include <bits/types.h>.
4711 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4712
986cab95
PT
47132012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4714
4715 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4716 string_t. Do not manually set errno.
4717 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4718 length with __strnlen. Make sure to both set errno and return it on
4719 failure.
4720
6d33cc9d
DM
47212012-11-19 David S. Miller <davem@davemloft.net>
4722
4723 With help from Joseph Myers.
4724 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4725 very large arguments properly.
4726 * math/libm-test.inc (atan_test): New tests.
4727 (atan2_test): New tests.
4728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4729 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4730
ee663277
JM
47312012-11-19 Joseph Myers <joseph@codesourcery.com>
4732
877f2d8e
JM
4733 [BZ #14856]
4734 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4735 Define to 3.
4736
116fc08a
JM
4737 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4738 [POSIX] (EADDRNOTAVAIL): Likewise.
4739 [POSIX] (EAFNOSUPPORT): Likewise.
4740 [POSIX] (EALREADY): Likewise.
4741 [POSIX] (ECONNABORTED): Likewise.
4742 [POSIX] (ECONNREFUSED): Likewise.
4743 [POSIX] (ECONNRESET): Likewise.
4744 [POSIX] (EDESTADDRREQ): Likewise.
4745 [POSIX] (EDQUOT): Likewise.
4746 [POSIX] (EHOSTUNREACH): Likewise.
4747 [POSIX] (EIDRM): Likewise.
4748 [POSIX] (EISCONN): Likewise.
4749 [POSIX] (ELOOP): Likewise.
4750 [POSIX] (EMULTIHOP): Likewise.
4751 [POSIX] (ENETDOWN): Likewise.
4752 [POSIX] (ENETUNREACH): Likewise.
4753 [POSIX] (ENOBUFS): Likewise.
4754 [POSIX] (ENODATA): Likewise.
4755 [POSIX] (ENOLINK): Likewise.
4756 [POSIX] (ENOMSG): Likewise.
4757 [POSIX] (ENOPROTOOPT): Likewise.
4758 [POSIX] (ENOSR): Likewise.
4759 [POSIX] (ENOSTR): Likewise.
4760 [POSIX] (ENOTCONN): Likewise.
4761 [POSIX] (ENOTSOCK): Likewise.
4762 [POSIX] (EOPNOTSUPP): Likewise.
4763 [POSIX] (EOVERFLOW): Likewise.
4764 [POSIX] (EPROTO): Likewise.
4765 [POSIX] (EPROTONOSUPPORT): Likewise.
4766 [POSIX] (EPROTOTYPE): Likewise.
4767 [POSIX] (ESTALE): Likewise.
4768 [POSIX] (ETIME): Likewise.
4769 [POSIX] (ETXTBSY): Likewise.
4770 [POSIX] (EWOULDBLOCK): Likewise.
4771 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4772 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4773 [POSIX] (SEEK_CUR): Likewise.
4774 [POSIX] (SEEK_END): Likewise.
4775 [POSIX || UNIX98] (mode_t): Do not require.
4776 [POSIX] (off_t): Likewise.
4777 [POSIX] (pid_t): Likewise.
4778 [POSIX] (sys/stat.h): Do not allow header.
4779 [POSIX] (unistd.h): Likewise.
4780 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4781 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4782 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4783 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4784 require.
4785 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4786 sigevent): Specify elements.
4787 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4788 entry.
4789 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4790 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4791
a483863f
JM
4792 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4793 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4794 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4795 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4796 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4797 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4798 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4799 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4800 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4801 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4802 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4803 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4804 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4805 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4806 Likewise.
4807 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4808 Likewise.
4809 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4810 Likewise.
4811 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4812 Likewise.
4813 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4814 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4815 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4816 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4817 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4818 Specify lower bound on value.
4819 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4820 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4821 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4822 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4823 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4824 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4825 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4826 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4827 value.
4828 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4829 as optional.
4830 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4831 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4832 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4833 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4834 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4835 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4836 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4837 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4838 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4839 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4840 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4841 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4842 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4843 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4844 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4845 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4846 entry.
4847 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4848 optional.
4849 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4850 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4851 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4852 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4853 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4854 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4855 Likewise.
4856 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4857 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4858 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4859 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4860 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
4861 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4862 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4863 as optional.
4864 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4865 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4866 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4867 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4868 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4869 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4870 specify as optional.
4871 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4872 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4873 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4874 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4875 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4876 [XPG3] (NL_LANGMAX): Likewise.
4877 [POSIX || XPG3] (NL_MSGMAX): Likewise.
4878 [POSIX || XPG3] (NL_NMAX): Likewise.
4879 [POSIX || XPG3] (NL_SETMAX): Likewise.
4880 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4881 [XPG3] (NZERO): Likewise.
4882 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4883 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4884 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4885 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4886 (REG_ERANGE): Expect.
4887 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4888 optional-constant.
4889 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4890 Use (void) in prototype.
4891 [POSIX] (*_t): Allow.
4892 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4893 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4894 (WRDE_BADVAL): Expect.
4895
5ba924e3
JM
4896 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4897 expect.
4898 [XPG3 || XPG4] (O_RSYNC): Likewise.
4899 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4900 Likewise.
4901 [XPG3 || XPG4] (pthread_sigmask): Likewise.
4902 [XPG3 || XPG4] (sigqueue): Likewise.
4903 [XPG3 || XPG4] (sigtimedwait): Likewise.
4904 [XPG3 || XPG4] (sigwaitinfo): Likewise.
4905 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4906 [XPG3 || XPG4] (vsnprintf): Likewise.
4907 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4908 Likewise.
4909 [XPG3 || XPG4] (blksize_t): Likewise.
4910 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4911 Likewise.
4912 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4913 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4914 [XPG3 || XPG4] (struct itimerspec): Likewise.
4915 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4916 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4917 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4918 [XPG3 || XPG4] (clockid_t): Likewise.
4919 [XPG3 || XPG4] (timer_t): Likewise.
4920 [XPG3 || XPG4] (clock_getres): Likewise.
4921 [XPG3 || XPG4] (clock_gettime): Likewise.
4922 [XPG3 || XPG4] (clock_settime): Likewise.
4923 [XPG3 || XPG4] (nanosleep): Likewise.
4924 [XPG3 || XPG4] (timer_create): Likewise.
4925 [XPG3 || XPG4] (timer_delete): Likewise.
4926 [XPG3 || XPG4] (timer_gettime): Likewise.
4927 [XPG3 || XPG4] (timer_getoverrun): Likewise.
4928 [XPG3 || XPG4] (timer_settime): Likewise.
4929 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4930 [XPG3 || XPG4] (getlogin_r): Likewise.
4931 [XPG3 || XPG4] (pread): Likewise.
4932 [XPG3 || XPG4] (pthread_atfork): Likewise.
4933 [XPG3 || XPG4] (pwrite): Likewise.
4934
ee663277
JM
4935 [BZ #14835]
4936 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4937 <bits/siginfo.h>.
4938
942caa16
PT
49392012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4940
e19af380
PT
4941 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4942 finalizing MALLSTREAM.
4943
942caa16
PT
4944 * sysdeps/mach/hurd/syncfs.c: New file.
4945
cfde9b46
SP
49462012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4947
4948 [BZ #14719]
4949 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
4950 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
4951 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
4952 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
4953 (_nss_dns_gethostbyname4_r): Likewise.
4954 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
4955 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
4956
f6da27e5
PH
49572012-11-19 Peng Haitao <penght@cn.fujitsu.com>
4958
4959 [BZ #13763]
4960 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
4961
6665d4a2
SM
49622012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
4963
1f51ee92
SM
4964 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
4965 * elf/cache.c (print_entry): Print ",AArch64" for
4966 FLAG_AARCH64_LIB64
4967
6665d4a2
SM
4968 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
4969 * elf/cache.c (print_entry): Print ",hard-float" for
4970 FLAG_ARM_LIBHF.
4971
05b227bd
DM
49722012-11-18 David S. Miller <davem@davemloft.net>
4973
4974 With help from Joseph Myers.
4975 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
4976 cutoff to 2**-13.
4977 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
4978 cutoff to 2**-25.
4979 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
4980 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
4981 small.
4982 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
4983 * math/libm-test.inc (y0_test): New tests.
4984 (y1_test): New tests.
4985 * sysdeps/i386/fpu/libm-test-ulps: Update.
4986 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4988
786b0b67
AS
49892012-11-18 Andreas Schwab <schwab@linux-m68k.org>
4990
4991 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
4992 64-bit targets.
4993 * configure: Regenerated.
4994
8e18b86d
DM
49952012-11-17 David S. Miller <davem@davemloft.net>
4996
4997 [BZ #14811]
4998 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
4999 nonzero exponents with absolute value below 0x1p-128 to +/-
5000 0x1p-128.
5001
531f1ae0
JM
50022012-11-17 Joseph Myers <joseph@codesourcery.com>
5003
12df29e2
JM
5004 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5005
150dc1a0
JM
5006 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5007
531f1ae0
JM
5008 * posix/getconf-speclist.c: New file.
5009 * posix/posix-envs.def: Likewise.
5010 * posix/confstr.c (START_ENV_GROUP): New macro.
5011 (END_ENV_GROUP): Likewise.
5012 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5013 (KNOWN_PRESENT_ENV_STRING): Likewise.
5014 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5015 (UNKNOWN_ENVIRONMENT): Likewise.
5016 (confstr): Include posix-envs.def instead of handling
5017 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5018 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5019 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5020 (END_ENV_GROUP): Likewise.
5021 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5022 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5023 (UNKNOWN_ENVIRONMENT): Likewise.
5024 (__sysconf): Include posix-envs.def instead of handling associated
5025 cases directly here.
5026 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5027 preprocessing getconf-speclist.c rather than running getconf or
5028 generating empty file.
5029
a93f9cbc
PT
50302012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5031
5032 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5033
d64d9f87
AL
50342012-11-16 Andrej Lajovic <natrij@gmail.com>
5035
5036 [BZ #14672]
5037 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5038
447885eb
DM
50392012-11-16 David S. Miller <davem@davemloft.net>
5040
5041 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5042 smaller than LDBL_EPSILON/2.0L, just return xm1.
5043
bcbf9830
L
50442012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5045
5046 * elf/tst-array1.c (init): Set constructor priority to 1000.
5047 (fini): Set destructor priority to 1000.
5048 * elf/tst-array2dep.c: Likewise.
5049
2b766585
SP
50502012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5051
5052 [BZ #11741]
5053 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5054 (_IO_new_file_xsputn): Also return EOF if none of the input
5055 data was written when overflow failed.
5056 * libio/iopadn.c (_IO_padn): Likewise.
5057 * libio/iowpadn.c (_IO_wpadn): Likewise.
5058 * stdio-common/tst-put-error.c: Add copyright notice.
5059 (do_test): Add case for printing padded string.
5060 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5061 _IO_padn returned error.
5062 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5063 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5064 return EOF.
5065
b1848fde
SP
50662012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5067
5068 * libio/libioP.h: Add comment note that the references to C++
5069 bits are now obsolete.
5070
2fd89785
MS
50712012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5072
5073 * math/libm-test.inc (check_complex): Use asprintf.
5074
e3ea5409
JM
50752012-11-14 Joseph Myers <joseph@codesourcery.com>
5076
5077 * debug/pcprofiledump.c (print_version): Update copyright year.
5078 * malloc/memusagestat.c (print_version): Likewise.
5079
2e64d265
L
50802012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5081
5082 [BZ #14831]
5083 * elf/Makefile (tests): Add tst-audit8.
5084 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5085 ($(objpfx)tst-audit8.out): New target.
5086 (tst-audit8-ENV): New variable.
5087 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5088 audit if l_reloc_result is NULL.
5089 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5090 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5091 * elf/tst-audit8.c: New file.
5092
c485e4d2
MS
50932012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5094
5095 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5096 * misc/Makefile (CFLAGS-select.c): Define.
5097 * posix/Makefile (CFLAGS-pause.c): Define.
5098
3a0d900a
DM
50992012-11-13 David S. Miller <davem@davemloft.net>
5100
5101 * crypt/Makefile: Move test targets after toplevel Rules
5102 inclusion. Grab any necessary sysdep routines when linking.
5103 * crypt/md5.c (md5_process_block): Remove define, we will always
5104 name it __md5_process_block.
5105 (md5_finish_ctx): Update md5_process_block call.
5106 (md5_stream): Likewise.
5107 (md5_process_bytes): Likewise.
5108 (md5_process_block): Rename to __md5_process_block and move to ...
5109 * crypt/md5-block.c: ... here.
5110 * crypt/sha256.c (sha256_process_block): Move to ...
5111 * crypt/sha256-block.c: ... here.
5112 * crypt/sha512.c (sha512_process_block): Move to ...
5113 * crypt/sha512-block.c: ... here.
5114 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5115 path.
5116 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5117 * sysdeps/sparc/sparc64/multiarch/Makefile
5118 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5119 crypt subdir.
5120 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5121 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5122 multiarch changes.
5123 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5124 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5125 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5126 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5127 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5128 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5129 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5130 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5131 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5132 file.
5133 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5134 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5135 file.
5136 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5137
8ca89318
JM
51382012-11-13 Joseph Myers <joseph@codesourcery.com>
5139
e27d476a
JM
5140 * timezone/tzselect.ksh: Update from tzcode git revision
5141 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5142 * timezone/zdump.c: Likewise.
5143 * timezone/zic.c: Likewise.
5144 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5145 in TZVERSION setting, not $(PKGVERSION).
5146 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5147 REPORT_BUGS_TO settings.
5148
8ca89318
JM
5149 [BZ #14838]
5150 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5151 macro.
5152
47594329
MS
51532012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5154
5155 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5156 detection to immediately after _FP_ROUND().
5157 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5158 bits are 0.
5159
640ac3f1
DM
51602012-11-11 David S. Miller <davem@davemloft.net>
5161
5162 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5163 inttypes.h
5164 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5165 __close rather than their public counterparts.
5166
3d2577bb
JM
51672012-11-10 Joseph Myers <joseph@codesourcery.com>
5168
5169 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5170 file.
5171 [UNIX98] (sem_timedwait): Do not expect.
5172 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5173 [XPG4 || UNIX98] (sockatmark): Do not expect.
5174 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5175 (clock_getcpuclockid): Do not expect.
5176 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5177 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5178 Do not expect.
5179 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5180 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5181 [UNIX98] (vwscanf): Likewise.
5182 [UNIX98] (vswscanf): Likewise.
5183
fb1ae1ee
JM
51842012-11-09 Joseph Myers <joseph@codesourcery.com>
5185
9ec6f8bd
JM
5186 * timezone/version.h: Remove file.
5187 * timezone/README: Do not refer to version.h.
5188 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5189 $(objpfx)version.h.
5190 ($(objpfx)zdump.o): Likewise.
c3f81911 5191 ($(objpfx)version.h): New target.
9ec6f8bd 5192
0aa8f8a1
JM
5193 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5194 2012i.
5195 * timezone/README: Don't mention modification to tzselect.ksh.
5196 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5197 work on unmodified tzselect.ksh. Substitute version numbers in
5198 tzselect.ksh.
5199
4e87147f
JM
5200 * Makefile (format-me): Remove.
5201 (INSTALL): Adjust indentation. Use commands directly instead of
5202 using $(format-me).
5203
8b748aed
JM
5204 * aclocal.m4 (ACX_PKGVERSION): New macro.
5205 (ACX_BUGURL): Likewise.
5206 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5207 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5208 (REPORT_BUGS_TO): Likewise.
5209 * configure: Regenerated.
5210 * config.h.in (PKGVERSION): New macro.
5211 (REPORT_BUGS_TO): Likewise.
5212 * config.make.in (PKGVERSION): New variable.
5213 (PKGVERSION_TEXI): Likewise.
5214 (REPORT_BUGS_TO): Likewise.
5215 (REPORT_BUGS_TEXI): Likewise.
5216 * Makefile (format-me): Use -I$(common-objpfx)manual.
5217 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5218 ($(common-objpfx)manual/%): New target.
5219 (manual/%): Remove target.
5220 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5221 (print_version): Use PKGVERSION.
5222 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5223 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5224 and REPORT_BUGS_TO.
5225 ($(objpfx)xtrace): Likewise.
5226 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5227 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5228 (print_version): Use PKGVERSION.
5229 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5230 (do_version): Use PKGVERSION.
5231 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5232 REPORT_BUGS_TO.
5233 (common-ldd-rewrite): Likewise.
5234 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5235 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5236 (print_version): Use PKGVERSION.
5237 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5238 * elf/pldd.c (argp_program_bug_address): Remove variable.
5239 (more_help): New function.
5240 (argp): Use more_help.
5241 (print_version): Use PKGVERSION.
5242 * elf/sln.c (main): Use PKGVERSION.
5243 (usage): Use REPORT_BUGS_TO.
5244 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5245 (top level): Use PKGVERSION.
5246 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5247 (print_version): Use PKGVERSION.
5248 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5249 (print_version): Use PKGVERSION.
5250 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5251 (print_version): Use PKGVERSION.
5252 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5253 (print_version): Use PKGVERSION.
5254 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5255 (print_version): Use PKGVERSION.
5256 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5257 (print_version): Use PKGVERSION.
5258 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5259 and BUGURL.
5260 ($(objpfx)memusage): Likewise.
5261 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5262 (do_version): Use PKGVERSION.
5263 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5264 (print_version): Use PKGVERSION.
5265 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5266 ($PKGVERSION): New variable.
5267 ($REPORT_BUGS_TO): Likewise.
5268 (usage): Use $REPORT_BUGS_TO.
5269 (top level): Use $PKGVERSION.
5270 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5271 ($(objpfx)pkgvers.texi): New rule.
5272 ($(objpfx)stamp-pkgvers): Likewise.
5273 * manual/install.texi: Include pkgvers.texi.
5274 (--with-pkgversion): Document new configure option.
5275 (--with-bugurl): Likewise.
5276 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5277 than necessarily for this particular distribution. Use
5278 REPORT_BUGS_TO for where to report bugs.
5279 * INSTALL: Regenerated.
5280 * manual/libc.texinfo: Include pkgvers.texi.
5281 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5282 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5283 (print_version): Use PKGVERSION.
5284 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5285 (print_version): Use PKGVERSION.
5286 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5287 (print_version): Use PKGVERSION.
5288 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5289 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5290 macro.
5291 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5292 (print_version): Use PKGVERSION.
5293 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5294 (print_version): Use PKGVERSION.
5295 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5296 and PKGVERSION.
5297
92e4b6a9
JM
5298 * timezone/checktab.awk: Update from tzcode 2012i.
5299 * timezone/ialloc.c: Likewise.
5300 * timezone/private.h: Likewise.
5301 * timezone/scheck.c: Likewise.
5302 * timezone/tzfile.h: Likewise.
5303 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5304 (TZVERSION): Hardcode tzcode version number.
5305 * timezone/zdump.c: Update from tzcode 2012i.
5306 * timezone/zic.c: Likewise.
5307 * timezone/version.h: New file.
5308 * timezone/README: Describe version.h. Update upstream location.
5309
9bde902c
JM
5310 [BZ #14824]
5311 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5312 (mktemp): Enable declaration.
5313 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5314 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5315 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5316 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5317 Likewise.
5318 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5319 Likewise.
5320 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5321 Likewise.
5322 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5323 Likewise.
5324 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5325 Likewise.
5326 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5327 Likewise.
5328
fb1ae1ee
JM
5329 [BZ #14821]
5330 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5331 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5332 for copies of such integer values.
5333 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5334 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5335
2c1adbcb
AJ
53362012-11-09 Andreas Jaeger <aj@suse.de>
5337
5338 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5339 definitions and declarations that are provided by
5340 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5341
d0f8457e
AK
53422012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5343
3a235abb 5344 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
5345 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5346 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5347 definition.
5348
57241e26
MS
53492012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5350
5351 * elf/elf.h: Update comment before AArch64 relocations.
5352
60e8270d
DM
53532012-11-07 David S. Miller <davem@davemloft.net>
5354
5355 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5356 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5357 (__start_context): Declare.
5358 (__makecontext_ret): Delete.
5359 (__makecontext): Hook up __start_context instead of
5360 __makecontext_ret.
5361 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5362 (sysdep_routines): Add __start_context when in stdlib.
5363
0fbb0fbc
JM
53642012-11-07 Joseph Myers <joseph@codesourcery.com>
5365
5366 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5367 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5368 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5369 hardcoded "nm".
5370 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5371 (READELF): New variable. Use it instead of hardcoded "readelf".
5372
eb48db7e
L
53732012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5374
5375 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5376 * sysdeps/x86/Makefile: Here.
5377 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5378 * sysdeps/x86/tst-xmmymm.sh: This.
5379
05bcf62a
JM
53802012-11-07 Joseph Myers <joseph@codesourcery.com>
5381
c4b6cf53
JM
5382 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5383 expectations.
5384 [UNIX98] (pthread_barrier_t): Do not expect.
5385 [UNIX98] (pthread_barrierattr_t): Likewise.
5386 [UNIX98] (pthread_spinlock_t): Likewise.
5387 [UNIX98] (pthread_barrier_destroy): Likewise.
5388 [UNIX98] (pthread_barrier_init): Likewise.
5389 [UNIX98] (pthread_barrier_wait): Likewise.
5390 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5391 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5392 [UNIX98] (pthread_barrierattr_init): Likewise.
5393 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5394 [UNIX98] (pthread_getcpuclockid): Likewise.
5395 [UNIX98] (pthread_mutex_timedlock): Likewise.
5396 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5397 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5398 [UNIX98] (pthread_sigmask): Likewise.
5399 [UNIX98] (pthread_spin_destroy): Likewise.
5400 [UNIX98] (pthread_spin_init): Likewise.
5401 [UNIX98] (pthread_spin_lock): Likewise.
5402 [UNIX98] (pthread_spin_trylock): Likewise.
5403 [UNIX98] (pthread_spin_unlock): Likewise.
5404 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5405 Do not expect.
5406 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5407 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5408 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5409 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5410 [XPG3 || XPG4] (pthread_key_t): Likewise.
5411 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5412 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5413 [XPG3 || XPG4] (pthread_once_t): Likewise.
5414 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5415 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5416 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5417 [XPG3 || XPG4] (pthread_t): Likewise.
5418
cbe6e120
JM
5419 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5420 not expect.
5421 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5422
1b126443
JM
5423 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5424 Change function return type to int.
5425
b961a573
JM
5426 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5427 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5428 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5429 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5430 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5431 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5432 [!POSIX] (posix_madvise): Likewise.
5433 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5434 && !UNIX98].
5435 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5436 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5437 (mode_t): Likewise.
5438 (posix_mem_offset): Likewise.
5439 (posix_typed_mem_get_info): Likewise.
5440 (posix_typed_mem_open): Likewise.
5441
9e188909
JM
5442 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5443 Change condition to [XOPEN2K8].
5444
05bcf62a
JM
5445 * conform/conformtest.pl: Preprocess allow-header data with -x c
5446 instead of from stdin.
5447 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5448 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5449 [C99-based standards] (cerfc): Likewise.
5450 [C99-based standards] (cexp2): Likewise.
5451 [C99-based standards] (cexpm1): Likewise.
5452 [C99-based standards] (clog10): Likewise.
5453 [C99-based standards] (clog1p): Likewise.
5454 [C99-based standards] (clog2): Likewise.
5455 [C99-based standards] (clgamma): Likewise.
5456 [C99-based standards] (ctgamma): Likewise.
5457 [C99-based standards] (cerff): Likewise.
5458 [C99-based standards] (cerfcf): Likewise.
5459 [C99-based standards] (cexp2f): Likewise.
5460 [C99-based standards] (cexpm1f): Likewise.
5461 [C99-based standards] (clog10f): Likewise.
5462 [C99-based standards] (clog1pf): Likewise.
5463 [C99-based standards] (clog2f): Likewise.
5464 [C99-based standards] (clgammaf): Likewise.
5465 [C99-based standards] (ctgammaf): Likewise.
5466 [C99-based standards] (cerfl): Likewise.
5467 [C99-based standards] (cerfcl): Likewise.
5468 [C99-based standards] (cexp2l): Likewise.
5469 [C99-based standards] (cexpm1l): Likewise.
5470 [C99-based standards] (clog10l): Likewise.
5471 [C99-based standards] (clog1pl): Likewise.
5472 [C99-based standards] (clog2l): Likewise.
5473 [C99-based standards] (clgammal): Likewise.
5474 [C99-based standards] (ctgammal): Likewise.
5475 * conform/data/inttypes.h-data [C99-based standards]: Include
5476 stdint.h-data. Remove all expectations for stdint.h contents.
5477 [C99-based standards] (PRI*): Do not allow.
5478 [C99-based standards] (SCN*): Likewise.
5479 [C99-based standards] (*_t): Likewise.
5480 [C99-based-standards] (PRId8): Expect macro.
5481 [C99-based-standards] (PRIi8): Likewise.
5482 [C99-based-standards] (PRIo8): Likewise.
5483 [C99-based-standards] (PRIu8): Likewise.
5484 [C99-based-standards] (PRIx8): Likewise.
5485 [C99-based-standards] (PRIX8): Likewise.
5486 [C99-based-standards] (SCNd8): Likewise.
5487 [C99-based-standards] (SCNi8): Likewise.
5488 [C99-based-standards] (SCNo8): Likewise.
5489 [C99-based-standards] (SCNu8): Likewise.
5490 [C99-based-standards] (SCNx8): Likewise.
5491 [C99-based-standards] (PRIdLEAST8): Likewise.
5492 [C99-based-standards] (PRIiLEAST8): Likewise.
5493 [C99-based-standards] (PRIoLEAST8): Likewise.
5494 [C99-based-standards] (PRIuLEAST8): Likewise.
5495 [C99-based-standards] (PRIxLEAST8): Likewise.
5496 [C99-based-standards] (PRIXLEAST8): Likewise.
5497 [C99-based-standards] (SCNdLEAST8): Likewise.
5498 [C99-based-standards] (SCNiLEAST8): Likewise.
5499 [C99-based-standards] (SCNoLEAST8): Likewise.
5500 [C99-based-standards] (SCNuLEAST8): Likewise.
5501 [C99-based-standards] (SCNxLEAST8): Likewise.
5502 [C99-based-standards] (PRIdFAST8): Likewise.
5503 [C99-based-standards] (PRIiFAST8): Likewise.
5504 [C99-based-standards] (PRIoFAST8): Likewise.
5505 [C99-based-standards] (PRIuFAST8): Likewise.
5506 [C99-based-standards] (PRIxFAST8): Likewise.
5507 [C99-based-standards] (PRIXFAST8): Likewise.
5508 [C99-based-standards] (SCNdFAST8): Likewise.
5509 [C99-based-standards] (SCNiFAST8): Likewise.
5510 [C99-based-standards] (SCNoFAST8): Likewise.
5511 [C99-based-standards] (SCNuFAST8): Likewise.
5512 [C99-based-standards] (SCNxFAST8): Likewise.
5513 [C99-based-standards] (PRId16): Likewise.
5514 [C99-based-standards] (PRIi16): Likewise.
5515 [C99-based-standards] (PRIo16): Likewise.
5516 [C99-based-standards] (PRIu16): Likewise.
5517 [C99-based-standards] (PRIx16): Likewise.
5518 [C99-based-standards] (PRIX16): Likewise.
5519 [C99-based-standards] (SCNd16): Likewise.
5520 [C99-based-standards] (SCNi16): Likewise.
5521 [C99-based-standards] (SCNo16): Likewise.
5522 [C99-based-standards] (SCNu16): Likewise.
5523 [C99-based-standards] (SCNx16): Likewise.
5524 [C99-based-standards] (PRIdLEAST16): Likewise.
5525 [C99-based-standards] (PRIiLEAST16): Likewise.
5526 [C99-based-standards] (PRIoLEAST16): Likewise.
5527 [C99-based-standards] (PRIuLEAST16): Likewise.
5528 [C99-based-standards] (PRIxLEAST16): Likewise.
5529 [C99-based-standards] (PRIXLEAST16): Likewise.
5530 [C99-based-standards] (SCNdLEAST16): Likewise.
5531 [C99-based-standards] (SCNiLEAST16): Likewise.
5532 [C99-based-standards] (SCNoLEAST16): Likewise.
5533 [C99-based-standards] (SCNuLEAST16): Likewise.
5534 [C99-based-standards] (SCNxLEAST16): Likewise.
5535 [C99-based-standards] (PRIdFAST16): Likewise.
5536 [C99-based-standards] (PRIiFAST16): Likewise.
5537 [C99-based-standards] (PRIoFAST16): Likewise.
5538 [C99-based-standards] (PRIuFAST16): Likewise.
5539 [C99-based-standards] (PRIxFAST16): Likewise.
5540 [C99-based-standards] (PRIXFAST16): Likewise.
5541 [C99-based-standards] (SCNdFAST16): Likewise.
5542 [C99-based-standards] (SCNiFAST16): Likewise.
5543 [C99-based-standards] (SCNoFAST16): Likewise.
5544 [C99-based-standards] (SCNuFAST16): Likewise.
5545 [C99-based-standards] (SCNxFAST16): Likewise.
5546 [C99-based-standards] (PRId32): Likewise.
5547 [C99-based-standards] (PRIi32): Likewise.
5548 [C99-based-standards] (PRIo32): Likewise.
5549 [C99-based-standards] (PRIu32): Likewise.
5550 [C99-based-standards] (PRIx32): Likewise.
5551 [C99-based-standards] (PRIX32): Likewise.
5552 [C99-based-standards] (SCNd32): Likewise.
5553 [C99-based-standards] (SCNi32): Likewise.
5554 [C99-based-standards] (SCNo32): Likewise.
5555 [C99-based-standards] (SCNu32): Likewise.
5556 [C99-based-standards] (SCNx32): Likewise.
5557 [C99-based-standards] (PRIdLEAST32): Likewise.
5558 [C99-based-standards] (PRIiLEAST32): Likewise.
5559 [C99-based-standards] (PRIoLEAST32): Likewise.
5560 [C99-based-standards] (PRIuLEAST32): Likewise.
5561 [C99-based-standards] (PRIxLEAST32): Likewise.
5562 [C99-based-standards] (PRIXLEAST32): Likewise.
5563 [C99-based-standards] (SCNdLEAST32): Likewise.
5564 [C99-based-standards] (SCNiLEAST32): Likewise.
5565 [C99-based-standards] (SCNoLEAST32): Likewise.
5566 [C99-based-standards] (SCNuLEAST32): Likewise.
5567 [C99-based-standards] (SCNxLEAST32): Likewise.
5568 [C99-based-standards] (PRIdFAST32): Likewise.
5569 [C99-based-standards] (PRIiFAST32): Likewise.
5570 [C99-based-standards] (PRIoFAST32): Likewise.
5571 [C99-based-standards] (PRIuFAST32): Likewise.
5572 [C99-based-standards] (PRIxFAST32): Likewise.
5573 [C99-based-standards] (PRIXFAST32): Likewise.
5574 [C99-based-standards] (SCNdFAST32): Likewise.
5575 [C99-based-standards] (SCNiFAST32): Likewise.
5576 [C99-based-standards] (SCNoFAST32): Likewise.
5577 [C99-based-standards] (SCNuFAST32): Likewise.
5578 [C99-based-standards] (SCNxFAST32): Likewise.
5579 [C99-based-standards] (PRId64): Likewise.
5580 [C99-based-standards] (PRIi64): Likewise.
5581 [C99-based-standards] (PRIo64): Likewise.
5582 [C99-based-standards] (PRIu64): Likewise.
5583 [C99-based-standards] (PRIx64): Likewise.
5584 [C99-based-standards] (PRIX64): Likewise.
5585 [C99-based-standards] (SCNd64): Likewise.
5586 [C99-based-standards] (SCNi64): Likewise.
5587 [C99-based-standards] (SCNo64): Likewise.
5588 [C99-based-standards] (SCNu64): Likewise.
5589 [C99-based-standards] (SCNx64): Likewise.
5590 [C99-based-standards] (PRIdLEAST64): Likewise.
5591 [C99-based-standards] (PRIiLEAST64): Likewise.
5592 [C99-based-standards] (PRIoLEAST64): Likewise.
5593 [C99-based-standards] (PRIuLEAST64): Likewise.
5594 [C99-based-standards] (PRIxLEAST64): Likewise.
5595 [C99-based-standards] (PRIXLEAST64): Likewise.
5596 [C99-based-standards] (SCNdLEAST64): Likewise.
5597 [C99-based-standards] (SCNiLEAST64): Likewise.
5598 [C99-based-standards] (SCNoLEAST64): Likewise.
5599 [C99-based-standards] (SCNuLEAST64): Likewise.
5600 [C99-based-standards] (SCNxLEAST64): Likewise.
5601 [C99-based-standards] (PRIdFAST64): Likewise.
5602 [C99-based-standards] (PRIiFAST64): Likewise.
5603 [C99-based-standards] (PRIoFAST64): Likewise.
5604 [C99-based-standards] (PRIuFAST64): Likewise.
5605 [C99-based-standards] (PRIxFAST64): Likewise.
5606 [C99-based-standards] (PRIXFAST64): Likewise.
5607 [C99-based-standards] (SCNdFAST64): Likewise.
5608 [C99-based-standards] (SCNiFAST64): Likewise.
5609 [C99-based-standards] (SCNoFAST64): Likewise.
5610 [C99-based-standards] (SCNuFAST64): Likewise.
5611 [C99-based-standards] (SCNxFAST64): Likewise.
5612 [C99-based-standards] (PRIdMAX): Likewise.
5613 [C99-based-standards] (PRIiMAX): Likewise.
5614 [C99-based-standards] (PRIoMAX): Likewise.
5615 [C99-based-standards] (PRIuMAX): Likewise.
5616 [C99-based-standards] (PRIxMAX): Likewise.
5617 [C99-based-standards] (PRIXMAX): Likewise.
5618 [C99-based-standards] (SCNdMAX): Likewise.
5619 [C99-based-standards] (SCNiMAX): Likewise.
5620 [C99-based-standards] (SCNoMAX): Likewise.
5621 [C99-based-standards] (SCNuMAX): Likewise.
5622 [C99-based-standards] (SCNxMAX): Likewise.
5623 [C99-based-standards] (PRIdPTR): Likewise.
5624 [C99-based-standards] (PRIiPTR): Likewise.
5625 [C99-based-standards] (PRIoPTR): Likewise.
5626 [C99-based-standards] (PRIuPTR): Likewise.
5627 [C99-based-standards] (PRIxPTR): Likewise.
5628 [C99-based-standards] (PRIXPTR): Likewise.
5629 [C99-based-standards] (SCNdPTR): Likewise.
5630 [C99-based-standards] (SCNiPTR): Likewise.
5631 [C99-based-standards] (SCNoPTR): Likewise.
5632 [C99-based-standards] (SCNuPTR): Likewise.
5633 [C99-based-standards] (SCNxPTR): Likewise.
5634 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5635 allow.
5636 * conform/data/stdint.h-data: Update comments to clarify
5637 requirements.
5638 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5639 type.
5640 [C99-based standards] (INT8_MAX): Likewise.
5641 [C99-based standards] (INT16_MIN): Likewise.
5642 [C99-based standards] (INT16_MAX): Likewise.
5643 [C99-based standards] (INT32_MIN): Likewise.
5644 [C99-based standards] (INT32_MAX): Likewise.
5645 [C99-based standards] (INT64_MIN): Likewise.
5646 [C99-based standards] (INT64_MAX): Likewise.
5647 [C99-based standards] (UINT8_MAX): Likewise.
5648 [C99-based standards] (UINT16_MAX): Likewise.
5649 [C99-based standards] (UINT32_MAX): Likewise.
5650 [C99-based standards] (UINT64_MAX): Likewise.
5651 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5652 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5653 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5654 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5655 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5656 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5657 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5658 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5659 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5660 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5661 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5662 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5663 [C99-based standards] (INT_FAST8_MIN): Likewise.
5664 [C99-based standards] (INT_FAST8_MAX): Likewise.
5665 [C99-based standards] (INT_FAST16_MIN): Likewise.
5666 [C99-based standards] (INT_FAST16_MAX): Likewise.
5667 [C99-based standards] (INT_FAST32_MIN): Likewise.
5668 [C99-based standards] (INT_FAST32_MAX): Likewise.
5669 [C99-based standards] (INT_FAST64_MIN): Likewise.
5670 [C99-based standards] (INT_FAST64_MAX): Likewise.
5671 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5672 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5673 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5674 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5675 [C99-based standards] (INTPTR_MIN): Likewise.
5676 [C99-based standards] (INTPTR_MAX): Likewise.
5677 [C99-based standards] (UINTPTR_MAX): Likewise.
5678 [C99-based standards] (INTMAX_MIN): Likewise.
5679 [C99-based standards] (INTMAX_MAX): Likewise.
5680 [C99-based standards] (UINTMAX_MAX): Likewise.
5681 [C99-based standards] (PTRDIFF_MIN): Likewise.
5682 [C99-based standards] (PTRDIFF_MAX): Likewise.
5683 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5684 [C99-based standards] (SIZE_MAX): Likewise.
5685 [C99-based standards] (WCHAR_MAX): Likewise.
5686 [C99-based standards] (WINT_MAX): Likewise.
5687 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5688 constraint on value.
5689 [C99-based standards] (WCHAR_MIN): Likewise.
5690 [C99-based standards] (WINT_MIN): Likewise.
5691 [C99-based standards] (*_t): Allow.
5692 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5693 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5694 Include math.h-data and complex.h-data. Remove all expectations
5695 of math.h and complex.h contents.
5696 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5697 at end of line.
5698 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5699 (struct tm): Expect tag.
5700 [C99-based-standards] (wcstof): Expect function.
5701 [C99-based-standards] (wcstold): Likewise.
5702 [C99-based-standards] (wcstoll): Likewise.
5703 [C99-based-standards] (wcstoull): Likewise.
5704 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5705 macro-int-constant. Specify type.
5706 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5707 constraint on value.
5708 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5709 Specify type.
5710 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5711 Specify value.
5712 [ISO C standards]: Do not allow headers.
5713 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5714 wcs[abcdefghijklmnopqrstuvwxyz]*.
5715 [ISO C standards] (*_t): Do not allow.
5716 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5717 Expect function.
5718 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5719 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5720 Specify type.
5721 [ISO C standards]: Do not allow headers.
5722 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5723 is[abcdefghijklmnopqrstuvwxyz]*.
5724 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5725 to[abcdefghijklmnopqrstuvwxyz]*.
5726 [ISO C standards] (*_t): Do not allow.
5727 * conform/data/stdalign.h-data: New file.
5728 * conform/data/stdbool.h-data: Likewise.
5729 * conform/data/stdnoreturn.h-data: Likewise.
5730
7514feb8
RM
57312012-11-07 Roland McGrath <roland@hack.frob.com>
5732
5733 [BZ #14815]
5734 * manual/filesys.texi (Directory Entries): Typo fix.
5735 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5736
19b2ecfc
MS
57372012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5738
5739 * elf/elf.h (EM_AARCH64): New macro.
5740 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5741 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5742 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5743 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5744 (R_AARCH64_TLSDESC): Likewise.
5745 (NT_ARM_TLS): Likewise.
5746 (NT_ARM_HW_BREAK): Likewise.
5747 (NT_ARM_HW_WATCH): Likewise.
5748
60e235ee
JM
57492012-11-07 Joseph Myers <joseph@codesourcery.com>
5750
5751 [BZ #14811]
5752 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5753 (__ieee754_powl): Saturate nonzero exponents with absolute value
5754 below 0x1p-79 to +/- 0x1p-79.
5755 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5756 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5757 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5758 nonzero exponents with absolute value below 0x1p-32 to +/-
5759 0x1p-32.
5760 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5761 (__ieee754_powl): Saturate nonzero exponents with absolute value
5762 below 0x1p-79 to +/- 0x1p-79.
5763 * math/libm-test.inc (pow_test): Add more tests.
5764
0ab234b7
AK
57652012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5766
5767 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5768 _dl_s390_cap_flags with kernel. Increase string length.
5769 (_dl_s390_platforms): Add z196 and zEC12.
5770
45832f74
JM
57712012-11-07 Joseph Myers <joseph@codesourcery.com>
5772
5773 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5774 Change XOPEN21K to XOPEN2K.
5775
19218757
MK
57762012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5777
5778 * string/memmove.c: Use memcpy when possible.
5779
c5f45721
AJ
57802012-11-06 Andreas Jaeger <aj@suse.de>
5781
5782 * po/eo.po: Update from translation team.
5783
82477c28
JM
57842012-11-06 Joseph Myers <joseph@codesourcery.com>
5785
5786 [BZ #14793]
5787 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5788 exponent and small x and y exponents, scale x or y up. Increase
5789 by 2 the exponent used in scaling up.
5790 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5791 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5792 * math/libm-test.inc (fma_test): Add more tests.
5793 (fma_test_towardzero): Likewise.
5794 (fma_test_downward): Likewise.
5795 (fma_test_upward): Likewise.
5796
99252c8c
JM
57972012-11-05 Joseph Myers <joseph@codesourcery.com>
5798
acfa885f
JM
5799 [BZ #14805]
5800 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5801 fenv_t *.
5802
99252c8c
JM
5803 [BZ #14801]
5804 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5805 namespace for names of struct fields.
5806 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5807 fenv_t fields.
5808 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5809 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5810
d6d98dea
ST
58112012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5812
5813 [BZ #3665]
5814 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5815
e10bb107
TS
58162012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5817
5818 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5819 PTR_DEMANGLE.
5820
5821 [BZ #5246]
5822 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5823 PTR_DEMANGLE.
5824
a0c2940d
JM
58252012-11-04 Joseph Myers <joseph@codesourcery.com>
5826
5827 [BZ #14797]
5828 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5829 definitely overflow as x * y not x * y + z.
5830 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5831 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5832 * math/libm-test.inc (fma_test): Add more tests.
5833 (fma_test_towardzero): Likewise.
5834 (fma_test_downward): Likewise.
5835 (fma_test_upward): Likewise.
5836
b830319d
TS
58372012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5838
5839 [BZ #157]
5840
5841 * include/stub-tag.h: Remove file.
5842 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5843 '#include' of it.
5844 * manual/maint.texi (Porting): Don't reference it.
5845 * Makerules ($(objpfx)stubs): Likewise.
5846 * dirent/closedir.c: Don't include <stub-tag.h>.
5847 * dirent/dirfd.c: Likewise.
5848 * dirent/fdopendir.c: Likewise.
5849 * dirent/getdents.c: Likewise.
5850 * dirent/getdents64.c: Likewise.
5851 * dirent/opendir.c: Likewise.
5852 * dirent/readdir.c: Likewise.
5853 * dirent/readdir64.c: Likewise.
5854 * dirent/readdir64_r.c: Likewise.
5855 * dirent/readdir_r.c: Likewise.
5856 * dirent/rewinddir.c: Likewise.
5857 * dirent/seekdir.c: Likewise.
5858 * dirent/telldir.c: Likewise.
5859 * gmon/profil.c: Likewise.
5860 * grp/setgroups.c: Likewise.
5861 * inet/if_index.c: Likewise.
5862 * io/access.c: Likewise.
5863 * io/chdir.c: Likewise.
5864 * io/chmod.c: Likewise.
5865 * io/chown.c: Likewise.
5866 * io/close.c: Likewise.
5867 * io/dup.c: Likewise.
5868 * io/dup2.c: Likewise.
5869 * io/dup3.c: Likewise.
5870 * io/euidaccess.c: Likewise.
5871 * io/faccessat.c: Likewise.
5872 * io/fchdir.c: Likewise.
5873 * io/fchmod.c: Likewise.
5874 * io/fchmodat.c: Likewise.
5875 * io/fchown.c: Likewise.
5876 * io/fchownat.c: Likewise.
5877 * io/fcntl.c: Likewise.
5878 * io/flock.c: Likewise.
5879 * io/fstatfs.c: Likewise.
5880 * io/fstatfs64.c: Likewise.
5881 * io/fstatvfs.c: Likewise.
5882 * io/fstatvfs64.c: Likewise.
5883 * io/futimens.c: Likewise.
5884 * io/fxstat.c: Likewise.
5885 * io/fxstat64.c: Likewise.
5886 * io/fxstatat.c: Likewise.
5887 * io/fxstatat64.c: Likewise.
5888 * io/getcwd.c: Likewise.
5889 * io/isatty.c: Likewise.
5890 * io/lchmod.c: Likewise.
5891 * io/lchown.c: Likewise.
5892 * io/link.c: Likewise.
5893 * io/linkat.c: Likewise.
5894 * io/lseek.c: Likewise.
5895 * io/lseek64.c: Likewise.
5896 * io/lxstat64.c: Likewise.
5897 * io/mkdir.c: Likewise.
5898 * io/mkdirat.c: Likewise.
5899 * io/mkfifo.c: Likewise.
5900 * io/mkfifoat.c: Likewise.
5901 * io/open.c: Likewise.
5902 * io/open64.c: Likewise.
5903 * io/openat.c: Likewise.
5904 * io/openat64.c: Likewise.
5905 * io/pipe.c: Likewise.
5906 * io/pipe2.c: Likewise.
5907 * io/poll.c: Likewise.
5908 * io/posix_fadvise.c: Likewise.
5909 * io/posix_fadvise64.c: Likewise.
5910 * io/posix_fallocate.c: Likewise.
5911 * io/posix_fallocate64.c: Likewise.
5912 * io/read.c: Likewise.
5913 * io/readlink.c: Likewise.
5914 * io/readlinkat.c: Likewise.
5915 * io/rmdir.c: Likewise.
5916 * io/sendfile.c: Likewise.
5917 * io/sendfile64.c: Likewise.
5918 * io/statfs.c: Likewise.
5919 * io/statfs64.c: Likewise.
5920 * io/statvfs.c: Likewise.
5921 * io/statvfs64.c: Likewise.
5922 * io/symlink.c: Likewise.
5923 * io/symlinkat.c: Likewise.
5924 * io/ttyname.c: Likewise.
5925 * io/ttyname_r.c: Likewise.
5926 * io/umask.c: Likewise.
5927 * io/unlink.c: Likewise.
5928 * io/unlinkat.c: Likewise.
5929 * io/utime.c: Likewise.
5930 * io/utimensat.c: Likewise.
5931 * io/write.c: Likewise.
5932 * io/xmknod.c: Likewise.
5933 * io/xmknodat.c: Likewise.
5934 * io/xstat.c: Likewise.
5935 * io/xstat64.c: Likewise.
5936 * login/getpt.c: Likewise.
5937 * login/grantpt.c: Likewise.
5938 * login/unlockpt.c: Likewise.
5939 * math/e_acoshl.c: Likewise.
5940 * math/e_acosl.c: Likewise.
5941 * math/e_asinl.c: Likewise.
5942 * math/e_atan2l.c: Likewise.
5943 * math/e_atanhl.c: Likewise.
5944 * math/e_coshl.c: Likewise.
5945 * math/e_expl.c: Likewise.
5946 * math/e_fmodl.c: Likewise.
5947 * math/e_gammal_r.c: Likewise.
5948 * math/e_hypotl.c: Likewise.
5949 * math/e_j0l.c: Likewise.
5950 * math/e_j1l.c: Likewise.
5951 * math/e_jnl.c: Likewise.
5952 * math/e_lgammal_r.c: Likewise.
5953 * math/e_log10l.c: Likewise.
5954 * math/e_log2l.c: Likewise.
5955 * math/e_logl.c: Likewise.
5956 * math/e_powl.c: Likewise.
5957 * math/e_rem_pio2l.c: Likewise.
5958 * math/e_sinhl.c: Likewise.
5959 * math/e_sqrtl.c: Likewise.
5960 * math/fclrexcpt.c: Likewise.
5961 * math/fedisblxcpt.c: Likewise.
5962 * math/feenablxcpt.c: Likewise.
5963 * math/fegetenv.c: Likewise.
5964 * math/fegetexcept.c: Likewise.
5965 * math/fegetround.c: Likewise.
5966 * math/feholdexcpt.c: Likewise.
5967 * math/fesetenv.c: Likewise.
5968 * math/fesetround.c: Likewise.
5969 * math/feupdateenv.c: Likewise.
5970 * math/fgetexcptflg.c: Likewise.
5971 * math/fraiseexcpt.c: Likewise.
5972 * math/fsetexcptflg.c: Likewise.
5973 * math/ftestexcept.c: Likewise.
5974 * math/k_cosl.c: Likewise.
5975 * math/k_rem_pio2l.c: Likewise.
5976 * math/k_sinl.c: Likewise.
5977 * math/k_tanl.c: Likewise.
5978 * math/s_asinhl.c: Likewise.
5979 * math/s_atanl.c: Likewise.
5980 * math/s_cbrtl.c: Likewise.
5981 * math/s_erfl.c: Likewise.
5982 * math/s_expm1l.c: Likewise.
5983 * math/s_log1pl.c: Likewise.
5984 * math/s_tanhl.c: Likewise.
5985 * misc/acct.c: Likewise.
5986 * misc/brk.c: Likewise.
5987 * misc/chflags.c: Likewise.
5988 * misc/chroot.c: Likewise.
5989 * misc/fchflags.c: Likewise.
5990 * misc/fgetxattr.c: Likewise.
5991 * misc/flistxattr.c: Likewise.
5992 * misc/fremovexattr.c: Likewise.
5993 * misc/fsetxattr.c: Likewise.
5994 * misc/fsync.c: Likewise.
5995 * misc/ftruncate.c: Likewise.
5996 * misc/futimes.c: Likewise.
5997 * misc/futimesat.c: Likewise.
5998 * misc/getdomain.c: Likewise.
5999 * misc/getdtsz.c: Likewise.
6000 * misc/gethostid.c: Likewise.
6001 * misc/gethostname.c: Likewise.
6002 * misc/getloadavg.c: Likewise.
6003 * misc/getpagesize.c: Likewise.
6004 * misc/getsysstats.c: Likewise.
6005 * misc/getxattr.c: Likewise.
6006 * misc/gtty.c: Likewise.
6007 * misc/ioctl.c: Likewise.
6008 * misc/lgetxattr.c: Likewise.
6009 * misc/listxattr.c: Likewise.
6010 * misc/llistxattr.c: Likewise.
6011 * misc/lremovexattr.c: Likewise.
6012 * misc/lsetxattr.c: Likewise.
6013 * misc/lutimes.c: Likewise.
6014 * misc/madvise.c: Likewise.
6015 * misc/mincore.c: Likewise.
6016 * misc/mlock.c: Likewise.
6017 * misc/mlockall.c: Likewise.
6018 * misc/mmap.c: Likewise.
6019 * misc/mprotect.c: Likewise.
6020 * misc/msync.c: Likewise.
6021 * misc/munlock.c: Likewise.
6022 * misc/munlockall.c: Likewise.
6023 * misc/munmap.c: Likewise.
6024 * misc/preadv.c: Likewise.
6025 * misc/preadv64.c: Likewise.
6026 * misc/ptrace.c: Likewise.
6027 * misc/pwritev.c: Likewise.
6028 * misc/pwritev64.c: Likewise.
6029 * misc/readv.c: Likewise.
6030 * misc/reboot.c: Likewise.
6031 * misc/remap_file_pages.c: Likewise.
6032 * misc/removexattr.c: Likewise.
6033 * misc/revoke.c: Likewise.
6034 * misc/select.c: Likewise.
6035 * misc/setdomain.c: Likewise.
6036 * misc/setegid.c: Likewise.
6037 * misc/seteuid.c: Likewise.
6038 * misc/sethostid.c: Likewise.
6039 * misc/sethostname.c: Likewise.
6040 * misc/setregid.c: Likewise.
6041 * misc/setreuid.c: Likewise.
6042 * misc/setxattr.c: Likewise.
6043 * misc/sstk.c: Likewise.
6044 * misc/stty.c: Likewise.
6045 * misc/swapoff.c: Likewise.
6046 * misc/swapon.c: Likewise.
6047 * misc/sync.c: Likewise.
6048 * misc/syncfs.c: Likewise.
6049 * misc/syscall.c: Likewise.
6050 * misc/truncate.c: Likewise.
6051 * misc/ualarm.c: Likewise.
6052 * misc/usleep.c: Likewise.
6053 * misc/ustat.c: Likewise.
6054 * misc/utimes.c: Likewise.
6055 * misc/vhangup.c: Likewise.
6056 * misc/writev.c: Likewise.
6057 * posix/_exit.c: Likewise.
6058 * posix/alarm.c: Likewise.
6059 * posix/execve.c: Likewise.
6060 * posix/fexecve.c: Likewise.
6061 * posix/fork.c: Likewise.
6062 * posix/fpathconf.c: Likewise.
6063 * posix/getaddrinfo.c: Likewise.
6064 * posix/getegid.c: Likewise.
6065 * posix/geteuid.c: Likewise.
6066 * posix/getgid.c: Likewise.
6067 * posix/getgroups.c: Likewise.
6068 * posix/getlogin.c: Likewise.
6069 * posix/getlogin_r.c: Likewise.
6070 * posix/getpgid.c: Likewise.
6071 * posix/getpid.c: Likewise.
6072 * posix/getppid.c: Likewise.
6073 * posix/getresgid.c: Likewise.
6074 * posix/getresuid.c: Likewise.
6075 * posix/getsid.c: Likewise.
6076 * posix/getuid.c: Likewise.
6077 * posix/glob64.c: Likewise.
6078 * posix/nanosleep.c: Likewise.
6079 * posix/pathconf.c: Likewise.
6080 * posix/pause.c: Likewise.
6081 * posix/posix_madvise.c: Likewise.
6082 * posix/pread.c: Likewise.
6083 * posix/pread64.c: Likewise.
6084 * posix/pwrite.c: Likewise.
6085 * posix/pwrite64.c: Likewise.
6086 * posix/sched_getaffinity.c: Likewise.
6087 * posix/sched_getp.c: Likewise.
6088 * posix/sched_gets.c: Likewise.
6089 * posix/sched_primax.c: Likewise.
6090 * posix/sched_primin.c: Likewise.
6091 * posix/sched_rr_gi.c: Likewise.
6092 * posix/sched_setaffinity.c: Likewise.
6093 * posix/sched_setp.c: Likewise.
6094 * posix/sched_sets.c: Likewise.
6095 * posix/sched_yield.c: Likewise.
6096 * posix/setgid.c: Likewise.
6097 * posix/setlogin.c: Likewise.
6098 * posix/setpgid.c: Likewise.
6099 * posix/setresgid.c: Likewise.
6100 * posix/setresuid.c: Likewise.
6101 * posix/setsid.c: Likewise.
6102 * posix/setuid.c: Likewise.
6103 * posix/sleep.c: Likewise.
6104 * posix/spawni.c: Likewise.
6105 * posix/sysconf.c: Likewise.
6106 * posix/times.c: Likewise.
6107 * posix/wait.c: Likewise.
6108 * posix/wait3.c: Likewise.
6109 * posix/wait4.c: Likewise.
6110 * posix/waitpid.c: Likewise.
6111 * resolv/gai_sigqueue.c: Likewise.
6112 * resource/getpriority.c: Likewise.
6113 * resource/getrlimit.c: Likewise.
6114 * resource/getrusage.c: Likewise.
6115 * resource/nice.c: Likewise.
6116 * resource/setpriority.c: Likewise.
6117 * resource/setrlimit.c: Likewise.
6118 * resource/ulimit.c: Likewise.
6119 * rt/aio_cancel.c: Likewise.
6120 * rt/aio_fsync.c: Likewise.
6121 * rt/aio_read.c: Likewise.
6122 * rt/aio_sigqueue.c: Likewise.
6123 * rt/aio_suspend.c: Likewise.
6124 * rt/aio_write.c: Likewise.
6125 * rt/clock_getres.c: Likewise.
6126 * rt/clock_gettime.c: Likewise.
6127 * rt/clock_nanosleep.c: Likewise.
6128 * rt/clock_settime.c: Likewise.
6129 * rt/lio_listio.c: Likewise.
6130 * rt/mq_close.c: Likewise.
6131 * rt/mq_getattr.c: Likewise.
6132 * rt/mq_notify.c: Likewise.
6133 * rt/mq_open.c: Likewise.
6134 * rt/mq_receive.c: Likewise.
6135 * rt/mq_send.c: Likewise.
6136 * rt/mq_setattr.c: Likewise.
6137 * rt/mq_timedreceive.c: Likewise.
6138 * rt/mq_timedsend.c: Likewise.
6139 * rt/mq_unlink.c: Likewise.
6140 * rt/shm_open.c: Likewise.
6141 * rt/shm_unlink.c: Likewise.
6142 * rt/timer_create.c: Likewise.
6143 * rt/timer_delete.c: Likewise.
6144 * rt/timer_getoverr.c: Likewise.
6145 * rt/timer_gettime.c: Likewise.
6146 * rt/timer_settime.c: Likewise.
6147 * setjmp/__longjmp.c: Likewise.
6148 * setjmp/setjmp.c: Likewise.
6149 * signal/kill.c: Likewise.
6150 * signal/killpg.c: Likewise.
6151 * signal/raise.c: Likewise.
6152 * signal/sigaction.c: Likewise.
6153 * signal/sigaltstack.c: Likewise.
6154 * signal/sigblock.c: Likewise.
6155 * signal/sigignore.c: Likewise.
6156 * signal/sigintr.c: Likewise.
6157 * signal/signal.c: Likewise.
6158 * signal/sigpause.c: Likewise.
6159 * signal/sigpending.c: Likewise.
6160 * signal/sigqueue.c: Likewise.
6161 * signal/sigreturn.c: Likewise.
6162 * signal/sigset.c: Likewise.
6163 * signal/sigsetmask.c: Likewise.
6164 * signal/sigstack.c: Likewise.
6165 * signal/sigsuspend.c: Likewise.
6166 * signal/sigtimedwait.c: Likewise.
6167 * signal/sigvec.c: Likewise.
6168 * signal/sigwait.c: Likewise.
6169 * signal/sigwaitinfo.c: Likewise.
6170 * signal/sysv_signal.c: Likewise.
6171 * socket/accept.c: Likewise.
6172 * socket/accept4.c: Likewise.
6173 * socket/bind.c: Likewise.
6174 * socket/connect.c: Likewise.
6175 * socket/getpeername.c: Likewise.
6176 * socket/getsockname.c: Likewise.
6177 * socket/getsockopt.c: Likewise.
6178 * socket/isfdtype.c: Likewise.
6179 * socket/listen.c: Likewise.
6180 * socket/recv.c: Likewise.
6181 * socket/recvfrom.c: Likewise.
6182 * socket/recvmsg.c: Likewise.
6183 * socket/send.c: Likewise.
6184 * socket/sendmsg.c: Likewise.
6185 * socket/sendto.c: Likewise.
6186 * socket/setsockopt.c: Likewise.
6187 * socket/shutdown.c: Likewise.
6188 * socket/sockatmark.c: Likewise.
6189 * socket/socket.c: Likewise.
6190 * socket/socketpair.c: Likewise.
6191 * stdio-common/ctermid.c: Likewise.
6192 * stdio-common/cuserid.c: Likewise.
6193 * stdio-common/remove.c: Likewise.
6194 * stdio-common/rename.c: Likewise.
6195 * stdio-common/renameat.c: Likewise.
6196 * stdio-common/tempname.c: Likewise.
6197 * stdlib/getcontext.c: Likewise.
6198 * stdlib/makecontext.c: Likewise.
6199 * stdlib/setcontext.c: Likewise.
6200 * stdlib/swapcontext.c: Likewise.
6201 * stdlib/system.c: Likewise.
6202 * streams/fattach.c: Likewise.
6203 * streams/fdetach.c: Likewise.
6204 * streams/getmsg.c: Likewise.
6205 * streams/getpmsg.c: Likewise.
6206 * streams/putmsg.c: Likewise.
6207 * streams/putpmsg.c: Likewise.
6208 * sysdeps/unix/bsd/getpt.c: Likewise.
6209 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6210 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6211 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6213 Likewise.
6214 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6215 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6216 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6217 * sysvipc/msgctl.c: Likewise.
6218 * sysvipc/msgget.c: Likewise.
6219 * sysvipc/msgrcv.c: Likewise.
6220 * sysvipc/msgsnd.c: Likewise.
6221 * sysvipc/semctl.c: Likewise.
6222 * sysvipc/semget.c: Likewise.
6223 * sysvipc/semop.c: Likewise.
6224 * sysvipc/semtimedop.c: Likewise.
6225 * sysvipc/shmat.c: Likewise.
6226 * sysvipc/shmctl.c: Likewise.
6227 * sysvipc/shmdt.c: Likewise.
6228 * sysvipc/shmget.c: Likewise.
6229 * termios/tcdrain.c: Likewise.
6230 * termios/tcflow.c: Likewise.
6231 * termios/tcflush.c: Likewise.
6232 * termios/tcgetattr.c: Likewise.
6233 * termios/tcgetpgrp.c: Likewise.
6234 * termios/tcsendbrk.c: Likewise.
6235 * termios/tcsetattr.c: Likewise.
6236 * termios/tcsetpgrp.c: Likewise.
6237 * time/adjtime.c: Likewise.
6238 * time/clock.c: Likewise.
6239 * time/getitimer.c: Likewise.
6240 * time/gettimeofday.c: Likewise.
6241 * time/setitimer.c: Likewise.
6242 * time/settimeofday.c: Likewise.
6243 * time/stime.c: Likewise.
6244 * time/time.c: Likewise.
6245
62462012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 6247
a20492cf
PT
6248 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6249 /usr/old/bin.
6250
72e182e3
PT
6251 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6252 instead of spaces.
6253 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6254
fbeafede
JM
62552012-11-03 Joseph Myers <joseph@codesourcery.com>
6256
5b5b04d6
JM
6257 [BZ #14796]
6258 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6259 FE_TONEAREST before applying Dekker multiplication and Knuth
6260 addition. Clear inexact exceptions and check for exact zero
6261 results afterwards.
6262 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6263 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6264 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6265 * math/libm-test.inc (fma_test): Add more tests.
6266 (fma_test_towardzero): Likewise.
6267 (fma_test_downward): Likewise.
6268 (fma_test_upward): Likewise.
6269 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6270 function.
6271 (libc_fesetround): New macro.
6272 (libc_fesetroundf): Likewise.
6273 (libc_fesetroundl): Likewise.
6274 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6275 function.
6276 (libc_fesetround_387): Likewise.
6277 (libc_fesetroundf): New macro.
6278 (libc_fesetround): Likewise.
6279 (libc_fesetroundl): Likewise.
6280 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6281 function.
6282 (libc_fesetroundf): New macro.
6283 (libc_fesetround): Likewise.
6284 (libc_fesetroundl): Likewise.
6285 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6286 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6287 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6288 libm_hidden_ver.
6289 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6290 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6291 libm_hidden_def.
6292 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6293 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6294 libm_hidden_ver.
6295 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6296 libm_hidden_def.
6297
fbeafede
JM
6298 [BZ #3439]
6299 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6300 integer constant usable in #if and use that to give value to enum
6301 constant.
6302 (FE_DIVBYZERO): Likewise.
6303 (FE_UNDERFLOW): Likewise.
6304 (FE_OVERFLOW): Likewise.
6305 (FE_INVALID): Likewise.
6306 (FE_INVALID_SNAN): Likewise.
6307 (FE_INVALID_ISI): Likewise.
6308 (FE_INVALID_IDI): Likewise.
6309 (FE_INVALID_ZDZ): Likewise.
6310 (FE_INVALID_IMZ): Likewise.
6311 (FE_INVALID_COMPARE): Likewise.
6312 (FE_INVALID_SOFTWARE): Likewise.
6313 (FE_INVALID_SQRT): Likewise.
6314 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6315 (FE_TONEAREST): Likewise.
6316 (FE_TOWARDZERO): Likewise.
6317 (FE_UPWARD): Likewise.
6318 (FE_DOWNWARD): Likewise.
6319 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6320 (FE_DIVBYZERO): Likewise.
6321 (FE_OVERFLOW): Likewise.
6322 (FE_UNDERFLOW): Likewise.
6323 (FE_INEXACT): Likewise.
6324 (FE_TONEAREST): Likewise.
6325 (FE_DOWNWARD): Likewise.
6326 (FE_UPWARD): Likewise.
6327 (FE_TOWARDZERO): Likewise.
6328 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6329 (FE_UNDERFLOW): Likewise.
6330 (FE_OVERFLOW): Likewise.
6331 (FE_DIVBYZERO): Likewise.
6332 (FE_INVALID): Likewise.
6333 (FE_TONEAREST): Likewise.
6334 (FE_TOWARDZERO): Likewise.
6335 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6336 (FE_OVERFLOW): Likewise.
6337 (FE_UNDERFLOW): Likewise.
6338 (FE_DIVBYZERO): Likewise.
6339 (FE_INEXACT): Likewise.
6340 (FE_TONEAREST): Likewise.
6341 (FE_TOWARDZERO): Likewise.
6342 (FE_UPWARD): Likewise.
6343 (FE_DOWNWARD): Likewise.
6344 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6345 (FE_DIVBYZERO): Likewise.
6346 (FE_OVERFLOW): Likewise.
6347 (FE_UNDERFLOW): Likewise.
6348 (FE_INEXACT): Likewise.
6349 (FE_TONEAREST): Likewise.
6350 (FE_DOWNWARD): Likewise.
6351 (FE_UPWARD): Likewise.
6352 (FE_TOWARDZERO): Likewise.
6353
105ca950
CM
63542012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6355
6356 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6357
a542b389
AS
63582012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6359
6360 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6361 commands. Quote $PWD.
6362 (blacklist_exports): Don't use remove_newlines. Replace "declare
6363 -x" by "export".
6364 (remove_newlines): Remove.
6365
f62c8abc
L
63662012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6367
6368 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6369 * stdlib/stdlib.h (atof): Moved to ...
6370 * include/bits/stdlib-float.h: Here. New file.
6371 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6372 * stdlib/bits/stdlib-float.h: New file.
6373 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6374 -mno-sse -mno-mmx.
6375 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6376 <xmmintrin.h>.
6377
0155d5b2
JM
63782012-11-02 Joseph Myers <joseph@codesourcery.com>
6379
a68d0680
JM
6380 * conform/conformtest.pl (@headers): Add fenv.h.
6381 * conform/data/fenv.h-data: New file.
6382 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6383 include of <math/fenv.h>.
6384
caf7f573
JM
6385 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6386 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6387 && !UNIX98]. Enables tests for XOPEN2K8.
6388 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6389 POSIX2008]: Likewise.
6390
6c073ad6
JM
6391 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6392 (struct rusage): Do not expect type or its members.
6393
0155d5b2
JM
6394 [BZ #3439]
6395 * math/math.h (FP_NAN): Define macro to integer constant usable in
6396 #if and use that to give value to enum constant.
6397 (FP_INFINITE): Likewise.
6398 (FP_ZERO): Likewise.
6399 (FP_SUBNORMAL): Likewise.
6400 (FP_NORMAL): Likewise.
6401
b5dcacb4
AS
64022012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6403
6404 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6405 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6406 arguments.
6407
f7934be8
RM
64082012-11-02 Roland McGrath <roland@hack.frob.com>
6409
6410 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6411 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6412 autoconf-time if not.
6413 * configure.in: Remove AC_PREREQ.
6414
d7d08bde
TMQMF
64152012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6416
6417 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6418 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6419 of the internal implementation.
6420
dcdae19a
JM
64212012-11-02 Joseph Myers <joseph@codesourcery.com>
6422
6423 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6424 except include of <misc/sys/syslog.h>.
6425
d6cffd3e
AS
64262012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6427
6428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6429 function returns with a NULL context exit with zero.
6430
b3563932
TMQMF
64312012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6432
6433 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6434
b288a93d
L
64352012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6436
6437 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6438 (run_program_cmd): This.
6439 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6440 (tst_langinfo): New variable. Use it.
6441
a2421a68
SAS
64422012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6443
6444 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6445 floating point opcodes.
6446
6f796e1b
TS
64472012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6448
7402596b
TS
6449 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6450 variable.
6451
d0d4f868
TS
6452 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6453
6f796e1b
TS
6454 * sysdeps/mach/hurd/powerpc: Remove directory.
6455 * sysdeps/mach/powerpc: Likewise.
6456
4da224a2
AS
64572012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6458
6459 * scripts/check-local-headers.sh: Ignore c++ headers.
6460
341dd673
TS
64612012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6462
6463 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6464 __libc_cleanup_region_start argument.
6465
473611b2
JM
64662012-11-01 Joseph Myers <joseph@codesourcery.com>
6467
6468 [BZ #14784]
6469 [BZ #14785]
6470 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6471 x * y using scaling, not as x * y + z.
6472 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6473 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6474 * math/libm-test.inc (fma_test): Add more tests.
6475 (fma_test_towardzero): Likewise.
6476 (fma_test_downward): Likewise.
6477 (fma_test_upward): Likewise.
6478
4078da3d
TS
64792012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6480
6481 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6482
903252aa
JM
64832012-10-31 Joseph Myers <joseph@codesourcery.com>
6484
6485 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6486 New variable.
6487
cbc818d0
TS
64882012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6489
6490 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6491
5a03cb1e
AS
64922012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6493
6494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6495 Fix sort order.
6496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6497 Likewise.
6498
90aff2ff
TMQMF
64992012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6500
6501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6502 Fix the order of the list for glibc 2.17.
6503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6504 Likewise.
6505
1818fcb7
AS
65062012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6507
6508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6509
ef82f4da
JM
65102012-10-31 Joseph Myers <joseph@codesourcery.com>
6511
16a0e2ec
JM
6512 [BZ #14610]
6513 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6514 for low part of x being zero before using __atanl (y).
6515 * math/libm-test.inc (atan2_test): Add another test.
6516
0eb69512
JM
6517 * manual/install.texi (Configuring and compiling): Document
6518 general use of test-wrapper and test-wrapper-env.
6519 * INSTALL: Regenerated.
6520
ef82f4da
JM
6521 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6522 (__fma): Do not extract and scale down low bits on after-rounding
6523 systems when result rounded to normal precision would have normal
6524 exponent.
6525 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6526 (__fmal): Do not extract and scale down low bits on after-rounding
6527 systems when result rounded to normal precision would have normal
6528 exponent.
6529 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6530 (__fmal): Do not extract and scale down low bits on after-rounding
6531 systems when result rounded to normal precision would have normal
6532 exponent.
6533 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6534 macro.
6535 (fma_test): Add more tests.
6536 (fma_test_towardzero): Likewise.
6537 (fma_test_downward): Likewise.
6538 (fma_test_upward): Likewise.
6539
954ef0d9
L
65402012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6541
6542 * sysdeps/i386/tininess.h: Renamed to ...
6543 * sysdeps/x86/tininess.h: This.
6544 * sysdeps/x86_64/tininess.h: Removed.
6545
df61ffb2
JM
65462012-10-30 Joseph Myers <joseph@codesourcery.com>
6547
6548 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6549 input. Use $(build-program-cmd).
6550 ($(objpfx)tst-array1-static.out): Likewise.
6551 ($(objpfx)tst-array2.out): Likewise.
6552 ($(objpfx)tst-array3.out): Likewise.
6553 ($(objpfx)tst-array4.out): Likewise.
6554 ($(objpfx)tst-array5.out): Likewise.
6555 ($(objpfx)tst-array5-static.out): Likewise.
6556
01767843
CM
65572012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6558
47cc1490
CM
6559 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6560 if defined.
6561
01767843
CM
6562 * nss/nsswitch.h (nss_interface_function): Provide new
6563 macro for use with NSS functions.
6564 * grp/initgroups.c: Use new macro.
6565 * nss/getXXbyYY.c: Likewise.
6566 * nss/getXXbyYY_r.c: Likewise.
6567 * nss/getXXent.c: Likewise.
6568 * nss/getXXent_r.c: Likewise.
6569 * sysdeps/posix/getaddrinfo.c: Likewise.
6570
8321aa97
AJ
65712012-10-30 Andreas Jaeger <aj@suse.de>
6572
6573 * po/ru.po: Update Russion translation from translation project.
6574
2a27fd6d
JM
65752012-10-30 Joseph Myers <joseph@codesourcery.com>
6576
8627a232
JM
6577 [BZ #14152]
6578 [BZ #14783]
6579 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6580 result and shift together with sticky bit instead of replicating
6581 round-to-nearest rounding.
6582 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6583 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6584 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6585 missing underflow exceptions.
6586 (fma_test_towardzero): Add more tests.
6587 (fma_test_downward): Likewise.
6588 (fma_test_upward): Likewise.
6589
2a27fd6d
JM
6590 [BZ #14047]
6591 * sysdeps/generic/tininess.h: New file.
6592 * sysdeps/i386/tininess.h: Likewise.
6593 * sysdeps/sh/tininess.h: Likewise.
6594 * sysdeps/x86_64/tininess.h: Likewise.
6595 * stdlib/tst-strtod-underflow.c: Likewise.
6596 * stdlib/tst-tininess.c: Likewise.
6597 * stdlib/strtod_l.c: Include <tininess.h>.
6598 (round_and_return): Do not set errno for exact underflow cases.
6599 Force an underflow exception when setting errno for underflow.
6600 Determine underflow based on rounding to normal precision if
6601 TININESS_AFTER_ROUNDING.
6602 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6603 ERANGE for exact underflow cases.
6604 * stdlib/Makefile (tests): Add tst-tininess and
6605 tst-strtod-underflow.
6606 ($(objpfx)tst-tininess): Use $(link-libm).
6607 ($(objpfx)tst-strtod-underflow): Likewise.
6608
e7170363
AJ
66092012-10-30 Andreas Jaeger <aj@suse.de>
6610
e5088dc6
AJ
6611 [BZ#14767]
6612 * elf/Makefile (tests): Remove conditional for have-initfini-array
6613 since this is now always required and the variable does not exist
6614 anymore.
6615 (tests-static): Likewise.
6616 (modules-names): Likewise.
6617
e7170363 6618 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
6619
6620 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6621 merged with constructor/destructor.
6622 (init_array): Likewise.
6623 * elf/tst-array2dep.c (fini_array): Likewise.
6624 (init_array): Likewise.
6625
60457d8a
MF
66262012-10-29 Mike Frysinger <vapier@gentoo.org>
6627
6628 * manual/message.texi: Delete @cartouche tags.
6629
8bece752
PT
66302012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6631
94ce799f
PT
6632 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6633 EOPNOTSUPP.
6634 * sysdeps/mach/hurd/fsync.c: Likewise.
6635
8bece752
PT
6636 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6637 [_POSIX_REALTIME_SIGNALS]: Change condition to
6638 [_POSIX_REALTIME_SIGNALS > 0].
6639
86ebe6b1
AJ
66402012-10-27 Andreas Jaeger <aj@suse.de>
6641
6642 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6643 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6644 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6645 [__WORDSIZE != 64]: Likewise.
6646
54399c08
L
66472012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6648
6649 * iconvdata/tst-table.sh: Remove ${SHELL}.
6650 * iconvdata/tst-tables.sh: Likewise.
6651
e2211bed
DM
66522012-10-25 David S. Miller <davem@davemloft.net>
6653
6654 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6655 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6656 of strtoull.
6657
f303f97c
DM
6658 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6659 ifunc-impl-list.c
6660 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6661 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6662 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6663 file.
6664
1e9d84cd
RM
66652012-10-25 Roland McGrath <roland@hack.frob.com>
6666
6667 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6668 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6669 __getdirentries.
6670
df381762
JM
66712012-10-25 Joseph Myers <joseph@codesourcery.com>
6672 Jim Blandy <jimb@codesourcery.com>
6673
6674 * scripts/cross-test-ssh.sh: New file.
6675 * manual/install.texi (Configuring and compiling): Document use of
6676 cross-test-ssh.sh.
6677 * INSTALL: Regenerated.
6678
bff64913
PT
66792012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6680
6681 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6682 EOPNOTSUPP.
6683
25fe8932
JM
66842012-10-25 Joseph Myers <joseph@codesourcery.com>
6685
6686 * Makeconfig (run-program-prefix): Fix comment.
6687
cc1290d0
JM
66882012-10-24 Joseph Myers <joseph@codesourcery.com>
6689 Jim Blandy <jimb@codesourcery.com>
6690
6691 * Makeconfig (test-wrapper): New variable,
6692 (test-wrapper-env): Likewise.
6693 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6694 (run-built-tests): Define to yes.
6695 (run-program-prefix): Use $(test-wrapper).
6696 (built-program-cmd): Likewise.
6697 * Rules (make-test-out): Use $(test-wrapper-env) and
6698 $(host-built-program-cmd).
6699 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6700 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6701 tst-pathopt.sh.
6702 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6703 $(test-wrapper-env) to tst-rtld-load-self.sh.
6704 ($(objpfx)order2.out): Use $(test-wrapper).
6705 ($(objpfx)tst-initorder.out): Likewise.
6706 ($(objpfx)tst-initorder2.out): Likewise.
6707 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6708 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6709 (test_wrapper_env): New variable. Use it to run ld.so.
6710 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6711 Use it to run ld.so.
6712 (test_wrapper_env): Likewise.
6713 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6714 $(test-wrapper) to run-iconv-test.sh.
6715 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6716 (ICONV): Use $test_wrapper.
6717 * posix/Makefile ($(objpfx)globtest.out): Pass
6718 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6719 globtest.sh, not $(run-program-prefix).
6720 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6721 (test_wrapper): Likewise.
6722 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6723 set together with run_via_rtld_prefix.
6724 (run_program_prefix): Define in terms of test_wrapper and
6725 run_via_rtld_prefix.
6726
6e6249d0
RM
67272012-10-24 Roland McGrath <roland@hack.frob.com>
6728
6729 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6730 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6731 Targets removed.
6732
6733 [BZ #14743]
6734 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6735 Declare __clock_getres, __clock_gettime, __clock_settime,
6736 __clock_nanosleep, and __clock_getcpuclockid.
6737 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6738 Remove librt_hidden_def (clock_gettime).
6739 * sysdeps/unix/clock_gettime.c: Likewise.
6740 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6741 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6742 * rt/clock_getres.c: Define __clock_getres as an alias.
6743 * sysdeps/posix/clock_getres.c: Likewise.
6744 * rt/clock_settime.c: Define __clock_settime as an alias.
6745 * sysdeps/unix/clock_settime.c: Likewise.
6746 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6747 * sysdeps/unix/clock_nanosleep.c: Likewise.
6748 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6749 * rt/clock-compat.c: New file.
6750 * rt/Makefile (librt-routines): Add clock-compat and move
6751 $(clock-routines) to ...
6752 (routines): ... here, new variable.
6753 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6754 Don't add get_clockfreq here.
6755 * rt/Versions (libc: GLIBC_2.17): New version set.
6756 Add clock_* symbols here.
6757 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6758 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6759 (GLIBC_2.17): Add clock_* symbols.
6760 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6762 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6764 Likewise.
6765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6766 Likewise.
6767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6769 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6771 * NEWS: Mention the move.
6772
6773 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6774 Use __open, __read, __close rather than their public counterparts.
6775 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6776 (__get_clockfreq_via_cpuinfo): Likewise.
6777 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6778 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6779
6780 * config.h.in (HAVE_IFUNC): New #undef.
6781 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6782 was successful.
6783 * configure: Regenerated.
6784
0cae3f4b
MF
67852012-10-24 Mike Frysinger <vapier@gentoo.org>
6786
6787 * configure.in: Move READELF check to start of file.
6788 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6789 libc_cv_asm_gnu_indirect_function in the process.
6790 * configure: Regenerated.
6791
8175a253
MF
67922012-10-24 Mike Frysinger <vapier@gentoo.org>
6793
6794 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6795 send the output to /dev/null.
6796 (libc_cv_cc_with_libunwind): Likewise.
6797 (libc_cv_as_noexecstack): Likewise.
6798 * configure: Regenerate.
6799
0708a7d1
JM
68002012-10-24 Joseph Myers <joseph@codesourcery.com>
6801
10b40d85
JM
6802 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6803
0708a7d1
JM
6804 * posix/globtest.sh (TMPDIR): Do not set.
6805 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6806 (testout): Likewise.
6807
9fddec1a
AJ
68082012-10-24 Andreas Jaeger <aj@suse.de>
6809
3a8db22f
AJ
6810 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6811 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6812 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6813 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6814 posix_fadvise64, posix_fallocate64.
6815
9fddec1a
AJ
6816 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6817 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6818 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6819 Likewise.
6820 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6821 Likewise.
6822 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6823
6824 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6825 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6826 <bits/fcntl-linux.h>.
6827 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6828
6829 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6830 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6831 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6832 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6833 [__WORDSIZE != 64]: Likewise.
6834
ebfd1bbd
JM
68352012-10-23 Joseph Myers <joseph@codesourcery.com>
6836
03ac099f
JM
6837 * Makeconfig (run-built-tests): New variable.
6838 * Rules [$(cross-compiling) = yes]: Change condition to
6839 [$(run-built-tests) = no].
6840 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6841 to [$(run-built-tests) = yes].
6842 * elf/Makefile [$(cross-compiling) = no]: Likewise
6843 * grp/Makefile [$(cross-compiling) = no]: Likewise.
6844 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6845 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6846 * intl/Makefile [$(cross-compiling) = no]: Likewise.
6847 * io/Makefile [$(cross-compiling) = no]: Likewise.
6848 * libio/Makefile [$(cross-compiling) = no]: Likewise.
6849 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6850 * misc/Makefile [$(cross-compiling) = no]: Likewise.
6851 * posix/Makefile [$(cross-compiling) = no]: Likewise.
6852 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6853 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6854 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6855 * string/Makefile [$(cross-compiling) = no]: Likewise.
6856
ebfd1bbd
JM
6857 * posix/Makefile ($(objpfx)globtest.out): Pass
6858 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6859 $(rtld-installed-name).
6860 * posix/globtest.sh (elf_objpfx): Remove variable.
6861 (rtld_installed_name): Likewise.
6862 (library_path): Likewise.
6863 (run_program_prefix): New variable. Use for running globtest
6864 binary.
6865
166bca24
JB
68662012-10-23 Jim Blandy <jimb@codesourcery.com>
6867 Joseph Myers <joseph@codesourcery.com>
6868
6869 * Makeconfig (host-built-program-cmd): New variable.
6870 * elf/Makefile (tst-stackguard1-ARGS): Use
6871 $(host-built-program-cmd).
6872 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6873 (tst-spawn-ARGS): Likewise.
6874 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6875
88866099
JM
68762012-10-23 Joseph Myers <joseph@codesourcery.com>
6877 Jim Blandy <jimb@codesourcery.com>
6878
6879 * Makeconfig (run-via-rtld-prefix): New variable.
6880 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6881 (built-program-cmd): Likewise.
6882
b4b4c296
AJ
68832012-10-22 Andreas Jaeger <aj@suse.de>
6884
6885 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6886 __O_RSYNC if it exists, otherwise to O_SYNC.
6887
6fb54a22
JB
68882012-10-22 Jim Blandy <jimb@codesourcery.com>
6889 Joseph Myers <joseph@codesourcery.com>
6890
6891 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6892 /dev/null.
6893 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6894 from /dev/null
6895 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6896 /dev/null.
6897
481b90b9
AJ
68982012-10-22 Andreas Jaeger <aj@suse.de>
6899
2a0e2669
AJ
6900 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6901 Define always.
6902 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6903
76e38f9a
AJ
6904 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6905 bits/fcntl-linux.h.
6906
7cd37b43
AJ
6907 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6908 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6909
481b90b9
AJ
6910 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6911 to __O_LARGEFILE.
6912 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6913 to __O_LARGEFILE.
6914
aba75984
JB
69152012-10-21 Jim Blandy <jimb@codesourcery.com>
6916 Joseph Myers <joseph@codesourcery.com>
6917
6918 * config.make.in (NM): New variable.
6919
88d4247f
AJ
69202012-10-21 Andreas Jaeger <aj@suse.de>
6921
6922 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6923 definitions and declarations that are provided by
6924 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6925
f2eed205
L
69262012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6927
6928 [BZ #14683]
6929 * elf/Makefile (tests-static): Add tst-leaks1-static.
6930 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6931 ($(objpfx)tst-leaks1-static): New rule.
6932 ($(objpfx)tst-leaks1-static-mem): Likewise.
6933 (tst-leaks1-static-ENV): New macro.
6934 * elf/dl-open.c (dl_open_worker): Check the main application
6935 only if SHARED is defined.
6936 * elf/tst-leaks1-static.c: New file.
6937
335e6931
AJ
69382012-10-20 Andreas Jaeger <aj@suse.de>
6939
6940 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6941 generic values for Linux.
6942 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6943 and declarations that are provided by <bits/fcntl-linux.h> and
6944 include <bits/fcntl-linux.h>.
6945 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6946 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
6947
ac5c94d3
RM
69482012-10-20 Roland McGrath <roland@hack.frob.com>
6949
6950 * io/fcntl.h: Move include of <bits/types.h> to the top and
6951 include it unconditionally.
6952
de54b33a
L
69532012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6954
228cfb01
L
6955 * wcsmbs/Makefile (tests-ifunc): New variable.
6956 (tests): Add $(tests-ifunc).
6957 * wcsmbs/test-wcschr-ifunc.c: New file.
6958 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6959 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6960 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6961 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6962 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6963
69f07e5f
L
6964 * string/Makefile (tests-ifunc): New variable.
6965 (tests): Add $(tests-ifunc).
6966 * string/test-memccpy.c (TEST_NAME): New macro.
6967 * string/test-memchr.c (TEST_NAME): Likewise.
6968 * string/test-memcmp.c (TEST_NAME): Likewise.
6969 * string/test-memcpy.c (TEST_NAME): Likewise.
6970 * string/test-memmem.c (TEST_NAME): Likewise.
6971 * string/test-memmove.c (TEST_NAME): Likewise.
6972 * string/test-memset.c (TEST_NAME): Likewise.
6973 * string/test-rawmemchr.c (TEST_NAME): Likewise.
6974 * string/test-stpcpy.c (TEST_NAME): Likewise.
6975 * string/test-stpncpy.c (TEST_NAME): Likewise.
6976 * string/test-strcasecmp.c (TEST_NAME): Likewise.
6977 * string/test-strcasestr.c (TEST_NAME): Likewise.
6978 * string/test-strcat.c (TEST_NAME): Likewise.
6979 * string/test-strchr.c (TEST_NAME): Likewise.
6980 * string/test-strcmp.c(TEST_NAME): Likewise.
6981 * string/test-strcpy.c (TEST_NAME): Likewise.
6982 * string/test-strcspn.c (TEST_NAME): Likewise.
6983 * string/test-strlen.c (TEST_NAME): Likewise.
6984 * string/test-strncasecmp.c (TEST_NAME): Likewise.
6985 * string/test-strncmp.c (TEST_NAME): Likewise.
6986 * string/test-strncpy.c (TEST_NAME): Likewise.
6987 * string/test-strnlen.c (TEST_NAME): Likewise.
6988 * string/test-strpbrk.c (TEST_NAME): Likewise.
6989 * string/test-strrchr.c (TEST_NAME): Likewise.
6990 * string/test-strspn.c (TEST_NAME): Likewise.
6991 * string/test-strstr.c (TEST_NAME): Likewise.
6992 * string/test-bcopy-ifunc.c: New file.
6993 * string/test-bzero-ifunc.c: Likewise.
6994 * string/test-memccpy-ifunc.c: Likewise.
6995 * string/test-memchr-ifunc.c: Likewise.
6996 * string/test-memcmp-ifunc.c: Likewise.
6997 * string/test-memcpy-ifunc.c: Likewise.
6998 * string/test-memmem-ifunc.c: Likewise.
6999 * string/test-memmove-ifunc.c: Likewise.
7000 * string/test-mempcpy-ifunc.c: Likewise.
7001 * string/test-memset-ifunc.c: Likewise.
7002 * string/test-rawmemchr-ifunc.c: Likewise.
7003 * string/test-stpcpy-ifunc.c: Likewise.
7004 * string/test-stpncpy-ifunc.c: Likewise.
7005 * string/test-strcasecmp-ifunc.c: Likewise.
7006 * string/test-strcasestr-ifunc.c: Likewise.
7007 * string/test-strcat-ifunc.c: Likewise.
7008 * string/test-strchr-ifunc.c: Likewise.
7009 * string/test-strchrnul-ifunc.c: Likewise.
7010 * string/test-strcmp-ifunc.c: Likewise.
7011 * string/test-strcpy-ifunc.c: Likewise.
7012 * string/test-strcspn-ifunc.c: Likewise.
7013 * string/test-strlen-ifunc.c: Likewise.
7014 * string/test-strncasecmp-ifunc.c: Likewise.
7015 * string/test-strncat-ifunc.c: Likewise.
7016 * string/test-strncmp-ifunc.c: Likewise.
7017 * string/test-strncpy-ifunc.c: Likewise.
7018 * string/test-strnlen-ifunc.c: Likewise.
7019 * string/test-strpbrk-ifunc.c: Likewise.
7020 * string/test-strrchr-ifunc.c: Likewise.
7021 * string/test-strspn-ifunc.c: Likewise.
7022 * string/test-strstr-ifunc.c: Likewise.
7023
de54b33a
L
7024 * debug/Makefile (tests-ifunc): New variable.
7025 (tests): Add $(tests-ifunc).
7026 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7027 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7028 * debug/test-stpcpy_chk-ifunc.c: New file.
7029 * debug/test-strcpy_chk-ifunc.c: Likewise.
7030
88481c16
SP
70312012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7032
7033 [BZ #13601]
7034 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7035 header is not read in.
7036
135948bd
JM
70372012-10-19 Joseph Myers <joseph@codesourcery.com>
7038
89f1c388
JM
7039 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7040 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7041 directly. Pass built executable to script as
7042 $(built-program-cmd).
7043 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7044 $testprogram without using LD_LIBRARY_PATH and $ldso.
7045
e40a0d21
JM
7046 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7047 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7048 $(rtld-installed-name).
7049 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7050 (rtld_installed_name): Likewise.
7051 (library_path): Likewise.
7052 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7053 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7054 $(run-program-prefix) to tst-tables.sh.
7055 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7056 it to run tst-table-from and tst-table-to.
7057 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7058 Pass it to tst-table.sh.
7059 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7060 $(run-program-prefix) to tst-gettext.sh.
7061 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7062 tst-translit.sh.
7063 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7064 tst-gettext2.sh.
7065 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7066 to run tst-gettext.
7067 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7068 to run tst-gettext2.
7069 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7070 to run tst-translit.
7071 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7072 $(run-program-prefix) to tst-mtrace.sh.
7073 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7074 to run tst-mtrace.
7075 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7076 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7077 $(rtld-installed-name).
7078 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7079 (rtld_installed_name): Likewise.
7080 (run_program_prefix): New variable. Use it to run wordexp-test.
7081
728e272a
JM
7082 * Makeconfig (ARCH): Remove all definitions.
7083 (machine): Likewise.
7084 [ARCH]: Remove conditional code.
7085 [!objdir]: Give error.
7086 [!objdir] (objpfx): Remove.
7087 [!objdir] (common-objpfx): Likewise.
7088 [!objdir] (common-objdir): Likewise.
7089 * configure.in (config_makefile): Remove. Hardcode Makefile in
7090 AC_CONFIG_FILES call.
7091 * configure: Regenerated.
7092
d528cdcf
JM
7093 [BZ #13888]
7094 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7095 or TMPDIR.
7096 (testout): Likewise.
7097
135948bd
JM
7098 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7099 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7100 $(rtld-installed-name).
7101 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7102 (rtld_installed_name): Likwise.
7103 (runit): Remove function.
7104 (run_getconf): New variable, Use it for running getconf binary.
7105
38c78296
L
71062012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7107
7108 [BZ #14716]
7109 * string/test-memmem.c (check_result): New function.
7110 (do_one_test): Use it.
7111 (check1): New function.
7112 (test_main): Use it.
7113
d077f65f
MT
71142012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7115
7116 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7117
ced52c71
JM
71182012-10-18 Joseph Myers <joseph@codesourcery.com>
7119
7120 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7121 (_G_LSEEK64): Likewise.
7122 (_G_MMAP64): Likewise.
7123 (_G_FSTAT64): Likewise.
7124 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7125 (_G_LSEEK64): Likewise.
7126 (_G_MMAP64): Likewise.
7127 (_G_FSTAT64): Likewise.
7128 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7129 unconditional. Call __mmap64 directly.
7130 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7131 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7132 __lseek64 directly.
7133 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7134 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7135 __mmap64 directly.
7136 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7137 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7138 __lseek64 directly.
7139 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7140 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7141 __lseek64 directly.
7142 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7143 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7144 __lseek64 directly.
7145 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7146 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7147 __fxstat64 directly.
7148 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7149 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7150 unconditional.
7151 (freopen64) [!_G_OPEN64]: Remove conditional code.
7152 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7153 unconditional.
7154 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7155 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7156 unconditional.
7157 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7158 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7159 unconditional.
7160 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7161 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7162 unconditional.
7163 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7164 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7165 unconditional.
7166 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7167 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7168 unconditional.
7169 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7170 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7171 unconditional.
7172 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7173
b741de23
SP
71742012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7175
7176 [BZ #12140]
7177 * manual/memory.texi (Malloc Tunable Parameters): Add note
7178 about free list pointers overwriting some perturb bytes.
7179 Wording suggested by Roland McGrath.
7180
f9b9d9c9
JM
71812012-10-17 Joseph Myers <joseph@codesourcery.com>
7182
7183 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7184 (lgamma_test): Likewise.
7185 (tgamma_test): Likewise.
7186
172a631a
FW
71872012-10-16 Florian Weimer <fweimer@redhat.com>
7188
7189 [BZ #14700]
7190 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7191 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7192
e9f37252
MK
71932012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7194
7195 * NEWS: Mention BZ #14716.
7196 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7197 when removing AVAILABLE1_USES_J macro.
7198
d394eb74
L
71992012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7200
7201 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7202 (__bswap_64): __uint64_t for unsigned 64-bit int.
7203
ca38dc17
AS
72042012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7205
7206 * include/string.h (memmem): Declare libc hidden alias.
7207 * string/memmem.c (memmem): Define libc hidden alias.
7208 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7209 __read, __close instead of open, read, close.
7210
9a387d1f
L
72112012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7212
ac49ecaf
L
7213 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7214 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7215 global and hidden.
7216 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7217 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7218 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7219 Likewise.
7220 (__rawmemchr_sse2): Likewise.
7221 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7222 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7223 (__strchr_sse2): Likewise.
7224 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7225 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7226 (__strcasecmp_sse2): Likewise.
7227 (__strncasecmp_sse2): Likewise.
7228 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7229 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7230 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7231 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7232 (__strrchr_sse2): Likewise.
7233 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7234 ifunc-impl-list.c.
7235 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7236 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7237 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7238 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7239 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7240 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7241 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7242 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7243 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7244 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7245 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7246 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7247 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7248 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7249 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7250 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7251 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7252 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7253 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7254 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7255 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7256 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7257 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7258 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7259 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7260 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7261 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7262 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7263 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7264 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7265
b090e8ea
L
7266 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7267 global and hidden.
7268 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7269 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7270 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7271 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7272 Likewise.
7273 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7274 Likewise.
7275 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7276 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7277 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7278 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7279 ifunc-impl-list.c.
7280 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7281 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7282 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7283 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7284 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7285 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7286 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7287 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7288 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7289 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7290 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7291 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7292 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7293 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7294 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7295 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7296 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7297 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7298 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7299 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7300 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7301 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7302 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7303 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7304 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7305 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7306 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7307 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7308 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7309 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7310 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7311 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7312 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7313 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7314 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7315 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7316 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7317 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7318 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7319 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7320 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7321
11dd4af6
L
7322 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7323 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7324 * include/ifunc-impl-list.h: New file.
7325 * misc/ifunc-impl-list.c: Likewise.
7326 * misc/Makefile (routines): Add ifunc-impl-list.
7327 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7328 * string/test-string.h: Include <ifunc-impl-list.h>.
7329 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7330 impl_array): New variables.
7331 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7332 are defined.
7333 (test_init): Call __libc_ifunc_impl_list to initialize
7334 func_list if TEST_IFUNC and TEST_NAME are defined.
7335
9a387d1f
L
7336 * string/Makefile (strop-tests): Add bcopy and bzero.
7337 * string/test-bcopy.c: New file.
7338 * string/test-bzero.c: Likewise.
7339 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7340 defined.
7341 * string/test-memset.c: Support bzero test if TEST_BZERO is
7342 defined.
7343 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7344 __libc_memmove.
7345 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7346 __libc_memset.
7347 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7348 of memset.
7349
472371b9
JM
73502012-10-10 Joseph Myers <joseph@codesourcery.com>
7351
1e4a9536
JM
7352 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7353 * configure: Regenerated.
7354
d173d12e
JM
7355 * Makeconfig (+link-static-before-libc): Don't include
7356 $(link-static-libc).
7357
472371b9
JM
7358 * libio/libio.h (_IO_pos_t): Remove.
7359
89a3ad0b
AO
73602012-10-10 Alexandre Oliva <aoliva@redhat.com>
7361
7362 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7363 McGrath.
7364
e7451425
AO
73652012-10-10 Alexandre Oliva <aoliva@redhat.com>
7366
7367 * crypt/crypt-entry.c: Include fips-private.h.
7368 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7369 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7370 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7371 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7372
4ba74a35
AO
73732012-10-10 Alexandre Oliva <aoliva@redhat.com>
7374
7375 * crypt/crypt-private.h: Include stdbool.h.
7376 (_ufc_setup_salt_r): Return bool.
7377 * crypt/crypt-entry.c: Include errno.h.
7378 (__crypt_r): Return NULL with EINVAL for bad salt.
7379 * crypt/crypt_util.c (bad_for_salt): New.
7380 (_ufc_setup_salt_r): Check that salt is long enough and within
7381 the specified alphabet.
7382 * crypt/badsalttest.c: New file.
7383 * crypt/Makefile (tests): Add it.
7384 ($(objpfx)badsalttest): New.
7385
f96f1242
MK
73862012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7387
7388 * NEWS: Add entry for BZ #14602.
7389
0e8e0c1c
JM
73902012-10-09 Joseph Myers <joseph@codesourcery.com>
7391
7392 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7393 type-generic.
7394 * math/libm-test.inc: Update comment listing what functions and
7395 macros are tested.
7396 (isgreater_test): New function.
7397 (isgreaterequal_test): Likewise.
7398 (isless_test): Likewise.
7399 (islessequal_test): Likewise.
7400 (islessgreater_test): Likewise.
7401 (isunordered_test): Likewise.
7402 (main): Call the new functions.
7403
273edc5e
RM
74042012-10-09 Roland McGrath <roland@hack.frob.com>
7405
b8493de0
RM
7406 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7407 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7408 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7409 * sysdeps/i386/configure: Regenerated.
7410 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7411 * sysdeps/mach/configure: Regenerated.
7412 * sysdeps/mach/hurd/configure: Regenerated.
7413 * sysdeps/powerpc/configure: Regenerated.
7414 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7415 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7416 * sysdeps/s390/s390-32/configure: Regenerated.
7417 * sysdeps/s390/s390-64/configure: Regenerated.
7418 * sysdeps/sh/configure: Regenerated.
7419 * sysdeps/sparc/configure: Regenerated.
7420 * sysdeps/unix/sysv/linux/configure: Regenerated.
7421 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7422 * sysdeps/x86_64/configure: Regenerated.
7423
273edc5e
RM
7424 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7425 defined. Don't check if MAP is NULL.
7426
c8450f70
JM
74272012-10-09 Joseph Myers <joseph@codesourcery.com>
7428
7429 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7430 (_G_stat64): Likewise.
7431 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7432 (_G_stat64): Likewise.
7433 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7434 instead of struct _G_stat64.
7435 * libio/fileops.c (mmap_remap_check): Likewise.
7436 (decide_maybe_mmap): Likewise.
7437 (_IO_new_file_seekoff): Likewise.
7438 (_IO_file_stat): Likewise.
7439 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7440 _G_off64_t.
7441 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7442 instead of struct _G_stat64.
7443 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7444
57e605ba
MK
74452012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7446
7447 [BZ #14602]
7448 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7449 Replace with ...
7450 (CHECK_EOL): New macro.
7451 (two_way_short_needle): Check beginning of haystack for EOL. Use
7452 CHECK_EOL.
7453 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7454 Replace with CHECK_EOL.
7455 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7456 Replace with CHECK_EOL.
7457
ef1bb361
JM
74582012-10-08 Joseph Myers <joseph@codesourcery.com>
7459
7460 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7461 type-generic.
7462 * math/libm-test.inc: Update comment listing what functions and
7463 macros are tested.
7464 (finite_test): New function.
7465 (isinf_test): Likewise.
7466 (isnan_test): Likewise.
7467 (fpclassify_test): Test subnormal input.
7468 (isfinite_test): Likewise.
7469 (isnormal_test): Likewise.
7470 (main): Call the new functions.
7471
55f11534
JN
74722012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7473
7474 [BZ #14660]
7475 * Makerules (%.dynsym): Force C locale when running
7476 $(OBJDUMP) --dynamic-syms.
7477
1ab29350
AS
74782012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7479
7480 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7481 <stdint.h>.
7482
f1ecb7ef
DM
74832012-10-06 David S. Miller <davem@davemloft.net>
7484
7485 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7486 upper 32-bits of the length value in %o2 since we use branch-on-register
7487 tests which consider the entire 64-bit register.
7488
5d41d91a
L
74892012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7490
7491 * string/test-strstr.c (check2): Add a test for page boundary.
7492
3baddb72
DM
74932012-10-05 David S. Miller <davem@davemloft.net>
7494
7495 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7496 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7497 file.
7498 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7499 sysdep_routines.
7500 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7501 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7502 and bzero when HWCAP_SPARC_CRYPTO is present.
7503
9cee5585
L
75042012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7505
d7e0dab9
L
7506 [BZ #14602]
7507 * string/test-strstr.c (check2): New function.
7508 (test_main): Call check2.
7509
03759f47
L
7510 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7511 and bug-strchr1.
7512 * string/bug-strcasestr1.c (do_test): Moved to ...
7513 * string/test-strcasestr.c (check1): Here. New function.
7514 (do_one_test): Break out result checking code into ...
7515 (check_result): This. New function.
7516 (do_one_test): Call check_result.
7517 (test_main): Call check1.
7518 * string/bug-strchr1.c (do_test): Moved to ...
7519 * string/test-strchr.c (check1): Here. New function.
7520 (do_one_test): Break out result checking code into ...
7521 (check_result): This. New function.
7522 (do_one_test): Call check_result.
7523 (test_main): Call check1.
7524 * string/bug-strstr1.c (main): Moved to ...
046f153e 7525 * string/test-strstr.c (check1): Here. New function.
03759f47
L
7526 (do_one_test): Break out result checking code into ...
7527 (check_result): This. New function.
7528 (do_one_test): Call check_result.
7529 (test_main): Call check1.
7530 * string/bug-strcasestr1.c: Removed.
7531 * string/bug-strchr1.c: Likewise.
7532 * string/bug-strstr1.c: Likewise.
7533
53cea63e
L
7534 * elf/Makefile (dl-routines): Add hwcaps.
7535 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7536 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7537 (_dl_important_hwcaps): Moved to ...
7538 * elf/dl-hwcaps.c: Here. New file.
7539 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7540
9cee5585 7541 [BZ #14557]
bb859b06
L
7542 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7543 if IS_IN_rtld isn't defined.
7544
9cee5585
L
7545 * elf/dl-support.c (_dl_sysinfo_map): New.
7546 Include "get-dynamic-info.h" and "setup-vdso.h".
7547 (_dl_non_dynamic_init): Call setup_vdso.
7548 * elf/dynamic-link.h: Don't include <assert.h>.
7549 (elf_get_dynamic_info): Moved to ...
7550 * elf/get-dynamic-info.h: Here. New file.
7551 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7552 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7553 * elf/setup-vdso.h: Here. New file.
7554 * elf/rtld.c: Include "setup-vdso.h".
7555 (dl_main): Call setup_vdso.
7556
23c31b76
JM
75572012-10-05 Joseph Myers <joseph@codesourcery.com>
7558
28234b07
JM
7559 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7560 creal in comment listing functions tested. List finite, isinf,
7561 isnan, isless, islessequal, isgreater, isgreaterequal,
7562 islessgreater, isunordered, lgamma_r and pow10 as functions and
7563 macros not tested. Mention which functions not tested are aliases
7564 for other functions. Fix typo. Note that signs of NaNs are not
7565 tested.
7566
23c31b76
JM
7567 * scripts/config.guess: Update from config.git.
7568 * scripts/config.sub: Likewise.
7569
9043e228
RM
75702012-10-04 Roland McGrath <roland@hack.frob.com>
7571
7572 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7573 * misc/madvise.c (madvise): Renamed to __madvise.
7574 Make madvise a weak alias.
7575 * include/sys/mman.h: Declare __madvise.
7576 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7577 * sysdeps/unix/syscalls.list
7578 (madvise): Make __madvise the strong name, and madvise a weak alias.
7579 * sysdeps/unix/sysv/linux/syscalls.list
7580 (madvise, mmap): Remove redundant entries.
7581 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7582 * malloc/malloc.c (mtrim): Likewise.
7583 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7584
f57f8055
RM
75852012-10-03 Roland McGrath <roland@hack.frob.com>
7586
7587 * sysdeps/mach/hurd/dl-cache.c: File removed.
7588 * config.h.in (USE_LDCONFIG): New #undef.
7589 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7590 * configure: Regenerated.
7591 * elf/Makefile (dl-routines): Add dl-cache only under
7592 [$(use-ldconfig) = yes].
7593 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7594 cache on [USE_LDCONFIG].
7595 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7596 [USE_LDCONFIG].
7597 * elf/rtld.c (dl_main): Likewise.
7598
5bb0c10a
PT
75992012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7600
7601 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7602 _SC_LEVEL4_CACHE_LINESIZE.
7603
010188c6
RM
76042012-10-03 Roland McGrath <roland@hack.frob.com>
7605
7606 * sysdeps/unix/bsd/confstr.h: File removed.
7607
b6c5ec07
AO
76082012-10-02 Alexandre Oliva <aoliva@redhat.com>
7609
7610 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7611 sys/sdt-config.h.
7612
408223d4
RM
76132012-10-02 Roland McGrath <roland@hack.frob.com>
7614
7615 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7616 Make 'mapoff' field ElfW(Off) rather than off_t.
7617
bb9510dc
DL
76182012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7619
fc997c6e
DL
7620 * nscd/Makefile: Remove nscd-cflags and all its users.
7621 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7622 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7623
bb9510dc
DL
7624 [BZ #10631]
7625 * malloc.c (malloc_printerr): Clarify error message.
7626
05699367
L
76272012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7628
7629 [BZ #14648]
7630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7631 Set bit_FMA_Usable if FMA is supported.
7632 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7633 macro.
7634 (bit_FMA4_Usable): Updated.
7635 (index_FMA_Usable): New macro.
7636 (CPUID_FMA): Likewise
7637 (HAS_FMA): Defined with bit_FMA_Usable.
7638
51367701
RM
76392012-10-01 Roland McGrath <roland@hack.frob.com>
7640
7641 * bits/types.h (__swblk_t): Type removed.
7642 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7643 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7644 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7645 (__SWBLK_T_TYPE): Likewise.
7646 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7647 (__SWBLK_T_TYPE): Likewise.
7648 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7649 (__SWBLK_T_TYPE): Likewise.
7650 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7651 (__SWBLK_T_TYPE): Likewise.
7652
4d57bf63 76532012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 7654 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
7655
7656 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7657 (xdr_mapname): Use YPMAXMAP as maxsize.
7658 (xdr_peername): Use YPMAXPEER as maxsize.
7659 (xdr_keydat): Use YPAXRECORD as maxsize.
7660 (xdr_valdat): Use YPMAXRECORD as maxsize.
7661
93c65d43
RM
76622012-10-01 Roland McGrath <roland@hack.frob.com>
7663
497a03d6
RM
7664 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7665
93c65d43
RM
7666 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7667 * csu/init-first.c: ... here.
7668 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7669 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7670 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7671 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7672 * sysdeps/i386/init-first.c: File removed.
7673 * sysdeps/sh/init-first.c: File removed.
7674
bec749fd
JM
76752012-10-01 Joseph Myers <joseph@codesourcery.com>
7676
7677 [BZ #14645]
7678 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7679 if x * y might underflow to zero and z is zero.
7680 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7681 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7682 * math/libm-test.inc (min_subnorm_value): New variable.
7683 (fma_test): Add more tests.
7684 (fma_test_towardzero): Likewise.
7685 (fma_test_downward): Likewise
7686 (fma_test_upward): Likewise.
7687 (initialize): Set min_subnorm_value.
7688
8ec5b013
JM
76892012-09-29 Joseph Myers <joseph@codesourcery.com>
7690
7691 [BZ #14638]
7692 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7693 0 + 0.
7694 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7695 mode for addition resulting in exact zero.
7696 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7697 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7698 exact 0 + 0.
7699 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7700 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7701 * math/libm-test.inc (fma_test): Add more tests.
7702 (fma_test_towardzero): New function.
7703 (fma_test_downward): Likewise.
7704 (fma_test_upward): Likewise.
7705 (main): Call the new functions.
7706
b1fa802e
DM
77072012-09-28 David S. Miller <davem@davemloft.net>
7708
7709 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7710
d3b9fd9e
RM
77112012-09-28 Roland McGrath <roland@hack.frob.com>
7712
ea4d37b3
RM
7713 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7714 instead of SIGALRM.
7715
ac51c949
RM
7716 * sysdeps/gnu/_G_config.h: Moved to ...
7717 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7718 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7719 * sysdeps/generic/_G_config.h: ... here.
7720
28c195f7
RM
7721 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7722
848917f9
RM
7723 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7724
6bacf05b
RM
7725 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7726 Conditionalize target on [libnss_test1.so-version].
7727
91363dbb
RM
7728 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7729
cc87f7d8
RM
7730 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7731 (elfobjdir): Move out of conditionals.
7732
b1c608fe
RM
7733 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7734 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7735 (__nss_lookup_function): Conditionalize label remove_from_tree on
7736 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 7737
1d9a6d96
DM
77382012-09-28 David S. Miller <davem@davemloft.net>
7739
7740 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7741 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7742 file.
7743 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7744 sysdep_routines.
7745 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7746 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7747 when HWCAP_SPARC_CRYPTO is present.
7748
72581615
PT
77492012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7750
7751 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7752
715a900c
JL
77532012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7754
7755 [BZ #6530]
7756 * stdio-common/vfprintf.c (process_string_arg): Revert
7757 2000-07-22 change.
7758
77592011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7760
7761 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7762 for testcase.
7763 * stdio-common/tst-sprintf.c: Include <locale.h>
7764 (main): Test sprintf's handling of incomplete multibyte
7765 characters.
7766
9bac1d86
L
77672012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7768
7769 * elf/dl-runtime.c (VERSYMIDX): Removed.
7770 * elf/dl-version.c (VERSYMIDX): Likewise.
7771 * elf/do-rel.h (VERSYMIDX): Likewise.
7772 (VALIDX): Likewise.
7773 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7774 * elf/rtld.c (VALIDX): Likewise.
7775 (ADDRIDX): Likewise.
9bac1d86
L
7776 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7777 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7778 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
7779 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7780 (VALIDX): Likewise.
7781 (ADDRIDX): Likewise.
9bac1d86 7782
b31606c0
PT
77832012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7784
7785 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7786
11541177
JL
77872012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7788
7789 [BZ #11438]
7790 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7791 to global scope.
7792 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7793 addresses are in the same scope as 192.0.2/24.
7794 * posix/gai.conf: Document new scope table defaults.
7795
adb26fae
SP
77962012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7797
7798 [BZ #5298]
7799 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7800 for ftell. Compute offsets from write pointers instead.
7801 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7802
4573c6b0
SP
78032012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7804
7805 [BZ #14543]
7806 * libio/Makefile (tests): New test case tst-fseek.
7807 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7808 combination works in wide mode.
7809 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7810 state when the external buffer state changes.
7811
aa9bbfe6
DM
78122012-09-27 David S. Miller <davem@davemloft.net>
7813
7814 [BZ #14376]
7815 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7816 pass reloc->r_addend in as the 'high' argument to
7817 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7818
784421e7
DM
7819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7820
c39bc8b8
PT
78212012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7822
7823 * rt/tst-aio2.c: Include <pthread.h>.
7824 * rt/tst-aio3.c: Likewise.
7825
1ccc2399
SE
78262012-09-27 Steve Ellcey <sellcey@mips.com>
7827
7828 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7829
31ed4153
L
78302012-09-27 H.J. Lu <hongjiu.lu@intel.com>
7831
25f5f885
L
7832 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7833 contents on [SHARED].
31ed4153 7834
b7bfe116
MP
78352012-09-26 Marek Polacek <polacek@redhat.com>
7836
7837 [BZ #14530]
7838 [BZ #13741]
7839 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7840 for C++ and GCC <4.3 as well as for non GCC compilers.
7841
43c4edba
MT
78422012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7843
7844 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7845
6a1bf82f
RM
78462012-09-25 Roland McGrath <roland@hack.frob.com>
7847
7848 * Makefile.in (all, install): Declare with .PHONY.
7849 Reported by Michael Hope <michael.hope@linaro.org>.
7850
8ad11b9a
TMQMF
78512012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7852
7853 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7854 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7855 system header.
7856 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7857 Likewise.
7858 (sydep_routines): Add the new and the internal functions.
7859 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7860 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7862 (GLIBC_2.17): Add the new function.
7863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7864 (GLIBC_2.17): Likewise.
7865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7866 (GLIBC_2.17): Likewise.
7867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7868 (GLIBC_2.17): Likewise.
7869 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7870
7e2fca8d
AM
78712012-09-25 Alan Modra <amodra@gmail.com>
7872
7873 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7874 Add release barrier before setting once_control to say
7875 initialisation is done. Add hints on lwarx. Use macro in
7876 place of isync.
7877 (clear_once_control): Add release barrier.
7878
b87c4b24
JM
78792012-09-25 Joseph Myers <joseph@codesourcery.com>
7880
d032e0d2
JM
7881 [BZ #13629]
7882 * math/s_clog.c (__clog): Handle more values close to |z| = 1
7883 specially.
7884 * math/s_clog10.c (__clog10): Likewise.
7885 * math/s_clog10f.c (__clog10f): Likewise.
7886 * math/s_clog10l.c (__clog10l): Likewise.
7887 * math/s_clogf.c (__clogf): Likewise.
7888 * math/s_clogl.c (__clogl): Likewise.
7889 * math/Makefile (libm-calls): Add x2y2m1.
7890 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7891 (__x2y2m1): Likewise.
7892 (__x2y2m1l): Likewise.
7893 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7894 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7895 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7896 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7897 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7898 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7899 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7900 * sysdeps/i386/fpu/libm-test-ulps: Update.
7901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7902
b87c4b24
JM
7903 [BZ #14621]
7904 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7905 int as type of variable DEPTH.
7906 (glob): Use size_t instead of int as type of variables NEWCOUNT
7907 and OLD_PATHC.
7908
6d3bf199
LD
79092012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7910
22bf5c17
LD
7911 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7912 Add s_sincosf-sse2.
7913 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7914 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7915 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7916 macros for using routine as __sincosf_ia32.
7917 Use macro for function declaration and weak_alias.
7918 * sysdeps/i386/fpu/libm-test-ulps: Update.
7919
7920 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7921 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7922
7923 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
7924 subnormal argument.
7925 * math/s_cexpf.c (__cexpf): Likewise.
7926 * math/s_csinf.c (__csinf): Likewise.
7927 * math/s_csinhf.c (__csinhf): Likewise.
7928 * math/s_ctanf.c (__ctanf): Likewise.
7929 * math/s_ctanhf.c (__ctanhf): Likewise.
7930 * math/s_ccosh.c (__ccoshf): Likewise.
7931 * math/s_cexp.c (__cexpl): Likewise.
7932 * math/s_csin.c (__csin): Likewise.
7933 * math/s_csinh.c (__csinh): Likewise.
7934 * math/s_ctan.c (__ctan): Likewise.
7935 * math/s_ctanh.c (ctanh): Likewise.
7936 * math/s_ccoshl.c (__ccoshl): Likewise.
7937 * math/s_cexpl.c (__cexpl): Likewise.
7938 * math/s_csinl.c (__csinl): Likewise.
7939 * math/s_csinhl.c (__csinhl): Likewise.
7940 * math/s_ctanl.c (__ctanl): Likewise.
7941 * math/s_ctanhl.c (__ctanhl): Likewise.
7942
203e5603
JM
79432012-09-25 Joseph Myers <joseph@codesourcery.com>
7944
7945 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
7946 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
7947 (_IO_off_t): Define to __off_t, not _G_off_t.
7948 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
7949 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
7950 (_IO_wint_t): Define to wint_t, not _G_wint_t.
7951 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
7952 type of __dummy and __dummy2 fields.
7953 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
7954 (_G_ssize_t): Likewise.
7955 (_G_off_t): Likewise.
7956 (_G_pid_t): Likewise.
7957 (_G_uid_t): Likewise.
7958 (_G_wchar_t): Likewise.
7959 (_G_wint_t): Likewise.
7960 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
7961 (_G_ssize_t): Likewise.
7962 (_G_off_t): Likewise.
7963 (_G_pid_t): Likewise.
7964 (_G_uid_t): Likewise.
7965 (_G_wchar_t): Likewise.
7966 (_G_wint_t): Likewise.
7967 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
7968 (_G_ssize_t): Likewise.
7969 (_G_off_t): Likewise.
7970 (_G_pid_t): Likewise.
7971 (_G_uid_t): Likewise.
7972 (_G_wchar_t): Likewise.
7973 (_G_wint_t): Likewise.
7974
9fab36eb
SP
79752012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7976
7977 * malloc/arena.c: Include malloc-sysdep.h.
7978 (shrink_heap): Use check_may_shrink_heap to decide if madvise
7979 is sufficient to shrink the heap or an unmap is needed.
7980 * sysdeps/generic/malloc-sysdep.h: New file. Define
7981 new function check_may_shrink_heap.
7982 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
7983 new function check_may_shrink_heap.
7984
2b4f00d1
SP
79852012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7986
7987 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
7988 comments.
7989
9a9028b1
DL
79902012-09-24 Dmitry V. Levin <ldv@altlinux.org>
7991
57c69bef
DL
7992 * catgets/test-gencat.sh: Add "set -e".
7993 * elf/tst-pathopt.sh: Likewise.
7994 * grp/tst_fgetgrent.sh: Likewise.
7995 * iconvdata/run-iconv-test.sh: Likewise.
7996 * intl/tst-gettext.sh: Likewise.
7997 * intl/tst-gettext2.sh: Likewise.
7998 * intl/tst-gettext4.sh: Likewise.
7999 * intl/tst-gettext6.sh: Likewise.
8000 * intl/tst-translit.sh: Likewise.
8001 * io/ftwtest-sh: Likewise.
8002 * libio/test-freopen.sh: Likewise.
8003 * malloc/tst-mtrace.sh: Likewise.
8004 * posix/globtest.sh: Likewise.
8005 * posix/tst-getconf.sh: Likewise.
8006 * posix/wordexp-tst.sh: Likewise.
8007 * stdio-common/tst-printf.sh: Likewise.
8008 * stdio-common/tst-unbputc.sh: Likewise.
8009 * stdlib/tst-fmtmsg.sh: Likewise.
8010 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8011 * catgets/Makefile: Do not specify -e option when running
8012 testsuite shell scripts.
8013 * elf/Makefile: Likewise.
8014 * grp/Makefile: Likewise.
8015 * iconvdata/Makefile: Likewise.
8016 * intl/Makefile: Likewise.
8017 * io/Makefile: Likewise.
8018 * libio/Makefile: Likewise.
8019 * malloc/Makefile: Likewise.
8020 * posix/Makefile: Likewise.
8021 * stdio-common/Makefile: Likewise.
8022 * stdlib/Makefile: Likewise.
8023 * sysdeps/x86_64/Makefile: Likewise.
8024
9a9028b1
DL
8025 * io/ftwtest-sh: Add copyright header.
8026 * posix/globtest.sh: Likewise.
8027 * posix/tst-getconf.sh: Likewise.
8028 * posix/wordexp-tst.sh: Likewise.
8029 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8030
ced6f16e
L
80312012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8032
94b32c39
L
8033 [BZ #13679]
8034 * Makeconfig (+link): Defined as $(+link-static) if
8035 $(build-shared) isn't yes.
8036 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8037 isn't yes.
8038 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8039
189e935b
L
8040 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8041
ced6f16e
L
8042 [BZ #14562]
8043 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8044 new chunk size with MALLOC_ALIGN_MASK.
8045
a9f8e53a
JM
80462012-09-24 Joseph Myers <joseph@codesourcery.com>
8047
8048 [BZ #5044]
8049 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8050 <rounding-mode.h>.
8051 (__printf_fphex): Determine rounding using get_rounding_mode and
8052 round_away.
8053 * stdio-common/tst-printf-round.c (struct hex_test): New
8054 structure.
8055 (hex_tests): New variable.
8056 (test_hex_in_one_mode): New function.
8057 (do_test): Also run tests for hex float output.
8058
43153109
JM
80592012-09-21 Joseph Myers <joseph@codesourcery.com>
8060
8061 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8062 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8063 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8064 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8065 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8066 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8067 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8068 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8069
8a26625d
JM
80702012-09-20 Joseph Myers <joseph@codesourcery.com>
8071
8072 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8073 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8074 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8075 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8076
f3fd569c
DL
80772012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8078
8079 [BZ #14579]
8080 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8081 mode only.
8082 * elf/tst-rtld-load-self.sh: New test.
8083 * elf/Makefile: Run it.
8084
63bbedd4
JM
80852012-09-18 Joseph Myers <joseph@codesourcery.com>
8086
8087 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8088 (tst-writev-ENV): Remove.
8089 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8090
626f8b6a
CM
80912012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8092
8093 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8094
b7aaa4d6
JM
80952012-09-17 Joseph Myers <joseph@codesourcery.com>
8096
8097 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8098 unconditional.
8099 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8100 Likewise.
8101 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8102 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8103 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8104 Likewise.
8105
65513990
L
81062012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8107
8108 [BZ #14587]
8109 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8110 * config.make.in (have-cpp-asm-debuginfo): Removed.
8111 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8112 * configure: Regenerated.
8113
784761be
JM
81142012-09-14 Joseph Myers <joseph@codesourcery.com>
8115
8116 [BZ #5044]
8117 * stdio-common/printf_fp.c: Include <stdbool.h> and
8118 <rounding-mode.h>.
8119 (___printf_fp): Determine rounding using get_rounding_mode and
8120 round_away.
8121 * stdio-common/tst-printf-round.c: New file.
8122 * stdio-common/Makefile (tests): Add tst-printf-round.
8123 (link-libm): New variable.
8124 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8125
9503345f
L
81262012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8127
8128 [BZ #14576]
8129 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8130 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8131 Likewise.
8132 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8133 Likewise.
8134
ad35fc00
JM
81352012-09-13 Joseph Myers <joseph@codesourcery.com>
8136
8137 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8138 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8139 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8140 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8141
6c9b0f68
JM
81422012-09-12 Joseph Myers <joseph@codesourcery.com>
8143
8144 [BZ #14518]
8145 * include/rounding-mode.h: New file.
8146 * sysdeps/generic/get-rounding-mode.h: Likewise.
8147 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8148 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8149 (MAX_VALUE): New macro.
8150 (MIN_VALUE): Likewise.
8151 (overflow_value): New function.
8152 (underflow_value): Likewise.
8153 (round_and_return): Use overflow_value and underflow_value to
8154 determine return values in overflow and underflow cases. Use
8155 round_away to determine rounding depending on rounding mode.
8156 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8157 determine return values in overflow and underflow cases.
8158 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8159 (struct test_results): New structure.
8160 (struct test): Use struct test_results to store expected results
8161 for all rounding modes.
8162 (TEST): Include expected results for all rounding modes.
8163 (test_in_one_mode): New function.
8164 (do_test): Use test_in_one_mode to compute and check results.
8165 Check results for all rounding modes.
8166 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8167 $(link-libm).
8168
19fcedd5
AM
81692012-12-09 Allan McRae <allan@archlinux.org>
8170
1e9d84cd 8171 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 8172
8bbfd2f1
JM
81732012-09-11 Joseph Myers <joseph@codesourcery.com>
8174
8175 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8176 (_G_int32_t): Likewise.
8177 (_G_uint16_t): Likewise.
8178 (_G_uint32_t): Likewise.
8179 (_G_HAVE_BOOL): Likewise.
8180 (_G_HAVE_ATEXIT): Likewise.
8181 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8182 (_G_HAVE_IO_FILE_OPEN): Likewise.
8183 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8184 (_G_int32_t): Likewise.
8185 (_G_uint16_t): Likewise.
8186 (_G_uint32_t): Likewise.
8187 (_G_HAVE_BOOL): Likewise.
8188 (_G_HAVE_ATEXIT): Likewise.
8189 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8190 (_G_HAVE_IO_FILE_OPEN): Likewise.
8191 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8192 (_G_int32_t): Likewise.
8193 (_G_uint16_t): Likewise.
8194 (_G_uint32_t): Likewise.
8195 (_G_HAVE_BOOL): Likewise.
8196 (_G_HAVE_ATEXIT): Likewise.
8197 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8198 (_G_HAVE_IO_FILE_OPEN): Likewise.
8199
b1dc5912
L
82002012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8201
8202 * csu/libc-tls.c: Update copyright years.
8203
0e886ef9
JM
82042012-09-10 Joseph Myers <joseph@codesourcery.com>
8205
28361c5e
JM
8206 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8207 [!_G_USING_THUNKS]: Remove conditional code.
8208 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8209 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8210
0e886ef9
JM
8211 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8212 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8213 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8214 (_G_VTABLE_LABEL_PREFIX): Likewise.
8215 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8216 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8217 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8218 (_G_VTABLE_LABEL_PREFIX): Likewise.
8219 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8220 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8221 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8222 (_G_VTABLE_LABEL_PREFIX): Likewise.
8223 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8224
bcba7aa2
L
82252012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8226
8227 * libio/Makefile: Include ../Makeconfig before tests.
8228 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8229 only if $(build-shared) is yes.
8230
06585ee8
L
8231 * iconv/gconv_db.c: Update copyright years.
8232
80ccd52c
LD
82332012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8234
8235 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8236 unwind info if defined PIC. Fix special cases description.
8237 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8238
8239 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8240 DP_HI_MASK entry.
8241 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8242
691bc9c1
L
82432012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8244
3d9b46b3
L
8245 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8246
de2139a9
L
8247 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8248 is NULL.
8249
5ca78dd0
L
8250 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8251 (LDLIBS-tst-chk4): This.
8252 (LDFLAGS-tst-chk5): Renamed to ...
8253 (LDLIBS-tst-chk5): This.
8254 (LDFLAGS-tst-chk6): Renamed to ...
8255 (LDLIBS-tst-chk6): This.
8256 (LDFLAGS-tst-lfschk4): Renamed to ...
8257 (LDLIBS-tst-lfschk4): This.
8258 (LDFLAGS-tst-lfschk5): Renamed to ...
8259 (LDLIBS-tst-lfschk5): This.
8260 (LDFLAGS-tst-lfschk6): Renamed to ...
8261 (LDLIBS-tst-lfschk6): This.
8262
691bc9c1
L
8263 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8264 on $(common-objpfx)soversions.mk.
8265
65cafb1c
JM
82662012-09-07 Joseph Myers <joseph@codesourcery.com>
8267
8268 [BZ #10014]
8269 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8270 example host name.
8271
c78ab094
SP
82722012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8273
8274 * malloc/arena.c (arena_get_retry): New function that gets
8275 another arena for the caller to try its request on.
8276 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8277 current arena cannot fulfill the request.
8278 (__libc_memalign): Likewise.
8279 (__libc_memalign): Likewise.
8280 (__libc_pvalloc): Likewise.
8281 (__libc_calloc): Likewise.
8282
01f49f59
JT
82832012-09-05 John Tobey <john.tobey@gmail.com>
8284
8285 [BZ #13542]
8286 * manual/arith.texi (Operations on Complex): Fix description
8287 of carg branch cut.
8288
4c23fed5
JM
82892012-09-06 Joseph Myers <joseph@codesourcery.com>
8290
1d3c8572
JM
8291 [BZ #10014]
8292 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8293 host name.
8294
4c23fed5
JM
8295 [BZ #10038]
8296 * manual/memory.texi (Memory): Make order of menu items match
8297 order of sections.
8298
04570aaa
L
82992012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8300
8301 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8302 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8303 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8304
b80af2f4
L
83052012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8306
8307 * csu/libc-tls.c (static_dtv): Renamed to ...
8308 (_dl_static_dtv): This. Make it global.
8309 (_dl_initial_dtv): Removed.
8310 (__libc_setup_tls): Updated.
8311 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8312 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8313 DL_INITIAL_DTV.
8314
2abe9f15
PM
83152012-09-06 Petr Machata <pmachata@redhat.com>
8316
8317 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8318 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8319 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8320 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8321
0948c3af
L
83222012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8323
8324 [BZ #14545]
8325 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8326 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8327 freeing dtv[-1].
8328
a5055ad1
L
83292012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8330
8331 [BZ #14544]
8332 * Makeconfig (link-static-before-libc): Replace $(+prector)
8333 with $(+prectorT).
8334 (link-static-after-libc): Replace $(+postctor) with
8335 $(+postctorT).
8336 (link-bounded): Replace $(+prector)/$(+postctor) with
8337 $(+prectorT)/$(+postctorT).
8338 (+prectorT): New macro.
8339 (+postctorT): Likewise.
8340
ed8c2ecd
JM
83412012-09-06 Joseph Myers <joseph@codesourcery.com>
8342
8343 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8344 (round_str): Handle values above the maximum for IBM long double
8345 as inexact.
8346 * stdlib/tst-strtod-round.c (tests): Regenerated.
8347
14c996c8
AK
83482012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8349
8350 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8351 assembler flag.
8352 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8353 zarch_nohighgprs around the zarch optimized routines.
8354 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8355 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8356 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8357 for zarch.
8358
430d6ce6
DM
83592012-09-05 David S. Miller <davem@davemloft.net>
8360
8361 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8362
ff04dda4
DM
8363 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8364 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8365 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8366 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8367 entries.
8368
24d4e01b
AO
83692012-09-05 Alexandre Oliva <aoliva@redhat.com>
8370
8371 * malloc/arena.c: Fold copyright years.
8372 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8373
61d58174
AO
83742012-09-05 Alexandre Oliva <aoliva@redhat.com>
8375
8376 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8377
20196a5e
AO
83782012-09-05 Alexandre Oliva <aoliva@redhat.com>
8379
8380 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8381
5c447383
AO
83822012-09-05 Alexandre Oliva <aoliva@redhat.com>
8383
8384 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8385 change internal state upon failure.
8386
fad64255
AO
83872012-09-05 Alexandre Oliva <aoliva@redhat.com>
8388
8389 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8390 * malloc/memusage.c (mmap): Likewise.
8391 (mmap64, mremap): Likewise. Adjust name in comment.
8392
1ffb8c90
SP
83932012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8394
8395 * libio/fileops.c: Fix typos in comments.
8396 * libio/oldfileops.c: Likewise.
8397 * libio/wfileops.c: Likewise.
8398
6ef9cc37
SP
83992012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8400
8401 [BZ #1349]
8402 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8403 (tst-malloc-usable-ENV): Set environment for test case.
8404 * malloc/hooks.c (malloc_check_get_size): New function to get
8405 requested size.
8406 * malloc/malloc.c (musable): Use malloc_check_get_size.
8407 * malloc/tst-malloc-usable.c: New test case.
8408
4d038ae3
AS
84092012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8410
8411 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8412
c4e85184
AM
84132012-09-05 Allan McRae <allan@archlinux.org>
8414
b9dafc56 8415 [BZ #13966]
c4e85184
AM
8416 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8417 determine header location.
8418 * configure: Regenerated.
8419
e1343020
AS
84202012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8421
8422 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8423 float format.
8424 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
8425 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8426 format.
e1343020
AS
8427 (test): Regenerate.
8428
0a9f1987
DM
84292012-09-04 David S. Miller <davem@davemloft.net>
8430
8431 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8432 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8433 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8434
29237804
FW
84352012-09-04 Florian Weimer <fweimer@redhat.com>
8436
8437 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8438 failures.
8439
edb3cb88
FW
8440 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8441
60160d83
JM
84422012-09-04 Joseph Myers <joseph@codesourcery.com>
8443
8444 [BZ #9914]
8445 * libio/iogetdelim.c: Include <limits.h>.
8446 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8447 + len + 1 would overflow.
8448
bcd6c8dc
AJ
84492012-09-03 Andreas Jaeger <aj@suse.de>
8450
8451 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8452 * sysdeps/i386/fpu/libm-test-ulps: Update.
8453
4ffffbd2
LD
84542012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8455
8456 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8457 Add s_sinf-sse2, s_conf-sse2.
8458
8459 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8460 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8461 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8462 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8463
8464 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8465 for using routine as __sinf_ia32.
8466 Use macro for function declaration and weak_alias.
8467 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8468 for using routine as __cosf_ia32.
8469 Use macro for function declaration and weak_alias.
8470
8471 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8472 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8473
8474 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8475 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8476 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8477
8478 * math/libm-test.inc (cos_test): Add more test cases.
8479 (sin_test): Likewise.
8480 (sincos_test): Likewise.
8481
511fa286
AK
84822012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8483
8484 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8485 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8486 hidden.
8487 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8488
5f30cfec
L
84892012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8490
8491 [BZ #14538]
8492 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8493 first element of the GOT.
8494 (elf_machine_load_address): Return the difference between
8495 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8496
0786794f
AM
84972012-09-01 Allan McRae <allan@archlinux.org>
8498
5f30cfec
L
8499 [BZ #13412]
8500 * configure.in (AWK): Require gawk version 3.0 or later.
8501 * configure: Regenerated.
0786794f 8502
26889eac
JM
85032012-09-01 Joseph Myers <joseph@codesourcery.com>
8504
8505 * sysdeps/unix/sysv/linux/kernel-features.h
8506 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8507 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8508 [__NR_clock_getres]: Make code unconditional.
8509 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8510 (clock_getcpuclockid): Remove code left unreachable by removal of
8511 conditionals.
8512 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8513 code unconditional.
8514 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8515 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8516 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8517 Make code unconditional.
8518 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8519 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8520 * sysdeps/unix/sysv/linux/clock_settime.c
8521 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8522 conditional code.
8523 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8524 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8525
d22e28b0
L
85262012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8527
8528 [BZ #14476]
8529 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8530 scripts/test-installation.pl.
8531
8532 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8533 and $ld_so_version if it is set.
8534
050af9c4
SP
85352012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8536
8537 [BZ #14516]
8538 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8539 failure if reading from procfs failed.
8540 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8541
ad845c0b
JM
85422012-08-27 Joseph Myers <joseph@codesourcery.com>
8543
8544 * sysdeps/unix/sysv/linux/kernel-features.h
8545 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8546 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8547 Remove conditional code.
8548 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8549 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8550 Remove conditional code.
8551 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8552 * sysdeps/unix/sysv/linux/i386/fxstat.c
8553 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8554 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8555 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8556 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8557 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8558 * sysdeps/unix/sysv/linux/i386/lxstat.c
8559 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8560 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8561 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8562 Remove conditional code.
8563 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8564 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8565 Remove conditional code.
8566 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8567 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8568 <kernel-features.h>.
8569 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8570 Remove.
8571 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8572 Remove conditional code.
8573 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8574 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8575 Remove conditional.
8576
5dbf56af
MF
85772012-08-27 Mike Frysinger <vapier@gentoo.org>
8578
8579 [BZ #5400]
8580 * NEWS: Add fixed bug number.
8581
d6e70f43
JM
85822012-08-27 Joseph Myers <joseph@codesourcery.com>
8583
7efb4737
JM
8584 [BZ #14519]
8585 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8586 underflowing exponent in case of negative sign.
8587 * stdlib/tst-strtod-round-data: Add more tests.
8588 * stdlib/tst-strtod-round.c (tests): Regenerated.
8589
af92131a
JM
8590 [BZ #3479]
8591 * stdlib/strtod_l.c (NDIG): Remove.
8592 (HEXNDIG): Likewise.
8593 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8594 smallest representable value.
8595 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8596 lie within an exact representation of 1/2 ulp of the result.
8597 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8598 unconditionally.
8599 (TENS_P9_IDX): Define unconditionally.
8600 (TENS_P9_SIZE): Likewise.
8601 (TENS_P10_IDX): Likewise.
8602 (TENS_P10_SIZE): Likewise.
8603 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8604 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8605 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8606 entries for 10^2^13 and 10^2^14.
8607 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8608 (TENS_P13_IDX): Define.
8609 (TENS_P13_SIZE): Likewise.
8610 (TENS_P14_IDX): Likewise.
8611 (TENS_P14_SIZE): Likewise.
8612 (_fpioconst_pow10): Change array size to
8613 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8614 unconditional.
8615 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8616 1024]: Add entries for 10^2^13 and 10^2^14.
8617 [LAST_POW10 > _LAST_POW10]: Remove #error.
8618 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8619 (_fpioconst_pow10): Change array size to
8620 FPIOCONST_POW10_ARRAY_SIZE.
8621 * stdlib/gen-fpioconst.c: New file.
8622 * stdlib/gen-tst-strtod-round.c: Likewise.
8623 * stdlib/tst-strtod-round-data: Likewise.
8624 * stdlib/tst-strtod-round.c: Likewise.
8625 * stdlib/Makefile (tests): Add tst-strtod-round.
8626
d6e70f43
JM
8627 [BZ #14459]
8628 * stdlib/strtod_l.c: Include <stdint.h>.
8629 (NDEBUG): Do not define.
8630 (round_and_return): Change EXPONENT parameter to type intmax_t.
8631 Rearrange calculations to avoid internal overflow possibilities.
8632 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8633 Rearrange calculations to avoid internal overflow possibilities.
8634 Assert that number fits inside MPNSIZE limbs.
8635 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8636 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8637 calculations and add assertions to avoid internal overflow
8638 possibilities. Add casts to avoid signed/unsigned operations.
8639 * stdlib/tst-strtod-overflow.c: New file.
8640 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8641
1f529f7d
MP
86422012-08-25 Marek Polacek <polacek@redhat.com>
8643
8644 * time/time.h: Fix some typos in comments.
8645
59a629f1
RM
86462012-08-23 Roland McGrath <roland@hack.frob.com>
8647
8648 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8649 * posix/tst-rfc3484-2.c: Likewise.
8650 * posix/tst-rfc3484-3.c: Likewise.
8651
d3bafbc9
SM
86522012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8653
8654 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8655 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8656
4efcc022
JM
86572012-08-23 Joseph Myers <joseph@codesourcery.com>
8658
8659 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8660 #include of fxstatat64.c.
8661
3cc3ef96
RM
86622012-08-22 Roland McGrath <roland@hack.frob.com>
8663
f04e2132
RM
8664 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8665 * shadow/getspent_r.c: Likewise.
8666 * shadow/getspnam.c: Likewise.
8667 * shadow/getspnam_r.c: Likewise.
8668 * gshadow/getsgent.c: Likewise.
8669 * gshadow/getsgent_r.c: Likewise.
8670 * gshadow/getsgnam.c: Likewise.
8671 * gshadow/getsgnam_r.c: Likewise.
8672 * inet/getnetbyad.c: Likewise.
8673 * inet/getnetbyad_r.c: Likewise.
8674 * inet/getnetbynm.c: Likewise.
8675 * inet/getnetbynm_r.c: Likewise.
8676 * inet/getnetent.c: Likewise.
8677 * inet/getnetent_r.c: Likewise.
8678 * inet/getproto.c: Likewise.
8679 * inet/getproto_r.c: Likewise.
8680 * inet/getprtent.c: Likewise.
8681 * inet/getprtent_r.c: Likewise.
8682 * inet/getprtname.c: Likewise.
8683 * inet/getprtname_r.c: Likewise.
8684 * inet/getrpcbyname.c: Likewise.
8685 * inet/getrpcbyname_r.c: Likewise.
8686 * inet/getrpcbynumber.c: Likewise.
8687 * inet/getrpcbynumber_r.c: Likewise.
8688 * inet/getrpcent.c: Likewise.
8689 * inet/getrpcent_r.c: Likewise.
8690 * inet/getaliasent.c: Likewise.
8691 * inet/getaliasent_r.c: Likewise.
8692 * inet/getaliasname.c: Likewise.
8693 * inet/getaliasname_r.c: Likewise.
8694 * nscd/getgrgid_r.c: Likewise.
8695 * nscd/getgrnam_r.c: Likewise.
8696 * nscd/gethstbyad_r.c: Likewise.
8697 * nscd/gethstbynm3_r.c: Likewise.
8698 * nscd/getpwnam_r.c: Likewise.
8699 * nscd/getpwuid_r.c: Likewise.
8700 * nscd/getsrvbynm_r.c: Likewise.
8701 * nscd/getsrvbypt_r.c: Likewise.
8702 * nscd/gai.c: Likewise.
8703
c53d909c
RM
8704 * configure.in (build_nscd): New substituted variable, set
8705 by --disable-build-nscd and defaults to $use_nscd.
8706 * configure: Regenerated.
8707 * config.make.in (build-nscd): New substituted variable.
8708 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8709 Change conditional to require [$(build-nscd) = yes] as well.
8710 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8711
3cc3ef96
RM
8712 [BZ# 13696]
8713 * configure.in (use_nscd): New substituted variable, set by
8714 --disable-nscd. If enabled, define USE_NSCD.
8715 * configure: Regenerated.
8716 * config.h.in: Add USE_NSCD.
8717 * config.make.in (use-nscd): New substituted variable.
8718 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8719 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8720 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8721 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8722 (CFLAGS-getgrnam_r.c): Likewise.
8723 (CFLAGS-initgroups.c): Likewise.
8724 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8725 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8726 Variables removed.
8727 * inet/getnetgrent_r.c
8728 (nscd_setnetgrent): New function, broken out of ...
8729 (setnetgrent): ... here. Call it.
8730 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8731 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8732 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8733 * nscd/Makefile (routines, aux): Move definitions after include of
8734 Makeconfig. Conditionalize on [$(use-nscd) != no].
8735 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8736 Conditionalize on [USE_NSCD].
8737 (is_nscd, nscd_init_cb): Likewise.
8738 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8739 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8740 * nss/nss_db/db-init.c: Likewise.
8741 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8742 [USE_NSCD].
8743 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8744 (make_request): Use it.
8745 (cache_valid_p): New function.
8746 (__check_pf): Use it.
8747 * NEWS: Add item for --disable-nscd.
8748
07e51550
DL
87492012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8750
8751 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8752 to support sed >= 4.2.1-20-ga9bf076.
8753 * configure: Regenerated.
8754
35a5b08b
RM
87552012-08-22 Roland McGrath <roland@hack.frob.com>
8756
8757 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8758 Conditionalize whole body on [IREL].
8759
8479f23a
JL
87602012-08-22 Jeff Law <law@redhat.com>
8761
8762 [BZ #14505]
8763 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8764 if the family is PF_UNSPEC.
8765
48da0b21
MF
87662012-08-22 Mike Frysinger <vapier@gentoo.org>
8767
8768 * Makerules (lib-version): Rename from V.
8769 (install-lib-nosubdir): Change V to lib-version.
8770
15d0da8c
WS
87712012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8772
8773 [BZ #14252]
8774 * powerpc32/power6/wcschr.c: New file.
8775 * powerpc32/power6/wcscpy.c: New file.
8776 * powerpc32/power6/wcsrchr.c: New file.
8777 * powerpc64/power6/wcschr.c: New file.
8778 * powerpc64/power6/wcscpy.c: New file.
8779 * powerpc64/power6/wcsrchr.c: New file.
8780
bcca0895
MK
87812012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8782
8783 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8784 (two_way_short_needle): Use it.
5a4aaa33
RM
8785 * string/strstr.c (AVAILABLE1_USES_J): Define.
8786 * string/strcasestr.c: Likewise.
99677e57
MK
8787
8788 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8789 array references.
8790 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8791
400726de
MK
8792 [BZ #11607]
8793 * NEWS: Add an entry.
8794 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8795 define their defaults.
8796 (two_way_short_needle): Detect end-of-string on-the-fly.
8797 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8798 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8799 * string/bug-strcasestr1.c: New test.
8800 * string/Makefile: Run it.
8801
20a71f2c
MK
88022012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8803
8804 [BZ #11607]
8805 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8806 the first character.
8807
21ad0558
RM
88082012-08-21 Roland McGrath <roland@hack.frob.com>
8809
8810 * csu/elf-init.c (__libc_csu_irel): Function removed.
8811 * csu/libc-start.c (apply_irel): New function.
8812 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8813
0e1d9911
JM
88142012-08-21 Joseph Myers <joseph@codesourcery.com>
8815
8816 * sysdeps/unix/sysv/linux/kernel-features.h
8817 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8818 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8819 <kernel-features.h>.
8820 [__NR_fadvise64_64]: Make code unconditional.
8821 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8822 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8823 !__NR_fadvise64_64)]: Likewise.
8824 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8825 !__NR_fadvise64_64))]: Likewise.
8826 [__NR_fadvise64]: Make code unconditional.
8827 [!__NR_fadvise64]: Remove conditional code.
8828 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8829 <kernel-features.h>.
8830 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8831 unconditional.
8832 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8833 conditional code.
8834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8835 not include <kernel-features.h>.
8836 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8837 unconditional.
8838 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8839 conditional code.
8840 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8841 include <kernel-features.h>.
8842 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8843 unconditional.
8844 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8845 conditional code.
8846
14a50c9d
WS
88472012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8848
8849 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8850 slight instruction rearrangements per scrollpipe analysis.
8851 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8852
c0f4faf0
RM
88532012-08-20 Roland McGrath <roland@hack.frob.com>
8854
696da859
RM
8855 * manual/syslog.texi (syslog; vsyslog, closelog):
8856 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8857 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8858
c0f4faf0
RM
8859 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8860 DSOCAPS to match condition on defining it.
8861
348363b2
JM
88622012-08-20 Joseph Myers <joseph@codesourcery.com>
8863
a35cbf28
JM
8864 * sysdeps/unix/sysv/linux/kernel-features.h
8865 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8867 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8868 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8870 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8871 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8873 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8874 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8875
445f7ecd
JM
8876 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8877 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8878
348363b2
JM
8879 * sysdeps/unix/sysv/linux/kernel-features.h
8880 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8881 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8882 unconditional.
8883 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8884 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8885 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8886 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8887 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8888 Make code unconditional.
8889 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8890 (__mmap64) [!__NR_mmap2]: Likewise.
8891 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8892 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8893 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8894 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8895 [__NR_mmap2]: Make code unconditional.
8896 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8897 (__mmap64) [!__NR_mmap2]: Likewise.
8898
bc5bc0e5
AK
88992012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8900
8901 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8902
88d506de
AJ
89032012-08-18 Andreas Jaeger <aj@suse.de>
8904
8905 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8906
493387d2
MF
89072012-08-18 Mike Frysinger <vapier@gentoo.org>
8908
8909 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8910 * include/unistd.h (__have_sock_cloexec): Likewise.
8911 (__have_pipe2): Likewise.
8912 (__have_dup3): Likewise.
8913
a277af22
MF
89142012-08-18 Mike Frysinger <vapier@gentoo.org>
8915
8916 [BZ #9685]
8917 * include/unistd.h (__have_pipe2): Change define into an extern int.
8918 (__have_dup3): Likewise.
8919 * socket/have_sock_cloexec.c: Include fcntl.h.
8920 (__have_pipe2): New variable.
8921 (__have_dup3): Likewise.
8922
fdab8fd3
MF
89232012-08-17 Mike Frysinger <vapier@gentoo.org>
8924
8925 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8926
31035e80
MP
89272012-08-17 Marek Polacek <polacek@redhat.com>
8928
8929 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8930 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8931
3bd9e993
RM
89322012-08-17 Roland McGrath <roland@hack.frob.com>
8933
c91c505f
RM
8934 * configure.in: Add AC_SUBST for sysheaders.
8935 * configure: Regenerated.
8936 * config.make.in (sysheaders): New substituted variable.
8937
7c6f9d53
RM
8938 * sysdeps/unix/mkfifo.c: Moved ...
8939 * sysdeps/posix/mkfifo.c: ... here.
8940 * sysdeps/unix/mkfifoat.c: Moved ...
8941 * sysdeps/posix/mkfifoat.c: ... here.
8942
8943 * sysdeps/unix/utime.c: Moved ...
8944 * sysdeps/posix/utime.c: ... here.
8945
8946 * sysdeps/unix/time.c: Moved ...
8947 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
8948 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
8949 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
8950
8951 * sysdeps/unix/nice.c: Moved ...
8952 * sysdeps/posix/nice.c: ... here.
8953
8954 * sysdeps/unix/alarm.c: Moved ...
8955 * sysdeps/posix/alarm.c: ... here.
8956
3bd9e993
RM
8957 * intl/Makefile ($(codeset_mo)): Depend on the input file.
8958
d1f09384
JL
89592012-08-17 Jeff Law <law@redhat.com>
8960
8961 * intl/Makefile (codeset_mo): New variable.
8962 ($(codeset_mo)): New target.
8963 (tst-codeset.out): Depend on that. Remove explicit rule.
8964 (tst-gettext3.out, tst-gettext5.out): Likewise.
8965 (LOCPATH-ENV, tst-codeset-ENV): New variables.
8966 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
8967 * intl/tst-codeset.sh: Remove.
8968 * intl/tst-gettext3.sh: Likewise.
8969 * intl/tst-gettext5.sh: Likewise.
8970
2ae1ae5c
RM
89712012-08-17 Roland McGrath <roland@hack.frob.com>
8972
c31fdb83
RM
8973 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
8974 * sysdeps/unix/syscalls.list: ... here.
8975
a0844057
RM
8976 * sysdeps/posix/getaddrinfo.c
8977 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
8978 (gaiconf_init, gaiconf_reload): Use them.
8979 [!_STATBUF_ST_NSEC]
8980 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
8981 Define using time_t rather than struct timespec.
8982
750c1f2a
RM
8983 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
8984 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
8985 Macros removed.
8986 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
8987 [!NO_THREADS].
8988 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
8989 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
8990 Likewise.
8991
2ae1ae5c
RM
8992 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
8993 __libc_cleanup_push argument.
8994
e66a42f5
RM
8995 * bits/param.h: New file.
8996 * misc/sys/param.h: New file.
8997 * include/sys/param.h: New file.
8998 * misc/Makefile (headers): Add bits/param.h.
8999 * sysdeps/generic/sys/param.h: File removed.
9000 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9001 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9002 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 9003 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 9004
b7c08a66
RM
9005 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9006 last change.
9007
b2e1c562
RM
9008 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9009 [_IO_MTSAFE_IO].
9010 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9011 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9012 New macros.
9013
c75ccd4c
RM
9014 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9015 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9016 rather than -D_IO_MTSAFE_IO conditionally.
9017 * stdio-common/Makefile (CPPFLAGS): Likewise.
9018 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9019 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9020 Use $(libio-mtsafe).
9021 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9022 of -D_IO_MTSAFE_IO.
9023 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9024 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9025 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9026 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9027 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9028 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9029 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9030 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9031 (CFLAGS-fread_u_chk.c): Likewise.
9032 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9033 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9034 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9035 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9036 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9037 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9038 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9039 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9040 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9041
9042 * libio/Makefile: Test [$(libc-reentrant) = yes]
9043 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9044
9045 * Makeconfig
9046 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9047 * sysdeps/pthread/configure: File removed.
9048 * sysdeps/pthread/Makeconfig: New file.
9049 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9050 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9051
d9195db8
GB
90522012-08-16 Gary Benson <gbenson@redhat.com>
9053
9054 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9055 unmapping the first object in a namespace.
9056
86466cd9
RM
90572012-08-16 Roland McGrath <roland@hack.frob.com>
9058
9059 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9060 (__internal_setnetgrent): ... this. Add internal_function to
9061 definition. Add libc_hidden_def.
9062 (setnetgrent): Update caller.
9063 (internal_endnetgrent): Renamed to ...
9064 (__internal_endnetgrent): ... this. Add internal_function to
9065 definition. Add libc_hidden_def.
9066 (endnetgrent): Update caller.
9067 (internal_getnetgrent_r): Renamed to ...
9068 (__internal_getnetgrent_r): ... this. Add internal_function to
9069 definition. Add libc_hidden_def.
9070 (__getnetgrent_r): Update caller.
9071 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9072
c3c8283c
JM
90732012-08-16 Joseph Myers <joseph@codesourcery.com>
9074
9075 * stdlib/longlong.h: Update from GCC.
9076
db1ee0a8
RM
90772012-08-16 Roland McGrath <roland@hack.frob.com>
9078
9079 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9080 on _QL, which is set by umul_ppmm but never used.
9081 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9082 variables, which are set by GMP macros but never used.
9083 * stdio-common/_itowa.c (_itowa): Likewise.
9084 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9085 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9086
30f69637
CD
90872012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9088
9089 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9090 struct La_sh_regs is not constant.
9091 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9092 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9093 and struct La_sparc64_regs are not constant.
9094
93a78ac4
JM
90952012-08-16 Joseph Myers <joseph@codesourcery.com>
9096
9097 * sysdeps/unix/sysv/linux/kernel-features.h
9098 (__ASSUME_POSIX_TIMERS): Remove.
9099 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9100 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9101 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9102 Make code unconditional.
9103 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9104 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9105 Make code unconditional.
9106 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9107 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9108 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9109 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9110 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9111 Make code unconditional.
9112 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9113 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9114 (__libc_missing_posix_timers): Remove.
9115
dd924cd7
RM
91162012-08-15 Roland McGrath <roland@hack.frob.com>
9117
4b4f2771
RM
9118 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9119 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9120
601c888b
RM
9121 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9122
176790a7
RM
9123 * elf/dl-sym.c: Include <stdlib.h>.
9124
329bc018
RM
9125 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9126 constants, which avoids warnings in 32-bit builds.
9127
e04e272d
RM
9128 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9129 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9130
952bf94a
RM
9131 * misc/lseek.c: File moved to ...
9132 * io/lseek.c: ... here.
9133
7c99b50a
RM
9134 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9135
dd924cd7
RM
9136 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9137 shifting LEN more than 31 bits at once.
9138
b3f479a8
LD
91392012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9140
9141 [BZ #14195]
8c4ae0d4
RM
9142 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9143 segmentation fault for a case of two empty input strings.
b3f479a8
LD
9144 * string/test-strncasecmp.c (check1): Renamed to...
9145 (bz12205): ...this.
9146 (bz14195): Add new testcase for two empty input strings and N > 0.
9147 (test_main): Call new testcase, adapt for renamed function.
9148
9c55864e
AJ
91492012-08-15 Andreas Jaeger <aj@suse.de>
9150
9151 [BZ #14090]
9152 * crypt/md5test2.c: New test, based on test supplied by Serge
9153 Belyshev <belyshev@depni.sinp.msu.ru>.
9154 * crypt/Makefile (xtests): Add md5test-giant..
9155 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9156
02dcb6c5
PE
91572012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9158
9159 [BZ #14090]
9160 * crypt/md5.c (md5_process_block): Don't assume the buffer
9161 length is less than 2**32.
9162 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9163 length is less than 2**64.
9164
a3f95dcc
RM
91652012-08-15 Roland McGrath <roland@hack.frob.com>
9166
be75d758
RM
9167 * string/str-two-way.h: Include <sys/param.h>.
9168 (MAX): Macro removed.
9169
7312ca90
RM
9170 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9171 Move #define and #undef of memmove to just before and after
9172 including <string.h>.
9173
9a0a5486
RM
9174 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9175 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9176 and after including <string.h>. Move declarations of
9177 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9178 to before #include "string/memmove.c".
9179
67cc348d
RM
9180 * include/dirent.h: Declare __getdirentries.
9181
a3f95dcc
RM
9182 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9183 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9184
ca98e171
MF
91852012-08-14 Mike Frysinger <vapier@gentoo.org>
9186
9187 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9188 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9189 * sysdeps/i386/configure: Regenerated.
9190 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9191 STABS_CURRENT_FILE, and STABS_FUN.
9192 (END): Remove call to STABS_FUN_END.
9193 (STABS_CURRENT_FILE1): Delete.
9194 (STABS_CURRENT_FILE): Likewise.
9195 (STABS_FUN): Likewise.
9196 (STABS_FUN_END): Likewise.
9197 (STABS_FUN2): Likewise.
9198 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9199 * sysdeps/x86_64/configure: Regenerated.
9200
5908bf46
RM
92012012-08-14 Roland McGrath <roland@hack.frob.com>
9202
9203 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 9204 * elf/dl-lookup.c: Likewise.
5908bf46 9205
f2c05b9e
JM
92062012-08-14 Joseph Myers <joseph@codesourcery.com>
9207
9208 * sysdeps/unix/sysv/linux/kernel-features.h
9209 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9210 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9211 unconditionally.
9212 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9213 unconditionally.
9214 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9215 condition on __ASSUME_CLONE_THREAD_FLAGS.
9216
e11f5155
AJ
92172012-08-14 Andreas Jaeger <aj@suse.de>
9218
9219 * sysdeps/i386/fpu/libm-test-ulps: Update.
9220
51a9ba86
MK
92212012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9222
2fdd4f78
AJ
9223 * include/atomic.h (atomic_exchange_and_add): Split into ...
9224 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9225 New atomic macros.
51a9ba86 9226
ba6cba9e
MT
92272012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9228
9229 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9230
42443a47
JL
92312012-08-13 Jeff Law <law@redhat.com>
9232
9233 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9234 null byte in the output string.
9235
121dce05
JM
92362012-08-10 Joseph Myers <joseph@codesourcery.com>
9237
9238 * sysdeps/unix/sysv/linux/kernel-features.h
9239 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9240 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9241 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9242 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9243 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9244 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9245 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9246
bf51f568
JL
92472012-08-09 Jeff Law <law@redhat.com>
9248
9249 [BZ #13939]
9250 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9251 When avoid_arena is set, don't retry in the that arena. Pick the
9252 next one, whatever it might be.
9253 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9254 (arena_lock): Pass in new parameter to arena_get2.
9255 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9256 arena_get2.
9257 (__libc_malloc): Unify retrying after main arena failure with
9258 __libc_memalign version.
9259 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9260
f85fa270
L
92612012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9262
9263 [BZ #14166]
9264 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9265 to __redirect_strstr.
9266 (__strstr_sse42): Use typeof __redirect_strstr.
9267 (__strstr_ia32): Likewise.
9268 (__libc_strstr): New prototype.
9269 (strstr): Renamed to ...
9270 (__libc_strstr): This.
9271 (strstr): New strong alias of __libc_strstr.
9272 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9273 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9274 __redirect_time.
9275 Include <time.h>.
9276 (__libc_time): New prototype.
9277 (time_ifunc): Replace time with __libc_time.
9278 (time): New strong alias and hidden definition of __libc_time.
9279 (__GI_time): Remove strong alias.
9280 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9281 Include <stddef.h>.
9282 (memmove): Redefined to __redirect_memmove.
9283 (__memmove_sse2): Use typeof __redirect_memmove.
9284 (__memmove_ssse3): Likewise.
9285 (__memmove_ssse3_back): Likewise.
9286 (__libc_memmove): New prototype.
9287 (memmove): Renamed to ...
9288 (__libc_memmove): This.
9289 (memmove): New strong alias of __libc_memmove.
9290
33b4a91e
MS
92912012-08-08 Mark Salter <msalter@redhat.com>
9292
9293 * elf/elf.h
9294 (R_MN10300_TLS_GD): Define.
9295 (R_MN10300_TLS_LD): Likewise.
9296 (R_MN10300_TLS_LDO): Likewise.
9297 (R_MN10300_TLS_GOTIE): Likewise.
9298 (R_MN10300_TLS_IE): Likewise.
9299 (R_MN10300_TLS_LE): Likewise.
9300 (R_MN10300_TLS_DTPMOD): Likewise.
9301 (R_MN10300_TLS_DTPOFF): Likewise.
9302 (R_MN10300_TLS_TPOFF): Likewise.
9303 (R_MN10300_SYM_DIFF): Likewise.
9304 (R_MN10300_ALIGN): Likewise.
9305 (R_MN10300_NUM): Update.
9306
b36137f1
JM
93072012-08-08 Joseph Myers <joseph@codesourcery.com>
9308
9309 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9310 Remove.
9311
cdd915fd
RM
93122012-08-08 Roland McGrath <roland@hack.frob.com>
9313
a2433aac
RM
9314 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9315
cdd915fd
RM
9316 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9317 sysdeps/unix -> sysdeps/posix move.
9318 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9319
bf9b740a
AM
93202012-08-07 Allan McRae <allan@archlinux.org>
9321
9322 [BZ #14303]
9323 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9324 (SUNOS_CPP): Likewise.
9325 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9326 not found.
9327 (open_input): Call CPP using execvp.
9328
93df14ee
JM
93292012-08-07 Joseph Myers <joseph@codesourcery.com>
9330
9331 * sysdeps/unix/sysv/linux/kernel-features.h
9332 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9333 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9334 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9335 (__ASSUME_WAITID_SYSCALL): Likewise.
9336 * sysdeps/unix/sysv/linux/dl-execstack.c
9337 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9338 code unconditional.
9339 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9340 conditional code.
9341 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9342 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9343 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9344 code.
9345 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9346 unconditional.
9347 [__ASSUME_WAITID_SYSCALL]: Likewise.
9348 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9349
d34689de
RM
93502012-08-07 Roland McGrath <roland@hack.frob.com>
9351
a281decc
RM
9352 * sysdeps/unix/closedir.c: Renamed to ...
9353 * sysdeps/posix/closedir.c: ... here.
9354 * sysdeps/unix/dirfd.c: Renamed to ...
9355 * sysdeps/posix/dirfd.c: ... here.
9356 * sysdeps/unix/dirstream.h: Renamed to ...
9357 * sysdeps/posix/dirstream.h: ... here.
9358 * sysdeps/unix/fdopendir.c: Renamed to ...
9359 * sysdeps/posix/fdopendir.c: ... here.
9360 * sysdeps/unix/opendir.c: Renamed to ...
9361 * sysdeps/posix/opendir.c: ... here.
9362 * sysdeps/unix/readdir.c: Renamed to ...
9363 * sysdeps/posix/readdir.c: ... here.
9364 * sysdeps/unix/readdir_r.c: Renamed to ...
9365 * sysdeps/posix/readdir_r.c: ... here.
9366 * sysdeps/unix/rewinddir.c: Renamed to ...
9367 * sysdeps/posix/rewinddir.c: ... here.
9368 * sysdeps/unix/seekdir.c: Renamed to ...
9369 * sysdeps/posix/seekdir.c: ... here.
9370 * sysdeps/unix/telldir.c: Renamed to ...
9371 * sysdeps/posix/telldir.c: ... here.
9372 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9373 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9374 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9375 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9376
22895b47
RM
9377 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9378 * bits/fcntl.h: ... here.
9379
707a53b6
RM
9380 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9381 not 0.
9382 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9383 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9384 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9385 (struct flock): Move l_start, l_len to the beginning.
9386 Use __pid_t for l_pid.
9387 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9388 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9389 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9390 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9391 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9392 [__USE_LARGEFILE64] (struct flock64): New type.
9393 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9394
f0bd3e25
RM
9395 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9396 * bits/dirent.h: ... here.
9397
d34689de
RM
9398 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9399 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9400
6dad2c06
JM
94012012-08-07 Joseph Myers <joseph@codesourcery.com>
9402
9403 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9404 Change from 2.6.0 to 2.6.16.
9405 * sysdeps/unix/sysv/linux/configure: Regenerated.
9406 * sysdeps/unix/sysv/linux/kernel-features.h
9407 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9408 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9409 version.
9410 (__ASSUME_UTIMES): Likewise.
9411 (__ASSUME_CLONE_STOPPED): Remove.
9412 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9413 architectures, not kernel version.
9414 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9415 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9416 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9417 (__ASSUME_WAITID_SYSCALL): Likewise.
9418 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9419 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9420 * README: State 2.6.16 as minimum Linux kernel version. Do not
9421 refer to older versions.
9422
03af9520
RM
94232012-08-06 Roland McGrath <roland@hack.frob.com>
9424
8e49df1d
RM
9425 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9426 Define alphasort64 as an alias.
9427 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9428 Define versionsort64 as an alias.
9429 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9430 Define scandir64 as an alias.
9431 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9432 Define scandirat64 as an alias.
9433 * dirent/alphasort64.c (alphasort64):
9434 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9435 * dirent/versionsort64.c: Likewise.
9436 * dirent/scandir64.c: Likewise.
9437 * dirent/scandirat64.c: Likewise.
9438 * sysdeps/wordsize-64/alphasort.c: File removed.
9439 * sysdeps/wordsize-64/alphasort64.c: File removed.
9440 * sysdeps/wordsize-64/scandir.c: File removed.
9441 * sysdeps/wordsize-64/scandir64.c: File removed.
9442 * sysdeps/wordsize-64/scandirat.c: File removed.
9443 * sysdeps/wordsize-64/scandirat64.c: File removed.
9444 * sysdeps/wordsize-64/versionsort.c: File removed.
9445 * sysdeps/wordsize-64/versionsort64.c: File removed.
9446 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9447 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9448 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9449 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9450 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9451 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9452 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9453 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9454
9455 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9456 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9457 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9458 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9459 [defined __arch64__ || defined __sparcv9]
9460 (__INO_T_MATCHES_INO64_T): New macro.
9461 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9462 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9463 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9464 * sysdeps/unix/sysv/linux/bits/dirent.h
9465 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9466 (_DIRENT_MATCHES_DIRENT64): New macro.
9467
03af9520
RM
9468 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9469 Define lockf64 as an alias.
9470 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9471 Define fseeko64 as an alias.
9472 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9473 Define ftello64 as an alias.
9474 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9475 Define _IO_fgetpos64 and fgetpos64 as aliases.
9476 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9477 Define _IO_fsetpos64 and fsetpos64 as aliases.
9478 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9479 Conditionalize body on this.
9480 * libio/fseeko64.c: Likewise.
9481 * libio/ftello64.c: Likewise.
9482 * libio/iofgetpos64.c: Likewise.
9483 * libio/iofsetpos64.c: Likewise.
9484 * sysdeps/wordsize-64/lockf.c: File removed.
9485 * sysdeps/wordsize-64/lockf64.c: File removed.
9486 * sysdeps/wordsize-64/fseeko.c: File removed.
9487 * sysdeps/wordsize-64/fseeko64.c: File removed.
9488 * sysdeps/wordsize-64/ftello.c: File removed.
9489 * sysdeps/wordsize-64/ftello64.c: File removed.
9490 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9491 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9492 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9493 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9494 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9495 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9496 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9497 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9498 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9499 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9500 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9501 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9502 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9503 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9504
9505 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9506 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9507 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9508 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9509 [defined __arch64__ || defined __sparcv9]
9510 (__OFF_T_MATCHES_OFF64_T): New macro.
9511 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9512 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9513 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9514 (__OFF_T_MATCHES_OFF64_T): New macro.
9515
c5757acd
L
95162012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9517
9518 * stdlib/secure-getenv.c (__secure_getenv): Replace
9519 GLIBC_2_16 with GLIBC_2_17.
9520
3a31811e
L
95212012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9522
9523 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9524 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9525
faa2bccb
DM
95262012-08-03 David S. Miller <davem@davemloft.net>
9527
9528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9529
85fe1997
JM
95302012-08-03 Joseph Myers <joseph@codesourcery.com>
9531
9532 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9533 Remove.
9534 (__ASSUME_CORRECT_SI_PID): Likewise.
9535 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9536 (__ASSUME_TMPFS_NAME): Likewise.
9537 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9538 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9539 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9540 (HAVE_AUX_SECURE): Make definition unconditional.
9541 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9542 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9543
4f75b7a0
RM
95442012-08-03 Roland McGrath <roland@hack.frob.com>
9545
9546 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9547 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9548 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9549 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9550 __eloop_threshold instead of SYMLOOP_MAX.
9551
9552 * sysdeps/generic/eloop-threshold.h: New file.
9553 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9554 of MAXSYMLINKS.
9555 * elf/chroot_canon.c (chroot_canon): Likewise.
9556
7aab07e4
JM
95572012-08-03 Joseph Myers <joseph@codesourcery.com>
9558
9559 [BZ #13717]
9560 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9561 Change to 2.6.0 everywhere.
9562 * sysdeps/unix/sysv/linux/configure: Regenerated.
9563 * sysdeps/unix/sysv/linux/kernel-features.h
9564 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9565 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9566 kernel versions.
9567 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9568 (__ASSUME_FUTEX_REQUEUE): Remove.
9569 (__ASSUME_STATFS64): Define unconditionally.
9570 (__ASSUME_AT_SECURE): Likewise.
9571 (__ASSUME_CORRECT_SI_PID): Likewise.
9572 (__ASSUME_TGKILL): Define without depending on kernel version for
9573 i386.
9574 (__ASSUME_UTIMES): Likewise.
9575 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9576 kernel version.
9577 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9578 (__ASSUME_TMPFS_NAME): Likewise.
9579 * README: Update reference to Linux kernel versions.
9580
b67e9372
MP
95812012-08-02 Marek Polacek <polacek@redhat.com>
9582
1f529f7d 9583 [BZ# 14150]
b67e9372
MP
9584 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9585 libc_cv_asm_type_prefix with %.
9586 * configure: Regenerated.
d2441631
RM
9587 * include/libc-symbols.h: Remove comment about
9588 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
9589 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9590 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9591 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9592 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9593 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9594 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9595 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9596 * elf/tst-unique2mod1.c: Likewise.
9597 * elf/tst-unique1mod2.c: Likewise.
9598 * elf/tst-unique1mod1.c: Likewise.
9599 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9600 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9601 Replace ASM_TYPE_DIRECTIVE with .type.
9602 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9603 * sysdeps/i386/sysdep.h: Likewise.
9604 * sysdeps/x86_64/sysdep.h: Likewise.
9605 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
9606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9607 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 9608 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
9609 * sysdeps/powerpc/powerpc32/sysdep.h:
9610 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
9611 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9612 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9613 * sysdeps/i386/fpu/e_powf.S: Likewise.
9614 * sysdeps/i386/fpu/e_expl.S: Likewise.
9615 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9616 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9617 * sysdeps/i386/fpu/e_pow.S: Likewise.
9618 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9619 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9620 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9621 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9622 * sysdeps/i386/fpu/e_log2.S: Likewise.
9623 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9624 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9625 * sysdeps/i386/fpu/e_powl.S: Likewise.
9626 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9627 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9628 * sysdeps/i386/fpu/e_logl.S: Likewise.
9629 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9630 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9631 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9632 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9633 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9634 * sysdeps/i386/fpu/e_log.S: Likewise.
9635 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9636 * sysdeps/i386/fpu/e_logf.S: Likewise.
9637 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9638 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9639 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9640 * sysdeps/i386/fpu/e_log10.S: Likewise.
9641 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9642 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9643 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9644 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9645 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9646 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9647 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9648 * sysdeps/i386/i686/strtok.S: Likewise.
9649 * sysdeps/i386/i386-mcount.S: Likewise.
9650 * sysdeps/i386/strtok.S: Likewise.
9651 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9652 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9653 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9654 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9655 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9656 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9657 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9658 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9659 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9660 * sysdeps/x86_64/_mcount.S: Likewise.
9661 * sysdeps/x86_64/strtok.S: Likewise.
9662 * sysdeps/sh/_mcount.S: Likewise.
9663
2747bf9a
RM
96642012-08-01 Roland McGrath <roland@hack.frob.com>
9665
9666 * libio/iofopen.c: Include <fcntl.h>.
9667 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9668 (_IO_fopen64, fopen64): Define as aliases.
9669 * libio/iofopen64.c: Include <fcntl.h>.
9670 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9671 Conditionalize body on this.
9672 * sysdeps/wordsize-64/iofopen.c: File removed.
9673 * sysdeps/wordsize-64/iofopen64.c: File removed.
9674
3fb791b8
MP
96752012-08-01 Marek Polacek <polacek@redhat.com>
9676
9677 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9678 Use dlfcn directly instead of a variable.
9679 (binfmt-subdir): Do not define.
9680 (dlfcn): Likewise.
9681
a9f1039f
JM
96822012-08-01 Joseph Myers <joseph@codesourcery.com>
9683
23bddc06
JM
9684 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9685 Remove all definitions.
9686 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9687 <kernel-features.h>.
9688 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9689 (miss_F_GETOWN_EX): Remove all definitions.
9690 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9691 macro definition.
9692 [!__ASSUME_FCNTL64]: Remove conditional code.
9693 [__ASSUME_FCNTL64]: Make code unconditional.
9694 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9695 <kernel-features.h>.
9696 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9697 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9698 (lockf64) [__NR_fcntl64]: Make code unconditional.
9699 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9700
a9f1039f
JM
9701 * sysdeps/unix/sysv/linux/kernel-features.h
9702 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9703 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9704 Make code unconditional.
9705 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9706 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9708 [__NR_vfork]: Make code unconditional.
9709 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9710 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9712 [__NR_vfork]: Make code unconditional.
9713 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9714 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9715
09c0ee5f
RM
97162012-08-01 Roland McGrath <roland@hack.frob.com>
9717
48aec5b9
RM
9718 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9719 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9720
cd97c966
RM
9721 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9722 Define mkstemp64 as an alias.
3f55550c
RM
9723 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9724 Define mkstemps64 as an alias.
cd97c966
RM
9725 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9726 Define mkostemp64 as an alias.
b8625cfc
RM
9727 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9728 Define mkostemps64 as an alias.
cd97c966
RM
9729 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9730 Conditionalize body on this.
9731 * misc/mkostemp64.c: Likewise.
b8625cfc 9732 * misc/mkostemps64.c: Likewise.
3f55550c 9733 * misc/mkstemps64.c: Likewise.
cd97c966
RM
9734 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9735 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9736 * sysdeps/wordsize-64/mkostemp.c: File removed.
9737 * sysdeps/wordsize-64/mkstemp.c: File removed.
9738 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9739 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9740 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9741 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9742
09c0ee5f
RM
9743 [BZ #14138]
9744 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9745 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9746 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9747 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9748
9749 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9750 compat_symbol macros from <shlib-compat.h> rather than the underlying
9751 default_symbol_version and symbol_version macros, so that DEFAULT
9752 lines in shlib-versions are respected.
9753 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9754
7e66ee51
FW
97552012-08-01 Florian Weimer <fweimer@redhat.com>
9756
9757 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9758 Declare with warn_unused_result.
9759 (setgid, setregid, setegid, setresgid): Likewise.
9760 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9761 Likewise.
9762 * WUR-REPORT: Remove set*id functions.
9763
d2a54255
PT
97642012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9765
9766 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9767
7ecdb005
RM
97682012-07-31 Roland McGrath <roland@hack.frob.com>
9769
789bd351
RM
9770 * include/sys/socket.h (__libc_accept, __libc_accept4):
9771 Add attribute_hidden.
9772 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9773
40ce302d
RM
9774 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9775 use of PTR_MANGLE.
9776 * inet/getnetgrent_r.c (setup): Likewise.
9777
7ecdb005
RM
9778 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9779
e2eabb2c
DM
97802012-07-31 David S. Miller <davem@davemloft.net>
9781
9782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9783
d0419dbf
JM
97842012-07-31 Joseph Myers <joseph@codesourcery.com>
9785
9786 [BZ #13629]
9787 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9788 value between 1.0 and 2.0 and smaller part has absolute value less
9789 than 1.0.
9790 * math/s_clog10.c (__clog10): Likewise.
9791 * math/s_clog10f.c (__clog10f): Likewise.
9792 * math/s_clog10l.c (__clog10l): Likewise.
9793 * math/s_clogf.c (__clogf): Likewise.
9794 * math/s_clogl.c (__clogl): Likewise.
9795 * math/libm-test.inc (clog_test): Add more tests.
9796 (clog10_test): Likewise.
9797 * sysdeps/i386/fpu/libm-test-ulps: Update.
9798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9799
2bc13872
FW
98002012-07-31 Florian Weimer <fweimer@redhat.com>
9801
9802 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9803 Exit with zero in case no suitable GID is found, and write a
9804 message to standard error.
9805
bea9b193
RM
98062012-07-30 Roland McGrath <roland@hack.frob.com>
9807
9808 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9809 rather than to 1.
9810 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9811 (MAXPATHLEN): Removed.
9812 (NOGROUP, NODEV): New macros.
9813 (setbit, clrbit, isset, isclr): New macros.
9814 (howmany, roundup, powerof2): New macros.
9815 (DEV_BSIZE): New macro.
9816
9817 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9818 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9819
9820 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9821 definition on [!__NO_LONG_DOUBLE_MATH].
9822
9823 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9824 PTR_MANGLE and PTR_DEMANGLE.
9825
9826 * socket/accept4.c (accept4): Rename to __libc_accept4.
9827 Define accept4 as a weak alias.
9828
9829 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9830 on [_DIRENT_HAVE_D_TYPE].
9831 * io/ftw.c (ftw_dir): Likewise.
9832
9833 * io/xmknod.c (__xmknod): Don't check PATH for being null.
9834
9835 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9836
9837 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9838 Use the BSD numbers rather than the arbitrary ones we had.
9839 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9840 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9841 (SIGXCPU, SIGXFSZ): New macros.
9842 (_NSIG): Now 32.
9843
9844 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9845 initializer on [_LIBC_REENTRANT].
9846
9847 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9848 definitions inside [_POSIX_MAPPED_FILES].
9849
9850 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9851
9852 * dirent/opendir.c: Include <fcntl.h>.
9853
9854 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9855 (__libc_getspecific): Likewise.
9856 (__libc_key_create): Likewise.
9857
9858 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9859 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9860 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9861 (tmpfile64): Define as alias.
9862 * sysdeps/wordsize-64/tmpfile.c: File removed.
9863 * sysdeps/wordsize-64/tmpfile64.c: File removed.
9864 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9865 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9866
9867 * stdio-common/vfscanf.c: Include <stdbool.h>.
9868 * nss/makedb.c: Likewise.
9869 * stdio-common/_i18n_number.h: Likewise.
9870 * argp/argp-help.c: Likewise.
9871 * posix/wordexp.c: Likewise.
9872 * sysdeps/posix/spawni.c: Likewise.
9873 * nss/nss_files/files-initgroups.c: Likewise.
9874 * stdio-common/reg-modifier.c: Include <stdlib.h>.
9875 * nss/nss_files/files-initgroups.c: Likewise.
9876 * nss/nss_db/db-netgrp.c: Likewise.
9877 * nss/nss_db/db-initgroups.c: Likewise.
9878 * io/fchmodat.c: Include <sys/stat.h>.
9879
9880 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9881 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9882
9883 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9884 [HAVE_MMAP].
9885
9886 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9887 Add multiple inclusion protection.
9888
e5abc686
DM
98892012-07-27 David S. Miller <davem@davemloft.net>
9890
9891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9892
815e6fa3
GB
98932012-07-27 Gary Benson <gbenson@redhat.com>
9894
9895 [BZ #14298]
9896 * elf/rtld.c: Include <stap-probe.h>.
9897 (dl_main): Added static probes "init_start" and "init_complete".
9898 * elf/dl-load.c: Include <stap-probe.h>.
9899 (lose): Take new parameter "nsid".
9900 Added static probe "map_failed".
9901 (_dl_map_object_from_fd): Pass namespace id to lose.
9902 Added static probe "map_start".
9903 (open_verify): Pass namespace id to lose.
9904 * elf/dl-open.c: Include <stap-probe.h>.
9905 (dl_open_worker) Added static probes "map_complete", "reloc_start"
9906 and "reloc_complete".
9907 * elf/dl-close.c: Include <stap-probe.h>.
9908 (_dl_close_worker): Added static probes "unmap_start" and
9909 "unmap_complete".
9910 * elf/rtld-debugger-interface.txt: New file documenting the above.
9911
9f98c16c
RM
99122012-07-26 Roland McGrath <roland@hack.frob.com>
9913
9914 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9915 rather than a string variable.
9916 * sunrpc/rpc_main.c (h_output): Likewise.
9917 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9918
f3c22df3
PT
99192012-07-26 Pino Toscano <toscano.pino@tiscali.it>
9920
9921 * inet/check_native.c: New file.
9922
3129cfc6
JM
99232012-07-26 Joseph Myers <joseph@codesourcery.com>
9924
da865e95
JM
9925 [BZ #13629]
9926 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9927 if larger part has absolute value 1.0.
9928 * math/s_clog10.c (__clog10): Likewise.
9929 * math/s_clog10f.c (__clog10f): Likewise.
9930 * math/s_clog10l.c (__clog10l): Likewise.
9931 * math/s_clogf.c (__clogf): Likewise.
9932 * math/s_clogl.c (__clogl): Likewise.
9933 * math/libm-test.inc (clog_test): Add more tests.
9934 (clog10_test): Likewise.
9935 * sysdeps/i386/fpu/libm-test-ulps: Update.
9936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9937
3129cfc6
JM
9938 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9939 (pltexit): Likewise.
9940 (La_regs): Likewise.
9941 (La_retval): Likewise.
9942 (int_retval): Likewise.
9943 Update #error for removed macros to refer only to definitions in
9944 tst-audit.h.
9945 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
9946 macro.
9947 (pltexit): Likewise.
9948 (La_regs): Likewise.
9949 (La_retval): Likewise.
9950 (int_retval): Likewise.
9951 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
9952 macro.
9953 (pltexit): Likewise.
9954 (La_regs): Likewise.
9955 (La_retval): Likewise.
9956 (int_retval): Likewise.
9957 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
9958 macro.
9959 (pltexit): Likewise.
9960 (La_regs): Likewise.
9961 (La_retval): Likewise.
9962 (int_retval): Likewise.
9963 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
9964 macro.
9965 (pltexit): Likewise.
9966 (La_regs): Likewise.
9967 (La_retval): Likewise.
9968 (int_retval): Likewise.
9969 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
9970 macro.
9971 (pltexit): Likewise.
9972 (La_regs): Likewise.
9973 (La_retval): Likewise.
9974 (int_retval): Likewise.
9975 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
9976 macro.
9977 (pltexit): Likewise.
9978 (La_regs): Likewise.
9979 (La_retval): Likewise.
9980 (int_retval): Likewise.
9981 * sysdeps/generic/tst-audit.h: Update comment to refer only to
9982 macro definitions in tst-audit.h.
9983 * sysdeps/i386/tst-audit.h: New file.
9984 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
9985 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
9986 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
9987 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
9988 * sysdeps/sh/tst-audit.h: Likewise.
9989 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
9990 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
9991 * sysdeps/x86_64/tst-audit.h: Likewise.
9992
bfc07087
AJ
99932012-07-26 Andreas Jaeger <aj@suse.de>
9994
b1b2aaf8
AJ
9995 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
9996 ptrace.
9997
9998 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
9999 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10000 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10001 PTRACE_O_MASK.
10002 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10003 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10004 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10005
bfc07087
AJ
10006 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10007 value.
10008
10009 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10010 _sigsys.
10011 (si_call_addr, si_syscall, si_arch): Define new macro.
10012 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10013 _sigsys.
10014 (si_call_addr, si_syscall, si_arch): Define new marcro.
10015 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10016 _sigsys.
10017 (si_call_addr, si_syscall, si_arch): Define new macro.
10018 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10019 _sigsys.
10020 (si_call_addr, si_syscall, si_arch): Define new macro.
10021
89b4b02f
JM
100222012-07-25 Joseph Myers <joseph@codesourcery.com>
10023
10024 [BZ #13717]
10025 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10026 Change to 2.4.21 where previously 2.4.1.
10027 * sysdeps/unix/sysv/linux/configure: Regenerated.
10028 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10029 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10030 Linux kernel version.
10031 (__ASSUME_STD_AUXV): Remove.
10032 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10033 kernel version.
10034 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10035 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10036 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10037 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10038 (__ASSUME_NETLINK_SUPPORT): Likewise.
10039 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10040 (__no_netlink_support): Remove conditional definition.
10041 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10042 Remove.
10043 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10044 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10045 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10046 (if_nameindex_ioctl): Remove.
10047 (if_nameindex_netlink): Do not handle __no_netlink_support.
10048 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10049 code.
10050 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10051 Remove conditional code.
10052 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10053 code.
10054 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10055 unconditional.
10056 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10057 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10058 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10059 Remove.
10060 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10061 [!__ASSUME_STD_AUXV]: Remove conditional code.
10062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10063 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10064 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10066 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10067 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10068 code.
10069 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10071 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10072 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10073 conditional code.
10074 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10076 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10077 code.
10078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10079 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10080 conditional code.
10081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10082 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10083 code unconditional.
10084 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10085 conditional code.
10086 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10087 unconditional.
10088 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10089 conditional code.
10090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10091 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10092 unconditional.
10093 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10094 conditional code.
10095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10096 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10097 code unconditional.
10098 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10099 conditional code.
10100 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10101 unconditional.
10102 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10103 conditional code.
10104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10105 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10106 code unconditional.
10107 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10108 conditional code.
10109 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10110 unconditional.
10111 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10112 conditional code.
10113
842a39cd
AS
101142012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10115
10116 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10117 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10118 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10119 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10120 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10121 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10122 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10123 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10124 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10125 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10126 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10127 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10128 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10129 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10130 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10131 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10132 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10133 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10134 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10135 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10136 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10137 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10138 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10139
84b3fd84
FW
101402012-07-25 Florian Weimer <fweimer@redhat.com>
10141
10142 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
10143 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10144 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10145 Introduce __libc_secure_getenv.
0c7936d5
FW
10146 * stdlib/Versions (2.17): Add secure_getenv
10147 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10148 * stdlib/secure-getenv.c: Rename __secure_getenv to
10149 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10150 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
10151 * stdlib/tst-secure-getenv.c: New.
10152 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
10153 * manual/startup.texi (Environment Access): Document
10154 secure_getenv.
84b3fd84
FW
10155 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10156 __libc_secure_getenv.
10157 * inet/ruserpass.c (ruserpass): Likewise.
10158 * malloc/mtrace.c (mtrace): Likewise.
10159 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 10160 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
10161 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10162 * sysdeps/posix/tempname.c: Likewise. Evaluate
10163 HAVE_SECURE_GETENV.
10164 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 10165 __secure_getenv to __libc_secure_getenv.
84b3fd84 10166 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
10167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10168 Likewise.
10169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10170 Likewise.
10171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10173 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10174 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 10178
56e49b71
JM
101792012-07-25 Joseph Myers <joseph@codesourcery.com>
10180
10181 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10182 (struct La_i86_retval): Likewise.
10183 (struct La_x86_64_regs): Likewise.
10184 (struct La_x86_64_retval): Likewise.
10185 (struct La_x32_regs): Likewise.
10186 (struct La_x32_retval): Likewise.
10187 (struct La_ppc32_regs): Likewise.
10188 (struct La_ppc32_retval): Likewise.
10189 (struct La_ppc64_regs): Likewise.
10190 (struct La_ppc64_retval): Likewise.
10191 (struct La_sh_regs): Likewise.
10192 (struct La_sh_retval): Likewise.
10193 (struct La_s390_32_regs): Likewise.
10194 (struct La_s390_32_retval): Likewise.
10195 (struct La_s390_64_regs): Likewise.
10196 (struct La_s390_64_retval): Likewise.
10197 (struct La_sparc32_regs): Likewise.
10198 (struct La_sparc32_retval): Likewise.
10199 (struct La_sparc64_regs): Likewise.
10200 (struct La_sparc64_retval): Likewise.
10201 (struct audit_ifaces): Remove architecture-specific pltenter and
10202 pltexit members.
10203 * sysdeps/i386/ldsodefs.h: New file.
10204 * sysdeps/powerpc/ldsodefs.h: Likewise.
10205 * sysdeps/s390/ldsodefs.h: Likewise.
10206 * sysdeps/sh/ldsodefs.h: Likewise.
10207 * sysdeps/sparc/ldsodefs.h: Likewise.
10208 * sysdeps/x86_64/ldsodefs.h: Likewise.
10209
354691b7
MP
102102012-07-25 Marek Polacek <polacek@redhat.com>
10211
10212 [BZ #6808]
10213 * math/libm-test.inc (yn_test): Add another test.
10214 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10215 to ERANGE when the result is +-Inf.
10216 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10217 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10218 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10219 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10220
bf9e2071
JM
102212012-07-24 Joseph Myers <joseph@codesourcery.com>
10222
10223 * conform/data/time.h-data (NULL): Use macro-constant. Require
10224 equal to 0.
10225 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10226 clock_t.
10227 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10228
57633811
TS
102292012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10230
10231 * configure.in <sysdeps resolving>: Correct printing
10232 Implies_before.
10233 * configure: Regenerate.
10234
c23c33b0
TS
102352012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10236
10237 * math/w_ilogb.c: Include <limits.h>.
10238 * math/w_ilogbl.c: Likewise.
10239
b5982523
JM
102402012-07-20 Joseph Myers <joseph@codesourcery.com>
10241
10242 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10243 va_copy. Document allowing for unavailable va_copy only as
10244 pre-C99 compatibility.
10245 * manual/string.texi (Copying and Concatenation): Use va_copy
10246 instead of __va_copy in concat example.
10247
ac4ea442
PT
102482012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10249
10250 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10251 (__sendto): Use create_address_port. Initialize APORT and deallocate
10252 it if not null.
10253
f98eafbd
PT
10254 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10255 with O_NOLINK passed to __file_name_lookup.
10256
898c7aab
PT
10257 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10258 with O_NOLINK passed to __file_name_lookup.
10259
0ced335a
PT
10260 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10261 negative N or less than NGIDS.
10262
b3404dbd
PT
10263 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10264 type to string_t. Set ERANGE as errno and return it if NAME is not big
10265 enough. Use memcpy instead of strncpy.
10266
0f48659e
JM
102672012-07-20 Joseph Myers <joseph@codesourcery.com>
10268
10269 * elf/Makefile (check-data): Remove.
10270 (localplt.data): New vpath directive.
10271 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10272 instead of $(check-data).
10273 * scripts/data/localplt-generic.data: Move to ...
10274 * sysdeps/generic/localplt.data: ... here.
10275 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10276 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10277 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10279 ... here.
10280 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10282 ... here.
10283 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10284 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10285 ... here.
10286 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10288 ... here.
10289 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10290 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10291 ... here.
10292 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10294 ... here.
10295
d37cbdaa
AZ
102962012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10297
10298 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10299 PPC32 and PPC64 files.
10300 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10301 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10302
46f85fc2
AK
103032012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10304
10305 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10306 __makecontext_ret to ...
10307 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10308 ... here and call exit if uc_link is NULL. New file.
10309 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10310 __makecontext_ret.S.
10311 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10312 __makecontext_ret to ...
10313 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10314 ... here and call exit if uc_link is NULL. New file.
10315 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10316 __makecontext_ret.S.
10317
08f43f9b
AK
103182012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10319
10320 * elf/elf.h (R_390_IRELATIVE): New definition.
10321 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10322 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10323 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10324 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10325 (elf_machine_lazy_rel): Likewise.
10326 * sysdeps/s390/dl-irel.h: New file.
10327 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10328 * sysdeps/s390/s390-64/memset.S: New asm code.
10329 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10330 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10331 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10332 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10333 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10334 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10335 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10336 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10337 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10338 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10339 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10340 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10341 * sysdeps/s390/s390-32/memset.S: New asm code.
10342 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10343
3b05db33
MP
103442012-07-17 Marek Polacek <polacek@redhat.com>
10345
10346 [BZ #14349]
10347 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10348 * sysdeps/s390/s390-64/configure.in: Likewise.
10349 * sysdeps/sparc/configure.in: Likewise.
10350 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10351 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10352 * sysdeps/i386/configure.in: Likewise.
10353 * sysdeps/x86_64/configure.in: Likewise.
10354 * sysdeps/sh/configure.in: Likewise.
10355 * sysdeps/s390/s390-32/configure: Regenerated.
10356 * sysdeps/s390/s390-64/configure: Likewise.
10357 * sysdeps/x86_64/configure: Likewise.
10358 * sysdeps/sh/configure: Likewise.
10359 * sysdeps/powerpc/powerpc64/configure: Likewise.
10360 * sysdeps/powerpc/powerpc32/configure: Likewise.
10361 * sysdeps/sparc/configure: Likwise.
10362 * sysdeps/i386/configure: Likewise.
10363
a66877c6
MP
10364 * elf/dl-open.c: Comment fixes.
10365
cfc82fd8
JM
103662012-07-17 Joseph Myers <joseph@codesourcery.com>
10367
bd29910a
JM
10368 * Makefile [CXX] (check-data): Remove.
10369 [CXX] (c++-types.data): New vpath directive.
10370 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10371 vpath. Do not allow for C++ type data being missing.
10372 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10373 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10374 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10375 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10376 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10377 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10378 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10380 ... here.
10381 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10383 ... here.
10384 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10386 ... here.
10387 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10389 ... here.
10390 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10391 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10392 ... here.
10393 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10394 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10395 ... here.
10396 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10398 ... here.
10399 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10401
cfc82fd8
JM
10402 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10403 definitions to architecture-specific files.
10404 (TLS_IE): Likewise.
10405 (TLS_LD): Likewise.
10406 (TLS_GD): Likewise.
10407 * sysdeps/i386/tls-macros.h: New file.
10408 * sysdeps/powerpc/tls-macros.h: Likewise.
10409 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10410 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10411 * sysdeps/sh/tls-macros.h: Likewise.
10412 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10413 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10414 * sysdeps/x86_64/tls-macros.h: Likewise.
10415
f7db3170
TS
104162012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10417
07cbfc23
TS
10418 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10419 zero value for regular exit case.
10420
f7db3170
TS
10421 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10422 (__start_context): Preserve zero value for regular exit case.
10423
dc97c227
TS
104242012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10425 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10426
10427 * manual/setjmp.texi (setcontext): Clarify normal process
10428 termination when uc_link is the null pointer.
10429 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10430 exit call.
10431
d0cd7d02
AS
104322012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10433
10434 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10435 preprocessor. Test for each exception mask separately.
10436
dd318934
AJ
104372012-07-16 Andreas Jaeger <aj@suse.de>
10438
10439 * po/ru.po: Update from translation team.
10440
8048311a
JM
104412012-07-15 Joseph Myers <joseph@codesourcery.com>
10442
10443 * conform/data/string.h-data (NULL): Use macro-constant. Require
10444 equal to 0.
10445 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10446 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10447 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10448 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10449 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10450
b637d46e
AJ
104512012-07-13 Andreas Jaeger <aj@suse.de>
10452
10453 * po/fr.po: Update from translation team.
10454
541428fe
MP
104552012-07-12 Marek Polacek <polacek@redhat.com>
10456
10457 [BZ #14173]
10458 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10459 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10460 loop condition.
10461
ec332e94
JM
104622012-07-12 Joseph Myers <joseph@codesourcery.com>
10463
10464 [BZ #13717]
10465 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10466 Change to 2.4.1 where previously 2.4.0.
10467 * sysdeps/unix/sysv/linux/configure: Regenerated.
10468 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10469 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10470 version.
10471 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10472 (__ASSUME_AT_CLKTCK): Remove.
10473 (__ASSUME_AT_PAGESIZE): Likewise.
10474 (__ASSUME_AT_XID): Likewise.
10475 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10476 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10477 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10478 unconditionally.
10479 (HAVE_AUX_PAGESIZE): Likewise.
10480 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10481 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10482 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10483
7b6e99be
JB
104842012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10485
10486 [BZ #14307]
10487 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10488 the temporary buffer used to invoke __gethostbyname2_r,
10489 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10490 host_data / struct gaih_addrtuple.
10491 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10492 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10493 header file nss/nsswitch.h.
10494 * nss/nsswitch.h (global scope): Add definition of implementation
10495 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10496 resolv/nss_dns/dns-host.c).
10497
608404eb
AJ
104982012-07-11 Andreas Jaeger <aj@suse.de>
10499
10500 * po/fr.po: Update from translation team.
10501
71220aca
AJ
10502 * po/sv.po: Update from translation team
10503 * po/fr.po: Another update from translation team.
10504
28cfe843
AZ
105052012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10506
10507 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10508 for subnormals or multiply small sinh result by itself.
10509 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10510 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10511
6b90f981
DM
105122012-07-11 David S. Miller <davem@davemloft.net>
10513
10514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10515
c6825772
AS
105162012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10517
10518 [BZ #14347]
10519 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10520 (INTERNAL_MARK): Shift it here.
10521
7b8e0d49
MP
105222012-07-10 Marek Polacek <polacek@redhat.com>
10523
10524 [BZ #14151]
10525 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10526 libc_cv_asm_global_directive with .globl.
10527 * configure: Regenerated.
10528 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10529 with .globl.
10530 * sysdeps/i386/configure: Regenerated.
10531 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10532 with .globl.
10533 * sysdeps/x86_64/configure: Regenerated.
10534 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10535 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10536 * elf/tst-unique2mod2.c: Likewise.
10537 * elf/tst-unique2mod1.c: Likewise.
10538 * elf/tst-unique1mod2.c: Likewise.
10539 * elf/tst-unique1mod1.c: Likewise.
10540 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10541 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10542 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10543 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10544 * sysdeps/mach/sysdep.h: Likewise.
10545 * sysdeps/i386/sysdep.h: Likewise.
10546 * sysdeps/i386/i386-mcount.S: Likewise.
10547 * sysdeps/x86_64/_mcount.S: Likewise.
10548 * sysdeps/x86_64/sysdep.h: Likewise.
10549 * sysdeps/sh/_mcount.S: Likewise.
10550 * sysdeps/sh/sysdep.h: Likewise.
10551 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10552 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10553 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10554 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10555 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10556 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10557 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10558 * locale/localeinfo.h: Likewise.
10559 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10560 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10561
6c55cda3
RM
105622012-07-09 Roland McGrath <roland@hack.frob.com>
10563
10564 [BZ #14336]
10565 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10566 system".
10567 * manual/message.texi (The Uniforum approach): Likewise.
10568 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10569 (glibc iconv Implementation): Likewise.
10570
638a572e
JM
105712012-07-09 Joseph Myers <joseph@codesourcery.com>
10572
10573 [BZ #14337]
10574 * math/s_clog.c (__clog): Avoid scaling a value down where that
10575 could result in underflow.
10576 * math/s_clog10.c (__clog10): Likewise.
10577 * math/s_clog10f.c (__clog10f): Likewise.
10578 * math/s_clog10l.c (__clog10l): Likewise.
10579 * math/s_clogf.c (__clogf): Likewise.
10580 * math/s_clogl.c (__clogl): Likewise.
10581 * math/libm-test.inc (clog_test): Add more tests.
10582 (clog10_test): Likewise.
10583 * sysdeps/i386/fpu/libm-test-ulps: Update.
10584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10585
261f4859
AS
105862012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10587
0abaf3e4
AS
10588 [BZ #14283]
10589 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10590 by 7 not 8 to examine high bit of fractional part.
10591
261f4859
AS
10592 [BZ #14042]
10593 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10594 for call to __mcount_internal.
10595 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10596 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10597 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10598
f17ac40d
JM
105992012-07-06 Joseph Myers <joseph@codesourcery.com>
10600
9ad63c23
JM
10601 [BZ #14154]
10602 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10603 approximation for values within 0x1p-13f of an odd multiple of
10604 pi/4.
10605 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10606 exception. Add more tests.
10607 * sysdeps/i386/fpu/libm-test-ulps: Update.
10608
f17ac40d
JM
10609 [BZ #6778]
10610 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10611 inputs and return -1 for them. Do not check for +Inf in case not
10612 reachable for +Inf.
10613 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10614 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10615 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10616 and return -1 for them. Do not check for +Inf in case not
10617 reachable for +Inf.
10618 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10619 define.
10620 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10621 and return -1 for them. Do not check for +Inf in case not
10622 reachable for +Inf.
10623 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10624 spurious underflow.
10625 * sysdeps/i386/fpu/libm-test-ulps: Update.
10626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10627
fb21f89b
MF
106282012-07-06 Mike Frysinger <vapier@gentoo.org>
10629
10630 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10631
cdfe2c5e
JM
106322012-07-05 Joseph Myers <joseph@codesourcery.com>
10633
10634 [BZ #14157]
10635 [BZ #14331]
10636 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10637 could result in spurious underflow. Scale down values above
10638 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10639 * math/s_csqrtf.c (__csqrtf): Likewise.
10640 * math/s_csqrtl.c (__csqrtl): Likewise.
10641 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10642 spurious underflow.
10643 * sysdeps/i386/fpu/libm-test-ulps: Update.
10644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10645
70d35b67
AS
106462012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10647
704bc459
AS
10648 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10649 xopen-msg.sed.
10650 * catgets/xopen-msg.awk: New file.
10651 * catgets/xopen-msg.sed: Removed.
10652
70d35b67
AS
10653 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10654 po2text.sed.
10655 * intl/po2test.awk: New file.
10656 * intl/po2test.sed: Removed.
10657
ca61cf32
JM
106582012-07-04 Joseph Myers <joseph@codesourcery.com>
10659
10660 [BZ #14328]
10661 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10662 or multiply small sinh result by itself.
10663 * math/s_ctanf.c (__ctanf): Likewise.
10664 * math/s_ctanh.c (__ctanh): Likewise.
10665 * math/s_ctanhf.c (__ctanhf): Likewise.
10666 * math/s_ctanhl.c (__ctanhl): Likewise.
10667 * math/s_ctanl.c (__ctanl): Likewise.
10668 * math/libm-test.inc (ctan_test_tonearest): New function.
10669 (ctan_test_towardzero): Likewise.
10670 (ctan_test_downward): Likewise.
10671 (ctan_test_upward): Likewise.
10672 (ctanh_test_tonearest): Likewise.
10673 (ctanh_test_towardzero): Likewise.
10674 (ctanh_test_downward): Likewise.
10675 (ctanh_test_upward): Likewise.
10676 (main): Call these new functions.
10677 * sysdeps/i386/fpu/libm-test-ulps: Update.
10678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10679
ca48a46a
MF
106802012-07-03 Mike Frysinger <vapier@gentoo.org>
10681
10682 * .gitignore: Delete /ports entry.
10683
9d63d37d
AJ
106842012-07-03 Andreas Jaeger <aj@suse.de>
10685
10686 * po/bg.po: Update from translation team.
10687 * po/cs.po: Likewise.
10688 * po/de.po: Likewise.
10689 * po/hr.po: Likewise.
10690 * po/nl.pl: Likewise.
10691 * po/pl.po: Likewise.
10692 * po/vi.po: Likewise.
10693
370ca3d2
JM
106942012-07-03 Joseph Myers <joseph@codesourcery.com>
10695
95f5a9a8
JM
10696 * Makeconfig [!+link] (+link-before-libc): New variable.
10697 [!+link] (+link-after-libc): Likewise.
10698 [!+link] (+link-tests): Likewise.
10699 [!+link] (+link): Define in terms of $(+link-before-libc) and
10700 $(+link-after-libc).
10701 [!+link-static] (+link-static-before-libc): New variable.
10702 [!+link-static] (+link-static-after-libc): Likewise.
10703 [!+link-static] (+link-static-tests): Likewise.
10704 [!+link-static] (+link-static): Define in terms of
10705 $(+link-static-before-libc) and $(+link-static-after-libc).
10706 [build-shared] (link-libc-before-gnulib): New variable.
10707 [build-shared] (link-libc-tests): Likewise.
10708 [build-shared] (link-libc): Define in terms of
10709 $(link-libc-before-gnulib).
10710 [!build-shared] (link-libc-tests): New variable.
10711 (link-libc-static-tests): New variable.
10712 [!gnulib] (gnulib-arch): New variable.
10713 [!gnulib] (gnulib-tests): Likewise.
10714 [!gnulib] (static-gnulib-arch): Likewise.
10715 [!gnulib] (static-gnulib-tests): Likewise.
10716 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10717 Define with "=" instead of ":=".
10718 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10719 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10720 * Rules (binaries-all-notests): New variable.
10721 (binaries-all-tests): Likewise.
10722 (binaries-static-notests): Likewise.
10723 (binaries-static-tests): Likewise.
10724 (binaries-all): Define using $(binaries-all-notests) and
10725 $(binaries-all-tests).
10726 (binaries-static): Define using $(binaries-static-notests) and
10727 $(binaries-static-tests).
10728 (binaries-shared-tests): New variable.
10729 (binaries-shared-notests): Likewise.
10730 (binaries-shared): Remove variable.
10731 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10732 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10733 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10734 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10735 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10736 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10737 * elf/Makefile (sln-modules): New variable.
10738 (extra-objs): Add $(sln-modules:=.o).
10739 (ldconfig-modules): Add static-stubs.
10740 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10741 * elf/static-stubs.c: New file.
10742
7a845b2c
JM
10743 [BZ #14283]
10744 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10745 by 7 not 8 to examine high bit of fractional part. Use volatile
10746 variables when splitting into final array of floats if
10747 __FLT_EVAL_METHOD__ != 0.
10748 * math/libm-test.inc (cos_test): Add another test.
10749 (sin_test): Likewise.
10750 * sysdeps/i386/fpu/libm-test-ulps: Update.
10751
e2283f38
JM
10752 [BZ #14273]
10753 * math/libm-test.inc (cosh_test): Add more tests.
10754
370ca3d2
JM
10755 * version.h (RELEASE): Set to "development".
10756 (VERSION): Set to "2.16.90".
10757
ee9247c3
CD
107582012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10759
10760 * NEWS: Update copyright. Remove last-updated date.
10761 Mention math library bug fixes and timezone data changes.
10762 * README: Mention GNU/Hurd, x32, and HPPA support status.
10763
4648c381
TS
107642012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10765
10766 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10767
aac78a43
AJ
107682012-06-27 Andreas Jaeger <aj@suse.de>
10769
10770 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10771
ed3dbfad
AJ
107722012-06-25 Andreas Jaeger <aj@suse.de>
10773
10774 * sysdeps/s390/fpu/libm-test-ulps: Update.
10775
4d0ee855
AS
107762012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10777 Thomas Schwinge <thomas@codesourcery.com>
10778
10779 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10780 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10781 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10782 fanotify_mark.
10783
af1bce34
TS
107842012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10785
a9fa33ba
TS
10786 * sysdeps/mach/start.c: Remove file.
10787 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10788 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10789 * sysdeps/sh/init-first.c: Likewise.
10790
58f902b8
TS
10791 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10792 registers for frame unwinding purposes, add CFI directives.
10793 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10794 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10795 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10796 Likewise.
10797
1518f58b
TS
10798 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10799 __fortify_fail returning.
10800 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10801
db9b5059
TS
10802 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10803 sysdeps/sh/____longjmp_chk.S.
10804 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10805 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10806 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10807 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10808
967705fe
TS
10809 * sysdeps/sh/abort-instr.h: New file.
10810 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10811 process in case exit returns.
10812
a9def8c4
TS
10813 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10814 initialize the GOT register before use.
10815
2a649725
TS
10816 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10817 calculation of ARGC > 4.
10818
af1bce34
TS
10819 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10820 meaningful names to some local labels.
10821
d230f50a
KK
108222012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10823 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10824
10825 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10826 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10827 (__arch_compare_and_exchange_val_16_acq): Likewise.
10828 (__arch_compare_and_exchange_val_32_acq): Likewise.
10829 (atomic_exchange_and_add): Fix gUSA sequence.
10830 (atomic_add): Likewise.
10831 (atomic_add_negative): Likewise.
10832 (atomic_add_zero): Likewise.
10833 (atomic_bit_test_set): Likewise.
10834
0479b305
AS
108352012-06-22 Andreas Schwab <schwab@redhat.com>
10836
10837 [BZ #13579]
10838 * include/link.h (struct link_map): Add l_free_initfini.
10839 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10840 l_initfini.
10841 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10842 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10843 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10844 set.
10845
0e3933b9
CD
108462012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
10847
10848 * configure.in: Use AC_LANG_SOURCE.
10849 * configure: Regenerate.
10850
4248b1b1
RM
108512012-06-22 Roland McGrath <roland@hack.frob.com>
10852
10853 * configure.in (libc_cv_localstatedir): New substituted variable.
10854 * configure: Regenerated.
10855 * config.make.in (localstatedir): New variable, substituted from
10856 libc_cv_localstatedir.
10857 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10858 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10859 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10860 * sysdeps/gnu/configure: Regenerated.
10861
006dd861
JL
108622012-06-21 Jeff Law <law@redhat.com>
10863
10864 [BZ #14277]
10865 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10866 free. Simplify list management for _LIBC case.
10867
79662d42
JM
108682012-06-21 Joseph Myers <joseph@codesourcery.com>
10869
b7abb4bf
JM
10870 [BZ #14273]
10871 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10872 Clear sign bit of 64-bit integer value before comparing against
10873 overflow value.
10874
79662d42
JM
10875 * sysdeps/mach/configure: Regenerated.
10876
1f150908
L
108772012-06-21 H.J. Lu <hongjiu.lu@intel.com>
10878
10879 [BZ #14278]
10880 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10881
28363bbf
JL
108822012-06-21 Jeff Law <law@redhat.com>
10883
10884 [BZ #13882]
10885 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
10886 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 10887 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
10888 * elf/dl-open.c (dl_open_worker): Likewise.
10889
09615db4
CD
108902012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
10891
10892 * scripts/list-sources.sh: Scan PORTS for translations.
10893 * po/libc.pot: Regenerated.
10894
2174c6dd
AJ
108952012-06-21 Andreas Jaeger <aj@suse.de>
10896
10897 [BZ #12194]
10898 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10899 warning.
10900 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10901 * bits/byteswap-16.h (__bswap_16): Likewise.
10902 * bits/byteswap.h (__bswap_constant_16): Likewise.
10903
3ee947b1
L
109042012-06-18 H.J. Lu <hongjiu.lu@intel.com>
10905
10906 [BZ #14117]
a2f34833
L
10907 * sysdeps/i386/fpu_control.h: Removed.
10908 * sysdeps/x86_64/fpu_control.h: Moved to ...
10909 * sysdeps/x86/fpu_control.h: Here.
10910
3ee947b1
L
10911 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10912 (_FPU_SETCW): Likewise.
10913
ed1825f8
L
109142012-06-15 H.J. Lu <hongjiu.lu@intel.com>
10915
25f1282a
L
10916 [BZ #14117]
10917 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10918 * sysdeps/x86/fpu/bits/mathinline.h: This.
10919 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10920
ed1825f8
L
10921 [BZ #14050]
10922 [BZ #14117]
10923 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10924 functions if __x86_64__ is defined.
10925
36d54b74
CLT
109262012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
10927
10928 * string/endian.h: Add !__ASSEMBLER__ condition for including
10929 conversion interfaces.
10930
10285c21
JM
109312012-06-15 Joseph Myers <joseph@codesourcery.com>
10932
10933 [BZ #14241]
10934 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10935 of ABS(x) in calculating zero to negative powers other than odd
10936 integers.
10937 * math/libm-test.inc (pow_test): Add more tests.
10938
06c5abbd
AJ
109392012-06-15 Andreas Jaeger <aj@suse.de>
10940
10941 * manual/contrib.texi (Contributors): Update entry of Liubov
10942 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10943 Machado Filho.
10944
a3aeac40
CH
109452012-06-15 Cyril Hrubis <metan@ucw.cz>
10946
10947 * string/string.h: Add __wur to GNU version of strerror_r.
10948
49bdf4c1
L
109492012-06-14 H.J. Lu <hongjiu.lu@intel.com>
10950
10951 [BZ #14229]
10952 * string/Makefile (tests): Add tst-strtok_r.
10953 * string/tst-strtok_r.c: New file.
10954 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
10955 RAX_LP/RDX_LP on SAVE_PTR.
10956
834f9b8d
RM
109572012-06-14 Roland McGrath <roland@hack.frob.com>
10958
10959 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
10960
75fa1921
JM
109612012-06-14 Joseph Myers <joseph@codesourcery.com>
10962
10963 * libm_test.inc (csqrt_test): Allow more spurious underflow
10964 exceptions.
10965 (j0_test): Likewise.
10966 (j1_test): Likewise.
10967 (y0_test): Likewise.
10968 (y1_test): Likewise.
10969
771766df
CD
109702012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
10971
10972 * po/Makefile (libc.pot): Use UTF-8 charset.
10973
ceb9e56b
PP
109742012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
10975
10976 [BZ #14210]
10977 Suppress sign-conversion warning from FD_SET.
10978 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
10979 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
10980 not unsigned long int.
10981 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
10982
ddb28975
L
109832012-06-12 H.J. Lu <hongjiu.lu@intel.com>
10984
10985 [BZ #14050]
10986 [BZ #14117]
10987 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
10988 __extern_always_inline instead of __extern_inline.
10989 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
10990 (__signbit): Likewise.
10991 (__signbitl): Support C++ namespace.
10992 (lrintf): New inline function.
10993 (lrint): Likewise.
10994 (llrintf): Likewise.
10995 (llrint): Likewise.
10996 (fmaxf): Likewise.
10997 (fmax): Likewise.
10998 (fminf): Likewise.
10999 (fmin): Likewise.
11000 (rint): Likewise.
11001 (rintf): Likewise.
11002 (ceil): Likewise.
11003 (ceilf): Likewise.
11004 (floor): Likewise.
11005 (floorf): Likewise.
11006 (nearbyint): Likewise.
11007 (nearbyintf): Likewise.
11008
d7b4fb26
TS
110092012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11010
11011 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11012 non-default versions.
11013
eb55f5c2
RM
110142012-06-11 Roland McGrath <roland@hack.frob.com>
11015
11016 [BZ #14218]
11017 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11018
366af02c
TS
110192012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11020
99ff6e5c
TS
11021 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11022 (FE_UPWARD, FE_DOWNWARD): Don't define.
11023 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11024 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11025
366af02c
TS
11026 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11027 reading it.
11028 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11029 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11030
793ea851
KK
110312012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11032
11033 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11034 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11035 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11036 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11037
a728a38f
L
110382012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11039
11040 [BZ #14117]
c08010c7
L
11041 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11042 * sysdeps/i386/fpu/Implies: New file.
11043 * sysdeps/x86_64/fpu/Implies: Likewise.
11044 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11045 * sysdeps/x86/fpu/bits/fenv.h: This.
11046
a728a38f
L
11047 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11048 __SSE_MATH__.
11049
6e230d11
SP
110502012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11051
11052 [BZ #14134]
11053 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11054 character 0xffff that matches the last element of the
11055 conversion table.
11056
1b671feb
AZ
110572012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11058
11059 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11060 fmodl commit.
11061
6043738b
AZ
110622012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11063
11064 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11065 values higher than 25.6283.
11066
34ae0b32
AZ
110672012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11068
11069 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11070 subnormal exponent extraction and add some __builtin_expect.
11071 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11072 Fix for subnormal mantissa calculation.
11073
1214ec8f
MF
110742012-06-04 Mike Frysinger <vapier@gentoo.org>
11075
11076 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11077 cpu2 is -1 and errno is not ENOSYS.
11078
f3d1f93c
L
110792012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11080
11081 [BZ #14117]
0e4a3cd7
L
11082 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11083 * sysdeps/x86/bits/string.h: This.
11084 * sysdeps/x86_64/bits/string.h: Removed.
11085
6704c645
L
11086 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11087 if not compiling for x86-64, but compiling for >= i486.
11088
48495318
L
11089 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11090 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11091
14adcbfc
L
11092 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11093 New macro from Linux kernel 3.4.0.
11094 (FP_XSTATE_MAGIC2): Likewise.
11095 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11096 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11097 (struct _fpx_sw_bytes): New struct.
11098 (struct _xsave_hdr): Likewise.
11099 (struct _ymmh_state): Likewise.
11100 (struct _xstate): Likewise.
11101
68e408ab
L
11102 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11103 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11104 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11105 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11106 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11107 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11108
f3d1f93c
L
11109 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11110 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11111 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11112 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11113 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11114 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11115
d9dc34cd
TMQMF
111162012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11117
11118 [BZ #13743]
11119 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11120 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11121 (sysdep_headers): Include sys/platform/ppc.h.
11122 * sysdeps/powerpc/test-gettimebase.c: Test for
11123 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11124 * manual/Makefile (appendices): Include platform.texi.
11125 * manual/contrib.texi (Contributors): Update @node pointers.
11126 * manual/maint.texi (Maintenance): Likewise.
11127 (Platform): New node.
11128 * manual/platform.texi: New file. Document the new features.
11129
4af3879c
SP
111302012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11131 Jakub Jelinek <jakub@redhat.com>
11132
11133 [BZ #14188]
11134 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11135 where __builtin_expect is unavailable.
11136
2fd6ff13
DM
111372012-06-03 David S. Miller <davem@davemloft.net>
11138
11139 * stdlib/longlong.h: Updated from GCC.
11140
173f7220
AS
111412012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11142
11143 [BZ #14042]
11144 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11145 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11146 __mcount_internal.
11147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11148 (GLIBC_2.16): Likewise.
11149
f34a1c6f
L
111502012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11151
11152 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11153
88a4576f
JM
111542012-06-01 Joseph Myers <joseph@codesourcery.com>
11155
ea32bcdd
JM
11156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11157 (default-abi): New variable.
11158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11159 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11160 variable.
11161 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11162 Likewise.
11163 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11164 Likewise.
11165 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11166 Likewise.
11167
88a4576f
JM
11168 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11169 definition. Document in comment.
11170
402fe938
DM
111712012-06-01 David S. Miller <davem@davemloft.net>
11172
11173 * stdlib/longlong.h: Updated from GCC.
11174
3553723f
L
111752012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11176
11177 [BZ #14117]
3bd872c4
L
11178 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11179 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11180 sys/debugreg.h sys/io.h here.
11181 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11182 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11183 sys/io.h.
11184 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11185 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11186 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11187 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11188 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11189 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11190
3553723f
L
11191 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11192 Define only if __x86_64__ is defined.
11193
4842e4fe
JM
111942012-06-01 Joseph Myers <joseph@codesourcery.com>
11195
c5bfe3d5
JM
11196 [BZ #14048]
11197 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11198 Use int64_t for variable i.
11199 * math/libm-test.inc (fmod_test): Add more tests.
11200
4842e4fe
JM
11201 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11202 z computation is not scheduled after fetestexcept.
11203 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11204 Use math_force_eval instead of asm to ensure calculation scheduled
11205 before exception test.
11206 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11207 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11208
efb73488
AJ
112092012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11210
11211 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11212 computation is not scheduled after fetestexcept.
11213
29bcce7c
L
112142012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11215
11216 [BZ #14117]
11217 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11218 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11219
73a68f94
AZ
112202012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11221
11222 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11223 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11224
67b6df78
L
112252012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11226
edf2933a 11227 [BZ #14117]
ebc64a18
L
11228 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11229 <bits/wordsize.h>.
11230 (__WCHAR_MIN): Support __WORDSIZE == 64.
11231 (__WCHAR_MAX): Likewise.
11232
edf2933a
L
11233 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11234 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11235
57c6cf40
L
11236 [BZ #14183]
11237 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11238 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11239
67b6df78 11240 [BZ #14117]
8eb6281e
L
11241 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11242 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11243
aac639f4
L
11244 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11245 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11246
67b6df78
L
11247 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11248 Defined to 1 if __x86_64__ isn't defined.
11249 (_STAT_VER_LINUX_OLD): New.
11250 (st_atime): Remove duplicate.
11251 (st_mtime): Likewise.
11252 (st_ctime): Likewise.
11253
1c2cfe81
DM
112542012-05-31 David S. Miller <davem@davemloft.net>
11255
11256 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11257 entries.
11258
5be8418c
AS
112592012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11260
e7725326
AS
11261 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11262 gen-libm-test.pl.
11263
5be8418c
AS
11264 [BZ #14132]
11265 * elf/dl-reloc.c: Include <_itoa.h>.
11266 (_dl_reloc_bad_type): Remove use of INTUSE.
11267 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11268 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11269 * stdio-common/psiginfo.c (psiginfo): Likewise.
11270 * stdio-common/psignal.c (psignal): Likewise.
11271 * string/strsignal.c (strsignal): Likewise.
11272 * include/signal.h (_sys_siglist): Declare hidden proto.
11273 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11274 INTVARDEF with libc_hidden_data_def.
11275 * stdio-common/itoa-udigits.c: Likewise.
11276 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11277 (_itoa_lower_digits_internal): Remove declaration.
11278 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11279 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11280 (_sys_sigabbrev_internal): Remove aliases.
11281 (_sys_siglist): Define hidden alias.
11282
507352f1
MT
112832012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11284
11285 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11286 bits/sysctl.h.
11287
42bbb1c3
L
112882012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11289
11290 [BZ #14117]
6bd784b6
L
11291 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11292 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11293
8bca20f0
L
11294 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11295 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11296 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11297 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11298 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11299 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11300
f9e890a9
L
11301 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11302 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11303 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11304
471101a1
L
11305 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11306 with __addr.
11307 (insw): Likewise.
11308 (insl): Likewise.
11309 (outsb): Likewise.
11310 (outsw): Likewise.
11311 (outsl): Likewise.
11312
6451c862
L
11313 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11314 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11315 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11316
a254b8c9
L
11317 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11318 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11319 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11320 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11321 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11322 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11323
b8dfdd92
L
11324 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11325 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11326
578cd270
L
11327 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11328 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11329
de662f5f
L
11330 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11331 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11332 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11333
25653439
L
11334 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11335 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11336 to ...
11337 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11338
6bad24a0
L
11339 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11340 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11341 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11342
42bbb1c3
L
11343 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11344 for x86-64.
11345 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11346
2d10d547
JM
113472012-05-31 Joseph Myers <joseph@codesourcery.com>
11348
11349 * math/math.h (M_El): Use two more decimal places.
11350 (M_LOG2El): Likewise.
11351 (M_LOG10El): Likewise.
11352 (M_LN2l): Likewise.
11353 (M_LN10l): Likewise.
11354 (M_PIl): Likewise.
11355 (M_PI_2l): Likewise.
11356 (M_PI_4l): Likewise.
11357 (M_1_PIl): Likewise.
11358 (M_2_PIl): Likewise.
11359 (M_2_SQRTPIl): Likewise.
11360 (M_SQRT2l): Likewise.
11361 (M_SQRT1_2l): Likewise.
11362
f230c29b
DM
113632012-05-31 David S. Miller <davem@davemloft.net>
11364
11365 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11366 values between float registers.
11367 * sysdeps/sparc/sparc64/memset.S: Likewise.
11368 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11369
fed806c3
MF
113702012-05-31 Mike Frysinger <vapier@gentoo.org>
11371
11372 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11373 -D_FORTIFY_SOURCE=1.
11374 (CPPFLAGS-tst-longjmp_chk.c): Define.
11375 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11376 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11377 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11378 CFLAGS-tst-wchar-h.c.
11379
30917259
MP
113802012-05-31 Marek Polacek <polacek@redhat.com>
11381
11382 [BZ #14132]
11383 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11384 __endmntent_internal): Remove declaration.
11385 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11386 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11387 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11388
1c58d5dc
DM
113892012-05-30 David S. Miller <davem@davemloft.net>
11390
11391 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11392 (___Q_simulate_exceptions): Use real FP ops rather than writing
11393 into the %fsr.
11394 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11395 Likewise.
11396
7dc00e0d
L
113972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11398
11399 [BZ #14117]
0bd53985
L
11400 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11401 * sysdeps/x86/bits/xtitypes.h: This.
11402
3a257e66
L
11403 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11404 * sysdeps/x86/bits/wordsize.h: This.
11405
62f62904
L
11406 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11407 * sysdeps/x86/bits/huge_vall.h: This.
11408
404fe9d9
L
11409 * sysdeps/i386/bits/select.h: Removed.
11410 * sysdeps/x86_64/bits/select.h: Renamed to ...
11411 * sysdeps/x86/bits/select.h: This.
11412
d48d0446
L
11413 * sysdeps/i386/bits/setjmp.h: Removed.
11414 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11415 * sysdeps/x86/bits/setjmp.h: This.
11416
7dc00e0d
L
11417 * sysdeps/i386/bits/mathdef.h: Removed.
11418 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11419 * sysdeps/x86/bits/mathdef.h: This.
11420
03277f8f
AS
114212012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11422
11423 [BZ #14132]
11424 * include/sys/socket.h (__connect_internal)
11425 (__libc_sa_len_internal): Remove declaration.
11426 (__connect, __libc_sa_len): Declare hidden_proto.
11427 (SA_LEN): Remove use of INTUSE.
11428 * socket/connect.c: Add libc_hidden_def.
11429 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11430 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11431 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11432 alias.
11433 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11434 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11435 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11436 of adding _internal alias.
11437
13764867
L
114382012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11439
11440 [BZ #14117]
6bd97696
L
11441 * sysdeps/i386/bits/link.h: Removed.
11442 * sysdeps/i386/bits/linkmap.h: Likewise.
11443 * sysdeps/x86_64/bits/link.h: Renamed to ...
11444 * sysdeps/x86/bits/link.h: This.
11445 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11446 * sysdeps/x86/bits/linkmap.h: This.
11447
f726f0bb
L
11448 * sysdeps/i386/bits/endian.h: Removed.
11449 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11450 * sysdeps/x86/bits/endian.h: This.
11451
13764867
L
11452 * sysdeps/i386/bits/byteswap.h: Removed.
11453 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11454 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11455 * sysdeps/x86/bits/byteswap.h: This.
11456 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11457 * sysdeps/x86/bits/byteswap-16.h: This.
11458 * sysdeps/i386/Implies: Add x86.
11459 * sysdeps/x86_64/Implies: Likewise.
11460
ae251b0b
DM
114612012-05-30 David S. Miller <davem@davemloft.net>
11462
11463 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11464 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11465 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11466 (FP_TRAPPING_EXCEPTIONS): Define.
11467 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11468 (FP_TRAPPING_EXCEPTIONS): Define.
11469 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11470 subnormals only when inexact has been signalled or underflow
11471 exceptions are enabled.
11472 (_FP_PACK_CANONICAL): Likewise.
11473
d5c90867
L
114742012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11475
11476 [BZ #14183]
11477 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11478 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11479
63f1549e
RH
114802012-05-30 Richard Henderson <rth@twiddle.net>
11481
8d8f2279
RH
11482 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11483 with #ifndef NOT_IN_libc.
11484
63f1549e
RH
11485 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11486 marked to avoid plt entry.
11487
0ab0291b
L
114882012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11489
11490 [BZ #14112]
11491 * Makeconfig (default-abi): New macro.
11492 (abi-includes): Likewise.
11493 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11494 $(abi-$(default-abi)-lib-soname) for soname if defined.
11495 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11496 abi-variants.
11497 * Makefile (installed-stubs): Likewise.
11498 * include/stubs-biarch.h: Removed.
11499 * scripts/lib-names.awk: Only handle one library at a time.
11500 * scripts/soversions.awk: Remove WORDSIZE support.
11501 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11502 entries.
11503 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11504 Removed.
11505 (syscall-list-default-condition): Likewise.
11506 (syscall-list-default-condition): Likewise.
11507 (syscall-list-includes): Likewise.
11508 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11509 syscall-list-* with abi-*. Handle undefined abi-variants.
11510 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11511 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11512 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11513 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11514 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11515 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11516 Removed.
11517 (syscall-list-32-options): Likewise.
11518 (syscall-list-32-condition): Likewise.
11519 (syscall-list-64-options): Likewise.
11520 (syscall-list-64-condition): Likewise.
11521 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11522 macro.
11523 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11524 Renamed to ...
11525 (abi-*): This.
11526 (abi-64-ld-soname): New macro.
11527 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11528 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11529 Renamed to ...
11530 (abi-*): This.
11531 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11532 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11533
4da0431d
JM
115342012-05-30 Joseph Myers <joseph@codesourcery.com>
11535
3a85279c
JM
11536 * sysdeps/unix/sysv/linux/kernel-features.h
11537 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11538 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11539 include <kernel-features.h>.
11540 [!__NR_ftruncate64]: Remove conditional code.
11541 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11542 [__NR_ftruncate64]: Make code unconditional.
11543 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11544 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11545 include <kernel-features.h>.
11546 [!__NR_ftruncate64]: Remove conditional code.
11547 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11548 [__NR_ftruncate64]: Make code unconditional.
11549 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11551 include <kernel-features.h>.
11552 [!__NR_ftruncate64]: Remove conditional code.
11553 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11554 [__NR_ftruncate64]: Make code unconditional.
11555 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11557 include <kernel-features.h>.
11558 [!__NR_ftruncate64]: Remove conditional code.
11559 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11560 [__NR_ftruncate64]: Make code unconditional.
11561 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11562
4da0431d
JM
11563 * configure.in (libc_cv_fpie): Weaken to a compile test using
11564 LIBC_TRY_CC_OPTION.
11565 * configure: Regenerated.
11566
11ef492c
AK
115672012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11568
11569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11570 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11572 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11573 Refreshed.
11574 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11577 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11579 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11580 Refreshed.
11581
d66ef399
DM
115822012-05-27 David S. Miller <davem@davemloft.net>
11583
11584 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11585 (___Q_zero): New.
11586 (__Q_simulate_exceptions): Return void. Change to simulate
11587 exceptions by writing into the %fsr.
11588 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11589 (__Qp_handle_exceptions): Likewise.
11590 (numbers): Delete.
11591 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11592 __Qp_handle_exceptions.
11593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11594 __Qp_handle_exceptions.
11595 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11596 as unused and give dummy FP_RND_NEAREST initializer.
11597 (FP_INHIBIT_RESULTS): Define.
11598 (___Q_simulate_exceptions): Update declaration.
11599 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11600 formatting.
11601 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11602 as unused and give dummy FP_RND_NEAREST initializer.
11603 (__Qp_handle_exceptions): Update declaration.
11604 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11605 formatting.
11606
04fb54b5
TS
116072012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11608
11609 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11610 the temporary FPU control word.
11611 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11612 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11613 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11614 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11615 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11616 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11617 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11618 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11619 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11620 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11621 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11622
3f99608f
KK
116232012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11624
11625 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11626 fields.
11627
65a4de4e
CLT
116282012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11629
11630 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11631 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11632 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11633 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11634 Likewise.
11635 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11636 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11637 Likewise.
11638
15749d40
UD
116392012-05-27 Ulrich Drepper <drepper@gmail.com>
11640
11641 * po/h.po: Update from translation team.
11642
25dbcb27
AS
116432012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11644
3d3f8e55
AS
11645 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11646
25dbcb27
AS
11647 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11648 handling of denormals.
11649 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11650 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11651 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11652 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11653 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11654 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11655 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11656 Likewise.
11657
7ad47a80 116582012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
11659
11660 [BZ #14152]
11661 * math/libm-test.inc (fma_test): Don't always expect underflow
11662 exception.
11663
9c6ea9fa
SP
116642012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11665
11666 [BZ #12416]
11667 * elf/tst-execstack.c: Include stackinfo.h.
11668 (do_test): Adjust test case to ensure that pthread_getattr_np
11669 behaviour remains the same after marking stack executable.
11670
a8239222
JM
116712012-05-25 Joseph Myers <joseph@codesourcery.com>
11672
11673 * sysdeps/unix/sysv/linux/kernel-features.h
11674 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11675 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11676 kernel-features.h.
11677 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11678 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11679 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11680 kernel-features.h.
11681 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11682 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11683
918b5606
L
116842012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11685
11686 * configure.in: Define the default includes to being none.
11687 * configure: Regenerated.
11688
3a097cc7
RM
116892012-05-25 Roland McGrath <roland@hack.frob.com>
11690
8422c9a5
RM
11691 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11692 * sysdeps/x86_64/setjmp.S: Likewise.
11693 * sysdeps/i386/bsd-setjmp.S: Likewise.
11694 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11695 * sysdeps/i386/setjmp.S: Likewise.
11696 * sysdeps/i386/__longjmp.S: Likewise.
11697 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11698 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11699
3a097cc7
RM
11700 * include/stap-probe.h: New file.
11701 * configure.in: Handle --enable-systemtap.
11702 * configure: Regenerated.
11703 * config.h.in (USE_STAP_PROBE): New #undef.
11704 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11705 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11706 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11707
21708942
JM
117082012-05-25 Joseph Myers <joseph@codesourcery.com>
11709
11710 [BZ #13717]
11711 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11712 to 2.4.0 where earlier.
11713 * sysdeps/unix/sysv/linux/configure: Regenerated.
11714 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11715 <kernel-features.h>.
11716 [__ASSUME_32BITUIDS]: Make code unconditional.
11717 [!__ASSUME_32BITUIDS]: Remove conditional code.
11718 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11719 <kernel-features.h>.
11720 [__ASSUME_32BITUIDS]: Make code unconditional.
11721 [!__ASSUME_32BITUIDS]: Remove conditional code.
11722 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11723 [__ASSUME_32BITUIDS]: Make code unconditional.
11724 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11725 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11726 <kernel-features.h>.
11727 [__ASSUME_32BITUIDS]: Make code unconditional.
11728 [!__ASSUME_32BITUIDS]: Remove conditional code.
11729 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11730 <kernel-features.h>.
11731 [__ASSUME_32BITUIDS]: Make code unconditional.
11732 [!__ASSUME_32BITUIDS]: Remove conditional code.
11733 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11734 <kernel-features.h>.
11735 [__ASSUME_32BITUIDS]: Make code unconditional.
11736 [!__ASSUME_32BITUIDS]: Remove conditional code.
11737 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11738 <kernel-features.h>.
11739 [__ASSUME_32BITUIDS]: Make code unconditional.
11740 [!__ASSUME_32BITUIDS]: Remove conditional code.
11741 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11742 <kernel-features.h>.
11743 [__ASSUME_32BITUIDS]: Make code unconditional.
11744 [!__ASSUME_32BITUIDS]: Remove conditional code.
11745 * sysdeps/unix/sysv/linux/i386/getresuid.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/i386/getuid.c: Do not include
11750 <kernel-features.h>.
11751 [__ASSUME_32BITUIDS]: Make code unconditional.
11752 [!__ASSUME_32BITUIDS]: Remove conditional code.
11753 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11754 <kernel-features.h>.
11755 [__ASSUME_32BITUIDS]: Make code unconditional.
11756 [!__ASSUME_32BITUIDS]: Remove conditional code.
11757 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11758 <kernel-features.h>.
11759 [__ASSUME_32BITUIDS]: Make code unconditional.
11760 [!__ASSUME_32BITUIDS]: Remove conditional code.
11761 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11762 <kernel-features.h>.
11763 [__ASSUME_32BITUIDS]: Make code unconditional.
11764 [!__ASSUME_32BITUIDS]: Remove conditional code.
11765 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11766 <kernel-features.h>.
11767 [__NR_setresgid] (__setresgid): Do not declare.
11768 [__ASSUME_32BITUIDS]: Make code unconditional.
11769 [!__ASSUME_32BITUIDS]: Remove conditional code.
11770 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11771 <kernel-features.h>.
11772 [__NR_setresuid] (__setresuid): Do not declare.
11773 [__ASSUME_32BITUIDS]: Make code unconditional.
11774 [!__ASSUME_32BITUIDS]: Remove conditional code.
11775 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11776 <kernel-features.h>.
11777 [__ASSUME_32BITUIDS]: Make code unconditional.
11778 [!__ASSUME_32BITUIDS]: Remove conditional code.
11779 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11780 <kernel-features.h>.
11781 [__ASSUME_32BITUIDS]: Make code unconditional.
11782 [!__ASSUME_32BITUIDS]: Remove conditional code.
11783 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11784 <kernel-features.h>.
11785 [__ASSUME_32BITUIDS]: Make code unconditional.
11786 [!__ASSUME_32BITUIDS]: Remove conditional code.
11787 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11788 <kernel-features.h>.
11789 [__ASSUME_32BITUIDS]: Make code unconditional.
11790 [!__ASSUME_32BITUIDS]: Remove conditional code.
11791 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11792 <kernel-features.h>.
11793 [__ASSUME_32BITUIDS]: Make code unconditional.
11794 [!__ASSUME_32BITUIDS]: Remove conditional code.
11795 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11796 <kernel-features.h>.
11797 [__ASSUME_32BITUIDS]: Make code unconditional.
11798 [!__ASSUME_32BITUIDS]: Remove conditional code.
11799 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11800 <kernel-features.h>.
11801 [__ASSUME_32BITUIDS]: Make code unconditional.
11802 [!__ASSUME_32BITUIDS]: Remove conditional code.
11803 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11804 <kernel-features.h>.
11805 [__ASSUME_32BITUIDS]: Make code unconditional.
11806 [!__ASSUME_32BITUIDS]: Remove conditional code.
11807 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11808 <kernel-features.h>.
11809 [__ASSUME_32BITUIDS]: Make code unconditional.
11810 [!__ASSUME_32BITUIDS]: Remove conditional code.
11811 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11812 <kernel-features.h>.
11813 [__ASSUME_32BITUIDS]: Make code unconditional.
11814 [!__ASSUME_32BITUIDS]: Remove conditional code.
11815 * sysdeps/unix/sysv/linux/kernel-features.h
11816 (__ASSUME_SETRESUID_SYSCALL): Remove.
11817 (__ASSUME_SETRESGID_SYSCALL): Likewise.
11818 (__ASSUME_32BITUIDS): Likewise.
11819 (__ASSUME_LDT_WORKS): Likewise.
11820 (__ASSUME_O_DIRECTORY): Likewise.
11821 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11822 architecture but not kernel version.
11823 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11824 (__ASSUME_MMAP2_SYSCALL): Likewise.
11825 (__ASSUME_STAT64_SYSCALL): Likewise.
11826 (__ASSUME_IPC64): Likewise.
11827 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11828 <kernel-features.h>.
11829 [__ASSUME_32BITUIDS]: Make code unconditional.
11830 [!__ASSUME_32BITUIDS]: Remove conditional code.
11831 * sysdeps/unix/sysv/linux/opendir.c: Do not include
11832 <kernel-features.h>.
11833 [__ASSUME_O_DIRECTORY]: Make code unconditional.
11834 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11835 132096]: Remove conditional code.
11836 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11837 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11838 <kernel-features.h>.
11839 [__ASSUME_32BITUIDS]: Make code unconditional.
11840 [!__ASSUME_32BITUIDS]: Remove conditional code.
11841 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11842 <kernel-features.h>.
11843 [__ASSUME_32BITUIDS]: Make code unconditional.
11844 [!__ASSUME_32BITUIDS]: Remove conditional code.
11845 * sysdeps/unix/sysv/linux/setegid.c: Do not include
11846 <kernel-features.h>.
11847 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11848 unconditional.
11849 (__setresgid): Do not declare.
11850 [__ASSUME_32BITUIDS]: Make code unconditional.
11851 [!__ASSUME_32BITUIDS]: Remove conditional code.
11852 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11853 <kernel-features.h>.
11854 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11855 unconditional.
11856 (__setresuid): Do not declare.
11857 [__ASSUME_32BITUIDS]: Make code unconditional.
11858 [!__ASSUME_32BITUIDS]: Remove conditional code.
11859 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11860 <kernel-features.h>.
11861 [__ASSUME_32BITUIDS]: Make code unconditional.
11862 [!__ASSUME_32BITUIDS]: Remove conditional code.
11863 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11864 <kernel-features.h>.
11865 [__ASSUME_32BITUIDS]: Make code unconditional.
11866 [!__ASSUME_32BITUIDS]: Remove conditional code.
11867
a386f1cc
RH
118682012-05-25 Richard Henderson <rth@twiddle.net>
11869
11870 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11871 dl_hwcap to ifunc resolver.
11872 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11873 elf_ifunc_invoke.
11874 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11875 dl_hwcap to ifunc resolver.
11876 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11877
b6550497
JM
118782012-05-24 Joseph Myers <joseph@codesourcery.com>
11879
11880 [BZ #14153]
11881 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11882 for |x| <= 2**-26, not 2**-57.
11883 * math/libm-test.inc (acos_test): Do not allow spurious underflow
11884 exception.
11885
b0bc23a1
JL
118862012-05-24 Jeff Law <law@redhat.com>
11887
11888 * stdio-common/Makefile (tests): Add bug25.
11889 * stdio-common/bug25.c: New test.
11890
347c92e9
L
118912012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11892
11893 [BZ #13576]
11894 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11895 multiple of MALLOC_ALIGNMENT in size.
11896 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11897
6bcc8b3f
JM
118982012-05-24 Joseph Myers <joseph@codesourcery.com>
11899
11900 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11901 Require >= 256.
11902 (FILENAME_MAX): Use macro-int-constant.
11903 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
11904 (_IOFBF): Use macro-int-constant.
11905 (_IOLBF): Likewise.
11906 (_IONBF): Likewise.
11907 (SEEK_CUR): Likewise.
11908 (SEEK_END): Likewise.
11909 (SEEK_SET): Likewise.
11910 (TMP_MAX): Likewise.
11911 (EOF): Use macro-int-constant. Require < 0.
11912 (NULL): Use macro-constant. Require == 0.
11913 (stdin): Require type to be FILE *.
11914 (stdout): Likewise.
11915 (stderr): Likewise.
11916 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11917 macro-int-constant.
11918 (EXIT_SUCCESS): Likewise.
11919 (NULL): Use macro-constant. Require == 0.
11920 (RAND_MAX): Use macro-int-constant.
11921 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11922 [C99-based standards] (strtof): Require function.
11923 [C99-based standards] (strtold): Likewise.
11924 [C99-based standards] (strtoll): Likewise.
11925 [C99-based standards] (strtoull): Likewise.
11926 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11927 [ISO || ISO99 || ISO11] (limits.h): Likewise.
11928 [ISO || ISO99 || ISO11] (math.h): Likewise.
11929 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11930 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11931 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11932
d18ea0c5
AS
119332012-05-24 Andreas Schwab <schwab@linux-m68k.org>
11934
11935 [BZ #14132]
56d25bb8
AS
11936 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11937 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11938 * intl/dgettext.c (DCGETTEXT): Likewise.
11939 * intl/gettext.c (DCGETTEXT): Likewise.
11940 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11941 * posix/regex_internal.h (gettext): Likewise.
11942 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11943 Remove declaration.
11944 * include/argz.h (__argz_count_internal)
11945 (__argz_stringify_internal): Remove declaration.
11946 (__argz_count, __argz_stringify): Declare hidden proto.
11947 * intl/dcgettext.c: Remove use of INTDEF.
11948 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
11949 * string/argz-stringify.c: Likewise.
11950 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11951 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11952 Declare hidden proto.
d18ea0c5
AS
11953 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
11954 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
11955 Declare hidden proto.
11956 * include/stdio.h (__asprintf_internal): Don't declare.
11957 (__asprintf): Don't define as macro. Declare hidden proto.
11958 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
11959 (__fsetlocking): Declare hidden proto.
11960 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
11961 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
11962 hidden proto.
11963 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
11964 (_IO_setlinebuf): Remove use of INTUSE.
11965 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
11966 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
11967 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
11968 Remove declaration.
11969 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
11970 (_IO_do_flush): Remove use of INTUSE.
11971 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
11972 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
11973 (_IO_adjust_column, _IO_least_wmarker)
11974 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
11975 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
11976 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
11977 (_IO_default_doallocate, _IO_wdefault_doallocate)
11978 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
11979 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
11980 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
11981 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
11982 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
11983 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
11984 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
11985 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
11986 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
11987 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
11988 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
11989 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
11990 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
11991 proto.
11992 (_IO_flush_all_internal, _IO_adjust_column_internal)
11993 (_IO_default_uflow_internal, _IO_default_finish_internal)
11994 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
11995 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
11996 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
11997 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
11998 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
11999 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12000 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12001 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12002 (_IO_file_close_internal, _IO_file_close_it_internal)
12003 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12004 (_IO_file_init_internal, _IO_file_attach_internal)
12005 (_IO_file_fopen_internal, _IO_file_read_internal)
12006 (_IO_file_sync_internal, _IO_file_seek_internal)
12007 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12008 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12009 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12010 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12011 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12012 (_IO_list_all_internal, _IO_link_in_internal)
12013 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12014 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12015 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12016 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12017 (_IO_do_write_internal, _IO_padn_internal)
12018 (_IO_getline_info_internal, _IO_getline_internal)
12019 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12020 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12021 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12022 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12023 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12024 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12025 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12026 with libc_hidden_ver, remove use of INTUSE.
12027 * libio/genops.c: Likewise.
12028 * libio/freopen.c: Likewise.
12029 * libio/freopen64.c: Likewise.
12030 * libio/iofclose.c: Likewise.
12031 * libio/iofdopen.c: Likewise.
12032 * libio/iofflush.c: Likewise.
12033 * libio/iofflush_u.c: Likewise.
12034 * libio/iofgets.c: Likewise.
12035 * libio/iofgets_u.c: Likewise.
12036 * libio/iofopen.c: Likewise.
12037 * libio/iofopncook.c: Likewise.
12038 * libio/iofread.c: Likewise.
12039 * libio/iofread_u.c: Likewise.
12040 * libio/ioftell.c: Likewise.
12041 * libio/iofwrite.c: Likewise.
12042 * libio/iogetline.c: Likewise.
12043 * libio/iogets.c: Likewise.
12044 * libio/iogetwline.c: Likewise.
12045 * libio/iopadn.c: Likewise.
12046 * libio/iopopen.c: Likewise.
12047 * libio/ioseekoff.c: Likewise.
12048 * libio/ioseekpos.c: Likewise.
12049 * libio/iosetbuffer.c: Likewise.
12050 * libio/iosetvbuf.c: Likewise.
12051 * libio/ioungetc.c: Likewise.
12052 * libio/ioungetwc.c: Likewise.
12053 * libio/iovdprintf.c: Likewise.
12054 * libio/iovsprintf.c: Likewise.
12055 * libio/iovsscanf.c: Likewise.
12056 * libio/memstream.c: Likewise.
12057 * libio/obprintf.c: Likewise.
12058 * libio/oldfileops.c: Likewise.
12059 * libio/oldiofclose.c: Likewise.
12060 * libio/oldiofdopen.c: Likewise.
12061 * libio/oldiofopen.c: Likewise.
12062 * libio/oldiopopen.c: Likewise.
12063 * libio/oldstdfiles.c: Likewise.
12064 * libio/putc.c: Likewise.
12065 * libio/setbuf.c: Likewise.
12066 * libio/setlinebuf.c: Likewise.
12067 * libio/stdfiles.c: Likewise.
12068 * libio/strops.c: Likewise.
12069 * libio/vasprintf.c: Likewise.
12070 * libio/vscanf.c: Likewise.
12071 * libio/vsnprintf.c: Likewise.
12072 * libio/vswprintf.c: Likewise.
12073 * libio/wfiledoalloc.c: Likewise.
12074 * libio/wfileops.c: Likewise.
12075 * libio/wgenops.c: Likewise.
12076 * libio/wmemstream.c: Likewise.
12077 * libio/wstrops.c: Likewise.
12078 * libio/__fpurge.c: Likewise.
12079 * libio/__fsetlocking.c: Likewise.
12080 * assert/assert.c: Likewise.
12081 * debug/fgets_chk.c: Likewise.
12082 * debug/fgets_u_chk.c: Likewise.
12083 * debug/fread_chk.c: Likewise.
12084 * debug/fread_u_chk.c: Likewise.
12085 * debug/gets_chk.c: Likewise.
12086 * debug/obprintf_chk.c: Likewise.
12087 * debug/vasprintf_chk.c: Likewise.
12088 * debug/vdprintf_chk.c: Likewise.
12089 * debug/vsnprintf_chk.c: Likewise.
12090 * debug/vsprintf_chk.c: Likewise.
12091 * malloc/mtrace.c: Likewise.
12092 * misc/error.c: Likewise.
12093 * misc/syslog.c: Likewise.
12094 * stdio-common/asprintf.c: Likewise.
12095 * stdio-common/fxprintf.c: Likewise.
12096 * stdio-common/getw.c: Likewise.
12097 * stdio-common/isoc99_fscanf.c: Likewise.
12098 * stdio-common/isoc99_scanf.c: Likewise.
12099 * stdio-common/isoc99_vfscanf.c: Likewise.
12100 * stdio-common/isoc99_vscanf.c: Likewise.
12101 * stdio-common/isoc99_vsscanf.c: Likewise.
12102 * stdio-common/printf-prs.c: Likewise.
12103 * stdio-common/printf_fp.c: Likewise.
12104 * stdio-common/printf_fphex.c: Likewise.
12105 * stdio-common/printf_size.c: Likewise.
12106 * stdio-common/putw.c: Likewise.
12107 * stdio-common/scanf.c: Likewise.
12108 * stdio-common/sprintf.c: Likewise.
12109 * stdio-common/tmpfile.c: Likewise.
12110 * stdio-common/vfprintf.c: Likewise.
12111 * stdio-common/vfscanf.c: Likewise.
12112 * stdlib/strfmon_l.c: Likewise.
12113 * sunrpc/openchild.c: Likewise.
12114 * sunrpc/xdr_stdio.c: Likewise.
12115 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12116 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12117
d6c33fda
RM
121182012-05-24 Roland McGrath <roland@hack.frob.com>
12119
c1487492
RM
12120 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12121
12122 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12123 in the third column, to generate for the shared library an IFUNC
12124 that uses _dl_vdso_vsym.
12125 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12126 * Makeconfig (object-suffixes-noshared): New variable.
12127
12128 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12129 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12130 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12131 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12132
d6c33fda
RM
12133 [BZ #14132]
12134 * include/sys/time.h (__gettimeofday): Remove macro.
12135 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12136 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12137 Remove INTDEF.
12138 (__gettimeofday): Add libc_hidden_def.
12139 (gettimeofday): Add libc_hidden_weak.
12140 * sysdeps/mach/gettimeofday.c: Likewise.
12141 * sysdeps/posix/gettimeofday.c: Likewise.
12142 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12143 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12144 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12145 (__gettimeofday_internal): Remove strong_alias.
12146 (__gettimeofday): Add libc_hidden_def.
12147 (gettimeofday): Add libc_hidden_weak.
12148 * sysdeps/unix/syscalls.list (gettimeofday):
12149 Remove __gettimeofday_internal alias.
12150
b5a2bbe6
L
121512012-05-24 Daniel Jacobowitz <drow@false.org>
12152 H.J. Lu <hongjiu.lu@intel.com>
12153
12154 [BZ #12495]
12155 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12156 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12157 (largebin_index_32_big): New.
12158 (largebin_index): Use it for 16-byte alignment.
12159 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12160 correction with front_misalign.
12161
cfba4fda
L
121622012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12163
7f907421
L
12164 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12166 Likewise.
12167 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12168 Likewise.
12169 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12170 Likewise.
12171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12172 Likewise.
12173 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12174 Likewise.
12175 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12176 Likewise.
12177 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12178 Likewise.
12179 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12180 Likewise.
12181 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12182 Likewise.
12183 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12184 Likewise.
12185 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12186 Likewise.
12187 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12188 Likewise.
12189
cfba4fda
L
12190 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12191 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12192
80bad0cc
JM
121932012-05-24 Joseph Myers <joseph@codesourcery.com>
12194
7a25eb06
JM
12195 [BZ #10846]
12196 [BZ #14036]
12197 * math/libm-test.inc (exp_test): Add test from bug 14036.
12198 (pow_test): Add test from bug 10846.
12199
795405f9
JM
12200 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12201 and other flags.
12202 (special_function): Do not include flags in test name.
12203 (parse_args): Likewise.
12204 * sysdeps/i386/fpu/libm-test-ulps: Update.
12205 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12206 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12207 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12209
80bad0cc
JM
12210 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12211 exceptions.
12212 * math/libm-test.inc ("Philosophy"): Update comment about
12213 exception testing.
12214 (UNDERFLOW_EXCEPTION): New macro.
12215 (UNDERFLOW_EXCEPTION_OK): Likewise.
12216 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12217 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12218 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12219 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12220 (INVALID_EXCEPTION_OK): Update value.
12221 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12222 (OVERFLOW_EXCEPTION_OK): Likewise.
12223 (IGNORE_ZERO_INF_SIGN): Likewise.
12224 (test_exceptions): Handle underflow exceptions.
12225 (acos_test): Update for underflow exception expectations.
12226 (cexp_test): Likewise.
12227 (clog_test): Likewise.
12228 (clog10_test): Likewise.
12229 (csqrt_test): Likewise.
12230 (ctan_test): Likewise.
12231 (ctanh_test): Likewise.
12232 (exp_test): Likewise.
12233 (exp10_test): Likewise.
12234 (exp2_test): Likewise.
12235 (expm1_test): Likewise.
12236 (fma_test): Likewise.
12237 (j0_test): Likewise.
12238 (jn_test): Likewise.
12239 (nexttoward_test): Likewise.
12240 (pow_test): Likewise.
12241 (scalbn_test): Likewise.
12242 (scalbln_test): Likewise.
12243 (tan_test): Likewise.
12244 (y1_test): Likewise.
12245 * sysdeps/i386/fpu/libm-test-ulps: Update.
12246 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12247
9e0e3d0b
DM
122482012-05-23 David S. Miller <davem@davemloft.net>
12249
12250 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12251 (__libc_sigaction): Remove unused local variables.
12252
ccd0a08f
L
122532012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12254
12255 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12256
62bdf9a6
PE
122572012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12258
f8591f80
PE
12259 mktime: avoid signed integer overflow
12260 * time/mktime.c (__mktime_internal): Do not mishandle the case
12261 where diff == INT_MIN.
12262
94c7d826
PE
12263 mktime: simplify computation of average
12264 * time/mktime.c (ranged_convert): Use new time_t_avg function
12265 instead of rolling our own (probably-slower) code.
12266
ce73d683
PE
12267 mktime: do not assume signed right shift propagates sign bit
12268 * time/mktime.c (isdst_differ): New static function.
12269 (__mktime_internal): No need to normalize tm_isdst now.
12270 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12271 tm_isdst values.
12272
72a22e59
PE
12273 mktime: merge another wrapv change from gnulib
12274 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12275 from some compilers.
12276
68605433
PE
12277 mktime: remove incorrect attempt at unusual arithmetics
12278 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12279 The code didn't really work on such machines anyway.
12280 (TYPE_MINIMUM): Assume two's complement.
12281 (twos_complement_arithmetic): Verify that long_int and time_t
12282 are two's complement (or unsigned, in the latter case).
12283
03cf7fe3
PE
12284 mktime: check signed shifts on long_int and time_t, too
12285 * time/mktime.c (SHR): Check that shifts work as desired
12286 on the types long_int and time_t too, as SHR is used on
12287 such types.
12288
f04dfbc2
PE
12289 mktime: do not assume 'long' is wide enough
12290 * time/mktime.c (verify): Move decl up.
12291 (long_int): New type.
12292 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12293 to remove assumption in the code that 'long' is wide enough to
12294 store year values. This assumption is not true on x32 and on
12295 some non-glibc platforms.
12296
62bdf9a6
PE
12297 mktime: merge wrapv change from gnulib
12298 * time/mktime.c (WRAPV): New macro.
12299 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12300 (guess_time_tm, __mktime_internal): Do not assume that signed
12301 integer overflow wraps around; modern compilers generate code
12302 where this assumption is no longer valid.
12303
5e292e4f
L
123042012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12305
12306 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12307 Replace "jmp L(pseudo_end)" with "ret".
12308 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12309 Likewise.
12310
8caf8c87
AJ
123112012-05-23 Andreas Jaeger <aj@suse.de>
12312
12313 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12314 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12315
1a09dc56
AJ
123162012-05-23 Andreas Jaeger <aj@suse.de>
12317 Maximilian Attems <max@stro.at>
12318
12319 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12320 New macros.
12321
1c87aba0
L
123222012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12323
12324 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12325 code so that pseudo_end is just ret and the stack pointer is
12326 correct also for static library in error case.
12327
40e45bd5
JM
123282012-05-23 Joseph Myers <joseph@codesourcery.com>
12329
c2670533
JM
12330 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12331 move to syscalls.list.
12332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12336
40e45bd5
JM
12337 * manual/install.texi (Running make install): Do not mention Linux
12338 kernel version for which pt_chown is not needed.
12339 (Linux): Do not mention problems with nscd with 2.0 kernels.
12340 * INSTALL: Regenerated.
12341
be08eda5
AJ
123422012-05-23 Andreas Jaeger <aj@suse.de>
12343
12344 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12345 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12346 macro.
12347 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12348 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12349 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12350 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12351 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12352 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12353 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12354 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12355 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12356 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12357 * sysdeps/unix/sysv/linux/bits/in.h
12358 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12359
a6a056bb
RM
123602012-05-22 Roland McGrath <roland@hack.frob.com>
12361
12362 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12363 (PREPARE_VERSION): Just use assert instead, it will be elided
12364 under [NDEBUG] anyway.
12365
c9009328
L
123662012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12367
12368 * sysdeps/unix/sysv/linux/Makefile: Include
12369 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 12370 (sysdep_routines): Remove sysctl.
c9009328
L
12371 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12372 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12373 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12374 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12375 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12376
73338355
AJ
123772012-05-22 Andreas Jaeger <aj@suse.de>
12378
12379 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12380 that pseudo_end is just ret and the stack pointer is correct also
12381 for static library in error case.
12382
d44638b0
PP
123832012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12384
12385 [BZ #14122]
12386 * nss/nsswitch.c (defconfig_entries): New variable.
12387 (__nss_database_lookup): Don't leak defconfig entries.
12388 (nss_parse_service_list): Don't leak on error paths.
12389 (free_database_entries): New function.
12390 (free_defconfig): New function.
12391 (free_mem): Move common code to free_database_entries.
12392
31a39bd8
L
123932012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12394
da0331a8
L
12395 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12396 Add arch_prctl.
12397 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12398
31a39bd8
L
12399 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12400 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12401 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12402 New macro.
12403 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12404 (INTERNAL_SYSCALL_TYPES): Likewise.
12405 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12406 (LOAD_REGS_TYPES_[1-6]): Likewise.
12407 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12408 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12409
45470df3
AZ
124102012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12411
12412 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12413 copysignl for GLIBC_2_0.
12414 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12415 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12416 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12417 logbl for GLIBC_2_0.
12418 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12419 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12420
98a61bcb
L
124212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12422
a4f6e481
L
12423 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12424 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12425
f63d5db6
L
12426 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12427 Use "neg %eax".
12428
98a61bcb
L
12429 * time/mktime.c: Update copyright years.
12430
95770f14
PE
124312012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12432
6226efbd
PE
12433 mktime: merge comment-quoting-style change from gnulib
12434 * time/mktime.c: Quote 'like this' in comments.
12435 The GNU coding standards suggest that we no longer quote `like this',
12436 as "`" and "'" are typically rendered asymmetrically nowadays.
12437 The typical gnulib style is to quote 'like this' when quoting
12438 code, and "like this" when quoting English.
12439
b99e4f78
PE
12440 * time/mktime.c (compile-command): Add "-I.".
12441
643e01e6
PE
12442 mktime: merge mktime-internal.h change from gnulib
12443 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12444
2554247d
PE
12445 mktime: merge time_r change from gnulib
12446 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12447
826dd0ab
PE
12448 mktime: merge DEBUG change from gnulib
12449 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12450 case system <time.h> has a #define.
12451
bd83aabe
PE
12452 mktime: merge <sys/types.h> change from gnulib
12453 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12454 since <time.t> is now guaranteed to define time_t.
12455
95770f14
PE
12456 mktime: merge HAVE_CONFIG_H change from gnulib
12457 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12458
5e1a27a9
L
124592012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12460
0e44a77e
L
12461 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12462 Use "neg %eax".
12463
5e1a27a9
L
12464 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12465 __rlim_t cast.
12466 (struct rusage): Use anonymous union to pad each field to
12467 __syscall_slong_t.
12468
46259bec
DM
124692012-05-21 David S. Miller <davem@davemloft.net>
12470
12471 * Makefules (o-iterator): Remove .s cases.
12472 (compile-command.s): Delete.
12473 (COMPILE.s): Delete.
12474 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12475
59f0c22e
JM
124762012-05-21 Joseph Myers <joseph@codesourcery.com>
12477
12478 * configure.in (libc_cv_predef_stack_protector): Only consider
12479 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12480 * configure: Regenerated.
12481
20c07380
L
124822012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12483
bbb3154b
L
12484 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12485 New macro. Use R*LP on int and pointer.
12486 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
12487 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12488 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
12489 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12490
20c07380
L
12491 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12492 [__WORDSIZE_TIME64_COMPAT32] instead of
12493 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12494 (struct utmp): Likewise.
12495 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12496 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12497 Renamed to ...
12498 (__WORDSIZE_TIME64_COMPAT32): This.
12499 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12500 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12501 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12502 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12503 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12504 (__WORDSIZE_TIME64_COMPAT32): New macro.
12505
d8d1017e
AJ
125062012-05-21 Andreas Jaeger <aj@suse.de>
12507
12508 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12509 only if [SHARED]. Add prototype for __wcschr_ia32.
12510
6c7fb145
RM
125112012-05-21 Roland McGrath <roland@hack.frob.com>
12512
12513 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12514 of %rbp unmolested in the jmp_buf while mangling the low bits.
12515 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12516 unmolested high bits of %rbp while demangling the low bits.
12517 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12518
66274218
AJ
125192012-05-21 Andreas Jaeger <aj@suse.de>
12520
07c58f8f
AJ
12521 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12522 * sunrpc/svc_simple.c: Use it for registerrpc.
12523 * sunrpc/xcrypt.c: Use it for passwd2des.
12524
66274218
AJ
12525 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12526
61f65140
L
125272012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12528
12529 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12530 Don't define if [__SYSCALL_WORDSIZE != 32].
12531 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12532 New macro.
12533
5fefb436
AJ
125342012-05-21 Bruno Haible <bruno@clisp.org>
12535 Andreas Jaeger <aj@suse.de>
12536
12537 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12538 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12539 inptr and inend for must_buffer_ch.
12540 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12541 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12542 * stdio-common/Makefile (tests): Remove bug15.
12543 (bug15-ENV): Remove macro.
12544 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12545 anymore.
12546
d8e272ab
AJ
125472012-05-19 Andreas Jaeger <aj@suse.de>
12548 Roland McGrath <roland@hack.frob.com>
12549
12550 * manual/contrib.texi: Completely rewritten. It contains now an
12551 alphabetical list of contributors and their contributions.
12552
4a56a162
RH
125532012-05-21 Richard Henderson <rth@twiddle.net>
12554
12555 * misc/getauxval.c (__getauxval): Use unsigned long int.
12556 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12557 (getauxval): Use unsigned long int.
12558
d024d23c
L
125592012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12560
12561 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12562
cbc00a03
RM
125632012-05-21 Roland McGrath <roland@hack.frob.com>
12564
12565 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12566 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12567 __alignof__ (long double).
12568
478143fa
AZ
125692012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12570
12571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12572
c7683a6d
RH
125732012-05-20 Richard Henderson <rth@twiddle.net>
12574
12575 * misc/getauxval.c: New file.
12576 * misc/sys/auxv.h: New file.
12577 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12578 (routines): Add getauxval.
12579 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12580 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12581 * elf/dl-sysdep.c (_dl_auxv): Remove.
12582 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12583 * elf/dl-support.c (_dl_auxv): New variable.
12584 (_dl_aux_init): Initialize it.
12585 * manual/startup.texi (Auxiliary Vector): New node.
12586 * sysdeps/generic/bits/hwcap.h: New file.
12587 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12588 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12589 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12590 * sysdeps/sparc/sysdep.h: ... here. Include it.
12591 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12592 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
12593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12594 Update.
c7683a6d
RH
12595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12597 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12598 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12603
a6f1845d
AZ
126042012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12605
12606 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12607
cbcbe830
DM
126082012-05-19 David S. Miller <davem@davemloft.net>
12609
12610 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12611
e0b16cc2
JM
126122012-05-19 Joseph Myers <joseph@codesourcery.com>
12613
12614 [BZ #14123]
12615 * math/s_ccosh.c: Include <float.h>
12616 (__ccosh): Avoid internal overflow calculating sinh and cosh
12617 values before multiplying by sin and cos values.
12618 * math/s_ccoshf.c: Likewise.
12619 * math/s_ccoshl.c: Likewise.
12620 * math/s_csin.c: Likewise.
12621 * math/s_csinf.c: Likewise.
12622 * math/s_csinl.c: Likewise.
12623 * math/s_csinh.c: Likewise.
12624 * math/s_csinhf.c: Likewise.
12625 * math/s_csinhl.c: Likewise.
12626 * math/libm-test.inc (ccos_test): Add more tests.
12627 (ccosh_test): Likewise.
12628 (csin_test): Likewise.
12629 (csinh_test): Likewise.
12630 * sysdeps/i386/fpu/libm-test-ulps: Update.
12631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12632
6ad13e08
L
126332012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12634
f66f0ce8
L
12635 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12636 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12637
6ad13e08
L
12638 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12639
b1d072a7
JM
126402012-05-19 Joseph Myers <joseph@codesourcery.com>
12641
12642 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12643 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12644 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12645 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12646 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12647 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12648 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12649 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12650 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12651 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12652 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12653 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12654 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12655 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12656 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12657 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12658 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12659 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12660 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12661 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12662 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12663 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12664 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12665 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12666 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12667 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12668 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12669 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12670 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12671 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12672 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12673
9eae47cb
AJ
126742012-05-18 Andreas Jaeger <aj@suse.de>
12675
12676 * csu/.gitignore: Delete.
12677
bb07f69f
L
126782012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12679
12680 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12681 (timex): Use __syscall_slong_t.
12682
e6bdb741
AJ
126832012-05-18 Andreas Jaeger <aj@suse.de>
12684 Carlos O'Donell <carlos_odonell@mentor.com>
12685
12686 * manual/install.texi (Configuring and compiling): Update
12687 description about files modified in the source directory.
d6c33fda 12688 * INSTALL: Regenerated.
e6bdb741 12689
1b74487e
L
126902012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12691
12692 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12693 value. Use "or" to set return value to -1.
12694 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12695 negate return value.
12696
a88b64b9
TMQMF
126972012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12698
12699 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12700 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12701 failure if the compiler has Graphite support disabled.
12702 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12703 Likewise.
12704 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12705 CFLAGS-memmove.c): Likewise.
12706 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12707 Likewise.
12708
3707636e
L
127092012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12710
610b8622
L
12711 * sysdeps/x86_64/x32/_itoa.h: New file.
12712
7cd195df
L
12713 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12714 getdents system call only if kernel and user dirents have the
12715 same d_ino and d_off.
12716
94b07d20
L
12717 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12718 LLONG_MAX != LONG_MAX.
12719 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12720 (_fitoa_word): Likewise.
12721
18298070
L
12722 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12723 years.
12724 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12725 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12726 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12727
553c7ea4
L
12728 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12729 include <bits/wordsize.h>. Check __x86_64__ instead of
12730 __WORDSIZE.
12731 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12732 if __x86_64__ is defined. Use anonymous union on fpstate.
12733
3707636e
L
12734 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12735 anonymous union.
12736
b53ef01a
AS
127372012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12738
37fb1dc0
AS
12739 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12740 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12741 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12742 Refer to _rtld_local_ro instead of _rtld_global_ro.
12743 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12744 Likewise.
12745 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12746 Likewise.
12747 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12748 Likewise.
12749 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12750 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12751 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12752
b53ef01a
AS
12753 * sysdeps/powerpc/powerpc32/dl-machine.c
12754 (__elf_machine_runtime_setup) [PROF]: Don't reference
12755 _dl_prof_resolve.
12756
7a185db2
AJ
127572012-05-18 Andreas Jaeger <aj@suse.de>
12758
12759 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12760 function only available for GCCs before 3.4 since GCC 3.4
12761 introduced a builtin.
12762 (lrint): Likewise.
12763 (llrintf): Likewise.
12764 (llrint): Likewise.
12765 (fmaxf): Likewise.
12766 (fmax): Likewise.
12767 (fminf): Likewise.
12768 (fmin): Likewise.
12769 (rint): Likewise.
12770 (rintf): Likewise.
12771 (nearbyint): Likewise.
12772 (nearbyintf): Likewise.
12773 (ceil): Likewise.
12774 (ceilf): Likewise.
12775 (floor): Likewise.
12776 (floorf): Likewise.
12777
3e5aef87
L
127782012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12779
428bd707
L
12780 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12781 on both fields and cast pointer to __syscall_ulong_t.
12782
3e5aef87
L
12783 * bits/types.h (__fsword_t): New type.
12784 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12785 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12786 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12787 (__FSWORD_T_TYPE): Likewise.
12788 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12789 (__FSWORD_T_TYPE): Likewise.
12790 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12791 (__FSWORD_T_TYPE): Likewise.
12792 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12793 (__FSWORD_T_TYPE): Likewise.
12794 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12795 __SWORD_TYPE with __fsword_t.
12796 (statfs64): Likewise.
12797
1ba7c3dc
DM
127982012-05-17 David S. Miller <davem@davemloft.net>
12799
12800 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12801
59910343
AJ
128022012-05-17 Andreas Jaeger <aj@suse.de>
12803
12804 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12805 warning.
12806
2e4c1e9e
L
128072012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12808
12809 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12810
de7f5ce7
AJ
128112012-05-17 Andreas Jaeger <aj@suse.de>
12812
12813 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12814 when it is used.
12815
286abc3d
CM
128162012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12817
12818 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12819
477cc68e
L
128202012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12821
12822 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12823 * sysdeps/x86_64/tst-mallocalign1.c: New file.
12824
1a0994f5
CD
128252012-05-17 Andreas Jaeger <aj@suse.de>
12826 Carlos O'Donell <carlos_odonell@mentor.com>
12827
12828 [BZ #14059]
12829 * sysdeps/x86_64/multiarch/init-arch.h
12830 (bit_YMM_Usable): Rename to...
12831 (bit_AVX_Usable): ... this.
12832 (bit_FMA4_Usable): New macro.
12833 (bit_XMM_state): New macro.
12834 (bit_YMM_state): New macro.
12835 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12836 [__ASSEMBLER__] (index_AVX_Usable): ... this.
12837 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12838 (CPUID_OSXSAVE): New macro.
12839 (CPUID_AVX): New macro.
12840 (CPUID_FMA4): New macro.
12841 (index_YMM_Usable): Rename to...
12842 (index_AVX_Usable): ... this.
12843 (HAS_AVX): Use HAS_ARCH_FEATURE.
12844 (HAS_FMA4): Likewise.
12845 (HAS_YMM_USABLE): Remove.
12846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12847 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12848 are present.
12849 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12850 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12851 * sysdeps/x86_64/multiarch/Makefile: Likewise.
12852 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12853 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12854
0af797de
CM
128552012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12856
12857 * math/libm-test.c: Support platforms without multiple rounding modes.
12858 * math/bug-nextafter.c: Support platforms without FP exceptions.
12859 * math/bug-nexttoward.c: Likewise.
12860 * math/test-fenv.c: Likewise.
12861 * math/test-misc.c: Likewise.
12862 * stdlib/bug-getcontext.c: Likewise.
12863
e39745ff
AJ
128642012-05-17 Andreas Jaeger <aj@suse.de>
12865
12866 * manual/examples/search.c (critter_cmp): Change signature to
12867 avoid warnings.
12868 * manual/string.texi (Collation Functions): Likewise.
12869
48970aba
L
128702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12871
12872 * bits/types.h: Fold copyright years.
12873 * bits/typesizes.h: Likewise.
12874 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12875 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12876 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12877 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12878 * time/time.h: Likewise.
12879
bedee953
PP
128802012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12881
12882 [BZ #208]
12883 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12884 in instead of returning them. Return void.
12885 (__libc_mallinfo): Accumulate over all arenas.
12886 (__malloc_stats): Adjust for change in int_mallinfo interface.
12887
61653dfb
RM
128882012-05-16 Roland McGrath <roland@hack.frob.com>
12889
30b99d79
RM
12890 [BZ #10375]
12891 * configure.in (NM): Add AC_CHECK_TOOL for it.
12892 (libc_extra_cflags): New substituted variable.
12893 Check for -fstack-protector being used implicitly.
12894 * configure: Regenerated.
12895 * config.make.in (config-extra-cflags): New variable,
12896 gets @libc_extra_cflags@.
12897 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12898
61653dfb
RM
12899 [BZ #10375]
12900 * configure.in: Check for _FORTIFY_SOURCE being predefined.
12901 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12902 * configure: Regenerated.
12903 * config.make.in (CPPUNDEFS): New substituted variable.
12904 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12905 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12906 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12907
661768bb
L
129082012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12909
12910 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12911 (mq_attr): Use __syscall_slong_t.
12912
d4261567
L
129132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12914
12915 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12916 Check __x86_64__ instead of __WORDSIZE.
12917 (_STAT_VER_LINUX): Likewise.
12918 (stat): Check __x86_64__ instead of __WORDSIZE. Use
12919 __syscall_ulong_t and __syscall_slong_t.
12920 (stat64): Likewise.
12921
cf3ff365
L
129222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12923
12924 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12925
76cf3e4d
L
129262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12927
12928 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12929
a637753a
L
129302012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12931
12932 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12933 __syscall_ulong_t.
12934
d5e05119
L
12935 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12936 include <bits/wordsize.h>. Check __x86_64__ instead of
12937 __WORDSIZE.
12938 (greg_t): Use "__extension__ long long int" if __x86_64__ is
12939 defined.
12940 (mcontext_t): Replace "unsigned long" with "unsigned long long".
12941
f62ee380
L
12942 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12943 include <bits/wordsize.h>. Check __x86_64__ instead of
12944 __WORDSIZE.
12945 (user_regs_struct): Use "__extension__ unsigned long long"
12946 instead of "unsigned long" if __x86_64__ is defined.
12947 (user): Likewise. Pad after pointer field if __ILP32__ is
12948 defined.
12949
4e124ced
JM
129502012-05-16 Joseph Myers <joseph@codesourcery.com>
12951
6a3951a0
JM
12952 * configure.in (makeinfo): Require version 4.5 or later. Allow
12953 versions 5 to 9.
12954 * configure: Regenerated.
12955 * manual/install.texi (texinfo): Increase version requirement to
12956 4.5 or later.
12957 * INSTALL: Regenerated.
12958
4e124ced
JM
12959 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
12960
953ca31a
L
129612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12962
12963 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
12964
617aca05
L
12965 * sysdeps/x86_64/x32/ffs.c: New file.
12966
5762f7ae
L
12967 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
12968 __syscall_ulong_t.
12969 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
12970 defined. Use __syscall_ulong_t.
12971 (shminfo): Use __syscall_ulong_t.
12972 (shm_info): Likewise.
12973
a26b6856
L
12974 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
12975 __syscall_ulong_t.
12976
cb2b9ef7
L
12977 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
12978 <bits/wordsize.h>.
12979 (msgqnum_t): Use __syscall_ulong_t.
12980 (msglen_t): Likewise.
12981 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
12982 __syscall_ulong_t.
12983
34683bb0
L
12984 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
12985 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12986
84a68786
L
12987 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
12988
48baa5f1
L
12989 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
12990 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
12991
180be88b
L
12992 * sysvipc/sys/msg.h (msgbuf): Replace long int with
12993 __syscall_slong_t.
12994
5e90c8ad
L
12995 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
12996 include <bits/wordsize.h>. Check __x86_64__ instead of
12997 __WORDSIZE.
12998
23dfb58b
L
12999 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13000 "unsigned long long int" if __x86_64__ is defined.
13001 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13002
ce5d54b0
L
13003 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13004 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13005 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13006
13dc9eac
L
13007 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13008 <stdint.h>.
13009 (GET_PC): Cast to uintptr_t first.
13010 (GET_FRAME): Likewise.
13011 (GET_STACK): Likewise.
13012
a7895d15
L
13013 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13014 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13015 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13016 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13017 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13018 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13019 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13020 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13021 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13022 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13023 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13024 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13025 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13026 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13027 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13028 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13029 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13030 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13031 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13032 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13033 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13034 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13035 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13036 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13037 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13038 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13039 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13040 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13041 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13042
656416c9
AS
130432012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13044
5bd66283
AS
13045 * Makerules (+depfiles): Also collect depfiles from .oS in
13046 $(extra-objs).
13047 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13048 .oS, $(libnldbl-routines)).
13049
656416c9
AS
13050 * Makerules (native-compile-mkdep-flags): Define.
13051 * sunrpc/Makefile (extra-objs): Add $(addprefix
13052 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13053 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13054 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13055 calling $(make-target-directory).
13056
a46f2169
L
130572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13058
13059 * bits/types.h (__snseconds_t): Removed.
13060 * time/time.h (struct timespec): Replace __snseconds_t with
13061 __syscall_slong_t.
13062 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13063 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13064 Likewise.
13065 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13066 (__SNSECONDS_T_TYPE): Likewise.
13067 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13068 (__SNSECONDS_T_TYPE): Likewise.
13069 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13070 (__SNSECONDS_T_TYPE): Likewise.
13071
6af6528b
L
130722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13073
13074 * sysdeps/mach/hurd/bits/typesizes.h
13075 (__SYSCALL_SLONG_TYPE): New macro.
13076 (__SYSCALL_ULONG_TYPE): Likewise.
13077
de986b56
L
130782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13079
13080 * bits/types.h (__syscall_slong_t): New type.
13081 (__syscall_ulong_t): Likewise.
13082
13083 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13084 (__SYSCALL_ULONG_TYPE): Likewise.
13085 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13086 (__SYSCALL_SLONG_TYPE): Likewise.
13087 (__SYSCALL_ULONG_TYPE): Likewise.
13088 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13089 (__SYSCALL_SLONG_TYPE): Likewise.
13090 (__SYSCALL_ULONG_TYPE): Likewise.
13091 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13092 (__SYSCALL_SLONG_TYPE): Likewise.
13093 (__SYSCALL_ULONG_TYPE): Likewise.
13094
85736dc7
L
130952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13096
13097 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13098 Add sigaltstack-offsets.sym.
13099 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13100 <sigaltstack-offsets.h>.
13101 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13102 longjmp_msg pointer.
13103 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13104 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13105 signal stack.
13106 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13107
cc03b296
JM
131082012-05-15 Joseph Myers <joseph@codesourcery.com>
13109
a9538892
JM
13110 * elf/stackguard-macros.h: Remove file.
13111 * sysdeps/generic/stackguard-macros.h: New file.
13112 * sysdeps/i386/stackguard-macros.h: Likewise.
13113 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13114 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13115 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13116 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13117 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13118 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13119 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13120 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13121 <elf/stackguard-macros.h>.
13122
cc03b296
JM
13123 [BZ #14109]
13124 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13125 __aligned__ in attribute.
13126 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13127 (gregset_t): Likewise.
13128
93171016
L
131292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13130
13131 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13132 * sysdeps/x86_64/64/Implies-after: Here. New file.
13133 * sysdeps/x86_64/x32/Implies-after: New file.
13134
d86813a0
L
131352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13136
13137 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13138 and access return value for _dl_profile_fixup. Use R10_LP to
13139 load frame size.
13140
2953ec75
L
131412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13142
13143 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13144
3b550e9e
L
131452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13146
13147 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13148 * sysdeps/x86_64/x32/sysdep.h: New file.
13149
eda41706
L
131502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13151
13152 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13153 * sysdeps/x86_64/setjmp.S: Likewise.
13154
9ea01d93
AZ
131552012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13156
13157 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13158 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13159 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13160 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13161 remove unused global constant.
13162
02a91938
CM
131632012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13164
13165 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13166 include of <not-cancel.h>.
13167
6540185f
RM
131682012-05-15 Roland McGrath <roland@hack.frob.com>
13169
13170 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13171
509072a0
AJ
131722012-05-15 Jeff Law <law@redhat.com>
13173 Andreas Jaeger <aj@suse.de>
13174
13175 [BZ #13594]
13176 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13177 out from...
13178 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13179 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13180 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13181 code changing __hst_map_handle.map.
13182
ba75122d
RM
131832012-05-15 Roland McGrath <roland@hack.frob.com>
13184
13185 * configure.in (sysnames): Look for Implies-before and Implies-after
13186 files.
13187 * configure: Regenerated.
13188
890d8bd8
L
131892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13190
13191 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13192 8-byte data alignment with LP_SIZE alignment.
13193
f6ee6623
L
131942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13195
13196 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13197 into R10_LP.
13198
ea2626f6
L
131992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13200
13201 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13202
085f715e
L
132032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13204
13205 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13206 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13207 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13208 Likewise.
13209 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13210
be8498fc
L
132112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13212
13213 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13214 (stackinfo_sub_sp): Likewise.
13215
70bc83b9
L
132162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13217
13218 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13219 RAX_LP.
13220
9bc0b730
L
132212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13222
13223 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13224 into R*_LP.
13225
6d2850e7
L
132262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13227
13228 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13229 sizes into R*_LP.
13230
3cb84561
L
132312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13232
13233 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13234
54e2ed81
L
132352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13236
13237 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13238 into R11_LP and load __x86_64_shared_cache_size_half into
13239 R8_LP.
13240
8a17f349
L
132412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13242
13243 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13244 R8_LP.
13245
777b1eea
AZ
132462012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13247
13248 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13249 logb for POWER7.
13250 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13251 logbf for POWER7.
13252 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13253 logbl for POWER7.
13254 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13255 powerpc32/power7/fpu/s_logb.c via #include.
13256 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13257 powerpc32/power7/fpu/s_logbf.c via #include.
13258 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13259 powerpc32/power7/fpu/s_logbl.c via #include.
13260
d20d4ac2
JM
132612012-05-15 Joseph Myers <joseph@codesourcery.com>
13262
13263 * README.libm: Remove file.
13264
6cdef1ab
L
132652012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13266
13267 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13268 count for x32. Use R*_LP and omit operand-size suffix.
13269
0b254d8f
L
132702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13271
13272 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13273 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13274 * sysdeps/x86_64/x32/shlib-versions: New file.
13275
ceb809dc
RM
132762012-05-14 Roland McGrath <roland@hack.frob.com>
13277
13278 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13279 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13280 Use _dl_fatal_printf instead.
13281
37f1abd4
JM
132822012-05-14 Joseph Myers <joseph@codesourcery.com>
13283
13284 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13285 set if not set by the user. Do not allow for being unset.
13286 * sysdeps/unix/sysv/linux/configure: Regenerated.
13287
11de3a33
L
132882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13289
13290 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13291 the `q' suffix from lea and replace .quad with ASM_ADDR.
13292
e02f153a
L
132932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13294
13295 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13296 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13297 instead of $17.
13298 (PTR_DEMANGLE): Likewise.
13299
520ae0fd
L
133002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13301
13302 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13303 (LP_OP): Likewise.
13304 (ASM_ADDR): Likewise.
13305 (RAX_LP): Likewise.
13306 (RBP_LP): Likewise.
13307 (RBX_LP): Likewise.
13308 (RCX_LP): Likewise.
13309 (RDI_LP): Likewise.
13310 (RSI_LP): Likewise.
13311 (RSP_LP): Likewise.
13312 (R8_LP): Likewise.
13313 (R9_LP): Likewise.
13314 (R10_LP): Likewise.
13315 (R10_LP): Likewise.
13316 (R11_LP): Likewise.
13317 (R12_LP): Likewise.
13318 (R13_LP): Likewise.
13319 (R14_LP): Likewise.
13320 (R15_LP): Likewise.
13321
b985be81
L
133222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13323
13324 * sysdeps/x86_64/x32/dl-machine.h: New file.
13325
6a4888ff
AJ
133262012-05-14 Andreas Jaeger <aj@suse.de>
13327
13328 * manual/Makefile (subdir): Remove export of subdir.
13329 (all): Remove target.
13330 (.PHONY): Remove all from list.
13331 (mkinstalldirs): Remove.
13332 (.PHONY): Remove installdirs from list.
13333 ($(inst_infodir)/libc.info): Use make-target-directory.
13334 (installdirs): Remove.
13335 (subdir_%): Remove.
13336 (glibc-targets): Remove.
13337 (lib): Remove.
13338 (stubs): Remove.
13339 ($(objpfx)stubs ../po/manual.pot): Remove.
13340 ($(objpfx)stamp%): Remove.
13341 (make-target-directory): Remove.
13342 (subdir_install): Remove.
13343 (routines): Remove.
13344 (aux): Remove.
13345 (sources): Remove.
13346 (objects): Remove.
13347 (headers): Remove.
13348
13349 [BZ #13750]
13350 * manual/.gitignore: Remove, it's not needed anymore.
13351 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13352 all files in it.
13353 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13354 directory.
13355 (texis): Renamed to $(objpfx)texis.
13356 (texis-path): New, contains path to generated files.
13357 (chapters.%): Use texis-path for complete path, add extra argument
13358 libc-texinfo.sh.
13359 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13360 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13361 (summary,texi, stamp-summary): Use complete path of
13362 files. Generate files in build dir.
13363 (dir-add.texi): Build in build dir.
13364 (libm-err.texi,stamp-libm-err): Likewise.
13365 (version.texi, stamp-version): Likewise.
13366 (.%c.texi): Likewise.
13367 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13368 (mostlyclean): Remove target.
13369 (realclean): Remove target.
13370 (generated): Add new variable with contents from mostlyclean and
13371 realclean, remove entries duplicated in common-mostlyclean, add
13372 stamp-libm-err and stamp-version.
13373 (generated-dirs): Add libc directory.
13374 ($(inst_infodir)/libc.info): Install files from build dir.
13375
13376 * manual/install.texi (Configuring and compiling): Adjust since
13377 the info files are not part of the tar ball anymore.
13378
7ac77294
AJ
133792012-05-14 Andreas Jaeger <aj@suse.de>
13380
13381 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13382 variable.
13383
ffb7875d
JM
133842012-05-14 Joseph Myers <joseph@codesourcery.com>
13385
13386 [BZ #13717]
13387 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13388 to 2.2.0 where earlier.
13389 * sysdeps/unix/sysv/linux/configure: Regenerated.
13390 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13391 Remove conditional code.
13392 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13393 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13394 Remove conditional code.
13395 [!__NR_lchown]: Likewise.
13396 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13397 [__NR_lchown]: Likewise.
13398 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13399 comment referencing __ASSUME_LCHOWN_SYSCALL.
13400 * sysdeps/unix/sysv/linux/i386/sigaction.c
13401 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13402 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13403 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13404 Remove conditional code.
13405 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13406 (__protocol_available): Remove #if 0 code.
13407 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13408 conditional code.
13409 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13410 * sysdeps/unix/sysv/linux/kernel-features.h
13411 (__ASSUME_GETCWD_SYSCALL): Don't define.
13412 (__ASSUME_REALTIME_SIGNALS): Likewise.
13413 (__ASSUME_PREAD_SYSCALL): Likewise.
13414 (__ASSUME_PWRITE_SYSCALL): Likewise.
13415 (__ASSUME_POLL_SYSCALL): Likewise.
13416 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13417 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13418 non-SPARC.
13419 (__ASSUME_SIOCGIFNAME): Don't define.
13420 (__ASSUME_MSG_NOSIGNAL): Likewise.
13421 (__ASSUME_SENDFILE): Define unconditionally.
13422 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13423 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13424 conditional code.
13425 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13426 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13427 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13428 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13429 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13430 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13431 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13433 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13434 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13436 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13437 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13439 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13440 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13442 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13443 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13445 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13446 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13448 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13449 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13451 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13452 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13454 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13455 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13456 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13457 Remove conditional code.
13458 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13459 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13460 Remove conditional code.
13461 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13462 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13463 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13464 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13465 Remove conditional code.
13466 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13467 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13468 Remove conditional code.
13469 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13470 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13471 Remove conditional code.
13472 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13473 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13474 Remove conditional code.
13475 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13476 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13477 Remove conditional code.
13478 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13479 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13480 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13481 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13482 * sysdeps/unix/sysv/linux/sigaction.c
13483 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13484 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13485 * sysdeps/unix/sysv/linux/sigpending.c
13486 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13487 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13488 * sysdeps/unix/sysv/linux/sigprocmask.c
13489 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13490 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13491 * sysdeps/unix/sysv/linux/sigsuspend.c
13492 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13493 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13494 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13495 (__libc_missing_rt_sigs): Remove.
13496 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13497 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13498 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13499 Remove conditional code.
13500 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13501 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13502 return 1.
13503 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13504 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13505 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13506 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13507
1bfb7291
AJ
135082012-05-14 Andreas Jaeger <aj@suse.de>
13509
caae5a81
AJ
13510 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13511 it's not used in glibc.
13512 (__coshm1): Likewise.
13513 (__acosh1p): Likewise.
13514 (__sgn): Likewise.
13515
1bfb7291
AJ
13516 * manual/string.texi (Copying and Concatenation): Add missing
13517 variable in concat example.
13518 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13519
c044d724
L
135202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13521
144c5467 13522 [BZ #14103]
c044d724
L
13523 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13524 __builtin_clzl with __builtin_clzll.
13525
2523c62b
L
135262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13527
13528 [BZ #14104]
13529 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13530 libc_freeres_ptr.
13531
d7bb4c42
LD
135322012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13533
13534 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13535 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13536 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13537 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13538
9dc4e1fb
MF
135392012-05-14 Mike Frysinger <vapier@gentoo.org>
13540
13541 * NEWS: Update ia64 info.
13542
c7df0112
AS
135432012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13544
13545 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13546 used as bcopy.
13547
dc70356c
TS
135482012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13549
13550 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13551 * sysdeps/unix/syscalls.list (dup3): Likewise.
13552 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13553 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13554
9fb1a21f
L
135552012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13556
13557 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13558 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13559
4822a2a5
L
135602012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13561
13562 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13563 thread pointer.
13564 (TLS_IE): Use mov/add instead of movq/addq to load thread
13565 pointer.
13566 (TLS_GD_PREFIX): New.
13567 (TLS_GD): Use it.
13568
842b81d6
DM
135692012-05-11 David S. Miller <davem@davemloft.net>
13570
13571 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13572 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13573 (_FPU_SETCW): Likewise.
13574
1cf463cd
L
135752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13576
13577 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13578 is 32-byte aligned.
13579
60cc4a18
AS
135802012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13581
13582 [BZ #11837]
13583 * iconvdata/gb18030.c: Update tables.
13584 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13585 characters specially.
13586 (BODY for TO_LOOP): Add encoding of missing ranges.
13587
febb44a4
TS
135882012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13589
13590 [BZ #13673]
13591 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13592 * sysdeps/mach/hurd/dup3.c: Likewise.
13593 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13594 * sysdeps/powerpc/memmove.c:: Likewise.
13595
0a10fb9e
L
135962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13597
13598 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13599 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13600
df8a552f
L
136012012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13602
13603 * elf/elf.h (R_X86_64_RELATIVE64): New.
13604 (R_X86_64_NUM): Updated.
13605 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13606 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13607 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13608 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13609 tst-quad1pie tst-quad2pie
13610 (modules-names): Add tst-quadmod1 tst-quadmod2.
13611 ($(objpfx)tst-quad1): New dependency.
13612 ($(objpfx)tst-quad2): Likewise.
13613 ($(objpfx)tst-quad1pie): Likewise.
13614 ($(objpfx)tst-quad2pie): Likewise.
13615 * sysdeps/x86_64/tst-quad1.c: New file.
13616 * sysdeps/x86_64/tst-quad1pie.c: New file.
13617 * sysdeps/x86_64/tst-quad2.c: Likewise.
13618 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13619 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13620 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13621 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13622 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13623
f34d6f84
ST
136242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13625
f42d41d1
ST
13626 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13627 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13628 * streams/stropts.h (t_scalar_t): Define type.
13629
3c3571fc
ST
13630 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13631 (_PATH_PRESERVE): Set to "/var/lib".
13632 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13633
61f06bd3
ST
13634 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13635 instead of int.
13636
918d4d71
ST
13637 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13638 if __dir_mkfile succeeded.
13639
f34d6f84
ST
13640 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13641 checking for _hurd_dtablesize. Unlock it right after having
13642 finished _hurd_dtable allocation.
13643
10589b4a
TS
136442012-05-10 Thomas Schwinge <thomas@schwinge.name>
13645
674cdbc7
TS
13646 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13647 * sysdeps/mach/hurd/configure: Regenerated.
13648 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13649 special-casing to...
13650 * sysdeps/gnu/configure.in: ... this new file.
13651 * sysdeps/unix/sysv/linux/configure: Regenerated.
13652 * sysdeps/gnu/configure: New generated file.
13653
8e41b99f
TS
13654 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13655 for Linux: use nsec instead of usec, as well as:
13656 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13657 members of type struct timespec.
13658 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13659 New macros.
13660 (struct stat64): Likewise.
13661 (_STATBUF_ST_NSEC): New macro.
13662 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13663
10589b4a
TS
13664 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13665 __strtoul_internal rather than strtoul.
13666
63643c85
PT
136672012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13668
13669 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13670 and reject them.
13671
3faebe6a
ST
136722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13673
13674 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13675 which preserves existing values.
13676 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13677
c6474b07
PT
136782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13679
13680 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13681 TIMEOUT values. Return EINVAL for NFDS values either negative or
13682 greater than FD_SETSIZE.
13683
1043890b
ST
136842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13685
13686 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13687 allocated, call __vm_protect to finish enabling the existing space, and
13688 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13689 allocate the remainder.
13690
37ed8b9b
PT
136912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13692
13693 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13694 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13695
db653660
ST
136962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13697
37ed8b9b
PT
13698 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13699 sysdeps/mach/hurd/readlink.c.
b29d4053 13700
db653660
ST
13701 * posix/tst-sysconf.c (posix_options): Only use
13702 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13703 _POSIX_SYNCHRONIZED_IO when they are defined
13704 * sysdeps/mach/hurd/bits/posix_opt.h:
13705 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13706 (_XOPEN_REALTIME): Undefine macro.
13707 (_XOPEN_REALTIME_THREADS): Undefine macro.
13708 (_XOPEN_SHM): Undefine macro.
13709 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13710 macro to -1.
13711 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13712 macro to -1.
13713 (_POSIX_ASYNC_IO): Undefine macro.
13714 (_POSIX_PRIORITIZED_IO): Undefine macro.
13715 (_POSIX_SPIN_LOCKS): Define macro to -1.
13716
ee16e894
ST
13717 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13718 SA_NODEFER, SA_RESETHAND.
13719 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13720 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13721 F_DUPFD_CLOEXEC.
13722
6103ae3b
TS
137232012-05-10 Thomas Schwinge <thomas@schwinge.name>
13724
13725 * elf/Makefile (pldd-modules): Define unconditionally.
13726
80b4e5f3
TS
137272012-05-10 Thomas Schwinge <thomas@schwinge.name>
13728
13729 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13730
edadcbd6
ST
137312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13732
13733 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13734 Return ENOENT when name is empty.
13735 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13736
80694780
TS
137372012-05-10 Thomas Schwinge <thomas@schwinge.name>
13738
1792c087
TS
13739 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13740
80694780
TS
13741 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13742
6b645f0d
ST
137432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13744
80694780
TS
13745 Fix mlock in all cases except non-readable pages.
13746 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13747 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 13748
6b645f0d
ST
13749 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13750 (__mkdir): When path is `/', just fail with EEXIST.
13751 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13752
e468f8a3
TS
137532012-05-10 Thomas Schwinge <thomas@schwinge.name>
13754
13755 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13756 <sys/uio.h> (for writev).
13757 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13758 and <sys/param.h> (for MIN).
13759
a4186cff
PT
137602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13761
13762 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13763 REQUESTED_TIME. Properly set the remaining time and return EINTR
13764 if interrupted.
13765
510bbf14
TS
137662012-05-10 Thomas Schwinge <thomas@schwinge.name>
13767
13768 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13769 Depend on against $(link-rpcuserlibs).
13770
5d5722e8
ST
137712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13772
a4186cff
PT
13773 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13774 (__libc_stack_end): Do not use attribute_relro.
13775 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13776 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 13777 to libthread-provided value.
a4186cff
PT
13778 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13779 attribute_relro.
5d5722e8 13780
37233df9
TS
137812012-05-10 Thomas Schwinge <thomas@schwinge.name>
13782
be971a2b
TS
13783 [BZ #3748]
13784 * bits/libc-lock.h (__libc_once_get): New macro.
13785 * sysdeps/mach/bits/libc-lock.h: Likewise.
13786 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13787 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13788 instead of using implementation details.
13789
37233df9
TS
13790 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13791 * libio/freopen.c: Likewise.
13792 * libio/freopen64.c: Likewise.
13793 * misc/syslog.c: Likewise.
13794 * nscd/connections.c: Likewise.
13795 * nscd/netgroupcache.c: Likewise.
13796 * sysdeps/posix/getcwd.c: Likewise.
13797
38de94a5
RM
137982012-05-10 Roland McGrath <roland@hack.frob.com>
13799
13800 * math/w_ilogbf.c: Add #include <limits.h>.
13801
67530489
ST
138022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13803
a4186cff 13804 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
13805 path instead of returning without unlocking.
13806
67530489
ST
13807 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13808 immediate-write ioctls.
13809 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13810
5aa3a74a
TS
138112012-05-10 Thomas Schwinge <thomas@schwinge.name>
13812
18bad2ae
TS
13813 * sysdeps/mach/hurd/i386/init-first.c (init): Use
13814 __builtin_frame_address instead of making assumptions about the
13815 location of the return address relative to DATA. Force early load of
13816 the return address.
13817 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13818 __builtin_frame_address.
13819
5aa3a74a
TS
13820 dup3 for GNU Hurd.
13821 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13822 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13823 implement dup3 and do some further code clean-ups.
13824 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13825 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13826
ecd0de9a
ST
138272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13828
cd9fa985
ST
13829 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13830
a4186cff
PT
13831 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13832 HURD_CRITICAL_END around holding _hurd_dtable_lock.
13833 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13834 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13835 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13836 d->port.lock.
802ca5a5 13837
a4186cff
PT
13838 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13839 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
13840 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 13841
bcf55240
TS
138422012-05-10 Thomas Schwinge <thomas@schwinge.name>
13843
6960eb42
TS
13844 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13845 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13846 definitions.
13847
eb43375f
TS
13848 accept4 for GNU Hurd.
13849 * include/sys/socket.h (__libc_accept4): New prototype.
13850 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
13851 to implement __libc_accept4.
13852 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13853 __libc_accept4.
13854 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13855
bcf55240
TS
13856 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13857 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13858 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13859 signal-defines.sym.
13860
6178c55b
ST
138612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13862
a4186cff 13863 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 13864
6f080c2f
TS
138652012-05-10 Thomas Schwinge <thomas@schwinge.name>
13866
13867 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13868 assertion on O_CLOEXEC flag.
13869 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13870 * hurd/intern-fd.c: Likewise.
13871 * hurd/port2fd.c: Likewise.
13872
bcfe3a54
ST
138732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13874
13875 [BZ #3906]
13876 * bits/in.h (IPV6_PKTINFO): Define new macro.
13877 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13878
89c9aa49
AZ
138792012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13880
13881 [BZ #13954]
13882 [BZ #13955]
13883 [BZ #13956]
13884 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13885 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13886 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13887 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13888 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13889 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13890 * math/libm-test.inc (logb_test) : Additional logb tests.
13891
021db4be
AJ
138922012-05-09 Andreas Schwab <schwab@linux-m68k.org>
13893 Andreas Jaeger <aj@suse.de>
13894
13895 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13896 * configure: Regenerated.
13897 * config.h.in (LINK_OBSOLETE_RPC): New macro.
13898 * config.make.in (link-obsolete-rpc): New substituted variable.
13899 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13900 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13901 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13902 (shared-only-routines): Don't set it under [link-obsolete-rpc],
13903 so that libc.a contains the symbols.
13904 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13905 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13906 * sunrpc/auth_none.c: Likewise.
13907 * sunrpc/auth_unix.c: Likewise.
13908 * sunrpc/authdes_prot.c: Likewise.
13909 * sunrpc/authuxprot.c: Likewise.
13910 * sunrpc/clnt_gen.c: Likewise.
13911 * sunrpc/clnt_perr.c: Likewise.
13912 * sunrpc/clnt_raw.c: Likewise.
13913 * sunrpc/clnt_simp.c: Likewise.
13914 * sunrpc/clnt_tcp.c: Likewise.
13915 * sunrpc/clnt_udp.c: Likewise.
13916 * sunrpc/clnt_unix.c: Likewise.
13917 * sunrpc/des_crypt.c: Likewise.
13918 * sunrpc/des_soft.c: Likewise.
13919 * sunrpc/get_myaddr.c: Likewise.
13920 * sunrpc/key_call.c: Likewise.
13921 * sunrpc/key_prot.c: Likewise.
13922 * sunrpc/netname.c: Likewise.
13923 * sunrpc/pm_getmaps.c: Likewise.
13924 * sunrpc/pm_getport.c: Likewise.
13925 * sunrpc/pmap_clnt.c: Likewise.
13926 * sunrpc/pmap_prot.c: Likewise.
13927 * sunrpc/pmap_prot2.c: Likewise.
13928 * sunrpc/pmap_rmt.c: Likewise.
13929 * sunrpc/publickey.c: Likewise.
13930 * sunrpc/rpc_cmsg.c: Likewise.
13931 * sunrpc/rpc_common.c: Likewise.
13932 * sunrpc/rpc_dtable.c: Likewise.
13933 * sunrpc/rpc_prot.c: Likewise.
13934 * sunrpc/rpc_thread.c: Likewise.
13935 * sunrpc/rtime.c: Likewise.
13936 * sunrpc/svc.c: Likewise.
13937 * sunrpc/svc_auth.c: Likewise.
13938 * sunrpc/svc_raw.c: Likewise.
13939 * sunrpc/svc_run.c: Likewise.
13940 * sunrpc/svc_tcp.c: Likewise.
13941 * sunrpc/svc_udp.c: Likewise.
13942 * sunrpc/svc_unix.c: Likewise.
13943 * sunrpc/svcauth_des.c: Likewise.
13944 * sunrpc/xcrypt.c: Likewise.
13945 * sunrpc/xdr.c: Likewise.
13946 * sunrpc/xdr_array.c: Likewise.
13947 * sunrpc/xdr_float.c: Likewise.
13948 * sunrpc/xdr_intXX_t.c: Likewise.
13949 * sunrpc/xdr_mem.c: Likewise.
13950 * sunrpc/xdr_rec.c: Likewise.
13951 * sunrpc/xdr_ref.c: Likewise.
13952 * sunrpc/xdr_sizeof.c: Likewise.
13953 * sunrpc/xdr_stdio.c: Likewise.
13954
b5c086a2
RM
139552012-05-10 Roland McGrath <roland@hack.frob.com>
13956
13957 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
13958 change. Update copyright years.
13959
6d74dd09
JM
139602012-05-10 Joseph Myers <joseph@codesourcery.com>
13961
13962 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
13963
28e72501
MK
139642012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
13965 Joseph Myers <joseph@codesourcery.com>
13966 Paul Pluzhnikov <ppluzhnikov@google.com>
13967
13968 [BZ #14012]
13969 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
13970 requiring rpcgen.
13971 [cross-compiling] (extra-libs): Likewise.
13972 [cross-compiling] (extra-libs-others): Likewise.
13973 [cross-compiling] (librpcsvc-routines): Likewise.
13974 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
13975 [cross-compiling] (omit-deps): Likewise.
13976 (sunrpc-CPPFLAGS): New variable.
13977 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
13978 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
13979 (cross-rpcgen-objs): New variable.
13980 (extra-objs): Append $(cross-rpcgen-objs).
13981 ($(cross-rpcgen-objs)): New rule.
13982 ($(objpfx)cross-rpcgen): Likewise.
13983 (rpcgen-cmd): Define to use $(built-program-file). Expand
13984 comment.
13985 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
13986 ($(objpfx)x%.stmp): Likewise.
13987 * sunrpc/proto.h [IS_IN_build] (_): Define.
13988 [IS_IN_build] (_libc_intl_domainname): Likewise.
13989
c8c59454
L
139902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13991
13992 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
13993 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
13994 and R_X86_64_TPOFF64.
13995
6f27cd16
JM
139962012-05-10 Joseph Myers <joseph@codesourcery.com>
13997
13998 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
13999 sysdeps/unix/sysv/syscalls.list.
14000 (stime): Likewise.
14001 (utime): Likewise.
14002 * sysdeps/unix/sysv/syscalls.list: Remove file.
14003
02467e1c
PE
140042012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14005
14006 [BZ #3440]
14007 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14008 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14009 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14010 (__LC_IDENTIFICATION): Make these macros useful in #if
14011 expressions, as required by C99.
14012
da392631
AS
140132012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14014
14015 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14016 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14017 after this.
14018
8115f29b
L
140192012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14020
14021 * stdlib/longlong.h: Updated from GCC.
14022
bdd74070
AJ
140232012-05-09 Andreas Jaeger <aj@suse.de>
14024
edfe0dbe
AJ
14025 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14026 default is first entry.
14027 (run_mode): Set type.
14028 (main): Remove informal message about syslog.
14029 (options): Fix typo.
14030
bcfe3a54
ST
14031 [BZ #14053]
14032 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 14033 to asm.
bcfe3a54
ST
14034 (lrint): Likewise.
14035 (llrintf): Likewise.
14036 (llrint): Likewise.
14037 (rint): Likewise.
14038 (rintf): Likewise.
14039 (nearbyint): Likewise.
14040 (nearbyintf): Likewise.
bdd74070 14041
91d8d69e
AJ
140422012-05-09 Andreas Jaeger <aj@suse.de>
14043 Pedro Alves <palves@redhat.com>
14044
14045 * nscd/nscd.c (run_mode): Use enum.
14046 (main): Cleanup coding style issue.
14047
bb90b80b
AJ
140482012-05-09 Alexandre Oliva <aoliva@redhat.com>
14049 Andreas Jaeger <aj@suse.de>
14050
bcfe3a54
ST
14051 * nscd/nscd.c (go_background): Replaced with...
14052 (run_mode): ... this.
bb90b80b 14053 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
14054 (options): Add -F --foreground.
14055 (main): Implement it.
14056 (parse_opt): Parse it.
bb90b80b 14057
1a4b75a1
AJ
140582012-05-09 Andreas Jaeger <aj@suse.de>
14059
14060 [BZ #14083]
14061 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14062 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14063 -Wconversion warning.
14064 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14065 Likewise.
14066
b1cc2472
JM
140672012-05-09 Joseph Myers <joseph@codesourcery.com>
14068
14069 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14070 == 0.
14071 (LC_ALL): Use macro-int-constant.
14072 (LC_COLLATE): Likewise.
14073 (LC_CTYPE): Likewise.
14074 (LC_MESSAGES): Likewise.
14075 (LC_MONETARY): Likewise.
14076 (LC_NUMERIC): Likewise.
14077 (LC_TIME): Likewise.
14078 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14079 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14080 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14081 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14082 Specify type.
14083 [C99-based standards] (float_t): Expect type.
14084 [C99-based standards] (double_t): Expect type.
14085 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14086 type.
14087 [C99-based standards] (HUGE_VALL): Likewise.
14088 [C99-based standards] (INFINITY): Likewise.
14089 [C99-based standards] (NAN): Likewise.
14090 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14091 [C99-based standards] (FP_NAN): Likewise.
14092 [C99-based standards] (FP_NORMAL): Likewise.
14093 [C99-based standards] (FP_SUBNORMAL): Likewise.
14094 [C99-based standards] (FP_ZERO): Likewise.
14095 [C99-based standards] (FP_FAST_FMA): Use
14096 optional-macro-int-constant. Specify type. Require == 1.
14097 [C99-based standards] (FP_FAST_FMAF): Likewise.
14098 [C99-based standards] (FP_FAST_FMAL): Likewise.
14099 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14100 [C99-based standards] (FP_ILOGBNAN): Likewise.
14101 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14102 Specify type.
14103 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14104 [C99-based standards] (math_errhandling): Specify type.
14105 [ISO99 || ISO11] (signgam): Do not allow.
14106 [non-C99-based standards] (copysignf): Do not allow.
14107 [non-C99-based standards] (exp2f): Likewise.
14108 [non-C99-based standards] (log2f): Likewise.
14109 [non-C99-based standards] (modff): Allow.
14110 [non-C99-based standards] (erff): Do not allow.
14111 [non-C99-based standards] (erfcf): Likewise.
14112 [non-C99-based standards] (gammaf): Likewise.
14113 [non-C99-based standards] (hypotf): Likewise.
14114 [non-C99-based standards] (j0f): Likewise.
14115 [non-C99-based standards] (j1f): Likewise.
14116 [non-C99-based standards] (jnf): Likewise.
14117 [non-C99-based standards] (lgammaf): Likewise.
14118 [non-C99-based standards] (tgammaf): Likewise.
14119 [non-C99-based standards] (y0f): Likewise.
14120 [non-C99-based standards] (y1f): Likewise.
14121 [non-C99-based standards] (ynf): Likewise.
14122 [non-C99-based standards] (isnanf): Likewise.
14123 [non-C99-based standards] (acoshf): Likewise.
14124 [non-C99-based standards] (asinhf): Likewise.
14125 [non-C99-based standards] (atanhf): Likewise.
14126 [non-C99-based standards] (cbrtf): Likewise.
14127 [non-C99-based standards] (expm1f): Likewise.
14128 [non-C99-based standards] (ilogbf): Likewise.
14129 [non-C99-based standards] (log1pf): Likewise.
14130 [non-C99-based standards] (logbf): Likewise.
14131 [non-C99-based standards] (nextafterf): Likewise.
14132 [non-C99-based standards] (remainderf): Likewise.
14133 [non-C99-based standards] (rintf): Likewise.
14134 [non-C99-based standards] (scalbf): Likewise.
14135 [non-C99-based standards] (copysignl): Likewise.
14136 [non-C99-based standards] (exp2l): Likewise.
14137 [non-C99-based standards] (log2l): Likewise.
14138 [non-C99-based standards] (modfl): Allow.
14139 [non-C99-based standards] (erfl): Do not allow.
14140 [non-C99-based standards] (erfcl): Likewise.
14141 [non-C99-based standards] (gammal): Likewise.
14142 [non-C99-based standards] (hypotl): Likewise.
14143 [non-C99-based standards] (j0l): Likewise.
14144 [non-C99-based standards] (j1l): Likewise.
14145 [non-C99-based standards] (jnl): Likewise.
14146 [non-C99-based standards] (lgammal): Likewise.
14147 [non-C99-based standards] (tgammal): Likewise.
14148 [non-C99-based standards] (y0l): Likewise.
14149 [non-C99-based standards] (y1l): Likewise.
14150 [non-C99-based standards] (ynl): Likewise.
14151 [non-C99-based standards] (isnanl): Likewise.
14152 [non-C99-based standards] (acoshl): Likewise.
14153 [non-C99-based standards] (asinhl): Likewise.
14154 [non-C99-based standards] (atanhl): Likewise.
14155 [non-C99-based standards] (cbrtl): Likewise.
14156 [non-C99-based standards] (expm1l): Likewise.
14157 [non-C99-based standards] (ilogbl): Likewise.
14158 [non-C99-based standards] (log1pl): Likewise.
14159 [non-C99-based standards] (logbl): Likewise.
14160 [non-C99-based standards] (nextafterl): Likewise.
14161 [non-C99-based standards] (remainderl): Likewise.
14162 [non-C99-based standards] (rintl): Likewise.
14163 [non-C99-based standards] (scalbl): Likewise.
14164 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14165 [non-C99-based standards] (FP_*): Do not allow.
14166 [C99-based standards] (FP_*): Change to
14167 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14168 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14169 allow.
14170 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14171 (SIG_ERR): Likewise.
14172 [X/Open-based standards] (SIG_HOLD): Likewise.
14173 (SIG_IGN): Likewise.
14174 (SIGABRT): Use macro-int-constant. Specify type. Require
14175 positive value.
14176 (SIGFPE): Likewise.
14177 (SIGILL): Likewise.
14178 (SIGINT): Likewise.
14179 (SIGSEGV): Likewise.
14180 (SIGTER): Likewise.
14181 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14182 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14183 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14184 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14185 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14186 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14187 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14188 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14189 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14190 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14191 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14192 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14193 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14194 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14195 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14196 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14197 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14198 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14199 [X/Open-based standards] (SIGTRAP): Likewise.
14200 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14201 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14202 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14203 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14204 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14205 allow.
14206
b9f1922d
IW
142072012-05-08 Ian Wienand <ianw@vmware.com>
14208
14209 [BZ #14080]
14210 * time/tzset.c (__tzset_parse_tz): Update default rules for
14211 daylight time changes in the Energy Policy Act of 2005.
14212
1db86e88
AJ
142132012-05-09 Andreas Jaeger <aj@suse.de>
14214
14215 [BZ #13983]
14216 * elf/ldconfig.c (parse_conf): Change string to make clear that
14217 ldconfig only issued a warning if ld.so.conf does not exist.
14218
dee4a4e3
DM
142192012-05-08 David S. Miller <davem@davemloft.net>
14220
ee0db190
DM
14221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14222 movxtod instead of popping the value on the stack.
14223
dee4a4e3
DM
14224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14225
6a43ec98
CD
142262012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14227
14228 * config.h.in: Add HAVE_ARM_PCS_VFP.
14229
05c2c961
RMG
142302012-05-08 Roland Mc Grath <roland@hack.frob.com>
14231
bcfe3a54
ST
14232 [BZ #13979]
14233 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14234 checking but the checks are disabled for any reason.
05c2c961 14235
4b30f61a
L
142362012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14237
14238 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14239 and ELF64_R_TYPE with ELFW(R_TYPE).
14240
eee2bc67
JM
142412012-05-08 Joseph Myers <joseph@codesourcery.com>
14242
7ea5391a
JM
14243 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14244 (ulimit): Likewise.
14245
eee2bc67
JM
14246 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14247 (settimeofday): Likewise.
14248
abb66a67
MF
142492012-05-08 Mike Frysinger <vapier@gentoo.org>
14250
14251 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14252 a struct th_u2 inside the union, and move tu_block/tu_code into
14253 a new th_u3 union of tu_block/tu_code inside of that. Move
14254 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14255 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14256 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14257 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14258 (th_stuff): Change to th_u1.tu_stuff.
14259 (th_data): Define.
14260 (th_msg): Change to th_u1.th_u2.tu_data.
14261
7f18b530
DM
142622012-05-07 David S. Miller <davem@davemloft.net>
14263
05760585
DM
14264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14265
7f18b530
DM
14266 [BZ #14074]
14267 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14268 (SETUP_PIC_REG): Use it.
14269 (SETUP_PIC_REG_LEAF): Use it.
14270
495fd99f
JM
142712012-05-07 Joseph Myers <joseph@codesourcery.com>
14272
14273 [BZ #13885]
14274 [BZ #13923]
14275 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14276 USE_AS_EXPM1L.
14277 (EXPL_FINITE): Likewise.
14278 (FLDLOG): Likewise.
14279 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14280 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14281 e_expl.S.
14282 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14283 USE_AS_EXPM1L.
14284 (EXPL_FINITE): Likewise.
14285 (FLDLOG): Likewise.
14286 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14287 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14288 e_expl.S.
14289 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14290 test of -max_value argument for long double.
14291 * sysdeps/i386/fpu/libm-test-ulps: Update.
14292 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14293
6693d694
DM
142942012-05-06 David S. Miller <davem@davemloft.net>
14295
14296 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14297 quad soft-float symbols whose references which are compiler
14298 generated.
14299 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14300
6c23e11c
JM
143012012-05-06 Joseph Myers <joseph@codesourcery.com>
14302
d8b82cad
JM
14303 [BZ #13884]
14304 [BZ #13914]
14305 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14306 USE_AS_EXP10L.
14307 (EXPL_FINITE): Likewise.
14308 (FLDLOG): Likewise.
14309 (c0): Likewise.
14310 (c1): Likewise.
14311 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14312 Adjust comments for base varying.
14313 (__expl_finite): Change alias to EXPL_FINITE.
14314 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14315 e_expl.S.
14316 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14317 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14318 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14319 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14320 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14321 USE_AS_EXP10L.
14322 (EXPL_FINITE): Likewise.
14323 (FLDLOG): Likewise.
14324 (c0): Likewise.
14325 (c1): Likewise.
14326 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14327 Adjust comments for base varying.
14328 (__expl_finite): Change alias to EXPL_FINITE.
14329 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14330 tests for bugs.
14331 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14332
6c23e11c
JM
14333 [BZ #14064]
14334 * math/libm-test.inc (check_float_internal): Correct ulp
14335 calculation for subnormal expected results.
14336
29ba805c
AJ
143372012-05-06 Andreas Jaeger <aj@suse.de>
14338
14339 * Makeconfig (+math-flags): New, set to -frounding-math.
14340 (+cflags): Add +math-flags so that all of glibc gets compiled with
14341 it.
14342
14343 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14344
7b17aeda
JM
143452012-05-05 Joseph Myers <joseph@codesourcery.com>
14346
5779f134
JM
14347 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14348 Disable one test.
14349
41498f4d
JM
14350 [BZ #13787]
14351 [BZ #13922]
14352 [BZ #14036]
14353 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14354 (__ieee754_expl): Allow for and saturate large arguments.
14355 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14356 (u_threshold): Likewise.
14357 (__exp): Call __ieee754_exp before checking for overflow and
14358 underflow.
14359 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14360 (u_threshold): Likewise.
14361 (__expf): Call __ieee754_expf before checking for overflow and
14362 underflow.
14363 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14364 (u_threshold): Likewise.
14365 (__expl): Call __ieee754_expl before checking for overflow and
14366 underflow.
14367 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14368 (__ieee754_expl): Allow for and saturate large arguments.
14369 * math/libm-test.inc (exp_test): Add another test. Do not allow
14370 missing overflow exception on overflow.
14371 (expm1_test): Do not allow missing overflow exception on overflow.
14372
6698b8bf
JM
14373 * sysdeps/i386/fpu/e_expl.c: Move to ...
14374 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14375 rather than using inline asm.
14376 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14377 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14378 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14379
7b17aeda
JM
14380 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14381 (nice): Likewise.
14382 (poll): Likewise.
14383 (signal): Likewise.
14384 (time): Likewise.
14385 (times): Likewise.
14386
f7c85819
JM
143872012-05-04 Joseph Myers <joseph@codesourcery.com>
14388
14389 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14390 sysdeps/unix/common/syscalls.list.
14391 (fchmod): Likewise.
14392 (fchown): Likewise.
14393 (ftruncate): Likewise.
14394 (getrusage): Likewise.
14395 (gettimeofday): Likewise.
14396 (setpgid): Likewise.
14397 (setregid): Likewise.
14398 (setreuid): Likewise.
14399 (sigaction): Likewise.
14400 (truncate): Likewise.
14401 (vhangup): Likewise.
14402 * sysdeps/unix/common/syscalls.list: Remove file.
14403 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14404 * sysdeps/unix/sysv/linux/Implies: Likewise.
14405
336270d0
L
144062012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14407
14408 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14409 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14410 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14411 Moved to ...
14412 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14413 Here.
14414 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14415 to ...
14416 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14417 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14418 to ...
14419 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14420 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14421 to ...
14422 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14423 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14424 to ...
14425 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14426 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14427 to ...
14428 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14429 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14430 to ...
14431 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14432 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14433 to ...
14434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14435 Here.
14436 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14437 to ...
14438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14439 Here.
14440 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14441 to ...
14442 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14443 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14444 Moved to ...
14445 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14446 Here.
14447 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14448 to ...
14449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14450
d128e450
JM
144512012-05-04 Joseph Myers <joseph@codesourcery.com>
14452
fa8ee516
JM
14453 * sysdeps/unix/common/bits/dirent.h: Remove file.
14454 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14455
d128e450
JM
14456 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14457 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14458 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14459 * sysdeps/unix/bsd/isatty.c: Likewise.
14460 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14461 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14462 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14463
ff8faaf0 144642012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 14465
62881be4 14466 [BZ #13563]
31dc8730
AZ
14467 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14468 long double comparison inaccuracies.
14469 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14471
6fef930c
AS
144722012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14473
14474 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14475 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14476
8f203e6c
JM
144772012-05-04 Joseph Myers <joseph@codesourcery.com>
14478
14479 [BZ #14049]
14480 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14481 nonzero digits before rounding a hex value.
14482 * stdlib/tst-strtod.c (tests): Add another test.
14483
5197d9c2
AK
144842012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14485
14486 * sysdeps/s390/fpu/libm-test-ulps: Update.
14487
f0c1dedf
AJ
144882012-05-03 Andreas Jaeger <aj@suse.de>
14489
14490 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14491 does not get optimized out.
14492 (malloc_opt_barrier): New.
14493
a65ef2ae 144942012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 14495 Roland McGrath <roland@hack.frob.com>
a65ef2ae 14496
2b942cb7 14497 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 14498 intermediate file deletion.
2b942cb7 14499 (generated): Add .symlist files.
a65ef2ae 14500
54b71e02
JM
145012012-05-03 Joseph Myers <joseph@codesourcery.com>
14502
14503 [BZ #13775]
14504 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14505 Redirect under this condition.
14506 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14507 [__USE_GNU] (__dprintf_chk): Not under this condition.
14508 [__USE_GNU] (__vdprintf_chk): Likewise.
14509 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14510 under this condition.
14511 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14512 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14513 [__USE_XOPEN2K8] (vdprintf): Likewise.
14514 [__USE_GNU] (__dprintf_chk): Not under this condition.
14515 [__USE_GNU] (__vdprintf_chk): Likewise.
14516 [__USE_GNU] (dprintf): Likewise.
14517 [__USE_GNU] (vdprintf): Likewise.
14518
d3dfcc41
RM
145192012-05-03 Roland McGrath <roland@hack.frob.com>
14520
14521 * elf/Makefile (common-generated): Set this instead of generated for
14522 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14523 $(all-built-dso)-derived lists.
14524
7ac30cc5
AJ
145252012-05-03 Andreas Jaeger <aj@suse.de>
14526
0c51e550
AJ
14527 * sysdeps/i386/fpu/libm-test-ulps: Update.
14528
7ac30cc5
AJ
14529 * FAQ: Removed.
14530 * FAQ.in: Likewise.
14531 * scripts/gen-FAQ.pl: Likewise.
14532 * manual/install.texi (Installation): Point to online location of
14533 FAQ.
14534 * Makefile (files-for-dist): Remove FAQ.
14535 (FAQ): Remove.
14536
d4c2917f
AM
145372012-05-02 Allan McRae <allan@archlinux.org>
14538
14539 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14540 (LDFLAGS-reldepmod5.so): Likewise.
14541 (LDFLAGS-reldep6mod1.so): Likewise.
14542 (LDFLAGS-reldep6mod4.so): Likewise.
14543 (LDFLAGS-reldep8mod3.so): Likewise.
14544 (LDFLAGS-unload4mod1.so): Likewise.
14545 (LDFLAGS-unload4mod2.so): Likewise.
14546 (LDFLAGS-tst-initorder): Likewise.
14547 (LDFLAGS-tst-initordera2.so): Likewise.
14548 (LDFLAGS-tst-initordera3.so): Likewise.
14549 (LDFLAGS-tst-initordera4.so): Likewise.
14550 (LDFLAGS-tst-initorderb2.so): Likewise.
14551 (LDFLAGS-noload): Likewise.
14552 (LDFLAGS-next): Likewise.
14553 (LDFLAGS-order2mod1.so): Likewise.
14554 (LDFLAGS-order2mod2.so): Likewise.
14555 (LDFLAGS-tst-initorder2): Likewise.
14556 (LDFLAGS-tst-initorder2a.so): Likewise.
14557 (LDFLAGS-tst-initorder2b.so): Likewise.
14558 (LDFLAGS-tst-initorder2c.so): Likewise.
14559 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14560
d77f993f
DM
145612012-05-02 David S. Miller <davem@davemloft.net>
14562
14563 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14564
171a70b4
PP
145652012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14566
14567 [BZ #14055]
14568 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14569
0be196ad
AJ
145702012-05-02 Andreas Jaeger <aj@suse.de>
14571
14572 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14573 since we manipulate rounding mode.
14574 (CPPFLAGS-test-idouble.c): Likewise.
14575 (CPPFLAGS-test-ifloat.c): Likewise.
14576 (CFLAGS-test-ldouble.c): Likewise.
14577 (CFLAGS-test-double.c): Likewise.
14578 (CFLAGS-test-float.c): Likewise.
14579 (CFLAGS-test-misc.c): Likewise.
14580 (CFLAGS-test-test-fenv.c): Likewise.
14581
4f9d04aa
AZ
145822012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14583
2b942cb7
RM
14584 [BZ #2550]
14585 [BZ #2570]
14586 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14587 comparisons to determine direction to adjust input.
4f9d04aa 14588
82a79e7d
RM
145892012-05-01 Roland McGrath <roland@hack.frob.com>
14590
f5a01ca9
RM
14591 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14592 output to the target.
14593
90fe4186
RM
14594 * scripts/localplt.awk: New file.
14595 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14596 (check-localplt-CFLAGS): Variable removed.
14597 ($(all-built-dso:=.jmprel)): New static pattern rule.
14598 (generated): Add those targets.
14599 (localplt-built-dso): New variable.
14600 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14601
14602 * elf/check-localplt.c: File removed.
14603
82397ed6
RM
14604 * scripts/check-execstack.awk: New file.
14605 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14606 (check-execstack-CFLAGS): Variable removed.
14607 ($(objpfx)check-execstack.h): Target removed.
14608 ($(objpfx)execstack-default): New target.
14609 (generated): Add that instead of check-execstack.h.
14610 ($(all-built-dso:=.phdr)): New static pattern rule.
14611 (generated): Add those targets.
14612 * elf/check-execstack.c: File removed.
14613
82a79e7d
RM
14614 * scripts/check-textrel.awk: New file.
14615 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14616 (check-textrel-CFLAGS): Variable removed.
14617 (all-built-dso): Use := to define.o
14618 ($(all-built-dso:=.dyn)): New static pattern rule.
14619 (generated): Add those targets.
14620 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14621 * config.make.in (READELF): New substituted variable.
14622 * elf/check-textrel.c: File removed.
14623
62fde54f 146242012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 14625
615605c9
JM
14626 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14627 allow.
14628 * conform/data/ctype.h-data [C99-based standards] (isblank):
14629 Expect function.
14630 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14631 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14632 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14633 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14634 Specify type. Require positive value.
14635 (EILSEQ): Likewise.
14636 (ERANGE): Likewise.
14637 [ISO || POSIX] (EILSEQ): Do not expect.
14638 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14639 Specify type. Require positive value.
14640 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14641 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14642 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14643 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14644 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14645 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14646 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14647 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14648 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14649 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14650 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14651 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14652 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14653 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14654 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14655 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14656 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14657 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14658 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14659 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14660 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14661 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14662 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14663 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14664 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14665 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14666 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14667 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14668 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14669 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14670 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14671 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14672 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14673 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14674 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14675 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14676 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14677 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14678 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14679 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14680 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14681 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14682 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14683 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14684 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14685 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14686 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14687 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14688 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14689 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14690 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14691 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14692 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14693 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14694 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14695 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14696 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14697 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14698 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14699 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14700 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14701 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14702 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14703 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14704 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14705 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14706 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14707 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14708 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14709 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14710 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14711 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14712 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14713 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14714 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14715 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14716 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14717 Require >= 2.
14718 (FLT_ROUNDS): Expect as macro, not constant.
14719 (FLT_MANT_DIG): Use macro-int-constant.
14720 (DBL_MANT_DIG): Likewise.
14721 (LDBL_MANT_DIG): Likewise.
14722 (FLT_DIG): Likewise.
14723 (DBL_DIG): Likewise.
14724 (LDBL_DIG): Likewise.
14725 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14726 (DBL_MIN_EXP): Likewise.
14727 (LDBL_MIN_EXP): Likewise.
14728 (FLT_MAX_EXP): Use macro-int-constant.
14729 (DBL_MAX_EXP): Likewise.
14730 (LDBL_MAX_EXP): Likewise.
14731 (FLT_MAX_10_EXP): Likewise.
14732 (DBL_MAX_10_EXP): Likewise.
14733 (LDBL_MAX_10_EXP): Likewise.
14734 (FLT_MAX): Use macro-constant.
14735 (DBL_MAX): Likewise.
14736 (LDBL_MAX): Likewise.
14737 (FLT_EPSILON): Use macro-constant. Give upper bound.
14738 (DBL_EPSILON): Likewise.
14739 (LDBL_EPSILON): Likewise.
14740 (FLT_MIN): Likewise.
14741 (DBL_MIN): Likewise.
14742 (LDBL_MIN): Likewise.
14743 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14744 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14745 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14746 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14747 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14748 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14749 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14750 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14751 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14752 [ISO11] (FLT_TRUE_MIN): Likewise.
14753 [ISO11] (LDBL_TRUE_MIN): Likewise.
14754 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14755 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14756 (SCHAR_MIN): Use macro-int-constant. Specify type.
14757 (SCHAR_MAX): Likewise.
14758 (UCHAR_MAX): Likewise.
14759 (CHAR_MIN): Likewise.
14760 (CHAR_MAX): Likewise.
14761 (MB_LEN_MAX): Use macro-int-constant.
14762 (SHRT_MIN): Use macro-int-constant. Specify type.
14763 (SHRT_MAX): Likewise.
14764 (USHRT_MAX): Likewise.
14765 (INT_MAX): Likewise.
14766 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14767 bound negative.
14768 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14769 bound with "U".
14770 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14771 bound with "L".
14772 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14773 bound negative. Suffix upper bound with "L".
14774 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14775 bound with "UL".
14776 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14777 Specify type.
14778 [C99-based standards] (LLONG_MAX): Likewise.
14779 [C99-based standards] (ULLONG_MAX): Likewise.
14780 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14781 == 0.
14782 [ISO11] (max_align_t): Require type.
14783 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14784
c9140a62
JM
14785 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14786 from $CFLAGS, without defining away __attribute__ calls.
14787 (checknamespace): Use $CFLAGS_namespace.
14788
9af0bf29
JM
14789 * conform/conformtest.pl (@keywords): Only include C99 keywords
14790 for standards based on C99 or C11.
14791
343222a2
JM
14792 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14793 Disable tests.
14794 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14795 UNIX98]: Likewise.
14796
661f8cf0
JM
14797 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14798 usability of symbols in #if.
14799
ee74b9cb
JM
14800 * conform/conformtest.pl: If macro or constant types start
14801 "promoted:", expect the symbol to be of the following type
14802 promoted by the integer promotions.
62fde54f 14803
aafc49b3
JM
14804 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14805 in one place. Also handle "macro-constant".
14806
fefdf574
JM
14807 * conform/conformtest.pl: Only accept expected macro values with
14808 "==". Parse all "macro" lines in one place.
14809 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14810
f2d922fe
JM
14811 * conform/conformtest.pl: Handle braced types on "constant" lines
14812 instead of handling "typed-constant".
14813 * conform/data/signal.h-data: Use "constant" instead of
14814 "typed-constant".
14815
d22956c9
JM
14816 * conform/conformtest.pl: Handle "optional-" at start of lines in
14817 one place rather than duplicating several cases. Handle each
14818 format of "macro" line with initial "optional-".
14819
028e2e38
JM
14820 * conform/conformtest.pl: Only accept expected constant or
14821 optional-constant values with "==". Parse all "constant" lines in
14822 one place. Parse all "optional-constant" lines in one place.
14823 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14824 * conform/data/fmtmsg.h-data: Likewise.
14825 * conform/data/netinet/in.h-data: Likewise.
14826 * conform/data/tar.h-data: Likewise.
14827 * conform/data/limits.h-data: Use "==" form on "constant" and
14828 "optional-constant" lines.
14829
1b8f2850
JM
14830 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14831 Use -std=c99 for XOPEN2K.
14832 (@knownproblems): Remove.
14833 (newtoken): Don't check %isknown.
14834
a05a144b
JM
14835 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14836 Do not expect macro.
14837 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14838 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14839 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14840 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14841 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14842 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14843 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14844 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14845 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14846 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14847 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14848 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14849 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14850 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14851 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14852 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14853 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14854 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14855 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14856 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14857 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14858 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14859 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14860 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14861 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14862 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14863 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14864 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14865 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14866 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14867 [XPG3] (acosh): Likewise.
14868 [XPG3] (asinh): Likewise.
14869 [XPG3] (atanh): Likewise.
14870 [XPG3] (cbrt): Likewise.
14871 [XPG3] (expm1): Likewise.
14872 [XPG3] (ilogb): Likewise.
14873 [XPG3] (log1p): Likewise.
14874 [XPG3] (logb): Likewise.
14875 [XPG3] (nextafter): Likewise.
14876 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14877 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14878 [XPG3] (remainder): Likewise.
14879 [XPG3] (rint): Likewise.
14880 [XPG3 || XPG4 || UNIX98] (round): Likewise.
14881 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14882 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14883 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14884 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14885 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14886 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14887 [UNIX98 || XOPEN2K] (scalb): Expect.
14888 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14889 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14890 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14891 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14892 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14893 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14894 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14895 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14896 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14897 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14898 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14899 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14900 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14901 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14902 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14903 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14904 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14905 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14906 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14907 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14908 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14909 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14910 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14911 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14912 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14913 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14914 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14915 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14916 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14917 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14918 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14919 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14920 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14921 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14922 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14923 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14924 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14925 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14926 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14927 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14928 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14929 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14930 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14931 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14932 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14933 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14934 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14935 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14936 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14937 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14938 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14939 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14940 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14941 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14942 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14943 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14944 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
14945 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
14946 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
14947 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
14948 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
14949 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
14950 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
14951 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
14952 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
14953 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
14954 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
14955 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
14956 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
14957 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
14958 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
14959 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
14960 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
14961 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
14962 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
14963 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
14964 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
14965 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
14966 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
14967 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
14968 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
14969 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
14970 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
14971 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
14972 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
14973 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
14974 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
14975 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
14976 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
14977 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
14978 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
14979 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
14980 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
14981 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
14982 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
14983 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
14984 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
14985 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
14986 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
14987 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
14988 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
14989 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
14990 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
14991 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
14992 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
14993 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
14994 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
14995 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
14996 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
14997 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
14998 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
14999 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15000 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15001 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15002 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15003 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15004 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15005 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15006 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15007 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15008 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15009 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15010 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15011 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15012 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15013 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15014 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15015 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15016 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15017 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15018 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15019 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15020 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15021 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15022 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15023 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15024 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15025
73c5ebe3
JM
15026 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15027 _XOPEN_SOURCE_EXTENDED for XPG4.
15028
39c33b6c
JM
15029 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15030
62fde54f
JM
15031 * Makeconfig (localtime): Remove variable.
15032 (inst_localtime-file): Likewise.
15033
0741d64c
AS
150342012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15035
15036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15037 Update.
15038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15039 Update.
15040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15041 Update.
15042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15043 Update.
15044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15045 Update.
15046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15047 Update.
15048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15049 Update.
15050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15051 Update.
15052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15053 Update.
15054
7cb029ee
JM
150552012-05-01 Joseph Myers <joseph@codesourcery.com>
15056
15057 [BZ #2550]
15058 [BZ #2570]
15059 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15060 comparisons to determine direction to adjust input.
15061 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15062 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15063 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15064 Likewise.
15065 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15066 Likewise.
15067 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15068 Likewise.
15069 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15070 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15071 Likewise.
15072 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15073 Likewise.
15074 * math/libm-test.inc (nexttoward_test): Add more tests.
15075
412bd966
AS
150762012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15077
15078 [BZ #14040]
15079 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15080 in version GLIBC_2.1, not GLIBC_2.0.
15081 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15082 Likewise.
15083
9568c0c2
JM
150842012-04-30 Joseph Myers <joseph@codesourcery.com>
15085
adfbc8ac
JM
15086 [BZ #13942]
15087 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15088 (1 - x) * (1 + x).
15089 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15090 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15091 * math/libm-test.inc (acos_test): Add more tests.
15092 (asin_test): Likewise.
15093 * sysdeps/i386/fpu/libm-test-ulps: Update.
15094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15095
5ba3cc69
JM
15096 [BZ #14034]
15097 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15098 of square root.
15099 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15100 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15101 * math/libm-test.inc (acos_test_tonearest): New function.
15102 (acos_test_towardzero): Likewise.
15103 (acos_test_downward): Likewise.
15104 (acos_test_upward): Likewise.
15105 (asin_test_tonearest): Likewise.
15106 (asin_test_towardzero): Likewise.
15107 (asin_test_downward): Likewise.
15108 (asin_test_upward): Likewise.
15109 (main): Call the new functions.
15110 * sysdeps/i386/fpu/libm-test-ulps: Update.
15111 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15112
9568c0c2
JM
15113 [BZ #13884]
15114 [BZ #13924]
15115 * math/e_exp10.c: Include <float.h>.
15116 (__ieee754_exp10): Handle underflow here rather than multiplying
15117 large negative argument by M_LN10.
15118 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15119 of __ieee754_expf.
15120 * math/e_exp10l.c: Include <float.h>.
15121 (__ieee754_exp10l): Handle underflow here rather than multiplying
15122 large negative argument by M_LN10l.
15123 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15124 spurious overflow exception on underflow.
15125
5ac3ea17
MP
151262012-04-29 Marek Polacek <polacek@redhat.com>
15127
15128 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15129 (__fortify_function): New macro.
15130 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15131 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15132 __extern_always_inline.
15133 * libio/bits/stdio2.h: Likewise.
15134 * libio/bits/stdio.h: Likewise.
15135 * string/string.h: Likewise.
15136 * string/bits/string3.h: Likewise.
15137 * include/stdio.h: Likewise.
15138 * stdlib/bits/stdlib.h: Likewise.
15139 * stdlib/stdlib.h: Likewise.
15140 * rt/bits/mqueue2.h: Likewise.
15141 * rt/mqueue.h: Likewise.
15142 * posix/bits/unistd.h: Likewise.
15143 * posix/unistd.h: Likewise.
15144 * io/bits/poll2.h: Likewise.
15145 * io/bits/fcntl2.h: Likewise.
15146 * io/fcntl.h: Likewise.
15147 * io/sys/poll.h: Likewise.
15148 * misc/bits/syslog.h: Likewise.
15149 * misc/bits/syslog-ldbl.h: Likewise.
15150 * misc/sys/syslog.h: Likewise.
15151 * socket/bits/socket2.h: Likewise.
15152 * socket/sys/socket.h: Likewise.
15153 * debug/tst-chk1.c: Likewise.
15154 * wcsmbs/bits/wchar2.h: Likewise.
15155 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15156 * wcsmbs/wchar.h: Likewise.
15157
ecf0ebfb
AJ
151582012-04-29 Andreas Jaeger <aj@suse.de>
15159
15160 * Makerules (tests): Remove enable-check-abi protection.
15161 (check-abi-warn): Remove.
15162 (check-abi-%): Remove check-abi-warn usage.
15163
15164 * configure.in: Remove check-abi configure option.
15165 * configure: Regenerated.
15166 * config.make.in (enable-check-abi): Remove.
15167
6d5c57fa
AS
151682012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15169
24c5d07e 15170 [BZ #14033]
ded5180a
AS
15171 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15172 double functions to double *_finite functions.
15173
7e0d315d
AS
15174 [BZ #13941]
15175 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15176 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15177 LDBL_MIN_EXP.
15178 * stdio-common/Makefile (tests): Add tst-sprintf3.
15179 * stdio-common/tst-sprintf3.c: New file.
15180
6d5c57fa
AS
15181 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15182 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15183
0749ff8b
JM
151842012-04-28 Joseph Myers <joseph@codesourcery.com>
15185
15186 * conform/conformtest.pl: Remove duplicate typed-constant
15187 handling.
15188
8dbd5d7b
DM
151892012-04-28 David S. Miller <davem@davemloft.net>
15190
15191 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15192 (check-abi-%): Remove AWK script prerequisite and explicit
15193 abilist directory.
15194 (check-abi): Rewrite to just diff the symlist with the abilist.
15195 (config-tls, config-abi-config): Delete, no longer used.
15196 (update-abi-%): Remove AWK script and explicit abilist directory.
15197 (update-abi): Rewrite to simply compare and conditionally copy the
15198 symlist and the sysdep abilist file. Remove update-abi-config
15199 checks.
15200 * abilist/ld.abilist: Remove.
15201 * abilist/libBrokenLocale.abilist: Remove.
15202 * abilist/libanl.abilist: Remove.
15203 * abilist/libcrypt.abilist: Remove.
15204 * abilist/libdl.abilist: Remove.
15205 * abilist/librt.abilist: Remove.
15206 * abilist/libthread_db.abilist: Remove.
15207 * abilist/libutil.abilist: Remove.
15208 * scripts/extract-abilist.awk: Remove.
15209 * scripts/merge-abilist.awk: Remove.
15210 * sysdeps/generic/libcidn.abilist: New file.
15211 * sysdeps/generic/libnss_compat.abilist: New file.
15212 * sysdeps/generic/libnss_db.abilist: New file.
15213 * sysdeps/generic/libnss_dns.abilist: New file.
15214 * sysdeps/generic/libnss_files.abilist: New file.
15215 * sysdeps/generic/libnss_hesiod.abilist: New file.
15216 * sysdeps/generic/libnss_nis.abilist: New file.
15217 * sysdeps/generic/libnss_nisplus.abilist: New file.
15218 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15219 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15220 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15221 file.
15222 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15223 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15224 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15225 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15226 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15227 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15228 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15229 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15230 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15231 file.
15232 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15233 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15234 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15235 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15236 file.
15237 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15238 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15239 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15240 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15241 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15242 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15243 file.
15244 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15245 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15246 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15247 file.
15248 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15249 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15250 New file.
15251 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15252 New file.
15253 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15254 New file.
15255 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15256 New file.
15257 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15258 New file.
15259 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15260 New file.
15261 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15262 New file.
15263 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15264 New file.
15265 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15266 New file.
15267 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15268 New file.
15269 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15270 New file.
15271 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15272 New file.
15273 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15274 New file.
15275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15276 file.
15277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15278 New file.
15279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15280 New file.
15281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15282 file.
15283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15284 New file.
15285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15286 New file.
15287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15288 file.
15289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15290 New file.
15291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15292 New file.
15293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15294 New file.
15295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15296 New file.
15297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15298 New file.
15299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15300 New file.
15301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15303 file.
15304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15305 New file.
15306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15307 file.
15308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15309 file.
15310 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15311 file.
15312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15313 file.
15314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15315 file.
15316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15317 New file.
15318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15319 file.
15320 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15321 file.
15322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15323 New file.
15324 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15325 file.
15326 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15328 file.
15329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15330 New file.
15331 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15332 file.
15333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15334 file.
15335 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15336 file.
15337 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15338 file.
15339 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15340 file.
15341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15342 New file.
15343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15344 file.
15345 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15346 file.
15347 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15348 New file.
15349 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15350 file.
15351 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15352 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15353 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15354 file.
15355 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15356 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15357 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15358 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15359 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15360 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15361 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15362 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15363 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15364 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15365 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15366 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15367 file.
15368 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15369 New file.
15370 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15371 file.
15372 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15373 file.
15374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15375 file.
15376 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15377 file.
15378 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15379 file.
15380 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15381 New file.
15382 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15383 New file.
15384 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15385 file.
15386 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15387 New file.
15388 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15389 file.
15390 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15391 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15392 file.
15393 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15394 New file.
15395 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15396 file.
15397 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15398 file.
15399 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15400 file.
15401 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15402 file.
15403 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15404 file.
15405 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15406 New file.
15407 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15408 New file.
15409 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15410 file.
15411 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15412 New file.
15413 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15414 file.
15415
41d73a1b
JM
154162012-04-28 Joseph Myers <joseph@codesourcery.com>
15417
15418 * conform/conformtest.pl: Fix typo in handling typed-constant from
15419 allow-header.
15420
28aeeda4
JM
154212012-04-27 Joseph Myers <joseph@codesourcery.com>
15422
adae8f5e
JM
15423 * README: Cut down references to pre-2.6 Linux kernels and
15424 Linuxthreads. Update lists of configurations in libc and ports
15425 and sort alphabetically. Say "or newer" with Linux kernel version
15426 requirements.
15427
28aeeda4
JM
15428 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15429
a462cb63
RA
154302012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15431
15432 [BZ #887]
15433 * math/libm-test.inc (logb_test_downward): New test to expose
15434 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15435 rounding mode.
15436
6ad3493e
JM
154372012-04-27 Joseph Myers <joseph@codesourcery.com>
15438
15439 [BZ #14027]
15440 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15441 to be done.
15442 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15443 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15444
2ce4f015
JM
154452012-04-26 Joseph Myers <joseph@codesourcery.com>
15446
5aeb141a
JM
15447 * sysdeps/unix/i386/brk.S: Remove file.
15448 * sysdeps/unix/i386/dl-brk.S: Likewise.
15449 * sysdeps/unix/i386/pipe.S: Likewise.
15450 * sysdeps/unix/i386/sigreturn.S: Likewise.
15451 * sysdeps/unix/i386/syscall.S: Likewise.
15452 * sysdeps/unix/i386/vfork.S: Likewise.
15453 * sysdeps/unix/i386/wait.S: Likewise.
15454
7143acae
JM
15455 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15456 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15457
2ce4f015
JM
15458 * configure.in (arm*-none*): Do not allow without
15459 --enable-hacker-mode.
15460 (netbsd*): Remove case setting base_os.
15461 (386bsd*): Likewise.
15462 (freebsd*): Likewise.
15463 (bsdi*): Likewise.
15464 (osf*): Likewise.
15465 (sunos*): Likewise.
15466 (ultrix*): Likewise.
15467 (newsos*): Likewise.
15468 (dynix*): Likewise.
15469 (*bsd*): Likewise.
15470 (sysv*): Likewise.
15471 (isc*): Likewise.
15472 (esix*): Likewise.
15473 (sco*): Likewise.
15474 (minix*): Likewise.
15475 (irix4*): Likewise.
15476 (irix6*): Likewise.
15477 (solaris[2-9]*): Likewise.
15478 (none): Likewise.
15479 * configure: Regenerated.
15480
0ac229c8
AZ
154812012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15482
15483 [BZ #11521]
15484 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15485 overflow or cancellation in calculating denominator.
15486 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15487 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15488 down expression to avoid unexpected rounding in newer GCCs.
15489 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15490
33f244f4
DM
154912012-04-26 David S. Miller <davem@davemloft.net>
15492
15493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15494 long-double compat symbols.
15495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15508
cfa1f3e8
DM
155092012-04-25 David S. Miller <davem@davemloft.net>
15510
15511 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15512 HWCAP_* values only after the memory barriers have been defined.
15513 (atomic_full_barrier): Define.
15514 (atomic_read_barrier): Define.
15515 (atomic_write_barrier): Define.
15516
6e236b92
SP
155172012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15518
15519 * shlib-versions: Add libgcc_s version information.
15520 * sysdeps/generic/libgcc_s.h: Remove.
15521 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15522 libgcc_s.h.
15523 * sysdeps/gnu/unwind-resume.c: Likewise.
15524 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15525
aab39a09
DM
155262012-04-25 David S. Miller <davem@davemloft.net>
15527
15528 * sysdeps/unix/sparc/brk.S: Delete.
15529 * sysdeps/unix/sparc/dl-brk.S: Delete.
15530 * sysdeps/unix/sparc/pipe.S: Delete.
15531 * sysdeps/unix/sparc/sysdep.S: Delete.
15532 * sysdeps/unix/sparc/sysdep.h: Delete.
15533 * sysdeps/unix/sparc/vfork.S: Delete.
15534 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15535 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15536 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15537 ret_ERRVAL, r0, r1, MOVE): Define.
15538 (JUMPTARGET): Remove.
15539 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15540 sysdeps/unix/sparc/sysdep.h
15541 (ENTRY, END): Remove.
15542 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15543
a3cc4f48
JM
155442012-04-25 Joseph Myers <joseph@codesourcery.com>
15545
2ed8cda2
JM
15546 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15547 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15548 -DIS_IN_build.
15549
35d76d59
JM
15550 * timezone/README: Update upstream location and email address for
15551 tzcode and tzdata.
15552 * timezone/zdump.c: Update from tzcode 2012b.
15553 * timezone/zic.c: Likewise.
15554
a3cc4f48
JM
15555 * configure.in (libc_cv_as_needed): Remove test.
15556 * configure: Regenerated.
15557 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15558 conditional definition.
15559 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15560 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15561 * config.make.in (have-as-needed): Remove variable.
15562
ceab42c3
SP
155632012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15564 Paul Pluzhnikov <ppluzhnikov@google.com>
15565
15566 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15567 strings correctly.
15568
3ce2865f
CLT
155692012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15570
15571 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15572 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15573 * sysdeps/sh/strlen.S: Likewise.
15574
f37e0d68
JM
155752012-04-24 Joseph Myers <joseph@codesourcery.com>
15576
ae186e9a
JM
15577 * sysdeps/unix/fork.S: Remove file.
15578 * sysdeps/unix/i386/fork.S: Likewise.
15579 * sysdeps/unix/sparc/fork.S: Likewise.
15580
b96914af
JM
15581 * sysdeps/unix/system.c: Remove file.
15582 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15583
f37e0d68
JM
15584 * sysdeps/unix/getegid.S: Remove file.
15585 * sysdeps/unix/geteuid.S: Likewise.
15586
87ef29ca
RM
155872012-04-24 Roland McGrath <roland@hack.frob.com>
15588
83bcd236
RM
15589 * scripts/check-localplt.awk: New file.
15590 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15591 of diff.
15592 * scripts/data/localplt-generic.data: Add a comment.
15593
87ef29ca
RM
15594 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15595 NODE when __dir_mkfile failed.
15596 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15597 Reported by Ludovic Courtès <ludo@gnu.org>.
15598
e5a6e567
AJ
155992012-04-24 Andreas Jaeger <aj@suse.de>
15600
15601 * Makerules (common-clean): Also remove gen-as-const-headers
15602 files.
15603
c1820385
JM
156042012-04-24 Joseph Myers <joseph@codesourcery.com>
15605
15606 * Makerules (native-compile): Do not change working directory for
15607 build. Use $(OUTPUT_OPTION) in command.
15608 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15609
94e02fc4
AZ
156102012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15611
15612 [BZ #13886]
15613 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15614 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15615 * math/libm-test.inc (floor_test): Add more tests.
15616 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15617
3a533ca3
JM
156182012-04-24 Joseph Myers <joseph@codesourcery.com>
15619
940ab4b3
JM
15620 * sysdeps/unix/getdents.c: Remove file.
15621 * sysdeps/unix/sysv/getdents.c: Likewise.
15622 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15623
90e037bd
JM
15624 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15625 sysdeps/unix/mman/syscalls.list.
15626 (mmap): Likewise.
15627 (mprotect): Likewise.
15628 (msync): Likewise.
15629 (munmap): Likewise.
15630 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15631 * sysdeps/unix/mman/syscalls.list: Remove.
15632 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15633
3a533ca3
JM
15634 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15635 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15636 * configure: Regenerated.
15637 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15638 $(libgcc_s_suffix).
15639 * config.make.in (libgcc_s_suffix): Remove variable.
15640
1ad743de
JM
156412012-04-23 Joseph Myers <joseph@codesourcery.com>
15642
4ad451e2
JM
15643 * sysdeps/unix/sysv/gethostname.c: Move to ...
15644 * sysdeps/posix/gethostname.c: ... here.
15645
5e37ce39
JM
15646 * sysdeps/unix/execve.S: Remove file.
15647
1ad743de
JM
15648 * sysdeps/unix/_exit.S: Remove file.
15649
4e681b5b
AJ
156502012-04-23 Andreas Jaeger <aj@suse.de>
15651
15652 [BZ #13739]
15653 * manual/Makefile: Remove make dist support, there's no
15654 need for a stand-alone documentation tar ball.
15655 (TEXI2DVI): Define always, it's not in Makeconfig.
15656 (dist): Removed.
15657 (tar-it): Removed.
15658 (edition): Removed.
15659 (glibc-doc-$(edition).tar): Removed
15660 (%.Z): Removed.
15661 (%.gz): Removed.
15662 (%.uu): Removed.
15663 (ETAGS): Remove, it's in Makeconfig.
15664 (move-if-change): Remove, it's in Makeconfig.
15665
38686a03 156662012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
15667
15668 [BZ #13970]
15669 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15670 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15671 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15672 (strtod_l, strtof_l, strtold_l): Remove __wur.
15673 It is not necessarily an error to ignore strtol's return value.
15674 One can reliably look at the stored endptr to decide whether
15675 the number had valid syntax.
15676
7c0616fa
AJ
156772012-04-21 Andreas Jaeger <aj@suse.de>
15678
803cb6b7 15679 [BZ #13739]
7c0616fa
AJ
15680 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15681
b0fe253f
JM
156822012-04-21 Joseph Myers <joseph@codesourcery.com>
15683
15684 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15685 * sysdeps/unix/sysv/Versions: Remove file.
15686
8280f22d
MT
156872012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15688
15689 [BZ #13927]
15690 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15691
75ce411f 156922012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
15693
15694 [BZ #7064]
15695 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15696 version from __vm86.
15697
097d59fa
JM
156982012-04-20 Joseph Myers <joseph@codesourcery.com>
15699
a90f3bcb
JM
15700 * sysdeps/unix/common/lxstat.c: Remove file.
15701 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15702
edc7ea78
JM
15703 * sysdeps/unix/sysv/Makefile: Remove file.
15704
cb78c221
JM
15705 * sysdeps/unix/sysv/direct.h: Remove file.
15706
efa6a45f
JM
15707 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15708 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15709 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15710 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15711 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15712 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15713 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15714
9c9f2d0c
JM
15715 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15716
4541c83b
JM
15717 * sysdeps/unix/xmknod.c: Remove file.
15718 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15719
f5d153a0
JM
15720 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15721
aa746595
JM
15722 * sysdeps/unix/sysv/i386/time.S: Remove file.
15723
cce5905e
JM
15724 * sysdeps/unix/fxstat.c: Remove file.
15725 * sysdeps/unix/xstat.c: Likewise.
15726 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15727
37fa3841
JM
15728 * sysdeps/unix/sysv/sigaction.c: Remove file.
15729
ff1962a3
JM
15730 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15731 (sysdep_headers): Remove variable.
15732 [termio.h not in sysdep_headers] (generated): Likewise.
15733 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15734 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15735 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15736 * sysdeps/unix/sysv/tcflow.c: Likewise.
15737 * sysdeps/unix/sysv/tcflush.c: Likewise.
15738 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15739 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15740 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15741 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15742 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15743
e7740d31
JM
15744 * sysdeps/unix/siglist.c: Remove file.
15745
ee06f18b
JM
15746 * sysdeps/unix/getppid.S: Remove file.
15747
097d59fa
JM
15748 * sysdeps/unix/mkdir.c: Remove file.
15749 * sysdeps/unix/rmdir.c: Likewise.
15750
ff3d51ec
AS
157512012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15752
15753 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15754 ERR_MAX value.
15755 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15756 errlist-compat value.
15757
50f81fd7
DM
157582012-04-18 David S. Miller <davem@davemloft.net>
15759
15760 * sysdeps/generic/memcopy.h (reg_char): Delete.
15761 * debug/strcat_chk.c: Use char, not reg_char.
15762 * debug/strcpy_chk.c: Likewise.
15763 * debug/strncat_chk.c: Likewise.
15764 * debug/strncpy_chk.c: Likewise.
15765 * string/memchr.c: Likewise.
15766 * string/memrchr.c: Likewise.
15767 * string/rawmemchr.c: Likewise.
15768 * string/strcat.c: Likewise.
15769 * string/strchr.c: Likewise.
15770 * string/strchrnul.c: Likewise.
15771 * string/strcmp.c: Likewise.
15772 * string/strcpy.c: Likewise.
15773 * string/strncat.c: Likewise.
15774 * string/strncmp.c: Likewise.
15775 * string/strncpy.c: Likewise.
15776
8ff41c46
WS
157772012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15778
15779 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15780 __builtin_memcopy is called when src and dest ranges are known to not
15781 overlap.
15782
6b652f46
WS
157832012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15784
15785 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15786 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15787 fwd_align_merge macro call.
15788 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15789 bwd_align_merge macro call.
15790 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15791
b282631e
WS
157922012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15793
15794 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15795 bwd_align_merge macros.
15796 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15797 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15798 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15799
95aa737c
DM
158002012-04-18 David S. Miller <davem@davemloft.net>
15801
15802 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15803
7a99a614
AJ
158042012-04-18 Andreas Jaeger <aj@suse.de>
15805
15806 [BZ# 6794]
15807 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15808 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15809 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15810
15811 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15812 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15813 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15814
15815 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15816 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15817 Adjust for changed ldbl-128 files.
15818
15819 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15820 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15821 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15822
e5270c23
DM
158232012-04-17 David S. Miller <davem@davemloft.net>
15824
15825 * sysdeps/sparc/sparc32/memcopy.h: Delete.
15826
fb5e92c9
AS
158272012-04-17 Andreas Schwab <schwab@linux-m68k.org>
15828
15829 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15830 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15831 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15832 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15833 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15834 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15835
76da7265
AZ
158362012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15837
15838 [BZ #6794]
15839 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15840 * math/libm-test.inc: Add ilogb errno and exception tests.
15841 * math/w_ilogb.c: New file: ilogb wrapper.
15842 * math/w_ilogbf.c: New file: ilogbf wrapper.
15843 * math/w_ilogbl.c: New file: ilogbl wrapper.
15844 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15845 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15846 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15847 exception being thrown with 0.0 as argument.
15848 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15849 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15850 exception being thrown with 0.0 as argument.
15851 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15852 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15853 exception being thrown with 0.0 as argument.
15854 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15855 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15856 exception being thrown with 0.0 as argument.
15857 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15858 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 15859 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
15860 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15861 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15862 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15863 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15864 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15865 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15866
0396e69d
PB
158672012-04-17 Petr Baudis <pasky@ucw.cz>
15868
15869 * include/sys/uio.h: Change __vector to __iovec to avoid clash
15870 with altivec.
15871
750b5926
MP
158722012-04-16 Marek Polacek <polacek@redhat.com>
15873
15874 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15875
751728a1
MP
158762012-04-16 Marek Polacek <polacek@redhat.com>
15877
15878 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15879 operands of fdivp instruction.
15880
34a27407
L
158812012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15882
15883 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15884 * elf/tst-auditmod3b.c: Likewise.
15885 * elf/tst-auditmod4b.c: Likewise.
15886 * elf/tst-auditmod5b.c: Likewise.
15887 * elf/tst-auditmod6b.c: Likewise.
15888 * elf/tst-auditmod6c.c: Likewise.
15889 * elf/tst-auditmod7b.c: Likewise.
15890 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15891 * sysdeps/x86_64/preconfigure.in: Likewise.
15892 * sysdeps/x86_64/preconfigure: Regenerated.
15893
7e73e17d
L
158942012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15895
15896 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15897 __ILP32__.
15898
c7a6ab72
AB
158992012-04-13 Antoine Balestrat <merkil33@gmail.com>
15900
15901 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15902 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15903
a9e8e0e0
CL
159042012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
15905
15906 [BZ #13973]
15907 * locale/iso-639.def: Fix gl language name. Spotted by
15908 Yaron Shahrabani.
15909
ec98af7d
RM
159102012-04-12 Roland McGrath <roland@hack.frob.com>
15911
15912 [BZ #2074]
15913 * libio/libio.h (__io_write_fn): Update comment.
15914
247c3ede
PB
159152012-04-12 Petr Baudis <pasky@ucw.cz>
15916
15917 [BZ #2074]
15918 * stdio.texi (Hook Functions): The user provided writer function
15919 is not allowed to return -1.
15920
55939d6d
DM
159212012-04-11 David S. Miller <davem@davemloft.net>
15922
15923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15924
90020f5a
MF
159252012-04-11 Mike Frysinger <vapier@gentoo.org>
15926
15927 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15928 Add a leading slash to rtkaio.
15929
288f9098
JM
159302012-04-11 Jim Meyering <meyering@redhat.com>
15931
90020f5a
MF
15932 [BZ #11959]
15933 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15934 It is not necessarily an error to ignore fwrite's return
15935 value. One can reliably use ferror to test for errors after
15936 the fact.
288f9098 15937
4be2b570
L
159382012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15939
15940 * bits/types.h (__snseconds_t): New type.
15941 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15942
15943 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15944 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15945 (__SNSECONDS_T_TYPE): Likewise.
15946 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15947 (__SNSECONDS_T_TYPE): Likewise.
15948 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15949 (__SNSECONDS_T_TYPE): Likewise.
15950
288f9098 159512012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
15952
15953 [BZ #2636]
15954 * manual/time.texi (Processor Time): Return type of times is
15955 elapsed real time since an arbitrary point in the past.
15956 (CPU Time): Move CLK_TCK from here...
15957 (Processor Time): ...to here. Correct description.
15958 * manual/conf.texi (Constants for Sysconf): Correct description of
15959 _SC_CLK_TCK.
15960
d7dd4413
DM
159612012-04-10 David S. Miller <davem@davemloft.net>
15962
15963 [BZ #13967]
15964 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
15965 where the is a gap between DT_REL(A) and DT_JMPREL.
15966
b46068fc
L
159672012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15968
15969 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
15970 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
15971 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
15972
73d65cc3
SP
159732012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15974
15975 * elf/dl-support.c (_dl_inhibit_cache): New variable.
15976 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
15977 (dl_main): Handle --inhibit-cache.
15978 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
15979 _dl_inhibit_cache.
15980 * elf/dl-load.c (_dl_map_object): Use it.
15981 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
15982
bcc8d661
JM
159832012-04-09 Joseph Myers <joseph@codesourcery.com>
15984
8f9a2fae
JM
15985 [BZ #13872]
15986 * sysdeps/i386/fpu/e_powl.S (p78): New object.
15987 (__ieee754_powl): Saturate large exponents rather than testing for
15988 overflow of y*log2(x).
15989 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
15990 * math/libm-test.inc (pow_test): Do not permit spurious overflow
15991 exceptions.
15992
bcc8d661
JM
15993 [BZ #11521]
15994 * math/s_ctan.c: Include <float.h>.
15995 (__ctan): Avoid internal overflow or cancellation in calculating
15996 denominator.
15997 * math/s_ctanf.c: Likewise.
15998 * math/s_ctanl.c: Likewise.
15999 * math/s_ctanh.c: Likewise.
16000 * math/s_ctanhf.c: Likewise.
16001 * math/s_ctanhl.c: Likewise.
16002 * math/libm-test.inc (ctan_test): Add more tests.
16003 (ctanh_test): Likewise.
16004 * sysdeps/i386/fpu/libm-test-ulps: Update.
16005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16006
823fbbb4
AJ
160072012-04-09 Andreas Jaeger <aj@suse.de>
16008
03879793
AJ
16009 [BZ #6894]
16010 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16011 is an optional BSD extension.
16012
823fbbb4
AJ
16013 [BZ #10254]
16014 * manual/stdio.texi (Opening Streams): Document additional fopen
16015 parameters.
16016
8de131cb
RM
160172012-04-09 Roland McGrath <roland@hack.frob.com>
16018
16019 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16020 %eax without telling the compiler.
16021
c0ed9d7d
CD
160222012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16023
16024 [BZ # 13963]
16025 * manual/install.texi: Use sourceware.org.
16026
c483f6b4
JM
160272012-04-09 Joseph Myers <joseph@codesourcery.com>
16028
d7dd9453
JM
16029 [BZ #13873]
16030 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16031 (__ieee754_pow): Generate overflow and underflow using huge*huge
16032 and tiny*tiny rather than just returning constant infinity or zero
16033 for large exponents.
16034 * math/libm-test.inc (pow_test): Require overflow exceptions for
16035 applicable cases of large exponents.
16036
c483f6b4
JM
16037 [BZ #706]
16038 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16039 (__ieee754_pow): Use iterative multiplication algorithm only for
16040 integer exponents with absolute value below 1024. Check for odd
16041 integer exponents when using algorithm for real exponents.
16042 * math/libm-test.inc (pow_test): Add more tests.
16043 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16044
d2de7579
JM
160452012-04-08 Joseph Myers <joseph@codesourcery.com>
16046
16047 [BZ #13705]
16048 * math/libm-test.inc (exp_test): Do not allow overflow exception
16049 on underflow test.
16050
f77f1232
AJ
160512012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16052
16053 [BZ #13705]
16054 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16055 instead of __kernel_standard_f.
16056
3884932b
MF
160572012-04-08 Mike Frysinger <vapier@gentoo.org>
16058
16059 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16060 * sysdeps/x86_64/memset_chk.S: Likewise.
16061
54472e9c
AJ
160622012-04-08 Andreas Jaeger <aj@suse.de>
16063
6ab0fbfc
AJ
16064 [BZ #10153]
16065 * manual/startup.texi (Environment Access): Describe return value
16066 for putenv and setenv.
16067
61efba8c
AJ
16068 [BZ #6895]
16069 * manual/filesys.texi (Directory Entries): Add description for
16070 DT_LNK.
16071
95c3f29a
AJ
16072 [BZ #6890]
16073 * manual/filesys.texi (Directory Entries): Clarify that it's file
16074 system not operating system in the description of DT_UNKNOWN.
16075
54472e9c
AJ
16076 [BZ #6578]
16077 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16078
624254b1
SC
160792012-04-08 Stephen Compall <s11@member.fsf.org>
16080
16081 [BZ #6649]
16082 * manual/llio.texi (Opening and Closing Files): Add cross
16083 reference to explain mode argument.
16084
1e4920e0
MF
160852012-04-07 Mike Frysinger <vapier@gentoo.org>
16086
16087 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16088 * sysdeps/x86_64/memset_chk.S: Likewise.
16089
5ed848f3
DM
160902012-04-07 David S. Miller <davem@davemloft.net>
16091
16092 * elf/elf.h (R_SPARC_WDISP10): Define.
16093 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16094 R_SPARC_SIZE32.
16095 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16096 R_SPARC_SIZE64 and R_SPARC_H34.
16097
96154cd8
CD
160982012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16099
16100 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16101 conditions and remove no longer applicable assertion.
16102
9904dc47
L
161032012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16104
16105 * bits/byteswap.h: Include <features.h>.
16106 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16107 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16108
f8887d0a
L
161092012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16110
16111 * bits/byteswap.h (__bswap_16): Removed.
16112 Include <bits/byteswap-16.h> to get __bswap_16.
16113 * sysdeps/i386/bits/byteswap.h: Likewise.
16114 * sysdeps/s390/bits/byteswap.h: Likewise.
16115 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16116 * bits/byteswap-16.h: New file.
16117 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16118 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16119 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16120 * string/Makefile (headers): Add bits/byteswap-16.h.
16121
62470f60
PP
161222012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16123
16124 [BZ #13895]
16125 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16126 extra indirection.
16127 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16128 * nss/tst-nss-static.c: New.
16129
4dad7bab
RM
161302012-04-06 Robert Millan <rmh@gnu.org>
16131
16132 [BZ #6486]
16133 * manual/llio.texi (File Position Primitive): lseek
16134 refers to WHENCE when it really means OFFSET.
16135
e9142a17
AJ
161362012-04-06 Andreas Jaeger <aj@suse.de>
16137
2c040eff
AJ
16138 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16139 strncmp declarations.
16140
e9142a17
AJ
16141 * abilist/libc.abilist: Add __poll and __ppoll.
16142
ff9f1c5f
DM
161432012-04-05 David S. Miller <davem@davemloft.net>
16144
dcd2ae90
DM
16145 * scripts/check-local-headers.sh: Accept a host triplet in the
16146 path matched by the exclude regexp.
16147
993eb054
DM
16148 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16149 definition.
16150 * sysdeps/powerpc/powerpc32/dl-machine.h
16151 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16152 * sysdeps/s390/s390-32/dl-machine.h
16153 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16154 * sysdeps/sparc/sparc32/dl-machine.h
16155 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16156 * sysdeps/sparc/sparc64/dl-machine.h
16157 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16158
ff9f1c5f
DM
16159 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16160 lazy binding.
48e2e132 16161 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
16162 undefined symbol errors.
16163
48e2e132 16164 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
16165 DT_NEEDED entries.
16166
e80d6f94
MM
161672012-04-05 Michael Matz <matz@suse.de>
16168
16169 [BZ #13592]
16170 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16171
349fa79f
AJ
161722012-04-05 Andreas Jaeger <aj@suse.de>
16173
16174 [BZ #13908]
16175 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16176 comment.
16177
f402708f
KK
161782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16179
16180 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16181 which ROUND is no valid rounding mode.
16182
2ecccfc9
KK
161832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16184
16185 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16186 read again.
16187 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16188
8a53f50f
KK
161892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16190
16191 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16192 an exception using FPU order intentionally.
16193
161942012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16195
16196 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16197 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16198 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16199 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16200
d653abb7
SJ
162012012-04-05 Simon Josefsson <simon@josefsson.org>
16202
16203 [BZ #12340]
16204 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16205 EINVAL when BUFLEN is too smal.
16206
c3b1bf7d
TS
162072012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16208
16209 [BZ #13553]
16210 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16211 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16212
b1aa60f3
AJ
162132012-04-03 Andreas Jaeger <aj@suse.de>
16214
c3b1bf7d 16215 [BZ #13938]
67f60a26
AJ
16216 * manual/setjmp.texi (System V contexts): Fix sentence.
16217
b1aa60f3
AJ
16218 [BZ #13926]
16219 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16220 New macro for this case.
16221 [!__GNUC__] (__bswap_64): New inline function for this case.
16222 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16223 * bits/byteswap.h: Likewise.
16224 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16225 ull, guard with __GLIBC_HAVE_LONG_LONG.
16226
16227 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16228 __GLIBC_HAVE_LONG_LONG.
16229
16230 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16231 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16232
39c59c35
TMQMF
162332012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16234
16235 [BZ #13691]
16236 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16237 inptr and inend, rather than using last_ch.
16238
135ffda8
DM
162392012-04-02 David S. Miller <davem@davemloft.net>
16240
16241 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16242 * stdio-common/printf-parse.h (read_int): Change return type to
16243 'int', return -1 on INT_MAX overflow.
16244 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16245 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16246 overflows INT_MAX. Check for overflow of in-format-string precision
16247 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16248 SIZE_MAX not INT_MAX for integer overflow test.
16249 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16250 skip the construct in the format string but do not record anything.
16251 * stdio-common/bug22.c: Adjust to test both width/prevision
16252 INT_MAX overflow as well as total length INT_MAX overflow. Check
16253 explicitly for proper errno values.
16254
228c019e
TS
162552012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16256
302cadd3
TS
16257 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16258 CHAR_MAX.
16259 * string/test-strcmp.c [! WIDE]: Likewise.
16260 * time/tst-mktime2.c: Likewise for INT_MAX.
16261 * string/test-string.h: #include <sys/param.h> for MIN.
16262
228c019e
TS
16263 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16264 * sysdeps/i386/init-first.c (init): Likewise.
16265 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16266 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16267 * sysdeps/sh/init-first.c (init): Likewise.
16268
cfa633f5
UD
162692012-04-01 Ulrich Drepper <drepper@gmail.com>
16270
16271 * po/ru.po: Update from translation team.
d1635ef8 16272 * po/vi.po: Likewise.
cfa633f5 16273
6cd0a5ea
SP
162742012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16275
16276 * resolv/nss_dns/dns-host.c: Merge copyright years.
16277
4b43400f
LD
162782012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16279
16280 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16281 Optimize memcpy with prefetch if
16282 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16283 src, dst pointers have unequal 16 byte alignments.
16284
48c41d04
SP
162852012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16286
16287 [BZ #13928]
16288 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16289 from a CNAME entry and return the minimum ttl for the query.
16290 (gaih_getanswer_slice): Likewise.
16291
b8dc394d
JL
162922012-03-30 Jeff Law <law@redhat.com>
16293
16294 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16295 due to long keys.
16296 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16297 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16298
2f5a5ed0
JL
16299 * resolv/nss_dns/dns-host.c: Update copyright year.
16300
1d39e359
UD
163012012-03-30 Ulrich Drepper <drepper@gmail.com>
16302
c030f70c 16303 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 16304 requests to save a system call. Fix check that all bytes are sent.
c030f70c 16305
1d39e359
UD
16306 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16307 comments for sendmmsg.
16308
163092012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
16310
16311 [BZ #13691]
16312 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16313 with only 1 character between 0x0041 and 0x01b0.
16314 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16315 * wcsmbs/tst-mbsnrtowcs.c: New file.
16316
20fde227
DM
163172012-03-29 David S. Miller <davem@davemloft.net>
16318
16319 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16320 small copies by hand.
16321
984a4237
JL
163222012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16323
16324 [BZ #13761]
16325 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16326 _nss_compat_initgroups_dyn): Fall back to malloc/free
16327 for large group memberships.
16328
18c9d62b
DM
163292012-03-28 David S. Miller <davem@davemloft.net>
16330
88d85d4f
DM
16331 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16332 that branches into memcpy.
16333 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16334 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16335 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16336 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16337 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16338 bits.
16339 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16340 implementation too.
16341 * sysdeps/sparc/mempcpy.S: New file.
16342
e5aa83e1
DM
16343 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16344 the IFUNC routine in the libc case.
16345 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16346
88570753
DM
16347 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16348 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16349 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16350 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16351 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16352 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16353 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16354 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16355
249d7567
DM
16356 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16357 loop to 256 bytes instead of 64 bytes and fix test signedness.
16358
18c9d62b
DM
16359 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16360 * sysdeps/sparc/sparc32/Makefile: rather than here...
16361 * sysdeps/sparc/sparc64/Makefile: and here.
16362
05f3d1f6
UD
163632012-03-28 Ulrich Drepper <drepper@gmail.com>
16364
16365 * malloc/mallocbug.c: Avoid warnings about unused variables.
16366
86ae07a8
JL
163672012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16368
16369 [BZ #13760]
16370 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16371 in the right place. Discard and retry query if response is
16372 larger than input buffer size.
16373
41bf21a1
JM
163742012-03-28 Joseph Myers <joseph@codesourcery.com>
16375
d6270972
JM
16376 [BZ #369]
16377 [BZ #2678]
16378 [BZ #3866]
16379 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16380 x for large integer exponent.
16381 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16382 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16383 sign of result as needed afterwards.
16384 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16385 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16386 result for underflowing pow the same as for overflow.
16387 (__kernel_standard_l): Handle powl overflow and underflow here
16388 rather than calling __kernel_standard.
16389 * math/libm-test.inc (pow_test): Add more tests.
16390
414fca03 16391 [BZ #3868]
41bf21a1
JM
16392 [BZ #13879]
16393 [BZ #13910]
16394 [BZ #13911]
16395 [BZ #13912]
16396 [BZ #13913]
16397 [BZ #13915]
16398 [BZ #13916]
16399 [BZ #13917]
16400 [BZ #13918]
16401 [BZ #13919]
16402 [BZ #13920]
16403 [BZ #13921]
16404 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16405 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16406 (__kernel_standard_l): New function.
16407 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16408 __kernel_standard.
16409 * math/w_acosl.c (__acosl): Likewise.
16410 * math/w_asinl.c (__asinl): Likewise.
16411 * math/w_atan2l.c (__atan2l): Likewise.
16412 * math/w_atanhl.c (__atanhl): Likewise.
16413 * math/w_coshl.c (__coshl): Likewise.
16414 * math/w_exp10l.c (__exp10l): Likewise.
16415 * math/w_exp2l.c (__exp2l): Likewise.
16416 * math/w_fmodl.c (__fmodl): Likewise.
16417 * math/w_hypotl.c (__hypotl): Likewise.
16418 * math/w_j0l.c (__j0l, __y0l): Likewise.
16419 * math/w_j1l.c (__j1l, __y1l): Likewise.
16420 * math/w_jnl.c (__jnl, __ynl): Likewise.
16421 * math/w_lgammal.c (__lgammal): Likewise.
16422 * math/w_log10l.c (__log10l): Likewise.
16423 * math/w_log2l.c (__log2l): Likewise.
16424 * math/w_logl.c (__logl): Likewise.
16425 * math/w_powl.c (__powl): Likewise.
16426 * math/w_remainderl.c (__remainderl): Likewise.
16427 * math/w_scalbl.c (sysv_scalbl): Likewise.
16428 * math/w_sinhl.c (__sinhl): Likewise.
16429 * math/w_sqrtl.c (__sqrtl): Likewise.
16430 * math/w_tgammal.c (__tgammal): Likewise.
16431 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16432 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16433 * math/libm-test.inc (acos_test): Add more tests.
16434 (acosh_test): Likewise.
16435 (asin_test): Likewise.
16436 (atanh_test): Likewise.
16437 (exp_test): Likewise.
16438 (exp10_test): Likewise.
16439 (exp2_test): Likewise.
16440 (expm1_test): Likewise.
16441 (lgamma_test): Likewise.
16442 (log_test): Likewise.
16443 (log10_test): Likewise.
16444 (log1p_test): Likewise.
16445 (log2_test): Likewise.
16446 (pow_test): Do not allow some spurious overflow exceptions.
16447 (sqrt_test): Add more tests.
16448 (tgamma_test): Likewise.
16449 (y0_test): Likewise.
16450 (y1_test): Likewise.
16451 (yn_test): Likewise.
16452
dd62fda6
AB
164532012-03-27 Anton Blanchard <anton@samba.org>
16454
16455 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16456 MAP_HUGETLB.
16457 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16458 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16459 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16460
1e3cdfda
AJ
164612012-03-27 David S. Miller <davem@davemloft.net>
16462
b855ab85
DM
16463 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16464
1e3cdfda
AJ
16465 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16466 have-as-vis3 check.
16467
164682012-03-27 Andreas Jaeger <aj@suse.de>
16469
16470 * sysdeps/x86_64/elf/configure.in: Moved to ...
16471 * sysdeps/x86_64/configure.in: ... here.
16472 * sysdeps/x86_64/elf/start.S: Moved to ...
16473 * sysdeps/x86_64/start.S: ... here.
16474 * sysdeps/x86_64/elf/configure: Delete.
16475
16476 * sysdeps/x86_64/configure.in: Merge contents from
16477 sysdeps/i386/configure.in (without i686 check).
16478
16479 * sysdeps/i386/elf/Versions: Merge into ...
16480 * sysdeps/i386/Versions: ... this.
16481 * sysdeps/i386/elf/Versions: Delete file.
16482 * sysdeps/i386/elf/start.S: Moved to ...
16483 * sysdeps/i386/start.S: ...here.
16484 * sysdeps/i386/elf/configure.in: Merge into...
16485 * sysdeps/i386/configure.in: ...here.
16486 * sysdeps/i386/elf/configure.in: Delete file.
16487 * sysdeps/i386/elf/configure: Delete file.
16488
16489 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16490 * debug/backtracesyms.c: ... here.
16491 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16492 * debug/backtracesymsfd.c: ... here.
16493 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16494 * sysdeps/generic/ifunc-sel.h: ... here.
16495
16496 * sysdeps/unix/i386/start.c: Delete file.
16497 * sysdeps/unix/sparc/start.c: Delete file.
16498 * sysdeps/unix/start.c: Delete file.
16499
16500 * sysdeps/sh/elf/configure.in: Moved to ...
16501 * sysdeps/sh/configure.in: ... here.
16502 * sysdeps/sh/elf/start.S: Moved to ...
16503 * sysdeps/sh/start.S: ... here.
16504 * sysdeps/sh/elf/configure: Delete file.
16505
16506 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16507 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16508 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16509 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16510 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16511 * sysdeps/powerpc/powerpc64/start.S: here.
16512 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16513 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16514 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16515 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16516 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16517
16518 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16519 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16520 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16521 * sysdeps/powerpc/powerpc32/start.S: ... here.
16522 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16523 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16524 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16525
16526 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16527 * sysdeps/powerpc/ifunc-sel.h: ... here.
16528 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16529 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16530
16531 * sysdeps/sparc/elf/configure.in: Moved to ...
16532 * sysdeps/sparc/configure.in: ... here.
16533 * sysdeps/sparc/elf/configure: Delete file.
16534 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16535 * sysdeps/sparc/sparc32/start.S: ... here.
16536 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16537 * sysdeps/sparc/sparc64/start.S: ... here.
16538 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16539 * sysdeps/sparc/sparc32/Makefile: ... this.
16540 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16541 * sysdeps/sparc/sparc64/Makefile: ... this.
16542
16543 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16544 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16545 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16546 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16547 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16548 * sysdeps/s390/s390-32/setjmp.S: ... here.
16549 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16550 * sysdeps/s390/s390-32/configure.in: ... here.
16551 * sysdeps/s390/s390-32/elf/configure: Delete file.
16552 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16553 * sysdeps/s390/s390-32/start.S: ... here.
16554
16555 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16556 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16557 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16558 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16559 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16560 * sysdeps/s390/s390-64/setjmp.S: ... here.
16561 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16562 * sysdeps/s390/s390-64/configure.in: ... here
16563 * sysdeps/s390/s390-64/elf/configure: Delete file.
16564 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16565 * sysdeps/s390/s390-64/start.S: ... here.
16566 * sysdeps/s390/s390-64/elf/configure: Delete.
16567
16568 * configure.in: Remove support for elf directories in sysdeps.
16569
16570 * configure: Regenerated.
16571 * sysdeps/i386/configure: Regenerated.
16572 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16573 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16574 * sysdeps/s390/s390-32/configure: Regenerated.
16575 * sysdeps/s390/s390-64/configure: Regenerated.
16576 * sysdeps/sh/configure: Regenerated.
16577 * sysdeps/sparc/configure: Regenerated.
16578 * sysdeps/x86_64/configure: Regenerated.
16579
a3f61311
AS
165802012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16581
c876e002
AS
16582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16583
a3f61311
AS
16584 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16585 denormal result into account.
16586
ac4c54f0
RM
165872012-03-25 Roland McGrath <roland@hack.frob.com>
16588
16589 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16590 Reported by Allan McRae <allan@archlinux.org>.
16591
6a9b9c02
JL
165922012-03-23 Jeff Law <law@redhat.com>
16593
16594 * nss/getnssent.c (__nss_getent): Fix typo.
16595
4c42a0c1
DM
165962012-03-23 David S. Miller <davem@davemloft.net>
16597
16598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16599
1532c7ac
L
166002012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16601
16602 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16603 to pad to uint64_t for each field.
16604 (dl_tls_index): Replace unsigned long with uint64_t.
16605
3ff42526
PP
166062012-03-23 Daniel Jacobowitz <dmj@google.com>
16607 Paul Pluzhnikov <ppluzhnikov@google.com>
16608
16609 [BZ #6528]
16610 * grp/Makefile (otherlibs): Don't set it.
16611 * inet/Makefile (otherlibs): Likewise.
16612 * login/Makefile (otherlibs): Likewise.
16613 * nscd/Makefile (otherlibs): Likewise.
16614 * posix/Makefile (otherlibs): Likewise.
16615 * pwd/Makefile (otherlibs): Likewise.
16616 * rt/Makefile (otherlibs): Likewise.
16617 * sunrpc/Makefile (otherlibs): Likewise.
16618 * nss/Makefile (otherlibs): Likewise.
16619 Add libnss_files to routines and static-only-routines.
16620 ($(objpfx)getent): Remove rule.
16621 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16622 static-only-routines.
16623
7c69cd14
JM
166242012-03-22 Joseph Myers <joseph@codesourcery.com>
16625
16626 [BZ #13892]
16627 * math/s_cexp.c: Include <float.h>.
16628 (__cexp): Handle exp result overflowing not necessarily
16629 overflowing both real and imaginary parts of result.
16630 * math/s_cexpf.c: Likewise.
16631 * math/s_cexpl.c: Likewise.
16632 * math/libm-test.inc (cexp_test): Add more tests.
16633 * sysdeps/i386/fpu/libm-test-ulps: Update.
16634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16635
81b035fe
L
166362012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16637
16638 * include/link.h (ELFW): New macro.
16639 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16640 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16641
1da7940c
L
166422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16643
16644 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16645 with uint64_t.
16646
b749dbb9
L
166472012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16648
16649 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16650 declaration.
16651 (struct La_x32_retval): Likewise.
16652
2ff87f3f
L
166532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16654
16655 * sysdeps/x86_64/preconfigure.in: New file.
16656 * sysdeps/x86_64/preconfigure: New generated file.
16657
c0df8e69
JM
166582012-03-22 Joseph Myers <joseph@codesourcery.com>
16659
48e44791
JM
16660 [BZ #13824]
16661 * math/e_exp2l.c: Include <float.h>.
16662 (__ieee754_exp2l): Handle overflow and underflow cases
16663 separately. Only pass fractional part of argument to
16664 __ieee754_expl.
16665 * math/libm-test.inc (exp2_test): Add more tests.
16666
c0df8e69
JM
16667 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16668 negating x to take absolute value.
16669 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16670 Likewise.
16671 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16672 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16673 Likewise.
16674 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16675 computing low part if x was negated.
16676 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16677
c8e43ba7
L
166782012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16679
16680 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16681 la_x32_gnu_pltexit.
16682 (pltexit): Cast int_retval to ptrdiff_t.
16683 * elf/tst-auditmod3b.c: Likewise.
16684 * elf/tst-auditmod4b.c: Likewise.
16685 * elf/tst-auditmod5b.c: Likewise.
16686 * elf/tst-auditmod6b.c: Likewise.
16687 * elf/tst-auditmod6c.c: Likewise.
16688 * elf/tst-auditmod7b.c: Likewise.
16689
16690 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16691 and x32_gnu_pltexit.
16692
16693 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16694 __ELF_NATIVE_CLASS.
16695 (La_x32_regs): New macro.
16696 (La_x32_retval): Likewise.
16697 (la_x32_gnu_pltenter): New function prototype.
16698 (la_x32_gnu_pltexit): Likewise.
16699
7998fa78
AS
167002012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16701
dcb33988
AS
16702 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16703 exponent.
16704
233fc563
AS
16705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16706
7998fa78
AS
16707 * configure.in (libc_cv_cc_nofma): Check for option to disable
16708 generation of FMA instructions.
16709 * configure: Regenerate.
16710 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16711 * sysdeps/ieee754/dbl-64/Makefile: New file.
16712 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16713 Remove brandred-fma4.
16714 (CFLAGS-brandred-fma4.c): Remove.
16715 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16716 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16717 define.
16718 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16719 define.
16720
8e95c99a
L
167212012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16722
16723 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16724 LLONG_MAX != LONG_MAX.
16725 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16726 (_fitoa_word): Likewise.
16727 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16728 LLONG_MAX != LONG_MAX.
16729 * stdio-common/_itowa.h: Include <_itoa.h>.
16730 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16731 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16732 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16733 only if not defined.
16734 (_ITOA_WORD_TYPE): Likewise.
16735 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16736 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16737
6f4db457
DM
167382012-03-21 David S. Miller <davem@davemloft.net>
16739
16740 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16741
7785fe5a
L
167422012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16743
16744 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16745 of x86_64 when setting libc_cv_slibdir, libdir and
16746 libc_cv_localedir.
16747 * sysdeps/unix/sysv/linux/configure: Regenerated.
16748
4535cd55
JM
167492012-03-21 Joseph Myers <joseph@codesourcery.com>
16750
16751 * manual/lang.texi (Old Varargs): Remove section.
16752 (How Variadic): Update menu.
16753 (va_start): Do not mention varargs.h.
16754
17228132
TS
167552012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16756 Joseph Myers <joseph@codesourcery.com>
16757
16758 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16759 link test.
16760 * configure: Regenerated.
16761
8149f976
TS
167622012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16763
05f3d1f6
UD
16764 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16765 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16766 conformtest.pl
8149f976 16767
1a4ac776
JM
167682012-03-21 Joseph Myers <joseph@codesourcery.com>
16769
be22ce65
JM
16770 * NOTES: Remove.
16771 * Makefile (files-for-dist): Remove NOTES.
16772 (NOTES): Remove rule.
16773 * README: Don't refer to NOTES.
16774 * manual/creature.texi: Don't include macros.texi.
16775 * manual/intro.texi (creature.texi): Remove comment referring to
16776 NOTES.
16777
40b601fb
JM
16778 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16779 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16780 * configure: Regenerated.
16781 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16782 LIBC_TRY_CC_OPTION.
16783 (libc_cv_as_i686): Likewise.
16784 (libc_cv_cc_avx): Likewise.
16785 (libc_cv_cc_sse2avx): Likewise.
16786 (libc_cv_cc_fma4): Likewise.
16787 (libc_cv_cc_novzeroupper): Likewise.
16788 * sysdeps/i386/configure: Regenerated.
16789
1a4ac776
JM
16790 [BZ #13883]
16791 * sysdeps/i386/fpu/s_cexp.S: Remove.
16792 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16793 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16794 * math/libm-test.inc (cexp_test): Add more tests.
16795 * sysdeps/i386/fpu/libm-test-ulps: Update.
16796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16797
a458e7fe
AM
167982012-03-21 Allan McRae <allan@archlinux.org>
16799
16800 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16801
0cb7efc5
JM
168022012-03-21 Joseph Myers <joseph@codesourcery.com>
16803
16804 [BZ #13871]
16805 * math/w_exp2.c: Do not include <float.h>.
16806 (o_threshold, u_threshold): Remove.
16807 (__exp2): Calculate result before checking finiteness and calling
16808 __kernel_standard.
16809 * math/w_exp2f.c: Likewise.
16810 * math/w_exp2l.c: Likewise.
16811 * math/libm-test.inc (exp2_test): Require overflow exception for
16812 1e6 input.
2460d3aa
JM
16813
16814 [BZ #3866]
16815 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16816 range of signed 64-bit integers before using fistpll. Remove
16817 checks for whether integers fit in mantissa bits.
16818 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16819 the range of signed 32-bit integers before using fistpl. Remove
16820 checks for whether integers fit in mantissa bits.
16821 * sysdeps/i386/fpu/e_powl.S (p64): New object.
16822 (__ieee754_powl): Test for y outside the range of signed 64-bit
16823 integers before using fistpll. Reduce 64-bit values to 63-bit
16824 ones as needed.
16825 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16826 divide-by-zero is raised for zero to large negative powers.
16827 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16828 (__ieee754_powl): Test for y outside the range of signed 64-bit
16829 integers before using fistpll. Reduce 64-bit values to 63-bit
16830 ones as needed.
16831 * math/libm-test.inc (pow_test): Add more tests.
16832
eb96ffb0
L
168332012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16834
16835 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16836 <stdio-common/_itoa.h>.
16837 * debug/segfault.c: Likewise.
16838 * elf/dl-cache.c: Likewise.
16839 * elf/dl-minimal.c: Likewise.
16840 * elf/dl-misc.c: Likewise.
16841 * elf/dl-sysdep.c: Likewise.
16842 * elf/dl-version.c: Likewise.
16843 * elf/rtld.c: Likewise.
16844 * hurd/hurdsock.c: Likewise.
16845 * hurd/lookup-retry.c: Likewise.
16846 * malloc/malloc.c: Likewise.
16847 * malloc/mtrace.c: Likewise.
16848 * nscd/nscd_getgr_r.c: Likewise.
16849 * nscd/nscd_getpw_r.c: Likewise.
16850 * nscd/nscd_getserv_r.c: Likewise.
16851 * posix/getopt_init.c: Likewise.
16852 * posix/wordexp.c: Likewise.
16853 * stdio-common/_itoa.c: Likewise.
16854 * stdio-common/printf_fphex.c: Likewise.
16855 * stdio-common/vfprintf.c: Likewise.
16856 * string/_strerror.c: Likewise.
16857 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16858 * sysdeps/i386/i686/hp-timing.h: Likewise.
16859 * sysdeps/mach/_strerror.c: Likewise.
16860 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16861 * sysdeps/mach/hurd/sethostid.c: Likewise.
16862 * sysdeps/mach/hurd/xmknodat.c: Likewise.
16863 * sysdeps/mach/xpg-strerror.c: Likewise.
16864 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16865 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16866 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16867 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16868 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16869 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16870 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16871 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16872 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16873 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16874 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16875 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16876 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16877 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16878 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16879 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16880 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16881 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16882 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16883 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16884 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16885
16886 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16887
16888 * stdio-common/_itoa.h: Moved to ...
16889 * sysdeps/generic/_itoa.h: Here.
16890
16891 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16892
16893 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16894 instead of "_itoa.h" and "_itowa.h".
16895 * stdio-common/vfprintf.: Likewise.
16896
d1af992d
L
168972012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16898
16899 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16900 <bits/wordsize.h>.
16901 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16902 (__signbit): Likwise.
16903 (llrintf): Likwise.
16904 (llrint): Likwise.
16905
114883e0
L
169062012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16907
16908 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16909 __WORDSIZE != 64.
16910
c135cc1b
JM
169112012-03-20 Joseph Myers <joseph@codesourcery.com>
16912
16913 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16914 OVERFLOW_EXCEPTION_OK.
16915 * math/libm-test.inc ("Philosophy"): Update comment about
16916 exception testing.
16917 (OVERFLOW_EXCEPTION): Define.
16918 (OVERFLOW_EXCEPTION_OK): Likewise.
16919 (INVALID_EXCEPTION_OK): Renumber.
16920 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16921 (IGNORE_ZERO_INF_SIGN): Likewise.
16922 (test_exceptions): Handle FE_OVERFLOW.
16923 (exp10_test): Expect overflow exceptions.
16924 (exp2_test): Likewise.
16925 (expm1_test): Likewise.
16926 (nextafter_test): Likewise.
16927 (pow_test): Likewise.
16928 (scalbn_test): Likewise.
16929 (scalbln_test): Likewise.
16930
95443d88
L
169312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16932
16933 * sysdeps/x86_64/bits/atomic.h
16934 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16935 64bit integer.
16936 (atomic_exchange_acq): Likewise.
16937 (__arch_exchange_and_add_body): Likewise.
16938 (__arch_add_body): Likewise.
16939 (atomic_add_negative): Likewise.
16940 (atomic_add_zero): Likewise.
16941
490df6c4
L
169422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16943
c2722551 16944 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
16945 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
16946
5e52b189
L
169472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16948
16949 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
16950 Check __x86_64__ instead of __WORDSIZE.
16951
a9879d4c
L
169522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16953
16954 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
16955
5df98260
DM
169562012-03-19 David S. Miller <davem@davemloft.net>
16957
e1497744
DM
16958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16959
5df98260
DM
16960 * sysdeps/sparc/fpu/fenv_private.h: New file.
16961 * sysdeps/sparc/fpu/math_private.h: Use it.
16962 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
16963 Remove.
16964 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
16965 (libc_feholdexcept_setroundl): Remove.
16966 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
16967 Remove.
16968 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
16969 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
16970
b4c35121
L
169712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16972
16973 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
16974 int64_t instead of long int.
16975 (INSERT_WORDS64): Likwise.
16976
56965fd7
L
169772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16978
16979 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
16980 _Unwind_GetCFA return to _Unwind_Ptr first.
16981
83d1aec8
JM
169822012-03-19 Joseph Myers <joseph@codesourcery.com>
16983
1897ad44
JM
16984 [BZ #13629]
16985 * math/s_clog.c: Include <float.h>.
16986 (__clog): Scale large or subnormal inputs.
16987 * math/s_clogf.c: Likewise.
16988 * math/s_clogl.c: Likewise.
16989 * math/s_clog10.c: Include <float.h>.
16990 (M_LOG10_2): Define.
16991 (__clog10): Scale large or subnormal inputs.
16992 * math/s_clog10f.c: Likewise.
16993 * math/s_clog10l.c: Likewise.
16994 * math/libm-test.inc (clog_test): Add more tests.
16995 (clog10_test): Likewise.
16996 * sysdeps/i386/fpu/libm-test-ulps: Update.
16997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16998
7726d6a9
JM
16999 [BZ #11451]
17000 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17001 x and y.
17002 * math/libm-test.inc (atan2_test): Add another test.
17003
83d1aec8
JM
17004 * Makerules (common-objdir-compile): Remove.
17005 * sysdeps/unix/Makefile (config-generated): Do not add
17006 $(unix-generated) to variable.
17007 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17008 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17009 Remove rule.
17010 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17011 Likewise.
17012 [generic bits/local_lim.h] (before-compile): Do not append to
17013 variable.
17014 [generic bits/local_lim.h] (common-generated): Likewise.
17015 [generic sys/param.h] (before-compile): Do not append to variable.
17016 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17017 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17018 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17019 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17020 include.
17021 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17022 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17023 [generic sys/param.h] ($(addprefix
17024 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17025 [generic sys/param.h] (common-generated): Do not append to
17026 variable.
17027 [generic sys/param.h] (sysdep_headers): Likewise.
17028 [generic bits/errno.h] (before-compile): Do not append to
17029 variable.
17030 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17031 rule.
17032 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17033 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17034 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17035 [generic bits/errno.h] (common-generated): Do not append to
17036 variable.
17037 [generic bits/ioctls.h] (before-compile): Do not append to
17038 variable.
17039 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17040 rule.
17041 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17042 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17043 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17044 rule.
17045 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17046 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17047 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17048 [generic bits/ioctls.h] (common-generated): Do not append to
17049 variable.
17050 [generic sys/syscall.h] (syscall.h): Remove variable.
17051 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17052 rule.
17053 [generic sys/syscall.h] (before-compile): Do not append to
17054 variable.
17055 [generic sys/syscall.h] (common-generated): Likewise.
17056 * sysdeps/unix/errnos-tmpl.c: Remove file.
17057 * sysdeps/unix/errnos.awk: Likewise.
17058 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17059 * sysdeps/unix/ioctls.awk: Likewise.
17060 * sysdeps/unix/mk-local_lim.c: Likewise.
17061 * sysdeps/unix/snarf-ioctls: Likewise.
17062
4851a949
RH
170632012-03-19 Richard Henderson <rth@twiddle.net>
17064
bd37f2ee
RH
17065 * sysdeps/i386/fpu/fenv_private.h: New file.
17066 * sysdeps/i386/fpu/math_private.h: Use it.
17067 (math_opt_barrier, math_force_eval): Remove.
17068 (libc_feholdexcept_setround_53bit): Remove.
17069 (libc_feupdateenv_53bit): Remove.
17070 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17071 (math_opt_barrier, math_force_eval): Remove.
17072 (libc_feholdexcept): Remove.
17073 (libc_feholdexcept_setround): Remove.
17074 (libc_fetestexcept, libc_fesetenv): Remove.
17075 (libc_feupdateenv_test): Remove.
17076 (libc_feupdateenv, libc_feholdsetround): Remove.
17077 (libc_feresetround): Remove.
17078
d0adc922
RH
17079 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17080 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17081
0fe0f1f8
RH
17082 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17083 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17084 (libc_feupdateenv_testl): New.
17085 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17086 (libc_feupdateenv_testf): New.
17087 (libc_feupdateenv): Use libc_feupdateenv_test.
17088 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17089 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17090
eb92c487
RH
17091 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17092 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17093 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17094 (libc_feresetround_noex): New.
17095 (libc_feresetround_noexf): New.
17096 (libc_feresetround_noexl): New.
17097 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17098 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17099 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17100 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17101 SET_RESTORE_ROUND.
17102 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17103 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17104 (__cos): Likewise.
17105 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17106 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17107 SET_RESTORE_ROUND_NOEX.
17108 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17109 SET_RESTORE_ROUND_NOEXF.
17110 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17111 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17112 (libc_feholdsetroundf): New.
17113 (libc_feresetround, libc_feresetroundf): New.
17114
7d2e8012
RH
17115 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17116 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17117 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17118
b4dabbb4
RH
17119 * sysdeps/generic/math_private.h: Include <fenv.h>.
17120 (default_libc_feholdexcept): New.
17121 (default_libc_feholdexcept_setround): New.
17122 (default_libc_fesetenv, default_libc_feupdateenv): New.
17123 (libc_feholdexcept): Only define if undefined.
17124 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17125 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17126 (libc_feholdexcept_setroundl): Likewise.
17127 (libc_feholdexcept_setround_53bit): Likewise.
17128 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17129 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17130 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17131 (libc_feupdateenv_53bit): Likewise.
17132 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17133 (libc_feholdexcept): Convert from macro to inline function.
17134 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17135 (libc_fesetenv, libc_feupdateenv): Likewise.
17136
4851a949
RH
17137 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17138 not previously defined.
17139 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17140 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17141 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17142 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17143 * sysdeps/ieee754/flt-32/math_private.h: New file.
17144 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17145 math_private.h below SET_FLOAT_WORD.
17146 (__isnan, __isinf_ns, __finite): Remove.
17147 (__isnanf, __isinf_nsf, __finitef): Remove.
17148
e79d442e
AS
171492012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17150
17151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17152
90b80344
DM
171532012-03-17 David S. Miller <davem@davemloft.net>
17154
17155 [BZ #6471]
17156 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17157 for 2.16.
17158
edc21804
DM
171592012-03-16 David S. Miller <davem@davemloft.net>
17160
77e927af
DM
17161 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17162 warnings.
17163
374976dd
DM
17164 [BZ #6471]
17165 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17166 properly.
17167 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17168 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17169 sysdep_routines when subdir is sysvipc.
17170 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17171 __getshmlba helper.
17172
edc21804
DM
17173 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17174
473c3ef3
L
171752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17176
17177 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17178 [__LP64__].
17179
eb0f39b6
L
171802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17181
17182 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17183 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17184 (__lround): Renamed to ...
17185 (__llround): This. Replace long int with long long int.
17186 Define lround functions as aliases of llround functions.
17187 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17188
6b6cd74b
L
171892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17190
17191 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17192 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17193 adresses to uintptr_t. Replace "long int" and "unsigned long
17194 int" with "greg_t" on va_arg.
17195
f1a77b01
L
171962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17197
17198 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17199 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17200
17201 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17202 Move e_machine check before EI_CLASS check. Handle x32
17203 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17204 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17205 SKIP_EM_IA_64 and include
17206 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17207
17208 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17209 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17210 (add_system_dir): New macro.
17211
17212 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17213 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17214
11b90b9f
JM
172152012-03-16 Joseph Myers <joseph@codesourcery.com>
17216
c36e1d23
JM
17217 [BZ #2551]
17218 [BZ #2552]
17219 [BZ #2553]
17220 [BZ #2554]
17221 [BZ #2562]
17222 [BZ #2563]
17223 [BZ #2565]
17224 [BZ #2566]
17225 [BZ #2576]
17226 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17227 (y0): Likewise.
17228 * math/w_j0f.c (j0f): Likewise.
17229 (y0f): Likewise.
17230 * math/w_j0l.c (__j0l): Likewise.
17231 (__y0l): Likewise.
17232 * math/w_j1.c (j1): Likewise.
17233 (y1): Likewise.
17234 * math/w_j1f.c (j1f): Likewise.
17235 (y1f): Likewise.
17236 * math/w_j1l.c (__j1l): Likewise.
17237 (__y1l): Likewise.
17238 * math/w_jn.c (jn): Likewise.
17239 (yn): Likewise.
17240 * math/w_jnf.c (jnf): Likewise.
17241 (ynf): Likewise.
17242 * math/w_jnl.c (__jnl): Likewise.
17243 (__ynl): Likewise.
17244 * math/libm-test.inc (j0_test): Add more tests.
17245 (j1_test): Likewise.
17246 (jn_test): Likewise. Add trailing semicolon to existing test.
17247 (y0_test): Likewise.
17248 (y1_test): Likewise.
17249 * sysdeps/i386/fpu/libm-test-ulps: Update.
17250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17251
11b90b9f
JM
17252 [BZ #13851]
17253 [BZ #13854]
17254 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17255 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17256 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17257 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17258 (__tanl): Set errno for infinite argument.
17259 * sysdeps/i386/fpu/mptan.c: Remove.
17260 * sysdeps/i386/fpu/s_tan.S: Likewise.
17261 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17262 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17263 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17264 * math/libm-test.inc (tan_test): Add more tests and enable more
17265 tests for double and long double.
17266 * sysdeps/i386/fpu/libm-test-ulps: Update.
17267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17268
6a1bd2a1
JK
172692012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17270
17271 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17272 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17273
10a803e0
RM
172742012-03-16 Roland McGrath <roland@hack.frob.com>
17275
17276 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17277 * configure.in: Use it for both main tree and add-ons.
17278 * configure: Regenerated.
17279
f196c7f7
L
172802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17281
17282 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17283
8848d99d
JM
172842012-03-16 Joseph Myers <joseph@codesourcery.com>
17285
96cbe7f4
JM
17286 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17287 in comment.
17288
8848d99d
JM
17289 [BZ #13851]
17290 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17291 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17292 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17293 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17294 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17295 infinite argument.
17296 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17297 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17298 != 0 for prec == 2.
17299 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17300 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17301 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17302 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17303 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17304 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17305 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17306 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17307 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17308 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17309 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17310 * math/libm-test.inc (cos_test): Add more tests and enable more
17311 tests for long double.
17312 (sin_test): Likewise.
17313 (sincos_test): Likewise.
17314 * sysdeps/i386/fpu/libm-test-ulps: Update.
17315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17316
dd7f4703
DM
173172012-03-16 David S. Miller <davem@davemloft.net>
17318
17319 * sysdeps/sparc/fpu/math_private.h: New file.
17320
006f1daa
DM
173212012-03-15 David S. Miller <davem@davemloft.net>
17322
c0c83bc8
DM
17323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17324 file.
e6a62e18 17325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
17326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17327 file.
e6a62e18
DM
17328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17329 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17330 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17331 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17332 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17333 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17334 sysdep routines.
17335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17336
88cb87d9
DM
17337 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17338 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17339
006f1daa 17340 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
17341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17342 sparc-ifunc.h
006f1daa 17343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
17344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17345 Likewise.
17346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17347 Likewise.
006f1daa
DM
17348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
17351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17352 Likewise.
006f1daa
DM
17353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
17357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17358 Likewise.
17359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17360 Likewise.
006f1daa
DM
17361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17365 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17366 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17367 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17368 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17369 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17370 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17371 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17372 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17373 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17374 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17376 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17377 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17378 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17379 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17380 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17381 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17382 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17383 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17384 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17385
11e0098e
AS
173862012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17387
17388 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17389 scaling.
17390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17391
e85b09d0
AJ
173922012-03-15 Andreas Jaeger <aj@suse.de>
17393
17394 [BZ #13852]
17395 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17396 ieee754/flt-32 implementation for sin, cos and sincos.
17397 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17398 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17399 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17400 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17401 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17402 ieee754/flt-32 implementation for tan.
17403
17404 * math/libm-test.inc (cos_test): Enable some large input tests for
17405 float as well
17406 (sin_test): Likewise.
17407 (sincos_test): Likewise.
17408 (tan_test): Add tests for large input.
17409
17410 * sysdeps/i386/fpu/libm-test-ulps: Update.
17411
81c64153
AJ
174122012-03-15 Andreas Jaeger <aj@suse.de>
17413
17414 [BZ #13658]
17415 * math/libm-test.inc (cos_test): Add more test cases.
17416 (sin_test): Likewise.
17417 (sincos_test): Likewise.
17418
7bbfa5c6
AJ
174192012-03-15 Andreas Jaeger <aj@suse.de>
17420
17421 [BZ #13837]
17422 * math/libm-test.inc (cos_test): Add a test case for large input
17423 value.
17424 (sin_test): Likewise.
17425 (sincos_test): Likewise.
17426
174272012-03-15 Andreas Jaeger <aj@suse.de>,
17428 Joseph Myers <joseph@codesourcery.com>
17429
17430 [BZ #13658]
0671f479 17431 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
17432 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17433 * sysdeps/i386/fpu/branred.c: Likewise.
17434 * sysdeps/i386/fpu/dosincos.c: Likewise.
17435 * sysdeps/i386/fpu/mpa.c: Likewise.
17436 * sysdeps/i386/fpu/s_cos.S: Likewise.
17437 * sysdeps/i386/fpu/s_sin.S: Likewise.
17438 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17439 * sysdeps/i386/fpu/sincos32.c: Likewise.
17440
17441 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17442 Define.
17443 (libc_feupdateenv_53bit): Define.
17444 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17445 Define.
17446 (libc_feupdateenv_53bit): Define.
17447
17448 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17449 53 bit (without extend i386 double precision).
17450
17451 * math/libm-test.inc (sincos_test): Add tests for large input.
17452 (sin): Likewise.
17453 (cos): Likewise.
17454
17455 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17456
9cad04ea
AS
174572012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17458
17459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17460
f7062b9a
DM
174612012-03-15 David S. Miller <davem@davemloft.net>
17462
17463 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17464 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17465 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17466 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17471 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17472 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17473 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17474 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17475 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17476 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17477 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
17478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17479 file.
f7062b9a 17480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
17481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17482 file.
f7062b9a 17483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
17484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17485 file.
f7062b9a 17486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
17487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17488 file.
f7062b9a
DM
17489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17490 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17491 fmin/fmax sysdep routines.
17492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17493
7bd951ff
DM
174942012-03-14 David S. Miller <davem@davemloft.net>
17495
559398ab
DM
17496 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17497 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17498 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17499 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17500 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17501 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17502 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17503 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17504 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17505 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17506 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17507 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17508 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17509 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17510 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17511 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17512 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17513 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17514 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17515 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17516 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17517 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17518 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17519 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17520 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17521 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17522 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17523 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17524 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17525 routines.
17526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17527 file.
559398ab 17528 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
17529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17530 file.
559398ab 17531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
17532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17533 file.
559398ab 17534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
17535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17536 file.
559398ab 17537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
17538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17539 file.
559398ab 17540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
17541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17542 file.
17543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17544 file.
17545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17546 file.
17547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17548 file.
17549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17550 New file.
17551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17552 file.
17553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17554 file.
559398ab 17555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
17556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17557 file.
559398ab 17558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17560 file.
559398ab 17561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
17562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17563 file.
559398ab 17564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
17565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17566 VIS3 routines.
559398ab
DM
17567
17568 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17569 New file.
17570
5a1c1e32
DM
17571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17572
eae47a36
DM
17573 * sysdeps/sparc/configure.in: New file.
17574 * sysdeps/sparc/configure: Generate.
17575 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17576 * configure: Regenerate.
17577 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17578 * config.make.in (have-as-vis3): New.
17579 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17580 available use -Av9d instead of -Av9a.
17581 * sysdeps/sparc/sparc64/Makefile: Likewise.
17582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
17583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17584 New file.
17585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17586 file.
17587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17588 New file.
17589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17590 file.
eae47a36
DM
17591 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17592 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17593 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17594 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17595 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17596
c0c83bc8
DM
17597 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17598 fzeros/fnegs to load 0x80000000 into a float register instead of
17599 using the stack.
7bd951ff
DM
17600 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17601
bd951ccb
JM
176022012-03-14 Joseph Myers <joseph@codesourcery.com>
17603
17604 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17605 bits/syscall.h.
17606 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17607 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17608 ($(inst_includedir)/bits/syscall.h): Remove rule.
17609 ($(objpfx)bits/syscall.d): Include instead of
17610 $(objpfx)syscall-list.d.
17611 (generated): Change syscall-list.h and syscall-list.d to
17612 bits/syscall.h and bits/syscall.d.
17613
bb4e6db2
RM
176142012-03-14 Roland McGrath <roland@hack.frob.com>
17615
17616 [BZ #13846]
17617 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17618
aa4a2ae1
JM
176192012-03-14 Joseph Myers <joseph@codesourcery.com>
17620
e456826d
JM
17621 [BZ #13841]
17622 * math/s_csqrt.c: Include <float.h>.
17623 (__csqrt): Scale large or subnormal inputs.
17624 * math/s_csqrtf.c: Likewise.
17625 * math/s_csqrtl.c: Likewise.
17626 * math/libm-test.inc (csqrt_test): Add more tests.
17627 * sysdeps/i386/fpu/libm-test-ulps: Update.
17628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17629
aa4a2ae1
JM
17630 [BZ #13840]
17631 * math/libm-test.inc (hypot_test): Add more tests.
17632
7c10fd35
DM
176332012-03-13 David S. Miller <davem@davemloft.net>
17634
17635 [BZ #13840]
17636 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17637 double-precision for the calculation instead of scaling.
17638
f453b98b
JM
176392012-03-13 Joseph Myers <joseph@codesourcery.com>
17640
17641 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17642 manipulate bits before adding and subtracting TWO52[sx].
17643 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17644 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17645 Likewise.
17646 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17647
09a3453f
DM
176482012-03-13 David S. Miller <davem@davemloft.net>
17649
8e59da90
DM
17650 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17651 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17652 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17653 rtld-global-offsets.h
17654 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17655
2a8ab7f2
DM
17656 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17657 large parameters.
17658
10f62770
DM
17659 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17660
5f0bdb18
DM
17661 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17662 'err' in the ifdef scope in which it is actually used.
17663
09a3453f
DM
17664 * nss/nss_db/db-init.c: Include string.h
17665
b4b2eb5e
DM
176662012-03-12 David S. Miller <davem@davemloft.net>
17667
98bb2f1c
DM
17668 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17669 masking out of the most significant byte of random value used.
17670 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17671 Fix coding style in previous change.
17672
b4b2eb5e
DM
17673 * sysdeps/unix/sysv/linux/kernel-features.h
17674 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17675 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17676 expression.
17677 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17678 later.
17679
6e226b09
DM
176802012-03-11 David S. Miller <davem@davemloft.net>
17681
a1bcbd40
DM
17682 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17683 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17684 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17685 for 'resultvar' otherwise things get truncated on 64-bit.
17686
cb9d6174
DM
17687 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17688 Fix masking out of the most significant byte of random value used.
17689
6e226b09
DM
17690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17691
058c132d
AS
176922012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17693
17694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17695
2d2cd515
DM
176962012-03-09 David S. Miller <davem@davemloft.net>
17697
17698 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17699 variables with appropriate CPP guards.
17700 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17701 frame pointer, not the stack pointer. Correct layout comments. Fix test
17702 on resulting framesize and the management of the outregs buffer for pltexit.
17703 Preserve floating point return values across _dl_call_pltexit call.
17704 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17705 framesize and the management of the outregs buffer for pltexit.
17706 Preserve floating point return values across _dl_call_pltexit
17707 call.
17708 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17709 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17710 (print_exit): Fix format string for return register value.
17711
9a07f9d0
JM
177122012-03-10 Joseph Myers <joseph@codesourcery.com>
17713
17714 * sunrpc/Makefile (others): Add rpcgen.
17715 ($(objpfx)rpcgen): Remove special build rule and dependency on
17716 libc.
17717 * sunrpc/rpcgen.c: New file.
17718
547b5e30
PE
177192012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17720
c524201a
PE
17721 [BZ #13673]
17722 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17723 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17724 * sysdeps/i386/crti.S: Likewise.
17725 * sysdeps/i386/crtn.S: Likewise.
17726 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17727 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17728 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17729 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17730 * sysdeps/sh/crti.S: Likewise.
17731 * sysdeps/sh/crtn.S: Likewise.
17732 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17733
7b6235f2
PE
17734 [BZ #13673]
17735 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17736 with URL.
17737 * locale/programs/locfile-kw.gperf: Likewise.
17738 * locale/programs/charmap-kw.h: Regenerated.
17739 * locale/programs/locfile-kw.h: Likewise.
17740
547b5e30
PE
17741 [BZ #13673]
17742 * intl/plural.y: Replace FSF snail mail address with URL.
17743 * intl/plural.c: Regenerated.
17744
5f0a5dae
RH
177452012-03-09 Richard Henderson <rth@twiddle.net>
17746
17747 * include/math_private.h: Remove file.
17748 * math/math_private.h: Move file ...
17749 * sysdeps/generic/math_private.h: ... here.
17750
b8c03620
RH
17751 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17752 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17753 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17754
4e234f5d 17755 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
17756 and <math_private.h>.
17757 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17758 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17759 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17760 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17761 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17762 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17763 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17764 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17765 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17766 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17767 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17768 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17769 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17770 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17771 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17772 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17773 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17774 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17775 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17776 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17777 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17778 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17779 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17780 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17781 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17782 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17783 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17784 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17785 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17786 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17787 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17788 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17789 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17790 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17791 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17792 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17793 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17794 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17795 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17796 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17797 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17798 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17799 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17800 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17801 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17802 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17803 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17804 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17805 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17806 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17807 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17808 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17809 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17810 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17811 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17812 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17813 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17814 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17815 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17816 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17817 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17818 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17819 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17820 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17821 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17822 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17823 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17824 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17825 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17826 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17827 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17828 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17829 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17830 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17831 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17832 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17833 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17834 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17835 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17836 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17837 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17838 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17839 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17840 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17841 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17842 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17843 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17844 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17845 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17846 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17847 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17848 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17849 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17850 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17851 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17852 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17853 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17854 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17855 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17856 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17857 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17858 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17859 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17860 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17861 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17862 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17863 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17864 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17865 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17866 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17867 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17868 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17869 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17870 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17871 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17872 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17873 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17874 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17875 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17876 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17877 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17878 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17879 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17880 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17881 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17882 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17883 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17884 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17885 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17886 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17887 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17888 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17889 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17890 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17891 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17892 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17893 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17894 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17895 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17896 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17897 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17898 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17899 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17900 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17901 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17902 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17903 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17904 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17905 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17906 * sysdeps/ieee754/k_standard.c: Likewise.
17907 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17908 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17909 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17910 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17911 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17912 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17913 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17914 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17915 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17916 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17917 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17918 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17919 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17920 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17921 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17922 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17923 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17924 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17925 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17926 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17927 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17928 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17929 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17930 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17931 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17932 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17933 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17934 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17935 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17936 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17937 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17938 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17939 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17940 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17941 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17942 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17943 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17944 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
17945 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17946 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17947 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17948 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17949 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17950 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17951 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17952 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17953 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17954 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17955 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17956 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17957 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17958 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17959 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17960 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17961 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17962 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17963 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
17964 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17965 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17966 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17967 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17968 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17969 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
17970 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
17971 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
17972 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
17973 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
17974 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
17975 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
17976 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
17977 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
17978 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
17979 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
17980 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
17981 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
17982 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
17983 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
17984 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
17985 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
17986 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17987 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17988 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17989 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
17990 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
17991 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
17992 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
17993 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
17994 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17995 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17996 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
17997 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
17998 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
17999 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18000 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18001 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18002 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18003 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18004 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18005 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18006 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18007 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18008 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18009 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18010 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18011 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18012 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18013 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18014 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18015 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18016 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18017 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18018 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18019 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18020 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18021 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18022 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18023 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18024 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18025 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18026 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18027 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18028 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18029 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18030 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18031 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18032 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18033 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18034 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18035 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18036 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18037 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18038 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18039 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18040 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18041 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18042 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18043 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18044 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18045 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18046 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18047 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18048 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18049 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18050 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18051 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18052 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18053 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18054 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18055 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18056 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18057 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18058 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18059 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18060 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18061 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18062 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18063 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18064 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18065 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18066 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18067 * sysdeps/ieee754/s_lib_version.c: Likewise.
18068 * sysdeps/ieee754/s_matherr.c: Likewise.
18069 * sysdeps/ieee754/s_signgam.c: Likewise.
18070 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18071 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18072 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18073 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18074 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18075 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18076 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18077 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18078 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18079 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18080 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18081 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18082 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18083 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18084 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18085 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18086 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18087 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18088 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18089 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18090 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 18091
1991fa03
JM
180922012-03-09 Joseph Myers <joseph@codesourcery.com>
18093
18094 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18095 * sunrpc/rpc_main.c: Likewise.
18096 * sunrpc/rpc_svcout.c: Likewise.
18097
60d6f5a6
DM
180982012-03-09 David S. Miller <davem@davemloft.net>
18099
18100 * include/math_private.h: New file.
18101
4962050e
JM
181022012-03-09 Joseph Myers <joseph@codesourcery.com>
18103
02a6f887
JM
18104 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18105 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18106 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18107 from <bits/socket_type.h>.
18108 (enum __socket_type): Don't define here.
18109 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18110 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18111 bits/socket_type.h.
18112
c6e013c1
JM
18113 [BZ #13566]
18114 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18115 checking __USE_GNU.
18116
4962050e
JM
18117 * Makerules ($(inst_includedir)/%.h): New rule.
18118 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18119 (install-others): Remove variable setting.
18120 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18121
38842f45
RH
181222012-03-08 Richard Henderson <rth@twiddle.net>
18123
67bb6da6
RH
18124 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18125 from macro to inline function; merge with the
18126 !__LIBC_INTERNAL_MATH_INLINES version.
18127 (__ieee754_sqrtf): Likewise.
18128
15194b4b
RH
18129 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18130 to inline function.
18131 (__rintf, __floor, __floorf): Likewise.
18132
64e21ede
RH
18133 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18134 macro to inline function.
18135 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18136
38842f45
RH
18137 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18138 not <math/math_private.h>.
18139
c64bf5fe
DM
181402012-03-08 David S. Miller <davem@davemloft.net>
18141
18142 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18143 copyright year.
18144 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18145
82d86f28
TS
181462012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18147
18148 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18149 normalization.
18150 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18151 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18152
aea5d727
UD
181532012-03-08 Ulrich Drepper <drepper@gmail.com>
18154
18155 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18156 be defined individually, they must be defined as a block. Define
18157 S for printing a string instead of hidint the different by using a
18158 macro for adding the 'l'.
18159 * stdio-common/tst-fphex-wide.c: Adjust.
18160
70bca0a3
MP
181612012-03-07 Marek Polacek <polacek@redhat.com>
18162
18163 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18164
65b81130
MP
181652012-03-08 Marek Polacek <polacek@redhat.com>
18166
18167 [BZ #13806]
18168 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18169 * stdio-common/tst-fphex.c: Define a few macros to make the
18170 test reusable. Use them.
18171 * stdio-common/tst-fphex-wide.c: New file.
18172
07037eeb
JM
181732012-03-08 Joseph Myers <joseph@codesourcery.com>
18174
a7a93d50
JM
18175 [BZ #6911]
18176 * manual/macros.texi (gnusystems): New macro.
18177 (nongnusystems): Likewise.
18178 (gnulinuxhurdsystems): Likewise.
18179 (gnuhurdsystems): Likewise..
18180 (gnulinuxsystems): Likewise.
18181 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18182 variants of the GNU system, not "GNU system".
18183 * manual/conf.texi: Likewise.
18184 * manual/errno.texi: Likewise. Update example of errno macro
18185 expansion.
18186 * manual/filesys.texi: Likewise.
18187 (getumask): Document as specific to GNU/Hurd.
18188 * manual/install.texi: Likewise. Reword some references to
18189 GNU/Linux.
18190 * manual/intro.texi: Likewise.
18191 * manual/io.texi: Likewise.
18192 (File Name Portability): Detail which constraints are inapplicable
18193 to all GNU systems and which are only inapplicable to GNU/Hurd.
18194 * manual/job.texi: Likewise.
18195 * manual/llio.texi: Likewise.
18196 (O_NOCTTY): Document as present on GNU/Linux.
18197 * manual/maint.texi: Likewise.
18198 * manual/memory.texi: Likewise.
18199 * manual/pattern.texi: Likewise.
18200 * manual/pipe.texi: Likewise.
18201 * manual/process.texi: Likewise.
18202 * manual/resource.texi: Likewise.
18203 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18204 child on GNU/Hurd.
18205 * manual/setjmp.texi: Likewise.
18206 * manual/signal.texi: Likewise.
18207 * manual/startup.texi: Likewise.
18208 * manual/stdio.texi: Likewise.
18209 * manual/terminal.texi: Likewise.
18210 (ONLCR): Document as POSIX.
18211 (OXTABS): Document availability on GNU/Linux as XTABS.
18212 (ONOEOT): Document availability separately from other bits.
18213 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18214 * manual/time.texi: Likewise.
18215 * manual/users.texi: Likewise.
18216 * INSTALL: Regenerated.
18217 * sysdeps/gnu/errlist.c: Regenerated.
18218
07037eeb
JM
18219 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18220 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18221 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18222 puts.
18223 * configure: Regenerated.
18224
d1d3431a
JM
182252012-03-07 Joseph Myers <joseph@codesourcery.com>
18226
af6a1e37
JM
18227 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18228 default includes instead of AC_HEADER_CHECK.
18229 * sysdeps/i386/configure: Regenerated.
18230
d1d3431a
JM
18231 [BZ #10716]
18232 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18233 * math/s_cacoshf.c (__cacoshf): Likewise.
18234 * math/s_cacoshl.c (__cacoshl): Likewise.
18235 * math/s_casinh.c (__casinh): Set signs of result from argument.
18236 * math/s_casinhf.c (__casinhf): Likewise.
18237 * math/s_casinhl.c (__casinhl): Likewise.
18238 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18239 (casinh_test): Add more tests.
18240 * sysdeps/i386/fpu/libm-test-ulps: Update.
18241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18242
482ff4da
UD
182432012-03-07 Ulrich Drepper <drepper@gmail.com>
18244
872fda05
UD
18245 * po/zh_TW.po: Update from translation team.
18246
a4300c7a
UD
18247 * login/Makefile (distribute): Remove variable.
18248 * catgets/Makefile: Likewise.
18249 * mach/Makefile: Likewise.
18250 * malloc/Makefile: Likewise.
18251 * misc/Makefile: Likewise.
18252 * iconv/Makefile: Likewise.
18253 * nscd/Makefile: Likewise.
18254 * hurd/Makefile: Likewise.
18255 * manual/Makefile: Likewise.
18256 * locale/Makefile: Likewise.
18257 * intl/Makefile: Likewise.
18258 * conform/Makefile: Likewise.
18259 * nss/Makefile: Likewise.
18260 * time/Makefile: Likewise.
18261 * soft-fp/Makefile: Likewise.
18262 * dirent/Makefile: Likewise.
18263 * gmon/Makefile: Likewise.
18264 * po/Makefile: Likewise.
18265 * rt/Makefile: Likewise.
18266 * socket/Makefile: Likewise.
18267 * math/Makefile: Likewise.
18268 * signal/Makefile: Likewise.
18269 * debug/Makefile: Likewise.
18270 * elf/Makefile: Likewise.
18271 * timezone/Makefile: Likewise.
18272 * stdlib/Makefile: Likewise.
18273 * iconvdata/Makefile: Likewise.
18274 * sunrpc/Makefile: Likewise.
18275 * io/Makefile: Likewise.
18276 * argp/Makefile: Likewise.
18277 * inet/Makefile: Likewise.
18278 * hesiod/Makefile: Likewise.
18279 * grp/Makefile: Likewise.
18280 * csu/Makefile: Likewise.
18281 * wctype/Makefile: Likewise.
18282 * crypt/Makefile: Likewise.
18283 * libio/Makefile: Likewise.
18284 * string/Makefile: Likewise.
18285 * nis/Makefile: Likewise.
18286 * resolv/Makefile: Likewise.
18287 * stdio-common/Makefile: Likewise.
18288 * wcsmbs/Makefile: Likewise.
18289 * dlfcn/Makefile: Likewise.
18290 * posix/Makefile: Likewise.
18291
3b7c4e74 18292 [BZ #6959]
482ff4da
UD
18293 * timezone/Makefile: Don't install timezone files, just the programs
18294 and scripts.
18295
f72ed77d
UD
182962012-03-06 Ulrich Drepper <drepper@gmail.com>
18297
a000466f
UD
18298 * nss/databases.def: Add missing gshadow entry.
18299
f72ed77d
UD
18300 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18301
a53b7a4e
MP
183022012-03-06 Marek Polacek <polacek@redhat.com>
18303
18304 [BZ #13726]
18305 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18306 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18307 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18308 * stdio-common/tst-long-dbl-fphex.c: New file.
18309
e9258400
DM
183102012-03-06 David S. Miller <davem@davemloft.net>
18311
18312 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18313 (set_obp_int): New function.
18314 (get_obp_int): New function.
18315 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
18316 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18317 Avoid unused variable warnings on 'val' and use builtin_expect.
18318 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18319 __builtin_expect.
e9258400
DM
18320 (INLINE_CLONE_SYSCALL): Likewise.
18321
3bd2c723
DM
183222012-03-05 David S. Miller <davem@davemloft.net>
18323
18324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18325
bbb78d03
AS
183262012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18327
884c5db4
AS
18328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18329
bbb78d03
AS
18330 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18331 only for |x| >= 40.
18332 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18333
1c9f702a 183342012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
18335
18336 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18337 Replace gettimeofday with __vdso_gettimeofday.
18338
7be16f82
RM
18339 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18340 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18341 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
18342
18343 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18344 time with __vdso_time.
18345
ed58a00f
JM
183462012-03-05 Joseph Myers <joseph@codesourcery.com>
18347
18348 * manual/lang.texi (size_t): Note types to which size_t may be
18349 equivalent with the GNU C Library, but do not describe when
18350 differences between them are significant.
18351
30ee4ced
AJ
183522012-03-05 Andreas Jaeger <aj@suse.de>
18353
18354 * sysdeps/i386/fpu/libm-test-ulps: Update.
18355
b7cd39e8
JM
183562012-03-05 Joseph Myers <joseph@codesourcery.com>
18357
18358 [BZ #3976]
18359 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18360 (__ieee754_pow): Save and restore rounding mode and use
18361 round-to-nearest for main computations.
18362 * math/libm-test.inc (pow_test_tonearest): New function.
18363 (pow_test_towardzero): Likewise.
18364 (pow_test_downward): Likewise.
18365 (pow_test_upward): Likewise.
18366 (main): Call the new functions.
18367 * sysdeps/i386/fpu/libm-test-ulps: Update.
18368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
18369
18370 [BZ #3976]
18371 * math/libm-test.inc (cosh_test_tonearest): New function.
18372 (cosh_test_towardzero): Likewise.
18373 (cosh_test_downward): Likewise.
18374 (cosh_test_upward): Likewise.
18375 (sinh_test_tonearest): Likewise.
18376 (sinh_test_towardzero): Likewise.
18377 (sinh_test_downward): Likewise.
18378 (sinh_test_upward): Likewise.
18379 (main): Call the new functions.
18380 * sysdeps/i386/fpu/libm-test-ulps: Update.
18381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18382
6c6a98c9
TV
183832012-03-05 Tom de Vries <tom@codesourcery.com>
18384
18385 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18386 default stack guard is set in last bytes.
18387 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18388
21bb2d2e 183892012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 18390
21bb2d2e 18391 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 18392
21bb2d2e
AJ
18393 [BZ #13656]
18394 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18395 possibly allocate from heap instead of stack.
18396 * stdio-common/bug-vfprintf-nargs.c: New file.
18397 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 18398
c6922934
AS
183992012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18400
18401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18402
bc957d53
MP
184032012-03-03 Marek Polacek <polacek@redhat.com>
18404
18405 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18406 * math/math_private.h: Likewise.
18407 * stdlib/tst-strtod.c: Likewise.
18408 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18409 * sysdeps/x86_64/bits/atomic.h: Likewise.
18410
6358490d
DM
184112012-03-02 David S. Miller <davem@davemloft.net>
18412
18413 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18414 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18417 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18418 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18419 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18420 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18421
01ae168d
RM
184222012-03-02 Roland McGrath <roland@hack.frob.com>
18423
d9a17c07
RM
18424 [BZ #13792]
18425 * manual/examples/README: New file, says the example source files
18426 can be used under GPL>=2.
18427 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18428 line containing just "*/".
18429 * manual/examples/add.c: Add copyright header (GPL>=2).
18430 * manual/examples/argp-ex1.c: Likewise.
18431 * manual/examples/argp-ex2.c: Likewise.
18432 * manual/examples/argp-ex3.c: Likewise.
18433 * manual/examples/argp-ex4.c: Likewise.
18434 * manual/examples/atexit.c: Likewise.
18435 * manual/examples/db.c: Likewise.
18436 * manual/examples/dir.c: Likewise.
18437 * manual/examples/dir2.c: Likewise.
18438 * manual/examples/execinfo.c: Likewise.
18439 * manual/examples/filecli.c: Likewise.
18440 * manual/examples/filesrv.c: Likewise.
18441 * manual/examples/fmtmsgexpl.c: Likewise.
18442 * manual/examples/genpass.c: Likewise.
18443 * manual/examples/inetcli.c: Likewise.
18444 * manual/examples/inetsrv.c: Likewise.
18445 * manual/examples/isockad.c: Likewise.
18446 * manual/examples/longopt.c: Likewise.
18447 * manual/examples/memopen.c: Likewise.
18448 * manual/examples/memstrm.c: Likewise.
18449 * manual/examples/mkfsock.c: Likewise.
18450 * manual/examples/mkisock.c: Likewise.
18451 * manual/examples/mygetpass.c: Likewise.
18452 * manual/examples/pipe.c: Likewise.
18453 * manual/examples/popen.c: Likewise.
18454 * manual/examples/rprintf.c: Likewise.
18455 * manual/examples/search.c: Likewise.
18456 * manual/examples/select.c: Likewise.
18457 * manual/examples/setjmp.c: Likewise.
18458 * manual/examples/sigh1.c: Likewise.
18459 * manual/examples/sigusr.c: Likewise.
18460 * manual/examples/stpcpy.c: Likewise.
18461 * manual/examples/strdupa.c: Likewise.
18462 * manual/examples/strftim.c: Likewise.
18463 * manual/examples/strncat.c: Likewise.
18464 * manual/examples/subopt.c: Likewise.
18465 * manual/examples/swapcontext.c: Likewise.
18466 * manual/examples/termios.c: Likewise.
18467 * manual/examples/testopt.c: Likewise.
18468 * manual/examples/testpass.c: Likewise.
18469 * manual/examples/timeval_subtract.c: Likewise.
18470
01ae168d
RM
18471 [BZ #13792]
18472 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18473 function to ...
18474 * manual/timeval_subtract.c.texi: ... here, new file.
18475
49efa33d
DM
184762012-03-02 David S. Miller <davem@davemloft.net>
18477
18478 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18479
28afd92d
JM
184802012-03-02 Joseph Myers <joseph@codesourcery.com>
18481
804360ed
JM
18482 [BZ #3976]
18483 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18484 (__sin): Save and restore rounding mode and use round-to-nearest
18485 for all computations.
18486 (__cos): Save and restore rounding mode and use round-to-nearest
18487 for all computations.
18488 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18489 <fenv.h>.
18490 (tan): Save and restore rounding mode and use round-to-nearest for
18491 all computations.
18492 * math/libm-test.inc (cos_test_tonearest): New function.
18493 (cos_test_towardzero): Likewise.
18494 (cos_test_downward): Likewise.
18495 (cos_test_upward): Likewise.
18496 (sin_test_tonearest): Likewise.
18497 (sin_test_towardzero): Likewise.
18498 (sin_test_downward): Likewise.
18499 (sin_test_upward): Likewise.
18500 (tan_test_tonearest): Likewise.
18501 (tan_test_towardzero): Likewise.
18502 (tan_test_downward): Likewise.
18503 (tan_test_upward): Likewise.
18504 (main): Call the new functions.
18505 * sysdeps/i386/fpu/libm-test-ulps: Update.
18506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18507
a6d06d7b
JM
18508 [BZ #10135]
18509 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18510 small n, then large n, before computing and testing k+n.
18511 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18512 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18513 Likewise.
18514 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18515 Likewise.
18516 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18517 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18518 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18519 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18520 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18521 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18522 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18523 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18524 * math/libm-test.inc (scalbn_test): Add more tests.
18525 (scalbln_test): Likewise.
18526
07e12bb3
JM
18527 * manual/filesys.texi (mode_t): Describe constraints on size and
18528 signedness, not exact equivalence to a particular type.
18529 (ino_t): Likewise.
18530 (ino64_t): Likewise.
18531 (dev_t): Likewise.
18532 (nlink_t): Likewise.
18533 (blkcnt_t): Likewise.
18534 (blkcnt64_t): Likewise.
18535 * manual/llio.texi (off_t): Likewise.
18536
28afd92d
JM
18537 [BZ #3976]
18538 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18539 (__ieee754_exp): Save and restore rounding mode and use
18540 round-to-nearest for all computations.
18541 * math/libm-test.inc (exp_test_tonearest): New function.
18542 (exp_test_towardzero): Likewise.
18543 (exp_test_downward): Likewise.
18544 (exp_test_upward): Likewise.
18545 (main): Call the new functions.
18546 * sysdeps/i386/fpu/libm-test-ulps: Update.
18547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18548
b1eeb65d
CD
185492012-03-01 Chris Demetriou <cgd@google.com>
18550
18551 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18552 have predictable order.
18553
53362a4b
DM
185542012-03-01 David S. Miller <davem@davemloft.net>
18555
3c969083
DM
18556 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18557
759707de
DM
18558 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18559 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18560 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18561 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18562
dfdb8ff2
DM
18563 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18564 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18565 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18567 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18568 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18569 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18570 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18571 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18572
ead89f96
DM
18573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18574
7f66bd07
DM
18575 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18576 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18577 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18578
53362a4b
DM
18579 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18580 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18581 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18582 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18583 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18584 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18585 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18586 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18587 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18588 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18589 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18590 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18591 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18592 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18593 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18594 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18595 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18596 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18597 * sysdeps/sparc/elf/configure: Regenerated.
18598
7b1902cb
JM
185992012-03-01 Joseph Myers <joseph@codesourcery.com>
18600
bec039bc
JM
18601 * configure.in (AS, LD): Require binutils 2.20 or later.
18602 * configure: Regenerated.
18603 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18604 as required minimum version.
18605 * INSTALL: Regenerated.
18606
7b1902cb
JM
18607 [BZ #2541]
18608 [BZ #4108]
18609 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18610 before squaring exponent.
18611 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18612 bottom long double and 27 bits of top long double before squaring
18613 exponent.
18614 * math/libm-test.inc (erfc_test): Add more tests.
18615 * sysdeps/i386/fpu/libm-test-ulps: Update.
18616 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18618
f775c276
KT
186192012-03-01 Kai Tietz <ktietz@redhat.com>
18620
18621 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18622 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18623 containing bit-fields.
18624 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18625 * soft-fp/single.h (_FP_UNION_S): Likewise.
18626 * soft-fp/double.h (_FP_UNION_D): Likewise.
18627
5b8a4d4a
JM
186282012-02-29 Joseph Myers <joseph@codesourcery.com>
18629
0bab47b6
JM
18630 [BZ #13786]
18631 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18632 not include ../strcmp.S.
18633 [USE_AS_STRNCASECMP_L]: Likewise.
18634 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18635 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18636 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18637 (__strncasecmp_l_ia32): Define as alias to
18638 __strncasecmp_l_nonascii.
18639
0fcad3e2
JM
18640 [BZ #5794]
18641 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18642 * sysdeps/i386/fpu/libm-test-ulps: Update.
18643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18644
5b8a4d4a
JM
18645 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18647
8fdceb2e
JL
186482012-02-29 Jeff Law <law@redhat.com>
18649
18650 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18651 out of bounds read.
18652
1f393a11
MP
186532012-02-29 Marek Polacek <polacek@redhat.com>
18654
18655 [BZ #13706]
18656 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18657 * elf/Makefile: Add rules to run tst-unused-dep.out.
18658
8847f037
DM
186592012-02-28 David S. Miller <davem@davemloft.net>
18660
18661 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18662 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18663 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18664 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18665 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18666 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18667
169d7f11
JM
186682012-02-29 Joseph Myers <joseph@codesourcery.com>
18669
18670 * math/libm-test.inc (llround_test): Move one test from
18671 lround_test. Use TEST_f_L in moved test.
18672 (lround_test): Move misplaced test to llround_test. Add testcase
18673 from bug 2561.
18674
39adf059
UD
186752012-02-28 Ulrich Drepper <drepper@gmail.com>
18676
18677 * sysdeps/x86_64/fpu/e_expf.S: New file.
18678 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18679
71b5d1c5
SB
186802012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18681
18682 [BZ #13637]
18683 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18684 of remain_len that may cause incomplete multi-byte character and
18685 false match.
18686 * posix/bug-regex33.c: New file.
18687 * posix/Makefile (tests): Add bug-regex33.
18688
1f77f049
JM
186892012-02-28 Joseph Myers <joseph@codesourcery.com>
18690
18691 * manual/macros.texi: New file.
18692 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18693 * manual/libc.texinfo: Include macros.texi.
18694 * manual/creatute.texi: Likewise.
18695 * manual/install.texi: Likewise.
18696 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18697 @glibcadj{} in references to the GNU C Library.
18698 * manual/charset.texi: Likewise.
18699 * manual/conf.texi: Likewise.
18700 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18701 when not using those macros.
18702 * manual/creature.texi: Likewise.
18703 * manual/crypt.texi: Likewise.
18704 * manual/errno.texi: Likewise.
18705 * manual/filesys.texi: Likewise.
18706 * manual/header.texi: Likewise.
18707 * manual/install.texi: Likewise.
18708 * manual/intro.texi: Likewise.
18709 * manual/io.texi: Likewise.
18710 * manual/job.texi: Likewise.
18711 * manual/lang.texi: Likewise.
18712 * manual/libc.texiinfo: Likewise.
18713 * manual/llio.texi: Likewise.
18714 * manual/locale.texi: Likewise.
18715 * manual/maint.texi: Likewise.
18716 * manual/math.texi: Likewise.
18717 * manual/memory.texi: Likewise.
18718 * manual/message.texi: Likewise.
18719 * manual/nss.texi: Likewise.
18720 * manual/pattern.texi: Likewise.
18721 * manual/process.texi: Likewise.
18722 * manual/resource.texi: Likewise.
18723 * manual/search.texi: Likewise.
18724 * manual/setjmp.texi: Likewise.
18725 * manual/signal.texi: Likewise.
18726 * manual/socket.texi: Likewise.
18727 * manual/startup.texi: Likewise.
18728 * manual/stdio.texi: Likewise.
18729 * manual/string.texi: Likewise.
18730 * manual/sysinfo.texi: Likewise.
18731 * manual/syslog.texi: Likewise.
18732 * manual/terminal.texi: Likewise.
18733 * manual/time.texi: Likewise.
18734 * manual/users.texi: Likewise.
18735 * INSTALL: Regenerated.
18736 * NOTES: Regenerated.
d40c5d54 18737 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 18738
450bf206
AS
187392012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18740
18741 * include/dirent.h: Include <dirstream.h> before
18742 <dirent/dirent.h>.
18743
741a235b
DM
187442012-02-28 David S. Miller <davem@davemloft.net>
18745
18746 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18747 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18748 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18749 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18750
d6b5aa58
DM
187512012-02-27 David S. Miller <davem@davemloft.net>
18752
1aff59a3
DM
18753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18754 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18755 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18756 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18757
d6b5aa58
DM
18758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18759 frame pointer instead of stack pointer relative arg slot.
18760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18761 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18762 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18763
433f48bf
CD
187642012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18765
18766 [BZ #3992]
18767 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18768
d674b76d
DM
187692012-02-27 David S. Miller <davem@davemloft.net>
18770
18771 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18772 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18775 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18776 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18777 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18778 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18779
0e7727f7
JM
187802012-02-27 Joseph Myers <joseph@codesourcery.com>
18781
18782 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18783 later. Allow versions 5-9.
43be4ca2 18784 * configure: Regenerated.
0e7727f7
JM
18785 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18786 required minimum version and 4.6 as recommended version. Do not
18787 mention bugs in GCC 2.7 and 2.8.
43be4ca2 18788 * INSTALL: Regenerated.
0e7727f7 18789
a78bc654
DM
187902012-02-27 David S. Miller <davem@davemloft.net>
18791
428d5830
DM
18792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18794 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18796 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18797 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18798 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18799 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18800
a78bc654
DM
18801 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18802 manipulate bits before adding and subtracting TWO112[sx].
18803 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18804
4579f81c
RM
188052012-02-27 Roland McGrath <roland@hack.frob.com>
18806
36c8acb4
RM
18807 [BZ #13775]
18808 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18809 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18810 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18811 being in POSIX, because they are in 1003.1-2008.
18812
84ad622b
RM
18813 * rt/tst-aio.c: Include <fcntl.h>.
18814 * rt/tst-aio7.c: Likewise.
18815 * rt/tst-aio64.c: Likewise.
18816
4579f81c
RM
18817 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18818
abd923db
JM
188192012-02-27 Joseph Myers <joseph@codesourcery.com>
18820
18821 * manual/install.texi (--with-headers): Describe headers as
18822 interface headers, not private headers.
18823 (Specific advice for GNU/Linux systems): Describe use of headers
18824 from "make headers_install", not private headers from older
18825 kernels.
43be4ca2 18826 * INSTALL: Regenerated.
abd923db
JM
18827 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18828 Change to 2.6.19.
18829 * sysdeps/unix/sysv/linux/configure: Regenerated.
18830
6664049b
JM
18831 * manual/llio.texi (fclean): Remove documentation.
18832
bb8b6697
JM
18833 * manual/Makefile (libc-texi-generated): New variable. Include
18834 version.texi.
18835 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18836 $(libc-texi-generated), not duplicated list of files.
18837 (version.texi, stamp-version): New rules.
18838 (realclean): Remove $(libc-texi-generated), not individual files
18839 from that list. Do not remove dir-add.texinfo.
18840 * manual/libc.texinfo: Comment out uses of edition numbers and
18841 references to printed manual. Remove last-updated dates.
18842 (EDITION): Comment out.
18843 (ISBN): Likewise.
18844 (VERSION, UPDATED): Remove.
18845 (version.texi): Include.
18846
12e5c3b9
AS
188472012-02-27 Andreas Schwab <schwab@linux-m68k.org>
18848
18849 * sysdeps/posix/spawni.c: Include <signal.h>.
18850 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18851 * sysdeps/pthread/aio_fsync.c: Likewise.
18852
4efeffc1 188532012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 18854
ba63ba08
UD
18855 * conform/Makefile (tests): Run only when not cross-compiling and
18856 when fast-check is not defined.
18857
d94a4670
UD
18858 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18859 * conform/data/limits.h-data: Fixes for POSIX2008.
18860 * conform/run-conformtest.sh: Run all tests.
18861 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18862 headers.
18863 * include/bits/dlfcn.h: Likewise.
18864 * include/langinfo.h: Likewise.
18865 * include/monetary.h: Likewise.
18866 * include/sys/poll.h: Likewise.
18867
18868 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18869 for __USE_GNU.
18870 * posix/spawn.h: Define __need_sigset_t.
18871 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18872 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18873 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
18874 to get sigevent_t only.
18875 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18876 only for __USE_GNU.
18877 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18878 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18879 process_vm_writev only for __USE_GNU.
18880 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
18881
18882 * conform/Makefile: For now ignore errors from run-conformtest.
18883 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
18884 POSIX to avoid namespace pollution. Don't prepend headers.
18885 * conform/data/aio.h-data: Fixes for POSIX testing.
18886 * conform/data/fcntl.h-data: Likewise.
18887 * conform/data/glob.h-data: Likewise.
18888 * conform/data/grp.h-data: Likewise.
18889 * conform/data/pthread.h-data: Likewise.
18890 * conform/data/pwd.h-data: Likewise.
18891 * conform/data/signal.h-data: Likewise.
18892 * conform/data/spawn.h-data: Likewise.
18893 * conform/data/stdio.h-data: Likewise.
18894 * conform/data/stdlib.h-data: Likewise.
18895 * conform/data/stropts.h-data: Likewise.
18896 * conform/data/sys/mman.h-data: Likewise.
18897 * conform/data/sys/stat.h-data: Likewise.
18898 * conform/data/sys/types.h-data: Likewise.
18899 * conform/data/sys/wait.h-data: Likewise.
18900 * conform/data/time.h-data: Likewise.
18901 * conform/data/unistd.h-data: Likewise.
18902 * conform/data/utime.h-data: Likewise.
18903
18904 * io/sys/stat.h: fchmod was always in POSIX.
18905 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18906 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18907 * rt/aio.h: Define __need_timespec before including <time.h>.
18908 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18909 struct. Add forward declaration of pthread_attr_t and use it in
18910 sigevent.
18911 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18912 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18913 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18914 always remove CLK_TCK definition.
18915
c20105c3
AS
189162012-02-26 Andreas Schwab <schwab@linux-m68k.org>
18917
18918 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18919
7a270350
UD
189202012-02-25 Ulrich Drepper <drepper@gmail.com>
18921
31341567
UD
18922 * conform/run-conformtest.sh: New file.
18923 * conform/Makefile: Run run-conformtest for tests.
18924 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
18925 support.
18926
18927 * conform/data/uchar.h-data: New file.
18928 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18929 * conform/data/arpa/inet.h-data: Likewise.
18930 * conform/data/assert.h-data: Likewise.
18931 * conform/data/complex.h-data: Likewise.
18932 * conform/data/cpio.h-data: Likewise.
18933 * conform/data/ctype.h-data: Likewise.
18934 * conform/data/dirent.h-data: Likewise.
18935 * conform/data/dlfcn.h-data: Likewise.
18936 * conform/data/errno.h-data: Likewise.
18937 * conform/data/fcntl.h-data: Likewise.
18938 * conform/data/float.h-data: Likewise.
18939 * conform/data/fmtmsg.h-data: Likewise.
18940 * conform/data/fnmatch.h-data: Likewise.
18941 * conform/data/ftw.h-data: Likewise.
18942 * conform/data/glob.h-data: Likewise.
18943 * conform/data/grp.h-data: Likewise.
18944 * conform/data/iconv.h-data: Likewise.
18945 * conform/data/inttypes.h-data: Likewise.
18946 * conform/data/langinfo.h-data: Likewise.
18947 * conform/data/libgen.h-data: Likewise.
18948 * conform/data/limits.h-data: Likewise.
18949 * conform/data/locale.h-data: Likewise.
18950 * conform/data/math.h-data: Likewise.
18951 * conform/data/monetary.h-data: Likewise.
18952 * conform/data/mqueue.h-data: Likewise.
18953 * conform/data/ndbm.h-data: Likewise.
18954 * conform/data/net/if.h-data: Likewise.
18955 * conform/data/netdb.h-data: Likewise.
18956 * conform/data/netinet/in.h-data: Likewise.
18957 * conform/data/nl_types.h-data: Likewise.
18958 * conform/data/poll.h-data: Likewise.
18959 * conform/data/pthread.h-data: Likewise.
18960 * conform/data/pwd.h-data: Likewise.
18961 * conform/data/regex.h-data: Likewise.
18962 * conform/data/sched.h-data: Likewise.
18963 * conform/data/search.h-data: Likewise.
18964 * conform/data/semaphore.h-data: Likewise.
18965 * conform/data/setjmp.h-data: Likewise.
18966 * conform/data/signal.h-data: Likewise.
18967 * conform/data/spawn.h-data: Likewise.
18968 * conform/data/stdarg.h-data: Likewise.
18969 * conform/data/stdio.h-data: Likewise.
18970 * conform/data/stdlib.h-data: Likewise.
18971 * conform/data/string.h-data: Likewise.
18972 * conform/data/strings.h-data: Likewise.
18973 * conform/data/stropts.h-data: Likewise.
18974 * conform/data/sys/ipc.h-data: Likewise.
18975 * conform/data/sys/mman.h-data: Likewise.
18976 * conform/data/sys/msg.h-data: Likewise.
18977 * conform/data/sys/resource.h-data: Likewise.
18978 * conform/data/sys/select.h-data: Likewise.
18979 * conform/data/sys/sem.h-data: Likewise.
18980 * conform/data/sys/shm.h-data: Likewise.
18981 * conform/data/sys/socket.h-data: Likewise.
18982 * conform/data/sys/stat.h-data: Likewise.
18983 * conform/data/sys/statvfs.h-data: Likewise.
18984 * conform/data/sys/time.h-data: Likewise.
18985 * conform/data/sys/timeb.h-data: Likewise.
18986 * conform/data/sys/times.h-data: Likewise.
18987 * conform/data/sys/types.h-data: Likewise.
18988 * conform/data/sys/uio.h-data: Likewise.
18989 * conform/data/sys/un.h-data: Likewise.
18990 * conform/data/sys/utsname.h-data: Likewise.
18991 * conform/data/sys/wait.h-data: Likewise.
18992 * conform/data/syslog.h-data: Likewise.
18993 * conform/data/tar.h-data: Likewise.
18994 * conform/data/termios.h-data: Likewise.
18995 * conform/data/utime.h-data: Likewise.
18996 * conform/data/utmpx.h-data: Likewise.
18997 * conform/data/varargs.h-data: Likewise.
18998 * conform/data/wchar.h-data: Likewise.
18999 * conform/data/wctype.h-data: Likewise.
19000 * conform/data/wordexp.h-data: Likewise.
19001
19002 * include/stropts.h: New file.
19003 * include/uchar.h: New file.
19004 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19005 * include/assert.h: Likewise.
19006 * include/ctype.h: Likewise.
19007 * include/dirent.h: Likewise.
19008 * include/dlfcn.h: Likewise.
19009 * include/fcntl.h: Likewise.
19010 * include/fnmatch.h: Likewise.
19011 * include/glob.h: Likewise.
19012 * include/grp.h: Likewise.
19013 * include/libio.h: Likewise.
19014 * include/locale.h: Likewise.
19015 * include/math.h: Likewise.
19016 * include/net/if.h: Likewise.
19017 * include/netdb.h: Likewise.
19018 * include/netinet/in.h: Likewise.
19019 * include/pthread.h: Likewise.
19020 * include/pwd.h: Likewise.
19021 * include/regex.h: Likewise.
19022 * include/sched.h: Likewise.
19023 * include/search.h: Likewise.
19024 * include/setjmp.h: Likewise.
19025 * include/signal.h: Likewise.
19026 * include/stdio.h: Likewise.
19027 * include/stdlib.h: Likewise.
19028 * include/string.h: Likewise.
19029 * include/sys/cdefs.h: Likewise.
19030 * include/sys/mman.h: Likewise.
19031 * include/sys/msg.h: Likewise.
19032 * include/sys/resource.h: Likewise.
19033 * include/sys/select.h: Likewise.
19034 * include/sys/socket.h: Likewise.
19035 * include/sys/stat.h: Likewise.
19036 * include/sys/statvfs.h: Likewise.
19037 * include/sys/time.h: Likewise.
19038 * include/sys/times.h: Likewise.
19039 * include/sys/uio.h: Likewise.
19040 * include/sys/utsname.h: Likewise.
19041 * include/sys/wait.h: Likewise.
19042 * include/termios.h: Likewise.
19043 * include/time.h: Likewise.
19044 * include/ulimit.h: Likewise.
19045 * include/unistd.h: Likewise.
19046 * include/utime.h: Likewise.
19047 * include/wchar.h: Likewise.
19048 * include/wctype.h: Likewise.
19049 * include/wordexp.h: Likewise.
19050
19051 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19052
7a270350
UD
19053 * time/time.h: TIME_UTC must be a macro.
19054 Make timespec_get available for ISO C11 only as well.
19055
7724defc
UD
190562012-02-24 Ulrich Drepper <drepper@gmail.com>
19057
19058 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19059 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19060
6b1d1d46
JM
190612012-02-24 Joseph Myers <joseph@codesourcery.com>
19062
19063 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 19064
0f8bbd69
JM
190652012-02-24 Joseph Myers <joseph@codesourcery.com>
19066
19067 * manual/texinfo.tex: Update to version 2012-01-19.16.
19068
66ab80bc
JM
190692012-02-24 Joseph Myers <joseph@codesourcery.com>
19070
19071 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19072
74981cc5
RM
190732012-02-24 Roland McGrath <roland@hack.frob.com>
19074
ee968201
RM
19075 [BZ #13738]
19076 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19077 * manual/fdl-1.3.texi: New file.
19078 * manual/fdl-1.1.texi: File removed.
19079
74981cc5
RM
19080 [BZ #13738]
19081 * manual/libc.texinfo (FDL_VERSION): New @set.
19082 Use it for mention of FDL in cover text.
19083 (Documentation License): Use it in @include file name.
19084
7bb764bc
JM
190852012-02-22 Joseph Myers <joseph@codesourcery.com>
19086 Roland McGrath <roland@hack.frob.com>
19087
19088 [BZ #5461]
19089 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19090 not LONG_LONG_MAX and LONG_LONG_MIN.
19091 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19092 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19093 name.
19094 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19095
6cbeae47
JM
190962012-02-22 Joseph Myers <joseph@codesourcery.com>
19097
19098 [BZ #2547]
19099 [BZ #11365]
19100 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19101 manipulate bits before adding and subtracting TWO23[sx].
19102 * math/libm-test.inc (nearbyint_test): Add more tests.
19103
fe45ce09
JM
191042012-02-22 Joseph Myers <joseph@codesourcery.com>
19105
19106 [BZ #2548]
19107 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19108 bits before adding and subtracting TWO23[sx].
19109 * math/libm-test.inc (rint_test): Add more tests.
19110 (rint_test_tonearest): Likewise.
19111 (rint_test_towardzero): Likewise.
19112 (rint_test_downward): Likewise.
19113 (rint_test_upward: Likewise.
19114
ff3b3d82
JM
191152012-02-22 Joseph Myers <joseph@codesourcery.com>
19116
19117 [BZ #10110]
19118 * include/stdc-predef.h: New file. Extracted from features.h.
19119 * include/features.h: Include stdc-predef.h.
19120 * Makefile (headers): Add stdc-predef.h.
19121 * CONFORMANCE (Compiler limitations): Update.
19122
ef0aab35
JM
191232012-02-22 Joseph Myers <joseph@codesourcery.com>
19124
19125 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19126
58639409
DM
191272012-02-21 David S. Miller <davem@davemloft.net>
19128
19129 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19130 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19131
c0e70b25
DM
191322012-02-20 David S. Miller <davem@davemloft.net>
19133
19134 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19135 using a normal save/restore sequence, rather than allocating a
19136 dummy stack frame just to store a frame pointer and restore.
19137 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19138
fb06851d
JM
191392012-02-21 Joseph Myers <joseph@codesourcery.com>
19140
19141 * manual/install.texi: Fix stray word in line-wrapped comment.
19142
7a8b71c3
DM
191432012-02-20 David S. Miller <davem@davemloft.net>
19144
d510c123
DM
19145 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19146 both binutils and gcc support GOTDATA.
19147
0722d7c2
DM
19148 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19149 "rd %pc" in the PIC register setup sequences.
19150
3d2b3019
DM
19151 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19152 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19153 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19154 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19155 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19156 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19157 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19158 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19159 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19160 (SYSCALL_ERROR_HANDLER): Likewise.
19161 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19162 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19163 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19164 (SYSCALL_ERROR_HANDLER): Likewise.
19165
c80098a9
DM
19166 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19167 (HAVE_GCC_GOTDATA): New.
19168 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19169 relocation support in both binutils and gcc.
19170 * sysdeps/sparc/elf/configure: Regenerate.
19171
3a2545a0
DM
19172 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19173 * sysdeps/sparc/sparc32/elf/configure: Delete.
19174 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19175 * sysdeps/sparc/sparc64/elf/configure: Delete.
19176 * sysdeps/sparc/elf/configure.in: New file.
19177 * sysdeps/sparc/elf/configure: Generate.
19178
7a8b71c3
DM
19179 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19180 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19181 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19182 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19183 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19184
f1e86fca
JM
191852012-02-21 Joseph Myers <joseph@codesourcery.com>
19186
19187 * manual/install.texi: Do not mention specific glibc version
19188 numbers.
19189 * manual/libc.texinfo (VERSION, UPDATED): Update.
19190 (@copying): Use @copyright{} and range of years.
19191
0e7dfaef
JM
191922012-02-21 Joseph Myers <joseph@codesourcery.com>
19193
19194 [BZ #13695]
19195 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19196 [crti.S not in sysdirs] (generated): Do not append.
19197 [crti.S not in sysdirs] (omit-deps): Likewise.
19198 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19199 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19200 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19201 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19202 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19203 Likewise.
19204 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19205 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19206 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19207 * csu/defs.awk: Remove file.
19208 * sysdeps/generic/initfini.c: Likewise.
19209 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19210 variable.
19211 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19212 Likewise.
19213
599af3ca
JM
192142012-02-20 Joseph Myers <joseph@codesourcery.com>
19215
19216 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19217 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19218 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19219 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19220 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19221 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19222 <bits/epoll.h>.
19223 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19224 (__EPOLL_PACKED): Define to empty if not defined by
19225 <bits/epoll.h>.
19226 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19227 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19228 bits/epoll.h.
19229
0e499750
JM
192302012-02-20 Joseph Myers <joseph@codesourcery.com>
19231
19232 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19233 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19234 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19235 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19236 <bits/timerfd.h>.
19237 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19238 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19239 bits/timerfd.h.
19240
5ad91f6e
JM
192412012-02-20 Joseph Myers <joseph@codesourcery.com>
19242
19243 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19244 in C locale.
19245 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19246 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19247 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19249
06b99b02
AJ
192502012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19251
19252 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19253 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19254
7638c0fd
AS
192552012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19256
19257 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19258 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19259 defined.
19260 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19261 Likewise.
19262 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19263 entry for 2.16.
19264
92221550
AJ
192652012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19266
19267 * math/w_acos.c: Use non-signaling floating-point comparisons.
19268 * math/w_acosf.c: Likewise.
19269 * math/w_acosh.c: Likewise.
19270 * math/w_acoshf.c: Likewise.
19271 * math/w_acoshl.c: Likewise.
19272 * math/w_acosl.c: Likewise.
19273 * math/w_asin.c: Likewise.
19274 * math/w_asinf.c: Likewise.
19275 * math/w_asinl.c: Likewise.
19276 * math/w_atanh.c: Likewise.
19277 * math/w_atanhf.c: Likewise.
19278 * math/w_atanhl.c: Likewise.
19279 * math/w_exp2.c: Likewise.
19280 * math/w_exp2f.c: Likewise.
19281 * math/w_exp2l.c: Likewise.
19282 * math/w_j0.c: Likewise.
19283 * math/w_j0f.c: Likewise.
19284 * math/w_j0l.c: Likewise.
19285 * math/w_j1.c: Likewise.
19286 * math/w_j1f.c: Likewise.
19287 * math/w_j1l.c: Likewise.
19288 * math/w_jn.c: Likewise.
19289 * math/w_jnf.c: Likewise.
19290 * math/w_log.c: Likewise.
19291 * math/w_log10.c: Likewise.
19292 * math/w_log10f.c: Likewise.
19293 * math/w_log10l.c: Likewise.
19294 * math/w_log2.c: Likewise.
19295 * math/w_log2f.c: Likewise.
19296 * math/w_log2l.c: Likewise.
19297 * math/w_logf.c: Likewise.
19298 * math/w_logl.c: Likewise.
19299 * math/w_sqrt.c: Likewise.
19300 * math/w_sqrtf.c: Likewise.
19301 * math/w_sqrtl.c: Likewise.
19302 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19303 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19304 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19305 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19306 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19307
ebaf36eb
JM
193082012-02-19 Joseph Myers <joseph@codesourcery.com>
19309
19310 [BZ #9739]
19311 * manual/string.texi (strnlen): Use correct parameter name in
19312 equivalent expression.
19313
71c254a6
JM
193142012-02-19 Joseph Myers <joseph@codesourcery.com>
19315
19316 [BZ #11174]
19317 * manual/users.texi (seteuid): Consistently use neweuid for
19318 argument name.
19319
16d2c631
JM
193202012-02-19 Joseph Myers <joseph@codesourcery.com>
19321
19322 [BZ #13704]
19323 * manual/nss.texi (Services in the NSS configuration): Correct
19324 list of services in example configuration file.
19325
cd837b09
NB
193262012-02-19 Nick Bowler <nbowler@draconx.ca>
19327
19328 [BZ #11322]
19329 * manual/arith.texi: Remove statements about negative zero
19330 behaving identically to zero.
19331
02c4bbad
JM
193322012-02-18 Joseph Myers <joseph@codesourcery.com>
19333
19334 [BZ #5993]
19335 * manual/install.texi: Do not document upgrading from libc5.
19336
366842e7
JM
193372012-02-18 Joseph Myers <joseph@codesourcery.com>
19338
19339 [BZ #4596]
19340 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19341
dd54084d
DM
193422012-02-18 David S. Miller <davem@davemloft.net>
19343
19344 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19345 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19346 %o7 across the call.
19347 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19348 instead.
19349 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19350 SETUP_PIC_REG_LEAF.
19351 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19352 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19353 * sysdeps/sparc/crtn.S: Likewise.
19354
2bcc53a3
UD
193552012-02-17 Ulrich Drepper <drepper@gmail.com>
19356
19357 * aout/Makefile: Remove.
19358
09c093b5
RK
193592012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19360
19361 [BZ #13058]
19362 * manual/examples/argp-ex1.c (main): Format definition in GNU
19363 style.
19364 * manual/examples/argp-ex2.c (main): Likewise.
19365 * manual/examples/argp-ex3.c (main): Likewise.
19366 * manual/examples/argp-ex4.c (main): Likewise.
19367 * manual/examples/longopt.c (main): Use new-style prototype
19368 definition.
19369 * manual/examples/strncat.c (main): Specify return type and use
19370 (void) for arguments.
19371 * manual/examples/subopt.c (main): Use char **argv argument.
19372
2ee633a2
JM
193732012-02-17 Joseph Myers <joseph@codesourcery.com>
19374
19375 [BZ #5077]
19376 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19377 rounding modes.
19378
0520adde
FB
193792012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19380
19381 [BZ #6907]
19382 * manual/string.texi (strchr): Change when strchrnul is
19383 recommended.
19384
3f4081cd
DGM
193852012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19386
19387 [BZ #174]
19388 * manual/locale.texi (setlocale): Document LOCPATH.
19389
d1b10e78
JM
193902012-02-17 Joseph Myers <joseph@codesourcery.com>
19391
19392 [BZ #10210]
19393 * manual/process.texi (execle): Move @dots{} before last argument.
19394
79c6869c
PB
193952012-02-17 Paul Bolle <pebolle@tiscali.nl>
19396
19397 [BZ #12047]
19398 * manual/charset.texi (Generic Charset Conversion): Fix typo
19399 (LC_TYPE -> LC_CTYPE).
19400
cc6e48bc
NB
194012012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19402
19403 [BZ #5805]
19404 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19405 (scalbnf): Likewise.
19406 (scalbnl): Likewise.
19407 (scalbln): Likewise.
19408 (scalblnf): Likewise.
19409 (scalblnl): Likewise.
19410 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19411 (vwarnx): Likewise.
19412 (verr): Likewise.
19413 (verrx): Likewise.
19414 * manual/filesys.texi (telldir): Use braces around return type.
19415 * manual/llio.texi (mmap): Add space after comma.
19416 (mmap64): Likewise.
19417 * manual/math.texi (jn): Use @var{} on parameter names.
19418 (jnf): Likewise.
19419 (jnl): Likewise.
19420 (yn): Likewise.
19421 (ynf): Likewise.
19422 (ynl): Likewise.
19423 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19424 line.
19425 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19426 "...".
19427 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19428 (sched_get_priority_max): Likewise.
19429 * manual/signal.texi (sigvec): Add space after comma.
19430 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19431 names.
19432 (if_indextoname): Likewise.
19433 (if_freenameindex): Likewise.
19434 (sendto): Use ',' instead of '.' in prototype.
19435 * manual/startup.texi (syscall): Use @dots{} instead of literal
19436 "...".
19437 * manual/stdio.texi (__fpending): Separate initial words of
19438 paragraph from @deftypefun line.
19439 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19440 "...".
19441 (vsyslog): Use @var{} on parameter names.
19442 * manual/terminal.texi (stty): Use @var{} on parameter names.
19443 * manual/users.texi (getutmp): Use @var{} on parameter names.
19444 (getutmpx): Likewise.
19445
5b23062f
JM
194462012-02-17 Joseph Myers <joseph@codesourcery.com>
19447
19448 [BZ #6884]
19449 * manual/stdio.texi (fopen): Fix typos in description of
19450 ",ccs=STRING".
19451
8dee4833
AJ
194522012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19453
19454 [BZ #4026]
19455 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19456 get clock_id definition.
19457
9078ce93
TS
194582012-02-17 Thomas Schwinge <thomas@schwinge.name>
19459
19460 [BZ #4822]
19461 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19462 (madvise): Cast every argument to void on its own.
19463
3835c55f
JM
194642012-02-17 Joseph Myers <joseph@codesourcery.com>
19465
19466 [BZ #9902]
19467 * manual/startup.texi (Exit Status): Fix typo.
19468
35c47e37
JM
194692012-02-17 Joseph Myers <joseph@codesourcery.com>
19470
19471 [BZ #10140]
19472 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19473 * manual/examples/argp-ex2.c: Likewise.
19474 * manual/examples/argp-ex3.c: Likewise.
19475
e3b69ca7
RH
194762012-02-16 Richard Henderson <rth@redhat.com>
19477
19478 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19479 * sysdeps/s390/s390-32/initfini.c: Remove.
19480 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19481 * sysdeps/s390/s390-64/initfini.c: Remove.
19482
df83af67
KK
194832012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19484
19485 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19486 compiler output for sysdeps/generic/initfini.c.
19487 * sysdeps/sh/elf/initfini.c: Remove file.
19488
f63f3380
DM
194892012-02-16 David S. Miller <davem@davemloft.net>
19490
fb59b3a4
DM
19491 [BZ #11494]
19492 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19493
f63f3380
DM
19494 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19495 * sysdeps/sparc/crti.S: New file.
19496 * sysdeps/sparc/crtn.S: New file.
19497 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19498 * sysdeps/sparc/sparc64/Makefile: Likewise.
19499
df6a4a4a
MF
195002012-02-15 Mike Frysinger <vapier@gentoo.org>
19501
6dd8f3dc 19502 [BZ #3335]
df6a4a4a
MF
19503 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19504
1cac7236
RM
195052012-02-15 Roland McGrath <roland@hack.frob.com>
19506
d2c736f8
RM
19507 [BZ #4822]
19508 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19509
1cac7236
RM
19510 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19511 (write, read, close): Likewise.
19512 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19513
8e475601
JM
195142012-02-15 Joseph Myers <joseph@codesourcery.com>
19515
19516 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19517 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19518 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19519 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19520 <bits/signalfd.h>.
19521 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19522 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19523 bits/signalfd.h.
19524
ed656b40
MP
195252012-02-14 Marek Polacek <polacek@redhat.com>
19526
19527 * sysdeps/x86_64/crti.S: New file.
19528 * sysdeps/x86_64/crtn.S: New file.
19529 * sysdeps/x86_64/elf/initfini.c: Remove file.
19530
2a979d3a
JM
195312012-02-13 Joseph Myers <joseph@codesourcery.com>
19532
19533 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19534 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19535 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19536 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19537 <bits/inotify.h>.
19538 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19539 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19540 bits/inotify.h.
19541
2a418ac3
JM
195422012-02-13 Joseph Myers <joseph@codesourcery.com>
19543
19544 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19545 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19546 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19547 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19548 <bits/eventfd.h>.
19549 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19550 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19551 bits/eventfd.h.
19552
fb779be7
TS
195532012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19554
e19e83c5
RM
19555 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19556 __feraiseexcept instead of feraiseexcept.
7c35ffed 19557
fb779be7
TS
19558 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19559 nanosleep invocations.
19560 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19561 strings, and add error checking for a nanosleep invocations.
19562
59ba27a6
PE
195632012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19564
19565 Replace FSF snail mail address with URLs, as per GNU coding standards.
19566 Most of the snail mail addresses were wrong anyway, and omitting
19567 them makes the source code easier to maintain. Almost all of the
19568 changes are to license notices and to locale LC_IDENTIFICATION
19569 addresses, except for this one:
19570 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19571 not its snail mail address.
19572
57b957eb
RH
195732012-02-09 Richard Henderson <rth@twiddle.net>
19574
af850b1c
RH
19575 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19576 of kernel-features.h.
19577
57b957eb
RH
19578 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19579
6b73181a
MP
195802012-02-08 Marek Polacek <polacek@redhat.com>
19581
19582 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19583 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19584 * sysdeps/gnu/_G_config.h: Likewise.
19585 * sysdeps/generic/_G_config.h: Likewise.
19586
26ecc33a
AS
195872012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19588
6c6dbc63
AS
19589 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19590 tests.
19591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19592
e216c012
AS
19593 * sysdeps/powerpc/powerpc32/crti.S: New file.
19594 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19595 * sysdeps/powerpc/powerpc64/crti.S: New file.
19596 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19597
26ecc33a
AS
19598 * Makeconfig (have-initfini): Don't set.
19599 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19600 * configure.in (nopic_initfini): Don't substitute.
19601 * config.h.in (HAVE_INITFINI): Don't #undef.
19602 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19603 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19604
3add8e13
JM
196052012-02-08 Joseph Myers <joseph@codesourcery.com>
19606
19607 Support crti.S and crtn.S provided directly by architectures.
19608 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19609 [crti.S in sysdirs] (omit-deps): Likewise.
19610 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19611 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19612 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19613 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19614 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19615 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19616 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19617 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19618 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19619 compiler output for sysdeps/generic/initfini.c.
19620 * sysdeps/i386/elf/Makefile: Remove file.
19621 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19622
a22f12b4
MP
196232012-02-07 Marek Polacek <polacek@redhat.com>
19624
19625 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19626 * sysdeps/gnu/_G_config.h: Likewise.
19627 * sysdeps/mach/hurd/_G_config.h: Likewise.
19628
148cf100
MP
196292012-02-07 Marek Polacek <polacek@redhat.com>
19630
19631 * math/Makefile (tests): Add tst-CMPLX2.
19632 * math/tst-CMPLX2.c: New file.
19633
cfdc0dd7
AS
196342012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19635
84ba42c4
AS
19636 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19637
cfdc0dd7
AS
19638 * math/libm-test.inc (jn_test): Add missing L suffix.
19639
622c86f4
MP
196402012-02-06 Marek Polacek <polacek@redhat.com>
19641
19642 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19643 * sysdeps/i386/fpu/e_powf.S: Likewise.
19644 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19645 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19646 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19647 * sysdeps/i386/fpu/e_pow.S: Likewise.
19648 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19649 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19650 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19651 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19652 * sysdeps/i386/fpu/e_log2.S: Likewise.
19653 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19654 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19655 * sysdeps/i386/fpu/e_powl.S: Likewise.
19656 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19657 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19658 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19659 * sysdeps/i386/fpu/e_logl.S: Likewise.
19660 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19661 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19662 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19663 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19664 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19665 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19666 * sysdeps/i386/fpu/e_log.S: Likewise.
19667 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19668 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19669 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19670 * sysdeps/i386/fpu/e_logf.S: Likewise.
19671 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19672 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19673 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19674 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19675 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19676 * sysdeps/i386/fpu/e_log10.S: Likewise.
19677 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19678 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19679 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19680 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19681 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19682 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19683 * sysdeps/i386/asm-syntax.h: Likewise.
19684 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19685 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19686 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19687 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19688 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19689 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19690 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19691 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19692 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19693 * sysdeps/powerpc/sysdep.h: Likewise.
19694 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19695 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19696
d4a54ac6
JM
196972012-02-06 Joseph Myers <joseph@codesourcery.com>
19698
19699 [BZ #411]
19700 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19701
314054ea
JM
197022012-02-06 Joseph Myers <joseph@codesourcery.com>
19703
19704 * sysdeps/i386/sysdep.h: Include <features.h>.
19705 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19706 version.
19707
d8e0ca50
JM
197082012-02-05 Joseph Myers <joseph@codesourcery.com>
19709
19710 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19711 Define.
19712 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19713 LOAD_PIC_REG_STR.
19714
b1da7dd9
JM
197152012-02-03 Joseph Myers <joseph@codesourcery.com>
19716
19717 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19718 (SETUP_PIC_REG): Use GET_PC_THUNK.
19719 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19720 macro.
19721
9a1d9254
JM
197222012-02-03 Joseph Myers <joseph@codesourcery.com>
19723
19724 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19725 for non-PIC compilation.
19726 (SETUP_PIC_REG): Add .p2align directive.
19727 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19728 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19729 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19730 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19731 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19732 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19733 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19734 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19735 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19736 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19737 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19738 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19739 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19740 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19741 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19742 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19743 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19744 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19745 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19746 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19747 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19748 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19749 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19750 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19751 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19752 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19753 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19754 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19755 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19756 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19757 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19758 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19759 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19760 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19761 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19762 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19763 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19764 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19765 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19766 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19767 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19768
65dc3b75
JM
197692012-02-03 Joseph Myers <joseph@codesourcery.com>
19770
19771 * math/tst-CMPLX.c: Include <stdio.h>.
19772
d55bf177
JM
197732012-01-31 Joseph Myers <joseph@codesourcery.com>
19774
19775 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19776 float.
19777 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19778 * sysdeps/sparc/bits/mathdef.h: Likewise.
19779
69db4f8f
MP
197802012-01-31 Marek Polacek <polacek@redhat.com>
19781
19782 * libio/libio.h: Don't define _PARAMS.
19783 * locale/programs/config.h: Don't define PARAMS.
19784 * stdlib/strtol_l.c: Likewise.
19785 (__strtol_l): Remove PARAMS from the prototype.
19786
41b81892
UD
197872012-01-31 Ulrich Drepper <drepper@gmail.com>
19788
3b49edc0
UD
19789 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19790 names. Just use the correct names. Remove unnecessary wrapper
19791 functions.
19792 * malloc/arena.c: Likewise.
19793 * malloc/hooks.c: Likewise.
19794
41b81892
UD
19795 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19796 ARENA_TEST says not to. Simplify test for creation of a new arena.
19797 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19798
27a25b6e
UD
197992012-01-30 Ulrich Drepper <drepper@gmail.com>
19800
19801 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19802 into tail calls.
19803 (update_get_addr): New function.
19804 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19805 GET_ADDR_MODULE parameter.
19806
c8a89e7d
JM
198072012-01-30 Joseph Myers <joseph@codesourcery.com>
19808
19809 * crypt/cert.c: Remove __STDC__ conditionals.
19810 * crypt/crypt-entry.c: Likewise.
19811 * crypt/crypt_util.c: Likewise.
19812 * libio/filedoalloc.c: Likewise.
19813 * libio/fileops.c: Likewise.
19814 * libio/genops.c: Likewise.
19815 * libio/iofclose.c: Likewise.
19816 * libio/iofdopen.c: Likewise.
19817 * libio/iofopen.c: Likewise.
19818 * libio/iofopen64.c: Likewise.
19819 * libio/iogetdelim.c: Likewise.
19820 * libio/iopopen.c: Likewise.
19821 * libio/obprintf.c: Likewise.
19822 * libio/oldfileops.c: Likewise.
19823 * libio/oldiofclose.c: Likewise.
19824 * libio/oldiofdopen.c: Likewise.
19825 * libio/oldiofopen.c: Likewise.
19826 * libio/oldiopopen.c: Likewise.
19827 * libio/wfiledoalloc.c: Likewise.
19828 * libio/wgenops.c: Likewise.
19829 * locale/programs/xmalloc.c: Likewise.
19830 * misc/syslog.c: Likewise.
19831 * stdio-common/xbug.c: Likewise.
19832 * string/memchr.c: Likewise.
19833 * string/memcmp.c: Likewise.
19834 * string/memrchr.c: Likewise.
19835 * string/rawmemchr.c: Likewise.
19836 * sysdeps/posix/getcwd.c: Likewise.
19837 * time/strftime_l.c: Likewise.
19838
3b100462
JM
198392012-01-30 Joseph Myers <joseph@codesourcery.com>
19840
19841 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
19842 * config.make.in (config-cflags-sse2avx): Define.
19843 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19844 Fix typo.
19845
607998af
CM
198462012-01-29 Chris Metcalf <cmetcalf@tilera.com>
19847
19848 * scripts/config.guess: Update from upstream config git repository.
19849 * scripts/config.sub: Likewise.
19850
3601428f
CM
198512012-01-28 Chris Metcalf <cmetcalf@tilera.com>
19852
3ac8b282
CM
19853 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19854 (EM_NUM): Update.
19855 (R_TILEPRO_*, R_TILEGX_*): New macros.
19856
e034841e
CM
19857 * scripts/firstversions.awk: Fix bug in version range handling.
19858
540d7568
CM
19859 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19860
3601428f
CM
19861 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19862
463de862
CM
19863 * include/sys/epoll.h: New file.
19864 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19865 libc_hidden_def.
19866
73139a76
UD
198672012-01-28 Ulrich Drepper <drepper@gmail.com>
19868
96bc5b45
UD
19869 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19870 Avoid unnecessary __WORDSIZE == 64 test.
19871 (fmaxf): Use VEX format if possible.
19872 (fmax): Likewise.
19873 (fminf): Likewise.
19874 (fmin): Likewise.
19875
56f6f6a2
UD
19876 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19877 * math/math_private.h: Remove libc_fegetround* and
19878 libc_fesetround*.
19879 * sysdeps/i386/configure.in: Check for -msse2avx.
19880 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19881 also if SSE2AVX is defined.
19882 Remove libc_fegetround* and libc_fesetround*.
19883 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19884 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
19885 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19886 of HAS_YMM_USABLE.
19887 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19888 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19889 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19890 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19891 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19892
73139a76
UD
19893 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19894
d73f93a4
AZ
198952012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19896
19897 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19898 size is not set.
19899 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19900
6ee65ed6
UD
199012012-01-27 Ulrich Drepper <drepper@gmail.com>
19902
19903 [BZ #13618]
19904 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19905 relocation.
19906 * Makeconfig (libm): Define.
19907 * elf/Makefile: Add rules to build and run tst-relsort1.
19908 * elf/tst-relsort1.c: New file.
19909 * elf/tst-relsort1mod1.c: New file.
19910 * elf/tst-relsort1mod2.c: New file.
19911
8db21882
JM
199122012-01-27 Joseph Myers <joseph@codesourcery.com>
19913
19914 * math/s_ldexp.c: Remove __STDC__ conditionals.
19915 * math/s_ldexpf.c: Likewise.
19916 * math/s_ldexpl.c: Likewise.
19917 * math/s_nextafter.c: Likewise.
19918 * math/s_nexttowardf.c: Likewise.
19919 * math/s_significand.c: Likewise.
19920 * math/s_significandf.c: Likewise.
19921 * math/s_significandl.c: Likewise.
19922 * math/w_jnl.c: Likewise.
19923 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19924 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19925 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19926 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19927 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19928 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19929 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19930 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19931 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19932 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19933 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19934 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19935 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19936 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19937 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19938 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19939 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19940 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19941 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19942 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19943 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19944 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19945 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19946 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19947 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19948 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19949 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19950 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19951 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
19952 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19953 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19954 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
19955 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19956 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
19957 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
19958 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19959 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
19960 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
19961 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
19962 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
19963 * sysdeps/ieee754/k_standard.c: Likewise.
19964 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
19965 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19966 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
19967 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
19968 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
19969 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
19970 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19971 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
19972 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
19973 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
19974 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
19975 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
19976 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
19977 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
19978 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
19979 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
19980 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
19981 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19982 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19983 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
19984 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19985 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19986 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
19987 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
19988 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19989 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19990 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19991 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19992 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19993 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
19994 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
19995 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
19996 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
19997 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
19998 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
19999 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20000 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20001 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20002 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20003 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20004 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20005 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20006 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20007 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20008 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20009 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20010 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20011 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20012 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20013 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20014 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20015 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20016 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20017 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20018 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20019 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20020 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20021 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20022 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20023 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20024 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20025 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20026 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20027 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20028 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20029 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20030 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20031 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20032 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20033 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20034 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20035 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20036 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20037 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20038 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20039 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20040 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20041 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20042 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20043 * sysdeps/ieee754/s_matherr.c: Likewise.
20044 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20045 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20046 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20047 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20048
965a54a4
JM
200492012-01-26 Joseph Myers <joseph@codesourcery.com>
20050
20051 * crypt/md5.h: Remove __STDC__ conditionals.
20052 * libio/libioP.h: Likewise.
20053 * locale/programs/config.h: Likewise.
20054 * sysdeps/generic/sysdep.h: Likewise.
20055 * sysdeps/i386/asm-syntax.h: Likewise.
20056 * sysdeps/s390/asm-syntax.h: Likewise.
20057 * sysdeps/unix/sysdep.h: Likewise.
20058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20060
7071ad79
JM
200612012-01-26 Joseph Myers <joseph@codesourcery.com>
20062
20063 * libio/libio.h: Remove __STDC__ conditionals.
20064 * malloc/obstack.h: Likewise.
20065 * math/complex.h: Likewise.
20066 * math/math.h: Likewise.
20067 * sysdeps/generic/_G_config.h: Likewise.
20068 * sysdeps/gnu/_G_config.h: Likewise.
20069 * sysdeps/mach/hurd/_G_config.h: Likewise.
20070 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20071 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20072 * sysdeps/sparc/bits/mathdef.h: Likewise.
20073
afc5ed09
UD
200742012-01-26 Ulrich Drepper <drepper@gmail.com>
20075
20076 [BZ #13583]
20077 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 20078 Clean up HAS_* macros.
afc5ed09 20079 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
20080 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20081 possible.
20082 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20083 HAS_AVX.
20084 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20085 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20086 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20087 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20088 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 20089
bdb6de1d
JM
200902012-01-25 Joseph Myers <joseph@codesourcery.com>
20091
20092 * elf/tst-unique3.cc (gets): Remove declaration.
20093 * elf/tst-unique3lib.cc (gets): Likewise.
20094 * elf/tst-unique3lib2.cc (gets): Likewise.
20095 * elf/tst-unique4.cc (gets): Likewise.
20096
b15549e6
UD
200972012-01-24 Ulrich Drepper <drepper@gmail.com>
20098
20099 * include/stdio.h: Add C++ protection. Add gets declarations and
20100 definitions.
20101 * debug/tst-chk1.c: Don't declare gets here.
20102 * stdio-common/tst-gets.c: Likewise.
20103
a037381f
JM
201042012-01-24 Joseph Myers <joseph@codesourcery.com>
20105
20106 * posix/glob: Remove directory.
20107
f1d4aa75
JM
201082012-01-24 Joseph Myers <joseph@codesourcery.com>
20109
20110 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20111
81c0c964
PT
201122012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20113
20114 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20115 of the non-standard EPFNOSUPPORT.
20116
0ea698ae
ST
201172011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20118
20119 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20120 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20121 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20122
d220b117
UD
201232012-01-21 Ulrich Drepper <drepper@gmail.com>
20124
20125 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20126
3e1aa84e
UD
201272012-01-20 Ulrich Drepper <drepper@gmail.com>
20128
20129 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20130 transient errors.
20131 * nscd/grpcache.c (cache_addgr): Likewise.
20132 * nscd/hstcache.c (cache_addhst): Likewise.
20133 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20134 * nscd/pwdcache.c (cache_addpw): Likewise.
20135 * nscd/servicescache.c (cache_addserv): Likewise.
20136
400aa020
UD
201372012-01-16 Ulrich Drepper <drepper@gmail.com>
20138
d77e7869
UD
20139 * malloc/malloc.c: Various cleanups.
20140 * malloc/hooks.c: Likewise.
20141
400aa020
UD
20142 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20143 * stdlib/bug-fmtmsg1.c: New file.
20144
20145 * stdlib/fmtmsg.c (init): Add missing unlock.
20146 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20147
e0a309cf
MP
201482012-01-12 Marek Polacek <polacek@redhat.com>
20149
20150 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20151 and _GNU_SOURCE.
20152
929d11c7
WS
201532012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20154
20155 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20156 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20157 macro to ensure uniqueness of label name.
20158 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20159 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20160
41d0e869
UD
201612012-01-11 Ulrich Drepper <drepper@gmail.com>
20162
0cc5ed3b
UD
20163 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20164
41d0e869
UD
20165 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20166 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20167 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20168 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20169
a47a831a
UD
201702012-01-10 Ulrich Drepper <drepper@gmail.com>
20171
daa891c0
UD
20172 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20173
20174 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20175 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20176 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20177
e58ef0f2
UD
20178 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20179
a47a831a 20180 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
20181 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20182 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 20183 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
20184
20185 * math/bits/math-finite.h: Add ldexp support.
20186
a0bfc9c7
MP
201872012-01-10 Marek Polacek <polacek@redhat.com>
20188
20189 * locale/programs/localedef.h (show_archive_content): Add noreturn
20190 attribute.
20191
d6e97a1d
UD
201922012-01-09 Ulrich Drepper <drepper@gmail.com>
20193
20194 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20195
d5835c26
UD
201962012-01-08 Ulrich Drepper <drepper@gmail.com>
20197
e5f484c6
UD
20198 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20199
d5835c26
UD
20200 * io/Makefile (headers): Add bits/poll2.h.
20201
d1f741e9
WS
202022011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20203
20204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20205 typo #include statement.
20206
ec09c1c4
UD
202072012-01-08 Ulrich Drepper <drepper@gmail.com>
20208
20209 * include/sys/cdefs.h: Define __attribute_alloc_size.
20210 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20211 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20212 * elf/pldd.c: Likewise.
20213 * iconv/iconv_charmap.c: Likewise.
20214 * iconv/iconvconfig.c: Likewise.
20215 * iconv/strtab.c: Likewise.
20216 * locale/programs/locale.c: Likewise.
20217 * locale/programs/localedef.h: Likewise.
20218 * locale/programs/simple-hash.c: Likewise.
20219 * nscd/nscd.h: Likewise.
20220 * nss/makedb.c: Likewise.
20221 * sysdeps/generic/ldconfig.h: Likewise.
20222 * locale/programs/localedef.c: Remove xmalloc prototype.
20223 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20224
20b38e03
PP
202252012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20226
20227 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20228 appropriate.
20229
a0da5fe1
UD
202302012-01-08 Ulrich Drepper <drepper@gmail.com>
20231
1d5a644a 20232 * math/Makefile (tests): Add tst-CMPLX.
669704fd 20233 * math/tst-CMPLX.c: New file.
1d5a644a 20234
8784a6db
UD
20235 * math/complex.h (CMPLXL): Fix typo.
20236
d9a216c0
UD
20237 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20238 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20239 GLIBC_2.16.
20240 * debug/tst-chk1.c: Add poll and ppoll tests.
20241 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20242 * include/sys/poll.h: Add hidden proto for ppoll.
20243 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20244 * sysdeps/mach/hurd/ppoll.c: Likewise.
20245 * io/ppoll.c: Likewise.
20246 * debug/poll_chk.c: New file.
20247 * debug/ppoll_chk.c: New file.
20248 * include/bits/poll2.h: New file.
20249 * io/bits/poll2.h: New file.
20250
ac097f5c
UD
20251 [BZ #1350]
20252 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20253
2119dcfa
UD
20254 * configure.in: static is always set to yes. Remove.
20255 * config.make.in: Don't set build-static.
20256 * Makeconfig: Remove use of build-static.
20257 * dlfcn/Makefile: Likewise.
20258 * elf/Makefile: Likewise.
20259 * math/Makefile: Likewise.
20260 * misc/Makefile: Likewise.
20261 * nptl/Makefile: Likewise.
20262 * sysdeps/mach/hurd/Makefile: Likewise.
20263
121766a9
UD
20264 * configure.in: PWD_P is not used anymore.
20265 * config.make.in: Remove PWD_P entry.
20266
51a1d39c 20267 * configure.in: Remove last remnants of RANLIB.
8720d066 20268 No need to check for signed size_t anymore.
215f4bdc
UD
20269 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20270 and IA-64.
3857022a 20271 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
20272 * aclocal.m4: Likewise.
20273
d3ed7225
UD
20274 * wcsmbs/mbrtoc16.c: Implement using towc function.
20275 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20276 * wcsmbs/wcsmbsload.c: Likewise.
20277 * iconv/gconv_simple.c: Likewise.
20278 * iconv/gconv_int.h: Likewise.
20279 * iconv/gconv_builtin.h: Likewise.
20280 * iconv/iconv_prog.c: Remove CHAR16 handling.
20281
20282 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20283
20284 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20285
a0da5fe1
UD
20286 * configure.in: Remove --with-elf and --enable-bounded options.
20287 Dont set base_machine for ia64. More non-ELF conditions removed.
20288 Remove testing and setting of leading underscore information.
20289 * config.make.in (build-bounded): Set to no.
20290 * config.h.in: Remove NO_UNDERSCORES entry.
20291 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20292 them.
20293 * csu/start.c: Remove !NO_UNDERSCORE code.
20294 * locale/localeinfo.h: Likewise.
20295 * sysdeps/generic/machine-gmon.h: Likewise.
20296 * sysdeps/generic/sysdep.h: Likewise.
20297 * sysdeps/i386/sysdep.h: Likewise.
20298 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20299 * sysdeps/mach/sysdep.h: Likewise.
20300 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20301 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20302 * sysdeps/sh/sysdep.h: Likewise.
20303 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20304 * sysdeps/unix/i386/sysdep.S: Likewise.
20305 * sysdeps/unix/sparc/start.c: Likewise.
20306 * sysdeps/unix/sparc/sysdep.S: Likewise.
20307 * sysdeps/unix/sparc/sysdep.h: Likewise.
20308 * sysdeps/unix/start.c: Likewise.
20309 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20310 * sysdeps/x86_64/sysdep.h: Likewise.
20311
df78418a
UD
203122012-01-07 Ulrich Drepper <drepper@gmail.com>
20313
a784e502
UD
20314 [BZ #13553]
20315 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20316 for non-gcc.
20317 * argp/argp-fmtstream.h: Use const instead __const.
20318 * argp/argp.h: Likewise.
20319 * assert/assert.h: Likewise.
20320 * bits/fenv.h: Likewise.
20321 * bits/sched.h: Likewise.
20322 * bits/sigset.h: Likewise.
20323 * bits/sigthread.h: Likewise.
20324 * catgets/nl_types.h: Likewise.
20325 * conform/data/pthread.h-data: Likewise.
20326 * crypt/crypt-private.h: Likewise.
20327 * crypt/crypt.h: Likewise.
20328 * crypt/crypt_util.c: Likewise.
20329 * ctype/ctype.h: Likewise.
20330 * debug/execinfo.h: Likewise.
20331 * debug/mbsnrtowcs_chk.c: Likewise.
20332 * debug/mbsrtowcs_chk.c: Likewise.
20333 * debug/wcsnrtombs_chk.c: Likewise.
20334 * debug/wcsrtombs_chk.c: Likewise.
20335 * debug/wcstombs_chk.c: Likewise.
20336 * dirent/dirent.h: Likewise.
20337 * dlfcn/dlfcn.h: Likewise.
20338 * elf/neededtest4.c: Likewise.
20339 * grp/grp.h: Likewise.
20340 * gshadow/gshadow.h: Likewise.
20341 * iconv/gconv.h: Likewise.
20342 * iconv/gconv_int.h: Likewise.
20343 * iconv/gconv_simple.c: Likewise.
20344 * iconv/iconv.h: Likewise.
20345 * iconv/loop.c: Likewise.
20346 * iconv/skeleton.c: Likewise.
20347 * include/aio.h: Likewise.
20348 * include/aliases.h: Likewise.
20349 * include/argz.h: Likewise.
20350 * include/arpa/inet.h: Likewise.
20351 * include/assert.h: Likewise.
20352 * include/dirent.h: Likewise.
20353 * include/dlfcn.h: Likewise.
20354 * include/execinfo.h: Likewise.
20355 * include/fcntl.h: Likewise.
20356 * include/fenv.h: Likewise.
20357 * include/glob.h: Likewise.
20358 * include/grp.h: Likewise.
20359 * include/libintl.h: Likewise.
20360 * include/mntent.h: Likewise.
20361 * include/netdb.h: Likewise.
20362 * include/pwd.h: Likewise.
20363 * include/rpc/netdb.h: Likewise.
20364 * include/sched.h: Likewise.
20365 * include/search.h: Likewise.
20366 * include/shadow.h: Likewise.
20367 * include/signal.h: Likewise.
20368 * include/stdio.h: Likewise.
20369 * include/stdlib.h: Likewise.
20370 * include/string.h: Likewise.
20371 * include/sys/socket.h: Likewise.
20372 * include/sys/stat.h: Likewise.
20373 * include/sys/statfs.h: Likewise.
20374 * include/sys/statvfs.h: Likewise.
20375 * include/sys/syslog.h: Likewise.
20376 * include/sys/time.h: Likewise.
20377 * include/sys/uio.h: Likewise.
20378 * include/time.h: Likewise.
20379 * include/unistd.h: Likewise.
20380 * include/utmp.h: Likewise.
20381 * include/wchar.h: Likewise.
20382 * include/wctype.h: Likewise.
20383 * inet/aliases.h: Likewise.
20384 * inet/arpa/inet.h: Likewise.
20385 * inet/netinet/ether.h: Likewise.
20386 * inet/netinet/in.h: Likewise.
20387 * intl/libintl.h: Likewise.
20388 * io/bits/fcntl2.h: Likewise.
20389 * io/fcntl.h: Likewise.
20390 * io/ftw.h: Likewise.
20391 * io/sys/poll.h: Likewise.
20392 * io/sys/stat.h: Likewise.
20393 * io/sys/statfs.h: Likewise.
20394 * io/sys/statvfs.h: Likewise.
20395 * io/utime.h: Likewise.
20396 * libio/bits/stdio.h: Likewise.
20397 * libio/bits/stdio2.h: Likewise.
20398 * libio/libio.h: Likewise.
20399 * libio/libioP.h: Likewise.
20400 * libio/stdio.h: Likewise.
20401 * locale/lc-ctype.c: Likewise.
20402 * locale/locale.h: Likewise.
20403 * login/utmp.h: Likewise.
20404 * malloc/arena.c: Likewise.
20405 * malloc/malloc.c: Likewise.
20406 * malloc/malloc.h: Likewise.
20407 * malloc/mcheck.c: Likewise.
20408 * malloc/mtrace.c: Likewise.
20409 * math/bits/mathcalls.h: Likewise.
20410 * math/fenv.h: Likewise.
20411 * math/math_private.h: Likewise.
20412 * misc/bits/error.h: Likewise.
20413 * misc/bits/syslog.h: Likewise.
20414 * misc/err.h: Likewise.
20415 * misc/error.h: Likewise.
20416 * misc/fstab.h: Likewise.
20417 * misc/mntent.h: Likewise.
20418 * misc/regexp.h: Likewise.
20419 * misc/search.h: Likewise.
20420 * misc/sgtty.h: Likewise.
20421 * misc/sys/mman.h: Likewise.
20422 * misc/sys/syslog.h: Likewise.
20423 * misc/sys/uio.h: Likewise.
20424 * misc/sys/xattr.h: Likewise.
20425 * misc/ttyent.h: Likewise.
20426 * nis/rpcsvc/ypclnt.h: Likewise.
20427 * nss/nss.h: Likewise.
20428 * posix/bits/unistd.h: Likewise.
20429 * posix/fnmatch.h: Likewise.
20430 * posix/glob.h: Likewise.
20431 * posix/sched.h: Likewise.
20432 * posix/spawn.h: Likewise.
20433 * posix/sys/wait.h: Likewise.
20434 * posix/unistd.h: Likewise.
20435 * posix/wordexp.h: Likewise.
20436 * pwd/pwd.h: Likewise.
20437 * resolv/netdb.h: Likewise.
20438 * resource/sys/resource.h: Likewise.
20439 * rt/aio.h: Likewise.
20440 * rt/bits/mqueue2.h: Likewise.
20441 * rt/mqueue.h: Likewise.
20442 * shadow/shadow.h: Likewise.
20443 * signal/signal.h: Likewise.
20444 * socket/send.c: Likewise.
20445 * socket/sendto.c: Likewise.
20446 * socket/sys/socket.h: Likewise.
20447 * stdio-common/printf.h: Likewise.
20448 * stdlib/bits/stdlib.h: Likewise.
20449 * stdlib/fmtmsg.h: Likewise.
20450 * stdlib/monetary.h: Likewise.
20451 * stdlib/stdlib.h: Likewise.
20452 * stdlib/ucontext.h: Likewise.
20453 * streams/stropts.h: Likewise.
20454 * string/argz.h: Likewise.
20455 * string/bits/string2.h: Likewise.
20456 * string/string.h: Likewise.
20457 * string/strings.h: Likewise.
20458 * sunrpc/rpc/auth.h: Likewise.
20459 * sunrpc/rpc/auth_des.h: Likewise.
20460 * sunrpc/rpc/clnt.h: Likewise.
20461 * sunrpc/rpc/netdb.h: Likewise.
20462 * sunrpc/rpc/pmap_clnt.h: Likewise.
20463 * sunrpc/rpc/xdr.h: Likewise.
20464 * sysdeps/generic/inttypes.h: Likewise.
20465 * sysdeps/generic/net/if.h: Likewise.
20466 * sysdeps/generic/sys/swap.h: Likewise.
20467 * sysdeps/gnu/net/if.h: Likewise.
20468 * sysdeps/gnu/utmpx.h: Likewise.
20469 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20470 * sysdeps/i386/i486/bits/string.h: Likewise.
20471 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20472 * sysdeps/s390/bits/string.h: Likewise.
20473 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20474 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20475 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20476 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20477 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20478 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20479 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20480 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20481 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20482 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20483 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20484 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20485 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20486 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20487 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20488 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20489 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20490 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20491 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20492 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20493 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20494 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20495 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20496 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20497 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20498 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20499 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20500 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20501 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20502 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20503 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20504 * sysvipc/sys/ipc.h: Likewise.
20505 * sysvipc/sys/msg.h: Likewise.
20506 * sysvipc/sys/sem.h: Likewise.
20507 * sysvipc/sys/shm.h: Likewise.
20508 * termios/termios.h: Likewise.
20509 * time/sys/time.h: Likewise.
20510 * time/time.h: Likewise.
20511 * wcsmbs/bits/wchar2.h: Likewise.
20512 * wcsmbs/uchar.h: Likewise.
20513 * wcsmbs/wchar.h: Likewise.
20514 * wctype/wctype.h: Likewise.
20515
0269750c
UD
20516 [BZ #13551]
20517 * Makeconfig: Remove all but ELF support including AIX support.
20518 * Makerules: Likewise.
20519 * config.h.in: Likewise.
20520 * config.make.in: Likewise.
20521 * configure: Likewise.
20522 * configure.in: Likewise.
20523 * csu/Makefile: Likewise.
20524 * csu/version.c: Likewise.
20525 * debug/Makefile: Likewise.
20526 * dlfcn/Makefile: Likewise.
20527 * elf/Makefile: Likewise.
20528 * extra-lib.mk: Likewise.
20529 * iconv/Makefile: Likewise.
20530 * include/libc-symbols.h: Likewise.
20531 * include/shlib-compat.h: Likewise.
20532 * resolv/Makefile: Likewise.
20533 * resolv/res_libc.c: Likewise.
20534 * rt/Makefile: Likewise.
20535 * sysdeps/i386/asm-syntax.h: Likewise.
20536 * sysdeps/i386/sysdep.h: Likewise.
20537 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20538 * sysdeps/mach/sysdep.h: Likewise.
20539 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20540 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20541 * sysdeps/s390/asm-syntax.h: Likewise.
20542 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20543 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20544 * sysdeps/sh/sysdep.h: Likewise.
20545 * sysdeps/unix/sparc/sysdep.h: Likewise.
20546 * sysdeps/wordsize-32/divdi3.c: Likewise.
20547 * sysdeps/x86_64/sysdep.h: Likewise.
20548
00bbd29b
UD
20549 * argp/Versions: Remove _argp_unlock_xxx.
20550
20551 [BZ #13559]
20552 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20553 * abilist/libBrokenLocale.abilist: Likewise.
20554 * abilist/libanl.abilist: Likewise.
20555 * abilist/libc.abilist: Likewise.
20556 * abilist/libcrypt.abilist: Likewise.
20557 * abilist/libdl.abilist: Likewise.
20558 * abilist/libm.abilist: Likewise.
20559 * abilist/libnsl.abilist: Likewise.
20560 * abilist/libpthread.abilist: Likewise.
20561 * abilist/libresolv.abilist: Likewise.
20562 * abilist/librt.abilist: Likewise.
20563 * abilist/libthread_db.abilist: Likewise.
20564 * abilist/libutil.abilist: Likewise.
20565 * abilist/libnss_db.abilist: New file.
20566
20567 * scripts/abilist.awk: Add support for indirect functions.
20568
a2693a0e
UD
20569 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20570
3f05895f
UD
20571 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20572
ecb6fb48
UD
20573 * shlib-versions: Remove entries for ports architectures.
20574
664f8cb9
UD
20575 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20576 files in ports.
20577 * elf/stackguard-macros.h: Remove support for IA-64.
20578 * elf/tst-auditmod1.c: Likewise.
20579 * sysdeps/generic/ldsodefs.h: Likewise.
20580
7ae81d88
UD
20581 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20582 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20583 configure files.
20584
bdeba135
UD
20585 [BZ #13552]
20586 * configure.in: Remove --enable-omitfp support.
20587 * FAQ.in: Adjust.
20588 * config.make.in: Likewise.
20589 * Makeconfig: Likewise.
20590 * manual/install.texi: Likewise.
20591
d75a0a62
UD
20592 In case anyone cares, the IA-64 architecture could move to ports.
20593 * sysdeps/ia64/*: Removed.
20594 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 20595 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 20596
dcc9756b
UD
20597 [BZ #13555]
20598 * configure.in: Remove entries for unsupported architectures.
20599
d3761ebc 20600 [BZ #13533]
9954432e
UD
20601 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20602 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20603 routines.
20604 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20605 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20606 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20607 fall back to using wcrtomb.
20608 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20609 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20610 renaming.
20611 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20612 * wcsmbs/tst-c16c32-1.c: New file.
20613
20614 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20615 local variable.
20616
c3a87236
UD
20617 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20618
28926a1b
UD
20619 * elf/tst-unique3.cc: Add explicit declaration of gets.
20620 * elf/tst-unique3lib.cc: Likewise.
20621 * elf/tst-unique3lib2.cc: Likewise.
20622 * elf/tst-unique4.cc: Likewise.
20623
df78418a
UD
20624 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20625
8ecd6b2a
JM
206262012-01-06 Joseph Myers <joseph@codesourcery.com>
20627
20628 [BZ #13566]
20629 * assert/assert.h (static_assert): Don't define for C++.
20630 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20631 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20632
9f115170
UD
206332012-01-03 Ulrich Drepper <drepper@gmail.com>
20634
5e0d0300
UD
20635 * iconv/loop.c (single loop): Fix assertion in storing of
20636 remaining bytes.
20637
9f115170
UD
20638 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20639
81fb02b0
UD
206402012-01-01 Ulrich Drepper <drepper@gmail.com>
20641
20642 * posix/getconf.c: Update copyright year.
20643 * nss/getent.c: Likewise.
a316c1f6 20644 * nss/makedb.c: Likewise.
81fb02b0
UD
20645 * iconv/iconvconfig.c: Likewise.
20646 * iconv/iconv_prog.c: Likewise.
20647 * elf/ldconfig.c: Likewise.
a316c1f6
UD
20648 * elf/pldd.c: Likewise.
20649 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
20650 * catgets/gencat.c: Likewise.
20651 * csu/version.c: Likewise.
20652 * elf/ldd.bash.in: Likewise.
20653 * elf/sprof.c (print_version): Likewise.
20654 * locale/programs/locale.c: Likewise.
20655 * locale/programs/localedef.c: Likewise.
a316c1f6 20656 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
20657 * nscd/nscd.c (print_version): Likewise.
20658 * debug/xtrace.sh: Likewise.
20659 * malloc/memusage.sh: Likewise.
20660 * malloc/mtrace.pl: Likewise.
20661 * debug/catchsegv.sh: Likewise.
20662
2ba92745
JJ
206632011-12-30 Jakub Jelinek <jakub@redhat.com>
20664
20665 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20666 pure attribute.
20667
dadebdae
UD
206682011-12-24 Ulrich Drepper <drepper@gmail.com>
20669
d3761ebc 20670 [BZ #13533]
db6af3eb
UD
20671 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20672 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20673 transformations.
20674 * iconv/gconv_int.h: Likewise.
20675 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20676 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20677 from libc for GLIBC_2.16.
20678 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20679 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20680 * wcsmbs/uchar.h: Really define mbstate_t.
20681 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20682 * wcsmbs/c16rtomb.c: New file.
20683 * wcsmbs/mbrtoc16.c: New file.
20684 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20685 for C/POSIX locale.
20686 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20687 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20688
dadebdae
UD
20689 * wcsmbs/wchar.h: Add missing __restrict.
20690
67371b56
UD
206912011-12-23 Ulrich Drepper <drepper@gmail.com>
20692
74033a25
UD
20693 [BZ #13532]
20694 * time/Makefile (routines): Add timespec_get.
20695 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20696 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20697 timespec for ISO C11.
20698 * time/timespec_get.c: New file.
20699 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20700 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20701
380d7e87
UD
20702 [BZ #13531]
20703 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20704 * stdlib/stdlib.h: Declare aligned_alloc.
20705 * Versions.def: Add GLIBC_2.16 for libc.
20706 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20707
4e9e7a35
UD
20708 [BZ 13527]
20709 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20710 ISO C11.
20711
380d7e87 20712 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
20713 code.
20714
03a71829
UD
20715 [BZ #13528]
20716 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20717
839e283e
UD
20718 [BZ #13529]
20719 * assert/assert.h (static_assert): Define.
20720
ce5294e2 20721 * version.h: Update for 2.16 development version.
90fa7312 20722
8d44e150 20723 [BZ #13526]
d7809905
UD
20724 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20725 _ISOC11_SOURCE.
20726
c0da14cd
UD
20727 * version.h (RELEASE): Bump for 2.15 release.
20728 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20729
530a3249
MP
20730 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20731 Patch by Marek Polacek <mpolacek@redhat.com>.
20732
67371b56
UD
20733 * bits/byteswap.h: Protect long long constants with __extension__.
20734 * sysdeps/i386/bits/byteswap.h: Likewise.
20735 * sysdeps/ia64/bits/byteswap.h: Likewise.
20736 * sysdeps/s390/bits/byteswap.h: Likewise.
20737 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20738
15db4de1
LD
207392011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20740
20741 [BZ #13540]
bbe315ea
LD
20742 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20743 destination buffer.
15db4de1
LD
20744 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20745
2b2596b1
MP
207462011-12-23 Marek Polacek <polacek@redhat.com>
20747
20748 * elf/dl-addr.c (determine_info): Add inline keyword.
20749 * elf/tst-auditmod4b.c (check_avx): Likewise.
20750 * elf/tst-auditmod6b.c (check_avx): Likewise.
20751 * elf/tst-auditmod6c.c (check_avx): Likewise.
20752 * elf/tst-auditmod7b.c (check_avx): Likewise.
20753
70c6c246
UD
207542011-12-23 Ulrich Drepper <drepper@gmail.com>
20755
20756 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20757 !__SSE_MATH__.
20758
c044cf14
LD
207592011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20760
15db4de1 20761 [BZ #13540]
c044cf14
LD
20762 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20763 processing for last bytes.
20764
6b13d9d9
BH
207652011-08-06 Bruno Haible <bruno@clisp.org>
20766
d455f537
BH
20767 [BZ #13061]
20768 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20769 U+0385, not to U+1FEE.
20770
6b13d9d9
BH
20771 [BZ #13062]
20772 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20773 entry for U+00A5 U+0301.
20774
db910efd
UD
207752011-12-22 Ulrich Drepper <drepper@gmail.com>
20776
27deeafc
UD
20777 [BZ #13166]
20778 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20779 buffer for the output is too small.
20780
aed9d171
UD
20781 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20782 optimization.
20783
db910efd
UD
20784 [BZ #13185]
20785 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20786 SSE flags if possible.
20787
2bd779ae
LD
207882011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20789
e7f9dac3 20790 [BZ #13540]
2bd779ae
LD
20791 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20792 processing for last bytes.
20793
154bfc16
JM
207942011-12-22 Joseph Myers <joseph@codesourcery.com>
20795
20796 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20797 (syscall-list-default-options, syscall-list-default-condition)
20798 (syscall-list-includes): Define.
20799 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20800 list of ABIs and options and #if conditions for each ABI. Do not
20801 handle common syscalls between ABIs specially.
20802 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20803 Remove.
20804 (syscall-list-variants, syscall-list-32bit-options)
20805 (syscall-list-32bit-condition, syscall-list-64bit-options)
20806 (syscall-list-64bit-condition): Define.
20807 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20808 (syscall-list-variants, syscall-list-32bit-options)
20809 (syscall-list-32bit-condition, syscall-list-64bit-options)
20810 (syscall-list-64bit-condition): Define.
20811 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20812 Remove.
20813 (syscall-list-variants, syscall-list-32bit-options)
20814 (syscall-list-32bit-condition, syscall-list-64bit-options)
20815 (syscall-list-64bit-condition): Define.
20816 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20817 Remove.
20818 (syscall-list-variants, syscall-list-32bit-options)
20819 (syscall-list-32bit-condition, syscall-list-64bit-options)
20820 (syscall-list-64bit-condition): Define.
20821
21eaf3a5
UD
208222011-12-22 Ulrich Drepper <drepper@gmail.com>
20823
16c6f992
UD
20824 * locale/iso-639.def: Add brx entry.
20825
41043168
UD
20826 [BZ #13328]
20827 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20828 Proposed by Mariusz_Cukr <marcukr@op.pl>.
20829
21eaf3a5
UD
20830 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20831 __feraiseexcept_renamed.
20832
e3a851a2
UD
208332011-12-21 Ulrich Drepper <drepper@gmail.com>
20834
4920765e
UD
20835 [BZ #13538]
20836 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20837 EPOLLET with unsigned values.
20838 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20839 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20840
e3a851a2
UD
20841 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20842 to large cancellation.
20843 * math/s_cacoshf.c: Likewise.
20844 * math/s_cacoshl.c: Likewise.
20845
b27e24b8
RK
208462011-11-18 Richard B. Kreckel <kreckel@ginac.de>
20847
20848 [BZ #13305]
aebefeee 20849 [BZ #12786]
b27e24b8
RK
20850 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20851 * math/s_cacoshf.c: Likewise.
20852 * math/s_cacoshl.c: Likewise.
20853
ee190f67
UD
208542011-12-21 Ulrich Drepper <drepper@gmail.com>
20855
20856 [BZ #13439]
20857 * iconv/gconv.h: Define __GCONV_SWAP.
20858 * iconvdata/unicode.c: The swap bit must be stored in __flags.
20859 * iconvdata/utf-16.c: Likewise.
20860 * iconvdata/utf-32.c: Likewise.
20861
707f25df
AS
208622011-12-21 Andreas Schwab <schwab@linux-m68k.org>
20863
20864 [BZ #13524]
20865 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20866 numerator after shifting it by one limb.
20867
d2daaa1e
RÁE
208682011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
20869
20870 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20871 under [__USE_EXTERN_INLINES].
20872
a4647e72
UD
208732011-12-17 Ulrich Drepper <drepper@gmail.com>
20874
20875 [BZ #13446]
20876 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20877
f0b264f1
AZ
208782011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20879
20880 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20881 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20882 optimized code.
20883 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20884 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20885 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20886 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20887 for strncasecmp/strncasecmp_l compilation.
20888 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20889 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20890
8ef4f244
MP
208912011-12-08 Marek Polacek <mpolacek@redhat.com>
20892
20893 [BZ #13484]
20894 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20895 of __asm__.
20896
97ac2654
UD
208972011-12-17 Ulrich Drepper <drepper@gmail.com>
20898
20899 [BZ #13506]
20900 * time/tzfile.c (__tzfile_read): Check values from file header.
20901
91d2a845
WS
209022011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20903
20904 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20905 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20906 * powerpc/powerpc32/dl-start.S: Likewise.
20907 * powerpc/powerpc32/elf/start.S: Likewise.
20908 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20909 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20910 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20911 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20912 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20913 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20914 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20915 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20916 * powerpc/powerpc32/fpu/s_round.S: Likewise.
20917 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20918 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20919 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20920 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20921 * powerpc/powerpc32/memset.S: Likewise.
20922 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20923 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20924 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20925 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20926 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20927 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20928 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20929 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20930 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20931 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20932 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20933 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20934 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20935
a1267ba1
AZ
209362011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20937
20938 * math/libm-test.inc: Added more nearbyint tests.
20939 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20940 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20941 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20942 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20943
ad8ac1bd
RL
209442011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
20945
20946 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
20947 FD_CLOEXEC.
20948
1d3e4b61
UD
209492011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20950
20951 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
20952 Add wcscpy-ssse3 wcscpy-c.
20953 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
20954 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
20955 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
20956 * sysdeps/x86_64/wcschr.S: New file.
20957 * sysdeps/x86_64/wcsrchr.S: New file.
20958 * string/test-strcmp.c: Remove checking of wcscmp function for
20959 wrong alignments.
20960 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
20961 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
20962 wcsrchr-sse2 wcsrchr-c.
20963 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
20964 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
20965 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
20966 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
20967 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
20968 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
20969 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
20970 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
20971 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
20972 * wcsmbc/wcschr.c (WCSCHR): New macro.
20973
5b330a2d
UD
209742011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20975
20976 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
20977 * wcsmbs/test-wcsrchr.c: New file.
20978 * string/test-strrchr.c: Add wcsrchr support.
20979 (WIDE): New macro.
20980 * wcsmbs/test-wcscpy.c: New file.
20981 * string/test-strcpy.c: Add wcscpy support.
20982 (WIDE): New macro.
26428b7c 20983
f039c043
UD
209842011-12-10 Ulrich Drepper <drepper@gmail.com>
20985
20986 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
20987 the inner loop.
20988
850fb039
AS
209892011-12-06 Andreas Schwab <schwab@linux-m68k.org>
20990
20991 [BZ #13472]
20992 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
20993
4efbd5cb
UD
209942011-12-04 Ulrich Drepper <drepper@gmail.com>
20995
52ff5dd0 20996 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 20997 Minor optimizations.
52ff5dd0 20998
4efbd5cb
UD
20999 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21000 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21001 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21002
8a426e12
UD
210032011-12-03 Ulrich Drepper <drepper@gmail.com>
21004
aff2453d
UD
21005 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21006 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21007 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21008 for gcc to avoid warnings.
21009 * inet/Makefile (tests): Add tst-checks.
21010 * inet/tst-checks.c: New file.
21011
21012 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21013 warning.
21014
21015 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21016 __wmemcmp_sse2.
21017
21018 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21019 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21020
8a426e12
UD
21021 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21022
9bea3473
UD
210232011-12-02 Ulrich Drepper <drepper@gmail.com>
21024
3a965496
UD
21025 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21026 problem.
21027
9bea3473
UD
21028 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21029
f101631b
UD
210302011-11-29 Joseph Myers <joseph@codesourcery.com>
21031
21032 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21033 conditional on GCC version.
21034 (__arch_compare_and_exchange_val_8_acq)
21035 (__arch_compare_and_exchange_val_16_acq)
21036 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21037 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21038 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21039
a98275aa
UD
210402011-12-02 Joseph Myers <joseph@codesourcery.com>
21041
21042 * sysdeps/sh/backtrace.c: New file.
21043
d4cc29a2
AS
210442011-12-02 Andreas Schwab <schwab@redhat.com>
21045
21046 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21047 parenthesis.
21048
6257af2d
AS
210492011-12-01 Andreas Schwab <schwab@redhat.com>
21050
21051 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21052 falling back to utime.
21053
b5f44c1a
AS
210542011-11-30 Andreas Schwab <schwab@redhat.com>
21055
21056 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21057 expectations for float.
21058
f3a6cc0a
AS
210592011-11-29 Andreas Schwab <schwab@redhat.com>
21060
21061 * locale/weight.h (findidx): Add parameter len.
21062 * locale/weightwc.h (findidx): Likewise.
21063 * posix/fnmatch_loop.c (FCT): Adjust caller.
21064 * posix/regcomp.c (build_equiv_class): Likewise.
21065 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21066 * posix/regexec.c (check_node_accept_bytes): Likewise.
21067 * string/strcoll_l.c (STRCOLL): Likewise.
21068 * string/strxfrm_l.c (STRXFRM): Likewise.
21069
9d65ea3a
UD
210702011-11-17 Ulrich Drepper <drepper@gmail.com>
21071
21072 * Makefile.in: Remove CVSOPT handling.
21073 * configure.in: Remove use of AC_REVISION.
21074 * iconvdata/Makefile (distribute): No need to filter out CVS.
21075 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21076 handling.
21077
5583a086
AS
210782011-11-16 Andreas Schwab <schwab@redhat.com>
21079
21080 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21081 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21082 [USE_AS_STRNCASECMP_L]: Likewise.
21083 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21084 NO_TLS_DIRECT_SEG_REFS.
21085 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21086 Fix argument offsets for non-PIC.
21087 [USE_AS_STRNCASECMP_L]: Likewise.
21088 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21089 NO_TLS_DIRECT_SEG_REFS.
21090
d62a8200
UD
210912011-11-15 Ulrich Drepper <drepper@gmail.com>
21092
9d65ea3a 21093 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
21094 O_CLOEXEC.
21095 * locale/loadlocale.c (_nl_load_locale): Likewise.
21096
09f93bd3
AS
210972011-11-15 Andreas Schwab <schwab@redhat.com>
21098
446514f9
AS
21099 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21100 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21101 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21102 (SYSCALL_GETTIME): Set errno on error.
21103
09f93bd3
AS
21104 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21105 count references to noai6ai_cached.
21106
312be3f9
UD
211072011-11-15 Ulrich Drepper <drepper@gmail.com>
21108
21109 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21110
21111 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21112 FD_CLOEXEC for /proc/self/maps.
21113
21114 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21115 FD_CLOEXEC for /proc/meminfo.
21116
21117 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21118 gai.conf.
21119
21120 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21121 FD_CLOEXEC for given file.
21122
21123 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21124
21125 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21126 FD_CLOEXEC for /etc/hosts.
21127 (_gethtent): Likewise.
21128
21129 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21130
21131 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21132 cancellation and set FD_CLOEXEC for /etc/netgroup.
21133
21134 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21135 reading /etc/publickey.
21136
21137 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21138 allow cancellation when reading /etc/group.
21139
21140 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21141 cancellation.
21142 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21143
21144 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21145 when using data file.
21146
21147 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21148
21149 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21150 (write_nis_obj): Use "c" and "e" in fopen.
21151
21152 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21153
21154 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21155
21156 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21157
21158 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21159
21160 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21161 locale.alias.
21162
21163 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21164
21165 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21166
21167 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21168
21169 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21170 file parsing and set FD_CLOEXEC.
21171
82af0fa8
UD
211722011-11-14 Ulrich Drepper <drepper@gmail.com>
21173
21174 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21175
a5fb313c
AS
211762011-11-14 Andreas Schwab <schwab@redhat.com>
21177
21178 * malloc/arena.c (arena_get2): Don't call reused_arena when
21179 _int_new_arena failed.
21180
6abf3465
UD
211812011-11-14 Ulrich Drepper <drepper@gmail.com>
21182
21183 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21184 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21185 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21186 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21187 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21188 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21189 to compile strcasecmp and strncasecmp.
21190 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21191 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21192
21193 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21194
76e3966e
UD
211952011-11-13 Ulrich Drepper <drepper@gmail.com>
21196
21197 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21198 locale-defines.sym to gen-as-const-headers.
21199 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21200 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21201 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21202 to compile strcasecmp and strncasecmp.
21203 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21204 strcasecmp_l and strncasecmp_l.
21205 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21206 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21207 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21208 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21209 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21210 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21211 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21212 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21213 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21214 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21215 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21216
ab26144e
UD
212172011-11-12 Ulrich Drepper <drepper@gmail.com>
21218
7edb22ef
UD
21219 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21220 result of SYSDEP_GETTIME_CPU to retval.
21221 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21222 parameter list to macro. Remove trailing semicolon. Adjust users.
21223
9694fc44
UD
21224 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21225 variable.
21226
8ad89ef8
UD
21227 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21228 mantissa words.
21229 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21230
0c822ef9
UD
21231 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21232 from unused variable.
21233
874e0564
UD
21234 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21235 DWARF definitions.
21236 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21237 for assembling.
21238
3a2edc79
UD
21239 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21240 over namespaces.
21241
f3c2577f
UD
21242 * sunrpc/rpc_prot.c (rejected): Fix case value.
21243
294ce126
UD
21244 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21245 unsigned long long int to avoid warnings in shift.
21246
5e2b63c6
UD
21247 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21248 of use of trans.
21249 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21250 variable tmp.
21251
e7f4b08e
UD
21252 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21253 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21254 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21255
ab26144e
UD
21256 * nis/nis_table.c (nis_list): Use variable of correct type for
21257 result of __follow_path call.
21258
8a6d5255
AZ
212592011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21260
21261 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21262 of math functions ceil, trunc, floor, round, and sqrt, when
21263 avaliable on the platform.
21264 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21265 name clash.
21266 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21267 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21268 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21269
aaddc98c
MP
212702011-10-30 Marek Polacek <mpolacek@redhat.com>
21271
21272 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21273 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21274
95b7042b
RM
212752011-11-11 Roland McGrath <roland@hack.frob.com>
21276
21277 * include/unistd.h: Fix __readlink return type.
21278 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21279
57769839
UD
212802011-11-11 Ulrich Drepper <drepper@gmail.com>
21281
21282 * stdlib/ucontext.h: Undo last change for makecontext.
21283
edc5984d
AS
212842011-11-11 Andreas Schwab <schwab@redhat.com>
21285
98591e58
AS
21286 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21287
edc5984d
AS
21288 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21289 * setjmp/setjmp.h: Mark functions as non-leaf.
21290 * setjmp/bits/setjmp2.h: Likewise.
21291 * stdlib/ucontext.h: Likewise.
21292
77cdc054
AS
212932011-11-10 Andreas Schwab <schwab@redhat.com>
21294
21295 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21296 (reused_arena): Don't check arena limit.
21297 (arena_get2): Atomically check arena limit.
21298
fe72eebd
UD
212992011-11-08 Ulrich Drepper <drepper@gmail.com>
21300
5f078c32
UD
21301 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21302 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21303
fe72eebd
UD
21304 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21305 instructions.
21306
ae1bc2fa
AS
213072011-11-07 Andreas Schwab <schwab@redhat.com>
21308
7583a88d
AS
21309 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21310 handler when locking.
21311
ae1bc2fa
AS
21312 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21313 Fix size of allocated buffer.
21314
10fb0bfa
AS
213152011-11-04 Andreas Schwab <schwab@redhat.com>
21316
998832a4
AS
21317 [BZ #10103]
21318 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21319 declarations for long double functions.
21320 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21321
10fb0bfa
AS
21322 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21323
3d7ba52b
AS
213242011-11-03 Andreas Schwab <schwab@redhat.com>
21325
a9ae54a1
AS
21326 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21327 installed.
21328
3d7ba52b
AS
21329 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21330 is disabled.
21331
bc8db248
ST
213322011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21333
21334 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21335
45b96dd6
AS
213362011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21337
647776f6
AS
21338 * include/alloca.h (stackinfo_alloca_round): Define.
21339 (extend_alloca): Use it.
21340 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21341 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21342 here.
21343
d91a8b93
AS
21344 * scripts/check-local-headers.sh: Ignore libaudit.h.
21345
45b96dd6
AS
21346 * nscd/Makefile (extra-objs): Make recursively expanded.
21347
432d41ce
UD
213482011-11-01 Ulrich Drepper <drepper@gmail.com>
21349
34372fc6
UD
21350 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21351 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21352
fadb59f8
UD
21353 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21354 * posix/tst-rfc3484-2.c: Likewise.
21355 * posix/tst-rfc3484-3.c: Likewise.
21356
78239589
UD
21357 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21358 process_vm_writev.
21359 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21360 process_vm_writev.
21361 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21362 process_vm_writev from libc using GLIBC_2.15 version.
21363
432d41ce
UD
21364 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21365
02f9c6cf
PP
213662011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21367
21368 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21369 stack usage.
21370
3a2c0242
UD
213712011-10-31 Ulrich Drepper <drepper@gmail.com>
21372
f4ec4833
UD
21373 [BZ #13367]
21374 * nss/getent.c (initgroups_keys): Show error message in case no group
21375 names are given.
21376
3a2c0242
UD
21377 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21378 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21379 __bump_nl_timestamp.
21380 * nscd/connections (nscd_init): When host database is served open
21381 netlink socket and request notification about configuration changes.
21382 (main_loop_poll): Track netlink file descriptor and bump timestamp
21383 in case data becomes available.
21384 (main_loop_epoll): Likewise.
21385 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21386 (database_pers_head): Add extra_data fileds.
21387 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21388 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21389 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21390 Adjust caller.
21391 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21392 in6ai data, call __free_in6ai.
21393 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21394 Add -DHAVE_NETLINK.
21395 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21396 interface information. Reuse previous data if netlink timestamp
21397 is not changed.
21398 (__bump_nl_timestamp): New function.
21399 (__free_in6ai): New function.
21400
636064eb
UD
214012011-10-30 Ulrich Drepper <drepper@gmail.com>
21402
21403 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21404 close_not_cancel_no_status here.
21405 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21406
9beb2334
UD
214072011-10-29 Ulrich Drepper <drepper@gmail.com>
21408
6ef76f3b
UD
21409 [BZ #13276]
21410 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21411 return value.
21412
0ffc4f3e 21413 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
21414 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21415 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21416
cb95113e
UD
214172011-07-03 Andreas Jaeger <aj@suse.de>
21418
21419 [BZ #10709]
21420 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21421 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21422 * math/libm-test.inc (sin_test): Add test case.
21423
a1b560ff
UD
214242011-10-29 Ulrich Drepper <drepper@gmail.com>
21425
c9aaface
UD
21426 [BZ #13337]
21427 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21428 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21429
d272e7f1
UD
21430 * elf/chroot_canon.c (chroot_canon): Cleanups.
21431
1bc33071
UD
21432 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21433
1760874d
TJ
21434 [BZ #13335]
21435 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21436 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21437
51d91b18
UD
21438 * string/test-strchr.c: Make usable for strchrnul testing.
21439 * string/test-strchrnul.c: New file.
21440 * string/Makefile (strop-tests): Add strchrnul.
21441
a1b560ff 21442 * po/it.po: Update from translation team.
b611fb81 21443 * po/es.po: Likewise.
a1b560ff 21444
a5b81e1f
UD
214452011-10-28 Ulrich Drepper <drepper@gmail.com>
21446
fd52bc6d
UD
21447 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21448 the three constants needed as parameters. Drop the others.
21449 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21450 __m128i_strloadu_tolower.
52e4b9eb
UD
21451 Create and initialize variable zero and use it in all the places
21452 where _mm_setzero_si128 was used.
fd52bc6d 21453
a5b81e1f
UD
21454 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21455 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21456 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21457 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21458 anymore.
21459 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21460 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21461 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21462 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21463 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21464 __mpranred, __mptan.
21465 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21466 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21467 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21468 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21469 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21470 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21471 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21472 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21473 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21474
b4343346
AS
214752011-10-28 Andreas Schwab <schwab@redhat.com>
21476
0c92d8a8
AS
21477 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21478 redefine if SHARED.
21479 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21480
b4343346
AS
21481 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21482 wide char related routines to wcsmbs subdir.
21483
3871f58f
AS
214842011-10-27 Andreas Schwab <schwab@redhat.com>
21485
21486 [BZ #13344]
21487 * misc/sys/cdefs.h (__THROWNL): Define.
21488 * posix/unistd.h: Use __THREADNL instead of __THREAD
21489 for memory synchronization functions.
21490
94d44d9f
RM
214912011-10-26 Roland McGrath <roland@hack.frob.com>
21492
21b64b15 21493 [BZ #13349]
94d44d9f
RM
21494 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21495 doesn't exist.
21496 * manual/stdio.texi (Obstack Streams): Node removed.
21497
f6ce9294
AS
214982011-10-26 Andreas Schwab <schwab@redhat.com>
21499
80479147
AS
21500 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21501 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21502 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21503
f6ce9294
AS
21504 * math/math_private.h (math_force_eval): Allow non-addressable
21505 arguments.
21506 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21507
618280a1
UD
215082011-10-25 Ulrich Drepper <drepper@gmail.com>
21509
e0016b11
UD
21510 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21511 file is not needed.
21512
21513 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21514 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21515 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21516 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21517 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21518 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21519 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21520 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21521 Add AVX variants.
21522 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21523 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21524 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21525 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21526 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21527 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21528 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21529 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21530 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21531 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21532 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21533 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21534 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21535 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21536 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21537 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21538 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21539 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21540 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21541
21542 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21543 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21544
618280a1
UD
21545 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21546 place. Use VEX encoding when compiling for AVX.
21547
37822576
AS
215482011-10-25 Andreas Schwab <schwab@redhat.com>
21549
1f1e1947
AS
21550 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21551 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21552
37822576
AS
21553 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21554
31ea014d
UD
215552011-10-25 Ulrich Drepper <drepper@gmail.com>
21556
d7826aa1 21557 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 21558 useless if() expression.
d7826aa1
UD
21559 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21560 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21561 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21562 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21563 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21564 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21565 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21566 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21567 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21568 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21569 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21570 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21571 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21572 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21573 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21574 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21575 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21576 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21577 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21578
31ea014d
UD
21579 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21580
16437fec
AS
215812011-10-25 Andreas Schwab <schwab@redhat.com>
21582
21583 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21584 condition.
21585 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21586
31d3cc00
UD
215872011-10-25 Ulrich Drepper <drepper@gmail.com>
21588
21589 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21590 .text section. Avoid duplicate constants.
21591 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21592 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21593 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21594 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21595 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21596 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21597 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21598 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21599 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21600 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21601 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21602 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21603 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21604 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21605 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21606 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21607 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21608 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21609 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21610 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21611 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21612 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21613 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21614 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21615 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21616 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21617 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21618 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21619 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21620 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21621 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21622 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21623 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21624 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21625 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21626 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21627 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21628 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21629 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21630 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21631 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21632 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21633 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21634 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21635 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21636
58985aa9
UD
216372011-10-24 Ulrich Drepper <drepper@gmail.com>
21638
202c9deb
UD
21639 * sysdeps/x86_64/dla.h: Move to ...
21640 * sysdeps/x86_64/fpu/dla.h: ...here.
21641 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21642 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 21643
af968f62
UD
21644 * config.make.in: Add have-mfma4 entry.
21645 * configure.in: Substitute libc_cv_cc_fma4.
21646 * math/Makefile (dbl-only-routines): Add sincostab.
21647 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21648 Use __sincostab not sincos.
21649 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21650 name is a macro.
21651 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21652 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21653 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21654 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21655 using __copysign.
21656 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21657 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21658 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21659 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21660 and __inv.
21661 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21662 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21663 __copysign.
21664 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21665 define aliases when function name is a macro.
21666 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21667 sysdeps/ieee754/dbl-64/sincos.tbl.
21668 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21669 fma4-enabled routines.
21670 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21671 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21672 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21673 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21674 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21675 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21676 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21677 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21678 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21679 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21680 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21681 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21682 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21683 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21684 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21685 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21686 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21687 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21688 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21689 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21690 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21691 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21692 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21693 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21694 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21695 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21696 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21697 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21698 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21699 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21700
58985aa9
UD
21701 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21702 rename.
21703 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21704 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21705 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21706 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21707 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21708 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21709 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21710 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21711
a201fbcf
AS
217122011-10-24 Andreas Schwab <schwab@redhat.com>
21713
21714 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21715
fc2ee42a
LD
217162011-10-23 Ulrich Drepper <drepper@gmail.com>
21717
bb3129bd
UD
21718 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21719
0275fff8
UD
21720 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21721 prediction.
21722 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21723
2fa2ae85
UD
21724 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21725 Remove unused variable magic_bits.
21726 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21727
fc2ee42a
LD
21728 * string/strnlen.c: Define and use STRNLEN macro.
21729 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21730 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21731 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21732 * wcsmbs/wcslen.c: Define and use WCSLEN.
21733 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21734 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21735 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21736 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21737 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21738 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21739 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21740
ce7dd29f
LD
217412011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21742
21743 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21744 strnlen-sse2-no-bsf.
21745 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21746 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21747 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21748 Add strnlen support.
21749 (USE_AS_STRNLEN): New macro.
21750 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21751 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21752 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21753 * sysdeps/x86_64/wcslen.S: New file.
21754
979c70a3
MZ
217552011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21756
21757 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21758 XMM-moves are used for copying on small sizes.
21759
2d09f82f
LD
217602011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21761
21762 * wcsmbs/Makefile (strop-tests): Add wcschr.
21763 * wcsmbs/test-wcschr.c: New file.
21764 * string/test-strchr.c: Update.
21765 Add wcschr support.
21766 (WIDE): New macro.
21767
619fccca
LD
217682011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21769
2d09f82f 21770 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
21771 * wcsmbs/test-wcslen.c: New file.
21772 * string/test-strlen.c: Update.
21773 Add wcslen support.
21774 (WIDE): New macro.
21775
09f699ea
UD
217762011-10-23 Ulrich Drepper <drepper@gmail.com>
21777
21778 * po/it.po: Update from translation team.
21779
95584d3b
LD
217802011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21781
21782 * sysdeps/x86_64/wcscmp.S: Update.
21783 Fix wrong comparison semantics.
21784 wcscmp shall use signed comparison not unsigned.
21785 Don't use substraction to avoid overflow bug.
21786 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21787 * wcsmbc/wcscmp.c: Likewise.
21788 * string/test-strcmp.c: Likewise.
21789 Add new tests to check cases with negative values.
21790
c8b3296b
UD
217912011-10-23 Ulrich Drepper <drepper@gmail.com>
21792
21793 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21794 * sysdeps/x86_64/dla.h: ...here. New file.
21795 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21796 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21797 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21798 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21799 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21800 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21801 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21802 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21803 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21804
246ad57a
AS
218052011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21806
21807 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21808 __ynl_finite aliases.
21809
a1a87169
UD
218102011-10-22 Ulrich Drepper <drepper@gmail.com>
21811
0d355eb7
UD
21812 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21813
a1a87169
UD
21814 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21815 define DLA_FMA.
21816 [DLA_FMA] (EMULV): Use DLA_FMA.
21817 [DLA_FMA] (MUL12): Use EMULV.
21818 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21819 that are not needed.
21820 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21821 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21822 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21823 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21824 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21825 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21826 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21827
ee2aafe0
AS
218282011-10-22 Andreas Schwab <schwab@linux-m68k.org>
21829
21830 * math/s_nan.c: Undef __nan.
21831 * math/s_nanf.c: Undef __nanf.
21832 * math/s_nanl.c: Undef __nanl.
21833 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21834 "math_private.h".
21835
bc62c2fb
UD
218362011-10-22 Ulrich Drepper <drepper@gmail.com>
21837
77425c63
UD
21838 * math/s_catan.c: Add branch predictions.
21839 * math/s_catanf.c: Likewise.
21840 * math/s_catanh.c: Likewise.
21841 * math/s_catanhf.c: Likewise.
21842 * math/s_catanhl.c: Likewise.
21843 * math/s_catanl.c: Likewise.
21844 * math/s_cexp.c: Likewise.
21845 * math/s_cexpf.c: Likewise.
21846 * math/s_cexpl.c: Likewise.
21847 * math/s_clog.c: Likewise.
21848 * math/s_clog10.c: Likewise.
21849 * math/s_clog10f.c: Likewise.
21850 * math/s_clog10l.c: Likewise.
21851 * math/s_clogf.c: Likewise.
21852 * math/s_clogl.c: Likewise.
21853 * math/s_csqrt.c: Likewise.
21854 * math/s_csqrtf.c: Likewise.
21855 * math/s_csqrtl.c: Likewise.
21856 * math/s_ctanf.c: Likewise.
21857 * math/s_ctanh.c: Likewise.
21858 * math/s_ctanhf.c: Likewise.
21859 * math/s_ctanhl.c: Likewise.
21860 * math/s_ctanl.c: Likewise.
21861
bc62c2fb
UD
21862 * math/math_private.h: Define __nan, __nanf, __nanl.
21863 * math/s_cacosh.c: Include <math_private.h>.
21864 * math/s_cacoshl.c: Likewise.
21865 * math/s_casinh.c: Likewise.
21866 * math/s_casinhf.c: Likewise.
21867 * math/s_casinhl.c: Likewise.
21868 * math/s_ccos.c: Rely entire on ccosh.
21869 * math/s_ccosf.c: Rely entire on ccoshf.
21870 * math/s_ccosl.c: Rely entirely on ccoshl.
21871 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
21872 Remove tests for FE_INVALID.
21873 * math/s_ccoshf.c: Likewise.
21874 * math/s_ccoshl.c: Likewise.
21875 * math/s_csin.c: Likewise.
21876 * math/s_csinf.c: Likewise.
21877 * math/s_csinh.c Likewise.
21878 * math/s_csinhf.c: Likewise.
21879 * math/s_csinhl.c: Likewise.
21880 * math/s_csinl.c: Likewise.
21881 * math/s_ctan.c: Likewise.
21882 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21883 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21884 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21885
8ec250a4
UD
218862011-10-21 Ulrich Drepper <drepper@gmail.com>
21887
c196fed8
UD
21888 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21889 compilation problems.
21890
8ec250a4
UD
21891 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21892 __builtin_expect.
21893
8d4f46c6
UD
218942011-10-20 Ulrich Drepper <drepper@gmail.com>
21895
ed72b654
UD
21896 * sysdeps/i386/configure.in: Test for -mfma4 option.
21897 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21898 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21899 COMMON_CPUID_INDEX_80000001.
21900 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21901 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21902 use it if FMA3 is not supported.
21903 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21904
8d4f46c6
UD
21905 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21906 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21907
d45c60c2
AS
219082011-10-20 Andreas Schwab <schwab@redhat.com>
21909
21910 [BZ #12892]
21911 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21912 it would create a cycle with a link time dependency.
21913
d9a4d2ab
UD
219142011-10-19 Ulrich Drepper <drepper@gmail.com>
21915
855d1560
UD
21916 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21917 instruction.
21918 * string/Makefile (strop-tests): Add rawmemchr.
21919 * string/test-rawmemchr.c: New file.
21920
d9a4d2ab
UD
21921 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21922 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
21923 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
21924 when compiling str{,n}casecmp and when AVX is available. Hook up
21925 new optimized code in initializers.
21926
8f3b1ffe
AS
219272011-10-19 Andreas Schwab <schwab@redhat.com>
21928
21929 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21930 __feraiseexcept instead of feraiseexcept.
21931
d38f1dba
UD
219322011-10-18 Ulrich Drepper <drepper@gmail.com>
21933
d9a8d0ab
UD
21934 * math/math_private.h: Define defaults for libc_fetestexcept and
21935 libc_feupdateenv.
21936 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21937 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21938 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21939 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21940 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21941 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21942 libc_fetestexcept and libc_feupdateenv.
21943
4855e3dd
UD
21944 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
21945 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
21946 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
21947 * sysdeps/x86_64/fpu/math_private.h: Define special version of
21948 libc_feholdexcept_setround.
21949
581d30e3
UD
21950 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
21951 Add s_nearbyint-c and s_nearbyintf-c.
21952 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
21953 nearbyintf inlines.
21954 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
21955 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
21956 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
21957 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
21958
d38f1dba
UD
21959 * math/math_private.h: Define defaults for libc_fegetround,
21960 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
21961 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
21962 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
21963 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
21964 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
21965 standard functions.
21966 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21967 Remove comments and hacks for old compiler versions.
21968 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21969 libc_fegetround, libc_fesetround, libc_feholdexcept, and
21970 libc_feholdexceptl.
21971
caa6c9d8
AS
219722011-10-18 Andreas Schwab <schwab@redhat.com>
21973
21974 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
21975 (__feraiseexcept_renamed): Add __NTH.
21976 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
21977 namespace violations.
21978
97c066e6
UD
219792011-10-17 Ulrich Drepper <drepper@gmail.com>
21980
99ce7b04
UD
21981 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
21982
1004d182
UD
21983 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
21984
228a984d
UD
21985 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
21986 recently added interfaces.
21987 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
21988
c8553a6a
UD
21989 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
21990 about macro parameter expansion.
21991
ed22dcf6
UD
21992 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
21993 __NO_MATH_INLINES is defined. Cleanups.
21994
21995 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
21996 and __floorf is target has SSE4.1.
21997 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
21998 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
21999 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22000 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22001
b171c137
UD
22002 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22003 name.
22004 (floorf): Likewise.
22005
97c066e6
UD
22006 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22007
629f62ef
AS
220082011-10-17 Andreas Schwab <schwab@redhat.com>
22009
49a43d80
AS
22010 * misc/sys/cdefs.h: Fix last change.
22011
629f62ef
AS
22012 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22013 database lookup.
22014
e453f6cd
UD
220152011-10-16 Ulrich Drepper <drepper@gmail.com>
22016
aa78043a
UD
22017 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22018
ad0f5cad
UD
22019 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22020 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22021 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22022 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22023 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22024 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22025 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22026 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22027 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22028 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22029 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22030 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22031 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22032 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22033 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22034 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22035 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22036 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22037 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22038 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22039 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22040 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22041
22042 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22043 ceil, ceilf, floor, floorf.
22044
22045 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22046 Perform IRELATIVE relocations last.
22047
e453f6cd
UD
22048 * elf/do-rel.h: Add another parameter nrelative, replacing the
22049 local variable with the same name. Change name of the function
22050 to end in Rel or Rela (uppercase).
22051 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22052 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22053 elf_dynamic_do_##reloc function.
22054
fd5bdc09
UD
220552011-10-15 Ulrich Drepper <drepper@gmail.com>
22056
79b195b5
UD
22057 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22058 is sufficient, at least on modern CPUs.
22059
d4a28569
UD
22060 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22061
b61099b5
UD
22062 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22063 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22064
bcf01e6d
UD
22065 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22066 __expl_finite.
22067 * math/bits/math-finite.h: Add entries for exp.
22068 * math/e_expl.c: Add __*_finite alias.
22069 * sysdeps/i386/fpu/e_exp.S: Likewise.
22070 * sysdeps/i386/fpu/e_expf.S: Likewise.
22071 * sysdeps/i386/fpu/e_expl.c: Likewise.
22072 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22073 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22074 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22075 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22076 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22077 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22078 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22079
ba1a0d59
UD
22080 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22081 is sufficient, at least on modern CPUs.
22082
fd5bdc09
UD
22083 * ctype/ctype-info.c (__ctype_init): Define.
22084 * include/ctype.h (__ctype_init): Declare.
22085 (__ctype_b_loc): The variable is always initialized.
22086 (__ctype_toupper_loc): Likewise.
22087 (__ctype_tolower_loc): Likewise.
22088 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22089 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22090
7872cfb0
AS
220912011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22092
b468825a
AS
22093 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22094
7872cfb0
AS
22095 * configure.in: Also look in $cxxmachine/include for C++ system
22096 headers.
22097
be13f7bf
LD
220982011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22099
22100 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22101 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22102 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22103 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22104 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22105 (USE_AS_WMEMCMP): New macro.
22106 Fixing indents.
22107 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22108 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22109 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22110 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22111 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22112 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22113 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22114 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22115 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22116 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22117 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22118 (USE_AS_WMEMCMP): New macro.
22119 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22120 * sysdeps/string/test-memcmp.c: Update.
22121 Fix simple_wmemcmp.
22122 Add new tests.
22123 * wcsmbs/wmemcmp.c: Update.
22124 (WMEMCMP): New macro.
22125 Fix overflow bug.
22126
556a2007
AJ
221272011-10-12 Andreas Jaeger <aj@suse.de>
22128
22129 [BZ #13268]
22130 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22131
538faaa7
UD
221322011-10-15 Ulrich Drepper <drepper@gmail.com>
22133
ab6737ff
UD
22134 * libio/iofwide.c (do_length): Avoid warning.
22135
538faaa7
UD
22136 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22137
396a21b1
UD
221382011-10-14 Ulrich Drepper <drepper@gmail.com>
22139
cdf2901f
UD
22140 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22141
38ad40ce
UD
22142 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22143 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22144 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22145 * sysdeps/i386/i686/fpu/e_log.S: New file.
22146 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22147 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22148
396a21b1
UD
22149 * ctype/ctype.h: Add support for inlined isXXX functions when
22150 compiling C++ code.
22151
6b1f68c9
AS
221522011-10-14 Andreas Schwab <schwab@redhat.com>
22153
349290c0
AS
22154 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22155
6b1f68c9
AS
22156 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22157
f2282d42
RM
221582011-10-13 Roland McGrath <roland@hack.frob.com>
22159
22160 [BZ #13291]
22161 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22162
5298ffa8
AS
221632011-10-13 Andreas Schwab <schwab@redhat.com>
22164
714fad23
AS
22165 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22166 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22167 feraiseexcept.
22168
81dcc7fb
AS
22169 * sysdeps/x86_64/memrchr.S: Check for zero size.
22170
5298ffa8
AS
22171 * string/stratcliff.c: Add memrchr tests.
22172
951fbcec
LD
221732011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22174
22175 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22176 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22177 rawmemchr-sse2 rawmemchr-sse2-bsf.
22178 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22179 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22180 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22181 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22182 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22183 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22184 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22185 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22186 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22187 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22188 * string/memrchr.c (MEMRCHR): New macro.
22189
0ac5ae23
UD
221902011-10-12 Ulrich Drepper <drepper@gmail.com>
22191
22192 Add integration with gcc's -ffinite-math-only and optimize wrapper
22193 functions in libm.
22194 * Versions.def: Define GLIBC_2.15 version for libm.
22195 * math/Makefile (headers): Add bits/math-finite.h.
22196 * math/bits/math-finite.h: New file.
22197 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22198 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22199 * math/e_acoshl.c: Add __*_finite alias.
22200 * math/e_acosl.c: Likewise.
22201 * math/e_asinl.c: Likewise.
22202 * math/e_atan2l.c: Likewise.
22203 * math/e_atanhl.c: Likewise.
22204 * math/e_coshl.c: Likewise.
22205 * math/e_exp10.c: Likewise.
22206 * math/e_exp10f.c: Likewise.
22207 * math/e_exp10l.c: Likewise.
22208 * math/e_exp2l.c: Likewise.
22209 * math/e_fmodl.c: Likewise.
22210 * math/e_gammal_r.c: Likewise.
22211 * math/e_hypotl.c: Likewise.
22212 * math/e_j0l.c: Likewise.
22213 * math/e_j1l.c: Likewise.
22214 * math/e_jnl.c: Likewise.
22215 * math/e_lgammal_r.c: Likewise.
22216 * math/e_log10l.c: Likewise.
22217 * math/e_log2l.c: Likewise.
22218 * math/e_logl.c: Likewise.
22219 * math/e_powl.c: Likewise.
22220 * math/e_sinhl.c: Likewise.
22221 * math/e_sqrtl.c: Likewise.
22222 * math/e_scalb.c: Completely rewritten and optimized.
22223 * math/e_scalbf.c: Likewise.
22224 * math/e_scalbl.c: Likewise.
22225 * math/w_acos.c: Likewise.
22226 * math/w_acosf.c: Likewise.
22227 * math/w_acosl.c: Likewise.
22228 * math/w_acosh.c: Likewise.
22229 * math/w_acoshf.c: Likewise.
22230 * math/w_acoshl.c: Likewise.
22231 * math/w_asin.c: Likewise.
22232 * math/w_asinf.c: Likewise.
22233 * math/w_asinl.c: Likewise.
22234 * math/w_atan2.c: Likewise.
22235 * math/w_atan2f.c: Likewise.
22236 * math/w_atan2l.c: Likewise.
22237 * math/w_atanh.c: Likewise.
22238 * math/w_atanhf.c: Likewise.
22239 * math/w_atanhl.c: Likewise.
22240 * math/w_exp10.c: Likewise.
22241 * math/w_exp10f.c: Likewise.
22242 * math/w_exp10l.c: Likewise.
22243 * math/w_fmod.c: Likewise.
22244 * math/w_fmodf.c: Likewise.
22245 * math/w_fmodl.c: Likewise.
22246 * math/w_j0.c: Likewise.
22247 * math/w_j0f.c: Likewise.
22248 * math/w_j0l.c: Likewise.
22249 * math/w_j1.c: Likewise.
22250 * math/w_j1f.c: Likewise.
22251 * math/w_j1l.c: Likewise.
22252 * math/w_jn.c: Likewise.
22253 * math/w_jnf.c: Likewise.
22254 * math/w_log.c: Likewise.
22255 * math/w_logf.c: Likewise.
22256 * math/w_logl.c: Likewise.
22257 * math/w_log10.c: Likewise.
22258 * math/w_log10f.c: Likewise.
22259 * math/w_log10l.c: Likewise.
22260 * math/w_log2.c: Likewise.
22261 * math/w_log2f.c: Likewise.
22262 * math/w_log2l.c: Likewise.
22263 * math/w_pow.c: Likewise.
22264 * math/w_powf.c: Likewise.
22265 * math/w_powl.c: Likewise.
22266 * math/w_remainder.c: Likewise.
22267 * math/w_remainderf.c: Likewise.
22268 * math/w_remainderl.c: Likewise.
22269 * math/w_scalb.c: Likewise.
22270 * math/w_scalbf.c: Likewise.
22271 * math/w_scalbl.c: Likewise.
22272 * math/w_sqrt.c: Likewise.
22273 * math/w_sqrtf.c: Likewise.
22274 * math/w_sqrtl.c: Likewise.
22275 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22276 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22277 used.
22278 * math/math_private.h: Declare __kernel_standard_f.
22279 * math/w_cosh.c: Remove cruft and optimize a bit.
22280 * math/w_coshf.c: Likewise.
22281 * math/w_coshl.c: Likewise.
22282 * math/w_exp2.c: Likewise.
22283 * math/w_exp2f.c: Likewise.
22284 * math/w_exp2l.c: Likewise.
22285 * math/w_hypot.c: Likewise.
22286 * math/w_hypotf.c: Likewise.
22287 * math/w_hypotl.c: Likewise.
22288 * math/w_lgamma.c: Likewise.
22289 * math/w_lgamma_r.c: Likewise.
22290 * math/w_lgammaf.c: Likewise.
22291 * math/w_lgammaf_r.c: Likewise.
22292 * math/w_lgammal.c: Likewise.
22293 * math/w_lgammal_r.c: Likewise.
22294 * math/w_sinh.c: Likewise.
22295 * math/w_sinhf.c: Likewise.
22296 * math/w_sinhl.c: Likewise.
22297 * math/w_tgamma.c: Likewise.
22298 * math/w_tgammaf.c: Likewise.
22299 * math/w_tgammal.c: Likewise.
22300 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22301 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22302 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22303 Minor optimizations. Pretty printing. Remove cruft.
22304 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22305 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22306 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22307 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22308 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22309 * sysdeps/i386/fpu/e_asin.S: Likewise.
22310 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22311 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22312 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22313 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22314 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22315 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22316 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22317 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22318 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22319 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22320 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22321 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22322 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22323 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22324 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22325 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22326 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22327 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22328 * sysdeps/i386/fpu/e_log.S: Likewise.
22329 * sysdeps/i386/fpu/e_log10.S: Likewise.
22330 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22331 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22332 * sysdeps/i386/fpu/e_log2.S: Likewise.
22333 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22334 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22335 * sysdeps/i386/fpu/e_logf.S: Likewise.
22336 * sysdeps/i386/fpu/e_logl.S: Likewise.
22337 * sysdeps/i386/fpu/e_pow.S: Likewise.
22338 * sysdeps/i386/fpu/e_powf.S: Likewise.
22339 * sysdeps/i386/fpu/e_powl.S: Likewise.
22340 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22341 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22342 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22343 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22344 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22345 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22346 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22347 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22348 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22349 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22350 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22351 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22352 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22353 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22354 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22355 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22356 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22357 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22358 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22359 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22360 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22361 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22362 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22363 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22364 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22365 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22366 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22367 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22368 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22369 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22370 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22371 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22372 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22373 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22374 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22375 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22376 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22377 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22378 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22379 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22380 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22381 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22382 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22383 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22384 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22385 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22386 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22387 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22388 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22389 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22390 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22391 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22392 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22393 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22394 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22395 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22396 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22397 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22398 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22399 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22400 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22401 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22402 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22403 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22404 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22405 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22406 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22407 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22408 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22409 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22410 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22411 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22412 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22413 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22414 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22415 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22416 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22417 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22418 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22419 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22420 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22421 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22422 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22423 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22424 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22425 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22426 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22427 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22428 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22429 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22430 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22431 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22432 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22433 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22434 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22435 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22436 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22437 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22438 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22439 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22440 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22441 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22442 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22443 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22444 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22445 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22446 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22447 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22448 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22449 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22450 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22451 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22452 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22453 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22454 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22455 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22456 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22457 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22458 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22459 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22460 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22461 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22462 (__isnanf): Likewise.
22463 (__isinf_ns): Likewise.
22464 (__isinf_nsf): Likewise.
22465 (__finite): Likewise.
22466 (__finitef): Likewise.
22467 (__ieee754_sqrt): Define as macro.
22468 (__ieee754_sqrtf): Define as macro.
22469 (__ieee754_sqrtl): Define as macro.
22470 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22471 inlined copy.
22472 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22473 __FINITE_MATH_ONLY__ consistent.
22474 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22475
12cc2fcd
AS
224762011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22477
a843a204
AS
22478 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22479 of rawmemchr.
22480
12cc2fcd
AS
22481 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22482
c853acd5
UD
224832011-10-09 Ulrich Drepper <drepper@gmail.com>
22484
22485 * po/ja.po: Update from translation team.
22486
c658d255
RM
224872011-10-08 Roland McGrath <roland@hack.frob.com>
22488
110946e4
RM
22489 * locale/programs/locarchive.c (prepare_address_space): New function.
22490 (create_archive, enlarge_archive, open_archive): Use it.
22491
50604220
RM
22492 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22493 inside [SHARED], where it is used.
22494
c658d255
RM
22495 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22496
22497 * nss/getent.c (netgroup_keys): Remove unused variable.
22498 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22499
6a621eb7
UD
225002011-10-08 Ulrich Drepper <drepper@gmail.com>
22501
7edb55ce
UD
22502 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22503 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22504 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22505 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22506 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22507 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22508 * math/Makefile (libm-calls): Add s_isinf_ns.
22509 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22510 * math/multc3.c: Likewise.
22511 * math/s_casin.c: Likewise.
22512 * math/s_casinf.c: Likewise.
22513 * math/s_casinl.c: Likewise.
22514 * math/s_ccos.c: Likewise.
22515 * math/s_ccosf.c: Likewise.
22516 * math/s_ccosl.c: Likewise.
22517 * math/s_ctan.c: Likewise.
22518 * math/s_ctanf.c: Likewise.
22519 * math/s_ctanh.c: Likewise.
22520 * math/s_ctanhf.c: Likewise.
22521 * math/s_ctanhl.c: Likewise.
22522 * math/s_ctanl.c: Likewise.
22523 * math/w_fmod.c: Likewise.
22524 * math/w_fmodf.c: Likewise.
22525 * math/w_fmodl.c: Likewise.
22526 * math/w_remainder.c: Likewise.
22527 * math/w_remainderf.c: Likewise.
22528 * math/w_remainderl.c: Likewise.
22529 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22530 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22531 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22532 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22533 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22534 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22535 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22536 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22537
187da0ae
UD
22538 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22539 of the number.
22540 * stdio-common/printf_fphex.c: Likewise.
22541 * stdio-common/printf_size.c: Likewise.
22542
9277c064
UD
22543 * math/e_exp10.c: Include math_private.h using <...> not "...".
22544 * math/e_exp10f.c: Likewise.
22545 * math/e_exp10l.c: Likewise.
22546 * math/e_exp2l.c: Likewise.
22547 * math/e_j0l.c: Likewise.
22548 * math/e_j1l.c: Likewise.
22549 * math/e_jnl.c: Likewise.
22550 * math/e_lgammal_r.c: Likewise.
22551 * math/e_rem_pio2l.c: Likewise.
22552 * math/e_scalb.c: Likewise.
22553 * math/e_scalbf.c: Likewise.
22554 * math/e_scalbl.c: Likewise.
22555 * math/k_cosl.c: Likewise.
22556 * math/k_sinl.c: Likewise.
22557 * math/k_tanl.c: Likewise.
22558 * math/s_cacoshf.c: Likewise.
22559 * math/s_catan.c: Likewise.
22560 * math/s_catanf.c: Likewise.
22561 * math/s_catanh.c: Likewise.
22562 * math/s_catanhf.c: Likewise.
22563 * math/s_catanhl.c: Likewise.
22564 * math/s_catanl.c: Likewise.
22565 * math/s_ccosh.c: Likewise.
22566 * math/s_ccoshf.c: Likewise.
22567 * math/s_ccoshl.c: Likewise.
22568 * math/s_cexp.c: Likewise.
22569 * math/s_cexpf.c: Likewise.
22570 * math/s_cexpl.c: Likewise.
22571 * math/s_clog.c: Likewise.
22572 * math/s_clog10.c: Likewise.
22573 * math/s_clog10f.c: Likewise.
22574 * math/s_clog10l.c: Likewise.
22575 * math/s_clogf.c: Likewise.
22576 * math/s_clogl.c: Likewise.
22577 * math/s_csin.c: Likewise.
22578 * math/s_csinf.c: Likewise.
22579 * math/s_csinh.c: Likewise.
22580 * math/s_csinhf.c: Likewise.
22581 * math/s_csinhl.c: Likewise.
22582 * math/s_csinl.c: Likewise.
22583 * math/s_csqrt.c: Likewise.
22584 * math/s_csqrtf.c: Likewise.
22585 * math/s_csqrtl.c: Likewise.
22586 * math/s_ctan.c: Likewise.
22587 * math/s_ctanf.c: Likewise.
22588 * math/s_ctanh.c: Likewise.
22589 * math/s_ctanhf.c: Likewise.
22590 * math/s_ctanhl.c: Likewise.
22591 * math/s_ctanl.c: Likewise.
22592 * math/s_ldexp.c: Likewise.
22593 * math/s_ldexpf.c: Likewise.
22594 * math/s_ldexpl.c: Likewise.
22595 * math/s_significand.c: Likewise.
22596 * math/s_significandf.c: Likewise.
22597 * math/s_significandl.c: Likewise.
22598 * math/w_acos.c: Likewise.
22599 * math/w_acosf.c: Likewise.
22600 * math/w_acosh.c: Likewise.
22601 * math/w_acoshf.c: Likewise.
22602 * math/w_acoshl.c: Likewise.
22603 * math/w_acosl.c: Likewise.
22604 * math/w_asin.c: Likewise.
22605 * math/w_asinf.c: Likewise.
22606 * math/w_asinl.c: Likewise.
22607 * math/w_atan2.c: Likewise.
22608 * math/w_atan2f.c: Likewise.
22609 * math/w_atan2l.c: Likewise.
22610 * math/w_atanh.c: Likewise.
22611 * math/w_atanhf.c: Likewise.
22612 * math/w_atanhl.c: Likewise.
22613 * math/w_cosh.c: Likewise.
22614 * math/w_coshf.c: Likewise.
22615 * math/w_coshl.c: Likewise.
22616 * math/w_dremf.c: Likewise.
22617 * math/w_exp10.c: Likewise.
22618 * math/w_exp10f.c: Likewise.
22619 * math/w_exp10l.c: Likewise.
22620 * math/w_exp2.c: Likewise.
22621 * math/w_exp2f.c: Likewise.
22622 * math/w_fmod.c: Likewise.
22623 * math/w_fmodf.c: Likewise.
22624 * math/w_fmodl.c: Likewise.
22625 * math/w_hypot.c: Likewise.
22626 * math/w_hypotf.c: Likewise.
22627 * math/w_hypotl.c: Likewise.
22628 * math/w_j0.c: Likewise.
22629 * math/w_j0f.c: Likewise.
22630 * math/w_j0l.c: Likewise.
22631 * math/w_j1.c: Likewise.
22632 * math/w_j1f.c: Likewise.
22633 * math/w_j1l.c: Likewise.
22634 * math/w_jn.c: Likewise.
22635 * math/w_jnf.c: Likewise.
22636 * math/w_jnl.c: Likewise.
22637 * math/w_lgamma.c: Likewise.
22638 * math/w_lgamma_r.c: Likewise.
22639 * math/w_lgammaf.c: Likewise.
22640 * math/w_lgammaf_r.c: Likewise.
22641 * math/w_lgammal.c: Likewise.
22642 * math/w_lgammal_r.c: Likewise.
22643 * math/w_log.c: Likewise.
22644 * math/w_log10.c: Likewise.
22645 * math/w_log10f.c: Likewise.
22646 * math/w_log10l.c: Likewise.
22647 * math/w_log2.c: Likewise.
22648 * math/w_log2f.c: Likewise.
22649 * math/w_log2l.c: Likewise.
22650 * math/w_logf.c: Likewise.
22651 * math/w_logl.c: Likewise.
22652 * math/w_pow.c: Likewise.
22653 * math/w_powf.c: Likewise.
22654 * math/w_powl.c: Likewise.
22655 * math/w_remainder.c: Likewise.
22656 * math/w_remainderf.c: Likewise.
22657 * math/w_remainderl.c: Likewise.
22658 * math/w_scalb.c: Likewise.
22659 * math/w_scalbf.c: Likewise.
22660 * math/w_scalbl.c: Likewise.
22661 * math/w_sinh.c: Likewise.
22662 * math/w_sinhf.c: Likewise.
22663 * math/w_sinhl.c: Likewise.
22664 * math/w_sqrt.c: Likewise.
22665 * math/w_sqrtf.c: Likewise.
22666 * math/w_sqrtl.c: Likewise.
22667 * math/w_tgamma.c: Likewise.
22668 * math/w_tgammaf.c: Likewise.
22669 * math/w_tgammal.c: Likewise.
22670
6a621eb7
UD
22671 * po/ja.po: Update from translation team.
22672
bf582445
AJ
226732011-09-29 Andreas Jaeger <aj@suse.de>
22674
f9efbf3a
AJ
22675 [BZ #13179]
22676 * sunrpc/netname.c (netname2host): Fix logic.
22677
bf582445
AJ
22678 [BZ #6779]
22679 [BZ #6783]
22680 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22681 correctly.
22682 * math/w_remainder.c (__remainder): Likewise.
22683 * math/w_remainderf.c (__remainderf): Likewise.
22684 * math/libm-test.inc (remainder_test): Add test cases.
22685
48693bea
AK
226862011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22687
22688 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22689 sdiv_qrnnd.
22690
42622229
LD
226912011-10-07 Ulrich Drepper <drepper@gmail.com>
22692
22693 * string/test-memcmp.c: Avoid unncessary #defines.
22694 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22695
093ecf92
LD
226962011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22697
22698 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22699 Use new sse2 version for core i3 - i7 as it's faster
22700 than sse42 version.
22701 (bit_Prefer_PMINUB_for_stringop): New.
22702 * sysdeps/x86_64/rawmemchr.S: Update.
22703 Replace with faster SSE2 version.
22704 * sysdeps/x86_64/memrchr.S: New file.
22705 * sysdeps/x86_64/memchr.S: Update.
22706 Replace with faster SSE2 version.
22707
fde56e5c
MP
227082011-09-12 Marek Polacek <mpolacek@redhat.com>
22709
22710 * elf/dl-load.c (lose): Add cast to avoid warning.
22711
21fd49a9
UD
227122011-10-07 Ulrich Drepper <drepper@gmail.com>
22713
5a06e643
UD
22714 * po/ca.po: Update from translation team.
22715
684ae515
UD
22716 * inet/getnetgrent_r.c: Hook up nscd.
22717 * nscd/Makefile (routines): Add nscd_netgroup.
22718 (nscd-modules): Add netgroupcache.
22719 (CFLAGS-netgroupcache.c): Define.
22720 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22721 (cache_search): Add const to second parameter.
22722 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22723 INNETGR.
22724 (dbs): Add netgrdb entry.
22725 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22726 (verify_persistent_db): Handle netgrdb.
22727 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22728 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22729 GETFDNETGR.
22730 (netgroup_response_header): Define.
22731 (innetgroup_response_header): Define.
22732 (datahead): Add netgroup_response_header and innetgroup_response_header
22733 elements.
22734 * nscd/nscd.conf: Add entries for netgroup cache.
22735 * nscd/nscd.h (dbtype): Add netgrdb.
22736 (_PATH_NSCD_NETGROUP_DB): Define.
22737 (netgroup_iov_disabled): Declare.
22738 (xmalloc, xcalloc, xrealloc): Move declarations here.
22739 (cache_search): Adjust prototype.
22740 Add netgroup-related prototypes.
22741 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22742 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22743 (__nscd_innetgr): Declare.
22744 * nscd/selinux.c (perms): Use access_vector_t as element type and
22745 add netgroup-related initializers.
22746 * nscd/netgroupcache.c: New file.
22747 * nscd/nscd_netgroup.c: New file.
22748 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22749 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22750 For four parameters use innetgr.
22751 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22752 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22753 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22754 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22755
21fd49a9
UD
22756 * nscd/connections.c (register_traced_file): Don't register file
22757 for disabled databases.
22758
054c0457
UD
227592011-10-06 Ulrich Drepper <drepper@gmail.com>
22760
32b63198
UD
22761 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22762
054c0457
UD
22763 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22764 from tree and freeing node.
22765
64031225
JO
227662011-09-25 Jiri Olsa <jolsa@redhat.com>
22767
22768 * nss/nsswitch.c (__nss_database_lookup): Handle
22769 nss_parse_service_list out of memory case.
22770
0490345c
JO
227712011-09-15 Jiri Olsa <jolsa@redhat.com>
22772
22773 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22774 out of memory case.
22775
3a62d00d
AS
227762011-10-04 Andreas Schwab <schwab@redhat.com>
22777
22778 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22779 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22780 pass it down.
22781 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22782 elf_machine_rela, elf_machine_lazy_rel.
22783 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22784 (ELF_DYNAMIC_DO_REL): Likewise.
22785 (ELF_DYNAMIC_DO_RELA): Likewise.
22786 (ELF_DYNAMIC_RELOCATE): Likewise.
22787 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22788 to ELF_DYNAMIC_DO_REL.
22789 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22790 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22791 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22792 elf_machine_rela.
22793 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22794 skip_ifunc, don't call ifunc function if non-zero.
22795 (elf_machine_rela): Likewise.
22796 (elf_machine_lazy_rel): Likewise.
22797 (elf_machine_lazy_rela): Likewise.
22798 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22799 (elf_machine_lazy_rel): Likewise.
22800 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22801 Likewise.
22802 (elf_machine_lazy_rel): Likewise.
22803 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22804 Likewise.
22805 (elf_machine_lazy_rel): Likewise.
22806 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22807 (elf_machine_lazy_rel): Likewise.
22808 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22809 (elf_machine_lazy_rel): Likewise.
22810 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22811 (elf_machine_lazy_rel): Likewise.
22812 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22813 (elf_machine_lazy_rel): Likewise.
22814 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22815 (elf_machine_lazy_rel): Likewise.
22816 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22817 (elf_machine_lazy_rel): Likewise.
22818
68577918
UD
228192011-09-28 Ulrich Drepper <drepper@gmail.com>
22820
22821 * nss/nss_files/files-init.c (_nss_files_init): Use static
22822 initialization for all the *_traced_file variables.
22823
68822d74
AS
228242011-09-28 Andreas Schwab <schwab@redhat.com>
22825
22826 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22827
2056100b
RM
228282011-09-27 Roland McGrath <roland@hack.frob.com>
22829
22830 [BZ #13226]
22831 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22832
32c76b63
AS
228332011-09-27 Andreas Schwab <schwab@redhat.com>
22834
22835 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22836 Reread the line before reparsing it.
22837
bf972c9d
AS
228382011-09-26 Andreas Schwab <schwab@redhat.com>
22839
22840 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22841
e057a1b5
JM
228422011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
22843 Maxim Kuvyrkov <maxim@codesourcery.com>
22844 Joseph Myers <joseph@codesourcery.com>
22845
22846 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22847 if needed for __stack_chk_guard.
22848
bc7e1c36
RM
228492011-09-19 Roland McGrath <roland@hack.frob.com>
22850
ecb1482f
RM
22851 * sysdeps/posix/spawni.c (script_execute): Always define it.
22852 It will be optimized away if unused.
22853 (maybe_script_execute): New function.
22854 (__spawni): Call it.
22855
bc7e1c36
RM
22856 * Makerules: Don't include tls.make.
22857 (config-tls): Always set to thread.
22858 * tls.make.c: File removed.
22859
1c3b002b
MF
228602011-09-19 Mike Frysinger <vapier@gentoo.org>
22861
22862 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22863 * config.make.in (CPPFLAGS-config): New substituted variable.
22864
2840865d
UD
228652011-09-15 Ulrich Drepper <drepper@gmail.com>
22866
88738eb6
UD
22867 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22868
cbf645a6 22869 [BZ #13192]
2840865d
UD
22870 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22871 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22872
b402e91a
RM
228732011-09-15 Roland McGrath <roland@hack.frob.com>
22874
22875 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22876 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22877 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22878 (CALL_FAIL): Likewise.
22879 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22880 (CALL_FAIL): Macro removed.
22881 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22882
4c1a1f71
UD
228832011-09-15 Ulrich Drepper <drepper@gmail.com>
22884
22885 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22886 for __FINITE_MATH_ONLY__ == 1.
22887
edc121be
AS
228882011-09-15 Andreas Schwab <schwab@redhat.com>
22889
22890 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22891 __ieee754_sqrt instead of sqrt.
22892 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22893 __ieee754_sqrtf instead of sqrtf.
22894 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22895 __floorf instead of floorf.
22896 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22897 __floorf, __truncf instead of floorf, truncf.
22898
cd205654
UD
228992011-09-14 Ulrich Drepper <drepper@gmail.com>
22900
ee4d0315
UD
22901 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22902
cd205654
UD
22903 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22904 __extern_always_inline.
22905 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22906 32-bit.
22907
48b67d71
AS
229082011-09-14 Andreas Schwab <schwab@redhat.com>
22909
22910 * elf/rtld.c (dl_main): Also relocate in dependency order when
22911 doing symbol dependency testing.
22912
1ae12c75
AS
229132011-09-13 Andreas Schwab <schwab@linux-m68k.org>
22914
22915 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22916 Always define `refsym'.
22917
995a80df
AS
229182011-09-13 Andreas Schwab <schwab@redhat.com>
22919
e529793b
AS
22920 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22921 (__FD_ELT): Renamed from __FDELT.
22922 * misc/bits/select2.h (__FD_ELT): Likewise.
22923 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22924 __FD_MASK instead of __FDELT, __FDMASK.
22925 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22926 Likewise.
22927 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22928 Likewise.
22929
52d4fef8
AS
22930 * elf/Makefile (gen-ldd): Fix pattern.
22931
995a80df
AS
22932 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22933 (init_tls): Likewise.
22934
8682f8b0
UD
229352011-09-12 Ulrich Drepper <drepper@gmail.com>
22936
22937 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22938
de82006d
AS
229392011-09-12 Andreas Schwab <schwab@redhat.com>
22940
a7c8e6a1
AS
22941 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22942 `struct cmsghdr *' instead of `void *'.
22943 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22944 Likewise.
22945
0f31fe77
AS
229462011-09-11 Andreas Schwab <schwab@linux-m68k.org>
22947
22948 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
22949 if non-absolute.
22950 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
22951 ldd_rewrite_script.
0f31fe77 22952
32b4c839
UD
229532011-09-11 Ulrich Drepper <drepper@gmail.com>
22954
83cd1420
UD
22955 * configure.in: Remove --with-tls option.
22956 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
22957 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
22958 out in case it is missing.
22959 * sysdeps/ia64/elf/configure.in: Likewise.
22960 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
22961 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
22962 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
22963 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
22964 * sysdeps/sh/elf/configure.in: Likewise.
22965 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
22966 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
22967 * sysdeps/x86_64/elf/configure.in: Likewise.
22968 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
22969 * sysdeps/mach/hurd/tls.h: Likewise.
22970
633f745d
UD
22971 [BZ #13067]
22972 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
22973
f318beb8
UD
22974 [BZ #13090]
22975 * configure.in: Fix use of AC_INIT.
22976
32b4c839
UD
22977 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
22978
3ce1f295
UD
229792011-09-10 Ulrich Drepper <drepper@gmail.com>
22980
bb016596
UD
22981 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
22982 __set_errno.
8e58439c
UD
22983 * malloc/hooks.c: Likewise.
22984
aebae053 22985 [BZ #11929]
02d46fc4
UD
22986 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
22987 variables statically.
22988 (narenas): Initialize.
22989 (list_lock): Initialize.
bb016596
UD
22990 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
22991 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
22992 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
22993 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
22994 Add initializers to main_arena and mp_.
22995 (malloc_state): Remove pagesize member. Change all users to use
22996 GLRO(dl_pagesize).
22997
22998 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
22999 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23000 is always initialized.
23001
22a89187
UD
23002 * malloc/malloc.c: Removed unused configurations and dead code.
23003 * malloc/arena.c: Likewise.
23004 * malloc/hooks.c: Likewise.
02d46fc4 23005 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 23006
d063d164
UD
23007 * include/tls.h: Removed. USE___THREAD must always be defined.
23008 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23009 * elf/dl-libc.c: Likewise.
23010 * elf/dl-tsd.c: Likewise.
23011 * include/errno.h: Likewise.
23012 * include/netdb.h: Likewise.
23013 * include/resolv.h: Likewise.
23014 * inet/herrno-loc.c: Likewise.
23015 * inet/herrno.c: Likewise.
23016 * malloc/arena.c: Likewise.
23017 * malloc/hooks.c: Likewise.
23018 * malloc/malloc.c: Likewise.
23019 * resolv/res-state.c: Likewise.
23020 * resolv/res_libc.c: Likewise.
23021 * sysdeps/i386/dl-machine.h: Likewise.
23022 * sysdeps/ia64/dl-machine.h: Likewise.
23023 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23024 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23025 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23026 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23027 * sysdeps/sh/dl-machine.h: Likewise.
23028 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23029 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23030 * sysdeps/unix/i386/sysdep.S: Likewise.
23031 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23032 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23033 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23034 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23035 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23036 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23037 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23038 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23039 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23040 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23041 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23042 * sysdeps/x86_64/dl-machine.h: Likewise.
23043 * tls.make.c: Likewise.
23044
3ce1f295
UD
23045 * configure.in: Remove --with-__thread option. Make tests for
23046 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23047 tls_model attribute fail if no support is available. Remove
23048 USE_IN_LIBIO.
23049 * Makeconfig: Adjust for dropped configure option. All features are
23050 now mandatory.
23051 * Makerules: Likewise.
23052 * Versions.def: Likewise.
23053 * argp/argp-fmtstream.c: Likewise.
23054 * argp/argp-fmtstream.h: Likewise.
23055 * argp/argp-help.c: Likewise.
23056 * assert/assert.c: Likewise.
23057 * config.h.in: Likewise.
23058 * config.make.in: Likewise.
23059 * configure: Likewise.
23060 * configure.in: Likewise.
23061 * csu/Versions: Likewise.
23062 * csu/init.c: Likewise.
23063 * elf/tst-audit2.c: Likewise.
23064 * elf/tst-tls10.c: Likewise.
23065 * elf/tst-tls10.h: Likewise.
23066 * elf/tst-tls11.c: Likewise.
23067 * elf/tst-tls12.c: Likewise.
23068 * elf/tst-tls14.c: Likewise.
23069 * elf/tst-tlsmod11.c: Likewise.
23070 * elf/tst-tlsmod12.c: Likewise.
23071 * elf/tst-tlsmod13.c: Likewise.
23072 * elf/tst-tlsmod13a.c: Likewise.
23073 * elf/tst-tlsmod14a.c: Likewise.
23074 * elf/tst-tlsmod15b.c: Likewise.
23075 * elf/tst-tlsmod16a.c: Likewise.
23076 * elf/tst-tlsmod16b.c: Likewise.
23077 * elf/tst-tlsmod7.c: Likewise.
23078 * elf/tst-tlsmod8.c: Likewise.
23079 * elf/tst-tlsmod9.c: Likewise.
23080 * gmon/gmon.c: Likewise.
23081 * grp/fgetgrent_r.c: Likewise.
23082 * grp/putgrent.c: Likewise.
23083 * hurd/fopenport.c: Likewise.
23084 * include/libc-symbols.h: Likewise.
23085 * include/tls.h: Likewise.
23086 * intl/gettextP.h: Likewise.
23087 * intl/loadinfo.h: Likewise.
23088 * locale/global-locale.c: Likewise.
23089 * locale/localeinfo.h: Likewise.
23090 * mach/devstream.c: Likewise.
23091 * malloc/arena.c: Likewise.
23092 * malloc/set-freeres.c: Likewise.
23093 * misc/err.c: Likewise.
23094 * misc/getttyent.c: Likewise.
23095 * misc/mntent_r.c: Likewise.
23096 * posix/getopt.c: Likewise.
23097 * posix/wordexp.c: Likewise.
23098 * pwd/fgetpwent_r.c: Likewise.
23099 * resolv/Versions: Likewise.
23100 * resolv/res_hconf.c: Likewise.
23101 * shadow/fgetspent_r.c: Likewise.
23102 * shadow/putspent.c: Likewise.
23103 * stdio-common/printf_fphex.c: Likewise.
23104 * stdio-common/tmpfile.c: Likewise.
23105 * stdlib/abort.c: Likewise.
23106 * stdlib/fmtmsg.c: Likewise.
23107 * sunrpc/auth_unix.c: Likewise.
23108 * sunrpc/clnt_perr.c: Likewise.
23109 * sunrpc/clnt_tcp.c: Likewise.
23110 * sunrpc/clnt_udp.c: Likewise.
23111 * sunrpc/clnt_unix.c: Likewise.
23112 * sunrpc/openchild.c: Likewise.
23113 * sunrpc/svc_simple.c: Likewise.
23114 * sunrpc/svc_tcp.c: Likewise.
23115 * sunrpc/svc_udp.c: Likewise.
23116 * sunrpc/svc_unix.c: Likewise.
23117 * sunrpc/xdr.c: Likewise.
23118 * sunrpc/xdr_array.c: Likewise.
23119 * sunrpc/xdr_rec.c: Likewise.
23120 * sunrpc/xdr_ref.c: Likewise.
23121 * sunrpc/xdr_stdio.c: Likewise.
23122
1248c1c4
PB
231232011-09-09 Ulrich Drepper <drepper@gmail.com>
23124
23125 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23126
231272011-07-03 Andreas Jaeger <aj@suse.de>
23128
23129 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23130 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23131 regenerate with gen-libm-tests.pl.
23132
231332010-05-12 Petr Baudis <pasky@suse.cz>
23134
23135 [BZ #11589]
23136 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23137 around j0() zero points by switching to j1().
23138 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23139 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23140 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23141 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23142
f22e1074
UD
231432011-09-09 Ulrich Drepper <drepper@gmail.com>
23144
f19009c1
UD
23145 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23146 instead of 0.
23147 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 23148 instead of 0.
f19009c1
UD
23149 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23150 Patch in part by Pavel Roskin <proski@gnu.org>.
23151
3f8cc204
UD
23152 [BZ #13138]
23153 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23154 realloc.
23155 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23156 Free memory block if necessary.
23157
f22e1074
UD
23158 [BZ #12847]
23159 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23160 be NULL. Don't lock in this case.
23161
0a2349f9
RM
231622011-09-09 Roland McGrath <roland@hack.frob.com>
23163
23164 * elf/elf.h (ELFOSABI_GNU): New macro.
23165 (ELFOSABI_LINUX): Define to that.
23166
f3cdd467
DZ
231672011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23168
23169 * string/strncat.c (strncat): Undef the symbol in case it has been
23170 defined in bits/string.h.
23171
74718d13
UD
231722011-09-09 Ulrich Drepper <drepper@gmail.com>
23173
633e9e0f
UD
23174 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23175
0a2349f9 23176 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
23177 link map.
23178
f9924780
AJ
231792011-08-17 Andreas Jaeger <aj@suse.de>
23180
23181 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23182
7f5517aa
PP
231832011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23184 Ian Lance Taylor <iant@google.com>
23185
23186 * math/libm-test.inc (lround_test): New testcase.
23187 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23188
762011fe
UD
231892011-09-08 Ulrich Drepper <drepper@gmail.com>
23190
92963737
UD
23191 * Makefile: Remove support for automatic cvs check-ins.
23192 * Makerules: Likewise.
23193 * config.make.in: Likewise.
23194 * configure.in: Likewise.
23195 * intl/Makefile: Likewise.
23196 * locale/Makefile: Likewise.
23197 * po/Makefile: Likewise.
23198 * posix/Makefile: Likewise.
23199 * sysdeps/gnu/Makefile: Likewise.
23200 * sysdeps/mach/hurd/Makefile: Likewise.
23201 * sysdeps/sparc/sparc32/Makefile: Likewise.
23202
b0727fd8
JS
23203 [BZ #13118]
23204 * posix/Makefile (bug-regex32-ENV): Define.
23205 Patch by John Stanley <jpsinthemix@verizon.net>.
23206
a0f33f99
UD
23207 * misc/Makefile (headers): Add bits/select2.h.
23208 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23209 * misc/bits/select2.h: New file.
23210 * include/bits/select2.h: New file.
23211 * debug/Makefile (routines): Add fdelt_chk.
23212 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23213 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23214 FD_ISSET.
23215 * debug/fdelt_chk.c: New file.
23216
762011fe
UD
23217 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23218 * wcsmbs/test-wmemcmp.c: Likewise.
23219 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 23220 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
23221
232222011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23223
23224 * string/Makefile (strop-tests): Add memcmp.
23225 * string/test-wmemcmp.c: New file.
23226 * string/test-memcmp.c: Add wmemcmp support.
23227
7f513ec8
RM
232282011-09-08 Roland McGrath <roland@hack.frob.com>
23229
0442afb4
RM
23230 [BZ #13153]
23231 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23232 2011-07-19 change.
23233
7f513ec8
RM
23234 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23235 garbage value in a __mach_port_mod_refs call in the cases of the
23236 task-self and thread-self ports.
23237
a12b2239
ST
232382011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23239
23240 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23241
610f9ab4
AS
232422011-09-08 Andreas Schwab <schwab@redhat.com>
23243
7f513ec8 23244 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 23245
48882a1a
LD
232462011-09-07 Ulrich Drepper <drepper@gmail.com>
23247
b49865be
UD
23248 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23249
fdc86bc9
UD
23250 * elf/dl-libc.c (dlerror_run): Pass back error code from
23251 dl_catch_error.
23252
c966526a
UD
23253 [BZ #13123]
23254 * elf/dl-load.c (lose): Free l_origin if it is valid.
23255
48882a1a
LD
23256 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23257 names.
23258 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23259 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23260 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23261 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23262 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23263 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23264
77a2a8b4
AZ
232652011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23266
23267 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23268 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23269 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23270 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23271 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23272 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23273 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23274 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23275 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23276 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23277
24f579d8
AM
232782011-08-15 Alan Modra <amodra@gmail.com>
23279
23280 [BZ #13092]
23281 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23282 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23283 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23284 ppc_mcount to static-only-routines.
23285 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23286 __mcount_internal.
23287 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23288 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23289
3d4837df
UD
232902011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23291
23292 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23293 for finite and infinity parameters.
23294
22700377
WS
232952011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23296
23297 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23298 and add nop instructions for throughput optimization.
23299 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23300
5025581e
WS
233012011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23302
23303 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23304 aligned copy for power7 with vector-scalar instructions.
23305 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23306
08a300c9
L
233072011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23308
23309 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23310 AVX check.
23311
59178ef9
AS
233122011-09-07 Andreas Schwab <schwab@redhat.com>
23313
23314 [BZ #13144]
23315 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23316 last change.
23317
e38ba7ab
UD
233182011-09-07 Ulrich Drepper <drepper@gmail.com>
23319
23320 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23321 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23322 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23323 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23324 clock_gettime.
23325
d53a73ac
UD
233262011-09-06 Ulrich Drepper <drepper@gmail.com>
23327
fc8bffcc
UD
23328 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23329 Forgot to demangle the pointer.
23330
ceaa0c5d
UD
23331 * sysdeps/i386/sysdep.h: Define atom_text_section.
23332 * sysdeps/x86_64/sysdep.h: Likewise.
23333 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23334 section with atom_text_section.
23335 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23336 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23337 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23338 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23339 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23340
a77d3c17
UD
23341 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23342 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23343 already be defined. Change to take two parameters and don't assign
23344 result to variable. Adjust all users.
23345 Define INTERNAL_GETTIME if not already defined.
23346 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23347 call.
23348 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23349 HAVE_CLOCK_GETTIME_VSYSCALL.
23350 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23351
d53a73ac
UD
23352 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23353 gettimeofday vsyscall, just use time.
23354
a8f84144
AS
233552011-09-06 Andreas Schwab <schwab@redhat.com>
23356
23357 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23358 <errno.h>.
23359
ef606249
UD
233602011-09-06 Ulrich Drepper <drepper@gmail.com>
23361
23362 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23363 syscall on x86-64.
23364 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23365 syscall.
23366 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23367 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23368 syscall if possible.
23369
6585cb60
UD
233702011-09-05 Ulrich Drepper <drepper@gmail.com>
23371
23372 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23373 e_ident. Don't pass to find_mapsXX.
23374 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23375
a5f524e4
LD
233762011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23377
23378 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23379 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23380 * sysdeps/x86_64/multiarch/strchr.S: Update.
23381 Check bit_slow_BSF bit.
23382 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23383 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23384 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23385
554881ef
UD
233862011-09-05 Ulrich Drepper <drepper@gmail.com>
23387
d96de963
UD
23388 [BZ #13134]
23389 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23390 before glibc 2.15.
23391 (tryshell): Define.
23392 (__spawni): Change last parameter to be flag. Test
23393 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23394 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23395 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23396 * posix/spawni.c: Likewise.
23397 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23398 * posix/spawnp.c: Likewise. Change normal version to use
23399 SPAWN_XFLAGS_USE_PATH.
23400 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23401 SPAWN_XFLAGS_TRY_SHELL.
23402
d48e5868
UD
23403 [BZ #13150]
23404 * posix/glob.h: Remove gcc 1.x support.
23405
554881ef
UD
23406 [BZ #13068]
23407 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23408
693fb948
LD
234092011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23410
23411 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23412 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23413 strrchr-sse2-bsf
23414 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23415 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23416 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23417 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23418 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23419 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23420
1b48c537
UD
234212011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23422
49d42c37
UD
23423 * sysdeps/x86_64/wcscmp.S: New file.
23424
1b48c537
UD
23425 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23426 wcscmp-c wcscmp-sse2
23427 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23428 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23429 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23430 * wcsmbs/wcscmp.c: Allow renaming.
23431
15c95c5d
DM
234322011-09-05 David S. Miller <davem@davemloft.net>
23433
23434 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23435 stack slot, rather than the struct return pointer slot.
23436 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23437 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23439 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23440
2f0ad8f3
UD
234412011-09-05 Ulrich Drepper <drepper@gmail.com>
23442
d88ae418
UD
23443 * po/ja.po: Update from translation team.
23444
2f0ad8f3
UD
23445 [BZ #13144]
23446 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23447 kernel in 64-bit binaries.
23448
5f4318d1
DM
234492011-09-01 David S. Miller <davem@davemloft.net>
23450
23451 * elf/elf.h (HWCAP_SPARC_*): Move to..
23452 * sysdeps/sparc/sysdep.h: this new file and add new values.
23453 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23454 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23455 _DL_HWCAP_COUNT to 24.
23456 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23457 entries.
23458 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23459 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23460 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23461 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23462 instead of magic constants.
23463 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23464
3ba57516
DM
234652011-08-31 David S. Miller <davem@davemloft.net>
23466
23467 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23468 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23469 Reimplement to do errno handling inline.
23470 (SYSCALL_ERROR_HANDLER): New macro.
23471 (__SYSCALL_STRING): Do not do errno handling in asm.
23472 (__CLONE_SYSCALL_STRING): Delete.
23473 (__INTERNAL_SYSCALL_STRING): Delete.
23474 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23475 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23476 (PSEUDO): Reimplement to do errno handling inline.
23477 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23478 (SYSCALL_ERROR_HANDLER): New macro.
23479 (__SYSCALL_STRING): Do not do errno handling in asm.
23480 (__CLONE_SYSCALL_STRING): Delete.
23481 (__INTERNAL_SYSCALL_STRING): Delete.
23482 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23483 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23484 i386.
23485 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23486 (inline_syscall*): Add 'err' argument.
23487 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23488 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23489 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23490 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23491
23492 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23493 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23494
2bc17433
AS
234952011-08-30 Andreas Schwab <schwab@redhat.com>
23496
23497 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23498
fbeb5f4d
JO
234992011-08-29 Jiri Olsa <jolsa@redhat.com>
23500
23501 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23502 directive.
23503
ad69cc26
DM
235042011-08-24 David S. Miller <davem@davemloft.net>
23505
23506 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23507
39dd69df
AS
235082011-08-24 Andreas Schwab <schwab@redhat.com>
23509
23510 * elf/Makefile: Add rules to build and run unload8 test.
23511 * elf/unload8.c: New file.
23512 * elf/unload8mod1.c: New file.
23513 * elf/unload8mod1x.c: New file.
23514 * elf/unload8mod2.c: New file.
23515 * elf/unload8mod3.c: New file.
23516
23517 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23518 it wasn't used.
23519
2c0b250a
DM
235202011-08-23 David S. Miller <davem@davemloft.net>
23521
23522 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23523 subtract stack bias.
23524 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23525 %sp not %fp in calculations.
23526 (_JMPBUF_UNWINDS_ADJ): Likewise.
23527
22044b48
DM
23528 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23529 (aio_suspend): Call it to force an exception region around the
23530 AIO_MISC_WAIT() invocation.
23531
2cae4995
AS
235322011-08-23 Andreas Schwab <schwab@redhat.com>
23533
23534 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23535 backslash.
23536
873a772e
AJ
235372011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23538
23539 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23540 protection macro.
23541 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23542 and <dl-machine.h>.
23543 (Elf64_FuncDesc): Remove.
23544
25ad0df1
DM
235452011-08-22 David S. Miller <davem@davemloft.net>
23546
23547 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23548 sigaltstack check, add missing cfi directives.
23549 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23550 missing cfi directives, and sigaltstack handling.
23551
e888bcbe
AS
235522011-08-16 Andreas Schwab <schwab@redhat.com>
23553
23554 [BZ #11724]
23555 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23556 object is seen twice.
23557 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23558
23559 * elf/Makefile (distribute): Add tst-initorder2.c.
23560 (tests): Add tst-initorder2.
23561 (modules-names): Add tst-initorder2a tst-initorder2b
23562 tst-initorder2c tst-initorder2d. Add rules to build them.
23563 ($(objpfx)tst-initorder2.out): New rule.
23564 * elf/tst-initorder2.c: New file.
23565 * elf/tst-initorder2.exp: New file.
23566
87162f46
AS
235672011-08-22 Andreas Schwab <schwab@redhat.com>
23568
70538b7f
AS
23569 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23570
f55ffe58
AS
23571 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23572 dependencies back to end of function.
23573
87162f46
AS
23574 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23575 $(elfobjdir)/ld.so.
23576
91b392a4
UD
235772011-08-21 Ulrich Drepper <drepper@gmail.com>
23578
23579 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23580 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23581 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23582 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23583 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23584 of __vdso_gettimeofday.
23585 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23586 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23587 attribute_hidden.
23588 (_libc_vdso_platform_setup): Remove initialization of
23589 __vdso_gettimeofday and __vdso_time.
23590
5c43483f
UD
235912011-08-20 Ulrich Drepper <drepper@gmail.com>
23592
775a77e7
UD
23593 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23594 and fgetc_unlocked.
23595 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23596 getc_unlocked.
89f447ed 23597
49c74ba9
UD
23598 * elf/dl-open.c (add_to_global): Report additions to the global scope
23599 for LD_DEBUG=scopes.
23600 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 23601 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 23602
5c43483f
UD
23603 [BZ #13114]
23604 * stdio-common/Makefile (tests): Add bug24.
23605 * stdio-common/bug24.c: New file.
23606
a101b025
AJ
236072011-08-19 Andreas Jaeger <aj@suse.de>
23608
23609 [BZ #13114]
23610 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23611 non-existant file when using close-on-exec mode.
23612
c88f1766
UD
236132011-08-20 Ulrich Drepper <drepper@gmail.com>
23614
0276a718
UD
23615 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23616 the very first instruction.
23617
c88f1766
UD
23618 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23619 the CFI state in the end.
23620 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23621 inclusion of dl-trampoline.h.
23622 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23623
51ccffa0
AS
236242011-08-19 Andreas Schwab <schwab@redhat.com>
23625
94d7165f
AS
23626 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23627 expectations for long double.
23628
51ccffa0
AS
23629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23630 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23631
fd708658 236322011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
23633
23634 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23635 artificual limit depends upon the system page size.
23636
44f0a71e
UD
236372011-08-17 Ulrich Drepper <drepper@gmail.com>
23638
23639 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23640 * resolv/Makefile: Define CFLAGS-libresolv.
23641
8de79a24
AS
236422011-08-17 Andreas Schwab <schwab@redhat.com>
23643
23644 * nss/makedb.c (compute_tables): Make variables used in nested
23645 function static.
23646
27724598
UD
236472011-08-17 Ulrich Drepper <drepper@gmail.com>
23648
c5305d88
UD
23649 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23650 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23651 if buffer was too small.
23652
27724598
UD
23653 * elf/pldd.c (main): Attach to all threads in the process.
23654 Rewrite /proc handling to use *at functions.
23655
076fe015
UD
236562011-08-16 Ulrich Drepper <drepper@gmail.com>
23657
174baab3
UD
23658 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23659 specifies first scope to show.
23660 (dl_open_worker): Update callers. Move printing scope of new
23661 object to before the relocation.
44f0a71e 23662 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
23663 * sysdeps/generic/ldsodefs.h: Update declaration.
23664
076fe015
UD
23665 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23666 string for the scope number.
23667
a60df2c3
UD
236682011-08-14 Ulrich Drepper <drepper@gmail.com>
23669
23670 * nscd/servicescache.c (cache_addserv): Make sure written is always
23671 initialized.
23672
5e4287d1
RM
236732011-08-14 Roland McGrath <roland@hack.frob.com>
23674
85ae0589
RM
23675 * sysdeps/i386/i486/bits/atomic.h
23676 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23677 statement expression, so as to suppress "set but not used" warning.
23678 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23679
69f63097
RM
23680 * string/strncat.c (STRNCAT): Use prototype definition.
23681
675456ef
RM
23682 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23683 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23684 -Iprograms here.
23685 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23686 (localedef-modules): Add localedef.
23687 (locale-modules): Add locale.
23688
5e4287d1
RM
23689 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23690 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23691 to avoid a warning.
23692
9c96ff23
DM
236932011-08-14 David S. Miller <davem@davemloft.net>
23694
23695 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23696 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23697
f9ddf089
UD
236982011-08-13 Ulrich Drepper <drepper@gmail.com>
23699
44f0a71e 23700 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
23701 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23702 * elf/rtld.c (dl_main): Set l_name of vDSO.
23703 Call _dl_show_scope when DL_DEBUG_SCOPES.
23704 (process_dl_debug): Recognize scopes flag and also set it for all.
23705 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23706 Declare _dl_show_scope.
23707
1dc27704
UD
23708 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23709 (do_dlopen): Pass caller_dlopen to dl_open.
23710 (__libc_dlopen_mode): Initialize caller_dlopen.
23711
f9ddf089
UD
23712 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23713 of libc. Make tolower call locale-independent. Optimize a bit by
23714 using isdigit instead of isalnum.
23715 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23716
9ac533d3
UD
237172011-08-12 Ulrich Drepper <drepper@gmail.com>
23718
23719 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23720 was a dependency or dynamically loaded.
23721
89edf2e9
UD
237222011-08-11 Ulrich Drepper <drepper@gmail.com>
23723
8e999d29
UD
23724 * intl/l10nflist.c: Allow architecture-specific pop function.
23725 * sysdeps/x86_64/l10nflist.c: New file.
23726
89edf2e9
UD
23727 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23728 classification.
23729
14d96785
AS
237302011-08-10 Andreas Schwab <schwab@redhat.com>
23731
23732 * include/dirent.h: Add libc_hidden_proto for scandirat and
23733 scandirat64. Don't declare __scandirat64.
23734 * dirent/scandirat.c: Add libc_hidden_def.
23735 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23736 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23737
6761ac04
DM
237382011-08-10 David S. Miller <davem@davemloft.net>
23739
23740 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23741 enum.
23742 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23743 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23744 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23745
c55fbd1e
UD
237462011-08-09 Ulrich Drepper <drepper@gmail.com>
23747
23748 * Versions.def [libc]: Add GLIBC_2.15.
23749 * dirent/Makefile (routines): Add scandirat and scandirat64.
23750 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23751 GLIBC_2.15.
23752 * dirent/dirent.h: Declare scandirat and scandirat64.
23753 * dirent/scandirat.c: New file.
23754 * dirent/scandirat64.c: New file.
23755 * sysdeps/wordsize-64/scandirat.c: New file.
23756 * sysdeps/wordsize-64/scandirat64.c: New file.
23757 * dirent/opendir.c: Define opendirat.
23758 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23759 using scandirat.
23760 * dirent/scandir64.c: Adjust for scandir.c change.
23761 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23762 __scandirat64, and __scandir_cancel_handler.
23763 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23764 additional parameter and use openat instead of open (outside of ld.so).
23765 Add new __opendir as wrapper around __opendirat.
23766 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23767 here without requiring old scandirat implementation.
23768
879165f2
UD
237692011-08-08 Ulrich Drepper <drepper@gmail.com>
23770
23771 * dirent/scandir.c (cancel_handler): Renamed to
23772 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23773 defined. Adjust users.
23774 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23775 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23776
cb7e923b
UD
237772011-08-04 Ulrich Drepper <drepper@gmail.com>
23778
16292edd
UD
23779 * string/test-string.h (IMPL): Use __STRING to expand name and then
23780 stringify it.
23781
cb7e923b
UD
23782 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23783 of cleanups.
23784
cff82933
LD
237852011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23786
23787 * string/Makefile: Update.
23788 (strop-tests): Append strncat.
23789 * string/test-wcscmp.c: New file.
23790 New comprehensive test for wcscmp.
23791 * string/test-strcmp.c: Update.
23792 (WIDE): New define.
23793
9be9bfcc
AS
237942011-07-22 Andreas Schwab <schwab@redhat.com>
23795
23796 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23797 line.
23798
2e96f1c7
AS
237992011-07-26 Andreas Schwab <schwab@redhat.com>
23800
23801 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23802 encoding to ACE if AI_IDN.
23803
85188888
JJ
238042011-08-01 Jakub Jelinek <jakub@redhat.com>
23805
23806 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23807 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23808
5fa16e9b
LD
238092011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23810
23811 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23812 Fix overflow bug in strncat.
23813 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23814
23815 * string/test-strncat.c: Update.
23816 Add new tests for checking overflow bugs.
23817
238182011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23819
23820 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23821 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23822 * sysdeps/i386/i686/multiarch/strcat.S: New file.
23823 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23824 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23825 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23826 * sysdeps/i386/i686/multiarch/strncat.S: New file.
23827 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23828 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23829
23830 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23831 (USE_AS_STRCAT): Define.
23832 Add strcat and strncat support.
23833 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23834
8c1a459f
AS
238352011-07-25 Andreas Schwab <schwab@redhat.com>
23836
23837 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23838 __n bigger than INT_MAX+1.
23839 (__strncmp_g): Likewise.
23840
bba33c28
UD
238412011-07-23 Ulrich Drepper <drepper@gmail.com>
23842
798be72d
UD
23843 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23844 * libio/stido.h: Likewise.
23845
8accd4dc
UD
23846 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23847 (AF_NFC): Define.
23848 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23849 (AF_NFC): Define.
23850
cbff0d96
UD
23851 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23852 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23853 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23854 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23855 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23856
9191c04a
UD
23857 [BZ #13021]
23858 * scripts/test-installation.pl: Don't expect libnss_test1 to be
23859 installed.
23860
bba33c28
UD
23861 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23862 typo.
23863 (_dl_x86_64_save_sse): Likewise.
23864
90f139dd
UD
238652011-07-22 Ulrich Drepper <drepper@gmail.com>
23866
1aae088a
UD
23867 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23868 OSXSAVE.
23869 (_dl_x86_64_save_sse): Likewise.
23870
8e2045f5
UD
23871 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23872
90f139dd
UD
23873 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23874
1d002f25
AS
238752011-07-21 Andreas Schwab <schwab@redhat.com>
23876
23877 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23878 change.
23879 (_dl_x86_64_save_sse): Use correct AVX check.
23880
21137f89
UD
238812011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23882
23883 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23884 bug in strncpy/strncat.
23885 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23886
a65c0b7a
UD
238872011-07-21 Ulrich Drepper <drepper@gmail.com>
23888
23889 * string/tester.c (test_strcat): Add tests for different alignments
23890 of source and destination.
23891 (test_strncat): Likewise.
23892
6986b98a
UD
238932011-07-20 Ulrich Drepper <drepper@gmail.com>
23894
90bb2039
UD
23895 [BZ #12852]
23896 * posix/glob.c (glob): Check passed in values before using them in
23897 expressions to avoid some overflows.
23898 (glob_in_dir): Likewise.
23899
5644ef54
UD
23900 [BZ #13007]
23901 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23902 check for AVX enablement so that we don't crash with old kernels and
23903 new hardware.
23904 * elf/tst-audit4.c: Add same checks here.
23905 * elf/tst-audit6.c: Likewise.
23906
23907 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 23908
bfc9dc9b
AS
239092011-07-09 Andreas Schwab <schwab@linux-m68k.org>
23910
23911 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23912
702e64bb
UD
239132011-07-20 Ulrich Drepper <drepper@gmail.com>
23914
23915 * po/cs.po: Update from translation team.
23916 * po/bg.po: Likewise.
23917
295e904f
MP
239182011-07-12 Marek Polacek <mpolacek@redhat.com>
23919
23920 * misc/sys/cdefs.h: Add support for const attribute.
23921 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23922 to gnu_dev_{major,minor,makedev} functions.
23923
3ff94596
MP
239242011-07-20 Marek Polacek <mpolacek@redhat.com>
23925
23926 * intl/dcigettext.c (get_output_charset): Add missing bracket.
23927
28b59fca
AS
239282011-07-20 Andreas Schwab <schwab@redhat.com>
23929
23930 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23931 strlen results.
23932
19df733e
AK
239332011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23934
23935 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23936 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23937 register in order to avoid conflicts with the soft frame pointer
23938 being held in r11 when necessary.
23939 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23940 (INTERNAL_VSYSCALL_NCS): Likewise.
23941
c8835729
MP
239422011-07-14 Marek Polacek <mpolacek@redhat.com>
23943
23944 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
23945 * elf/dl-fini.c (_dl_fini): Adjust caller.
23946 * elf/dl-close.c (_dl_close_worker): Likewise.
23947 * sysdeps/generic/ldsodefs.h: Adjust declaration.
23948
b902330c
MP
239492011-07-15 Marek Polacek <mpolacek@redhat.com>
23950
8991e135
MP
23951 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
23952 "aux_cache->nlibs < 0".
23953
b902330c
MP
23954 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
23955 in the reload-count case.
23956
99710781
LD
239572011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23958
23959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23960 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
23961 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
23962 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
23963 * sysdeps/x86_64/multiarch/strcat.S: New file.
23964 * sysdeps/x86_64/multiarch/strncat.S: New file.
23965 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
23966 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
23967 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
23968 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
23969 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
23970 (USE_AS_STRCAT): Define.
23971 Add strcat and strncat support.
23972 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23973 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23974 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
23975 * string/strncat.c: Update.
23976 (USE_AS_STRNCAT): Define.
23977 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23978 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
23979 and i7.
23980 * sysdeps/x86_64/multiarch/init-arch.h
23981 (bit_Prefer_PMINUB_for_stringop): New.
23982 (index_Prefer_PMINUB_for_stringop): Likewise.
23983 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
23984 bit_Prefer_PMINUB_for_stringop.
23985
7dc6bd90
UD
239862011-07-19 Ulrich Drepper <drepper@gmail.com>
23987
23988 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
23989 buffer64.
23990 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
23991 of casting of buffer.
23992 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
23993 buffer32 and buffer64.
23994 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
23995 writes instead of casting of buffer.
23996 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
23997 buffer32.
23998 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
23999 casting of buffer.
24000
e0e72284
AS
240012011-07-19 Andreas Schwab <schwab@redhat.com>
24002
24003 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24004
feb1eb0b
UD
240052011-07-19 Ulrich Drepper <drepper@gmail.com>
24006
24007 * nscd/nscd.c (termination_handler): Don't do anything for a database
24008 if it has not yet been initialized.
24009
298711ff
UD
240102011-07-18 Ulrich Drepper <drepper@gmail.com>
24011
24012 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24013
240142011-07-15 Marek Polacek <mpolacek@redhat.com>
24015
24016 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24017
f9d68389
UD
240182011-07-18 Ulrich Drepper <drepper@gmail.com>
24019
24020 * po/nl.po: Update from translation team.
24021 * po/sv.po: Likewise.
24022
db290cf5
RM
240232011-07-16 Roland McGrath <roland@hack.frob.com>
24024
24025 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24026 now disallowed by GCC.
5c550700 24027
fd5e21c7
RM
24028 * configure.in (use-default-link): Default to yes if a test -shared
24029 link meets our qualifications.
24030 * configure: Regenerated.
24031
5c550700
RM
24032 * config.make.in (output-format): New variable.
24033 * configure.in: Check for ld --print-output-format support.
24034 * configure: Regenerated.
24035 * Makerules ($(common-objpfx)format.lds)
24036 [$(output-format) != unknown]: Just use $(output-format),
24037 instead of the linker-script munging.
24038
9fa2c032
RM
240392011-07-14 Roland McGrath <roland@hack.frob.com>
24040
a6928d51
RM
24041 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24042 of $(common-objpfx)shlib.lds.
24043 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24044
661607b3
RM
24045 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24046 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24047
9fa2c032
RM
24048 * configure.in (-z relro check): Adjust test code to add a large
24049 writable data section after it.
24050 * configure: Regenerated.
24051
defe9061
RM
240522011-07-11 Roland McGrath <roland@hack.frob.com>
24053
24054 * configure.in (-z relro check): Fix test code to make the variable
24055 truly const.
24056 * configure: Regenerated.
24057
319b9ad4
UD
240582011-07-11 Ulrich Drepper <drepper@gmail.com>
24059
24060 * nscd/nscd.h (struct traced_file): Define.
24061 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24062 elements. Add traced_files.
24063 (inotify_fd): Declare.
24064 (register_traced_file): Declare.
24065 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24066 (inotify_fd): Export.
24067 (resolv_conf_descr): Remove.
24068 (nscd_init): Move inotify descriptor creation to main.
24069 Don't register files for notification here.
24070 (register_traced_file): New function.
24071 (invalidate_cache): Don't use reset_res to determine whether to call
24072 res_init, go through the list of registered files.
24073 (main_loop_poll): The inotify descriptors are now stored in the
24074 structures for the traced files.
24075 (main_loop_epoll): Likewise
24076 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24077 to __nss_disable_nscd.
24078 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24079 for a database anymore. Check the records for all the registered
24080 files instead.
24081 * nss/Makefile (libnss_files-routines): Add files-init.
24082 (libnss_db-routines): Add db-init.
24083 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24084 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24085 * nss/nss_db/db-init.c: New file.
24086 * nss/nss_files/files-init.c: New file.
24087 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24088 __nss_lookup_function.
24089 (__nss_lookup_function): Call nss_load_library.
24090 (nss_load_all_libraries): New function.
24091 (__nss_disable_nscd): Take parameter with callback function for files
24092 to register. Set is_nscd. Load all the DSOs for the NSS modules
24093 used for the cached services.
24094 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24095 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24096 options for features to all the files in nscd.
24097
24098 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24099
23bee3e8
RM
241002011-07-10 Roland McGrath <roland@hack.frob.com>
24101
24102 * csu/elf-init.c (__libc_csu_init): Comment typo.
24103
46a5b7f0
UD
241042011-07-09 Ulrich Drepper <drepper@gmail.com>
24105
24106 * po/pl.po: Update from translation team.
24107 * po/ja.po: Likewise.
24108 * po/ru.po: Likewise.
24109 * po/ko.po: Likewise.
24110 * po/fr.po: Likewise.
24111
d30cf5bb
RM
241122011-07-09 Roland McGrath <roland@hack.frob.com>
24113
113ddea4
RM
24114 * configure.in (.ctors/.dtors header and trailer check):
24115 Use an empirical test on a built program.
24116 * configure: Regenerated.
24117
574920b4
RM
24118 * configure.in (-z relro check): Use an empirical test on a built DSO.
24119 Detect, but do not require, on ia64.
24120 * configure: Regenerated.
24121
d30cf5bb
RM
24122 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24123 Update tests that use readelf to use $READELF instead.
24124 * configure: Regenerated.
24125
8538fdb3
UD
241262011-07-08 Ulrich Drepper <drepper@gmail.com>
24127
24128 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24129 if the result is not used.
24130
04d08991
AJ
241312011-07-05 Andreas Jaeger <aj@suse.de>
24132
24133 [BZ#9696]
24134 * stdlib/tst-strtod.c: Add testcase.
24135
de283087
AD
241362011-07-07 Ulrich Drepper <drepper@gmail.com>
24137
4e5f31c8 24138 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 24139 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
24140 The latter has a higher limit. Take additional parameter to pass to
24141 the new function.
24142 (__pathconf): Pass file to __statfs_link_max.
24143 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24144 __statfs_link_max.
24145 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24146 __statfs_link_max.
24147
de283087
AD
24148 [BZ #12868]
24149 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24150 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24151 Handle Lustre.
24152 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24153 (__statfs_filesize_max): Likewise.
24154 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24155
c75fa153
AJ
241562011-07-05 Andreas Jaeger <aj@suse.de>
24157
24158 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24159
1a544854
UD
241602011-07-06 Marek Polacek <mpolacek@redhat.com>
24161
24162 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24163 `status' variable.
24164 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24165 Likewise.
24166
6f0eec67
UD
241672011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24168
24169 * Makefile (strop-tests): Add strncat.
24170 * string/test-strncat.c: New file.
24171
aae30307
UD
241722011-06-30 Marek Polacek <mpolacek@redhat.com>
24173
24174 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24175
c0cfb5eb
UD
241762011-06-21 Andreas Jaeger <aj@suse.de>
24177
24178 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24179 Copy rule from iconvdata/Makefile.
24180
01636b21
UD
241812011-07-06 Ulrich Drepper <drepper@gmail.com>
24182
24183 [BZ #12922]
24184 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24185 but no long options are defined, just return 'W'.
24186
9895c8bc
UD
241872011-06-22 Marek Polacek <mpolacek@redhat.com>
24188
24189 [BZ #9696]
24190 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24191
5d4cf042
UD
241922011-07-06 Ulrich Drepper <drepper@gmail.com>
24193
24194 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24195 netgroups to read.
960e5535 24196 (innetgr): Likewise.
5d4cf042 24197
751eb97e
RM
241982011-07-05 Roland McGrath <roland@hack.frob.com>
24199
24200 * config.make.in (install_root): Default to $(DESTDIR).
24201
f15f1e45
UD
242022011-07-05 Ulrich Drepper <drepper@gmail.com>
24203
24204 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24205
4e34ac6a
RM
242062011-07-02 Roland McGrath <roland@hack.frob.com>
24207
5e9b6af4
RM
24208 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24209
84f9ea0f
RM
24210 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24211 containing directory rather than embedding absolute directory names.
24212
ea5ee9f7
RM
24213 * scripts/check-local-headers.sh: Rewritten using awk.
24214 Match by word, not by line. Print error messages for matches.
24215 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24216
1b74661a
RM
24217 * Makerules [shlib-lds-flags empty]:
24218 ($(common-objpfx)libc_pic.opts): New target.
24219 ($(common-objpfx)libc_pic.os.clean): New target.
24220 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24221
24222 * config.make.in (OBJCOPY): New variable.
24223 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24224 * configure: Regenerated.
24225
f781ef40
RM
24226 * config.make.in (use-default-link): New variable.
24227 * configure.in (use_default_link): Grok --with-default-link to set it.
24228 * configure: Regenerated.
24229 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24230 (shlib-lds, shlib-lds-flags): Define to empty.
24231
2d4fa81e
RM
24232 * Makerules (shlib-lds): New variable.
24233 (shlib-lds-flags): New variable.
24234 (build-shlib, build-moduile, build-module-asneeded): Use it.
24235 ($(common-objpfx)libc.so): Use $(shlib-lds).
24236 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24237 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24238
31fffa6b
RM
24239 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24240 DT_FLAGS/DT_FLAGS_1 with zero flags.
24241
4e34ac6a
RM
24242 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24243 linker script munging.
24244
fcfc776b
UD
242452011-07-02 Ulrich Drepper <drepper@gmail.com>
24246
24247 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24248 as 128-bit value.
24249 * crypt/sha512.c (sha512_process_block): Perform total addition using
24250 128-bit if possible.
24251 (__sha512_finish_ctx): Likewise.
24252 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24253 as 64-bit value.
24254 * crypt/sha256.c (SWAP64): Define.
24255 (sha256_process_block): Perform total addition using 64-bit if
24256 possible.
24257 (__sha256_finish_ctx): Likewise.
24258
99231d9a
UD
242592011-07-01 Ulrich Drepper <drepper@gmail.com>
24260
24261 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24262 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24263 * nscd/hstcache.c (cache_addhst): Likewise.
24264 * nscd/grpcache.c (cache_addgr): Likewise.
24265 * nscd/aicache.c (addhstaiX): Likewise
24266 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24267
445b4a53
TK
242682011-07-01 Thorsten Kukuk <kukuk@suse.de>
24269
24270 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24271 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24272 * nscd/hstcache.c (cache_addhst): Likewise.
24273 * nscd/grpcache.c (cache_addgr): Likewise.
24274 * nscd/aicache.c (addhstaiX): Likewise
24275
6d4d8e8e
AS
242762011-07-01 Andreas Schwab <schwab@redhat.com>
24277
24278 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24279 domain only when needed.
24280
89f654c5
AS
242812011-06-30 Andreas Schwab <schwab@redhat.com>
24282
24283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24284 is always restored.
24285
cf3b23ff
UD
242862011-06-29 Ulrich Drepper <drepper@gmail.com>
24287
24288 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24289 are re-adding the entry.
24290 * nscd/servicescache.c (cache_addserv): Likewise.
24291
751626f9
AJ
242922011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24293
24294 * sysdeps/generic/dl-irel.h: fix protection against multiple
24295 inclusions.
24296 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24297
9113ea1f
UD
242982011-06-28 Ulrich Drepper <drepper@gmail.com>
24299
5c0b8d90
UD
24300 [BZ #12935]
24301 * malloc/memusage.sh: Fix quoting in message.
24302 * debug/xtrace.sh: Likewise.
24303
9113ea1f
UD
24304 * configure.in: Remove support for --experimental-malloc option, make
24305 it the default.
24306 * config.make.in: Likewise.
24307 * malloc/Makefile: Likewise.
24308
a4172181
AS
243092011-06-27 Andreas Schwab <schwab@redhat.com>
24310
24311 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24312 two-byte characters.
24313
78a7eee7
RM
243142011-06-27 Roland McGrath <roland@hack.frob.com>
24315
62bede13
RM
24316 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24317 AC_CACHE_CHECK invocation.
24318 * configure: Regenerated.
24319
78a7eee7
RM
24320 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24321
5ce33a62
UD
243222011-06-27 Ulrich Drepper <drepper@gmail.com>
24323
034807a9
UD
24324 [BZ #12350]
24325 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24326 bit from old_res_options.
24327
4902da17
UD
24328 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24329
5ce33a62
UD
24330 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24331 value type for setfct.
24332
c2344f56
L
243332011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24334
24335 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24336 __gettimeofday instead of gettimeofday.
24337
68468076
UD
243382011-06-26 Ulrich Drepper <drepper@gmail.com>
24339
24340 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24341
acb0d739
L
243422011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24343
24344 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24345
24346 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24347 info.
24348
8912479f
L
243492011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24350
24351 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24352 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24353 strcpy-sse2-unaligned strncpy-sse2-unaligned
24354 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24355 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24356 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24357 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24358 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24359 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24360 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24361 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24362 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24363 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24364 (STRCPY): Support SSE2 and SSSE3 versions.
24365
d5495a11
UD
243662011-06-24 Ulrich Drepper <drepper@gmail.com>
24367
24368 [BZ #12874]
24369 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24370 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24371 kernels which artificially limit size of requests.
24372
0b1cbaae
L
243732011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24374
24375 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24376 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24377 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24378 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24379 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24380 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24381 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24382 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24383 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24384 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24385 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24386 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24387 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24388 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24389 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24390 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24391 Enable unaligned load optimization for Intel Core i3, i5 and i7
24392 processors.
24393 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24394 Define.
24395 (index_Fast_Unaligned_Load): Define.
24396 (HAS_FAST_UNALIGNED_LOAD): Define.
24397
07f494a0
MP
243982011-06-23 Marek Polacek <mpolacek@redhat.com>
24399
24400 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24401
fa3fc0fe
UD
244022011-06-22 Ulrich Drepper <drepper@gmail.com>
24403
24404 [BZ #12907]
24405 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24406 until it is clear that the information is realy needed.
24407 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24408
e12df166
AS
244092011-06-22 Andreas Schwab <schwab@redhat.com>
24410
24411 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24412
852eb34d
UD
244132011-06-22 Ulrich Drepper <drepper@gmail.com>
24414
84e2a551
UD
24415 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24416 /sys/devices/system/cpu/online if it is usable.
24417
852eb34d
UD
24418 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24419 reading the information from the /proc filesystem to once a second.
24420
6e502e19
UD
244212011-06-21 Andreas Jaeger <aj@suse.de>
24422
24423 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24424 NULL after inclusion of kernel headers.
24425
75d39ff2
UD
244262011-06-21 Ulrich Drepper <drepper@gmail.com>
24427
51f9aa6a
UD
24428 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24429 calls to internal_setent.
24430
c0244a9d
UD
24431 [BZ #12885]
24432 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24433 addresses using gethostbyname4_r ignore IPv4 addresses.
24434
c5e3c2ae
UD
24435 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24436 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24437
75d39ff2
UD
24438 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24439
42675c6f
DM
244402011-06-20 David S. Miller <davem@davemloft.net>
24441
24442 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24443 inclusions.
24444 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24445
24446 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24447 (elf_irel): Use it.
24448 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24449 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24450 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24451 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24452 * sysdeps/x86_64/dl-irel.h: Likewise.
24453
24454 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24455 * elf/dl-sym.c: Likewise.
24456
57912a71
UD
244572011-06-15 Ulrich Drepper <drepper@gmail.com>
24458
24459 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24460 need to dereference resplen2.
24461
ee22793d
AS
244622011-06-14 Andreas Schwab <schwab@redhat.com>
24463
24464 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24465
a9e836b0
UD
244662011-06-15 Ulrich Drepper <drepper@gmail.com>
24467
77fb9117
UD
24468 * Makeconfig: Define vardbdir and inst_vardbdir.
24469 * nss/Makefile: Add rules to install db-Makefile.
24470
40c1b22c
UD
24471 * nss/nss_db/db-XXX.c: Cleanup.
24472
9f2da732
UD
24473 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24474 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24475 GLIBC_PRIVATE.
24476 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24477 * nss/makedb.c: Implement -g option to specify that value strings
24478 are generated and should not be added to table iterated over for
24479 get*ent calls.
24480 * nss/nss_db/db-initgroups.c: New file.
24481
82e9a1f7
UD
24482 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24483 interface.
24484
c41af17e
UD
24485 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24486 (internal_getgrouplist): Adjust to name change.
24487 Update use_initgroups_entry if this is not the first call.
24488 * nss/databases.def: Add initgroups entry.
24489
a9e836b0
UD
24490 * nss/makedb.c (compute_tables): Check result of multiple hash table
24491 sizes to minimize maximum chain length.
24492
2666d441
UD
244932011-06-14 Ulrich Drepper <drepper@gmail.com>
24494
24495 * Versions.def: Add entry for libnss_db.
24496 * shlib-versions: Likewise.
24497 * nss/Makefile: Add rules to build libnss_db.
24498 * nss/Versions: Add libnss_db information. Organize libnss_files
24499 entries better.
24500 * nss/db-Makefile: Add gshadow support. Change rules for the new
24501 makedb progra. Some minor improvements to generate smaller files.
24502 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24503 here from...
24504 * nss/makedb.c: ...here.
24505 Improve database format to be smaller and require less memory at
24506 runtime.
24507 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24508 db anymore.
24509 * nss/nss_db/db-netgrp.c: Likewise.
24510 * nss/nss_db/db-open.c: Likewise.
24511 * nss/nss_files/flies-XXX.x: Adjust comments.
24512 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24513 * nss/nss_files/files-grp.c: Likewise.
24514 * nss/nss_files/files-hosts.c: Likewise.
24515 * nss/nss_files/files-network.c: Likewise.
24516 * nss/nss_files/files-proto.c: Likewise.
24517 * nss/nss_files/files-pwd.c: Likewise.
24518 * nss/nss_files/files-rpc.c: Likewise.
24519 * nss/nss_files/files-service.c: Likewise.
24520 * nss/nss_files/files-sgrp.c: Likewise.
24521 * nss/nss_files/files-spwd.c: Likewise.
24522 * nss/nss_db/db-alias.c: Removed.
24523 * nss/nss_db/dummy-db.h: Removed.
24524
9ee76b5a
UD
245252011-06-02 Ulrich Drepper <drepper@gmail.com>
24526
24527 * nss/makedb.c: Rewritten to not use database library.
24528 * nss/Makefile: Update to build new makedb program.
24529
c71ca1f8
AJ
245302011-06-14 Andreas Jaeger <aj@suse.de>
24531
24532 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24533 memset declaration.
24534
3154bfb8
UD
245352011-06-10 Andreas Schwab <schwab@redhat.com>
24536
24537 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24538 tmpbuf.
24539
b350afab
RM
245402011-06-10 Roland McGrath <roland@hack.frob.com>
24541
decd4e50
RM
24542 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24543 * elf/Makefile ($(objpfx)ld.so): Likewise.
24544
5615eaf2
RM
24545 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24546 Don't list ld.so twice in dependencies.
24547
24548 * posix/bug-regex31.c: Include <stdlib.h>.
24549
24550 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24551
24552 * nis/nss_compat/compat-spwd.c
24553 (getspent_next_nss_netgr): Remove unused variable.
24554 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24555
24556 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24557 nonmembers" output to use the right array.
24558
24559 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24560
24561 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24562
24563 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24564 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24565 * catgets/gencat.c (read_input_file): Likewise.
24566 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24567
24568 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24569 variable definition inside #if's controlling its use.
24570
24571 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24572
24573 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24574
24575 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24576
24577 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24578 unreachable code.
24579
24580 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24581
b68e08db
RM
24582 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24583 * configure: Regenerated.
24584
b350afab
RM
24585 * Makerules: Revert last change.
24586 * elf/Makefile: Likewise.
24587
28368601
RM
245882011-06-09 Roland McGrath <roland@hack.frob.com>
24589
24590 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24591 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24592 (reloc-link): Likewise.
24593
11988f8f
UD
245942011-06-09 Ulrich Drepper <drepper@gmail.com>
24595
24596 * elf/Makefile: Add rules to build pldd.
24597 * elf/pldd.c: New file.
24598 * elf/pldd-xx.c: New file.
24599
e80fab37
UD
246002011-06-07 Ulrich Drepper <drepper@gmail.com>
24601
24602 * version.h: Update for 2.15 development version.
24603
9b849836
DM
246042011-06-07 David S. Miller <davem@davemloft.net>
24605
24606 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24607 ifuncs.
24608 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24609 elf_machine_lazy_rel): Likewise.
24610 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24611 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24612 elf_machine_lazy_rel): Likewise.
24613 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24614 dl_hwcap via passed in argument.
24615 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24616 Likewise.
24617
5a31b283
AK
246182011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24619
24620 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24621
069e52f8
RM
246222011-06-06 Roland McGrath <roland@hack.frob.com>
24623
24624 [BZ #12849]
24625 * manual/fdl-1.1.texi: New file, verbatim from:
24626 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24627 * manual/lgpl-2.1.texi: New file, verbatim from:
24628 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24629 * manual/Makefile (licenses): New variable, list those new file names.
24630 (texis): Use it.
24631 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24632
24633 * manual/fdl.texi: File removed.
24634 * manual/lesser.texi: File removed.
24635 * manual/libc.texinfo (Copying, Documentation License):
24636 Use new @include file names, put @appendix directive before @include.
24637
f16846a5
JJ
246382011-06-04 Jakub Jelinek <jakub@redhat.com>
24639
24640 [BZ #12841]
24641 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24642 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24643 (mq_open): Add __NTH.
24644
3d29045b
L
246452011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24646
24647 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24648 Assume Intel Core i3/i5/i7 processor if AVX is available.
24649
8c297311
UD
246502011-05-31 Ulrich Drepper <drepper@gmail.com>
24651
24652 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24653 typo.
24654
c8fc0c91
UD
246552011-05-31 Andreas Schwab <schwab@redhat.com>
24656
24657 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24658 memory. Use alloca_account. Fix memory leak when retrying.
24659
5b27a807
UD
246602011-05-31 Ulrich Drepper <drepper@gmail.com>
24661
356f8bc6
UD
24662 * version.h (RELEASE): Bump for 2.14 release.
24663 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24664
5b27a807
UD
24665 * config.make.in (RANLIB): Remove entry.
24666
01f16ab0
UD
246672011-05-30 Ulrich Drepper <drepper@gmail.com>
24668
41fce8bd
UD
24669 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24670 (libc.pot): Work around missing support for .ksh extension in xgettext.
24671
4769ae77
UD
24672 [BZ #12684]
24673 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24674 if both request failed.
24675 (send_dg): In case of server errors clear resplen or *resplen2.
24676
6b1e7d19
UD
24677 [BZ #12454]
24678 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24679 when there are multiple maps.
24680 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24681 (_dl_fini): Remove test here.
24682
01f16ab0
UD
24683 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24684
b1ebd700
UD
246852011-05-29 Ulrich Drepper <drepper@gmail.com>
24686
7ae22829
UD
24687 [BZ #12350]
24688 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24689 bit from old_res_options.
24690 (gaih_inet): Likewise.
24691
553149f6 24692 [BZ #11099]
18a84741 24693 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
24694 as signed.
24695
652ffab1
UD
24696 * resolv/res_init.c (res_setoptions): Make the code more compact.
24697
16985fd0
UD
24698 [BZ #11558]
24699 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24700 set RES_USEVC.
24701
0464f746
UD
24702 [BZ #11634]
24703 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24704
7d17596c
UD
24705 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24706
cf6bbbd7
UD
24707 [BZ #11781]
24708 * malloc/malloc.h: Declare malloc hook variables as volatile.
24709
13f1ab36
UD
24710 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24711 in last patch.
24712
b1ebd700
UD
24713 [BZ #11799]
24714 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 24715 raise in the comment.
80e2212d
UD
24716 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24717 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24718 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 24719
ce67228d
UD
247202011-05-28 Ulrich Drepper <drepper@gmail.com>
24721
8887a920
UD
24722 [BZ #12811]
24723 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24724 grow the buffers more if it already has to be sufficient.
24725 (build_wcs_upper_buffer): Likewise.
24726 * posix/regexec.c (check_matching): Likewise.
24727 (clean_state_log_if_needed): Likewise.
24728 (extend_buffers): Don't enlarge buffers beyond size of the input
24729 buffer.
24730 Patches mostly by Emil Wojak <emil@wojak.eu>.
24731 * posix/bug-regex32.c: New file.
24732 * posix/Makefile (tests): Add bug-regex32.
24733
4f031072
UD
24734 * locale/findlocale.c (_nl_find_locale): Return right away if
24735 _nl_explode_name failed.
24736 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24737
d0478f0c
UD
24738 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24739
de81b246
UD
24740 * debug/xtrace.sh: Unify messages.
24741 * malloc/memusage.sh: Likewise.
24742
c738465a
UD
24743 [BZ #12813]
24744 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24745 time symbol from vDSO. Substitute with vsyscall if not available.
24746 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24747 __vdso_time.
24748
f1f929d7
UD
24749 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24750 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24751 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24752 Add sendmmsg and internal_sendmmsg.
24753 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24754 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24755 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24756
ce67228d
UD
24757 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24758 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24759 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24760
e57420c6
UD
247612011-05-27 Ulrich Drepper <drepper@gmail.com>
24762
a8509ca5
UD
24763 [BZ #12813]
24764 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24765 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24766 available.
24767 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24768 __vdso_getcpu.
24769
e57420c6
UD
24770 [BZ #12814]
24771 * iconvdata/Makefile (tests): Add bug-iconv9.
24772 * iconvdata/bug-iconv9.c: New file.
24773
4d07db15
AS
247742011-05-27 Andreas Schwab <schwab@redhat.com>
24775
24776 [BZ #12814]
24777 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24778
ea486f69
JJ
247792011-05-25 Jakub Jelinek <jakub@redhat.com>
24780
24781 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24782 (struct user_regs_struct): Change intcs field back to cs.
24783
6f038433
UD
247842011-05-25 Ulrich Drepper <drepper@gmail.com>
24785
24786 * po/ja.po: Update from translation team.
24787
67f86a25
UD
247882011-05-23 Ulrich Drepper <drepper@gmail.com>
24789
24790 [BZ #12795]
24791 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24792 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24793
def7fbd6
AS
247942011-05-20 Andreas Schwab <schwab@redhat.com>
24795
24796 * stdlib/longlong.h: Update from GCC.
24797
f50ef8f1
AS
247982011-05-23 Andreas Schwab <schwab@redhat.com>
24799
24800 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24801 parameter name.
24802 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24803 Add parameter name.
24804 (__sysconf): Pass it down.
24805
de7ce8f1
UD
248062011-05-22 Ulrich Drepper <drepper@gmail.com>
24807
f2962a71
UD
24808 [BZ #12671]
24809 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24810 some situations.
24811 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24812 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24813 add in in __libc_use_alloca calls. Adjust callers.
24814 (glob): Use malloc in some situations.
24815
de7ce8f1
UD
24816 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24817 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24818 pltexit.
24819
aec84f53
UD
248202011-05-21 Ulrich Drepper <drepper@gmail.com>
24821
05bb4a68
UD
24822 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24823 and CLOCK_BOOTTIME_ALARM.
24824
7ea72f99
UD
24825 [BZ #12782]
24826 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24827 is returned.
24828
7e4afad5
UD
24829 * string/_strerror.c (__strerror_r): Print negative errors as signed
24830 numbers.
24831
8e211fec
UD
24832 [BZ #12777]
24833 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24834 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24835 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24836
f7d82dc9
UD
24837 * configure.in: Fix typo in redirection and correct removal of test
24838 files in two cases.
24839
cc9e536d
UD
24840 [BZ #12788]
24841 * locale/setlocale.c (new_composite_name): Fix test to check for
24842 identical name of all categories.
24843
aec84f53
UD
24844 [BZ #12792]
24845 * libio/filedoalloc.c (local_isatty): New function.
24846 (_IO_file_doallocate): Use local_isatty.
24847 * stdio-common/perror.c (perror): In case a new stream is used
24848 forward the stream error.
24849 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24850 error flag.
24851
78e64fdc
RT
248522011-05-20 Ulrich Drepper <drepper@gmail.com>
24853
34a9094f
UD
24854 [BZ #11869]
24855 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24856 alloca.
24857 * include/alloca.h (extend_alloca_account): Define.
24858
78e64fdc
RT
24859 [BZ #11857]
24860 * posix/regex.h: Fix comments with documentation of user-accessible
24861 fields after compilation and describe correct free'ing of pattern
24862 after re_compile_pattern.
24863 Patch by Reuben Thomas <rrt@sc3d.org>.
24864
457bddfc
RA
248652011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
24866
24867 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24868 and -mno-altivec to prevent the compiler from using Altivec and/or
24869 VSX instructions when the corresponding registers are not available.
24870
a4527b51
AS
248712011-05-19 Andreas Schwab <schwab@redhat.com>
24872
24873 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24874
ed690b2f
UD
248752011-05-19 Ulrich Drepper <drepper@gmail.com>
24876
24877 * libio/freopen.c (freopen): Use __dup2, not dup2.
24878 * libio/freopen64.c (freopen64): Likewise.
24879
8db73634
L
248802011-05-17 H.J. Lu <hongjiu.lu@intel.com>
24881
24882 [BZ #12775]
24883 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24884 * math/Makefile (tests): Add test-powl.
24885 (CFLAGS-test-powl.c): Define.
24886 * math/test-powl.c: New file.
24887
0a197a9d
L
248882011-05-16 H.J. Lu <hongjiu.lu@intel.com>
24889
24890 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24891
ee30c380
UD
248922011-05-17 Ulrich Drepper <drepper@gmail.com>
24893
24894 [BZ #11837]
24895 * iconvdata/gb18030.c: Update to GB18020-2005.
24896
6ce75379
UD
248972011-05-16 Ulrich Drepper <drepper@gmail.com>
24898
a4b89fd8
AR
24899 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24900 RE_SYNTAX_POSIX_AWK): Update to match recent development.
24901 Patch by Aharon Robbins <arnold@skeeve.com>.
24902
ea389b12
UD
24903 [BZ #11892]
24904 * stdlib/putenv.c (putenv): Don't always create copy of the variable
24905 on the stack.
24906
68a3f91f
UD
24907 [BZ #11895]
24908 * misc/pselect.c (__pselect): Handle timeout value errors hidden
24909 through underflows.
24910
15cc7dd1
UD
24911 [BZ #12766]
24912 * misc/error.c (error_at_line): Ensure file_name and old_file_name
24913 point to strings before performing equality test for error_one_per_line
24914 mode.
24915
f3799213
UD
24916 [BZ #11697]
24917 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24918
d79a9c94
UD
24919 [BZ #11820]
24920 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24921 (struct user_fpregs_struct): Avoid __uint*_t types.
24922
56e5eb46
UD
24923 [BZ #6420]
24924 * malloc/mtrace.c (tr_where): Add additional parameter to point to
24925 symbol info. Use it instead of calling _dl_addr locally.
24926 (lock_and_info): New function.
24927 (tr_freehook): Call lock_and_info and pass symbol info as additional
24928 parameter to tr_where.
24929 (tr_mallochook): Likewise.
24930 (tr_reallochook): Likewise.
24931 (tr_memalignhook): Likewise.
24932
6ce75379
UD
24933 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
24934 used and couldn't be at all thread-safe.
24935
f8a3b5bf
UD
249362011-05-15 Ulrich Drepper <drepper@gmail.com>
24937
94b7cc37
UD
24938 * libio/freopen.c (freopen): Don't close old file descriptor
24939 before the new one is opened. Instead dup the new file descriptor
24940 to the old one after the new stream is created.
24941 * libio/freopen64.c (freopen64): Likewise.
24942 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24943 * libio/fileops.c (_IO_new_file_close_it): Handle new
24944 _IO_FLAGS2_NOCLOSE flag.
24945 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
24946 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
24947 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
24948 _IO_FLAGS2_NOCLOSE flag.
24949 * include/unistd.h: Add hidden_proto for dup3.
24950 Define __have_dup3.
24951 * io/dup3.c: Define hidden symbol.
24952 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
24953
bd25564e
UD
24954 [BZ #7101]
24955 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
24956 when an incomplete long option is used.
24957 * posix/tst-getopt_long1.c: New file.
24958 * posix/Makefile (tests): Add tst-getopt_long1.
24959
c84cfef4
UD
24960 [BZ #10138]
24961 * scripts/config.guess: Update from autoconf-2.68.
24962 * scripts/config.sub: Likewise.
24963
3b85df27
UD
24964 [BZ #10157]
24965 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
24966 tests into ...
24967 (has_cpuclock): ...this. New function.
24968 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
24969 macro here based on has_cpuclock code.
24970
15a856b1
UD
24971 [BZ #10149]
24972 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24973 First byte (not low byte) is now always NUL.
24974 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
24975
05f399e6
UD
24976 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24977 Use non-cancelable interfaces.
24978
10a52685 24979 [BZ #9809]
94ecc67d
UD
24980 * locale/iso-639.def: Add entry for Sorani.
24981
f8a3b5bf
UD
24982 [BZ #11901]
24983 * include/stdlib.h: Move include protection to the right place.
24984 Define abort_msg_s. Declare __abort_msg with it.
24985 * stdlib/abort.c (__abort_msg): Adjust type.
24986 * assert/assert.c (__assert_fail_base): New function. Majority
24987 of code from __assert_fail. Allocate memory for __abort_msg with
24988 mmap.
24989 (__assert_fail): Now call __assert_fail_base.
24990 * assert/assert-perr.c: Remove bulk of implementation. Use
24991 __assert_fail_base.
24992 * include/assert.hL Declare __assert_fail_base.
24993 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
24994 mmap.
24995 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
24996
1af4e298
UD
249972011-05-14 Ulrich Drepper <drepper@gmail.com>
24998
f8a3b5bf 24999 [BZ #11952]
d26dfc60
MG
25000 [BZ #12453]
25001 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25002 until all modules are registered in the DTV.
25003 * elf/Makefile: Add rules to build and run tst-tls19.
25004 * elf/tst-tls19.c: New file.
25005 * elf/tst-tls19mod1.c: New file.
25006 * elf/tst-tls19mod2.c: New file.
25007 * elf/tst-tls19mod3.c: New file.
25008 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25009
2fc54d6f
UD
25010 [BZ #12083]
25011 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25012 correctly.
25013
98d76b46
UD
25014 [BZ #12601]
25015 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25016 two-byte sequence errors.
25017 * iconvdata/Makefile (tests): Add bug-iconv8.
25018 * iconvdata/bug-iconv8.c: New file.
25019
da3c19ef
UD
25020 [BZ #12626]
25021 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25022 buf2 definition.
25023
ca408c15
UD
25024 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25025
d6f67f7d
UD
25026 [BZ #12432]
25027 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25028 (dummy_getcfa): New function.
25029 (init): Get _Unwind_GetCFA address, use dummy if not found.
25030 (backtrace_helper): In recursion check, also check whether CFA changes.
25031 (__backtrace): Completely initialize arg.
25032
1af4e298 25033 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
25034 storing incomplete byte sequence in state object. Avoid testing for
25035 guaranteed too small input if we know there is enough data available.
1af4e298 25036
da62f81b
AS
250372011-05-11 Andreas Schwab <schwab@redhat.com>
25038
25039 * Makeconfig (+link-pie): Indent.
25040 * Rules (binaries-pie): Define if $(have-fpie) and
25041 $(build-shared).
25042 (binaries-shared): Also filter out $(binaries-pie).
25043 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25044 * nscd/Makefile (others-pie): Add nscd.
25045 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25046 ($(objpfx)nscd): Remove command override.
25047 * login/Makefile (others-pie): Add pt_chown.
25048 ($(objpfx)pt_chown): Remove command override.
25049 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25050 remove command overrides.
25051
fcabc0f8
UD
250522011-05-13 Ulrich Drepper <drepper@gmail.com>
25053
20030ae6
UD
25054 * libio/tst_putwc.c: Fix error messages.
25055
fcabc0f8
UD
25056 [BZ #12724]
25057 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25058 currently writing and seek to current position when not.
25059 * libio/Makefile (tests): Add bug-fclose1.
25060 * libio/bug-fclose1.c: New file.
25061
320a5dc0
PB
250622011-05-12 Ulrich Drepper <drepper@gmail.com>
25063
25064 [BZ #12511]
25065 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25066 don't set DF_1_NODELETE here.
25067 (do_lookup_x): When entering new entry test for copy relocation
25068 and if necessary set DF_1_NODELETE flag.
25069 * elf/tst-unique4.cc: New file.
25070 * elf/tst-unique4.h: New file.
25071 * elf/tst-unique4lib.cc: New file.
25072 * elf/Makefile: Add rules to build and run tst-unique4.
25073 Patch by Piotr Bury <pbury@goahead.com>.
25074
22836f52
UD
250752011-05-11 Ulrich Drepper <drepper@gmail.com>
25076
f574184a
UD
25077 [BZ #12052]
25078 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25079
e1fb097f
UD
25080 [BZ #12625]
25081 * misc/mntent_r.c (addmntent): Flush the stream after the output
25082
22836f52
UD
25083 [BZ #12393]
25084 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25085 (is_trusted_path_normalize): Skip initial colon. Append slash
25086 to empty buffer. Duplicate is_trusted_path code but allow
25087 constructed patch to be prefix.
25088 (is_dst): Allow $ORIGIN followed by /.
25089 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25090 Correct testing of result of is_trusted_path_normalize
25091 (decompose_rpath): Fix warning.
25092
7b3b0b2a
UD
250932011-05-10 Ulrich Drepper <drepper@gmail.com>
25094
25095 [BZ #11257]
25096 * grp/initgroups.c (internal_getgrouplist): When we found the service
25097 list through the initgroups entry in nsswitch.conf do not always
25098 continue on a successful lookup. Don't always use the
eac80ce2 25099 __nss_group_database value if it is set.
7b3b0b2a
UD
25100 * nss/nsswitch.conf (initgroups): Change action for successful db
25101 lookup to continue for compatibility.
25102
2a81eaa5
UD
251032011-05-09 Ulrich Drepper <drepper@gmail.com>
25104
be97a69e
UD
25105 [BZ #11532]
25106 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25107 and CP774 modules.
25108 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25109 and CP774 modules.
25110 * iconvdata/tst-tables.sh: Likewise.
25111 * iconvdata/cp770.c: New file.
25112 * iconvdata/cp771.c: New file.
25113 * iconvdata/cp772.c: New file.
25114 * iconvdata/cp773.c: New file.
25115 * iconvdata/cp774.c: New file.
25116 * iconvdata/testdata/CP770: New file.
25117 * iconvdata/testdata/CP770..UTF8: New file.
25118 * iconvdata/testdata/CP771: New file.
25119 * iconvdata/testdata/CP771..UTF8: New file.
25120 * iconvdata/testdata/CP772: New file.
25121 * iconvdata/testdata/CP772..UTF8: New file.
25122 * iconvdata/testdata/CP773: New file.
25123 * iconvdata/testdata/CP773..UTF8: New file.
25124 * iconvdata/testdata/CP774: New file.
25125 * iconvdata/testdata/CP774..UTF8: New file.
25126
25127 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25128 END CHARMAP line.
25129 * iconvdata/gen-8bit-gap.sh: Likewise.
25130 * iconvdata/gen-8bit.sh: Likewise.
25131
c1e9e399
UD
25132 * locale/iso-639.def: Add ary entry.
25133
24c55fb3 25134 [BZ #11258]
96b4b1b0
UD
25135 * locale/C-translit.h.in: Add U20A1 transliteration.
25136
bdc2f971
KB
25137 [BZ #12178]
25138 * locale/iso-639.def: Add wae entry.
25139 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25140
2952b117
UD
25141 [BZ #12545]
25142 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25143 for n.
25144
2a81eaa5
UD
25145 [BZ #12711]
25146 * locale/C-translit.h.in: Add entry for U20B9.
25147 Patch by pravin.d.s@gmail.com.
25148
28377d1b
UD
251492011-05-08 Ulrich Drepper <drepper@gmail.com>
25150
7fb90fb8
UD
25151 [BZ #12713]
25152 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25153 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
25154 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25155 in rtld. Use *stat64.
7fb90fb8 25156 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 25157 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 25158 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
25159 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25160 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25161 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25162 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25163 __fstatat64 macros.
7fb90fb8
UD
25164 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25165 * dirent/rewinddir.c: Add libc_hidden_def.
25166 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 25167 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 25168
28377d1b
UD
25169 * include/dirent.h (__alloc_dir): Add flags parameter.
25170 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25171 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25172 __alloc_dir.
25173 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25174 from fdopendir if O_CLOEXEC is already set.
25175
66bdbaa4
AM
251762011-03-15 Alan Modra <amodra@gmail.com>
25177
25178 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25179 l_tls_firstbyte_offset non-zero. Save padding offset in
25180 l_tls_firstbyte_offset for later use.
25181 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25182 freeing static tls block.
25183
95721191
JN
251842011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25185
25186 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25187 where #ifdef was intended. The intent is to prevent ARG_MAX from
25188 being defined by the kernel headers.
25189
f87dfb1f
UD
251902011-05-07 Ulrich Drepper <drepper@gmail.com>
25191
25192 [BZ #12734]
25193 * resolv/resolv.h: Define RES_NOTLDQUERY.
25194 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25195 no-tld-query and set RES_NOTLDQUERY.
25196 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25197 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25198 modern BIND to search name as TLD unless forbidden.
25199
47c3cd7a
UD
252002011-05-07 Petr Baudis <pasky@suse.cz>
25201 Ulrich Drepper <drepper@gmail.com>
25202
25203 [BZ #12393]
25204 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25205 (is_trusted_path): ...to here.
c1e9ea35 25206 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 25207 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 25208 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 25209
8a35c912
PP
252102011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25211
25212 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25213 __BEGIN/__END_DECLS.
25214
acd41f47
UD
252152011-05-06 Ulrich Drepper <drepper@gmail.com>
25216
25217 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25218 NSS_STATUS_NOTFOUND if no record was found.
25219
597df647
AS
252202011-05-05 Andreas Schwab <schwab@redhat.com>
25221
25222 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25223 (headers-not-in-tirpc): Remove rpc/netdb.h
25224 * resolv/netdb.h: Revert last change.
25225
b9af1301
PP
252262011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25227
25228 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25229 circular dependency between libgcc.a and libc.a.
25230
4e34d5f5
AS
252312011-05-05 Andreas Schwab <schwab@redhat.com>
25232
25233 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25234 * nis/Makefile: Don't install rpcsvc/*.
25235 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25236 instead of <rpc/types.h>.
25237 (MAXHOSTNAMELEN): Define.
25238
00ee369c
AS
252392011-05-03 Andreas Schwab <schwab@redhat.com>
25240
25241 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25242
0b592a30
MB
252432011-04-28 Maciej Babinski <mbabinski@google.com>
25244
25245 [BZ #12714]
25246 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25247 gethostbyname4_r when IPv6 results are possible.
25248
6e04cbbe
UD
252492011-05-02 Ulrich Drepper <drepper@gmail.com>
25250
25251 [BZ #12723]
25252 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25253 _PC_PIPE_BUF handling.
25254
e4ecafe0
BH
252552011-04-30 Bruno Haible <bruno@clisp.org>
25256
25257 [BZ #12717]
25258 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25259 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25260 to 'int'.
25261 * inet/getnameinfo.c (getnameinfo): Likewise.
25262
125ee683
UD
252632011-04-29 Ulrich Drepper <drepper@gmail.com>
25264
25265 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25266 to groups setting in database lookup.
25267 * nss/nsswitch.conf: Add initgroups entry.
25268
b722481a
EB
252692011-04-22 Ulrich Drepper <drepper@gmail.com>
25270
25271 [BZ #12685]
25272 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25273 mode string.
25274 Patch by Eric Blake <eblake@redhat.com>.
25275
4df46dbd
L
252762011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25277
25278 * sunrpc/Makefile (need-export-routines): Add svc_run.
25279 (routines): Remove svc_run.
25280 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25281 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25282 * sunrpc/svc_run.c (svc_run): Likewise.
25283 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25284
e84142d2
UD
252852011-04-21 Ulrich Drepper <drepper@gmail.com>
25286
25287 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25288 problem in reallocation in last patch.
25289
877175d8
UD
252902011-04-20 Ulrich Drepper <drepper@gmail.com>
25291
25292 * sunrpc/Makefile: Move inclusion of Rules.
25293
ab8eed78
UD
252942011-04-19 Ulrich Drepper <drepper@gmail.com>
25295
25296 * nss/nss_files/files-initgroups.c: New file.
25297 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25298 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25299 _nss_files_initgroups_dyn.
25300
e3d8f584
RS
253012011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25302
25303 * elf/elf.h (R_ARM_IRELATIVE): Define.
25304
af190f45
UD
253052011-04-19 Ulrich Drepper <drepper@gmail.com>
25306
25307 * po/ru.po: Update from translation team.
25308
53cf59ef
UD
253092011-04-17 Ulrich Drepper <drepper@gmail.com>
25310
25311 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25312 dependencies.
25313
4c559bcd
MF
253142011-02-06 Mike Frysinger <vapier@gentoo.org>
25315
25316 [BZ #12653]
25317 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25318 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25319 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25320 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25321 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25322
4420675c
AS
253232011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25324
25325 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25326 differing bytes.
25327 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25328 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25329 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25330
75ea32ab
UD
253312011-04-17 Ulrich Drepper <drepper@gmail.com>
25332
25333 [BZ #12420]
25334 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25335 storing it.
25336 * stdlib/bug-getcontext.c: New file.
25337 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25338
27390476
AK
253392011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25340
25341 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25342 instructions into .machine "z9-109".
25343 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25344 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25345
10442705
AK
253462011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25347
25348 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25349 between environment variables and auxiliary vector.
25350
7b57bfe5
UD
253512011-04-16 Ulrich Drepper <drepper@gmail.com>
25352
25353 * Makefile: Add rules to build linkobj/libc.so.
25354 * include/libc-symbols.h: Define libc_hidden_nolink.
25355 * include/rpc/auth.h: Mark functions which are to be hidden.
25356 * include/rpc/auth_des.h: Likewise.
25357 * include/rpc/auth_unix.h: Likewise.
25358 * include/rpc/clnt.h: Likewise.
25359 * include/rpc/des_crypt.h: Likewise.
25360 * include/rpc/key_prot.h: Likewise.
25361 * include/rpc/pmap_clnt.h: Likewise.
25362 * include/rpc/pmap_prot.h: Likewise.
25363 * include/rpc/pmap_rmt.h: Likewise.
25364 * include/rpc/rpc_msg.h: Likewise.
25365 * include/rpc/svc.h: Likewise.
25366 * include/rpc/svc_auth.h: Likewise.
25367 * include/rpc/xdr.h: Likewise.
25368 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25369 * nss/Makefile: Likewise.
25370 * sunrpc/Makefile: Don't install headers. Build library with normal
25371 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25372 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25373 for the compat linking library. Remove use of INTDEF/INTUSE.
25374 * sunrpc/auth_none.c: Likewise.
25375 * sunrpc/auth_unix.c: Likewise.
25376 * sunrpc/authdes_prot.c: Likewise.
25377 * sunrpc/authuxprot.c: Likewise.
25378 * sunrpc/clnt_gen.c: Likewise.
25379 * sunrpc/clnt_perr.c: Likewise.
25380 * sunrpc/clnt_raw.c: Likewise.
25381 * sunrpc/clnt_simp.c: Likewise.
25382 * sunrpc/clnt_tcp.c: Likewise.
25383 * sunrpc/clnt_udp.c: Likewise.
25384 * sunrpc/clnt_unix.c: Likewise.
25385 * sunrpc/des_crypt.c: Likewise.
25386 * sunrpc/des_soft.c: Likewise.
25387 * sunrpc/get_myaddr.c: Likewise.
25388 * sunrpc/key_call.c: Likewise.
25389 * sunrpc/key_prot.c: Likewise.
25390 * sunrpc/netname.c: Likewise.
25391 * sunrpc/pm_getmaps.c: Likewise.
25392 * sunrpc/pm_getport.c: Likewise.
25393 * sunrpc/pmap_clnt.c: Likewise.
25394 * sunrpc/pmap_prot.c: Likewise.
25395 * sunrpc/pmap_prot2.c: Likewise.
25396 * sunrpc/pmap_rmt.c: Likewise.
25397 * sunrpc/publickey.c: Likewise.
25398 * sunrpc/rpc_cmsg.c: Likewise.
25399 * sunrpc/rpc_common.c: Likewise.
25400 * sunrpc/rpc_dtable.c: Likewise.
25401 * sunrpc/rpc_prot.c: Likewise.
25402 * sunrpc/rpc_thread.c: Likewise.
25403 * sunrpc/rtime.c: Likewise.
25404 * sunrpc/svc.c: Likewise.
25405 * sunrpc/svc_auth.c: Likewise.
25406 * sunrpc/svc_authux.c: Likewise.
25407 * sunrpc/svc_raw.c: Likewise.
25408 * sunrpc/svc_run.c: Likewise.
25409 * sunrpc/svc_simple.c: Likewise.
25410 * sunrpc/svc_tcp.c: Likewise.
25411 * sunrpc/svc_udp.c: Likewise.
25412 * sunrpc/svc_unix.c: Likewise.
25413 * sunrpc/svcauth_des.c: Likewise.
25414 * sunrpc/xcrypt.c: Likewise.
25415 * sunrpc/xdr.c: Likewise.
25416 * sunrpc/xdr_array.c: Likewise.
25417 * sunrpc/xdr_float.c: Likewise.
25418 * sunrpc/xdr_intXX_t.c: Likewise.
25419 * sunrpc/xdr_mem.c: Likewise.
25420 * sunrpc/xdr_rec.c: Likewise.
25421 * sunrpc/xdr_ref.c: Likewise.
25422 * sunrpc/xdr_sizeof.c: Likewise.
25423 * sunrpc/xdr_stdio.c: Likewise.
25424
e6c61494
UD
254252011-04-10 Ulrich Drepper <drepper@gmail.com>
25426
25427 [BZ #12650]
25428 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25429 * sysdeps/ia64/dl-tls.h: Likewise.
25430 * sysdeps/powerpc/dl-tls.h: Likewise.
25431 * sysdeps/s390/dl-tls.h: Likewise.
25432 * sysdeps/sh/dl-tls.h: Likewise.
25433 * sysdeps/sparc/dl-tls.h: Likewise.
25434 * sysdeps/x86_64/dl-tls.h: Likewise.
25435 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25436
34fe483e
AS
254372011-03-14 Andreas Schwab <schwab@redhat.com>
25438
25439 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25440 rpath element also skip the following colon.
25441 (expand_dynamic_string_token): Add is_path parameter and pass
25442 down to DL_DST_REQUIRED and _dl_dst_substitute.
25443 (decompose_rpath): Call expand_dynamic_string_token with
25444 non-zero is_path. Ignore empty rpaths.
25445 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25446 with zero is_path.
25447
f12a32e6
AS
254482011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25449
25450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25451 Make cancelable.
25452
38a7d692
UD
254532011-04-09 Ulrich Drepper <drepper@gmail.com>
25454
25455 [BZ #12655]
25456 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25457 Patch by Filipe David Manana <fdmanana@apache.org>.
25458
e451d22b
AS
254592011-04-07 Andreas Schwab <schwab@redhat.com>
25460
25461 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25462 Maintain aligned stack.
25463 (CHECK_RSP): Remove unused macro.
25464
dedc7c7b
UD
254652011-04-03 Ulrich Drepper <drepper@gmail.com>
25466
25467 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25468 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25469
94521213
UD
254702011-04-02 Ulrich Drepper <drepper@gmail.com>
25471
25472 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25473
8cb700c0 25474 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 25475
0354e355
L
254762011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25477
25478 [BZ #12518]
25479 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25480 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25481 * sysdeps/x86_64/memmove.c: New file.
25482 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25483 (memcpy): Renamed to ...
25484 (__new_memcpy): This.
25485 (memcpy): Provide GLIBC_2_14 memcpy.
25486 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25487 (memcpy): Provide GLIBC_2_2_5 memcpy.
25488
8593482f
UD
254892011-04-01 Ulrich Drepper <drepper@gmail.com>
25490
25491 [BZ #12631]
25492 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25493
81a5726b
AS
254942011-03-30 Andreas Schwab <schwab@redhat.com>
25495
25496 * misc/syncfs.c: New file.
25497 * misc/Makefile (routines): Add syncfs.
25498 * posix/unistd.h: Declare syncfs.
25499 * sysdeps/unix/syscalls.list: Add syncfs.
25500
00e5419f
AS
255012011-04-01 Andreas Schwab <schwab@redhat.com>
25502
25503 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25504 open_by_handle_at.
25505 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25506 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25507 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25508 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25509 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25510 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25511 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25512
748876bf
UD
255132011-04-01 Ulrich Drepper <drepper@gmail.com>
25514
658e451d
UD
25515 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25516 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25517 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25518 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25519 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25520 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25521 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25522
748876bf
UD
25523 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25524 sync_file_range.c with -fexceptions.
25525 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25526 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25527 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25528 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25529 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25530 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25531 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
25532 sync_file_range as cancellation point
25533 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25534 now a wrapper around __call_sync_file_range with cancellation handling.
25535 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25536 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25537 function name to __call_sync_file_range.
25538 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25539 Add call_sync_file_range.
748876bf 25540
6e63d5e1
AS
255412011-04-01 Andreas Schwab <schwab@redhat.com>
25542
25543 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 25544 bits/timex.h.
6e63d5e1 25545
46998f74
UD
255462011-04-01 Ulrich Drepper <drepper@gmail.com>
25547
4c1423ed
UD
25548 * iconv/iconv.h: Fix typo in comment.
25549 * io/fcntl.h: Likewise.
25550 * libio/stdio.h: Likewise.
25551 * posix/spawn.h: Likewise.
25552 * posix/unistd.h: Likewise.
25553 * stdlib/stdlib.h: Likewise.
25554 * time/time.h: Likewise.
25555 * wcsmbs/wchar.h: Likewise.
25556
158648c0
UD
25557 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25558 open_by_handle): Add.
25559 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25560 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25561 Augment a few comments.
25562 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25563 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25564 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25565 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25566 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25567 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25568 open_by_handle.
25569
46998f74
UD
25570 * io/fcntl.h (AT_EMPTY_PATH): Define.
25571
83fe108b
UD
255722011-03-30 Ulrich Drepper <drepper@gmail.com>
25573
25574 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25575 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25576 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25577 to...
25578 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
25579 * Versions.def: Add GLIBC_2.14.
25580 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25581 Export.
83fe108b 25582
bb242059
UD
255832011-03-22 Ulrich Drepper <drepper@gmail.com>
25584
25585 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25586 round counter.
25587 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25588
c97a1282
L
255892011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25590
25591 [BZ #12597]
25592 * string/test-strncmp.c (do_page_test): New function.
25593 (check2): Likewise.
25594 (test_main): Call check2.
25595 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25596
2a115601
UD
255972011-03-20 Ulrich Drepper <drepper@gmail.com>
25598
25599 [BZ #12587]
25600 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25601 Handle cache information in CPU leaf 4.
25602 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25603
8126d904
UD
256042011-03-18 Ulrich Drepper <drepper@gmail.com>
25605
042c49c6 25606 [BZ #12583]
8126d904
UD
25607 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25608 character representation.
25609 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25610
ccfe366e
RA
256112011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25612
25613 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25614 END(__isnan) to END(__isnanf) to match function entry point/label
25615 EALIGN(__isnanf,...).
25616
c6e13027
JJ
256172011-03-10 Jakub Jelinek <jakub@redhat.com>
25618
25619 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25620
33f85a3f
UD
256212011-03-10 Ulrich Drepper <drepper@gmail.com>
25622
028478fa
UD
25623 [BZ #12510]
25624 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25625 copy from the symbol referenced in the relocation to initialize the
25626 used variable.
25627 Patch by Piotr Bury <pbury@goahead.com>.
25628 * elf/Makefile: Add rules to build and tst-unique3.
25629 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25630 * elf/tst-unique3.cc: New file.
25631 * elf/tst-unique3.h: New file.
25632 * elf/tst-unique3lib.cc: New file.
25633 * elf/tst-unique3lib2.cc: New file.
25634
33f85a3f
UD
25635 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25636
03592fc7
MF
256372011-03-10 Mike Frysinger <vapier@gentoo.org>
25638
25639 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25640 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25641 to _start.
03592fc7 25642
6a5ee102
UD
256432011-03-06 Ulrich Drepper <drepper@gmail.com>
25644
25645 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25646 to-be-loaded object along a path to loader is ld.so.
25647
7e4ba49c
HJ
256482011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25649 Ulrich Drepper <drepper@gmail.com>
25650
25651 * sysdeps/x86_64/memset.S: After aligning destination, code
25652 branches to different locations depending on the value of
25653 misalignment, when multiarch is enabled. Fix this.
25654
256552011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25656
25657 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25658 Set _x86_64_preferred_memory_instruction for AMD processsors.
25659 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25660 Set bit_Prefer_SSE_for_memop for AMD processors.
25661
13a804de
UD
256622011-03-04 Ulrich Drepper <drepper@gmail.com>
25663
25664 * libio/fmemopen.c (fmemopen): Optimize a bit.
25665
9d25c392
AS
256662011-03-03 Andreas Schwab <schwab@redhat.com>
25667
25668 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25669
a5543c6a
RM
256702011-03-03 Roland McGrath <roland@redhat.com>
25671
25672 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25673
012d35f7
DM
256742011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25675
7e4ba49c 25676 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
25677 __bzero_ultra1 instead of __memset_ultra1.
25678
4bff6e01
AS
256792011-02-23 Andreas Schwab <schwab@redhat.com>
25680 Ulrich Drepper <drepper@gmail.com>
25681
25682 [BZ #12509]
25683 * include/link.h (struct link_map): Add l_orig_initfini.
25684 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25685 returning unsuccessfully.
25686 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25687 close of a file loaded at startup, restore the original l_initfini
25688 list.
25689 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25690 list, store the pointer.
25691 * elf/Makefile ($(objpfx)noload-mem): New rule.
25692 (noload-ENV): Define.
25693 (tests): Add $(objpfx)noload-mem.
25694 * elf/noload.c: Include <memcheck.h>.
25695 (main): Call mtrace. Close all opened handles.
25696
f2092faf
AS
256972011-02-17 Andreas Schwab <schwab@redhat.com>
25698
25699 [BZ #12454]
25700 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25701 dependencies are missing.
25702
6c8a2e88
ST
257032011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25704
f2092faf 25705 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
25706 Hurd needs munmap.
25707 * sysdeps/mach/hurd/ifreq.h: New file.
25708
84a42118
PB
257092011-01-27 Petr Baudis <pasky@suse.cz>
25710 Ulrich Drepper <drepper@gmail.com>
25711
071f805e 25712 [BZ 12445]#
84a42118
PB
25713 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25714 to extend_alloca().
25715 * stdio-common/bug23.c: New file.
25716 * stdio-common/Makefile (tests): Add bug23.
25717
e23fe25b
AS
257182010-09-28 Andreas Schwab <schwab@redhat.com>
25719 Ulrich Drepper <drepper@gmail.com>
25720
25721 [BZ #12489]
25722 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25723 before performing relro protection. At old place add assertion
25724 to make sure nothing changed.
25725
d3f02e10
NS
257262011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25727 Glauber de Oliveira Costa <glommer@gmail.com>
25728
25729 * elf/elf.h: Add new ARM TLS relocs.
25730
d55fd7a5
RA
257312011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25732
25733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25734 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25735 cast from r3.
25736 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25737 'tests' variable.
25738 * sysdeps/wordsize-64/tst-writev.c: New file.
25739
2206397e
RA
257402011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25741
25742 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25743 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25744 insns in _dl_start to prevent a TOC reference before relocs are
25745 resolved.
25746
e9433893
UD
257472011-02-15 Ulrich Drepper <drepper@gmail.com>
25748
25749 [BZ #12469]
25750 * Makeconfig: Remove RANLIB definition.
25751 * Makerules: Don't use RANLIB.
25752 * aclocal.m4: Remove ranlib test.
25753 * configure.in: No need to check for ranlib.
25754 * elf/rtld-Rules: Don't use RANLIB.
25755
f75286c6
ST
257562011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25757
8e31c82d
ST
25758 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25759 protection macro.
25760 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25761 inclusion protection macro.
25762
f75286c6
ST
25763 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25764 SIGRTMIN and SIGRTMAX and print information in that case only when
25765 SIGRTMIN is defined.
25766
c1d0e639
JJ
257672011-02-11 Jakub Jelinek <jakub@redhat.com>
25768
25769 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25770 arginfo fn returning -1.
25771
25772 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25773 and thousands string is zero terminated.
25774
edf9294e
AS
257752011-02-03 Andreas Schwab <schwab@redhat.com>
25776
25777 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25778 sysdeps/unix/sysv/linux/bits/socket.h.
25779
2b7e92df
ST
257802011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25781
edf9294e
AS
25782 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25783 (__CPU_COUNT): Remove old macros.
25784 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25785 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25786 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
25787 (__sched_cpualloc, __sched_cpufree): Add declarations.
25788
a4c7ea7b
UD
257892011-02-05 Ulrich Drepper <drepper@gmail.com>
25790
25791 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25792 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25793 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25794 (readdhstai): Return value of addhstaiX call.
25795 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25796 (addgrbyX): Return value returned by cache_addgr.
25797 (readdgrbyname): Return value returned by addgrbyX.
25798 (readdgrbygid): Likewise.
25799 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25800 (addpwbyX): Return value returned by cache_addpw.
25801 (readdpwbyname): Return value returned by addhstbyX.
25802 (readdpwbyuid): Likewise.
25803 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25804 (addservbyX): Return value returned by cache_addserv.
25805 (readdservbyname): Return value returned by addservbyX:
25806 (readdservbyport): Likewise.
25807 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25808 (addhstbyX): Return value returned by cache_addhst.
25809 (readdhstbyname): Return value returned by addhstbyX.
25810 (readdhstbyaddr): Likewise.
25811 (readdhstbynamev6): Likewise.
25812 (readdhstbyaddrv6): Likewise.
25813 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25814 (readdinitgroups): Return value returned by addinitgroupsX.
25815 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25816 (prune_cache): Keep track of timeout value of re-added entries.
25817 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25818 * nscd/nscd.h: Adjust prototypes of readd* functions.
25819
a0bf67cc
RM
258202011-02-04 Roland McGrath <roland@redhat.com>
25821
25822 * nis/nis_server.c (nis_servstate): Use the right name for 0.
25823 (nis_stats): Likewise.
25824 * nis/nis_modify.c (nis_modify): Likewise.
25825 * nis/nis_remove.c (nis_remove): Likewise.
25826 * nis/nis_add.c (nis_add): Likewise.
25827
25828 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25829
25830 * posix/fnmatch_loop.c: Add some consts.
25831
25832 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25833
435b95eb
L
258342011-02-02 H.J. Lu <hongjiu.lu@intel.com>
25835
25836 [BZ #12460]
25837 * config.make.in (config-cflags-novzeroupper): Define.
25838 * configure.in: Substitute libc_cv_cc_novzeroupper.
25839 * elf/Makefile (AVX-CFLAGS): Define.
25840 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25841 (CFLAGS-tst-auditmod4a.c): Likewise.
25842 (CFLAGS-tst-auditmod4b.c): Likewise.
25843 (CFLAGS-tst-auditmod6b.c): Likewise.
25844 (CFLAGS-tst-auditmod6c.c): Likewise.
25845 (CFLAGS-tst-auditmod7b.c): Likewise.
25846 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25847
8517b15e
UD
258482011-02-02 Ulrich Drepper <drepper@gmail.com>
25849
25850 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25851 function to the callback.
25852 Patch partly by Jiri Olsa <jolsa@redhat.com>.
25853
10a656fe
AS
258542011-02-02 Andreas Schwab <schwab@redhat.com>
25855
25856 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25857 of errno.
25858
968dad0a
UD
258592011-01-19 Ulrich Drepper <drepper@gmail.com>
25860
9f94d2ea 25861 [BZ #11724]
968dad0a
UD
25862 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25863 of constructors.
25864 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25865 of destructors.
25866 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25867
25868 [BZ #11724]
25869 * elf/Makefile: Add rules to build and run new test.
25870 * elf/tst-initorder.c: New file.
25871 * elf/tst-initorder.exp: New file.
25872 * elf/tst-initordera1.c: New file.
25873 * elf/tst-initordera2.c: New file.
25874 * elf/tst-initordera3.c: New file.
25875 * elf/tst-initordera4.c: New file.
25876 * elf/tst-initorderb1.c: New file.
25877 * elf/tst-initorderb2.c: New file.
25878 * elf/tst-order-a1.c: New file.
25879 * elf/tst-order-a2.c: New file.
25880 * elf/tst-order-a3.c: New file.
25881 * elf/tst-order-a4.c: New file.
25882 * elf/tst-order-b1.c: New file.
25883 * elf/tst-order-b2.c: New file.
25884 * elf/tst-order-main.c: New file.
25885 New test case by George Gensure <werkt0@gmail.com>.
25886
86e92359
UD
258872010-10-01 Andreas Schwab <schwab@redhat.com>
25888
25889 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25890 decoding ACE if AI_CANONIDN.
25891
5d5732b0
UD
258922011-01-18 Ulrich Drepper <drepper@gmail.com>
25893
25894 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25895
a77e8cbc
UD
258962011-01-17 Ulrich Drepper <drepper@gmail.com>
25897
6392473f
UD
25898 * version.h (RELEASE): Bump for 2.13 release.
25899 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25900
620a0529
UD
25901 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25902
18ba70a5
UD
25903 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25904 MADV_NOHUGEPAGE.
32465c3e
UD
25905 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25906 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25907 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25908 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25909 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25910 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25911
c0dafcf1
UD
25912 * posix/getconf.c: Update copyright year.
25913 * catgets/gencat.c: Likewise.
25914 * csu/version.c: Likewise.
25915 * debug/catchsegv.sh: Likewise.
25916 * debug/xtrace.sh: Likewise.
25917 * elf/ldconfig.c: Likewise.
25918 * elf/ldd.bash.in: Likewise.
25919 * elf/sprof.c (print_version): Likewise.
25920 * iconv/iconv_prog.c: Likewise.
25921 * iconv/iconvconfig.c: Likewise.
25922 * locale/programs/locale.c: Likewise.
25923 * locale/programs/localedef.c: Likewise.
25924 * malloc/memusage.sh: Likewise.
25925 * malloc/mtrace.pl: Likewise.
25926 * nscd/nscd.c (print_version): Likewise.
25927 * nss/getent.c: Likewise.
25928
a77e8cbc
UD
25929 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25930 PF_CAIF, and PF_ALG.
25931 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25932
77e8bddf
AS
259332011-01-16 Andreas Schwab <schwab@linux-m68k.org>
25934
1f20b93a
AS
25935 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25936 (modules-names): Use them.
25937 (ifunc-test-modules, ifunc-pie-tests): Define.
25938 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25939 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25940 (test-extras): Likewise.
25941 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25942 $(compile-command.c).
25943 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25944 (all-built-dso): Define.
25945 (check-textrel.out, check-execstack.out): Depend on it.
25946
77e8bddf
AS
25947 * configure.in: Don't override --enable-multi-arch.
25948
bc425b33
UD
259492011-01-15 Ulrich Drepper <drepper@gmail.com>
25950
25951 [BZ #6812]
25952 * nscd/hstcache.c (tryagain): Define.
25953 (cache_addhst): Return tryagain not notfound for temporary errors.
25954 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
25955 failed.
25956
794c3ad3
UD
259572011-01-14 Ulrich Drepper <drepper@gmail.com>
25958
70181fdd
UD
25959 [BZ #10563]
25960 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
25961 to make the syscall.
25962 * sysdeps/unix/sysv/linux/setgroups.c: New file.
25963
794c3ad3
UD
25964 [BZ #12378]
25965 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
25966 and fall back to matching as normal character if the string ends before
25967 the matching ']' is found. This is what POSIX requires.
25968 * posix/testfnm.c: Adjust test result.
25969 * posix/globtest.sh: Adjust test result. Add new test.
25970 * posix/tst-fnmatch.input: Likewise.
25971 * posix/tst-fnmatch2.c: Add new test.
25972
68dc9497
AS
259732010-12-28 Andreas Schwab <schwab@linux-m68k.org>
25974
25975 * elf/Makefile (check-execstack): Revert last change. Depend on
25976 check-execstack.h.
25977 (check-execstack.h): New target.
25978 (generated): Add check-execstack.h.
25979 * elf/check-execstack.c: Include "check-execstack.h".
25980 (main): Revert last change.
25981 (handle_file): Return zero if GNU_STACK is absent and
25982 DEFAULT_STACK_PERMS doesn't include PF_X.
25983
451f001b
UD
259842011-01-13 Ulrich Drepper <drepper@gmail.com>
25985
cfa28e56
UD
25986 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
25987 in child fails because the descriptor is already closed.
8cf8ce17
UD
25988 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
25989 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
25990 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 25991
1086d70d
UD
25992 [BZ #12397]
25993 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
25994 syscall.
25995
451f001b
UD
25996 [BZ #10484]
25997 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
25998 temporary buffer used to handle multi lookups locally.
a85b5cb4 25999 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 26000
08769175
UD
260012011-01-12 Ulrich Drepper <drepper@gmail.com>
26002
26003 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26004 loader is ld.so.
26005
5e49c52e
UD
260062011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26007
26008 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26009 alignment for SSE2.
26010
60522a5f
UD
260112011-01-12 Ulrich Drepper <drepper@gmail.com>
26012
26013 [BZ #12394]
26014 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26015 characters. When rounding increased number of integer digits recompute
26016 number of groups.
26017 * stdio-common/tst-grouping.c: New file.
26018 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26019
f257bbd7
UD
260202011-01-09 Ulrich Drepper <drepper@gmail.com>
26021
26022 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26023 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26024
26025 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26026 void.
26027 * bits/select.h: Likewise.
26028
fa9c15cb
UD
260292011-01-08 Ulrich Drepper <drepper@gmail.com>
26030
26031 * po/ja.po: Update from translation team.
26032
16c2895f
DM
260332011-01-04 David S. Miller <davem@sunset.davemloft.net>
26034
26035 [BZ #11155]
26036 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26037 implementation just like for lxstat, fxstatat, et al.
26038
2543fef2
JM
260392010-12-27 Jim Meyering <meyering@redhat.com>
26040
26041 [BZ #12348]
26042 * posix/regexec.c (build_trtable): Return failure indication upon
26043 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26044
98727dbe
UD
260452010-12-25 Ulrich Drepper <drepper@gmail.com>
26046
5bd6dc5c
UD
26047 [BZ #12201]
26048 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26049 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26050 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26051 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26052
97983464
UD
26053 [BZ #12207]
26054 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26055
98727dbe
UD
26056 [BZ #12204]
26057 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26058 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26059
4a531bb0
L
260602010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26061
26062 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26063 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26064 script has SORT_BY_INIT_PRIORITY.
26065 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26066 NO_CTORS_DTORS_SECTIONS is defined.
26067 * elf/soinit.c: Likewise.
26068 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26069 NO_CTORS_DTORS_SECTIONS is defined.
26070 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26071 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26072 * sysdeps/sh/init-first.c: Likewise.
26073 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26074
07eb4b71
UD
260752010-12-24 Ulrich Drepper <drepper@gmail.com>
26076
26077 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26078 always use the slow path.
26079
30950a5f
RA
260802010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26081
26082 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26083 similar rule which adds the sysdep directories to the header search in
26084 order to pick up the correct platform stackinfo.h.
26085 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26086 perform test if it is, otherwise return successfully without testing.
26087 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26088 DEFAULT_STACK_PERMS define in stackinfo.h.
26089 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26090 defined in stackinfo.h.
26091 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26092 DEFAULT_STACK_PERMS defined in stackinfo.h.
26093 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26094 * sysdeps/ia64/stackinfo.h: Likewise.
26095 * sysdeps/s390/stackinfo.h: Likewise.
26096 * sysdeps/sh/stackinfo.h: Likewise.
26097 * sysdeps/sparc/stackinfo.h: Likewise.
26098 * sysdeps/x86_64/stackinfo.h: Likewise.
26099 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26100 PF_X for powerpc64. Retain PF_X for powerpc32.
26101
db753e2c
UD
261022010-12-19 Ulrich Drepper <drepper@gmail.com>
26103
14b697f7
UD
26104 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26105 accurately.
db753e2c
UD
26106 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26107 GETDENTS_64BIT_ALIGNED.
26108
28300719
UD
261092010-12-14 Ulrich Drepper <dreper@gmail.com>
26110
14b697f7 26111 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 26112
4f197237
AS
261132010-12-10 Andreas Schwab <schwab@redhat.com>
26114
dbb0472f
AS
26115 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26116 _GNU_SOURCE.
26117
4f197237
AS
26118 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26119 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26120 Remove __restrict.
26121 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26122 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26123
fb88ac72
UD
261242010-12-09 Ulrich Drepper <drepper@gmail.com>
26125
26126 [BZ #11655]
26127 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26128 are initialized.
26129
42acbb92
JJ
261302010-12-09 Jakub Jelinek <jakub@redhat.com>
26131
26132 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26133
c038d98d
UD
261342010-12-03 Ulrich Drepper <drepper@gmail.com>
26135
26136 * po/it.po: Update from translation team.
26137
3a4a2499
L
261382010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26139
26140 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26141 unused codes.
26142
1e24cf6e
UD
261432010-11-30 Ulrich Drepper <drepper@gmail.com>
26144
26145 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26146
a7690819
AS
261472010-11-24 Andreas Schwab <schwab@redhat.com>
26148
26149 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26150 specially.
26151 (gaih_getanswer_slice): Likewise.
26152
3bf8d1b1
JJ
261532010-10-20 Jakub Jelinek <jakub@redhat.com>
26154
26155 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26156
6db52fbb
PB
261572010-05-31 Petr Baudis <pasky@suse.cz>
26158
26159 [BZ #11149]
26160 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26161 silently even in the chroot mode.
26162
eaca7569
UD
261632010-11-22 Ulrich Drepper <drepper@gmail.com>
26164
26165 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26166 last patch a bit. Pretty printing
26167
3056dcdb
UD
261682010-05-31 Petr Baudis <pasky@suse.cz>
26169
26170 [BZ #10085]
26171 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26172 initialization of skip_initgroups_dyn.
26173
cf7c9078
UD
261742010-11-19 Ulrich Drepper <drepper@gmail.com>
26175
26176 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26177 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26178
a1fb5e3e
UD
261792010-11-16 Ulrich Drepper <drepper@gmail.com>
26180
26181 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26182
3540d66b
AS
261832010-11-11 Andreas Schwab <schwab@redhat.com>
26184
26185 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26186 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26187 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26188 ($(objpfx)tst-fnmatch-mem): New rule.
26189 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26190 * posix/tst-fnmatch.c (main): Call mtrace.
26191
13b69574
L
261922010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26193
26194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26195 Support Intel processor model 6 and model 0x2c.
26196
da93d214
LM
261972010-11-10 Luis Machado <luisgpm@br.ibm.com>
26198
26199 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26200 signed comparison.
26201
8ca52c6e
L
262022010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26203
26204 [BZ #12205]
26205 * string/test-strncasecmp.c (check_result): New function.
26206 (do_one_test): Use it.
26207 (check1): New function.
26208 (test_main): Use it.
26209 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26210 Support strcasecmp and strncasecmp.
26211
69da074d
UD
262122010-11-08 Ulrich Drepper <drepper@gmail.com>
26213
26214 [BZ #12194]
26215 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26216 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26217
ff02d528
L
262182010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26219
26220 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26221 IFUNC support.
26222 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26223 memset-x86-64.
26224 * sysdeps/x86_64/multiarch/bzero.S: New file.
26225 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26226 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26227 * sysdeps/x86_64/multiarch/memset.S: New file.
26228 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26229 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26230 Set bit_Prefer_SSE_for_memop for Intel processors.
26231 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26232 Define.
26233 (index_Prefer_SSE_for_memop): Define.
26234 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26235
344d0b54
LM
262362010-11-04 Luis Machado <luisgpm@br.ibm.com>
26237
26238 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26239 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26240
c0dde15b
UD
262412010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26242
26243 [BZ #12191]
26244 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26245 (__x86_64_raw_data_cache_size_half): Likewise.
26246 (__x86_64_raw_shared_cache_size): Likewise.
26247 (__x86_64_raw_shared_cache_size_half): Likewise.
26248
26249 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26250 (__x86_64_raw_data_cache_size_half): Likewise.
26251 (__x86_64_raw_shared_cache_size): Likewise.
26252 (__x86_64_raw_shared_cache_size_half): Likewise.
26253 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26254 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26255 and __x86_64_raw_shared_cache_size_half. Round
26256 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26257 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26258 to multiple of 256 bytes.
26259
0e516e0e
MS
262602010-11-03 Ulrich Drepper <drepper@gmail.com>
26261
26262 [BZ #12167]
26263 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26264 of inacessible symlinks. Verify result of symlink before returning it.
26265 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26266 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26267
0e012e87
ER
262682010-10-28 Erich Ritz <erichritz@gmail.com>
26269
26270 * math/math.h (isinf): Fix typo in comment.
26271
de0ff7bc
UD
262722010-11-01 Ulrich Drepper <drepper@gmail.com>
26273
26274 * po/da.po: Update from translation team.
26275
fa41c84d
UD
262762010-10-26 Ulrich Drepper <drepper@gmail.com>
26277
26278 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26279 is added to the list.
26280
f0967738
AK
262812010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26282 Ulrich Drepper <drepper@gmail.com>
26283
26284 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26285 the global list here. Move code to...
26286 (_dl_add_to_namespace_list): ...here. New function.
26287 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26288 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26289 * elf/dl-load.c (lose): Don't remove the element from the list.
26290 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26291 (_dl_map_object): Likewise.
26292
262932010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
26294
26295 [BZ #12159]
26296 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26297 into all bytes of SSE register.
26298 Patch by Richard Li <richardpku@gmail.com>.
26299
f0967738 263002010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
26301
26302 [BZ #12140]
26303 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26304 perturbing.
26305
d0b9e94f
MB
263062010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26307
26308 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26309 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26310 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26311 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26313 submachine.
26314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26315
8e9f92e9
AS
263162010-10-22 Andreas Schwab <schwab@redhat.com>
26317
26318 * include/dlfcn.h (__RTLD_SECURE): Define.
26319 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26320 mode & __RTLD_SECURE instead.
26321 (open_path): Rename preloaded parameter to secure.
26322 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26323 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26324 * elf/dl-deps.c (openaux): Likewise.
26325 * elf/rtld.c (struct map_args): Remove is_preloaded.
26326 (map_doit): Don't use it.
26327 (dl_main): Likewise.
26328 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26329 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26330
bc96fbda
AS
263312010-09-09 Andreas Schwab <schwab@redhat.com>
26332
26333 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26334 (sysd-rules-targets): Remove duplicates.
26335 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26336 rtld-%.$o dependency.
26337
22cd1c9b
AS
263382010-10-18 Andreas Schwab <schwab@redhat.com>
26339
26340 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26341 _dl_map_object do it.
26342
18edac48
UD
263432010-10-19 Ulrich Drepper <drepper@gmail.com>
26344
26345 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26346 fast fma builtins, define the macros in the C99 standard.
26347 (FP_FAST_FMAF): Likewise.
26348 (FP_FAST_FMAL): Likewise.
26349 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26350
26351 * bits/mathdef.h: Update copyright year.
26352 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26353
d2050124
MM
263542010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26355
26356 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26357 builtins, define the macros in the C99 standard.
26358 (FP_FAST_FMAF): Likewise.
26359 (FP_FAST_FMAL): Likewise.
26360 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26361 multiply/add.
26362 (FP_FAST_FMAF): Likewise.
26363
475facd1
JJ
263642010-10-15 Jakub Jelinek <jakub@redhat.com>
26365
26366 [BZ #3268]
26367 * math/libm-test.inc (fma_test): Some new testcases.
26368 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26369 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26370 y and infinite z. Do multiplication by C already in long double.
26371 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26372 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26373 y and infinite z. Do bitwise or of inexact bit into u.d.
26374 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26375 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26376 * sysdeps/i386/fpu/s_fma.S: Removed.
26377 * sysdeps/i386/fpu/s_fmal.S: Removed.
26378
7c08a05c
JJ
263792010-10-16 Jakub Jelinek <jakub@redhat.com>
26380
26381 [BZ #3268]
26382 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26383 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26384 computation is not scheduled after fetestexcept. Fix value
26385 of minimum denormal long double.
26386
f3f7372d
JJ
263872010-10-14 Jakub Jelinek <jakub@redhat.com>
26388
26389 [BZ #3268]
26390 * math/libm-test.inc (fma_test): Add some more tests.
26391 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26392 correctly.
26393
14d43591
AS
263942010-10-15 Andreas Schwab <schwab@redhat.com>
26395
26396 * scripts/data/localplt-s390-linux-gnu.data: New file.
26397 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26398
5e908464
JJ
263992010-10-13 Jakub Jelinek <jakub@redhat.com>
26400
26401 [BZ #3268]
26402 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26403 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26404 instead of dbl-64.
26405 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26406 inlines.
26407 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26408 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26409 if one of x and y is very large and the other is subnormal.
26410 * sysdeps/s390/fpu/s_fmaf.c: New file.
26411 * sysdeps/s390/fpu/s_fma.c: New file.
26412 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26413 * sysdeps/powerpc/fpu/s_fma.S: New file.
26414 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26415 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26416 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26417
264182010-10-12 Jakub Jelinek <jakub@redhat.com>
26419
26420 [BZ #3268]
26421 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26422 fma tests.
26423 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26424 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26425 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26426 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26427 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26428 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26429 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26430
b833d51f
UD
264312010-10-12 Ulrich Drepper <drepper@redhat.com>
26432
26433 [BZ #12078]
26434 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26435 * posix/bug-regex31.input: Add test case.
26436
1751705d
UD
264372010-10-11 Ulrich Drepper <drepper@gmail.com>
26438
e9b9cbf5
UD
26439 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26440 * posix/bug-regex31.input: New file.
26441
26442 [BZ #12078]
26443 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26444 (parse_sub_exp): Fix last change, use postorder.
26445
ef06edbe
UD
26446 * posix/bug-regex31.c: New file.
26447 * posix/Makefile: Add rules to build and run bug-regex31.
26448
a129c80d
UD
26449 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26450
26451 [BZ #12078]
26452 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26453
b76b818e
UD
26454 [BZ #12108]
26455 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26456 to have entries in sys_siglist.
26457
1751705d
UD
26458 [BZ #12093]
26459 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26460 be NULL.
26461
9ff8d36f
JJ
264622010-10-07 Jakub Jelinek <jakub@redhat.com>
26463
26464 [BZ #3268]
26465 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26466 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26467 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26468 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26469 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26470 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26471 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26472 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26473 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26474 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26475 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26476 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26477 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26478 * math/ftestexcept.c (fetestexcept): Likewise.
26479 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26480 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26481 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26482 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26483 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26484 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26485 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26486
af325969
UD
264872010-10-11 Ulrich Drepper <drepper@gmail.com>
26488
c579b202 26489 [BZ #12107]
af325969
UD
26490 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26491 newline.
26492
67a67b95
UD
264932010-10-06 Ulrich Drepper <drepper@gmail.com>
26494
26495 * string/bug-strstr1.c: New file.
26496 * string/Makefile: Add rules to build and run bug-strstr1.
26497
5fb308bc
EB
264982010-10-05 Eric Blake <eblake@redhat.com>
26499
26500 [BZ #12092]
26501 * string/str-two-way.h (two_way_long_needle): Always clear memory
26502 when skipping input due to the shift table.
26503
45db99c7
UD
265042010-10-03 Ulrich Drepper <drepper@gmail.com>
26505
3b111893
UD
26506 [BZ #12005]
26507 * malloc/mcheck.c: Handle large requests.
26508
45db99c7
UD
26509 [BZ #12077]
26510 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26511 for strncmp and strncasecmp.
26512 * string/stratcliff.c: Add tests for strcmp and strncmp.
26513 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26514
cf7a1eb8
NI
265152010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26516
26517 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26518 __set_fpscr.
26519
6484ba5e
AJ
265202010-09-30 Andreas Jaeger <aj@suse.de>
26521
26522 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26523 (CGROUP_SUPER_MAGIC): Define.
26524 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26525 Handle btrfs and cgroup file systems.
26526 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26527 Likewise.
26528
91c42559
LM
265292010-09-27 Luis Machado <luisgpm@br.ibm.com>
26530
26531 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26532 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26533
87a97932
AK
265342010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26535
26536 [BZ #12067]
26537 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26538 trying to locate the ELF header.
26539
c21cc9bc
AS
265402010-09-27 Andreas Schwab <schwab@redhat.com>
26541
26542 [BZ #11611]
26543 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26544 Mask out sign-bit copies when constructing f_fsid.
26545
315970f6
PB
265462010-09-24 Petr Baudis <pasky@suse.cz>
26547
26548 * debug/stack_chk_fail_local.c: Add missing licence exception.
26549 * debug/warning-nop.c: Likewise.
26550
1ac7a2c7
JM
265512010-09-15 Joseph Myers <joseph@codesourcery.com>
26552
26553 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26554 implementing getdents64 using getdents syscall, set d_type if
26555 __ASSUME_GETDENTS32_D_TYPE.
26556
56801c50
AS
265572010-09-16 Andreas Schwab <schwab@redhat.com>
26558
26559 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26560 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26561
dda51327
UD
265622010-09-21 Ulrich Drepper <drepper@redhat.com>
26563
26564 [BZ #12037]
26565 * posix/unistd.h: Undo change of feature selection for ftruncate from
26566 2010-01-11.
26567
8ffcee4a
UD
265682010-09-20 Ulrich Drepper <drepper@redhat.com>
26569
a545ecd9 26570 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
26571 detection.
26572
e24f0a8b
AS
265732010-09-20 Andreas Schwab <schwab@redhat.com>
26574
26575 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26576 fanotify_mark.
26577 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26578
7291c56f
AS
265792010-09-14 Andreas Schwab <schwab@redhat.com>
26580
26581 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26582 variables after CHECK_SP call.
26583 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26584
bc5fb037
AS
265852010-09-13 Andreas Schwab <schwab@redhat.com>
26586 Ulrich Drepper <drepper@redhat.com>
26587
26588 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26589 re-relocationg ld.so.
26590 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26591 _dl_init_paths call.
26592 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26593 here anymore.
26594
e66e7419
UD
265952010-09-14 Ulrich Drepper <drepper@redhat.com>
26596
26597 * resolv/res_init.c (__res_vinit): Count the default server we added.
26598
c044aa75
CLT
265992010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26600 Ulrich Drepper <drepper@redhat.com>
26601
26602 [BZ #11968]
26603 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26604 (____longjmp_chk): Use %ebx for saving value across system call.
26605 Add unwind info.
26606
32cf4069
AS
266072010-09-06 Andreas Schwab <schwab@redhat.com>
26608
26609 * manual/Makefile: Don't mix pattern rules with normal rules.
26610
817328ee
AS
266112010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26612
26613 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26614 operation.
26615 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26616 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26617 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26618 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26619 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26620 Likewise.
26621
29fddf61
UD
266222010-09-04 Ulrich Drepper <drepper@redhat.com>
26623
26624 [BZ #11979]
26625 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26626 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26627
0959ffc9
UD
266282010-09-02 Ulrich Drepper <drepper@redhat.com>
26629
26630 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26631 * sysdeps/x86_64/addmul_1.S: Likewise.
26632 * sysdeps/x86_64/lshift.S: Likewise.
26633 * sysdeps/x86_64/mul_1.S: Likewise.
26634 * sysdeps/x86_64/rshift.S: Likewise.
26635 * sysdeps/x86_64/sub_n.S: Likewise.
26636 * sysdeps/x86_64/submul_1.S: Likewise.
26637
ece29840
ST
266382010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26639
0959ffc9
UD
26640 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26641 Define __sched_param instead of SCHED_* and sched_param when
ece29840 26642 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 26643 * bits/sched.h [__need_schedparam]
ece29840 26644 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
26645 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26646 (__defined_schedparam): Define to 1.
ece29840
ST
26647 (__sched_param): New structure, identical to sched_param.
26648 (__need_schedparam): Undefine.
26649
e53a31fe
MF
266502010-08-31 Mike Frysinger <vapier@gentoo.org>
26651
fdc0c10d
MF
26652 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26653 (epoll_create1): Declare.
26654
e53a31fe
MF
26655 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26656
a726d796
AS
266572010-08-31 Andreas Schwab <schwab@redhat.com>
26658
26659 [BZ #7066]
26660 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26661 shifting retval into place.
26662
2f3e3dc7
UD
266632010-09-01 Ulrich Drepper <drepper@redhat.com>
26664
f2933da9
UD
26665 * nis/rpcsvc/nis.h: Update copyright notice.
26666 * nis/rpcsvc/nis.x: Likewise.
26667 * nis/rpcsvc/nis_callback.h: Likewise.
26668 * nis/rpcsvc/nis_callback.x: Likewise.
26669 * nis/rpcsvc/nis_object.x: Likewise.
26670 * nis/rpcsvc/nis_tags.h: Likewise.
26671 * nis/rpcsvc/yp.h: Likewise.
26672 * nis/rpcsvc/yp.x: Likewise.
26673 * nis/rpcsvc/ypupd.h: Likewise.
26674 * nis/yp_xdr.c: Likewise.
26675 * nis/ypupdate_xdr.c: Likewise.
26676
2f3e3dc7
UD
26677 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26678 mainly the body of pmap_getport. Add parameters to specify timeouts.
26679 (pmap_getport): Use __libc_rpc_getport.
26680 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26681 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26682 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26683
f3dcc2f9
AS
266842010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26685
26686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26687 fanotify_mark.
26688
6d34eb5b
RM
266892010-08-27 Roland McGrath <roland@redhat.com>
26690
26691 * sysdeps/i386/i686/multiarch/Makefile
26692 (CFLAGS-varshift.c): New variable.
26693
9ea3de11
UD
266942010-08-27 Ulrich Drepper <drepper@redhat.com>
26695
c96d23fc
UD
26696 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26697 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26698
9ea3de11
UD
26699 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26700
26701 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26702
623aac7f
L
267032010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26704
26705 * sysdeps/x86_64/strlen.S: Unroll the loop.
26706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26707 strlen-sse2 strlen-sse2-bsf.
26708 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26709 __strlen_no_bsf if bit_Slow_BSF is set.
26710 (__strlen_sse42): Removed.
26711 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26712 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26713
8b2b7715
RM
267142010-08-25 Roland McGrath <roland@redhat.com>
26715
26716 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26717 * sysdeps/x86_64/multiarch/varshift.c: New file.
26718 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26719 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26720 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26721 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26722
e73015f2
L
267232010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26724
26725 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26726 strlen-sse2 strlen-sse2-bsf.
26727 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26728 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26729 (__strlen_sse2): Removed.
26730 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26731 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26733 bit_Slow_BSF for Atom.
26734 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26735 (index_Slow_BSF): Define.
26736 (HAS_SLOW_BSF): Define.
26737
df24a73e
UD
267382010-08-25 Ulrich Drepper <drepper@redhat.com>
26739
26740 [BZ #10851]
26741 * resolv/res_init.c (__res_vinit): When no server address at all
26742 is given default to loopback.
26743
f2ac4868
RM
267442010-08-24 Roland McGrath <roland@redhat.com>
26745
09055553
RM
26746 * configure.in: Remove config-name.h generation.
26747 * configure: Regenerated.
26748 * config-name.in: File removed.
26749 * scripts/config-uname.sh: New file.
26750 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26751 ($(objdir)config-name.h): New target.
26752
f2ac4868
RM
26753 * sunrpc/rpc_parse.h: Avoid nested comment.
26754
73f27d5e
RH
267552010-08-24 Richard Henderson <rth@redhat.com>
26756 Ulrich Drepper <drepper@redhat.com>
26757 H.J. Lu <hongjiu.lu@intel.com>
26758
26759 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26760 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26761 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26762 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26763 _mm_alignr_epi8 with _mm_loadu_si128.
26764 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26765 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26766 (__m128i_shift_right): Removed.
26767 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26768 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26769 * sysdeps/x86_64/multiarch/varshift.h: New file.
26770 * sysdeps/x86_64/multiarch/varshift.S: New file.
26771
84b9230c
MF
267722010-08-21 Mike Frysinger <vapier@gentoo.org>
26773
26774 * configure.in: Move assembler checks to before sysdep dir checking.
26775
9bbd0ddc
PB
267762010-08-20 Petr Baudis <pasky@suse.cz>
26777
26778 * LICENSES: Sync the sunrpc license.
26779
9da4bb31
UD
267802010-08-19 Ulrich Drepper <drepper@redhat.com>
26781
a7ab6ec8
UD
26782 * sunrpc/auth_des.c: Update copyright notice once again.
26783 * sunrpc/auth_none.c: Likewise.
26784 * sunrpc/auth_unix.c: Likewise.
26785 * sunrpc/authdes_prot.c: Likewise.
26786 * sunrpc/authuxprot.c: Likewise.
26787 * sunrpc/bindrsvprt.c: Likewise.
26788 * sunrpc/clnt_gen.c: Likewise.
26789 * sunrpc/clnt_perr.c: Likewise.
26790 * sunrpc/clnt_raw.c: Likewise.
26791 * sunrpc/clnt_simp.c: Likewise.
26792 * sunrpc/clnt_tcp.c: Likewise.
26793 * sunrpc/clnt_udp.c: Likewise.
26794 * sunrpc/clnt_unix.c: Likewise.
26795 * sunrpc/des_crypt.c: Likewise.
26796 * sunrpc/des_soft.c: Likewise.
26797 * sunrpc/get_myaddr.c: Likewise.
26798 * sunrpc/getrpcport.c: Likewise.
26799 * sunrpc/key_call.c: Likewise.
26800 * sunrpc/key_prot.c: Likewise.
26801 * sunrpc/openchild.c: Likewise.
26802 * sunrpc/pm_getmaps.c: Likewise.
26803 * sunrpc/pm_getport.c: Likewise.
26804 * sunrpc/pmap_clnt.c: Likewise.
26805 * sunrpc/pmap_prot.c: Likewise.
26806 * sunrpc/pmap_prot2.c: Likewise.
26807 * sunrpc/pmap_rmt.c: Likewise.
26808 * sunrpc/rpc/auth.h: Likewise.
26809 * sunrpc/rpc/auth_unix.h: Likewise.
26810 * sunrpc/rpc/clnt.h: Likewise.
26811 * sunrpc/rpc/des_crypt.h: Likewise.
26812 * sunrpc/rpc/key_prot.h: Likewise.
26813 * sunrpc/rpc/netdb.h: Likewise.
26814 * sunrpc/rpc/pmap_clnt.h: Likewise.
26815 * sunrpc/rpc/pmap_prot.h: Likewise.
26816 * sunrpc/rpc/pmap_rmt.h: Likewise.
26817 * sunrpc/rpc/rpc.h: Likewise.
26818 * sunrpc/rpc/rpc_des.h: Likewise.
26819 * sunrpc/rpc/rpc_msg.h: Likewise.
26820 * sunrpc/rpc/svc.h: Likewise.
26821 * sunrpc/rpc/svc_auth.h: Likewise.
26822 * sunrpc/rpc/types.h: Likewise.
26823 * sunrpc/rpc/xdr.h: Likewise.
26824 * sunrpc/rpc_clntout.c: Likewise.
26825 * sunrpc/rpc_cmsg.c: Likewise.
26826 * sunrpc/rpc_common.c: Likewise.
26827 * sunrpc/rpc_cout.c: Likewise.
26828 * sunrpc/rpc_dtable.c: Likewise.
26829 * sunrpc/rpc_hout.c: Likewise.
26830 * sunrpc/rpc_main.c: Likewise.
26831 * sunrpc/rpc_parse.c: Likewise.
26832 * sunrpc/rpc_parse.h: Likewise.
26833 * sunrpc/rpc_prot.c: Likewise.
26834 * sunrpc/rpc_sample.c: Likewise.
26835 * sunrpc/rpc_scan.c: Likewise.
26836 * sunrpc/rpc_scan.h: Likewise.
26837 * sunrpc/rpc_svcout.c: Likewise.
26838 * sunrpc/rpc_tblout.c: Likewise.
26839 * sunrpc/rpc_util.c: Likewise.
26840 * sunrpc/rpc_util.h: Likewise.
26841 * sunrpc/rpcinfo.c: Likewise.
26842 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26843 * sunrpc/rpcsvc/key_prot.x: Likewise.
26844 * sunrpc/rpcsvc/klm_prot.x: Likewise.
26845 * sunrpc/rpcsvc/mount.x: Likewise.
26846 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26847 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26848 * sunrpc/rpcsvc/rex.x: Likewise.
26849 * sunrpc/rpcsvc/rstat.x: Likewise.
26850 * sunrpc/rpcsvc/rusers.x: Likewise.
26851 * sunrpc/rpcsvc/sm_inter.x: Likewise.
26852 * sunrpc/rpcsvc/spray.x: Likewise.
26853 * sunrpc/rpcsvc/yppasswd.x: Likewise.
26854 * sunrpc/rtime.c: Likewise.
26855 * sunrpc/svc.c: Likewise.
26856 * sunrpc/svc_auth.c: Likewise.
26857 * sunrpc/svc_authux.c: Likewise.
26858 * sunrpc/svc_raw.c: Likewise.
26859 * sunrpc/svc_run.c: Likewise.
26860 * sunrpc/svc_simple.c: Likewise.
26861 * sunrpc/svc_tcp.c: Likewise.
26862 * sunrpc/svc_udp.c: Likewise.
26863 * sunrpc/svc_unix.c: Likewise.
26864 * sunrpc/svcauth_des.c: Likewise.
26865 * sunrpc/xcrypt.c: Likewise.
26866 * sunrpc/xdr.c: Likewise.
26867 * sunrpc/xdr_array.c: Likewise.
26868 * sunrpc/xdr_float.c: Likewise.
26869 * sunrpc/xdr_mem.c: Likewise.
26870 * sunrpc/xdr_rec.c: Likewise.
26871 * sunrpc/xdr_ref.c: Likewise.
26872 * sunrpc/xdr_sizeof.c: Likewise.
26873 * sunrpc/xdr_stdio.c: Likewise.
26874
9da4bb31
UD
26875 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26876 handling.
26877
bdaa77bc
AS
268782010-08-19 Andreas Schwab <schwab@redhat.com>
26879
26880 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26881
fe2f79db
LM
268822010-08-19 Luis Machado <luisgpm@br.ibm.com>
26883
26884 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26885 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26886 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26887 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26888 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26889 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26890 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26891 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26892 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26893 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26894 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26895 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26896 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26897 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26898
b9b42ee0
AB
268992010-07-26 Anton Blanchard <anton@samba.org>
26900
26901 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26902 * malloc/arena.c (heap_trim): Likewise.
26903
1c06ba31
UD
269042010-08-16 Ulrich Drepper <drepper@redhat.com>
26905
26906 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26907 here. Not...
26908 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26909 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26910
f8392f40
L
269112010-08-12 H.J. Lu <hongjiu.lu@intel.com>
26912
26913 * sysdeps/i386/elf/Makefile: New file.
26914
3162f12e
AS
269152010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26916
26917 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26918 from fanotify_init.
26919 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26920 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26921
28c90b2c
UD
269222010-08-15 Ulrich Drepper <drepper@redhat.com>
26923
26924 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26925 of strncasecmp_l.
1feccb6c 26926 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 26927
ca6bb004
UD
269282010-08-14 Ulrich Drepper <drepper@redhat.com>
26929
e9f82e0d
UD
26930 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26931 strncase_l-nonascii.
26932 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26933 Add strncase_l-ssse3.
26934 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26935 * sysdeps/x86_64/strcmp.S: Likewise.
26936 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26937 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26938 * sysdeps/x86_64/strncase.S: New file.
26939 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26940 * sysdeps/x86_64/strncase_l.S: New file.
26941 * string/Makefile (strop-tests): Add strncasecmp.
26942 * string/test-strncasecmp.c: New file.
26943
26944 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
26945 warning.
26946
ca6bb004
UD
26947 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
26948 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
26949
052fa7b3
AS
269502010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26951
26952 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
26953
962dba78
UD
269542010-08-12 Ulrich Drepper <drepper@redhat.com>
26955
26956 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
26957 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
26958 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
26959
bebff237
AM
269602010-05-01 Alan Modra <amodra@gmail.com>
26961
26962 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
26963 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
26964 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
26965 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
26966 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
26967 tidying. Don't tail-call __sigjmp_save for static lib.
26968 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
26969 save location.
26970 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
26971 (CALL_MCOUNT): Add eh info, and nop after bl.
26972 (TAIL_CALL_SYSCALL_ERROR): New macro.
26973 (PSEUDO_RET): Use it.
26974 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
26975 Correct save location of integer regs and cr.
26976 (_dl_profile_resolve): Correct cr save location. Delete nops
26977 after bl when SHARED. Reduce cfi size a little by better
26978 placement of cfi directives.
26979 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
26980 make a stack frame. Instead use parm save area as a temp.
26981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
26982 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
26983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
26984 Don't make a stack frame for parent, use parm save area.
26985 Increase child stack frame to 112 bytes. Don't save unused reg,
26986 and adjust reg usage. Set up cfi on error recovery and
26987 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
26988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
26989 (__makecontext): Add dummy nop after jump to exit.
26990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
26991 Use correct parm save area and cr save, reduce stack frame.
26992 Correct cfi for possible PSEUDO_RET frame setup.
26993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
26994 Branch to local label emitted by PSEUDO_RET rather than
26995 __syscall_error.
26996
02637374
AS
269972010-08-12 Andreas Schwab <schwab@redhat.com>
26998
26999 [BZ #11904]
27000 * locale/programs/locale.c (print_assignment): New function.
27001 (show_locale_vars): Use it.
27002
c3e2f19b
UD
270032010-08-11 Ulrich Drepper <drepper@redhat.com>
27004
3cdaa6ad
UD
27005 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27006 field.
27007 (struct statfs64): Likewise.
27008 (_STATFS_F_FLAGS): Define.
27009 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27010 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27011 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27012 (ST_VALID): Define locally.
27013 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27014 __statvfs_getflags, use the provided value.
27015 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27016 __ASSUME_STATFS_F_FLAGS.
27017
754f7da3
UD
27018 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27019
10b3bedc
UD
27020 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27021 Add sys/fanotify.h.
27022 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27023 fanotify_mask for GLIBC_2.13.
27024 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27025 fanotify_init and fanotify_mark.
27026 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27027 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27028
c08fb0d7
UD
27029 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27030 Add prlimit.
27031 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27032 prlimit64 for GLIBC_2.13.
27033 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27034 prlimit64.
27035 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27036 syscall.
27037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27038 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27039 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27040 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27041 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27042 add prlimit alias.
27043 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27044
15bac72b
UD
27045 [BZ #11903]
27046 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27047 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27048
c3e2f19b
UD
27049 * nss/Makefile: Add rules to build and run tst-nss-test1.
27050 * shlib-versions: Add entry for libnss_test1.
27051 * nss/nss_test1.c: New file.
27052 * nss/tst-nss-test1.c: New file.
27053
27054 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27055 (__nss_configure_lookup): Set appropriate entry in
27056 __nss_configure_lookup to true.
27057 * nss/nsswitch.h: Define enum with indeces of databases in
27058 databases and __nss_database_custom arrays. Declare
27059 __nss_database_custom.
27060 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27061 to avoid using nscd when custom rules are installed.
27062 * nss/getXXbyYY_r.c: Likewise.
27063 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27064
27065 * nss/nss_files/files-parse.c: Whitespace fixes.
27066
f15ce4d8
UD
270672010-08-09 Ulrich Drepper <drepper@redhat.com>
27068
27069 [BZ #11883]
27070 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27071 * posix/fnmatch_loop.c: Likewise.
27072
d22e4cc9
AK
270732010-07-17 Andi Kleen <ak@linux.intel.com>
27074
27075 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27076 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27077 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27078 * Versions.def [GLIBC_2.13]: Add.
27079
805bc17d
UD
270802010-08-06 Ulrich Drepper <drepper@redhat.com>
27081
27082 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27083 Also fail if tpwd after pwuid call is NULL.
27084
5a42321d
ST
270852010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27086
27087 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27088 when converting to ms.
27089
fd3ebeda
ST
270902010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27091
27092 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27093 EOPNOTSUPP errors with ENOTTY.
27094 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27095 EOPNOTSUPP errors with ENOTTY.
27096
73507d3a
UD
270972010-07-31 Ulrich Drepper <drepper@redhat.com>
27098
27099 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27100 Add strcasecmp_l-ssse3.
27101 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27102 strcasecmp.
27103 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27104 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27105 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27106
fe36dd02
UD
271072010-07-30 Ulrich Drepper <drepper@redhat.com>
27108
66f6765a
UD
27109 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27110
42e08a54
UD
27111 * string/Makefile (strop-tests): Add strcasecmp.
27112 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27113 strcasecmp_l-nonascii.
27114 (gen-as-const-headers): Add locale-defines.sym.
27115 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27116 * sysdeps/x86_64/strcasecmp.S: New file.
27117 * sysdeps/x86_64/strcasecmp_l.S: New file.
27118 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27119 * sysdeps/x86_64/locale-defines.sym: New file.
27120 * string/test-strcasecmp.c: New file.
27121
fe36dd02
UD
27122 * string/test-strcasestr.c: Test both ends of the range of characters.
27123 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27124
48cbc0d6
RM
271252010-07-29 Roland McGrath <roland@redhat.com>
27126
76e6d6bc 27127 [BZ #11856]
48cbc0d6
RM
27128 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27129
880113d9
UD
271302010-07-27 Ulrich Drepper <drepper@redhat.com>
27131
27132 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27133 for ld.so.
27134
deb9cabb
AS
271352010-07-27 Andreas Schwab <schwab@redhat.com>
27136
27137 * manual/memory.texi (Malloc Tunable Parameters): Document
27138 M_PERTURB.
27139
1c7570ff
RM
271402010-07-26 Roland McGrath <roland@redhat.com>
27141
27142 [BZ #11840]
27143 * configure.in (-fgnu89-inline check): Set and substitute
27144 gnu89_inline, not libc_cv_gnu89_inline.
27145 * configure: Regenerated.
27146 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27147
24fb0f88
UD
271482010-07-26 Ulrich Drepper <drepper@redhat.com>
27149
27150 * string/test-strnlen.c: New file.
27151 * string/Makefile (strop-tests): Add strnlen.
27152 * string/tester.c (test_strnlen): Add a few more test cases.
27153 * string/tst-strlen.c: Better error reporting.
27154
27155 * sysdeps/x86_64/strnlen.S: New file.
27156
8e96b93a
UD
271572010-07-24 Ulrich Drepper <drepper@redhat.com>
27158
27159 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27160 lower-latency instructions.
27161
dbc676d4
UD
271622010-07-23 Ulrich Drepper <drepper@redhat.com>
27163
27164 * string/test-strcasestr.c: New file.
27165 * string/test-strstr.c: New file.
27166 * string/Makefile (strop-tests): Add strstr and strcasestr.
27167 * string/str-two-way.h: Don't undefine MAX.
27168 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27169
f6a31e0e
AS
271702010-07-21 Andreas Schwab <schwab@redhat.com>
27171
27172 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27173 strcasestr-nonascii.
27174 (CFLAGS-strcasestr-nonascii.c): Define.
27175 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27176 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27177 Remove unused attribute.
27178
5dbc3b6c
RM
271792010-07-20 Roland McGrath <roland@redhat.com>
27180
27181 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27182 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27183 ld.so.cache was broken. With it, there is no way to disable dsocaps
27184 like LD_HWCAP_MASK can disable hwcaps.
27185
23d101d8
EPM
271862010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27187
27188 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27189
cc9f2e47
UD
271902010-07-16 Ulrich Drepper <drepper@redhat.com>
27191
27192 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27193 call in strcasestr.
27194 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27195 __strcasestr_sse42_nonascii.
27196 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27197 strcasestr-nonascii.c.
27198 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27199
77c1b069
LM
272002010-06-15 Luis Machado <luisgpm@br.ibm.com>
27201
27202 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27203 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27204 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27205 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27206
440566c3
UD
272072010-07-09 Ulrich Drepper <drepper@redhat.com>
27208
27209 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27210 fcntl.
27211
5be9d05d
AS
272122010-07-06 Andreas Schwab <schwab@redhat.com>
27213
c30b7ee2 27214 [BZ #11577]
5be9d05d
AS
27215 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27216 dl_signal_cerror.
27217
8a492a67
UD
272182010-07-06 Ulrich Drepper <drepper@redhat.com>
27219
27220 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27221 _PC_PIPE_BUF using F_GETPIPE_SZ.
27222
713df3d5
RM
272232010-07-05 Roland McGrath <roland@redhat.com>
27224
27225 * manual/arith.texi (Rounding Functions): Fix rint description
27226 implicit in round description.
27227
702e8f14
UD
272282010-07-02 Ulrich Drepper <drepper@redhat.com>
27229
27230 * elf/Makefile: Fix linking for a few tests to make recent linker
27231 happy.
27232
52ed8be9
AS
272332010-06-30 Andreas Schwab <schwab@redhat.com>
27234
27235 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27236 $(common-objpfx)libc_nonshared.a.
27237
f47c9a11
LM
272382010-06-21 Luis Machado <luisgpm@br.ibm.com>
27239
27240 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27241 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27242 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27243 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27244 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27245 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27246 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27247 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27262 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27263 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27264 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27265 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27266 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27267 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27268 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27269 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27270 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27271 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27272 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27273 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27288
6fb8cbcb
L
272892010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27290
27291 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27292 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27293 * string/memmove.c (memmove): Renamed to ...
27294 (MEMMOVE): ...this. Default to memmove.
27295 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27296 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27297 (END_CHK): Define.
27298 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27299 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27300 mempcpy-ssse3-back memmove-ssse3-back.
27301 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27302 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27303 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27304 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27305 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27306 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27307 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27308 * sysdeps/x86_64/multiarch/memmove.c: New file.
27309 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27310 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27311 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27312 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27313 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27314 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27315 Define.
27316 (index_Fast_Copy_Backward): Define.
27317 (HAS_ARCH_FEATURE): Define.
27318 (HAS_FAST_REP_STRING): Define.
27319 (HAS_FAST_COPY_BACKWARD): Define.
27320
4e733bac 273212010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
27322
27323 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27324 Restore proper fallback handling.
27325
63c4ed22
UD
273262010-06-19 Ulrich Drepper <drepper@redhat.com>
27327
ac2b484c
UD
27328 [BZ #11701]
27329 * posix/group_member.c (__group_member): Correct checking loop.
27330
63c4ed22
UD
27331 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27332 OOM in getpwuid_r correctly. Return error number when the caller
27333 should return, otherwise -1.
27334 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27335 call returning > 0 value.
27336 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27337
765ade4b
AS
273382010-06-07 Andreas Schwab <schwab@redhat.com>
27339
27340 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27341 libc_nonshared.a from targets in modules-names.
27342
80da2e09
KS
273432010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27344
27345 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27346 requires it.
27347
158db122
LM
273482010-06-10 Luis Machado <luisgpm@br.ibm.com>
27349
27350 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27351 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27352 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27353 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27354
caa78cf8
AS
273552010-06-02 Andreas Schwab <schwab@redhat.com>
27356
27357 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27358
b2ef2c01
UD
273592010-06-14 Ulrich Drepper <drepper@redhat.com>
27360
27361 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27362 and F_GETPIPE_SZ.
27363 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27364 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27365 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27366 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27367 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27368 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27369
fbd643b6
RM
273702010-06-14 Roland McGrath <roland@redhat.com>
27371
27372 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27373
f32f2869
JJ
273742010-06-07 Jakub Jelinek <jakub@redhat.com>
27375
27376 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27377 __REDIRECT followed by __THROW.
27378 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27379 * posix/getopt.h (getopt): Likewise.
27380
2a50c078
EPM
273812010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27382
27383 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27384 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27385 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27386 in AT_FLAGS.
27387 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27388 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27389
eb5ad2eb
LM
273902010-05-28 Luis Machado <luisgpm@br.ibm.com>
27391
27392 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27393
3c88fe1e
L
273942010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27395
27396 [BZ #11640]
27397 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27398 Properly check family and model.
27399
d2f73151
TY
274002010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27401
27402 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27403
ebd2e13d
LM
274042010-05-24 Luis Machado <luisgpm@br.ibm.com>
27405
27406 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27407
b32b8b45
UD
274082010-05-21 Ulrich Drepper <drepper@redhat.com>
27409
27410 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27411 symbol reference.
27412
9acbe24d
AS
274132010-05-19 Andreas Schwab <schwab@redhat.com>
27414
27415 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27416 symbol reference.
27417
f0ccf6ea
AS
274182010-05-21 Andreas Schwab <schwab@redhat.com>
27419
3d04ff3a
AS
27420 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27421 and internal_recvmmsg.
27422 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27423 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27424 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27425 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27426
f0ccf6ea
AS
27427 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27428 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27429 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27430
5b08ac57
AS
274312010-05-20 Andreas Schwab <schwab@redhat.com>
27432
27433 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27434
4828935d
LM
274352010-05-17 Luis Machado <luisgpm@br.ibm.com>
27436
27437 POWER7 optimizations.
27438 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27439 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27440
373d545e
UD
274412010-05-19 Ulrich Drepper <drepper@redhat.com>
27442
27443 * version.h: Update for 2.13 development version.
27444
21a2b1ae
AS
274452010-05-12 Andrew Stubbs <ams@codesourcery.com>
27446
27447 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27448 exceptions. Return 0.
27449
3f7dcb2b
RM
274502010-05-07 Roland McGrath <roland@redhat.com>
27451
27452 * elf/ldconfig.c (main): Add a const.
27453
5f24d53a 274542010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 27455
a160f8d8
UD
27456 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27457 (args_options): Add no-idn option.
27458 (ahosts_keys_int): Add idn_flags to ai_flags.
27459 (parse_option): Handle 'i' option to clear idn_flags.
27460
5f24d53a
UD
27461 * malloc/malloc.c (_int_free): Possible race in the most recently
27462 added check. Only act on the data if no current modification
27463 happened.
265bb1ce
UD
27464
27465See ChangeLog.17 for earlier changes.
This page took 3.279313 seconds and 5 git commands to generate.