]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix casinh inaccuracy for imaginary part < 1.0, real part small (bug 10357).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
ccc8cadf
JM
12013-03-30 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #10357]
4 * math/k_casinh.c (__kernel_casinh): Handle arguments with
5 imaginary part less than 1.0 and real part less than 0.5
6 specially.
7 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
10 (cacos_test): Add more tests.
11 (casin_test): Likewise.
12 (casinh_test): Likewise.
13 * sysdeps/i386/fpu/libm-test-ulps: Update.
14 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15
0f6a8d4b
SP
162013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17
0d1029de
SP
18 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19 ONE with its value.
20
c2d94018
SP
21 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22 (__pow_mp): Replace ONE and MONE with their values.
23 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
24 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29
27ec37f1
SP
30 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
31
a64d7e0e
SP
32 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
33 (__pow_mp): Replace ZERO and MZERO with their values.
34 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
35 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
38 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
40 (__sqr): Likewise.
41
d26dd3eb
SP
42 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
43
0f6a8d4b
SP
44 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
45
e57b0c61
RM
462013-03-28 Roland McGrath <roland@hack.frob.com>
47
48 * include/stdlib.h [!SHARED] (__call_tls_dtors):
49 Declare with __attribute__ ((weak)).
50 * stdlib/exit.c (__libc_atexit) [!SHARED]:
51 Call __call_tls_dtors only if it's not NULL.
52
356b3480
RM
532013-03-28 Roland McGrath <roland@hack.frob.com>
54
288f7d79
RM
55 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
56 didn't do it already, then set _dl_phdr and _dl_phnum based on the
57 magic __ehdr_start linker symbol if it's defined.
58 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
59 them up here if it was already done.
60
dc0a0263
RM
61 * elf/dl-support.c (_dl_phdr): Make pointer to const.
62 (_dl_aux_init): Use const in cast when setting it.
63 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
64 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
65 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
66
3d3436ae
RM
67 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
68 Declare them here.
69 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
70 * csu/libc-tls.c: Nor here.
71 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
72
356b3480
RM
73 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
74 (__libc_message): Never call vsyslog.
75
b0f1246a
AM
762013-03-28 Alan Modra <amodra@gmail.com>
77
78 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
79 Define as empty.
80 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
81 Likewise.
82
fbbe2b9a
AZ
832013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
84
85 [BZ #15214]
86 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
87 underflow.
88 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
89
1728ab37
SP
902013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
91
7a86be6e
SP
92 [BZ #15304]
93 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
94 Don't add gid passed as argument.
95
1728ab37
SP
96 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
97
3a7182a1
JM
982013-03-27 Joseph Myers <joseph@codesourcery.com>
99
100 [BZ #15307]
101 * math/k_casinh.c (__kernel_casinh): Handle arguments with
102 imaginary part between 1.0 and 1.5 and real part less than 0.5
103 specially.
104 * math/k_casinhf.c (__kernel_casinhf): Likewise.
105 * math/k_casinhl.c (__kernel_casinhl): Likewise.
106 * math/libm-test.inc (cacos_test): Add more tests.
107 (casin_test): Likewise.
108 (casinh_test): Likewise.
109 * sysdeps/i386/fpu/libm-test-ulps: Update.
110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
111
6f2e90e7
SP
1122013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
113
5739f705
SP
114 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
115 constants.
116 (norm): Likewise.
117 (denorm): Likewise.
118 (__dbl_mp): Likewise.
119 (add_magnitudes): Likewise.
120 (sub_magnitudes): Likewise.
121 (__add): Likewise.
122 (__sub): Likewise.
123 (__mul): Likewise.
124 (__sqr): Likewise.
125 (__inv): Likewise.
126 (__dvd): Likewise.
127
e375e83d
SP
128 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
129 commented code.
130 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
131 (__dubcos): Likewise.
132 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
133 (__ieee754_acos): Likewise.
134 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
135 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
136 (__exp1): Likewise.
137 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
138 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
139 (log1): Likewise.
140 (my_log2): Likewise.
141 (checkint): Likewise.
142 * sysdeps/ieee754/dbl-64/e_remainder.c
143 (__ieee754_remainder): Likewise.
144 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
145 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
146 (bsloww): Likewise.
147 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
148
6f2e90e7
SP
149 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
150 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
151 MANTISSA_STORE_T to store computations on mantissa. Use
152 macros for rounding and division.
153 (denorm): Likewise.
154 (__dbl_mp): Likewise.
155 (add_magnitudes): Likewise.
156 (sub_magnitudes): Likewise.
157 (__mul): Likewise.
158 (__sqr): Likewise.
159 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
160 powers of two in terms of TWOPOW macro.
161 (mp_no): Make type of mantissa as MANTISSA_T.
162 [!RADIXI]: Define RADIXI.
163 [!TWO52]: Define TWO52.
164 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
165
fce14d4e
AZ
1662013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
167
168 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
169 llroundl symbol when building for PPC32.
170
9ad027fb
MW
1712013-03-24 Mark H Weaver <mhw@netris.org>
172
173 * manual/arith.texi (Normalization Functions): Fix prototypes for
174 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
175
e42a38dd
AZ
1762013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
177
178 [BZ #13889]
179 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
180 high value to check if expl overflow.
181 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
182 to check for underflow and overflow.
183 * math/libm-test.inc: Add exp test.
184
2e0fb521
DL
1852013-03-21 Dmitry V. Levin <ldv@altlinux.org>
186
187 [BZ #11120]
188 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
189 with NOT_IN_libc.
190
b5784d95
AZ
1912013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
192
193 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
194 symbol.
195
5aa4a1a1
TS
1962013-03-21 Thomas Schwinge <thomas@codesourcery.com>
197
bdef0be7
TS
198 * math/gen-libm-test.pl (parse_args, special_functions): Properly
199 wrap blocks consisting of several statements.
200
5aa4a1a1
TS
201 * sysdeps/generic/math-tests.h: New file.
202 * sysdeps/i386/fpu/math-tests.h: Likewise.
203 * math/test-snan.c: Include it.
204 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
205
98c48fe5
JM
2062013-03-21 Joseph Myers <joseph@codesourcery.com>
207
208 [BZ #15285]
209 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
210 (__ieee754_j0l): Do not improve calculations using cos of twice
211 input for inputs above LDBL_MAX / 2.0L.
212 (__ieee754_y0l): Likewise.
213 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
214 (__ieee754_j1l): Do not improve calculations using cos of twice
215 input for inputs above LDBL_MAX / 2.0L.
216 (__ieee754_y1l): Likewise.
217 * math/libm-test.inc (j0_test): Add another test.
218 (j1_test): Likewise.
219 (y0_test): Likewise.
220 (y1_test): Likewise.
221 * sysdeps/i386/fpu/libm-test-ulps: Update.
222
3775a8bc
SP
2232013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
224
225 * Rules ($(objpfx)bench-%.c): Include code from a C source
226 file.
227
0a1b2ae6
JM
2282013-03-21 Joseph Myers <joseph@codesourcery.com>
229
230 [BZ #15287]
231 * math/k_casinh.c (__kernel_casinh): Handle arguments with
232 imaginary part 1.0 and real part less than 0.5 specially.
233 * math/k_casinhf.c (__kernel_casinhf): Likewise.
234 * math/k_casinhl.c (__kernel_casinhl): Likewise.
235 * math/libm-test.inc (cacos_test): Add more tests.
236 (casin_test): Likewise.
237 (casinh_test): Likewise.
238 * sysdeps/i386/fpu/libm-test-ulps: Update.
239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
240
b33d4ce4
SP
2412013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
242
243 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
244 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
245
bef0b507
JM
2462013-03-20 Joseph Myers <joseph@codesourcery.com>
247
248 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
249 * config.make.in (config-cflags-sse4): Remove variable.
250 (config-cflags-avx): Likewise.
251 (config-cflags-sse2avx): Likewise.
252 (config-cflags-novzeroupper): Likewise.
253 (config-asflags-i686): Likewise.
254 (have-mfma4): Likewise.
255 (have-as-vis3): Likewise.
256 (MIG): Likewise.
257 * configure.in (MIG): Do not AC_SUBST.
258 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
259 (libc_cv_cc_sse4): Do not AC_SUBST.
260 (libc_cv_cc_avx): Likewise.
261 (libc_cv_cc_sse2avx): Likewise.
262 (libc_cv_cc_novzeroupper): Likewise.
263 (libc_cv_cc_fma4): Likewise.
264 (libc_cv_as_i686): Likewise.
265 (libc_cv_sparc_as_vis3): Likewise.
266 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
267 LIBC_CONFIG_VAR.
268 (config-asflags-i686): Likewise.
269 (config-cflags-avx): Likewise.
270 (config-cflags-sse2avx): Likewise.
271 (have-mfma4): Likewise.
272 (config-cflags-novzeroupper): Likewise.
273 * sysdeps/mach/configure.in (MIG): Likewise.
274 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
275 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
276 LIBC_CONFIG_VAR.
277 (config-cflags-avx): Likewise.
278 (config-cflags-sse2avx): Likewise.
279 (have-mfma4): Likewise.
280 (config-cflags-novzeroupper): Likewise.
281 * configure: Regenerated.
282 * sysdeps/i386/configure: Likewise.
283 * sysdeps/mach/configure: Likewise.
284 * sysdeps/sparc/configure: Likewise.
285 * sysdeps/x86_64/configure: Likewise.
286
912cc4b3
RM
2872013-03-20 Roland McGrath <roland@hack.frob.com>
288
289 [BZ #14812]
290 * locale/programs/localedef.c (options): Put N_ translation marker
291 on argument names, not just descriptions.
292
04eed2b0
MS
2932013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
294
295 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
296
a065ceff
OB
2972013-03-20 Ondřej Bílka <neleai@seznam.cz>
298
9bb2a810 299 [BZ #14176]
a065ceff
OB
300 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
301
a600e5ce
RM
3022013-03-19 Roland McGrath <roland@hack.frob.com>
303
304 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
305 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
306 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
307 [!BEFORE_ABORT] (before_abort): New function.
308 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
309 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
310 (writev_for_fatal): New function.
311 (WRITEV_FOR_FATAL): New macro; call that.
312 (backtrace_and_maps): New function.
313 (BEFORE_ABORT): New macro; call that.
314 (struct str_list): Type removed.
315 (__libc_message, __libc_fatal): Functions removed.
316 Include <sysdeps/posix/libc_fatal.c> instead.
317
6b18bea6
JM
3182013-03-19 Joseph Myers <joseph@codesourcery.com>
319
320 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
321 constants.
322 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
323 double constants.
324
aaa8cb4b
AS
3252013-03-19 Andreas Schwab <schwab@suse.de>
326
44673770
AS
327 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
328 * sysdeps/gnu/configure: Regenerate.
329
aaa8cb4b
AS
330 * configure.in: Substitute libc_cv_rtlddir.
331 * configure: Regenerate.
332 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
333 * Makeconfig (rtlddir, inst_rtlddir): New variables.
334 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
335 * elf/Makefile (install-others, CFLAGS-interp.c)
336 (ldso_install, common-ldd-rewrite): Likewise.
337 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
338 $(inst_slibdir)/$(rtld-installed-name).
339 * scripts/rellns-sh: Add -p option.
340 * Makerules (make-shlib-link): Use rellns-sh to get relative name
341 for source.
342
d3cfc668
SP
3432013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
344
345 * manual/nptl.texi: Renamed to ...
346 * manual/threads.texi: ... this.
347 * manual/Makefile (chapters): Update.
348
0e2b9cdd
RM
3492013-03-18 Roland McGrath <roland@hack.frob.com>
350
351 [BZ #14812]
352 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
353 on argument names, not just descriptions.
0e2b9cdd
RM
354 * malloc/memusagestat.c (options): Likewise.
355 * nss/getent.c (options): Likewise.
63270c24
RM
356
3572013-03-18 Benno Schulenberg <bensberg@justemail.net>
358
359 [BZ #14812]
360 * iconv/iconv_prog.c (options): Put N_ translation marker
361 on argument names, not just descriptions.
362 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 363
b2e1393c
OB
3642013-03-18 Ondrej Bilka <neleai@seznam.cz>
365
366 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
367 implementation which is faster on all x86_64 architectures.
368 Tested on AMD, Intel Nehalem, SNB, IVB.
369 * sysdeps/x86_64/strnlen.S: Likewise.
370
371 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
372 Remove all multiarch strlen and strnlen versions.
373 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
374 Remove strlen and strnlen related parts.
375
376 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
377 Inline strlen part.
378 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
379
380 * sysdeps/x86_64/multiarch/strlen.S: Remove.
381 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
382 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
383 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
384 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
385 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
386
ec4ff04d
CD
3872013-03-17 Carlos O'Donell <carlos@redhat.com>
388
389 * manual/memory.texi (Malloc Tunable Parameters):
390 Sort parameters alphabetically. Add comments for missing entries.
391
cd18e90a
DM
3922013-03-17 David S. Miller <davem@davemloft.net>
393
394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
395
2a185d32
JM
3962013-03-16 Joseph Myers <joseph@codesourcery.com>
397
d2f9799e
JM
398 [BZ #15283]
399 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
400 for arguments at most half maximum finite value.
401 * math/libm-test.inc (j0_test): Add more tests.
402 (j1_test): Likewise.
403 (y0_test): Likewise.
404 (y1_test): Likewise.
405 * sysdeps/i386/fpu/libm-test-ulps: Update.
406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
407
2a185d32
JM
408 [BZ #14155]
409 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
410 1 / x and functions P and Q for arguments above 0x1p256L.
411 (__ieee754_y0l): Likewise.
412 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
413 (__ieee754_y1l): Likewise.
414 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
415 (j1_test): Likewise.
416 (y0_test): Likewise.
417 (y1_test): Likewise.
418
6cbec759
TS
4192013-03-16 Thomas Schwinge <thomas@codesourcery.com>
420
421 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
422 variable.
423
bc16e260
RM
4242013-03-15 Roland McGrath <roland@hack.frob.com>
425
aefc9b8c
RM
426 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
427 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
428 zero since it's initialized to EXEC_PAGESIZE.
429
bc16e260
RM
430 * sysdeps/unix/sysv/linux/ldsodefs.h
431 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
432 * sysdeps/generic/ldsodefs.h: ... here.
433
a57da955
TS
4342013-03-15 Thomas Schwinge <thomas@codesourcery.com>
435
af00a34d
TS
436 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
437
495ded2c
TS
438 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
439 math/test-snan.c.
440 * math/test-snan.c: Renamed from
441 sysdeps/powerpc/fpu/test-powerpc-snan.c.
442 * math/Makefile (tests): Add test-snan.
443 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
444 test-powerpc-snan.
445
777b0332
TS
446 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
447 SUFFIX. Initialize qNaN_var with __builtin_nan family of
448 functions.
449 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
450 __builtin_nan family of functions.
451 * math/libm-test.inc (initialize): Initialize qnan_value with
452 __builtin_nan family of functions.
453 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
454 Remove variables.
455 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
456 Remove functions.
457 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
458 storage class. Initialize qNaN_var and sNaN_var with
459 __builtin_nan and __builtin_nans families of functions,
460 respectively.
461
64d063b8
TS
462 * math/libm-test.inc (acosh_test): Also test with qNaN input.
463 (sqrt_test): Remove duplicate test with qNaN input.
464 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
465 (round_test, signbit_test, significand_test): Note missing +/-Inf
466 as well as qNaN tests.
467
67e971f1
TS
468 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
469 qNaN_var. Fix a few strings, too.
470 * math/libm-test.inc (nan_value): Rename to qnan_value.
471 * math/gen-libm-test.pl (%beautify): Adjust to that.
472 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
473 * math/test-misc.c (main): Likewise.
474 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
475 to __qnan_bytes, and __qnan_union, respectively.
476 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
477 Likewise.
478 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
479 and lqnanval, respectively.
480 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
481 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
482 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
483 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
484
64487e12
TS
485 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
486 * math/test-misc.c (main) [__x86_64__]: Enable test for long
487 doubles.
488
e015e27b
TS
489 * math/test-misc.c (main): Fix copy'n'pastos.
490 * misc/tst-efgcvt.c (special): Likewise.
491
a57da955
TS
492 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
493 Remove declarations.
494
1e380345
SP
4952013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
496
497 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
498 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
499 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
500 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
501
ef26eece
AZ
5022013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
503
504 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
505 macro to return vdso values correctly in IFUNC implementations.
506 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
507 Optimization by using IFUNC.
508
8cfdb7e0
SP
5092013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
510 Richard Henderson <rth@redhat.com>
511 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
512
513 * Makefile.in (bench): New target.
514 * NEWS: Mention the benchmark framework.
515 * Rules (bench): Likewise.
516 (binaries-bench): Generate binaries for functions to
517 benchmark.
518 * benchtests/Makefile: New makefile for benchmark tests.
519 * benchtests/bench-skeleton.c: New skeleton file for benchmark
520 programs.
521 * benchtests/exp-inputs: New input file for EXP function.
522 * benchtests/pow-inputs: New input file for POW function.
523 * scripts/bench.pl: New script to generate source files for
524 benchmark programs.
525
bcda9880
SP
5262013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
527
d22ca8cd
SP
528 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
529 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
530 computations on mantissa. Use macros for rounding and
531 division.
532 (denorm): Likewise.
533 (__dbl_mp): Likewise.
534 (add_magnitudes): Likewise.
535 (sub_magnitudes): Likewise.
536 (__mul): Likewise.
537 (__sqr): Likewise.
538 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
539 powers of two in terms of TWOPOW macro.
540 (mp_no): Make type of mantissa as MANTISSA_T.
541 [!RADIXI]: Define RADIXI.
542 [!TWO52]: Define TWO52.
543 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
544
bcda9880
SP
545 * manual/nptl.texi (cindex): Modify threads to pthreads.
546
06d5adfb
JM
5472013-03-15 Joseph Myers <joseph@codesourcery.com>
548
549 * sysdeps/x86_64/preconfigure: Regenerated.
550
41c7328e
JM
5512013-03-14 Joseph Myers <joseph@codesourcery.com>
552
553 [BZ #14155]
554 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
555 0x1p28 and above.
556 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
557 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
558 0x1p28 and above.
559 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
560 * math/libm-test.inc (j0_test): Do not allow one spurious
561 underflow exception.
562 (y1_test): Likewise.
563
e25cfa60
SP
5642013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
565
0409959c
SP
566 * manual/Makefile (chapters): Add nptl.
567 * manual/debug.texi (Debugging Support): Add link to Threads
568 chapter.
569 * manual/nptl.texi: New file.
570
e25cfa60
SP
571 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
572
58a1335e
PB
5732013-03-14 Petr Baudis <pasky@ucw.cz>
574
575 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
576 for non-NULL pointer before the memory validity test. Pointed
577 out by Holger Brunck <holger.brunck@keymile.com>.
578
9dc7c64f
AS
5792013-03-13 Andreas Schwab <schwab@suse.de>
580
581 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
582 instead of .os.
583
54206aa6
JM
5842013-03-13 Joseph Myers <joseph@codesourcery.com>
585
586 * timezone/zic.c: Update from tzcode 2013b.
587
e98cdb38
CD
5882013-03-12 Carlos O'Donell <carlos@redhat.com>
589
590 * manual/install.texi (Configuring and compiling):
591 Mention i686 and i586.
592 * INSTALL: Regenerate.
593
9967e003
RM
5942013-03-12 Roland McGrath <roland@hack.frob.com>
595
596 * sysdeps/init_array/elf-init.c: New file.
597 * csu/elf-init.c
598 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
599 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
600
601 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
602 __gmon_start__ as global, but as static with a .preinit_array pointer.
603 * sysdeps/init_array/gmon-start.c: New file. Use that.
604 * sysdeps/init_array/crti.S: New file, empty except for comments.
605 * sysdeps/init_array/crtn.S: Likewise.
606
e6b5a293 6072013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
608
609 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
610 definining bcopy.
80f844c9
OB
611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
612 Remove Prefer_SSE_for_memop.
613 * sysdeps/x86_64/multiarch/init-arch.h: Remove
614 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
615 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
616 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
617 memset-x86-64.
80f844c9 618 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 619 Remove bzero, memset ifunc support.
80f844c9
OB
620 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
621 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
622 * sysdeps/x86_64/multiarch/memset.S: Likewise.
623 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
624
fb6b0fcb
AS
6252013-03-11 Andreas Schwab <schwab@suse.de>
626
627 [BZ #15234]
628 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
629 by SHLIB_COMPAT.
630 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
631 (GLIBC_2.16): Remove pthread_atfork.
632
3e6bd4b1
PP
6332013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
634
635 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
636 (ptestcases.h): Likewise.
637
222d7f00
RM
6382013-03-08 Roland McGrath <roland@hack.frob.com>
639
640 * Makeconfig ($(common-objpfx)config.status): Depend on
641 sysdeps/*/preconfigure{,.in} too.
642
1ba4f030
JM
6432013-03-08 Joseph Myers <joseph@codesourcery.com>
644
a222d91a
JM
645 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
646 (__free_hook): Use void * instead of __malloc_ptr_t.
647 (__malloc_hook): Likewise.
648 (__realloc_hook): Likewise.
649 (__memalign_hook): Likewise.
650 (__after_morecore_hook): Likewise.
651 * malloc/arena.c (save_malloc_hook): Likewise.
652 (save_free_hook): Likewise.
653 * malloc/hooks.c (malloc_hook_ini): Likewise.
654 (realloc_hook_ini): Likewise.
655 (memalign_hook_ini): Likewise.
656 * malloc/malloc.c (malloc_hook_ini): Likewise.
657 (realloc_hook_ini): Likewise.
658 (memalign_hook_ini): Likewise.
659 (__free_hook): Likewise.
660 (__malloc_hook): Likewise.
661 (__realloc_hook): Likewise.
662 (__memalign_hook): Likewise.
663 (__libc_malloc): Likewise.
664 (__libc_free): Likewise.
665 (__libc_realloc): Likewise.
666 (__libc_memalign): Likewise.
667 (__libc_valloc): Likewise.
668 (__libc_pvalloc): Likewise.
669 (__libc_calloc): Likewise.
670 (__posix_memalign): Likewise.
671 * malloc/morecore.c (__sbrk): Likewise.
672 (__default_morecore): Likewise.
673
5cc45e10
JM
674 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
675
dd54b864
JM
676 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
677 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
678 __malloc_ptrdiff_t.
679
1ba4f030
JM
680 * malloc/malloc.h (__malloc_size_t): Remove macro.
681 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
682 __malloc_size_t.
683 (old_memalign_hook): Likewise.
684 (old_realloc_hook): Likewise.
685 (struct hdr): Likewise.
686 (flood): Likewise.
687 (mallochook): Likewise.
688 (memalignhook): Likewise.
689 (reallochook): Likewise.
690 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
691 (tr_old_realloc_hook): Likewise.
692 (tr_old_memalign_hook): Likewise.
693 (tr_mallochook): Likewise.
694 (tr_reallochook): Likewise.
695 (tr_memalignhook): Likewise.
696
edf66e57
AZ
6972013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
698
699 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
700 default_ldbl_pack and using as default implementation.
701 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
702 implementation.
703 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
704 redundant definition.
705 (ldbl_insert_mantissa): Likewise.
706 (ldbl_canonicalize): Likewise.
707 (ldbl_nearbyint): Likewise.
708 (ldbl_pack): Rename to ldbl_pack_ppc.
709 (ldbl_unpack): Rename to ldbl_unpack_ppc.
710 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
711 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
712
6d9145d8
SP
7132013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
714
715 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
716 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
717 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
718 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
719 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
720 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
721 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
722 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
723
4dd4e157
AJ
7242013-03-07 Andreas Jaeger <aj@suse.de>
725
726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
727 bits/mman-linux.h.
728
adbb8027
SP
7292013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
730
ce544b5b
SP
731 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
732 Include mpa.h and declare __MPEXP.
733 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
734 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
735 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
736 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
737 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
738 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
739 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
740
4cc149fd
SP
741 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
742 (__slowpow): Use long double EXPL and LOGL functions to
743 compute POW.
744 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
745 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
746 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
747 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
748 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
749 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
750
e6ebd4a7
SP
751 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
752 intermediate variable to calculate exponent.
753 (__sqr): Likewise.
754 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
755 Likewise.
756 (__sqr): Likewise.
757
82a9811d
SP
758 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
759 [!NO__SQR]: Define __sqr.
760 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
761 and NO__SQR. Remove all code except __mul and __sqr. Include
762 sysdeps/ieee754/dbl-64/mpa.c.
763 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
764
adbb8027
SP
765 [BZ #12723]
766 * posix/Makefile (tests): Add tst-pathconf.
767 * posix/tst-pathconf.c: New test case.
768 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
769 _PC_PIPE_BUF.
770 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
771
39120df9
PF
7722013-03-06 Patsy Franklin <pfrankli@redhat.com>
773
774 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
775
67525cb8
AJ
7762013-03-06 Andreas Jaeger <aj@suse.de>
777
664a9ce4
AJ
778 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
779 definition via __MAP_ANONYMOUS.
780
8e39047d
AJ
781 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
782 it's not part of Linux headers.
783
67525cb8
AJ
784 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
785 (MAP_HUGE_MASK): Define.
786
787 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
788 Define.
789 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
790 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
791 Define.
792 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
793 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
794 Define.
795 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
796 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
797 Define.
798 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
799
800 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
801 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
802 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
803 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
804 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
805 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
806
807 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
808 Handle f2fs.
809
810 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
811 Handle f2fs and efivarfs.
812
813 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
814 f2fs.
815
816 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
817 (EFIVARFS_MAGIC): Add.
818 (F2FS_LINK_MAX): Add.
819
e1b42695
PP
8202013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
821
822 * stdio-common/vfprintf.c: Replace __builtin_expect with
823 __glibc_unlikely.
824
2d67d91a
JM
8252013-03-06 Joseph Myers <joseph@codesourcery.com>
826
827 [BZ #13550]
828 * sysdeps/generic/bp-sym.h: Remove file.
829 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
830 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
831 <bp-sym.h> and <bp-asm.h>.
832 (__longjmp): Don't use BP_SYM.
833 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
834 and <bp-asm.h>.
835 (memcpy): Don't use BP_SYM.
836 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
837 <bp-sym.h> and <bp-asm.h>.
838 (memcpy): Don't use BP_SYM.
839 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
840 <bp-asm.h>.
841 (memcpy): Don't use BP_SYM.
842 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
843 <bp-asm.h>.
844 (memset): Don't use BP_SYM.
845 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
846 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
847 (__bzero): Don't use BP_SYM.
848 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
849 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
850 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
851 <bp-sym.h> and <bp-asm.h>.
852 (memcmp): Don't use BP_SYM. Remove comment about bounded
853 pointers.
854 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
855 <bp-sym.h> and <bp-asm.h>.
856 (memcpy): Don't use BP_SYM.
857 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
858 <bp-sym.h> and <bp-asm.h>.
859 (memset): Don't use BP_SYM.
860 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
861 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
862 (__bzero): Don't use BP_SYM.
863 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
864 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
865 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
866 <bp-sym.h> and <bp-asm.h>.
867 (strncmp): Don't use BP_SYM. Remove comment about bounded
868 pointers.
869 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
870 <bp-sym.h> and <bp-asm.h>.
871 (memcpy): Don't use BP_SYM.
872 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
873 <bp-sym.h> and <bp-asm.h>.
874 (memset): Don't use BP_SYM.
875 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
876 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
877 (__bzero): Don't use BP_SYM.
878 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
879 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
880 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
881 <bp-sym.h> and <bp-asm.h>.
882 (__memchr): Don't use BP_SYM.
883 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
884 <bp-sym.h> and <bp-asm.h>.
885 (memcmp): Don't use BP_SYM. Remove comment about bounded
886 pointers.
887 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
888 <bp-sym.h> and <bp-asm.h>.
889 (memcpy): Don't use BP_SYM.
890 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
891 <bp-sym.h> and <bp-asm.h>.
892 (__mempcpy): Don't use BP_SYM.
893 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
894 <bp-sym.h> and <bp-asm.h>.
895 (__memrchr): Don't use BP_SYM.
896 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
897 <bp-sym.h> and <bp-asm.h>.
898 (memset): Don't use BP_SYM.
899 (__bzero): Likewise.
900 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
901 <bp-sym.h> and <bp-asm.h>.
902 (__rawmemchr): Don't use BP_SYM.
903 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
904 <bp-sym.h> and <bp-asm.h>.
905 (__STRCMP): Don't use BP_SYM.
906 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
907 <bp-sym.h> and <bp-asm.h>.
908 (strchr): Don't use BP_SYM.
909 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
910 <bp-sym.h> and <bp-asm.h>.
911 (__strchrnul): Don't use BP_SYM.
912 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
913 <bp-sym.h> and <bp-asm.h>.
914 (strlen): Don't use BP_SYM.
915 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
916 <bp-sym.h> and <bp-asm.h>.
917 (strncmp): Don't use BP_SYM. Remove comment about bounded
918 pointers.
919 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
920 <bp-sym.h> and <bp-asm.h>.
921 (__strnlen): Don't use BP_SYM.
922 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
923 <bp-sym.h> and <bp-asm.h>.
924 (__GI__setjmp): Don't use BP_SYM.
925 (_setjmp): Likewise.
926 (__sigsetjmp): Likewise.
927 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
928 (L(start_addresses)): Don't use BP_SYM.
929 (_start): Likewise.
930 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
931 <bp-asm.h>.
932 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
933 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
934 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
935 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
936 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
937 <bp-asm.h>.
938 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
939 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
940 about bounded pointers.
941 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
942 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
943 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
944 <bp-asm.h>.
945 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
946 about bounded pointers. Remove GKM FIXME comments.
947 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
948 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
949 <bp-asm.h>.
950 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
951 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
952 Remove GKM FIXME comments.
953 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
954 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
955 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
956 <bp-asm.h>.
957 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
958 about bounded pointers. Remove GKM FIXME comment.
959 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
960 and <bp-asm.h>.
961 (strncmp): Don't use BP_SYM. Remove comment about bounded
962 pointers.
963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
964 <bp-sym.h> and <bp-asm.h>.
965 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
967 <bp-sym.h> and <bp-asm.h>.
968 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
969 comment.
970
cdcf361f
PP
9712013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
972
973 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
974 call free(NULL).
975
3c4a2b15
DM
9762013-03-05 David S. Miller <davem@davemloft.net>
977
978 * po/es.po: Update from translation team.
979
cdcf361f 9802013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
981
982 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
983 <bits/mman-linux.h>.
984 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
985 is fine.
986 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
987 <bits/mman-linux.h> to end of file.
988 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
989 is fine.
990 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
991 <bits/mman-linux.h> to end of file.
992 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
993 is fine.
994 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
995 <bits/mman-linux.h> to end of file.
996
997 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
998 (MCL_CURRENT, MCL_FUTURE): Define here.
999
5f67c04f
AK
10002013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1001
8a4473cc 1002 [BZ #15232]
5f67c04f
AK
1003 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1004 attribute_hidden.
1005 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1006
c3e94a95
AK
10072013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1008
1009 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1010 fourth parameter needed for rt_sigprocmask syscall.
1011 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1012 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1013 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1014 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1015 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1016 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1017
cfb6382a
JM
10182013-03-04 Joseph Myers <joseph@codesourcery.com>
1019
1020 [BZ #13550]
1021 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1022 comment about bounded pointers.
1023 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1024 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1025
539d8e01
AJ
10262013-03-04 Andreas Jaeger <aj@suse.de>
1027
1028 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1029 common definitions.
1030
1031 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1032 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1033 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1034 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1035 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
1036 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1037
2e167a70 10382013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
1039
1040 [BZ #15055]
1041 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1042 __ieee754_sqrl instead of __sqrl.
1043
68508633
JM
10442013-03-01 Joseph Myers <joseph@codesourcery.com>
1045
1046 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1047 * sysdeps/powerpc/fpu_control.h: ... here.
1048 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1049 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1050 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1051 * sysdeps/powerpc/bits/mathinline.h: ... here.
1052
7775448e
RM
10532013-03-01 Roland McGrath <roland@hack.frob.com>
1054
1055 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1056 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1057 to just [NEED_DL_SYSINFO_DSO].
1058 * elf/dl-support.c: Likewise.
1059 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1060 * elf/rtld.c (dl_main): Likewise.
1061 * elf/setup-vdso.h (setup_vdso): Likewise.
1062 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1063 * sysdeps/unix/sysv/linux/dl-sysdep.c
1064 (_dl_discover_osversion): Likewise.
1065
4e9b5995
CD
10662013-03-01 Carlos O'Donell <carlos@redhat.com>
1067
1068 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1069 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1070
e23872c8
SP
10712013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1072
e5c74c63
SP
1073 * NEWS: Mention libm performance improvements and non-x86 PI
1074 futex support.
1075
e23872c8
SP
1076 * csu/libc-start.c (__pthread_initialize_minimal): Change
1077 function arguments.
1078 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1079
b5510883
JM
10802013-02-28 Joseph Myers <joseph@codesourcery.com>
1081
1082 [BZ #13550]
1083 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1084 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1085 <bp-sym.h> and <bp-asm.h>.
1086 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1087 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1088 and <bp-asm.h>.
1089 (memcpy): Don't use BP_SYM.
1090 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1091 <bp-asm.h>.
1092 (__mpn_add_n): Don't use BP_SYM.
1093 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1094 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1095 and <bp-asm.h>.
1096 (__mpn_addmul_1): Don't use BP_SYM.
1097 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1098 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1099 <bp-sym.h>.
1100 (_setjmp): Don't use BP_SYM.
1101 (__novmx_setjmp): Likewise.
1102 (__GI__setjmp): Likewise.
1103 (__vmx_setjmp): Likewise.
1104 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1105 <bp-sym.h>.
1106 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1107 (__bzero): Don't use BP_SYM.
1108 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1109 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1110 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1111 <bp-sym.h> and <bp-asm.h>.
1112 (memcpy): Don't use BP_SYM.
1113 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1114 <bp-sym.h> and <bp-asm.h>.
1115 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1116 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1117 <bp-sym.h> and <bp-asm.h>.
1118 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1119 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1120 <bp-asm.h>.
1121 (__mpn_lshift): Don't use BP_SYM.
1122 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1123 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1124 <bp-asm.h>.
1125 (memset): Don't use BP_SYM.
1126 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1127 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1128 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1129 <bp-asm.h>.
1130 (__mpn_mul_1): Don't use BP_SYM.
1131 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1132 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1133 <bp-sym.h> and <bp-asm.h>.
1134 (memcmp): Don't use BP_SYM.
1135 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1136 <bp-sym.h> and <bp-asm.h>.
1137 (memcpy): Don't use BP_SYM.
1138 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1139 <bp-sym.h> and <bp-asm.h>.
1140 (memset): Don't use BP_SYM.
1141 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1142 <bp-sym.h> and <bp-asm.h>.
1143 (strncmp): Don't use BP_SYM.
1144 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1145 <bp-sym.h> and <bp-asm.h>.
1146 (memcpy): Don't use BP_SYM.
1147 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1148 <bp-sym.h> and <bp-asm.h>.
1149 (memset): Don't use BP_SYM.
1150 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1151 <bp-sym.h> and <bp-asm.h>.
1152 (__memchr): Don't use BP_SYM.
1153 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1154 <bp-sym.h> and <bp-asm.h>.
1155 (memcmp): Don't use BP_SYM.
1156 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1157 <bp-sym.h> and <bp-asm.h>.
1158 (memcpy): Don't use BP_SYM.
1159 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1160 <bp-sym.h> and <bp-asm.h>.
1161 (__mempcpy): Don't use BP_SYM.
1162 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1163 <bp-sym.h> and <bp-asm.h>.
1164 (__memrchr): Don't use BP_SYM.
1165 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1166 <bp-sym.h> and <bp-asm.h>.
1167 (memset): Don't use BP_SYM.
1168 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1169 <bp-sym.h> and <bp-asm.h>.
1170 (__rawmemchr): Don't use BP_SYM.
1171 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1172 <bp-sym.h> and <bp-asm.h>.
1173 (__STRCMP): Don't use BP_SYM.
1174 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1175 <bp-sym.h> and <bp-asm.h>.
1176 (strchr): Don't use BP_SYM.
1177 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1178 <bp-sym.h> and <bp-asm.h>.
1179 (__strchrnul): Don't use BP_SYM.
1180 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1181 <bp-sym.h> and <bp-asm.h>.
1182 (strlen): Don't use BP_SYM.
1183 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1184 <bp-sym.h> and <bp-asm.h>.
1185 (strncmp): Don't use BP_SYM.
1186 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1187 <bp-sym.h> and <bp-asm.h>.
1188 (__strnlen): Don't use BP_SYM.
1189 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1190 <bp-asm.h>.
1191 (__mpn_rshift): Don't use BP_SYM.
1192 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1193 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1194 <bp-sym.h> and <bp-asm.h>.
1195 (__sigsetjmp): Don't use BP_SYM.
1196 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1197 (L(start_addresses)): Don't use BP_SYM.
1198 (_start): Likewise.
1199 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1200 <bp-asm.h>.
1201 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1202 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1203 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1204 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1205 <bp-asm.h>.
1206 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1207 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1208 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1209 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1210 <bp-asm.h>.
1211 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1212 comments.
1213 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1214 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1215 <bp-asm.h>.
1216 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1217 FIXME comments.
1218 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1219 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1220 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1221 <bp-asm.h>.
1222 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1223 comment.
1224 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1225 and <bp-asm.h>.
1226 (strncmp): Don't use BP_SYM,
1227 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1228 <bp-asm.h>.
1229 (__mpn_sub_n): Don't use BP_SYM.
1230 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1231 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1232 and <bp-asm.h>.
1233 (__mpn_submul_1): Don't use BP_SYM.
1234 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1236 <bp-sym.h> and <bp-asm.h>.
1237 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1239 <bp-sym.h> and <bp-asm.h>.
1240 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1241 comment.
1242
8d19fe64
SP
12432013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1244
1245 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1246 Use ZK to minimize writes to Z.
1247 (sub_magnitudes): Simplify code a bit.
1248 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1249 Use ZK to minimize writes to Z.
1250 (sub_magnitudes): Simplify code a bit.
1251
85bd816a
RM
12522013-02-27 Roland McGrath <roland@hack.frob.com>
1253
1254 * csu/gmon-start.c: Add special exception to license text.
1255
b5977bf2
RH
12562013-02-27 Richard Henderson <rth@redhat.com>
1257
1258 * scripts/config.guess: Update from config.git.
1259 * scripts/config.sub: Likewise.
1260
11d6e2f2
SP
12612013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1262
09c14ed2
SP
1263 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1264
a688864e
SP
1265 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1266
6295157a
SP
1267 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1268
b8de2202
SP
1269 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1270
11d6e2f2
SP
1271 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1272
7e80ddb8
RM
12732013-02-26 Roland McGrath <roland@hack.frob.com>
1274
1275 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1276 [$(build-shared = yes].
7e80ddb8 1277
7da6d9ed
SP
12782013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1279
45f05884
SP
1280 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1281 (__mul): Reduce iterations for calculating mantissa.
1282
2236d359
SP
1283 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1284 MPTWO.
1285 (__mpranred): Likewise.
1286
7da6d9ed
SP
1287 [BZ #15160]
1288 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1289 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1290
b7688c42
PE
12912013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1292
1293 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1294 Define __attribute__.
1295
53a5c423
SP
12962013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1297
1298 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1299 unused.
1300 * posix/regex_internal.h (__attribute): Remove.
1301 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1302 (re_string_context_at): Likewise.
1303 (bitset_not): Use __attribute__ and mark function as possibly
1304 unused.
1305 (bitset_merge): Likewise.
1306 (bitset_mask): Likewise.
1307 (re_string_char_size_at): Likewise.
1308 (re_string_wchar_at): Likewise.
1309 (re_string_elem_size_at): Likewise.
1310
60f5a8b5
SP
13112013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1312
2a983a2e
SP
1313 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1314 code.
1315 (cc32): Likewise.
1316
e69804d1
SP
1317 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1318 (__acr): Likewise.
1319 (__cpy): Likewise.
1320 (norm): Likewise.
1321 (denorm): Likewise.
1322 (__dbl_mp): Likewise.
1323 (add_magnitudes): Likewise.
1324 (sub_magnitudes): Likewise.
1325 (__mul): Likewise.
1326 (__inv): Likewise.
1327
2f22a1e8
SP
1328 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1329 style.
1330
8930ddc7
SP
1331 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1332 style.
1333
dc60cb11
SP
1334 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1335 code.
1336
60f5a8b5
SP
1337 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1338 up changes with default code.
1339 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1340 Likewise.
1341
b4d1fd33
AM
13422013-02-24 Allan McRae <allan@archlinux.org>
1343
faf6f8bc
AM
1344 * manual/socket.texi (The Internet Namespace): Order menu items
1345 to match that in the file.
1346
b4d1fd33
AM
1347 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1348 node listing of the info page menu.
1349
2366713d
JM
13502013-02-21 Joseph Myers <joseph@codesourcery.com>
1351
1352 [BZ #13550]
1353 * sysdeps/i386/bp-asm.h: Remove file.
1354 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1355 (PARMS): Do not use macros from bp-asm.h.
1356 (S1): Likewise.
1357 (S2): Likewise.
1358 (SIZE): Likewise.
1359 (__mpn_add_n): Do not use BP_SYM
1360 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1361 "bp-asm.h".
1362 (PARMS): Do not use macros from bp-asm.h.
1363 (S1): Likewise.
1364 (SIZE): Likewise.
1365 (__mpn_addmul_1): Do not use BP_SYM
1366 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1367 "bp-asm.h".
1368 (PARMS): Do not use macros from bp-asm.h.
1369 (SIGMSK): Likewise.
1370 (_setjmp): Likewise. Do not use BP_SYM.
1371 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1372 "bp-asm.h".
1373 (PARMS): Do not use macros from bp-asm.h.
1374 (SIGMSK): Likewise.
1375 (setjmp): Likewise. Do not use BP_SYM.
1376 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1377 "bp-asm.h".
1378 (PARMS): Do not use macros from bp-asm.h.
1379 (__frexp): Do not use BP_SYM.
1380 (frexp): Likewise.
1381 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1382 "bp-asm.h".
1383 (PARMS): Do not use macros from bp-asm.h.
1384 (__frexpf): Do not use BP_SYM.
1385 (frexpf): Likewise.
1386 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1387 "bp-asm.h".
1388 (PARMS): Do not use macros from bp-asm.h.
1389 (__frexpl): Do not use BP_SYM.
1390 (frexpl): Likewise.
1391 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1392 "bp-asm.h".
1393 (PARMS): Do not use macros from bp-asm.h.
1394 (__remquo): Do not use BP_SYM.
1395 (remquo): Likewise.
1396 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1397 "bp-asm.h".
1398 (PARMS): Do not use macros from bp-asm.h.
1399 (__remquof): Do not use BP_SYM.
1400 (remquof): Likewise.
1401 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1402 "bp-asm.h".
1403 (PARMS): Do not use macros from bp-asm.h.
1404 (__remquol): Do not use BP_SYM.
1405 (remquol): Likewise.
1406 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1407 "bp-asm.h".
1408 (PARMS): Do not use macros from bp-asm.h.
1409 (DEST): Likewise.
1410 (SRC): Likewise.
1411 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1412 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1413 "bp-asm.h".
1414 (PARMS): Do not use macros from bp-asm.h.
1415 (strlen): Do not use BP_SYM.
1416 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1417 "bp-asm.h".
1418 (PARMS): Do not use macros from bp-asm.h.
1419 (S1): Likewise.
1420 (S2): Likewise.
1421 (SIZE): Likewise.
1422 (__mpn_add_n): Do not use BP_SYM.
1423 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1424 "bp-asm.h".
1425 (PARMS): Do not use macros from bp-asm.h.
1426 (S1): Likewise.
1427 (SIZE): Likewise.
1428 (__mpn_addmul_1): Do not use BP_SYM.
1429 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1430 weak_alias.
1431 (bzero): Likewise.
1432 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1433 "bp-asm.h".
1434 (PARMS): Do not use macros from bp-asm.h.
1435 (S): Likewise.
1436 (SIZE): Likewise.
1437 (__mpn_lshift): Do not use BP_SYM.
1438 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1439 "bp-asm.h".
1440 (PARMS): Do not use macros from bp-asm.h.
1441 (DEST): Likewise.
1442 (SRC): Likewise.
1443 (LEN): Likewise.
1444 (memcpy): Likewise. Do not use BP_SYM.
1445 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1446 libc_hidden_def and weak_alias.
1447 (mempcpy): Do not use BP_SYM in weak_alias.
1448 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1449 "bp-asm.h".
1450 (PARMS): Do not use macros from bp-asm.h.
1451 (DEST): Likewise.
1452 (LEN): Likewise.
1453 [!BZERO_P] (CHR): Likewise.
1454 (memset): Likewise. Do not use BP_SYM.
1455 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1456 "bp-asm.h".
1457 (PARMS): Do not use macros from bp-asm.h.
1458 (S1): Likewise.
1459 (SIZE): Likewise.
1460 (__mpn_mul_1): Do not use BP_SYM.
1461 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1462 "bp-asm.h".
1463 (PARMS): Do not use macros from bp-asm.h.
1464 (S): Likewise.
1465 (SIZE): Likewise.
1466 (__mpn_rshift): Do not use BP_SYM.
1467 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1468 "bp-asm.h".
1469 (PARMS): Do not use macros from bp-asm.h.
1470 (STR): Likewise.
1471 (CHR): Likewise.
1472 (strchr): Likewise. Do not use BP_SYM.
1473 (index): Do not use BP_SYM in weak_alias.
1474 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1475 "bp-asm.h".
1476 (PARMS): Do not use macros from bp-asm.h.
1477 (DEST): Likewise.
1478 (SRC): Likewise.
1479 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1480 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1481 "bp-asm.h".
1482 (PARMS): Do not use macros from bp-asm.h.
1483 (strlen): Do not use BP_SYM.
1484 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1485 "bp-asm.h".
1486 (PARMS): Do not use macros from bp-asm.h.
1487 (S1): Likewise.
1488 (S2): Likewise.
1489 (SIZE): Likewise.
1490 (__mpn_sub_n): Do not use BP_SYM.
1491 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1492 "bp-asm.h".
1493 (PARMS): Do not use macros from bp-asm.h.
1494 (S1): Likewise.
1495 (SIZE): Likewise.
1496 (__mpn_submul_1): Do not use BP_SYM.
1497 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1498 "bp-asm.h".
1499 (PARMS): Do not use macros from bp-asm.h.
1500 (S1): Likewise.
1501 (S2): Likewise.
1502 (SIZE): Likewise.
1503 (__mpn_add_n): Do not use BP_SYM.
1504 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1505 weak_alias.
1506 (bzero): Likewise.
1507 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1508 "bp-asm.h".
1509 (PARMS): Do not use macros from bp-asm.h.
1510 (BLK2): Likewise.
1511 (LEN): Likewise.
1512 (memcmp): Do not use BP_SYM.
1513 (bcmp): Do not use BP_SYM in weak_alias.
1514 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1515 "bp-asm.h".
1516 (PARMS): Do not use macros from bp-asm.h.
1517 (DEST): Likewise.
1518 (SRC): Likewise.
1519 (LEN): Likewise.
1520 (memcpy): Likewise. Do not use BP_SYM.
1521 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1522 "bp-asm.h".
1523 (PARMS): Do not use macros from bp-asm.h.
1524 (DEST): Likewise.
1525 (SRC): Likewise.
1526 (LEN): Likewise.
1527 (memmove): Likewise. Do not use BP_SYM.
1528 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1529 "bp-asm.h".
1530 (PARMS): Do not use macros from bp-asm.h.
1531 (DEST): Likewise.
1532 (SRC): Likewise.
1533 (LEN): Likewise.
1534 (__mempcpy): Likewise. Do not use BP_SYM.
1535 (mempcpy): Do not use BP_SYM in weak_alias.
1536 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1537 "bp-asm.h".
1538 (PARMS): Do not use macros from bp-asm.h.
1539 (DEST): Likewise.
1540 (LEN): Likewise.
1541 [!BZERO_P] (CHR): Likewise.
1542 (memset): Likewise. Do not use BP_SYM.
1543 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1544 "bp-asm.h".
1545 (PARMS): Do not use macros from bp-asm.h.
1546 (STR2): Likewise.
1547 (strcmp): Do not use BP_SYM.
1548 * sysdeps/i386/i686/strtok.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 (DELIM): Likewise.
1553 [USE_AS_STRTOK_R] (SAVE): Likewise.
1554 (FUNCTION): Likewise. Do not use BP_SYM.
1555 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1556 aliases.
1557 (strtok_r): Likewise.
1558 (__GI___strtok_r): Likewise.
1559 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1560 (PARMS): Do not use macros from bp-asm.h.
1561 (S): Likewise.
1562 (SIZE): Likewise.
1563 (__mpn_lshift): Do not use BP_SYM.
1564 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1565 (PARMS): Do not use macros from bp-asm.h.
1566 (STR): Likewise.
1567 (CHR): Likewise.
1568 (__memchr): Do not use BP_SYM.
1569 (memchr): Do not use BP_SYM in weak_alias.
1570 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1571 (PARMS): Do not use macros from bp-asm.h.
1572 (BLK2): Likewise.
1573 (LEN): Likewise.
1574 (memcmp): Do not use BP_SYM.
1575 (bcmp): Do not use BP_SYM in weak_alias.
1576 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1577 (PARMS): Do not use macros from bp-asm.h.
1578 (S1): Likewise.
1579 (SIZE): Likewise.
1580 (__mpn_mul_1): Do not use BP_SYM.
1581 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1582 "bp-asm.h".
1583 (PARMS): Do not use macros from bp-asm.h.
1584 (STR): Likewise.
1585 (CHR): Likewise.
1586 (__rawmemchr): Do not use BP_SYM.
1587 (rawmemchr): Do not use BP_SYM in weak_alias.
1588 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1589 (PARMS): Do not use macros from bp-asm.h.
1590 (S): Likewise.
1591 (SIZE): Likewise.
1592 (__mpn_rshift): Do not use BP_SYM.
1593 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1594 (PARMS): Do not use macros from bp-asm.h.
1595 (SIGMSK): Likewise.
1596 (__sigsetjmp): Likewise. Do not use BP_SYM.
1597 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1598 (_start): Do not use BP_SYM.
1599 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1600 (PARMS): Do not use macros from bp-asm.h.
1601 (DEST): Likewise.
1602 (SRC): Likewise.
1603 (__stpcpy): Likewise. Do not use BP_SYM.
1604 (stpcpy): Do not use BP_SYM in weak_alias.
1605 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1606 "bp-asm.h".
1607 (PARMS): Do not use macros from bp-asm.h.
1608 (DEST): Likewise.
1609 (SRC): Likewise.
1610 (LEN): Likewise.
1611 (__stpncpy): Likewise. Do not use BP_SYM.
1612 (stpncpy): Do not use BP_SYM in weak_alias.
1613 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1614 (PARMS): Do not use macros from bp-asm.h.
1615 (STR): Likewise.
1616 (CHR): Likewise.
1617 (strchr): Likewise. Do not use BP_SYM.
1618 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1619 "bp-asm.h".
1620 (PARMS): Do not use macros from bp-asm.h.
1621 (STR): Likewise.
1622 (CHR): Likewise.
1623 (__strchrnul): Likewise. Do not use BP_SYM.
1624 (strchrnul): Do not use BP_SYM in weak_alias.
1625 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1626 "bp-asm.h".
1627 (PARMS): Do not use macros from bp-asm.h.
1628 (STOP): Likewise.
1629 (strcspn): Do not use BP_SYM.
1630 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1631 "bp-asm.h".
1632 (PARMS): Do not use macros from bp-asm.h.
1633 (STR): Likewise.
1634 (STOP): Likewise.
1635 (strpbrk): Likewise. Do not use BP_SYM.
1636 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1637 "bp-asm.h".
1638 (PARMS): Do not use macros from bp-asm.h.
1639 (STR): Likewise.
1640 (CHR): Likewise.
1641 (strrchr): Likewise. Do not use BP_SYM.
1642 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1643 (PARMS): Do not use macros from bp-asm.h.
1644 (SKIP): Likewise.
1645 (strspn): Do not use BP_SYM.
1646 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1647 (PARMS): Do not use macros from bp-asm.h.
1648 (STR): Likewise.
1649 (DELIM): Likewise.
1650 (SAVE): Likewise.
1651 (FUNCTION): Likewise. Do not use BP_SYM.
1652 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1653 aliases.
1654 (strtok_r): Likewise.
1655 (__GI___strtok_r): Likewise.
1656 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1657 (PARMS): Do not use macros from bp-asm.h.
1658 (S1): Likewise.
1659 (S2): Likewise.
1660 (SIZE): Likewise.
1661 (__mpn_sub_n): Do not use BP_SYM.
1662 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1663 "bp-asm.h".
1664 (PARMS): Do not use macros from bp-asm.h.
1665 (S1): Likewise.
1666 (SIZE): Likewise.
1667 (__mpn_submul_1): Do not use BP_SYM.
1668 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1669 <bp-sym.h>.
1670 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1671 and <bp-asm.h>.
1672 (PARMS): Do not use macros from bp-asm.h.
1673 (FLAGS): Likewise.
1674 (PTID): Likewise.
1675 (TLS): Likewise.
1676 (CTID): Likewise.
1677 (__clone): Do not use BP_SYM.
1678 (clone): Do not use BP_SYM in weak_alias.
1679 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1680 and <bp-asm.h>.
1681 (PARMS): Do not use macros from bp-asm.h.
1682 (LEN): Likewise.
1683 (__mmap64): Do not use BP_SYM.
1684 (mmap64): Do not use BP_SYM in weak_alias.
1685 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1686 <bp-sym.h> and <bp-asm.h>.
1687 (PARMS): Do not use macros from bp-asm.h.
1688 (__posix_fadvise64_l64): Do not use BP_SYM.
1689 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1690 (PARMS): Do not use macros from bp-asm.h.
1691 (NSOPS): Likewise.
1692 (semtimedop): Do not use BP_SYM.
1693 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1694 and <bp-asm.h>.
1695
582a3cff
AM
16962013-02-21 Allan McRae <allan@archlinux.org>
1697
1698 * manual/message.texi (Charset conversion in gettext):
1699 Move @end statement to beginning of line.
1700
bab8a695
SP
17012013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1702
80945231
SP
1703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1704 static.
1705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1706 Likewise.
1707
bab8a695
SP
1708 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1709 (denorm): Likewise.
1710 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1711 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1712
e21d7aa7
AK
17132013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1714
1715 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1716 tail-call to the resolved function if pltexit isn't needed.
1717
4c7a4263
SP
17182013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1719
1720 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1721 or Y being zero as being unlikely.
1722 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1723 Likewise.
1724
41f49342
CD
17252013-02-20 Carlos O'Donell <carlos@redhat.com>
1726
1727 * manual/nss.texi (System Databases and Name Service Switch):
1728 Remove frobnicate @pxref.
1729
50022a93
TS
17302013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1731
1732 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1733 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1734
08cbd996
PM
17352013-02-20 Petr Machata <pmachata@redhat.com>
1736
1737 * elf/elf.h (R_ARM_TARGET1): New macro.
1738 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1739 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1740 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1741 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1742 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1743 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1744 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1745 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1746 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1747 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1748 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1749 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1750 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1751 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1752 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1753 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1754 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1755 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1756 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1757 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1758 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1759 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1760 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1761 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1762 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1763 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1764 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1765 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1766 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1767 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1768 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1769 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1770 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1771 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1772 (R_ARM_THM_GOT_BREL12): Likewise.
1773 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1774 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1775 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1776 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1777 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1778 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1779 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1780 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1781 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1782
c7b275d6
TS
17832013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1784
1785 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1786 __attribute_used__ to __attribute__ ((unused)).
1787
20cd7fb3
SP
17882013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1789
1790 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1791 powerpc mpa.c.
1792 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1793 comment formatting.
1794 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1795
92945b52
JM
17962013-02-19 Joseph Myers <joseph@codesourcery.com>
1797
1798 [BZ #13550]
1799 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1800 Remove macro.
1801 (ENTER): Remove both macro definitions.
1802 (LEAVE): Likewise.
1803 (CHECK_BOUNDS_LOW): Likewise.
1804 (CHECK_BOUNDS_HIGH): Likewise.
1805 (CHECK_BOUNDS_BOTH): Likewise.
1806 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1807 (RETURN_BOUNDED_POINTER): Likewise.
1808 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1809 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1810 (POP_ERRNO_LOCATION_RETURN): Likewise.
1811 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1812 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1813 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1814 macros.
1815 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1816 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1817 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1818 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1819 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1820 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1821 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1822 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1823 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1824 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1825 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1826 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1827 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1828 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1829 removed macros.
1830 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1831 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1832 macros.
1833 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1834 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1835 * sysdeps/i386/i586/memset.S (memset): Likewise.
1836 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1837 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1838 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1839 macros.
1840 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1841 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1842 Change uses of L(2) to L(out).
1843 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1844 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1845 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1846 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1847 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1848 removed macros.
1849 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1850 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1851 macros.
1852 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1853 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1854 (RETURN): Do not use macro LEAVE.
1855 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1856 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1857 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1858 * sysdeps/i386/i686/memset.S (memset): Likewise.
1859 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1860 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1861 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1862 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1863 Likewise.
1864 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1865 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1866 L(1_2) and L(1_3) into L(1).
1867 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1868 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1869 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1870 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1871 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1872 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1873 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1874 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1875 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1876 macros.
1877 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1878 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1879 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1880 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1881 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1882 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1883 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1884 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1885 * sysdeps/i386/strcspn.S (strcspn): Likewise.
1886 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1887 * sysdeps/i386/strrchr.S (strrchr): Likewise.
1888 * sysdeps/i386/strspn.S (strspn): Likewise.
1889 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1890 conditional code.
1891 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1892 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1893 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1894 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
1895 L(1_3) into L(1_1).
1896 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1897 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1898 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1899 macros.
1900 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1901
2389741a
JJ
19022013-02-19 Jakub Jelinek <jakub@redhat.com>
1903
1904 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1905 macro.
1906
2016b3cd
SP
19072013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1908
e4f22324
SP
1909 * math/atest-exp.c (exp_mpn): Remove ROUND.
1910 * math/atest-exp2.c (exp_mpn): Likewise.
1911 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1912
2016b3cd
SP
1913 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1914 * stdlib/tst-tls-atexit-lib.c: Likewise.
1915 * stdlib/tst-tls-atexit.c: Likewise.
1916
4be9b544
MF
19172013-02-18 Mike Frysinger <vapier@gentoo.org>
1918
1919 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1920 and __attribute_alloc_size__.
1921
2f62b9ee
MF
19222013-02-18 Mike Frysinger <vapier@gentoo.org>
1923
1924 * include/programs/xmalloc.h: Change __attribute_alloc_size to
1925 __attribute_alloc_size__.
1926 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1927 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1928
6ff444c4
MF
19292013-02-18 Mike Frysinger <vapier@gentoo.org>
1930
1931 * include/programs/xmalloc.h: New file.
1932 * catgets/gencat.c: Include it.
1933 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1934 * elf/pldd.c: Likewise.
1935 * iconv/iconv_charmap.c: Likewise.
1936 * iconv/iconvconfig.c: Likewise.
1937 * iconv/strtab.c: Likewise.
1938 * locale/programs/locale.c: Likewise.
1939 * locale/programs/localedef.h: Likewise.
1940 * locale/programs/simple-hash.c: Likewise.
1941 * nscd/nscd.h: Likewise.
1942 * nss/makedb.c: Likewise.
1943 * sysdeps/generic/ldconfig.h: Likewise.
1944
be179c8a
SP
19452013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1946
ba384f6e
SP
1947 * Versions.def: Add GLIBC_2.18.
1948 * include/link.h (struct link_map): New member l_tls_dtor_count.
1949 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1950 (__call_tls_dtors): Likewise.
1951 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1952 __cxa_thread_atexit_impl.
1953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1954 Likewise.
1955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1956 Likewise.
1957 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1958 Likewise.
1959 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1960 Likewise.
1961 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1963 Likewise.
1964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1965 Likewise.
1966 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1967 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1968 Likewise.
1969 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1970 (tests): Add test case tst-tls-atexit.
1971 (modules-names): Add shared library for tst-tls-atexit.
1972 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1973 (GLIBC_PRIVATE): Add __call_tls_dtors.
1974 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1975 for libstdc++.
1976 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1977 * stdlib/tst-tls-atexit.c: New test case.
1978 * stdlib/tst-tls-atexit-lib.c: New test case.
1979
ffaa74cf 1980 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 1981
be179c8a
SP
1982 * elf/Versions (ld): Add _dl_find_dso_for_object.
1983 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1984 * elf/dl-open.c (_dl_find_dso_for_object): New function.
1985 (dl_open_worker): Use _dl_find_dso_for_object.
1986 * elf/dl-sym.c (do_sym): Likewise.
1987 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1988
f78b5caa
AK
19892013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1990
1991 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1992 Syntactic changes only.
1993 (_dl_runtime_profile): Do a tail-call to the resolved function.
1994
29691210
JM
19952013-02-17 Joseph Myers <joseph@codesourcery.com>
1996
1997 [BZ #13550]
1998 * sysdeps/x86_64/bp-asm.h: Remove file.
1999 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2000 <bp-sym.h> and <bp-asm.h>.
2001 (__clone): Do not use BP_SYM.
2002 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2003 <bp-sym.h> and <bp-asm.h>.
2004 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2005 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2006 "bp-asm.h".
2007 (_setjmp): Do not use BP_SYM.
2008 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2009 "bp-asm.h".
2010 (setjmp): Do not use BP_SYM.
2011 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2012 libc_hidden_def.
2013 (mempcpy): Do not use BP_SYM in weak_alias.
2014 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2015 "bp-asm.h".
2016 (strchr): Do not use BP_SYM.
2017 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2018 "bp-asm.h".
2019 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2020 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2021 (_start): Do not use BP_SYM.
2022 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2023 "bp-asm.h".
2024 (strcat): Do not use BP_SYM.
2025 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2026 "bp-asm.h".
2027 (STRCMP): Do not use BP_SYM.
2028 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2029 "bp-asm.h".
2030 (STRCPY): Do not use BP_SYM.
2031 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2032 "bp-asm.h".
2033 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2034 "bp-asm.h".
2035 (FUNCTION): Do not use BP_SYM.
2036 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2037 weak_alias.
2038 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2039
f238fd19
AJ
20402013-02-17 Andreas Jaeger <aj@suse.de>
2041
2042 * time/Versions: Sort entries.
2043 * string/Versions: Likewise.
2044 * resolv/Versions: Likewise.
2045 * posix/Versions: Likewise.
2046 * iconv/Versions: Likewise.
2047 * elf/Versions: Likewise.
2048 * wcsmbs/Versions: Likewise.
2049
bd07f23c 20502013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 2051
22af19f9
SP
2052 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2053 loop termination condition.
2054
4709fe76
SP
2055 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2056 variable to calculate EZ.
2057 (__sqr): Likewise.
2d0e0f29
SP
2058
2059 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2060 the lower precision input.
2061
daaa7713
JM
20622013-02-15 Joseph Myers <joseph@codesourcery.com>
2063
2064 [BZ #13550]
2065 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2066 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2067 (run-via-rtld-prefix): Do not handle %-bp tests.
2068 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2069 (all-object-suffixes): Remove .ob.
2070 (bppfx): Remove variable.
2071 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2072 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2073 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2074 [$(build-bounded) = yes] (libtype.ob): Likewise.
2075 * Makerules (elide-routines.ob): Remove variable.
2076 (do-tests-clean): Do not handle *-bp.out.
2077 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2078 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2079 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2080 (tests): Do not include $(tests-bp.out).
2081 (xtests): Do not include $(xtests-bp.out).
2082 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2083 [$(build-bounded) = yes] ($(addprefix
2084 $(objpfx),$(binaries-bounded))): Remove rule.
2085 ($(objpfx)%-bp.out): Remove rule.
2086 * config.make.in (build-bounded): Remove variable.
2087 * crypt/Makefile [$(build-bounded) = yes]
2088 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2089 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2090 append to variable.
2091 [$(build-bounded) = yes] (install-lib): Likewise.
2092 [$(build-bounded) = yes] (generated): Likewise.
2093 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2094 Remove rule.
2095 * intl/Makefile [$(build-bounded) = yes]
2096 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2097 * math/Makefile [$(build-bounded) = yes]
2098 ($(tests:%=$(objpfx)%-bp): Likewise.
2099 * misc/Makefile [$(build-bounded) = yes]
2100 ($(objpfx)tst-tsearch-bp): Likewise.
2101 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2102 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2103 Remove dependency.
2104 * string/Makefile (o-objects.ob): Remove variable.
2105 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2106 (CFLAGS-.ob): Remove variable.
2107 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2108 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2109 both definitions of variable.
2110 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2111 (ASFLAGS-.ob): Remove variable.
2112
e97ed6dd
JM
21132013-02-14 Joseph Myers <joseph@codesourcery.com>
2114
2bdd4ca6
JM
2115 [BZ #13550]
2116 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2117 Remove __BOUNDED_POINTERS__ from condition.
2118 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2119 * string/bits/string2.h [!__NO_STRING_INLINES &&
2120 !__BOUNDED_POINTERS__]: Likewise.
2121 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2122 Likewise.
2123 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2124 Remove conditional code.
2125 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2126 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2127 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2128 condition.
2129
e97ed6dd
JM
2130 [BZ #13550]
2131 * csu/libc-start.c: Do not include <bp-sym.h>.
2132 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2133 * elf/dl-open.c: Do not include <bp-sym.h>.
2134 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2135 * math/fegetenv.c: Do not include <bp-sym.h>.
2136 (fegetenv): Do not use BP_SYM in versioned symbols.
2137 * nptl/sysdeps/pthread/bits/libc-lockP.h
2138 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2139 <bp-sym.h>.
2140 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2141 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2142 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2143 (__pthread_mutex_destroy): Likewise.
2144 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2145 (__pthread_mutex_lock): Likewise.
2146 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2147 (__pthread_mutex_trylock): Likewise.
2148 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2149 (__pthread_mutex_unlock): Likewise.
2150 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2151 (__pthread_mutexattr_init): Likewise.
2152 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2153 (__pthread_mutexattr_destroy): Likewise.
2154 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2155 (__pthread_mutexattr_settype): Likewise.
2156 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2157 (__pthread_rwlock_init): Likewise.
2158 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2159 (__pthread_rwlock_destroy): Likewise.
2160 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2161 (__pthread_rwlock_rdlock): Likewise.
2162 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2163 (__pthread_rwlock_tryrdlock): Likewise.
2164 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2165 (__pthread_rwlock_wrlock): Likewise.
2166 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2167 (__pthread_rwlock_trywrlock): Likewise.
2168 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2169 (__pthread_rwlock_unlock): Likewise.
2170 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2171 (__pthread_key_create): Likewise.
2172 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2173 (__pthread_setspecific): Likewise.
2174 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2175 (__pthread_getspecific): Likewise.
2176 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2177 Likewise.
2178 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2179 (_pthread_cleanup_push_defer): Likewise.
2180 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2181 (_pthread_cleanup_pop_restore): Likewise.
2182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2183 (pthread_setcancelstate): Likewise.
2184 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2185 <bp-sym.h>.
2186 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2187 (memchr): Do not use BP_SYM in weak_alias.
2188 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2189 (fegetenv): Do not use BP_SYM in versioned symbols.
2190 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2191 (fesetenv): Do not use BP_SYM in versioned symbols.
2192 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2193 (feupdateenv): Do not use BP_SYM in versioned symbols.
2194 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2195 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2196 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2197 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2198 (open64): Do not use BP_SYM in weak_alias.
2199 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2200 (fegetenv): Do not use BP_SYM in versioned symbols.
2201 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2202 (fesetenv): Do not use BP_SYM in versioned symbols.
2203 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2204 (feupdateenv): Do not use BP_SYM in versioned symbols.
2205 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2206 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2207 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2208 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2209 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2210 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2211 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2212 <bp-sym.h>.
2213 (__libc_start_main): Do not use BP_SYM.
2214
d6752ccd
SP
22152013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2216
cb57ce60
SP
2217 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2218 redundant return line.
2219 (norm): Likewise.
2220 (denorm): Likewise.
2221 (dbl_mp): Likewise.
2222 (sub_magnitudes): Likewise.
2223 (__add): Likewise.
2224 (__sub): Likewise.
2225 (__mul): Likewise.
2226 (__inv): Likewise.
2227 (__dvd): Likewise.
2228 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2229 (norm): Likewise.
2230 (denorm): Likewise.
2231 (dbl_mp): Likewise.
2232 (sub_magnitudes): Likewise.
2233 (__add): Likewise.
2234 (__sub): Likewise.
2235 (__mul): Likewise.
2236 (__inv): Likewise.
2237 (__dvd): Likewise.
2238
f414520d
SP
2239 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2240 instead of __mul.
2241 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2242 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2243 (cc32): Likewise.
2244
d6752ccd
SP
2245 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2246 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2247 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2248 of __mul for squares.
2249 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2250 function
2251 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2252 Likewise.
2253 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2254 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2255
70d9946a
JM
22562013-02-13 Joseph Myers <joseph@codesourcery.com>
2257
2258 [BZ #13550]
2259 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2260 code.
2261 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2262 prototype or function definition. Rename ubp_* variables and
2263 parameters. Remove argv definitions conditional on
2264 [__BOUNDED_POINTERS__].
2265 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2266 * elf/dl-runtime.c (_dl_fixup): Likewise.
2267 * include/set-hooks.h (RUN_HOOK): Likewise.
2268 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2269 definition.
2270 * string/strcpy.c (strcpy): Do not use __unbounded.
2271 * sysdeps/generic/frame.h (struct layout): Likewise.
2272 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2273 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2274 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2275 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2276 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2277 (__backtrace): Likewise.
2278 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2279 use __ptrvalue.
2280 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2281 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2282 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2283 Likewise.
2284 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2285 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2286 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2287 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2288 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2289 Do not use __unbounded.
2290 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2291 Rename __unboundedrlimits parameter to rlimits in prototype.
2292 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2293 Do not use __unbounded.
2294 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2295 not use __ptrvalue.
2296 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2297 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2298 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2299 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2300 __ptrvalue or __unbounded.
2301 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2302 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2303 use __unbounded.
2304 (__new_msgctl): Do not use __ptrvalue.
2305 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2306 __unbounded.
2307 (__libc_msgrcv): Do not use __ptrvalue.
2308 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2309 startup_info): Do not use __unbounded.
2310 (__libc_start_main): Likewise. Rename ubp_* variables and
2311 parameters. Remove argv definitions conditional on
2312 [__BOUNDED_POINTERS__].
2313 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2314 __ptrvalue.
2315 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2316 use __unbounded.
2317 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2318 or __ptrvalue.
2319 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2320 use __unbounded.
2321 (__new_shmctl): Do not use __ptrvalue.
2322 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2323 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2324 Likewise.
2325 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2326 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2327 (__libc_sigaction): Likewise.
2328 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2329 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2330 Likewise.
2331 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2332
cc7834d6
OB
23332013-02-13 Ondřej Bílka <neleai@seznam.cz>
2334
ffb1ec7b 2335 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
2336
2337 * string/mempcpy.c: Implement by calling memcpy.
2338
bdf02814
SP
23392013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2340
c2af38aa
SP
2341 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2342
4e92d59e
SP
2343 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2344 evaluation.
2345
909279a5
SP
2346 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2347 values in the mantissa.
2348
bdf02814
SP
2349 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2350 minimize writes to Z.
2351 (sub_magnitudes): Simplify code a bit.
2352
cd525923
RM
23532013-02-12 Roland McGrath <roland@hack.frob.com>
2354
2355 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2356 from the message. The linker prefixes all warnings with that already.
2357
7e2f0d2d
AS
23582013-02-12 Andreas Schwab <schwab@suse.de>
2359
a445af0b
AS
2360 [BZ #15078]
2361 * posix/regexec.c (extend_buffers): Add parameter min_len.
2362 (check_matching): Pass minimum needed length.
2363 (clean_state_log_if_needed): Likewise.
2364 (get_subexp): Likewise.
2365 * posix/Makefile (tests): Add bug-regex34.
2366 (bug-regex34-ENV): Define.
2367 * posix/bug-regex34.c: New file.
2368
7e2f0d2d
AS
2369 [BZ #11561]
2370 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2371 elements compare against the byte sequence of it, not its name.
2372 * posix/Makefile (tests): Add bug-regex35.
2373 (bug-regex35-ENV): Define.
2374 * posix/bug-regex35.c: New file.
2375
a175b684
TV
23762013-02-11 Tom de Vries <tom@codesourcery.com>
2377
2378 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2379 comment.
2380 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2381 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2382 (CHECK_EOL): Add undef.
2383
310998fe 23842013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
2385
2386 * bits/stdlib-bsearch.h: New file.
2387 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 2388 * stdlib/stdlib.h: Likewise.
41eda41d 2389
8ded91fb
RM
23902013-02-11 Roland McGrath <roland@hack.frob.com>
2391
2392 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2393 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2394 declaration.
2395 * manual/search.texi (Array Search Function): Add missing const in
2396 lfind prototype.
2397 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2398 declaration to use rlim_t.
2399 (Basic Scheduling Functions): Remove erroneous const from
2400 sched_getparam prototype. Remove erroneous * from
2401 sched_get_priority_max and sched_get_priority_min prototypes.
2402 (Resource Usage): Fix summary @comment on vtimes to refer to
2403 sys/vtimes.h rather than vtimes.h.
2404 Add missing *s in vtimes prototype.
2405 (Limits on Resources): Fix ulimit prototype to return long int.
2406 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2407 prototypes to use long int rather than double.
2408 (BSD Random): Fix initstate and setstate to use char *, not void *.
2409 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2410 prototype to make second argument 'struct aiocb64 *const[]'.
2411 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2412 (Status of AIO Operations): Remove erroneous const in aio_return and
2413 aio_return64 prototypes.
2414 (Synchronizing I/O): Fix sync prototype to return void.
2415 * manual/startup.texi (Suboptions): Remove an erroneous const in
2416 getsubopt prototype.
2417 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2418 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2419 use size_t rather than int.
2420 (Scanning All Users): Likewise for getpwent_r.
2421 (Setting Groups): Add missing const to setgroups prototype.
2422 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2423 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2424 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2425 'const void *' rather than 'const char *'.
2426 (Host Address Functions): Likewise for inet_ntop.
2427 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2428 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2429 ssize_t for return value.
2430 (Sending Data): Likewise for send, sendto, sendmsg.
2431 (Socket Option Functions): Add a missing const in setsockopt prototype.
2432 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2433 use wchar_t for the argument.
2434 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2435 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2436 take no arguments.
2437 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2438 double/float/long double for second argument.
2439 Fix return types of significand, significandf, significandl.
2440 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2441 argument in fchmod prototype.
2442 (File Owner): Use uid_t and gid_t in fchown prototype.
2443 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2444 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2445 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2446 use 'const struct dirent **' as argument types to CMP function pointer
2447 argument.
2448 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2449 (File Times): Fix summary magic @comment for struct utimbuf and utime
2450 to refer to utime.h, not time.h.
2451 * manual/string.texi (Argz Functions): Add missing const in
2452 argz_extract and argz_next prototypes.
2453 (Finding Tokens in a String): Likewise for basename.
2454 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2455 (Copying and Concatenation): Fix typo in wmemmove prototype.
2456 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2457 (Signal Stack): Remove erroneous const in sigstack prototype.
2458 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2459 prototype.
2460 (Simple Calendar Time): Likewise for stime.
2461 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2462 prototype.
2463 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2464 say sys/sysctl.h instead.
2465 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2466 and vsyslog prototypes.
2467
fe77fe6d
TV
24682013-02-11 Tom de Vries <tom@codesourcery.com>
2469
2470 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2471 Remove.
2472
3a09b620
RM
24732013-02-11 Roland McGrath <roland@hack.frob.com>
2474
2475 * misc/sys/mman.h: Fix typo in mremap comment.
2476
550a0b89
RM
24772013-02-08 Roland McGrath <roland@hack.frob.com>
2478
2479 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2480 the '\0' terminator.
2481
a2da1673
JM
24822013-02-08 Joseph Myers <joseph@codesourcery.com>
2483
2484 [BZ #13550]
2485 * debug/segfault.c: Don't include <bp-checks.h>.
2486 * sysdeps/generic/bp-checks.h: Remove file.
2487 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2488 (__GETDENTS): Don't use CHECK_N.
2489 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2490 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2491 (__getgroups): Don't use CHECK_N.
2492 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2493 (setgroups): Don't use CHECK_N.
2494 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2495 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2496 (__libc_msgrcv): Don't use CHECK_N.
2497 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2498 (__libc_msgsnd): Don't use CHECK_N.
2499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2500 <bp-checks.h>.
2501 (__libc_pread): Don't use CHECK_N.
2502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2503 include <bp-checks.h>.
2504 (__libc_pread64): Don't use CHECK_N.
2505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2506 include <bp-checks.h>.
2507 (__libc_pwrite): Don't use CHECK_N.
2508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2509 include <bp-checks.h>.
2510 (__libc_pwrite64): Don't use CHECK_N.
2511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2512 <bp-checks.h>.
2513 (__libc_pread): Don't use CHECK_N.
2514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2515 include <bp-checks.h>.
2516 (__libc_pread64): Don't use CHECK_N.
2517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2518 include <bp-checks.h>.
2519 (__libc_pwrite): Don't use CHECK_N.
2520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2521 include <bp-checks.h>.
2522 (__libc_pwrite64): Don't use CHECK_N.
2523 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2524 (do_pread): Don't use CHECK_N.
2525 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2526 (do_pread64): Don't use CHECK_N.
2527 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2528 (do_pwrite): Don't use CHECK_N.
2529 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2530 (do_pwrite64): Don't use CHECK_N.
2531 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2532 (__libc_readv): Don't use CHECK_N.
2533 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2534 (semop): Don't use CHECK_N.
2535 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2536 <bp-checks.h>.
2537 (semtimedop): Don't use CHECK_N.
2538 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2539 (__libc_pread): Don't use CHECK_N.
2540 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2541 <bp-checks.h>.
2542 (__libc_pread64): Don't use CHECK_N.
2543 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2544 <bp-checks.h>.
2545 (__libc_pwrite): Don't use CHECK_N.
2546 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2547 <bp-checks.h>.
2548 (__libc_pwrite64): Don't use CHECK_N.
2549 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2550 <bp-checks.h>.
2551 (__libc_msgrcv): Don't use CHECK_N.
2552 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2553 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2554 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2555 (__libc_writev): Don't use CHECK_N.
2556
b84660a8
RM
25572013-02-08 Roland McGrath <roland@hack.frob.com>
2558
7f3e75f8
RM
2559 * string/strcpy.c: Removed unused variable.
2560
b84660a8
RM
2561 * Makeconfig (+sysdep-includes): Define with := rather than =.
2562 Use an existing include/ subdir of each sysdeps dir before it.
2563
471514d3
CD
25642013-02-08 Carlos O'Donell <carlos@redhat.com>
2565
2566 * nscd/connection.c (register_traced_file): Comment function.
2567 [HAVE_INOTIFY] (union __inev): Define.
2568 [HAVE_INOTIFY] (inotify_check_files): New function.
2569 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2570 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2571 clear_db_cache.
2572 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2573
b2d3c3be
CD
25742013-02-08 Carlos O'Donell <carlos@redhat.com>
2575
2576 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2577 loaded if not already and that a failure is permanent.
2578
b39949d2
CD
25792013-02-08 Carlos O'Donell <carlos@redhat.com>
2580
ddacd1db 2581 [BZ #15006]
b39949d2
CD
2582 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2583 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2584
b2c9eff4
JM
25852013-02-08 Joseph Myers <joseph@codesourcery.com>
2586
f3aae3f3
JM
2587 [BZ #13550]
2588 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2589 (CHECK_1_NULL_OK): Likewise.
2590 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2591 (__fxstat): Do not use CHECK_1.
2592 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2593 <bp-checks.h>.
2594 (___fxstat64): Do not use CHECK_1.
2595 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2596 <bp-checks.h>.
2597 (__fxstatat): Do not use CHECK_1.
2598 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2599 <bp-checks.h>.
2600 (__fxstatat64): Do not use CHECK_1.
2601 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2602 <bp-checks.h>.
2603 (__fxstat): Do not use CHECK_1.
2604 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2605 <bp-checks.h>.
2606 (__fxstatat): Do not use CHECK_1.
2607 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2608 <bp-checks.h>.
2609 (__getresgid): Do not use CHECK_1.
2610 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2611 <bp-checks.h>.
2612 (__getresuid): Do not use CHECK_1.
2613 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2614 <bp-checks.h>.
2615 (__lxstat): Do not use CHECK_1.
2616 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2617 <bp-checks.h>.
2618 (__old_msgctl): Do not use CHECK_1.
2619 (__new_msgctl): Likewise.
2620 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2621 <bp-checks.h>.
2622 (__new_setrlimit): Do not use CHECK_1.
2623 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2624 <bp-checks.h>.
2625 (__old_shmctl): Do not use CHECK_1.
2626 (__new_shmctl): Likewise.
2627 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2628 <bp-checks.h>.
2629 (__xstat): Do not use CHECK_1.
2630 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2631 (__lxstat): Do not use CHECK_1.
2632 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2633 <bp-checks.h>.
2634 (___lxstat64): Do not use CHECK_1.
2635 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2636 (__old_msgctl): Do not use CHECK_1.
2637 (__new_msgctl): Likewise.
2638 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2639 <bp-checks.h>.
2640 (__gettimeofday): Do not use CHECK_1.
2641 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2642 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2643 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2644 <bp-checks.h>.
2645 (__gettimeofday): Do not use CHECK_1.
2646 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2647 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2648 (__new_shmctl): Do not use CHECK_1.
2649 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2650 <bp-checks.h>.
2651 (do_sigtimedwait): Do not use CHECK_1.
2652 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2653 <bp-checks.h>.
2654 (do_sigwaitinfo): Do not use CHECK_1.
2655 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2656 <bp-checks.h>.
2657 (msgctl): Do not use CHECK_1.
2658 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2659 <bp-checks.h>.
2660 (shmctl): Do not use CHECK_1.
2661 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2662 (ustat): Do not use CHECK_1.
2663 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2664 <bp-checks.h>.
2665 (__fxstat): Do not use CHECK_1.
2666 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2667 <bp-checks.h>.
2668 (__fxstatat): Do not use CHECK_1.
2669 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2670 <bp-checks.h>.
2671 (__lxstat): Do not use CHECK_1.
2672 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2673 <bp-checks.h>.
2674 (__xstat): Do not use CHECK_1.
2675 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2676 (__xstat): Do not use CHECK_1.
2677 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2678 (___xstat64): Do not use CHECK_1.
2679
b2c9eff4
JM
2680 [BZ #13550]
2681 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2682 definitions.
2683 (CHECK_BOUNDS_HIGH): Likewise.
2684 * string/strcpy.c: Do not include <bp-checks.h>.
2685 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2686
f1d70dad
RM
26872013-02-07 Roland McGrath <roland@hack.frob.com>
2688
2689 * nscd/nscd-client.h (__nscd_drop_map_ref):
2690 Add __attribute__ ((unused)).
2691 * nis/nss-nisplus.h (niserr2nss): Likewise.
2692
2693 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2694 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2695
2696 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2697 Remove inline keyword.
2698 * include/rounding-mode.h (round_away): Likewise.
2699 * libio/wfileops.c (adjust_wide_data): Likewise.
2700 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2701 (__m128i_strloadu_tolower): Likewise.
2702 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2703 (__m128i_strloadu_tolower): Likewise.
2704 * time/mktime.c (ydhms_diff): Likewise.
2705 * locale/elem-hash.h (elem_hash): Likewise.
2706 * locale/setlocale.c (setdata): Likewise.
2707 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2708 (re_string_wchar_at): Likewise.
2709 (bitset_not, bitset_merge, bitset_mask): Likewise.
2710 [!(__GNUC__ > 3)] (inline): Remove macro.
2711 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2712 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2713 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2714 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2715 * string/memcmp.c (memcmp_bytes): Likewise.
2716 * locale/programs/locarchive.c (compute_hashval): Likewise.
2717 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2718 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2719 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2720 * nss/getent.c (print_rpc, print_protocols): Likewise.
2721 (print_passwd, print_group, print_aliases): Likewise.
2722 * nis/nss-nisplus.h (niserr2nss): Likewise.
2723 * nscd/connections.c (restart_p): Likewise.
2724 Change return type to bool.
2725
eab55bfb
RM
27262013-02-05 Roland McGrath <roland@hack.frob.com>
2727
7bd642f5
RM
2728 * Makeconfig (all-Depend-files): Add existing
2729 $(sorted-subdirs:=/Depend) files.
2730 (all-subdirs): Remove nss.
2731 * sysdeps/unix/inet/Subdirs: Add it here instead.
2732 * hesiod/Depend: New file.
2733
573c29b2
RM
2734 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2735 instead of calling alloca.
2736
b2e25af0
RM
2737 * io/lseek.c (__lseek): Rename to __libc_lseek.
2738 Define __lseek as an alias.
2739
eab55bfb
RM
2740 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2741
9a0d1941
CD
27422013-02-04 Carlos O'Donell <carlos@redhat.com>
2743
2744 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2745 else clause and remove check for non-standard endianness.
2746
b83bbec4
DM
27472013-02-04 David S. Miller <davem@davemloft.net>
2748
2749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2750
6277fdab
JM
27512013-02-04 Joseph Myers <joseph@codesourcery.com>
2752
2753 [BZ #13550]
2754 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2755 (__ubp_memchr): Remove prototype.
2756 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2757 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2758 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2759 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2760 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2761 Remove alias.
2762 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2763 (__ubp_memchr): Likewise.
2764 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2765 (__ubp_memchr): Likewise.
2766 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2767 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2768 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2769 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2770 CHECK_STRING.
2771 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2772 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2773 (__getcwd): Do not use CHECK_STRING.
2774 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2775 <bp-checks.h>.
2776 (__real_chown): Do not use CHECK_STRING.
2777 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2778 <bp-checks.h>.
2779 (fchownat): Do not use CHECK_STRING.
2780 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2781 CHECK_STRING.
2782 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2783 <bp-checks.h>.
2784 (__lchown): Do not use CHECK_STRING.
2785 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2786 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2787 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2788 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2790 include <bp-checks.h>.
2791 (truncate64): Do not use CHECK_STRING.
2792 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2793 <bp-checks.h>.
2794 (__real_chown): Do not use CHECK_STRING.
2795 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2796 <bp-checks.h>.
2797 (__lchown): Do not use CHECK_STRING.
2798 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2799 <bp-checks.h>.
2800 (__chown): Do not use CHECK_STRING.
2801 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2802 <bp-checks.h>.
2803 (truncate64): Do not use CHECK_STRING.
2804 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2805 Likewise.
2806 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2807 (__xmknod): Do not use CHECK_STRING.
2808 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2809 <bp-checks.h>.
2810 (__xmknodat): Do not use CHECK_STRING.
2811 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2812 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2813
903ae060
AS
28142013-02-04 Andreas Schwab <schwab@suse.de>
2815
2816 [BZ #14142]
2817 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2818 * include/netdb.h: Likewise for h_errno.
2819 * elf/tst-stackguard1.c: Include <tls.h>.
2820
542f9466
JK
28212013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2822
2823 * elf/link.h (struct link_map): Extend the l_addr comment.
2824 * include/link.h (struct link_map): Likewise.
2825
e782a927
JM
28262013-02-01 Joseph Myers <joseph@codesourcery.com>
2827
2828 [BZ #13550]
2829 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2830 (BOUNDED_1): Remove macro.
2831 * debug/backtrace.c: Don't include <bp-checks.h>.
2832 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2833 (__backtrace): Likewise.
2834 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2835 <bp-checks.h>.
2836 (__backtrace): Don't use BOUNDED_1.
2837 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2838 <bp-checks.h>.
2839 (__backtrace): Don't use BOUNDED_1.
2840 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2841 (__backtrace): Don't use BOUNDED_1.
2842 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2843 (shmat): Don't use BOUNDED_N.
2844
8cf28c5e
JM
28452013-01-31 Joseph Myers <joseph@codesourcery.com>
2846
3a7ac8a0
JM
2847 [BZ #13550]
2848 * sysdeps/generic/bp-start.h: Remove file.
2849 * csu/libc-start.c: Don't include <bp-start.h>.
2850 (LIBC_START_MAIN): Set up __environ directly instead of using
2851 INIT_ARGV_and_ENVIRON.
2852 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2853 <bp-start.h>.
2854
f3499f95
JM
2855 [BZ #13550]
2856 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2857 definitions.
2858 (CHECK_FCNTL): Likewise.
2859 (CHECK_N_PAGES): Likewise.
2860
32a45bea
JM
2861 [BZ #13550]
2862 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2863 definitions.
2864 (CHECK_SIGSET_NULL_OK): Likewise.
2865 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2866 <bp-checks.h>.
2867 (sigpending): Don't use CHECK_SIGSET.
2868 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2869 <bp-checks.h>.
2870 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2871 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2872 <bp-checks.h>.
2873 (do_sigsuspend): Don't use CHECK_SIGSET.
2874 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2875 use CHECK_SIGSET.
2876 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2877 (do_sigwait): Don't use CHECK_SIGSET.
2878 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2879 use CHECK_SIGSET.
2880 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2881 include <bp-checks.h>.
2882 (sigpending): Don't use CHECK_SIGSET.
2883 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2884 include <bp-checks.h>.
2885 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2886 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2887 <bp-checks.h>.
2888 (sigpending): Don't use CHECK_SIGSET.
2889 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2890 <bp-checks.h>.
2891 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2892
2e8a5c8c
JM
2893 [BZ #13550]
2894 * sysdeps/generic/bp-semctl.h: Remove file.
2895 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2896 <bp-checks.h> and <bp-semctl.h>.
2897 (__old_semctl): Don't use CHECK_SEMCTL.
2898 (__new_semctl): Likewise.
2899 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2900 and <bp-semctl.h>.
2901 (__old_semctl): Don't use CHECK_SEMCTL.
2902 (__new_semctl): Likewise.
2903 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2904 <bp-checks.h> and <bp-semctl.h>.
2905 (__old_semctl): Don't use CHECK_SEMCTL.
2906 (__new_semctl): Likewise.
2907 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2908 <bp-checks.h> and <bp-semctl.h>.
2909 (semctl): Don't use CHECK_SEMCTL.
2910
c2d54929
JM
2911 [BZ #13550]
2912 * Makerules (elide-bp-thunks): Remove variable.
2913 (elide-routines.oS): Don't use $(elide-bp-thunks).
2914 (elide-routines.os): Likewise.
2915 (elide-routines.o): Likewise.
2916 (elide-routines.op): Likewise.
2917 (elide-routines.og): Likewise.
2918 (objects): Don't use $(bp-thunks).
2919 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2920 include.
2921 (common-generated): Do not add s-proto-bp.d.
2922 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2923 (int): Likewise.
2924 (typ): Likewise.
2925 Do not generate makefile rules for bounded-pointer thunks.
2926 * sysdeps/generic/bp-thunks.h: Remove file.
2927 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2928 * sysdeps/unix/s-proto-bp.S: Likewise.
2929
8cf28c5e
JM
2930 [BZ #15062]
2931 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2932 parts of result separately when argument is not close to line from
2933 -i to i and one part of argument is small.
2934 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2935 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2936 * math/libm-test.inc (cacos_test): Add more tests.
2937 (casin_test): Likewise.
2938 (casinh_test): Likewise.
2939 * sysdeps/i386/fpu/libm-test-ulps: Update.
2940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2941
c4e33b8d
DM
29422013-01-31 David S. Miller <davem@davemloft.net>
2943
2944 * po/de.po: Update from translation team.
2945
3b60b421
MK
29462013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
2947
2948 * time/tzfile.c: Include stdint.h for SIZE_MAX.
2949
bb931195
TS
29502013-01-25 Thomas Schwinge <thomas@codesourcery.com>
2951
b5a5da23
TS
2952 * configure.in (_AC_PROG_CC_C89): New definition.
2953 * configure: Regenerate.
2954
bb931195
TS
2955 * configure.in (AC_PROG_CPP): New definition.
2956 * configure: Regenerate.
2957
8c53a12c
JM
29582013-01-23 Joseph Myers <joseph@codesourcery.com>
2959
2960 * debug/tst-backtrace.h: New file.
2961 * debug/tst-backtrace2.c: Include tst-backtrace.h.
2962 (ret): Remove variable.
2963 (x): Likewise.
2964 (FAIL): Remove macro.
2965 (NO_INLINE): Likewise.
2966 (fn1): Use match function instead of strstr.
2967 * debug/tst-backtrace3.c: Include tst-backtrace.h.
2968 (ret): Remove variable.
2969 (x): Likewise.
2970 (FAIL): Remove macro.
2971 (NO_INLINE): Likewise.
2972 (fn): Use match function instead of strstr.
2973 * debug/tst-backtrace4.c: Include tst-backtrace.h.
2974 (ret): Remove variable.
2975 (x): Likewise.
2976 (FAIL): Remove macro.
2977 (NO_INLINE): Likewise.
2978 (handle_signal): Use match function instead of strstr.
2979 * debug/tst-backtrace5.c: Include tst-backtrace.h.
2980 (ret): Remove variable.
2981 (x): Likewise.
2982 (FAIL): Remove macro.
2983 (NO_INLINE): Likewise.
2984 (handle_signal): Use match function instead of strstr.
2985
4858fa2a
RM
29862013-01-23 Roland McGrath <roland@hack.frob.com>
2987
2988 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2989
bae8e7f5
DM
29902013-01-23 David S. Miller <davem@davemloft.net>
2991
2992 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2993 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2994 argument of CAS if possible.
2995 * sysdeps/sparc/sparc64/bits/atomic.h
2996 (__arch_compare_and_exchange_val_32_acq): Likewise.
2997 (__arch_compare_and_exchange_val_64_acq): Likewise.
2998
9cbbc4ae
PT
29992013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3000
3001 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3002 * sysdeps/posix/ulimit.c: ... this.
92a601b8 3003 Include <limits.h>.
67b3f58c 3004 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 3005
5655a0b5
AC
30062013-01-23 Adam Conrad <adconrad@0c3.net>
3007
3008 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3009 (LDFLAGS-tst-array5): Likewise.
3010
052aff95
JM
30112013-01-23 Joseph Myers <joseph@codesourcery.com>
3012
3013 [BZ #15036]
3014 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3015 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3016 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3017 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3018
7c1e01aa
DM
30192013-01-21 David S. Miller <davem@davemloft.net>
3020
3021 * sysdeps/sparc/backtrace.c: New file.
3022 * sysdeps/sparc/sparc32/backtrace.h: New file.
3023 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3024 * sysdeps/sparc/sparc64/backtrace.h: New file.
3025 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3026 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3027 -funwind-tables.
3028
ab087e0a
AS
30292013-01-21 Andreas Schwab <schwab@suse.de>
3030
3031 [BZ #15020]
3032 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3033 closed its stdout.
3034
ed689c2f
AS
30352013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3036
3037 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3038 "mpa2.h".
3039 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3040
31d470ac
JM
30412013-01-18 Joseph Myers <joseph@codesourcery.com>
3042 Mark Mitchell <mark@codesourcery.com>
3043 Tom de Vries <tom@codesourcery.com>
3044 Paul Pluzhnikov <ppluzhnikov@google.com>
3045
3046 * debug/tst-backtrace2.c: New file.
3047 * debug/tst-backtrace3.c: Likewise.
3048 * debug/tst-backtrace4.c: Likewise.
3049 * debug/tst-backtrace5.c: Likewise.
3050 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3051 (CFLAGS-tst-backtrace3.c): Likewise.
3052 (CFLAGS-tst-backtrace4.c): Likewise.
3053 (CFLAGS-tst-backtrace5.c): Likewise.
3054 (LDFLAGS-tst-backtrace2): Likewise.
3055 (LDFLAGS-tst-backtrace3): Likewise.
3056 (LDFLAGS-tst-backtrace4): Likewise.
3057 (LDFLAGS-tst-backtrace5): Likewise.
3058 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3059 tst-backtrace4 and tst-backtrace5.
3060
90567f30 30612013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
3062 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3063
3064 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3065 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3066 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3067 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3069 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3070 "+r" and remove output regs list as redundant. Add explicit inline
3071 asm to specify register of return val to work around compiler codegen
3072 bug. Remove (int) cast on return value. Add return type parameter to
3073 use in macro so that this macro does not truncate return value for
3074 64-bit values.
3075 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3076 pass to INTERNAL_VSYSCALL_NCS.
3077 (INLINE_VSYSCALL): Add 'long int' as return type to
3078 INTERNAL_VSYSCALL_NCS macro invocation.
3079 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3080 INTERNAL_VSYSCALL_NCS macro invocation.
3081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3082
d3b9ea61
SP
30832013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3084
0b57daeb
SP
3085 [BZ #14496]
3086 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3087 Fix application of SIMD FP exception mask.
3088
caa99d06
SP
3089 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3090 mp_no from a power of two.
3091 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3092 __mpexp_twomm1. Use __pow_mp.
3093
d3b9ea61
SP
3094 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3095 multiplication.
3096
1dbaee3c
DM
30972013-01-17 David S. Miller <davem@davemloft.net>
3098
3099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3100
728d7b43
JM
31012013-01-17 Joseph Myers <joseph@codesourcery.com>
3102
3103 [BZ #15023]
3104 * include/complex.h: Condition contents on [!_COMPLEX_H].
3105 (__kernel_casinhf): New prototype.
3106 (__kernel_casinh): Likewise.
3107 (__kernel_casinhl): Likewise.
3108 * math/Makefile (libm_calls): Add k_casinh.
3109 * math/k_casinh.c: New file.
3110 * math/k_casinhf.c: Likewise.
3111 * math/k_casinhl.c: Likewise.
3112 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3113 finite nonzero arguments.
3114 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3115 finite nonzero arguments.
3116 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3117 finite nonzero arguments.
3118 * math/s_casinh.c: Do not include <float.h>.
3119 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3120 * math/s_casinhf.c: Do not include <float.h>.
3121 (__casinhf): Move code for finite nonzero arguments to
3122 k_casinhf.c.
3123 * math/s_casinhl.c: Do not include <float.h>.
3124 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3125 redefine.
3126 (__casinhl): Move code for finite nonzero arguments to
3127 k_casinhl.c.
3128 * math/libm-test.inc (cacos_test): Add more tests.
3129 * sysdeps/i386/fpu/libm-test-ulps: Update.
3130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3131
2a26ef3a
PT
31322013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3133
3134 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3135 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3136 [!HAVE_MREMAP]: Remove [defined linux] case.
3137 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3138
a897655d
SP
31392013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3140
3141 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3142
881ebe89 31432013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
3144
3145 * elf/elf.h (R_386_SIZE32): New relocation.
3146 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3147 R_386_SIZE32.
3148 (elf_machine_rela): Likewise.
3149 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3150 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3151
59981e9b
JM
31522013-01-17 Joseph Myers <joseph@codesourcery.com>
3153
3154 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3155 (FP_FAST_FMA): Do not define.
3156 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3157 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3158 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3159 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3160 !_SOFT_FLOAT]: Likewise.
3161 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3162 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3163 value.
3164 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3165 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3166 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3167 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3168 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3169 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3170 file.
3171
cfa8054f
AS
31722013-01-16 Andreas Schwab <schwab@suse.de>
3173
3174 [BZ #14327]
3175 * include/stdlib.h (__mktemp): Add declaration.
3176 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3177 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3178
dd930cc5
SP
31792013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3180
881ebe89
SP
3181 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3182 definitions.
3183 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3184 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3185 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3186 definitions here.
3187 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3188 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3189 definitions.
3190 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3191 and ONE.
3192 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3193 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3194 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3195 definitions.
3196 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3197 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3198 definitions.
3199 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 3200
dd930cc5
SP
3201 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3202
c19a9f89
DM
32032013-01-15 David S. Miller <davem@davemloft.net>
3204
1aa61767
DM
3205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3206 trunc{,f} to libm-sysdep_routes.
3207 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3209 file.
3210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3212 file.
3213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3214 file.
3215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3217 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3218 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3219 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3220 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3221 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3222 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3223
c42d5e98
DM
3224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3225 nearbyint{,f} to libm-sysdep_routes.
3226 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3228 New file.
3229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3230 file.
3231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3232 New file.
3233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3234 file.
3235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3237 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3238 file.
3239 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3240 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3241 file.
3242 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3243 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3244 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3245
c19a9f89
DM
3246 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3247 libc_feholdexcept and libc_fesetenv.
3248
357679d2
MF
32492013-01-15 Mike Frysinger <vapier@gentoo.org>
3250
3251 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3252
65a82e3d
DM
32532013-01-14 David S. Miller <davem@davemloft.net>
3254
8b954ab9
DM
3255 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3256 (SPARC_ASM_VIS2_IFUNC): Likewise.
3257 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3259 use of 'siam' instruction.
3260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3261 Likewise.
3262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3263 Likewise.
3264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3265 Likewise.
3266 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3267 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3268 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3269 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3271 file.
3272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3273 file.
3274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3275 file.
3276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3277 file.
3278 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3279 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3280 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3281 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3283 new VIS2 routines.
3284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3287 Likewise.
3288 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3289 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3290 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3291 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3293 routines to libm-sysdep_routines.
3294 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3295
65a82e3d
DM
3296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3297 fdim/fdimf to libm-sysdep_routines.
3298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3299 file.
3300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3302 file.
3303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3306 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3307 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3308 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3309 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3310
e34ab705
SP
33112013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3312
2a91b573
SP
3313 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3314 to optimize copies.
3315
1066a534
SP
3316 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3317 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3318 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3319
e34ab705
SP
3320 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3321 local variable MPTWO.
3322 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3323 Likewise.
3324
aba5e596
MF
33252013-01-13 Mike Frysinger <vapier@gentoo.org>
3326
3327 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3328 GLOB_NOESCAPE.
3329
e557e9e5
MF
33302013-01-13 Mike Frysinger <vapier@gentoo.org>
3331
3332 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3333
0428cec9
MF
33342013-01-13 Mike Frysinger <vapier@gentoo.org>
3335
3336 * manual/pattern.texi (glob_t): Document gl_flags.
3337 (glob64_t): Likewise.
3338
8794a964
DM
33392013-01-11 David S. Miller <davem@davemloft.net>
3340
66438c3f
RM
3341 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3342 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3343 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
3344 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3345 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3346 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3347 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3348 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3349 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3350 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3351 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3352 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3353 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3354
4ae4244d
DM
3355 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3356 sparc V9 rather than using V8 code.
3357 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3358 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3359
8794a964
DM
3360 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3361 Move to...
3362 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3363 Here.
3364
6270516e
RM
33652013-01-11 Roland McGrath <roland@hack.frob.com>
3366
3367 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3368 not in the main loop.
3369 * configure: Regenerated.
3370
6a57d931
JM
33712013-01-11 Joseph Myers <joseph@codesourcery.com>
3372
3373 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3374 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3375 to just #else.
3376 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3377 [!__GLIBC_HAVE_LONG_LONG] case.
3378 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3379 condition to just #else.
3380 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3381 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3382 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3383 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3384 unconditional.
3385 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3386 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3387 #elif condition to just #else.
3388 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3389 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3390 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3391 #elif condition to just #else.
3392
0e8529e9
SE
33932013-01-11 Steve Ellcey <sellcey@mips.com>
3394
3395 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3396 (EF_MIPS_ARCH_64): Fix value.
3397 (EF_MIPS_ARCH_32R2): New.
3398 (EF_MIPS_ARCH_64R2): New.
3399
740b3dbe
L
34002013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3401
3402 * Makeconfig (+link-pie-before-libc): New.
3403 (+link-pie-after-libc): Likewise.
3404 (+link-pie-tests): Likewise.
3405 (+link-pie): Rewritten.
3406 (link-before-libc): Remove $(config-LDFLAGS).
3407 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3408 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3409 (config-LDFLAGS): Renamed to ...
3410 (rtld-LDFLAGS): This.
3411 (rtld-tests-LDFLAGS): New macro.
3412 (link-libc-rpath-link): Likewise.
3413 (link-libc-tests-rpath-link): Likewise.
3414 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3415 (link-libc): Prepand $(link-libc-rpath-link).
3416 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3417 (test-program-prefix): New macro.
3418 (test-via-rtld-prefix): Likewise.
3419 (test-program-cmd): Likewise.
3420 (host-test-program-cmd): Likewise.
3421 * Makefile ($(common-objpfx)testrun.sh): Replace
3422 $(run-program-prefix) with $(test-program-prefix).
3423 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3424 $(rtld-LDFLAGS).
3425 ($(common-objpfx)shlib.lds): Likewise.
3426 (build-module-helper): Likewise.
3427 ($(common-objpfx)format.lds): Likewise.
3428 * Rules (binaries-pie-tests): New.
3429 (binaries-pie-notests): Likewise.
3430 (binaries-pie): Rewritten.
3431 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3432 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3433 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3434 (make-test-out): Replace $(host-built-program-cmd) with
3435 $(host-test-program-cmd).
3436 * config.make.in (build-hardcoded-path-in-tests): New variable.
3437 * configure.in (--enable-hardcoded-path-in-tests): New configure
3438 option.
3439 (hardcoded_path_in_tests): New AC_SUBST.
3440 * configure: Regenerated.
3441 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3442 $(built-program-cmd) with $(test-program-cmd).
3443 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3444 (test_program_cmd): This.
3445 * elf/Makefile ($(objpfx)order.out): Run test with
3446 $(test-program-prefix).
3447 ($(objpfx)order2.out): Likewise.
3448 ($(objpfx)tst-initorder.out): Likewise.
3449 ($(objpfx)tst-initorder2.out): Likewise.
3450 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3451 $(test-program-cmd).
3452 ($(objpfx)tst-array1-static.out): Likewise.
3453 ($(objpfx)tst-array2.out): Likewise.
3454 ($(objpfx)tst-array3.out): Likewise.
3455 ($(objpfx)tst-array4.out): Likewise.
3456 ($(objpfx)tst-array5.out): Likewise.
3457 ($(objpfx)tst-array5-static.out): Likewise.
3458 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3459 $(test-program-cmd).
3460 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3461 $(run-program-prefix) with $(test-program-prefix).
3462 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3463 (test_program_prefix): This.
3464 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3465 $(run-program-prefix) with $(test-program-prefix).
3466 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3467 (test_program_prefix): This.
3468 * iconvdata/tst-tables.sh: Likewise.
3469 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3470 $(run-program-prefix) with $(test-program-prefix).
3471 ($(objpfx)tst-translit.out): Likewise.
3472 ($(objpfx)tst-gettext2.out): Likewise.
3473 ($(objpfx)tst-gettext4.out): Likewise.
3474 ($(objpfx)tst-gettext6.out): Likewise.
3475 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3476 (test_program_prefix): This.
3477 * intl/tst-gettext2.sh: Likewise.
3478 * intl/tst-gettext4.sh Likewise.
3479 * intl/tst-gettext6.sh: Likewise.
3480 * intl/tst-translit.sh: Likewise.
3481 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3482 with $(test-program-cmd).
3483 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3484 $(run-program-prefix) with $(test-program-prefix).
3485 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3486 (test_program_prefix): This.
3487 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3488 $(run-program-prefix) with $(test-program-prefix).
3489 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3490 (test_program_prefix): This.
3491 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3492 * posix/Makefile ($(objpfx)globtest.out): Replace
3493 $(run-via-rtld-prefix) and $(test-wrapper) with
3494 $(test-program-prefix) and $(test-via-rtld-prefix).
3495 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3496 $(test-program-prefix).
3497 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3498 $(host-test-program-cmd).
3499 (tst-spawn-ARGS): Likewise.
3500 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3501 $(test-program-prefix).
3502 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3503 (test_via_rtld_prefix): This.
3504 (test_wrapper): Renamed to ...
3505 (test_program_prefix): This.
3506 (run_program_prefix): Replaced by test_program_prefix.
3507 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3508 (test_program_prefix): This.
3509 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3510 with $(host-test-program-cmd).
3511 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3512 $(run-program-prefix) with $(test-program-prefix).
3513 ($(objpfx)tst-printf.out): Likewise.
3514 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3515 $(test-program-cmd).
3516 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3517 (test_program_prefix): This.
3518 * stdio-common/tst-unbputc.sh: Likewise.
3519 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3520 $(run-program-prefix) with $(test-program-prefix).
3521 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3522 (test_program_prefix): This.
3523 * string/Makefile ($(objpfx)tst-svc.out): Replace
3524 $(built-program-cmd) with $(test-program-cmd).
3525
c6fe55cf
AJ
35262013-01-11 Andreas Jaeger <aj@suse.de>
3527
3528 [BZ #15003]
3529 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3530 value. Sync with Linux 3.7.
3531
9e6919c8
DM
35322013-01-10 David S. Miller <davem@davemloft.net>
3533
3534 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3535 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3536 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3537
1c9f1a02
RM
35382013-01-10 Roland McGrath <roland@hack.frob.com>
3539
3540 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3541 never set.
3542 * configure: Regenerated.
3543
b9de2dde
DM
35442013-01-10 David S. Miller <davem@davemloft.net>
3545
3546 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3547 sparc V9 rather than using V8 code.
3548 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3549 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3550
e7f68ef4
RM
35512013-01-10 Roland McGrath <roland@hack.frob.com>
3552
3553 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3554 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3555 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3556 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3557 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3558 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3559 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3560 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3561 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3562 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3563 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3564 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3565 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3566 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3567 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3568 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3569 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3570 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3571 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3572 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3573 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3574 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3575 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3576 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3577 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3578 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3579 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3580
5a47cc9c
DM
35812013-01-10 David S. Miller <davem@davemloft.net>
3582
3583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3584
4cf8f209
L
35852013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3586
3587 * posix/Makefile (tests-static): New variable.
3588 (tests): Add $(tests-static).
3589 (tst-exec-static-ARGS): New variable.
3590 (tst-spawn-static-ARGS): Likewise.
3591 * posix/tst-exec-static.c: New file.
3592 * posix/tst-spawn-static.c: Likewise.
3593 * posix/tst-exec.c: Support run directly.
3594 * posix/tst-spawn.c: Likewise.
3595
fed0faa1
JM
35962013-01-10 Joseph Myers <joseph@codesourcery.com>
3597
828beb13
JM
3598 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3599 long.
3600 * math/bits/mathcalls.h (llrint): Likewise.
3601 (llround): Likewise.
3602 * stdlib/stdlib.h (struct drand48_data): Likewise.
3603 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3604 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3605 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3606 Likewise.
3607 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3608 Likewise.
3609 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3610 (elf_greg_t): Likewise.
3611 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3612 (__jmp_buf): Likewise.
3613 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3614 definitions.
3615 (llrint): Likewise, for all definitions.
3616 (llrintl): Likewise.
3617
fed0faa1
JM
3618 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3619 Remove [__GNUC__] condition.
3620 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3621 condition to just [__USE_ISOC99].
3622 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3623
1a20cb20
L
36242013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3625
3626 [BZ #14200]
3627 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3628 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3629 defined.
3630 (_POSIX_V6_ILP32_OFF32): Likewise.
3631 (_XBS5_ILP32_OFF32): Likewise.
3632 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3633 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3634
751b85f7
SP
36352013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3636
7490eb81
SP
3637 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3638
751b85f7
SP
3639 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3640 doubles __mpexp_twomm1. Adjust usage.
3641 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3642 Remove.
3643
988197f0
AS
36442013-01-10 Andreas Schwab <schwab@suse.de>
3645
3646 [BZ #14964]
3647 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3648 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3649
e83d7298
DM
36502013-01-09 David S. Miller <davem@davemloft.net>
3651
034ed64b 3652 [BZ #15003]
e83d7298
DM
3653 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3654 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3655 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3656 TCP_FASTOPEN): Define.
3657 (tcp_repair_opt): New structure.
3658 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3659 enum values.
3660 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3661 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3662 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3663 (tcp_cookie_transactions): New structure.
3664
d5e0b9bd
AB
36652013-01-09 Anton Blanchard <anton@samba.org>
3666
3667 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3668 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3669 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3670 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3671
0c07e3ea
JM
36722013-01-09 Joseph Myers <joseph@codesourcery.com>
3673
3674 * include/features.h (__USE_ANSI): Remove.
3675
232f7002
RM
36762013-01-09 Roland McGrath <roland@hack.frob.com>
3677
ad98e30c
RM
3678 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3679
232f7002
RM
3680 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3681
950c99ca
SP
36822013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3683
b5792741
SP
3684 * sysdeps/s390/fpu/libm-test-ulps: Update.
3685
47cf2278
SP
3686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3687
950c99ca
SP
3688 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3689 (__acr): Likewise.
3690 (__cpy): Likewise.
3691 (norm): Likewise.
3692 (denorm): Likewise.
3693 (__mp_dbl): Likewise.
3694 (__dbl_mp): Likewise.
3695 (add_magnitudes): Likewise.
3696 (sub_magnitudes): Likewise.
3697 (__add): Likewise.
3698 (__sub): Likewise.
3699 (__mul): Likewise.
3700 (__inv): Likewise.
3701 (__dvd): Likewise.
3702 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3703 (__acr): Likewise.
3704 (__cpy): Likewise.
3705 (norm): Likewise.
3706 (denorm): Likewise.
3707 (__mp_dbl): Likewise.
3708 (__dbl_mp): Likewise.
3709 (add_magnitudes): Likewise.
3710 (sub_magnitudes): Likewise.
3711 (__add): Likewise.
3712 (__sub): Likewise.
3713 (__mul): Likewise.
3714 (__inv): Likewise.
3715 (__dvd): Likewise.
3716 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3717 (__acr): Likewise.
3718 (__cpy): Likewise.
3719 (norm): Likewise.
3720 (denorm): Likewise.
3721 (__mp_dbl): Likewise.
3722 (__dbl_mp): Likewise.
3723 (add_magnitudes): Likewise.
3724 (sub_magnitudes): Likewise.
3725 (__add): Likewise.
3726 (__sub): Likewise.
3727 (__mul): Likewise.
3728 (__inv): Likewise.
3729 (__dvd): Likewise.
3730
eede9df9
JM
37312013-01-08 Joseph Myers <joseph@codesourcery.com>
3732
3733 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3734 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3735 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3736 2 && __USE_EXTERN_INLINES]: Likewise.
3737
c40ea3d9
AJ
37382013-01-08 Andreas Jaeger <aj@suse.de>
3739
3740 [BZ# 14985]
3741 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3742 Remove.
3743 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3744 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3745
2ccdea26
AB
37462013-01-07 Anton Blanchard <anton@samba.org>
3747
3748 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3749 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3750 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3751 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3752 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3753 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3754 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3755 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3756 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3757 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3758 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3759 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3760 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3761 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3762 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3763 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3764 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3765 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3766 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3767 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3768 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3769 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3770 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3771 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3772 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3773 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3774 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3775 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3776 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3777 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3778 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3779 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3780 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3781 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3782 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3783 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3784 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3785 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3786 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3787 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3788 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3789 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3790 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3791
a9708fed
JM
37922013-01-07 Joseph Myers <joseph@codesourcery.com>
3793
375607b9
JM
3794 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3795 (__MALLOC_PMT): Likewise.
3796 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3797 [__GNUC__], only on [_LIBC].
3798 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3799 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3800 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3801 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3802 forward declaration.
3803 (realloc_hook_ini): Likewise.
3804 (memalign_hook_ini): Likewise.
3805 (__libc_memalign): Do not use __MALLOC_PMT in variable
3806 declaration.
3807 (__libc_valloc): Likewise.
3808 (__libc_pvalloc): Likewise.
3809 (__libc_calloc): Likewise.
3810 (__posix_memalign): Likewise.
3811
a9708fed
JM
3812 [BZ #14996]
3813 * math/s_casinh.c: Include <float.h>.
3814 (__casinh): Do not do computation with squaring and square root
3815 for large arguments.
3816 * math/s_casinhf.c: Include <float.h>.
3817 (__casinhf): Do not do computation with squaring and square root
3818 for large arguments.
3819 * math/s_casinhl.c: Include <float.h>.
3820 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3821 (__casinhl): Do not do computation with squaring and square root
3822 for large arguments.
3823 * math/libm-test.inc (casin_test): Add more tests.
3824 (casinh_test): Likewise.
3825 * sysdeps/i386/fpu/libm-test-ulps: Update.
3826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3827
afec409a
L
38282013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3829
3830 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3831 (__x86_64_raw_data_cache_size): Likewise.
3832 (__x86_64_data_cache_size_half): Likewise.
3833 (__x86_64_raw_data_cache_size_half): Likewise.
3834 (__x86_64_shared_cache_size): Likewise.
3835 (__x86_64_raw_shared_cache_size): Likewise.
3836 (__x86_64_shared_cache_size_half): Likewise.
3837 (__x86_64_raw_shared_cache_size_half): Likewise.
3838 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3839 to ...
3840 (__x86_data_cache_size): This.
3841 (__x86_64_raw_data_cache_size): Renamed to ...
3842 (__x86_raw_data_cache_size): This.
3843 (__x86_64_data_cache_size_half): Renamed to ...
3844 (__x86_data_cache_size_half): This.
3845 (__x86_64_raw_data_cache_size_half): Renamed to ...
3846 (__x86_raw_data_cache_size_half): This.
3847 (__x86_64_shared_cache_size): Renamed to ...
3848 (__x86_shared_cache_size): This.
3849 (__x86_64_raw_shared_cache_size): Renamed to ...
3850 (__x86_raw_shared_cache_size): This.
3851 (__x86_64_shared_cache_size_half): Renamed to ...
3852 (__x86_shared_cache_size_half): This.
3853 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3854 (__x86_raw_shared_cache_size_half): This.
3855 * sysdeps/x86_64/memcpy.S: Updated.
3856 * sysdeps/x86_64/memset.S: Likewise.
3857 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3858 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3859 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3860
0b3986d0
DM
38612013-01-04 David S. Miller <davem@davemloft.net>
3862
3863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3864
e47686e9
AS
38652013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3866
d643bac1
AS
3867 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3868 1 to avoid redefinition warning.
3869 (__USE_GNU): Don't define.
3870 (init_signaling_nan): Protoize.
3871
e47686e9
AS
3872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3873
b18decba
SP
38742013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3875
fffb407f
SP
3876 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3877 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3878 (__cpymn): Likewise.
3879 (norm): Remove commented code.
3880 (denorm): Likewise.
3881 (__mp_dbl): Likewise.
3882 (__inv): Likewise.
3883 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3884 (__cpymn): Likewise.
3885 (norm): Remove commented code.
3886 (denorm): Likewise.
3887 (__mp_dbl): Likewise.
3888 (__inv): Likewise.
3889
b18decba
SP
3890 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3891 mp_no value for 1.0 and 2.0.
3892 (norm): Use RADIXI instead of radixi.d.
3893 (denorm): Likewise.
3894 (__mul): Use 0.0 instead of zero.d.
3895 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3896 mp_no value for 1.0 and 2.0.
3897 (norm): Use RADIXI instead of radixi.d.
3898 (denorm): Likewise.
3899 (__mul): Use 0.0 instead of zero.d.
3900
cdc1c96f
JM
39012013-01-04 Joseph Myers <joseph@codesourcery.com>
3902
3903 [BZ #14994]
3904 * math/s_casinh.c (__casinh): Reduce finite argument to first
3905 quadrant then set signs of results at the end.
3906 * math/s_casinhf.c (__casinhf): Likewise.
3907 * math/s_casinhl.c (__casinhl): Likewise.
3908 * math/libm-test.inc (casin_test): Add more tests.
3909 (casinh_test): Likewise.
3910 * sysdeps/i386/fpu/libm-test-ulps: Update.
3911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3912
302913e1
SP
39132013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3914
6420d207
SP
3915 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3916
a9e48ab4
SP
3917 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3918
b7837264
SP
3919 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3920 declarations.
3921 (denorm): Likewise.
3922 (__mp_dbl): Likewise.
3923 (__inv): Likewise.
3924
f8af25d2
SP
3925 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3926 and adjust the header comment.
3927
302913e1
SP
3928 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3929 variable name from declaration.
3930
5d7dd1ca
L
39312013-01-03 H.J. Lu <hongjiu.lu@intel.com>
3932
3933 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3934 Initialize COMMON_CPUID_INDEX_7 element.
3935 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3936 (CPUID_RTM): Likewise.
3937 (HAS_RTM): Likewise.
3938 (COMMON_CPUID_INDEX_7): New enum.
3939
2f5f40f4
AS
39402013-01-03 Andreas Schwab <schwab@linux-m68k.org>
3941
3942 [BZ #14981]
3943 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3944 size is zero, record memory as freed.
3945
4056f4a0
AJ
39462013-01-03 Andreas Jaeger <aj@suse.de>
3947
3948 * po/ia.po: Add new Interlingua translation.
3949
ab15736f 39502012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
3951
3952 * locale/programs/localedef.c: Fix description of '--posix' flag.
3953
568035b7
JM
39542013-01-02 Joseph Myers <joseph@codesourcery.com>
3955
e6898b8d
JM
3956 * NEWS: Update dates in second copyright notice.
3957 * README: Update copyright dates in example.
3958 * manual/libc.texinfo: Update copyright dates.
3959 * scripts/test-installation.pl: Update copyright date in --version
3960 output.
3961
0e2f9562
JM
3962 * hurd/ctty-input.c: Fix copyright notice formatting.
3963 * hurd/ctty-output.c: Likewise.
3964 * hurd/dtable.c: Likewise.
3965 * hurd/hurd-raise.c: Likewise.
3966 * hurd/hurdprio.c: Likewise.
3967 * hurd/msgportdemux.c: Likewise.
3968 * misc/sys/file.h: Likewise.
3969 * misc/sys/ioctl.h: Likewise.
3970 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3971 * sysdeps/mach/hurd/chdir.c: Likewise.
3972 * sysdeps/mach/hurd/fchdir.c: Likewise.
3973 * sysdeps/mach/hurd/rename.c: Likewise.
3974 * sysdeps/mach/hurd/rmdir.c: Likewise.
3975 * sysdeps/mach/hurd/seekdir.c: Likewise.
3976 * sysdeps/mach/hurd/setsid.c: Likewise.
3977 * sysdeps/posix/wait3.c: Likewise.
3978
568035b7
JM
3979 * All files with FSF copyright notices: Update copyright dates
3980 using scripts/update-copyrights.
3981 * intl/plural.c: Regenerated.
3982 * locale/programs/charmap-kw.h: Likewise.
3983 * locale/programs/locfile-kw.h: Likewise.
3984
da08f647
SP
39852013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3986
0f5477af
SP
3987 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3988 four values.
3989
44e0d4c2
SP
3990 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3991 calculation loop and add branch prediction.
3992
4d55b4e5
SP
3993 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3994 check access beyond bounds of m1np.
3995
da08f647
SP
3996 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3997 MPTWO.
3998 (__inv): Remove local variable MPTWO to use the global
3999 constant.
4000 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4001 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4002 variable MPTWO.
4003 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4004 MP3HALFS static const.
4005
8e051029
DM
40062013-01-01 David S. Miller <davem@davemloft.net>
4007
4008 * po/ca.po: Update from translation team.
4009
f4cf5f2d
JM
40102013-01-01 Joseph Myers <joseph@codesourcery.com>
4011
4012 * scripts/update-copyrights: New file.
4013 * Makeconfig: Reformat copyright notice.
4014 * ctype/ctype.h: Likewise.
4015 * debug/swprintf_chk.c: Likewise.
4016 * elf/dl-cache.c: Likewise.
4017 * elf/dl-debug.c: Likewise.
4018 * elf/dl-object.c: Likewise.
4019 * grp/initgroups.c: Likewise.
4020 * hurd/Makefile: Likewise.
4021 * hurd/hurd/signal.h: Likewise.
4022 * hurd/hurdfault.c: Likewise.
4023 * hurd/hurdioctl.c: Likewise.
4024 * hurd/hurdlookup.c: Likewise.
4025 * hurd/intr-msg.c: Likewise.
4026 * iconv/gconv_open.c: Likewise.
4027 * libio/swprintf.c: Likewise.
4028 * locale/lc-ctype.c: Likewise.
4029 * locale/nl_langinfo.c: Likewise.
4030 * mach/Machrules: Likewise.
4031 * mach/Makefile: Likewise.
4032 * malloc/obstack.h: Likewise.
4033 * manual/Makefile: Likewise.
4034 * manual/tsort.awk: Likewise.
4035 * misc/bits/stab.def: Likewise.
4036 * nis/nis_print_group_entry.c: Likewise.
4037 * nis/nis_table.c: Likewise.
4038 * nis/nss_compat/compat-pwd.c: Likewise.
4039 * nis/nss_compat/compat-spwd.c: Likewise.
4040 * po/Makefile: Likewise.
4041 * posix/fnmatch.c: Likewise.
4042 * posix/regex.h: Likewise.
4043 * resolv/Makefile: Likewise.
4044 * resolv/nss_dns/dns-network.c: Likewise.
4045 * resolv/res_hconf.c: Likewise.
4046 * scripts/gen-sorted.awk: Likewise.
4047 * soft-fp/soft-fp.h: Likewise.
4048 * stdio-common/printf.h: Likewise.
4049 * stdlib/monetary.h: Likewise.
4050 * stdlib/random.c: Likewise.
4051 * stdlib/random_r.c: Likewise.
4052 * sysdeps/generic/Makefile: Likewise.
4053 * sysdeps/gnu/Makefile: Likewise.
4054 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4055 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4056 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4057 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4058 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4059 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4060 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4061 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4062 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4063 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4064 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4065 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4066 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4067 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4068 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4069 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4070 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4071 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4072 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4073 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4074 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4075 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4076 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4077 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4078 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4079 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4080 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4081 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4082 * sysdeps/mach/hurd/errnos.awk: Likewise.
4083 * sysdeps/mach/hurd/fork.c: Likewise.
4084 * sysdeps/mach/hurd/getcwd.c: Likewise.
4085 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4086 * sysdeps/mach/hurd/mmap.c: Likewise.
4087 * sysdeps/mach/hurd/utimes.c: Likewise.
4088 * sysdeps/mach/hurd/xmknod.c: Likewise.
4089 * sysdeps/posix/profil.c: Likewise.
4090 * sysdeps/posix/readdir_r.c: Likewise.
4091 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4092 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4093 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4094 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4095 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4096 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4097 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4098 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4099 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4100 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4101 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4102 * sysdeps/pthread/lio_listio.c: Likewise.
4103 * sysdeps/sparc/dl-procinfo.h: Likewise.
4104 * sysdeps/unix/i386/sysdep.S: Likewise.
4105 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4106 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4107 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4108 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4110 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4111 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4112 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4113 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4114 * sysdeps/wordsize-32/divdi3.c: Likewise.
4115 * time/sys/time.h: Likewise.
4116 * wcsmbs/Makefile: Likewise.
4117
0549fbba
DM
41182013-01-01 David S. Miller <davem@davemloft.net>
4119
a141f1a7
DM
4120 * po/fr.po: Update from translation team.
4121
0549fbba
DM
4122 * catgets/gencat.c: Update copyright year.
4123 * csu/version.c: Likewise.
4124 * debug/catchsegv.sh: Likewise.
4125 * debug/pcprofiledump.c: Likewise.
4126 * debug/xtrace.sh: Likewise.
4127 * elf/ldconfig.c: Likewise.
4128 * elf/ldd.bash.in: Likewise.
4129 * elf/pldd.c: Likewise.
4130 * elf/sotruss.ksh: Likewise.
4131 * elf/sprof.c: Likewise.
4132 * iconv/iconv_prog.c: Likewise.
4133 * iconv/iconvconfig.c: Likewise.
4134 * locale/programs/locale.c: Likewise.
4135 * locale/programs/localedef.c: Likewise.
4136 * login/programs/pt_chown.c: Likewise.
4137 * malloc/memusage.sh: Likewise.
4138 * malloc/memusagestat.c: Likewise.
4139 * malloc/mtrace.pl: Likewise.
4140 * nscd/nscd.c: Likewise.
4141 * nss/getent.c: Likewise.
4142 * nss/makedb.c: Likewise.
4143 * posix/getconf.c: Likewise.
4144
18ea052c
SP
41452012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4146
4147 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4148 numbers.
4149
9c89fca6
MF
41502012-12-30 Mike Frysinger <vapier@gentoo.org>
4151
4152 * math/bits/mathcalls.h (modf): Use __nonnull.
4153
085ec079
SP
41542012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4155
4156 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4157 (split): Use macro CN instead of the bare value.
4158 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4159 could be used.
4160 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4161 instead of the bare value.
4162 (power1): Likewise.
4163
6d9f97e1
SP
41642012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4165
d63f73be
SP
4166 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4167 __ATAN_TWOM.
4168 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4169
6d9f97e1
SP
4170 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4171 their values.
4172 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4173 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4174 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4175 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4176
4c4febf5
AJ
41772012-12-28 Andreas Jaeger <aj@suse.de>
4178
af5843ef
AJ
4179 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4180 values are from Linux 3.7.
4181
4c4febf5
AJ
4182 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4183 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4184
99136f82
SP
41852012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4186
2f216c3c 4187 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
4188 TRUE case.
4189
99136f82
SP
4190 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4191 (norm): Likewise.
4192 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4193 variables with preprocessor constants.
4194 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4195 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4196 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4197
7fffbdff
BH
41982012-12-27 Bruno Haible <bruno@clisp.org>
4199
4200 [BZ #14317]
4201 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4202 only if needed.
4203
b76eb5f0
SP
42042012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4205
31a7fe5c
SP
4206 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4207 and use variable directly.
4208 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4209
b76eb5f0
SP
4210 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4211 MPONE.
4212 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4213 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4214 variable MPONE.
4215 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4216 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4217 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4218 include directive. Remove local variable MPONE.
4219 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4220 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4221 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4222
2c8bfe7d
DM
42232012-12-25 David S. Miller <davem@davemloft.net>
4224
4225 * version.h (RELEASE): Set to "development".
4226 (VERSION): Set to "2.17.90".
4227 * NEWS: Add 2.18 section.
4228
147d03b0
DM
42292012-12-21 David S. Miller <davem@davemloft.net>
4230
4231 * po/hr.po: Update from translation team.
4232
a8ebb2b9
AK
42332012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4234
4235 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4236
95b4f1b6
SE
42372012-12-19 Steve Ellcey <sellcey@mips.com>
4238
b2d94007 4239 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 4240
cedb2a90
MS
42412012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4242
4243 * manual/contrib.texi (Contributors): Spelling correction.
4244
bbf527d6
DM
42452012-12-15 David S. Miller <davem@davemloft.net>
4246
4247 * po/ru.po: Update from translation team.
4248
bc38c906
DM
42492012-12-13 David S. Miller <davem@davemloft.net>
4250
85429b1a
DM
4251 * NEWS: Mention IFUNC testsuite enhancements.
4252
d283e353
DM
4253 * po/pl.po: Update from translation team.
4254 * po/bg.po: Likewise.
4255
bc38c906
DM
4256 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4257 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4258
a181b0d7
DM
42592012-12-11 David S. Miller <davem@davemloft.net>
4260
4641d57e
DM
4261 * po/sv.po: Update from translation team.
4262
f7bc6495
DM
4263 * po/vi.po: Update from translation team.
4264
6fc9048f
DM
4265 * po/cs.po: Update from translation team.
4266
a181b0d7
DM
4267 * po/de.po: Update from translation team.
4268 * po/eo.po: Likewise.
4269 * po/nl.po: Likewise.
4270
f70bfe80
SP
42712012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4272
3c8b4190
SP
4273 [BZ #14246]
4274 * manual/argp.texi (Argp Helper Functions): Move node to follow
4275 Argp Parsing State.
4276
f70bfe80
SP
4277 [BZ #14872]
4278 * manual/conf.texi (Limits on File System Capacity): Mention if
4279 terminating null is included in the max size.
4280
188f0adf
AJ
42812012-12-10 Andreas Jaeger <aj@suse.de>
4282
4283 * po/cs.po: Update from translation team.
4284
56e7d3ad
SP
42852012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4286
4287 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4288 void pointer and cast to uintptr_t.
4289 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4290 path.
4291 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4292 * sysdeps/s390/s390-64/memset.S: Likewise.
4293
76f2d2ea 42942012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
4295
4296 [BZ #14833]
4297 * menual/message.texi (Message Translation): Fix typos.
4298 (Helper programs for gettext): Likewise.
4299
67cbf9a2
AS
43002012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4301
4302 [BZ #14898]
4303 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4304 Change to -1.
4305
682d0e9a
DM
43062012-12-07 David S. Miller <davem@davemloft.net>
4307
4308 * po/libc.pot: Update.
4309
573cd484
RH
43102012-12-07 Richard Henderson <rth@redhat.com>
4311
7e9da188 4312 [BZ #10114]
573cd484
RH
4313 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4314 normal/normal case to before the switch.
4315 (_FP_DIV): Likewise.
4316
e933a943
MF
43172012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4318 Mike Frysinger <vapier@gentoo.org>
4319
4320 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4321 check for __NR_fadvise64_64.
4322
82123268
CM
43232012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4324
4325 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4326 0, not just to plain "0" as a statement.
4327 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4328 with cw.
4329
d9814526
JM
43302012-12-06 Joseph Myers <joseph@codesourcery.com>
4331
4332 * NEWS: Use sourceware.org in Bugzilla URL.
4333
7728c574
SP
43342012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4335
f16946dd
SP
4336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4337 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4338
5704bbcb
SP
4339 * stdio-common/tst-put-error.c (do_test): Add newline to the
4340 padded test to ensure flush.
4341
17aa0516
JL
43422012-12-05 Jeff Law <law@redhat.com>
4343
4344 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4345
363313b5
JM
43462012-12-05 Joseph Myers <joseph@codesourcery.com>
4347
effbd42a
JM
4348 * README: Don't refer to ports add-on as distributed separately.
4349 Mention AArch64 in list of systems supported in the ports add-on.
4350
87600365
JM
4351 * LICENSES: Add more non-FSF copyright and license notices.
4352
a0d7066a
JM
4353 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4354 ((unused)).
4355
66ca5a5b
JM
4356 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4357
363313b5
JM
4358 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4359 10000 as width of padded output.
4360
b37984ad
JM
43612012-12-04 Joseph Myers <joseph@codesourcery.com>
4362
9003570a
JM
4363 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4364
b37984ad
JM
4365 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4366 variable LX with __attribute__ ((unused)).
4367 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4368 Likewise.
4369 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4370 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4371 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4372 with __attribute__ ((unused)).
4373
c8df52ec
DM
43742012-12-04 David S. Miller <davem@abraco.davemloft.net>
4375
4376 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4377
b3b099af
JM
43782012-12-04 Joseph Myers <joseph@codesourcery.com>
4379
c33aa6e3
JM
4380 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4381 (CFLAGS-nldbl-acos.c): New variable.
4382 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4383 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4384 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4385 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4386 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4387 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4388 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4389 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4390 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4391 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4392 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4393 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4394 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4395 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4396 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4397 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4398 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4399 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4400 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4401 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4402 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4403 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4404 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4405 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4406 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4407 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4408 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4409 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4410 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4411 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4412 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4413 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4414 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4415 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4416 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4417 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4418 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4419 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4420 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4421 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4422 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4423 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4424 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4425 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4426 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4427 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4428 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4429 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4430 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4431 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4432 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4433 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4434 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4435 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4436 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4437 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4438 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4439 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4440 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4441 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4442 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4443 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4444 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4445 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4446 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4447 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4448 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4449 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4450 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4451 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4452 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4453 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4454 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4455 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4456 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4457 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4458 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4459 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4460 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4461 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4462 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4463 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4464 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4465 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4466 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4467 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4468 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4469 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4470 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4471 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4472 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4473 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4474 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4475 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4476 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4477 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4478 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4479
20f0018d
JM
4480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4481 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4482
b3b099af
JM
4483 [BZ #14914]
4484 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4485 whole low double instead of just low 47 bits when splitting values
4486 into two parts.
4487
029264d1
AM
44882012-12-03 Allan McRae <allan@archlinux.org>
4489
4490 * manual/stdio.texi (Predefined Printf Handlers): Remove
4491 @hsep and @vsep usage.
4492
c9d6789e
MF
44932012-12-03 Mike Frysinger <vapier@gentoo.org>
4494
4495 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4496 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4497
4b7634a5
JL
44982012-12-03 Jeff Law <law@redhat.com>
4499
4500 * time/sys/time.h (settimeofday): Do not mark TV argument
4501 as __nonnull.
4502
eb6cbd24
MF
45032012-12-01 Mike Frysinger <vapier@gentoo.org>
4504
4505 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4506 when currently writing and seek to current position when not.
4507 * libio/Makefile (tests): Remove bug-fclose1.
4508 * libio/bug-fclose1.c: Delete.
4509
f638872a
JM
45102012-12-01 Joseph Myers <joseph@codesourcery.com>
4511
4512 * manual/arith.texi (feenableexcept): Fix typo.
4513 (fedisableexcept): Likewise.
4514
48085d14
RM
45152012-11-30 Roland McGrath <roland@hack.frob.com>
4516
4517 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4518 second, differently-typed declaration, rather than a cast.
4519
1a538b9f
SP
45202012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4521
4522 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4523 * include/rpc/svc.h: ... here.
4524
d07f2ff1 45252012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
4526
4527 [BZ #13013]
4528 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4529 depending n and resplen2 to catch cases where answer
4530 equals answerp2.
4531
c93ec1f0
CD
45322012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4533
4534 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4535 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4536
37db69de
MF
45372012-11-29 Mike Frysinger <vapier@gentoo.org>
4538
4539 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4540
e10c4e4f
RM
45412012-11-29 Roland McGrath <roland@hack.frob.com>
4542
4543 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4544
2af1b328
JL
45452012-11-28 Jeff Law <law@redhat.com>
4546
4547 [BZ #13761]
4548 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4549 dataset_temporary. Track alloca usage into alloca_used.
4550 If dataset is large allocate and release it via malloc/free.
4551
111db5b1
FW
45522012-06-04 Florian Weimer <fweimer@redhat.com>
4553
f06cc227 4554 [BZ #14197]
111db5b1
FW
4555 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4556
dd694abd
DM
45572012-11-28 David S. Miller <davem@davemloft.net>
4558
4559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4560
9984dd01
JM
45612012-11-28 Joseph Myers <joseph@codesourcery.com>
4562
4563 [BZ #14803]
4564 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4565 of pi/2 rounded to nearest to 64 bits.
4566 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4567 nearest to 64 bits.
4568 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4569 bits.
4570
14bc93a9
JL
45712012-11-28 Jeff Law <law@redhat.com>
4572 Martin Osvald <mosvald@redhat.com>
4573
4574 [BZ #14889]
4575 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4576 * sunrpc/svc.c: Include time.h.
4577 (__svc_accept_failed): New function.
4578 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4579 any reason other than EINTR, call __svc_accept_failed.
4580 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4581 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4582
e3c6aa3a
AS
45832012-11-28 Andreas Schwab <schwab@suse.de>
4584
4585 * scripts/abilist.awk: Also handle indirect functions in .opd
4586 section.
4587
1bead169
JM
45882012-11-28 Joseph Myers <joseph@codesourcery.com>
4589
4590 [BZ #13881]
4591 * sysdeps/x86/fpu/powl_helper.c: New file.
4592 * sysdeps/x86/fpu/Makefile: Likewise.
4593 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4594 (p3): New object.
4595 (__ieee754_powl): Use __powl_helper for finite arguments except
4596 integer exponents below 8.
4597 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4598 (p3): New object.
4599 (__ieee754_powl): Use __powl_helper for finite arguments except
4600 integer exponents below 8.
4601 * math/libm-test.inc (pow_test): Add more tests and enable some
4602 previously disabled tests.
4603 * sysdeps/i386/fpu/libm-test-ulps: Update.
4604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4605
0817d63d
SP
46062012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4607 Carlos O'Donell <carlos_odonell@mentor.com>
4608
4609 * nss/makedb.c (is_prime): Assert that input is odd and greater
4610 than 4. Note that fact in a comment too.
4611 (next_prime): Add 4 to input.
4612
de2fd463
SP
46132012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4614
4615 [BZ #11741]
4616 * libio/Makefile (tests): Add test case tst-fwrite-error.
4617 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4618 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4619 * libio/tst-fwrite-error.c: New test case.
4620
c515fb51
L
46212012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4622
4623 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4624 before casting to void *.
4625 * include/libc-internal.h (__pointer_type): New macro.
4626 (__integer_if_pointer_type_sub): Likewise.
4627 (__integer_if_pointer_type): Likewise.
4628 (cast_to_integer): Likewise.
4629 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4630 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4631 before casting to atomic64_t.
4632 (atomic_exchange_acq): Likewise.
4633 (__arch_exchange_and_add_body): Likewise.
4634 (__arch_add_body): Likewise.
4635 (atomic_add_negative): Likewise.
4636 (atomic_add_zero): Likewise.
4637
4cf77aa9
JM
46382012-11-26 Joseph Myers <joseph@codesourcery.com>
4639
4640 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4641 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4642 (add_fdes): Likewise.
4643 (linear_search_fdes): Likewise.
4644 (binary_search_unencoded_fdes): Likewise.
4645
d260b3b4
AS
46462012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4647
4648 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4649
67060746
AC
46502012-11-24 Adam Conrad <adconrad@0c3.net>
4651
4652 * configure.in: Autodetect C++ header directories.
4653 * configure: Regenerated.
4654
800938a1
MF
46552012-11-23 Mike Frysinger <vapier@gentoo.org>
4656
4657 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4658
4e6e34e6
AS
46592012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4660
4661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4662
7c7feb47
JM
46632012-11-22 Joseph Myers <joseph@codesourcery.com>
4664
7184dcdf
JM
4665 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4666 LDBL_MANT_DIG == 106]: Disable some tests.
4667 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4668 Likewise.
4669 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4670 Likewise.
4671
0a42601f
JM
4672 [BZ #14871]
4673 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4674 input for small inputs. Return +/- pi/2 for large inputs.
4675 * math/libm-test.inc (atan_test): Add more tests.
4676
79c9b9fe
JM
4677 * sysdeps/generic/unwind-dw2-fde-glibc.c
4678 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4679 __attribute__ ((unused)).
4680
c60d3bf2
JM
4681 [BZ #14645]
4682 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4683 x * y if x and y are nonzero and z is zero.
4684
ef1e0867
JM
4685 [BZ #14811]
4686 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4687 nonzero exponents with absolute value below 0x1p-117 to +/-
4688 0x1p-117.
4689
1468ded3
JM
4690 [BZ #14869]
4691 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4692 up arguments below 2**-450, not just those below 2**-500.
4693 * math/libm-test.inc (hypot_test): Add another test.
4694
8e27e3cc
JM
4695 [BZ #14868]
4696 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4697 Return a+b for ratio over 2**120, not 2**60.
4698 * math/libm-test.inc (hypot_test): Add another test.
4699
c9c0279b
JM
4700 * math/libm-test.inc (clog_test): Use
4701 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4702 (clog10_test): Likewise.
4703
7c7feb47
JM
4704 [BZ #6778]
4705 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4706
fff1530e
AS
47072012-11-22 Andreas Schwab <schwab@suse.de>
4708
4709 * sysdeps/i386/fpu/libm-test-ulps: Update.
4710
94558d30
PT
47112012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4712
4713 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4714 printf output with newline.
4715
7e1be741
L
47162012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4717
6bfea974
L
4718 [BZ #14865]
4719 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4720 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4721 -z nodlopen, -z initfirst and -z execstack support.
4722 * configure: Regenerated.
4723
7e1be741
L
4724 * elf/elf.h (DF_1_NODIRECT): New macro.
4725 (DF_1_IGNMULDEF): Likewise.
4726 (DF_1_NOKSYMS): Likewise.
4727 (DF_1_NOHDR): Likewise.
4728 (DF_1_EDITED): Likewise.
4729 (DF_1_NORELOC): Likewise.
4730 (DF_1_SYMINTPOSE): Likewise.
4731 (DF_1_GLOBAUDIT): Likewise.
4732 (DF_1_SINGLETON): Likewise.
4733 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4734 DT_1_SUPPORTED_MASK bits.
4735 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4736
105ce2ce
CD
47372012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4738
4739 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4740
123be9de
TS
47412012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4742
d072f3f7
TS
4743 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4744 macro.
4745
123be9de
TS
4746 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4747 (sendmmsg): Move declarations...
4748 * socket/sys/socket.h: ... here.
4749 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4750 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4751 include it from...
4752 * socket/recvmmsg.c: ... this new file.
4753 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4754 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4755 definition of __sendmmsg hidden.
4756 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4757 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4758 Move ENOSYS stub into and include it from...
4759 * socket/sendmmsg.c: ... this new file.
4760 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4761 (sysdep_routines): Move recvmmsg and sendmmsg...
4762 * socket/Makefile (routines): ... here.
4763 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4764 (GLIBC_PRIVATE): Add __sendmmsg.
4765 * include/sys/socket.h (__sendmmsg): Add declarations.
4766 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4767 sendmmsg.
4768
cf9a5d18
JM
47692012-11-20 Joseph Myers <joseph@codesourcery.com>
4770
4771 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4772 variable I1 with __attribute__ ((unused)).
4773 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4774
ecd4caf9
JM
47752012-11-19 Joseph Myers <joseph@codesourcery.com>
4776
be14d48f
JM
4777 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4778 DUMMY variables with __attribute__ ((unused)).
4779
ecd4caf9
JM
4780 * bits/byteswap.h: Include <bits/types.h>.
4781 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4782
986cab95
PT
47832012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4784
4785 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4786 string_t. Do not manually set errno.
4787 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4788 length with __strnlen. Make sure to both set errno and return it on
4789 failure.
4790
6d33cc9d
DM
47912012-11-19 David S. Miller <davem@davemloft.net>
4792
4793 With help from Joseph Myers.
4794 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4795 very large arguments properly.
4796 * math/libm-test.inc (atan_test): New tests.
4797 (atan2_test): New tests.
4798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4799 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4800
ee663277
JM
48012012-11-19 Joseph Myers <joseph@codesourcery.com>
4802
877f2d8e
JM
4803 [BZ #14856]
4804 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4805 Define to 3.
4806
116fc08a
JM
4807 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4808 [POSIX] (EADDRNOTAVAIL): Likewise.
4809 [POSIX] (EAFNOSUPPORT): Likewise.
4810 [POSIX] (EALREADY): Likewise.
4811 [POSIX] (ECONNABORTED): Likewise.
4812 [POSIX] (ECONNREFUSED): Likewise.
4813 [POSIX] (ECONNRESET): Likewise.
4814 [POSIX] (EDESTADDRREQ): Likewise.
4815 [POSIX] (EDQUOT): Likewise.
4816 [POSIX] (EHOSTUNREACH): Likewise.
4817 [POSIX] (EIDRM): Likewise.
4818 [POSIX] (EISCONN): Likewise.
4819 [POSIX] (ELOOP): Likewise.
4820 [POSIX] (EMULTIHOP): Likewise.
4821 [POSIX] (ENETDOWN): Likewise.
4822 [POSIX] (ENETUNREACH): Likewise.
4823 [POSIX] (ENOBUFS): Likewise.
4824 [POSIX] (ENODATA): Likewise.
4825 [POSIX] (ENOLINK): Likewise.
4826 [POSIX] (ENOMSG): Likewise.
4827 [POSIX] (ENOPROTOOPT): Likewise.
4828 [POSIX] (ENOSR): Likewise.
4829 [POSIX] (ENOSTR): Likewise.
4830 [POSIX] (ENOTCONN): Likewise.
4831 [POSIX] (ENOTSOCK): Likewise.
4832 [POSIX] (EOPNOTSUPP): Likewise.
4833 [POSIX] (EOVERFLOW): Likewise.
4834 [POSIX] (EPROTO): Likewise.
4835 [POSIX] (EPROTONOSUPPORT): Likewise.
4836 [POSIX] (EPROTOTYPE): Likewise.
4837 [POSIX] (ESTALE): Likewise.
4838 [POSIX] (ETIME): Likewise.
4839 [POSIX] (ETXTBSY): Likewise.
4840 [POSIX] (EWOULDBLOCK): Likewise.
4841 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4842 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4843 [POSIX] (SEEK_CUR): Likewise.
4844 [POSIX] (SEEK_END): Likewise.
4845 [POSIX || UNIX98] (mode_t): Do not require.
4846 [POSIX] (off_t): Likewise.
4847 [POSIX] (pid_t): Likewise.
4848 [POSIX] (sys/stat.h): Do not allow header.
4849 [POSIX] (unistd.h): Likewise.
4850 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4851 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4852 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4853 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4854 require.
4855 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4856 sigevent): Specify elements.
4857 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4858 entry.
4859 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4860 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4861
a483863f
JM
4862 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4863 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4864 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4865 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4866 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4867 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4868 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4869 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4870 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4871 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4872 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4873 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4874 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4875 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4876 Likewise.
4877 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4878 Likewise.
4879 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4880 Likewise.
4881 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4882 Likewise.
4883 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4884 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4885 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4886 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4887 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4888 Specify lower bound on value.
4889 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4890 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4891 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4892 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4893 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4894 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4895 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4896 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4897 value.
4898 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4899 as optional.
4900 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4901 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4902 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4903 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4904 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4905 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4906 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4907 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4908 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4909 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4910 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4911 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4912 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4913 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4914 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4915 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4916 entry.
4917 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4918 optional.
4919 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4920 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4921 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4922 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4923 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4924 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4925 Likewise.
4926 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4927 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4928 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4929 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4930 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
4931 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4932 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4933 as optional.
4934 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4935 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4936 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4937 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4938 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4939 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4940 specify as optional.
4941 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4942 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4943 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4944 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4945 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4946 [XPG3] (NL_LANGMAX): Likewise.
4947 [POSIX || XPG3] (NL_MSGMAX): Likewise.
4948 [POSIX || XPG3] (NL_NMAX): Likewise.
4949 [POSIX || XPG3] (NL_SETMAX): Likewise.
4950 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4951 [XPG3] (NZERO): Likewise.
4952 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4953 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4954 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4955 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4956 (REG_ERANGE): Expect.
4957 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4958 optional-constant.
4959 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4960 Use (void) in prototype.
4961 [POSIX] (*_t): Allow.
4962 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4963 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4964 (WRDE_BADVAL): Expect.
4965
5ba924e3
JM
4966 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4967 expect.
4968 [XPG3 || XPG4] (O_RSYNC): Likewise.
4969 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4970 Likewise.
4971 [XPG3 || XPG4] (pthread_sigmask): Likewise.
4972 [XPG3 || XPG4] (sigqueue): Likewise.
4973 [XPG3 || XPG4] (sigtimedwait): Likewise.
4974 [XPG3 || XPG4] (sigwaitinfo): Likewise.
4975 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4976 [XPG3 || XPG4] (vsnprintf): Likewise.
4977 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4978 Likewise.
4979 [XPG3 || XPG4] (blksize_t): Likewise.
4980 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4981 Likewise.
4982 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4983 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4984 [XPG3 || XPG4] (struct itimerspec): Likewise.
4985 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4986 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4987 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4988 [XPG3 || XPG4] (clockid_t): Likewise.
4989 [XPG3 || XPG4] (timer_t): Likewise.
4990 [XPG3 || XPG4] (clock_getres): Likewise.
4991 [XPG3 || XPG4] (clock_gettime): Likewise.
4992 [XPG3 || XPG4] (clock_settime): Likewise.
4993 [XPG3 || XPG4] (nanosleep): Likewise.
4994 [XPG3 || XPG4] (timer_create): Likewise.
4995 [XPG3 || XPG4] (timer_delete): Likewise.
4996 [XPG3 || XPG4] (timer_gettime): Likewise.
4997 [XPG3 || XPG4] (timer_getoverrun): Likewise.
4998 [XPG3 || XPG4] (timer_settime): Likewise.
4999 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5000 [XPG3 || XPG4] (getlogin_r): Likewise.
5001 [XPG3 || XPG4] (pread): Likewise.
5002 [XPG3 || XPG4] (pthread_atfork): Likewise.
5003 [XPG3 || XPG4] (pwrite): Likewise.
5004
ee663277
JM
5005 [BZ #14835]
5006 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5007 <bits/siginfo.h>.
5008
942caa16
PT
50092012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5010
e19af380
PT
5011 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5012 finalizing MALLSTREAM.
5013
942caa16
PT
5014 * sysdeps/mach/hurd/syncfs.c: New file.
5015
cfde9b46
SP
50162012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5017
5018 [BZ #14719]
5019 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5020 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5021 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5022 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5023 (_nss_dns_gethostbyname4_r): Likewise.
5024 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5025 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5026
f6da27e5
PH
50272012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5028
5029 [BZ #13763]
5030 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5031
6665d4a2
SM
50322012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5033
1f51ee92
SM
5034 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5035 * elf/cache.c (print_entry): Print ",AArch64" for
5036 FLAG_AARCH64_LIB64
5037
6665d4a2
SM
5038 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5039 * elf/cache.c (print_entry): Print ",hard-float" for
5040 FLAG_ARM_LIBHF.
5041
05b227bd
DM
50422012-11-18 David S. Miller <davem@davemloft.net>
5043
5044 With help from Joseph Myers.
5045 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5046 cutoff to 2**-13.
5047 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5048 cutoff to 2**-25.
5049 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5050 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5051 small.
5052 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5053 * math/libm-test.inc (y0_test): New tests.
5054 (y1_test): New tests.
5055 * sysdeps/i386/fpu/libm-test-ulps: Update.
5056 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5058
786b0b67
AS
50592012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5060
5061 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5062 64-bit targets.
5063 * configure: Regenerated.
5064
8e18b86d
DM
50652012-11-17 David S. Miller <davem@davemloft.net>
5066
5067 [BZ #14811]
5068 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5069 nonzero exponents with absolute value below 0x1p-128 to +/-
5070 0x1p-128.
5071
531f1ae0
JM
50722012-11-17 Joseph Myers <joseph@codesourcery.com>
5073
12df29e2
JM
5074 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5075
150dc1a0
JM
5076 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5077
531f1ae0
JM
5078 * posix/getconf-speclist.c: New file.
5079 * posix/posix-envs.def: Likewise.
5080 * posix/confstr.c (START_ENV_GROUP): New macro.
5081 (END_ENV_GROUP): Likewise.
5082 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5083 (KNOWN_PRESENT_ENV_STRING): Likewise.
5084 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5085 (UNKNOWN_ENVIRONMENT): Likewise.
5086 (confstr): Include posix-envs.def instead of handling
5087 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5088 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5089 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5090 (END_ENV_GROUP): Likewise.
5091 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5092 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5093 (UNKNOWN_ENVIRONMENT): Likewise.
5094 (__sysconf): Include posix-envs.def instead of handling associated
5095 cases directly here.
5096 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5097 preprocessing getconf-speclist.c rather than running getconf or
5098 generating empty file.
5099
a93f9cbc
PT
51002012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5101
5102 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5103
d64d9f87
AL
51042012-11-16 Andrej Lajovic <natrij@gmail.com>
5105
5106 [BZ #14672]
5107 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5108
447885eb
DM
51092012-11-16 David S. Miller <davem@davemloft.net>
5110
5111 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5112 smaller than LDBL_EPSILON/2.0L, just return xm1.
5113
bcbf9830
L
51142012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5115
5116 * elf/tst-array1.c (init): Set constructor priority to 1000.
5117 (fini): Set destructor priority to 1000.
5118 * elf/tst-array2dep.c: Likewise.
5119
2b766585
SP
51202012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5121
5122 [BZ #11741]
5123 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5124 (_IO_new_file_xsputn): Also return EOF if none of the input
5125 data was written when overflow failed.
5126 * libio/iopadn.c (_IO_padn): Likewise.
5127 * libio/iowpadn.c (_IO_wpadn): Likewise.
5128 * stdio-common/tst-put-error.c: Add copyright notice.
5129 (do_test): Add case for printing padded string.
5130 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5131 _IO_padn returned error.
5132 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5133 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5134 return EOF.
5135
b1848fde
SP
51362012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5137
5138 * libio/libioP.h: Add comment note that the references to C++
5139 bits are now obsolete.
5140
2fd89785
MS
51412012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5142
5143 * math/libm-test.inc (check_complex): Use asprintf.
5144
e3ea5409
JM
51452012-11-14 Joseph Myers <joseph@codesourcery.com>
5146
5147 * debug/pcprofiledump.c (print_version): Update copyright year.
5148 * malloc/memusagestat.c (print_version): Likewise.
5149
2e64d265
L
51502012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5151
5152 [BZ #14831]
5153 * elf/Makefile (tests): Add tst-audit8.
5154 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5155 ($(objpfx)tst-audit8.out): New target.
5156 (tst-audit8-ENV): New variable.
5157 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5158 audit if l_reloc_result is NULL.
5159 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5160 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5161 * elf/tst-audit8.c: New file.
5162
c485e4d2
MS
51632012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5164
5165 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5166 * misc/Makefile (CFLAGS-select.c): Define.
5167 * posix/Makefile (CFLAGS-pause.c): Define.
5168
3a0d900a
DM
51692012-11-13 David S. Miller <davem@davemloft.net>
5170
5171 * crypt/Makefile: Move test targets after toplevel Rules
5172 inclusion. Grab any necessary sysdep routines when linking.
5173 * crypt/md5.c (md5_process_block): Remove define, we will always
5174 name it __md5_process_block.
5175 (md5_finish_ctx): Update md5_process_block call.
5176 (md5_stream): Likewise.
5177 (md5_process_bytes): Likewise.
5178 (md5_process_block): Rename to __md5_process_block and move to ...
5179 * crypt/md5-block.c: ... here.
5180 * crypt/sha256.c (sha256_process_block): Move to ...
5181 * crypt/sha256-block.c: ... here.
5182 * crypt/sha512.c (sha512_process_block): Move to ...
5183 * crypt/sha512-block.c: ... here.
5184 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5185 path.
5186 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5187 * sysdeps/sparc/sparc64/multiarch/Makefile
5188 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5189 crypt subdir.
5190 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5191 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5192 multiarch changes.
5193 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5194 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5195 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5196 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5197 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5198 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5199 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5200 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5201 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5202 file.
5203 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5204 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5205 file.
5206 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5207
8ca89318
JM
52082012-11-13 Joseph Myers <joseph@codesourcery.com>
5209
e27d476a
JM
5210 * timezone/tzselect.ksh: Update from tzcode git revision
5211 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5212 * timezone/zdump.c: Likewise.
5213 * timezone/zic.c: Likewise.
5214 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5215 in TZVERSION setting, not $(PKGVERSION).
5216 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5217 REPORT_BUGS_TO settings.
5218
8ca89318
JM
5219 [BZ #14838]
5220 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5221 macro.
5222
47594329
MS
52232012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5224
5225 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5226 detection to immediately after _FP_ROUND().
5227 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5228 bits are 0.
5229
640ac3f1
DM
52302012-11-11 David S. Miller <davem@davemloft.net>
5231
5232 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5233 inttypes.h
5234 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5235 __close rather than their public counterparts.
5236
3d2577bb
JM
52372012-11-10 Joseph Myers <joseph@codesourcery.com>
5238
5239 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5240 file.
5241 [UNIX98] (sem_timedwait): Do not expect.
5242 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5243 [XPG4 || UNIX98] (sockatmark): Do not expect.
5244 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5245 (clock_getcpuclockid): Do not expect.
5246 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5247 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5248 Do not expect.
5249 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5250 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5251 [UNIX98] (vwscanf): Likewise.
5252 [UNIX98] (vswscanf): Likewise.
5253
fb1ae1ee
JM
52542012-11-09 Joseph Myers <joseph@codesourcery.com>
5255
9ec6f8bd
JM
5256 * timezone/version.h: Remove file.
5257 * timezone/README: Do not refer to version.h.
5258 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5259 $(objpfx)version.h.
5260 ($(objpfx)zdump.o): Likewise.
c3f81911 5261 ($(objpfx)version.h): New target.
9ec6f8bd 5262
0aa8f8a1
JM
5263 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5264 2012i.
5265 * timezone/README: Don't mention modification to tzselect.ksh.
5266 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5267 work on unmodified tzselect.ksh. Substitute version numbers in
5268 tzselect.ksh.
5269
4e87147f
JM
5270 * Makefile (format-me): Remove.
5271 (INSTALL): Adjust indentation. Use commands directly instead of
5272 using $(format-me).
5273
8b748aed
JM
5274 * aclocal.m4 (ACX_PKGVERSION): New macro.
5275 (ACX_BUGURL): Likewise.
5276 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5277 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5278 (REPORT_BUGS_TO): Likewise.
5279 * configure: Regenerated.
5280 * config.h.in (PKGVERSION): New macro.
5281 (REPORT_BUGS_TO): Likewise.
5282 * config.make.in (PKGVERSION): New variable.
5283 (PKGVERSION_TEXI): Likewise.
5284 (REPORT_BUGS_TO): Likewise.
5285 (REPORT_BUGS_TEXI): Likewise.
5286 * Makefile (format-me): Use -I$(common-objpfx)manual.
5287 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5288 ($(common-objpfx)manual/%): New target.
5289 (manual/%): Remove target.
5290 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5291 (print_version): Use PKGVERSION.
5292 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5293 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5294 and REPORT_BUGS_TO.
5295 ($(objpfx)xtrace): Likewise.
5296 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5297 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5298 (print_version): Use PKGVERSION.
5299 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5300 (do_version): Use PKGVERSION.
5301 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5302 REPORT_BUGS_TO.
5303 (common-ldd-rewrite): Likewise.
5304 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5305 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5306 (print_version): Use PKGVERSION.
5307 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5308 * elf/pldd.c (argp_program_bug_address): Remove variable.
5309 (more_help): New function.
5310 (argp): Use more_help.
5311 (print_version): Use PKGVERSION.
5312 * elf/sln.c (main): Use PKGVERSION.
5313 (usage): Use REPORT_BUGS_TO.
5314 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5315 (top level): Use PKGVERSION.
5316 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5317 (print_version): Use PKGVERSION.
5318 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5319 (print_version): Use PKGVERSION.
5320 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5321 (print_version): Use PKGVERSION.
5322 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5323 (print_version): Use PKGVERSION.
5324 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5325 (print_version): Use PKGVERSION.
5326 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5327 (print_version): Use PKGVERSION.
5328 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5329 and BUGURL.
5330 ($(objpfx)memusage): Likewise.
5331 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5332 (do_version): Use PKGVERSION.
5333 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5334 (print_version): Use PKGVERSION.
5335 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5336 ($PKGVERSION): New variable.
5337 ($REPORT_BUGS_TO): Likewise.
5338 (usage): Use $REPORT_BUGS_TO.
5339 (top level): Use $PKGVERSION.
5340 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5341 ($(objpfx)pkgvers.texi): New rule.
5342 ($(objpfx)stamp-pkgvers): Likewise.
5343 * manual/install.texi: Include pkgvers.texi.
5344 (--with-pkgversion): Document new configure option.
5345 (--with-bugurl): Likewise.
5346 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5347 than necessarily for this particular distribution. Use
5348 REPORT_BUGS_TO for where to report bugs.
5349 * INSTALL: Regenerated.
5350 * manual/libc.texinfo: Include pkgvers.texi.
5351 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5352 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5353 (print_version): Use PKGVERSION.
5354 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5355 (print_version): Use PKGVERSION.
5356 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5357 (print_version): Use PKGVERSION.
5358 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5359 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5360 macro.
5361 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5362 (print_version): Use PKGVERSION.
5363 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5364 (print_version): Use PKGVERSION.
5365 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5366 and PKGVERSION.
5367
92e4b6a9
JM
5368 * timezone/checktab.awk: Update from tzcode 2012i.
5369 * timezone/ialloc.c: Likewise.
5370 * timezone/private.h: Likewise.
5371 * timezone/scheck.c: Likewise.
5372 * timezone/tzfile.h: Likewise.
5373 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5374 (TZVERSION): Hardcode tzcode version number.
5375 * timezone/zdump.c: Update from tzcode 2012i.
5376 * timezone/zic.c: Likewise.
5377 * timezone/version.h: New file.
5378 * timezone/README: Describe version.h. Update upstream location.
5379
9bde902c
JM
5380 [BZ #14824]
5381 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5382 (mktemp): Enable declaration.
5383 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5384 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5385 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5386 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5387 Likewise.
5388 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5389 Likewise.
5390 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5391 Likewise.
5392 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5393 Likewise.
5394 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5395 Likewise.
5396 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5397 Likewise.
5398
fb1ae1ee
JM
5399 [BZ #14821]
5400 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5401 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5402 for copies of such integer values.
5403 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5404 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5405
2c1adbcb
AJ
54062012-11-09 Andreas Jaeger <aj@suse.de>
5407
5408 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5409 definitions and declarations that are provided by
5410 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5411
d0f8457e
AK
54122012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5413
3a235abb 5414 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
5415 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5416 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5417 definition.
5418
57241e26
MS
54192012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5420
5421 * elf/elf.h: Update comment before AArch64 relocations.
5422
60e8270d
DM
54232012-11-07 David S. Miller <davem@davemloft.net>
5424
5425 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5426 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5427 (__start_context): Declare.
5428 (__makecontext_ret): Delete.
5429 (__makecontext): Hook up __start_context instead of
5430 __makecontext_ret.
5431 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5432 (sysdep_routines): Add __start_context when in stdlib.
5433
0fbb0fbc
JM
54342012-11-07 Joseph Myers <joseph@codesourcery.com>
5435
5436 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5437 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5438 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5439 hardcoded "nm".
5440 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5441 (READELF): New variable. Use it instead of hardcoded "readelf".
5442
eb48db7e
L
54432012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5444
5445 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5446 * sysdeps/x86/Makefile: Here.
5447 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5448 * sysdeps/x86/tst-xmmymm.sh: This.
5449
05bcf62a
JM
54502012-11-07 Joseph Myers <joseph@codesourcery.com>
5451
c4b6cf53
JM
5452 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5453 expectations.
5454 [UNIX98] (pthread_barrier_t): Do not expect.
5455 [UNIX98] (pthread_barrierattr_t): Likewise.
5456 [UNIX98] (pthread_spinlock_t): Likewise.
5457 [UNIX98] (pthread_barrier_destroy): Likewise.
5458 [UNIX98] (pthread_barrier_init): Likewise.
5459 [UNIX98] (pthread_barrier_wait): Likewise.
5460 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5461 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5462 [UNIX98] (pthread_barrierattr_init): Likewise.
5463 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5464 [UNIX98] (pthread_getcpuclockid): Likewise.
5465 [UNIX98] (pthread_mutex_timedlock): Likewise.
5466 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5467 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5468 [UNIX98] (pthread_sigmask): Likewise.
5469 [UNIX98] (pthread_spin_destroy): Likewise.
5470 [UNIX98] (pthread_spin_init): Likewise.
5471 [UNIX98] (pthread_spin_lock): Likewise.
5472 [UNIX98] (pthread_spin_trylock): Likewise.
5473 [UNIX98] (pthread_spin_unlock): Likewise.
5474 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5475 Do not expect.
5476 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5477 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5478 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5479 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5480 [XPG3 || XPG4] (pthread_key_t): Likewise.
5481 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5482 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5483 [XPG3 || XPG4] (pthread_once_t): Likewise.
5484 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5485 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5486 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5487 [XPG3 || XPG4] (pthread_t): Likewise.
5488
cbe6e120
JM
5489 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5490 not expect.
5491 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5492
1b126443
JM
5493 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5494 Change function return type to int.
5495
b961a573
JM
5496 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5497 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5498 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5499 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5500 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5501 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5502 [!POSIX] (posix_madvise): Likewise.
5503 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5504 && !UNIX98].
5505 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5506 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5507 (mode_t): Likewise.
5508 (posix_mem_offset): Likewise.
5509 (posix_typed_mem_get_info): Likewise.
5510 (posix_typed_mem_open): Likewise.
5511
9e188909
JM
5512 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5513 Change condition to [XOPEN2K8].
5514
05bcf62a
JM
5515 * conform/conformtest.pl: Preprocess allow-header data with -x c
5516 instead of from stdin.
5517 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5518 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5519 [C99-based standards] (cerfc): Likewise.
5520 [C99-based standards] (cexp2): Likewise.
5521 [C99-based standards] (cexpm1): Likewise.
5522 [C99-based standards] (clog10): Likewise.
5523 [C99-based standards] (clog1p): Likewise.
5524 [C99-based standards] (clog2): Likewise.
5525 [C99-based standards] (clgamma): Likewise.
5526 [C99-based standards] (ctgamma): Likewise.
5527 [C99-based standards] (cerff): Likewise.
5528 [C99-based standards] (cerfcf): Likewise.
5529 [C99-based standards] (cexp2f): Likewise.
5530 [C99-based standards] (cexpm1f): Likewise.
5531 [C99-based standards] (clog10f): Likewise.
5532 [C99-based standards] (clog1pf): Likewise.
5533 [C99-based standards] (clog2f): Likewise.
5534 [C99-based standards] (clgammaf): Likewise.
5535 [C99-based standards] (ctgammaf): Likewise.
5536 [C99-based standards] (cerfl): Likewise.
5537 [C99-based standards] (cerfcl): Likewise.
5538 [C99-based standards] (cexp2l): Likewise.
5539 [C99-based standards] (cexpm1l): Likewise.
5540 [C99-based standards] (clog10l): Likewise.
5541 [C99-based standards] (clog1pl): Likewise.
5542 [C99-based standards] (clog2l): Likewise.
5543 [C99-based standards] (clgammal): Likewise.
5544 [C99-based standards] (ctgammal): Likewise.
5545 * conform/data/inttypes.h-data [C99-based standards]: Include
5546 stdint.h-data. Remove all expectations for stdint.h contents.
5547 [C99-based standards] (PRI*): Do not allow.
5548 [C99-based standards] (SCN*): Likewise.
5549 [C99-based standards] (*_t): Likewise.
5550 [C99-based-standards] (PRId8): Expect macro.
5551 [C99-based-standards] (PRIi8): Likewise.
5552 [C99-based-standards] (PRIo8): Likewise.
5553 [C99-based-standards] (PRIu8): Likewise.
5554 [C99-based-standards] (PRIx8): Likewise.
5555 [C99-based-standards] (PRIX8): Likewise.
5556 [C99-based-standards] (SCNd8): Likewise.
5557 [C99-based-standards] (SCNi8): Likewise.
5558 [C99-based-standards] (SCNo8): Likewise.
5559 [C99-based-standards] (SCNu8): Likewise.
5560 [C99-based-standards] (SCNx8): Likewise.
5561 [C99-based-standards] (PRIdLEAST8): Likewise.
5562 [C99-based-standards] (PRIiLEAST8): Likewise.
5563 [C99-based-standards] (PRIoLEAST8): Likewise.
5564 [C99-based-standards] (PRIuLEAST8): Likewise.
5565 [C99-based-standards] (PRIxLEAST8): Likewise.
5566 [C99-based-standards] (PRIXLEAST8): Likewise.
5567 [C99-based-standards] (SCNdLEAST8): Likewise.
5568 [C99-based-standards] (SCNiLEAST8): Likewise.
5569 [C99-based-standards] (SCNoLEAST8): Likewise.
5570 [C99-based-standards] (SCNuLEAST8): Likewise.
5571 [C99-based-standards] (SCNxLEAST8): Likewise.
5572 [C99-based-standards] (PRIdFAST8): Likewise.
5573 [C99-based-standards] (PRIiFAST8): Likewise.
5574 [C99-based-standards] (PRIoFAST8): Likewise.
5575 [C99-based-standards] (PRIuFAST8): Likewise.
5576 [C99-based-standards] (PRIxFAST8): Likewise.
5577 [C99-based-standards] (PRIXFAST8): Likewise.
5578 [C99-based-standards] (SCNdFAST8): Likewise.
5579 [C99-based-standards] (SCNiFAST8): Likewise.
5580 [C99-based-standards] (SCNoFAST8): Likewise.
5581 [C99-based-standards] (SCNuFAST8): Likewise.
5582 [C99-based-standards] (SCNxFAST8): Likewise.
5583 [C99-based-standards] (PRId16): Likewise.
5584 [C99-based-standards] (PRIi16): Likewise.
5585 [C99-based-standards] (PRIo16): Likewise.
5586 [C99-based-standards] (PRIu16): Likewise.
5587 [C99-based-standards] (PRIx16): Likewise.
5588 [C99-based-standards] (PRIX16): Likewise.
5589 [C99-based-standards] (SCNd16): Likewise.
5590 [C99-based-standards] (SCNi16): Likewise.
5591 [C99-based-standards] (SCNo16): Likewise.
5592 [C99-based-standards] (SCNu16): Likewise.
5593 [C99-based-standards] (SCNx16): Likewise.
5594 [C99-based-standards] (PRIdLEAST16): Likewise.
5595 [C99-based-standards] (PRIiLEAST16): Likewise.
5596 [C99-based-standards] (PRIoLEAST16): Likewise.
5597 [C99-based-standards] (PRIuLEAST16): Likewise.
5598 [C99-based-standards] (PRIxLEAST16): Likewise.
5599 [C99-based-standards] (PRIXLEAST16): Likewise.
5600 [C99-based-standards] (SCNdLEAST16): Likewise.
5601 [C99-based-standards] (SCNiLEAST16): Likewise.
5602 [C99-based-standards] (SCNoLEAST16): Likewise.
5603 [C99-based-standards] (SCNuLEAST16): Likewise.
5604 [C99-based-standards] (SCNxLEAST16): Likewise.
5605 [C99-based-standards] (PRIdFAST16): Likewise.
5606 [C99-based-standards] (PRIiFAST16): Likewise.
5607 [C99-based-standards] (PRIoFAST16): Likewise.
5608 [C99-based-standards] (PRIuFAST16): Likewise.
5609 [C99-based-standards] (PRIxFAST16): Likewise.
5610 [C99-based-standards] (PRIXFAST16): Likewise.
5611 [C99-based-standards] (SCNdFAST16): Likewise.
5612 [C99-based-standards] (SCNiFAST16): Likewise.
5613 [C99-based-standards] (SCNoFAST16): Likewise.
5614 [C99-based-standards] (SCNuFAST16): Likewise.
5615 [C99-based-standards] (SCNxFAST16): Likewise.
5616 [C99-based-standards] (PRId32): Likewise.
5617 [C99-based-standards] (PRIi32): Likewise.
5618 [C99-based-standards] (PRIo32): Likewise.
5619 [C99-based-standards] (PRIu32): Likewise.
5620 [C99-based-standards] (PRIx32): Likewise.
5621 [C99-based-standards] (PRIX32): Likewise.
5622 [C99-based-standards] (SCNd32): Likewise.
5623 [C99-based-standards] (SCNi32): Likewise.
5624 [C99-based-standards] (SCNo32): Likewise.
5625 [C99-based-standards] (SCNu32): Likewise.
5626 [C99-based-standards] (SCNx32): Likewise.
5627 [C99-based-standards] (PRIdLEAST32): Likewise.
5628 [C99-based-standards] (PRIiLEAST32): Likewise.
5629 [C99-based-standards] (PRIoLEAST32): Likewise.
5630 [C99-based-standards] (PRIuLEAST32): Likewise.
5631 [C99-based-standards] (PRIxLEAST32): Likewise.
5632 [C99-based-standards] (PRIXLEAST32): Likewise.
5633 [C99-based-standards] (SCNdLEAST32): Likewise.
5634 [C99-based-standards] (SCNiLEAST32): Likewise.
5635 [C99-based-standards] (SCNoLEAST32): Likewise.
5636 [C99-based-standards] (SCNuLEAST32): Likewise.
5637 [C99-based-standards] (SCNxLEAST32): Likewise.
5638 [C99-based-standards] (PRIdFAST32): Likewise.
5639 [C99-based-standards] (PRIiFAST32): Likewise.
5640 [C99-based-standards] (PRIoFAST32): Likewise.
5641 [C99-based-standards] (PRIuFAST32): Likewise.
5642 [C99-based-standards] (PRIxFAST32): Likewise.
5643 [C99-based-standards] (PRIXFAST32): Likewise.
5644 [C99-based-standards] (SCNdFAST32): Likewise.
5645 [C99-based-standards] (SCNiFAST32): Likewise.
5646 [C99-based-standards] (SCNoFAST32): Likewise.
5647 [C99-based-standards] (SCNuFAST32): Likewise.
5648 [C99-based-standards] (SCNxFAST32): Likewise.
5649 [C99-based-standards] (PRId64): Likewise.
5650 [C99-based-standards] (PRIi64): Likewise.
5651 [C99-based-standards] (PRIo64): Likewise.
5652 [C99-based-standards] (PRIu64): Likewise.
5653 [C99-based-standards] (PRIx64): Likewise.
5654 [C99-based-standards] (PRIX64): Likewise.
5655 [C99-based-standards] (SCNd64): Likewise.
5656 [C99-based-standards] (SCNi64): Likewise.
5657 [C99-based-standards] (SCNo64): Likewise.
5658 [C99-based-standards] (SCNu64): Likewise.
5659 [C99-based-standards] (SCNx64): Likewise.
5660 [C99-based-standards] (PRIdLEAST64): Likewise.
5661 [C99-based-standards] (PRIiLEAST64): Likewise.
5662 [C99-based-standards] (PRIoLEAST64): Likewise.
5663 [C99-based-standards] (PRIuLEAST64): Likewise.
5664 [C99-based-standards] (PRIxLEAST64): Likewise.
5665 [C99-based-standards] (PRIXLEAST64): Likewise.
5666 [C99-based-standards] (SCNdLEAST64): Likewise.
5667 [C99-based-standards] (SCNiLEAST64): Likewise.
5668 [C99-based-standards] (SCNoLEAST64): Likewise.
5669 [C99-based-standards] (SCNuLEAST64): Likewise.
5670 [C99-based-standards] (SCNxLEAST64): Likewise.
5671 [C99-based-standards] (PRIdFAST64): Likewise.
5672 [C99-based-standards] (PRIiFAST64): Likewise.
5673 [C99-based-standards] (PRIoFAST64): Likewise.
5674 [C99-based-standards] (PRIuFAST64): Likewise.
5675 [C99-based-standards] (PRIxFAST64): Likewise.
5676 [C99-based-standards] (PRIXFAST64): Likewise.
5677 [C99-based-standards] (SCNdFAST64): Likewise.
5678 [C99-based-standards] (SCNiFAST64): Likewise.
5679 [C99-based-standards] (SCNoFAST64): Likewise.
5680 [C99-based-standards] (SCNuFAST64): Likewise.
5681 [C99-based-standards] (SCNxFAST64): Likewise.
5682 [C99-based-standards] (PRIdMAX): Likewise.
5683 [C99-based-standards] (PRIiMAX): Likewise.
5684 [C99-based-standards] (PRIoMAX): Likewise.
5685 [C99-based-standards] (PRIuMAX): Likewise.
5686 [C99-based-standards] (PRIxMAX): Likewise.
5687 [C99-based-standards] (PRIXMAX): Likewise.
5688 [C99-based-standards] (SCNdMAX): Likewise.
5689 [C99-based-standards] (SCNiMAX): Likewise.
5690 [C99-based-standards] (SCNoMAX): Likewise.
5691 [C99-based-standards] (SCNuMAX): Likewise.
5692 [C99-based-standards] (SCNxMAX): Likewise.
5693 [C99-based-standards] (PRIdPTR): Likewise.
5694 [C99-based-standards] (PRIiPTR): Likewise.
5695 [C99-based-standards] (PRIoPTR): Likewise.
5696 [C99-based-standards] (PRIuPTR): Likewise.
5697 [C99-based-standards] (PRIxPTR): Likewise.
5698 [C99-based-standards] (PRIXPTR): Likewise.
5699 [C99-based-standards] (SCNdPTR): Likewise.
5700 [C99-based-standards] (SCNiPTR): Likewise.
5701 [C99-based-standards] (SCNoPTR): Likewise.
5702 [C99-based-standards] (SCNuPTR): Likewise.
5703 [C99-based-standards] (SCNxPTR): Likewise.
5704 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5705 allow.
5706 * conform/data/stdint.h-data: Update comments to clarify
5707 requirements.
5708 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5709 type.
5710 [C99-based standards] (INT8_MAX): Likewise.
5711 [C99-based standards] (INT16_MIN): Likewise.
5712 [C99-based standards] (INT16_MAX): Likewise.
5713 [C99-based standards] (INT32_MIN): Likewise.
5714 [C99-based standards] (INT32_MAX): Likewise.
5715 [C99-based standards] (INT64_MIN): Likewise.
5716 [C99-based standards] (INT64_MAX): Likewise.
5717 [C99-based standards] (UINT8_MAX): Likewise.
5718 [C99-based standards] (UINT16_MAX): Likewise.
5719 [C99-based standards] (UINT32_MAX): Likewise.
5720 [C99-based standards] (UINT64_MAX): Likewise.
5721 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5722 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5723 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5724 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5725 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5726 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5727 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5728 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5729 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5730 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5731 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5732 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5733 [C99-based standards] (INT_FAST8_MIN): Likewise.
5734 [C99-based standards] (INT_FAST8_MAX): Likewise.
5735 [C99-based standards] (INT_FAST16_MIN): Likewise.
5736 [C99-based standards] (INT_FAST16_MAX): Likewise.
5737 [C99-based standards] (INT_FAST32_MIN): Likewise.
5738 [C99-based standards] (INT_FAST32_MAX): Likewise.
5739 [C99-based standards] (INT_FAST64_MIN): Likewise.
5740 [C99-based standards] (INT_FAST64_MAX): Likewise.
5741 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5742 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5743 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5744 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5745 [C99-based standards] (INTPTR_MIN): Likewise.
5746 [C99-based standards] (INTPTR_MAX): Likewise.
5747 [C99-based standards] (UINTPTR_MAX): Likewise.
5748 [C99-based standards] (INTMAX_MIN): Likewise.
5749 [C99-based standards] (INTMAX_MAX): Likewise.
5750 [C99-based standards] (UINTMAX_MAX): Likewise.
5751 [C99-based standards] (PTRDIFF_MIN): Likewise.
5752 [C99-based standards] (PTRDIFF_MAX): Likewise.
5753 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5754 [C99-based standards] (SIZE_MAX): Likewise.
5755 [C99-based standards] (WCHAR_MAX): Likewise.
5756 [C99-based standards] (WINT_MAX): Likewise.
5757 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5758 constraint on value.
5759 [C99-based standards] (WCHAR_MIN): Likewise.
5760 [C99-based standards] (WINT_MIN): Likewise.
5761 [C99-based standards] (*_t): Allow.
5762 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5763 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5764 Include math.h-data and complex.h-data. Remove all expectations
5765 of math.h and complex.h contents.
5766 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5767 at end of line.
5768 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5769 (struct tm): Expect tag.
5770 [C99-based-standards] (wcstof): Expect function.
5771 [C99-based-standards] (wcstold): Likewise.
5772 [C99-based-standards] (wcstoll): Likewise.
5773 [C99-based-standards] (wcstoull): Likewise.
5774 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5775 macro-int-constant. Specify type.
5776 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5777 constraint on value.
5778 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5779 Specify type.
5780 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5781 Specify value.
5782 [ISO C standards]: Do not allow headers.
5783 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5784 wcs[abcdefghijklmnopqrstuvwxyz]*.
5785 [ISO C standards] (*_t): Do not allow.
5786 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5787 Expect function.
5788 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5789 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5790 Specify type.
5791 [ISO C standards]: Do not allow headers.
5792 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5793 is[abcdefghijklmnopqrstuvwxyz]*.
5794 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5795 to[abcdefghijklmnopqrstuvwxyz]*.
5796 [ISO C standards] (*_t): Do not allow.
5797 * conform/data/stdalign.h-data: New file.
5798 * conform/data/stdbool.h-data: Likewise.
5799 * conform/data/stdnoreturn.h-data: Likewise.
5800
7514feb8
RM
58012012-11-07 Roland McGrath <roland@hack.frob.com>
5802
5803 [BZ #14815]
5804 * manual/filesys.texi (Directory Entries): Typo fix.
5805 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5806
19b2ecfc
MS
58072012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5808
5809 * elf/elf.h (EM_AARCH64): New macro.
5810 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5811 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5812 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5813 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5814 (R_AARCH64_TLSDESC): Likewise.
5815 (NT_ARM_TLS): Likewise.
5816 (NT_ARM_HW_BREAK): Likewise.
5817 (NT_ARM_HW_WATCH): Likewise.
5818
60e235ee
JM
58192012-11-07 Joseph Myers <joseph@codesourcery.com>
5820
5821 [BZ #14811]
5822 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5823 (__ieee754_powl): Saturate nonzero exponents with absolute value
5824 below 0x1p-79 to +/- 0x1p-79.
5825 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5826 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5827 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5828 nonzero exponents with absolute value below 0x1p-32 to +/-
5829 0x1p-32.
5830 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5831 (__ieee754_powl): Saturate nonzero exponents with absolute value
5832 below 0x1p-79 to +/- 0x1p-79.
5833 * math/libm-test.inc (pow_test): Add more tests.
5834
0ab234b7
AK
58352012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5836
5837 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5838 _dl_s390_cap_flags with kernel. Increase string length.
5839 (_dl_s390_platforms): Add z196 and zEC12.
5840
45832f74
JM
58412012-11-07 Joseph Myers <joseph@codesourcery.com>
5842
5843 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5844 Change XOPEN21K to XOPEN2K.
5845
19218757
MK
58462012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5847
5848 * string/memmove.c: Use memcpy when possible.
5849
c5f45721
AJ
58502012-11-06 Andreas Jaeger <aj@suse.de>
5851
5852 * po/eo.po: Update from translation team.
5853
82477c28
JM
58542012-11-06 Joseph Myers <joseph@codesourcery.com>
5855
5856 [BZ #14793]
5857 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5858 exponent and small x and y exponents, scale x or y up. Increase
5859 by 2 the exponent used in scaling up.
5860 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5861 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5862 * math/libm-test.inc (fma_test): Add more tests.
5863 (fma_test_towardzero): Likewise.
5864 (fma_test_downward): Likewise.
5865 (fma_test_upward): Likewise.
5866
99252c8c
JM
58672012-11-05 Joseph Myers <joseph@codesourcery.com>
5868
acfa885f
JM
5869 [BZ #14805]
5870 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5871 fenv_t *.
5872
99252c8c
JM
5873 [BZ #14801]
5874 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5875 namespace for names of struct fields.
5876 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5877 fenv_t fields.
5878 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5879 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5880
d6d98dea
ST
58812012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5882
5883 [BZ #3665]
5884 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5885
e10bb107
TS
58862012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5887
5888 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5889 PTR_DEMANGLE.
5890
5891 [BZ #5246]
5892 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5893 PTR_DEMANGLE.
5894
a0c2940d
JM
58952012-11-04 Joseph Myers <joseph@codesourcery.com>
5896
5897 [BZ #14797]
5898 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5899 definitely overflow as x * y not x * y + z.
5900 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5901 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5902 * math/libm-test.inc (fma_test): Add more tests.
5903 (fma_test_towardzero): Likewise.
5904 (fma_test_downward): Likewise.
5905 (fma_test_upward): Likewise.
5906
b830319d
TS
59072012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5908
5909 [BZ #157]
5910
5911 * include/stub-tag.h: Remove file.
5912 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5913 '#include' of it.
5914 * manual/maint.texi (Porting): Don't reference it.
5915 * Makerules ($(objpfx)stubs): Likewise.
5916 * dirent/closedir.c: Don't include <stub-tag.h>.
5917 * dirent/dirfd.c: Likewise.
5918 * dirent/fdopendir.c: Likewise.
5919 * dirent/getdents.c: Likewise.
5920 * dirent/getdents64.c: Likewise.
5921 * dirent/opendir.c: Likewise.
5922 * dirent/readdir.c: Likewise.
5923 * dirent/readdir64.c: Likewise.
5924 * dirent/readdir64_r.c: Likewise.
5925 * dirent/readdir_r.c: Likewise.
5926 * dirent/rewinddir.c: Likewise.
5927 * dirent/seekdir.c: Likewise.
5928 * dirent/telldir.c: Likewise.
5929 * gmon/profil.c: Likewise.
5930 * grp/setgroups.c: Likewise.
5931 * inet/if_index.c: Likewise.
5932 * io/access.c: Likewise.
5933 * io/chdir.c: Likewise.
5934 * io/chmod.c: Likewise.
5935 * io/chown.c: Likewise.
5936 * io/close.c: Likewise.
5937 * io/dup.c: Likewise.
5938 * io/dup2.c: Likewise.
5939 * io/dup3.c: Likewise.
5940 * io/euidaccess.c: Likewise.
5941 * io/faccessat.c: Likewise.
5942 * io/fchdir.c: Likewise.
5943 * io/fchmod.c: Likewise.
5944 * io/fchmodat.c: Likewise.
5945 * io/fchown.c: Likewise.
5946 * io/fchownat.c: Likewise.
5947 * io/fcntl.c: Likewise.
5948 * io/flock.c: Likewise.
5949 * io/fstatfs.c: Likewise.
5950 * io/fstatfs64.c: Likewise.
5951 * io/fstatvfs.c: Likewise.
5952 * io/fstatvfs64.c: Likewise.
5953 * io/futimens.c: Likewise.
5954 * io/fxstat.c: Likewise.
5955 * io/fxstat64.c: Likewise.
5956 * io/fxstatat.c: Likewise.
5957 * io/fxstatat64.c: Likewise.
5958 * io/getcwd.c: Likewise.
5959 * io/isatty.c: Likewise.
5960 * io/lchmod.c: Likewise.
5961 * io/lchown.c: Likewise.
5962 * io/link.c: Likewise.
5963 * io/linkat.c: Likewise.
5964 * io/lseek.c: Likewise.
5965 * io/lseek64.c: Likewise.
5966 * io/lxstat64.c: Likewise.
5967 * io/mkdir.c: Likewise.
5968 * io/mkdirat.c: Likewise.
5969 * io/mkfifo.c: Likewise.
5970 * io/mkfifoat.c: Likewise.
5971 * io/open.c: Likewise.
5972 * io/open64.c: Likewise.
5973 * io/openat.c: Likewise.
5974 * io/openat64.c: Likewise.
5975 * io/pipe.c: Likewise.
5976 * io/pipe2.c: Likewise.
5977 * io/poll.c: Likewise.
5978 * io/posix_fadvise.c: Likewise.
5979 * io/posix_fadvise64.c: Likewise.
5980 * io/posix_fallocate.c: Likewise.
5981 * io/posix_fallocate64.c: Likewise.
5982 * io/read.c: Likewise.
5983 * io/readlink.c: Likewise.
5984 * io/readlinkat.c: Likewise.
5985 * io/rmdir.c: Likewise.
5986 * io/sendfile.c: Likewise.
5987 * io/sendfile64.c: Likewise.
5988 * io/statfs.c: Likewise.
5989 * io/statfs64.c: Likewise.
5990 * io/statvfs.c: Likewise.
5991 * io/statvfs64.c: Likewise.
5992 * io/symlink.c: Likewise.
5993 * io/symlinkat.c: Likewise.
5994 * io/ttyname.c: Likewise.
5995 * io/ttyname_r.c: Likewise.
5996 * io/umask.c: Likewise.
5997 * io/unlink.c: Likewise.
5998 * io/unlinkat.c: Likewise.
5999 * io/utime.c: Likewise.
6000 * io/utimensat.c: Likewise.
6001 * io/write.c: Likewise.
6002 * io/xmknod.c: Likewise.
6003 * io/xmknodat.c: Likewise.
6004 * io/xstat.c: Likewise.
6005 * io/xstat64.c: Likewise.
6006 * login/getpt.c: Likewise.
6007 * login/grantpt.c: Likewise.
6008 * login/unlockpt.c: Likewise.
6009 * math/e_acoshl.c: Likewise.
6010 * math/e_acosl.c: Likewise.
6011 * math/e_asinl.c: Likewise.
6012 * math/e_atan2l.c: Likewise.
6013 * math/e_atanhl.c: Likewise.
6014 * math/e_coshl.c: Likewise.
6015 * math/e_expl.c: Likewise.
6016 * math/e_fmodl.c: Likewise.
6017 * math/e_gammal_r.c: Likewise.
6018 * math/e_hypotl.c: Likewise.
6019 * math/e_j0l.c: Likewise.
6020 * math/e_j1l.c: Likewise.
6021 * math/e_jnl.c: Likewise.
6022 * math/e_lgammal_r.c: Likewise.
6023 * math/e_log10l.c: Likewise.
6024 * math/e_log2l.c: Likewise.
6025 * math/e_logl.c: Likewise.
6026 * math/e_powl.c: Likewise.
6027 * math/e_rem_pio2l.c: Likewise.
6028 * math/e_sinhl.c: Likewise.
6029 * math/e_sqrtl.c: Likewise.
6030 * math/fclrexcpt.c: Likewise.
6031 * math/fedisblxcpt.c: Likewise.
6032 * math/feenablxcpt.c: Likewise.
6033 * math/fegetenv.c: Likewise.
6034 * math/fegetexcept.c: Likewise.
6035 * math/fegetround.c: Likewise.
6036 * math/feholdexcpt.c: Likewise.
6037 * math/fesetenv.c: Likewise.
6038 * math/fesetround.c: Likewise.
6039 * math/feupdateenv.c: Likewise.
6040 * math/fgetexcptflg.c: Likewise.
6041 * math/fraiseexcpt.c: Likewise.
6042 * math/fsetexcptflg.c: Likewise.
6043 * math/ftestexcept.c: Likewise.
6044 * math/k_cosl.c: Likewise.
6045 * math/k_rem_pio2l.c: Likewise.
6046 * math/k_sinl.c: Likewise.
6047 * math/k_tanl.c: Likewise.
6048 * math/s_asinhl.c: Likewise.
6049 * math/s_atanl.c: Likewise.
6050 * math/s_cbrtl.c: Likewise.
6051 * math/s_erfl.c: Likewise.
6052 * math/s_expm1l.c: Likewise.
6053 * math/s_log1pl.c: Likewise.
6054 * math/s_tanhl.c: Likewise.
6055 * misc/acct.c: Likewise.
6056 * misc/brk.c: Likewise.
6057 * misc/chflags.c: Likewise.
6058 * misc/chroot.c: Likewise.
6059 * misc/fchflags.c: Likewise.
6060 * misc/fgetxattr.c: Likewise.
6061 * misc/flistxattr.c: Likewise.
6062 * misc/fremovexattr.c: Likewise.
6063 * misc/fsetxattr.c: Likewise.
6064 * misc/fsync.c: Likewise.
6065 * misc/ftruncate.c: Likewise.
6066 * misc/futimes.c: Likewise.
6067 * misc/futimesat.c: Likewise.
6068 * misc/getdomain.c: Likewise.
6069 * misc/getdtsz.c: Likewise.
6070 * misc/gethostid.c: Likewise.
6071 * misc/gethostname.c: Likewise.
6072 * misc/getloadavg.c: Likewise.
6073 * misc/getpagesize.c: Likewise.
6074 * misc/getsysstats.c: Likewise.
6075 * misc/getxattr.c: Likewise.
6076 * misc/gtty.c: Likewise.
6077 * misc/ioctl.c: Likewise.
6078 * misc/lgetxattr.c: Likewise.
6079 * misc/listxattr.c: Likewise.
6080 * misc/llistxattr.c: Likewise.
6081 * misc/lremovexattr.c: Likewise.
6082 * misc/lsetxattr.c: Likewise.
6083 * misc/lutimes.c: Likewise.
6084 * misc/madvise.c: Likewise.
6085 * misc/mincore.c: Likewise.
6086 * misc/mlock.c: Likewise.
6087 * misc/mlockall.c: Likewise.
6088 * misc/mmap.c: Likewise.
6089 * misc/mprotect.c: Likewise.
6090 * misc/msync.c: Likewise.
6091 * misc/munlock.c: Likewise.
6092 * misc/munlockall.c: Likewise.
6093 * misc/munmap.c: Likewise.
6094 * misc/preadv.c: Likewise.
6095 * misc/preadv64.c: Likewise.
6096 * misc/ptrace.c: Likewise.
6097 * misc/pwritev.c: Likewise.
6098 * misc/pwritev64.c: Likewise.
6099 * misc/readv.c: Likewise.
6100 * misc/reboot.c: Likewise.
6101 * misc/remap_file_pages.c: Likewise.
6102 * misc/removexattr.c: Likewise.
6103 * misc/revoke.c: Likewise.
6104 * misc/select.c: Likewise.
6105 * misc/setdomain.c: Likewise.
6106 * misc/setegid.c: Likewise.
6107 * misc/seteuid.c: Likewise.
6108 * misc/sethostid.c: Likewise.
6109 * misc/sethostname.c: Likewise.
6110 * misc/setregid.c: Likewise.
6111 * misc/setreuid.c: Likewise.
6112 * misc/setxattr.c: Likewise.
6113 * misc/sstk.c: Likewise.
6114 * misc/stty.c: Likewise.
6115 * misc/swapoff.c: Likewise.
6116 * misc/swapon.c: Likewise.
6117 * misc/sync.c: Likewise.
6118 * misc/syncfs.c: Likewise.
6119 * misc/syscall.c: Likewise.
6120 * misc/truncate.c: Likewise.
6121 * misc/ualarm.c: Likewise.
6122 * misc/usleep.c: Likewise.
6123 * misc/ustat.c: Likewise.
6124 * misc/utimes.c: Likewise.
6125 * misc/vhangup.c: Likewise.
6126 * misc/writev.c: Likewise.
6127 * posix/_exit.c: Likewise.
6128 * posix/alarm.c: Likewise.
6129 * posix/execve.c: Likewise.
6130 * posix/fexecve.c: Likewise.
6131 * posix/fork.c: Likewise.
6132 * posix/fpathconf.c: Likewise.
6133 * posix/getaddrinfo.c: Likewise.
6134 * posix/getegid.c: Likewise.
6135 * posix/geteuid.c: Likewise.
6136 * posix/getgid.c: Likewise.
6137 * posix/getgroups.c: Likewise.
6138 * posix/getlogin.c: Likewise.
6139 * posix/getlogin_r.c: Likewise.
6140 * posix/getpgid.c: Likewise.
6141 * posix/getpid.c: Likewise.
6142 * posix/getppid.c: Likewise.
6143 * posix/getresgid.c: Likewise.
6144 * posix/getresuid.c: Likewise.
6145 * posix/getsid.c: Likewise.
6146 * posix/getuid.c: Likewise.
6147 * posix/glob64.c: Likewise.
6148 * posix/nanosleep.c: Likewise.
6149 * posix/pathconf.c: Likewise.
6150 * posix/pause.c: Likewise.
6151 * posix/posix_madvise.c: Likewise.
6152 * posix/pread.c: Likewise.
6153 * posix/pread64.c: Likewise.
6154 * posix/pwrite.c: Likewise.
6155 * posix/pwrite64.c: Likewise.
6156 * posix/sched_getaffinity.c: Likewise.
6157 * posix/sched_getp.c: Likewise.
6158 * posix/sched_gets.c: Likewise.
6159 * posix/sched_primax.c: Likewise.
6160 * posix/sched_primin.c: Likewise.
6161 * posix/sched_rr_gi.c: Likewise.
6162 * posix/sched_setaffinity.c: Likewise.
6163 * posix/sched_setp.c: Likewise.
6164 * posix/sched_sets.c: Likewise.
6165 * posix/sched_yield.c: Likewise.
6166 * posix/setgid.c: Likewise.
6167 * posix/setlogin.c: Likewise.
6168 * posix/setpgid.c: Likewise.
6169 * posix/setresgid.c: Likewise.
6170 * posix/setresuid.c: Likewise.
6171 * posix/setsid.c: Likewise.
6172 * posix/setuid.c: Likewise.
6173 * posix/sleep.c: Likewise.
6174 * posix/spawni.c: Likewise.
6175 * posix/sysconf.c: Likewise.
6176 * posix/times.c: Likewise.
6177 * posix/wait.c: Likewise.
6178 * posix/wait3.c: Likewise.
6179 * posix/wait4.c: Likewise.
6180 * posix/waitpid.c: Likewise.
6181 * resolv/gai_sigqueue.c: Likewise.
6182 * resource/getpriority.c: Likewise.
6183 * resource/getrlimit.c: Likewise.
6184 * resource/getrusage.c: Likewise.
6185 * resource/nice.c: Likewise.
6186 * resource/setpriority.c: Likewise.
6187 * resource/setrlimit.c: Likewise.
6188 * resource/ulimit.c: Likewise.
6189 * rt/aio_cancel.c: Likewise.
6190 * rt/aio_fsync.c: Likewise.
6191 * rt/aio_read.c: Likewise.
6192 * rt/aio_sigqueue.c: Likewise.
6193 * rt/aio_suspend.c: Likewise.
6194 * rt/aio_write.c: Likewise.
6195 * rt/clock_getres.c: Likewise.
6196 * rt/clock_gettime.c: Likewise.
6197 * rt/clock_nanosleep.c: Likewise.
6198 * rt/clock_settime.c: Likewise.
6199 * rt/lio_listio.c: Likewise.
6200 * rt/mq_close.c: Likewise.
6201 * rt/mq_getattr.c: Likewise.
6202 * rt/mq_notify.c: Likewise.
6203 * rt/mq_open.c: Likewise.
6204 * rt/mq_receive.c: Likewise.
6205 * rt/mq_send.c: Likewise.
6206 * rt/mq_setattr.c: Likewise.
6207 * rt/mq_timedreceive.c: Likewise.
6208 * rt/mq_timedsend.c: Likewise.
6209 * rt/mq_unlink.c: Likewise.
6210 * rt/shm_open.c: Likewise.
6211 * rt/shm_unlink.c: Likewise.
6212 * rt/timer_create.c: Likewise.
6213 * rt/timer_delete.c: Likewise.
6214 * rt/timer_getoverr.c: Likewise.
6215 * rt/timer_gettime.c: Likewise.
6216 * rt/timer_settime.c: Likewise.
6217 * setjmp/__longjmp.c: Likewise.
6218 * setjmp/setjmp.c: Likewise.
6219 * signal/kill.c: Likewise.
6220 * signal/killpg.c: Likewise.
6221 * signal/raise.c: Likewise.
6222 * signal/sigaction.c: Likewise.
6223 * signal/sigaltstack.c: Likewise.
6224 * signal/sigblock.c: Likewise.
6225 * signal/sigignore.c: Likewise.
6226 * signal/sigintr.c: Likewise.
6227 * signal/signal.c: Likewise.
6228 * signal/sigpause.c: Likewise.
6229 * signal/sigpending.c: Likewise.
6230 * signal/sigqueue.c: Likewise.
6231 * signal/sigreturn.c: Likewise.
6232 * signal/sigset.c: Likewise.
6233 * signal/sigsetmask.c: Likewise.
6234 * signal/sigstack.c: Likewise.
6235 * signal/sigsuspend.c: Likewise.
6236 * signal/sigtimedwait.c: Likewise.
6237 * signal/sigvec.c: Likewise.
6238 * signal/sigwait.c: Likewise.
6239 * signal/sigwaitinfo.c: Likewise.
6240 * signal/sysv_signal.c: Likewise.
6241 * socket/accept.c: Likewise.
6242 * socket/accept4.c: Likewise.
6243 * socket/bind.c: Likewise.
6244 * socket/connect.c: Likewise.
6245 * socket/getpeername.c: Likewise.
6246 * socket/getsockname.c: Likewise.
6247 * socket/getsockopt.c: Likewise.
6248 * socket/isfdtype.c: Likewise.
6249 * socket/listen.c: Likewise.
6250 * socket/recv.c: Likewise.
6251 * socket/recvfrom.c: Likewise.
6252 * socket/recvmsg.c: Likewise.
6253 * socket/send.c: Likewise.
6254 * socket/sendmsg.c: Likewise.
6255 * socket/sendto.c: Likewise.
6256 * socket/setsockopt.c: Likewise.
6257 * socket/shutdown.c: Likewise.
6258 * socket/sockatmark.c: Likewise.
6259 * socket/socket.c: Likewise.
6260 * socket/socketpair.c: Likewise.
6261 * stdio-common/ctermid.c: Likewise.
6262 * stdio-common/cuserid.c: Likewise.
6263 * stdio-common/remove.c: Likewise.
6264 * stdio-common/rename.c: Likewise.
6265 * stdio-common/renameat.c: Likewise.
6266 * stdio-common/tempname.c: Likewise.
6267 * stdlib/getcontext.c: Likewise.
6268 * stdlib/makecontext.c: Likewise.
6269 * stdlib/setcontext.c: Likewise.
6270 * stdlib/swapcontext.c: Likewise.
6271 * stdlib/system.c: Likewise.
6272 * streams/fattach.c: Likewise.
6273 * streams/fdetach.c: Likewise.
6274 * streams/getmsg.c: Likewise.
6275 * streams/getpmsg.c: Likewise.
6276 * streams/putmsg.c: Likewise.
6277 * streams/putpmsg.c: Likewise.
6278 * sysdeps/unix/bsd/getpt.c: Likewise.
6279 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6280 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6281 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6283 Likewise.
6284 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6285 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6286 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6287 * sysvipc/msgctl.c: Likewise.
6288 * sysvipc/msgget.c: Likewise.
6289 * sysvipc/msgrcv.c: Likewise.
6290 * sysvipc/msgsnd.c: Likewise.
6291 * sysvipc/semctl.c: Likewise.
6292 * sysvipc/semget.c: Likewise.
6293 * sysvipc/semop.c: Likewise.
6294 * sysvipc/semtimedop.c: Likewise.
6295 * sysvipc/shmat.c: Likewise.
6296 * sysvipc/shmctl.c: Likewise.
6297 * sysvipc/shmdt.c: Likewise.
6298 * sysvipc/shmget.c: Likewise.
6299 * termios/tcdrain.c: Likewise.
6300 * termios/tcflow.c: Likewise.
6301 * termios/tcflush.c: Likewise.
6302 * termios/tcgetattr.c: Likewise.
6303 * termios/tcgetpgrp.c: Likewise.
6304 * termios/tcsendbrk.c: Likewise.
6305 * termios/tcsetattr.c: Likewise.
6306 * termios/tcsetpgrp.c: Likewise.
6307 * time/adjtime.c: Likewise.
6308 * time/clock.c: Likewise.
6309 * time/getitimer.c: Likewise.
6310 * time/gettimeofday.c: Likewise.
6311 * time/setitimer.c: Likewise.
6312 * time/settimeofday.c: Likewise.
6313 * time/stime.c: Likewise.
6314 * time/time.c: Likewise.
6315
63162012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 6317
a20492cf
PT
6318 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6319 /usr/old/bin.
6320
72e182e3
PT
6321 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6322 instead of spaces.
6323 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6324
fbeafede
JM
63252012-11-03 Joseph Myers <joseph@codesourcery.com>
6326
5b5b04d6
JM
6327 [BZ #14796]
6328 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6329 FE_TONEAREST before applying Dekker multiplication and Knuth
6330 addition. Clear inexact exceptions and check for exact zero
6331 results afterwards.
6332 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6333 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6334 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6335 * math/libm-test.inc (fma_test): Add more tests.
6336 (fma_test_towardzero): Likewise.
6337 (fma_test_downward): Likewise.
6338 (fma_test_upward): Likewise.
6339 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6340 function.
6341 (libc_fesetround): New macro.
6342 (libc_fesetroundf): Likewise.
6343 (libc_fesetroundl): Likewise.
6344 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6345 function.
6346 (libc_fesetround_387): Likewise.
6347 (libc_fesetroundf): New macro.
6348 (libc_fesetround): Likewise.
6349 (libc_fesetroundl): Likewise.
6350 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6351 function.
6352 (libc_fesetroundf): New macro.
6353 (libc_fesetround): Likewise.
6354 (libc_fesetroundl): Likewise.
6355 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6356 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6357 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6358 libm_hidden_ver.
6359 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6360 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6361 libm_hidden_def.
6362 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6363 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6364 libm_hidden_ver.
6365 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6366 libm_hidden_def.
6367
fbeafede
JM
6368 [BZ #3439]
6369 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6370 integer constant usable in #if and use that to give value to enum
6371 constant.
6372 (FE_DIVBYZERO): Likewise.
6373 (FE_UNDERFLOW): Likewise.
6374 (FE_OVERFLOW): Likewise.
6375 (FE_INVALID): Likewise.
6376 (FE_INVALID_SNAN): Likewise.
6377 (FE_INVALID_ISI): Likewise.
6378 (FE_INVALID_IDI): Likewise.
6379 (FE_INVALID_ZDZ): Likewise.
6380 (FE_INVALID_IMZ): Likewise.
6381 (FE_INVALID_COMPARE): Likewise.
6382 (FE_INVALID_SOFTWARE): Likewise.
6383 (FE_INVALID_SQRT): Likewise.
6384 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6385 (FE_TONEAREST): Likewise.
6386 (FE_TOWARDZERO): Likewise.
6387 (FE_UPWARD): Likewise.
6388 (FE_DOWNWARD): Likewise.
6389 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6390 (FE_DIVBYZERO): Likewise.
6391 (FE_OVERFLOW): Likewise.
6392 (FE_UNDERFLOW): Likewise.
6393 (FE_INEXACT): Likewise.
6394 (FE_TONEAREST): Likewise.
6395 (FE_DOWNWARD): Likewise.
6396 (FE_UPWARD): Likewise.
6397 (FE_TOWARDZERO): Likewise.
6398 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6399 (FE_UNDERFLOW): Likewise.
6400 (FE_OVERFLOW): Likewise.
6401 (FE_DIVBYZERO): Likewise.
6402 (FE_INVALID): Likewise.
6403 (FE_TONEAREST): Likewise.
6404 (FE_TOWARDZERO): Likewise.
6405 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6406 (FE_OVERFLOW): Likewise.
6407 (FE_UNDERFLOW): Likewise.
6408 (FE_DIVBYZERO): Likewise.
6409 (FE_INEXACT): Likewise.
6410 (FE_TONEAREST): Likewise.
6411 (FE_TOWARDZERO): Likewise.
6412 (FE_UPWARD): Likewise.
6413 (FE_DOWNWARD): Likewise.
6414 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6415 (FE_DIVBYZERO): Likewise.
6416 (FE_OVERFLOW): Likewise.
6417 (FE_UNDERFLOW): Likewise.
6418 (FE_INEXACT): Likewise.
6419 (FE_TONEAREST): Likewise.
6420 (FE_DOWNWARD): Likewise.
6421 (FE_UPWARD): Likewise.
6422 (FE_TOWARDZERO): Likewise.
6423
105ca950
CM
64242012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6425
6426 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6427
a542b389
AS
64282012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6429
6430 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6431 commands. Quote $PWD.
6432 (blacklist_exports): Don't use remove_newlines. Replace "declare
6433 -x" by "export".
6434 (remove_newlines): Remove.
6435
f62c8abc
L
64362012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6437
6438 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6439 * stdlib/stdlib.h (atof): Moved to ...
6440 * include/bits/stdlib-float.h: Here. New file.
6441 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6442 * stdlib/bits/stdlib-float.h: New file.
6443 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6444 -mno-sse -mno-mmx.
6445 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6446 <xmmintrin.h>.
6447
0155d5b2
JM
64482012-11-02 Joseph Myers <joseph@codesourcery.com>
6449
a68d0680
JM
6450 * conform/conformtest.pl (@headers): Add fenv.h.
6451 * conform/data/fenv.h-data: New file.
6452 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6453 include of <math/fenv.h>.
6454
caf7f573
JM
6455 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6456 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6457 && !UNIX98]. Enables tests for XOPEN2K8.
6458 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6459 POSIX2008]: Likewise.
6460
6c073ad6
JM
6461 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6462 (struct rusage): Do not expect type or its members.
6463
0155d5b2
JM
6464 [BZ #3439]
6465 * math/math.h (FP_NAN): Define macro to integer constant usable in
6466 #if and use that to give value to enum constant.
6467 (FP_INFINITE): Likewise.
6468 (FP_ZERO): Likewise.
6469 (FP_SUBNORMAL): Likewise.
6470 (FP_NORMAL): Likewise.
6471
b5dcacb4
AS
64722012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6473
6474 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6475 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6476 arguments.
6477
f7934be8
RM
64782012-11-02 Roland McGrath <roland@hack.frob.com>
6479
6480 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6481 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6482 autoconf-time if not.
6483 * configure.in: Remove AC_PREREQ.
6484
d7d08bde
TMQMF
64852012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6486
6487 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6488 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6489 of the internal implementation.
6490
dcdae19a
JM
64912012-11-02 Joseph Myers <joseph@codesourcery.com>
6492
6493 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6494 except include of <misc/sys/syslog.h>.
6495
d6cffd3e
AS
64962012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6497
6498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6499 function returns with a NULL context exit with zero.
6500
b3563932
TMQMF
65012012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6502
6503 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6504
b288a93d
L
65052012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6506
6507 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6508 (run_program_cmd): This.
6509 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6510 (tst_langinfo): New variable. Use it.
6511
a2421a68
SAS
65122012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6513
6514 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6515 floating point opcodes.
6516
6f796e1b
TS
65172012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6518
7402596b
TS
6519 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6520 variable.
6521
d0d4f868
TS
6522 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6523
6f796e1b
TS
6524 * sysdeps/mach/hurd/powerpc: Remove directory.
6525 * sysdeps/mach/powerpc: Likewise.
6526
4da224a2
AS
65272012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6528
6529 * scripts/check-local-headers.sh: Ignore c++ headers.
6530
341dd673
TS
65312012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6532
6533 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6534 __libc_cleanup_region_start argument.
6535
473611b2
JM
65362012-11-01 Joseph Myers <joseph@codesourcery.com>
6537
6538 [BZ #14784]
6539 [BZ #14785]
6540 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6541 x * y using scaling, not as x * y + z.
6542 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6543 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6544 * math/libm-test.inc (fma_test): Add more tests.
6545 (fma_test_towardzero): Likewise.
6546 (fma_test_downward): Likewise.
6547 (fma_test_upward): Likewise.
6548
4078da3d
TS
65492012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6550
6551 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6552
903252aa
JM
65532012-10-31 Joseph Myers <joseph@codesourcery.com>
6554
6555 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6556 New variable.
6557
cbc818d0
TS
65582012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6559
6560 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6561
5a03cb1e
AS
65622012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6563
6564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6565 Fix sort order.
6566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6567 Likewise.
6568
90aff2ff
TMQMF
65692012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6570
6571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6572 Fix the order of the list for glibc 2.17.
6573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6574 Likewise.
6575
1818fcb7
AS
65762012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6577
6578 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6579
ef82f4da
JM
65802012-10-31 Joseph Myers <joseph@codesourcery.com>
6581
16a0e2ec
JM
6582 [BZ #14610]
6583 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6584 for low part of x being zero before using __atanl (y).
6585 * math/libm-test.inc (atan2_test): Add another test.
6586
0eb69512
JM
6587 * manual/install.texi (Configuring and compiling): Document
6588 general use of test-wrapper and test-wrapper-env.
6589 * INSTALL: Regenerated.
6590
ef82f4da
JM
6591 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6592 (__fma): Do not extract and scale down low bits on after-rounding
6593 systems when result rounded to normal precision would have normal
6594 exponent.
6595 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6596 (__fmal): Do not extract and scale down low bits on after-rounding
6597 systems when result rounded to normal precision would have normal
6598 exponent.
6599 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6600 (__fmal): Do not extract and scale down low bits on after-rounding
6601 systems when result rounded to normal precision would have normal
6602 exponent.
6603 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6604 macro.
6605 (fma_test): Add more tests.
6606 (fma_test_towardzero): Likewise.
6607 (fma_test_downward): Likewise.
6608 (fma_test_upward): Likewise.
6609
954ef0d9
L
66102012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6611
6612 * sysdeps/i386/tininess.h: Renamed to ...
6613 * sysdeps/x86/tininess.h: This.
6614 * sysdeps/x86_64/tininess.h: Removed.
6615
df61ffb2
JM
66162012-10-30 Joseph Myers <joseph@codesourcery.com>
6617
6618 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6619 input. Use $(build-program-cmd).
6620 ($(objpfx)tst-array1-static.out): Likewise.
6621 ($(objpfx)tst-array2.out): Likewise.
6622 ($(objpfx)tst-array3.out): Likewise.
6623 ($(objpfx)tst-array4.out): Likewise.
6624 ($(objpfx)tst-array5.out): Likewise.
6625 ($(objpfx)tst-array5-static.out): Likewise.
6626
01767843
CM
66272012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6628
47cc1490
CM
6629 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6630 if defined.
6631
01767843
CM
6632 * nss/nsswitch.h (nss_interface_function): Provide new
6633 macro for use with NSS functions.
6634 * grp/initgroups.c: Use new macro.
6635 * nss/getXXbyYY.c: Likewise.
6636 * nss/getXXbyYY_r.c: Likewise.
6637 * nss/getXXent.c: Likewise.
6638 * nss/getXXent_r.c: Likewise.
6639 * sysdeps/posix/getaddrinfo.c: Likewise.
6640
8321aa97
AJ
66412012-10-30 Andreas Jaeger <aj@suse.de>
6642
6643 * po/ru.po: Update Russion translation from translation project.
6644
2a27fd6d
JM
66452012-10-30 Joseph Myers <joseph@codesourcery.com>
6646
8627a232
JM
6647 [BZ #14152]
6648 [BZ #14783]
6649 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6650 result and shift together with sticky bit instead of replicating
6651 round-to-nearest rounding.
6652 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6653 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6654 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6655 missing underflow exceptions.
6656 (fma_test_towardzero): Add more tests.
6657 (fma_test_downward): Likewise.
6658 (fma_test_upward): Likewise.
6659
2a27fd6d
JM
6660 [BZ #14047]
6661 * sysdeps/generic/tininess.h: New file.
6662 * sysdeps/i386/tininess.h: Likewise.
6663 * sysdeps/sh/tininess.h: Likewise.
6664 * sysdeps/x86_64/tininess.h: Likewise.
6665 * stdlib/tst-strtod-underflow.c: Likewise.
6666 * stdlib/tst-tininess.c: Likewise.
6667 * stdlib/strtod_l.c: Include <tininess.h>.
6668 (round_and_return): Do not set errno for exact underflow cases.
6669 Force an underflow exception when setting errno for underflow.
6670 Determine underflow based on rounding to normal precision if
6671 TININESS_AFTER_ROUNDING.
6672 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6673 ERANGE for exact underflow cases.
6674 * stdlib/Makefile (tests): Add tst-tininess and
6675 tst-strtod-underflow.
6676 ($(objpfx)tst-tininess): Use $(link-libm).
6677 ($(objpfx)tst-strtod-underflow): Likewise.
6678
e7170363
AJ
66792012-10-30 Andreas Jaeger <aj@suse.de>
6680
e5088dc6
AJ
6681 [BZ#14767]
6682 * elf/Makefile (tests): Remove conditional for have-initfini-array
6683 since this is now always required and the variable does not exist
6684 anymore.
6685 (tests-static): Likewise.
6686 (modules-names): Likewise.
6687
e7170363 6688 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
6689
6690 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6691 merged with constructor/destructor.
6692 (init_array): Likewise.
6693 * elf/tst-array2dep.c (fini_array): Likewise.
6694 (init_array): Likewise.
6695
60457d8a
MF
66962012-10-29 Mike Frysinger <vapier@gentoo.org>
6697
6698 * manual/message.texi: Delete @cartouche tags.
6699
8bece752
PT
67002012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6701
94ce799f
PT
6702 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6703 EOPNOTSUPP.
6704 * sysdeps/mach/hurd/fsync.c: Likewise.
6705
8bece752
PT
6706 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6707 [_POSIX_REALTIME_SIGNALS]: Change condition to
6708 [_POSIX_REALTIME_SIGNALS > 0].
6709
86ebe6b1
AJ
67102012-10-27 Andreas Jaeger <aj@suse.de>
6711
6712 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6713 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6714 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6715 [__WORDSIZE != 64]: Likewise.
6716
54399c08
L
67172012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6718
6719 * iconvdata/tst-table.sh: Remove ${SHELL}.
6720 * iconvdata/tst-tables.sh: Likewise.
6721
e2211bed
DM
67222012-10-25 David S. Miller <davem@davemloft.net>
6723
6724 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6725 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6726 of strtoull.
6727
f303f97c
DM
6728 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6729 ifunc-impl-list.c
6730 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6731 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6732 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6733 file.
6734
1e9d84cd
RM
67352012-10-25 Roland McGrath <roland@hack.frob.com>
6736
6737 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6738 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6739 __getdirentries.
6740
df381762
JM
67412012-10-25 Joseph Myers <joseph@codesourcery.com>
6742 Jim Blandy <jimb@codesourcery.com>
6743
6744 * scripts/cross-test-ssh.sh: New file.
6745 * manual/install.texi (Configuring and compiling): Document use of
6746 cross-test-ssh.sh.
6747 * INSTALL: Regenerated.
6748
bff64913
PT
67492012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6750
6751 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6752 EOPNOTSUPP.
6753
25fe8932
JM
67542012-10-25 Joseph Myers <joseph@codesourcery.com>
6755
6756 * Makeconfig (run-program-prefix): Fix comment.
6757
cc1290d0
JM
67582012-10-24 Joseph Myers <joseph@codesourcery.com>
6759 Jim Blandy <jimb@codesourcery.com>
6760
6761 * Makeconfig (test-wrapper): New variable,
6762 (test-wrapper-env): Likewise.
6763 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6764 (run-built-tests): Define to yes.
6765 (run-program-prefix): Use $(test-wrapper).
6766 (built-program-cmd): Likewise.
6767 * Rules (make-test-out): Use $(test-wrapper-env) and
6768 $(host-built-program-cmd).
6769 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6770 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6771 tst-pathopt.sh.
6772 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6773 $(test-wrapper-env) to tst-rtld-load-self.sh.
6774 ($(objpfx)order2.out): Use $(test-wrapper).
6775 ($(objpfx)tst-initorder.out): Likewise.
6776 ($(objpfx)tst-initorder2.out): Likewise.
6777 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6778 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6779 (test_wrapper_env): New variable. Use it to run ld.so.
6780 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6781 Use it to run ld.so.
6782 (test_wrapper_env): Likewise.
6783 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6784 $(test-wrapper) to run-iconv-test.sh.
6785 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6786 (ICONV): Use $test_wrapper.
6787 * posix/Makefile ($(objpfx)globtest.out): Pass
6788 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6789 globtest.sh, not $(run-program-prefix).
6790 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6791 (test_wrapper): Likewise.
6792 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6793 set together with run_via_rtld_prefix.
6794 (run_program_prefix): Define in terms of test_wrapper and
6795 run_via_rtld_prefix.
6796
6e6249d0
RM
67972012-10-24 Roland McGrath <roland@hack.frob.com>
6798
6799 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6800 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6801 Targets removed.
6802
6803 [BZ #14743]
6804 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6805 Declare __clock_getres, __clock_gettime, __clock_settime,
6806 __clock_nanosleep, and __clock_getcpuclockid.
6807 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6808 Remove librt_hidden_def (clock_gettime).
6809 * sysdeps/unix/clock_gettime.c: Likewise.
6810 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6811 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6812 * rt/clock_getres.c: Define __clock_getres as an alias.
6813 * sysdeps/posix/clock_getres.c: Likewise.
6814 * rt/clock_settime.c: Define __clock_settime as an alias.
6815 * sysdeps/unix/clock_settime.c: Likewise.
6816 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6817 * sysdeps/unix/clock_nanosleep.c: Likewise.
6818 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6819 * rt/clock-compat.c: New file.
6820 * rt/Makefile (librt-routines): Add clock-compat and move
6821 $(clock-routines) to ...
6822 (routines): ... here, new variable.
6823 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6824 Don't add get_clockfreq here.
6825 * rt/Versions (libc: GLIBC_2.17): New version set.
6826 Add clock_* symbols here.
6827 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6828 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6829 (GLIBC_2.17): Add clock_* symbols.
6830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6832 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6834 Likewise.
6835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6836 Likewise.
6837 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6838 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6839 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6840 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6841 * NEWS: Mention the move.
6842
6843 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6844 Use __open, __read, __close rather than their public counterparts.
6845 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6846 (__get_clockfreq_via_cpuinfo): Likewise.
6847 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6848 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6849
6850 * config.h.in (HAVE_IFUNC): New #undef.
6851 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6852 was successful.
6853 * configure: Regenerated.
6854
0cae3f4b
MF
68552012-10-24 Mike Frysinger <vapier@gentoo.org>
6856
6857 * configure.in: Move READELF check to start of file.
6858 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6859 libc_cv_asm_gnu_indirect_function in the process.
6860 * configure: Regenerated.
6861
8175a253
MF
68622012-10-24 Mike Frysinger <vapier@gentoo.org>
6863
6864 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6865 send the output to /dev/null.
6866 (libc_cv_cc_with_libunwind): Likewise.
6867 (libc_cv_as_noexecstack): Likewise.
6868 * configure: Regenerate.
6869
0708a7d1
JM
68702012-10-24 Joseph Myers <joseph@codesourcery.com>
6871
10b40d85
JM
6872 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6873
0708a7d1
JM
6874 * posix/globtest.sh (TMPDIR): Do not set.
6875 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6876 (testout): Likewise.
6877
9fddec1a
AJ
68782012-10-24 Andreas Jaeger <aj@suse.de>
6879
3a8db22f
AJ
6880 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6881 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6882 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6883 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6884 posix_fadvise64, posix_fallocate64.
6885
9fddec1a
AJ
6886 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6887 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6888 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6889 Likewise.
6890 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6891 Likewise.
6892 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6893
6894 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6895 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6896 <bits/fcntl-linux.h>.
6897 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6898
6899 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6900 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6901 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6902 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6903 [__WORDSIZE != 64]: Likewise.
6904
ebfd1bbd
JM
69052012-10-23 Joseph Myers <joseph@codesourcery.com>
6906
03ac099f
JM
6907 * Makeconfig (run-built-tests): New variable.
6908 * Rules [$(cross-compiling) = yes]: Change condition to
6909 [$(run-built-tests) = no].
6910 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6911 to [$(run-built-tests) = yes].
6912 * elf/Makefile [$(cross-compiling) = no]: Likewise
6913 * grp/Makefile [$(cross-compiling) = no]: Likewise.
6914 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6915 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6916 * intl/Makefile [$(cross-compiling) = no]: Likewise.
6917 * io/Makefile [$(cross-compiling) = no]: Likewise.
6918 * libio/Makefile [$(cross-compiling) = no]: Likewise.
6919 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6920 * misc/Makefile [$(cross-compiling) = no]: Likewise.
6921 * posix/Makefile [$(cross-compiling) = no]: Likewise.
6922 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6923 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6924 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6925 * string/Makefile [$(cross-compiling) = no]: Likewise.
6926
ebfd1bbd
JM
6927 * posix/Makefile ($(objpfx)globtest.out): Pass
6928 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6929 $(rtld-installed-name).
6930 * posix/globtest.sh (elf_objpfx): Remove variable.
6931 (rtld_installed_name): Likewise.
6932 (library_path): Likewise.
6933 (run_program_prefix): New variable. Use for running globtest
6934 binary.
6935
166bca24
JB
69362012-10-23 Jim Blandy <jimb@codesourcery.com>
6937 Joseph Myers <joseph@codesourcery.com>
6938
6939 * Makeconfig (host-built-program-cmd): New variable.
6940 * elf/Makefile (tst-stackguard1-ARGS): Use
6941 $(host-built-program-cmd).
6942 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6943 (tst-spawn-ARGS): Likewise.
6944 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6945
88866099
JM
69462012-10-23 Joseph Myers <joseph@codesourcery.com>
6947 Jim Blandy <jimb@codesourcery.com>
6948
6949 * Makeconfig (run-via-rtld-prefix): New variable.
6950 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6951 (built-program-cmd): Likewise.
6952
b4b4c296
AJ
69532012-10-22 Andreas Jaeger <aj@suse.de>
6954
6955 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6956 __O_RSYNC if it exists, otherwise to O_SYNC.
6957
6fb54a22
JB
69582012-10-22 Jim Blandy <jimb@codesourcery.com>
6959 Joseph Myers <joseph@codesourcery.com>
6960
6961 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6962 /dev/null.
6963 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6964 from /dev/null
6965 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6966 /dev/null.
6967
481b90b9
AJ
69682012-10-22 Andreas Jaeger <aj@suse.de>
6969
2a0e2669
AJ
6970 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6971 Define always.
6972 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6973
76e38f9a
AJ
6974 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6975 bits/fcntl-linux.h.
6976
7cd37b43
AJ
6977 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6978 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6979
481b90b9
AJ
6980 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6981 to __O_LARGEFILE.
6982 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6983 to __O_LARGEFILE.
6984
aba75984
JB
69852012-10-21 Jim Blandy <jimb@codesourcery.com>
6986 Joseph Myers <joseph@codesourcery.com>
6987
6988 * config.make.in (NM): New variable.
6989
88d4247f
AJ
69902012-10-21 Andreas Jaeger <aj@suse.de>
6991
6992 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6993 definitions and declarations that are provided by
6994 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6995
f2eed205
L
69962012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6997
6998 [BZ #14683]
6999 * elf/Makefile (tests-static): Add tst-leaks1-static.
7000 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7001 ($(objpfx)tst-leaks1-static): New rule.
7002 ($(objpfx)tst-leaks1-static-mem): Likewise.
7003 (tst-leaks1-static-ENV): New macro.
7004 * elf/dl-open.c (dl_open_worker): Check the main application
7005 only if SHARED is defined.
7006 * elf/tst-leaks1-static.c: New file.
7007
335e6931
AJ
70082012-10-20 Andreas Jaeger <aj@suse.de>
7009
7010 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7011 generic values for Linux.
7012 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7013 and declarations that are provided by <bits/fcntl-linux.h> and
7014 include <bits/fcntl-linux.h>.
7015 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7016 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7017
ac5c94d3
RM
70182012-10-20 Roland McGrath <roland@hack.frob.com>
7019
7020 * io/fcntl.h: Move include of <bits/types.h> to the top and
7021 include it unconditionally.
7022
de54b33a
L
70232012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7024
228cfb01
L
7025 * wcsmbs/Makefile (tests-ifunc): New variable.
7026 (tests): Add $(tests-ifunc).
7027 * wcsmbs/test-wcschr-ifunc.c: New file.
7028 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7029 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7030 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7031 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7032 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7033
69f07e5f
L
7034 * string/Makefile (tests-ifunc): New variable.
7035 (tests): Add $(tests-ifunc).
7036 * string/test-memccpy.c (TEST_NAME): New macro.
7037 * string/test-memchr.c (TEST_NAME): Likewise.
7038 * string/test-memcmp.c (TEST_NAME): Likewise.
7039 * string/test-memcpy.c (TEST_NAME): Likewise.
7040 * string/test-memmem.c (TEST_NAME): Likewise.
7041 * string/test-memmove.c (TEST_NAME): Likewise.
7042 * string/test-memset.c (TEST_NAME): Likewise.
7043 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7044 * string/test-stpcpy.c (TEST_NAME): Likewise.
7045 * string/test-stpncpy.c (TEST_NAME): Likewise.
7046 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7047 * string/test-strcasestr.c (TEST_NAME): Likewise.
7048 * string/test-strcat.c (TEST_NAME): Likewise.
7049 * string/test-strchr.c (TEST_NAME): Likewise.
7050 * string/test-strcmp.c(TEST_NAME): Likewise.
7051 * string/test-strcpy.c (TEST_NAME): Likewise.
7052 * string/test-strcspn.c (TEST_NAME): Likewise.
7053 * string/test-strlen.c (TEST_NAME): Likewise.
7054 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7055 * string/test-strncmp.c (TEST_NAME): Likewise.
7056 * string/test-strncpy.c (TEST_NAME): Likewise.
7057 * string/test-strnlen.c (TEST_NAME): Likewise.
7058 * string/test-strpbrk.c (TEST_NAME): Likewise.
7059 * string/test-strrchr.c (TEST_NAME): Likewise.
7060 * string/test-strspn.c (TEST_NAME): Likewise.
7061 * string/test-strstr.c (TEST_NAME): Likewise.
7062 * string/test-bcopy-ifunc.c: New file.
7063 * string/test-bzero-ifunc.c: Likewise.
7064 * string/test-memccpy-ifunc.c: Likewise.
7065 * string/test-memchr-ifunc.c: Likewise.
7066 * string/test-memcmp-ifunc.c: Likewise.
7067 * string/test-memcpy-ifunc.c: Likewise.
7068 * string/test-memmem-ifunc.c: Likewise.
7069 * string/test-memmove-ifunc.c: Likewise.
7070 * string/test-mempcpy-ifunc.c: Likewise.
7071 * string/test-memset-ifunc.c: Likewise.
7072 * string/test-rawmemchr-ifunc.c: Likewise.
7073 * string/test-stpcpy-ifunc.c: Likewise.
7074 * string/test-stpncpy-ifunc.c: Likewise.
7075 * string/test-strcasecmp-ifunc.c: Likewise.
7076 * string/test-strcasestr-ifunc.c: Likewise.
7077 * string/test-strcat-ifunc.c: Likewise.
7078 * string/test-strchr-ifunc.c: Likewise.
7079 * string/test-strchrnul-ifunc.c: Likewise.
7080 * string/test-strcmp-ifunc.c: Likewise.
7081 * string/test-strcpy-ifunc.c: Likewise.
7082 * string/test-strcspn-ifunc.c: Likewise.
7083 * string/test-strlen-ifunc.c: Likewise.
7084 * string/test-strncasecmp-ifunc.c: Likewise.
7085 * string/test-strncat-ifunc.c: Likewise.
7086 * string/test-strncmp-ifunc.c: Likewise.
7087 * string/test-strncpy-ifunc.c: Likewise.
7088 * string/test-strnlen-ifunc.c: Likewise.
7089 * string/test-strpbrk-ifunc.c: Likewise.
7090 * string/test-strrchr-ifunc.c: Likewise.
7091 * string/test-strspn-ifunc.c: Likewise.
7092 * string/test-strstr-ifunc.c: Likewise.
7093
de54b33a
L
7094 * debug/Makefile (tests-ifunc): New variable.
7095 (tests): Add $(tests-ifunc).
7096 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7097 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7098 * debug/test-stpcpy_chk-ifunc.c: New file.
7099 * debug/test-strcpy_chk-ifunc.c: Likewise.
7100
88481c16
SP
71012012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7102
7103 [BZ #13601]
7104 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7105 header is not read in.
7106
135948bd
JM
71072012-10-19 Joseph Myers <joseph@codesourcery.com>
7108
89f1c388
JM
7109 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7110 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7111 directly. Pass built executable to script as
7112 $(built-program-cmd).
7113 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7114 $testprogram without using LD_LIBRARY_PATH and $ldso.
7115
e40a0d21
JM
7116 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7117 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7118 $(rtld-installed-name).
7119 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7120 (rtld_installed_name): Likewise.
7121 (library_path): Likewise.
7122 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7123 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7124 $(run-program-prefix) to tst-tables.sh.
7125 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7126 it to run tst-table-from and tst-table-to.
7127 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7128 Pass it to tst-table.sh.
7129 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7130 $(run-program-prefix) to tst-gettext.sh.
7131 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7132 tst-translit.sh.
7133 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7134 tst-gettext2.sh.
7135 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7136 to run tst-gettext.
7137 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7138 to run tst-gettext2.
7139 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7140 to run tst-translit.
7141 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7142 $(run-program-prefix) to tst-mtrace.sh.
7143 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7144 to run tst-mtrace.
7145 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7146 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7147 $(rtld-installed-name).
7148 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7149 (rtld_installed_name): Likewise.
7150 (run_program_prefix): New variable. Use it to run wordexp-test.
7151
728e272a
JM
7152 * Makeconfig (ARCH): Remove all definitions.
7153 (machine): Likewise.
7154 [ARCH]: Remove conditional code.
7155 [!objdir]: Give error.
7156 [!objdir] (objpfx): Remove.
7157 [!objdir] (common-objpfx): Likewise.
7158 [!objdir] (common-objdir): Likewise.
7159 * configure.in (config_makefile): Remove. Hardcode Makefile in
7160 AC_CONFIG_FILES call.
7161 * configure: Regenerated.
7162
d528cdcf
JM
7163 [BZ #13888]
7164 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7165 or TMPDIR.
7166 (testout): Likewise.
7167
135948bd
JM
7168 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7169 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7170 $(rtld-installed-name).
7171 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7172 (rtld_installed_name): Likwise.
7173 (runit): Remove function.
7174 (run_getconf): New variable, Use it for running getconf binary.
7175
38c78296
L
71762012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7177
7178 [BZ #14716]
7179 * string/test-memmem.c (check_result): New function.
7180 (do_one_test): Use it.
7181 (check1): New function.
7182 (test_main): Use it.
7183
d077f65f
MT
71842012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7185
7186 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7187
ced52c71
JM
71882012-10-18 Joseph Myers <joseph@codesourcery.com>
7189
7190 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7191 (_G_LSEEK64): Likewise.
7192 (_G_MMAP64): Likewise.
7193 (_G_FSTAT64): Likewise.
7194 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7195 (_G_LSEEK64): Likewise.
7196 (_G_MMAP64): Likewise.
7197 (_G_FSTAT64): Likewise.
7198 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7199 unconditional. Call __mmap64 directly.
7200 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7201 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7202 __lseek64 directly.
7203 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7204 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7205 __mmap64 directly.
7206 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7207 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7208 __lseek64 directly.
7209 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7210 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7211 __lseek64 directly.
7212 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7213 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7214 __lseek64 directly.
7215 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7216 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7217 __fxstat64 directly.
7218 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7219 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7220 unconditional.
7221 (freopen64) [!_G_OPEN64]: Remove conditional code.
7222 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7223 unconditional.
7224 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7225 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7226 unconditional.
7227 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7228 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7229 unconditional.
7230 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7231 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7232 unconditional.
7233 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7234 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7235 unconditional.
7236 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7237 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7238 unconditional.
7239 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7240 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7241 unconditional.
7242 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7243
b741de23
SP
72442012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7245
7246 [BZ #12140]
7247 * manual/memory.texi (Malloc Tunable Parameters): Add note
7248 about free list pointers overwriting some perturb bytes.
7249 Wording suggested by Roland McGrath.
7250
f9b9d9c9
JM
72512012-10-17 Joseph Myers <joseph@codesourcery.com>
7252
7253 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7254 (lgamma_test): Likewise.
7255 (tgamma_test): Likewise.
7256
172a631a
FW
72572012-10-16 Florian Weimer <fweimer@redhat.com>
7258
7259 [BZ #14700]
7260 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7261 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7262
e9f37252
MK
72632012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7264
7265 * NEWS: Mention BZ #14716.
7266 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7267 when removing AVAILABLE1_USES_J macro.
7268
d394eb74
L
72692012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7270
7271 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7272 (__bswap_64): __uint64_t for unsigned 64-bit int.
7273
ca38dc17
AS
72742012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7275
7276 * include/string.h (memmem): Declare libc hidden alias.
7277 * string/memmem.c (memmem): Define libc hidden alias.
7278 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7279 __read, __close instead of open, read, close.
7280
9a387d1f
L
72812012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7282
ac49ecaf
L
7283 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7284 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7285 global and hidden.
7286 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7287 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7288 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7289 Likewise.
7290 (__rawmemchr_sse2): Likewise.
7291 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7292 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7293 (__strchr_sse2): Likewise.
7294 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7295 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7296 (__strcasecmp_sse2): Likewise.
7297 (__strncasecmp_sse2): Likewise.
7298 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7299 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7300 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7301 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7302 (__strrchr_sse2): Likewise.
7303 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7304 ifunc-impl-list.c.
7305 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7306 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7307 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7308 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7309 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7310 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7311 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7312 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7313 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7314 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7315 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7316 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7317 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7318 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7319 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7320 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7321 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7322 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7323 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7324 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7325 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7326 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7327 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7328 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7329 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7330 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7331 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7332 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7333 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7334 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7335
b090e8ea
L
7336 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7337 global and hidden.
7338 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7339 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7340 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7341 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7342 Likewise.
7343 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7344 Likewise.
7345 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7346 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7347 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7348 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7349 ifunc-impl-list.c.
7350 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7351 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7352 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7353 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7354 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7355 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7356 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7357 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7358 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7359 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7360 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7361 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7362 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7363 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7364 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7365 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7366 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7367 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7368 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7369 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7370 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7371 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7372 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7373 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7374 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7375 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7376 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7377 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7378 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7379 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7380 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7381 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7382 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7383 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7384 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7385 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7386 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7387 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7388 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7389 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7390 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7391
11dd4af6
L
7392 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7393 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7394 * include/ifunc-impl-list.h: New file.
7395 * misc/ifunc-impl-list.c: Likewise.
7396 * misc/Makefile (routines): Add ifunc-impl-list.
7397 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7398 * string/test-string.h: Include <ifunc-impl-list.h>.
7399 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7400 impl_array): New variables.
7401 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7402 are defined.
7403 (test_init): Call __libc_ifunc_impl_list to initialize
7404 func_list if TEST_IFUNC and TEST_NAME are defined.
7405
9a387d1f
L
7406 * string/Makefile (strop-tests): Add bcopy and bzero.
7407 * string/test-bcopy.c: New file.
7408 * string/test-bzero.c: Likewise.
7409 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7410 defined.
7411 * string/test-memset.c: Support bzero test if TEST_BZERO is
7412 defined.
7413 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7414 __libc_memmove.
7415 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7416 __libc_memset.
7417 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7418 of memset.
7419
472371b9
JM
74202012-10-10 Joseph Myers <joseph@codesourcery.com>
7421
1e4a9536
JM
7422 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7423 * configure: Regenerated.
7424
d173d12e
JM
7425 * Makeconfig (+link-static-before-libc): Don't include
7426 $(link-static-libc).
7427
472371b9
JM
7428 * libio/libio.h (_IO_pos_t): Remove.
7429
89a3ad0b
AO
74302012-10-10 Alexandre Oliva <aoliva@redhat.com>
7431
7432 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7433 McGrath.
7434
e7451425
AO
74352012-10-10 Alexandre Oliva <aoliva@redhat.com>
7436
7437 * crypt/crypt-entry.c: Include fips-private.h.
7438 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7439 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7440 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7441 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7442
4ba74a35
AO
74432012-10-10 Alexandre Oliva <aoliva@redhat.com>
7444
7445 * crypt/crypt-private.h: Include stdbool.h.
7446 (_ufc_setup_salt_r): Return bool.
7447 * crypt/crypt-entry.c: Include errno.h.
7448 (__crypt_r): Return NULL with EINVAL for bad salt.
7449 * crypt/crypt_util.c (bad_for_salt): New.
7450 (_ufc_setup_salt_r): Check that salt is long enough and within
7451 the specified alphabet.
7452 * crypt/badsalttest.c: New file.
7453 * crypt/Makefile (tests): Add it.
7454 ($(objpfx)badsalttest): New.
7455
f96f1242
MK
74562012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7457
7458 * NEWS: Add entry for BZ #14602.
7459
0e8e0c1c
JM
74602012-10-09 Joseph Myers <joseph@codesourcery.com>
7461
7462 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7463 type-generic.
7464 * math/libm-test.inc: Update comment listing what functions and
7465 macros are tested.
7466 (isgreater_test): New function.
7467 (isgreaterequal_test): Likewise.
7468 (isless_test): Likewise.
7469 (islessequal_test): Likewise.
7470 (islessgreater_test): Likewise.
7471 (isunordered_test): Likewise.
7472 (main): Call the new functions.
7473
273edc5e
RM
74742012-10-09 Roland McGrath <roland@hack.frob.com>
7475
b8493de0
RM
7476 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7477 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7478 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7479 * sysdeps/i386/configure: Regenerated.
7480 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7481 * sysdeps/mach/configure: Regenerated.
7482 * sysdeps/mach/hurd/configure: Regenerated.
7483 * sysdeps/powerpc/configure: Regenerated.
7484 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7485 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7486 * sysdeps/s390/s390-32/configure: Regenerated.
7487 * sysdeps/s390/s390-64/configure: Regenerated.
7488 * sysdeps/sh/configure: Regenerated.
7489 * sysdeps/sparc/configure: Regenerated.
7490 * sysdeps/unix/sysv/linux/configure: Regenerated.
7491 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7492 * sysdeps/x86_64/configure: Regenerated.
7493
273edc5e
RM
7494 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7495 defined. Don't check if MAP is NULL.
7496
c8450f70
JM
74972012-10-09 Joseph Myers <joseph@codesourcery.com>
7498
7499 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7500 (_G_stat64): Likewise.
7501 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7502 (_G_stat64): Likewise.
7503 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7504 instead of struct _G_stat64.
7505 * libio/fileops.c (mmap_remap_check): Likewise.
7506 (decide_maybe_mmap): Likewise.
7507 (_IO_new_file_seekoff): Likewise.
7508 (_IO_file_stat): Likewise.
7509 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7510 _G_off64_t.
7511 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7512 instead of struct _G_stat64.
7513 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7514
57e605ba
MK
75152012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7516
7517 [BZ #14602]
7518 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7519 Replace with ...
7520 (CHECK_EOL): New macro.
7521 (two_way_short_needle): Check beginning of haystack for EOL. Use
7522 CHECK_EOL.
7523 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7524 Replace with CHECK_EOL.
7525 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7526 Replace with CHECK_EOL.
7527
ef1bb361
JM
75282012-10-08 Joseph Myers <joseph@codesourcery.com>
7529
7530 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7531 type-generic.
7532 * math/libm-test.inc: Update comment listing what functions and
7533 macros are tested.
7534 (finite_test): New function.
7535 (isinf_test): Likewise.
7536 (isnan_test): Likewise.
7537 (fpclassify_test): Test subnormal input.
7538 (isfinite_test): Likewise.
7539 (isnormal_test): Likewise.
7540 (main): Call the new functions.
7541
55f11534
JN
75422012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7543
7544 [BZ #14660]
7545 * Makerules (%.dynsym): Force C locale when running
7546 $(OBJDUMP) --dynamic-syms.
7547
1ab29350
AS
75482012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7549
7550 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7551 <stdint.h>.
7552
f1ecb7ef
DM
75532012-10-06 David S. Miller <davem@davemloft.net>
7554
7555 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7556 upper 32-bits of the length value in %o2 since we use branch-on-register
7557 tests which consider the entire 64-bit register.
7558
5d41d91a
L
75592012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7560
7561 * string/test-strstr.c (check2): Add a test for page boundary.
7562
3baddb72
DM
75632012-10-05 David S. Miller <davem@davemloft.net>
7564
7565 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7566 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7567 file.
7568 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7569 sysdep_routines.
7570 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7571 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7572 and bzero when HWCAP_SPARC_CRYPTO is present.
7573
9cee5585
L
75742012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7575
d7e0dab9
L
7576 [BZ #14602]
7577 * string/test-strstr.c (check2): New function.
7578 (test_main): Call check2.
7579
03759f47
L
7580 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7581 and bug-strchr1.
7582 * string/bug-strcasestr1.c (do_test): Moved to ...
7583 * string/test-strcasestr.c (check1): Here. New function.
7584 (do_one_test): Break out result checking code into ...
7585 (check_result): This. New function.
7586 (do_one_test): Call check_result.
7587 (test_main): Call check1.
7588 * string/bug-strchr1.c (do_test): Moved to ...
7589 * string/test-strchr.c (check1): Here. New function.
7590 (do_one_test): Break out result checking code into ...
7591 (check_result): This. New function.
7592 (do_one_test): Call check_result.
7593 (test_main): Call check1.
7594 * string/bug-strstr1.c (main): Moved to ...
046f153e 7595 * string/test-strstr.c (check1): Here. New function.
03759f47
L
7596 (do_one_test): Break out result checking code into ...
7597 (check_result): This. New function.
7598 (do_one_test): Call check_result.
7599 (test_main): Call check1.
7600 * string/bug-strcasestr1.c: Removed.
7601 * string/bug-strchr1.c: Likewise.
7602 * string/bug-strstr1.c: Likewise.
7603
53cea63e
L
7604 * elf/Makefile (dl-routines): Add hwcaps.
7605 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7606 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7607 (_dl_important_hwcaps): Moved to ...
7608 * elf/dl-hwcaps.c: Here. New file.
7609 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7610
9cee5585 7611 [BZ #14557]
bb859b06
L
7612 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7613 if IS_IN_rtld isn't defined.
7614
9cee5585
L
7615 * elf/dl-support.c (_dl_sysinfo_map): New.
7616 Include "get-dynamic-info.h" and "setup-vdso.h".
7617 (_dl_non_dynamic_init): Call setup_vdso.
7618 * elf/dynamic-link.h: Don't include <assert.h>.
7619 (elf_get_dynamic_info): Moved to ...
7620 * elf/get-dynamic-info.h: Here. New file.
7621 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7622 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7623 * elf/setup-vdso.h: Here. New file.
7624 * elf/rtld.c: Include "setup-vdso.h".
7625 (dl_main): Call setup_vdso.
7626
23c31b76
JM
76272012-10-05 Joseph Myers <joseph@codesourcery.com>
7628
28234b07
JM
7629 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7630 creal in comment listing functions tested. List finite, isinf,
7631 isnan, isless, islessequal, isgreater, isgreaterequal,
7632 islessgreater, isunordered, lgamma_r and pow10 as functions and
7633 macros not tested. Mention which functions not tested are aliases
7634 for other functions. Fix typo. Note that signs of NaNs are not
7635 tested.
7636
23c31b76
JM
7637 * scripts/config.guess: Update from config.git.
7638 * scripts/config.sub: Likewise.
7639
9043e228
RM
76402012-10-04 Roland McGrath <roland@hack.frob.com>
7641
7642 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7643 * misc/madvise.c (madvise): Renamed to __madvise.
7644 Make madvise a weak alias.
7645 * include/sys/mman.h: Declare __madvise.
7646 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7647 * sysdeps/unix/syscalls.list
7648 (madvise): Make __madvise the strong name, and madvise a weak alias.
7649 * sysdeps/unix/sysv/linux/syscalls.list
7650 (madvise, mmap): Remove redundant entries.
7651 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7652 * malloc/malloc.c (mtrim): Likewise.
7653 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7654
f57f8055
RM
76552012-10-03 Roland McGrath <roland@hack.frob.com>
7656
7657 * sysdeps/mach/hurd/dl-cache.c: File removed.
7658 * config.h.in (USE_LDCONFIG): New #undef.
7659 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7660 * configure: Regenerated.
7661 * elf/Makefile (dl-routines): Add dl-cache only under
7662 [$(use-ldconfig) = yes].
7663 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7664 cache on [USE_LDCONFIG].
7665 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7666 [USE_LDCONFIG].
7667 * elf/rtld.c (dl_main): Likewise.
7668
5bb0c10a
PT
76692012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7670
7671 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7672 _SC_LEVEL4_CACHE_LINESIZE.
7673
010188c6
RM
76742012-10-03 Roland McGrath <roland@hack.frob.com>
7675
7676 * sysdeps/unix/bsd/confstr.h: File removed.
7677
b6c5ec07
AO
76782012-10-02 Alexandre Oliva <aoliva@redhat.com>
7679
7680 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7681 sys/sdt-config.h.
7682
408223d4
RM
76832012-10-02 Roland McGrath <roland@hack.frob.com>
7684
7685 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7686 Make 'mapoff' field ElfW(Off) rather than off_t.
7687
bb9510dc
DL
76882012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7689
fc997c6e
DL
7690 * nscd/Makefile: Remove nscd-cflags and all its users.
7691 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7692 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7693
bb9510dc
DL
7694 [BZ #10631]
7695 * malloc.c (malloc_printerr): Clarify error message.
7696
05699367
L
76972012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7698
7699 [BZ #14648]
7700 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7701 Set bit_FMA_Usable if FMA is supported.
7702 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7703 macro.
7704 (bit_FMA4_Usable): Updated.
7705 (index_FMA_Usable): New macro.
7706 (CPUID_FMA): Likewise
7707 (HAS_FMA): Defined with bit_FMA_Usable.
7708
51367701
RM
77092012-10-01 Roland McGrath <roland@hack.frob.com>
7710
7711 * bits/types.h (__swblk_t): Type removed.
7712 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7713 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7714 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7715 (__SWBLK_T_TYPE): Likewise.
7716 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7717 (__SWBLK_T_TYPE): Likewise.
7718 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7719 (__SWBLK_T_TYPE): Likewise.
7720 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7721 (__SWBLK_T_TYPE): Likewise.
7722
4d57bf63 77232012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 7724 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
7725
7726 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7727 (xdr_mapname): Use YPMAXMAP as maxsize.
7728 (xdr_peername): Use YPMAXPEER as maxsize.
7729 (xdr_keydat): Use YPAXRECORD as maxsize.
7730 (xdr_valdat): Use YPMAXRECORD as maxsize.
7731
93c65d43
RM
77322012-10-01 Roland McGrath <roland@hack.frob.com>
7733
497a03d6
RM
7734 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7735
93c65d43
RM
7736 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7737 * csu/init-first.c: ... here.
7738 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7739 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7740 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7741 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7742 * sysdeps/i386/init-first.c: File removed.
7743 * sysdeps/sh/init-first.c: File removed.
7744
bec749fd
JM
77452012-10-01 Joseph Myers <joseph@codesourcery.com>
7746
7747 [BZ #14645]
7748 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7749 if x * y might underflow to zero and z is zero.
7750 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7751 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7752 * math/libm-test.inc (min_subnorm_value): New variable.
7753 (fma_test): Add more tests.
7754 (fma_test_towardzero): Likewise.
7755 (fma_test_downward): Likewise
7756 (fma_test_upward): Likewise.
7757 (initialize): Set min_subnorm_value.
7758
8ec5b013
JM
77592012-09-29 Joseph Myers <joseph@codesourcery.com>
7760
7761 [BZ #14638]
7762 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7763 0 + 0.
7764 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7765 mode for addition resulting in exact zero.
7766 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7767 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7768 exact 0 + 0.
7769 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7770 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7771 * math/libm-test.inc (fma_test): Add more tests.
7772 (fma_test_towardzero): New function.
7773 (fma_test_downward): Likewise.
7774 (fma_test_upward): Likewise.
7775 (main): Call the new functions.
7776
b1fa802e
DM
77772012-09-28 David S. Miller <davem@davemloft.net>
7778
7779 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7780
d3b9fd9e
RM
77812012-09-28 Roland McGrath <roland@hack.frob.com>
7782
ea4d37b3
RM
7783 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7784 instead of SIGALRM.
7785
ac51c949
RM
7786 * sysdeps/gnu/_G_config.h: Moved to ...
7787 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7788 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7789 * sysdeps/generic/_G_config.h: ... here.
7790
28c195f7
RM
7791 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7792
848917f9
RM
7793 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7794
6bacf05b
RM
7795 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7796 Conditionalize target on [libnss_test1.so-version].
7797
91363dbb
RM
7798 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7799
cc87f7d8
RM
7800 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7801 (elfobjdir): Move out of conditionals.
7802
b1c608fe
RM
7803 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7804 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7805 (__nss_lookup_function): Conditionalize label remove_from_tree on
7806 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 7807
1d9a6d96
DM
78082012-09-28 David S. Miller <davem@davemloft.net>
7809
7810 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7811 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7812 file.
7813 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7814 sysdep_routines.
7815 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7816 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7817 when HWCAP_SPARC_CRYPTO is present.
7818
72581615
PT
78192012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7820
7821 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7822
715a900c
JL
78232012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7824
7825 [BZ #6530]
7826 * stdio-common/vfprintf.c (process_string_arg): Revert
7827 2000-07-22 change.
7828
78292011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7830
7831 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7832 for testcase.
7833 * stdio-common/tst-sprintf.c: Include <locale.h>
7834 (main): Test sprintf's handling of incomplete multibyte
7835 characters.
7836
9bac1d86
L
78372012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7838
7839 * elf/dl-runtime.c (VERSYMIDX): Removed.
7840 * elf/dl-version.c (VERSYMIDX): Likewise.
7841 * elf/do-rel.h (VERSYMIDX): Likewise.
7842 (VALIDX): Likewise.
7843 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7844 * elf/rtld.c (VALIDX): Likewise.
7845 (ADDRIDX): Likewise.
9bac1d86
L
7846 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7847 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7848 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
7849 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7850 (VALIDX): Likewise.
7851 (ADDRIDX): Likewise.
9bac1d86 7852
b31606c0
PT
78532012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7854
7855 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7856
11541177
JL
78572012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7858
7859 [BZ #11438]
7860 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7861 to global scope.
7862 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7863 addresses are in the same scope as 192.0.2/24.
7864 * posix/gai.conf: Document new scope table defaults.
7865
adb26fae
SP
78662012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7867
7868 [BZ #5298]
7869 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7870 for ftell. Compute offsets from write pointers instead.
7871 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7872
4573c6b0
SP
78732012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7874
7875 [BZ #14543]
7876 * libio/Makefile (tests): New test case tst-fseek.
7877 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7878 combination works in wide mode.
7879 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7880 state when the external buffer state changes.
7881
aa9bbfe6
DM
78822012-09-27 David S. Miller <davem@davemloft.net>
7883
7884 [BZ #14376]
7885 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7886 pass reloc->r_addend in as the 'high' argument to
7887 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7888
784421e7
DM
7889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7890
c39bc8b8
PT
78912012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7892
7893 * rt/tst-aio2.c: Include <pthread.h>.
7894 * rt/tst-aio3.c: Likewise.
7895
1ccc2399
SE
78962012-09-27 Steve Ellcey <sellcey@mips.com>
7897
7898 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7899
31ed4153
L
79002012-09-27 H.J. Lu <hongjiu.lu@intel.com>
7901
25f5f885
L
7902 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7903 contents on [SHARED].
31ed4153 7904
b7bfe116
MP
79052012-09-26 Marek Polacek <polacek@redhat.com>
7906
7907 [BZ #14530]
7908 [BZ #13741]
7909 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7910 for C++ and GCC <4.3 as well as for non GCC compilers.
7911
43c4edba
MT
79122012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7913
7914 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7915
6a1bf82f
RM
79162012-09-25 Roland McGrath <roland@hack.frob.com>
7917
7918 * Makefile.in (all, install): Declare with .PHONY.
7919 Reported by Michael Hope <michael.hope@linaro.org>.
7920
8ad11b9a
TMQMF
79212012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7922
7923 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7924 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7925 system header.
7926 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7927 Likewise.
7928 (sydep_routines): Add the new and the internal functions.
7929 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7930 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7932 (GLIBC_2.17): Add the new function.
7933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7934 (GLIBC_2.17): Likewise.
7935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7936 (GLIBC_2.17): Likewise.
7937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7938 (GLIBC_2.17): Likewise.
7939 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7940
7e2fca8d
AM
79412012-09-25 Alan Modra <amodra@gmail.com>
7942
7943 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7944 Add release barrier before setting once_control to say
7945 initialisation is done. Add hints on lwarx. Use macro in
7946 place of isync.
7947 (clear_once_control): Add release barrier.
7948
b87c4b24
JM
79492012-09-25 Joseph Myers <joseph@codesourcery.com>
7950
d032e0d2
JM
7951 [BZ #13629]
7952 * math/s_clog.c (__clog): Handle more values close to |z| = 1
7953 specially.
7954 * math/s_clog10.c (__clog10): Likewise.
7955 * math/s_clog10f.c (__clog10f): Likewise.
7956 * math/s_clog10l.c (__clog10l): Likewise.
7957 * math/s_clogf.c (__clogf): Likewise.
7958 * math/s_clogl.c (__clogl): Likewise.
7959 * math/Makefile (libm-calls): Add x2y2m1.
7960 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7961 (__x2y2m1): Likewise.
7962 (__x2y2m1l): Likewise.
7963 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7964 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7965 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7966 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7967 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7968 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7969 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7970 * sysdeps/i386/fpu/libm-test-ulps: Update.
7971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7972
b87c4b24
JM
7973 [BZ #14621]
7974 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7975 int as type of variable DEPTH.
7976 (glob): Use size_t instead of int as type of variables NEWCOUNT
7977 and OLD_PATHC.
7978
6d3bf199
LD
79792012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7980
22bf5c17
LD
7981 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7982 Add s_sincosf-sse2.
7983 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7984 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7985 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7986 macros for using routine as __sincosf_ia32.
7987 Use macro for function declaration and weak_alias.
7988 * sysdeps/i386/fpu/libm-test-ulps: Update.
7989
7990 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7991 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7992
7993 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
7994 subnormal argument.
7995 * math/s_cexpf.c (__cexpf): Likewise.
7996 * math/s_csinf.c (__csinf): Likewise.
7997 * math/s_csinhf.c (__csinhf): Likewise.
7998 * math/s_ctanf.c (__ctanf): Likewise.
7999 * math/s_ctanhf.c (__ctanhf): Likewise.
8000 * math/s_ccosh.c (__ccoshf): Likewise.
8001 * math/s_cexp.c (__cexpl): Likewise.
8002 * math/s_csin.c (__csin): Likewise.
8003 * math/s_csinh.c (__csinh): Likewise.
8004 * math/s_ctan.c (__ctan): Likewise.
8005 * math/s_ctanh.c (ctanh): Likewise.
8006 * math/s_ccoshl.c (__ccoshl): Likewise.
8007 * math/s_cexpl.c (__cexpl): Likewise.
8008 * math/s_csinl.c (__csinl): Likewise.
8009 * math/s_csinhl.c (__csinhl): Likewise.
8010 * math/s_ctanl.c (__ctanl): Likewise.
8011 * math/s_ctanhl.c (__ctanhl): Likewise.
8012
203e5603
JM
80132012-09-25 Joseph Myers <joseph@codesourcery.com>
8014
8015 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8016 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8017 (_IO_off_t): Define to __off_t, not _G_off_t.
8018 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8019 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8020 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8021 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8022 type of __dummy and __dummy2 fields.
8023 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8024 (_G_ssize_t): Likewise.
8025 (_G_off_t): Likewise.
8026 (_G_pid_t): Likewise.
8027 (_G_uid_t): Likewise.
8028 (_G_wchar_t): Likewise.
8029 (_G_wint_t): Likewise.
8030 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8031 (_G_ssize_t): Likewise.
8032 (_G_off_t): Likewise.
8033 (_G_pid_t): Likewise.
8034 (_G_uid_t): Likewise.
8035 (_G_wchar_t): Likewise.
8036 (_G_wint_t): Likewise.
8037 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8038 (_G_ssize_t): Likewise.
8039 (_G_off_t): Likewise.
8040 (_G_pid_t): Likewise.
8041 (_G_uid_t): Likewise.
8042 (_G_wchar_t): Likewise.
8043 (_G_wint_t): Likewise.
8044
9fab36eb
SP
80452012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8046
8047 * malloc/arena.c: Include malloc-sysdep.h.
8048 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8049 is sufficient to shrink the heap or an unmap is needed.
8050 * sysdeps/generic/malloc-sysdep.h: New file. Define
8051 new function check_may_shrink_heap.
8052 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8053 new function check_may_shrink_heap.
8054
2b4f00d1
SP
80552012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8056
8057 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8058 comments.
8059
9a9028b1
DL
80602012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8061
57c69bef
DL
8062 * catgets/test-gencat.sh: Add "set -e".
8063 * elf/tst-pathopt.sh: Likewise.
8064 * grp/tst_fgetgrent.sh: Likewise.
8065 * iconvdata/run-iconv-test.sh: Likewise.
8066 * intl/tst-gettext.sh: Likewise.
8067 * intl/tst-gettext2.sh: Likewise.
8068 * intl/tst-gettext4.sh: Likewise.
8069 * intl/tst-gettext6.sh: Likewise.
8070 * intl/tst-translit.sh: Likewise.
8071 * io/ftwtest-sh: Likewise.
8072 * libio/test-freopen.sh: Likewise.
8073 * malloc/tst-mtrace.sh: Likewise.
8074 * posix/globtest.sh: Likewise.
8075 * posix/tst-getconf.sh: Likewise.
8076 * posix/wordexp-tst.sh: Likewise.
8077 * stdio-common/tst-printf.sh: Likewise.
8078 * stdio-common/tst-unbputc.sh: Likewise.
8079 * stdlib/tst-fmtmsg.sh: Likewise.
8080 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8081 * catgets/Makefile: Do not specify -e option when running
8082 testsuite shell scripts.
8083 * elf/Makefile: Likewise.
8084 * grp/Makefile: Likewise.
8085 * iconvdata/Makefile: Likewise.
8086 * intl/Makefile: Likewise.
8087 * io/Makefile: Likewise.
8088 * libio/Makefile: Likewise.
8089 * malloc/Makefile: Likewise.
8090 * posix/Makefile: Likewise.
8091 * stdio-common/Makefile: Likewise.
8092 * stdlib/Makefile: Likewise.
8093 * sysdeps/x86_64/Makefile: Likewise.
8094
9a9028b1
DL
8095 * io/ftwtest-sh: Add copyright header.
8096 * posix/globtest.sh: Likewise.
8097 * posix/tst-getconf.sh: Likewise.
8098 * posix/wordexp-tst.sh: Likewise.
8099 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8100
ced6f16e
L
81012012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8102
94b32c39
L
8103 [BZ #13679]
8104 * Makeconfig (+link): Defined as $(+link-static) if
8105 $(build-shared) isn't yes.
8106 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8107 isn't yes.
8108 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8109
189e935b
L
8110 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8111
ced6f16e
L
8112 [BZ #14562]
8113 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8114 new chunk size with MALLOC_ALIGN_MASK.
8115
a9f8e53a
JM
81162012-09-24 Joseph Myers <joseph@codesourcery.com>
8117
8118 [BZ #5044]
8119 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8120 <rounding-mode.h>.
8121 (__printf_fphex): Determine rounding using get_rounding_mode and
8122 round_away.
8123 * stdio-common/tst-printf-round.c (struct hex_test): New
8124 structure.
8125 (hex_tests): New variable.
8126 (test_hex_in_one_mode): New function.
8127 (do_test): Also run tests for hex float output.
8128
43153109
JM
81292012-09-21 Joseph Myers <joseph@codesourcery.com>
8130
8131 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8132 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8133 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8134 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8135 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8136 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8137 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8138 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8139
8a26625d
JM
81402012-09-20 Joseph Myers <joseph@codesourcery.com>
8141
8142 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8143 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8144 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8145 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8146
f3fd569c
DL
81472012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8148
8149 [BZ #14579]
8150 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8151 mode only.
8152 * elf/tst-rtld-load-self.sh: New test.
8153 * elf/Makefile: Run it.
8154
63bbedd4
JM
81552012-09-18 Joseph Myers <joseph@codesourcery.com>
8156
8157 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8158 (tst-writev-ENV): Remove.
8159 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8160
626f8b6a
CM
81612012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8162
8163 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8164
b7aaa4d6
JM
81652012-09-17 Joseph Myers <joseph@codesourcery.com>
8166
8167 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8168 unconditional.
8169 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8170 Likewise.
8171 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8172 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8173 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8174 Likewise.
8175
65513990
L
81762012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8177
8178 [BZ #14587]
8179 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8180 * config.make.in (have-cpp-asm-debuginfo): Removed.
8181 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8182 * configure: Regenerated.
8183
784761be
JM
81842012-09-14 Joseph Myers <joseph@codesourcery.com>
8185
8186 [BZ #5044]
8187 * stdio-common/printf_fp.c: Include <stdbool.h> and
8188 <rounding-mode.h>.
8189 (___printf_fp): Determine rounding using get_rounding_mode and
8190 round_away.
8191 * stdio-common/tst-printf-round.c: New file.
8192 * stdio-common/Makefile (tests): Add tst-printf-round.
8193 (link-libm): New variable.
8194 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8195
9503345f
L
81962012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8197
8198 [BZ #14576]
8199 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8200 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8201 Likewise.
8202 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8203 Likewise.
8204
ad35fc00
JM
82052012-09-13 Joseph Myers <joseph@codesourcery.com>
8206
8207 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8208 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8209 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8210 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8211
6c9b0f68
JM
82122012-09-12 Joseph Myers <joseph@codesourcery.com>
8213
8214 [BZ #14518]
8215 * include/rounding-mode.h: New file.
8216 * sysdeps/generic/get-rounding-mode.h: Likewise.
8217 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8218 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8219 (MAX_VALUE): New macro.
8220 (MIN_VALUE): Likewise.
8221 (overflow_value): New function.
8222 (underflow_value): Likewise.
8223 (round_and_return): Use overflow_value and underflow_value to
8224 determine return values in overflow and underflow cases. Use
8225 round_away to determine rounding depending on rounding mode.
8226 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8227 determine return values in overflow and underflow cases.
8228 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8229 (struct test_results): New structure.
8230 (struct test): Use struct test_results to store expected results
8231 for all rounding modes.
8232 (TEST): Include expected results for all rounding modes.
8233 (test_in_one_mode): New function.
8234 (do_test): Use test_in_one_mode to compute and check results.
8235 Check results for all rounding modes.
8236 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8237 $(link-libm).
8238
19fcedd5
AM
82392012-12-09 Allan McRae <allan@archlinux.org>
8240
1e9d84cd 8241 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 8242
8bbfd2f1
JM
82432012-09-11 Joseph Myers <joseph@codesourcery.com>
8244
8245 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8246 (_G_int32_t): Likewise.
8247 (_G_uint16_t): Likewise.
8248 (_G_uint32_t): Likewise.
8249 (_G_HAVE_BOOL): Likewise.
8250 (_G_HAVE_ATEXIT): Likewise.
8251 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8252 (_G_HAVE_IO_FILE_OPEN): Likewise.
8253 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8254 (_G_int32_t): Likewise.
8255 (_G_uint16_t): Likewise.
8256 (_G_uint32_t): Likewise.
8257 (_G_HAVE_BOOL): Likewise.
8258 (_G_HAVE_ATEXIT): Likewise.
8259 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8260 (_G_HAVE_IO_FILE_OPEN): Likewise.
8261 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8262 (_G_int32_t): Likewise.
8263 (_G_uint16_t): Likewise.
8264 (_G_uint32_t): Likewise.
8265 (_G_HAVE_BOOL): Likewise.
8266 (_G_HAVE_ATEXIT): Likewise.
8267 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8268 (_G_HAVE_IO_FILE_OPEN): Likewise.
8269
b1dc5912
L
82702012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8271
8272 * csu/libc-tls.c: Update copyright years.
8273
0e886ef9
JM
82742012-09-10 Joseph Myers <joseph@codesourcery.com>
8275
28361c5e
JM
8276 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8277 [!_G_USING_THUNKS]: Remove conditional code.
8278 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8279 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8280
0e886ef9
JM
8281 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8282 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8283 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8284 (_G_VTABLE_LABEL_PREFIX): Likewise.
8285 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8286 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8287 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8288 (_G_VTABLE_LABEL_PREFIX): Likewise.
8289 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8290 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8291 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8292 (_G_VTABLE_LABEL_PREFIX): Likewise.
8293 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8294
bcba7aa2
L
82952012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8296
8297 * libio/Makefile: Include ../Makeconfig before tests.
8298 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8299 only if $(build-shared) is yes.
8300
06585ee8
L
8301 * iconv/gconv_db.c: Update copyright years.
8302
80ccd52c
LD
83032012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8304
8305 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8306 unwind info if defined PIC. Fix special cases description.
8307 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8308
8309 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8310 DP_HI_MASK entry.
8311 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8312
691bc9c1
L
83132012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8314
3d9b46b3
L
8315 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8316
de2139a9
L
8317 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8318 is NULL.
8319
5ca78dd0
L
8320 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8321 (LDLIBS-tst-chk4): This.
8322 (LDFLAGS-tst-chk5): Renamed to ...
8323 (LDLIBS-tst-chk5): This.
8324 (LDFLAGS-tst-chk6): Renamed to ...
8325 (LDLIBS-tst-chk6): This.
8326 (LDFLAGS-tst-lfschk4): Renamed to ...
8327 (LDLIBS-tst-lfschk4): This.
8328 (LDFLAGS-tst-lfschk5): Renamed to ...
8329 (LDLIBS-tst-lfschk5): This.
8330 (LDFLAGS-tst-lfschk6): Renamed to ...
8331 (LDLIBS-tst-lfschk6): This.
8332
691bc9c1
L
8333 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8334 on $(common-objpfx)soversions.mk.
8335
65cafb1c
JM
83362012-09-07 Joseph Myers <joseph@codesourcery.com>
8337
8338 [BZ #10014]
8339 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8340 example host name.
8341
c78ab094
SP
83422012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8343
8344 * malloc/arena.c (arena_get_retry): New function that gets
8345 another arena for the caller to try its request on.
8346 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8347 current arena cannot fulfill the request.
8348 (__libc_memalign): Likewise.
8349 (__libc_memalign): Likewise.
8350 (__libc_pvalloc): Likewise.
8351 (__libc_calloc): Likewise.
8352
01f49f59
JT
83532012-09-05 John Tobey <john.tobey@gmail.com>
8354
8355 [BZ #13542]
8356 * manual/arith.texi (Operations on Complex): Fix description
8357 of carg branch cut.
8358
4c23fed5
JM
83592012-09-06 Joseph Myers <joseph@codesourcery.com>
8360
1d3c8572
JM
8361 [BZ #10014]
8362 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8363 host name.
8364
4c23fed5
JM
8365 [BZ #10038]
8366 * manual/memory.texi (Memory): Make order of menu items match
8367 order of sections.
8368
04570aaa
L
83692012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8370
8371 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8372 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8373 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8374
b80af2f4
L
83752012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8376
8377 * csu/libc-tls.c (static_dtv): Renamed to ...
8378 (_dl_static_dtv): This. Make it global.
8379 (_dl_initial_dtv): Removed.
8380 (__libc_setup_tls): Updated.
8381 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8382 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8383 DL_INITIAL_DTV.
8384
2abe9f15
PM
83852012-09-06 Petr Machata <pmachata@redhat.com>
8386
8387 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8388 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8389 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8390 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8391
0948c3af
L
83922012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8393
8394 [BZ #14545]
8395 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8396 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8397 freeing dtv[-1].
8398
a5055ad1
L
83992012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8400
8401 [BZ #14544]
8402 * Makeconfig (link-static-before-libc): Replace $(+prector)
8403 with $(+prectorT).
8404 (link-static-after-libc): Replace $(+postctor) with
8405 $(+postctorT).
8406 (link-bounded): Replace $(+prector)/$(+postctor) with
8407 $(+prectorT)/$(+postctorT).
8408 (+prectorT): New macro.
8409 (+postctorT): Likewise.
8410
ed8c2ecd
JM
84112012-09-06 Joseph Myers <joseph@codesourcery.com>
8412
8413 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8414 (round_str): Handle values above the maximum for IBM long double
8415 as inexact.
8416 * stdlib/tst-strtod-round.c (tests): Regenerated.
8417
14c996c8
AK
84182012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8419
8420 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8421 assembler flag.
8422 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8423 zarch_nohighgprs around the zarch optimized routines.
8424 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8425 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8426 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8427 for zarch.
8428
430d6ce6
DM
84292012-09-05 David S. Miller <davem@davemloft.net>
8430
8431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8432
ff04dda4
DM
8433 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8434 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8435 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8436 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8437 entries.
8438
24d4e01b
AO
84392012-09-05 Alexandre Oliva <aoliva@redhat.com>
8440
8441 * malloc/arena.c: Fold copyright years.
8442 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8443
61d58174
AO
84442012-09-05 Alexandre Oliva <aoliva@redhat.com>
8445
8446 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8447
20196a5e
AO
84482012-09-05 Alexandre Oliva <aoliva@redhat.com>
8449
8450 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8451
5c447383
AO
84522012-09-05 Alexandre Oliva <aoliva@redhat.com>
8453
8454 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8455 change internal state upon failure.
8456
fad64255
AO
84572012-09-05 Alexandre Oliva <aoliva@redhat.com>
8458
8459 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8460 * malloc/memusage.c (mmap): Likewise.
8461 (mmap64, mremap): Likewise. Adjust name in comment.
8462
1ffb8c90
SP
84632012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8464
8465 * libio/fileops.c: Fix typos in comments.
8466 * libio/oldfileops.c: Likewise.
8467 * libio/wfileops.c: Likewise.
8468
6ef9cc37
SP
84692012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8470
8471 [BZ #1349]
8472 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8473 (tst-malloc-usable-ENV): Set environment for test case.
8474 * malloc/hooks.c (malloc_check_get_size): New function to get
8475 requested size.
8476 * malloc/malloc.c (musable): Use malloc_check_get_size.
8477 * malloc/tst-malloc-usable.c: New test case.
8478
4d038ae3
AS
84792012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8480
8481 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8482
c4e85184
AM
84832012-09-05 Allan McRae <allan@archlinux.org>
8484
b9dafc56 8485 [BZ #13966]
c4e85184
AM
8486 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8487 determine header location.
8488 * configure: Regenerated.
8489
e1343020
AS
84902012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8491
8492 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8493 float format.
8494 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
8495 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8496 format.
e1343020
AS
8497 (test): Regenerate.
8498
0a9f1987
DM
84992012-09-04 David S. Miller <davem@davemloft.net>
8500
8501 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8502 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8503 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8504
29237804
FW
85052012-09-04 Florian Weimer <fweimer@redhat.com>
8506
8507 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8508 failures.
8509
edb3cb88
FW
8510 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8511
60160d83
JM
85122012-09-04 Joseph Myers <joseph@codesourcery.com>
8513
8514 [BZ #9914]
8515 * libio/iogetdelim.c: Include <limits.h>.
8516 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8517 + len + 1 would overflow.
8518
bcd6c8dc
AJ
85192012-09-03 Andreas Jaeger <aj@suse.de>
8520
8521 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8522 * sysdeps/i386/fpu/libm-test-ulps: Update.
8523
4ffffbd2
LD
85242012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8525
8526 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8527 Add s_sinf-sse2, s_conf-sse2.
8528
8529 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8530 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8531 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8532 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8533
8534 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8535 for using routine as __sinf_ia32.
8536 Use macro for function declaration and weak_alias.
8537 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8538 for using routine as __cosf_ia32.
8539 Use macro for function declaration and weak_alias.
8540
8541 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8542 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8543
8544 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8545 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8546 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8547
8548 * math/libm-test.inc (cos_test): Add more test cases.
8549 (sin_test): Likewise.
8550 (sincos_test): Likewise.
8551
511fa286
AK
85522012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8553
8554 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8555 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8556 hidden.
8557 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8558
5f30cfec
L
85592012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8560
8561 [BZ #14538]
8562 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8563 first element of the GOT.
8564 (elf_machine_load_address): Return the difference between
8565 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8566
0786794f
AM
85672012-09-01 Allan McRae <allan@archlinux.org>
8568
5f30cfec
L
8569 [BZ #13412]
8570 * configure.in (AWK): Require gawk version 3.0 or later.
8571 * configure: Regenerated.
0786794f 8572
26889eac
JM
85732012-09-01 Joseph Myers <joseph@codesourcery.com>
8574
8575 * sysdeps/unix/sysv/linux/kernel-features.h
8576 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8577 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8578 [__NR_clock_getres]: Make code unconditional.
8579 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8580 (clock_getcpuclockid): Remove code left unreachable by removal of
8581 conditionals.
8582 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8583 code unconditional.
8584 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8585 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8586 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8587 Make code unconditional.
8588 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8589 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8590 * sysdeps/unix/sysv/linux/clock_settime.c
8591 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8592 conditional code.
8593 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8594 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8595
d22e28b0
L
85962012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8597
8598 [BZ #14476]
8599 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8600 scripts/test-installation.pl.
8601
8602 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8603 and $ld_so_version if it is set.
8604
050af9c4
SP
86052012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8606
8607 [BZ #14516]
8608 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8609 failure if reading from procfs failed.
8610 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8611
ad845c0b
JM
86122012-08-27 Joseph Myers <joseph@codesourcery.com>
8613
8614 * sysdeps/unix/sysv/linux/kernel-features.h
8615 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8616 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8617 Remove conditional code.
8618 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8619 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8620 Remove conditional code.
8621 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8622 * sysdeps/unix/sysv/linux/i386/fxstat.c
8623 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8624 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8625 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8626 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8627 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8628 * sysdeps/unix/sysv/linux/i386/lxstat.c
8629 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8630 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8631 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8632 Remove conditional code.
8633 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8634 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8635 Remove conditional code.
8636 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8637 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8638 <kernel-features.h>.
8639 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8640 Remove.
8641 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8642 Remove conditional code.
8643 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8644 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8645 Remove conditional.
8646
5dbf56af
MF
86472012-08-27 Mike Frysinger <vapier@gentoo.org>
8648
8649 [BZ #5400]
8650 * NEWS: Add fixed bug number.
8651
d6e70f43
JM
86522012-08-27 Joseph Myers <joseph@codesourcery.com>
8653
7efb4737
JM
8654 [BZ #14519]
8655 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8656 underflowing exponent in case of negative sign.
8657 * stdlib/tst-strtod-round-data: Add more tests.
8658 * stdlib/tst-strtod-round.c (tests): Regenerated.
8659
af92131a
JM
8660 [BZ #3479]
8661 * stdlib/strtod_l.c (NDIG): Remove.
8662 (HEXNDIG): Likewise.
8663 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8664 smallest representable value.
8665 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8666 lie within an exact representation of 1/2 ulp of the result.
8667 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8668 unconditionally.
8669 (TENS_P9_IDX): Define unconditionally.
8670 (TENS_P9_SIZE): Likewise.
8671 (TENS_P10_IDX): Likewise.
8672 (TENS_P10_SIZE): Likewise.
8673 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8674 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8675 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8676 entries for 10^2^13 and 10^2^14.
8677 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8678 (TENS_P13_IDX): Define.
8679 (TENS_P13_SIZE): Likewise.
8680 (TENS_P14_IDX): Likewise.
8681 (TENS_P14_SIZE): Likewise.
8682 (_fpioconst_pow10): Change array size to
8683 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8684 unconditional.
8685 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8686 1024]: Add entries for 10^2^13 and 10^2^14.
8687 [LAST_POW10 > _LAST_POW10]: Remove #error.
8688 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8689 (_fpioconst_pow10): Change array size to
8690 FPIOCONST_POW10_ARRAY_SIZE.
8691 * stdlib/gen-fpioconst.c: New file.
8692 * stdlib/gen-tst-strtod-round.c: Likewise.
8693 * stdlib/tst-strtod-round-data: Likewise.
8694 * stdlib/tst-strtod-round.c: Likewise.
8695 * stdlib/Makefile (tests): Add tst-strtod-round.
8696
d6e70f43
JM
8697 [BZ #14459]
8698 * stdlib/strtod_l.c: Include <stdint.h>.
8699 (NDEBUG): Do not define.
8700 (round_and_return): Change EXPONENT parameter to type intmax_t.
8701 Rearrange calculations to avoid internal overflow possibilities.
8702 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8703 Rearrange calculations to avoid internal overflow possibilities.
8704 Assert that number fits inside MPNSIZE limbs.
8705 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8706 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8707 calculations and add assertions to avoid internal overflow
8708 possibilities. Add casts to avoid signed/unsigned operations.
8709 * stdlib/tst-strtod-overflow.c: New file.
8710 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8711
1f529f7d
MP
87122012-08-25 Marek Polacek <polacek@redhat.com>
8713
8714 * time/time.h: Fix some typos in comments.
8715
59a629f1
RM
87162012-08-23 Roland McGrath <roland@hack.frob.com>
8717
8718 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8719 * posix/tst-rfc3484-2.c: Likewise.
8720 * posix/tst-rfc3484-3.c: Likewise.
8721
d3bafbc9
SM
87222012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8723
8724 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8725 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8726
4efcc022
JM
87272012-08-23 Joseph Myers <joseph@codesourcery.com>
8728
8729 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8730 #include of fxstatat64.c.
8731
3cc3ef96
RM
87322012-08-22 Roland McGrath <roland@hack.frob.com>
8733
f04e2132
RM
8734 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8735 * shadow/getspent_r.c: Likewise.
8736 * shadow/getspnam.c: Likewise.
8737 * shadow/getspnam_r.c: Likewise.
8738 * gshadow/getsgent.c: Likewise.
8739 * gshadow/getsgent_r.c: Likewise.
8740 * gshadow/getsgnam.c: Likewise.
8741 * gshadow/getsgnam_r.c: Likewise.
8742 * inet/getnetbyad.c: Likewise.
8743 * inet/getnetbyad_r.c: Likewise.
8744 * inet/getnetbynm.c: Likewise.
8745 * inet/getnetbynm_r.c: Likewise.
8746 * inet/getnetent.c: Likewise.
8747 * inet/getnetent_r.c: Likewise.
8748 * inet/getproto.c: Likewise.
8749 * inet/getproto_r.c: Likewise.
8750 * inet/getprtent.c: Likewise.
8751 * inet/getprtent_r.c: Likewise.
8752 * inet/getprtname.c: Likewise.
8753 * inet/getprtname_r.c: Likewise.
8754 * inet/getrpcbyname.c: Likewise.
8755 * inet/getrpcbyname_r.c: Likewise.
8756 * inet/getrpcbynumber.c: Likewise.
8757 * inet/getrpcbynumber_r.c: Likewise.
8758 * inet/getrpcent.c: Likewise.
8759 * inet/getrpcent_r.c: Likewise.
8760 * inet/getaliasent.c: Likewise.
8761 * inet/getaliasent_r.c: Likewise.
8762 * inet/getaliasname.c: Likewise.
8763 * inet/getaliasname_r.c: Likewise.
8764 * nscd/getgrgid_r.c: Likewise.
8765 * nscd/getgrnam_r.c: Likewise.
8766 * nscd/gethstbyad_r.c: Likewise.
8767 * nscd/gethstbynm3_r.c: Likewise.
8768 * nscd/getpwnam_r.c: Likewise.
8769 * nscd/getpwuid_r.c: Likewise.
8770 * nscd/getsrvbynm_r.c: Likewise.
8771 * nscd/getsrvbypt_r.c: Likewise.
8772 * nscd/gai.c: Likewise.
8773
c53d909c
RM
8774 * configure.in (build_nscd): New substituted variable, set
8775 by --disable-build-nscd and defaults to $use_nscd.
8776 * configure: Regenerated.
8777 * config.make.in (build-nscd): New substituted variable.
8778 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8779 Change conditional to require [$(build-nscd) = yes] as well.
8780 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8781
3cc3ef96
RM
8782 [BZ# 13696]
8783 * configure.in (use_nscd): New substituted variable, set by
8784 --disable-nscd. If enabled, define USE_NSCD.
8785 * configure: Regenerated.
8786 * config.h.in: Add USE_NSCD.
8787 * config.make.in (use-nscd): New substituted variable.
8788 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8789 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8790 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8791 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8792 (CFLAGS-getgrnam_r.c): Likewise.
8793 (CFLAGS-initgroups.c): Likewise.
8794 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8795 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8796 Variables removed.
8797 * inet/getnetgrent_r.c
8798 (nscd_setnetgrent): New function, broken out of ...
8799 (setnetgrent): ... here. Call it.
8800 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8801 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8802 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8803 * nscd/Makefile (routines, aux): Move definitions after include of
8804 Makeconfig. Conditionalize on [$(use-nscd) != no].
8805 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8806 Conditionalize on [USE_NSCD].
8807 (is_nscd, nscd_init_cb): Likewise.
8808 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8809 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8810 * nss/nss_db/db-init.c: Likewise.
8811 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8812 [USE_NSCD].
8813 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8814 (make_request): Use it.
8815 (cache_valid_p): New function.
8816 (__check_pf): Use it.
8817 * NEWS: Add item for --disable-nscd.
8818
07e51550
DL
88192012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8820
8821 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8822 to support sed >= 4.2.1-20-ga9bf076.
8823 * configure: Regenerated.
8824
35a5b08b
RM
88252012-08-22 Roland McGrath <roland@hack.frob.com>
8826
8827 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8828 Conditionalize whole body on [IREL].
8829
8479f23a
JL
88302012-08-22 Jeff Law <law@redhat.com>
8831
8832 [BZ #14505]
8833 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8834 if the family is PF_UNSPEC.
8835
48da0b21
MF
88362012-08-22 Mike Frysinger <vapier@gentoo.org>
8837
8838 * Makerules (lib-version): Rename from V.
8839 (install-lib-nosubdir): Change V to lib-version.
8840
15d0da8c
WS
88412012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8842
8843 [BZ #14252]
8844 * powerpc32/power6/wcschr.c: New file.
8845 * powerpc32/power6/wcscpy.c: New file.
8846 * powerpc32/power6/wcsrchr.c: New file.
8847 * powerpc64/power6/wcschr.c: New file.
8848 * powerpc64/power6/wcscpy.c: New file.
8849 * powerpc64/power6/wcsrchr.c: New file.
8850
bcca0895
MK
88512012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8852
8853 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8854 (two_way_short_needle): Use it.
5a4aaa33
RM
8855 * string/strstr.c (AVAILABLE1_USES_J): Define.
8856 * string/strcasestr.c: Likewise.
99677e57
MK
8857
8858 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8859 array references.
8860 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8861
400726de
MK
8862 [BZ #11607]
8863 * NEWS: Add an entry.
8864 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8865 define their defaults.
8866 (two_way_short_needle): Detect end-of-string on-the-fly.
8867 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8868 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8869 * string/bug-strcasestr1.c: New test.
8870 * string/Makefile: Run it.
8871
20a71f2c
MK
88722012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8873
8874 [BZ #11607]
8875 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8876 the first character.
8877
21ad0558
RM
88782012-08-21 Roland McGrath <roland@hack.frob.com>
8879
8880 * csu/elf-init.c (__libc_csu_irel): Function removed.
8881 * csu/libc-start.c (apply_irel): New function.
8882 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8883
0e1d9911
JM
88842012-08-21 Joseph Myers <joseph@codesourcery.com>
8885
8886 * sysdeps/unix/sysv/linux/kernel-features.h
8887 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8888 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8889 <kernel-features.h>.
8890 [__NR_fadvise64_64]: Make code unconditional.
8891 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8892 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8893 !__NR_fadvise64_64)]: Likewise.
8894 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8895 !__NR_fadvise64_64))]: Likewise.
8896 [__NR_fadvise64]: Make code unconditional.
8897 [!__NR_fadvise64]: Remove conditional code.
8898 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8899 <kernel-features.h>.
8900 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8901 unconditional.
8902 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8903 conditional code.
8904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8905 not include <kernel-features.h>.
8906 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8907 unconditional.
8908 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8909 conditional code.
8910 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8911 include <kernel-features.h>.
8912 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8913 unconditional.
8914 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8915 conditional code.
8916
14a50c9d
WS
89172012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8918
8919 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8920 slight instruction rearrangements per scrollpipe analysis.
8921 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8922
c0f4faf0
RM
89232012-08-20 Roland McGrath <roland@hack.frob.com>
8924
696da859
RM
8925 * manual/syslog.texi (syslog; vsyslog, closelog):
8926 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8927 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8928
c0f4faf0
RM
8929 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8930 DSOCAPS to match condition on defining it.
8931
348363b2
JM
89322012-08-20 Joseph Myers <joseph@codesourcery.com>
8933
a35cbf28
JM
8934 * sysdeps/unix/sysv/linux/kernel-features.h
8935 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8937 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8938 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8940 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8941 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8943 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8944 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8945
445f7ecd
JM
8946 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8947 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8948
348363b2
JM
8949 * sysdeps/unix/sysv/linux/kernel-features.h
8950 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8951 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8952 unconditional.
8953 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8954 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8955 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8956 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8957 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8958 Make code unconditional.
8959 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8960 (__mmap64) [!__NR_mmap2]: Likewise.
8961 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8962 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8963 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8964 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8965 [__NR_mmap2]: Make code unconditional.
8966 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8967 (__mmap64) [!__NR_mmap2]: Likewise.
8968
bc5bc0e5
AK
89692012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8970
8971 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8972
88d506de
AJ
89732012-08-18 Andreas Jaeger <aj@suse.de>
8974
8975 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8976
493387d2
MF
89772012-08-18 Mike Frysinger <vapier@gentoo.org>
8978
8979 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8980 * include/unistd.h (__have_sock_cloexec): Likewise.
8981 (__have_pipe2): Likewise.
8982 (__have_dup3): Likewise.
8983
a277af22
MF
89842012-08-18 Mike Frysinger <vapier@gentoo.org>
8985
8986 [BZ #9685]
8987 * include/unistd.h (__have_pipe2): Change define into an extern int.
8988 (__have_dup3): Likewise.
8989 * socket/have_sock_cloexec.c: Include fcntl.h.
8990 (__have_pipe2): New variable.
8991 (__have_dup3): Likewise.
8992
fdab8fd3
MF
89932012-08-17 Mike Frysinger <vapier@gentoo.org>
8994
8995 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8996
31035e80
MP
89972012-08-17 Marek Polacek <polacek@redhat.com>
8998
8999 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9000 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9001
3bd9e993
RM
90022012-08-17 Roland McGrath <roland@hack.frob.com>
9003
c91c505f
RM
9004 * configure.in: Add AC_SUBST for sysheaders.
9005 * configure: Regenerated.
9006 * config.make.in (sysheaders): New substituted variable.
9007
7c6f9d53
RM
9008 * sysdeps/unix/mkfifo.c: Moved ...
9009 * sysdeps/posix/mkfifo.c: ... here.
9010 * sysdeps/unix/mkfifoat.c: Moved ...
9011 * sysdeps/posix/mkfifoat.c: ... here.
9012
9013 * sysdeps/unix/utime.c: Moved ...
9014 * sysdeps/posix/utime.c: ... here.
9015
9016 * sysdeps/unix/time.c: Moved ...
9017 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
9018 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9019 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
9020
9021 * sysdeps/unix/nice.c: Moved ...
9022 * sysdeps/posix/nice.c: ... here.
9023
9024 * sysdeps/unix/alarm.c: Moved ...
9025 * sysdeps/posix/alarm.c: ... here.
9026
3bd9e993
RM
9027 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9028
d1f09384
JL
90292012-08-17 Jeff Law <law@redhat.com>
9030
9031 * intl/Makefile (codeset_mo): New variable.
9032 ($(codeset_mo)): New target.
9033 (tst-codeset.out): Depend on that. Remove explicit rule.
9034 (tst-gettext3.out, tst-gettext5.out): Likewise.
9035 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9036 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9037 * intl/tst-codeset.sh: Remove.
9038 * intl/tst-gettext3.sh: Likewise.
9039 * intl/tst-gettext5.sh: Likewise.
9040
2ae1ae5c
RM
90412012-08-17 Roland McGrath <roland@hack.frob.com>
9042
c31fdb83
RM
9043 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9044 * sysdeps/unix/syscalls.list: ... here.
9045
a0844057
RM
9046 * sysdeps/posix/getaddrinfo.c
9047 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9048 (gaiconf_init, gaiconf_reload): Use them.
9049 [!_STATBUF_ST_NSEC]
9050 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9051 Define using time_t rather than struct timespec.
9052
750c1f2a
RM
9053 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9054 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9055 Macros removed.
9056 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9057 [!NO_THREADS].
9058 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9059 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9060 Likewise.
9061
2ae1ae5c
RM
9062 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9063 __libc_cleanup_push argument.
9064
e66a42f5
RM
9065 * bits/param.h: New file.
9066 * misc/sys/param.h: New file.
9067 * include/sys/param.h: New file.
9068 * misc/Makefile (headers): Add bits/param.h.
9069 * sysdeps/generic/sys/param.h: File removed.
9070 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9071 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9072 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 9073 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 9074
b7c08a66
RM
9075 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9076 last change.
9077
b2e1c562
RM
9078 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9079 [_IO_MTSAFE_IO].
9080 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9081 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9082 New macros.
9083
c75ccd4c
RM
9084 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9085 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9086 rather than -D_IO_MTSAFE_IO conditionally.
9087 * stdio-common/Makefile (CPPFLAGS): Likewise.
9088 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9089 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9090 Use $(libio-mtsafe).
9091 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9092 of -D_IO_MTSAFE_IO.
9093 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9094 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9095 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9096 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9097 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9098 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9099 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9100 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9101 (CFLAGS-fread_u_chk.c): Likewise.
9102 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9103 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9104 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9105 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9106 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9107 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9108 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9109 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9110 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9111
9112 * libio/Makefile: Test [$(libc-reentrant) = yes]
9113 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9114
9115 * Makeconfig
9116 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9117 * sysdeps/pthread/configure: File removed.
9118 * sysdeps/pthread/Makeconfig: New file.
9119 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9120 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9121
d9195db8
GB
91222012-08-16 Gary Benson <gbenson@redhat.com>
9123
9124 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9125 unmapping the first object in a namespace.
9126
86466cd9
RM
91272012-08-16 Roland McGrath <roland@hack.frob.com>
9128
9129 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9130 (__internal_setnetgrent): ... this. Add internal_function to
9131 definition. Add libc_hidden_def.
9132 (setnetgrent): Update caller.
9133 (internal_endnetgrent): Renamed to ...
9134 (__internal_endnetgrent): ... this. Add internal_function to
9135 definition. Add libc_hidden_def.
9136 (endnetgrent): Update caller.
9137 (internal_getnetgrent_r): Renamed to ...
9138 (__internal_getnetgrent_r): ... this. Add internal_function to
9139 definition. Add libc_hidden_def.
9140 (__getnetgrent_r): Update caller.
9141 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9142
c3c8283c
JM
91432012-08-16 Joseph Myers <joseph@codesourcery.com>
9144
9145 * stdlib/longlong.h: Update from GCC.
9146
db1ee0a8
RM
91472012-08-16 Roland McGrath <roland@hack.frob.com>
9148
9149 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9150 on _QL, which is set by umul_ppmm but never used.
9151 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9152 variables, which are set by GMP macros but never used.
9153 * stdio-common/_itowa.c (_itowa): Likewise.
9154 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9155 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9156
30f69637
CD
91572012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9158
9159 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9160 struct La_sh_regs is not constant.
9161 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9162 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9163 and struct La_sparc64_regs are not constant.
9164
93a78ac4
JM
91652012-08-16 Joseph Myers <joseph@codesourcery.com>
9166
9167 * sysdeps/unix/sysv/linux/kernel-features.h
9168 (__ASSUME_POSIX_TIMERS): Remove.
9169 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9170 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9171 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9172 Make code unconditional.
9173 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9174 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9175 Make code unconditional.
9176 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9177 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9178 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9179 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9180 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9181 Make code unconditional.
9182 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9183 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9184 (__libc_missing_posix_timers): Remove.
9185
dd924cd7
RM
91862012-08-15 Roland McGrath <roland@hack.frob.com>
9187
4b4f2771
RM
9188 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9189 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9190
601c888b
RM
9191 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9192
176790a7
RM
9193 * elf/dl-sym.c: Include <stdlib.h>.
9194
329bc018
RM
9195 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9196 constants, which avoids warnings in 32-bit builds.
9197
e04e272d
RM
9198 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9199 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9200
952bf94a
RM
9201 * misc/lseek.c: File moved to ...
9202 * io/lseek.c: ... here.
9203
7c99b50a
RM
9204 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9205
dd924cd7
RM
9206 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9207 shifting LEN more than 31 bits at once.
9208
b3f479a8
LD
92092012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9210
9211 [BZ #14195]
8c4ae0d4
RM
9212 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9213 segmentation fault for a case of two empty input strings.
b3f479a8
LD
9214 * string/test-strncasecmp.c (check1): Renamed to...
9215 (bz12205): ...this.
9216 (bz14195): Add new testcase for two empty input strings and N > 0.
9217 (test_main): Call new testcase, adapt for renamed function.
9218
9c55864e
AJ
92192012-08-15 Andreas Jaeger <aj@suse.de>
9220
9221 [BZ #14090]
9222 * crypt/md5test2.c: New test, based on test supplied by Serge
9223 Belyshev <belyshev@depni.sinp.msu.ru>.
9224 * crypt/Makefile (xtests): Add md5test-giant..
9225 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9226
02dcb6c5
PE
92272012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9228
9229 [BZ #14090]
9230 * crypt/md5.c (md5_process_block): Don't assume the buffer
9231 length is less than 2**32.
9232 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9233 length is less than 2**64.
9234
a3f95dcc
RM
92352012-08-15 Roland McGrath <roland@hack.frob.com>
9236
be75d758
RM
9237 * string/str-two-way.h: Include <sys/param.h>.
9238 (MAX): Macro removed.
9239
7312ca90
RM
9240 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9241 Move #define and #undef of memmove to just before and after
9242 including <string.h>.
9243
9a0a5486
RM
9244 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9245 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9246 and after including <string.h>. Move declarations of
9247 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9248 to before #include "string/memmove.c".
9249
67cc348d
RM
9250 * include/dirent.h: Declare __getdirentries.
9251
a3f95dcc
RM
9252 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9253 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9254
ca98e171
MF
92552012-08-14 Mike Frysinger <vapier@gentoo.org>
9256
9257 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9258 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9259 * sysdeps/i386/configure: Regenerated.
9260 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9261 STABS_CURRENT_FILE, and STABS_FUN.
9262 (END): Remove call to STABS_FUN_END.
9263 (STABS_CURRENT_FILE1): Delete.
9264 (STABS_CURRENT_FILE): Likewise.
9265 (STABS_FUN): Likewise.
9266 (STABS_FUN_END): Likewise.
9267 (STABS_FUN2): Likewise.
9268 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9269 * sysdeps/x86_64/configure: Regenerated.
9270
5908bf46
RM
92712012-08-14 Roland McGrath <roland@hack.frob.com>
9272
9273 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 9274 * elf/dl-lookup.c: Likewise.
5908bf46 9275
f2c05b9e
JM
92762012-08-14 Joseph Myers <joseph@codesourcery.com>
9277
9278 * sysdeps/unix/sysv/linux/kernel-features.h
9279 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9280 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9281 unconditionally.
9282 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9283 unconditionally.
9284 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9285 condition on __ASSUME_CLONE_THREAD_FLAGS.
9286
e11f5155
AJ
92872012-08-14 Andreas Jaeger <aj@suse.de>
9288
9289 * sysdeps/i386/fpu/libm-test-ulps: Update.
9290
51a9ba86
MK
92912012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9292
2fdd4f78
AJ
9293 * include/atomic.h (atomic_exchange_and_add): Split into ...
9294 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9295 New atomic macros.
51a9ba86 9296
ba6cba9e
MT
92972012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9298
9299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9300
42443a47
JL
93012012-08-13 Jeff Law <law@redhat.com>
9302
9303 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9304 null byte in the output string.
9305
121dce05
JM
93062012-08-10 Joseph Myers <joseph@codesourcery.com>
9307
9308 * sysdeps/unix/sysv/linux/kernel-features.h
9309 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9310 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9311 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9312 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9313 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9314 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9315 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9316
bf51f568
JL
93172012-08-09 Jeff Law <law@redhat.com>
9318
9319 [BZ #13939]
9320 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9321 When avoid_arena is set, don't retry in the that arena. Pick the
9322 next one, whatever it might be.
9323 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9324 (arena_lock): Pass in new parameter to arena_get2.
9325 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9326 arena_get2.
9327 (__libc_malloc): Unify retrying after main arena failure with
9328 __libc_memalign version.
9329 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9330
f85fa270
L
93312012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9332
9333 [BZ #14166]
9334 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9335 to __redirect_strstr.
9336 (__strstr_sse42): Use typeof __redirect_strstr.
9337 (__strstr_ia32): Likewise.
9338 (__libc_strstr): New prototype.
9339 (strstr): Renamed to ...
9340 (__libc_strstr): This.
9341 (strstr): New strong alias of __libc_strstr.
9342 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9343 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9344 __redirect_time.
9345 Include <time.h>.
9346 (__libc_time): New prototype.
9347 (time_ifunc): Replace time with __libc_time.
9348 (time): New strong alias and hidden definition of __libc_time.
9349 (__GI_time): Remove strong alias.
9350 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9351 Include <stddef.h>.
9352 (memmove): Redefined to __redirect_memmove.
9353 (__memmove_sse2): Use typeof __redirect_memmove.
9354 (__memmove_ssse3): Likewise.
9355 (__memmove_ssse3_back): Likewise.
9356 (__libc_memmove): New prototype.
9357 (memmove): Renamed to ...
9358 (__libc_memmove): This.
9359 (memmove): New strong alias of __libc_memmove.
9360
33b4a91e
MS
93612012-08-08 Mark Salter <msalter@redhat.com>
9362
9363 * elf/elf.h
9364 (R_MN10300_TLS_GD): Define.
9365 (R_MN10300_TLS_LD): Likewise.
9366 (R_MN10300_TLS_LDO): Likewise.
9367 (R_MN10300_TLS_GOTIE): Likewise.
9368 (R_MN10300_TLS_IE): Likewise.
9369 (R_MN10300_TLS_LE): Likewise.
9370 (R_MN10300_TLS_DTPMOD): Likewise.
9371 (R_MN10300_TLS_DTPOFF): Likewise.
9372 (R_MN10300_TLS_TPOFF): Likewise.
9373 (R_MN10300_SYM_DIFF): Likewise.
9374 (R_MN10300_ALIGN): Likewise.
9375 (R_MN10300_NUM): Update.
9376
b36137f1
JM
93772012-08-08 Joseph Myers <joseph@codesourcery.com>
9378
9379 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9380 Remove.
9381
cdd915fd
RM
93822012-08-08 Roland McGrath <roland@hack.frob.com>
9383
a2433aac
RM
9384 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9385
cdd915fd
RM
9386 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9387 sysdeps/unix -> sysdeps/posix move.
9388 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9389
bf9b740a
AM
93902012-08-07 Allan McRae <allan@archlinux.org>
9391
9392 [BZ #14303]
9393 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9394 (SUNOS_CPP): Likewise.
9395 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9396 not found.
9397 (open_input): Call CPP using execvp.
9398
93df14ee
JM
93992012-08-07 Joseph Myers <joseph@codesourcery.com>
9400
9401 * sysdeps/unix/sysv/linux/kernel-features.h
9402 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9403 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9404 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9405 (__ASSUME_WAITID_SYSCALL): Likewise.
9406 * sysdeps/unix/sysv/linux/dl-execstack.c
9407 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9408 code unconditional.
9409 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9410 conditional code.
9411 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9412 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9413 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9414 code.
9415 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9416 unconditional.
9417 [__ASSUME_WAITID_SYSCALL]: Likewise.
9418 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9419
d34689de
RM
94202012-08-07 Roland McGrath <roland@hack.frob.com>
9421
a281decc
RM
9422 * sysdeps/unix/closedir.c: Renamed to ...
9423 * sysdeps/posix/closedir.c: ... here.
9424 * sysdeps/unix/dirfd.c: Renamed to ...
9425 * sysdeps/posix/dirfd.c: ... here.
9426 * sysdeps/unix/dirstream.h: Renamed to ...
9427 * sysdeps/posix/dirstream.h: ... here.
9428 * sysdeps/unix/fdopendir.c: Renamed to ...
9429 * sysdeps/posix/fdopendir.c: ... here.
9430 * sysdeps/unix/opendir.c: Renamed to ...
9431 * sysdeps/posix/opendir.c: ... here.
9432 * sysdeps/unix/readdir.c: Renamed to ...
9433 * sysdeps/posix/readdir.c: ... here.
9434 * sysdeps/unix/readdir_r.c: Renamed to ...
9435 * sysdeps/posix/readdir_r.c: ... here.
9436 * sysdeps/unix/rewinddir.c: Renamed to ...
9437 * sysdeps/posix/rewinddir.c: ... here.
9438 * sysdeps/unix/seekdir.c: Renamed to ...
9439 * sysdeps/posix/seekdir.c: ... here.
9440 * sysdeps/unix/telldir.c: Renamed to ...
9441 * sysdeps/posix/telldir.c: ... here.
9442 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9443 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9444 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9445 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9446
22895b47
RM
9447 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9448 * bits/fcntl.h: ... here.
9449
707a53b6
RM
9450 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9451 not 0.
9452 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9453 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9454 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9455 (struct flock): Move l_start, l_len to the beginning.
9456 Use __pid_t for l_pid.
9457 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9458 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9459 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9460 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9461 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9462 [__USE_LARGEFILE64] (struct flock64): New type.
9463 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9464
f0bd3e25
RM
9465 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9466 * bits/dirent.h: ... here.
9467
d34689de
RM
9468 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9469 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9470
6dad2c06
JM
94712012-08-07 Joseph Myers <joseph@codesourcery.com>
9472
9473 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9474 Change from 2.6.0 to 2.6.16.
9475 * sysdeps/unix/sysv/linux/configure: Regenerated.
9476 * sysdeps/unix/sysv/linux/kernel-features.h
9477 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9478 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9479 version.
9480 (__ASSUME_UTIMES): Likewise.
9481 (__ASSUME_CLONE_STOPPED): Remove.
9482 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9483 architectures, not kernel version.
9484 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9485 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9486 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9487 (__ASSUME_WAITID_SYSCALL): Likewise.
9488 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9489 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9490 * README: State 2.6.16 as minimum Linux kernel version. Do not
9491 refer to older versions.
9492
03af9520
RM
94932012-08-06 Roland McGrath <roland@hack.frob.com>
9494
8e49df1d
RM
9495 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9496 Define alphasort64 as an alias.
9497 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9498 Define versionsort64 as an alias.
9499 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9500 Define scandir64 as an alias.
9501 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9502 Define scandirat64 as an alias.
9503 * dirent/alphasort64.c (alphasort64):
9504 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9505 * dirent/versionsort64.c: Likewise.
9506 * dirent/scandir64.c: Likewise.
9507 * dirent/scandirat64.c: Likewise.
9508 * sysdeps/wordsize-64/alphasort.c: File removed.
9509 * sysdeps/wordsize-64/alphasort64.c: File removed.
9510 * sysdeps/wordsize-64/scandir.c: File removed.
9511 * sysdeps/wordsize-64/scandir64.c: File removed.
9512 * sysdeps/wordsize-64/scandirat.c: File removed.
9513 * sysdeps/wordsize-64/scandirat64.c: File removed.
9514 * sysdeps/wordsize-64/versionsort.c: File removed.
9515 * sysdeps/wordsize-64/versionsort64.c: File removed.
9516 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9517 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9518 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9519 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9520 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9521 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9522 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9523 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9524
9525 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9526 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9527 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9528 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9529 [defined __arch64__ || defined __sparcv9]
9530 (__INO_T_MATCHES_INO64_T): New macro.
9531 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9532 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9533 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9534 * sysdeps/unix/sysv/linux/bits/dirent.h
9535 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9536 (_DIRENT_MATCHES_DIRENT64): New macro.
9537
03af9520
RM
9538 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9539 Define lockf64 as an alias.
9540 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9541 Define fseeko64 as an alias.
9542 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9543 Define ftello64 as an alias.
9544 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9545 Define _IO_fgetpos64 and fgetpos64 as aliases.
9546 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9547 Define _IO_fsetpos64 and fsetpos64 as aliases.
9548 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9549 Conditionalize body on this.
9550 * libio/fseeko64.c: Likewise.
9551 * libio/ftello64.c: Likewise.
9552 * libio/iofgetpos64.c: Likewise.
9553 * libio/iofsetpos64.c: Likewise.
9554 * sysdeps/wordsize-64/lockf.c: File removed.
9555 * sysdeps/wordsize-64/lockf64.c: File removed.
9556 * sysdeps/wordsize-64/fseeko.c: File removed.
9557 * sysdeps/wordsize-64/fseeko64.c: File removed.
9558 * sysdeps/wordsize-64/ftello.c: File removed.
9559 * sysdeps/wordsize-64/ftello64.c: File removed.
9560 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9561 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9562 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9563 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9564 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9565 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9566 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9567 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9568 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9569 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9570 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9571 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9572 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9573 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9574
9575 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9576 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9577 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9578 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9579 [defined __arch64__ || defined __sparcv9]
9580 (__OFF_T_MATCHES_OFF64_T): New macro.
9581 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9582 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9583 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9584 (__OFF_T_MATCHES_OFF64_T): New macro.
9585
c5757acd
L
95862012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9587
9588 * stdlib/secure-getenv.c (__secure_getenv): Replace
9589 GLIBC_2_16 with GLIBC_2_17.
9590
3a31811e
L
95912012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9592
9593 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9594 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9595
faa2bccb
DM
95962012-08-03 David S. Miller <davem@davemloft.net>
9597
9598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9599
85fe1997
JM
96002012-08-03 Joseph Myers <joseph@codesourcery.com>
9601
9602 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9603 Remove.
9604 (__ASSUME_CORRECT_SI_PID): Likewise.
9605 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9606 (__ASSUME_TMPFS_NAME): Likewise.
9607 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9608 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9609 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9610 (HAVE_AUX_SECURE): Make definition unconditional.
9611 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9612 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9613
4f75b7a0
RM
96142012-08-03 Roland McGrath <roland@hack.frob.com>
9615
9616 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9617 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9618 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9619 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9620 __eloop_threshold instead of SYMLOOP_MAX.
9621
9622 * sysdeps/generic/eloop-threshold.h: New file.
9623 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9624 of MAXSYMLINKS.
9625 * elf/chroot_canon.c (chroot_canon): Likewise.
9626
7aab07e4
JM
96272012-08-03 Joseph Myers <joseph@codesourcery.com>
9628
9629 [BZ #13717]
9630 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9631 Change to 2.6.0 everywhere.
9632 * sysdeps/unix/sysv/linux/configure: Regenerated.
9633 * sysdeps/unix/sysv/linux/kernel-features.h
9634 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9635 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9636 kernel versions.
9637 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9638 (__ASSUME_FUTEX_REQUEUE): Remove.
9639 (__ASSUME_STATFS64): Define unconditionally.
9640 (__ASSUME_AT_SECURE): Likewise.
9641 (__ASSUME_CORRECT_SI_PID): Likewise.
9642 (__ASSUME_TGKILL): Define without depending on kernel version for
9643 i386.
9644 (__ASSUME_UTIMES): Likewise.
9645 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9646 kernel version.
9647 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9648 (__ASSUME_TMPFS_NAME): Likewise.
9649 * README: Update reference to Linux kernel versions.
9650
b67e9372
MP
96512012-08-02 Marek Polacek <polacek@redhat.com>
9652
1f529f7d 9653 [BZ# 14150]
b67e9372
MP
9654 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9655 libc_cv_asm_type_prefix with %.
9656 * configure: Regenerated.
d2441631
RM
9657 * include/libc-symbols.h: Remove comment about
9658 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
9659 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9660 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9661 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9662 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9663 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9664 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9665 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9666 * elf/tst-unique2mod1.c: Likewise.
9667 * elf/tst-unique1mod2.c: Likewise.
9668 * elf/tst-unique1mod1.c: Likewise.
9669 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9670 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9671 Replace ASM_TYPE_DIRECTIVE with .type.
9672 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9673 * sysdeps/i386/sysdep.h: Likewise.
9674 * sysdeps/x86_64/sysdep.h: Likewise.
9675 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
9676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9677 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 9678 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
9679 * sysdeps/powerpc/powerpc32/sysdep.h:
9680 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
9681 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9682 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9683 * sysdeps/i386/fpu/e_powf.S: Likewise.
9684 * sysdeps/i386/fpu/e_expl.S: Likewise.
9685 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9686 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9687 * sysdeps/i386/fpu/e_pow.S: Likewise.
9688 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9689 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9690 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9691 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9692 * sysdeps/i386/fpu/e_log2.S: Likewise.
9693 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9694 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9695 * sysdeps/i386/fpu/e_powl.S: Likewise.
9696 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9697 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9698 * sysdeps/i386/fpu/e_logl.S: Likewise.
9699 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9700 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9701 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9702 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9703 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9704 * sysdeps/i386/fpu/e_log.S: Likewise.
9705 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9706 * sysdeps/i386/fpu/e_logf.S: Likewise.
9707 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9708 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9709 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9710 * sysdeps/i386/fpu/e_log10.S: Likewise.
9711 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9712 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9713 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9714 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9715 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9716 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9717 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9718 * sysdeps/i386/i686/strtok.S: Likewise.
9719 * sysdeps/i386/i386-mcount.S: Likewise.
9720 * sysdeps/i386/strtok.S: Likewise.
9721 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9722 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9723 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9724 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9725 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9726 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9727 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9728 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9729 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9730 * sysdeps/x86_64/_mcount.S: Likewise.
9731 * sysdeps/x86_64/strtok.S: Likewise.
9732 * sysdeps/sh/_mcount.S: Likewise.
9733
2747bf9a
RM
97342012-08-01 Roland McGrath <roland@hack.frob.com>
9735
9736 * libio/iofopen.c: Include <fcntl.h>.
9737 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9738 (_IO_fopen64, fopen64): Define as aliases.
9739 * libio/iofopen64.c: Include <fcntl.h>.
9740 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9741 Conditionalize body on this.
9742 * sysdeps/wordsize-64/iofopen.c: File removed.
9743 * sysdeps/wordsize-64/iofopen64.c: File removed.
9744
3fb791b8
MP
97452012-08-01 Marek Polacek <polacek@redhat.com>
9746
9747 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9748 Use dlfcn directly instead of a variable.
9749 (binfmt-subdir): Do not define.
9750 (dlfcn): Likewise.
9751
a9f1039f
JM
97522012-08-01 Joseph Myers <joseph@codesourcery.com>
9753
23bddc06
JM
9754 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9755 Remove all definitions.
9756 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9757 <kernel-features.h>.
9758 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9759 (miss_F_GETOWN_EX): Remove all definitions.
9760 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9761 macro definition.
9762 [!__ASSUME_FCNTL64]: Remove conditional code.
9763 [__ASSUME_FCNTL64]: Make code unconditional.
9764 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9765 <kernel-features.h>.
9766 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9767 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9768 (lockf64) [__NR_fcntl64]: Make code unconditional.
9769 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9770
a9f1039f
JM
9771 * sysdeps/unix/sysv/linux/kernel-features.h
9772 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9773 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9774 Make code unconditional.
9775 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9776 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9778 [__NR_vfork]: Make code unconditional.
9779 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9780 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9782 [__NR_vfork]: Make code unconditional.
9783 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9784 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9785
09c0ee5f
RM
97862012-08-01 Roland McGrath <roland@hack.frob.com>
9787
48aec5b9
RM
9788 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9789 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9790
cd97c966
RM
9791 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9792 Define mkstemp64 as an alias.
3f55550c
RM
9793 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9794 Define mkstemps64 as an alias.
cd97c966
RM
9795 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9796 Define mkostemp64 as an alias.
b8625cfc
RM
9797 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9798 Define mkostemps64 as an alias.
cd97c966
RM
9799 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9800 Conditionalize body on this.
9801 * misc/mkostemp64.c: Likewise.
b8625cfc 9802 * misc/mkostemps64.c: Likewise.
3f55550c 9803 * misc/mkstemps64.c: Likewise.
cd97c966
RM
9804 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9805 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9806 * sysdeps/wordsize-64/mkostemp.c: File removed.
9807 * sysdeps/wordsize-64/mkstemp.c: File removed.
9808 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9809 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9810 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9811 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9812
09c0ee5f
RM
9813 [BZ #14138]
9814 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9815 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9816 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9817 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9818
9819 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9820 compat_symbol macros from <shlib-compat.h> rather than the underlying
9821 default_symbol_version and symbol_version macros, so that DEFAULT
9822 lines in shlib-versions are respected.
9823 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9824
7e66ee51
FW
98252012-08-01 Florian Weimer <fweimer@redhat.com>
9826
9827 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9828 Declare with warn_unused_result.
9829 (setgid, setregid, setegid, setresgid): Likewise.
9830 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9831 Likewise.
9832 * WUR-REPORT: Remove set*id functions.
9833
d2a54255
PT
98342012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9835
9836 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9837
7ecdb005
RM
98382012-07-31 Roland McGrath <roland@hack.frob.com>
9839
789bd351
RM
9840 * include/sys/socket.h (__libc_accept, __libc_accept4):
9841 Add attribute_hidden.
9842 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9843
40ce302d
RM
9844 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9845 use of PTR_MANGLE.
9846 * inet/getnetgrent_r.c (setup): Likewise.
9847
7ecdb005
RM
9848 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9849
e2eabb2c
DM
98502012-07-31 David S. Miller <davem@davemloft.net>
9851
9852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9853
d0419dbf
JM
98542012-07-31 Joseph Myers <joseph@codesourcery.com>
9855
9856 [BZ #13629]
9857 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9858 value between 1.0 and 2.0 and smaller part has absolute value less
9859 than 1.0.
9860 * math/s_clog10.c (__clog10): Likewise.
9861 * math/s_clog10f.c (__clog10f): Likewise.
9862 * math/s_clog10l.c (__clog10l): Likewise.
9863 * math/s_clogf.c (__clogf): Likewise.
9864 * math/s_clogl.c (__clogl): Likewise.
9865 * math/libm-test.inc (clog_test): Add more tests.
9866 (clog10_test): Likewise.
9867 * sysdeps/i386/fpu/libm-test-ulps: Update.
9868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9869
2bc13872
FW
98702012-07-31 Florian Weimer <fweimer@redhat.com>
9871
9872 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9873 Exit with zero in case no suitable GID is found, and write a
9874 message to standard error.
9875
bea9b193
RM
98762012-07-30 Roland McGrath <roland@hack.frob.com>
9877
9878 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9879 rather than to 1.
9880 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9881 (MAXPATHLEN): Removed.
9882 (NOGROUP, NODEV): New macros.
9883 (setbit, clrbit, isset, isclr): New macros.
9884 (howmany, roundup, powerof2): New macros.
9885 (DEV_BSIZE): New macro.
9886
9887 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9888 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9889
9890 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9891 definition on [!__NO_LONG_DOUBLE_MATH].
9892
9893 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9894 PTR_MANGLE and PTR_DEMANGLE.
9895
9896 * socket/accept4.c (accept4): Rename to __libc_accept4.
9897 Define accept4 as a weak alias.
9898
9899 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9900 on [_DIRENT_HAVE_D_TYPE].
9901 * io/ftw.c (ftw_dir): Likewise.
9902
9903 * io/xmknod.c (__xmknod): Don't check PATH for being null.
9904
9905 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9906
9907 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9908 Use the BSD numbers rather than the arbitrary ones we had.
9909 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9910 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9911 (SIGXCPU, SIGXFSZ): New macros.
9912 (_NSIG): Now 32.
9913
9914 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9915 initializer on [_LIBC_REENTRANT].
9916
9917 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9918 definitions inside [_POSIX_MAPPED_FILES].
9919
9920 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9921
9922 * dirent/opendir.c: Include <fcntl.h>.
9923
9924 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9925 (__libc_getspecific): Likewise.
9926 (__libc_key_create): Likewise.
9927
9928 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9929 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9930 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9931 (tmpfile64): Define as alias.
9932 * sysdeps/wordsize-64/tmpfile.c: File removed.
9933 * sysdeps/wordsize-64/tmpfile64.c: File removed.
9934 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9935 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9936
9937 * stdio-common/vfscanf.c: Include <stdbool.h>.
9938 * nss/makedb.c: Likewise.
9939 * stdio-common/_i18n_number.h: Likewise.
9940 * argp/argp-help.c: Likewise.
9941 * posix/wordexp.c: Likewise.
9942 * sysdeps/posix/spawni.c: Likewise.
9943 * nss/nss_files/files-initgroups.c: Likewise.
9944 * stdio-common/reg-modifier.c: Include <stdlib.h>.
9945 * nss/nss_files/files-initgroups.c: Likewise.
9946 * nss/nss_db/db-netgrp.c: Likewise.
9947 * nss/nss_db/db-initgroups.c: Likewise.
9948 * io/fchmodat.c: Include <sys/stat.h>.
9949
9950 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9951 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9952
9953 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9954 [HAVE_MMAP].
9955
9956 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9957 Add multiple inclusion protection.
9958
e5abc686
DM
99592012-07-27 David S. Miller <davem@davemloft.net>
9960
9961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9962
815e6fa3
GB
99632012-07-27 Gary Benson <gbenson@redhat.com>
9964
9965 [BZ #14298]
9966 * elf/rtld.c: Include <stap-probe.h>.
9967 (dl_main): Added static probes "init_start" and "init_complete".
9968 * elf/dl-load.c: Include <stap-probe.h>.
9969 (lose): Take new parameter "nsid".
9970 Added static probe "map_failed".
9971 (_dl_map_object_from_fd): Pass namespace id to lose.
9972 Added static probe "map_start".
9973 (open_verify): Pass namespace id to lose.
9974 * elf/dl-open.c: Include <stap-probe.h>.
9975 (dl_open_worker) Added static probes "map_complete", "reloc_start"
9976 and "reloc_complete".
9977 * elf/dl-close.c: Include <stap-probe.h>.
9978 (_dl_close_worker): Added static probes "unmap_start" and
9979 "unmap_complete".
9980 * elf/rtld-debugger-interface.txt: New file documenting the above.
9981
9f98c16c
RM
99822012-07-26 Roland McGrath <roland@hack.frob.com>
9983
9984 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9985 rather than a string variable.
9986 * sunrpc/rpc_main.c (h_output): Likewise.
9987 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9988
f3c22df3
PT
99892012-07-26 Pino Toscano <toscano.pino@tiscali.it>
9990
9991 * inet/check_native.c: New file.
9992
3129cfc6
JM
99932012-07-26 Joseph Myers <joseph@codesourcery.com>
9994
da865e95
JM
9995 [BZ #13629]
9996 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9997 if larger part has absolute value 1.0.
9998 * math/s_clog10.c (__clog10): Likewise.
9999 * math/s_clog10f.c (__clog10f): Likewise.
10000 * math/s_clog10l.c (__clog10l): Likewise.
10001 * math/s_clogf.c (__clogf): Likewise.
10002 * math/s_clogl.c (__clogl): Likewise.
10003 * math/libm-test.inc (clog_test): Add more tests.
10004 (clog10_test): Likewise.
10005 * sysdeps/i386/fpu/libm-test-ulps: Update.
10006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10007
3129cfc6
JM
10008 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10009 (pltexit): Likewise.
10010 (La_regs): Likewise.
10011 (La_retval): Likewise.
10012 (int_retval): Likewise.
10013 Update #error for removed macros to refer only to definitions in
10014 tst-audit.h.
10015 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10016 macro.
10017 (pltexit): Likewise.
10018 (La_regs): Likewise.
10019 (La_retval): Likewise.
10020 (int_retval): Likewise.
10021 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10022 macro.
10023 (pltexit): Likewise.
10024 (La_regs): Likewise.
10025 (La_retval): Likewise.
10026 (int_retval): Likewise.
10027 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10028 macro.
10029 (pltexit): Likewise.
10030 (La_regs): Likewise.
10031 (La_retval): Likewise.
10032 (int_retval): Likewise.
10033 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10034 macro.
10035 (pltexit): Likewise.
10036 (La_regs): Likewise.
10037 (La_retval): Likewise.
10038 (int_retval): Likewise.
10039 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10040 macro.
10041 (pltexit): Likewise.
10042 (La_regs): Likewise.
10043 (La_retval): Likewise.
10044 (int_retval): Likewise.
10045 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10046 macro.
10047 (pltexit): Likewise.
10048 (La_regs): Likewise.
10049 (La_retval): Likewise.
10050 (int_retval): Likewise.
10051 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10052 macro definitions in tst-audit.h.
10053 * sysdeps/i386/tst-audit.h: New file.
10054 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10055 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10056 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10057 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10058 * sysdeps/sh/tst-audit.h: Likewise.
10059 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10060 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10061 * sysdeps/x86_64/tst-audit.h: Likewise.
10062
bfc07087
AJ
100632012-07-26 Andreas Jaeger <aj@suse.de>
10064
b1b2aaf8
AJ
10065 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10066 ptrace.
10067
10068 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10069 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10070 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10071 PTRACE_O_MASK.
10072 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10073 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10074 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10075
bfc07087
AJ
10076 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10077 value.
10078
10079 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10080 _sigsys.
10081 (si_call_addr, si_syscall, si_arch): Define new macro.
10082 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10083 _sigsys.
10084 (si_call_addr, si_syscall, si_arch): Define new marcro.
10085 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10086 _sigsys.
10087 (si_call_addr, si_syscall, si_arch): Define new macro.
10088 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10089 _sigsys.
10090 (si_call_addr, si_syscall, si_arch): Define new macro.
10091
89b4b02f
JM
100922012-07-25 Joseph Myers <joseph@codesourcery.com>
10093
10094 [BZ #13717]
10095 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10096 Change to 2.4.21 where previously 2.4.1.
10097 * sysdeps/unix/sysv/linux/configure: Regenerated.
10098 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10099 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10100 Linux kernel version.
10101 (__ASSUME_STD_AUXV): Remove.
10102 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10103 kernel version.
10104 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10105 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10106 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10107 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10108 (__ASSUME_NETLINK_SUPPORT): Likewise.
10109 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10110 (__no_netlink_support): Remove conditional definition.
10111 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10112 Remove.
10113 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10114 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10115 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10116 (if_nameindex_ioctl): Remove.
10117 (if_nameindex_netlink): Do not handle __no_netlink_support.
10118 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10119 code.
10120 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10121 Remove conditional code.
10122 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10123 code.
10124 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10125 unconditional.
10126 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10127 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10128 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10129 Remove.
10130 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10131 [!__ASSUME_STD_AUXV]: Remove conditional code.
10132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10133 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10134 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10136 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10137 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10138 code.
10139 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10141 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10142 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10143 conditional code.
10144 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10146 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10147 code.
10148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10149 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10150 conditional code.
10151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10152 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10153 code unconditional.
10154 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10155 conditional code.
10156 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10157 unconditional.
10158 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10159 conditional code.
10160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10161 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10162 unconditional.
10163 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10164 conditional code.
10165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10166 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10167 code unconditional.
10168 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10169 conditional code.
10170 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10171 unconditional.
10172 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10173 conditional code.
10174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10175 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10176 code unconditional.
10177 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10178 conditional code.
10179 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10180 unconditional.
10181 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10182 conditional code.
10183
842a39cd
AS
101842012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10185
10186 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10187 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10188 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10189 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10190 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10191 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10192 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10193 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10194 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10195 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10196 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10197 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10198 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10199 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10200 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10201 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10202 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10203 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10204 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10205 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10206 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10207 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10208 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10209
84b3fd84
FW
102102012-07-25 Florian Weimer <fweimer@redhat.com>
10211
10212 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
10213 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10214 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10215 Introduce __libc_secure_getenv.
0c7936d5
FW
10216 * stdlib/Versions (2.17): Add secure_getenv
10217 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10218 * stdlib/secure-getenv.c: Rename __secure_getenv to
10219 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10220 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
10221 * stdlib/tst-secure-getenv.c: New.
10222 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
10223 * manual/startup.texi (Environment Access): Document
10224 secure_getenv.
84b3fd84
FW
10225 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10226 __libc_secure_getenv.
10227 * inet/ruserpass.c (ruserpass): Likewise.
10228 * malloc/mtrace.c (mtrace): Likewise.
10229 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 10230 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
10231 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10232 * sysdeps/posix/tempname.c: Likewise. Evaluate
10233 HAVE_SECURE_GETENV.
10234 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 10235 __secure_getenv to __libc_secure_getenv.
84b3fd84 10236 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
10237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10238 Likewise.
10239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10240 Likewise.
10241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10242 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10243 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10246 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 10248
56e49b71
JM
102492012-07-25 Joseph Myers <joseph@codesourcery.com>
10250
10251 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10252 (struct La_i86_retval): Likewise.
10253 (struct La_x86_64_regs): Likewise.
10254 (struct La_x86_64_retval): Likewise.
10255 (struct La_x32_regs): Likewise.
10256 (struct La_x32_retval): Likewise.
10257 (struct La_ppc32_regs): Likewise.
10258 (struct La_ppc32_retval): Likewise.
10259 (struct La_ppc64_regs): Likewise.
10260 (struct La_ppc64_retval): Likewise.
10261 (struct La_sh_regs): Likewise.
10262 (struct La_sh_retval): Likewise.
10263 (struct La_s390_32_regs): Likewise.
10264 (struct La_s390_32_retval): Likewise.
10265 (struct La_s390_64_regs): Likewise.
10266 (struct La_s390_64_retval): Likewise.
10267 (struct La_sparc32_regs): Likewise.
10268 (struct La_sparc32_retval): Likewise.
10269 (struct La_sparc64_regs): Likewise.
10270 (struct La_sparc64_retval): Likewise.
10271 (struct audit_ifaces): Remove architecture-specific pltenter and
10272 pltexit members.
10273 * sysdeps/i386/ldsodefs.h: New file.
10274 * sysdeps/powerpc/ldsodefs.h: Likewise.
10275 * sysdeps/s390/ldsodefs.h: Likewise.
10276 * sysdeps/sh/ldsodefs.h: Likewise.
10277 * sysdeps/sparc/ldsodefs.h: Likewise.
10278 * sysdeps/x86_64/ldsodefs.h: Likewise.
10279
354691b7
MP
102802012-07-25 Marek Polacek <polacek@redhat.com>
10281
10282 [BZ #6808]
10283 * math/libm-test.inc (yn_test): Add another test.
10284 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10285 to ERANGE when the result is +-Inf.
10286 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10287 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10288 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10289 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10290
bf9e2071
JM
102912012-07-24 Joseph Myers <joseph@codesourcery.com>
10292
10293 * conform/data/time.h-data (NULL): Use macro-constant. Require
10294 equal to 0.
10295 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10296 clock_t.
10297 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10298
57633811
TS
102992012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10300
10301 * configure.in <sysdeps resolving>: Correct printing
10302 Implies_before.
10303 * configure: Regenerate.
10304
c23c33b0
TS
103052012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10306
10307 * math/w_ilogb.c: Include <limits.h>.
10308 * math/w_ilogbl.c: Likewise.
10309
b5982523
JM
103102012-07-20 Joseph Myers <joseph@codesourcery.com>
10311
10312 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10313 va_copy. Document allowing for unavailable va_copy only as
10314 pre-C99 compatibility.
10315 * manual/string.texi (Copying and Concatenation): Use va_copy
10316 instead of __va_copy in concat example.
10317
ac4ea442
PT
103182012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10319
10320 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10321 (__sendto): Use create_address_port. Initialize APORT and deallocate
10322 it if not null.
10323
f98eafbd
PT
10324 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10325 with O_NOLINK passed to __file_name_lookup.
10326
898c7aab
PT
10327 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10328 with O_NOLINK passed to __file_name_lookup.
10329
0ced335a
PT
10330 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10331 negative N or less than NGIDS.
10332
b3404dbd
PT
10333 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10334 type to string_t. Set ERANGE as errno and return it if NAME is not big
10335 enough. Use memcpy instead of strncpy.
10336
0f48659e
JM
103372012-07-20 Joseph Myers <joseph@codesourcery.com>
10338
10339 * elf/Makefile (check-data): Remove.
10340 (localplt.data): New vpath directive.
10341 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10342 instead of $(check-data).
10343 * scripts/data/localplt-generic.data: Move to ...
10344 * sysdeps/generic/localplt.data: ... here.
10345 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10346 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10347 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10349 ... here.
10350 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10352 ... here.
10353 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10355 ... here.
10356 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10357 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10358 ... here.
10359 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10360 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10361 ... here.
10362 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10363 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10364 ... here.
10365
d37cbdaa
AZ
103662012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10367
10368 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10369 PPC32 and PPC64 files.
10370 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10371 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10372
46f85fc2
AK
103732012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10374
10375 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10376 __makecontext_ret to ...
10377 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10378 ... here and call exit if uc_link is NULL. New file.
10379 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10380 __makecontext_ret.S.
10381 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10382 __makecontext_ret to ...
10383 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10384 ... here and call exit if uc_link is NULL. New file.
10385 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10386 __makecontext_ret.S.
10387
08f43f9b
AK
103882012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10389
10390 * elf/elf.h (R_390_IRELATIVE): New definition.
10391 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10392 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10393 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10394 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10395 (elf_machine_lazy_rel): Likewise.
10396 * sysdeps/s390/dl-irel.h: New file.
10397 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10398 * sysdeps/s390/s390-64/memset.S: New asm code.
10399 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10400 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10401 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10402 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10403 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10404 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10405 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10406 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10407 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10408 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10409 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10410 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10411 * sysdeps/s390/s390-32/memset.S: New asm code.
10412 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10413
3b05db33
MP
104142012-07-17 Marek Polacek <polacek@redhat.com>
10415
10416 [BZ #14349]
10417 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10418 * sysdeps/s390/s390-64/configure.in: Likewise.
10419 * sysdeps/sparc/configure.in: Likewise.
10420 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10421 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10422 * sysdeps/i386/configure.in: Likewise.
10423 * sysdeps/x86_64/configure.in: Likewise.
10424 * sysdeps/sh/configure.in: Likewise.
10425 * sysdeps/s390/s390-32/configure: Regenerated.
10426 * sysdeps/s390/s390-64/configure: Likewise.
10427 * sysdeps/x86_64/configure: Likewise.
10428 * sysdeps/sh/configure: Likewise.
10429 * sysdeps/powerpc/powerpc64/configure: Likewise.
10430 * sysdeps/powerpc/powerpc32/configure: Likewise.
10431 * sysdeps/sparc/configure: Likwise.
10432 * sysdeps/i386/configure: Likewise.
10433
a66877c6
MP
10434 * elf/dl-open.c: Comment fixes.
10435
cfc82fd8
JM
104362012-07-17 Joseph Myers <joseph@codesourcery.com>
10437
bd29910a
JM
10438 * Makefile [CXX] (check-data): Remove.
10439 [CXX] (c++-types.data): New vpath directive.
10440 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10441 vpath. Do not allow for C++ type data being missing.
10442 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10443 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10444 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10445 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10446 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10447 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10448 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10450 ... here.
10451 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10453 ... here.
10454 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10456 ... here.
10457 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10459 ... here.
10460 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10461 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10462 ... here.
10463 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10465 ... here.
10466 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10467 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10468 ... here.
10469 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10470 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10471
cfc82fd8
JM
10472 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10473 definitions to architecture-specific files.
10474 (TLS_IE): Likewise.
10475 (TLS_LD): Likewise.
10476 (TLS_GD): Likewise.
10477 * sysdeps/i386/tls-macros.h: New file.
10478 * sysdeps/powerpc/tls-macros.h: Likewise.
10479 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10480 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10481 * sysdeps/sh/tls-macros.h: Likewise.
10482 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10483 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10484 * sysdeps/x86_64/tls-macros.h: Likewise.
10485
f7db3170
TS
104862012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10487
07cbfc23
TS
10488 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10489 zero value for regular exit case.
10490
f7db3170
TS
10491 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10492 (__start_context): Preserve zero value for regular exit case.
10493
dc97c227
TS
104942012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10495 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10496
10497 * manual/setjmp.texi (setcontext): Clarify normal process
10498 termination when uc_link is the null pointer.
10499 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10500 exit call.
10501
d0cd7d02
AS
105022012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10503
10504 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10505 preprocessor. Test for each exception mask separately.
10506
dd318934
AJ
105072012-07-16 Andreas Jaeger <aj@suse.de>
10508
10509 * po/ru.po: Update from translation team.
10510
8048311a
JM
105112012-07-15 Joseph Myers <joseph@codesourcery.com>
10512
10513 * conform/data/string.h-data (NULL): Use macro-constant. Require
10514 equal to 0.
10515 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10516 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10517 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10518 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10519 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10520
b637d46e
AJ
105212012-07-13 Andreas Jaeger <aj@suse.de>
10522
10523 * po/fr.po: Update from translation team.
10524
541428fe
MP
105252012-07-12 Marek Polacek <polacek@redhat.com>
10526
10527 [BZ #14173]
10528 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10529 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10530 loop condition.
10531
ec332e94
JM
105322012-07-12 Joseph Myers <joseph@codesourcery.com>
10533
10534 [BZ #13717]
10535 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10536 Change to 2.4.1 where previously 2.4.0.
10537 * sysdeps/unix/sysv/linux/configure: Regenerated.
10538 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10539 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10540 version.
10541 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10542 (__ASSUME_AT_CLKTCK): Remove.
10543 (__ASSUME_AT_PAGESIZE): Likewise.
10544 (__ASSUME_AT_XID): Likewise.
10545 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10546 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10547 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10548 unconditionally.
10549 (HAVE_AUX_PAGESIZE): Likewise.
10550 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10551 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10552 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10553
7b6e99be
JB
105542012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10555
10556 [BZ #14307]
10557 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10558 the temporary buffer used to invoke __gethostbyname2_r,
10559 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10560 host_data / struct gaih_addrtuple.
10561 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10562 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10563 header file nss/nsswitch.h.
10564 * nss/nsswitch.h (global scope): Add definition of implementation
10565 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10566 resolv/nss_dns/dns-host.c).
10567
608404eb
AJ
105682012-07-11 Andreas Jaeger <aj@suse.de>
10569
10570 * po/fr.po: Update from translation team.
10571
71220aca
AJ
10572 * po/sv.po: Update from translation team
10573 * po/fr.po: Another update from translation team.
10574
28cfe843
AZ
105752012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10576
10577 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10578 for subnormals or multiply small sinh result by itself.
10579 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10581
6b90f981
DM
105822012-07-11 David S. Miller <davem@davemloft.net>
10583
10584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10585
c6825772
AS
105862012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10587
10588 [BZ #14347]
10589 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10590 (INTERNAL_MARK): Shift it here.
10591
7b8e0d49
MP
105922012-07-10 Marek Polacek <polacek@redhat.com>
10593
10594 [BZ #14151]
10595 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10596 libc_cv_asm_global_directive with .globl.
10597 * configure: Regenerated.
10598 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10599 with .globl.
10600 * sysdeps/i386/configure: Regenerated.
10601 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10602 with .globl.
10603 * sysdeps/x86_64/configure: Regenerated.
10604 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10605 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10606 * elf/tst-unique2mod2.c: Likewise.
10607 * elf/tst-unique2mod1.c: Likewise.
10608 * elf/tst-unique1mod2.c: Likewise.
10609 * elf/tst-unique1mod1.c: Likewise.
10610 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10611 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10612 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10613 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10614 * sysdeps/mach/sysdep.h: Likewise.
10615 * sysdeps/i386/sysdep.h: Likewise.
10616 * sysdeps/i386/i386-mcount.S: Likewise.
10617 * sysdeps/x86_64/_mcount.S: Likewise.
10618 * sysdeps/x86_64/sysdep.h: Likewise.
10619 * sysdeps/sh/_mcount.S: Likewise.
10620 * sysdeps/sh/sysdep.h: Likewise.
10621 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10622 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10623 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10624 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10625 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10626 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10627 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10628 * locale/localeinfo.h: Likewise.
10629 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10630 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10631
6c55cda3
RM
106322012-07-09 Roland McGrath <roland@hack.frob.com>
10633
10634 [BZ #14336]
10635 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10636 system".
10637 * manual/message.texi (The Uniforum approach): Likewise.
10638 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10639 (glibc iconv Implementation): Likewise.
10640
638a572e
JM
106412012-07-09 Joseph Myers <joseph@codesourcery.com>
10642
10643 [BZ #14337]
10644 * math/s_clog.c (__clog): Avoid scaling a value down where that
10645 could result in underflow.
10646 * math/s_clog10.c (__clog10): Likewise.
10647 * math/s_clog10f.c (__clog10f): Likewise.
10648 * math/s_clog10l.c (__clog10l): Likewise.
10649 * math/s_clogf.c (__clogf): Likewise.
10650 * math/s_clogl.c (__clogl): Likewise.
10651 * math/libm-test.inc (clog_test): Add more tests.
10652 (clog10_test): Likewise.
10653 * sysdeps/i386/fpu/libm-test-ulps: Update.
10654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10655
261f4859
AS
106562012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10657
0abaf3e4
AS
10658 [BZ #14283]
10659 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10660 by 7 not 8 to examine high bit of fractional part.
10661
261f4859
AS
10662 [BZ #14042]
10663 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10664 for call to __mcount_internal.
10665 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10666 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10667 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10668
f17ac40d
JM
106692012-07-06 Joseph Myers <joseph@codesourcery.com>
10670
9ad63c23
JM
10671 [BZ #14154]
10672 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10673 approximation for values within 0x1p-13f of an odd multiple of
10674 pi/4.
10675 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10676 exception. Add more tests.
10677 * sysdeps/i386/fpu/libm-test-ulps: Update.
10678
f17ac40d
JM
10679 [BZ #6778]
10680 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10681 inputs and return -1 for them. Do not check for +Inf in case not
10682 reachable for +Inf.
10683 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10684 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10685 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10686 and return -1 for them. Do not check for +Inf in case not
10687 reachable for +Inf.
10688 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10689 define.
10690 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10691 and return -1 for them. Do not check for +Inf in case not
10692 reachable for +Inf.
10693 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10694 spurious underflow.
10695 * sysdeps/i386/fpu/libm-test-ulps: Update.
10696 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10697
fb21f89b
MF
106982012-07-06 Mike Frysinger <vapier@gentoo.org>
10699
10700 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10701
cdfe2c5e
JM
107022012-07-05 Joseph Myers <joseph@codesourcery.com>
10703
10704 [BZ #14157]
10705 [BZ #14331]
10706 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10707 could result in spurious underflow. Scale down values above
10708 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10709 * math/s_csqrtf.c (__csqrtf): Likewise.
10710 * math/s_csqrtl.c (__csqrtl): Likewise.
10711 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10712 spurious underflow.
10713 * sysdeps/i386/fpu/libm-test-ulps: Update.
10714 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10715
70d35b67
AS
107162012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10717
704bc459
AS
10718 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10719 xopen-msg.sed.
10720 * catgets/xopen-msg.awk: New file.
10721 * catgets/xopen-msg.sed: Removed.
10722
70d35b67
AS
10723 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10724 po2text.sed.
10725 * intl/po2test.awk: New file.
10726 * intl/po2test.sed: Removed.
10727
ca61cf32
JM
107282012-07-04 Joseph Myers <joseph@codesourcery.com>
10729
10730 [BZ #14328]
10731 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10732 or multiply small sinh result by itself.
10733 * math/s_ctanf.c (__ctanf): Likewise.
10734 * math/s_ctanh.c (__ctanh): Likewise.
10735 * math/s_ctanhf.c (__ctanhf): Likewise.
10736 * math/s_ctanhl.c (__ctanhl): Likewise.
10737 * math/s_ctanl.c (__ctanl): Likewise.
10738 * math/libm-test.inc (ctan_test_tonearest): New function.
10739 (ctan_test_towardzero): Likewise.
10740 (ctan_test_downward): Likewise.
10741 (ctan_test_upward): Likewise.
10742 (ctanh_test_tonearest): Likewise.
10743 (ctanh_test_towardzero): Likewise.
10744 (ctanh_test_downward): Likewise.
10745 (ctanh_test_upward): Likewise.
10746 (main): Call these new functions.
10747 * sysdeps/i386/fpu/libm-test-ulps: Update.
10748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10749
ca48a46a
MF
107502012-07-03 Mike Frysinger <vapier@gentoo.org>
10751
10752 * .gitignore: Delete /ports entry.
10753
9d63d37d
AJ
107542012-07-03 Andreas Jaeger <aj@suse.de>
10755
10756 * po/bg.po: Update from translation team.
10757 * po/cs.po: Likewise.
10758 * po/de.po: Likewise.
10759 * po/hr.po: Likewise.
10760 * po/nl.pl: Likewise.
10761 * po/pl.po: Likewise.
10762 * po/vi.po: Likewise.
10763
370ca3d2
JM
107642012-07-03 Joseph Myers <joseph@codesourcery.com>
10765
95f5a9a8
JM
10766 * Makeconfig [!+link] (+link-before-libc): New variable.
10767 [!+link] (+link-after-libc): Likewise.
10768 [!+link] (+link-tests): Likewise.
10769 [!+link] (+link): Define in terms of $(+link-before-libc) and
10770 $(+link-after-libc).
10771 [!+link-static] (+link-static-before-libc): New variable.
10772 [!+link-static] (+link-static-after-libc): Likewise.
10773 [!+link-static] (+link-static-tests): Likewise.
10774 [!+link-static] (+link-static): Define in terms of
10775 $(+link-static-before-libc) and $(+link-static-after-libc).
10776 [build-shared] (link-libc-before-gnulib): New variable.
10777 [build-shared] (link-libc-tests): Likewise.
10778 [build-shared] (link-libc): Define in terms of
10779 $(link-libc-before-gnulib).
10780 [!build-shared] (link-libc-tests): New variable.
10781 (link-libc-static-tests): New variable.
10782 [!gnulib] (gnulib-arch): New variable.
10783 [!gnulib] (gnulib-tests): Likewise.
10784 [!gnulib] (static-gnulib-arch): Likewise.
10785 [!gnulib] (static-gnulib-tests): Likewise.
10786 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10787 Define with "=" instead of ":=".
10788 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10789 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10790 * Rules (binaries-all-notests): New variable.
10791 (binaries-all-tests): Likewise.
10792 (binaries-static-notests): Likewise.
10793 (binaries-static-tests): Likewise.
10794 (binaries-all): Define using $(binaries-all-notests) and
10795 $(binaries-all-tests).
10796 (binaries-static): Define using $(binaries-static-notests) and
10797 $(binaries-static-tests).
10798 (binaries-shared-tests): New variable.
10799 (binaries-shared-notests): Likewise.
10800 (binaries-shared): Remove variable.
10801 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10802 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10803 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10804 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10805 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10806 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10807 * elf/Makefile (sln-modules): New variable.
10808 (extra-objs): Add $(sln-modules:=.o).
10809 (ldconfig-modules): Add static-stubs.
10810 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10811 * elf/static-stubs.c: New file.
10812
7a845b2c
JM
10813 [BZ #14283]
10814 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10815 by 7 not 8 to examine high bit of fractional part. Use volatile
10816 variables when splitting into final array of floats if
10817 __FLT_EVAL_METHOD__ != 0.
10818 * math/libm-test.inc (cos_test): Add another test.
10819 (sin_test): Likewise.
10820 * sysdeps/i386/fpu/libm-test-ulps: Update.
10821
e2283f38
JM
10822 [BZ #14273]
10823 * math/libm-test.inc (cosh_test): Add more tests.
10824
370ca3d2
JM
10825 * version.h (RELEASE): Set to "development".
10826 (VERSION): Set to "2.16.90".
10827
ee9247c3
CD
108282012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10829
10830 * NEWS: Update copyright. Remove last-updated date.
10831 Mention math library bug fixes and timezone data changes.
10832 * README: Mention GNU/Hurd, x32, and HPPA support status.
10833
4648c381
TS
108342012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10835
10836 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10837
aac78a43
AJ
108382012-06-27 Andreas Jaeger <aj@suse.de>
10839
10840 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10841
ed3dbfad
AJ
108422012-06-25 Andreas Jaeger <aj@suse.de>
10843
10844 * sysdeps/s390/fpu/libm-test-ulps: Update.
10845
4d0ee855
AS
108462012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10847 Thomas Schwinge <thomas@codesourcery.com>
10848
10849 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10850 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10851 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10852 fanotify_mark.
10853
af1bce34
TS
108542012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10855
a9fa33ba
TS
10856 * sysdeps/mach/start.c: Remove file.
10857 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10858 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10859 * sysdeps/sh/init-first.c: Likewise.
10860
58f902b8
TS
10861 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10862 registers for frame unwinding purposes, add CFI directives.
10863 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10864 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10865 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10866 Likewise.
10867
1518f58b
TS
10868 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10869 __fortify_fail returning.
10870 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10871
db9b5059
TS
10872 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10873 sysdeps/sh/____longjmp_chk.S.
10874 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10875 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10876 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10877 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10878
967705fe
TS
10879 * sysdeps/sh/abort-instr.h: New file.
10880 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10881 process in case exit returns.
10882
a9def8c4
TS
10883 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10884 initialize the GOT register before use.
10885
2a649725
TS
10886 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10887 calculation of ARGC > 4.
10888
af1bce34
TS
10889 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10890 meaningful names to some local labels.
10891
d230f50a
KK
108922012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10893 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10894
10895 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10896 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10897 (__arch_compare_and_exchange_val_16_acq): Likewise.
10898 (__arch_compare_and_exchange_val_32_acq): Likewise.
10899 (atomic_exchange_and_add): Fix gUSA sequence.
10900 (atomic_add): Likewise.
10901 (atomic_add_negative): Likewise.
10902 (atomic_add_zero): Likewise.
10903 (atomic_bit_test_set): Likewise.
10904
0479b305
AS
109052012-06-22 Andreas Schwab <schwab@redhat.com>
10906
10907 [BZ #13579]
10908 * include/link.h (struct link_map): Add l_free_initfini.
10909 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10910 l_initfini.
10911 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10912 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10913 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10914 set.
10915
0e3933b9
CD
109162012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
10917
10918 * configure.in: Use AC_LANG_SOURCE.
10919 * configure: Regenerate.
10920
4248b1b1
RM
109212012-06-22 Roland McGrath <roland@hack.frob.com>
10922
10923 * configure.in (libc_cv_localstatedir): New substituted variable.
10924 * configure: Regenerated.
10925 * config.make.in (localstatedir): New variable, substituted from
10926 libc_cv_localstatedir.
10927 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10928 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10929 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10930 * sysdeps/gnu/configure: Regenerated.
10931
006dd861
JL
109322012-06-21 Jeff Law <law@redhat.com>
10933
10934 [BZ #14277]
10935 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10936 free. Simplify list management for _LIBC case.
10937
79662d42
JM
109382012-06-21 Joseph Myers <joseph@codesourcery.com>
10939
b7abb4bf
JM
10940 [BZ #14273]
10941 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10942 Clear sign bit of 64-bit integer value before comparing against
10943 overflow value.
10944
79662d42
JM
10945 * sysdeps/mach/configure: Regenerated.
10946
1f150908
L
109472012-06-21 H.J. Lu <hongjiu.lu@intel.com>
10948
10949 [BZ #14278]
10950 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10951
28363bbf
JL
109522012-06-21 Jeff Law <law@redhat.com>
10953
10954 [BZ #13882]
10955 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
10956 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 10957 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
10958 * elf/dl-open.c (dl_open_worker): Likewise.
10959
09615db4
CD
109602012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
10961
10962 * scripts/list-sources.sh: Scan PORTS for translations.
10963 * po/libc.pot: Regenerated.
10964
2174c6dd
AJ
109652012-06-21 Andreas Jaeger <aj@suse.de>
10966
10967 [BZ #12194]
10968 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10969 warning.
10970 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10971 * bits/byteswap-16.h (__bswap_16): Likewise.
10972 * bits/byteswap.h (__bswap_constant_16): Likewise.
10973
3ee947b1
L
109742012-06-18 H.J. Lu <hongjiu.lu@intel.com>
10975
10976 [BZ #14117]
a2f34833
L
10977 * sysdeps/i386/fpu_control.h: Removed.
10978 * sysdeps/x86_64/fpu_control.h: Moved to ...
10979 * sysdeps/x86/fpu_control.h: Here.
10980
3ee947b1
L
10981 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10982 (_FPU_SETCW): Likewise.
10983
ed1825f8
L
109842012-06-15 H.J. Lu <hongjiu.lu@intel.com>
10985
25f1282a
L
10986 [BZ #14117]
10987 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10988 * sysdeps/x86/fpu/bits/mathinline.h: This.
10989 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10990
ed1825f8
L
10991 [BZ #14050]
10992 [BZ #14117]
10993 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10994 functions if __x86_64__ is defined.
10995
36d54b74
CLT
109962012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
10997
10998 * string/endian.h: Add !__ASSEMBLER__ condition for including
10999 conversion interfaces.
11000
10285c21
JM
110012012-06-15 Joseph Myers <joseph@codesourcery.com>
11002
11003 [BZ #14241]
11004 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11005 of ABS(x) in calculating zero to negative powers other than odd
11006 integers.
11007 * math/libm-test.inc (pow_test): Add more tests.
11008
06c5abbd
AJ
110092012-06-15 Andreas Jaeger <aj@suse.de>
11010
11011 * manual/contrib.texi (Contributors): Update entry of Liubov
11012 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11013 Machado Filho.
11014
a3aeac40
CH
110152012-06-15 Cyril Hrubis <metan@ucw.cz>
11016
11017 * string/string.h: Add __wur to GNU version of strerror_r.
11018
49bdf4c1
L
110192012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11020
11021 [BZ #14229]
11022 * string/Makefile (tests): Add tst-strtok_r.
11023 * string/tst-strtok_r.c: New file.
11024 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11025 RAX_LP/RDX_LP on SAVE_PTR.
11026
834f9b8d
RM
110272012-06-14 Roland McGrath <roland@hack.frob.com>
11028
11029 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11030
75fa1921
JM
110312012-06-14 Joseph Myers <joseph@codesourcery.com>
11032
11033 * libm_test.inc (csqrt_test): Allow more spurious underflow
11034 exceptions.
11035 (j0_test): Likewise.
11036 (j1_test): Likewise.
11037 (y0_test): Likewise.
11038 (y1_test): Likewise.
11039
771766df
CD
110402012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11041
11042 * po/Makefile (libc.pot): Use UTF-8 charset.
11043
ceb9e56b
PP
110442012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11045
11046 [BZ #14210]
11047 Suppress sign-conversion warning from FD_SET.
11048 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11049 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11050 not unsigned long int.
11051 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11052
ddb28975
L
110532012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11054
11055 [BZ #14050]
11056 [BZ #14117]
11057 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11058 __extern_always_inline instead of __extern_inline.
11059 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11060 (__signbit): Likewise.
11061 (__signbitl): Support C++ namespace.
11062 (lrintf): New inline function.
11063 (lrint): Likewise.
11064 (llrintf): Likewise.
11065 (llrint): Likewise.
11066 (fmaxf): Likewise.
11067 (fmax): Likewise.
11068 (fminf): Likewise.
11069 (fmin): Likewise.
11070 (rint): Likewise.
11071 (rintf): Likewise.
11072 (ceil): Likewise.
11073 (ceilf): Likewise.
11074 (floor): Likewise.
11075 (floorf): Likewise.
11076 (nearbyint): Likewise.
11077 (nearbyintf): Likewise.
11078
d7b4fb26
TS
110792012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11080
11081 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11082 non-default versions.
11083
eb55f5c2
RM
110842012-06-11 Roland McGrath <roland@hack.frob.com>
11085
11086 [BZ #14218]
11087 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11088
366af02c
TS
110892012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11090
99ff6e5c
TS
11091 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11092 (FE_UPWARD, FE_DOWNWARD): Don't define.
11093 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11094 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11095
366af02c
TS
11096 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11097 reading it.
11098 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11099 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11100
793ea851
KK
111012012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11102
11103 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11104 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11105 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11106 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11107
a728a38f
L
111082012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11109
11110 [BZ #14117]
c08010c7
L
11111 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11112 * sysdeps/i386/fpu/Implies: New file.
11113 * sysdeps/x86_64/fpu/Implies: Likewise.
11114 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11115 * sysdeps/x86/fpu/bits/fenv.h: This.
11116
a728a38f
L
11117 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11118 __SSE_MATH__.
11119
6e230d11
SP
111202012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11121
11122 [BZ #14134]
11123 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11124 character 0xffff that matches the last element of the
11125 conversion table.
11126
1b671feb
AZ
111272012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11128
11129 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11130 fmodl commit.
11131
6043738b
AZ
111322012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11133
11134 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11135 values higher than 25.6283.
11136
34ae0b32
AZ
111372012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11138
11139 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11140 subnormal exponent extraction and add some __builtin_expect.
11141 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11142 Fix for subnormal mantissa calculation.
11143
1214ec8f
MF
111442012-06-04 Mike Frysinger <vapier@gentoo.org>
11145
11146 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11147 cpu2 is -1 and errno is not ENOSYS.
11148
f3d1f93c
L
111492012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11150
11151 [BZ #14117]
0e4a3cd7
L
11152 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11153 * sysdeps/x86/bits/string.h: This.
11154 * sysdeps/x86_64/bits/string.h: Removed.
11155
6704c645
L
11156 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11157 if not compiling for x86-64, but compiling for >= i486.
11158
48495318
L
11159 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11160 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11161
14adcbfc
L
11162 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11163 New macro from Linux kernel 3.4.0.
11164 (FP_XSTATE_MAGIC2): Likewise.
11165 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11166 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11167 (struct _fpx_sw_bytes): New struct.
11168 (struct _xsave_hdr): Likewise.
11169 (struct _ymmh_state): Likewise.
11170 (struct _xstate): Likewise.
11171
68e408ab
L
11172 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11173 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11174 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11175 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11176 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11177 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11178
f3d1f93c
L
11179 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11180 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11181 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11182 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11183 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11184 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11185
d9dc34cd
TMQMF
111862012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11187
11188 [BZ #13743]
11189 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11190 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11191 (sysdep_headers): Include sys/platform/ppc.h.
11192 * sysdeps/powerpc/test-gettimebase.c: Test for
11193 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11194 * manual/Makefile (appendices): Include platform.texi.
11195 * manual/contrib.texi (Contributors): Update @node pointers.
11196 * manual/maint.texi (Maintenance): Likewise.
11197 (Platform): New node.
11198 * manual/platform.texi: New file. Document the new features.
11199
4af3879c
SP
112002012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11201 Jakub Jelinek <jakub@redhat.com>
11202
11203 [BZ #14188]
11204 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11205 where __builtin_expect is unavailable.
11206
2fd6ff13
DM
112072012-06-03 David S. Miller <davem@davemloft.net>
11208
11209 * stdlib/longlong.h: Updated from GCC.
11210
173f7220
AS
112112012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11212
11213 [BZ #14042]
11214 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11215 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11216 __mcount_internal.
11217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11218 (GLIBC_2.16): Likewise.
11219
f34a1c6f
L
112202012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11221
11222 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11223
88a4576f
JM
112242012-06-01 Joseph Myers <joseph@codesourcery.com>
11225
ea32bcdd
JM
11226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11227 (default-abi): New variable.
11228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11229 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11230 variable.
11231 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11232 Likewise.
11233 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11234 Likewise.
11235 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11236 Likewise.
11237
88a4576f
JM
11238 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11239 definition. Document in comment.
11240
402fe938
DM
112412012-06-01 David S. Miller <davem@davemloft.net>
11242
11243 * stdlib/longlong.h: Updated from GCC.
11244
3553723f
L
112452012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11246
11247 [BZ #14117]
3bd872c4
L
11248 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11249 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11250 sys/debugreg.h sys/io.h here.
11251 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11252 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11253 sys/io.h.
11254 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11255 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11256 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11257 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11258 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11259 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11260
3553723f
L
11261 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11262 Define only if __x86_64__ is defined.
11263
4842e4fe
JM
112642012-06-01 Joseph Myers <joseph@codesourcery.com>
11265
c5bfe3d5
JM
11266 [BZ #14048]
11267 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11268 Use int64_t for variable i.
11269 * math/libm-test.inc (fmod_test): Add more tests.
11270
4842e4fe
JM
11271 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11272 z computation is not scheduled after fetestexcept.
11273 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11274 Use math_force_eval instead of asm to ensure calculation scheduled
11275 before exception test.
11276 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11277 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11278
efb73488
AJ
112792012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11280
11281 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11282 computation is not scheduled after fetestexcept.
11283
29bcce7c
L
112842012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11285
11286 [BZ #14117]
11287 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11288 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11289
73a68f94
AZ
112902012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11291
11292 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11293 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11294
67b6df78
L
112952012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11296
edf2933a 11297 [BZ #14117]
ebc64a18
L
11298 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11299 <bits/wordsize.h>.
11300 (__WCHAR_MIN): Support __WORDSIZE == 64.
11301 (__WCHAR_MAX): Likewise.
11302
edf2933a
L
11303 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11304 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11305
57c6cf40
L
11306 [BZ #14183]
11307 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11308 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11309
67b6df78 11310 [BZ #14117]
8eb6281e
L
11311 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11312 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11313
aac639f4
L
11314 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11315 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11316
67b6df78
L
11317 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11318 Defined to 1 if __x86_64__ isn't defined.
11319 (_STAT_VER_LINUX_OLD): New.
11320 (st_atime): Remove duplicate.
11321 (st_mtime): Likewise.
11322 (st_ctime): Likewise.
11323
1c2cfe81
DM
113242012-05-31 David S. Miller <davem@davemloft.net>
11325
11326 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11327 entries.
11328
5be8418c
AS
113292012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11330
e7725326
AS
11331 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11332 gen-libm-test.pl.
11333
5be8418c
AS
11334 [BZ #14132]
11335 * elf/dl-reloc.c: Include <_itoa.h>.
11336 (_dl_reloc_bad_type): Remove use of INTUSE.
11337 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11338 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11339 * stdio-common/psiginfo.c (psiginfo): Likewise.
11340 * stdio-common/psignal.c (psignal): Likewise.
11341 * string/strsignal.c (strsignal): Likewise.
11342 * include/signal.h (_sys_siglist): Declare hidden proto.
11343 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11344 INTVARDEF with libc_hidden_data_def.
11345 * stdio-common/itoa-udigits.c: Likewise.
11346 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11347 (_itoa_lower_digits_internal): Remove declaration.
11348 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11349 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11350 (_sys_sigabbrev_internal): Remove aliases.
11351 (_sys_siglist): Define hidden alias.
11352
507352f1
MT
113532012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11354
11355 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11356 bits/sysctl.h.
11357
42bbb1c3
L
113582012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11359
11360 [BZ #14117]
6bd784b6
L
11361 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11362 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11363
8bca20f0
L
11364 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11365 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11366 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11367 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11368 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11369 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11370
f9e890a9
L
11371 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11372 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11373 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11374
471101a1
L
11375 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11376 with __addr.
11377 (insw): Likewise.
11378 (insl): Likewise.
11379 (outsb): Likewise.
11380 (outsw): Likewise.
11381 (outsl): Likewise.
11382
6451c862
L
11383 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11384 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11385 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11386
a254b8c9
L
11387 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11388 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11389 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11390 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11391 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11392 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11393
b8dfdd92
L
11394 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11395 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11396
578cd270
L
11397 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11398 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11399
de662f5f
L
11400 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11401 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11402 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11403
25653439
L
11404 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11405 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11406 to ...
11407 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11408
6bad24a0
L
11409 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11410 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11411 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11412
42bbb1c3
L
11413 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11414 for x86-64.
11415 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11416
2d10d547
JM
114172012-05-31 Joseph Myers <joseph@codesourcery.com>
11418
11419 * math/math.h (M_El): Use two more decimal places.
11420 (M_LOG2El): Likewise.
11421 (M_LOG10El): Likewise.
11422 (M_LN2l): Likewise.
11423 (M_LN10l): Likewise.
11424 (M_PIl): Likewise.
11425 (M_PI_2l): Likewise.
11426 (M_PI_4l): Likewise.
11427 (M_1_PIl): Likewise.
11428 (M_2_PIl): Likewise.
11429 (M_2_SQRTPIl): Likewise.
11430 (M_SQRT2l): Likewise.
11431 (M_SQRT1_2l): Likewise.
11432
f230c29b
DM
114332012-05-31 David S. Miller <davem@davemloft.net>
11434
11435 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11436 values between float registers.
11437 * sysdeps/sparc/sparc64/memset.S: Likewise.
11438 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11439
fed806c3
MF
114402012-05-31 Mike Frysinger <vapier@gentoo.org>
11441
11442 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11443 -D_FORTIFY_SOURCE=1.
11444 (CPPFLAGS-tst-longjmp_chk.c): Define.
11445 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11446 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11447 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11448 CFLAGS-tst-wchar-h.c.
11449
30917259
MP
114502012-05-31 Marek Polacek <polacek@redhat.com>
11451
11452 [BZ #14132]
11453 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11454 __endmntent_internal): Remove declaration.
11455 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11456 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11457 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11458
1c58d5dc
DM
114592012-05-30 David S. Miller <davem@davemloft.net>
11460
11461 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11462 (___Q_simulate_exceptions): Use real FP ops rather than writing
11463 into the %fsr.
11464 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11465 Likewise.
11466
7dc00e0d
L
114672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11468
11469 [BZ #14117]
0bd53985
L
11470 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11471 * sysdeps/x86/bits/xtitypes.h: This.
11472
3a257e66
L
11473 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11474 * sysdeps/x86/bits/wordsize.h: This.
11475
62f62904
L
11476 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11477 * sysdeps/x86/bits/huge_vall.h: This.
11478
404fe9d9
L
11479 * sysdeps/i386/bits/select.h: Removed.
11480 * sysdeps/x86_64/bits/select.h: Renamed to ...
11481 * sysdeps/x86/bits/select.h: This.
11482
d48d0446
L
11483 * sysdeps/i386/bits/setjmp.h: Removed.
11484 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11485 * sysdeps/x86/bits/setjmp.h: This.
11486
7dc00e0d
L
11487 * sysdeps/i386/bits/mathdef.h: Removed.
11488 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11489 * sysdeps/x86/bits/mathdef.h: This.
11490
03277f8f
AS
114912012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11492
11493 [BZ #14132]
11494 * include/sys/socket.h (__connect_internal)
11495 (__libc_sa_len_internal): Remove declaration.
11496 (__connect, __libc_sa_len): Declare hidden_proto.
11497 (SA_LEN): Remove use of INTUSE.
11498 * socket/connect.c: Add libc_hidden_def.
11499 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11500 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11501 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11502 alias.
11503 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11504 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11505 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11506 of adding _internal alias.
11507
13764867
L
115082012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11509
11510 [BZ #14117]
6bd97696
L
11511 * sysdeps/i386/bits/link.h: Removed.
11512 * sysdeps/i386/bits/linkmap.h: Likewise.
11513 * sysdeps/x86_64/bits/link.h: Renamed to ...
11514 * sysdeps/x86/bits/link.h: This.
11515 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11516 * sysdeps/x86/bits/linkmap.h: This.
11517
f726f0bb
L
11518 * sysdeps/i386/bits/endian.h: Removed.
11519 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11520 * sysdeps/x86/bits/endian.h: This.
11521
13764867
L
11522 * sysdeps/i386/bits/byteswap.h: Removed.
11523 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11524 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11525 * sysdeps/x86/bits/byteswap.h: This.
11526 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11527 * sysdeps/x86/bits/byteswap-16.h: This.
11528 * sysdeps/i386/Implies: Add x86.
11529 * sysdeps/x86_64/Implies: Likewise.
11530
ae251b0b
DM
115312012-05-30 David S. Miller <davem@davemloft.net>
11532
11533 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11534 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11535 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11536 (FP_TRAPPING_EXCEPTIONS): Define.
11537 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11538 (FP_TRAPPING_EXCEPTIONS): Define.
11539 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11540 subnormals only when inexact has been signalled or underflow
11541 exceptions are enabled.
11542 (_FP_PACK_CANONICAL): Likewise.
11543
d5c90867
L
115442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11545
11546 [BZ #14183]
11547 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11548 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11549
63f1549e
RH
115502012-05-30 Richard Henderson <rth@twiddle.net>
11551
8d8f2279
RH
11552 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11553 with #ifndef NOT_IN_libc.
11554
63f1549e
RH
11555 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11556 marked to avoid plt entry.
11557
0ab0291b
L
115582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11559
11560 [BZ #14112]
11561 * Makeconfig (default-abi): New macro.
11562 (abi-includes): Likewise.
11563 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11564 $(abi-$(default-abi)-lib-soname) for soname if defined.
11565 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11566 abi-variants.
11567 * Makefile (installed-stubs): Likewise.
11568 * include/stubs-biarch.h: Removed.
11569 * scripts/lib-names.awk: Only handle one library at a time.
11570 * scripts/soversions.awk: Remove WORDSIZE support.
11571 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11572 entries.
11573 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11574 Removed.
11575 (syscall-list-default-condition): Likewise.
11576 (syscall-list-default-condition): Likewise.
11577 (syscall-list-includes): Likewise.
11578 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11579 syscall-list-* with abi-*. Handle undefined abi-variants.
11580 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11581 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11582 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11583 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11584 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11585 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11586 Removed.
11587 (syscall-list-32-options): Likewise.
11588 (syscall-list-32-condition): Likewise.
11589 (syscall-list-64-options): Likewise.
11590 (syscall-list-64-condition): Likewise.
11591 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11592 macro.
11593 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11594 Renamed to ...
11595 (abi-*): This.
11596 (abi-64-ld-soname): New macro.
11597 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11598 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11599 Renamed to ...
11600 (abi-*): This.
11601 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11602 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11603
4da0431d
JM
116042012-05-30 Joseph Myers <joseph@codesourcery.com>
11605
3a85279c
JM
11606 * sysdeps/unix/sysv/linux/kernel-features.h
11607 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11608 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11609 include <kernel-features.h>.
11610 [!__NR_ftruncate64]: Remove conditional code.
11611 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11612 [__NR_ftruncate64]: Make code unconditional.
11613 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11614 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11615 include <kernel-features.h>.
11616 [!__NR_ftruncate64]: Remove conditional code.
11617 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11618 [__NR_ftruncate64]: Make code unconditional.
11619 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11621 include <kernel-features.h>.
11622 [!__NR_ftruncate64]: Remove conditional code.
11623 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11624 [__NR_ftruncate64]: Make code unconditional.
11625 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11627 include <kernel-features.h>.
11628 [!__NR_ftruncate64]: Remove conditional code.
11629 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11630 [__NR_ftruncate64]: Make code unconditional.
11631 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11632
4da0431d
JM
11633 * configure.in (libc_cv_fpie): Weaken to a compile test using
11634 LIBC_TRY_CC_OPTION.
11635 * configure: Regenerated.
11636
11ef492c
AK
116372012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11638
11639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11642 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11643 Refreshed.
11644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11648 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11650 Refreshed.
11651
d66ef399
DM
116522012-05-27 David S. Miller <davem@davemloft.net>
11653
11654 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11655 (___Q_zero): New.
11656 (__Q_simulate_exceptions): Return void. Change to simulate
11657 exceptions by writing into the %fsr.
11658 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11659 (__Qp_handle_exceptions): Likewise.
11660 (numbers): Delete.
11661 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11662 __Qp_handle_exceptions.
11663 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11664 __Qp_handle_exceptions.
11665 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11666 as unused and give dummy FP_RND_NEAREST initializer.
11667 (FP_INHIBIT_RESULTS): Define.
11668 (___Q_simulate_exceptions): Update declaration.
11669 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11670 formatting.
11671 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11672 as unused and give dummy FP_RND_NEAREST initializer.
11673 (__Qp_handle_exceptions): Update declaration.
11674 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11675 formatting.
11676
04fb54b5
TS
116772012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11678
11679 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11680 the temporary FPU control word.
11681 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11682 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11683 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11684 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11685 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11686 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11687 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11688 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11689 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11690 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11691 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11692
3f99608f
KK
116932012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11694
11695 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11696 fields.
11697
65a4de4e
CLT
116982012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11699
11700 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11701 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11702 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11703 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11704 Likewise.
11705 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11706 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11707 Likewise.
11708
15749d40
UD
117092012-05-27 Ulrich Drepper <drepper@gmail.com>
11710
11711 * po/h.po: Update from translation team.
11712
25dbcb27
AS
117132012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11714
3d3f8e55
AS
11715 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11716
25dbcb27
AS
11717 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11718 handling of denormals.
11719 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11720 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11721 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11722 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11723 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11724 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11725 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11726 Likewise.
11727
7ad47a80 117282012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
11729
11730 [BZ #14152]
11731 * math/libm-test.inc (fma_test): Don't always expect underflow
11732 exception.
11733
9c6ea9fa
SP
117342012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11735
11736 [BZ #12416]
11737 * elf/tst-execstack.c: Include stackinfo.h.
11738 (do_test): Adjust test case to ensure that pthread_getattr_np
11739 behaviour remains the same after marking stack executable.
11740
a8239222
JM
117412012-05-25 Joseph Myers <joseph@codesourcery.com>
11742
11743 * sysdeps/unix/sysv/linux/kernel-features.h
11744 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11745 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11746 kernel-features.h.
11747 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11748 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11749 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11750 kernel-features.h.
11751 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11752 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11753
918b5606
L
117542012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11755
11756 * configure.in: Define the default includes to being none.
11757 * configure: Regenerated.
11758
3a097cc7
RM
117592012-05-25 Roland McGrath <roland@hack.frob.com>
11760
8422c9a5
RM
11761 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11762 * sysdeps/x86_64/setjmp.S: Likewise.
11763 * sysdeps/i386/bsd-setjmp.S: Likewise.
11764 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11765 * sysdeps/i386/setjmp.S: Likewise.
11766 * sysdeps/i386/__longjmp.S: Likewise.
11767 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11768 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11769
3a097cc7
RM
11770 * include/stap-probe.h: New file.
11771 * configure.in: Handle --enable-systemtap.
11772 * configure: Regenerated.
11773 * config.h.in (USE_STAP_PROBE): New #undef.
11774 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11775 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11776 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11777
21708942
JM
117782012-05-25 Joseph Myers <joseph@codesourcery.com>
11779
11780 [BZ #13717]
11781 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11782 to 2.4.0 where earlier.
11783 * sysdeps/unix/sysv/linux/configure: Regenerated.
11784 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11785 <kernel-features.h>.
11786 [__ASSUME_32BITUIDS]: Make code unconditional.
11787 [!__ASSUME_32BITUIDS]: Remove conditional code.
11788 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11789 <kernel-features.h>.
11790 [__ASSUME_32BITUIDS]: Make code unconditional.
11791 [!__ASSUME_32BITUIDS]: Remove conditional code.
11792 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11793 [__ASSUME_32BITUIDS]: Make code unconditional.
11794 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11795 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.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/i386/getresuid.c: Do not include
11816 <kernel-features.h>.
11817 [__ASSUME_32BITUIDS]: Make code unconditional.
11818 [!__ASSUME_32BITUIDS]: Remove conditional code.
11819 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11820 <kernel-features.h>.
11821 [__ASSUME_32BITUIDS]: Make code unconditional.
11822 [!__ASSUME_32BITUIDS]: Remove conditional code.
11823 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11824 <kernel-features.h>.
11825 [__ASSUME_32BITUIDS]: Make code unconditional.
11826 [!__ASSUME_32BITUIDS]: Remove conditional code.
11827 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11828 <kernel-features.h>.
11829 [__ASSUME_32BITUIDS]: Make code unconditional.
11830 [!__ASSUME_32BITUIDS]: Remove conditional code.
11831 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11832 <kernel-features.h>.
11833 [__ASSUME_32BITUIDS]: Make code unconditional.
11834 [!__ASSUME_32BITUIDS]: Remove conditional code.
11835 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11836 <kernel-features.h>.
11837 [__NR_setresgid] (__setresgid): Do not declare.
11838 [__ASSUME_32BITUIDS]: Make code unconditional.
11839 [!__ASSUME_32BITUIDS]: Remove conditional code.
11840 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11841 <kernel-features.h>.
11842 [__NR_setresuid] (__setresuid): Do not declare.
11843 [__ASSUME_32BITUIDS]: Make code unconditional.
11844 [!__ASSUME_32BITUIDS]: Remove conditional code.
11845 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11846 <kernel-features.h>.
11847 [__ASSUME_32BITUIDS]: Make code unconditional.
11848 [!__ASSUME_32BITUIDS]: Remove conditional code.
11849 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11850 <kernel-features.h>.
11851 [__ASSUME_32BITUIDS]: Make code unconditional.
11852 [!__ASSUME_32BITUIDS]: Remove conditional code.
11853 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11854 <kernel-features.h>.
11855 [__ASSUME_32BITUIDS]: Make code unconditional.
11856 [!__ASSUME_32BITUIDS]: Remove conditional code.
11857 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11858 <kernel-features.h>.
11859 [__ASSUME_32BITUIDS]: Make code unconditional.
11860 [!__ASSUME_32BITUIDS]: Remove conditional code.
11861 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11862 <kernel-features.h>.
11863 [__ASSUME_32BITUIDS]: Make code unconditional.
11864 [!__ASSUME_32BITUIDS]: Remove conditional code.
11865 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11866 <kernel-features.h>.
11867 [__ASSUME_32BITUIDS]: Make code unconditional.
11868 [!__ASSUME_32BITUIDS]: Remove conditional code.
11869 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11870 <kernel-features.h>.
11871 [__ASSUME_32BITUIDS]: Make code unconditional.
11872 [!__ASSUME_32BITUIDS]: Remove conditional code.
11873 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11874 <kernel-features.h>.
11875 [__ASSUME_32BITUIDS]: Make code unconditional.
11876 [!__ASSUME_32BITUIDS]: Remove conditional code.
11877 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11878 <kernel-features.h>.
11879 [__ASSUME_32BITUIDS]: Make code unconditional.
11880 [!__ASSUME_32BITUIDS]: Remove conditional code.
11881 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11882 <kernel-features.h>.
11883 [__ASSUME_32BITUIDS]: Make code unconditional.
11884 [!__ASSUME_32BITUIDS]: Remove conditional code.
11885 * sysdeps/unix/sysv/linux/kernel-features.h
11886 (__ASSUME_SETRESUID_SYSCALL): Remove.
11887 (__ASSUME_SETRESGID_SYSCALL): Likewise.
11888 (__ASSUME_32BITUIDS): Likewise.
11889 (__ASSUME_LDT_WORKS): Likewise.
11890 (__ASSUME_O_DIRECTORY): Likewise.
11891 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11892 architecture but not kernel version.
11893 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11894 (__ASSUME_MMAP2_SYSCALL): Likewise.
11895 (__ASSUME_STAT64_SYSCALL): Likewise.
11896 (__ASSUME_IPC64): Likewise.
11897 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11898 <kernel-features.h>.
11899 [__ASSUME_32BITUIDS]: Make code unconditional.
11900 [!__ASSUME_32BITUIDS]: Remove conditional code.
11901 * sysdeps/unix/sysv/linux/opendir.c: Do not include
11902 <kernel-features.h>.
11903 [__ASSUME_O_DIRECTORY]: Make code unconditional.
11904 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11905 132096]: Remove conditional code.
11906 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11907 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11908 <kernel-features.h>.
11909 [__ASSUME_32BITUIDS]: Make code unconditional.
11910 [!__ASSUME_32BITUIDS]: Remove conditional code.
11911 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11912 <kernel-features.h>.
11913 [__ASSUME_32BITUIDS]: Make code unconditional.
11914 [!__ASSUME_32BITUIDS]: Remove conditional code.
11915 * sysdeps/unix/sysv/linux/setegid.c: Do not include
11916 <kernel-features.h>.
11917 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11918 unconditional.
11919 (__setresgid): Do not declare.
11920 [__ASSUME_32BITUIDS]: Make code unconditional.
11921 [!__ASSUME_32BITUIDS]: Remove conditional code.
11922 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11923 <kernel-features.h>.
11924 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11925 unconditional.
11926 (__setresuid): Do not declare.
11927 [__ASSUME_32BITUIDS]: Make code unconditional.
11928 [!__ASSUME_32BITUIDS]: Remove conditional code.
11929 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11930 <kernel-features.h>.
11931 [__ASSUME_32BITUIDS]: Make code unconditional.
11932 [!__ASSUME_32BITUIDS]: Remove conditional code.
11933 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11934 <kernel-features.h>.
11935 [__ASSUME_32BITUIDS]: Make code unconditional.
11936 [!__ASSUME_32BITUIDS]: Remove conditional code.
11937
a386f1cc
RH
119382012-05-25 Richard Henderson <rth@twiddle.net>
11939
11940 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11941 dl_hwcap to ifunc resolver.
11942 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11943 elf_ifunc_invoke.
11944 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11945 dl_hwcap to ifunc resolver.
11946 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11947
b6550497
JM
119482012-05-24 Joseph Myers <joseph@codesourcery.com>
11949
11950 [BZ #14153]
11951 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11952 for |x| <= 2**-26, not 2**-57.
11953 * math/libm-test.inc (acos_test): Do not allow spurious underflow
11954 exception.
11955
b0bc23a1
JL
119562012-05-24 Jeff Law <law@redhat.com>
11957
11958 * stdio-common/Makefile (tests): Add bug25.
11959 * stdio-common/bug25.c: New test.
11960
347c92e9
L
119612012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11962
11963 [BZ #13576]
11964 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11965 multiple of MALLOC_ALIGNMENT in size.
11966 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11967
6bcc8b3f
JM
119682012-05-24 Joseph Myers <joseph@codesourcery.com>
11969
11970 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11971 Require >= 256.
11972 (FILENAME_MAX): Use macro-int-constant.
11973 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
11974 (_IOFBF): Use macro-int-constant.
11975 (_IOLBF): Likewise.
11976 (_IONBF): Likewise.
11977 (SEEK_CUR): Likewise.
11978 (SEEK_END): Likewise.
11979 (SEEK_SET): Likewise.
11980 (TMP_MAX): Likewise.
11981 (EOF): Use macro-int-constant. Require < 0.
11982 (NULL): Use macro-constant. Require == 0.
11983 (stdin): Require type to be FILE *.
11984 (stdout): Likewise.
11985 (stderr): Likewise.
11986 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11987 macro-int-constant.
11988 (EXIT_SUCCESS): Likewise.
11989 (NULL): Use macro-constant. Require == 0.
11990 (RAND_MAX): Use macro-int-constant.
11991 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11992 [C99-based standards] (strtof): Require function.
11993 [C99-based standards] (strtold): Likewise.
11994 [C99-based standards] (strtoll): Likewise.
11995 [C99-based standards] (strtoull): Likewise.
11996 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11997 [ISO || ISO99 || ISO11] (limits.h): Likewise.
11998 [ISO || ISO99 || ISO11] (math.h): Likewise.
11999 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12000 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12001 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12002
d18ea0c5
AS
120032012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12004
12005 [BZ #14132]
56d25bb8
AS
12006 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12007 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12008 * intl/dgettext.c (DCGETTEXT): Likewise.
12009 * intl/gettext.c (DCGETTEXT): Likewise.
12010 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12011 * posix/regex_internal.h (gettext): Likewise.
12012 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12013 Remove declaration.
12014 * include/argz.h (__argz_count_internal)
12015 (__argz_stringify_internal): Remove declaration.
12016 (__argz_count, __argz_stringify): Declare hidden proto.
12017 * intl/dcgettext.c: Remove use of INTDEF.
12018 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12019 * string/argz-stringify.c: Likewise.
12020 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12021 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12022 Declare hidden proto.
d18ea0c5
AS
12023 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12024 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12025 Declare hidden proto.
12026 * include/stdio.h (__asprintf_internal): Don't declare.
12027 (__asprintf): Don't define as macro. Declare hidden proto.
12028 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12029 (__fsetlocking): Declare hidden proto.
12030 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12031 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12032 hidden proto.
12033 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12034 (_IO_setlinebuf): Remove use of INTUSE.
12035 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12036 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12037 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12038 Remove declaration.
12039 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12040 (_IO_do_flush): Remove use of INTUSE.
12041 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12042 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12043 (_IO_adjust_column, _IO_least_wmarker)
12044 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12045 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12046 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12047 (_IO_default_doallocate, _IO_wdefault_doallocate)
12048 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12049 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12050 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12051 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12052 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12053 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12054 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12055 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12056 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12057 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12058 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12059 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12060 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12061 proto.
12062 (_IO_flush_all_internal, _IO_adjust_column_internal)
12063 (_IO_default_uflow_internal, _IO_default_finish_internal)
12064 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12065 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12066 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12067 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12068 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12069 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12070 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12071 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12072 (_IO_file_close_internal, _IO_file_close_it_internal)
12073 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12074 (_IO_file_init_internal, _IO_file_attach_internal)
12075 (_IO_file_fopen_internal, _IO_file_read_internal)
12076 (_IO_file_sync_internal, _IO_file_seek_internal)
12077 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12078 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12079 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12080 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12081 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12082 (_IO_list_all_internal, _IO_link_in_internal)
12083 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12084 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12085 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12086 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12087 (_IO_do_write_internal, _IO_padn_internal)
12088 (_IO_getline_info_internal, _IO_getline_internal)
12089 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12090 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12091 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12092 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12093 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12094 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12095 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12096 with libc_hidden_ver, remove use of INTUSE.
12097 * libio/genops.c: Likewise.
12098 * libio/freopen.c: Likewise.
12099 * libio/freopen64.c: Likewise.
12100 * libio/iofclose.c: Likewise.
12101 * libio/iofdopen.c: Likewise.
12102 * libio/iofflush.c: Likewise.
12103 * libio/iofflush_u.c: Likewise.
12104 * libio/iofgets.c: Likewise.
12105 * libio/iofgets_u.c: Likewise.
12106 * libio/iofopen.c: Likewise.
12107 * libio/iofopncook.c: Likewise.
12108 * libio/iofread.c: Likewise.
12109 * libio/iofread_u.c: Likewise.
12110 * libio/ioftell.c: Likewise.
12111 * libio/iofwrite.c: Likewise.
12112 * libio/iogetline.c: Likewise.
12113 * libio/iogets.c: Likewise.
12114 * libio/iogetwline.c: Likewise.
12115 * libio/iopadn.c: Likewise.
12116 * libio/iopopen.c: Likewise.
12117 * libio/ioseekoff.c: Likewise.
12118 * libio/ioseekpos.c: Likewise.
12119 * libio/iosetbuffer.c: Likewise.
12120 * libio/iosetvbuf.c: Likewise.
12121 * libio/ioungetc.c: Likewise.
12122 * libio/ioungetwc.c: Likewise.
12123 * libio/iovdprintf.c: Likewise.
12124 * libio/iovsprintf.c: Likewise.
12125 * libio/iovsscanf.c: Likewise.
12126 * libio/memstream.c: Likewise.
12127 * libio/obprintf.c: Likewise.
12128 * libio/oldfileops.c: Likewise.
12129 * libio/oldiofclose.c: Likewise.
12130 * libio/oldiofdopen.c: Likewise.
12131 * libio/oldiofopen.c: Likewise.
12132 * libio/oldiopopen.c: Likewise.
12133 * libio/oldstdfiles.c: Likewise.
12134 * libio/putc.c: Likewise.
12135 * libio/setbuf.c: Likewise.
12136 * libio/setlinebuf.c: Likewise.
12137 * libio/stdfiles.c: Likewise.
12138 * libio/strops.c: Likewise.
12139 * libio/vasprintf.c: Likewise.
12140 * libio/vscanf.c: Likewise.
12141 * libio/vsnprintf.c: Likewise.
12142 * libio/vswprintf.c: Likewise.
12143 * libio/wfiledoalloc.c: Likewise.
12144 * libio/wfileops.c: Likewise.
12145 * libio/wgenops.c: Likewise.
12146 * libio/wmemstream.c: Likewise.
12147 * libio/wstrops.c: Likewise.
12148 * libio/__fpurge.c: Likewise.
12149 * libio/__fsetlocking.c: Likewise.
12150 * assert/assert.c: Likewise.
12151 * debug/fgets_chk.c: Likewise.
12152 * debug/fgets_u_chk.c: Likewise.
12153 * debug/fread_chk.c: Likewise.
12154 * debug/fread_u_chk.c: Likewise.
12155 * debug/gets_chk.c: Likewise.
12156 * debug/obprintf_chk.c: Likewise.
12157 * debug/vasprintf_chk.c: Likewise.
12158 * debug/vdprintf_chk.c: Likewise.
12159 * debug/vsnprintf_chk.c: Likewise.
12160 * debug/vsprintf_chk.c: Likewise.
12161 * malloc/mtrace.c: Likewise.
12162 * misc/error.c: Likewise.
12163 * misc/syslog.c: Likewise.
12164 * stdio-common/asprintf.c: Likewise.
12165 * stdio-common/fxprintf.c: Likewise.
12166 * stdio-common/getw.c: Likewise.
12167 * stdio-common/isoc99_fscanf.c: Likewise.
12168 * stdio-common/isoc99_scanf.c: Likewise.
12169 * stdio-common/isoc99_vfscanf.c: Likewise.
12170 * stdio-common/isoc99_vscanf.c: Likewise.
12171 * stdio-common/isoc99_vsscanf.c: Likewise.
12172 * stdio-common/printf-prs.c: Likewise.
12173 * stdio-common/printf_fp.c: Likewise.
12174 * stdio-common/printf_fphex.c: Likewise.
12175 * stdio-common/printf_size.c: Likewise.
12176 * stdio-common/putw.c: Likewise.
12177 * stdio-common/scanf.c: Likewise.
12178 * stdio-common/sprintf.c: Likewise.
12179 * stdio-common/tmpfile.c: Likewise.
12180 * stdio-common/vfprintf.c: Likewise.
12181 * stdio-common/vfscanf.c: Likewise.
12182 * stdlib/strfmon_l.c: Likewise.
12183 * sunrpc/openchild.c: Likewise.
12184 * sunrpc/xdr_stdio.c: Likewise.
12185 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12186 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12187
d6c33fda
RM
121882012-05-24 Roland McGrath <roland@hack.frob.com>
12189
c1487492
RM
12190 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12191
12192 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12193 in the third column, to generate for the shared library an IFUNC
12194 that uses _dl_vdso_vsym.
12195 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12196 * Makeconfig (object-suffixes-noshared): New variable.
12197
12198 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12199 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12200 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12201 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12202
d6c33fda
RM
12203 [BZ #14132]
12204 * include/sys/time.h (__gettimeofday): Remove macro.
12205 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12206 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12207 Remove INTDEF.
12208 (__gettimeofday): Add libc_hidden_def.
12209 (gettimeofday): Add libc_hidden_weak.
12210 * sysdeps/mach/gettimeofday.c: Likewise.
12211 * sysdeps/posix/gettimeofday.c: Likewise.
12212 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12213 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12214 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12215 (__gettimeofday_internal): Remove strong_alias.
12216 (__gettimeofday): Add libc_hidden_def.
12217 (gettimeofday): Add libc_hidden_weak.
12218 * sysdeps/unix/syscalls.list (gettimeofday):
12219 Remove __gettimeofday_internal alias.
12220
b5a2bbe6
L
122212012-05-24 Daniel Jacobowitz <drow@false.org>
12222 H.J. Lu <hongjiu.lu@intel.com>
12223
12224 [BZ #12495]
12225 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12226 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12227 (largebin_index_32_big): New.
12228 (largebin_index): Use it for 16-byte alignment.
12229 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12230 correction with front_misalign.
12231
cfba4fda
L
122322012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12233
7f907421
L
12234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12236 Likewise.
12237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12238 Likewise.
12239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12240 Likewise.
12241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12242 Likewise.
12243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12244 Likewise.
12245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12246 Likewise.
12247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12248 Likewise.
12249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12250 Likewise.
12251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12252 Likewise.
12253 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12254 Likewise.
12255 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12256 Likewise.
12257 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12258 Likewise.
12259
cfba4fda
L
12260 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12261 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12262
80bad0cc
JM
122632012-05-24 Joseph Myers <joseph@codesourcery.com>
12264
7a25eb06
JM
12265 [BZ #10846]
12266 [BZ #14036]
12267 * math/libm-test.inc (exp_test): Add test from bug 14036.
12268 (pow_test): Add test from bug 10846.
12269
795405f9
JM
12270 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12271 and other flags.
12272 (special_function): Do not include flags in test name.
12273 (parse_args): Likewise.
12274 * sysdeps/i386/fpu/libm-test-ulps: Update.
12275 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12276 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12277 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12279
80bad0cc
JM
12280 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12281 exceptions.
12282 * math/libm-test.inc ("Philosophy"): Update comment about
12283 exception testing.
12284 (UNDERFLOW_EXCEPTION): New macro.
12285 (UNDERFLOW_EXCEPTION_OK): Likewise.
12286 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12287 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12288 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12289 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12290 (INVALID_EXCEPTION_OK): Update value.
12291 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12292 (OVERFLOW_EXCEPTION_OK): Likewise.
12293 (IGNORE_ZERO_INF_SIGN): Likewise.
12294 (test_exceptions): Handle underflow exceptions.
12295 (acos_test): Update for underflow exception expectations.
12296 (cexp_test): Likewise.
12297 (clog_test): Likewise.
12298 (clog10_test): Likewise.
12299 (csqrt_test): Likewise.
12300 (ctan_test): Likewise.
12301 (ctanh_test): Likewise.
12302 (exp_test): Likewise.
12303 (exp10_test): Likewise.
12304 (exp2_test): Likewise.
12305 (expm1_test): Likewise.
12306 (fma_test): Likewise.
12307 (j0_test): Likewise.
12308 (jn_test): Likewise.
12309 (nexttoward_test): Likewise.
12310 (pow_test): Likewise.
12311 (scalbn_test): Likewise.
12312 (scalbln_test): Likewise.
12313 (tan_test): Likewise.
12314 (y1_test): Likewise.
12315 * sysdeps/i386/fpu/libm-test-ulps: Update.
12316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12317
9e0e3d0b
DM
123182012-05-23 David S. Miller <davem@davemloft.net>
12319
12320 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12321 (__libc_sigaction): Remove unused local variables.
12322
ccd0a08f
L
123232012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12324
12325 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12326
62bdf9a6
PE
123272012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12328
f8591f80
PE
12329 mktime: avoid signed integer overflow
12330 * time/mktime.c (__mktime_internal): Do not mishandle the case
12331 where diff == INT_MIN.
12332
94c7d826
PE
12333 mktime: simplify computation of average
12334 * time/mktime.c (ranged_convert): Use new time_t_avg function
12335 instead of rolling our own (probably-slower) code.
12336
ce73d683
PE
12337 mktime: do not assume signed right shift propagates sign bit
12338 * time/mktime.c (isdst_differ): New static function.
12339 (__mktime_internal): No need to normalize tm_isdst now.
12340 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12341 tm_isdst values.
12342
72a22e59
PE
12343 mktime: merge another wrapv change from gnulib
12344 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12345 from some compilers.
12346
68605433
PE
12347 mktime: remove incorrect attempt at unusual arithmetics
12348 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12349 The code didn't really work on such machines anyway.
12350 (TYPE_MINIMUM): Assume two's complement.
12351 (twos_complement_arithmetic): Verify that long_int and time_t
12352 are two's complement (or unsigned, in the latter case).
12353
03cf7fe3
PE
12354 mktime: check signed shifts on long_int and time_t, too
12355 * time/mktime.c (SHR): Check that shifts work as desired
12356 on the types long_int and time_t too, as SHR is used on
12357 such types.
12358
f04dfbc2
PE
12359 mktime: do not assume 'long' is wide enough
12360 * time/mktime.c (verify): Move decl up.
12361 (long_int): New type.
12362 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12363 to remove assumption in the code that 'long' is wide enough to
12364 store year values. This assumption is not true on x32 and on
12365 some non-glibc platforms.
12366
62bdf9a6
PE
12367 mktime: merge wrapv change from gnulib
12368 * time/mktime.c (WRAPV): New macro.
12369 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12370 (guess_time_tm, __mktime_internal): Do not assume that signed
12371 integer overflow wraps around; modern compilers generate code
12372 where this assumption is no longer valid.
12373
5e292e4f
L
123742012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12375
12376 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12377 Replace "jmp L(pseudo_end)" with "ret".
12378 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12379 Likewise.
12380
8caf8c87
AJ
123812012-05-23 Andreas Jaeger <aj@suse.de>
12382
12383 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12384 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12385
1a09dc56
AJ
123862012-05-23 Andreas Jaeger <aj@suse.de>
12387 Maximilian Attems <max@stro.at>
12388
12389 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12390 New macros.
12391
1c87aba0
L
123922012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12393
12394 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12395 code so that pseudo_end is just ret and the stack pointer is
12396 correct also for static library in error case.
12397
40e45bd5
JM
123982012-05-23 Joseph Myers <joseph@codesourcery.com>
12399
c2670533
JM
12400 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12401 move to syscalls.list.
12402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12406
40e45bd5
JM
12407 * manual/install.texi (Running make install): Do not mention Linux
12408 kernel version for which pt_chown is not needed.
12409 (Linux): Do not mention problems with nscd with 2.0 kernels.
12410 * INSTALL: Regenerated.
12411
be08eda5
AJ
124122012-05-23 Andreas Jaeger <aj@suse.de>
12413
12414 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12415 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12416 macro.
12417 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12418 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12419 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12420 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12421 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12422 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12423 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12424 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12425 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12426 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12427 * sysdeps/unix/sysv/linux/bits/in.h
12428 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12429
a6a056bb
RM
124302012-05-22 Roland McGrath <roland@hack.frob.com>
12431
12432 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12433 (PREPARE_VERSION): Just use assert instead, it will be elided
12434 under [NDEBUG] anyway.
12435
c9009328
L
124362012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12437
12438 * sysdeps/unix/sysv/linux/Makefile: Include
12439 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 12440 (sysdep_routines): Remove sysctl.
c9009328
L
12441 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12442 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12443 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12444 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12445 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12446
73338355
AJ
124472012-05-22 Andreas Jaeger <aj@suse.de>
12448
12449 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12450 that pseudo_end is just ret and the stack pointer is correct also
12451 for static library in error case.
12452
d44638b0
PP
124532012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12454
12455 [BZ #14122]
12456 * nss/nsswitch.c (defconfig_entries): New variable.
12457 (__nss_database_lookup): Don't leak defconfig entries.
12458 (nss_parse_service_list): Don't leak on error paths.
12459 (free_database_entries): New function.
12460 (free_defconfig): New function.
12461 (free_mem): Move common code to free_database_entries.
12462
31a39bd8
L
124632012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12464
da0331a8
L
12465 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12466 Add arch_prctl.
12467 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12468
31a39bd8
L
12469 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12470 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12471 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12472 New macro.
12473 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12474 (INTERNAL_SYSCALL_TYPES): Likewise.
12475 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12476 (LOAD_REGS_TYPES_[1-6]): Likewise.
12477 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12478 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12479
45470df3
AZ
124802012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12481
12482 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12483 copysignl for GLIBC_2_0.
12484 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12485 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12486 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12487 logbl for GLIBC_2_0.
12488 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12489 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12490
98a61bcb
L
124912012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12492
a4f6e481
L
12493 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12494 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12495
f63d5db6
L
12496 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12497 Use "neg %eax".
12498
98a61bcb
L
12499 * time/mktime.c: Update copyright years.
12500
95770f14
PE
125012012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12502
6226efbd
PE
12503 mktime: merge comment-quoting-style change from gnulib
12504 * time/mktime.c: Quote 'like this' in comments.
12505 The GNU coding standards suggest that we no longer quote `like this',
12506 as "`" and "'" are typically rendered asymmetrically nowadays.
12507 The typical gnulib style is to quote 'like this' when quoting
12508 code, and "like this" when quoting English.
12509
b99e4f78
PE
12510 * time/mktime.c (compile-command): Add "-I.".
12511
643e01e6
PE
12512 mktime: merge mktime-internal.h change from gnulib
12513 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12514
2554247d
PE
12515 mktime: merge time_r change from gnulib
12516 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12517
826dd0ab
PE
12518 mktime: merge DEBUG change from gnulib
12519 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12520 case system <time.h> has a #define.
12521
bd83aabe
PE
12522 mktime: merge <sys/types.h> change from gnulib
12523 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12524 since <time.t> is now guaranteed to define time_t.
12525
95770f14
PE
12526 mktime: merge HAVE_CONFIG_H change from gnulib
12527 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12528
5e1a27a9
L
125292012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12530
0e44a77e
L
12531 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12532 Use "neg %eax".
12533
5e1a27a9
L
12534 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12535 __rlim_t cast.
12536 (struct rusage): Use anonymous union to pad each field to
12537 __syscall_slong_t.
12538
46259bec
DM
125392012-05-21 David S. Miller <davem@davemloft.net>
12540
12541 * Makefules (o-iterator): Remove .s cases.
12542 (compile-command.s): Delete.
12543 (COMPILE.s): Delete.
12544 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12545
59f0c22e
JM
125462012-05-21 Joseph Myers <joseph@codesourcery.com>
12547
12548 * configure.in (libc_cv_predef_stack_protector): Only consider
12549 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12550 * configure: Regenerated.
12551
20c07380
L
125522012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12553
bbb3154b
L
12554 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12555 New macro. Use R*LP on int and pointer.
12556 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
12557 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12558 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
12559 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12560
20c07380
L
12561 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12562 [__WORDSIZE_TIME64_COMPAT32] instead of
12563 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12564 (struct utmp): Likewise.
12565 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12566 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12567 Renamed to ...
12568 (__WORDSIZE_TIME64_COMPAT32): This.
12569 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12570 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12571 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12572 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12573 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12574 (__WORDSIZE_TIME64_COMPAT32): New macro.
12575
d8d1017e
AJ
125762012-05-21 Andreas Jaeger <aj@suse.de>
12577
12578 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12579 only if [SHARED]. Add prototype for __wcschr_ia32.
12580
6c7fb145
RM
125812012-05-21 Roland McGrath <roland@hack.frob.com>
12582
12583 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12584 of %rbp unmolested in the jmp_buf while mangling the low bits.
12585 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12586 unmolested high bits of %rbp while demangling the low bits.
12587 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12588
66274218
AJ
125892012-05-21 Andreas Jaeger <aj@suse.de>
12590
07c58f8f
AJ
12591 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12592 * sunrpc/svc_simple.c: Use it for registerrpc.
12593 * sunrpc/xcrypt.c: Use it for passwd2des.
12594
66274218
AJ
12595 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12596
61f65140
L
125972012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12598
12599 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12600 Don't define if [__SYSCALL_WORDSIZE != 32].
12601 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12602 New macro.
12603
5fefb436
AJ
126042012-05-21 Bruno Haible <bruno@clisp.org>
12605 Andreas Jaeger <aj@suse.de>
12606
12607 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12608 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12609 inptr and inend for must_buffer_ch.
12610 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12611 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12612 * stdio-common/Makefile (tests): Remove bug15.
12613 (bug15-ENV): Remove macro.
12614 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12615 anymore.
12616
d8e272ab
AJ
126172012-05-19 Andreas Jaeger <aj@suse.de>
12618 Roland McGrath <roland@hack.frob.com>
12619
12620 * manual/contrib.texi: Completely rewritten. It contains now an
12621 alphabetical list of contributors and their contributions.
12622
4a56a162
RH
126232012-05-21 Richard Henderson <rth@twiddle.net>
12624
12625 * misc/getauxval.c (__getauxval): Use unsigned long int.
12626 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12627 (getauxval): Use unsigned long int.
12628
d024d23c
L
126292012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12630
12631 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12632
cbc00a03
RM
126332012-05-21 Roland McGrath <roland@hack.frob.com>
12634
12635 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12636 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12637 __alignof__ (long double).
12638
478143fa
AZ
126392012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12640
12641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12642
c7683a6d
RH
126432012-05-20 Richard Henderson <rth@twiddle.net>
12644
12645 * misc/getauxval.c: New file.
12646 * misc/sys/auxv.h: New file.
12647 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12648 (routines): Add getauxval.
12649 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12650 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12651 * elf/dl-sysdep.c (_dl_auxv): Remove.
12652 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12653 * elf/dl-support.c (_dl_auxv): New variable.
12654 (_dl_aux_init): Initialize it.
12655 * manual/startup.texi (Auxiliary Vector): New node.
12656 * sysdeps/generic/bits/hwcap.h: New file.
12657 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12658 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12659 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12660 * sysdeps/sparc/sysdep.h: ... here. Include it.
12661 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12662 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
12663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12664 Update.
c7683a6d
RH
12665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12667 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12668 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12669 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12670 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12672 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12673
a6f1845d
AZ
126742012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12675
12676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12677
cbcbe830
DM
126782012-05-19 David S. Miller <davem@davemloft.net>
12679
12680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12681
e0b16cc2
JM
126822012-05-19 Joseph Myers <joseph@codesourcery.com>
12683
12684 [BZ #14123]
12685 * math/s_ccosh.c: Include <float.h>
12686 (__ccosh): Avoid internal overflow calculating sinh and cosh
12687 values before multiplying by sin and cos values.
12688 * math/s_ccoshf.c: Likewise.
12689 * math/s_ccoshl.c: Likewise.
12690 * math/s_csin.c: Likewise.
12691 * math/s_csinf.c: Likewise.
12692 * math/s_csinl.c: Likewise.
12693 * math/s_csinh.c: Likewise.
12694 * math/s_csinhf.c: Likewise.
12695 * math/s_csinhl.c: Likewise.
12696 * math/libm-test.inc (ccos_test): Add more tests.
12697 (ccosh_test): Likewise.
12698 (csin_test): Likewise.
12699 (csinh_test): Likewise.
12700 * sysdeps/i386/fpu/libm-test-ulps: Update.
12701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12702
6ad13e08
L
127032012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12704
f66f0ce8
L
12705 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12706 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12707
6ad13e08
L
12708 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12709
b1d072a7
JM
127102012-05-19 Joseph Myers <joseph@codesourcery.com>
12711
12712 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12713 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12714 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12715 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12716 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12717 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12718 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12719 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12720 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12721 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12722 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12723 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12724 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12725 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12726 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12727 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12728 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12729 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12730 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12731 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12732 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12733 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12734 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12735 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12736 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12737 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12738 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12739 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12740 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12741 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12742 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12743
9eae47cb
AJ
127442012-05-18 Andreas Jaeger <aj@suse.de>
12745
12746 * csu/.gitignore: Delete.
12747
bb07f69f
L
127482012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12749
12750 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12751 (timex): Use __syscall_slong_t.
12752
e6bdb741
AJ
127532012-05-18 Andreas Jaeger <aj@suse.de>
12754 Carlos O'Donell <carlos_odonell@mentor.com>
12755
12756 * manual/install.texi (Configuring and compiling): Update
12757 description about files modified in the source directory.
d6c33fda 12758 * INSTALL: Regenerated.
e6bdb741 12759
1b74487e
L
127602012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12761
12762 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12763 value. Use "or" to set return value to -1.
12764 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12765 negate return value.
12766
a88b64b9
TMQMF
127672012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12768
12769 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12770 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12771 failure if the compiler has Graphite support disabled.
12772 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12773 Likewise.
12774 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12775 CFLAGS-memmove.c): Likewise.
12776 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12777 Likewise.
12778
3707636e
L
127792012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12780
610b8622
L
12781 * sysdeps/x86_64/x32/_itoa.h: New file.
12782
7cd195df
L
12783 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12784 getdents system call only if kernel and user dirents have the
12785 same d_ino and d_off.
12786
94b07d20
L
12787 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12788 LLONG_MAX != LONG_MAX.
12789 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12790 (_fitoa_word): Likewise.
12791
18298070
L
12792 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12793 years.
12794 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12795 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12796 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12797
553c7ea4
L
12798 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12799 include <bits/wordsize.h>. Check __x86_64__ instead of
12800 __WORDSIZE.
12801 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12802 if __x86_64__ is defined. Use anonymous union on fpstate.
12803
3707636e
L
12804 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12805 anonymous union.
12806
b53ef01a
AS
128072012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12808
37fb1dc0
AS
12809 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12810 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12811 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12812 Refer to _rtld_local_ro instead of _rtld_global_ro.
12813 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12814 Likewise.
12815 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12816 Likewise.
12817 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12818 Likewise.
12819 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12820 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12821 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12822
b53ef01a
AS
12823 * sysdeps/powerpc/powerpc32/dl-machine.c
12824 (__elf_machine_runtime_setup) [PROF]: Don't reference
12825 _dl_prof_resolve.
12826
7a185db2
AJ
128272012-05-18 Andreas Jaeger <aj@suse.de>
12828
12829 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12830 function only available for GCCs before 3.4 since GCC 3.4
12831 introduced a builtin.
12832 (lrint): Likewise.
12833 (llrintf): Likewise.
12834 (llrint): Likewise.
12835 (fmaxf): Likewise.
12836 (fmax): Likewise.
12837 (fminf): Likewise.
12838 (fmin): Likewise.
12839 (rint): Likewise.
12840 (rintf): Likewise.
12841 (nearbyint): Likewise.
12842 (nearbyintf): Likewise.
12843 (ceil): Likewise.
12844 (ceilf): Likewise.
12845 (floor): Likewise.
12846 (floorf): Likewise.
12847
3e5aef87
L
128482012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12849
428bd707
L
12850 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12851 on both fields and cast pointer to __syscall_ulong_t.
12852
3e5aef87
L
12853 * bits/types.h (__fsword_t): New type.
12854 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12855 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12856 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12857 (__FSWORD_T_TYPE): Likewise.
12858 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12859 (__FSWORD_T_TYPE): Likewise.
12860 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12861 (__FSWORD_T_TYPE): Likewise.
12862 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12863 (__FSWORD_T_TYPE): Likewise.
12864 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12865 __SWORD_TYPE with __fsword_t.
12866 (statfs64): Likewise.
12867
1ba7c3dc
DM
128682012-05-17 David S. Miller <davem@davemloft.net>
12869
12870 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12871
59910343
AJ
128722012-05-17 Andreas Jaeger <aj@suse.de>
12873
12874 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12875 warning.
12876
2e4c1e9e
L
128772012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12878
12879 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12880
de7f5ce7
AJ
128812012-05-17 Andreas Jaeger <aj@suse.de>
12882
12883 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12884 when it is used.
12885
286abc3d
CM
128862012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12887
12888 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12889
477cc68e
L
128902012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12891
12892 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12893 * sysdeps/x86_64/tst-mallocalign1.c: New file.
12894
1a0994f5
CD
128952012-05-17 Andreas Jaeger <aj@suse.de>
12896 Carlos O'Donell <carlos_odonell@mentor.com>
12897
12898 [BZ #14059]
12899 * sysdeps/x86_64/multiarch/init-arch.h
12900 (bit_YMM_Usable): Rename to...
12901 (bit_AVX_Usable): ... this.
12902 (bit_FMA4_Usable): New macro.
12903 (bit_XMM_state): New macro.
12904 (bit_YMM_state): New macro.
12905 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12906 [__ASSEMBLER__] (index_AVX_Usable): ... this.
12907 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12908 (CPUID_OSXSAVE): New macro.
12909 (CPUID_AVX): New macro.
12910 (CPUID_FMA4): New macro.
12911 (index_YMM_Usable): Rename to...
12912 (index_AVX_Usable): ... this.
12913 (HAS_AVX): Use HAS_ARCH_FEATURE.
12914 (HAS_FMA4): Likewise.
12915 (HAS_YMM_USABLE): Remove.
12916 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12917 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12918 are present.
12919 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12920 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12921 * sysdeps/x86_64/multiarch/Makefile: Likewise.
12922 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12923 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12924
0af797de
CM
129252012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12926
12927 * math/libm-test.c: Support platforms without multiple rounding modes.
12928 * math/bug-nextafter.c: Support platforms without FP exceptions.
12929 * math/bug-nexttoward.c: Likewise.
12930 * math/test-fenv.c: Likewise.
12931 * math/test-misc.c: Likewise.
12932 * stdlib/bug-getcontext.c: Likewise.
12933
e39745ff
AJ
129342012-05-17 Andreas Jaeger <aj@suse.de>
12935
12936 * manual/examples/search.c (critter_cmp): Change signature to
12937 avoid warnings.
12938 * manual/string.texi (Collation Functions): Likewise.
12939
48970aba
L
129402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12941
12942 * bits/types.h: Fold copyright years.
12943 * bits/typesizes.h: Likewise.
12944 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12945 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12946 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12947 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12948 * time/time.h: Likewise.
12949
bedee953
PP
129502012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12951
12952 [BZ #208]
12953 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12954 in instead of returning them. Return void.
12955 (__libc_mallinfo): Accumulate over all arenas.
12956 (__malloc_stats): Adjust for change in int_mallinfo interface.
12957
61653dfb
RM
129582012-05-16 Roland McGrath <roland@hack.frob.com>
12959
30b99d79
RM
12960 [BZ #10375]
12961 * configure.in (NM): Add AC_CHECK_TOOL for it.
12962 (libc_extra_cflags): New substituted variable.
12963 Check for -fstack-protector being used implicitly.
12964 * configure: Regenerated.
12965 * config.make.in (config-extra-cflags): New variable,
12966 gets @libc_extra_cflags@.
12967 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12968
61653dfb
RM
12969 [BZ #10375]
12970 * configure.in: Check for _FORTIFY_SOURCE being predefined.
12971 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12972 * configure: Regenerated.
12973 * config.make.in (CPPUNDEFS): New substituted variable.
12974 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12975 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12976 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12977
661768bb
L
129782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12979
12980 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12981 (mq_attr): Use __syscall_slong_t.
12982
d4261567
L
129832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12984
12985 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12986 Check __x86_64__ instead of __WORDSIZE.
12987 (_STAT_VER_LINUX): Likewise.
12988 (stat): Check __x86_64__ instead of __WORDSIZE. Use
12989 __syscall_ulong_t and __syscall_slong_t.
12990 (stat64): Likewise.
12991
cf3ff365
L
129922012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12993
12994 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12995
76cf3e4d
L
129962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12997
12998 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12999
a637753a
L
130002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13001
13002 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13003 __syscall_ulong_t.
13004
d5e05119
L
13005 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13006 include <bits/wordsize.h>. Check __x86_64__ instead of
13007 __WORDSIZE.
13008 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13009 defined.
13010 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13011
f62ee380
L
13012 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13013 include <bits/wordsize.h>. Check __x86_64__ instead of
13014 __WORDSIZE.
13015 (user_regs_struct): Use "__extension__ unsigned long long"
13016 instead of "unsigned long" if __x86_64__ is defined.
13017 (user): Likewise. Pad after pointer field if __ILP32__ is
13018 defined.
13019
4e124ced
JM
130202012-05-16 Joseph Myers <joseph@codesourcery.com>
13021
6a3951a0
JM
13022 * configure.in (makeinfo): Require version 4.5 or later. Allow
13023 versions 5 to 9.
13024 * configure: Regenerated.
13025 * manual/install.texi (texinfo): Increase version requirement to
13026 4.5 or later.
13027 * INSTALL: Regenerated.
13028
4e124ced
JM
13029 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13030
953ca31a
L
130312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13032
13033 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13034
617aca05
L
13035 * sysdeps/x86_64/x32/ffs.c: New file.
13036
5762f7ae
L
13037 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13038 __syscall_ulong_t.
13039 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13040 defined. Use __syscall_ulong_t.
13041 (shminfo): Use __syscall_ulong_t.
13042 (shm_info): Likewise.
13043
a26b6856
L
13044 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13045 __syscall_ulong_t.
13046
cb2b9ef7
L
13047 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13048 <bits/wordsize.h>.
13049 (msgqnum_t): Use __syscall_ulong_t.
13050 (msglen_t): Likewise.
13051 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13052 __syscall_ulong_t.
13053
34683bb0
L
13054 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13055 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13056
84a68786
L
13057 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13058
48baa5f1
L
13059 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13060 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13061
180be88b
L
13062 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13063 __syscall_slong_t.
13064
5e90c8ad
L
13065 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13066 include <bits/wordsize.h>. Check __x86_64__ instead of
13067 __WORDSIZE.
13068
23dfb58b
L
13069 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13070 "unsigned long long int" if __x86_64__ is defined.
13071 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13072
ce5d54b0
L
13073 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13074 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13075 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13076
13dc9eac
L
13077 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13078 <stdint.h>.
13079 (GET_PC): Cast to uintptr_t first.
13080 (GET_FRAME): Likewise.
13081 (GET_STACK): Likewise.
13082
a7895d15
L
13083 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13084 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13085 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13086 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13087 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13088 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13089 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13090 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13091 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13092 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13093 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13094 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13095 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13096 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13097 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13098 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13099 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13100 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13101 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13102 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13103 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13104 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13105 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13106 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13107 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13108 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13109 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13110 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13111 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13112
656416c9
AS
131132012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13114
5bd66283
AS
13115 * Makerules (+depfiles): Also collect depfiles from .oS in
13116 $(extra-objs).
13117 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13118 .oS, $(libnldbl-routines)).
13119
656416c9
AS
13120 * Makerules (native-compile-mkdep-flags): Define.
13121 * sunrpc/Makefile (extra-objs): Add $(addprefix
13122 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13123 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13124 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13125 calling $(make-target-directory).
13126
a46f2169
L
131272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13128
13129 * bits/types.h (__snseconds_t): Removed.
13130 * time/time.h (struct timespec): Replace __snseconds_t with
13131 __syscall_slong_t.
13132 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13133 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13134 Likewise.
13135 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13136 (__SNSECONDS_T_TYPE): Likewise.
13137 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13138 (__SNSECONDS_T_TYPE): Likewise.
13139 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13140 (__SNSECONDS_T_TYPE): Likewise.
13141
6af6528b
L
131422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13143
13144 * sysdeps/mach/hurd/bits/typesizes.h
13145 (__SYSCALL_SLONG_TYPE): New macro.
13146 (__SYSCALL_ULONG_TYPE): Likewise.
13147
de986b56
L
131482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13149
13150 * bits/types.h (__syscall_slong_t): New type.
13151 (__syscall_ulong_t): Likewise.
13152
13153 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13154 (__SYSCALL_ULONG_TYPE): Likewise.
13155 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13156 (__SYSCALL_SLONG_TYPE): Likewise.
13157 (__SYSCALL_ULONG_TYPE): Likewise.
13158 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13159 (__SYSCALL_SLONG_TYPE): Likewise.
13160 (__SYSCALL_ULONG_TYPE): Likewise.
13161 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13162 (__SYSCALL_SLONG_TYPE): Likewise.
13163 (__SYSCALL_ULONG_TYPE): Likewise.
13164
85736dc7
L
131652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13166
13167 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13168 Add sigaltstack-offsets.sym.
13169 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13170 <sigaltstack-offsets.h>.
13171 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13172 longjmp_msg pointer.
13173 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13174 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13175 signal stack.
13176 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13177
cc03b296
JM
131782012-05-15 Joseph Myers <joseph@codesourcery.com>
13179
a9538892
JM
13180 * elf/stackguard-macros.h: Remove file.
13181 * sysdeps/generic/stackguard-macros.h: New file.
13182 * sysdeps/i386/stackguard-macros.h: Likewise.
13183 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13184 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13185 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13186 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13187 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13188 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13189 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13190 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13191 <elf/stackguard-macros.h>.
13192
cc03b296
JM
13193 [BZ #14109]
13194 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13195 __aligned__ in attribute.
13196 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13197 (gregset_t): Likewise.
13198
93171016
L
131992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13200
13201 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13202 * sysdeps/x86_64/64/Implies-after: Here. New file.
13203 * sysdeps/x86_64/x32/Implies-after: New file.
13204
d86813a0
L
132052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13206
13207 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13208 and access return value for _dl_profile_fixup. Use R10_LP to
13209 load frame size.
13210
2953ec75
L
132112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13212
13213 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13214
3b550e9e
L
132152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13216
13217 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13218 * sysdeps/x86_64/x32/sysdep.h: New file.
13219
eda41706
L
132202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13221
13222 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13223 * sysdeps/x86_64/setjmp.S: Likewise.
13224
9ea01d93
AZ
132252012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13226
13227 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13228 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13229 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13230 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13231 remove unused global constant.
13232
02a91938
CM
132332012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13234
13235 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13236 include of <not-cancel.h>.
13237
6540185f
RM
132382012-05-15 Roland McGrath <roland@hack.frob.com>
13239
13240 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13241
509072a0
AJ
132422012-05-15 Jeff Law <law@redhat.com>
13243 Andreas Jaeger <aj@suse.de>
13244
13245 [BZ #13594]
13246 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13247 out from...
13248 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13249 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13250 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13251 code changing __hst_map_handle.map.
13252
ba75122d
RM
132532012-05-15 Roland McGrath <roland@hack.frob.com>
13254
13255 * configure.in (sysnames): Look for Implies-before and Implies-after
13256 files.
13257 * configure: Regenerated.
13258
890d8bd8
L
132592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13260
13261 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13262 8-byte data alignment with LP_SIZE alignment.
13263
f6ee6623
L
132642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13265
13266 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13267 into R10_LP.
13268
ea2626f6
L
132692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13270
13271 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13272
085f715e
L
132732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13274
13275 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13276 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13277 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13278 Likewise.
13279 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13280
be8498fc
L
132812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13282
13283 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13284 (stackinfo_sub_sp): Likewise.
13285
70bc83b9
L
132862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13287
13288 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13289 RAX_LP.
13290
9bc0b730
L
132912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13292
13293 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13294 into R*_LP.
13295
6d2850e7
L
132962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13297
13298 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13299 sizes into R*_LP.
13300
3cb84561
L
133012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13302
13303 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13304
54e2ed81
L
133052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13306
13307 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13308 into R11_LP and load __x86_64_shared_cache_size_half into
13309 R8_LP.
13310
8a17f349
L
133112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13312
13313 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13314 R8_LP.
13315
777b1eea
AZ
133162012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13317
13318 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13319 logb for POWER7.
13320 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13321 logbf for POWER7.
13322 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13323 logbl for POWER7.
13324 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13325 powerpc32/power7/fpu/s_logb.c via #include.
13326 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13327 powerpc32/power7/fpu/s_logbf.c via #include.
13328 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13329 powerpc32/power7/fpu/s_logbl.c via #include.
13330
d20d4ac2
JM
133312012-05-15 Joseph Myers <joseph@codesourcery.com>
13332
13333 * README.libm: Remove file.
13334
6cdef1ab
L
133352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13336
13337 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13338 count for x32. Use R*_LP and omit operand-size suffix.
13339
0b254d8f
L
133402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13341
13342 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13343 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13344 * sysdeps/x86_64/x32/shlib-versions: New file.
13345
ceb809dc
RM
133462012-05-14 Roland McGrath <roland@hack.frob.com>
13347
13348 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13349 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13350 Use _dl_fatal_printf instead.
13351
37f1abd4
JM
133522012-05-14 Joseph Myers <joseph@codesourcery.com>
13353
13354 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13355 set if not set by the user. Do not allow for being unset.
13356 * sysdeps/unix/sysv/linux/configure: Regenerated.
13357
11de3a33
L
133582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13359
13360 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13361 the `q' suffix from lea and replace .quad with ASM_ADDR.
13362
e02f153a
L
133632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13364
13365 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13366 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13367 instead of $17.
13368 (PTR_DEMANGLE): Likewise.
13369
520ae0fd
L
133702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13371
13372 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13373 (LP_OP): Likewise.
13374 (ASM_ADDR): Likewise.
13375 (RAX_LP): Likewise.
13376 (RBP_LP): Likewise.
13377 (RBX_LP): Likewise.
13378 (RCX_LP): Likewise.
13379 (RDI_LP): Likewise.
13380 (RSI_LP): Likewise.
13381 (RSP_LP): Likewise.
13382 (R8_LP): Likewise.
13383 (R9_LP): Likewise.
13384 (R10_LP): Likewise.
13385 (R10_LP): Likewise.
13386 (R11_LP): Likewise.
13387 (R12_LP): Likewise.
13388 (R13_LP): Likewise.
13389 (R14_LP): Likewise.
13390 (R15_LP): Likewise.
13391
b985be81
L
133922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13393
13394 * sysdeps/x86_64/x32/dl-machine.h: New file.
13395
6a4888ff
AJ
133962012-05-14 Andreas Jaeger <aj@suse.de>
13397
13398 * manual/Makefile (subdir): Remove export of subdir.
13399 (all): Remove target.
13400 (.PHONY): Remove all from list.
13401 (mkinstalldirs): Remove.
13402 (.PHONY): Remove installdirs from list.
13403 ($(inst_infodir)/libc.info): Use make-target-directory.
13404 (installdirs): Remove.
13405 (subdir_%): Remove.
13406 (glibc-targets): Remove.
13407 (lib): Remove.
13408 (stubs): Remove.
13409 ($(objpfx)stubs ../po/manual.pot): Remove.
13410 ($(objpfx)stamp%): Remove.
13411 (make-target-directory): Remove.
13412 (subdir_install): Remove.
13413 (routines): Remove.
13414 (aux): Remove.
13415 (sources): Remove.
13416 (objects): Remove.
13417 (headers): Remove.
13418
13419 [BZ #13750]
13420 * manual/.gitignore: Remove, it's not needed anymore.
13421 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13422 all files in it.
13423 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13424 directory.
13425 (texis): Renamed to $(objpfx)texis.
13426 (texis-path): New, contains path to generated files.
13427 (chapters.%): Use texis-path for complete path, add extra argument
13428 libc-texinfo.sh.
13429 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13430 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13431 (summary,texi, stamp-summary): Use complete path of
13432 files. Generate files in build dir.
13433 (dir-add.texi): Build in build dir.
13434 (libm-err.texi,stamp-libm-err): Likewise.
13435 (version.texi, stamp-version): Likewise.
13436 (.%c.texi): Likewise.
13437 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13438 (mostlyclean): Remove target.
13439 (realclean): Remove target.
13440 (generated): Add new variable with contents from mostlyclean and
13441 realclean, remove entries duplicated in common-mostlyclean, add
13442 stamp-libm-err and stamp-version.
13443 (generated-dirs): Add libc directory.
13444 ($(inst_infodir)/libc.info): Install files from build dir.
13445
13446 * manual/install.texi (Configuring and compiling): Adjust since
13447 the info files are not part of the tar ball anymore.
13448
7ac77294
AJ
134492012-05-14 Andreas Jaeger <aj@suse.de>
13450
13451 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13452 variable.
13453
ffb7875d
JM
134542012-05-14 Joseph Myers <joseph@codesourcery.com>
13455
13456 [BZ #13717]
13457 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13458 to 2.2.0 where earlier.
13459 * sysdeps/unix/sysv/linux/configure: Regenerated.
13460 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13461 Remove conditional code.
13462 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13463 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13464 Remove conditional code.
13465 [!__NR_lchown]: Likewise.
13466 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13467 [__NR_lchown]: Likewise.
13468 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13469 comment referencing __ASSUME_LCHOWN_SYSCALL.
13470 * sysdeps/unix/sysv/linux/i386/sigaction.c
13471 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13472 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13473 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13474 Remove conditional code.
13475 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13476 (__protocol_available): Remove #if 0 code.
13477 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13478 conditional code.
13479 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13480 * sysdeps/unix/sysv/linux/kernel-features.h
13481 (__ASSUME_GETCWD_SYSCALL): Don't define.
13482 (__ASSUME_REALTIME_SIGNALS): Likewise.
13483 (__ASSUME_PREAD_SYSCALL): Likewise.
13484 (__ASSUME_PWRITE_SYSCALL): Likewise.
13485 (__ASSUME_POLL_SYSCALL): Likewise.
13486 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13487 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13488 non-SPARC.
13489 (__ASSUME_SIOCGIFNAME): Don't define.
13490 (__ASSUME_MSG_NOSIGNAL): Likewise.
13491 (__ASSUME_SENDFILE): Define unconditionally.
13492 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13493 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13494 conditional code.
13495 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13496 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13497 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13498 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13499 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13500 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13501 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13503 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13504 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13506 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13507 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13509 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13510 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13512 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13513 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13515 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13516 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13518 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13519 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13521 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13522 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13524 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13525 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13526 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13527 Remove conditional code.
13528 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13529 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13530 Remove conditional code.
13531 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13532 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13533 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13534 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13535 Remove conditional code.
13536 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13537 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13538 Remove conditional code.
13539 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13540 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13541 Remove conditional code.
13542 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13543 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13544 Remove conditional code.
13545 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13546 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13547 Remove conditional code.
13548 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13549 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13550 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13551 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13552 * sysdeps/unix/sysv/linux/sigaction.c
13553 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13554 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13555 * sysdeps/unix/sysv/linux/sigpending.c
13556 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13557 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13558 * sysdeps/unix/sysv/linux/sigprocmask.c
13559 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13560 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13561 * sysdeps/unix/sysv/linux/sigsuspend.c
13562 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13563 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13564 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13565 (__libc_missing_rt_sigs): Remove.
13566 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13567 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13568 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13569 Remove conditional code.
13570 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13571 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13572 return 1.
13573 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13574 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13575 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13576 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13577
1bfb7291
AJ
135782012-05-14 Andreas Jaeger <aj@suse.de>
13579
caae5a81
AJ
13580 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13581 it's not used in glibc.
13582 (__coshm1): Likewise.
13583 (__acosh1p): Likewise.
13584 (__sgn): Likewise.
13585
1bfb7291
AJ
13586 * manual/string.texi (Copying and Concatenation): Add missing
13587 variable in concat example.
13588 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13589
c044d724
L
135902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13591
144c5467 13592 [BZ #14103]
c044d724
L
13593 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13594 __builtin_clzl with __builtin_clzll.
13595
2523c62b
L
135962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13597
13598 [BZ #14104]
13599 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13600 libc_freeres_ptr.
13601
d7bb4c42
LD
136022012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13603
13604 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13605 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13606 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13607 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13608
9dc4e1fb
MF
136092012-05-14 Mike Frysinger <vapier@gentoo.org>
13610
13611 * NEWS: Update ia64 info.
13612
c7df0112
AS
136132012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13614
13615 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13616 used as bcopy.
13617
dc70356c
TS
136182012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13619
13620 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13621 * sysdeps/unix/syscalls.list (dup3): Likewise.
13622 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13623 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13624
9fb1a21f
L
136252012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13626
13627 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13628 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13629
4822a2a5
L
136302012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13631
13632 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13633 thread pointer.
13634 (TLS_IE): Use mov/add instead of movq/addq to load thread
13635 pointer.
13636 (TLS_GD_PREFIX): New.
13637 (TLS_GD): Use it.
13638
842b81d6
DM
136392012-05-11 David S. Miller <davem@davemloft.net>
13640
13641 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13642 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13643 (_FPU_SETCW): Likewise.
13644
1cf463cd
L
136452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13646
13647 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13648 is 32-byte aligned.
13649
60cc4a18
AS
136502012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13651
13652 [BZ #11837]
13653 * iconvdata/gb18030.c: Update tables.
13654 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13655 characters specially.
13656 (BODY for TO_LOOP): Add encoding of missing ranges.
13657
febb44a4
TS
136582012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13659
13660 [BZ #13673]
13661 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13662 * sysdeps/mach/hurd/dup3.c: Likewise.
13663 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13664 * sysdeps/powerpc/memmove.c:: Likewise.
13665
0a10fb9e
L
136662012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13667
13668 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13669 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13670
df8a552f
L
136712012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13672
13673 * elf/elf.h (R_X86_64_RELATIVE64): New.
13674 (R_X86_64_NUM): Updated.
13675 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13676 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13677 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13678 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13679 tst-quad1pie tst-quad2pie
13680 (modules-names): Add tst-quadmod1 tst-quadmod2.
13681 ($(objpfx)tst-quad1): New dependency.
13682 ($(objpfx)tst-quad2): Likewise.
13683 ($(objpfx)tst-quad1pie): Likewise.
13684 ($(objpfx)tst-quad2pie): Likewise.
13685 * sysdeps/x86_64/tst-quad1.c: New file.
13686 * sysdeps/x86_64/tst-quad1pie.c: New file.
13687 * sysdeps/x86_64/tst-quad2.c: Likewise.
13688 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13689 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13690 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13691 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13692 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13693
f34d6f84
ST
136942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13695
f42d41d1
ST
13696 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13697 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13698 * streams/stropts.h (t_scalar_t): Define type.
13699
3c3571fc
ST
13700 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13701 (_PATH_PRESERVE): Set to "/var/lib".
13702 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13703
61f06bd3
ST
13704 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13705 instead of int.
13706
918d4d71
ST
13707 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13708 if __dir_mkfile succeeded.
13709
f34d6f84
ST
13710 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13711 checking for _hurd_dtablesize. Unlock it right after having
13712 finished _hurd_dtable allocation.
13713
10589b4a
TS
137142012-05-10 Thomas Schwinge <thomas@schwinge.name>
13715
674cdbc7
TS
13716 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13717 * sysdeps/mach/hurd/configure: Regenerated.
13718 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13719 special-casing to...
13720 * sysdeps/gnu/configure.in: ... this new file.
13721 * sysdeps/unix/sysv/linux/configure: Regenerated.
13722 * sysdeps/gnu/configure: New generated file.
13723
8e41b99f
TS
13724 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13725 for Linux: use nsec instead of usec, as well as:
13726 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13727 members of type struct timespec.
13728 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13729 New macros.
13730 (struct stat64): Likewise.
13731 (_STATBUF_ST_NSEC): New macro.
13732 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13733
10589b4a
TS
13734 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13735 __strtoul_internal rather than strtoul.
13736
63643c85
PT
137372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13738
13739 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13740 and reject them.
13741
3faebe6a
ST
137422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13743
13744 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13745 which preserves existing values.
13746 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13747
c6474b07
PT
137482012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13749
13750 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13751 TIMEOUT values. Return EINVAL for NFDS values either negative or
13752 greater than FD_SETSIZE.
13753
1043890b
ST
137542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13755
13756 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13757 allocated, call __vm_protect to finish enabling the existing space, and
13758 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13759 allocate the remainder.
13760
37ed8b9b
PT
137612012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13762
13763 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13764 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13765
db653660
ST
137662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13767
37ed8b9b
PT
13768 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13769 sysdeps/mach/hurd/readlink.c.
b29d4053 13770
db653660
ST
13771 * posix/tst-sysconf.c (posix_options): Only use
13772 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13773 _POSIX_SYNCHRONIZED_IO when they are defined
13774 * sysdeps/mach/hurd/bits/posix_opt.h:
13775 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13776 (_XOPEN_REALTIME): Undefine macro.
13777 (_XOPEN_REALTIME_THREADS): Undefine macro.
13778 (_XOPEN_SHM): Undefine macro.
13779 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13780 macro to -1.
13781 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13782 macro to -1.
13783 (_POSIX_ASYNC_IO): Undefine macro.
13784 (_POSIX_PRIORITIZED_IO): Undefine macro.
13785 (_POSIX_SPIN_LOCKS): Define macro to -1.
13786
ee16e894
ST
13787 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13788 SA_NODEFER, SA_RESETHAND.
13789 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13790 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13791 F_DUPFD_CLOEXEC.
13792
6103ae3b
TS
137932012-05-10 Thomas Schwinge <thomas@schwinge.name>
13794
13795 * elf/Makefile (pldd-modules): Define unconditionally.
13796
80b4e5f3
TS
137972012-05-10 Thomas Schwinge <thomas@schwinge.name>
13798
13799 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13800
edadcbd6
ST
138012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13802
13803 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13804 Return ENOENT when name is empty.
13805 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13806
80694780
TS
138072012-05-10 Thomas Schwinge <thomas@schwinge.name>
13808
1792c087
TS
13809 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13810
80694780
TS
13811 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13812
6b645f0d
ST
138132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13814
80694780
TS
13815 Fix mlock in all cases except non-readable pages.
13816 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13817 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 13818
6b645f0d
ST
13819 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13820 (__mkdir): When path is `/', just fail with EEXIST.
13821 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13822
e468f8a3
TS
138232012-05-10 Thomas Schwinge <thomas@schwinge.name>
13824
13825 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13826 <sys/uio.h> (for writev).
13827 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13828 and <sys/param.h> (for MIN).
13829
a4186cff
PT
138302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13831
13832 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13833 REQUESTED_TIME. Properly set the remaining time and return EINTR
13834 if interrupted.
13835
510bbf14
TS
138362012-05-10 Thomas Schwinge <thomas@schwinge.name>
13837
13838 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13839 Depend on against $(link-rpcuserlibs).
13840
5d5722e8
ST
138412012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13842
a4186cff
PT
13843 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13844 (__libc_stack_end): Do not use attribute_relro.
13845 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13846 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 13847 to libthread-provided value.
a4186cff
PT
13848 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13849 attribute_relro.
5d5722e8 13850
37233df9
TS
138512012-05-10 Thomas Schwinge <thomas@schwinge.name>
13852
be971a2b
TS
13853 [BZ #3748]
13854 * bits/libc-lock.h (__libc_once_get): New macro.
13855 * sysdeps/mach/bits/libc-lock.h: Likewise.
13856 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13857 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13858 instead of using implementation details.
13859
37233df9
TS
13860 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13861 * libio/freopen.c: Likewise.
13862 * libio/freopen64.c: Likewise.
13863 * misc/syslog.c: Likewise.
13864 * nscd/connections.c: Likewise.
13865 * nscd/netgroupcache.c: Likewise.
13866 * sysdeps/posix/getcwd.c: Likewise.
13867
38de94a5
RM
138682012-05-10 Roland McGrath <roland@hack.frob.com>
13869
13870 * math/w_ilogbf.c: Add #include <limits.h>.
13871
67530489
ST
138722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13873
a4186cff 13874 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
13875 path instead of returning without unlocking.
13876
67530489
ST
13877 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13878 immediate-write ioctls.
13879 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13880
5aa3a74a
TS
138812012-05-10 Thomas Schwinge <thomas@schwinge.name>
13882
18bad2ae
TS
13883 * sysdeps/mach/hurd/i386/init-first.c (init): Use
13884 __builtin_frame_address instead of making assumptions about the
13885 location of the return address relative to DATA. Force early load of
13886 the return address.
13887 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13888 __builtin_frame_address.
13889
5aa3a74a
TS
13890 dup3 for GNU Hurd.
13891 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13892 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13893 implement dup3 and do some further code clean-ups.
13894 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13895 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13896
ecd0de9a
ST
138972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13898
cd9fa985
ST
13899 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13900
a4186cff
PT
13901 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13902 HURD_CRITICAL_END around holding _hurd_dtable_lock.
13903 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13904 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13905 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13906 d->port.lock.
802ca5a5 13907
a4186cff
PT
13908 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13909 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
13910 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 13911
bcf55240
TS
139122012-05-10 Thomas Schwinge <thomas@schwinge.name>
13913
6960eb42
TS
13914 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13915 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13916 definitions.
13917
eb43375f
TS
13918 accept4 for GNU Hurd.
13919 * include/sys/socket.h (__libc_accept4): New prototype.
13920 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
13921 to implement __libc_accept4.
13922 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13923 __libc_accept4.
13924 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13925
bcf55240
TS
13926 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13927 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13928 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13929 signal-defines.sym.
13930
6178c55b
ST
139312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13932
a4186cff 13933 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 13934
6f080c2f
TS
139352012-05-10 Thomas Schwinge <thomas@schwinge.name>
13936
13937 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13938 assertion on O_CLOEXEC flag.
13939 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13940 * hurd/intern-fd.c: Likewise.
13941 * hurd/port2fd.c: Likewise.
13942
bcfe3a54
ST
139432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13944
13945 [BZ #3906]
13946 * bits/in.h (IPV6_PKTINFO): Define new macro.
13947 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13948
89c9aa49
AZ
139492012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13950
13951 [BZ #13954]
13952 [BZ #13955]
13953 [BZ #13956]
13954 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13955 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13956 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13957 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13958 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13959 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13960 * math/libm-test.inc (logb_test) : Additional logb tests.
13961
021db4be
AJ
139622012-05-09 Andreas Schwab <schwab@linux-m68k.org>
13963 Andreas Jaeger <aj@suse.de>
13964
13965 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13966 * configure: Regenerated.
13967 * config.h.in (LINK_OBSOLETE_RPC): New macro.
13968 * config.make.in (link-obsolete-rpc): New substituted variable.
13969 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13970 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13971 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13972 (shared-only-routines): Don't set it under [link-obsolete-rpc],
13973 so that libc.a contains the symbols.
13974 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13975 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13976 * sunrpc/auth_none.c: Likewise.
13977 * sunrpc/auth_unix.c: Likewise.
13978 * sunrpc/authdes_prot.c: Likewise.
13979 * sunrpc/authuxprot.c: Likewise.
13980 * sunrpc/clnt_gen.c: Likewise.
13981 * sunrpc/clnt_perr.c: Likewise.
13982 * sunrpc/clnt_raw.c: Likewise.
13983 * sunrpc/clnt_simp.c: Likewise.
13984 * sunrpc/clnt_tcp.c: Likewise.
13985 * sunrpc/clnt_udp.c: Likewise.
13986 * sunrpc/clnt_unix.c: Likewise.
13987 * sunrpc/des_crypt.c: Likewise.
13988 * sunrpc/des_soft.c: Likewise.
13989 * sunrpc/get_myaddr.c: Likewise.
13990 * sunrpc/key_call.c: Likewise.
13991 * sunrpc/key_prot.c: Likewise.
13992 * sunrpc/netname.c: Likewise.
13993 * sunrpc/pm_getmaps.c: Likewise.
13994 * sunrpc/pm_getport.c: Likewise.
13995 * sunrpc/pmap_clnt.c: Likewise.
13996 * sunrpc/pmap_prot.c: Likewise.
13997 * sunrpc/pmap_prot2.c: Likewise.
13998 * sunrpc/pmap_rmt.c: Likewise.
13999 * sunrpc/publickey.c: Likewise.
14000 * sunrpc/rpc_cmsg.c: Likewise.
14001 * sunrpc/rpc_common.c: Likewise.
14002 * sunrpc/rpc_dtable.c: Likewise.
14003 * sunrpc/rpc_prot.c: Likewise.
14004 * sunrpc/rpc_thread.c: Likewise.
14005 * sunrpc/rtime.c: Likewise.
14006 * sunrpc/svc.c: Likewise.
14007 * sunrpc/svc_auth.c: Likewise.
14008 * sunrpc/svc_raw.c: Likewise.
14009 * sunrpc/svc_run.c: Likewise.
14010 * sunrpc/svc_tcp.c: Likewise.
14011 * sunrpc/svc_udp.c: Likewise.
14012 * sunrpc/svc_unix.c: Likewise.
14013 * sunrpc/svcauth_des.c: Likewise.
14014 * sunrpc/xcrypt.c: Likewise.
14015 * sunrpc/xdr.c: Likewise.
14016 * sunrpc/xdr_array.c: Likewise.
14017 * sunrpc/xdr_float.c: Likewise.
14018 * sunrpc/xdr_intXX_t.c: Likewise.
14019 * sunrpc/xdr_mem.c: Likewise.
14020 * sunrpc/xdr_rec.c: Likewise.
14021 * sunrpc/xdr_ref.c: Likewise.
14022 * sunrpc/xdr_sizeof.c: Likewise.
14023 * sunrpc/xdr_stdio.c: Likewise.
14024
b5c086a2
RM
140252012-05-10 Roland McGrath <roland@hack.frob.com>
14026
14027 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14028 change. Update copyright years.
14029
6d74dd09
JM
140302012-05-10 Joseph Myers <joseph@codesourcery.com>
14031
14032 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14033
28e72501
MK
140342012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14035 Joseph Myers <joseph@codesourcery.com>
14036 Paul Pluzhnikov <ppluzhnikov@google.com>
14037
14038 [BZ #14012]
14039 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14040 requiring rpcgen.
14041 [cross-compiling] (extra-libs): Likewise.
14042 [cross-compiling] (extra-libs-others): Likewise.
14043 [cross-compiling] (librpcsvc-routines): Likewise.
14044 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14045 [cross-compiling] (omit-deps): Likewise.
14046 (sunrpc-CPPFLAGS): New variable.
14047 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14048 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14049 (cross-rpcgen-objs): New variable.
14050 (extra-objs): Append $(cross-rpcgen-objs).
14051 ($(cross-rpcgen-objs)): New rule.
14052 ($(objpfx)cross-rpcgen): Likewise.
14053 (rpcgen-cmd): Define to use $(built-program-file). Expand
14054 comment.
14055 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14056 ($(objpfx)x%.stmp): Likewise.
14057 * sunrpc/proto.h [IS_IN_build] (_): Define.
14058 [IS_IN_build] (_libc_intl_domainname): Likewise.
14059
c8c59454
L
140602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14061
14062 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14063 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14064 and R_X86_64_TPOFF64.
14065
6f27cd16
JM
140662012-05-10 Joseph Myers <joseph@codesourcery.com>
14067
14068 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14069 sysdeps/unix/sysv/syscalls.list.
14070 (stime): Likewise.
14071 (utime): Likewise.
14072 * sysdeps/unix/sysv/syscalls.list: Remove file.
14073
02467e1c
PE
140742012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14075
14076 [BZ #3440]
14077 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14078 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14079 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14080 (__LC_IDENTIFICATION): Make these macros useful in #if
14081 expressions, as required by C99.
14082
da392631
AS
140832012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14084
14085 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14086 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14087 after this.
14088
8115f29b
L
140892012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14090
14091 * stdlib/longlong.h: Updated from GCC.
14092
bdd74070
AJ
140932012-05-09 Andreas Jaeger <aj@suse.de>
14094
edfe0dbe
AJ
14095 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14096 default is first entry.
14097 (run_mode): Set type.
14098 (main): Remove informal message about syslog.
14099 (options): Fix typo.
14100
bcfe3a54
ST
14101 [BZ #14053]
14102 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 14103 to asm.
bcfe3a54
ST
14104 (lrint): Likewise.
14105 (llrintf): Likewise.
14106 (llrint): Likewise.
14107 (rint): Likewise.
14108 (rintf): Likewise.
14109 (nearbyint): Likewise.
14110 (nearbyintf): Likewise.
bdd74070 14111
91d8d69e
AJ
141122012-05-09 Andreas Jaeger <aj@suse.de>
14113 Pedro Alves <palves@redhat.com>
14114
14115 * nscd/nscd.c (run_mode): Use enum.
14116 (main): Cleanup coding style issue.
14117
bb90b80b
AJ
141182012-05-09 Alexandre Oliva <aoliva@redhat.com>
14119 Andreas Jaeger <aj@suse.de>
14120
bcfe3a54
ST
14121 * nscd/nscd.c (go_background): Replaced with...
14122 (run_mode): ... this.
bb90b80b 14123 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
14124 (options): Add -F --foreground.
14125 (main): Implement it.
14126 (parse_opt): Parse it.
bb90b80b 14127
1a4b75a1
AJ
141282012-05-09 Andreas Jaeger <aj@suse.de>
14129
14130 [BZ #14083]
14131 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14132 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14133 -Wconversion warning.
14134 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14135 Likewise.
14136
b1cc2472
JM
141372012-05-09 Joseph Myers <joseph@codesourcery.com>
14138
14139 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14140 == 0.
14141 (LC_ALL): Use macro-int-constant.
14142 (LC_COLLATE): Likewise.
14143 (LC_CTYPE): Likewise.
14144 (LC_MESSAGES): Likewise.
14145 (LC_MONETARY): Likewise.
14146 (LC_NUMERIC): Likewise.
14147 (LC_TIME): Likewise.
14148 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14149 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14150 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14151 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14152 Specify type.
14153 [C99-based standards] (float_t): Expect type.
14154 [C99-based standards] (double_t): Expect type.
14155 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14156 type.
14157 [C99-based standards] (HUGE_VALL): Likewise.
14158 [C99-based standards] (INFINITY): Likewise.
14159 [C99-based standards] (NAN): Likewise.
14160 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14161 [C99-based standards] (FP_NAN): Likewise.
14162 [C99-based standards] (FP_NORMAL): Likewise.
14163 [C99-based standards] (FP_SUBNORMAL): Likewise.
14164 [C99-based standards] (FP_ZERO): Likewise.
14165 [C99-based standards] (FP_FAST_FMA): Use
14166 optional-macro-int-constant. Specify type. Require == 1.
14167 [C99-based standards] (FP_FAST_FMAF): Likewise.
14168 [C99-based standards] (FP_FAST_FMAL): Likewise.
14169 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14170 [C99-based standards] (FP_ILOGBNAN): Likewise.
14171 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14172 Specify type.
14173 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14174 [C99-based standards] (math_errhandling): Specify type.
14175 [ISO99 || ISO11] (signgam): Do not allow.
14176 [non-C99-based standards] (copysignf): Do not allow.
14177 [non-C99-based standards] (exp2f): Likewise.
14178 [non-C99-based standards] (log2f): Likewise.
14179 [non-C99-based standards] (modff): Allow.
14180 [non-C99-based standards] (erff): Do not allow.
14181 [non-C99-based standards] (erfcf): Likewise.
14182 [non-C99-based standards] (gammaf): Likewise.
14183 [non-C99-based standards] (hypotf): Likewise.
14184 [non-C99-based standards] (j0f): Likewise.
14185 [non-C99-based standards] (j1f): Likewise.
14186 [non-C99-based standards] (jnf): Likewise.
14187 [non-C99-based standards] (lgammaf): Likewise.
14188 [non-C99-based standards] (tgammaf): Likewise.
14189 [non-C99-based standards] (y0f): Likewise.
14190 [non-C99-based standards] (y1f): Likewise.
14191 [non-C99-based standards] (ynf): Likewise.
14192 [non-C99-based standards] (isnanf): Likewise.
14193 [non-C99-based standards] (acoshf): Likewise.
14194 [non-C99-based standards] (asinhf): Likewise.
14195 [non-C99-based standards] (atanhf): Likewise.
14196 [non-C99-based standards] (cbrtf): Likewise.
14197 [non-C99-based standards] (expm1f): Likewise.
14198 [non-C99-based standards] (ilogbf): Likewise.
14199 [non-C99-based standards] (log1pf): Likewise.
14200 [non-C99-based standards] (logbf): Likewise.
14201 [non-C99-based standards] (nextafterf): Likewise.
14202 [non-C99-based standards] (remainderf): Likewise.
14203 [non-C99-based standards] (rintf): Likewise.
14204 [non-C99-based standards] (scalbf): Likewise.
14205 [non-C99-based standards] (copysignl): Likewise.
14206 [non-C99-based standards] (exp2l): Likewise.
14207 [non-C99-based standards] (log2l): Likewise.
14208 [non-C99-based standards] (modfl): Allow.
14209 [non-C99-based standards] (erfl): Do not allow.
14210 [non-C99-based standards] (erfcl): Likewise.
14211 [non-C99-based standards] (gammal): Likewise.
14212 [non-C99-based standards] (hypotl): Likewise.
14213 [non-C99-based standards] (j0l): Likewise.
14214 [non-C99-based standards] (j1l): Likewise.
14215 [non-C99-based standards] (jnl): Likewise.
14216 [non-C99-based standards] (lgammal): Likewise.
14217 [non-C99-based standards] (tgammal): Likewise.
14218 [non-C99-based standards] (y0l): Likewise.
14219 [non-C99-based standards] (y1l): Likewise.
14220 [non-C99-based standards] (ynl): Likewise.
14221 [non-C99-based standards] (isnanl): Likewise.
14222 [non-C99-based standards] (acoshl): Likewise.
14223 [non-C99-based standards] (asinhl): Likewise.
14224 [non-C99-based standards] (atanhl): Likewise.
14225 [non-C99-based standards] (cbrtl): Likewise.
14226 [non-C99-based standards] (expm1l): Likewise.
14227 [non-C99-based standards] (ilogbl): Likewise.
14228 [non-C99-based standards] (log1pl): Likewise.
14229 [non-C99-based standards] (logbl): Likewise.
14230 [non-C99-based standards] (nextafterl): Likewise.
14231 [non-C99-based standards] (remainderl): Likewise.
14232 [non-C99-based standards] (rintl): Likewise.
14233 [non-C99-based standards] (scalbl): Likewise.
14234 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14235 [non-C99-based standards] (FP_*): Do not allow.
14236 [C99-based standards] (FP_*): Change to
14237 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14238 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14239 allow.
14240 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14241 (SIG_ERR): Likewise.
14242 [X/Open-based standards] (SIG_HOLD): Likewise.
14243 (SIG_IGN): Likewise.
14244 (SIGABRT): Use macro-int-constant. Specify type. Require
14245 positive value.
14246 (SIGFPE): Likewise.
14247 (SIGILL): Likewise.
14248 (SIGINT): Likewise.
14249 (SIGSEGV): Likewise.
14250 (SIGTER): Likewise.
14251 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14252 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14253 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14254 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14255 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14256 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14257 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14258 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14259 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14260 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14261 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14262 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14263 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14264 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14265 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14266 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14267 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14268 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14269 [X/Open-based standards] (SIGTRAP): Likewise.
14270 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14271 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14272 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14273 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14274 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14275 allow.
14276
b9f1922d
IW
142772012-05-08 Ian Wienand <ianw@vmware.com>
14278
14279 [BZ #14080]
14280 * time/tzset.c (__tzset_parse_tz): Update default rules for
14281 daylight time changes in the Energy Policy Act of 2005.
14282
1db86e88
AJ
142832012-05-09 Andreas Jaeger <aj@suse.de>
14284
14285 [BZ #13983]
14286 * elf/ldconfig.c (parse_conf): Change string to make clear that
14287 ldconfig only issued a warning if ld.so.conf does not exist.
14288
dee4a4e3
DM
142892012-05-08 David S. Miller <davem@davemloft.net>
14290
ee0db190
DM
14291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14292 movxtod instead of popping the value on the stack.
14293
dee4a4e3
DM
14294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14295
6a43ec98
CD
142962012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14297
14298 * config.h.in: Add HAVE_ARM_PCS_VFP.
14299
05c2c961
RMG
143002012-05-08 Roland Mc Grath <roland@hack.frob.com>
14301
bcfe3a54
ST
14302 [BZ #13979]
14303 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14304 checking but the checks are disabled for any reason.
05c2c961 14305
4b30f61a
L
143062012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14307
14308 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14309 and ELF64_R_TYPE with ELFW(R_TYPE).
14310
eee2bc67
JM
143112012-05-08 Joseph Myers <joseph@codesourcery.com>
14312
7ea5391a
JM
14313 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14314 (ulimit): Likewise.
14315
eee2bc67
JM
14316 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14317 (settimeofday): Likewise.
14318
abb66a67
MF
143192012-05-08 Mike Frysinger <vapier@gentoo.org>
14320
14321 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14322 a struct th_u2 inside the union, and move tu_block/tu_code into
14323 a new th_u3 union of tu_block/tu_code inside of that. Move
14324 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14325 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14326 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14327 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14328 (th_stuff): Change to th_u1.tu_stuff.
14329 (th_data): Define.
14330 (th_msg): Change to th_u1.th_u2.tu_data.
14331
7f18b530
DM
143322012-05-07 David S. Miller <davem@davemloft.net>
14333
05760585
DM
14334 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14335
7f18b530
DM
14336 [BZ #14074]
14337 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14338 (SETUP_PIC_REG): Use it.
14339 (SETUP_PIC_REG_LEAF): Use it.
14340
495fd99f
JM
143412012-05-07 Joseph Myers <joseph@codesourcery.com>
14342
14343 [BZ #13885]
14344 [BZ #13923]
14345 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14346 USE_AS_EXPM1L.
14347 (EXPL_FINITE): Likewise.
14348 (FLDLOG): Likewise.
14349 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14350 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14351 e_expl.S.
14352 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14353 USE_AS_EXPM1L.
14354 (EXPL_FINITE): Likewise.
14355 (FLDLOG): Likewise.
14356 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14357 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14358 e_expl.S.
14359 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14360 test of -max_value argument for long double.
14361 * sysdeps/i386/fpu/libm-test-ulps: Update.
14362 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14363
6693d694
DM
143642012-05-06 David S. Miller <davem@davemloft.net>
14365
14366 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14367 quad soft-float symbols whose references which are compiler
14368 generated.
14369 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14370
6c23e11c
JM
143712012-05-06 Joseph Myers <joseph@codesourcery.com>
14372
d8b82cad
JM
14373 [BZ #13884]
14374 [BZ #13914]
14375 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14376 USE_AS_EXP10L.
14377 (EXPL_FINITE): Likewise.
14378 (FLDLOG): Likewise.
14379 (c0): Likewise.
14380 (c1): Likewise.
14381 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14382 Adjust comments for base varying.
14383 (__expl_finite): Change alias to EXPL_FINITE.
14384 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14385 e_expl.S.
14386 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14387 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14388 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14389 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14390 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14391 USE_AS_EXP10L.
14392 (EXPL_FINITE): Likewise.
14393 (FLDLOG): Likewise.
14394 (c0): Likewise.
14395 (c1): Likewise.
14396 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14397 Adjust comments for base varying.
14398 (__expl_finite): Change alias to EXPL_FINITE.
14399 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14400 tests for bugs.
14401 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14402
6c23e11c
JM
14403 [BZ #14064]
14404 * math/libm-test.inc (check_float_internal): Correct ulp
14405 calculation for subnormal expected results.
14406
29ba805c
AJ
144072012-05-06 Andreas Jaeger <aj@suse.de>
14408
14409 * Makeconfig (+math-flags): New, set to -frounding-math.
14410 (+cflags): Add +math-flags so that all of glibc gets compiled with
14411 it.
14412
14413 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14414
7b17aeda
JM
144152012-05-05 Joseph Myers <joseph@codesourcery.com>
14416
5779f134
JM
14417 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14418 Disable one test.
14419
41498f4d
JM
14420 [BZ #13787]
14421 [BZ #13922]
14422 [BZ #14036]
14423 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14424 (__ieee754_expl): Allow for and saturate large arguments.
14425 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14426 (u_threshold): Likewise.
14427 (__exp): Call __ieee754_exp before checking for overflow and
14428 underflow.
14429 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14430 (u_threshold): Likewise.
14431 (__expf): Call __ieee754_expf before checking for overflow and
14432 underflow.
14433 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14434 (u_threshold): Likewise.
14435 (__expl): Call __ieee754_expl before checking for overflow and
14436 underflow.
14437 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14438 (__ieee754_expl): Allow for and saturate large arguments.
14439 * math/libm-test.inc (exp_test): Add another test. Do not allow
14440 missing overflow exception on overflow.
14441 (expm1_test): Do not allow missing overflow exception on overflow.
14442
6698b8bf
JM
14443 * sysdeps/i386/fpu/e_expl.c: Move to ...
14444 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14445 rather than using inline asm.
14446 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14447 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14448 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14449
7b17aeda
JM
14450 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14451 (nice): Likewise.
14452 (poll): Likewise.
14453 (signal): Likewise.
14454 (time): Likewise.
14455 (times): Likewise.
14456
f7c85819
JM
144572012-05-04 Joseph Myers <joseph@codesourcery.com>
14458
14459 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14460 sysdeps/unix/common/syscalls.list.
14461 (fchmod): Likewise.
14462 (fchown): Likewise.
14463 (ftruncate): Likewise.
14464 (getrusage): Likewise.
14465 (gettimeofday): Likewise.
14466 (setpgid): Likewise.
14467 (setregid): Likewise.
14468 (setreuid): Likewise.
14469 (sigaction): Likewise.
14470 (truncate): Likewise.
14471 (vhangup): Likewise.
14472 * sysdeps/unix/common/syscalls.list: Remove file.
14473 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14474 * sysdeps/unix/sysv/linux/Implies: Likewise.
14475
336270d0
L
144762012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14477
14478 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14480 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14481 Moved to ...
14482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14483 Here.
14484 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14485 to ...
14486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14487 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14488 to ...
14489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14490 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14491 to ...
14492 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14493 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14494 to ...
14495 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14496 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14497 to ...
14498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14499 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14500 to ...
14501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14502 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14503 to ...
14504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14505 Here.
14506 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14507 to ...
14508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14509 Here.
14510 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14511 to ...
14512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14513 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14514 Moved to ...
14515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14516 Here.
14517 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14518 to ...
14519 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14520
d128e450
JM
145212012-05-04 Joseph Myers <joseph@codesourcery.com>
14522
fa8ee516
JM
14523 * sysdeps/unix/common/bits/dirent.h: Remove file.
14524 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14525
d128e450
JM
14526 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14527 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14528 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14529 * sysdeps/unix/bsd/isatty.c: Likewise.
14530 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14531 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14532 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14533
ff8faaf0 145342012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 14535
62881be4 14536 [BZ #13563]
31dc8730
AZ
14537 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14538 long double comparison inaccuracies.
14539 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14540 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14541
6fef930c
AS
145422012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14543
14544 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14545 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14546
8f203e6c
JM
145472012-05-04 Joseph Myers <joseph@codesourcery.com>
14548
14549 [BZ #14049]
14550 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14551 nonzero digits before rounding a hex value.
14552 * stdlib/tst-strtod.c (tests): Add another test.
14553
5197d9c2
AK
145542012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14555
14556 * sysdeps/s390/fpu/libm-test-ulps: Update.
14557
f0c1dedf
AJ
145582012-05-03 Andreas Jaeger <aj@suse.de>
14559
14560 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14561 does not get optimized out.
14562 (malloc_opt_barrier): New.
14563
a65ef2ae 145642012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 14565 Roland McGrath <roland@hack.frob.com>
a65ef2ae 14566
2b942cb7 14567 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 14568 intermediate file deletion.
2b942cb7 14569 (generated): Add .symlist files.
a65ef2ae 14570
54b71e02
JM
145712012-05-03 Joseph Myers <joseph@codesourcery.com>
14572
14573 [BZ #13775]
14574 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14575 Redirect under this condition.
14576 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14577 [__USE_GNU] (__dprintf_chk): Not under this condition.
14578 [__USE_GNU] (__vdprintf_chk): Likewise.
14579 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14580 under this condition.
14581 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14582 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14583 [__USE_XOPEN2K8] (vdprintf): Likewise.
14584 [__USE_GNU] (__dprintf_chk): Not under this condition.
14585 [__USE_GNU] (__vdprintf_chk): Likewise.
14586 [__USE_GNU] (dprintf): Likewise.
14587 [__USE_GNU] (vdprintf): Likewise.
14588
d3dfcc41
RM
145892012-05-03 Roland McGrath <roland@hack.frob.com>
14590
14591 * elf/Makefile (common-generated): Set this instead of generated for
14592 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14593 $(all-built-dso)-derived lists.
14594
7ac30cc5
AJ
145952012-05-03 Andreas Jaeger <aj@suse.de>
14596
0c51e550
AJ
14597 * sysdeps/i386/fpu/libm-test-ulps: Update.
14598
7ac30cc5
AJ
14599 * FAQ: Removed.
14600 * FAQ.in: Likewise.
14601 * scripts/gen-FAQ.pl: Likewise.
14602 * manual/install.texi (Installation): Point to online location of
14603 FAQ.
14604 * Makefile (files-for-dist): Remove FAQ.
14605 (FAQ): Remove.
14606
d4c2917f
AM
146072012-05-02 Allan McRae <allan@archlinux.org>
14608
14609 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14610 (LDFLAGS-reldepmod5.so): Likewise.
14611 (LDFLAGS-reldep6mod1.so): Likewise.
14612 (LDFLAGS-reldep6mod4.so): Likewise.
14613 (LDFLAGS-reldep8mod3.so): Likewise.
14614 (LDFLAGS-unload4mod1.so): Likewise.
14615 (LDFLAGS-unload4mod2.so): Likewise.
14616 (LDFLAGS-tst-initorder): Likewise.
14617 (LDFLAGS-tst-initordera2.so): Likewise.
14618 (LDFLAGS-tst-initordera3.so): Likewise.
14619 (LDFLAGS-tst-initordera4.so): Likewise.
14620 (LDFLAGS-tst-initorderb2.so): Likewise.
14621 (LDFLAGS-noload): Likewise.
14622 (LDFLAGS-next): Likewise.
14623 (LDFLAGS-order2mod1.so): Likewise.
14624 (LDFLAGS-order2mod2.so): Likewise.
14625 (LDFLAGS-tst-initorder2): Likewise.
14626 (LDFLAGS-tst-initorder2a.so): Likewise.
14627 (LDFLAGS-tst-initorder2b.so): Likewise.
14628 (LDFLAGS-tst-initorder2c.so): Likewise.
14629 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14630
d77f993f
DM
146312012-05-02 David S. Miller <davem@davemloft.net>
14632
14633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14634
171a70b4
PP
146352012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14636
14637 [BZ #14055]
14638 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14639
0be196ad
AJ
146402012-05-02 Andreas Jaeger <aj@suse.de>
14641
14642 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14643 since we manipulate rounding mode.
14644 (CPPFLAGS-test-idouble.c): Likewise.
14645 (CPPFLAGS-test-ifloat.c): Likewise.
14646 (CFLAGS-test-ldouble.c): Likewise.
14647 (CFLAGS-test-double.c): Likewise.
14648 (CFLAGS-test-float.c): Likewise.
14649 (CFLAGS-test-misc.c): Likewise.
14650 (CFLAGS-test-test-fenv.c): Likewise.
14651
4f9d04aa
AZ
146522012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14653
2b942cb7
RM
14654 [BZ #2550]
14655 [BZ #2570]
14656 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14657 comparisons to determine direction to adjust input.
4f9d04aa 14658
82a79e7d
RM
146592012-05-01 Roland McGrath <roland@hack.frob.com>
14660
f5a01ca9
RM
14661 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14662 output to the target.
14663
90fe4186
RM
14664 * scripts/localplt.awk: New file.
14665 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14666 (check-localplt-CFLAGS): Variable removed.
14667 ($(all-built-dso:=.jmprel)): New static pattern rule.
14668 (generated): Add those targets.
14669 (localplt-built-dso): New variable.
14670 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14671
14672 * elf/check-localplt.c: File removed.
14673
82397ed6
RM
14674 * scripts/check-execstack.awk: New file.
14675 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14676 (check-execstack-CFLAGS): Variable removed.
14677 ($(objpfx)check-execstack.h): Target removed.
14678 ($(objpfx)execstack-default): New target.
14679 (generated): Add that instead of check-execstack.h.
14680 ($(all-built-dso:=.phdr)): New static pattern rule.
14681 (generated): Add those targets.
14682 * elf/check-execstack.c: File removed.
14683
82a79e7d
RM
14684 * scripts/check-textrel.awk: New file.
14685 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14686 (check-textrel-CFLAGS): Variable removed.
14687 (all-built-dso): Use := to define.o
14688 ($(all-built-dso:=.dyn)): New static pattern rule.
14689 (generated): Add those targets.
14690 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14691 * config.make.in (READELF): New substituted variable.
14692 * elf/check-textrel.c: File removed.
14693
62fde54f 146942012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 14695
615605c9
JM
14696 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14697 allow.
14698 * conform/data/ctype.h-data [C99-based standards] (isblank):
14699 Expect function.
14700 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14701 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14702 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14703 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14704 Specify type. Require positive value.
14705 (EILSEQ): Likewise.
14706 (ERANGE): Likewise.
14707 [ISO || POSIX] (EILSEQ): Do not expect.
14708 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14709 Specify type. Require positive value.
14710 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14711 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14712 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14713 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14714 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14715 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14716 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14717 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14718 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14719 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14720 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14721 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14722 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14723 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14724 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14725 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14726 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14727 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14728 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14729 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14730 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14731 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14732 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14733 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14734 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14735 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14736 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14737 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14738 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14739 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14740 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14741 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14742 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14743 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14744 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14745 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14746 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14747 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14748 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14749 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14750 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14751 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14752 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14753 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14754 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14755 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14756 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14757 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14758 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14759 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14760 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14761 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14762 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14763 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14764 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14765 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14766 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14767 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14768 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14769 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14770 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14771 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14772 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14773 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14774 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14775 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14776 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14777 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14778 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14779 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14780 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14781 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14782 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14783 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14784 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14785 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14786 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14787 Require >= 2.
14788 (FLT_ROUNDS): Expect as macro, not constant.
14789 (FLT_MANT_DIG): Use macro-int-constant.
14790 (DBL_MANT_DIG): Likewise.
14791 (LDBL_MANT_DIG): Likewise.
14792 (FLT_DIG): Likewise.
14793 (DBL_DIG): Likewise.
14794 (LDBL_DIG): Likewise.
14795 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14796 (DBL_MIN_EXP): Likewise.
14797 (LDBL_MIN_EXP): Likewise.
14798 (FLT_MAX_EXP): Use macro-int-constant.
14799 (DBL_MAX_EXP): Likewise.
14800 (LDBL_MAX_EXP): Likewise.
14801 (FLT_MAX_10_EXP): Likewise.
14802 (DBL_MAX_10_EXP): Likewise.
14803 (LDBL_MAX_10_EXP): Likewise.
14804 (FLT_MAX): Use macro-constant.
14805 (DBL_MAX): Likewise.
14806 (LDBL_MAX): Likewise.
14807 (FLT_EPSILON): Use macro-constant. Give upper bound.
14808 (DBL_EPSILON): Likewise.
14809 (LDBL_EPSILON): Likewise.
14810 (FLT_MIN): Likewise.
14811 (DBL_MIN): Likewise.
14812 (LDBL_MIN): Likewise.
14813 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14814 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14815 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14816 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14817 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14818 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14819 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14820 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14821 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14822 [ISO11] (FLT_TRUE_MIN): Likewise.
14823 [ISO11] (LDBL_TRUE_MIN): Likewise.
14824 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14825 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14826 (SCHAR_MIN): Use macro-int-constant. Specify type.
14827 (SCHAR_MAX): Likewise.
14828 (UCHAR_MAX): Likewise.
14829 (CHAR_MIN): Likewise.
14830 (CHAR_MAX): Likewise.
14831 (MB_LEN_MAX): Use macro-int-constant.
14832 (SHRT_MIN): Use macro-int-constant. Specify type.
14833 (SHRT_MAX): Likewise.
14834 (USHRT_MAX): Likewise.
14835 (INT_MAX): Likewise.
14836 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14837 bound negative.
14838 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14839 bound with "U".
14840 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14841 bound with "L".
14842 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14843 bound negative. Suffix upper bound with "L".
14844 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14845 bound with "UL".
14846 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14847 Specify type.
14848 [C99-based standards] (LLONG_MAX): Likewise.
14849 [C99-based standards] (ULLONG_MAX): Likewise.
14850 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14851 == 0.
14852 [ISO11] (max_align_t): Require type.
14853 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14854
c9140a62
JM
14855 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14856 from $CFLAGS, without defining away __attribute__ calls.
14857 (checknamespace): Use $CFLAGS_namespace.
14858
9af0bf29
JM
14859 * conform/conformtest.pl (@keywords): Only include C99 keywords
14860 for standards based on C99 or C11.
14861
343222a2
JM
14862 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14863 Disable tests.
14864 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14865 UNIX98]: Likewise.
14866
661f8cf0
JM
14867 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14868 usability of symbols in #if.
14869
ee74b9cb
JM
14870 * conform/conformtest.pl: If macro or constant types start
14871 "promoted:", expect the symbol to be of the following type
14872 promoted by the integer promotions.
62fde54f 14873
aafc49b3
JM
14874 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14875 in one place. Also handle "macro-constant".
14876
fefdf574
JM
14877 * conform/conformtest.pl: Only accept expected macro values with
14878 "==". Parse all "macro" lines in one place.
14879 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14880
f2d922fe
JM
14881 * conform/conformtest.pl: Handle braced types on "constant" lines
14882 instead of handling "typed-constant".
14883 * conform/data/signal.h-data: Use "constant" instead of
14884 "typed-constant".
14885
d22956c9
JM
14886 * conform/conformtest.pl: Handle "optional-" at start of lines in
14887 one place rather than duplicating several cases. Handle each
14888 format of "macro" line with initial "optional-".
14889
028e2e38
JM
14890 * conform/conformtest.pl: Only accept expected constant or
14891 optional-constant values with "==". Parse all "constant" lines in
14892 one place. Parse all "optional-constant" lines in one place.
14893 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14894 * conform/data/fmtmsg.h-data: Likewise.
14895 * conform/data/netinet/in.h-data: Likewise.
14896 * conform/data/tar.h-data: Likewise.
14897 * conform/data/limits.h-data: Use "==" form on "constant" and
14898 "optional-constant" lines.
14899
1b8f2850
JM
14900 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14901 Use -std=c99 for XOPEN2K.
14902 (@knownproblems): Remove.
14903 (newtoken): Don't check %isknown.
14904
a05a144b
JM
14905 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14906 Do not expect macro.
14907 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14908 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14909 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14910 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14911 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14912 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14913 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14914 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14915 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14916 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14917 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14918 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14919 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14920 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14921 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14922 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14923 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14924 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14925 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14926 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14927 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14928 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14929 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14930 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14931 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14932 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14933 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14934 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14935 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14936 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14937 [XPG3] (acosh): Likewise.
14938 [XPG3] (asinh): Likewise.
14939 [XPG3] (atanh): Likewise.
14940 [XPG3] (cbrt): Likewise.
14941 [XPG3] (expm1): Likewise.
14942 [XPG3] (ilogb): Likewise.
14943 [XPG3] (log1p): Likewise.
14944 [XPG3] (logb): Likewise.
14945 [XPG3] (nextafter): Likewise.
14946 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14947 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14948 [XPG3] (remainder): Likewise.
14949 [XPG3] (rint): Likewise.
14950 [XPG3 || XPG4 || UNIX98] (round): Likewise.
14951 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14952 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14953 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14954 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14955 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14956 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14957 [UNIX98 || XOPEN2K] (scalb): Expect.
14958 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14959 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14960 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14961 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14962 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14963 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14964 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14965 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14966 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14967 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14968 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14969 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14970 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14971 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14972 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14973 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14974 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14975 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14976 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14977 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14978 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14979 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14980 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14981 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14982 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14983 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14984 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14985 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14986 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14987 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14988 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14989 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14990 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14991 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14992 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14993 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14994 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14995 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14996 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14997 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14998 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14999 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15000 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15001 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15002 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15003 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15004 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15005 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15006 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15007 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15008 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15009 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15010 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15011 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15012 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15013 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15014 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15015 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15016 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15017 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15018 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15019 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15020 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15021 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15022 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15023 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15024 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15025 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15026 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15027 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15028 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15029 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15030 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15031 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15032 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15033 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15034 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15035 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15036 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15037 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15038 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15039 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15040 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15041 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15042 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15043 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15044 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15045 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15046 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15047 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15048 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15049 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15050 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15051 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15052 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15053 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15054 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15055 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15056 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15057 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15058 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15059 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15060 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15061 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15062 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15063 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15064 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15065 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15066 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15067 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15068 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15069 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15070 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15071 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15072 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15073 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15074 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15075 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15076 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15077 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15078 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15079 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15080 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15081 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15082 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15083 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15084 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15085 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15086 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15087 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15088 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15089 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15090 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15091 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15092 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15093 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15094 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15095
73c5ebe3
JM
15096 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15097 _XOPEN_SOURCE_EXTENDED for XPG4.
15098
39c33b6c
JM
15099 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15100
62fde54f
JM
15101 * Makeconfig (localtime): Remove variable.
15102 (inst_localtime-file): Likewise.
15103
0741d64c
AS
151042012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15105
15106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15107 Update.
15108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15109 Update.
15110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15111 Update.
15112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15113 Update.
15114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15115 Update.
15116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15117 Update.
15118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15119 Update.
15120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15121 Update.
15122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15123 Update.
15124
7cb029ee
JM
151252012-05-01 Joseph Myers <joseph@codesourcery.com>
15126
15127 [BZ #2550]
15128 [BZ #2570]
15129 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15130 comparisons to determine direction to adjust input.
15131 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15132 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15133 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15134 Likewise.
15135 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15136 Likewise.
15137 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15138 Likewise.
15139 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15140 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15141 Likewise.
15142 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15143 Likewise.
15144 * math/libm-test.inc (nexttoward_test): Add more tests.
15145
412bd966
AS
151462012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15147
15148 [BZ #14040]
15149 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15150 in version GLIBC_2.1, not GLIBC_2.0.
15151 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15152 Likewise.
15153
9568c0c2
JM
151542012-04-30 Joseph Myers <joseph@codesourcery.com>
15155
adfbc8ac
JM
15156 [BZ #13942]
15157 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15158 (1 - x) * (1 + x).
15159 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15160 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15161 * math/libm-test.inc (acos_test): Add more tests.
15162 (asin_test): Likewise.
15163 * sysdeps/i386/fpu/libm-test-ulps: Update.
15164 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15165
5ba3cc69
JM
15166 [BZ #14034]
15167 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15168 of square root.
15169 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15170 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15171 * math/libm-test.inc (acos_test_tonearest): New function.
15172 (acos_test_towardzero): Likewise.
15173 (acos_test_downward): Likewise.
15174 (acos_test_upward): Likewise.
15175 (asin_test_tonearest): Likewise.
15176 (asin_test_towardzero): Likewise.
15177 (asin_test_downward): Likewise.
15178 (asin_test_upward): Likewise.
15179 (main): Call the new functions.
15180 * sysdeps/i386/fpu/libm-test-ulps: Update.
15181 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15182
9568c0c2
JM
15183 [BZ #13884]
15184 [BZ #13924]
15185 * math/e_exp10.c: Include <float.h>.
15186 (__ieee754_exp10): Handle underflow here rather than multiplying
15187 large negative argument by M_LN10.
15188 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15189 of __ieee754_expf.
15190 * math/e_exp10l.c: Include <float.h>.
15191 (__ieee754_exp10l): Handle underflow here rather than multiplying
15192 large negative argument by M_LN10l.
15193 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15194 spurious overflow exception on underflow.
15195
5ac3ea17
MP
151962012-04-29 Marek Polacek <polacek@redhat.com>
15197
15198 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15199 (__fortify_function): New macro.
15200 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15201 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15202 __extern_always_inline.
15203 * libio/bits/stdio2.h: Likewise.
15204 * libio/bits/stdio.h: Likewise.
15205 * string/string.h: Likewise.
15206 * string/bits/string3.h: Likewise.
15207 * include/stdio.h: Likewise.
15208 * stdlib/bits/stdlib.h: Likewise.
15209 * stdlib/stdlib.h: Likewise.
15210 * rt/bits/mqueue2.h: Likewise.
15211 * rt/mqueue.h: Likewise.
15212 * posix/bits/unistd.h: Likewise.
15213 * posix/unistd.h: Likewise.
15214 * io/bits/poll2.h: Likewise.
15215 * io/bits/fcntl2.h: Likewise.
15216 * io/fcntl.h: Likewise.
15217 * io/sys/poll.h: Likewise.
15218 * misc/bits/syslog.h: Likewise.
15219 * misc/bits/syslog-ldbl.h: Likewise.
15220 * misc/sys/syslog.h: Likewise.
15221 * socket/bits/socket2.h: Likewise.
15222 * socket/sys/socket.h: Likewise.
15223 * debug/tst-chk1.c: Likewise.
15224 * wcsmbs/bits/wchar2.h: Likewise.
15225 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15226 * wcsmbs/wchar.h: Likewise.
15227
ecf0ebfb
AJ
152282012-04-29 Andreas Jaeger <aj@suse.de>
15229
15230 * Makerules (tests): Remove enable-check-abi protection.
15231 (check-abi-warn): Remove.
15232 (check-abi-%): Remove check-abi-warn usage.
15233
15234 * configure.in: Remove check-abi configure option.
15235 * configure: Regenerated.
15236 * config.make.in (enable-check-abi): Remove.
15237
6d5c57fa
AS
152382012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15239
24c5d07e 15240 [BZ #14033]
ded5180a
AS
15241 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15242 double functions to double *_finite functions.
15243
7e0d315d
AS
15244 [BZ #13941]
15245 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15246 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15247 LDBL_MIN_EXP.
15248 * stdio-common/Makefile (tests): Add tst-sprintf3.
15249 * stdio-common/tst-sprintf3.c: New file.
15250
6d5c57fa
AS
15251 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15252 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15253
0749ff8b
JM
152542012-04-28 Joseph Myers <joseph@codesourcery.com>
15255
15256 * conform/conformtest.pl: Remove duplicate typed-constant
15257 handling.
15258
8dbd5d7b
DM
152592012-04-28 David S. Miller <davem@davemloft.net>
15260
15261 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15262 (check-abi-%): Remove AWK script prerequisite and explicit
15263 abilist directory.
15264 (check-abi): Rewrite to just diff the symlist with the abilist.
15265 (config-tls, config-abi-config): Delete, no longer used.
15266 (update-abi-%): Remove AWK script and explicit abilist directory.
15267 (update-abi): Rewrite to simply compare and conditionally copy the
15268 symlist and the sysdep abilist file. Remove update-abi-config
15269 checks.
15270 * abilist/ld.abilist: Remove.
15271 * abilist/libBrokenLocale.abilist: Remove.
15272 * abilist/libanl.abilist: Remove.
15273 * abilist/libcrypt.abilist: Remove.
15274 * abilist/libdl.abilist: Remove.
15275 * abilist/librt.abilist: Remove.
15276 * abilist/libthread_db.abilist: Remove.
15277 * abilist/libutil.abilist: Remove.
15278 * scripts/extract-abilist.awk: Remove.
15279 * scripts/merge-abilist.awk: Remove.
15280 * sysdeps/generic/libcidn.abilist: New file.
15281 * sysdeps/generic/libnss_compat.abilist: New file.
15282 * sysdeps/generic/libnss_db.abilist: New file.
15283 * sysdeps/generic/libnss_dns.abilist: New file.
15284 * sysdeps/generic/libnss_files.abilist: New file.
15285 * sysdeps/generic/libnss_hesiod.abilist: New file.
15286 * sysdeps/generic/libnss_nis.abilist: New file.
15287 * sysdeps/generic/libnss_nisplus.abilist: New file.
15288 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15289 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15290 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15291 file.
15292 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15293 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15294 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15295 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15296 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15297 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15298 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15299 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15300 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15301 file.
15302 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15303 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15304 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15305 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15306 file.
15307 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15308 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15309 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15310 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15311 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15312 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15313 file.
15314 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15315 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15316 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15317 file.
15318 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15320 New file.
15321 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15322 New file.
15323 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15324 New file.
15325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15326 New file.
15327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15328 New file.
15329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15330 New file.
15331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15332 New file.
15333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15334 New file.
15335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15336 New file.
15337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15338 New file.
15339 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15340 New file.
15341 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15342 New file.
15343 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15344 New file.
15345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15346 file.
15347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15348 New file.
15349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15350 New file.
15351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15352 file.
15353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15354 New file.
15355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15356 New file.
15357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15358 file.
15359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15360 New file.
15361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15362 New file.
15363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15364 New file.
15365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15366 New file.
15367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15368 New file.
15369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15370 New file.
15371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15373 file.
15374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15375 New file.
15376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15377 file.
15378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15379 file.
15380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15381 file.
15382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15383 file.
15384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15385 file.
15386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15387 New file.
15388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15389 file.
15390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15391 file.
15392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15393 New file.
15394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15395 file.
15396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15398 file.
15399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15400 New file.
15401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15402 file.
15403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15404 file.
15405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15406 file.
15407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15408 file.
15409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15410 file.
15411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15412 New file.
15413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15414 file.
15415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15416 file.
15417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15418 New file.
15419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15420 file.
15421 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15422 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15423 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15424 file.
15425 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15426 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15427 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15428 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15429 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15430 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15431 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15432 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15433 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15434 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15437 file.
15438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15439 New file.
15440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15441 file.
15442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15443 file.
15444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15445 file.
15446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15447 file.
15448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15449 file.
15450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15451 New file.
15452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15453 New file.
15454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15455 file.
15456 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15457 New file.
15458 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15459 file.
15460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15462 file.
15463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15464 New file.
15465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15466 file.
15467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15468 file.
15469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15470 file.
15471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15472 file.
15473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15474 file.
15475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15476 New file.
15477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15478 New file.
15479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15480 file.
15481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15482 New file.
15483 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15484 file.
15485
41d73a1b
JM
154862012-04-28 Joseph Myers <joseph@codesourcery.com>
15487
15488 * conform/conformtest.pl: Fix typo in handling typed-constant from
15489 allow-header.
15490
28aeeda4
JM
154912012-04-27 Joseph Myers <joseph@codesourcery.com>
15492
adae8f5e
JM
15493 * README: Cut down references to pre-2.6 Linux kernels and
15494 Linuxthreads. Update lists of configurations in libc and ports
15495 and sort alphabetically. Say "or newer" with Linux kernel version
15496 requirements.
15497
28aeeda4
JM
15498 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15499
a462cb63
RA
155002012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15501
15502 [BZ #887]
15503 * math/libm-test.inc (logb_test_downward): New test to expose
15504 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15505 rounding mode.
15506
6ad3493e
JM
155072012-04-27 Joseph Myers <joseph@codesourcery.com>
15508
15509 [BZ #14027]
15510 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15511 to be done.
15512 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15513 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15514
2ce4f015
JM
155152012-04-26 Joseph Myers <joseph@codesourcery.com>
15516
5aeb141a
JM
15517 * sysdeps/unix/i386/brk.S: Remove file.
15518 * sysdeps/unix/i386/dl-brk.S: Likewise.
15519 * sysdeps/unix/i386/pipe.S: Likewise.
15520 * sysdeps/unix/i386/sigreturn.S: Likewise.
15521 * sysdeps/unix/i386/syscall.S: Likewise.
15522 * sysdeps/unix/i386/vfork.S: Likewise.
15523 * sysdeps/unix/i386/wait.S: Likewise.
15524
7143acae
JM
15525 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15526 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15527
2ce4f015
JM
15528 * configure.in (arm*-none*): Do not allow without
15529 --enable-hacker-mode.
15530 (netbsd*): Remove case setting base_os.
15531 (386bsd*): Likewise.
15532 (freebsd*): Likewise.
15533 (bsdi*): Likewise.
15534 (osf*): Likewise.
15535 (sunos*): Likewise.
15536 (ultrix*): Likewise.
15537 (newsos*): Likewise.
15538 (dynix*): Likewise.
15539 (*bsd*): Likewise.
15540 (sysv*): Likewise.
15541 (isc*): Likewise.
15542 (esix*): Likewise.
15543 (sco*): Likewise.
15544 (minix*): Likewise.
15545 (irix4*): Likewise.
15546 (irix6*): Likewise.
15547 (solaris[2-9]*): Likewise.
15548 (none): Likewise.
15549 * configure: Regenerated.
15550
0ac229c8
AZ
155512012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15552
15553 [BZ #11521]
15554 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15555 overflow or cancellation in calculating denominator.
15556 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15557 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15558 down expression to avoid unexpected rounding in newer GCCs.
15559 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15560
33f244f4
DM
155612012-04-26 David S. Miller <davem@davemloft.net>
15562
15563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15564 long-double compat symbols.
15565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15572 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15573 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15574 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15575 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15578
cfa1f3e8
DM
155792012-04-25 David S. Miller <davem@davemloft.net>
15580
15581 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15582 HWCAP_* values only after the memory barriers have been defined.
15583 (atomic_full_barrier): Define.
15584 (atomic_read_barrier): Define.
15585 (atomic_write_barrier): Define.
15586
6e236b92
SP
155872012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15588
15589 * shlib-versions: Add libgcc_s version information.
15590 * sysdeps/generic/libgcc_s.h: Remove.
15591 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15592 libgcc_s.h.
15593 * sysdeps/gnu/unwind-resume.c: Likewise.
15594 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15595
aab39a09
DM
155962012-04-25 David S. Miller <davem@davemloft.net>
15597
15598 * sysdeps/unix/sparc/brk.S: Delete.
15599 * sysdeps/unix/sparc/dl-brk.S: Delete.
15600 * sysdeps/unix/sparc/pipe.S: Delete.
15601 * sysdeps/unix/sparc/sysdep.S: Delete.
15602 * sysdeps/unix/sparc/sysdep.h: Delete.
15603 * sysdeps/unix/sparc/vfork.S: Delete.
15604 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15605 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15606 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15607 ret_ERRVAL, r0, r1, MOVE): Define.
15608 (JUMPTARGET): Remove.
15609 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15610 sysdeps/unix/sparc/sysdep.h
15611 (ENTRY, END): Remove.
15612 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15613
a3cc4f48
JM
156142012-04-25 Joseph Myers <joseph@codesourcery.com>
15615
2ed8cda2
JM
15616 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15617 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15618 -DIS_IN_build.
15619
35d76d59
JM
15620 * timezone/README: Update upstream location and email address for
15621 tzcode and tzdata.
15622 * timezone/zdump.c: Update from tzcode 2012b.
15623 * timezone/zic.c: Likewise.
15624
a3cc4f48
JM
15625 * configure.in (libc_cv_as_needed): Remove test.
15626 * configure: Regenerated.
15627 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15628 conditional definition.
15629 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15630 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15631 * config.make.in (have-as-needed): Remove variable.
15632
ceab42c3
SP
156332012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15634 Paul Pluzhnikov <ppluzhnikov@google.com>
15635
15636 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15637 strings correctly.
15638
3ce2865f
CLT
156392012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15640
15641 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15642 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15643 * sysdeps/sh/strlen.S: Likewise.
15644
f37e0d68
JM
156452012-04-24 Joseph Myers <joseph@codesourcery.com>
15646
ae186e9a
JM
15647 * sysdeps/unix/fork.S: Remove file.
15648 * sysdeps/unix/i386/fork.S: Likewise.
15649 * sysdeps/unix/sparc/fork.S: Likewise.
15650
b96914af
JM
15651 * sysdeps/unix/system.c: Remove file.
15652 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15653
f37e0d68
JM
15654 * sysdeps/unix/getegid.S: Remove file.
15655 * sysdeps/unix/geteuid.S: Likewise.
15656
87ef29ca
RM
156572012-04-24 Roland McGrath <roland@hack.frob.com>
15658
83bcd236
RM
15659 * scripts/check-localplt.awk: New file.
15660 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15661 of diff.
15662 * scripts/data/localplt-generic.data: Add a comment.
15663
87ef29ca
RM
15664 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15665 NODE when __dir_mkfile failed.
15666 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15667 Reported by Ludovic Courtès <ludo@gnu.org>.
15668
e5a6e567
AJ
156692012-04-24 Andreas Jaeger <aj@suse.de>
15670
15671 * Makerules (common-clean): Also remove gen-as-const-headers
15672 files.
15673
c1820385
JM
156742012-04-24 Joseph Myers <joseph@codesourcery.com>
15675
15676 * Makerules (native-compile): Do not change working directory for
15677 build. Use $(OUTPUT_OPTION) in command.
15678 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15679
94e02fc4
AZ
156802012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15681
15682 [BZ #13886]
15683 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15684 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15685 * math/libm-test.inc (floor_test): Add more tests.
15686 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15687
3a533ca3
JM
156882012-04-24 Joseph Myers <joseph@codesourcery.com>
15689
940ab4b3
JM
15690 * sysdeps/unix/getdents.c: Remove file.
15691 * sysdeps/unix/sysv/getdents.c: Likewise.
15692 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15693
90e037bd
JM
15694 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15695 sysdeps/unix/mman/syscalls.list.
15696 (mmap): Likewise.
15697 (mprotect): Likewise.
15698 (msync): Likewise.
15699 (munmap): Likewise.
15700 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15701 * sysdeps/unix/mman/syscalls.list: Remove.
15702 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15703
3a533ca3
JM
15704 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15705 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15706 * configure: Regenerated.
15707 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15708 $(libgcc_s_suffix).
15709 * config.make.in (libgcc_s_suffix): Remove variable.
15710
1ad743de
JM
157112012-04-23 Joseph Myers <joseph@codesourcery.com>
15712
4ad451e2
JM
15713 * sysdeps/unix/sysv/gethostname.c: Move to ...
15714 * sysdeps/posix/gethostname.c: ... here.
15715
5e37ce39
JM
15716 * sysdeps/unix/execve.S: Remove file.
15717
1ad743de
JM
15718 * sysdeps/unix/_exit.S: Remove file.
15719
4e681b5b
AJ
157202012-04-23 Andreas Jaeger <aj@suse.de>
15721
15722 [BZ #13739]
15723 * manual/Makefile: Remove make dist support, there's no
15724 need for a stand-alone documentation tar ball.
15725 (TEXI2DVI): Define always, it's not in Makeconfig.
15726 (dist): Removed.
15727 (tar-it): Removed.
15728 (edition): Removed.
15729 (glibc-doc-$(edition).tar): Removed
15730 (%.Z): Removed.
15731 (%.gz): Removed.
15732 (%.uu): Removed.
15733 (ETAGS): Remove, it's in Makeconfig.
15734 (move-if-change): Remove, it's in Makeconfig.
15735
38686a03 157362012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
15737
15738 [BZ #13970]
15739 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15740 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15741 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15742 (strtod_l, strtof_l, strtold_l): Remove __wur.
15743 It is not necessarily an error to ignore strtol's return value.
15744 One can reliably look at the stored endptr to decide whether
15745 the number had valid syntax.
15746
7c0616fa
AJ
157472012-04-21 Andreas Jaeger <aj@suse.de>
15748
803cb6b7 15749 [BZ #13739]
7c0616fa
AJ
15750 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15751
b0fe253f
JM
157522012-04-21 Joseph Myers <joseph@codesourcery.com>
15753
15754 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15755 * sysdeps/unix/sysv/Versions: Remove file.
15756
8280f22d
MT
157572012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15758
15759 [BZ #13927]
15760 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15761
75ce411f 157622012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
15763
15764 [BZ #7064]
15765 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15766 version from __vm86.
15767
097d59fa
JM
157682012-04-20 Joseph Myers <joseph@codesourcery.com>
15769
a90f3bcb
JM
15770 * sysdeps/unix/common/lxstat.c: Remove file.
15771 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15772
edc7ea78
JM
15773 * sysdeps/unix/sysv/Makefile: Remove file.
15774
cb78c221
JM
15775 * sysdeps/unix/sysv/direct.h: Remove file.
15776
efa6a45f
JM
15777 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15778 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15779 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15780 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15781 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15782 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15783 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15784
9c9f2d0c
JM
15785 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15786
4541c83b
JM
15787 * sysdeps/unix/xmknod.c: Remove file.
15788 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15789
f5d153a0
JM
15790 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15791
aa746595
JM
15792 * sysdeps/unix/sysv/i386/time.S: Remove file.
15793
cce5905e
JM
15794 * sysdeps/unix/fxstat.c: Remove file.
15795 * sysdeps/unix/xstat.c: Likewise.
15796 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15797
37fa3841
JM
15798 * sysdeps/unix/sysv/sigaction.c: Remove file.
15799
ff1962a3
JM
15800 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15801 (sysdep_headers): Remove variable.
15802 [termio.h not in sysdep_headers] (generated): Likewise.
15803 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15804 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15805 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15806 * sysdeps/unix/sysv/tcflow.c: Likewise.
15807 * sysdeps/unix/sysv/tcflush.c: Likewise.
15808 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15809 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15810 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15811 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15812 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15813
e7740d31
JM
15814 * sysdeps/unix/siglist.c: Remove file.
15815
ee06f18b
JM
15816 * sysdeps/unix/getppid.S: Remove file.
15817
097d59fa
JM
15818 * sysdeps/unix/mkdir.c: Remove file.
15819 * sysdeps/unix/rmdir.c: Likewise.
15820
ff3d51ec
AS
158212012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15822
15823 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15824 ERR_MAX value.
15825 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15826 errlist-compat value.
15827
50f81fd7
DM
158282012-04-18 David S. Miller <davem@davemloft.net>
15829
15830 * sysdeps/generic/memcopy.h (reg_char): Delete.
15831 * debug/strcat_chk.c: Use char, not reg_char.
15832 * debug/strcpy_chk.c: Likewise.
15833 * debug/strncat_chk.c: Likewise.
15834 * debug/strncpy_chk.c: Likewise.
15835 * string/memchr.c: Likewise.
15836 * string/memrchr.c: Likewise.
15837 * string/rawmemchr.c: Likewise.
15838 * string/strcat.c: Likewise.
15839 * string/strchr.c: Likewise.
15840 * string/strchrnul.c: Likewise.
15841 * string/strcmp.c: Likewise.
15842 * string/strcpy.c: Likewise.
15843 * string/strncat.c: Likewise.
15844 * string/strncmp.c: Likewise.
15845 * string/strncpy.c: Likewise.
15846
8ff41c46
WS
158472012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15848
15849 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15850 __builtin_memcopy is called when src and dest ranges are known to not
15851 overlap.
15852
6b652f46
WS
158532012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15854
15855 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15856 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15857 fwd_align_merge macro call.
15858 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15859 bwd_align_merge macro call.
15860 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15861
b282631e
WS
158622012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15863
15864 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15865 bwd_align_merge macros.
15866 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15867 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15868 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15869
95aa737c
DM
158702012-04-18 David S. Miller <davem@davemloft.net>
15871
15872 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15873
7a99a614
AJ
158742012-04-18 Andreas Jaeger <aj@suse.de>
15875
15876 [BZ# 6794]
15877 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15878 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15879 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15880
15881 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15882 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15883 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15884
15885 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15886 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15887 Adjust for changed ldbl-128 files.
15888
15889 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15890 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15891 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15892
e5270c23
DM
158932012-04-17 David S. Miller <davem@davemloft.net>
15894
15895 * sysdeps/sparc/sparc32/memcopy.h: Delete.
15896
fb5e92c9
AS
158972012-04-17 Andreas Schwab <schwab@linux-m68k.org>
15898
15899 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15900 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15901 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15902 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15903 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15904 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15905
76da7265
AZ
159062012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15907
15908 [BZ #6794]
15909 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15910 * math/libm-test.inc: Add ilogb errno and exception tests.
15911 * math/w_ilogb.c: New file: ilogb wrapper.
15912 * math/w_ilogbf.c: New file: ilogbf wrapper.
15913 * math/w_ilogbl.c: New file: ilogbl wrapper.
15914 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15915 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15916 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15917 exception being thrown with 0.0 as argument.
15918 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15919 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15920 exception being thrown with 0.0 as argument.
15921 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15922 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15923 exception being thrown with 0.0 as argument.
15924 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15925 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15926 exception being thrown with 0.0 as argument.
15927 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15928 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 15929 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
15930 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15931 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15932 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15933 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15934 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15935 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15936
0396e69d
PB
159372012-04-17 Petr Baudis <pasky@ucw.cz>
15938
15939 * include/sys/uio.h: Change __vector to __iovec to avoid clash
15940 with altivec.
15941
750b5926
MP
159422012-04-16 Marek Polacek <polacek@redhat.com>
15943
15944 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15945
751728a1
MP
159462012-04-16 Marek Polacek <polacek@redhat.com>
15947
15948 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15949 operands of fdivp instruction.
15950
34a27407
L
159512012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15952
15953 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15954 * elf/tst-auditmod3b.c: Likewise.
15955 * elf/tst-auditmod4b.c: Likewise.
15956 * elf/tst-auditmod5b.c: Likewise.
15957 * elf/tst-auditmod6b.c: Likewise.
15958 * elf/tst-auditmod6c.c: Likewise.
15959 * elf/tst-auditmod7b.c: Likewise.
15960 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15961 * sysdeps/x86_64/preconfigure.in: Likewise.
15962 * sysdeps/x86_64/preconfigure: Regenerated.
15963
7e73e17d
L
159642012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15965
15966 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15967 __ILP32__.
15968
c7a6ab72
AB
159692012-04-13 Antoine Balestrat <merkil33@gmail.com>
15970
15971 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15972 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15973
a9e8e0e0
CL
159742012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
15975
15976 [BZ #13973]
15977 * locale/iso-639.def: Fix gl language name. Spotted by
15978 Yaron Shahrabani.
15979
ec98af7d
RM
159802012-04-12 Roland McGrath <roland@hack.frob.com>
15981
15982 [BZ #2074]
15983 * libio/libio.h (__io_write_fn): Update comment.
15984
247c3ede
PB
159852012-04-12 Petr Baudis <pasky@ucw.cz>
15986
15987 [BZ #2074]
15988 * stdio.texi (Hook Functions): The user provided writer function
15989 is not allowed to return -1.
15990
55939d6d
DM
159912012-04-11 David S. Miller <davem@davemloft.net>
15992
15993 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15994
90020f5a
MF
159952012-04-11 Mike Frysinger <vapier@gentoo.org>
15996
15997 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15998 Add a leading slash to rtkaio.
15999
288f9098
JM
160002012-04-11 Jim Meyering <meyering@redhat.com>
16001
90020f5a
MF
16002 [BZ #11959]
16003 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16004 It is not necessarily an error to ignore fwrite's return
16005 value. One can reliably use ferror to test for errors after
16006 the fact.
288f9098 16007
4be2b570
L
160082012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16009
16010 * bits/types.h (__snseconds_t): New type.
16011 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16012
16013 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16014 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16015 (__SNSECONDS_T_TYPE): Likewise.
16016 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16017 (__SNSECONDS_T_TYPE): Likewise.
16018 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16019 (__SNSECONDS_T_TYPE): Likewise.
16020
288f9098 160212012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
16022
16023 [BZ #2636]
16024 * manual/time.texi (Processor Time): Return type of times is
16025 elapsed real time since an arbitrary point in the past.
16026 (CPU Time): Move CLK_TCK from here...
16027 (Processor Time): ...to here. Correct description.
16028 * manual/conf.texi (Constants for Sysconf): Correct description of
16029 _SC_CLK_TCK.
16030
d7dd4413
DM
160312012-04-10 David S. Miller <davem@davemloft.net>
16032
16033 [BZ #13967]
16034 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16035 where the is a gap between DT_REL(A) and DT_JMPREL.
16036
b46068fc
L
160372012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16038
16039 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16040 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16041 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16042
73d65cc3
SP
160432012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16044
16045 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16046 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16047 (dl_main): Handle --inhibit-cache.
16048 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16049 _dl_inhibit_cache.
16050 * elf/dl-load.c (_dl_map_object): Use it.
16051 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16052
bcc8d661
JM
160532012-04-09 Joseph Myers <joseph@codesourcery.com>
16054
8f9a2fae
JM
16055 [BZ #13872]
16056 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16057 (__ieee754_powl): Saturate large exponents rather than testing for
16058 overflow of y*log2(x).
16059 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16060 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16061 exceptions.
16062
bcc8d661
JM
16063 [BZ #11521]
16064 * math/s_ctan.c: Include <float.h>.
16065 (__ctan): Avoid internal overflow or cancellation in calculating
16066 denominator.
16067 * math/s_ctanf.c: Likewise.
16068 * math/s_ctanl.c: Likewise.
16069 * math/s_ctanh.c: Likewise.
16070 * math/s_ctanhf.c: Likewise.
16071 * math/s_ctanhl.c: Likewise.
16072 * math/libm-test.inc (ctan_test): Add more tests.
16073 (ctanh_test): Likewise.
16074 * sysdeps/i386/fpu/libm-test-ulps: Update.
16075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16076
823fbbb4
AJ
160772012-04-09 Andreas Jaeger <aj@suse.de>
16078
03879793
AJ
16079 [BZ #6894]
16080 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16081 is an optional BSD extension.
16082
823fbbb4
AJ
16083 [BZ #10254]
16084 * manual/stdio.texi (Opening Streams): Document additional fopen
16085 parameters.
16086
8de131cb
RM
160872012-04-09 Roland McGrath <roland@hack.frob.com>
16088
16089 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16090 %eax without telling the compiler.
16091
c0ed9d7d
CD
160922012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16093
16094 [BZ # 13963]
16095 * manual/install.texi: Use sourceware.org.
16096
c483f6b4
JM
160972012-04-09 Joseph Myers <joseph@codesourcery.com>
16098
d7dd9453
JM
16099 [BZ #13873]
16100 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16101 (__ieee754_pow): Generate overflow and underflow using huge*huge
16102 and tiny*tiny rather than just returning constant infinity or zero
16103 for large exponents.
16104 * math/libm-test.inc (pow_test): Require overflow exceptions for
16105 applicable cases of large exponents.
16106
c483f6b4
JM
16107 [BZ #706]
16108 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16109 (__ieee754_pow): Use iterative multiplication algorithm only for
16110 integer exponents with absolute value below 1024. Check for odd
16111 integer exponents when using algorithm for real exponents.
16112 * math/libm-test.inc (pow_test): Add more tests.
16113 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16114
d2de7579
JM
161152012-04-08 Joseph Myers <joseph@codesourcery.com>
16116
16117 [BZ #13705]
16118 * math/libm-test.inc (exp_test): Do not allow overflow exception
16119 on underflow test.
16120
f77f1232
AJ
161212012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16122
16123 [BZ #13705]
16124 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16125 instead of __kernel_standard_f.
16126
3884932b
MF
161272012-04-08 Mike Frysinger <vapier@gentoo.org>
16128
16129 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16130 * sysdeps/x86_64/memset_chk.S: Likewise.
16131
54472e9c
AJ
161322012-04-08 Andreas Jaeger <aj@suse.de>
16133
6ab0fbfc
AJ
16134 [BZ #10153]
16135 * manual/startup.texi (Environment Access): Describe return value
16136 for putenv and setenv.
16137
61efba8c
AJ
16138 [BZ #6895]
16139 * manual/filesys.texi (Directory Entries): Add description for
16140 DT_LNK.
16141
95c3f29a
AJ
16142 [BZ #6890]
16143 * manual/filesys.texi (Directory Entries): Clarify that it's file
16144 system not operating system in the description of DT_UNKNOWN.
16145
54472e9c
AJ
16146 [BZ #6578]
16147 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16148
624254b1
SC
161492012-04-08 Stephen Compall <s11@member.fsf.org>
16150
16151 [BZ #6649]
16152 * manual/llio.texi (Opening and Closing Files): Add cross
16153 reference to explain mode argument.
16154
1e4920e0
MF
161552012-04-07 Mike Frysinger <vapier@gentoo.org>
16156
16157 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16158 * sysdeps/x86_64/memset_chk.S: Likewise.
16159
5ed848f3
DM
161602012-04-07 David S. Miller <davem@davemloft.net>
16161
16162 * elf/elf.h (R_SPARC_WDISP10): Define.
16163 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16164 R_SPARC_SIZE32.
16165 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16166 R_SPARC_SIZE64 and R_SPARC_H34.
16167
96154cd8
CD
161682012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16169
16170 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16171 conditions and remove no longer applicable assertion.
16172
9904dc47
L
161732012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16174
16175 * bits/byteswap.h: Include <features.h>.
16176 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16177 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16178
f8887d0a
L
161792012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16180
16181 * bits/byteswap.h (__bswap_16): Removed.
16182 Include <bits/byteswap-16.h> to get __bswap_16.
16183 * sysdeps/i386/bits/byteswap.h: Likewise.
16184 * sysdeps/s390/bits/byteswap.h: Likewise.
16185 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16186 * bits/byteswap-16.h: New file.
16187 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16188 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16189 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16190 * string/Makefile (headers): Add bits/byteswap-16.h.
16191
62470f60
PP
161922012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16193
16194 [BZ #13895]
16195 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16196 extra indirection.
16197 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16198 * nss/tst-nss-static.c: New.
16199
4dad7bab
RM
162002012-04-06 Robert Millan <rmh@gnu.org>
16201
16202 [BZ #6486]
16203 * manual/llio.texi (File Position Primitive): lseek
16204 refers to WHENCE when it really means OFFSET.
16205
e9142a17
AJ
162062012-04-06 Andreas Jaeger <aj@suse.de>
16207
2c040eff
AJ
16208 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16209 strncmp declarations.
16210
e9142a17
AJ
16211 * abilist/libc.abilist: Add __poll and __ppoll.
16212
ff9f1c5f
DM
162132012-04-05 David S. Miller <davem@davemloft.net>
16214
dcd2ae90
DM
16215 * scripts/check-local-headers.sh: Accept a host triplet in the
16216 path matched by the exclude regexp.
16217
993eb054
DM
16218 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16219 definition.
16220 * sysdeps/powerpc/powerpc32/dl-machine.h
16221 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16222 * sysdeps/s390/s390-32/dl-machine.h
16223 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16224 * sysdeps/sparc/sparc32/dl-machine.h
16225 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16226 * sysdeps/sparc/sparc64/dl-machine.h
16227 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16228
ff9f1c5f
DM
16229 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16230 lazy binding.
48e2e132 16231 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
16232 undefined symbol errors.
16233
48e2e132 16234 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
16235 DT_NEEDED entries.
16236
e80d6f94
MM
162372012-04-05 Michael Matz <matz@suse.de>
16238
16239 [BZ #13592]
16240 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16241
349fa79f
AJ
162422012-04-05 Andreas Jaeger <aj@suse.de>
16243
16244 [BZ #13908]
16245 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16246 comment.
16247
f402708f
KK
162482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16249
16250 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16251 which ROUND is no valid rounding mode.
16252
2ecccfc9
KK
162532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16254
16255 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16256 read again.
16257 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16258
8a53f50f
KK
162592012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16260
16261 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16262 an exception using FPU order intentionally.
16263
162642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16265
16266 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16267 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16268 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16269 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16270
d653abb7
SJ
162712012-04-05 Simon Josefsson <simon@josefsson.org>
16272
16273 [BZ #12340]
16274 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16275 EINVAL when BUFLEN is too smal.
16276
c3b1bf7d
TS
162772012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16278
16279 [BZ #13553]
16280 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16281 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16282
b1aa60f3
AJ
162832012-04-03 Andreas Jaeger <aj@suse.de>
16284
c3b1bf7d 16285 [BZ #13938]
67f60a26
AJ
16286 * manual/setjmp.texi (System V contexts): Fix sentence.
16287
b1aa60f3
AJ
16288 [BZ #13926]
16289 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16290 New macro for this case.
16291 [!__GNUC__] (__bswap_64): New inline function for this case.
16292 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16293 * bits/byteswap.h: Likewise.
16294 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16295 ull, guard with __GLIBC_HAVE_LONG_LONG.
16296
16297 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16298 __GLIBC_HAVE_LONG_LONG.
16299
16300 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16301 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16302
39c59c35
TMQMF
163032012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16304
16305 [BZ #13691]
16306 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16307 inptr and inend, rather than using last_ch.
16308
135ffda8
DM
163092012-04-02 David S. Miller <davem@davemloft.net>
16310
16311 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16312 * stdio-common/printf-parse.h (read_int): Change return type to
16313 'int', return -1 on INT_MAX overflow.
16314 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16315 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16316 overflows INT_MAX. Check for overflow of in-format-string precision
16317 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16318 SIZE_MAX not INT_MAX for integer overflow test.
16319 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16320 skip the construct in the format string but do not record anything.
16321 * stdio-common/bug22.c: Adjust to test both width/prevision
16322 INT_MAX overflow as well as total length INT_MAX overflow. Check
16323 explicitly for proper errno values.
16324
228c019e
TS
163252012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16326
302cadd3
TS
16327 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16328 CHAR_MAX.
16329 * string/test-strcmp.c [! WIDE]: Likewise.
16330 * time/tst-mktime2.c: Likewise for INT_MAX.
16331 * string/test-string.h: #include <sys/param.h> for MIN.
16332
228c019e
TS
16333 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16334 * sysdeps/i386/init-first.c (init): Likewise.
16335 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16336 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16337 * sysdeps/sh/init-first.c (init): Likewise.
16338
cfa633f5
UD
163392012-04-01 Ulrich Drepper <drepper@gmail.com>
16340
16341 * po/ru.po: Update from translation team.
d1635ef8 16342 * po/vi.po: Likewise.
cfa633f5 16343
6cd0a5ea
SP
163442012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16345
16346 * resolv/nss_dns/dns-host.c: Merge copyright years.
16347
4b43400f
LD
163482012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16349
16350 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16351 Optimize memcpy with prefetch if
16352 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16353 src, dst pointers have unequal 16 byte alignments.
16354
48c41d04
SP
163552012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16356
16357 [BZ #13928]
16358 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16359 from a CNAME entry and return the minimum ttl for the query.
16360 (gaih_getanswer_slice): Likewise.
16361
b8dc394d
JL
163622012-03-30 Jeff Law <law@redhat.com>
16363
16364 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16365 due to long keys.
16366 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16367 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16368
2f5a5ed0
JL
16369 * resolv/nss_dns/dns-host.c: Update copyright year.
16370
1d39e359
UD
163712012-03-30 Ulrich Drepper <drepper@gmail.com>
16372
c030f70c 16373 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 16374 requests to save a system call. Fix check that all bytes are sent.
c030f70c 16375
1d39e359
UD
16376 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16377 comments for sendmmsg.
16378
163792012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
16380
16381 [BZ #13691]
16382 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16383 with only 1 character between 0x0041 and 0x01b0.
16384 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16385 * wcsmbs/tst-mbsnrtowcs.c: New file.
16386
20fde227
DM
163872012-03-29 David S. Miller <davem@davemloft.net>
16388
16389 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16390 small copies by hand.
16391
984a4237
JL
163922012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16393
16394 [BZ #13761]
16395 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16396 _nss_compat_initgroups_dyn): Fall back to malloc/free
16397 for large group memberships.
16398
18c9d62b
DM
163992012-03-28 David S. Miller <davem@davemloft.net>
16400
88d85d4f
DM
16401 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16402 that branches into memcpy.
16403 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16404 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16405 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16406 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16407 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16408 bits.
16409 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16410 implementation too.
16411 * sysdeps/sparc/mempcpy.S: New file.
16412
e5aa83e1
DM
16413 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16414 the IFUNC routine in the libc case.
16415 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16416
88570753
DM
16417 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16418 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16419 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16420 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16421 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16422 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16423 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16424 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16425
249d7567
DM
16426 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16427 loop to 256 bytes instead of 64 bytes and fix test signedness.
16428
18c9d62b
DM
16429 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16430 * sysdeps/sparc/sparc32/Makefile: rather than here...
16431 * sysdeps/sparc/sparc64/Makefile: and here.
16432
05f3d1f6
UD
164332012-03-28 Ulrich Drepper <drepper@gmail.com>
16434
16435 * malloc/mallocbug.c: Avoid warnings about unused variables.
16436
86ae07a8
JL
164372012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16438
16439 [BZ #13760]
16440 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16441 in the right place. Discard and retry query if response is
16442 larger than input buffer size.
16443
41bf21a1
JM
164442012-03-28 Joseph Myers <joseph@codesourcery.com>
16445
d6270972
JM
16446 [BZ #369]
16447 [BZ #2678]
16448 [BZ #3866]
16449 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16450 x for large integer exponent.
16451 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16452 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16453 sign of result as needed afterwards.
16454 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16455 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16456 result for underflowing pow the same as for overflow.
16457 (__kernel_standard_l): Handle powl overflow and underflow here
16458 rather than calling __kernel_standard.
16459 * math/libm-test.inc (pow_test): Add more tests.
16460
414fca03 16461 [BZ #3868]
41bf21a1
JM
16462 [BZ #13879]
16463 [BZ #13910]
16464 [BZ #13911]
16465 [BZ #13912]
16466 [BZ #13913]
16467 [BZ #13915]
16468 [BZ #13916]
16469 [BZ #13917]
16470 [BZ #13918]
16471 [BZ #13919]
16472 [BZ #13920]
16473 [BZ #13921]
16474 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16475 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16476 (__kernel_standard_l): New function.
16477 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16478 __kernel_standard.
16479 * math/w_acosl.c (__acosl): Likewise.
16480 * math/w_asinl.c (__asinl): Likewise.
16481 * math/w_atan2l.c (__atan2l): Likewise.
16482 * math/w_atanhl.c (__atanhl): Likewise.
16483 * math/w_coshl.c (__coshl): Likewise.
16484 * math/w_exp10l.c (__exp10l): Likewise.
16485 * math/w_exp2l.c (__exp2l): Likewise.
16486 * math/w_fmodl.c (__fmodl): Likewise.
16487 * math/w_hypotl.c (__hypotl): Likewise.
16488 * math/w_j0l.c (__j0l, __y0l): Likewise.
16489 * math/w_j1l.c (__j1l, __y1l): Likewise.
16490 * math/w_jnl.c (__jnl, __ynl): Likewise.
16491 * math/w_lgammal.c (__lgammal): Likewise.
16492 * math/w_log10l.c (__log10l): Likewise.
16493 * math/w_log2l.c (__log2l): Likewise.
16494 * math/w_logl.c (__logl): Likewise.
16495 * math/w_powl.c (__powl): Likewise.
16496 * math/w_remainderl.c (__remainderl): Likewise.
16497 * math/w_scalbl.c (sysv_scalbl): Likewise.
16498 * math/w_sinhl.c (__sinhl): Likewise.
16499 * math/w_sqrtl.c (__sqrtl): Likewise.
16500 * math/w_tgammal.c (__tgammal): Likewise.
16501 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16502 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16503 * math/libm-test.inc (acos_test): Add more tests.
16504 (acosh_test): Likewise.
16505 (asin_test): Likewise.
16506 (atanh_test): Likewise.
16507 (exp_test): Likewise.
16508 (exp10_test): Likewise.
16509 (exp2_test): Likewise.
16510 (expm1_test): Likewise.
16511 (lgamma_test): Likewise.
16512 (log_test): Likewise.
16513 (log10_test): Likewise.
16514 (log1p_test): Likewise.
16515 (log2_test): Likewise.
16516 (pow_test): Do not allow some spurious overflow exceptions.
16517 (sqrt_test): Add more tests.
16518 (tgamma_test): Likewise.
16519 (y0_test): Likewise.
16520 (y1_test): Likewise.
16521 (yn_test): Likewise.
16522
dd62fda6
AB
165232012-03-27 Anton Blanchard <anton@samba.org>
16524
16525 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16526 MAP_HUGETLB.
16527 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16528 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16529 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16530
1e3cdfda
AJ
165312012-03-27 David S. Miller <davem@davemloft.net>
16532
b855ab85
DM
16533 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16534
1e3cdfda
AJ
16535 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16536 have-as-vis3 check.
16537
165382012-03-27 Andreas Jaeger <aj@suse.de>
16539
16540 * sysdeps/x86_64/elf/configure.in: Moved to ...
16541 * sysdeps/x86_64/configure.in: ... here.
16542 * sysdeps/x86_64/elf/start.S: Moved to ...
16543 * sysdeps/x86_64/start.S: ... here.
16544 * sysdeps/x86_64/elf/configure: Delete.
16545
16546 * sysdeps/x86_64/configure.in: Merge contents from
16547 sysdeps/i386/configure.in (without i686 check).
16548
16549 * sysdeps/i386/elf/Versions: Merge into ...
16550 * sysdeps/i386/Versions: ... this.
16551 * sysdeps/i386/elf/Versions: Delete file.
16552 * sysdeps/i386/elf/start.S: Moved to ...
16553 * sysdeps/i386/start.S: ...here.
16554 * sysdeps/i386/elf/configure.in: Merge into...
16555 * sysdeps/i386/configure.in: ...here.
16556 * sysdeps/i386/elf/configure.in: Delete file.
16557 * sysdeps/i386/elf/configure: Delete file.
16558
16559 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16560 * debug/backtracesyms.c: ... here.
16561 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16562 * debug/backtracesymsfd.c: ... here.
16563 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16564 * sysdeps/generic/ifunc-sel.h: ... here.
16565
16566 * sysdeps/unix/i386/start.c: Delete file.
16567 * sysdeps/unix/sparc/start.c: Delete file.
16568 * sysdeps/unix/start.c: Delete file.
16569
16570 * sysdeps/sh/elf/configure.in: Moved to ...
16571 * sysdeps/sh/configure.in: ... here.
16572 * sysdeps/sh/elf/start.S: Moved to ...
16573 * sysdeps/sh/start.S: ... here.
16574 * sysdeps/sh/elf/configure: Delete file.
16575
16576 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16577 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16578 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16579 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16580 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16581 * sysdeps/powerpc/powerpc64/start.S: here.
16582 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16583 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16584 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16585 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16586 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16587
16588 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16589 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16590 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16591 * sysdeps/powerpc/powerpc32/start.S: ... here.
16592 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16593 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16594 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16595
16596 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16597 * sysdeps/powerpc/ifunc-sel.h: ... here.
16598 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16599 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16600
16601 * sysdeps/sparc/elf/configure.in: Moved to ...
16602 * sysdeps/sparc/configure.in: ... here.
16603 * sysdeps/sparc/elf/configure: Delete file.
16604 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16605 * sysdeps/sparc/sparc32/start.S: ... here.
16606 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16607 * sysdeps/sparc/sparc64/start.S: ... here.
16608 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16609 * sysdeps/sparc/sparc32/Makefile: ... this.
16610 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16611 * sysdeps/sparc/sparc64/Makefile: ... this.
16612
16613 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16614 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16615 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16616 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16617 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16618 * sysdeps/s390/s390-32/setjmp.S: ... here.
16619 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16620 * sysdeps/s390/s390-32/configure.in: ... here.
16621 * sysdeps/s390/s390-32/elf/configure: Delete file.
16622 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16623 * sysdeps/s390/s390-32/start.S: ... here.
16624
16625 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16626 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16627 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16628 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16629 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16630 * sysdeps/s390/s390-64/setjmp.S: ... here.
16631 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16632 * sysdeps/s390/s390-64/configure.in: ... here
16633 * sysdeps/s390/s390-64/elf/configure: Delete file.
16634 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16635 * sysdeps/s390/s390-64/start.S: ... here.
16636 * sysdeps/s390/s390-64/elf/configure: Delete.
16637
16638 * configure.in: Remove support for elf directories in sysdeps.
16639
16640 * configure: Regenerated.
16641 * sysdeps/i386/configure: Regenerated.
16642 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16643 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16644 * sysdeps/s390/s390-32/configure: Regenerated.
16645 * sysdeps/s390/s390-64/configure: Regenerated.
16646 * sysdeps/sh/configure: Regenerated.
16647 * sysdeps/sparc/configure: Regenerated.
16648 * sysdeps/x86_64/configure: Regenerated.
16649
a3f61311
AS
166502012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16651
c876e002
AS
16652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16653
a3f61311
AS
16654 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16655 denormal result into account.
16656
ac4c54f0
RM
166572012-03-25 Roland McGrath <roland@hack.frob.com>
16658
16659 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16660 Reported by Allan McRae <allan@archlinux.org>.
16661
6a9b9c02
JL
166622012-03-23 Jeff Law <law@redhat.com>
16663
16664 * nss/getnssent.c (__nss_getent): Fix typo.
16665
4c42a0c1
DM
166662012-03-23 David S. Miller <davem@davemloft.net>
16667
16668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16669
1532c7ac
L
166702012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16671
16672 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16673 to pad to uint64_t for each field.
16674 (dl_tls_index): Replace unsigned long with uint64_t.
16675
3ff42526
PP
166762012-03-23 Daniel Jacobowitz <dmj@google.com>
16677 Paul Pluzhnikov <ppluzhnikov@google.com>
16678
16679 [BZ #6528]
16680 * grp/Makefile (otherlibs): Don't set it.
16681 * inet/Makefile (otherlibs): Likewise.
16682 * login/Makefile (otherlibs): Likewise.
16683 * nscd/Makefile (otherlibs): Likewise.
16684 * posix/Makefile (otherlibs): Likewise.
16685 * pwd/Makefile (otherlibs): Likewise.
16686 * rt/Makefile (otherlibs): Likewise.
16687 * sunrpc/Makefile (otherlibs): Likewise.
16688 * nss/Makefile (otherlibs): Likewise.
16689 Add libnss_files to routines and static-only-routines.
16690 ($(objpfx)getent): Remove rule.
16691 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16692 static-only-routines.
16693
7c69cd14
JM
166942012-03-22 Joseph Myers <joseph@codesourcery.com>
16695
16696 [BZ #13892]
16697 * math/s_cexp.c: Include <float.h>.
16698 (__cexp): Handle exp result overflowing not necessarily
16699 overflowing both real and imaginary parts of result.
16700 * math/s_cexpf.c: Likewise.
16701 * math/s_cexpl.c: Likewise.
16702 * math/libm-test.inc (cexp_test): Add more tests.
16703 * sysdeps/i386/fpu/libm-test-ulps: Update.
16704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16705
81b035fe
L
167062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16707
16708 * include/link.h (ELFW): New macro.
16709 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16710 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16711
1da7940c
L
167122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16713
16714 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16715 with uint64_t.
16716
b749dbb9
L
167172012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16718
16719 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16720 declaration.
16721 (struct La_x32_retval): Likewise.
16722
2ff87f3f
L
167232012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16724
16725 * sysdeps/x86_64/preconfigure.in: New file.
16726 * sysdeps/x86_64/preconfigure: New generated file.
16727
c0df8e69
JM
167282012-03-22 Joseph Myers <joseph@codesourcery.com>
16729
48e44791
JM
16730 [BZ #13824]
16731 * math/e_exp2l.c: Include <float.h>.
16732 (__ieee754_exp2l): Handle overflow and underflow cases
16733 separately. Only pass fractional part of argument to
16734 __ieee754_expl.
16735 * math/libm-test.inc (exp2_test): Add more tests.
16736
c0df8e69
JM
16737 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16738 negating x to take absolute value.
16739 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16740 Likewise.
16741 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16742 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16743 Likewise.
16744 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16745 computing low part if x was negated.
16746 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16747
c8e43ba7
L
167482012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16749
16750 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16751 la_x32_gnu_pltexit.
16752 (pltexit): Cast int_retval to ptrdiff_t.
16753 * elf/tst-auditmod3b.c: Likewise.
16754 * elf/tst-auditmod4b.c: Likewise.
16755 * elf/tst-auditmod5b.c: Likewise.
16756 * elf/tst-auditmod6b.c: Likewise.
16757 * elf/tst-auditmod6c.c: Likewise.
16758 * elf/tst-auditmod7b.c: Likewise.
16759
16760 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16761 and x32_gnu_pltexit.
16762
16763 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16764 __ELF_NATIVE_CLASS.
16765 (La_x32_regs): New macro.
16766 (La_x32_retval): Likewise.
16767 (la_x32_gnu_pltenter): New function prototype.
16768 (la_x32_gnu_pltexit): Likewise.
16769
7998fa78
AS
167702012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16771
dcb33988
AS
16772 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16773 exponent.
16774
233fc563
AS
16775 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16776
7998fa78
AS
16777 * configure.in (libc_cv_cc_nofma): Check for option to disable
16778 generation of FMA instructions.
16779 * configure: Regenerate.
16780 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16781 * sysdeps/ieee754/dbl-64/Makefile: New file.
16782 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16783 Remove brandred-fma4.
16784 (CFLAGS-brandred-fma4.c): Remove.
16785 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16786 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16787 define.
16788 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16789 define.
16790
8e95c99a
L
167912012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16792
16793 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16794 LLONG_MAX != LONG_MAX.
16795 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16796 (_fitoa_word): Likewise.
16797 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16798 LLONG_MAX != LONG_MAX.
16799 * stdio-common/_itowa.h: Include <_itoa.h>.
16800 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16801 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16802 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16803 only if not defined.
16804 (_ITOA_WORD_TYPE): Likewise.
16805 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16806 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16807
6f4db457
DM
168082012-03-21 David S. Miller <davem@davemloft.net>
16809
16810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16811
7785fe5a
L
168122012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16813
16814 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16815 of x86_64 when setting libc_cv_slibdir, libdir and
16816 libc_cv_localedir.
16817 * sysdeps/unix/sysv/linux/configure: Regenerated.
16818
4535cd55
JM
168192012-03-21 Joseph Myers <joseph@codesourcery.com>
16820
16821 * manual/lang.texi (Old Varargs): Remove section.
16822 (How Variadic): Update menu.
16823 (va_start): Do not mention varargs.h.
16824
17228132
TS
168252012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16826 Joseph Myers <joseph@codesourcery.com>
16827
16828 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16829 link test.
16830 * configure: Regenerated.
16831
8149f976
TS
168322012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16833
05f3d1f6
UD
16834 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16835 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16836 conformtest.pl
8149f976 16837
1a4ac776
JM
168382012-03-21 Joseph Myers <joseph@codesourcery.com>
16839
be22ce65
JM
16840 * NOTES: Remove.
16841 * Makefile (files-for-dist): Remove NOTES.
16842 (NOTES): Remove rule.
16843 * README: Don't refer to NOTES.
16844 * manual/creature.texi: Don't include macros.texi.
16845 * manual/intro.texi (creature.texi): Remove comment referring to
16846 NOTES.
16847
40b601fb
JM
16848 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16849 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16850 * configure: Regenerated.
16851 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16852 LIBC_TRY_CC_OPTION.
16853 (libc_cv_as_i686): Likewise.
16854 (libc_cv_cc_avx): Likewise.
16855 (libc_cv_cc_sse2avx): Likewise.
16856 (libc_cv_cc_fma4): Likewise.
16857 (libc_cv_cc_novzeroupper): Likewise.
16858 * sysdeps/i386/configure: Regenerated.
16859
1a4ac776
JM
16860 [BZ #13883]
16861 * sysdeps/i386/fpu/s_cexp.S: Remove.
16862 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16863 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16864 * math/libm-test.inc (cexp_test): Add more tests.
16865 * sysdeps/i386/fpu/libm-test-ulps: Update.
16866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16867
a458e7fe
AM
168682012-03-21 Allan McRae <allan@archlinux.org>
16869
16870 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16871
0cb7efc5
JM
168722012-03-21 Joseph Myers <joseph@codesourcery.com>
16873
16874 [BZ #13871]
16875 * math/w_exp2.c: Do not include <float.h>.
16876 (o_threshold, u_threshold): Remove.
16877 (__exp2): Calculate result before checking finiteness and calling
16878 __kernel_standard.
16879 * math/w_exp2f.c: Likewise.
16880 * math/w_exp2l.c: Likewise.
16881 * math/libm-test.inc (exp2_test): Require overflow exception for
16882 1e6 input.
2460d3aa
JM
16883
16884 [BZ #3866]
16885 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16886 range of signed 64-bit integers before using fistpll. Remove
16887 checks for whether integers fit in mantissa bits.
16888 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16889 the range of signed 32-bit integers before using fistpl. Remove
16890 checks for whether integers fit in mantissa bits.
16891 * sysdeps/i386/fpu/e_powl.S (p64): New object.
16892 (__ieee754_powl): Test for y outside the range of signed 64-bit
16893 integers before using fistpll. Reduce 64-bit values to 63-bit
16894 ones as needed.
16895 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16896 divide-by-zero is raised for zero to large negative powers.
16897 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16898 (__ieee754_powl): Test for y outside the range of signed 64-bit
16899 integers before using fistpll. Reduce 64-bit values to 63-bit
16900 ones as needed.
16901 * math/libm-test.inc (pow_test): Add more tests.
16902
eb96ffb0
L
169032012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16904
16905 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16906 <stdio-common/_itoa.h>.
16907 * debug/segfault.c: Likewise.
16908 * elf/dl-cache.c: Likewise.
16909 * elf/dl-minimal.c: Likewise.
16910 * elf/dl-misc.c: Likewise.
16911 * elf/dl-sysdep.c: Likewise.
16912 * elf/dl-version.c: Likewise.
16913 * elf/rtld.c: Likewise.
16914 * hurd/hurdsock.c: Likewise.
16915 * hurd/lookup-retry.c: Likewise.
16916 * malloc/malloc.c: Likewise.
16917 * malloc/mtrace.c: Likewise.
16918 * nscd/nscd_getgr_r.c: Likewise.
16919 * nscd/nscd_getpw_r.c: Likewise.
16920 * nscd/nscd_getserv_r.c: Likewise.
16921 * posix/getopt_init.c: Likewise.
16922 * posix/wordexp.c: Likewise.
16923 * stdio-common/_itoa.c: Likewise.
16924 * stdio-common/printf_fphex.c: Likewise.
16925 * stdio-common/vfprintf.c: Likewise.
16926 * string/_strerror.c: Likewise.
16927 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16928 * sysdeps/i386/i686/hp-timing.h: Likewise.
16929 * sysdeps/mach/_strerror.c: Likewise.
16930 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16931 * sysdeps/mach/hurd/sethostid.c: Likewise.
16932 * sysdeps/mach/hurd/xmknodat.c: Likewise.
16933 * sysdeps/mach/xpg-strerror.c: Likewise.
16934 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16935 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16936 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16937 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16938 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16939 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16940 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16941 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16942 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16943 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16944 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16945 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16946 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16947 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16948 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16949 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16950 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16951 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16952 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16953 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16954 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16955
16956 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16957
16958 * stdio-common/_itoa.h: Moved to ...
16959 * sysdeps/generic/_itoa.h: Here.
16960
16961 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16962
16963 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16964 instead of "_itoa.h" and "_itowa.h".
16965 * stdio-common/vfprintf.: Likewise.
16966
d1af992d
L
169672012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16968
16969 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16970 <bits/wordsize.h>.
16971 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16972 (__signbit): Likwise.
16973 (llrintf): Likwise.
16974 (llrint): Likwise.
16975
114883e0
L
169762012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16977
16978 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16979 __WORDSIZE != 64.
16980
c135cc1b
JM
169812012-03-20 Joseph Myers <joseph@codesourcery.com>
16982
16983 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16984 OVERFLOW_EXCEPTION_OK.
16985 * math/libm-test.inc ("Philosophy"): Update comment about
16986 exception testing.
16987 (OVERFLOW_EXCEPTION): Define.
16988 (OVERFLOW_EXCEPTION_OK): Likewise.
16989 (INVALID_EXCEPTION_OK): Renumber.
16990 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16991 (IGNORE_ZERO_INF_SIGN): Likewise.
16992 (test_exceptions): Handle FE_OVERFLOW.
16993 (exp10_test): Expect overflow exceptions.
16994 (exp2_test): Likewise.
16995 (expm1_test): Likewise.
16996 (nextafter_test): Likewise.
16997 (pow_test): Likewise.
16998 (scalbn_test): Likewise.
16999 (scalbln_test): Likewise.
17000
95443d88
L
170012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17002
17003 * sysdeps/x86_64/bits/atomic.h
17004 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17005 64bit integer.
17006 (atomic_exchange_acq): Likewise.
17007 (__arch_exchange_and_add_body): Likewise.
17008 (__arch_add_body): Likewise.
17009 (atomic_add_negative): Likewise.
17010 (atomic_add_zero): Likewise.
17011
490df6c4
L
170122012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17013
c2722551 17014 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
17015 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17016
5e52b189
L
170172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17018
17019 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17020 Check __x86_64__ instead of __WORDSIZE.
17021
a9879d4c
L
170222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17023
17024 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17025
5df98260
DM
170262012-03-19 David S. Miller <davem@davemloft.net>
17027
e1497744
DM
17028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17029
5df98260
DM
17030 * sysdeps/sparc/fpu/fenv_private.h: New file.
17031 * sysdeps/sparc/fpu/math_private.h: Use it.
17032 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17033 Remove.
17034 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17035 (libc_feholdexcept_setroundl): Remove.
17036 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17037 Remove.
17038 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17039 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17040
b4c35121
L
170412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17042
17043 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17044 int64_t instead of long int.
17045 (INSERT_WORDS64): Likwise.
17046
56965fd7
L
170472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17048
17049 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17050 _Unwind_GetCFA return to _Unwind_Ptr first.
17051
83d1aec8
JM
170522012-03-19 Joseph Myers <joseph@codesourcery.com>
17053
1897ad44
JM
17054 [BZ #13629]
17055 * math/s_clog.c: Include <float.h>.
17056 (__clog): Scale large or subnormal inputs.
17057 * math/s_clogf.c: Likewise.
17058 * math/s_clogl.c: Likewise.
17059 * math/s_clog10.c: Include <float.h>.
17060 (M_LOG10_2): Define.
17061 (__clog10): Scale large or subnormal inputs.
17062 * math/s_clog10f.c: Likewise.
17063 * math/s_clog10l.c: Likewise.
17064 * math/libm-test.inc (clog_test): Add more tests.
17065 (clog10_test): Likewise.
17066 * sysdeps/i386/fpu/libm-test-ulps: Update.
17067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17068
7726d6a9
JM
17069 [BZ #11451]
17070 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17071 x and y.
17072 * math/libm-test.inc (atan2_test): Add another test.
17073
83d1aec8
JM
17074 * Makerules (common-objdir-compile): Remove.
17075 * sysdeps/unix/Makefile (config-generated): Do not add
17076 $(unix-generated) to variable.
17077 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17078 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17079 Remove rule.
17080 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17081 Likewise.
17082 [generic bits/local_lim.h] (before-compile): Do not append to
17083 variable.
17084 [generic bits/local_lim.h] (common-generated): Likewise.
17085 [generic sys/param.h] (before-compile): Do not append to variable.
17086 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17087 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17088 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17089 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17090 include.
17091 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17092 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17093 [generic sys/param.h] ($(addprefix
17094 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17095 [generic sys/param.h] (common-generated): Do not append to
17096 variable.
17097 [generic sys/param.h] (sysdep_headers): Likewise.
17098 [generic bits/errno.h] (before-compile): Do not append to
17099 variable.
17100 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17101 rule.
17102 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17103 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17104 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17105 [generic bits/errno.h] (common-generated): Do not append to
17106 variable.
17107 [generic bits/ioctls.h] (before-compile): Do not append to
17108 variable.
17109 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17110 rule.
17111 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17112 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17113 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17114 rule.
17115 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17116 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17117 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17118 [generic bits/ioctls.h] (common-generated): Do not append to
17119 variable.
17120 [generic sys/syscall.h] (syscall.h): Remove variable.
17121 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17122 rule.
17123 [generic sys/syscall.h] (before-compile): Do not append to
17124 variable.
17125 [generic sys/syscall.h] (common-generated): Likewise.
17126 * sysdeps/unix/errnos-tmpl.c: Remove file.
17127 * sysdeps/unix/errnos.awk: Likewise.
17128 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17129 * sysdeps/unix/ioctls.awk: Likewise.
17130 * sysdeps/unix/mk-local_lim.c: Likewise.
17131 * sysdeps/unix/snarf-ioctls: Likewise.
17132
4851a949
RH
171332012-03-19 Richard Henderson <rth@twiddle.net>
17134
bd37f2ee
RH
17135 * sysdeps/i386/fpu/fenv_private.h: New file.
17136 * sysdeps/i386/fpu/math_private.h: Use it.
17137 (math_opt_barrier, math_force_eval): Remove.
17138 (libc_feholdexcept_setround_53bit): Remove.
17139 (libc_feupdateenv_53bit): Remove.
17140 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17141 (math_opt_barrier, math_force_eval): Remove.
17142 (libc_feholdexcept): Remove.
17143 (libc_feholdexcept_setround): Remove.
17144 (libc_fetestexcept, libc_fesetenv): Remove.
17145 (libc_feupdateenv_test): Remove.
17146 (libc_feupdateenv, libc_feholdsetround): Remove.
17147 (libc_feresetround): Remove.
17148
d0adc922
RH
17149 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17150 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17151
0fe0f1f8
RH
17152 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17153 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17154 (libc_feupdateenv_testl): New.
17155 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17156 (libc_feupdateenv_testf): New.
17157 (libc_feupdateenv): Use libc_feupdateenv_test.
17158 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17159 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17160
eb92c487
RH
17161 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17162 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17163 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17164 (libc_feresetround_noex): New.
17165 (libc_feresetround_noexf): New.
17166 (libc_feresetround_noexl): New.
17167 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17168 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17169 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17170 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17171 SET_RESTORE_ROUND.
17172 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17173 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17174 (__cos): Likewise.
17175 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17176 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17177 SET_RESTORE_ROUND_NOEX.
17178 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17179 SET_RESTORE_ROUND_NOEXF.
17180 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17181 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17182 (libc_feholdsetroundf): New.
17183 (libc_feresetround, libc_feresetroundf): New.
17184
7d2e8012
RH
17185 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17186 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17187 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17188
b4dabbb4
RH
17189 * sysdeps/generic/math_private.h: Include <fenv.h>.
17190 (default_libc_feholdexcept): New.
17191 (default_libc_feholdexcept_setround): New.
17192 (default_libc_fesetenv, default_libc_feupdateenv): New.
17193 (libc_feholdexcept): Only define if undefined.
17194 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17195 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17196 (libc_feholdexcept_setroundl): Likewise.
17197 (libc_feholdexcept_setround_53bit): Likewise.
17198 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17199 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17200 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17201 (libc_feupdateenv_53bit): Likewise.
17202 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17203 (libc_feholdexcept): Convert from macro to inline function.
17204 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17205 (libc_fesetenv, libc_feupdateenv): Likewise.
17206
4851a949
RH
17207 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17208 not previously defined.
17209 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17210 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17211 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17212 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17213 * sysdeps/ieee754/flt-32/math_private.h: New file.
17214 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17215 math_private.h below SET_FLOAT_WORD.
17216 (__isnan, __isinf_ns, __finite): Remove.
17217 (__isnanf, __isinf_nsf, __finitef): Remove.
17218
e79d442e
AS
172192012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17220
17221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17222
90b80344
DM
172232012-03-17 David S. Miller <davem@davemloft.net>
17224
17225 [BZ #6471]
17226 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17227 for 2.16.
17228
edc21804
DM
172292012-03-16 David S. Miller <davem@davemloft.net>
17230
77e927af
DM
17231 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17232 warnings.
17233
374976dd
DM
17234 [BZ #6471]
17235 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17236 properly.
17237 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17238 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17239 sysdep_routines when subdir is sysvipc.
17240 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17241 __getshmlba helper.
17242
edc21804
DM
17243 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17244
473c3ef3
L
172452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17246
17247 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17248 [__LP64__].
17249
eb0f39b6
L
172502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17251
17252 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17253 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17254 (__lround): Renamed to ...
17255 (__llround): This. Replace long int with long long int.
17256 Define lround functions as aliases of llround functions.
17257 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17258
6b6cd74b
L
172592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17260
17261 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17262 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17263 adresses to uintptr_t. Replace "long int" and "unsigned long
17264 int" with "greg_t" on va_arg.
17265
f1a77b01
L
172662012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17267
17268 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17269 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17270
17271 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17272 Move e_machine check before EI_CLASS check. Handle x32
17273 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17274 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17275 SKIP_EM_IA_64 and include
17276 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17277
17278 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17279 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17280 (add_system_dir): New macro.
17281
17282 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17283 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17284
11b90b9f
JM
172852012-03-16 Joseph Myers <joseph@codesourcery.com>
17286
c36e1d23
JM
17287 [BZ #2551]
17288 [BZ #2552]
17289 [BZ #2553]
17290 [BZ #2554]
17291 [BZ #2562]
17292 [BZ #2563]
17293 [BZ #2565]
17294 [BZ #2566]
17295 [BZ #2576]
17296 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17297 (y0): Likewise.
17298 * math/w_j0f.c (j0f): Likewise.
17299 (y0f): Likewise.
17300 * math/w_j0l.c (__j0l): Likewise.
17301 (__y0l): Likewise.
17302 * math/w_j1.c (j1): Likewise.
17303 (y1): Likewise.
17304 * math/w_j1f.c (j1f): Likewise.
17305 (y1f): Likewise.
17306 * math/w_j1l.c (__j1l): Likewise.
17307 (__y1l): Likewise.
17308 * math/w_jn.c (jn): Likewise.
17309 (yn): Likewise.
17310 * math/w_jnf.c (jnf): Likewise.
17311 (ynf): Likewise.
17312 * math/w_jnl.c (__jnl): Likewise.
17313 (__ynl): Likewise.
17314 * math/libm-test.inc (j0_test): Add more tests.
17315 (j1_test): Likewise.
17316 (jn_test): Likewise. Add trailing semicolon to existing test.
17317 (y0_test): Likewise.
17318 (y1_test): Likewise.
17319 * sysdeps/i386/fpu/libm-test-ulps: Update.
17320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17321
11b90b9f
JM
17322 [BZ #13851]
17323 [BZ #13854]
17324 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17325 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17326 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17327 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17328 (__tanl): Set errno for infinite argument.
17329 * sysdeps/i386/fpu/mptan.c: Remove.
17330 * sysdeps/i386/fpu/s_tan.S: Likewise.
17331 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17332 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17333 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17334 * math/libm-test.inc (tan_test): Add more tests and enable more
17335 tests for double and long double.
17336 * sysdeps/i386/fpu/libm-test-ulps: Update.
17337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17338
6a1bd2a1
JK
173392012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17340
17341 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17342 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17343
10a803e0
RM
173442012-03-16 Roland McGrath <roland@hack.frob.com>
17345
17346 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17347 * configure.in: Use it for both main tree and add-ons.
17348 * configure: Regenerated.
17349
f196c7f7
L
173502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17351
17352 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17353
8848d99d
JM
173542012-03-16 Joseph Myers <joseph@codesourcery.com>
17355
96cbe7f4
JM
17356 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17357 in comment.
17358
8848d99d
JM
17359 [BZ #13851]
17360 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17361 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17362 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17363 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17364 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17365 infinite argument.
17366 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17367 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17368 != 0 for prec == 2.
17369 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17370 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17371 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17372 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17373 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17374 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17375 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17376 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17377 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17378 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17379 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17380 * math/libm-test.inc (cos_test): Add more tests and enable more
17381 tests for long double.
17382 (sin_test): Likewise.
17383 (sincos_test): Likewise.
17384 * sysdeps/i386/fpu/libm-test-ulps: Update.
17385 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17386
dd7f4703
DM
173872012-03-16 David S. Miller <davem@davemloft.net>
17388
17389 * sysdeps/sparc/fpu/math_private.h: New file.
17390
006f1daa
DM
173912012-03-15 David S. Miller <davem@davemloft.net>
17392
c0c83bc8
DM
17393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17394 file.
e6a62e18 17395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
17396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17397 file.
e6a62e18
DM
17398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17399 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17400 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17401 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17402 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17403 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17404 sysdep routines.
17405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17406
88cb87d9
DM
17407 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17408 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17409
006f1daa 17410 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
17411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17412 sparc-ifunc.h
006f1daa 17413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
17414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17415 Likewise.
17416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17417 Likewise.
006f1daa
DM
17418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
17421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17422 Likewise.
006f1daa
DM
17423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
17427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17428 Likewise.
17429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17430 Likewise.
006f1daa
DM
17431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17435 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17436 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17437 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17438 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17439 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17440 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17441 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17442 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17443 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17445 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17446 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17447 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17448 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17449 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17450 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17451 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17452 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17453 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17454 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17455
11e0098e
AS
174562012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17457
17458 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17459 scaling.
17460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17461
e85b09d0
AJ
174622012-03-15 Andreas Jaeger <aj@suse.de>
17463
17464 [BZ #13852]
17465 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17466 ieee754/flt-32 implementation for sin, cos and sincos.
17467 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17468 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17469 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17470 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17471 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17472 ieee754/flt-32 implementation for tan.
17473
17474 * math/libm-test.inc (cos_test): Enable some large input tests for
17475 float as well
17476 (sin_test): Likewise.
17477 (sincos_test): Likewise.
17478 (tan_test): Add tests for large input.
17479
17480 * sysdeps/i386/fpu/libm-test-ulps: Update.
17481
81c64153
AJ
174822012-03-15 Andreas Jaeger <aj@suse.de>
17483
17484 [BZ #13658]
17485 * math/libm-test.inc (cos_test): Add more test cases.
17486 (sin_test): Likewise.
17487 (sincos_test): Likewise.
17488
7bbfa5c6
AJ
174892012-03-15 Andreas Jaeger <aj@suse.de>
17490
17491 [BZ #13837]
17492 * math/libm-test.inc (cos_test): Add a test case for large input
17493 value.
17494 (sin_test): Likewise.
17495 (sincos_test): Likewise.
17496
174972012-03-15 Andreas Jaeger <aj@suse.de>,
17498 Joseph Myers <joseph@codesourcery.com>
17499
17500 [BZ #13658]
0671f479 17501 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
17502 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17503 * sysdeps/i386/fpu/branred.c: Likewise.
17504 * sysdeps/i386/fpu/dosincos.c: Likewise.
17505 * sysdeps/i386/fpu/mpa.c: Likewise.
17506 * sysdeps/i386/fpu/s_cos.S: Likewise.
17507 * sysdeps/i386/fpu/s_sin.S: Likewise.
17508 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17509 * sysdeps/i386/fpu/sincos32.c: Likewise.
17510
17511 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17512 Define.
17513 (libc_feupdateenv_53bit): Define.
17514 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17515 Define.
17516 (libc_feupdateenv_53bit): Define.
17517
17518 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17519 53 bit (without extend i386 double precision).
17520
17521 * math/libm-test.inc (sincos_test): Add tests for large input.
17522 (sin): Likewise.
17523 (cos): Likewise.
17524
17525 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17526
9cad04ea
AS
175272012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17528
17529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17530
f7062b9a
DM
175312012-03-15 David S. Miller <davem@davemloft.net>
17532
17533 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17534 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17535 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17536 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17542 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17543 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17544 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17545 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17546 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17547 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
17548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17549 file.
f7062b9a 17550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
17551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17552 file.
f7062b9a 17553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
17554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17555 file.
f7062b9a 17556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
17557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17558 file.
f7062b9a
DM
17559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17560 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17561 fmin/fmax sysdep routines.
17562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17563
7bd951ff
DM
175642012-03-14 David S. Miller <davem@davemloft.net>
17565
559398ab
DM
17566 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17567 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17568 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17569 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17570 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17571 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17572 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17573 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17574 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17575 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17576 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17577 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17580 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17581 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17582 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17583 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17584 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17585 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17586 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17587 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17588 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17589 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17590 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17591 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17592 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17593 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17594 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17595 routines.
17596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17597 file.
559398ab 17598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
17599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17600 file.
559398ab 17601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
17602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17603 file.
559398ab 17604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
17605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17606 file.
559398ab 17607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
17608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17609 file.
559398ab 17610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
17611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17612 file.
17613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17614 file.
17615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17616 file.
17617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17618 file.
17619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17620 New file.
17621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17622 file.
17623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17624 file.
559398ab 17625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
17626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17627 file.
559398ab 17628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17630 file.
559398ab 17631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
17632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17633 file.
559398ab 17634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
17635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17636 VIS3 routines.
559398ab
DM
17637
17638 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17639 New file.
17640
5a1c1e32
DM
17641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17642
eae47a36
DM
17643 * sysdeps/sparc/configure.in: New file.
17644 * sysdeps/sparc/configure: Generate.
17645 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17646 * configure: Regenerate.
17647 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17648 * config.make.in (have-as-vis3): New.
17649 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17650 available use -Av9d instead of -Av9a.
17651 * sysdeps/sparc/sparc64/Makefile: Likewise.
17652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
17653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17654 New file.
17655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17656 file.
17657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17658 New file.
17659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17660 file.
eae47a36
DM
17661 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17662 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17663 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17664 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17665 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17666
c0c83bc8
DM
17667 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17668 fzeros/fnegs to load 0x80000000 into a float register instead of
17669 using the stack.
7bd951ff
DM
17670 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17671
bd951ccb
JM
176722012-03-14 Joseph Myers <joseph@codesourcery.com>
17673
17674 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17675 bits/syscall.h.
17676 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17677 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17678 ($(inst_includedir)/bits/syscall.h): Remove rule.
17679 ($(objpfx)bits/syscall.d): Include instead of
17680 $(objpfx)syscall-list.d.
17681 (generated): Change syscall-list.h and syscall-list.d to
17682 bits/syscall.h and bits/syscall.d.
17683
bb4e6db2
RM
176842012-03-14 Roland McGrath <roland@hack.frob.com>
17685
17686 [BZ #13846]
17687 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17688
aa4a2ae1
JM
176892012-03-14 Joseph Myers <joseph@codesourcery.com>
17690
e456826d
JM
17691 [BZ #13841]
17692 * math/s_csqrt.c: Include <float.h>.
17693 (__csqrt): Scale large or subnormal inputs.
17694 * math/s_csqrtf.c: Likewise.
17695 * math/s_csqrtl.c: Likewise.
17696 * math/libm-test.inc (csqrt_test): Add more tests.
17697 * sysdeps/i386/fpu/libm-test-ulps: Update.
17698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17699
aa4a2ae1
JM
17700 [BZ #13840]
17701 * math/libm-test.inc (hypot_test): Add more tests.
17702
7c10fd35
DM
177032012-03-13 David S. Miller <davem@davemloft.net>
17704
17705 [BZ #13840]
17706 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17707 double-precision for the calculation instead of scaling.
17708
f453b98b
JM
177092012-03-13 Joseph Myers <joseph@codesourcery.com>
17710
17711 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17712 manipulate bits before adding and subtracting TWO52[sx].
17713 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17714 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17715 Likewise.
17716 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17717
09a3453f
DM
177182012-03-13 David S. Miller <davem@davemloft.net>
17719
8e59da90
DM
17720 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17721 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17722 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17723 rtld-global-offsets.h
17724 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17725
2a8ab7f2
DM
17726 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17727 large parameters.
17728
10f62770
DM
17729 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17730
5f0bdb18
DM
17731 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17732 'err' in the ifdef scope in which it is actually used.
17733
09a3453f
DM
17734 * nss/nss_db/db-init.c: Include string.h
17735
b4b2eb5e
DM
177362012-03-12 David S. Miller <davem@davemloft.net>
17737
98bb2f1c
DM
17738 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17739 masking out of the most significant byte of random value used.
17740 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17741 Fix coding style in previous change.
17742
b4b2eb5e
DM
17743 * sysdeps/unix/sysv/linux/kernel-features.h
17744 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17745 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17746 expression.
17747 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17748 later.
17749
6e226b09
DM
177502012-03-11 David S. Miller <davem@davemloft.net>
17751
a1bcbd40
DM
17752 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17753 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17754 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17755 for 'resultvar' otherwise things get truncated on 64-bit.
17756
cb9d6174
DM
17757 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17758 Fix masking out of the most significant byte of random value used.
17759
6e226b09
DM
17760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17761
058c132d
AS
177622012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17763
17764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17765
2d2cd515
DM
177662012-03-09 David S. Miller <davem@davemloft.net>
17767
17768 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17769 variables with appropriate CPP guards.
17770 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17771 frame pointer, not the stack pointer. Correct layout comments. Fix test
17772 on resulting framesize and the management of the outregs buffer for pltexit.
17773 Preserve floating point return values across _dl_call_pltexit call.
17774 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17775 framesize and the management of the outregs buffer for pltexit.
17776 Preserve floating point return values across _dl_call_pltexit
17777 call.
17778 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17779 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17780 (print_exit): Fix format string for return register value.
17781
9a07f9d0
JM
177822012-03-10 Joseph Myers <joseph@codesourcery.com>
17783
17784 * sunrpc/Makefile (others): Add rpcgen.
17785 ($(objpfx)rpcgen): Remove special build rule and dependency on
17786 libc.
17787 * sunrpc/rpcgen.c: New file.
17788
547b5e30
PE
177892012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17790
c524201a
PE
17791 [BZ #13673]
17792 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17793 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17794 * sysdeps/i386/crti.S: Likewise.
17795 * sysdeps/i386/crtn.S: Likewise.
17796 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17797 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17798 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17799 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17800 * sysdeps/sh/crti.S: Likewise.
17801 * sysdeps/sh/crtn.S: Likewise.
17802 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17803
7b6235f2
PE
17804 [BZ #13673]
17805 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17806 with URL.
17807 * locale/programs/locfile-kw.gperf: Likewise.
17808 * locale/programs/charmap-kw.h: Regenerated.
17809 * locale/programs/locfile-kw.h: Likewise.
17810
547b5e30
PE
17811 [BZ #13673]
17812 * intl/plural.y: Replace FSF snail mail address with URL.
17813 * intl/plural.c: Regenerated.
17814
5f0a5dae
RH
178152012-03-09 Richard Henderson <rth@twiddle.net>
17816
17817 * include/math_private.h: Remove file.
17818 * math/math_private.h: Move file ...
17819 * sysdeps/generic/math_private.h: ... here.
17820
b8c03620
RH
17821 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17822 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17823 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17824
4e234f5d 17825 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
17826 and <math_private.h>.
17827 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17828 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17829 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17830 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17831 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17832 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17833 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17834 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17835 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17836 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17837 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17838 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17839 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17840 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17841 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17842 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17843 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17844 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17845 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17846 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17847 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17848 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17849 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17850 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17851 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17852 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17853 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17854 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17855 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17856 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17857 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17858 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17859 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17860 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17861 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17862 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17863 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17864 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17865 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17866 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17867 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17868 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17869 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17870 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17871 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17872 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17873 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17874 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17875 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17876 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17877 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17878 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17879 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17880 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17881 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17882 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17883 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17884 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17885 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17886 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17887 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17888 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17889 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17890 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17891 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17892 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17893 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17894 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17895 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17896 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17897 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17898 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17899 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17900 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17901 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17902 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17903 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17904 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17905 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17906 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17907 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17908 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17909 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17910 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17911 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17912 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17913 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17914 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17915 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17916 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17917 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17918 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17919 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17920 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17921 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17922 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17923 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17924 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17925 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17926 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17927 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17928 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17929 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17930 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17931 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17932 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17933 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17934 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17935 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17936 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17937 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17938 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17939 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17940 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17941 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17942 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17943 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17944 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17945 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17946 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17947 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17948 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17949 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17950 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17951 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17952 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17953 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17954 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17955 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17956 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17957 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17958 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17959 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17960 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17961 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17962 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17963 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17964 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17965 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17966 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17967 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17968 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17969 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17970 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17971 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17972 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17973 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17974 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17975 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17976 * sysdeps/ieee754/k_standard.c: Likewise.
17977 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17978 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17979 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17980 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17981 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17982 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17983 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17984 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17985 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17986 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17987 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17988 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17989 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17990 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17991 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17992 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17993 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17994 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17995 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17996 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17997 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17998 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17999 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18000 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18001 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18002 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18003 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18004 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18005 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18006 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18007 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18008 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18009 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18010 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18011 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18012 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18013 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18014 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18015 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18016 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18017 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18018 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18019 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18020 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18021 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18022 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18023 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18024 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18025 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18026 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18027 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18028 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18029 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18030 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18031 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18032 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18033 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18034 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18035 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18036 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18037 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18038 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18039 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18040 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18041 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18042 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18043 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18044 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18045 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18046 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18047 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18048 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18049 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18050 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18051 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18052 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18053 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18054 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18055 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18056 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18057 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18058 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18059 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18060 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18061 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18062 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18063 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18064 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18065 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18066 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18067 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18068 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18069 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18070 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18071 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18072 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18073 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18074 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18075 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18076 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18077 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18078 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18079 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18080 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18081 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18082 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18083 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18084 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18085 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18086 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18087 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18088 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18089 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18090 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18091 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18092 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18093 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18094 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18095 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18096 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18097 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18098 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18099 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18100 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18101 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18102 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18103 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18104 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18105 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18106 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18107 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18108 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18109 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18110 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18111 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18112 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18113 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18114 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18115 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18116 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18117 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18118 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18119 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18120 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18121 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18122 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18123 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18124 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18125 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18126 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18127 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18128 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18129 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18130 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18131 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18132 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18133 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18134 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18135 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18136 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18137 * sysdeps/ieee754/s_lib_version.c: Likewise.
18138 * sysdeps/ieee754/s_matherr.c: Likewise.
18139 * sysdeps/ieee754/s_signgam.c: Likewise.
18140 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18141 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18142 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18143 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18144 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18145 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18146 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18147 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18148 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18149 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18150 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18151 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18152 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18153 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18154 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18155 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18156 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18157 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18158 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18159 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18160 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 18161
1991fa03
JM
181622012-03-09 Joseph Myers <joseph@codesourcery.com>
18163
18164 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18165 * sunrpc/rpc_main.c: Likewise.
18166 * sunrpc/rpc_svcout.c: Likewise.
18167
60d6f5a6
DM
181682012-03-09 David S. Miller <davem@davemloft.net>
18169
18170 * include/math_private.h: New file.
18171
4962050e
JM
181722012-03-09 Joseph Myers <joseph@codesourcery.com>
18173
02a6f887
JM
18174 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18175 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18176 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18177 from <bits/socket_type.h>.
18178 (enum __socket_type): Don't define here.
18179 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18180 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18181 bits/socket_type.h.
18182
c6e013c1
JM
18183 [BZ #13566]
18184 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18185 checking __USE_GNU.
18186
4962050e
JM
18187 * Makerules ($(inst_includedir)/%.h): New rule.
18188 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18189 (install-others): Remove variable setting.
18190 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18191
38842f45
RH
181922012-03-08 Richard Henderson <rth@twiddle.net>
18193
67bb6da6
RH
18194 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18195 from macro to inline function; merge with the
18196 !__LIBC_INTERNAL_MATH_INLINES version.
18197 (__ieee754_sqrtf): Likewise.
18198
15194b4b
RH
18199 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18200 to inline function.
18201 (__rintf, __floor, __floorf): Likewise.
18202
64e21ede
RH
18203 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18204 macro to inline function.
18205 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18206
38842f45
RH
18207 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18208 not <math/math_private.h>.
18209
c64bf5fe
DM
182102012-03-08 David S. Miller <davem@davemloft.net>
18211
18212 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18213 copyright year.
18214 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18215
82d86f28
TS
182162012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18217
18218 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18219 normalization.
18220 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18221 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18222
aea5d727
UD
182232012-03-08 Ulrich Drepper <drepper@gmail.com>
18224
18225 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18226 be defined individually, they must be defined as a block. Define
18227 S for printing a string instead of hidint the different by using a
18228 macro for adding the 'l'.
18229 * stdio-common/tst-fphex-wide.c: Adjust.
18230
70bca0a3
MP
182312012-03-07 Marek Polacek <polacek@redhat.com>
18232
18233 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18234
65b81130
MP
182352012-03-08 Marek Polacek <polacek@redhat.com>
18236
18237 [BZ #13806]
18238 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18239 * stdio-common/tst-fphex.c: Define a few macros to make the
18240 test reusable. Use them.
18241 * stdio-common/tst-fphex-wide.c: New file.
18242
07037eeb
JM
182432012-03-08 Joseph Myers <joseph@codesourcery.com>
18244
a7a93d50
JM
18245 [BZ #6911]
18246 * manual/macros.texi (gnusystems): New macro.
18247 (nongnusystems): Likewise.
18248 (gnulinuxhurdsystems): Likewise.
18249 (gnuhurdsystems): Likewise..
18250 (gnulinuxsystems): Likewise.
18251 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18252 variants of the GNU system, not "GNU system".
18253 * manual/conf.texi: Likewise.
18254 * manual/errno.texi: Likewise. Update example of errno macro
18255 expansion.
18256 * manual/filesys.texi: Likewise.
18257 (getumask): Document as specific to GNU/Hurd.
18258 * manual/install.texi: Likewise. Reword some references to
18259 GNU/Linux.
18260 * manual/intro.texi: Likewise.
18261 * manual/io.texi: Likewise.
18262 (File Name Portability): Detail which constraints are inapplicable
18263 to all GNU systems and which are only inapplicable to GNU/Hurd.
18264 * manual/job.texi: Likewise.
18265 * manual/llio.texi: Likewise.
18266 (O_NOCTTY): Document as present on GNU/Linux.
18267 * manual/maint.texi: Likewise.
18268 * manual/memory.texi: Likewise.
18269 * manual/pattern.texi: Likewise.
18270 * manual/pipe.texi: Likewise.
18271 * manual/process.texi: Likewise.
18272 * manual/resource.texi: Likewise.
18273 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18274 child on GNU/Hurd.
18275 * manual/setjmp.texi: Likewise.
18276 * manual/signal.texi: Likewise.
18277 * manual/startup.texi: Likewise.
18278 * manual/stdio.texi: Likewise.
18279 * manual/terminal.texi: Likewise.
18280 (ONLCR): Document as POSIX.
18281 (OXTABS): Document availability on GNU/Linux as XTABS.
18282 (ONOEOT): Document availability separately from other bits.
18283 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18284 * manual/time.texi: Likewise.
18285 * manual/users.texi: Likewise.
18286 * INSTALL: Regenerated.
18287 * sysdeps/gnu/errlist.c: Regenerated.
18288
07037eeb
JM
18289 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18290 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18291 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18292 puts.
18293 * configure: Regenerated.
18294
d1d3431a
JM
182952012-03-07 Joseph Myers <joseph@codesourcery.com>
18296
af6a1e37
JM
18297 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18298 default includes instead of AC_HEADER_CHECK.
18299 * sysdeps/i386/configure: Regenerated.
18300
d1d3431a
JM
18301 [BZ #10716]
18302 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18303 * math/s_cacoshf.c (__cacoshf): Likewise.
18304 * math/s_cacoshl.c (__cacoshl): Likewise.
18305 * math/s_casinh.c (__casinh): Set signs of result from argument.
18306 * math/s_casinhf.c (__casinhf): Likewise.
18307 * math/s_casinhl.c (__casinhl): Likewise.
18308 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18309 (casinh_test): Add more tests.
18310 * sysdeps/i386/fpu/libm-test-ulps: Update.
18311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18312
482ff4da
UD
183132012-03-07 Ulrich Drepper <drepper@gmail.com>
18314
872fda05
UD
18315 * po/zh_TW.po: Update from translation team.
18316
a4300c7a
UD
18317 * login/Makefile (distribute): Remove variable.
18318 * catgets/Makefile: Likewise.
18319 * mach/Makefile: Likewise.
18320 * malloc/Makefile: Likewise.
18321 * misc/Makefile: Likewise.
18322 * iconv/Makefile: Likewise.
18323 * nscd/Makefile: Likewise.
18324 * hurd/Makefile: Likewise.
18325 * manual/Makefile: Likewise.
18326 * locale/Makefile: Likewise.
18327 * intl/Makefile: Likewise.
18328 * conform/Makefile: Likewise.
18329 * nss/Makefile: Likewise.
18330 * time/Makefile: Likewise.
18331 * soft-fp/Makefile: Likewise.
18332 * dirent/Makefile: Likewise.
18333 * gmon/Makefile: Likewise.
18334 * po/Makefile: Likewise.
18335 * rt/Makefile: Likewise.
18336 * socket/Makefile: Likewise.
18337 * math/Makefile: Likewise.
18338 * signal/Makefile: Likewise.
18339 * debug/Makefile: Likewise.
18340 * elf/Makefile: Likewise.
18341 * timezone/Makefile: Likewise.
18342 * stdlib/Makefile: Likewise.
18343 * iconvdata/Makefile: Likewise.
18344 * sunrpc/Makefile: Likewise.
18345 * io/Makefile: Likewise.
18346 * argp/Makefile: Likewise.
18347 * inet/Makefile: Likewise.
18348 * hesiod/Makefile: Likewise.
18349 * grp/Makefile: Likewise.
18350 * csu/Makefile: Likewise.
18351 * wctype/Makefile: Likewise.
18352 * crypt/Makefile: Likewise.
18353 * libio/Makefile: Likewise.
18354 * string/Makefile: Likewise.
18355 * nis/Makefile: Likewise.
18356 * resolv/Makefile: Likewise.
18357 * stdio-common/Makefile: Likewise.
18358 * wcsmbs/Makefile: Likewise.
18359 * dlfcn/Makefile: Likewise.
18360 * posix/Makefile: Likewise.
18361
3b7c4e74 18362 [BZ #6959]
482ff4da
UD
18363 * timezone/Makefile: Don't install timezone files, just the programs
18364 and scripts.
18365
f72ed77d
UD
183662012-03-06 Ulrich Drepper <drepper@gmail.com>
18367
a000466f
UD
18368 * nss/databases.def: Add missing gshadow entry.
18369
f72ed77d
UD
18370 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18371
a53b7a4e
MP
183722012-03-06 Marek Polacek <polacek@redhat.com>
18373
18374 [BZ #13726]
18375 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18376 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18377 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18378 * stdio-common/tst-long-dbl-fphex.c: New file.
18379
e9258400
DM
183802012-03-06 David S. Miller <davem@davemloft.net>
18381
18382 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18383 (set_obp_int): New function.
18384 (get_obp_int): New function.
18385 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
18386 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18387 Avoid unused variable warnings on 'val' and use builtin_expect.
18388 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18389 __builtin_expect.
e9258400
DM
18390 (INLINE_CLONE_SYSCALL): Likewise.
18391
3bd2c723
DM
183922012-03-05 David S. Miller <davem@davemloft.net>
18393
18394 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18395
bbb78d03
AS
183962012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18397
884c5db4
AS
18398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18399
bbb78d03
AS
18400 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18401 only for |x| >= 40.
18402 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18403
1c9f702a 184042012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
18405
18406 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18407 Replace gettimeofday with __vdso_gettimeofday.
18408
7be16f82
RM
18409 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18410 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18411 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
18412
18413 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18414 time with __vdso_time.
18415
ed58a00f
JM
184162012-03-05 Joseph Myers <joseph@codesourcery.com>
18417
18418 * manual/lang.texi (size_t): Note types to which size_t may be
18419 equivalent with the GNU C Library, but do not describe when
18420 differences between them are significant.
18421
30ee4ced
AJ
184222012-03-05 Andreas Jaeger <aj@suse.de>
18423
18424 * sysdeps/i386/fpu/libm-test-ulps: Update.
18425
b7cd39e8
JM
184262012-03-05 Joseph Myers <joseph@codesourcery.com>
18427
18428 [BZ #3976]
18429 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18430 (__ieee754_pow): Save and restore rounding mode and use
18431 round-to-nearest for main computations.
18432 * math/libm-test.inc (pow_test_tonearest): New function.
18433 (pow_test_towardzero): Likewise.
18434 (pow_test_downward): Likewise.
18435 (pow_test_upward): Likewise.
18436 (main): Call the new functions.
18437 * sysdeps/i386/fpu/libm-test-ulps: Update.
18438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
18439
18440 [BZ #3976]
18441 * math/libm-test.inc (cosh_test_tonearest): New function.
18442 (cosh_test_towardzero): Likewise.
18443 (cosh_test_downward): Likewise.
18444 (cosh_test_upward): Likewise.
18445 (sinh_test_tonearest): Likewise.
18446 (sinh_test_towardzero): Likewise.
18447 (sinh_test_downward): Likewise.
18448 (sinh_test_upward): Likewise.
18449 (main): Call the new functions.
18450 * sysdeps/i386/fpu/libm-test-ulps: Update.
18451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18452
6c6a98c9
TV
184532012-03-05 Tom de Vries <tom@codesourcery.com>
18454
18455 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18456 default stack guard is set in last bytes.
18457 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18458
21bb2d2e 184592012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 18460
21bb2d2e 18461 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 18462
21bb2d2e
AJ
18463 [BZ #13656]
18464 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18465 possibly allocate from heap instead of stack.
18466 * stdio-common/bug-vfprintf-nargs.c: New file.
18467 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 18468
c6922934
AS
184692012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18470
18471 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18472
bc957d53
MP
184732012-03-03 Marek Polacek <polacek@redhat.com>
18474
18475 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18476 * math/math_private.h: Likewise.
18477 * stdlib/tst-strtod.c: Likewise.
18478 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18479 * sysdeps/x86_64/bits/atomic.h: Likewise.
18480
6358490d
DM
184812012-03-02 David S. Miller <davem@davemloft.net>
18482
18483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18487 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18488 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18489 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18490 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18491
01ae168d
RM
184922012-03-02 Roland McGrath <roland@hack.frob.com>
18493
d9a17c07
RM
18494 [BZ #13792]
18495 * manual/examples/README: New file, says the example source files
18496 can be used under GPL>=2.
18497 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18498 line containing just "*/".
18499 * manual/examples/add.c: Add copyright header (GPL>=2).
18500 * manual/examples/argp-ex1.c: Likewise.
18501 * manual/examples/argp-ex2.c: Likewise.
18502 * manual/examples/argp-ex3.c: Likewise.
18503 * manual/examples/argp-ex4.c: Likewise.
18504 * manual/examples/atexit.c: Likewise.
18505 * manual/examples/db.c: Likewise.
18506 * manual/examples/dir.c: Likewise.
18507 * manual/examples/dir2.c: Likewise.
18508 * manual/examples/execinfo.c: Likewise.
18509 * manual/examples/filecli.c: Likewise.
18510 * manual/examples/filesrv.c: Likewise.
18511 * manual/examples/fmtmsgexpl.c: Likewise.
18512 * manual/examples/genpass.c: Likewise.
18513 * manual/examples/inetcli.c: Likewise.
18514 * manual/examples/inetsrv.c: Likewise.
18515 * manual/examples/isockad.c: Likewise.
18516 * manual/examples/longopt.c: Likewise.
18517 * manual/examples/memopen.c: Likewise.
18518 * manual/examples/memstrm.c: Likewise.
18519 * manual/examples/mkfsock.c: Likewise.
18520 * manual/examples/mkisock.c: Likewise.
18521 * manual/examples/mygetpass.c: Likewise.
18522 * manual/examples/pipe.c: Likewise.
18523 * manual/examples/popen.c: Likewise.
18524 * manual/examples/rprintf.c: Likewise.
18525 * manual/examples/search.c: Likewise.
18526 * manual/examples/select.c: Likewise.
18527 * manual/examples/setjmp.c: Likewise.
18528 * manual/examples/sigh1.c: Likewise.
18529 * manual/examples/sigusr.c: Likewise.
18530 * manual/examples/stpcpy.c: Likewise.
18531 * manual/examples/strdupa.c: Likewise.
18532 * manual/examples/strftim.c: Likewise.
18533 * manual/examples/strncat.c: Likewise.
18534 * manual/examples/subopt.c: Likewise.
18535 * manual/examples/swapcontext.c: Likewise.
18536 * manual/examples/termios.c: Likewise.
18537 * manual/examples/testopt.c: Likewise.
18538 * manual/examples/testpass.c: Likewise.
18539 * manual/examples/timeval_subtract.c: Likewise.
18540
01ae168d
RM
18541 [BZ #13792]
18542 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18543 function to ...
18544 * manual/timeval_subtract.c.texi: ... here, new file.
18545
49efa33d
DM
185462012-03-02 David S. Miller <davem@davemloft.net>
18547
18548 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18549
28afd92d
JM
185502012-03-02 Joseph Myers <joseph@codesourcery.com>
18551
804360ed
JM
18552 [BZ #3976]
18553 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18554 (__sin): Save and restore rounding mode and use round-to-nearest
18555 for all computations.
18556 (__cos): Save and restore rounding mode and use round-to-nearest
18557 for all computations.
18558 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18559 <fenv.h>.
18560 (tan): Save and restore rounding mode and use round-to-nearest for
18561 all computations.
18562 * math/libm-test.inc (cos_test_tonearest): New function.
18563 (cos_test_towardzero): Likewise.
18564 (cos_test_downward): Likewise.
18565 (cos_test_upward): Likewise.
18566 (sin_test_tonearest): Likewise.
18567 (sin_test_towardzero): Likewise.
18568 (sin_test_downward): Likewise.
18569 (sin_test_upward): Likewise.
18570 (tan_test_tonearest): Likewise.
18571 (tan_test_towardzero): Likewise.
18572 (tan_test_downward): Likewise.
18573 (tan_test_upward): Likewise.
18574 (main): Call the new functions.
18575 * sysdeps/i386/fpu/libm-test-ulps: Update.
18576 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18577
a6d06d7b
JM
18578 [BZ #10135]
18579 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18580 small n, then large n, before computing and testing k+n.
18581 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18582 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18583 Likewise.
18584 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18585 Likewise.
18586 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18587 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18588 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18589 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18590 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18591 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18592 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18593 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18594 * math/libm-test.inc (scalbn_test): Add more tests.
18595 (scalbln_test): Likewise.
18596
07e12bb3
JM
18597 * manual/filesys.texi (mode_t): Describe constraints on size and
18598 signedness, not exact equivalence to a particular type.
18599 (ino_t): Likewise.
18600 (ino64_t): Likewise.
18601 (dev_t): Likewise.
18602 (nlink_t): Likewise.
18603 (blkcnt_t): Likewise.
18604 (blkcnt64_t): Likewise.
18605 * manual/llio.texi (off_t): Likewise.
18606
28afd92d
JM
18607 [BZ #3976]
18608 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18609 (__ieee754_exp): Save and restore rounding mode and use
18610 round-to-nearest for all computations.
18611 * math/libm-test.inc (exp_test_tonearest): New function.
18612 (exp_test_towardzero): Likewise.
18613 (exp_test_downward): Likewise.
18614 (exp_test_upward): Likewise.
18615 (main): Call the new functions.
18616 * sysdeps/i386/fpu/libm-test-ulps: Update.
18617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18618
b1eeb65d
CD
186192012-03-01 Chris Demetriou <cgd@google.com>
18620
18621 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18622 have predictable order.
18623
53362a4b
DM
186242012-03-01 David S. Miller <davem@davemloft.net>
18625
3c969083
DM
18626 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18627
759707de
DM
18628 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18629 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18630 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18631 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18632
dfdb8ff2
DM
18633 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18634 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18635 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18637 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18638 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18639 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18640 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18641 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18642
ead89f96
DM
18643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18644
7f66bd07
DM
18645 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18646 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18647 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18648
53362a4b
DM
18649 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18650 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18651 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18652 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18653 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18654 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18655 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18656 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18657 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18658 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18659 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18660 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18661 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18662 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18663 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18664 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18665 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18666 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18667 * sysdeps/sparc/elf/configure: Regenerated.
18668
7b1902cb
JM
186692012-03-01 Joseph Myers <joseph@codesourcery.com>
18670
bec039bc
JM
18671 * configure.in (AS, LD): Require binutils 2.20 or later.
18672 * configure: Regenerated.
18673 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18674 as required minimum version.
18675 * INSTALL: Regenerated.
18676
7b1902cb
JM
18677 [BZ #2541]
18678 [BZ #4108]
18679 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18680 before squaring exponent.
18681 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18682 bottom long double and 27 bits of top long double before squaring
18683 exponent.
18684 * math/libm-test.inc (erfc_test): Add more tests.
18685 * sysdeps/i386/fpu/libm-test-ulps: Update.
18686 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18688
f775c276
KT
186892012-03-01 Kai Tietz <ktietz@redhat.com>
18690
18691 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18692 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18693 containing bit-fields.
18694 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18695 * soft-fp/single.h (_FP_UNION_S): Likewise.
18696 * soft-fp/double.h (_FP_UNION_D): Likewise.
18697
5b8a4d4a
JM
186982012-02-29 Joseph Myers <joseph@codesourcery.com>
18699
0bab47b6
JM
18700 [BZ #13786]
18701 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18702 not include ../strcmp.S.
18703 [USE_AS_STRNCASECMP_L]: Likewise.
18704 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18705 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18706 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18707 (__strncasecmp_l_ia32): Define as alias to
18708 __strncasecmp_l_nonascii.
18709
0fcad3e2
JM
18710 [BZ #5794]
18711 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18712 * sysdeps/i386/fpu/libm-test-ulps: Update.
18713 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18714
5b8a4d4a
JM
18715 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18717
8fdceb2e
JL
187182012-02-29 Jeff Law <law@redhat.com>
18719
18720 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18721 out of bounds read.
18722
1f393a11
MP
187232012-02-29 Marek Polacek <polacek@redhat.com>
18724
18725 [BZ #13706]
18726 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18727 * elf/Makefile: Add rules to run tst-unused-dep.out.
18728
8847f037
DM
187292012-02-28 David S. Miller <davem@davemloft.net>
18730
18731 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18732 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18733 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18734 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18735 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18736 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18737
169d7f11
JM
187382012-02-29 Joseph Myers <joseph@codesourcery.com>
18739
18740 * math/libm-test.inc (llround_test): Move one test from
18741 lround_test. Use TEST_f_L in moved test.
18742 (lround_test): Move misplaced test to llround_test. Add testcase
18743 from bug 2561.
18744
39adf059
UD
187452012-02-28 Ulrich Drepper <drepper@gmail.com>
18746
18747 * sysdeps/x86_64/fpu/e_expf.S: New file.
18748 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18749
71b5d1c5
SB
187502012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18751
18752 [BZ #13637]
18753 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18754 of remain_len that may cause incomplete multi-byte character and
18755 false match.
18756 * posix/bug-regex33.c: New file.
18757 * posix/Makefile (tests): Add bug-regex33.
18758
1f77f049
JM
187592012-02-28 Joseph Myers <joseph@codesourcery.com>
18760
18761 * manual/macros.texi: New file.
18762 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18763 * manual/libc.texinfo: Include macros.texi.
18764 * manual/creatute.texi: Likewise.
18765 * manual/install.texi: Likewise.
18766 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18767 @glibcadj{} in references to the GNU C Library.
18768 * manual/charset.texi: Likewise.
18769 * manual/conf.texi: Likewise.
18770 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18771 when not using those macros.
18772 * manual/creature.texi: Likewise.
18773 * manual/crypt.texi: Likewise.
18774 * manual/errno.texi: Likewise.
18775 * manual/filesys.texi: Likewise.
18776 * manual/header.texi: Likewise.
18777 * manual/install.texi: Likewise.
18778 * manual/intro.texi: Likewise.
18779 * manual/io.texi: Likewise.
18780 * manual/job.texi: Likewise.
18781 * manual/lang.texi: Likewise.
18782 * manual/libc.texiinfo: Likewise.
18783 * manual/llio.texi: Likewise.
18784 * manual/locale.texi: Likewise.
18785 * manual/maint.texi: Likewise.
18786 * manual/math.texi: Likewise.
18787 * manual/memory.texi: Likewise.
18788 * manual/message.texi: Likewise.
18789 * manual/nss.texi: Likewise.
18790 * manual/pattern.texi: Likewise.
18791 * manual/process.texi: Likewise.
18792 * manual/resource.texi: Likewise.
18793 * manual/search.texi: Likewise.
18794 * manual/setjmp.texi: Likewise.
18795 * manual/signal.texi: Likewise.
18796 * manual/socket.texi: Likewise.
18797 * manual/startup.texi: Likewise.
18798 * manual/stdio.texi: Likewise.
18799 * manual/string.texi: Likewise.
18800 * manual/sysinfo.texi: Likewise.
18801 * manual/syslog.texi: Likewise.
18802 * manual/terminal.texi: Likewise.
18803 * manual/time.texi: Likewise.
18804 * manual/users.texi: Likewise.
18805 * INSTALL: Regenerated.
18806 * NOTES: Regenerated.
d40c5d54 18807 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 18808
450bf206
AS
188092012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18810
18811 * include/dirent.h: Include <dirstream.h> before
18812 <dirent/dirent.h>.
18813
741a235b
DM
188142012-02-28 David S. Miller <davem@davemloft.net>
18815
18816 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18817 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18818 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18819 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18820
d6b5aa58
DM
188212012-02-27 David S. Miller <davem@davemloft.net>
18822
1aff59a3
DM
18823 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18825 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18826 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18827
d6b5aa58
DM
18828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18829 frame pointer instead of stack pointer relative arg slot.
18830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18831 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18832 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18833
433f48bf
CD
188342012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18835
18836 [BZ #3992]
18837 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18838
d674b76d
DM
188392012-02-27 David S. Miller <davem@davemloft.net>
18840
18841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18845 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18846 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18847 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18848 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18849
0e7727f7
JM
188502012-02-27 Joseph Myers <joseph@codesourcery.com>
18851
18852 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18853 later. Allow versions 5-9.
43be4ca2 18854 * configure: Regenerated.
0e7727f7
JM
18855 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18856 required minimum version and 4.6 as recommended version. Do not
18857 mention bugs in GCC 2.7 and 2.8.
43be4ca2 18858 * INSTALL: Regenerated.
0e7727f7 18859
a78bc654
DM
188602012-02-27 David S. Miller <davem@davemloft.net>
18861
428d5830
DM
18862 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18866 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18867 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18868 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18869 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18870
a78bc654
DM
18871 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18872 manipulate bits before adding and subtracting TWO112[sx].
18873 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18874
4579f81c
RM
188752012-02-27 Roland McGrath <roland@hack.frob.com>
18876
36c8acb4
RM
18877 [BZ #13775]
18878 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18879 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18880 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18881 being in POSIX, because they are in 1003.1-2008.
18882
84ad622b
RM
18883 * rt/tst-aio.c: Include <fcntl.h>.
18884 * rt/tst-aio7.c: Likewise.
18885 * rt/tst-aio64.c: Likewise.
18886
4579f81c
RM
18887 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18888
abd923db
JM
188892012-02-27 Joseph Myers <joseph@codesourcery.com>
18890
18891 * manual/install.texi (--with-headers): Describe headers as
18892 interface headers, not private headers.
18893 (Specific advice for GNU/Linux systems): Describe use of headers
18894 from "make headers_install", not private headers from older
18895 kernels.
43be4ca2 18896 * INSTALL: Regenerated.
abd923db
JM
18897 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18898 Change to 2.6.19.
18899 * sysdeps/unix/sysv/linux/configure: Regenerated.
18900
6664049b
JM
18901 * manual/llio.texi (fclean): Remove documentation.
18902
bb8b6697
JM
18903 * manual/Makefile (libc-texi-generated): New variable. Include
18904 version.texi.
18905 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18906 $(libc-texi-generated), not duplicated list of files.
18907 (version.texi, stamp-version): New rules.
18908 (realclean): Remove $(libc-texi-generated), not individual files
18909 from that list. Do not remove dir-add.texinfo.
18910 * manual/libc.texinfo: Comment out uses of edition numbers and
18911 references to printed manual. Remove last-updated dates.
18912 (EDITION): Comment out.
18913 (ISBN): Likewise.
18914 (VERSION, UPDATED): Remove.
18915 (version.texi): Include.
18916
12e5c3b9
AS
189172012-02-27 Andreas Schwab <schwab@linux-m68k.org>
18918
18919 * sysdeps/posix/spawni.c: Include <signal.h>.
18920 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18921 * sysdeps/pthread/aio_fsync.c: Likewise.
18922
4efeffc1 189232012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 18924
ba63ba08
UD
18925 * conform/Makefile (tests): Run only when not cross-compiling and
18926 when fast-check is not defined.
18927
d94a4670
UD
18928 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18929 * conform/data/limits.h-data: Fixes for POSIX2008.
18930 * conform/run-conformtest.sh: Run all tests.
18931 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18932 headers.
18933 * include/bits/dlfcn.h: Likewise.
18934 * include/langinfo.h: Likewise.
18935 * include/monetary.h: Likewise.
18936 * include/sys/poll.h: Likewise.
18937
18938 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18939 for __USE_GNU.
18940 * posix/spawn.h: Define __need_sigset_t.
18941 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18942 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18943 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
18944 to get sigevent_t only.
18945 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18946 only for __USE_GNU.
18947 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18948 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18949 process_vm_writev only for __USE_GNU.
18950 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
18951
18952 * conform/Makefile: For now ignore errors from run-conformtest.
18953 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
18954 POSIX to avoid namespace pollution. Don't prepend headers.
18955 * conform/data/aio.h-data: Fixes for POSIX testing.
18956 * conform/data/fcntl.h-data: Likewise.
18957 * conform/data/glob.h-data: Likewise.
18958 * conform/data/grp.h-data: Likewise.
18959 * conform/data/pthread.h-data: Likewise.
18960 * conform/data/pwd.h-data: Likewise.
18961 * conform/data/signal.h-data: Likewise.
18962 * conform/data/spawn.h-data: Likewise.
18963 * conform/data/stdio.h-data: Likewise.
18964 * conform/data/stdlib.h-data: Likewise.
18965 * conform/data/stropts.h-data: Likewise.
18966 * conform/data/sys/mman.h-data: Likewise.
18967 * conform/data/sys/stat.h-data: Likewise.
18968 * conform/data/sys/types.h-data: Likewise.
18969 * conform/data/sys/wait.h-data: Likewise.
18970 * conform/data/time.h-data: Likewise.
18971 * conform/data/unistd.h-data: Likewise.
18972 * conform/data/utime.h-data: Likewise.
18973
18974 * io/sys/stat.h: fchmod was always in POSIX.
18975 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18976 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18977 * rt/aio.h: Define __need_timespec before including <time.h>.
18978 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18979 struct. Add forward declaration of pthread_attr_t and use it in
18980 sigevent.
18981 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18982 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18983 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18984 always remove CLK_TCK definition.
18985
c20105c3
AS
189862012-02-26 Andreas Schwab <schwab@linux-m68k.org>
18987
18988 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18989
7a270350
UD
189902012-02-25 Ulrich Drepper <drepper@gmail.com>
18991
31341567
UD
18992 * conform/run-conformtest.sh: New file.
18993 * conform/Makefile: Run run-conformtest for tests.
18994 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
18995 support.
18996
18997 * conform/data/uchar.h-data: New file.
18998 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18999 * conform/data/arpa/inet.h-data: Likewise.
19000 * conform/data/assert.h-data: Likewise.
19001 * conform/data/complex.h-data: Likewise.
19002 * conform/data/cpio.h-data: Likewise.
19003 * conform/data/ctype.h-data: Likewise.
19004 * conform/data/dirent.h-data: Likewise.
19005 * conform/data/dlfcn.h-data: Likewise.
19006 * conform/data/errno.h-data: Likewise.
19007 * conform/data/fcntl.h-data: Likewise.
19008 * conform/data/float.h-data: Likewise.
19009 * conform/data/fmtmsg.h-data: Likewise.
19010 * conform/data/fnmatch.h-data: Likewise.
19011 * conform/data/ftw.h-data: Likewise.
19012 * conform/data/glob.h-data: Likewise.
19013 * conform/data/grp.h-data: Likewise.
19014 * conform/data/iconv.h-data: Likewise.
19015 * conform/data/inttypes.h-data: Likewise.
19016 * conform/data/langinfo.h-data: Likewise.
19017 * conform/data/libgen.h-data: Likewise.
19018 * conform/data/limits.h-data: Likewise.
19019 * conform/data/locale.h-data: Likewise.
19020 * conform/data/math.h-data: Likewise.
19021 * conform/data/monetary.h-data: Likewise.
19022 * conform/data/mqueue.h-data: Likewise.
19023 * conform/data/ndbm.h-data: Likewise.
19024 * conform/data/net/if.h-data: Likewise.
19025 * conform/data/netdb.h-data: Likewise.
19026 * conform/data/netinet/in.h-data: Likewise.
19027 * conform/data/nl_types.h-data: Likewise.
19028 * conform/data/poll.h-data: Likewise.
19029 * conform/data/pthread.h-data: Likewise.
19030 * conform/data/pwd.h-data: Likewise.
19031 * conform/data/regex.h-data: Likewise.
19032 * conform/data/sched.h-data: Likewise.
19033 * conform/data/search.h-data: Likewise.
19034 * conform/data/semaphore.h-data: Likewise.
19035 * conform/data/setjmp.h-data: Likewise.
19036 * conform/data/signal.h-data: Likewise.
19037 * conform/data/spawn.h-data: Likewise.
19038 * conform/data/stdarg.h-data: Likewise.
19039 * conform/data/stdio.h-data: Likewise.
19040 * conform/data/stdlib.h-data: Likewise.
19041 * conform/data/string.h-data: Likewise.
19042 * conform/data/strings.h-data: Likewise.
19043 * conform/data/stropts.h-data: Likewise.
19044 * conform/data/sys/ipc.h-data: Likewise.
19045 * conform/data/sys/mman.h-data: Likewise.
19046 * conform/data/sys/msg.h-data: Likewise.
19047 * conform/data/sys/resource.h-data: Likewise.
19048 * conform/data/sys/select.h-data: Likewise.
19049 * conform/data/sys/sem.h-data: Likewise.
19050 * conform/data/sys/shm.h-data: Likewise.
19051 * conform/data/sys/socket.h-data: Likewise.
19052 * conform/data/sys/stat.h-data: Likewise.
19053 * conform/data/sys/statvfs.h-data: Likewise.
19054 * conform/data/sys/time.h-data: Likewise.
19055 * conform/data/sys/timeb.h-data: Likewise.
19056 * conform/data/sys/times.h-data: Likewise.
19057 * conform/data/sys/types.h-data: Likewise.
19058 * conform/data/sys/uio.h-data: Likewise.
19059 * conform/data/sys/un.h-data: Likewise.
19060 * conform/data/sys/utsname.h-data: Likewise.
19061 * conform/data/sys/wait.h-data: Likewise.
19062 * conform/data/syslog.h-data: Likewise.
19063 * conform/data/tar.h-data: Likewise.
19064 * conform/data/termios.h-data: Likewise.
19065 * conform/data/utime.h-data: Likewise.
19066 * conform/data/utmpx.h-data: Likewise.
19067 * conform/data/varargs.h-data: Likewise.
19068 * conform/data/wchar.h-data: Likewise.
19069 * conform/data/wctype.h-data: Likewise.
19070 * conform/data/wordexp.h-data: Likewise.
19071
19072 * include/stropts.h: New file.
19073 * include/uchar.h: New file.
19074 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19075 * include/assert.h: Likewise.
19076 * include/ctype.h: Likewise.
19077 * include/dirent.h: Likewise.
19078 * include/dlfcn.h: Likewise.
19079 * include/fcntl.h: Likewise.
19080 * include/fnmatch.h: Likewise.
19081 * include/glob.h: Likewise.
19082 * include/grp.h: Likewise.
19083 * include/libio.h: Likewise.
19084 * include/locale.h: Likewise.
19085 * include/math.h: Likewise.
19086 * include/net/if.h: Likewise.
19087 * include/netdb.h: Likewise.
19088 * include/netinet/in.h: Likewise.
19089 * include/pthread.h: Likewise.
19090 * include/pwd.h: Likewise.
19091 * include/regex.h: Likewise.
19092 * include/sched.h: Likewise.
19093 * include/search.h: Likewise.
19094 * include/setjmp.h: Likewise.
19095 * include/signal.h: Likewise.
19096 * include/stdio.h: Likewise.
19097 * include/stdlib.h: Likewise.
19098 * include/string.h: Likewise.
19099 * include/sys/cdefs.h: Likewise.
19100 * include/sys/mman.h: Likewise.
19101 * include/sys/msg.h: Likewise.
19102 * include/sys/resource.h: Likewise.
19103 * include/sys/select.h: Likewise.
19104 * include/sys/socket.h: Likewise.
19105 * include/sys/stat.h: Likewise.
19106 * include/sys/statvfs.h: Likewise.
19107 * include/sys/time.h: Likewise.
19108 * include/sys/times.h: Likewise.
19109 * include/sys/uio.h: Likewise.
19110 * include/sys/utsname.h: Likewise.
19111 * include/sys/wait.h: Likewise.
19112 * include/termios.h: Likewise.
19113 * include/time.h: Likewise.
19114 * include/ulimit.h: Likewise.
19115 * include/unistd.h: Likewise.
19116 * include/utime.h: Likewise.
19117 * include/wchar.h: Likewise.
19118 * include/wctype.h: Likewise.
19119 * include/wordexp.h: Likewise.
19120
19121 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19122
7a270350
UD
19123 * time/time.h: TIME_UTC must be a macro.
19124 Make timespec_get available for ISO C11 only as well.
19125
7724defc
UD
191262012-02-24 Ulrich Drepper <drepper@gmail.com>
19127
19128 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19129 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19130
6b1d1d46
JM
191312012-02-24 Joseph Myers <joseph@codesourcery.com>
19132
19133 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 19134
0f8bbd69
JM
191352012-02-24 Joseph Myers <joseph@codesourcery.com>
19136
19137 * manual/texinfo.tex: Update to version 2012-01-19.16.
19138
66ab80bc
JM
191392012-02-24 Joseph Myers <joseph@codesourcery.com>
19140
19141 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19142
74981cc5
RM
191432012-02-24 Roland McGrath <roland@hack.frob.com>
19144
ee968201
RM
19145 [BZ #13738]
19146 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19147 * manual/fdl-1.3.texi: New file.
19148 * manual/fdl-1.1.texi: File removed.
19149
74981cc5
RM
19150 [BZ #13738]
19151 * manual/libc.texinfo (FDL_VERSION): New @set.
19152 Use it for mention of FDL in cover text.
19153 (Documentation License): Use it in @include file name.
19154
7bb764bc
JM
191552012-02-22 Joseph Myers <joseph@codesourcery.com>
19156 Roland McGrath <roland@hack.frob.com>
19157
19158 [BZ #5461]
19159 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19160 not LONG_LONG_MAX and LONG_LONG_MIN.
19161 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19162 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19163 name.
19164 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19165
6cbeae47
JM
191662012-02-22 Joseph Myers <joseph@codesourcery.com>
19167
19168 [BZ #2547]
19169 [BZ #11365]
19170 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19171 manipulate bits before adding and subtracting TWO23[sx].
19172 * math/libm-test.inc (nearbyint_test): Add more tests.
19173
fe45ce09
JM
191742012-02-22 Joseph Myers <joseph@codesourcery.com>
19175
19176 [BZ #2548]
19177 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19178 bits before adding and subtracting TWO23[sx].
19179 * math/libm-test.inc (rint_test): Add more tests.
19180 (rint_test_tonearest): Likewise.
19181 (rint_test_towardzero): Likewise.
19182 (rint_test_downward): Likewise.
19183 (rint_test_upward: Likewise.
19184
ff3b3d82
JM
191852012-02-22 Joseph Myers <joseph@codesourcery.com>
19186
19187 [BZ #10110]
19188 * include/stdc-predef.h: New file. Extracted from features.h.
19189 * include/features.h: Include stdc-predef.h.
19190 * Makefile (headers): Add stdc-predef.h.
19191 * CONFORMANCE (Compiler limitations): Update.
19192
ef0aab35
JM
191932012-02-22 Joseph Myers <joseph@codesourcery.com>
19194
19195 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19196
58639409
DM
191972012-02-21 David S. Miller <davem@davemloft.net>
19198
19199 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19200 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19201
c0e70b25
DM
192022012-02-20 David S. Miller <davem@davemloft.net>
19203
19204 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19205 using a normal save/restore sequence, rather than allocating a
19206 dummy stack frame just to store a frame pointer and restore.
19207 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19208
fb06851d
JM
192092012-02-21 Joseph Myers <joseph@codesourcery.com>
19210
19211 * manual/install.texi: Fix stray word in line-wrapped comment.
19212
7a8b71c3
DM
192132012-02-20 David S. Miller <davem@davemloft.net>
19214
d510c123
DM
19215 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19216 both binutils and gcc support GOTDATA.
19217
0722d7c2
DM
19218 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19219 "rd %pc" in the PIC register setup sequences.
19220
3d2b3019
DM
19221 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19222 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19223 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19224 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19225 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19226 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19227 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19228 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19229 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19230 (SYSCALL_ERROR_HANDLER): Likewise.
19231 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19232 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19233 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19234 (SYSCALL_ERROR_HANDLER): Likewise.
19235
c80098a9
DM
19236 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19237 (HAVE_GCC_GOTDATA): New.
19238 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19239 relocation support in both binutils and gcc.
19240 * sysdeps/sparc/elf/configure: Regenerate.
19241
3a2545a0
DM
19242 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19243 * sysdeps/sparc/sparc32/elf/configure: Delete.
19244 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19245 * sysdeps/sparc/sparc64/elf/configure: Delete.
19246 * sysdeps/sparc/elf/configure.in: New file.
19247 * sysdeps/sparc/elf/configure: Generate.
19248
7a8b71c3
DM
19249 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19250 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19251 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19252 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19253 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19254
f1e86fca
JM
192552012-02-21 Joseph Myers <joseph@codesourcery.com>
19256
19257 * manual/install.texi: Do not mention specific glibc version
19258 numbers.
19259 * manual/libc.texinfo (VERSION, UPDATED): Update.
19260 (@copying): Use @copyright{} and range of years.
19261
0e7dfaef
JM
192622012-02-21 Joseph Myers <joseph@codesourcery.com>
19263
19264 [BZ #13695]
19265 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19266 [crti.S not in sysdirs] (generated): Do not append.
19267 [crti.S not in sysdirs] (omit-deps): Likewise.
19268 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19269 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19270 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19271 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19272 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19273 Likewise.
19274 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19275 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19276 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19277 * csu/defs.awk: Remove file.
19278 * sysdeps/generic/initfini.c: Likewise.
19279 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19280 variable.
19281 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19282 Likewise.
19283
599af3ca
JM
192842012-02-20 Joseph Myers <joseph@codesourcery.com>
19285
19286 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19287 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19288 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19289 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19290 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19291 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19292 <bits/epoll.h>.
19293 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19294 (__EPOLL_PACKED): Define to empty if not defined by
19295 <bits/epoll.h>.
19296 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19298 bits/epoll.h.
19299
0e499750
JM
193002012-02-20 Joseph Myers <joseph@codesourcery.com>
19301
19302 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19303 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19304 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19305 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19306 <bits/timerfd.h>.
19307 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19309 bits/timerfd.h.
19310
5ad91f6e
JM
193112012-02-20 Joseph Myers <joseph@codesourcery.com>
19312
19313 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19314 in C locale.
19315 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19316 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19317 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19319
06b99b02
AJ
193202012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19321
19322 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19323 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19324
7638c0fd
AS
193252012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19326
19327 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19328 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19329 defined.
19330 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19331 Likewise.
19332 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19333 entry for 2.16.
19334
92221550
AJ
193352012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19336
19337 * math/w_acos.c: Use non-signaling floating-point comparisons.
19338 * math/w_acosf.c: Likewise.
19339 * math/w_acosh.c: Likewise.
19340 * math/w_acoshf.c: Likewise.
19341 * math/w_acoshl.c: Likewise.
19342 * math/w_acosl.c: Likewise.
19343 * math/w_asin.c: Likewise.
19344 * math/w_asinf.c: Likewise.
19345 * math/w_asinl.c: Likewise.
19346 * math/w_atanh.c: Likewise.
19347 * math/w_atanhf.c: Likewise.
19348 * math/w_atanhl.c: Likewise.
19349 * math/w_exp2.c: Likewise.
19350 * math/w_exp2f.c: Likewise.
19351 * math/w_exp2l.c: Likewise.
19352 * math/w_j0.c: Likewise.
19353 * math/w_j0f.c: Likewise.
19354 * math/w_j0l.c: Likewise.
19355 * math/w_j1.c: Likewise.
19356 * math/w_j1f.c: Likewise.
19357 * math/w_j1l.c: Likewise.
19358 * math/w_jn.c: Likewise.
19359 * math/w_jnf.c: Likewise.
19360 * math/w_log.c: Likewise.
19361 * math/w_log10.c: Likewise.
19362 * math/w_log10f.c: Likewise.
19363 * math/w_log10l.c: Likewise.
19364 * math/w_log2.c: Likewise.
19365 * math/w_log2f.c: Likewise.
19366 * math/w_log2l.c: Likewise.
19367 * math/w_logf.c: Likewise.
19368 * math/w_logl.c: Likewise.
19369 * math/w_sqrt.c: Likewise.
19370 * math/w_sqrtf.c: Likewise.
19371 * math/w_sqrtl.c: Likewise.
19372 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19373 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19374 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19375 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19376 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19377
ebaf36eb
JM
193782012-02-19 Joseph Myers <joseph@codesourcery.com>
19379
19380 [BZ #9739]
19381 * manual/string.texi (strnlen): Use correct parameter name in
19382 equivalent expression.
19383
71c254a6
JM
193842012-02-19 Joseph Myers <joseph@codesourcery.com>
19385
19386 [BZ #11174]
19387 * manual/users.texi (seteuid): Consistently use neweuid for
19388 argument name.
19389
16d2c631
JM
193902012-02-19 Joseph Myers <joseph@codesourcery.com>
19391
19392 [BZ #13704]
19393 * manual/nss.texi (Services in the NSS configuration): Correct
19394 list of services in example configuration file.
19395
cd837b09
NB
193962012-02-19 Nick Bowler <nbowler@draconx.ca>
19397
19398 [BZ #11322]
19399 * manual/arith.texi: Remove statements about negative zero
19400 behaving identically to zero.
19401
02c4bbad
JM
194022012-02-18 Joseph Myers <joseph@codesourcery.com>
19403
19404 [BZ #5993]
19405 * manual/install.texi: Do not document upgrading from libc5.
19406
366842e7
JM
194072012-02-18 Joseph Myers <joseph@codesourcery.com>
19408
19409 [BZ #4596]
19410 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19411
dd54084d
DM
194122012-02-18 David S. Miller <davem@davemloft.net>
19413
19414 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19415 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19416 %o7 across the call.
19417 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19418 instead.
19419 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19420 SETUP_PIC_REG_LEAF.
19421 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19422 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19423 * sysdeps/sparc/crtn.S: Likewise.
19424
2bcc53a3
UD
194252012-02-17 Ulrich Drepper <drepper@gmail.com>
19426
19427 * aout/Makefile: Remove.
19428
09c093b5
RK
194292012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19430
19431 [BZ #13058]
19432 * manual/examples/argp-ex1.c (main): Format definition in GNU
19433 style.
19434 * manual/examples/argp-ex2.c (main): Likewise.
19435 * manual/examples/argp-ex3.c (main): Likewise.
19436 * manual/examples/argp-ex4.c (main): Likewise.
19437 * manual/examples/longopt.c (main): Use new-style prototype
19438 definition.
19439 * manual/examples/strncat.c (main): Specify return type and use
19440 (void) for arguments.
19441 * manual/examples/subopt.c (main): Use char **argv argument.
19442
2ee633a2
JM
194432012-02-17 Joseph Myers <joseph@codesourcery.com>
19444
19445 [BZ #5077]
19446 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19447 rounding modes.
19448
0520adde
FB
194492012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19450
19451 [BZ #6907]
19452 * manual/string.texi (strchr): Change when strchrnul is
19453 recommended.
19454
3f4081cd
DGM
194552012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19456
19457 [BZ #174]
19458 * manual/locale.texi (setlocale): Document LOCPATH.
19459
d1b10e78
JM
194602012-02-17 Joseph Myers <joseph@codesourcery.com>
19461
19462 [BZ #10210]
19463 * manual/process.texi (execle): Move @dots{} before last argument.
19464
79c6869c
PB
194652012-02-17 Paul Bolle <pebolle@tiscali.nl>
19466
19467 [BZ #12047]
19468 * manual/charset.texi (Generic Charset Conversion): Fix typo
19469 (LC_TYPE -> LC_CTYPE).
19470
cc6e48bc
NB
194712012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19472
19473 [BZ #5805]
19474 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19475 (scalbnf): Likewise.
19476 (scalbnl): Likewise.
19477 (scalbln): Likewise.
19478 (scalblnf): Likewise.
19479 (scalblnl): Likewise.
19480 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19481 (vwarnx): Likewise.
19482 (verr): Likewise.
19483 (verrx): Likewise.
19484 * manual/filesys.texi (telldir): Use braces around return type.
19485 * manual/llio.texi (mmap): Add space after comma.
19486 (mmap64): Likewise.
19487 * manual/math.texi (jn): Use @var{} on parameter names.
19488 (jnf): Likewise.
19489 (jnl): Likewise.
19490 (yn): Likewise.
19491 (ynf): Likewise.
19492 (ynl): Likewise.
19493 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19494 line.
19495 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19496 "...".
19497 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19498 (sched_get_priority_max): Likewise.
19499 * manual/signal.texi (sigvec): Add space after comma.
19500 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19501 names.
19502 (if_indextoname): Likewise.
19503 (if_freenameindex): Likewise.
19504 (sendto): Use ',' instead of '.' in prototype.
19505 * manual/startup.texi (syscall): Use @dots{} instead of literal
19506 "...".
19507 * manual/stdio.texi (__fpending): Separate initial words of
19508 paragraph from @deftypefun line.
19509 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19510 "...".
19511 (vsyslog): Use @var{} on parameter names.
19512 * manual/terminal.texi (stty): Use @var{} on parameter names.
19513 * manual/users.texi (getutmp): Use @var{} on parameter names.
19514 (getutmpx): Likewise.
19515
5b23062f
JM
195162012-02-17 Joseph Myers <joseph@codesourcery.com>
19517
19518 [BZ #6884]
19519 * manual/stdio.texi (fopen): Fix typos in description of
19520 ",ccs=STRING".
19521
8dee4833
AJ
195222012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19523
19524 [BZ #4026]
19525 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19526 get clock_id definition.
19527
9078ce93
TS
195282012-02-17 Thomas Schwinge <thomas@schwinge.name>
19529
19530 [BZ #4822]
19531 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19532 (madvise): Cast every argument to void on its own.
19533
3835c55f
JM
195342012-02-17 Joseph Myers <joseph@codesourcery.com>
19535
19536 [BZ #9902]
19537 * manual/startup.texi (Exit Status): Fix typo.
19538
35c47e37
JM
195392012-02-17 Joseph Myers <joseph@codesourcery.com>
19540
19541 [BZ #10140]
19542 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19543 * manual/examples/argp-ex2.c: Likewise.
19544 * manual/examples/argp-ex3.c: Likewise.
19545
e3b69ca7
RH
195462012-02-16 Richard Henderson <rth@redhat.com>
19547
19548 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19549 * sysdeps/s390/s390-32/initfini.c: Remove.
19550 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19551 * sysdeps/s390/s390-64/initfini.c: Remove.
19552
df83af67
KK
195532012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19554
19555 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19556 compiler output for sysdeps/generic/initfini.c.
19557 * sysdeps/sh/elf/initfini.c: Remove file.
19558
f63f3380
DM
195592012-02-16 David S. Miller <davem@davemloft.net>
19560
fb59b3a4
DM
19561 [BZ #11494]
19562 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19563
f63f3380
DM
19564 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19565 * sysdeps/sparc/crti.S: New file.
19566 * sysdeps/sparc/crtn.S: New file.
19567 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19568 * sysdeps/sparc/sparc64/Makefile: Likewise.
19569
df6a4a4a
MF
195702012-02-15 Mike Frysinger <vapier@gentoo.org>
19571
6dd8f3dc 19572 [BZ #3335]
df6a4a4a
MF
19573 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19574
1cac7236
RM
195752012-02-15 Roland McGrath <roland@hack.frob.com>
19576
d2c736f8
RM
19577 [BZ #4822]
19578 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19579
1cac7236
RM
19580 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19581 (write, read, close): Likewise.
19582 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19583
8e475601
JM
195842012-02-15 Joseph Myers <joseph@codesourcery.com>
19585
19586 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19587 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19588 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19589 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19590 <bits/signalfd.h>.
19591 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19592 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19593 bits/signalfd.h.
19594
ed656b40
MP
195952012-02-14 Marek Polacek <polacek@redhat.com>
19596
19597 * sysdeps/x86_64/crti.S: New file.
19598 * sysdeps/x86_64/crtn.S: New file.
19599 * sysdeps/x86_64/elf/initfini.c: Remove file.
19600
2a979d3a
JM
196012012-02-13 Joseph Myers <joseph@codesourcery.com>
19602
19603 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19604 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19605 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19606 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19607 <bits/inotify.h>.
19608 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19609 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19610 bits/inotify.h.
19611
2a418ac3
JM
196122012-02-13 Joseph Myers <joseph@codesourcery.com>
19613
19614 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19615 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19616 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19617 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19618 <bits/eventfd.h>.
19619 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19620 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19621 bits/eventfd.h.
19622
fb779be7
TS
196232012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19624
e19e83c5
RM
19625 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19626 __feraiseexcept instead of feraiseexcept.
7c35ffed 19627
fb779be7
TS
19628 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19629 nanosleep invocations.
19630 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19631 strings, and add error checking for a nanosleep invocations.
19632
59ba27a6
PE
196332012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19634
19635 Replace FSF snail mail address with URLs, as per GNU coding standards.
19636 Most of the snail mail addresses were wrong anyway, and omitting
19637 them makes the source code easier to maintain. Almost all of the
19638 changes are to license notices and to locale LC_IDENTIFICATION
19639 addresses, except for this one:
19640 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19641 not its snail mail address.
19642
57b957eb
RH
196432012-02-09 Richard Henderson <rth@twiddle.net>
19644
af850b1c
RH
19645 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19646 of kernel-features.h.
19647
57b957eb
RH
19648 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19649
6b73181a
MP
196502012-02-08 Marek Polacek <polacek@redhat.com>
19651
19652 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19653 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19654 * sysdeps/gnu/_G_config.h: Likewise.
19655 * sysdeps/generic/_G_config.h: Likewise.
19656
26ecc33a
AS
196572012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19658
6c6dbc63
AS
19659 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19660 tests.
19661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19662
e216c012
AS
19663 * sysdeps/powerpc/powerpc32/crti.S: New file.
19664 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19665 * sysdeps/powerpc/powerpc64/crti.S: New file.
19666 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19667
26ecc33a
AS
19668 * Makeconfig (have-initfini): Don't set.
19669 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19670 * configure.in (nopic_initfini): Don't substitute.
19671 * config.h.in (HAVE_INITFINI): Don't #undef.
19672 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19673 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19674
3add8e13
JM
196752012-02-08 Joseph Myers <joseph@codesourcery.com>
19676
19677 Support crti.S and crtn.S provided directly by architectures.
19678 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19679 [crti.S in sysdirs] (omit-deps): Likewise.
19680 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19681 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19682 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19683 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19684 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19685 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19686 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19687 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19688 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19689 compiler output for sysdeps/generic/initfini.c.
19690 * sysdeps/i386/elf/Makefile: Remove file.
19691 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19692
a22f12b4
MP
196932012-02-07 Marek Polacek <polacek@redhat.com>
19694
19695 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19696 * sysdeps/gnu/_G_config.h: Likewise.
19697 * sysdeps/mach/hurd/_G_config.h: Likewise.
19698
148cf100
MP
196992012-02-07 Marek Polacek <polacek@redhat.com>
19700
19701 * math/Makefile (tests): Add tst-CMPLX2.
19702 * math/tst-CMPLX2.c: New file.
19703
cfdc0dd7
AS
197042012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19705
84ba42c4
AS
19706 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19707
cfdc0dd7
AS
19708 * math/libm-test.inc (jn_test): Add missing L suffix.
19709
622c86f4
MP
197102012-02-06 Marek Polacek <polacek@redhat.com>
19711
19712 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19713 * sysdeps/i386/fpu/e_powf.S: Likewise.
19714 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19715 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19716 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19717 * sysdeps/i386/fpu/e_pow.S: Likewise.
19718 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19719 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19720 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19721 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19722 * sysdeps/i386/fpu/e_log2.S: Likewise.
19723 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19724 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19725 * sysdeps/i386/fpu/e_powl.S: Likewise.
19726 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19727 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19728 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19729 * sysdeps/i386/fpu/e_logl.S: Likewise.
19730 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19731 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19732 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19733 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19734 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19735 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19736 * sysdeps/i386/fpu/e_log.S: Likewise.
19737 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19738 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19739 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19740 * sysdeps/i386/fpu/e_logf.S: Likewise.
19741 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19742 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19743 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19744 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19745 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19746 * sysdeps/i386/fpu/e_log10.S: Likewise.
19747 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19748 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19749 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19750 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19751 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19752 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19753 * sysdeps/i386/asm-syntax.h: Likewise.
19754 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19755 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19756 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19757 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19758 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19759 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19760 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19761 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19762 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19763 * sysdeps/powerpc/sysdep.h: Likewise.
19764 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19765 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19766
d4a54ac6
JM
197672012-02-06 Joseph Myers <joseph@codesourcery.com>
19768
19769 [BZ #411]
19770 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19771
314054ea
JM
197722012-02-06 Joseph Myers <joseph@codesourcery.com>
19773
19774 * sysdeps/i386/sysdep.h: Include <features.h>.
19775 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19776 version.
19777
d8e0ca50
JM
197782012-02-05 Joseph Myers <joseph@codesourcery.com>
19779
19780 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19781 Define.
19782 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19783 LOAD_PIC_REG_STR.
19784
b1da7dd9
JM
197852012-02-03 Joseph Myers <joseph@codesourcery.com>
19786
19787 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19788 (SETUP_PIC_REG): Use GET_PC_THUNK.
19789 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19790 macro.
19791
9a1d9254
JM
197922012-02-03 Joseph Myers <joseph@codesourcery.com>
19793
19794 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19795 for non-PIC compilation.
19796 (SETUP_PIC_REG): Add .p2align directive.
19797 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19798 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19799 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19800 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19801 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19802 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19803 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19804 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19805 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19806 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19807 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19808 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19809 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19810 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19811 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19812 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19813 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19814 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19815 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19816 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19817 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19818 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19819 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19820 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19821 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19822 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19823 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19824 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19825 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19826 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19827 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19828 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19829 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19830 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19831 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19832 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19833 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19834 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19835 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19836 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19837 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19838
65dc3b75
JM
198392012-02-03 Joseph Myers <joseph@codesourcery.com>
19840
19841 * math/tst-CMPLX.c: Include <stdio.h>.
19842
d55bf177
JM
198432012-01-31 Joseph Myers <joseph@codesourcery.com>
19844
19845 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19846 float.
19847 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19848 * sysdeps/sparc/bits/mathdef.h: Likewise.
19849
69db4f8f
MP
198502012-01-31 Marek Polacek <polacek@redhat.com>
19851
19852 * libio/libio.h: Don't define _PARAMS.
19853 * locale/programs/config.h: Don't define PARAMS.
19854 * stdlib/strtol_l.c: Likewise.
19855 (__strtol_l): Remove PARAMS from the prototype.
19856
41b81892
UD
198572012-01-31 Ulrich Drepper <drepper@gmail.com>
19858
3b49edc0
UD
19859 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19860 names. Just use the correct names. Remove unnecessary wrapper
19861 functions.
19862 * malloc/arena.c: Likewise.
19863 * malloc/hooks.c: Likewise.
19864
41b81892
UD
19865 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19866 ARENA_TEST says not to. Simplify test for creation of a new arena.
19867 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19868
27a25b6e
UD
198692012-01-30 Ulrich Drepper <drepper@gmail.com>
19870
19871 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19872 into tail calls.
19873 (update_get_addr): New function.
19874 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19875 GET_ADDR_MODULE parameter.
19876
c8a89e7d
JM
198772012-01-30 Joseph Myers <joseph@codesourcery.com>
19878
19879 * crypt/cert.c: Remove __STDC__ conditionals.
19880 * crypt/crypt-entry.c: Likewise.
19881 * crypt/crypt_util.c: Likewise.
19882 * libio/filedoalloc.c: Likewise.
19883 * libio/fileops.c: Likewise.
19884 * libio/genops.c: Likewise.
19885 * libio/iofclose.c: Likewise.
19886 * libio/iofdopen.c: Likewise.
19887 * libio/iofopen.c: Likewise.
19888 * libio/iofopen64.c: Likewise.
19889 * libio/iogetdelim.c: Likewise.
19890 * libio/iopopen.c: Likewise.
19891 * libio/obprintf.c: Likewise.
19892 * libio/oldfileops.c: Likewise.
19893 * libio/oldiofclose.c: Likewise.
19894 * libio/oldiofdopen.c: Likewise.
19895 * libio/oldiofopen.c: Likewise.
19896 * libio/oldiopopen.c: Likewise.
19897 * libio/wfiledoalloc.c: Likewise.
19898 * libio/wgenops.c: Likewise.
19899 * locale/programs/xmalloc.c: Likewise.
19900 * misc/syslog.c: Likewise.
19901 * stdio-common/xbug.c: Likewise.
19902 * string/memchr.c: Likewise.
19903 * string/memcmp.c: Likewise.
19904 * string/memrchr.c: Likewise.
19905 * string/rawmemchr.c: Likewise.
19906 * sysdeps/posix/getcwd.c: Likewise.
19907 * time/strftime_l.c: Likewise.
19908
3b100462
JM
199092012-01-30 Joseph Myers <joseph@codesourcery.com>
19910
19911 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
19912 * config.make.in (config-cflags-sse2avx): Define.
19913 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19914 Fix typo.
19915
607998af
CM
199162012-01-29 Chris Metcalf <cmetcalf@tilera.com>
19917
19918 * scripts/config.guess: Update from upstream config git repository.
19919 * scripts/config.sub: Likewise.
19920
3601428f
CM
199212012-01-28 Chris Metcalf <cmetcalf@tilera.com>
19922
3ac8b282
CM
19923 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19924 (EM_NUM): Update.
19925 (R_TILEPRO_*, R_TILEGX_*): New macros.
19926
e034841e
CM
19927 * scripts/firstversions.awk: Fix bug in version range handling.
19928
540d7568
CM
19929 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19930
3601428f
CM
19931 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19932
463de862
CM
19933 * include/sys/epoll.h: New file.
19934 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19935 libc_hidden_def.
19936
73139a76
UD
199372012-01-28 Ulrich Drepper <drepper@gmail.com>
19938
96bc5b45
UD
19939 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19940 Avoid unnecessary __WORDSIZE == 64 test.
19941 (fmaxf): Use VEX format if possible.
19942 (fmax): Likewise.
19943 (fminf): Likewise.
19944 (fmin): Likewise.
19945
56f6f6a2
UD
19946 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19947 * math/math_private.h: Remove libc_fegetround* and
19948 libc_fesetround*.
19949 * sysdeps/i386/configure.in: Check for -msse2avx.
19950 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19951 also if SSE2AVX is defined.
19952 Remove libc_fegetround* and libc_fesetround*.
19953 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19954 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
19955 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19956 of HAS_YMM_USABLE.
19957 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19958 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19959 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19960 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19961 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19962
73139a76
UD
19963 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19964
d73f93a4
AZ
199652012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19966
19967 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19968 size is not set.
19969 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19970
6ee65ed6
UD
199712012-01-27 Ulrich Drepper <drepper@gmail.com>
19972
19973 [BZ #13618]
19974 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19975 relocation.
19976 * Makeconfig (libm): Define.
19977 * elf/Makefile: Add rules to build and run tst-relsort1.
19978 * elf/tst-relsort1.c: New file.
19979 * elf/tst-relsort1mod1.c: New file.
19980 * elf/tst-relsort1mod2.c: New file.
19981
8db21882
JM
199822012-01-27 Joseph Myers <joseph@codesourcery.com>
19983
19984 * math/s_ldexp.c: Remove __STDC__ conditionals.
19985 * math/s_ldexpf.c: Likewise.
19986 * math/s_ldexpl.c: Likewise.
19987 * math/s_nextafter.c: Likewise.
19988 * math/s_nexttowardf.c: Likewise.
19989 * math/s_significand.c: Likewise.
19990 * math/s_significandf.c: Likewise.
19991 * math/s_significandl.c: Likewise.
19992 * math/w_jnl.c: Likewise.
19993 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19994 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19995 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19996 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19997 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19998 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19999 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20000 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20001 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20002 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20003 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20004 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20005 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20006 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20007 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20008 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20009 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20010 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20011 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20012 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20013 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20014 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20015 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20016 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20017 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20018 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20019 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20020 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20021 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20022 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20023 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20024 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20025 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20026 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20027 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20028 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20029 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20030 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20031 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20032 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20033 * sysdeps/ieee754/k_standard.c: Likewise.
20034 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20035 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20036 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20037 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20038 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20039 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20040 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20041 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20042 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20043 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20044 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20045 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20046 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20047 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20048 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20049 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20050 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20051 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20052 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20053 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20054 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20055 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20056 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20057 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20058 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20059 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20060 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20061 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20062 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20063 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20064 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20065 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20066 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20067 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20068 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20069 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20070 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20071 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20072 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20073 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20074 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20075 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20076 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20077 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20078 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20079 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20080 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20081 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20082 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20083 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20084 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20085 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20086 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20087 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20088 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20089 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20090 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20091 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20092 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20093 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20094 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20095 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20096 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20097 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20098 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20099 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20100 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20101 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20102 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20103 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20104 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20105 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20106 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20107 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20108 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20109 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20110 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20111 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20112 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20113 * sysdeps/ieee754/s_matherr.c: Likewise.
20114 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20115 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20116 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20117 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20118
965a54a4
JM
201192012-01-26 Joseph Myers <joseph@codesourcery.com>
20120
20121 * crypt/md5.h: Remove __STDC__ conditionals.
20122 * libio/libioP.h: Likewise.
20123 * locale/programs/config.h: Likewise.
20124 * sysdeps/generic/sysdep.h: Likewise.
20125 * sysdeps/i386/asm-syntax.h: Likewise.
20126 * sysdeps/s390/asm-syntax.h: Likewise.
20127 * sysdeps/unix/sysdep.h: Likewise.
20128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20130
7071ad79
JM
201312012-01-26 Joseph Myers <joseph@codesourcery.com>
20132
20133 * libio/libio.h: Remove __STDC__ conditionals.
20134 * malloc/obstack.h: Likewise.
20135 * math/complex.h: Likewise.
20136 * math/math.h: Likewise.
20137 * sysdeps/generic/_G_config.h: Likewise.
20138 * sysdeps/gnu/_G_config.h: Likewise.
20139 * sysdeps/mach/hurd/_G_config.h: Likewise.
20140 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20141 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20142 * sysdeps/sparc/bits/mathdef.h: Likewise.
20143
afc5ed09
UD
201442012-01-26 Ulrich Drepper <drepper@gmail.com>
20145
20146 [BZ #13583]
20147 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 20148 Clean up HAS_* macros.
afc5ed09 20149 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
20150 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20151 possible.
20152 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20153 HAS_AVX.
20154 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20155 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20156 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20157 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20158 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 20159
bdb6de1d
JM
201602012-01-25 Joseph Myers <joseph@codesourcery.com>
20161
20162 * elf/tst-unique3.cc (gets): Remove declaration.
20163 * elf/tst-unique3lib.cc (gets): Likewise.
20164 * elf/tst-unique3lib2.cc (gets): Likewise.
20165 * elf/tst-unique4.cc (gets): Likewise.
20166
b15549e6
UD
201672012-01-24 Ulrich Drepper <drepper@gmail.com>
20168
20169 * include/stdio.h: Add C++ protection. Add gets declarations and
20170 definitions.
20171 * debug/tst-chk1.c: Don't declare gets here.
20172 * stdio-common/tst-gets.c: Likewise.
20173
a037381f
JM
201742012-01-24 Joseph Myers <joseph@codesourcery.com>
20175
20176 * posix/glob: Remove directory.
20177
f1d4aa75
JM
201782012-01-24 Joseph Myers <joseph@codesourcery.com>
20179
20180 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20181
81c0c964
PT
201822012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20183
20184 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20185 of the non-standard EPFNOSUPPORT.
20186
0ea698ae
ST
201872011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20188
20189 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20190 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20191 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20192
d220b117
UD
201932012-01-21 Ulrich Drepper <drepper@gmail.com>
20194
20195 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20196
3e1aa84e
UD
201972012-01-20 Ulrich Drepper <drepper@gmail.com>
20198
20199 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20200 transient errors.
20201 * nscd/grpcache.c (cache_addgr): Likewise.
20202 * nscd/hstcache.c (cache_addhst): Likewise.
20203 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20204 * nscd/pwdcache.c (cache_addpw): Likewise.
20205 * nscd/servicescache.c (cache_addserv): Likewise.
20206
400aa020
UD
202072012-01-16 Ulrich Drepper <drepper@gmail.com>
20208
d77e7869
UD
20209 * malloc/malloc.c: Various cleanups.
20210 * malloc/hooks.c: Likewise.
20211
400aa020
UD
20212 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20213 * stdlib/bug-fmtmsg1.c: New file.
20214
20215 * stdlib/fmtmsg.c (init): Add missing unlock.
20216 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20217
e0a309cf
MP
202182012-01-12 Marek Polacek <polacek@redhat.com>
20219
20220 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20221 and _GNU_SOURCE.
20222
929d11c7
WS
202232012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20224
20225 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20226 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20227 macro to ensure uniqueness of label name.
20228 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20229 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20230
41d0e869
UD
202312012-01-11 Ulrich Drepper <drepper@gmail.com>
20232
0cc5ed3b
UD
20233 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20234
41d0e869
UD
20235 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20236 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20237 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20238 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20239
a47a831a
UD
202402012-01-10 Ulrich Drepper <drepper@gmail.com>
20241
daa891c0
UD
20242 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20243
20244 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20245 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20246 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20247
e58ef0f2
UD
20248 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20249
a47a831a 20250 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
20251 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20252 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 20253 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
20254
20255 * math/bits/math-finite.h: Add ldexp support.
20256
a0bfc9c7
MP
202572012-01-10 Marek Polacek <polacek@redhat.com>
20258
20259 * locale/programs/localedef.h (show_archive_content): Add noreturn
20260 attribute.
20261
d6e97a1d
UD
202622012-01-09 Ulrich Drepper <drepper@gmail.com>
20263
20264 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20265
d5835c26
UD
202662012-01-08 Ulrich Drepper <drepper@gmail.com>
20267
e5f484c6
UD
20268 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20269
d5835c26
UD
20270 * io/Makefile (headers): Add bits/poll2.h.
20271
d1f741e9
WS
202722011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20273
20274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20275 typo #include statement.
20276
ec09c1c4
UD
202772012-01-08 Ulrich Drepper <drepper@gmail.com>
20278
20279 * include/sys/cdefs.h: Define __attribute_alloc_size.
20280 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20281 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20282 * elf/pldd.c: Likewise.
20283 * iconv/iconv_charmap.c: Likewise.
20284 * iconv/iconvconfig.c: Likewise.
20285 * iconv/strtab.c: Likewise.
20286 * locale/programs/locale.c: Likewise.
20287 * locale/programs/localedef.h: Likewise.
20288 * locale/programs/simple-hash.c: Likewise.
20289 * nscd/nscd.h: Likewise.
20290 * nss/makedb.c: Likewise.
20291 * sysdeps/generic/ldconfig.h: Likewise.
20292 * locale/programs/localedef.c: Remove xmalloc prototype.
20293 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20294
20b38e03
PP
202952012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20296
20297 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20298 appropriate.
20299
a0da5fe1
UD
203002012-01-08 Ulrich Drepper <drepper@gmail.com>
20301
1d5a644a 20302 * math/Makefile (tests): Add tst-CMPLX.
669704fd 20303 * math/tst-CMPLX.c: New file.
1d5a644a 20304
8784a6db
UD
20305 * math/complex.h (CMPLXL): Fix typo.
20306
d9a216c0
UD
20307 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20308 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20309 GLIBC_2.16.
20310 * debug/tst-chk1.c: Add poll and ppoll tests.
20311 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20312 * include/sys/poll.h: Add hidden proto for ppoll.
20313 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20314 * sysdeps/mach/hurd/ppoll.c: Likewise.
20315 * io/ppoll.c: Likewise.
20316 * debug/poll_chk.c: New file.
20317 * debug/ppoll_chk.c: New file.
20318 * include/bits/poll2.h: New file.
20319 * io/bits/poll2.h: New file.
20320
ac097f5c
UD
20321 [BZ #1350]
20322 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20323
2119dcfa
UD
20324 * configure.in: static is always set to yes. Remove.
20325 * config.make.in: Don't set build-static.
20326 * Makeconfig: Remove use of build-static.
20327 * dlfcn/Makefile: Likewise.
20328 * elf/Makefile: Likewise.
20329 * math/Makefile: Likewise.
20330 * misc/Makefile: Likewise.
20331 * nptl/Makefile: Likewise.
20332 * sysdeps/mach/hurd/Makefile: Likewise.
20333
121766a9
UD
20334 * configure.in: PWD_P is not used anymore.
20335 * config.make.in: Remove PWD_P entry.
20336
51a1d39c 20337 * configure.in: Remove last remnants of RANLIB.
8720d066 20338 No need to check for signed size_t anymore.
215f4bdc
UD
20339 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20340 and IA-64.
3857022a 20341 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
20342 * aclocal.m4: Likewise.
20343
d3ed7225
UD
20344 * wcsmbs/mbrtoc16.c: Implement using towc function.
20345 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20346 * wcsmbs/wcsmbsload.c: Likewise.
20347 * iconv/gconv_simple.c: Likewise.
20348 * iconv/gconv_int.h: Likewise.
20349 * iconv/gconv_builtin.h: Likewise.
20350 * iconv/iconv_prog.c: Remove CHAR16 handling.
20351
20352 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20353
20354 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20355
a0da5fe1
UD
20356 * configure.in: Remove --with-elf and --enable-bounded options.
20357 Dont set base_machine for ia64. More non-ELF conditions removed.
20358 Remove testing and setting of leading underscore information.
20359 * config.make.in (build-bounded): Set to no.
20360 * config.h.in: Remove NO_UNDERSCORES entry.
20361 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20362 them.
20363 * csu/start.c: Remove !NO_UNDERSCORE code.
20364 * locale/localeinfo.h: Likewise.
20365 * sysdeps/generic/machine-gmon.h: Likewise.
20366 * sysdeps/generic/sysdep.h: Likewise.
20367 * sysdeps/i386/sysdep.h: Likewise.
20368 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20369 * sysdeps/mach/sysdep.h: Likewise.
20370 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20371 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20372 * sysdeps/sh/sysdep.h: Likewise.
20373 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20374 * sysdeps/unix/i386/sysdep.S: Likewise.
20375 * sysdeps/unix/sparc/start.c: Likewise.
20376 * sysdeps/unix/sparc/sysdep.S: Likewise.
20377 * sysdeps/unix/sparc/sysdep.h: Likewise.
20378 * sysdeps/unix/start.c: Likewise.
20379 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20380 * sysdeps/x86_64/sysdep.h: Likewise.
20381
df78418a
UD
203822012-01-07 Ulrich Drepper <drepper@gmail.com>
20383
a784e502
UD
20384 [BZ #13553]
20385 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20386 for non-gcc.
20387 * argp/argp-fmtstream.h: Use const instead __const.
20388 * argp/argp.h: Likewise.
20389 * assert/assert.h: Likewise.
20390 * bits/fenv.h: Likewise.
20391 * bits/sched.h: Likewise.
20392 * bits/sigset.h: Likewise.
20393 * bits/sigthread.h: Likewise.
20394 * catgets/nl_types.h: Likewise.
20395 * conform/data/pthread.h-data: Likewise.
20396 * crypt/crypt-private.h: Likewise.
20397 * crypt/crypt.h: Likewise.
20398 * crypt/crypt_util.c: Likewise.
20399 * ctype/ctype.h: Likewise.
20400 * debug/execinfo.h: Likewise.
20401 * debug/mbsnrtowcs_chk.c: Likewise.
20402 * debug/mbsrtowcs_chk.c: Likewise.
20403 * debug/wcsnrtombs_chk.c: Likewise.
20404 * debug/wcsrtombs_chk.c: Likewise.
20405 * debug/wcstombs_chk.c: Likewise.
20406 * dirent/dirent.h: Likewise.
20407 * dlfcn/dlfcn.h: Likewise.
20408 * elf/neededtest4.c: Likewise.
20409 * grp/grp.h: Likewise.
20410 * gshadow/gshadow.h: Likewise.
20411 * iconv/gconv.h: Likewise.
20412 * iconv/gconv_int.h: Likewise.
20413 * iconv/gconv_simple.c: Likewise.
20414 * iconv/iconv.h: Likewise.
20415 * iconv/loop.c: Likewise.
20416 * iconv/skeleton.c: Likewise.
20417 * include/aio.h: Likewise.
20418 * include/aliases.h: Likewise.
20419 * include/argz.h: Likewise.
20420 * include/arpa/inet.h: Likewise.
20421 * include/assert.h: Likewise.
20422 * include/dirent.h: Likewise.
20423 * include/dlfcn.h: Likewise.
20424 * include/execinfo.h: Likewise.
20425 * include/fcntl.h: Likewise.
20426 * include/fenv.h: Likewise.
20427 * include/glob.h: Likewise.
20428 * include/grp.h: Likewise.
20429 * include/libintl.h: Likewise.
20430 * include/mntent.h: Likewise.
20431 * include/netdb.h: Likewise.
20432 * include/pwd.h: Likewise.
20433 * include/rpc/netdb.h: Likewise.
20434 * include/sched.h: Likewise.
20435 * include/search.h: Likewise.
20436 * include/shadow.h: Likewise.
20437 * include/signal.h: Likewise.
20438 * include/stdio.h: Likewise.
20439 * include/stdlib.h: Likewise.
20440 * include/string.h: Likewise.
20441 * include/sys/socket.h: Likewise.
20442 * include/sys/stat.h: Likewise.
20443 * include/sys/statfs.h: Likewise.
20444 * include/sys/statvfs.h: Likewise.
20445 * include/sys/syslog.h: Likewise.
20446 * include/sys/time.h: Likewise.
20447 * include/sys/uio.h: Likewise.
20448 * include/time.h: Likewise.
20449 * include/unistd.h: Likewise.
20450 * include/utmp.h: Likewise.
20451 * include/wchar.h: Likewise.
20452 * include/wctype.h: Likewise.
20453 * inet/aliases.h: Likewise.
20454 * inet/arpa/inet.h: Likewise.
20455 * inet/netinet/ether.h: Likewise.
20456 * inet/netinet/in.h: Likewise.
20457 * intl/libintl.h: Likewise.
20458 * io/bits/fcntl2.h: Likewise.
20459 * io/fcntl.h: Likewise.
20460 * io/ftw.h: Likewise.
20461 * io/sys/poll.h: Likewise.
20462 * io/sys/stat.h: Likewise.
20463 * io/sys/statfs.h: Likewise.
20464 * io/sys/statvfs.h: Likewise.
20465 * io/utime.h: Likewise.
20466 * libio/bits/stdio.h: Likewise.
20467 * libio/bits/stdio2.h: Likewise.
20468 * libio/libio.h: Likewise.
20469 * libio/libioP.h: Likewise.
20470 * libio/stdio.h: Likewise.
20471 * locale/lc-ctype.c: Likewise.
20472 * locale/locale.h: Likewise.
20473 * login/utmp.h: Likewise.
20474 * malloc/arena.c: Likewise.
20475 * malloc/malloc.c: Likewise.
20476 * malloc/malloc.h: Likewise.
20477 * malloc/mcheck.c: Likewise.
20478 * malloc/mtrace.c: Likewise.
20479 * math/bits/mathcalls.h: Likewise.
20480 * math/fenv.h: Likewise.
20481 * math/math_private.h: Likewise.
20482 * misc/bits/error.h: Likewise.
20483 * misc/bits/syslog.h: Likewise.
20484 * misc/err.h: Likewise.
20485 * misc/error.h: Likewise.
20486 * misc/fstab.h: Likewise.
20487 * misc/mntent.h: Likewise.
20488 * misc/regexp.h: Likewise.
20489 * misc/search.h: Likewise.
20490 * misc/sgtty.h: Likewise.
20491 * misc/sys/mman.h: Likewise.
20492 * misc/sys/syslog.h: Likewise.
20493 * misc/sys/uio.h: Likewise.
20494 * misc/sys/xattr.h: Likewise.
20495 * misc/ttyent.h: Likewise.
20496 * nis/rpcsvc/ypclnt.h: Likewise.
20497 * nss/nss.h: Likewise.
20498 * posix/bits/unistd.h: Likewise.
20499 * posix/fnmatch.h: Likewise.
20500 * posix/glob.h: Likewise.
20501 * posix/sched.h: Likewise.
20502 * posix/spawn.h: Likewise.
20503 * posix/sys/wait.h: Likewise.
20504 * posix/unistd.h: Likewise.
20505 * posix/wordexp.h: Likewise.
20506 * pwd/pwd.h: Likewise.
20507 * resolv/netdb.h: Likewise.
20508 * resource/sys/resource.h: Likewise.
20509 * rt/aio.h: Likewise.
20510 * rt/bits/mqueue2.h: Likewise.
20511 * rt/mqueue.h: Likewise.
20512 * shadow/shadow.h: Likewise.
20513 * signal/signal.h: Likewise.
20514 * socket/send.c: Likewise.
20515 * socket/sendto.c: Likewise.
20516 * socket/sys/socket.h: Likewise.
20517 * stdio-common/printf.h: Likewise.
20518 * stdlib/bits/stdlib.h: Likewise.
20519 * stdlib/fmtmsg.h: Likewise.
20520 * stdlib/monetary.h: Likewise.
20521 * stdlib/stdlib.h: Likewise.
20522 * stdlib/ucontext.h: Likewise.
20523 * streams/stropts.h: Likewise.
20524 * string/argz.h: Likewise.
20525 * string/bits/string2.h: Likewise.
20526 * string/string.h: Likewise.
20527 * string/strings.h: Likewise.
20528 * sunrpc/rpc/auth.h: Likewise.
20529 * sunrpc/rpc/auth_des.h: Likewise.
20530 * sunrpc/rpc/clnt.h: Likewise.
20531 * sunrpc/rpc/netdb.h: Likewise.
20532 * sunrpc/rpc/pmap_clnt.h: Likewise.
20533 * sunrpc/rpc/xdr.h: Likewise.
20534 * sysdeps/generic/inttypes.h: Likewise.
20535 * sysdeps/generic/net/if.h: Likewise.
20536 * sysdeps/generic/sys/swap.h: Likewise.
20537 * sysdeps/gnu/net/if.h: Likewise.
20538 * sysdeps/gnu/utmpx.h: Likewise.
20539 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20540 * sysdeps/i386/i486/bits/string.h: Likewise.
20541 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20542 * sysdeps/s390/bits/string.h: Likewise.
20543 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20544 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20545 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20546 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20547 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20548 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20549 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20550 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20551 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20552 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20553 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20554 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20555 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20556 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20557 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20558 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20559 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20560 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20561 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20562 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20563 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20564 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20565 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20566 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20567 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20568 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20569 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20570 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20571 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20572 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20573 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20574 * sysvipc/sys/ipc.h: Likewise.
20575 * sysvipc/sys/msg.h: Likewise.
20576 * sysvipc/sys/sem.h: Likewise.
20577 * sysvipc/sys/shm.h: Likewise.
20578 * termios/termios.h: Likewise.
20579 * time/sys/time.h: Likewise.
20580 * time/time.h: Likewise.
20581 * wcsmbs/bits/wchar2.h: Likewise.
20582 * wcsmbs/uchar.h: Likewise.
20583 * wcsmbs/wchar.h: Likewise.
20584 * wctype/wctype.h: Likewise.
20585
0269750c
UD
20586 [BZ #13551]
20587 * Makeconfig: Remove all but ELF support including AIX support.
20588 * Makerules: Likewise.
20589 * config.h.in: Likewise.
20590 * config.make.in: Likewise.
20591 * configure: Likewise.
20592 * configure.in: Likewise.
20593 * csu/Makefile: Likewise.
20594 * csu/version.c: Likewise.
20595 * debug/Makefile: Likewise.
20596 * dlfcn/Makefile: Likewise.
20597 * elf/Makefile: Likewise.
20598 * extra-lib.mk: Likewise.
20599 * iconv/Makefile: Likewise.
20600 * include/libc-symbols.h: Likewise.
20601 * include/shlib-compat.h: Likewise.
20602 * resolv/Makefile: Likewise.
20603 * resolv/res_libc.c: Likewise.
20604 * rt/Makefile: Likewise.
20605 * sysdeps/i386/asm-syntax.h: Likewise.
20606 * sysdeps/i386/sysdep.h: Likewise.
20607 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20608 * sysdeps/mach/sysdep.h: Likewise.
20609 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20610 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20611 * sysdeps/s390/asm-syntax.h: Likewise.
20612 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20613 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20614 * sysdeps/sh/sysdep.h: Likewise.
20615 * sysdeps/unix/sparc/sysdep.h: Likewise.
20616 * sysdeps/wordsize-32/divdi3.c: Likewise.
20617 * sysdeps/x86_64/sysdep.h: Likewise.
20618
00bbd29b
UD
20619 * argp/Versions: Remove _argp_unlock_xxx.
20620
20621 [BZ #13559]
20622 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20623 * abilist/libBrokenLocale.abilist: Likewise.
20624 * abilist/libanl.abilist: Likewise.
20625 * abilist/libc.abilist: Likewise.
20626 * abilist/libcrypt.abilist: Likewise.
20627 * abilist/libdl.abilist: Likewise.
20628 * abilist/libm.abilist: Likewise.
20629 * abilist/libnsl.abilist: Likewise.
20630 * abilist/libpthread.abilist: Likewise.
20631 * abilist/libresolv.abilist: Likewise.
20632 * abilist/librt.abilist: Likewise.
20633 * abilist/libthread_db.abilist: Likewise.
20634 * abilist/libutil.abilist: Likewise.
20635 * abilist/libnss_db.abilist: New file.
20636
20637 * scripts/abilist.awk: Add support for indirect functions.
20638
a2693a0e
UD
20639 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20640
3f05895f
UD
20641 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20642
ecb6fb48
UD
20643 * shlib-versions: Remove entries for ports architectures.
20644
664f8cb9
UD
20645 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20646 files in ports.
20647 * elf/stackguard-macros.h: Remove support for IA-64.
20648 * elf/tst-auditmod1.c: Likewise.
20649 * sysdeps/generic/ldsodefs.h: Likewise.
20650
7ae81d88
UD
20651 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20652 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20653 configure files.
20654
bdeba135
UD
20655 [BZ #13552]
20656 * configure.in: Remove --enable-omitfp support.
20657 * FAQ.in: Adjust.
20658 * config.make.in: Likewise.
20659 * Makeconfig: Likewise.
20660 * manual/install.texi: Likewise.
20661
d75a0a62
UD
20662 In case anyone cares, the IA-64 architecture could move to ports.
20663 * sysdeps/ia64/*: Removed.
20664 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 20665 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 20666
dcc9756b
UD
20667 [BZ #13555]
20668 * configure.in: Remove entries for unsupported architectures.
20669
d3761ebc 20670 [BZ #13533]
9954432e
UD
20671 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20672 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20673 routines.
20674 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20675 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20676 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20677 fall back to using wcrtomb.
20678 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20679 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20680 renaming.
20681 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20682 * wcsmbs/tst-c16c32-1.c: New file.
20683
20684 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20685 local variable.
20686
c3a87236
UD
20687 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20688
28926a1b
UD
20689 * elf/tst-unique3.cc: Add explicit declaration of gets.
20690 * elf/tst-unique3lib.cc: Likewise.
20691 * elf/tst-unique3lib2.cc: Likewise.
20692 * elf/tst-unique4.cc: Likewise.
20693
df78418a
UD
20694 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20695
8ecd6b2a
JM
206962012-01-06 Joseph Myers <joseph@codesourcery.com>
20697
20698 [BZ #13566]
20699 * assert/assert.h (static_assert): Don't define for C++.
20700 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20701 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20702
9f115170
UD
207032012-01-03 Ulrich Drepper <drepper@gmail.com>
20704
5e0d0300
UD
20705 * iconv/loop.c (single loop): Fix assertion in storing of
20706 remaining bytes.
20707
9f115170
UD
20708 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20709
81fb02b0
UD
207102012-01-01 Ulrich Drepper <drepper@gmail.com>
20711
20712 * posix/getconf.c: Update copyright year.
20713 * nss/getent.c: Likewise.
a316c1f6 20714 * nss/makedb.c: Likewise.
81fb02b0
UD
20715 * iconv/iconvconfig.c: Likewise.
20716 * iconv/iconv_prog.c: Likewise.
20717 * elf/ldconfig.c: Likewise.
a316c1f6
UD
20718 * elf/pldd.c: Likewise.
20719 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
20720 * catgets/gencat.c: Likewise.
20721 * csu/version.c: Likewise.
20722 * elf/ldd.bash.in: Likewise.
20723 * elf/sprof.c (print_version): Likewise.
20724 * locale/programs/locale.c: Likewise.
20725 * locale/programs/localedef.c: Likewise.
a316c1f6 20726 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
20727 * nscd/nscd.c (print_version): Likewise.
20728 * debug/xtrace.sh: Likewise.
20729 * malloc/memusage.sh: Likewise.
20730 * malloc/mtrace.pl: Likewise.
20731 * debug/catchsegv.sh: Likewise.
20732
2ba92745
JJ
207332011-12-30 Jakub Jelinek <jakub@redhat.com>
20734
20735 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20736 pure attribute.
20737
dadebdae
UD
207382011-12-24 Ulrich Drepper <drepper@gmail.com>
20739
d3761ebc 20740 [BZ #13533]
db6af3eb
UD
20741 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20742 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20743 transformations.
20744 * iconv/gconv_int.h: Likewise.
20745 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20746 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20747 from libc for GLIBC_2.16.
20748 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20749 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20750 * wcsmbs/uchar.h: Really define mbstate_t.
20751 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20752 * wcsmbs/c16rtomb.c: New file.
20753 * wcsmbs/mbrtoc16.c: New file.
20754 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20755 for C/POSIX locale.
20756 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20757 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20758
dadebdae
UD
20759 * wcsmbs/wchar.h: Add missing __restrict.
20760
67371b56
UD
207612011-12-23 Ulrich Drepper <drepper@gmail.com>
20762
74033a25
UD
20763 [BZ #13532]
20764 * time/Makefile (routines): Add timespec_get.
20765 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20766 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20767 timespec for ISO C11.
20768 * time/timespec_get.c: New file.
20769 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20770 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20771
380d7e87
UD
20772 [BZ #13531]
20773 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20774 * stdlib/stdlib.h: Declare aligned_alloc.
20775 * Versions.def: Add GLIBC_2.16 for libc.
20776 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20777
4e9e7a35
UD
20778 [BZ 13527]
20779 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20780 ISO C11.
20781
380d7e87 20782 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
20783 code.
20784
03a71829
UD
20785 [BZ #13528]
20786 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20787
839e283e
UD
20788 [BZ #13529]
20789 * assert/assert.h (static_assert): Define.
20790
ce5294e2 20791 * version.h: Update for 2.16 development version.
90fa7312 20792
8d44e150 20793 [BZ #13526]
d7809905
UD
20794 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20795 _ISOC11_SOURCE.
20796
c0da14cd
UD
20797 * version.h (RELEASE): Bump for 2.15 release.
20798 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20799
530a3249
MP
20800 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20801 Patch by Marek Polacek <mpolacek@redhat.com>.
20802
67371b56
UD
20803 * bits/byteswap.h: Protect long long constants with __extension__.
20804 * sysdeps/i386/bits/byteswap.h: Likewise.
20805 * sysdeps/ia64/bits/byteswap.h: Likewise.
20806 * sysdeps/s390/bits/byteswap.h: Likewise.
20807 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20808
15db4de1
LD
208092011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20810
20811 [BZ #13540]
bbe315ea
LD
20812 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20813 destination buffer.
15db4de1
LD
20814 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20815
2b2596b1
MP
208162011-12-23 Marek Polacek <polacek@redhat.com>
20817
20818 * elf/dl-addr.c (determine_info): Add inline keyword.
20819 * elf/tst-auditmod4b.c (check_avx): Likewise.
20820 * elf/tst-auditmod6b.c (check_avx): Likewise.
20821 * elf/tst-auditmod6c.c (check_avx): Likewise.
20822 * elf/tst-auditmod7b.c (check_avx): Likewise.
20823
70c6c246
UD
208242011-12-23 Ulrich Drepper <drepper@gmail.com>
20825
20826 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20827 !__SSE_MATH__.
20828
c044cf14
LD
208292011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20830
15db4de1 20831 [BZ #13540]
c044cf14
LD
20832 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20833 processing for last bytes.
20834
6b13d9d9
BH
208352011-08-06 Bruno Haible <bruno@clisp.org>
20836
d455f537
BH
20837 [BZ #13061]
20838 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20839 U+0385, not to U+1FEE.
20840
6b13d9d9
BH
20841 [BZ #13062]
20842 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20843 entry for U+00A5 U+0301.
20844
db910efd
UD
208452011-12-22 Ulrich Drepper <drepper@gmail.com>
20846
27deeafc
UD
20847 [BZ #13166]
20848 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20849 buffer for the output is too small.
20850
aed9d171
UD
20851 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20852 optimization.
20853
db910efd
UD
20854 [BZ #13185]
20855 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20856 SSE flags if possible.
20857
2bd779ae
LD
208582011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20859
e7f9dac3 20860 [BZ #13540]
2bd779ae
LD
20861 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20862 processing for last bytes.
20863
154bfc16
JM
208642011-12-22 Joseph Myers <joseph@codesourcery.com>
20865
20866 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20867 (syscall-list-default-options, syscall-list-default-condition)
20868 (syscall-list-includes): Define.
20869 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20870 list of ABIs and options and #if conditions for each ABI. Do not
20871 handle common syscalls between ABIs specially.
20872 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20873 Remove.
20874 (syscall-list-variants, syscall-list-32bit-options)
20875 (syscall-list-32bit-condition, syscall-list-64bit-options)
20876 (syscall-list-64bit-condition): Define.
20877 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20878 (syscall-list-variants, syscall-list-32bit-options)
20879 (syscall-list-32bit-condition, syscall-list-64bit-options)
20880 (syscall-list-64bit-condition): Define.
20881 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20882 Remove.
20883 (syscall-list-variants, syscall-list-32bit-options)
20884 (syscall-list-32bit-condition, syscall-list-64bit-options)
20885 (syscall-list-64bit-condition): Define.
20886 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20887 Remove.
20888 (syscall-list-variants, syscall-list-32bit-options)
20889 (syscall-list-32bit-condition, syscall-list-64bit-options)
20890 (syscall-list-64bit-condition): Define.
20891
21eaf3a5
UD
208922011-12-22 Ulrich Drepper <drepper@gmail.com>
20893
16c6f992
UD
20894 * locale/iso-639.def: Add brx entry.
20895
41043168
UD
20896 [BZ #13328]
20897 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20898 Proposed by Mariusz_Cukr <marcukr@op.pl>.
20899
21eaf3a5
UD
20900 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20901 __feraiseexcept_renamed.
20902
e3a851a2
UD
209032011-12-21 Ulrich Drepper <drepper@gmail.com>
20904
4920765e
UD
20905 [BZ #13538]
20906 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20907 EPOLLET with unsigned values.
20908 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20909 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20910
e3a851a2
UD
20911 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20912 to large cancellation.
20913 * math/s_cacoshf.c: Likewise.
20914 * math/s_cacoshl.c: Likewise.
20915
b27e24b8
RK
209162011-11-18 Richard B. Kreckel <kreckel@ginac.de>
20917
20918 [BZ #13305]
aebefeee 20919 [BZ #12786]
b27e24b8
RK
20920 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20921 * math/s_cacoshf.c: Likewise.
20922 * math/s_cacoshl.c: Likewise.
20923
ee190f67
UD
209242011-12-21 Ulrich Drepper <drepper@gmail.com>
20925
20926 [BZ #13439]
20927 * iconv/gconv.h: Define __GCONV_SWAP.
20928 * iconvdata/unicode.c: The swap bit must be stored in __flags.
20929 * iconvdata/utf-16.c: Likewise.
20930 * iconvdata/utf-32.c: Likewise.
20931
707f25df
AS
209322011-12-21 Andreas Schwab <schwab@linux-m68k.org>
20933
20934 [BZ #13524]
20935 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20936 numerator after shifting it by one limb.
20937
d2daaa1e
RÁE
209382011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
20939
20940 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20941 under [__USE_EXTERN_INLINES].
20942
a4647e72
UD
209432011-12-17 Ulrich Drepper <drepper@gmail.com>
20944
20945 [BZ #13446]
20946 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20947
f0b264f1
AZ
209482011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20949
20950 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20951 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20952 optimized code.
20953 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20954 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20955 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20956 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20957 for strncasecmp/strncasecmp_l compilation.
20958 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20959 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20960
8ef4f244
MP
209612011-12-08 Marek Polacek <mpolacek@redhat.com>
20962
20963 [BZ #13484]
20964 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20965 of __asm__.
20966
97ac2654
UD
209672011-12-17 Ulrich Drepper <drepper@gmail.com>
20968
20969 [BZ #13506]
20970 * time/tzfile.c (__tzfile_read): Check values from file header.
20971
91d2a845
WS
209722011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20973
20974 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20975 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20976 * powerpc/powerpc32/dl-start.S: Likewise.
20977 * powerpc/powerpc32/elf/start.S: Likewise.
20978 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20979 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20980 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20981 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20982 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20983 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20984 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20985 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20986 * powerpc/powerpc32/fpu/s_round.S: Likewise.
20987 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20988 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20989 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20990 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20991 * powerpc/powerpc32/memset.S: Likewise.
20992 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20993 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20994 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20995 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20996 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20997 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20998 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20999 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21000 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21001 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21002 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21003 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21004 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21005
a1267ba1
AZ
210062011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21007
21008 * math/libm-test.inc: Added more nearbyint tests.
21009 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21010 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21011 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21012 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21013
ad8ac1bd
RL
210142011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21015
21016 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21017 FD_CLOEXEC.
21018
1d3e4b61
UD
210192011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21020
21021 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21022 Add wcscpy-ssse3 wcscpy-c.
21023 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21024 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21025 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21026 * sysdeps/x86_64/wcschr.S: New file.
21027 * sysdeps/x86_64/wcsrchr.S: New file.
21028 * string/test-strcmp.c: Remove checking of wcscmp function for
21029 wrong alignments.
21030 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21031 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21032 wcsrchr-sse2 wcsrchr-c.
21033 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21034 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21035 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21036 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21037 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21038 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21039 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21040 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21041 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21042 * wcsmbc/wcschr.c (WCSCHR): New macro.
21043
5b330a2d
UD
210442011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21045
21046 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21047 * wcsmbs/test-wcsrchr.c: New file.
21048 * string/test-strrchr.c: Add wcsrchr support.
21049 (WIDE): New macro.
21050 * wcsmbs/test-wcscpy.c: New file.
21051 * string/test-strcpy.c: Add wcscpy support.
21052 (WIDE): New macro.
26428b7c 21053
f039c043
UD
210542011-12-10 Ulrich Drepper <drepper@gmail.com>
21055
21056 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21057 the inner loop.
21058
850fb039
AS
210592011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21060
21061 [BZ #13472]
21062 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21063
4efbd5cb
UD
210642011-12-04 Ulrich Drepper <drepper@gmail.com>
21065
52ff5dd0 21066 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 21067 Minor optimizations.
52ff5dd0 21068
4efbd5cb
UD
21069 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21070 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21071 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21072
8a426e12
UD
210732011-12-03 Ulrich Drepper <drepper@gmail.com>
21074
aff2453d
UD
21075 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21076 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21077 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21078 for gcc to avoid warnings.
21079 * inet/Makefile (tests): Add tst-checks.
21080 * inet/tst-checks.c: New file.
21081
21082 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21083 warning.
21084
21085 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21086 __wmemcmp_sse2.
21087
21088 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21089 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21090
8a426e12
UD
21091 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21092
9bea3473
UD
210932011-12-02 Ulrich Drepper <drepper@gmail.com>
21094
3a965496
UD
21095 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21096 problem.
21097
9bea3473
UD
21098 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21099
f101631b
UD
211002011-11-29 Joseph Myers <joseph@codesourcery.com>
21101
21102 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21103 conditional on GCC version.
21104 (__arch_compare_and_exchange_val_8_acq)
21105 (__arch_compare_and_exchange_val_16_acq)
21106 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21107 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21108 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21109
a98275aa
UD
211102011-12-02 Joseph Myers <joseph@codesourcery.com>
21111
21112 * sysdeps/sh/backtrace.c: New file.
21113
d4cc29a2
AS
211142011-12-02 Andreas Schwab <schwab@redhat.com>
21115
21116 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21117 parenthesis.
21118
6257af2d
AS
211192011-12-01 Andreas Schwab <schwab@redhat.com>
21120
21121 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21122 falling back to utime.
21123
b5f44c1a
AS
211242011-11-30 Andreas Schwab <schwab@redhat.com>
21125
21126 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21127 expectations for float.
21128
f3a6cc0a
AS
211292011-11-29 Andreas Schwab <schwab@redhat.com>
21130
21131 * locale/weight.h (findidx): Add parameter len.
21132 * locale/weightwc.h (findidx): Likewise.
21133 * posix/fnmatch_loop.c (FCT): Adjust caller.
21134 * posix/regcomp.c (build_equiv_class): Likewise.
21135 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21136 * posix/regexec.c (check_node_accept_bytes): Likewise.
21137 * string/strcoll_l.c (STRCOLL): Likewise.
21138 * string/strxfrm_l.c (STRXFRM): Likewise.
21139
9d65ea3a
UD
211402011-11-17 Ulrich Drepper <drepper@gmail.com>
21141
21142 * Makefile.in: Remove CVSOPT handling.
21143 * configure.in: Remove use of AC_REVISION.
21144 * iconvdata/Makefile (distribute): No need to filter out CVS.
21145 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21146 handling.
21147
5583a086
AS
211482011-11-16 Andreas Schwab <schwab@redhat.com>
21149
21150 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21151 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21152 [USE_AS_STRNCASECMP_L]: Likewise.
21153 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21154 NO_TLS_DIRECT_SEG_REFS.
21155 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21156 Fix argument offsets for non-PIC.
21157 [USE_AS_STRNCASECMP_L]: Likewise.
21158 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21159 NO_TLS_DIRECT_SEG_REFS.
21160
d62a8200
UD
211612011-11-15 Ulrich Drepper <drepper@gmail.com>
21162
9d65ea3a 21163 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
21164 O_CLOEXEC.
21165 * locale/loadlocale.c (_nl_load_locale): Likewise.
21166
09f93bd3
AS
211672011-11-15 Andreas Schwab <schwab@redhat.com>
21168
446514f9
AS
21169 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21170 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21171 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21172 (SYSCALL_GETTIME): Set errno on error.
21173
09f93bd3
AS
21174 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21175 count references to noai6ai_cached.
21176
312be3f9
UD
211772011-11-15 Ulrich Drepper <drepper@gmail.com>
21178
21179 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21180
21181 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21182 FD_CLOEXEC for /proc/self/maps.
21183
21184 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21185 FD_CLOEXEC for /proc/meminfo.
21186
21187 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21188 gai.conf.
21189
21190 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21191 FD_CLOEXEC for given file.
21192
21193 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21194
21195 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21196 FD_CLOEXEC for /etc/hosts.
21197 (_gethtent): Likewise.
21198
21199 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21200
21201 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21202 cancellation and set FD_CLOEXEC for /etc/netgroup.
21203
21204 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21205 reading /etc/publickey.
21206
21207 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21208 allow cancellation when reading /etc/group.
21209
21210 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21211 cancellation.
21212 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21213
21214 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21215 when using data file.
21216
21217 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21218
21219 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21220 (write_nis_obj): Use "c" and "e" in fopen.
21221
21222 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21223
21224 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21225
21226 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21227
21228 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21229
21230 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21231 locale.alias.
21232
21233 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21234
21235 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21236
21237 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21238
21239 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21240 file parsing and set FD_CLOEXEC.
21241
82af0fa8
UD
212422011-11-14 Ulrich Drepper <drepper@gmail.com>
21243
21244 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21245
a5fb313c
AS
212462011-11-14 Andreas Schwab <schwab@redhat.com>
21247
21248 * malloc/arena.c (arena_get2): Don't call reused_arena when
21249 _int_new_arena failed.
21250
6abf3465
UD
212512011-11-14 Ulrich Drepper <drepper@gmail.com>
21252
21253 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21254 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21255 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21256 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21257 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21258 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21259 to compile strcasecmp and strncasecmp.
21260 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21261 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21262
21263 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21264
76e3966e
UD
212652011-11-13 Ulrich Drepper <drepper@gmail.com>
21266
21267 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21268 locale-defines.sym to gen-as-const-headers.
21269 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21270 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21271 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21272 to compile strcasecmp and strncasecmp.
21273 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21274 strcasecmp_l and strncasecmp_l.
21275 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21276 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21277 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21278 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21279 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21280 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21281 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21282 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21283 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21284 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21285 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21286
ab26144e
UD
212872011-11-12 Ulrich Drepper <drepper@gmail.com>
21288
7edb22ef
UD
21289 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21290 result of SYSDEP_GETTIME_CPU to retval.
21291 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21292 parameter list to macro. Remove trailing semicolon. Adjust users.
21293
9694fc44
UD
21294 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21295 variable.
21296
8ad89ef8
UD
21297 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21298 mantissa words.
21299 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21300
0c822ef9
UD
21301 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21302 from unused variable.
21303
874e0564
UD
21304 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21305 DWARF definitions.
21306 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21307 for assembling.
21308
3a2edc79
UD
21309 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21310 over namespaces.
21311
f3c2577f
UD
21312 * sunrpc/rpc_prot.c (rejected): Fix case value.
21313
294ce126
UD
21314 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21315 unsigned long long int to avoid warnings in shift.
21316
5e2b63c6
UD
21317 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21318 of use of trans.
21319 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21320 variable tmp.
21321
e7f4b08e
UD
21322 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21323 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21324 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21325
ab26144e
UD
21326 * nis/nis_table.c (nis_list): Use variable of correct type for
21327 result of __follow_path call.
21328
8a6d5255
AZ
213292011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21330
21331 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21332 of math functions ceil, trunc, floor, round, and sqrt, when
21333 avaliable on the platform.
21334 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21335 name clash.
21336 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21337 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21338 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21339
aaddc98c
MP
213402011-10-30 Marek Polacek <mpolacek@redhat.com>
21341
21342 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21343 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21344
95b7042b
RM
213452011-11-11 Roland McGrath <roland@hack.frob.com>
21346
21347 * include/unistd.h: Fix __readlink return type.
21348 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21349
57769839
UD
213502011-11-11 Ulrich Drepper <drepper@gmail.com>
21351
21352 * stdlib/ucontext.h: Undo last change for makecontext.
21353
edc5984d
AS
213542011-11-11 Andreas Schwab <schwab@redhat.com>
21355
98591e58
AS
21356 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21357
edc5984d
AS
21358 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21359 * setjmp/setjmp.h: Mark functions as non-leaf.
21360 * setjmp/bits/setjmp2.h: Likewise.
21361 * stdlib/ucontext.h: Likewise.
21362
77cdc054
AS
213632011-11-10 Andreas Schwab <schwab@redhat.com>
21364
21365 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21366 (reused_arena): Don't check arena limit.
21367 (arena_get2): Atomically check arena limit.
21368
fe72eebd
UD
213692011-11-08 Ulrich Drepper <drepper@gmail.com>
21370
5f078c32
UD
21371 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21372 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21373
fe72eebd
UD
21374 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21375 instructions.
21376
ae1bc2fa
AS
213772011-11-07 Andreas Schwab <schwab@redhat.com>
21378
7583a88d
AS
21379 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21380 handler when locking.
21381
ae1bc2fa
AS
21382 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21383 Fix size of allocated buffer.
21384
10fb0bfa
AS
213852011-11-04 Andreas Schwab <schwab@redhat.com>
21386
998832a4
AS
21387 [BZ #10103]
21388 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21389 declarations for long double functions.
21390 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21391
10fb0bfa
AS
21392 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21393
3d7ba52b
AS
213942011-11-03 Andreas Schwab <schwab@redhat.com>
21395
a9ae54a1
AS
21396 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21397 installed.
21398
3d7ba52b
AS
21399 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21400 is disabled.
21401
bc8db248
ST
214022011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21403
21404 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21405
45b96dd6
AS
214062011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21407
647776f6
AS
21408 * include/alloca.h (stackinfo_alloca_round): Define.
21409 (extend_alloca): Use it.
21410 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21411 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21412 here.
21413
d91a8b93
AS
21414 * scripts/check-local-headers.sh: Ignore libaudit.h.
21415
45b96dd6
AS
21416 * nscd/Makefile (extra-objs): Make recursively expanded.
21417
432d41ce
UD
214182011-11-01 Ulrich Drepper <drepper@gmail.com>
21419
34372fc6
UD
21420 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21421 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21422
fadb59f8
UD
21423 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21424 * posix/tst-rfc3484-2.c: Likewise.
21425 * posix/tst-rfc3484-3.c: Likewise.
21426
78239589
UD
21427 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21428 process_vm_writev.
21429 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21430 process_vm_writev.
21431 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21432 process_vm_writev from libc using GLIBC_2.15 version.
21433
432d41ce
UD
21434 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21435
02f9c6cf
PP
214362011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21437
21438 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21439 stack usage.
21440
3a2c0242
UD
214412011-10-31 Ulrich Drepper <drepper@gmail.com>
21442
f4ec4833
UD
21443 [BZ #13367]
21444 * nss/getent.c (initgroups_keys): Show error message in case no group
21445 names are given.
21446
3a2c0242
UD
21447 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21448 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21449 __bump_nl_timestamp.
21450 * nscd/connections (nscd_init): When host database is served open
21451 netlink socket and request notification about configuration changes.
21452 (main_loop_poll): Track netlink file descriptor and bump timestamp
21453 in case data becomes available.
21454 (main_loop_epoll): Likewise.
21455 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21456 (database_pers_head): Add extra_data fileds.
21457 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21458 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21459 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21460 Adjust caller.
21461 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21462 in6ai data, call __free_in6ai.
21463 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21464 Add -DHAVE_NETLINK.
21465 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21466 interface information. Reuse previous data if netlink timestamp
21467 is not changed.
21468 (__bump_nl_timestamp): New function.
21469 (__free_in6ai): New function.
21470
636064eb
UD
214712011-10-30 Ulrich Drepper <drepper@gmail.com>
21472
21473 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21474 close_not_cancel_no_status here.
21475 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21476
9beb2334
UD
214772011-10-29 Ulrich Drepper <drepper@gmail.com>
21478
6ef76f3b
UD
21479 [BZ #13276]
21480 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21481 return value.
21482
0ffc4f3e 21483 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
21484 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21485 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21486
cb95113e
UD
214872011-07-03 Andreas Jaeger <aj@suse.de>
21488
21489 [BZ #10709]
21490 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21491 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21492 * math/libm-test.inc (sin_test): Add test case.
21493
a1b560ff
UD
214942011-10-29 Ulrich Drepper <drepper@gmail.com>
21495
c9aaface
UD
21496 [BZ #13337]
21497 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21498 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21499
d272e7f1
UD
21500 * elf/chroot_canon.c (chroot_canon): Cleanups.
21501
1bc33071
UD
21502 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21503
1760874d
TJ
21504 [BZ #13335]
21505 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21506 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21507
51d91b18
UD
21508 * string/test-strchr.c: Make usable for strchrnul testing.
21509 * string/test-strchrnul.c: New file.
21510 * string/Makefile (strop-tests): Add strchrnul.
21511
a1b560ff 21512 * po/it.po: Update from translation team.
b611fb81 21513 * po/es.po: Likewise.
a1b560ff 21514
a5b81e1f
UD
215152011-10-28 Ulrich Drepper <drepper@gmail.com>
21516
fd52bc6d
UD
21517 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21518 the three constants needed as parameters. Drop the others.
21519 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21520 __m128i_strloadu_tolower.
52e4b9eb
UD
21521 Create and initialize variable zero and use it in all the places
21522 where _mm_setzero_si128 was used.
fd52bc6d 21523
a5b81e1f
UD
21524 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21525 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21526 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21527 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21528 anymore.
21529 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21530 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21531 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21532 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21533 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21534 __mpranred, __mptan.
21535 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21536 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21537 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21538 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21539 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21540 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21541 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21542 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21543 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21544
b4343346
AS
215452011-10-28 Andreas Schwab <schwab@redhat.com>
21546
0c92d8a8
AS
21547 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21548 redefine if SHARED.
21549 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21550
b4343346
AS
21551 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21552 wide char related routines to wcsmbs subdir.
21553
3871f58f
AS
215542011-10-27 Andreas Schwab <schwab@redhat.com>
21555
21556 [BZ #13344]
21557 * misc/sys/cdefs.h (__THROWNL): Define.
21558 * posix/unistd.h: Use __THREADNL instead of __THREAD
21559 for memory synchronization functions.
21560
94d44d9f
RM
215612011-10-26 Roland McGrath <roland@hack.frob.com>
21562
21b64b15 21563 [BZ #13349]
94d44d9f
RM
21564 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21565 doesn't exist.
21566 * manual/stdio.texi (Obstack Streams): Node removed.
21567
f6ce9294
AS
215682011-10-26 Andreas Schwab <schwab@redhat.com>
21569
80479147
AS
21570 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21571 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21572 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21573
f6ce9294
AS
21574 * math/math_private.h (math_force_eval): Allow non-addressable
21575 arguments.
21576 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21577
618280a1
UD
215782011-10-25 Ulrich Drepper <drepper@gmail.com>
21579
e0016b11
UD
21580 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21581 file is not needed.
21582
21583 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21584 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21585 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21586 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21587 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21588 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21589 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21590 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21591 Add AVX variants.
21592 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21593 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21594 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21595 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21596 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21597 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21598 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21599 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21600 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21601 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21602 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21603 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21604 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21605 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21606 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21607 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21608 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21609 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21610 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21611
21612 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21613 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21614
618280a1
UD
21615 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21616 place. Use VEX encoding when compiling for AVX.
21617
37822576
AS
216182011-10-25 Andreas Schwab <schwab@redhat.com>
21619
1f1e1947
AS
21620 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21621 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21622
37822576
AS
21623 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21624
31ea014d
UD
216252011-10-25 Ulrich Drepper <drepper@gmail.com>
21626
d7826aa1 21627 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 21628 useless if() expression.
d7826aa1
UD
21629 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21630 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21631 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21632 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21633 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21634 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21635 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21636 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21637 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21638 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21639 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21640 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21641 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21642 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21643 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21644 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21645 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21646 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21647 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21648
31ea014d
UD
21649 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21650
16437fec
AS
216512011-10-25 Andreas Schwab <schwab@redhat.com>
21652
21653 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21654 condition.
21655 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21656
31d3cc00
UD
216572011-10-25 Ulrich Drepper <drepper@gmail.com>
21658
21659 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21660 .text section. Avoid duplicate constants.
21661 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21662 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21663 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21664 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21665 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21666 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21667 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21668 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21669 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21670 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21671 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21672 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21673 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21674 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21675 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21676 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21677 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21678 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21679 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21680 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21681 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21682 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21683 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21684 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21685 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21686 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21687 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21688 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21689 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21690 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21691 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21692 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21693 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21694 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21695 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21696 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21697 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21698 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21699 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21700 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21701 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21702 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21703 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21704 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21705 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21706
58985aa9
UD
217072011-10-24 Ulrich Drepper <drepper@gmail.com>
21708
202c9deb
UD
21709 * sysdeps/x86_64/dla.h: Move to ...
21710 * sysdeps/x86_64/fpu/dla.h: ...here.
21711 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21712 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 21713
af968f62
UD
21714 * config.make.in: Add have-mfma4 entry.
21715 * configure.in: Substitute libc_cv_cc_fma4.
21716 * math/Makefile (dbl-only-routines): Add sincostab.
21717 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21718 Use __sincostab not sincos.
21719 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21720 name is a macro.
21721 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21722 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21723 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21724 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21725 using __copysign.
21726 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21727 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21728 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21729 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21730 and __inv.
21731 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21732 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21733 __copysign.
21734 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21735 define aliases when function name is a macro.
21736 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21737 sysdeps/ieee754/dbl-64/sincos.tbl.
21738 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21739 fma4-enabled routines.
21740 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21741 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21742 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21743 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21744 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21745 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21746 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21747 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21748 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21749 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21750 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21751 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21752 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21753 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21754 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21755 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21756 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21757 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21758 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21759 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21760 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21761 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21762 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21763 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21764 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21765 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21766 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21767 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21768 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21769 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21770
58985aa9
UD
21771 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21772 rename.
21773 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21774 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21775 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21776 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21777 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21778 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21779 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21780 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21781
a201fbcf
AS
217822011-10-24 Andreas Schwab <schwab@redhat.com>
21783
21784 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21785
fc2ee42a
LD
217862011-10-23 Ulrich Drepper <drepper@gmail.com>
21787
bb3129bd
UD
21788 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21789
0275fff8
UD
21790 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21791 prediction.
21792 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21793
2fa2ae85
UD
21794 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21795 Remove unused variable magic_bits.
21796 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21797
fc2ee42a
LD
21798 * string/strnlen.c: Define and use STRNLEN macro.
21799 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21800 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21801 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21802 * wcsmbs/wcslen.c: Define and use WCSLEN.
21803 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21804 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21805 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21806 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21807 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21808 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21809 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21810
ce7dd29f
LD
218112011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21812
21813 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21814 strnlen-sse2-no-bsf.
21815 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21816 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21817 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21818 Add strnlen support.
21819 (USE_AS_STRNLEN): New macro.
21820 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21821 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21822 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21823 * sysdeps/x86_64/wcslen.S: New file.
21824
979c70a3
MZ
218252011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21826
21827 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21828 XMM-moves are used for copying on small sizes.
21829
2d09f82f
LD
218302011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21831
21832 * wcsmbs/Makefile (strop-tests): Add wcschr.
21833 * wcsmbs/test-wcschr.c: New file.
21834 * string/test-strchr.c: Update.
21835 Add wcschr support.
21836 (WIDE): New macro.
21837
619fccca
LD
218382011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21839
2d09f82f 21840 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
21841 * wcsmbs/test-wcslen.c: New file.
21842 * string/test-strlen.c: Update.
21843 Add wcslen support.
21844 (WIDE): New macro.
21845
09f699ea
UD
218462011-10-23 Ulrich Drepper <drepper@gmail.com>
21847
21848 * po/it.po: Update from translation team.
21849
95584d3b
LD
218502011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21851
21852 * sysdeps/x86_64/wcscmp.S: Update.
21853 Fix wrong comparison semantics.
21854 wcscmp shall use signed comparison not unsigned.
21855 Don't use substraction to avoid overflow bug.
21856 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21857 * wcsmbc/wcscmp.c: Likewise.
21858 * string/test-strcmp.c: Likewise.
21859 Add new tests to check cases with negative values.
21860
c8b3296b
UD
218612011-10-23 Ulrich Drepper <drepper@gmail.com>
21862
21863 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21864 * sysdeps/x86_64/dla.h: ...here. New file.
21865 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21866 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21867 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21868 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21869 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21870 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21871 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21872 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21873 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21874
246ad57a
AS
218752011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21876
21877 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21878 __ynl_finite aliases.
21879
a1a87169
UD
218802011-10-22 Ulrich Drepper <drepper@gmail.com>
21881
0d355eb7
UD
21882 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21883
a1a87169
UD
21884 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21885 define DLA_FMA.
21886 [DLA_FMA] (EMULV): Use DLA_FMA.
21887 [DLA_FMA] (MUL12): Use EMULV.
21888 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21889 that are not needed.
21890 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21891 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21892 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21893 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21894 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21895 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21896 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21897
ee2aafe0
AS
218982011-10-22 Andreas Schwab <schwab@linux-m68k.org>
21899
21900 * math/s_nan.c: Undef __nan.
21901 * math/s_nanf.c: Undef __nanf.
21902 * math/s_nanl.c: Undef __nanl.
21903 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21904 "math_private.h".
21905
bc62c2fb
UD
219062011-10-22 Ulrich Drepper <drepper@gmail.com>
21907
77425c63
UD
21908 * math/s_catan.c: Add branch predictions.
21909 * math/s_catanf.c: Likewise.
21910 * math/s_catanh.c: Likewise.
21911 * math/s_catanhf.c: Likewise.
21912 * math/s_catanhl.c: Likewise.
21913 * math/s_catanl.c: Likewise.
21914 * math/s_cexp.c: Likewise.
21915 * math/s_cexpf.c: Likewise.
21916 * math/s_cexpl.c: Likewise.
21917 * math/s_clog.c: Likewise.
21918 * math/s_clog10.c: Likewise.
21919 * math/s_clog10f.c: Likewise.
21920 * math/s_clog10l.c: Likewise.
21921 * math/s_clogf.c: Likewise.
21922 * math/s_clogl.c: Likewise.
21923 * math/s_csqrt.c: Likewise.
21924 * math/s_csqrtf.c: Likewise.
21925 * math/s_csqrtl.c: Likewise.
21926 * math/s_ctanf.c: Likewise.
21927 * math/s_ctanh.c: Likewise.
21928 * math/s_ctanhf.c: Likewise.
21929 * math/s_ctanhl.c: Likewise.
21930 * math/s_ctanl.c: Likewise.
21931
bc62c2fb
UD
21932 * math/math_private.h: Define __nan, __nanf, __nanl.
21933 * math/s_cacosh.c: Include <math_private.h>.
21934 * math/s_cacoshl.c: Likewise.
21935 * math/s_casinh.c: Likewise.
21936 * math/s_casinhf.c: Likewise.
21937 * math/s_casinhl.c: Likewise.
21938 * math/s_ccos.c: Rely entire on ccosh.
21939 * math/s_ccosf.c: Rely entire on ccoshf.
21940 * math/s_ccosl.c: Rely entirely on ccoshl.
21941 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
21942 Remove tests for FE_INVALID.
21943 * math/s_ccoshf.c: Likewise.
21944 * math/s_ccoshl.c: Likewise.
21945 * math/s_csin.c: Likewise.
21946 * math/s_csinf.c: Likewise.
21947 * math/s_csinh.c Likewise.
21948 * math/s_csinhf.c: Likewise.
21949 * math/s_csinhl.c: Likewise.
21950 * math/s_csinl.c: Likewise.
21951 * math/s_ctan.c: Likewise.
21952 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21953 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21954 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21955
8ec250a4
UD
219562011-10-21 Ulrich Drepper <drepper@gmail.com>
21957
c196fed8
UD
21958 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21959 compilation problems.
21960
8ec250a4
UD
21961 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21962 __builtin_expect.
21963
8d4f46c6
UD
219642011-10-20 Ulrich Drepper <drepper@gmail.com>
21965
ed72b654
UD
21966 * sysdeps/i386/configure.in: Test for -mfma4 option.
21967 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21968 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21969 COMMON_CPUID_INDEX_80000001.
21970 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21971 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21972 use it if FMA3 is not supported.
21973 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21974
8d4f46c6
UD
21975 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21976 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21977
d45c60c2
AS
219782011-10-20 Andreas Schwab <schwab@redhat.com>
21979
21980 [BZ #12892]
21981 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21982 it would create a cycle with a link time dependency.
21983
d9a4d2ab
UD
219842011-10-19 Ulrich Drepper <drepper@gmail.com>
21985
855d1560
UD
21986 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21987 instruction.
21988 * string/Makefile (strop-tests): Add rawmemchr.
21989 * string/test-rawmemchr.c: New file.
21990
d9a4d2ab
UD
21991 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21992 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
21993 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
21994 when compiling str{,n}casecmp and when AVX is available. Hook up
21995 new optimized code in initializers.
21996
8f3b1ffe
AS
219972011-10-19 Andreas Schwab <schwab@redhat.com>
21998
21999 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22000 __feraiseexcept instead of feraiseexcept.
22001
d38f1dba
UD
220022011-10-18 Ulrich Drepper <drepper@gmail.com>
22003
d9a8d0ab
UD
22004 * math/math_private.h: Define defaults for libc_fetestexcept and
22005 libc_feupdateenv.
22006 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22007 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22008 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22009 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22010 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22011 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22012 libc_fetestexcept and libc_feupdateenv.
22013
4855e3dd
UD
22014 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22015 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22016 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22017 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22018 libc_feholdexcept_setround.
22019
581d30e3
UD
22020 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22021 Add s_nearbyint-c and s_nearbyintf-c.
22022 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22023 nearbyintf inlines.
22024 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22025 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22026 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22027 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22028
d38f1dba
UD
22029 * math/math_private.h: Define defaults for libc_fegetround,
22030 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22031 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22032 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22033 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22034 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22035 standard functions.
22036 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22037 Remove comments and hacks for old compiler versions.
22038 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22039 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22040 libc_feholdexceptl.
22041
caa6c9d8
AS
220422011-10-18 Andreas Schwab <schwab@redhat.com>
22043
22044 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
22045 (__feraiseexcept_renamed): Add __NTH.
22046 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
22047 namespace violations.
22048
97c066e6
UD
220492011-10-17 Ulrich Drepper <drepper@gmail.com>
22050
99ce7b04
UD
22051 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22052
1004d182
UD
22053 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22054
228a984d
UD
22055 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22056 recently added interfaces.
22057 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22058
c8553a6a
UD
22059 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22060 about macro parameter expansion.
22061
ed22dcf6
UD
22062 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22063 __NO_MATH_INLINES is defined. Cleanups.
22064
22065 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22066 and __floorf is target has SSE4.1.
22067 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22068 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22069 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22070 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22071
b171c137
UD
22072 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22073 name.
22074 (floorf): Likewise.
22075
97c066e6
UD
22076 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22077
629f62ef
AS
220782011-10-17 Andreas Schwab <schwab@redhat.com>
22079
49a43d80
AS
22080 * misc/sys/cdefs.h: Fix last change.
22081
629f62ef
AS
22082 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22083 database lookup.
22084
e453f6cd
UD
220852011-10-16 Ulrich Drepper <drepper@gmail.com>
22086
aa78043a
UD
22087 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22088
ad0f5cad
UD
22089 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22090 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22091 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22092 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22093 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22094 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22095 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22096 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22097 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22098 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22099 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22100 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22101 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22102 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22103 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22104 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22105 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22106 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22107 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22108 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22109 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22110 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22111
22112 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22113 ceil, ceilf, floor, floorf.
22114
22115 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22116 Perform IRELATIVE relocations last.
22117
e453f6cd
UD
22118 * elf/do-rel.h: Add another parameter nrelative, replacing the
22119 local variable with the same name. Change name of the function
22120 to end in Rel or Rela (uppercase).
22121 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22122 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22123 elf_dynamic_do_##reloc function.
22124
fd5bdc09
UD
221252011-10-15 Ulrich Drepper <drepper@gmail.com>
22126
79b195b5
UD
22127 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22128 is sufficient, at least on modern CPUs.
22129
d4a28569
UD
22130 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22131
b61099b5
UD
22132 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22133 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22134
bcf01e6d
UD
22135 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22136 __expl_finite.
22137 * math/bits/math-finite.h: Add entries for exp.
22138 * math/e_expl.c: Add __*_finite alias.
22139 * sysdeps/i386/fpu/e_exp.S: Likewise.
22140 * sysdeps/i386/fpu/e_expf.S: Likewise.
22141 * sysdeps/i386/fpu/e_expl.c: Likewise.
22142 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22143 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22144 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22145 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22146 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22147 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22148 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22149
ba1a0d59
UD
22150 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22151 is sufficient, at least on modern CPUs.
22152
fd5bdc09
UD
22153 * ctype/ctype-info.c (__ctype_init): Define.
22154 * include/ctype.h (__ctype_init): Declare.
22155 (__ctype_b_loc): The variable is always initialized.
22156 (__ctype_toupper_loc): Likewise.
22157 (__ctype_tolower_loc): Likewise.
22158 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22159 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22160
7872cfb0
AS
221612011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22162
b468825a
AS
22163 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22164
7872cfb0
AS
22165 * configure.in: Also look in $cxxmachine/include for C++ system
22166 headers.
22167
be13f7bf
LD
221682011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22169
22170 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22171 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22172 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22173 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22174 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22175 (USE_AS_WMEMCMP): New macro.
22176 Fixing indents.
22177 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22178 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22179 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22180 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22181 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22182 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22183 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22184 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22185 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22186 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22187 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22188 (USE_AS_WMEMCMP): New macro.
22189 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22190 * sysdeps/string/test-memcmp.c: Update.
22191 Fix simple_wmemcmp.
22192 Add new tests.
22193 * wcsmbs/wmemcmp.c: Update.
22194 (WMEMCMP): New macro.
22195 Fix overflow bug.
22196
556a2007
AJ
221972011-10-12 Andreas Jaeger <aj@suse.de>
22198
22199 [BZ #13268]
22200 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22201
538faaa7
UD
222022011-10-15 Ulrich Drepper <drepper@gmail.com>
22203
ab6737ff
UD
22204 * libio/iofwide.c (do_length): Avoid warning.
22205
538faaa7
UD
22206 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22207
396a21b1
UD
222082011-10-14 Ulrich Drepper <drepper@gmail.com>
22209
cdf2901f
UD
22210 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22211
38ad40ce
UD
22212 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22213 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22214 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22215 * sysdeps/i386/i686/fpu/e_log.S: New file.
22216 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22217 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22218
396a21b1
UD
22219 * ctype/ctype.h: Add support for inlined isXXX functions when
22220 compiling C++ code.
22221
6b1f68c9
AS
222222011-10-14 Andreas Schwab <schwab@redhat.com>
22223
349290c0
AS
22224 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22225
6b1f68c9
AS
22226 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22227
f2282d42
RM
222282011-10-13 Roland McGrath <roland@hack.frob.com>
22229
22230 [BZ #13291]
22231 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22232
5298ffa8
AS
222332011-10-13 Andreas Schwab <schwab@redhat.com>
22234
714fad23
AS
22235 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22236 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22237 feraiseexcept.
22238
81dcc7fb
AS
22239 * sysdeps/x86_64/memrchr.S: Check for zero size.
22240
5298ffa8
AS
22241 * string/stratcliff.c: Add memrchr tests.
22242
951fbcec
LD
222432011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22244
22245 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22246 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22247 rawmemchr-sse2 rawmemchr-sse2-bsf.
22248 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22249 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22250 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22251 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22252 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22253 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22254 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22255 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22256 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22257 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22258 * string/memrchr.c (MEMRCHR): New macro.
22259
0ac5ae23
UD
222602011-10-12 Ulrich Drepper <drepper@gmail.com>
22261
22262 Add integration with gcc's -ffinite-math-only and optimize wrapper
22263 functions in libm.
22264 * Versions.def: Define GLIBC_2.15 version for libm.
22265 * math/Makefile (headers): Add bits/math-finite.h.
22266 * math/bits/math-finite.h: New file.
22267 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22268 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22269 * math/e_acoshl.c: Add __*_finite alias.
22270 * math/e_acosl.c: Likewise.
22271 * math/e_asinl.c: Likewise.
22272 * math/e_atan2l.c: Likewise.
22273 * math/e_atanhl.c: Likewise.
22274 * math/e_coshl.c: Likewise.
22275 * math/e_exp10.c: Likewise.
22276 * math/e_exp10f.c: Likewise.
22277 * math/e_exp10l.c: Likewise.
22278 * math/e_exp2l.c: Likewise.
22279 * math/e_fmodl.c: Likewise.
22280 * math/e_gammal_r.c: Likewise.
22281 * math/e_hypotl.c: Likewise.
22282 * math/e_j0l.c: Likewise.
22283 * math/e_j1l.c: Likewise.
22284 * math/e_jnl.c: Likewise.
22285 * math/e_lgammal_r.c: Likewise.
22286 * math/e_log10l.c: Likewise.
22287 * math/e_log2l.c: Likewise.
22288 * math/e_logl.c: Likewise.
22289 * math/e_powl.c: Likewise.
22290 * math/e_sinhl.c: Likewise.
22291 * math/e_sqrtl.c: Likewise.
22292 * math/e_scalb.c: Completely rewritten and optimized.
22293 * math/e_scalbf.c: Likewise.
22294 * math/e_scalbl.c: Likewise.
22295 * math/w_acos.c: Likewise.
22296 * math/w_acosf.c: Likewise.
22297 * math/w_acosl.c: Likewise.
22298 * math/w_acosh.c: Likewise.
22299 * math/w_acoshf.c: Likewise.
22300 * math/w_acoshl.c: Likewise.
22301 * math/w_asin.c: Likewise.
22302 * math/w_asinf.c: Likewise.
22303 * math/w_asinl.c: Likewise.
22304 * math/w_atan2.c: Likewise.
22305 * math/w_atan2f.c: Likewise.
22306 * math/w_atan2l.c: Likewise.
22307 * math/w_atanh.c: Likewise.
22308 * math/w_atanhf.c: Likewise.
22309 * math/w_atanhl.c: Likewise.
22310 * math/w_exp10.c: Likewise.
22311 * math/w_exp10f.c: Likewise.
22312 * math/w_exp10l.c: Likewise.
22313 * math/w_fmod.c: Likewise.
22314 * math/w_fmodf.c: Likewise.
22315 * math/w_fmodl.c: Likewise.
22316 * math/w_j0.c: Likewise.
22317 * math/w_j0f.c: Likewise.
22318 * math/w_j0l.c: Likewise.
22319 * math/w_j1.c: Likewise.
22320 * math/w_j1f.c: Likewise.
22321 * math/w_j1l.c: Likewise.
22322 * math/w_jn.c: Likewise.
22323 * math/w_jnf.c: Likewise.
22324 * math/w_log.c: Likewise.
22325 * math/w_logf.c: Likewise.
22326 * math/w_logl.c: Likewise.
22327 * math/w_log10.c: Likewise.
22328 * math/w_log10f.c: Likewise.
22329 * math/w_log10l.c: Likewise.
22330 * math/w_log2.c: Likewise.
22331 * math/w_log2f.c: Likewise.
22332 * math/w_log2l.c: Likewise.
22333 * math/w_pow.c: Likewise.
22334 * math/w_powf.c: Likewise.
22335 * math/w_powl.c: Likewise.
22336 * math/w_remainder.c: Likewise.
22337 * math/w_remainderf.c: Likewise.
22338 * math/w_remainderl.c: Likewise.
22339 * math/w_scalb.c: Likewise.
22340 * math/w_scalbf.c: Likewise.
22341 * math/w_scalbl.c: Likewise.
22342 * math/w_sqrt.c: Likewise.
22343 * math/w_sqrtf.c: Likewise.
22344 * math/w_sqrtl.c: Likewise.
22345 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22346 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22347 used.
22348 * math/math_private.h: Declare __kernel_standard_f.
22349 * math/w_cosh.c: Remove cruft and optimize a bit.
22350 * math/w_coshf.c: Likewise.
22351 * math/w_coshl.c: Likewise.
22352 * math/w_exp2.c: Likewise.
22353 * math/w_exp2f.c: Likewise.
22354 * math/w_exp2l.c: Likewise.
22355 * math/w_hypot.c: Likewise.
22356 * math/w_hypotf.c: Likewise.
22357 * math/w_hypotl.c: Likewise.
22358 * math/w_lgamma.c: Likewise.
22359 * math/w_lgamma_r.c: Likewise.
22360 * math/w_lgammaf.c: Likewise.
22361 * math/w_lgammaf_r.c: Likewise.
22362 * math/w_lgammal.c: Likewise.
22363 * math/w_lgammal_r.c: Likewise.
22364 * math/w_sinh.c: Likewise.
22365 * math/w_sinhf.c: Likewise.
22366 * math/w_sinhl.c: Likewise.
22367 * math/w_tgamma.c: Likewise.
22368 * math/w_tgammaf.c: Likewise.
22369 * math/w_tgammal.c: Likewise.
22370 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22371 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22372 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22373 Minor optimizations. Pretty printing. Remove cruft.
22374 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22375 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22376 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22377 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22378 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22379 * sysdeps/i386/fpu/e_asin.S: Likewise.
22380 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22381 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22382 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22383 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22384 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22385 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22386 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22387 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22388 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22389 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22390 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22391 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22392 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22393 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22394 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22395 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22396 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22397 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22398 * sysdeps/i386/fpu/e_log.S: Likewise.
22399 * sysdeps/i386/fpu/e_log10.S: Likewise.
22400 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22401 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22402 * sysdeps/i386/fpu/e_log2.S: Likewise.
22403 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22404 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22405 * sysdeps/i386/fpu/e_logf.S: Likewise.
22406 * sysdeps/i386/fpu/e_logl.S: Likewise.
22407 * sysdeps/i386/fpu/e_pow.S: Likewise.
22408 * sysdeps/i386/fpu/e_powf.S: Likewise.
22409 * sysdeps/i386/fpu/e_powl.S: Likewise.
22410 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22411 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22412 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22413 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22414 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22415 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22416 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22417 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22418 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22419 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22420 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22421 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22422 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22423 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22424 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22425 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22426 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22427 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22428 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22429 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22430 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22431 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22432 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22433 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22434 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22435 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22436 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22437 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22438 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22439 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22440 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22441 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22442 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22443 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22444 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22445 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22446 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22447 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22448 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22449 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22450 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22451 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22452 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22453 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22454 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22455 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22456 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22457 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22458 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22459 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22460 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22461 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22462 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22463 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22464 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22465 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22466 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22467 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22468 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22469 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22470 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22471 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22472 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22473 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22474 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22475 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22476 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22477 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22478 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22479 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22480 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22481 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22482 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22483 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22484 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22485 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22486 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22487 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22488 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22489 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22490 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22491 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22492 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22493 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22494 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22495 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22496 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22497 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22498 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22499 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22500 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22501 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22502 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22503 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22504 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22505 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22506 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22507 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22508 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22509 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22510 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22511 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22512 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22513 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22514 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22515 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22516 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22517 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22518 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22519 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22520 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22521 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22522 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22523 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22524 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22525 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22526 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22527 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22528 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22529 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22530 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22531 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22532 (__isnanf): Likewise.
22533 (__isinf_ns): Likewise.
22534 (__isinf_nsf): Likewise.
22535 (__finite): Likewise.
22536 (__finitef): Likewise.
22537 (__ieee754_sqrt): Define as macro.
22538 (__ieee754_sqrtf): Define as macro.
22539 (__ieee754_sqrtl): Define as macro.
22540 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22541 inlined copy.
22542 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22543 __FINITE_MATH_ONLY__ consistent.
22544 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22545
12cc2fcd
AS
225462011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22547
a843a204
AS
22548 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22549 of rawmemchr.
22550
12cc2fcd
AS
22551 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22552
c853acd5
UD
225532011-10-09 Ulrich Drepper <drepper@gmail.com>
22554
22555 * po/ja.po: Update from translation team.
22556
c658d255
RM
225572011-10-08 Roland McGrath <roland@hack.frob.com>
22558
110946e4
RM
22559 * locale/programs/locarchive.c (prepare_address_space): New function.
22560 (create_archive, enlarge_archive, open_archive): Use it.
22561
50604220
RM
22562 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22563 inside [SHARED], where it is used.
22564
c658d255
RM
22565 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22566
22567 * nss/getent.c (netgroup_keys): Remove unused variable.
22568 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22569
6a621eb7
UD
225702011-10-08 Ulrich Drepper <drepper@gmail.com>
22571
7edb55ce
UD
22572 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22573 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22574 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22575 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22576 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22577 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22578 * math/Makefile (libm-calls): Add s_isinf_ns.
22579 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22580 * math/multc3.c: Likewise.
22581 * math/s_casin.c: Likewise.
22582 * math/s_casinf.c: Likewise.
22583 * math/s_casinl.c: Likewise.
22584 * math/s_ccos.c: Likewise.
22585 * math/s_ccosf.c: Likewise.
22586 * math/s_ccosl.c: Likewise.
22587 * math/s_ctan.c: Likewise.
22588 * math/s_ctanf.c: Likewise.
22589 * math/s_ctanh.c: Likewise.
22590 * math/s_ctanhf.c: Likewise.
22591 * math/s_ctanhl.c: Likewise.
22592 * math/s_ctanl.c: Likewise.
22593 * math/w_fmod.c: Likewise.
22594 * math/w_fmodf.c: Likewise.
22595 * math/w_fmodl.c: Likewise.
22596 * math/w_remainder.c: Likewise.
22597 * math/w_remainderf.c: Likewise.
22598 * math/w_remainderl.c: Likewise.
22599 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22600 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22601 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22602 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22603 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22604 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22605 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22606 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22607
187da0ae
UD
22608 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22609 of the number.
22610 * stdio-common/printf_fphex.c: Likewise.
22611 * stdio-common/printf_size.c: Likewise.
22612
9277c064
UD
22613 * math/e_exp10.c: Include math_private.h using <...> not "...".
22614 * math/e_exp10f.c: Likewise.
22615 * math/e_exp10l.c: Likewise.
22616 * math/e_exp2l.c: Likewise.
22617 * math/e_j0l.c: Likewise.
22618 * math/e_j1l.c: Likewise.
22619 * math/e_jnl.c: Likewise.
22620 * math/e_lgammal_r.c: Likewise.
22621 * math/e_rem_pio2l.c: Likewise.
22622 * math/e_scalb.c: Likewise.
22623 * math/e_scalbf.c: Likewise.
22624 * math/e_scalbl.c: Likewise.
22625 * math/k_cosl.c: Likewise.
22626 * math/k_sinl.c: Likewise.
22627 * math/k_tanl.c: Likewise.
22628 * math/s_cacoshf.c: Likewise.
22629 * math/s_catan.c: Likewise.
22630 * math/s_catanf.c: Likewise.
22631 * math/s_catanh.c: Likewise.
22632 * math/s_catanhf.c: Likewise.
22633 * math/s_catanhl.c: Likewise.
22634 * math/s_catanl.c: Likewise.
22635 * math/s_ccosh.c: Likewise.
22636 * math/s_ccoshf.c: Likewise.
22637 * math/s_ccoshl.c: Likewise.
22638 * math/s_cexp.c: Likewise.
22639 * math/s_cexpf.c: Likewise.
22640 * math/s_cexpl.c: Likewise.
22641 * math/s_clog.c: Likewise.
22642 * math/s_clog10.c: Likewise.
22643 * math/s_clog10f.c: Likewise.
22644 * math/s_clog10l.c: Likewise.
22645 * math/s_clogf.c: Likewise.
22646 * math/s_clogl.c: Likewise.
22647 * math/s_csin.c: Likewise.
22648 * math/s_csinf.c: Likewise.
22649 * math/s_csinh.c: Likewise.
22650 * math/s_csinhf.c: Likewise.
22651 * math/s_csinhl.c: Likewise.
22652 * math/s_csinl.c: Likewise.
22653 * math/s_csqrt.c: Likewise.
22654 * math/s_csqrtf.c: Likewise.
22655 * math/s_csqrtl.c: Likewise.
22656 * math/s_ctan.c: Likewise.
22657 * math/s_ctanf.c: Likewise.
22658 * math/s_ctanh.c: Likewise.
22659 * math/s_ctanhf.c: Likewise.
22660 * math/s_ctanhl.c: Likewise.
22661 * math/s_ctanl.c: Likewise.
22662 * math/s_ldexp.c: Likewise.
22663 * math/s_ldexpf.c: Likewise.
22664 * math/s_ldexpl.c: Likewise.
22665 * math/s_significand.c: Likewise.
22666 * math/s_significandf.c: Likewise.
22667 * math/s_significandl.c: Likewise.
22668 * math/w_acos.c: Likewise.
22669 * math/w_acosf.c: Likewise.
22670 * math/w_acosh.c: Likewise.
22671 * math/w_acoshf.c: Likewise.
22672 * math/w_acoshl.c: Likewise.
22673 * math/w_acosl.c: Likewise.
22674 * math/w_asin.c: Likewise.
22675 * math/w_asinf.c: Likewise.
22676 * math/w_asinl.c: Likewise.
22677 * math/w_atan2.c: Likewise.
22678 * math/w_atan2f.c: Likewise.
22679 * math/w_atan2l.c: Likewise.
22680 * math/w_atanh.c: Likewise.
22681 * math/w_atanhf.c: Likewise.
22682 * math/w_atanhl.c: Likewise.
22683 * math/w_cosh.c: Likewise.
22684 * math/w_coshf.c: Likewise.
22685 * math/w_coshl.c: Likewise.
22686 * math/w_dremf.c: Likewise.
22687 * math/w_exp10.c: Likewise.
22688 * math/w_exp10f.c: Likewise.
22689 * math/w_exp10l.c: Likewise.
22690 * math/w_exp2.c: Likewise.
22691 * math/w_exp2f.c: Likewise.
22692 * math/w_fmod.c: Likewise.
22693 * math/w_fmodf.c: Likewise.
22694 * math/w_fmodl.c: Likewise.
22695 * math/w_hypot.c: Likewise.
22696 * math/w_hypotf.c: Likewise.
22697 * math/w_hypotl.c: Likewise.
22698 * math/w_j0.c: Likewise.
22699 * math/w_j0f.c: Likewise.
22700 * math/w_j0l.c: Likewise.
22701 * math/w_j1.c: Likewise.
22702 * math/w_j1f.c: Likewise.
22703 * math/w_j1l.c: Likewise.
22704 * math/w_jn.c: Likewise.
22705 * math/w_jnf.c: Likewise.
22706 * math/w_jnl.c: Likewise.
22707 * math/w_lgamma.c: Likewise.
22708 * math/w_lgamma_r.c: Likewise.
22709 * math/w_lgammaf.c: Likewise.
22710 * math/w_lgammaf_r.c: Likewise.
22711 * math/w_lgammal.c: Likewise.
22712 * math/w_lgammal_r.c: Likewise.
22713 * math/w_log.c: Likewise.
22714 * math/w_log10.c: Likewise.
22715 * math/w_log10f.c: Likewise.
22716 * math/w_log10l.c: Likewise.
22717 * math/w_log2.c: Likewise.
22718 * math/w_log2f.c: Likewise.
22719 * math/w_log2l.c: Likewise.
22720 * math/w_logf.c: Likewise.
22721 * math/w_logl.c: Likewise.
22722 * math/w_pow.c: Likewise.
22723 * math/w_powf.c: Likewise.
22724 * math/w_powl.c: Likewise.
22725 * math/w_remainder.c: Likewise.
22726 * math/w_remainderf.c: Likewise.
22727 * math/w_remainderl.c: Likewise.
22728 * math/w_scalb.c: Likewise.
22729 * math/w_scalbf.c: Likewise.
22730 * math/w_scalbl.c: Likewise.
22731 * math/w_sinh.c: Likewise.
22732 * math/w_sinhf.c: Likewise.
22733 * math/w_sinhl.c: Likewise.
22734 * math/w_sqrt.c: Likewise.
22735 * math/w_sqrtf.c: Likewise.
22736 * math/w_sqrtl.c: Likewise.
22737 * math/w_tgamma.c: Likewise.
22738 * math/w_tgammaf.c: Likewise.
22739 * math/w_tgammal.c: Likewise.
22740
6a621eb7
UD
22741 * po/ja.po: Update from translation team.
22742
bf582445
AJ
227432011-09-29 Andreas Jaeger <aj@suse.de>
22744
f9efbf3a
AJ
22745 [BZ #13179]
22746 * sunrpc/netname.c (netname2host): Fix logic.
22747
bf582445
AJ
22748 [BZ #6779]
22749 [BZ #6783]
22750 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22751 correctly.
22752 * math/w_remainder.c (__remainder): Likewise.
22753 * math/w_remainderf.c (__remainderf): Likewise.
22754 * math/libm-test.inc (remainder_test): Add test cases.
22755
48693bea
AK
227562011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22757
22758 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22759 sdiv_qrnnd.
22760
42622229
LD
227612011-10-07 Ulrich Drepper <drepper@gmail.com>
22762
22763 * string/test-memcmp.c: Avoid unncessary #defines.
22764 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22765
093ecf92
LD
227662011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22767
22768 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22769 Use new sse2 version for core i3 - i7 as it's faster
22770 than sse42 version.
22771 (bit_Prefer_PMINUB_for_stringop): New.
22772 * sysdeps/x86_64/rawmemchr.S: Update.
22773 Replace with faster SSE2 version.
22774 * sysdeps/x86_64/memrchr.S: New file.
22775 * sysdeps/x86_64/memchr.S: Update.
22776 Replace with faster SSE2 version.
22777
fde56e5c
MP
227782011-09-12 Marek Polacek <mpolacek@redhat.com>
22779
22780 * elf/dl-load.c (lose): Add cast to avoid warning.
22781
21fd49a9
UD
227822011-10-07 Ulrich Drepper <drepper@gmail.com>
22783
5a06e643
UD
22784 * po/ca.po: Update from translation team.
22785
684ae515
UD
22786 * inet/getnetgrent_r.c: Hook up nscd.
22787 * nscd/Makefile (routines): Add nscd_netgroup.
22788 (nscd-modules): Add netgroupcache.
22789 (CFLAGS-netgroupcache.c): Define.
22790 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22791 (cache_search): Add const to second parameter.
22792 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22793 INNETGR.
22794 (dbs): Add netgrdb entry.
22795 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22796 (verify_persistent_db): Handle netgrdb.
22797 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22798 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22799 GETFDNETGR.
22800 (netgroup_response_header): Define.
22801 (innetgroup_response_header): Define.
22802 (datahead): Add netgroup_response_header and innetgroup_response_header
22803 elements.
22804 * nscd/nscd.conf: Add entries for netgroup cache.
22805 * nscd/nscd.h (dbtype): Add netgrdb.
22806 (_PATH_NSCD_NETGROUP_DB): Define.
22807 (netgroup_iov_disabled): Declare.
22808 (xmalloc, xcalloc, xrealloc): Move declarations here.
22809 (cache_search): Adjust prototype.
22810 Add netgroup-related prototypes.
22811 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22812 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22813 (__nscd_innetgr): Declare.
22814 * nscd/selinux.c (perms): Use access_vector_t as element type and
22815 add netgroup-related initializers.
22816 * nscd/netgroupcache.c: New file.
22817 * nscd/nscd_netgroup.c: New file.
22818 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22819 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22820 For four parameters use innetgr.
22821 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22822 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22823 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22824 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22825
21fd49a9
UD
22826 * nscd/connections.c (register_traced_file): Don't register file
22827 for disabled databases.
22828
054c0457
UD
228292011-10-06 Ulrich Drepper <drepper@gmail.com>
22830
32b63198
UD
22831 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22832
054c0457
UD
22833 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22834 from tree and freeing node.
22835
64031225
JO
228362011-09-25 Jiri Olsa <jolsa@redhat.com>
22837
22838 * nss/nsswitch.c (__nss_database_lookup): Handle
22839 nss_parse_service_list out of memory case.
22840
0490345c
JO
228412011-09-15 Jiri Olsa <jolsa@redhat.com>
22842
22843 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22844 out of memory case.
22845
3a62d00d
AS
228462011-10-04 Andreas Schwab <schwab@redhat.com>
22847
22848 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22849 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22850 pass it down.
22851 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22852 elf_machine_rela, elf_machine_lazy_rel.
22853 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22854 (ELF_DYNAMIC_DO_REL): Likewise.
22855 (ELF_DYNAMIC_DO_RELA): Likewise.
22856 (ELF_DYNAMIC_RELOCATE): Likewise.
22857 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22858 to ELF_DYNAMIC_DO_REL.
22859 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22860 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22861 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22862 elf_machine_rela.
22863 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22864 skip_ifunc, don't call ifunc function if non-zero.
22865 (elf_machine_rela): Likewise.
22866 (elf_machine_lazy_rel): Likewise.
22867 (elf_machine_lazy_rela): Likewise.
22868 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22869 (elf_machine_lazy_rel): Likewise.
22870 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22871 Likewise.
22872 (elf_machine_lazy_rel): Likewise.
22873 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22874 Likewise.
22875 (elf_machine_lazy_rel): Likewise.
22876 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22877 (elf_machine_lazy_rel): Likewise.
22878 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22879 (elf_machine_lazy_rel): Likewise.
22880 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22881 (elf_machine_lazy_rel): Likewise.
22882 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22883 (elf_machine_lazy_rel): Likewise.
22884 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22885 (elf_machine_lazy_rel): Likewise.
22886 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22887 (elf_machine_lazy_rel): Likewise.
22888
68577918
UD
228892011-09-28 Ulrich Drepper <drepper@gmail.com>
22890
22891 * nss/nss_files/files-init.c (_nss_files_init): Use static
22892 initialization for all the *_traced_file variables.
22893
68822d74
AS
228942011-09-28 Andreas Schwab <schwab@redhat.com>
22895
22896 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22897
2056100b
RM
228982011-09-27 Roland McGrath <roland@hack.frob.com>
22899
22900 [BZ #13226]
22901 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22902
32c76b63
AS
229032011-09-27 Andreas Schwab <schwab@redhat.com>
22904
22905 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22906 Reread the line before reparsing it.
22907
bf972c9d
AS
229082011-09-26 Andreas Schwab <schwab@redhat.com>
22909
22910 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22911
e057a1b5
JM
229122011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
22913 Maxim Kuvyrkov <maxim@codesourcery.com>
22914 Joseph Myers <joseph@codesourcery.com>
22915
22916 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22917 if needed for __stack_chk_guard.
22918
bc7e1c36
RM
229192011-09-19 Roland McGrath <roland@hack.frob.com>
22920
ecb1482f
RM
22921 * sysdeps/posix/spawni.c (script_execute): Always define it.
22922 It will be optimized away if unused.
22923 (maybe_script_execute): New function.
22924 (__spawni): Call it.
22925
bc7e1c36
RM
22926 * Makerules: Don't include tls.make.
22927 (config-tls): Always set to thread.
22928 * tls.make.c: File removed.
22929
1c3b002b
MF
229302011-09-19 Mike Frysinger <vapier@gentoo.org>
22931
22932 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22933 * config.make.in (CPPFLAGS-config): New substituted variable.
22934
2840865d
UD
229352011-09-15 Ulrich Drepper <drepper@gmail.com>
22936
88738eb6
UD
22937 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22938
cbf645a6 22939 [BZ #13192]
2840865d
UD
22940 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22941 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22942
b402e91a
RM
229432011-09-15 Roland McGrath <roland@hack.frob.com>
22944
22945 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22946 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22947 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22948 (CALL_FAIL): Likewise.
22949 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22950 (CALL_FAIL): Macro removed.
22951 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22952
4c1a1f71
UD
229532011-09-15 Ulrich Drepper <drepper@gmail.com>
22954
22955 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22956 for __FINITE_MATH_ONLY__ == 1.
22957
edc121be
AS
229582011-09-15 Andreas Schwab <schwab@redhat.com>
22959
22960 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22961 __ieee754_sqrt instead of sqrt.
22962 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22963 __ieee754_sqrtf instead of sqrtf.
22964 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22965 __floorf instead of floorf.
22966 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22967 __floorf, __truncf instead of floorf, truncf.
22968
cd205654
UD
229692011-09-14 Ulrich Drepper <drepper@gmail.com>
22970
ee4d0315
UD
22971 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22972
cd205654
UD
22973 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22974 __extern_always_inline.
22975 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22976 32-bit.
22977
48b67d71
AS
229782011-09-14 Andreas Schwab <schwab@redhat.com>
22979
22980 * elf/rtld.c (dl_main): Also relocate in dependency order when
22981 doing symbol dependency testing.
22982
1ae12c75
AS
229832011-09-13 Andreas Schwab <schwab@linux-m68k.org>
22984
22985 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22986 Always define `refsym'.
22987
995a80df
AS
229882011-09-13 Andreas Schwab <schwab@redhat.com>
22989
e529793b
AS
22990 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22991 (__FD_ELT): Renamed from __FDELT.
22992 * misc/bits/select2.h (__FD_ELT): Likewise.
22993 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22994 __FD_MASK instead of __FDELT, __FDMASK.
22995 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22996 Likewise.
22997 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22998 Likewise.
22999
52d4fef8
AS
23000 * elf/Makefile (gen-ldd): Fix pattern.
23001
995a80df
AS
23002 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23003 (init_tls): Likewise.
23004
8682f8b0
UD
230052011-09-12 Ulrich Drepper <drepper@gmail.com>
23006
23007 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23008
de82006d
AS
230092011-09-12 Andreas Schwab <schwab@redhat.com>
23010
a7c8e6a1
AS
23011 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23012 `struct cmsghdr *' instead of `void *'.
23013 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23014 Likewise.
23015
0f31fe77
AS
230162011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23017
23018 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23019 if non-absolute.
23020 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23021 ldd_rewrite_script.
0f31fe77 23022
32b4c839
UD
230232011-09-11 Ulrich Drepper <drepper@gmail.com>
23024
83cd1420
UD
23025 * configure.in: Remove --with-tls option.
23026 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23027 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23028 out in case it is missing.
23029 * sysdeps/ia64/elf/configure.in: Likewise.
23030 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23031 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23032 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23033 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23034 * sysdeps/sh/elf/configure.in: Likewise.
23035 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23036 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23037 * sysdeps/x86_64/elf/configure.in: Likewise.
23038 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23039 * sysdeps/mach/hurd/tls.h: Likewise.
23040
633f745d
UD
23041 [BZ #13067]
23042 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23043
f318beb8
UD
23044 [BZ #13090]
23045 * configure.in: Fix use of AC_INIT.
23046
32b4c839
UD
23047 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23048
3ce1f295
UD
230492011-09-10 Ulrich Drepper <drepper@gmail.com>
23050
bb016596
UD
23051 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23052 __set_errno.
8e58439c
UD
23053 * malloc/hooks.c: Likewise.
23054
aebae053 23055 [BZ #11929]
02d46fc4
UD
23056 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23057 variables statically.
23058 (narenas): Initialize.
23059 (list_lock): Initialize.
bb016596
UD
23060 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23061 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
23062 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23063 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23064 Add initializers to main_arena and mp_.
23065 (malloc_state): Remove pagesize member. Change all users to use
23066 GLRO(dl_pagesize).
23067
23068 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23069 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23070 is always initialized.
23071
22a89187
UD
23072 * malloc/malloc.c: Removed unused configurations and dead code.
23073 * malloc/arena.c: Likewise.
23074 * malloc/hooks.c: Likewise.
02d46fc4 23075 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 23076
d063d164
UD
23077 * include/tls.h: Removed. USE___THREAD must always be defined.
23078 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23079 * elf/dl-libc.c: Likewise.
23080 * elf/dl-tsd.c: Likewise.
23081 * include/errno.h: Likewise.
23082 * include/netdb.h: Likewise.
23083 * include/resolv.h: Likewise.
23084 * inet/herrno-loc.c: Likewise.
23085 * inet/herrno.c: Likewise.
23086 * malloc/arena.c: Likewise.
23087 * malloc/hooks.c: Likewise.
23088 * malloc/malloc.c: Likewise.
23089 * resolv/res-state.c: Likewise.
23090 * resolv/res_libc.c: Likewise.
23091 * sysdeps/i386/dl-machine.h: Likewise.
23092 * sysdeps/ia64/dl-machine.h: Likewise.
23093 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23094 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23095 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23096 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23097 * sysdeps/sh/dl-machine.h: Likewise.
23098 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23099 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23100 * sysdeps/unix/i386/sysdep.S: Likewise.
23101 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23102 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23103 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23104 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23105 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23106 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23107 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23108 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23109 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23110 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23111 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23112 * sysdeps/x86_64/dl-machine.h: Likewise.
23113 * tls.make.c: Likewise.
23114
3ce1f295
UD
23115 * configure.in: Remove --with-__thread option. Make tests for
23116 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23117 tls_model attribute fail if no support is available. Remove
23118 USE_IN_LIBIO.
23119 * Makeconfig: Adjust for dropped configure option. All features are
23120 now mandatory.
23121 * Makerules: Likewise.
23122 * Versions.def: Likewise.
23123 * argp/argp-fmtstream.c: Likewise.
23124 * argp/argp-fmtstream.h: Likewise.
23125 * argp/argp-help.c: Likewise.
23126 * assert/assert.c: Likewise.
23127 * config.h.in: Likewise.
23128 * config.make.in: Likewise.
23129 * configure: Likewise.
23130 * configure.in: Likewise.
23131 * csu/Versions: Likewise.
23132 * csu/init.c: Likewise.
23133 * elf/tst-audit2.c: Likewise.
23134 * elf/tst-tls10.c: Likewise.
23135 * elf/tst-tls10.h: Likewise.
23136 * elf/tst-tls11.c: Likewise.
23137 * elf/tst-tls12.c: Likewise.
23138 * elf/tst-tls14.c: Likewise.
23139 * elf/tst-tlsmod11.c: Likewise.
23140 * elf/tst-tlsmod12.c: Likewise.
23141 * elf/tst-tlsmod13.c: Likewise.
23142 * elf/tst-tlsmod13a.c: Likewise.
23143 * elf/tst-tlsmod14a.c: Likewise.
23144 * elf/tst-tlsmod15b.c: Likewise.
23145 * elf/tst-tlsmod16a.c: Likewise.
23146 * elf/tst-tlsmod16b.c: Likewise.
23147 * elf/tst-tlsmod7.c: Likewise.
23148 * elf/tst-tlsmod8.c: Likewise.
23149 * elf/tst-tlsmod9.c: Likewise.
23150 * gmon/gmon.c: Likewise.
23151 * grp/fgetgrent_r.c: Likewise.
23152 * grp/putgrent.c: Likewise.
23153 * hurd/fopenport.c: Likewise.
23154 * include/libc-symbols.h: Likewise.
23155 * include/tls.h: Likewise.
23156 * intl/gettextP.h: Likewise.
23157 * intl/loadinfo.h: Likewise.
23158 * locale/global-locale.c: Likewise.
23159 * locale/localeinfo.h: Likewise.
23160 * mach/devstream.c: Likewise.
23161 * malloc/arena.c: Likewise.
23162 * malloc/set-freeres.c: Likewise.
23163 * misc/err.c: Likewise.
23164 * misc/getttyent.c: Likewise.
23165 * misc/mntent_r.c: Likewise.
23166 * posix/getopt.c: Likewise.
23167 * posix/wordexp.c: Likewise.
23168 * pwd/fgetpwent_r.c: Likewise.
23169 * resolv/Versions: Likewise.
23170 * resolv/res_hconf.c: Likewise.
23171 * shadow/fgetspent_r.c: Likewise.
23172 * shadow/putspent.c: Likewise.
23173 * stdio-common/printf_fphex.c: Likewise.
23174 * stdio-common/tmpfile.c: Likewise.
23175 * stdlib/abort.c: Likewise.
23176 * stdlib/fmtmsg.c: Likewise.
23177 * sunrpc/auth_unix.c: Likewise.
23178 * sunrpc/clnt_perr.c: Likewise.
23179 * sunrpc/clnt_tcp.c: Likewise.
23180 * sunrpc/clnt_udp.c: Likewise.
23181 * sunrpc/clnt_unix.c: Likewise.
23182 * sunrpc/openchild.c: Likewise.
23183 * sunrpc/svc_simple.c: Likewise.
23184 * sunrpc/svc_tcp.c: Likewise.
23185 * sunrpc/svc_udp.c: Likewise.
23186 * sunrpc/svc_unix.c: Likewise.
23187 * sunrpc/xdr.c: Likewise.
23188 * sunrpc/xdr_array.c: Likewise.
23189 * sunrpc/xdr_rec.c: Likewise.
23190 * sunrpc/xdr_ref.c: Likewise.
23191 * sunrpc/xdr_stdio.c: Likewise.
23192
1248c1c4
PB
231932011-09-09 Ulrich Drepper <drepper@gmail.com>
23194
23195 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23196
231972011-07-03 Andreas Jaeger <aj@suse.de>
23198
23199 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23200 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23201 regenerate with gen-libm-tests.pl.
23202
232032010-05-12 Petr Baudis <pasky@suse.cz>
23204
23205 [BZ #11589]
23206 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23207 around j0() zero points by switching to j1().
23208 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23209 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23210 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23211 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23212
f22e1074
UD
232132011-09-09 Ulrich Drepper <drepper@gmail.com>
23214
f19009c1
UD
23215 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23216 instead of 0.
23217 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 23218 instead of 0.
f19009c1
UD
23219 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23220 Patch in part by Pavel Roskin <proski@gnu.org>.
23221
3f8cc204
UD
23222 [BZ #13138]
23223 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23224 realloc.
23225 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23226 Free memory block if necessary.
23227
f22e1074
UD
23228 [BZ #12847]
23229 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23230 be NULL. Don't lock in this case.
23231
0a2349f9
RM
232322011-09-09 Roland McGrath <roland@hack.frob.com>
23233
23234 * elf/elf.h (ELFOSABI_GNU): New macro.
23235 (ELFOSABI_LINUX): Define to that.
23236
f3cdd467
DZ
232372011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23238
23239 * string/strncat.c (strncat): Undef the symbol in case it has been
23240 defined in bits/string.h.
23241
74718d13
UD
232422011-09-09 Ulrich Drepper <drepper@gmail.com>
23243
633e9e0f
UD
23244 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23245
0a2349f9 23246 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
23247 link map.
23248
f9924780
AJ
232492011-08-17 Andreas Jaeger <aj@suse.de>
23250
23251 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23252
7f5517aa
PP
232532011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23254 Ian Lance Taylor <iant@google.com>
23255
23256 * math/libm-test.inc (lround_test): New testcase.
23257 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23258
762011fe
UD
232592011-09-08 Ulrich Drepper <drepper@gmail.com>
23260
92963737
UD
23261 * Makefile: Remove support for automatic cvs check-ins.
23262 * Makerules: Likewise.
23263 * config.make.in: Likewise.
23264 * configure.in: Likewise.
23265 * intl/Makefile: Likewise.
23266 * locale/Makefile: Likewise.
23267 * po/Makefile: Likewise.
23268 * posix/Makefile: Likewise.
23269 * sysdeps/gnu/Makefile: Likewise.
23270 * sysdeps/mach/hurd/Makefile: Likewise.
23271 * sysdeps/sparc/sparc32/Makefile: Likewise.
23272
b0727fd8
JS
23273 [BZ #13118]
23274 * posix/Makefile (bug-regex32-ENV): Define.
23275 Patch by John Stanley <jpsinthemix@verizon.net>.
23276
a0f33f99
UD
23277 * misc/Makefile (headers): Add bits/select2.h.
23278 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23279 * misc/bits/select2.h: New file.
23280 * include/bits/select2.h: New file.
23281 * debug/Makefile (routines): Add fdelt_chk.
23282 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23283 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23284 FD_ISSET.
23285 * debug/fdelt_chk.c: New file.
23286
762011fe
UD
23287 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23288 * wcsmbs/test-wmemcmp.c: Likewise.
23289 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 23290 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
23291
232922011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23293
23294 * string/Makefile (strop-tests): Add memcmp.
23295 * string/test-wmemcmp.c: New file.
23296 * string/test-memcmp.c: Add wmemcmp support.
23297
7f513ec8
RM
232982011-09-08 Roland McGrath <roland@hack.frob.com>
23299
0442afb4
RM
23300 [BZ #13153]
23301 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23302 2011-07-19 change.
23303
7f513ec8
RM
23304 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23305 garbage value in a __mach_port_mod_refs call in the cases of the
23306 task-self and thread-self ports.
23307
a12b2239
ST
233082011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23309
23310 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23311
610f9ab4
AS
233122011-09-08 Andreas Schwab <schwab@redhat.com>
23313
7f513ec8 23314 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 23315
48882a1a
LD
233162011-09-07 Ulrich Drepper <drepper@gmail.com>
23317
b49865be
UD
23318 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23319
fdc86bc9
UD
23320 * elf/dl-libc.c (dlerror_run): Pass back error code from
23321 dl_catch_error.
23322
c966526a
UD
23323 [BZ #13123]
23324 * elf/dl-load.c (lose): Free l_origin if it is valid.
23325
48882a1a
LD
23326 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23327 names.
23328 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23329 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23330 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23331 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23332 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23333 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23334
77a2a8b4
AZ
233352011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23336
23337 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23338 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23339 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23340 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23341 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23342 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23343 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23344 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23345 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23346 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23347
24f579d8
AM
233482011-08-15 Alan Modra <amodra@gmail.com>
23349
23350 [BZ #13092]
23351 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23352 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23353 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23354 ppc_mcount to static-only-routines.
23355 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23356 __mcount_internal.
23357 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23358 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23359
3d4837df
UD
233602011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23361
23362 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23363 for finite and infinity parameters.
23364
22700377
WS
233652011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23366
23367 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23368 and add nop instructions for throughput optimization.
23369 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23370
5025581e
WS
233712011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23372
23373 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23374 aligned copy for power7 with vector-scalar instructions.
23375 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23376
08a300c9
L
233772011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23378
23379 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23380 AVX check.
23381
59178ef9
AS
233822011-09-07 Andreas Schwab <schwab@redhat.com>
23383
23384 [BZ #13144]
23385 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23386 last change.
23387
e38ba7ab
UD
233882011-09-07 Ulrich Drepper <drepper@gmail.com>
23389
23390 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23391 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23392 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23393 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23394 clock_gettime.
23395
d53a73ac
UD
233962011-09-06 Ulrich Drepper <drepper@gmail.com>
23397
fc8bffcc
UD
23398 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23399 Forgot to demangle the pointer.
23400
ceaa0c5d
UD
23401 * sysdeps/i386/sysdep.h: Define atom_text_section.
23402 * sysdeps/x86_64/sysdep.h: Likewise.
23403 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23404 section with atom_text_section.
23405 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23406 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23407 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23408 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23409 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23410
a77d3c17
UD
23411 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23412 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23413 already be defined. Change to take two parameters and don't assign
23414 result to variable. Adjust all users.
23415 Define INTERNAL_GETTIME if not already defined.
23416 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23417 call.
23418 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23419 HAVE_CLOCK_GETTIME_VSYSCALL.
23420 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23421
d53a73ac
UD
23422 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23423 gettimeofday vsyscall, just use time.
23424
a8f84144
AS
234252011-09-06 Andreas Schwab <schwab@redhat.com>
23426
23427 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23428 <errno.h>.
23429
ef606249
UD
234302011-09-06 Ulrich Drepper <drepper@gmail.com>
23431
23432 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23433 syscall on x86-64.
23434 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23435 syscall.
23436 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23437 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23438 syscall if possible.
23439
6585cb60
UD
234402011-09-05 Ulrich Drepper <drepper@gmail.com>
23441
23442 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23443 e_ident. Don't pass to find_mapsXX.
23444 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23445
a5f524e4
LD
234462011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23447
23448 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23449 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23450 * sysdeps/x86_64/multiarch/strchr.S: Update.
23451 Check bit_slow_BSF bit.
23452 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23453 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23454 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23455
554881ef
UD
234562011-09-05 Ulrich Drepper <drepper@gmail.com>
23457
d96de963
UD
23458 [BZ #13134]
23459 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23460 before glibc 2.15.
23461 (tryshell): Define.
23462 (__spawni): Change last parameter to be flag. Test
23463 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23464 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23465 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23466 * posix/spawni.c: Likewise.
23467 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23468 * posix/spawnp.c: Likewise. Change normal version to use
23469 SPAWN_XFLAGS_USE_PATH.
23470 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23471 SPAWN_XFLAGS_TRY_SHELL.
23472
d48e5868
UD
23473 [BZ #13150]
23474 * posix/glob.h: Remove gcc 1.x support.
23475
554881ef
UD
23476 [BZ #13068]
23477 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23478
693fb948
LD
234792011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23480
23481 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23482 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23483 strrchr-sse2-bsf
23484 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23485 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23486 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23487 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23488 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23489 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23490
1b48c537
UD
234912011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23492
49d42c37
UD
23493 * sysdeps/x86_64/wcscmp.S: New file.
23494
1b48c537
UD
23495 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23496 wcscmp-c wcscmp-sse2
23497 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23498 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23499 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23500 * wcsmbs/wcscmp.c: Allow renaming.
23501
15c95c5d
DM
235022011-09-05 David S. Miller <davem@davemloft.net>
23503
23504 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23505 stack slot, rather than the struct return pointer slot.
23506 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23507 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23509 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23510
2f0ad8f3
UD
235112011-09-05 Ulrich Drepper <drepper@gmail.com>
23512
d88ae418
UD
23513 * po/ja.po: Update from translation team.
23514
2f0ad8f3
UD
23515 [BZ #13144]
23516 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23517 kernel in 64-bit binaries.
23518
5f4318d1
DM
235192011-09-01 David S. Miller <davem@davemloft.net>
23520
23521 * elf/elf.h (HWCAP_SPARC_*): Move to..
23522 * sysdeps/sparc/sysdep.h: this new file and add new values.
23523 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23524 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23525 _DL_HWCAP_COUNT to 24.
23526 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23527 entries.
23528 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23529 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23530 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23531 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23532 instead of magic constants.
23533 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23534
3ba57516
DM
235352011-08-31 David S. Miller <davem@davemloft.net>
23536
23537 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23538 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23539 Reimplement to do errno handling inline.
23540 (SYSCALL_ERROR_HANDLER): New macro.
23541 (__SYSCALL_STRING): Do not do errno handling in asm.
23542 (__CLONE_SYSCALL_STRING): Delete.
23543 (__INTERNAL_SYSCALL_STRING): Delete.
23544 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23545 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23546 (PSEUDO): Reimplement to do errno handling inline.
23547 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23548 (SYSCALL_ERROR_HANDLER): New macro.
23549 (__SYSCALL_STRING): Do not do errno handling in asm.
23550 (__CLONE_SYSCALL_STRING): Delete.
23551 (__INTERNAL_SYSCALL_STRING): Delete.
23552 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23553 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23554 i386.
23555 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23556 (inline_syscall*): Add 'err' argument.
23557 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23558 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23559 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23560 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23561
23562 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23563 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23564
2bc17433
AS
235652011-08-30 Andreas Schwab <schwab@redhat.com>
23566
23567 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23568
fbeb5f4d
JO
235692011-08-29 Jiri Olsa <jolsa@redhat.com>
23570
23571 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23572 directive.
23573
ad69cc26
DM
235742011-08-24 David S. Miller <davem@davemloft.net>
23575
23576 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23577
39dd69df
AS
235782011-08-24 Andreas Schwab <schwab@redhat.com>
23579
23580 * elf/Makefile: Add rules to build and run unload8 test.
23581 * elf/unload8.c: New file.
23582 * elf/unload8mod1.c: New file.
23583 * elf/unload8mod1x.c: New file.
23584 * elf/unload8mod2.c: New file.
23585 * elf/unload8mod3.c: New file.
23586
23587 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23588 it wasn't used.
23589
2c0b250a
DM
235902011-08-23 David S. Miller <davem@davemloft.net>
23591
23592 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23593 subtract stack bias.
23594 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23595 %sp not %fp in calculations.
23596 (_JMPBUF_UNWINDS_ADJ): Likewise.
23597
22044b48
DM
23598 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23599 (aio_suspend): Call it to force an exception region around the
23600 AIO_MISC_WAIT() invocation.
23601
2cae4995
AS
236022011-08-23 Andreas Schwab <schwab@redhat.com>
23603
23604 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23605 backslash.
23606
873a772e
AJ
236072011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23608
23609 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23610 protection macro.
23611 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23612 and <dl-machine.h>.
23613 (Elf64_FuncDesc): Remove.
23614
25ad0df1
DM
236152011-08-22 David S. Miller <davem@davemloft.net>
23616
23617 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23618 sigaltstack check, add missing cfi directives.
23619 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23620 missing cfi directives, and sigaltstack handling.
23621
e888bcbe
AS
236222011-08-16 Andreas Schwab <schwab@redhat.com>
23623
23624 [BZ #11724]
23625 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23626 object is seen twice.
23627 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23628
23629 * elf/Makefile (distribute): Add tst-initorder2.c.
23630 (tests): Add tst-initorder2.
23631 (modules-names): Add tst-initorder2a tst-initorder2b
23632 tst-initorder2c tst-initorder2d. Add rules to build them.
23633 ($(objpfx)tst-initorder2.out): New rule.
23634 * elf/tst-initorder2.c: New file.
23635 * elf/tst-initorder2.exp: New file.
23636
87162f46
AS
236372011-08-22 Andreas Schwab <schwab@redhat.com>
23638
70538b7f
AS
23639 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23640
f55ffe58
AS
23641 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23642 dependencies back to end of function.
23643
87162f46
AS
23644 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23645 $(elfobjdir)/ld.so.
23646
91b392a4
UD
236472011-08-21 Ulrich Drepper <drepper@gmail.com>
23648
23649 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23650 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23651 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23652 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23653 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23654 of __vdso_gettimeofday.
23655 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23656 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23657 attribute_hidden.
23658 (_libc_vdso_platform_setup): Remove initialization of
23659 __vdso_gettimeofday and __vdso_time.
23660
5c43483f
UD
236612011-08-20 Ulrich Drepper <drepper@gmail.com>
23662
775a77e7
UD
23663 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23664 and fgetc_unlocked.
23665 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23666 getc_unlocked.
89f447ed 23667
49c74ba9
UD
23668 * elf/dl-open.c (add_to_global): Report additions to the global scope
23669 for LD_DEBUG=scopes.
23670 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 23671 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 23672
5c43483f
UD
23673 [BZ #13114]
23674 * stdio-common/Makefile (tests): Add bug24.
23675 * stdio-common/bug24.c: New file.
23676
a101b025
AJ
236772011-08-19 Andreas Jaeger <aj@suse.de>
23678
23679 [BZ #13114]
23680 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23681 non-existant file when using close-on-exec mode.
23682
c88f1766
UD
236832011-08-20 Ulrich Drepper <drepper@gmail.com>
23684
0276a718
UD
23685 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23686 the very first instruction.
23687
c88f1766
UD
23688 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23689 the CFI state in the end.
23690 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23691 inclusion of dl-trampoline.h.
23692 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23693
51ccffa0
AS
236942011-08-19 Andreas Schwab <schwab@redhat.com>
23695
94d7165f
AS
23696 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23697 expectations for long double.
23698
51ccffa0
AS
23699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23700 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23701
fd708658 237022011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
23703
23704 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23705 artificual limit depends upon the system page size.
23706
44f0a71e
UD
237072011-08-17 Ulrich Drepper <drepper@gmail.com>
23708
23709 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23710 * resolv/Makefile: Define CFLAGS-libresolv.
23711
8de79a24
AS
237122011-08-17 Andreas Schwab <schwab@redhat.com>
23713
23714 * nss/makedb.c (compute_tables): Make variables used in nested
23715 function static.
23716
27724598
UD
237172011-08-17 Ulrich Drepper <drepper@gmail.com>
23718
c5305d88
UD
23719 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23720 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23721 if buffer was too small.
23722
27724598
UD
23723 * elf/pldd.c (main): Attach to all threads in the process.
23724 Rewrite /proc handling to use *at functions.
23725
076fe015
UD
237262011-08-16 Ulrich Drepper <drepper@gmail.com>
23727
174baab3
UD
23728 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23729 specifies first scope to show.
23730 (dl_open_worker): Update callers. Move printing scope of new
23731 object to before the relocation.
44f0a71e 23732 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
23733 * sysdeps/generic/ldsodefs.h: Update declaration.
23734
076fe015
UD
23735 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23736 string for the scope number.
23737
a60df2c3
UD
237382011-08-14 Ulrich Drepper <drepper@gmail.com>
23739
23740 * nscd/servicescache.c (cache_addserv): Make sure written is always
23741 initialized.
23742
5e4287d1
RM
237432011-08-14 Roland McGrath <roland@hack.frob.com>
23744
85ae0589
RM
23745 * sysdeps/i386/i486/bits/atomic.h
23746 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23747 statement expression, so as to suppress "set but not used" warning.
23748 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23749
69f63097
RM
23750 * string/strncat.c (STRNCAT): Use prototype definition.
23751
675456ef
RM
23752 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23753 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23754 -Iprograms here.
23755 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23756 (localedef-modules): Add localedef.
23757 (locale-modules): Add locale.
23758
5e4287d1
RM
23759 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23760 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23761 to avoid a warning.
23762
9c96ff23
DM
237632011-08-14 David S. Miller <davem@davemloft.net>
23764
23765 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23766 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23767
f9ddf089
UD
237682011-08-13 Ulrich Drepper <drepper@gmail.com>
23769
44f0a71e 23770 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
23771 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23772 * elf/rtld.c (dl_main): Set l_name of vDSO.
23773 Call _dl_show_scope when DL_DEBUG_SCOPES.
23774 (process_dl_debug): Recognize scopes flag and also set it for all.
23775 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23776 Declare _dl_show_scope.
23777
1dc27704
UD
23778 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23779 (do_dlopen): Pass caller_dlopen to dl_open.
23780 (__libc_dlopen_mode): Initialize caller_dlopen.
23781
f9ddf089
UD
23782 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23783 of libc. Make tolower call locale-independent. Optimize a bit by
23784 using isdigit instead of isalnum.
23785 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23786
9ac533d3
UD
237872011-08-12 Ulrich Drepper <drepper@gmail.com>
23788
23789 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23790 was a dependency or dynamically loaded.
23791
89edf2e9
UD
237922011-08-11 Ulrich Drepper <drepper@gmail.com>
23793
8e999d29
UD
23794 * intl/l10nflist.c: Allow architecture-specific pop function.
23795 * sysdeps/x86_64/l10nflist.c: New file.
23796
89edf2e9
UD
23797 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23798 classification.
23799
14d96785
AS
238002011-08-10 Andreas Schwab <schwab@redhat.com>
23801
23802 * include/dirent.h: Add libc_hidden_proto for scandirat and
23803 scandirat64. Don't declare __scandirat64.
23804 * dirent/scandirat.c: Add libc_hidden_def.
23805 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23806 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23807
6761ac04
DM
238082011-08-10 David S. Miller <davem@davemloft.net>
23809
23810 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23811 enum.
23812 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23813 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23814 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23815
c55fbd1e
UD
238162011-08-09 Ulrich Drepper <drepper@gmail.com>
23817
23818 * Versions.def [libc]: Add GLIBC_2.15.
23819 * dirent/Makefile (routines): Add scandirat and scandirat64.
23820 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23821 GLIBC_2.15.
23822 * dirent/dirent.h: Declare scandirat and scandirat64.
23823 * dirent/scandirat.c: New file.
23824 * dirent/scandirat64.c: New file.
23825 * sysdeps/wordsize-64/scandirat.c: New file.
23826 * sysdeps/wordsize-64/scandirat64.c: New file.
23827 * dirent/opendir.c: Define opendirat.
23828 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23829 using scandirat.
23830 * dirent/scandir64.c: Adjust for scandir.c change.
23831 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23832 __scandirat64, and __scandir_cancel_handler.
23833 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23834 additional parameter and use openat instead of open (outside of ld.so).
23835 Add new __opendir as wrapper around __opendirat.
23836 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23837 here without requiring old scandirat implementation.
23838
879165f2
UD
238392011-08-08 Ulrich Drepper <drepper@gmail.com>
23840
23841 * dirent/scandir.c (cancel_handler): Renamed to
23842 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23843 defined. Adjust users.
23844 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23845 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23846
cb7e923b
UD
238472011-08-04 Ulrich Drepper <drepper@gmail.com>
23848
16292edd
UD
23849 * string/test-string.h (IMPL): Use __STRING to expand name and then
23850 stringify it.
23851
cb7e923b
UD
23852 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23853 of cleanups.
23854
cff82933
LD
238552011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23856
23857 * string/Makefile: Update.
23858 (strop-tests): Append strncat.
23859 * string/test-wcscmp.c: New file.
23860 New comprehensive test for wcscmp.
23861 * string/test-strcmp.c: Update.
23862 (WIDE): New define.
23863
9be9bfcc
AS
238642011-07-22 Andreas Schwab <schwab@redhat.com>
23865
23866 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23867 line.
23868
2e96f1c7
AS
238692011-07-26 Andreas Schwab <schwab@redhat.com>
23870
23871 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23872 encoding to ACE if AI_IDN.
23873
85188888
JJ
238742011-08-01 Jakub Jelinek <jakub@redhat.com>
23875
23876 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23877 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23878
5fa16e9b
LD
238792011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23880
23881 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23882 Fix overflow bug in strncat.
23883 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23884
23885 * string/test-strncat.c: Update.
23886 Add new tests for checking overflow bugs.
23887
238882011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23889
23890 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23891 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23892 * sysdeps/i386/i686/multiarch/strcat.S: New file.
23893 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23894 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23895 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23896 * sysdeps/i386/i686/multiarch/strncat.S: New file.
23897 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23898 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23899
23900 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23901 (USE_AS_STRCAT): Define.
23902 Add strcat and strncat support.
23903 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23904
8c1a459f
AS
239052011-07-25 Andreas Schwab <schwab@redhat.com>
23906
23907 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23908 __n bigger than INT_MAX+1.
23909 (__strncmp_g): Likewise.
23910
bba33c28
UD
239112011-07-23 Ulrich Drepper <drepper@gmail.com>
23912
798be72d
UD
23913 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23914 * libio/stido.h: Likewise.
23915
8accd4dc
UD
23916 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23917 (AF_NFC): Define.
23918 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23919 (AF_NFC): Define.
23920
cbff0d96
UD
23921 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23922 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23923 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23924 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23925 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23926
9191c04a
UD
23927 [BZ #13021]
23928 * scripts/test-installation.pl: Don't expect libnss_test1 to be
23929 installed.
23930
bba33c28
UD
23931 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23932 typo.
23933 (_dl_x86_64_save_sse): Likewise.
23934
90f139dd
UD
239352011-07-22 Ulrich Drepper <drepper@gmail.com>
23936
1aae088a
UD
23937 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23938 OSXSAVE.
23939 (_dl_x86_64_save_sse): Likewise.
23940
8e2045f5
UD
23941 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23942
90f139dd
UD
23943 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23944
1d002f25
AS
239452011-07-21 Andreas Schwab <schwab@redhat.com>
23946
23947 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23948 change.
23949 (_dl_x86_64_save_sse): Use correct AVX check.
23950
21137f89
UD
239512011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23952
23953 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23954 bug in strncpy/strncat.
23955 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23956
a65c0b7a
UD
239572011-07-21 Ulrich Drepper <drepper@gmail.com>
23958
23959 * string/tester.c (test_strcat): Add tests for different alignments
23960 of source and destination.
23961 (test_strncat): Likewise.
23962
6986b98a
UD
239632011-07-20 Ulrich Drepper <drepper@gmail.com>
23964
90bb2039
UD
23965 [BZ #12852]
23966 * posix/glob.c (glob): Check passed in values before using them in
23967 expressions to avoid some overflows.
23968 (glob_in_dir): Likewise.
23969
5644ef54
UD
23970 [BZ #13007]
23971 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23972 check for AVX enablement so that we don't crash with old kernels and
23973 new hardware.
23974 * elf/tst-audit4.c: Add same checks here.
23975 * elf/tst-audit6.c: Likewise.
23976
23977 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 23978
bfc9dc9b
AS
239792011-07-09 Andreas Schwab <schwab@linux-m68k.org>
23980
23981 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23982
702e64bb
UD
239832011-07-20 Ulrich Drepper <drepper@gmail.com>
23984
23985 * po/cs.po: Update from translation team.
23986 * po/bg.po: Likewise.
23987
295e904f
MP
239882011-07-12 Marek Polacek <mpolacek@redhat.com>
23989
23990 * misc/sys/cdefs.h: Add support for const attribute.
23991 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23992 to gnu_dev_{major,minor,makedev} functions.
23993
3ff94596
MP
239942011-07-20 Marek Polacek <mpolacek@redhat.com>
23995
23996 * intl/dcigettext.c (get_output_charset): Add missing bracket.
23997
28b59fca
AS
239982011-07-20 Andreas Schwab <schwab@redhat.com>
23999
24000 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24001 strlen results.
24002
19df733e
AK
240032011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24004
24005 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24006 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24007 register in order to avoid conflicts with the soft frame pointer
24008 being held in r11 when necessary.
24009 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24010 (INTERNAL_VSYSCALL_NCS): Likewise.
24011
c8835729
MP
240122011-07-14 Marek Polacek <mpolacek@redhat.com>
24013
24014 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24015 * elf/dl-fini.c (_dl_fini): Adjust caller.
24016 * elf/dl-close.c (_dl_close_worker): Likewise.
24017 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24018
b902330c
MP
240192011-07-15 Marek Polacek <mpolacek@redhat.com>
24020
8991e135
MP
24021 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24022 "aux_cache->nlibs < 0".
24023
b902330c
MP
24024 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24025 in the reload-count case.
24026
99710781
LD
240272011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24028
24029 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24030 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24031 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24032 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24033 * sysdeps/x86_64/multiarch/strcat.S: New file.
24034 * sysdeps/x86_64/multiarch/strncat.S: New file.
24035 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24036 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24037 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24038 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24039 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24040 (USE_AS_STRCAT): Define.
24041 Add strcat and strncat support.
24042 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24043 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24044 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24045 * string/strncat.c: Update.
24046 (USE_AS_STRNCAT): Define.
24047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24048 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24049 and i7.
24050 * sysdeps/x86_64/multiarch/init-arch.h
24051 (bit_Prefer_PMINUB_for_stringop): New.
24052 (index_Prefer_PMINUB_for_stringop): Likewise.
24053 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24054 bit_Prefer_PMINUB_for_stringop.
24055
7dc6bd90
UD
240562011-07-19 Ulrich Drepper <drepper@gmail.com>
24057
24058 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24059 buffer64.
24060 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24061 of casting of buffer.
24062 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24063 buffer32 and buffer64.
24064 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24065 writes instead of casting of buffer.
24066 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24067 buffer32.
24068 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24069 casting of buffer.
24070
e0e72284
AS
240712011-07-19 Andreas Schwab <schwab@redhat.com>
24072
24073 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24074
feb1eb0b
UD
240752011-07-19 Ulrich Drepper <drepper@gmail.com>
24076
24077 * nscd/nscd.c (termination_handler): Don't do anything for a database
24078 if it has not yet been initialized.
24079
298711ff
UD
240802011-07-18 Ulrich Drepper <drepper@gmail.com>
24081
24082 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24083
240842011-07-15 Marek Polacek <mpolacek@redhat.com>
24085
24086 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24087
f9d68389
UD
240882011-07-18 Ulrich Drepper <drepper@gmail.com>
24089
24090 * po/nl.po: Update from translation team.
24091 * po/sv.po: Likewise.
24092
db290cf5
RM
240932011-07-16 Roland McGrath <roland@hack.frob.com>
24094
24095 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24096 now disallowed by GCC.
5c550700 24097
fd5e21c7
RM
24098 * configure.in (use-default-link): Default to yes if a test -shared
24099 link meets our qualifications.
24100 * configure: Regenerated.
24101
5c550700
RM
24102 * config.make.in (output-format): New variable.
24103 * configure.in: Check for ld --print-output-format support.
24104 * configure: Regenerated.
24105 * Makerules ($(common-objpfx)format.lds)
24106 [$(output-format) != unknown]: Just use $(output-format),
24107 instead of the linker-script munging.
24108
9fa2c032
RM
241092011-07-14 Roland McGrath <roland@hack.frob.com>
24110
a6928d51
RM
24111 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24112 of $(common-objpfx)shlib.lds.
24113 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24114
661607b3
RM
24115 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24116 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24117
9fa2c032
RM
24118 * configure.in (-z relro check): Adjust test code to add a large
24119 writable data section after it.
24120 * configure: Regenerated.
24121
defe9061
RM
241222011-07-11 Roland McGrath <roland@hack.frob.com>
24123
24124 * configure.in (-z relro check): Fix test code to make the variable
24125 truly const.
24126 * configure: Regenerated.
24127
319b9ad4
UD
241282011-07-11 Ulrich Drepper <drepper@gmail.com>
24129
24130 * nscd/nscd.h (struct traced_file): Define.
24131 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24132 elements. Add traced_files.
24133 (inotify_fd): Declare.
24134 (register_traced_file): Declare.
24135 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24136 (inotify_fd): Export.
24137 (resolv_conf_descr): Remove.
24138 (nscd_init): Move inotify descriptor creation to main.
24139 Don't register files for notification here.
24140 (register_traced_file): New function.
24141 (invalidate_cache): Don't use reset_res to determine whether to call
24142 res_init, go through the list of registered files.
24143 (main_loop_poll): The inotify descriptors are now stored in the
24144 structures for the traced files.
24145 (main_loop_epoll): Likewise
24146 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24147 to __nss_disable_nscd.
24148 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24149 for a database anymore. Check the records for all the registered
24150 files instead.
24151 * nss/Makefile (libnss_files-routines): Add files-init.
24152 (libnss_db-routines): Add db-init.
24153 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24154 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24155 * nss/nss_db/db-init.c: New file.
24156 * nss/nss_files/files-init.c: New file.
24157 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24158 __nss_lookup_function.
24159 (__nss_lookup_function): Call nss_load_library.
24160 (nss_load_all_libraries): New function.
24161 (__nss_disable_nscd): Take parameter with callback function for files
24162 to register. Set is_nscd. Load all the DSOs for the NSS modules
24163 used for the cached services.
24164 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24165 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24166 options for features to all the files in nscd.
24167
24168 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24169
23bee3e8
RM
241702011-07-10 Roland McGrath <roland@hack.frob.com>
24171
24172 * csu/elf-init.c (__libc_csu_init): Comment typo.
24173
46a5b7f0
UD
241742011-07-09 Ulrich Drepper <drepper@gmail.com>
24175
24176 * po/pl.po: Update from translation team.
24177 * po/ja.po: Likewise.
24178 * po/ru.po: Likewise.
24179 * po/ko.po: Likewise.
24180 * po/fr.po: Likewise.
24181
d30cf5bb
RM
241822011-07-09 Roland McGrath <roland@hack.frob.com>
24183
113ddea4
RM
24184 * configure.in (.ctors/.dtors header and trailer check):
24185 Use an empirical test on a built program.
24186 * configure: Regenerated.
24187
574920b4
RM
24188 * configure.in (-z relro check): Use an empirical test on a built DSO.
24189 Detect, but do not require, on ia64.
24190 * configure: Regenerated.
24191
d30cf5bb
RM
24192 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24193 Update tests that use readelf to use $READELF instead.
24194 * configure: Regenerated.
24195
8538fdb3
UD
241962011-07-08 Ulrich Drepper <drepper@gmail.com>
24197
24198 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24199 if the result is not used.
24200
04d08991
AJ
242012011-07-05 Andreas Jaeger <aj@suse.de>
24202
24203 [BZ#9696]
24204 * stdlib/tst-strtod.c: Add testcase.
24205
de283087
AD
242062011-07-07 Ulrich Drepper <drepper@gmail.com>
24207
4e5f31c8 24208 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 24209 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
24210 The latter has a higher limit. Take additional parameter to pass to
24211 the new function.
24212 (__pathconf): Pass file to __statfs_link_max.
24213 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24214 __statfs_link_max.
24215 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24216 __statfs_link_max.
24217
de283087
AD
24218 [BZ #12868]
24219 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24220 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24221 Handle Lustre.
24222 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24223 (__statfs_filesize_max): Likewise.
24224 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24225
c75fa153
AJ
242262011-07-05 Andreas Jaeger <aj@suse.de>
24227
24228 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24229
1a544854
UD
242302011-07-06 Marek Polacek <mpolacek@redhat.com>
24231
24232 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24233 `status' variable.
24234 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24235 Likewise.
24236
6f0eec67
UD
242372011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24238
24239 * Makefile (strop-tests): Add strncat.
24240 * string/test-strncat.c: New file.
24241
aae30307
UD
242422011-06-30 Marek Polacek <mpolacek@redhat.com>
24243
24244 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24245
c0cfb5eb
UD
242462011-06-21 Andreas Jaeger <aj@suse.de>
24247
24248 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24249 Copy rule from iconvdata/Makefile.
24250
01636b21
UD
242512011-07-06 Ulrich Drepper <drepper@gmail.com>
24252
24253 [BZ #12922]
24254 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24255 but no long options are defined, just return 'W'.
24256
9895c8bc
UD
242572011-06-22 Marek Polacek <mpolacek@redhat.com>
24258
24259 [BZ #9696]
24260 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24261
5d4cf042
UD
242622011-07-06 Ulrich Drepper <drepper@gmail.com>
24263
24264 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24265 netgroups to read.
960e5535 24266 (innetgr): Likewise.
5d4cf042 24267
751eb97e
RM
242682011-07-05 Roland McGrath <roland@hack.frob.com>
24269
24270 * config.make.in (install_root): Default to $(DESTDIR).
24271
f15f1e45
UD
242722011-07-05 Ulrich Drepper <drepper@gmail.com>
24273
24274 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24275
4e34ac6a
RM
242762011-07-02 Roland McGrath <roland@hack.frob.com>
24277
5e9b6af4
RM
24278 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24279
84f9ea0f
RM
24280 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24281 containing directory rather than embedding absolute directory names.
24282
ea5ee9f7
RM
24283 * scripts/check-local-headers.sh: Rewritten using awk.
24284 Match by word, not by line. Print error messages for matches.
24285 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24286
1b74661a
RM
24287 * Makerules [shlib-lds-flags empty]:
24288 ($(common-objpfx)libc_pic.opts): New target.
24289 ($(common-objpfx)libc_pic.os.clean): New target.
24290 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24291
24292 * config.make.in (OBJCOPY): New variable.
24293 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24294 * configure: Regenerated.
24295
f781ef40
RM
24296 * config.make.in (use-default-link): New variable.
24297 * configure.in (use_default_link): Grok --with-default-link to set it.
24298 * configure: Regenerated.
24299 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24300 (shlib-lds, shlib-lds-flags): Define to empty.
24301
2d4fa81e
RM
24302 * Makerules (shlib-lds): New variable.
24303 (shlib-lds-flags): New variable.
24304 (build-shlib, build-moduile, build-module-asneeded): Use it.
24305 ($(common-objpfx)libc.so): Use $(shlib-lds).
24306 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24307 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24308
31fffa6b
RM
24309 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24310 DT_FLAGS/DT_FLAGS_1 with zero flags.
24311
4e34ac6a
RM
24312 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24313 linker script munging.
24314
fcfc776b
UD
243152011-07-02 Ulrich Drepper <drepper@gmail.com>
24316
24317 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24318 as 128-bit value.
24319 * crypt/sha512.c (sha512_process_block): Perform total addition using
24320 128-bit if possible.
24321 (__sha512_finish_ctx): Likewise.
24322 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24323 as 64-bit value.
24324 * crypt/sha256.c (SWAP64): Define.
24325 (sha256_process_block): Perform total addition using 64-bit if
24326 possible.
24327 (__sha256_finish_ctx): Likewise.
24328
99231d9a
UD
243292011-07-01 Ulrich Drepper <drepper@gmail.com>
24330
24331 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24332 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24333 * nscd/hstcache.c (cache_addhst): Likewise.
24334 * nscd/grpcache.c (cache_addgr): Likewise.
24335 * nscd/aicache.c (addhstaiX): Likewise
24336 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24337
445b4a53
TK
243382011-07-01 Thorsten Kukuk <kukuk@suse.de>
24339
24340 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24341 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24342 * nscd/hstcache.c (cache_addhst): Likewise.
24343 * nscd/grpcache.c (cache_addgr): Likewise.
24344 * nscd/aicache.c (addhstaiX): Likewise
24345
6d4d8e8e
AS
243462011-07-01 Andreas Schwab <schwab@redhat.com>
24347
24348 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24349 domain only when needed.
24350
89f654c5
AS
243512011-06-30 Andreas Schwab <schwab@redhat.com>
24352
24353 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24354 is always restored.
24355
cf3b23ff
UD
243562011-06-29 Ulrich Drepper <drepper@gmail.com>
24357
24358 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24359 are re-adding the entry.
24360 * nscd/servicescache.c (cache_addserv): Likewise.
24361
751626f9
AJ
243622011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24363
24364 * sysdeps/generic/dl-irel.h: fix protection against multiple
24365 inclusions.
24366 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24367
9113ea1f
UD
243682011-06-28 Ulrich Drepper <drepper@gmail.com>
24369
5c0b8d90
UD
24370 [BZ #12935]
24371 * malloc/memusage.sh: Fix quoting in message.
24372 * debug/xtrace.sh: Likewise.
24373
9113ea1f
UD
24374 * configure.in: Remove support for --experimental-malloc option, make
24375 it the default.
24376 * config.make.in: Likewise.
24377 * malloc/Makefile: Likewise.
24378
a4172181
AS
243792011-06-27 Andreas Schwab <schwab@redhat.com>
24380
24381 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24382 two-byte characters.
24383
78a7eee7
RM
243842011-06-27 Roland McGrath <roland@hack.frob.com>
24385
62bede13
RM
24386 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24387 AC_CACHE_CHECK invocation.
24388 * configure: Regenerated.
24389
78a7eee7
RM
24390 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24391
5ce33a62
UD
243922011-06-27 Ulrich Drepper <drepper@gmail.com>
24393
034807a9
UD
24394 [BZ #12350]
24395 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24396 bit from old_res_options.
24397
4902da17
UD
24398 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24399
5ce33a62
UD
24400 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24401 value type for setfct.
24402
c2344f56
L
244032011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24404
24405 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24406 __gettimeofday instead of gettimeofday.
24407
68468076
UD
244082011-06-26 Ulrich Drepper <drepper@gmail.com>
24409
24410 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24411
acb0d739
L
244122011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24413
24414 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24415
24416 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24417 info.
24418
8912479f
L
244192011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24420
24421 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24422 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24423 strcpy-sse2-unaligned strncpy-sse2-unaligned
24424 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24425 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24426 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24427 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24428 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24429 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24430 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24431 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24432 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24433 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24434 (STRCPY): Support SSE2 and SSSE3 versions.
24435
d5495a11
UD
244362011-06-24 Ulrich Drepper <drepper@gmail.com>
24437
24438 [BZ #12874]
24439 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24440 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24441 kernels which artificially limit size of requests.
24442
0b1cbaae
L
244432011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24444
24445 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24446 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24447 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24448 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24449 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24450 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24451 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24452 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24453 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24454 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24455 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24456 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24457 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24458 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24459 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24460 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24461 Enable unaligned load optimization for Intel Core i3, i5 and i7
24462 processors.
24463 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24464 Define.
24465 (index_Fast_Unaligned_Load): Define.
24466 (HAS_FAST_UNALIGNED_LOAD): Define.
24467
07f494a0
MP
244682011-06-23 Marek Polacek <mpolacek@redhat.com>
24469
24470 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24471
fa3fc0fe
UD
244722011-06-22 Ulrich Drepper <drepper@gmail.com>
24473
24474 [BZ #12907]
24475 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24476 until it is clear that the information is realy needed.
24477 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24478
e12df166
AS
244792011-06-22 Andreas Schwab <schwab@redhat.com>
24480
24481 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24482
852eb34d
UD
244832011-06-22 Ulrich Drepper <drepper@gmail.com>
24484
84e2a551
UD
24485 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24486 /sys/devices/system/cpu/online if it is usable.
24487
852eb34d
UD
24488 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24489 reading the information from the /proc filesystem to once a second.
24490
6e502e19
UD
244912011-06-21 Andreas Jaeger <aj@suse.de>
24492
24493 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24494 NULL after inclusion of kernel headers.
24495
75d39ff2
UD
244962011-06-21 Ulrich Drepper <drepper@gmail.com>
24497
51f9aa6a
UD
24498 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24499 calls to internal_setent.
24500
c0244a9d
UD
24501 [BZ #12885]
24502 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24503 addresses using gethostbyname4_r ignore IPv4 addresses.
24504
c5e3c2ae
UD
24505 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24506 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24507
75d39ff2
UD
24508 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24509
42675c6f
DM
245102011-06-20 David S. Miller <davem@davemloft.net>
24511
24512 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24513 inclusions.
24514 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24515
24516 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24517 (elf_irel): Use it.
24518 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24519 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24520 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24521 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24522 * sysdeps/x86_64/dl-irel.h: Likewise.
24523
24524 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24525 * elf/dl-sym.c: Likewise.
24526
57912a71
UD
245272011-06-15 Ulrich Drepper <drepper@gmail.com>
24528
24529 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24530 need to dereference resplen2.
24531
ee22793d
AS
245322011-06-14 Andreas Schwab <schwab@redhat.com>
24533
24534 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24535
a9e836b0
UD
245362011-06-15 Ulrich Drepper <drepper@gmail.com>
24537
77fb9117
UD
24538 * Makeconfig: Define vardbdir and inst_vardbdir.
24539 * nss/Makefile: Add rules to install db-Makefile.
24540
40c1b22c
UD
24541 * nss/nss_db/db-XXX.c: Cleanup.
24542
9f2da732
UD
24543 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24544 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24545 GLIBC_PRIVATE.
24546 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24547 * nss/makedb.c: Implement -g option to specify that value strings
24548 are generated and should not be added to table iterated over for
24549 get*ent calls.
24550 * nss/nss_db/db-initgroups.c: New file.
24551
82e9a1f7
UD
24552 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24553 interface.
24554
c41af17e
UD
24555 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24556 (internal_getgrouplist): Adjust to name change.
24557 Update use_initgroups_entry if this is not the first call.
24558 * nss/databases.def: Add initgroups entry.
24559
a9e836b0
UD
24560 * nss/makedb.c (compute_tables): Check result of multiple hash table
24561 sizes to minimize maximum chain length.
24562
2666d441
UD
245632011-06-14 Ulrich Drepper <drepper@gmail.com>
24564
24565 * Versions.def: Add entry for libnss_db.
24566 * shlib-versions: Likewise.
24567 * nss/Makefile: Add rules to build libnss_db.
24568 * nss/Versions: Add libnss_db information. Organize libnss_files
24569 entries better.
24570 * nss/db-Makefile: Add gshadow support. Change rules for the new
24571 makedb progra. Some minor improvements to generate smaller files.
24572 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24573 here from...
24574 * nss/makedb.c: ...here.
24575 Improve database format to be smaller and require less memory at
24576 runtime.
24577 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24578 db anymore.
24579 * nss/nss_db/db-netgrp.c: Likewise.
24580 * nss/nss_db/db-open.c: Likewise.
24581 * nss/nss_files/flies-XXX.x: Adjust comments.
24582 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24583 * nss/nss_files/files-grp.c: Likewise.
24584 * nss/nss_files/files-hosts.c: Likewise.
24585 * nss/nss_files/files-network.c: Likewise.
24586 * nss/nss_files/files-proto.c: Likewise.
24587 * nss/nss_files/files-pwd.c: Likewise.
24588 * nss/nss_files/files-rpc.c: Likewise.
24589 * nss/nss_files/files-service.c: Likewise.
24590 * nss/nss_files/files-sgrp.c: Likewise.
24591 * nss/nss_files/files-spwd.c: Likewise.
24592 * nss/nss_db/db-alias.c: Removed.
24593 * nss/nss_db/dummy-db.h: Removed.
24594
9ee76b5a
UD
245952011-06-02 Ulrich Drepper <drepper@gmail.com>
24596
24597 * nss/makedb.c: Rewritten to not use database library.
24598 * nss/Makefile: Update to build new makedb program.
24599
c71ca1f8
AJ
246002011-06-14 Andreas Jaeger <aj@suse.de>
24601
24602 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24603 memset declaration.
24604
3154bfb8
UD
246052011-06-10 Andreas Schwab <schwab@redhat.com>
24606
24607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24608 tmpbuf.
24609
b350afab
RM
246102011-06-10 Roland McGrath <roland@hack.frob.com>
24611
decd4e50
RM
24612 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24613 * elf/Makefile ($(objpfx)ld.so): Likewise.
24614
5615eaf2
RM
24615 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24616 Don't list ld.so twice in dependencies.
24617
24618 * posix/bug-regex31.c: Include <stdlib.h>.
24619
24620 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24621
24622 * nis/nss_compat/compat-spwd.c
24623 (getspent_next_nss_netgr): Remove unused variable.
24624 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24625
24626 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24627 nonmembers" output to use the right array.
24628
24629 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24630
24631 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24632
24633 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24634 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24635 * catgets/gencat.c (read_input_file): Likewise.
24636 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24637
24638 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24639 variable definition inside #if's controlling its use.
24640
24641 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24642
24643 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24644
24645 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24646
24647 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24648 unreachable code.
24649
24650 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24651
b68e08db
RM
24652 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24653 * configure: Regenerated.
24654
b350afab
RM
24655 * Makerules: Revert last change.
24656 * elf/Makefile: Likewise.
24657
28368601
RM
246582011-06-09 Roland McGrath <roland@hack.frob.com>
24659
24660 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24661 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24662 (reloc-link): Likewise.
24663
11988f8f
UD
246642011-06-09 Ulrich Drepper <drepper@gmail.com>
24665
24666 * elf/Makefile: Add rules to build pldd.
24667 * elf/pldd.c: New file.
24668 * elf/pldd-xx.c: New file.
24669
e80fab37
UD
246702011-06-07 Ulrich Drepper <drepper@gmail.com>
24671
24672 * version.h: Update for 2.15 development version.
24673
9b849836
DM
246742011-06-07 David S. Miller <davem@davemloft.net>
24675
24676 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24677 ifuncs.
24678 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24679 elf_machine_lazy_rel): Likewise.
24680 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24681 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24682 elf_machine_lazy_rel): Likewise.
24683 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24684 dl_hwcap via passed in argument.
24685 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24686 Likewise.
24687
5a31b283
AK
246882011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24689
24690 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24691
069e52f8
RM
246922011-06-06 Roland McGrath <roland@hack.frob.com>
24693
24694 [BZ #12849]
24695 * manual/fdl-1.1.texi: New file, verbatim from:
24696 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24697 * manual/lgpl-2.1.texi: New file, verbatim from:
24698 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24699 * manual/Makefile (licenses): New variable, list those new file names.
24700 (texis): Use it.
24701 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24702
24703 * manual/fdl.texi: File removed.
24704 * manual/lesser.texi: File removed.
24705 * manual/libc.texinfo (Copying, Documentation License):
24706 Use new @include file names, put @appendix directive before @include.
24707
f16846a5
JJ
247082011-06-04 Jakub Jelinek <jakub@redhat.com>
24709
24710 [BZ #12841]
24711 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24712 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24713 (mq_open): Add __NTH.
24714
3d29045b
L
247152011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24716
24717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24718 Assume Intel Core i3/i5/i7 processor if AVX is available.
24719
8c297311
UD
247202011-05-31 Ulrich Drepper <drepper@gmail.com>
24721
24722 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24723 typo.
24724
c8fc0c91
UD
247252011-05-31 Andreas Schwab <schwab@redhat.com>
24726
24727 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24728 memory. Use alloca_account. Fix memory leak when retrying.
24729
5b27a807
UD
247302011-05-31 Ulrich Drepper <drepper@gmail.com>
24731
356f8bc6
UD
24732 * version.h (RELEASE): Bump for 2.14 release.
24733 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24734
5b27a807
UD
24735 * config.make.in (RANLIB): Remove entry.
24736
01f16ab0
UD
247372011-05-30 Ulrich Drepper <drepper@gmail.com>
24738
41fce8bd
UD
24739 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24740 (libc.pot): Work around missing support for .ksh extension in xgettext.
24741
4769ae77
UD
24742 [BZ #12684]
24743 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24744 if both request failed.
24745 (send_dg): In case of server errors clear resplen or *resplen2.
24746
6b1e7d19
UD
24747 [BZ #12454]
24748 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24749 when there are multiple maps.
24750 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24751 (_dl_fini): Remove test here.
24752
01f16ab0
UD
24753 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24754
b1ebd700
UD
247552011-05-29 Ulrich Drepper <drepper@gmail.com>
24756
7ae22829
UD
24757 [BZ #12350]
24758 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24759 bit from old_res_options.
24760 (gaih_inet): Likewise.
24761
553149f6 24762 [BZ #11099]
18a84741 24763 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
24764 as signed.
24765
652ffab1
UD
24766 * resolv/res_init.c (res_setoptions): Make the code more compact.
24767
16985fd0
UD
24768 [BZ #11558]
24769 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24770 set RES_USEVC.
24771
0464f746
UD
24772 [BZ #11634]
24773 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24774
7d17596c
UD
24775 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24776
cf6bbbd7
UD
24777 [BZ #11781]
24778 * malloc/malloc.h: Declare malloc hook variables as volatile.
24779
13f1ab36
UD
24780 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24781 in last patch.
24782
b1ebd700
UD
24783 [BZ #11799]
24784 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 24785 raise in the comment.
80e2212d
UD
24786 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24787 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24788 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 24789
ce67228d
UD
247902011-05-28 Ulrich Drepper <drepper@gmail.com>
24791
8887a920
UD
24792 [BZ #12811]
24793 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24794 grow the buffers more if it already has to be sufficient.
24795 (build_wcs_upper_buffer): Likewise.
24796 * posix/regexec.c (check_matching): Likewise.
24797 (clean_state_log_if_needed): Likewise.
24798 (extend_buffers): Don't enlarge buffers beyond size of the input
24799 buffer.
24800 Patches mostly by Emil Wojak <emil@wojak.eu>.
24801 * posix/bug-regex32.c: New file.
24802 * posix/Makefile (tests): Add bug-regex32.
24803
4f031072
UD
24804 * locale/findlocale.c (_nl_find_locale): Return right away if
24805 _nl_explode_name failed.
24806 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24807
d0478f0c
UD
24808 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24809
de81b246
UD
24810 * debug/xtrace.sh: Unify messages.
24811 * malloc/memusage.sh: Likewise.
24812
c738465a
UD
24813 [BZ #12813]
24814 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24815 time symbol from vDSO. Substitute with vsyscall if not available.
24816 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24817 __vdso_time.
24818
f1f929d7
UD
24819 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24820 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24821 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24822 Add sendmmsg and internal_sendmmsg.
24823 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24824 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24825 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24826
ce67228d
UD
24827 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24828 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24829 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24830
e57420c6
UD
248312011-05-27 Ulrich Drepper <drepper@gmail.com>
24832
a8509ca5
UD
24833 [BZ #12813]
24834 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24835 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24836 available.
24837 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24838 __vdso_getcpu.
24839
e57420c6
UD
24840 [BZ #12814]
24841 * iconvdata/Makefile (tests): Add bug-iconv9.
24842 * iconvdata/bug-iconv9.c: New file.
24843
4d07db15
AS
248442011-05-27 Andreas Schwab <schwab@redhat.com>
24845
24846 [BZ #12814]
24847 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24848
ea486f69
JJ
248492011-05-25 Jakub Jelinek <jakub@redhat.com>
24850
24851 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24852 (struct user_regs_struct): Change intcs field back to cs.
24853
6f038433
UD
248542011-05-25 Ulrich Drepper <drepper@gmail.com>
24855
24856 * po/ja.po: Update from translation team.
24857
67f86a25
UD
248582011-05-23 Ulrich Drepper <drepper@gmail.com>
24859
24860 [BZ #12795]
24861 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24862 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24863
def7fbd6
AS
248642011-05-20 Andreas Schwab <schwab@redhat.com>
24865
24866 * stdlib/longlong.h: Update from GCC.
24867
f50ef8f1
AS
248682011-05-23 Andreas Schwab <schwab@redhat.com>
24869
24870 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24871 parameter name.
24872 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24873 Add parameter name.
24874 (__sysconf): Pass it down.
24875
de7ce8f1
UD
248762011-05-22 Ulrich Drepper <drepper@gmail.com>
24877
f2962a71
UD
24878 [BZ #12671]
24879 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24880 some situations.
24881 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24882 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24883 add in in __libc_use_alloca calls. Adjust callers.
24884 (glob): Use malloc in some situations.
24885
de7ce8f1
UD
24886 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24887 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24888 pltexit.
24889
aec84f53
UD
248902011-05-21 Ulrich Drepper <drepper@gmail.com>
24891
05bb4a68
UD
24892 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24893 and CLOCK_BOOTTIME_ALARM.
24894
7ea72f99
UD
24895 [BZ #12782]
24896 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24897 is returned.
24898
7e4afad5
UD
24899 * string/_strerror.c (__strerror_r): Print negative errors as signed
24900 numbers.
24901
8e211fec
UD
24902 [BZ #12777]
24903 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24904 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24905 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24906
f7d82dc9
UD
24907 * configure.in: Fix typo in redirection and correct removal of test
24908 files in two cases.
24909
cc9e536d
UD
24910 [BZ #12788]
24911 * locale/setlocale.c (new_composite_name): Fix test to check for
24912 identical name of all categories.
24913
aec84f53
UD
24914 [BZ #12792]
24915 * libio/filedoalloc.c (local_isatty): New function.
24916 (_IO_file_doallocate): Use local_isatty.
24917 * stdio-common/perror.c (perror): In case a new stream is used
24918 forward the stream error.
24919 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24920 error flag.
24921
78e64fdc
RT
249222011-05-20 Ulrich Drepper <drepper@gmail.com>
24923
34a9094f
UD
24924 [BZ #11869]
24925 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24926 alloca.
24927 * include/alloca.h (extend_alloca_account): Define.
24928
78e64fdc
RT
24929 [BZ #11857]
24930 * posix/regex.h: Fix comments with documentation of user-accessible
24931 fields after compilation and describe correct free'ing of pattern
24932 after re_compile_pattern.
24933 Patch by Reuben Thomas <rrt@sc3d.org>.
24934
457bddfc
RA
249352011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
24936
24937 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24938 and -mno-altivec to prevent the compiler from using Altivec and/or
24939 VSX instructions when the corresponding registers are not available.
24940
a4527b51
AS
249412011-05-19 Andreas Schwab <schwab@redhat.com>
24942
24943 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24944
ed690b2f
UD
249452011-05-19 Ulrich Drepper <drepper@gmail.com>
24946
24947 * libio/freopen.c (freopen): Use __dup2, not dup2.
24948 * libio/freopen64.c (freopen64): Likewise.
24949
8db73634
L
249502011-05-17 H.J. Lu <hongjiu.lu@intel.com>
24951
24952 [BZ #12775]
24953 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24954 * math/Makefile (tests): Add test-powl.
24955 (CFLAGS-test-powl.c): Define.
24956 * math/test-powl.c: New file.
24957
0a197a9d
L
249582011-05-16 H.J. Lu <hongjiu.lu@intel.com>
24959
24960 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24961
ee30c380
UD
249622011-05-17 Ulrich Drepper <drepper@gmail.com>
24963
24964 [BZ #11837]
24965 * iconvdata/gb18030.c: Update to GB18020-2005.
24966
6ce75379
UD
249672011-05-16 Ulrich Drepper <drepper@gmail.com>
24968
a4b89fd8
AR
24969 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24970 RE_SYNTAX_POSIX_AWK): Update to match recent development.
24971 Patch by Aharon Robbins <arnold@skeeve.com>.
24972
ea389b12
UD
24973 [BZ #11892]
24974 * stdlib/putenv.c (putenv): Don't always create copy of the variable
24975 on the stack.
24976
68a3f91f
UD
24977 [BZ #11895]
24978 * misc/pselect.c (__pselect): Handle timeout value errors hidden
24979 through underflows.
24980
15cc7dd1
UD
24981 [BZ #12766]
24982 * misc/error.c (error_at_line): Ensure file_name and old_file_name
24983 point to strings before performing equality test for error_one_per_line
24984 mode.
24985
f3799213
UD
24986 [BZ #11697]
24987 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24988
d79a9c94
UD
24989 [BZ #11820]
24990 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24991 (struct user_fpregs_struct): Avoid __uint*_t types.
24992
56e5eb46
UD
24993 [BZ #6420]
24994 * malloc/mtrace.c (tr_where): Add additional parameter to point to
24995 symbol info. Use it instead of calling _dl_addr locally.
24996 (lock_and_info): New function.
24997 (tr_freehook): Call lock_and_info and pass symbol info as additional
24998 parameter to tr_where.
24999 (tr_mallochook): Likewise.
25000 (tr_reallochook): Likewise.
25001 (tr_memalignhook): Likewise.
25002
6ce75379
UD
25003 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25004 used and couldn't be at all thread-safe.
25005
f8a3b5bf
UD
250062011-05-15 Ulrich Drepper <drepper@gmail.com>
25007
94b7cc37
UD
25008 * libio/freopen.c (freopen): Don't close old file descriptor
25009 before the new one is opened. Instead dup the new file descriptor
25010 to the old one after the new stream is created.
25011 * libio/freopen64.c (freopen64): Likewise.
25012 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25013 * libio/fileops.c (_IO_new_file_close_it): Handle new
25014 _IO_FLAGS2_NOCLOSE flag.
25015 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25016 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25017 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25018 _IO_FLAGS2_NOCLOSE flag.
25019 * include/unistd.h: Add hidden_proto for dup3.
25020 Define __have_dup3.
25021 * io/dup3.c: Define hidden symbol.
25022 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25023
bd25564e
UD
25024 [BZ #7101]
25025 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25026 when an incomplete long option is used.
25027 * posix/tst-getopt_long1.c: New file.
25028 * posix/Makefile (tests): Add tst-getopt_long1.
25029
c84cfef4
UD
25030 [BZ #10138]
25031 * scripts/config.guess: Update from autoconf-2.68.
25032 * scripts/config.sub: Likewise.
25033
3b85df27
UD
25034 [BZ #10157]
25035 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25036 tests into ...
25037 (has_cpuclock): ...this. New function.
25038 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25039 macro here based on has_cpuclock code.
25040
15a856b1
UD
25041 [BZ #10149]
25042 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25043 First byte (not low byte) is now always NUL.
25044 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25045
05f399e6
UD
25046 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25047 Use non-cancelable interfaces.
25048
10a52685 25049 [BZ #9809]
94ecc67d
UD
25050 * locale/iso-639.def: Add entry for Sorani.
25051
f8a3b5bf
UD
25052 [BZ #11901]
25053 * include/stdlib.h: Move include protection to the right place.
25054 Define abort_msg_s. Declare __abort_msg with it.
25055 * stdlib/abort.c (__abort_msg): Adjust type.
25056 * assert/assert.c (__assert_fail_base): New function. Majority
25057 of code from __assert_fail. Allocate memory for __abort_msg with
25058 mmap.
25059 (__assert_fail): Now call __assert_fail_base.
25060 * assert/assert-perr.c: Remove bulk of implementation. Use
25061 __assert_fail_base.
25062 * include/assert.hL Declare __assert_fail_base.
25063 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25064 mmap.
25065 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25066
1af4e298
UD
250672011-05-14 Ulrich Drepper <drepper@gmail.com>
25068
f8a3b5bf 25069 [BZ #11952]
d26dfc60
MG
25070 [BZ #12453]
25071 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25072 until all modules are registered in the DTV.
25073 * elf/Makefile: Add rules to build and run tst-tls19.
25074 * elf/tst-tls19.c: New file.
25075 * elf/tst-tls19mod1.c: New file.
25076 * elf/tst-tls19mod2.c: New file.
25077 * elf/tst-tls19mod3.c: New file.
25078 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25079
2fc54d6f
UD
25080 [BZ #12083]
25081 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25082 correctly.
25083
98d76b46
UD
25084 [BZ #12601]
25085 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25086 two-byte sequence errors.
25087 * iconvdata/Makefile (tests): Add bug-iconv8.
25088 * iconvdata/bug-iconv8.c: New file.
25089
da3c19ef
UD
25090 [BZ #12626]
25091 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25092 buf2 definition.
25093
ca408c15
UD
25094 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25095
d6f67f7d
UD
25096 [BZ #12432]
25097 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25098 (dummy_getcfa): New function.
25099 (init): Get _Unwind_GetCFA address, use dummy if not found.
25100 (backtrace_helper): In recursion check, also check whether CFA changes.
25101 (__backtrace): Completely initialize arg.
25102
1af4e298 25103 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
25104 storing incomplete byte sequence in state object. Avoid testing for
25105 guaranteed too small input if we know there is enough data available.
1af4e298 25106
da62f81b
AS
251072011-05-11 Andreas Schwab <schwab@redhat.com>
25108
25109 * Makeconfig (+link-pie): Indent.
25110 * Rules (binaries-pie): Define if $(have-fpie) and
25111 $(build-shared).
25112 (binaries-shared): Also filter out $(binaries-pie).
25113 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25114 * nscd/Makefile (others-pie): Add nscd.
25115 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25116 ($(objpfx)nscd): Remove command override.
25117 * login/Makefile (others-pie): Add pt_chown.
25118 ($(objpfx)pt_chown): Remove command override.
25119 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25120 remove command overrides.
25121
fcabc0f8
UD
251222011-05-13 Ulrich Drepper <drepper@gmail.com>
25123
20030ae6
UD
25124 * libio/tst_putwc.c: Fix error messages.
25125
fcabc0f8
UD
25126 [BZ #12724]
25127 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25128 currently writing and seek to current position when not.
25129 * libio/Makefile (tests): Add bug-fclose1.
25130 * libio/bug-fclose1.c: New file.
25131
320a5dc0
PB
251322011-05-12 Ulrich Drepper <drepper@gmail.com>
25133
25134 [BZ #12511]
25135 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25136 don't set DF_1_NODELETE here.
25137 (do_lookup_x): When entering new entry test for copy relocation
25138 and if necessary set DF_1_NODELETE flag.
25139 * elf/tst-unique4.cc: New file.
25140 * elf/tst-unique4.h: New file.
25141 * elf/tst-unique4lib.cc: New file.
25142 * elf/Makefile: Add rules to build and run tst-unique4.
25143 Patch by Piotr Bury <pbury@goahead.com>.
25144
22836f52
UD
251452011-05-11 Ulrich Drepper <drepper@gmail.com>
25146
f574184a
UD
25147 [BZ #12052]
25148 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25149
e1fb097f
UD
25150 [BZ #12625]
25151 * misc/mntent_r.c (addmntent): Flush the stream after the output
25152
22836f52
UD
25153 [BZ #12393]
25154 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25155 (is_trusted_path_normalize): Skip initial colon. Append slash
25156 to empty buffer. Duplicate is_trusted_path code but allow
25157 constructed patch to be prefix.
25158 (is_dst): Allow $ORIGIN followed by /.
25159 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25160 Correct testing of result of is_trusted_path_normalize
25161 (decompose_rpath): Fix warning.
25162
7b3b0b2a
UD
251632011-05-10 Ulrich Drepper <drepper@gmail.com>
25164
25165 [BZ #11257]
25166 * grp/initgroups.c (internal_getgrouplist): When we found the service
25167 list through the initgroups entry in nsswitch.conf do not always
25168 continue on a successful lookup. Don't always use the
eac80ce2 25169 __nss_group_database value if it is set.
7b3b0b2a
UD
25170 * nss/nsswitch.conf (initgroups): Change action for successful db
25171 lookup to continue for compatibility.
25172
2a81eaa5
UD
251732011-05-09 Ulrich Drepper <drepper@gmail.com>
25174
be97a69e
UD
25175 [BZ #11532]
25176 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25177 and CP774 modules.
25178 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25179 and CP774 modules.
25180 * iconvdata/tst-tables.sh: Likewise.
25181 * iconvdata/cp770.c: New file.
25182 * iconvdata/cp771.c: New file.
25183 * iconvdata/cp772.c: New file.
25184 * iconvdata/cp773.c: New file.
25185 * iconvdata/cp774.c: New file.
25186 * iconvdata/testdata/CP770: New file.
25187 * iconvdata/testdata/CP770..UTF8: New file.
25188 * iconvdata/testdata/CP771: New file.
25189 * iconvdata/testdata/CP771..UTF8: New file.
25190 * iconvdata/testdata/CP772: New file.
25191 * iconvdata/testdata/CP772..UTF8: New file.
25192 * iconvdata/testdata/CP773: New file.
25193 * iconvdata/testdata/CP773..UTF8: New file.
25194 * iconvdata/testdata/CP774: New file.
25195 * iconvdata/testdata/CP774..UTF8: New file.
25196
25197 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25198 END CHARMAP line.
25199 * iconvdata/gen-8bit-gap.sh: Likewise.
25200 * iconvdata/gen-8bit.sh: Likewise.
25201
c1e9e399
UD
25202 * locale/iso-639.def: Add ary entry.
25203
24c55fb3 25204 [BZ #11258]
96b4b1b0
UD
25205 * locale/C-translit.h.in: Add U20A1 transliteration.
25206
bdc2f971
KB
25207 [BZ #12178]
25208 * locale/iso-639.def: Add wae entry.
25209 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25210
2952b117
UD
25211 [BZ #12545]
25212 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25213 for n.
25214
2a81eaa5
UD
25215 [BZ #12711]
25216 * locale/C-translit.h.in: Add entry for U20B9.
25217 Patch by pravin.d.s@gmail.com.
25218
28377d1b
UD
252192011-05-08 Ulrich Drepper <drepper@gmail.com>
25220
7fb90fb8
UD
25221 [BZ #12713]
25222 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25223 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
25224 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25225 in rtld. Use *stat64.
7fb90fb8 25226 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 25227 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 25228 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
25229 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25230 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25231 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25232 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25233 __fstatat64 macros.
7fb90fb8
UD
25234 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25235 * dirent/rewinddir.c: Add libc_hidden_def.
25236 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 25237 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 25238
28377d1b
UD
25239 * include/dirent.h (__alloc_dir): Add flags parameter.
25240 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25241 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25242 __alloc_dir.
25243 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25244 from fdopendir if O_CLOEXEC is already set.
25245
66bdbaa4
AM
252462011-03-15 Alan Modra <amodra@gmail.com>
25247
25248 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25249 l_tls_firstbyte_offset non-zero. Save padding offset in
25250 l_tls_firstbyte_offset for later use.
25251 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25252 freeing static tls block.
25253
95721191
JN
252542011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25255
25256 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25257 where #ifdef was intended. The intent is to prevent ARG_MAX from
25258 being defined by the kernel headers.
25259
f87dfb1f
UD
252602011-05-07 Ulrich Drepper <drepper@gmail.com>
25261
25262 [BZ #12734]
25263 * resolv/resolv.h: Define RES_NOTLDQUERY.
25264 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25265 no-tld-query and set RES_NOTLDQUERY.
25266 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25267 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25268 modern BIND to search name as TLD unless forbidden.
25269
47c3cd7a
UD
252702011-05-07 Petr Baudis <pasky@suse.cz>
25271 Ulrich Drepper <drepper@gmail.com>
25272
25273 [BZ #12393]
25274 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25275 (is_trusted_path): ...to here.
c1e9ea35 25276 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 25277 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 25278 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 25279
8a35c912
PP
252802011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25281
25282 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25283 __BEGIN/__END_DECLS.
25284
acd41f47
UD
252852011-05-06 Ulrich Drepper <drepper@gmail.com>
25286
25287 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25288 NSS_STATUS_NOTFOUND if no record was found.
25289
597df647
AS
252902011-05-05 Andreas Schwab <schwab@redhat.com>
25291
25292 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25293 (headers-not-in-tirpc): Remove rpc/netdb.h
25294 * resolv/netdb.h: Revert last change.
25295
b9af1301
PP
252962011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25297
25298 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25299 circular dependency between libgcc.a and libc.a.
25300
4e34d5f5
AS
253012011-05-05 Andreas Schwab <schwab@redhat.com>
25302
25303 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25304 * nis/Makefile: Don't install rpcsvc/*.
25305 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25306 instead of <rpc/types.h>.
25307 (MAXHOSTNAMELEN): Define.
25308
00ee369c
AS
253092011-05-03 Andreas Schwab <schwab@redhat.com>
25310
25311 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25312
0b592a30
MB
253132011-04-28 Maciej Babinski <mbabinski@google.com>
25314
25315 [BZ #12714]
25316 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25317 gethostbyname4_r when IPv6 results are possible.
25318
6e04cbbe
UD
253192011-05-02 Ulrich Drepper <drepper@gmail.com>
25320
25321 [BZ #12723]
25322 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25323 _PC_PIPE_BUF handling.
25324
e4ecafe0
BH
253252011-04-30 Bruno Haible <bruno@clisp.org>
25326
25327 [BZ #12717]
25328 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25329 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25330 to 'int'.
25331 * inet/getnameinfo.c (getnameinfo): Likewise.
25332
125ee683
UD
253332011-04-29 Ulrich Drepper <drepper@gmail.com>
25334
25335 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25336 to groups setting in database lookup.
25337 * nss/nsswitch.conf: Add initgroups entry.
25338
b722481a
EB
253392011-04-22 Ulrich Drepper <drepper@gmail.com>
25340
25341 [BZ #12685]
25342 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25343 mode string.
25344 Patch by Eric Blake <eblake@redhat.com>.
25345
4df46dbd
L
253462011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25347
25348 * sunrpc/Makefile (need-export-routines): Add svc_run.
25349 (routines): Remove svc_run.
25350 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25351 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25352 * sunrpc/svc_run.c (svc_run): Likewise.
25353 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25354
e84142d2
UD
253552011-04-21 Ulrich Drepper <drepper@gmail.com>
25356
25357 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25358 problem in reallocation in last patch.
25359
877175d8
UD
253602011-04-20 Ulrich Drepper <drepper@gmail.com>
25361
25362 * sunrpc/Makefile: Move inclusion of Rules.
25363
ab8eed78
UD
253642011-04-19 Ulrich Drepper <drepper@gmail.com>
25365
25366 * nss/nss_files/files-initgroups.c: New file.
25367 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25368 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25369 _nss_files_initgroups_dyn.
25370
e3d8f584
RS
253712011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25372
25373 * elf/elf.h (R_ARM_IRELATIVE): Define.
25374
af190f45
UD
253752011-04-19 Ulrich Drepper <drepper@gmail.com>
25376
25377 * po/ru.po: Update from translation team.
25378
53cf59ef
UD
253792011-04-17 Ulrich Drepper <drepper@gmail.com>
25380
25381 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25382 dependencies.
25383
4c559bcd
MF
253842011-02-06 Mike Frysinger <vapier@gentoo.org>
25385
25386 [BZ #12653]
25387 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25388 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25389 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25390 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25391 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25392
4420675c
AS
253932011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25394
25395 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25396 differing bytes.
25397 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25398 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25399 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25400
75ea32ab
UD
254012011-04-17 Ulrich Drepper <drepper@gmail.com>
25402
25403 [BZ #12420]
25404 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25405 storing it.
25406 * stdlib/bug-getcontext.c: New file.
25407 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25408
27390476
AK
254092011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25410
25411 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25412 instructions into .machine "z9-109".
25413 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25414 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25415
10442705
AK
254162011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25417
25418 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25419 between environment variables and auxiliary vector.
25420
7b57bfe5
UD
254212011-04-16 Ulrich Drepper <drepper@gmail.com>
25422
25423 * Makefile: Add rules to build linkobj/libc.so.
25424 * include/libc-symbols.h: Define libc_hidden_nolink.
25425 * include/rpc/auth.h: Mark functions which are to be hidden.
25426 * include/rpc/auth_des.h: Likewise.
25427 * include/rpc/auth_unix.h: Likewise.
25428 * include/rpc/clnt.h: Likewise.
25429 * include/rpc/des_crypt.h: Likewise.
25430 * include/rpc/key_prot.h: Likewise.
25431 * include/rpc/pmap_clnt.h: Likewise.
25432 * include/rpc/pmap_prot.h: Likewise.
25433 * include/rpc/pmap_rmt.h: Likewise.
25434 * include/rpc/rpc_msg.h: Likewise.
25435 * include/rpc/svc.h: Likewise.
25436 * include/rpc/svc_auth.h: Likewise.
25437 * include/rpc/xdr.h: Likewise.
25438 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25439 * nss/Makefile: Likewise.
25440 * sunrpc/Makefile: Don't install headers. Build library with normal
25441 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25442 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25443 for the compat linking library. Remove use of INTDEF/INTUSE.
25444 * sunrpc/auth_none.c: Likewise.
25445 * sunrpc/auth_unix.c: Likewise.
25446 * sunrpc/authdes_prot.c: Likewise.
25447 * sunrpc/authuxprot.c: Likewise.
25448 * sunrpc/clnt_gen.c: Likewise.
25449 * sunrpc/clnt_perr.c: Likewise.
25450 * sunrpc/clnt_raw.c: Likewise.
25451 * sunrpc/clnt_simp.c: Likewise.
25452 * sunrpc/clnt_tcp.c: Likewise.
25453 * sunrpc/clnt_udp.c: Likewise.
25454 * sunrpc/clnt_unix.c: Likewise.
25455 * sunrpc/des_crypt.c: Likewise.
25456 * sunrpc/des_soft.c: Likewise.
25457 * sunrpc/get_myaddr.c: Likewise.
25458 * sunrpc/key_call.c: Likewise.
25459 * sunrpc/key_prot.c: Likewise.
25460 * sunrpc/netname.c: Likewise.
25461 * sunrpc/pm_getmaps.c: Likewise.
25462 * sunrpc/pm_getport.c: Likewise.
25463 * sunrpc/pmap_clnt.c: Likewise.
25464 * sunrpc/pmap_prot.c: Likewise.
25465 * sunrpc/pmap_prot2.c: Likewise.
25466 * sunrpc/pmap_rmt.c: Likewise.
25467 * sunrpc/publickey.c: Likewise.
25468 * sunrpc/rpc_cmsg.c: Likewise.
25469 * sunrpc/rpc_common.c: Likewise.
25470 * sunrpc/rpc_dtable.c: Likewise.
25471 * sunrpc/rpc_prot.c: Likewise.
25472 * sunrpc/rpc_thread.c: Likewise.
25473 * sunrpc/rtime.c: Likewise.
25474 * sunrpc/svc.c: Likewise.
25475 * sunrpc/svc_auth.c: Likewise.
25476 * sunrpc/svc_authux.c: Likewise.
25477 * sunrpc/svc_raw.c: Likewise.
25478 * sunrpc/svc_run.c: Likewise.
25479 * sunrpc/svc_simple.c: Likewise.
25480 * sunrpc/svc_tcp.c: Likewise.
25481 * sunrpc/svc_udp.c: Likewise.
25482 * sunrpc/svc_unix.c: Likewise.
25483 * sunrpc/svcauth_des.c: Likewise.
25484 * sunrpc/xcrypt.c: Likewise.
25485 * sunrpc/xdr.c: Likewise.
25486 * sunrpc/xdr_array.c: Likewise.
25487 * sunrpc/xdr_float.c: Likewise.
25488 * sunrpc/xdr_intXX_t.c: Likewise.
25489 * sunrpc/xdr_mem.c: Likewise.
25490 * sunrpc/xdr_rec.c: Likewise.
25491 * sunrpc/xdr_ref.c: Likewise.
25492 * sunrpc/xdr_sizeof.c: Likewise.
25493 * sunrpc/xdr_stdio.c: Likewise.
25494
e6c61494
UD
254952011-04-10 Ulrich Drepper <drepper@gmail.com>
25496
25497 [BZ #12650]
25498 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25499 * sysdeps/ia64/dl-tls.h: Likewise.
25500 * sysdeps/powerpc/dl-tls.h: Likewise.
25501 * sysdeps/s390/dl-tls.h: Likewise.
25502 * sysdeps/sh/dl-tls.h: Likewise.
25503 * sysdeps/sparc/dl-tls.h: Likewise.
25504 * sysdeps/x86_64/dl-tls.h: Likewise.
25505 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25506
34fe483e
AS
255072011-03-14 Andreas Schwab <schwab@redhat.com>
25508
25509 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25510 rpath element also skip the following colon.
25511 (expand_dynamic_string_token): Add is_path parameter and pass
25512 down to DL_DST_REQUIRED and _dl_dst_substitute.
25513 (decompose_rpath): Call expand_dynamic_string_token with
25514 non-zero is_path. Ignore empty rpaths.
25515 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25516 with zero is_path.
25517
f12a32e6
AS
255182011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25519
25520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25521 Make cancelable.
25522
38a7d692
UD
255232011-04-09 Ulrich Drepper <drepper@gmail.com>
25524
25525 [BZ #12655]
25526 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25527 Patch by Filipe David Manana <fdmanana@apache.org>.
25528
e451d22b
AS
255292011-04-07 Andreas Schwab <schwab@redhat.com>
25530
25531 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25532 Maintain aligned stack.
25533 (CHECK_RSP): Remove unused macro.
25534
dedc7c7b
UD
255352011-04-03 Ulrich Drepper <drepper@gmail.com>
25536
25537 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25538 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25539
94521213
UD
255402011-04-02 Ulrich Drepper <drepper@gmail.com>
25541
25542 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25543
8cb700c0 25544 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 25545
0354e355
L
255462011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25547
25548 [BZ #12518]
25549 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25550 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25551 * sysdeps/x86_64/memmove.c: New file.
25552 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25553 (memcpy): Renamed to ...
25554 (__new_memcpy): This.
25555 (memcpy): Provide GLIBC_2_14 memcpy.
25556 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25557 (memcpy): Provide GLIBC_2_2_5 memcpy.
25558
8593482f
UD
255592011-04-01 Ulrich Drepper <drepper@gmail.com>
25560
25561 [BZ #12631]
25562 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25563
81a5726b
AS
255642011-03-30 Andreas Schwab <schwab@redhat.com>
25565
25566 * misc/syncfs.c: New file.
25567 * misc/Makefile (routines): Add syncfs.
25568 * posix/unistd.h: Declare syncfs.
25569 * sysdeps/unix/syscalls.list: Add syncfs.
25570
00e5419f
AS
255712011-04-01 Andreas Schwab <schwab@redhat.com>
25572
25573 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25574 open_by_handle_at.
25575 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25576 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25577 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25578 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25579 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25580 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25581 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25582
748876bf
UD
255832011-04-01 Ulrich Drepper <drepper@gmail.com>
25584
658e451d
UD
25585 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25586 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25587 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25588 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25589 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25590 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25591 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25592
748876bf
UD
25593 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25594 sync_file_range.c with -fexceptions.
25595 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25596 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25597 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25598 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25599 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25600 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25601 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
25602 sync_file_range as cancellation point
25603 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25604 now a wrapper around __call_sync_file_range with cancellation handling.
25605 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25606 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25607 function name to __call_sync_file_range.
25608 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25609 Add call_sync_file_range.
748876bf 25610
6e63d5e1
AS
256112011-04-01 Andreas Schwab <schwab@redhat.com>
25612
25613 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 25614 bits/timex.h.
6e63d5e1 25615
46998f74
UD
256162011-04-01 Ulrich Drepper <drepper@gmail.com>
25617
4c1423ed
UD
25618 * iconv/iconv.h: Fix typo in comment.
25619 * io/fcntl.h: Likewise.
25620 * libio/stdio.h: Likewise.
25621 * posix/spawn.h: Likewise.
25622 * posix/unistd.h: Likewise.
25623 * stdlib/stdlib.h: Likewise.
25624 * time/time.h: Likewise.
25625 * wcsmbs/wchar.h: Likewise.
25626
158648c0
UD
25627 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25628 open_by_handle): Add.
25629 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25630 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25631 Augment a few comments.
25632 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25633 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25634 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25635 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25636 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25637 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25638 open_by_handle.
25639
46998f74
UD
25640 * io/fcntl.h (AT_EMPTY_PATH): Define.
25641
83fe108b
UD
256422011-03-30 Ulrich Drepper <drepper@gmail.com>
25643
25644 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25645 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25646 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25647 to...
25648 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
25649 * Versions.def: Add GLIBC_2.14.
25650 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25651 Export.
83fe108b 25652
bb242059
UD
256532011-03-22 Ulrich Drepper <drepper@gmail.com>
25654
25655 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25656 round counter.
25657 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25658
c97a1282
L
256592011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25660
25661 [BZ #12597]
25662 * string/test-strncmp.c (do_page_test): New function.
25663 (check2): Likewise.
25664 (test_main): Call check2.
25665 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25666
2a115601
UD
256672011-03-20 Ulrich Drepper <drepper@gmail.com>
25668
25669 [BZ #12587]
25670 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25671 Handle cache information in CPU leaf 4.
25672 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25673
8126d904
UD
256742011-03-18 Ulrich Drepper <drepper@gmail.com>
25675
042c49c6 25676 [BZ #12583]
8126d904
UD
25677 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25678 character representation.
25679 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25680
ccfe366e
RA
256812011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25682
25683 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25684 END(__isnan) to END(__isnanf) to match function entry point/label
25685 EALIGN(__isnanf,...).
25686
c6e13027
JJ
256872011-03-10 Jakub Jelinek <jakub@redhat.com>
25688
25689 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25690
33f85a3f
UD
256912011-03-10 Ulrich Drepper <drepper@gmail.com>
25692
028478fa
UD
25693 [BZ #12510]
25694 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25695 copy from the symbol referenced in the relocation to initialize the
25696 used variable.
25697 Patch by Piotr Bury <pbury@goahead.com>.
25698 * elf/Makefile: Add rules to build and tst-unique3.
25699 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25700 * elf/tst-unique3.cc: New file.
25701 * elf/tst-unique3.h: New file.
25702 * elf/tst-unique3lib.cc: New file.
25703 * elf/tst-unique3lib2.cc: New file.
25704
33f85a3f
UD
25705 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25706
03592fc7
MF
257072011-03-10 Mike Frysinger <vapier@gentoo.org>
25708
25709 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25710 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25711 to _start.
03592fc7 25712
6a5ee102
UD
257132011-03-06 Ulrich Drepper <drepper@gmail.com>
25714
25715 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25716 to-be-loaded object along a path to loader is ld.so.
25717
7e4ba49c
HJ
257182011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25719 Ulrich Drepper <drepper@gmail.com>
25720
25721 * sysdeps/x86_64/memset.S: After aligning destination, code
25722 branches to different locations depending on the value of
25723 misalignment, when multiarch is enabled. Fix this.
25724
257252011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25726
25727 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25728 Set _x86_64_preferred_memory_instruction for AMD processsors.
25729 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25730 Set bit_Prefer_SSE_for_memop for AMD processors.
25731
13a804de
UD
257322011-03-04 Ulrich Drepper <drepper@gmail.com>
25733
25734 * libio/fmemopen.c (fmemopen): Optimize a bit.
25735
9d25c392
AS
257362011-03-03 Andreas Schwab <schwab@redhat.com>
25737
25738 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25739
a5543c6a
RM
257402011-03-03 Roland McGrath <roland@redhat.com>
25741
25742 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25743
012d35f7
DM
257442011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25745
7e4ba49c 25746 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
25747 __bzero_ultra1 instead of __memset_ultra1.
25748
4bff6e01
AS
257492011-02-23 Andreas Schwab <schwab@redhat.com>
25750 Ulrich Drepper <drepper@gmail.com>
25751
25752 [BZ #12509]
25753 * include/link.h (struct link_map): Add l_orig_initfini.
25754 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25755 returning unsuccessfully.
25756 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25757 close of a file loaded at startup, restore the original l_initfini
25758 list.
25759 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25760 list, store the pointer.
25761 * elf/Makefile ($(objpfx)noload-mem): New rule.
25762 (noload-ENV): Define.
25763 (tests): Add $(objpfx)noload-mem.
25764 * elf/noload.c: Include <memcheck.h>.
25765 (main): Call mtrace. Close all opened handles.
25766
f2092faf
AS
257672011-02-17 Andreas Schwab <schwab@redhat.com>
25768
25769 [BZ #12454]
25770 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25771 dependencies are missing.
25772
6c8a2e88
ST
257732011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25774
f2092faf 25775 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
25776 Hurd needs munmap.
25777 * sysdeps/mach/hurd/ifreq.h: New file.
25778
84a42118
PB
257792011-01-27 Petr Baudis <pasky@suse.cz>
25780 Ulrich Drepper <drepper@gmail.com>
25781
071f805e 25782 [BZ 12445]#
84a42118
PB
25783 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25784 to extend_alloca().
25785 * stdio-common/bug23.c: New file.
25786 * stdio-common/Makefile (tests): Add bug23.
25787
e23fe25b
AS
257882010-09-28 Andreas Schwab <schwab@redhat.com>
25789 Ulrich Drepper <drepper@gmail.com>
25790
25791 [BZ #12489]
25792 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25793 before performing relro protection. At old place add assertion
25794 to make sure nothing changed.
25795
d3f02e10
NS
257962011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25797 Glauber de Oliveira Costa <glommer@gmail.com>
25798
25799 * elf/elf.h: Add new ARM TLS relocs.
25800
d55fd7a5
RA
258012011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25802
25803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25804 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25805 cast from r3.
25806 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25807 'tests' variable.
25808 * sysdeps/wordsize-64/tst-writev.c: New file.
25809
2206397e
RA
258102011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25811
25812 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25813 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25814 insns in _dl_start to prevent a TOC reference before relocs are
25815 resolved.
25816
e9433893
UD
258172011-02-15 Ulrich Drepper <drepper@gmail.com>
25818
25819 [BZ #12469]
25820 * Makeconfig: Remove RANLIB definition.
25821 * Makerules: Don't use RANLIB.
25822 * aclocal.m4: Remove ranlib test.
25823 * configure.in: No need to check for ranlib.
25824 * elf/rtld-Rules: Don't use RANLIB.
25825
f75286c6
ST
258262011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25827
8e31c82d
ST
25828 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25829 protection macro.
25830 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25831 inclusion protection macro.
25832
f75286c6
ST
25833 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25834 SIGRTMIN and SIGRTMAX and print information in that case only when
25835 SIGRTMIN is defined.
25836
c1d0e639
JJ
258372011-02-11 Jakub Jelinek <jakub@redhat.com>
25838
25839 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25840 arginfo fn returning -1.
25841
25842 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25843 and thousands string is zero terminated.
25844
edf9294e
AS
258452011-02-03 Andreas Schwab <schwab@redhat.com>
25846
25847 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25848 sysdeps/unix/sysv/linux/bits/socket.h.
25849
2b7e92df
ST
258502011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25851
edf9294e
AS
25852 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25853 (__CPU_COUNT): Remove old macros.
25854 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25855 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25856 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
25857 (__sched_cpualloc, __sched_cpufree): Add declarations.
25858
a4c7ea7b
UD
258592011-02-05 Ulrich Drepper <drepper@gmail.com>
25860
25861 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25862 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25863 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25864 (readdhstai): Return value of addhstaiX call.
25865 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25866 (addgrbyX): Return value returned by cache_addgr.
25867 (readdgrbyname): Return value returned by addgrbyX.
25868 (readdgrbygid): Likewise.
25869 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25870 (addpwbyX): Return value returned by cache_addpw.
25871 (readdpwbyname): Return value returned by addhstbyX.
25872 (readdpwbyuid): Likewise.
25873 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25874 (addservbyX): Return value returned by cache_addserv.
25875 (readdservbyname): Return value returned by addservbyX:
25876 (readdservbyport): Likewise.
25877 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25878 (addhstbyX): Return value returned by cache_addhst.
25879 (readdhstbyname): Return value returned by addhstbyX.
25880 (readdhstbyaddr): Likewise.
25881 (readdhstbynamev6): Likewise.
25882 (readdhstbyaddrv6): Likewise.
25883 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25884 (readdinitgroups): Return value returned by addinitgroupsX.
25885 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25886 (prune_cache): Keep track of timeout value of re-added entries.
25887 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25888 * nscd/nscd.h: Adjust prototypes of readd* functions.
25889
a0bf67cc
RM
258902011-02-04 Roland McGrath <roland@redhat.com>
25891
25892 * nis/nis_server.c (nis_servstate): Use the right name for 0.
25893 (nis_stats): Likewise.
25894 * nis/nis_modify.c (nis_modify): Likewise.
25895 * nis/nis_remove.c (nis_remove): Likewise.
25896 * nis/nis_add.c (nis_add): Likewise.
25897
25898 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25899
25900 * posix/fnmatch_loop.c: Add some consts.
25901
25902 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25903
435b95eb
L
259042011-02-02 H.J. Lu <hongjiu.lu@intel.com>
25905
25906 [BZ #12460]
25907 * config.make.in (config-cflags-novzeroupper): Define.
25908 * configure.in: Substitute libc_cv_cc_novzeroupper.
25909 * elf/Makefile (AVX-CFLAGS): Define.
25910 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25911 (CFLAGS-tst-auditmod4a.c): Likewise.
25912 (CFLAGS-tst-auditmod4b.c): Likewise.
25913 (CFLAGS-tst-auditmod6b.c): Likewise.
25914 (CFLAGS-tst-auditmod6c.c): Likewise.
25915 (CFLAGS-tst-auditmod7b.c): Likewise.
25916 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25917
8517b15e
UD
259182011-02-02 Ulrich Drepper <drepper@gmail.com>
25919
25920 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25921 function to the callback.
25922 Patch partly by Jiri Olsa <jolsa@redhat.com>.
25923
10a656fe
AS
259242011-02-02 Andreas Schwab <schwab@redhat.com>
25925
25926 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25927 of errno.
25928
968dad0a
UD
259292011-01-19 Ulrich Drepper <drepper@gmail.com>
25930
9f94d2ea 25931 [BZ #11724]
968dad0a
UD
25932 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25933 of constructors.
25934 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25935 of destructors.
25936 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25937
25938 [BZ #11724]
25939 * elf/Makefile: Add rules to build and run new test.
25940 * elf/tst-initorder.c: New file.
25941 * elf/tst-initorder.exp: New file.
25942 * elf/tst-initordera1.c: New file.
25943 * elf/tst-initordera2.c: New file.
25944 * elf/tst-initordera3.c: New file.
25945 * elf/tst-initordera4.c: New file.
25946 * elf/tst-initorderb1.c: New file.
25947 * elf/tst-initorderb2.c: New file.
25948 * elf/tst-order-a1.c: New file.
25949 * elf/tst-order-a2.c: New file.
25950 * elf/tst-order-a3.c: New file.
25951 * elf/tst-order-a4.c: New file.
25952 * elf/tst-order-b1.c: New file.
25953 * elf/tst-order-b2.c: New file.
25954 * elf/tst-order-main.c: New file.
25955 New test case by George Gensure <werkt0@gmail.com>.
25956
86e92359
UD
259572010-10-01 Andreas Schwab <schwab@redhat.com>
25958
25959 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25960 decoding ACE if AI_CANONIDN.
25961
5d5732b0
UD
259622011-01-18 Ulrich Drepper <drepper@gmail.com>
25963
25964 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25965
a77e8cbc
UD
259662011-01-17 Ulrich Drepper <drepper@gmail.com>
25967
6392473f
UD
25968 * version.h (RELEASE): Bump for 2.13 release.
25969 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25970
620a0529
UD
25971 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25972
18ba70a5
UD
25973 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25974 MADV_NOHUGEPAGE.
32465c3e
UD
25975 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25976 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25977 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25978 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25979 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25980 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25981
c0dafcf1
UD
25982 * posix/getconf.c: Update copyright year.
25983 * catgets/gencat.c: Likewise.
25984 * csu/version.c: Likewise.
25985 * debug/catchsegv.sh: Likewise.
25986 * debug/xtrace.sh: Likewise.
25987 * elf/ldconfig.c: Likewise.
25988 * elf/ldd.bash.in: Likewise.
25989 * elf/sprof.c (print_version): Likewise.
25990 * iconv/iconv_prog.c: Likewise.
25991 * iconv/iconvconfig.c: Likewise.
25992 * locale/programs/locale.c: Likewise.
25993 * locale/programs/localedef.c: Likewise.
25994 * malloc/memusage.sh: Likewise.
25995 * malloc/mtrace.pl: Likewise.
25996 * nscd/nscd.c (print_version): Likewise.
25997 * nss/getent.c: Likewise.
25998
a77e8cbc
UD
25999 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26000 PF_CAIF, and PF_ALG.
26001 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26002
77e8bddf
AS
260032011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26004
1f20b93a
AS
26005 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26006 (modules-names): Use them.
26007 (ifunc-test-modules, ifunc-pie-tests): Define.
26008 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26009 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26010 (test-extras): Likewise.
26011 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26012 $(compile-command.c).
26013 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26014 (all-built-dso): Define.
26015 (check-textrel.out, check-execstack.out): Depend on it.
26016
77e8bddf
AS
26017 * configure.in: Don't override --enable-multi-arch.
26018
bc425b33
UD
260192011-01-15 Ulrich Drepper <drepper@gmail.com>
26020
26021 [BZ #6812]
26022 * nscd/hstcache.c (tryagain): Define.
26023 (cache_addhst): Return tryagain not notfound for temporary errors.
26024 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26025 failed.
26026
794c3ad3
UD
260272011-01-14 Ulrich Drepper <drepper@gmail.com>
26028
70181fdd
UD
26029 [BZ #10563]
26030 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26031 to make the syscall.
26032 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26033
794c3ad3
UD
26034 [BZ #12378]
26035 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26036 and fall back to matching as normal character if the string ends before
26037 the matching ']' is found. This is what POSIX requires.
26038 * posix/testfnm.c: Adjust test result.
26039 * posix/globtest.sh: Adjust test result. Add new test.
26040 * posix/tst-fnmatch.input: Likewise.
26041 * posix/tst-fnmatch2.c: Add new test.
26042
68dc9497
AS
260432010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26044
26045 * elf/Makefile (check-execstack): Revert last change. Depend on
26046 check-execstack.h.
26047 (check-execstack.h): New target.
26048 (generated): Add check-execstack.h.
26049 * elf/check-execstack.c: Include "check-execstack.h".
26050 (main): Revert last change.
26051 (handle_file): Return zero if GNU_STACK is absent and
26052 DEFAULT_STACK_PERMS doesn't include PF_X.
26053
451f001b
UD
260542011-01-13 Ulrich Drepper <drepper@gmail.com>
26055
cfa28e56
UD
26056 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26057 in child fails because the descriptor is already closed.
8cf8ce17
UD
26058 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26059 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26060 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 26061
1086d70d
UD
26062 [BZ #12397]
26063 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26064 syscall.
26065
451f001b
UD
26066 [BZ #10484]
26067 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26068 temporary buffer used to handle multi lookups locally.
a85b5cb4 26069 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 26070
08769175
UD
260712011-01-12 Ulrich Drepper <drepper@gmail.com>
26072
26073 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26074 loader is ld.so.
26075
5e49c52e
UD
260762011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26077
26078 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26079 alignment for SSE2.
26080
60522a5f
UD
260812011-01-12 Ulrich Drepper <drepper@gmail.com>
26082
26083 [BZ #12394]
26084 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26085 characters. When rounding increased number of integer digits recompute
26086 number of groups.
26087 * stdio-common/tst-grouping.c: New file.
26088 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26089
f257bbd7
UD
260902011-01-09 Ulrich Drepper <drepper@gmail.com>
26091
26092 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26093 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26094
26095 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26096 void.
26097 * bits/select.h: Likewise.
26098
fa9c15cb
UD
260992011-01-08 Ulrich Drepper <drepper@gmail.com>
26100
26101 * po/ja.po: Update from translation team.
26102
16c2895f
DM
261032011-01-04 David S. Miller <davem@sunset.davemloft.net>
26104
26105 [BZ #11155]
26106 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26107 implementation just like for lxstat, fxstatat, et al.
26108
2543fef2
JM
261092010-12-27 Jim Meyering <meyering@redhat.com>
26110
26111 [BZ #12348]
26112 * posix/regexec.c (build_trtable): Return failure indication upon
26113 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26114
98727dbe
UD
261152010-12-25 Ulrich Drepper <drepper@gmail.com>
26116
5bd6dc5c
UD
26117 [BZ #12201]
26118 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26119 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26120 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26121 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26122
97983464
UD
26123 [BZ #12207]
26124 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26125
98727dbe
UD
26126 [BZ #12204]
26127 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26128 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26129
4a531bb0
L
261302010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26131
26132 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26133 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26134 script has SORT_BY_INIT_PRIORITY.
26135 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26136 NO_CTORS_DTORS_SECTIONS is defined.
26137 * elf/soinit.c: Likewise.
26138 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26139 NO_CTORS_DTORS_SECTIONS is defined.
26140 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26141 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26142 * sysdeps/sh/init-first.c: Likewise.
26143 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26144
07eb4b71
UD
261452010-12-24 Ulrich Drepper <drepper@gmail.com>
26146
26147 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26148 always use the slow path.
26149
30950a5f
RA
261502010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26151
26152 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26153 similar rule which adds the sysdep directories to the header search in
26154 order to pick up the correct platform stackinfo.h.
26155 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26156 perform test if it is, otherwise return successfully without testing.
26157 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26158 DEFAULT_STACK_PERMS define in stackinfo.h.
26159 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26160 defined in stackinfo.h.
26161 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26162 DEFAULT_STACK_PERMS defined in stackinfo.h.
26163 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26164 * sysdeps/ia64/stackinfo.h: Likewise.
26165 * sysdeps/s390/stackinfo.h: Likewise.
26166 * sysdeps/sh/stackinfo.h: Likewise.
26167 * sysdeps/sparc/stackinfo.h: Likewise.
26168 * sysdeps/x86_64/stackinfo.h: Likewise.
26169 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26170 PF_X for powerpc64. Retain PF_X for powerpc32.
26171
db753e2c
UD
261722010-12-19 Ulrich Drepper <drepper@gmail.com>
26173
14b697f7
UD
26174 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26175 accurately.
db753e2c
UD
26176 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26177 GETDENTS_64BIT_ALIGNED.
26178
28300719
UD
261792010-12-14 Ulrich Drepper <dreper@gmail.com>
26180
14b697f7 26181 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 26182
4f197237
AS
261832010-12-10 Andreas Schwab <schwab@redhat.com>
26184
dbb0472f
AS
26185 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26186 _GNU_SOURCE.
26187
4f197237
AS
26188 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26189 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26190 Remove __restrict.
26191 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26192 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26193
fb88ac72
UD
261942010-12-09 Ulrich Drepper <drepper@gmail.com>
26195
26196 [BZ #11655]
26197 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26198 are initialized.
26199
42acbb92
JJ
262002010-12-09 Jakub Jelinek <jakub@redhat.com>
26201
26202 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26203
c038d98d
UD
262042010-12-03 Ulrich Drepper <drepper@gmail.com>
26205
26206 * po/it.po: Update from translation team.
26207
3a4a2499
L
262082010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26209
26210 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26211 unused codes.
26212
1e24cf6e
UD
262132010-11-30 Ulrich Drepper <drepper@gmail.com>
26214
26215 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26216
a7690819
AS
262172010-11-24 Andreas Schwab <schwab@redhat.com>
26218
26219 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26220 specially.
26221 (gaih_getanswer_slice): Likewise.
26222
3bf8d1b1
JJ
262232010-10-20 Jakub Jelinek <jakub@redhat.com>
26224
26225 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26226
6db52fbb
PB
262272010-05-31 Petr Baudis <pasky@suse.cz>
26228
26229 [BZ #11149]
26230 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26231 silently even in the chroot mode.
26232
eaca7569
UD
262332010-11-22 Ulrich Drepper <drepper@gmail.com>
26234
26235 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26236 last patch a bit. Pretty printing
26237
3056dcdb
UD
262382010-05-31 Petr Baudis <pasky@suse.cz>
26239
26240 [BZ #10085]
26241 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26242 initialization of skip_initgroups_dyn.
26243
cf7c9078
UD
262442010-11-19 Ulrich Drepper <drepper@gmail.com>
26245
26246 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26247 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26248
a1fb5e3e
UD
262492010-11-16 Ulrich Drepper <drepper@gmail.com>
26250
26251 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26252
3540d66b
AS
262532010-11-11 Andreas Schwab <schwab@redhat.com>
26254
26255 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26256 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26257 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26258 ($(objpfx)tst-fnmatch-mem): New rule.
26259 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26260 * posix/tst-fnmatch.c (main): Call mtrace.
26261
13b69574
L
262622010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26263
26264 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26265 Support Intel processor model 6 and model 0x2c.
26266
da93d214
LM
262672010-11-10 Luis Machado <luisgpm@br.ibm.com>
26268
26269 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26270 signed comparison.
26271
8ca52c6e
L
262722010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26273
26274 [BZ #12205]
26275 * string/test-strncasecmp.c (check_result): New function.
26276 (do_one_test): Use it.
26277 (check1): New function.
26278 (test_main): Use it.
26279 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26280 Support strcasecmp and strncasecmp.
26281
69da074d
UD
262822010-11-08 Ulrich Drepper <drepper@gmail.com>
26283
26284 [BZ #12194]
26285 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26286 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26287
ff02d528
L
262882010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26289
26290 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26291 IFUNC support.
26292 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26293 memset-x86-64.
26294 * sysdeps/x86_64/multiarch/bzero.S: New file.
26295 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26296 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26297 * sysdeps/x86_64/multiarch/memset.S: New file.
26298 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26299 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26300 Set bit_Prefer_SSE_for_memop for Intel processors.
26301 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26302 Define.
26303 (index_Prefer_SSE_for_memop): Define.
26304 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26305
344d0b54
LM
263062010-11-04 Luis Machado <luisgpm@br.ibm.com>
26307
26308 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26309 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26310
c0dde15b
UD
263112010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26312
26313 [BZ #12191]
26314 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26315 (__x86_64_raw_data_cache_size_half): Likewise.
26316 (__x86_64_raw_shared_cache_size): Likewise.
26317 (__x86_64_raw_shared_cache_size_half): Likewise.
26318
26319 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26320 (__x86_64_raw_data_cache_size_half): Likewise.
26321 (__x86_64_raw_shared_cache_size): Likewise.
26322 (__x86_64_raw_shared_cache_size_half): Likewise.
26323 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26324 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26325 and __x86_64_raw_shared_cache_size_half. Round
26326 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26327 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26328 to multiple of 256 bytes.
26329
0e516e0e
MS
263302010-11-03 Ulrich Drepper <drepper@gmail.com>
26331
26332 [BZ #12167]
26333 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26334 of inacessible symlinks. Verify result of symlink before returning it.
26335 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26336 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26337
0e012e87
ER
263382010-10-28 Erich Ritz <erichritz@gmail.com>
26339
26340 * math/math.h (isinf): Fix typo in comment.
26341
de0ff7bc
UD
263422010-11-01 Ulrich Drepper <drepper@gmail.com>
26343
26344 * po/da.po: Update from translation team.
26345
fa41c84d
UD
263462010-10-26 Ulrich Drepper <drepper@gmail.com>
26347
26348 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26349 is added to the list.
26350
f0967738
AK
263512010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26352 Ulrich Drepper <drepper@gmail.com>
26353
26354 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26355 the global list here. Move code to...
26356 (_dl_add_to_namespace_list): ...here. New function.
26357 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26358 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26359 * elf/dl-load.c (lose): Don't remove the element from the list.
26360 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26361 (_dl_map_object): Likewise.
26362
263632010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
26364
26365 [BZ #12159]
26366 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26367 into all bytes of SSE register.
26368 Patch by Richard Li <richardpku@gmail.com>.
26369
f0967738 263702010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
26371
26372 [BZ #12140]
26373 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26374 perturbing.
26375
d0b9e94f
MB
263762010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26377
26378 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26379 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26380 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26381 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26383 submachine.
26384 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26385
8e9f92e9
AS
263862010-10-22 Andreas Schwab <schwab@redhat.com>
26387
26388 * include/dlfcn.h (__RTLD_SECURE): Define.
26389 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26390 mode & __RTLD_SECURE instead.
26391 (open_path): Rename preloaded parameter to secure.
26392 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26393 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26394 * elf/dl-deps.c (openaux): Likewise.
26395 * elf/rtld.c (struct map_args): Remove is_preloaded.
26396 (map_doit): Don't use it.
26397 (dl_main): Likewise.
26398 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26399 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26400
bc96fbda
AS
264012010-09-09 Andreas Schwab <schwab@redhat.com>
26402
26403 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26404 (sysd-rules-targets): Remove duplicates.
26405 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26406 rtld-%.$o dependency.
26407
22cd1c9b
AS
264082010-10-18 Andreas Schwab <schwab@redhat.com>
26409
26410 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26411 _dl_map_object do it.
26412
18edac48
UD
264132010-10-19 Ulrich Drepper <drepper@gmail.com>
26414
26415 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26416 fast fma builtins, define the macros in the C99 standard.
26417 (FP_FAST_FMAF): Likewise.
26418 (FP_FAST_FMAL): Likewise.
26419 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26420
26421 * bits/mathdef.h: Update copyright year.
26422 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26423
d2050124
MM
264242010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26425
26426 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26427 builtins, define the macros in the C99 standard.
26428 (FP_FAST_FMAF): Likewise.
26429 (FP_FAST_FMAL): Likewise.
26430 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26431 multiply/add.
26432 (FP_FAST_FMAF): Likewise.
26433
475facd1
JJ
264342010-10-15 Jakub Jelinek <jakub@redhat.com>
26435
26436 [BZ #3268]
26437 * math/libm-test.inc (fma_test): Some new testcases.
26438 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26439 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26440 y and infinite z. Do multiplication by C already in long double.
26441 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26442 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26443 y and infinite z. Do bitwise or of inexact bit into u.d.
26444 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26445 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26446 * sysdeps/i386/fpu/s_fma.S: Removed.
26447 * sysdeps/i386/fpu/s_fmal.S: Removed.
26448
7c08a05c
JJ
264492010-10-16 Jakub Jelinek <jakub@redhat.com>
26450
26451 [BZ #3268]
26452 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26453 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26454 computation is not scheduled after fetestexcept. Fix value
26455 of minimum denormal long double.
26456
f3f7372d
JJ
264572010-10-14 Jakub Jelinek <jakub@redhat.com>
26458
26459 [BZ #3268]
26460 * math/libm-test.inc (fma_test): Add some more tests.
26461 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26462 correctly.
26463
14d43591
AS
264642010-10-15 Andreas Schwab <schwab@redhat.com>
26465
26466 * scripts/data/localplt-s390-linux-gnu.data: New file.
26467 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26468
5e908464
JJ
264692010-10-13 Jakub Jelinek <jakub@redhat.com>
26470
26471 [BZ #3268]
26472 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26473 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26474 instead of dbl-64.
26475 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26476 inlines.
26477 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26478 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26479 if one of x and y is very large and the other is subnormal.
26480 * sysdeps/s390/fpu/s_fmaf.c: New file.
26481 * sysdeps/s390/fpu/s_fma.c: New file.
26482 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26483 * sysdeps/powerpc/fpu/s_fma.S: New file.
26484 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26485 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26486 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26487
264882010-10-12 Jakub Jelinek <jakub@redhat.com>
26489
26490 [BZ #3268]
26491 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26492 fma tests.
26493 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26494 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26495 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26496 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26497 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26498 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26499 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26500
b833d51f
UD
265012010-10-12 Ulrich Drepper <drepper@redhat.com>
26502
26503 [BZ #12078]
26504 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26505 * posix/bug-regex31.input: Add test case.
26506
1751705d
UD
265072010-10-11 Ulrich Drepper <drepper@gmail.com>
26508
e9b9cbf5
UD
26509 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26510 * posix/bug-regex31.input: New file.
26511
26512 [BZ #12078]
26513 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26514 (parse_sub_exp): Fix last change, use postorder.
26515
ef06edbe
UD
26516 * posix/bug-regex31.c: New file.
26517 * posix/Makefile: Add rules to build and run bug-regex31.
26518
a129c80d
UD
26519 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26520
26521 [BZ #12078]
26522 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26523
b76b818e
UD
26524 [BZ #12108]
26525 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26526 to have entries in sys_siglist.
26527
1751705d
UD
26528 [BZ #12093]
26529 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26530 be NULL.
26531
9ff8d36f
JJ
265322010-10-07 Jakub Jelinek <jakub@redhat.com>
26533
26534 [BZ #3268]
26535 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26536 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26537 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26538 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26539 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26540 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26541 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26542 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26543 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26544 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26545 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26546 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26547 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26548 * math/ftestexcept.c (fetestexcept): Likewise.
26549 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26550 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26551 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26552 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26553 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26554 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26555 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26556
af325969
UD
265572010-10-11 Ulrich Drepper <drepper@gmail.com>
26558
c579b202 26559 [BZ #12107]
af325969
UD
26560 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26561 newline.
26562
67a67b95
UD
265632010-10-06 Ulrich Drepper <drepper@gmail.com>
26564
26565 * string/bug-strstr1.c: New file.
26566 * string/Makefile: Add rules to build and run bug-strstr1.
26567
5fb308bc
EB
265682010-10-05 Eric Blake <eblake@redhat.com>
26569
26570 [BZ #12092]
26571 * string/str-two-way.h (two_way_long_needle): Always clear memory
26572 when skipping input due to the shift table.
26573
45db99c7
UD
265742010-10-03 Ulrich Drepper <drepper@gmail.com>
26575
3b111893
UD
26576 [BZ #12005]
26577 * malloc/mcheck.c: Handle large requests.
26578
45db99c7
UD
26579 [BZ #12077]
26580 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26581 for strncmp and strncasecmp.
26582 * string/stratcliff.c: Add tests for strcmp and strncmp.
26583 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26584
cf7a1eb8
NI
265852010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26586
26587 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26588 __set_fpscr.
26589
6484ba5e
AJ
265902010-09-30 Andreas Jaeger <aj@suse.de>
26591
26592 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26593 (CGROUP_SUPER_MAGIC): Define.
26594 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26595 Handle btrfs and cgroup file systems.
26596 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26597 Likewise.
26598
91c42559
LM
265992010-09-27 Luis Machado <luisgpm@br.ibm.com>
26600
26601 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26602 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26603
87a97932
AK
266042010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26605
26606 [BZ #12067]
26607 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26608 trying to locate the ELF header.
26609
c21cc9bc
AS
266102010-09-27 Andreas Schwab <schwab@redhat.com>
26611
26612 [BZ #11611]
26613 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26614 Mask out sign-bit copies when constructing f_fsid.
26615
315970f6
PB
266162010-09-24 Petr Baudis <pasky@suse.cz>
26617
26618 * debug/stack_chk_fail_local.c: Add missing licence exception.
26619 * debug/warning-nop.c: Likewise.
26620
1ac7a2c7
JM
266212010-09-15 Joseph Myers <joseph@codesourcery.com>
26622
26623 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26624 implementing getdents64 using getdents syscall, set d_type if
26625 __ASSUME_GETDENTS32_D_TYPE.
26626
56801c50
AS
266272010-09-16 Andreas Schwab <schwab@redhat.com>
26628
26629 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26630 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26631
dda51327
UD
266322010-09-21 Ulrich Drepper <drepper@redhat.com>
26633
26634 [BZ #12037]
26635 * posix/unistd.h: Undo change of feature selection for ftruncate from
26636 2010-01-11.
26637
8ffcee4a
UD
266382010-09-20 Ulrich Drepper <drepper@redhat.com>
26639
a545ecd9 26640 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
26641 detection.
26642
e24f0a8b
AS
266432010-09-20 Andreas Schwab <schwab@redhat.com>
26644
26645 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26646 fanotify_mark.
26647 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26648
7291c56f
AS
266492010-09-14 Andreas Schwab <schwab@redhat.com>
26650
26651 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26652 variables after CHECK_SP call.
26653 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26654
bc5fb037
AS
266552010-09-13 Andreas Schwab <schwab@redhat.com>
26656 Ulrich Drepper <drepper@redhat.com>
26657
26658 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26659 re-relocationg ld.so.
26660 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26661 _dl_init_paths call.
26662 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26663 here anymore.
26664
e66e7419
UD
266652010-09-14 Ulrich Drepper <drepper@redhat.com>
26666
26667 * resolv/res_init.c (__res_vinit): Count the default server we added.
26668
c044aa75
CLT
266692010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26670 Ulrich Drepper <drepper@redhat.com>
26671
26672 [BZ #11968]
26673 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26674 (____longjmp_chk): Use %ebx for saving value across system call.
26675 Add unwind info.
26676
32cf4069
AS
266772010-09-06 Andreas Schwab <schwab@redhat.com>
26678
26679 * manual/Makefile: Don't mix pattern rules with normal rules.
26680
817328ee
AS
266812010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26682
26683 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26684 operation.
26685 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26686 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26687 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26688 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26689 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26690 Likewise.
26691
29fddf61
UD
266922010-09-04 Ulrich Drepper <drepper@redhat.com>
26693
26694 [BZ #11979]
26695 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26696 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26697
0959ffc9
UD
266982010-09-02 Ulrich Drepper <drepper@redhat.com>
26699
26700 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26701 * sysdeps/x86_64/addmul_1.S: Likewise.
26702 * sysdeps/x86_64/lshift.S: Likewise.
26703 * sysdeps/x86_64/mul_1.S: Likewise.
26704 * sysdeps/x86_64/rshift.S: Likewise.
26705 * sysdeps/x86_64/sub_n.S: Likewise.
26706 * sysdeps/x86_64/submul_1.S: Likewise.
26707
ece29840
ST
267082010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26709
0959ffc9
UD
26710 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26711 Define __sched_param instead of SCHED_* and sched_param when
ece29840 26712 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 26713 * bits/sched.h [__need_schedparam]
ece29840 26714 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
26715 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26716 (__defined_schedparam): Define to 1.
ece29840
ST
26717 (__sched_param): New structure, identical to sched_param.
26718 (__need_schedparam): Undefine.
26719
e53a31fe
MF
267202010-08-31 Mike Frysinger <vapier@gentoo.org>
26721
fdc0c10d
MF
26722 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26723 (epoll_create1): Declare.
26724
e53a31fe
MF
26725 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26726
a726d796
AS
267272010-08-31 Andreas Schwab <schwab@redhat.com>
26728
26729 [BZ #7066]
26730 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26731 shifting retval into place.
26732
2f3e3dc7
UD
267332010-09-01 Ulrich Drepper <drepper@redhat.com>
26734
f2933da9
UD
26735 * nis/rpcsvc/nis.h: Update copyright notice.
26736 * nis/rpcsvc/nis.x: Likewise.
26737 * nis/rpcsvc/nis_callback.h: Likewise.
26738 * nis/rpcsvc/nis_callback.x: Likewise.
26739 * nis/rpcsvc/nis_object.x: Likewise.
26740 * nis/rpcsvc/nis_tags.h: Likewise.
26741 * nis/rpcsvc/yp.h: Likewise.
26742 * nis/rpcsvc/yp.x: Likewise.
26743 * nis/rpcsvc/ypupd.h: Likewise.
26744 * nis/yp_xdr.c: Likewise.
26745 * nis/ypupdate_xdr.c: Likewise.
26746
2f3e3dc7
UD
26747 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26748 mainly the body of pmap_getport. Add parameters to specify timeouts.
26749 (pmap_getport): Use __libc_rpc_getport.
26750 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26751 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26752 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26753
f3dcc2f9
AS
267542010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26755
26756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26757 fanotify_mark.
26758
6d34eb5b
RM
267592010-08-27 Roland McGrath <roland@redhat.com>
26760
26761 * sysdeps/i386/i686/multiarch/Makefile
26762 (CFLAGS-varshift.c): New variable.
26763
9ea3de11
UD
267642010-08-27 Ulrich Drepper <drepper@redhat.com>
26765
c96d23fc
UD
26766 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26767 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26768
9ea3de11
UD
26769 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26770
26771 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26772
623aac7f
L
267732010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26774
26775 * sysdeps/x86_64/strlen.S: Unroll the loop.
26776 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26777 strlen-sse2 strlen-sse2-bsf.
26778 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26779 __strlen_no_bsf if bit_Slow_BSF is set.
26780 (__strlen_sse42): Removed.
26781 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26782 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26783
8b2b7715
RM
267842010-08-25 Roland McGrath <roland@redhat.com>
26785
26786 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26787 * sysdeps/x86_64/multiarch/varshift.c: New file.
26788 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26789 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26790 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26791 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26792
e73015f2
L
267932010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26794
26795 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26796 strlen-sse2 strlen-sse2-bsf.
26797 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26798 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26799 (__strlen_sse2): Removed.
26800 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26801 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26803 bit_Slow_BSF for Atom.
26804 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26805 (index_Slow_BSF): Define.
26806 (HAS_SLOW_BSF): Define.
26807
df24a73e
UD
268082010-08-25 Ulrich Drepper <drepper@redhat.com>
26809
26810 [BZ #10851]
26811 * resolv/res_init.c (__res_vinit): When no server address at all
26812 is given default to loopback.
26813
f2ac4868
RM
268142010-08-24 Roland McGrath <roland@redhat.com>
26815
09055553
RM
26816 * configure.in: Remove config-name.h generation.
26817 * configure: Regenerated.
26818 * config-name.in: File removed.
26819 * scripts/config-uname.sh: New file.
26820 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26821 ($(objdir)config-name.h): New target.
26822
f2ac4868
RM
26823 * sunrpc/rpc_parse.h: Avoid nested comment.
26824
73f27d5e
RH
268252010-08-24 Richard Henderson <rth@redhat.com>
26826 Ulrich Drepper <drepper@redhat.com>
26827 H.J. Lu <hongjiu.lu@intel.com>
26828
26829 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26830 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26831 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26832 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26833 _mm_alignr_epi8 with _mm_loadu_si128.
26834 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26835 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26836 (__m128i_shift_right): Removed.
26837 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26838 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26839 * sysdeps/x86_64/multiarch/varshift.h: New file.
26840 * sysdeps/x86_64/multiarch/varshift.S: New file.
26841
84b9230c
MF
268422010-08-21 Mike Frysinger <vapier@gentoo.org>
26843
26844 * configure.in: Move assembler checks to before sysdep dir checking.
26845
9bbd0ddc
PB
268462010-08-20 Petr Baudis <pasky@suse.cz>
26847
26848 * LICENSES: Sync the sunrpc license.
26849
9da4bb31
UD
268502010-08-19 Ulrich Drepper <drepper@redhat.com>
26851
a7ab6ec8
UD
26852 * sunrpc/auth_des.c: Update copyright notice once again.
26853 * sunrpc/auth_none.c: Likewise.
26854 * sunrpc/auth_unix.c: Likewise.
26855 * sunrpc/authdes_prot.c: Likewise.
26856 * sunrpc/authuxprot.c: Likewise.
26857 * sunrpc/bindrsvprt.c: Likewise.
26858 * sunrpc/clnt_gen.c: Likewise.
26859 * sunrpc/clnt_perr.c: Likewise.
26860 * sunrpc/clnt_raw.c: Likewise.
26861 * sunrpc/clnt_simp.c: Likewise.
26862 * sunrpc/clnt_tcp.c: Likewise.
26863 * sunrpc/clnt_udp.c: Likewise.
26864 * sunrpc/clnt_unix.c: Likewise.
26865 * sunrpc/des_crypt.c: Likewise.
26866 * sunrpc/des_soft.c: Likewise.
26867 * sunrpc/get_myaddr.c: Likewise.
26868 * sunrpc/getrpcport.c: Likewise.
26869 * sunrpc/key_call.c: Likewise.
26870 * sunrpc/key_prot.c: Likewise.
26871 * sunrpc/openchild.c: Likewise.
26872 * sunrpc/pm_getmaps.c: Likewise.
26873 * sunrpc/pm_getport.c: Likewise.
26874 * sunrpc/pmap_clnt.c: Likewise.
26875 * sunrpc/pmap_prot.c: Likewise.
26876 * sunrpc/pmap_prot2.c: Likewise.
26877 * sunrpc/pmap_rmt.c: Likewise.
26878 * sunrpc/rpc/auth.h: Likewise.
26879 * sunrpc/rpc/auth_unix.h: Likewise.
26880 * sunrpc/rpc/clnt.h: Likewise.
26881 * sunrpc/rpc/des_crypt.h: Likewise.
26882 * sunrpc/rpc/key_prot.h: Likewise.
26883 * sunrpc/rpc/netdb.h: Likewise.
26884 * sunrpc/rpc/pmap_clnt.h: Likewise.
26885 * sunrpc/rpc/pmap_prot.h: Likewise.
26886 * sunrpc/rpc/pmap_rmt.h: Likewise.
26887 * sunrpc/rpc/rpc.h: Likewise.
26888 * sunrpc/rpc/rpc_des.h: Likewise.
26889 * sunrpc/rpc/rpc_msg.h: Likewise.
26890 * sunrpc/rpc/svc.h: Likewise.
26891 * sunrpc/rpc/svc_auth.h: Likewise.
26892 * sunrpc/rpc/types.h: Likewise.
26893 * sunrpc/rpc/xdr.h: Likewise.
26894 * sunrpc/rpc_clntout.c: Likewise.
26895 * sunrpc/rpc_cmsg.c: Likewise.
26896 * sunrpc/rpc_common.c: Likewise.
26897 * sunrpc/rpc_cout.c: Likewise.
26898 * sunrpc/rpc_dtable.c: Likewise.
26899 * sunrpc/rpc_hout.c: Likewise.
26900 * sunrpc/rpc_main.c: Likewise.
26901 * sunrpc/rpc_parse.c: Likewise.
26902 * sunrpc/rpc_parse.h: Likewise.
26903 * sunrpc/rpc_prot.c: Likewise.
26904 * sunrpc/rpc_sample.c: Likewise.
26905 * sunrpc/rpc_scan.c: Likewise.
26906 * sunrpc/rpc_scan.h: Likewise.
26907 * sunrpc/rpc_svcout.c: Likewise.
26908 * sunrpc/rpc_tblout.c: Likewise.
26909 * sunrpc/rpc_util.c: Likewise.
26910 * sunrpc/rpc_util.h: Likewise.
26911 * sunrpc/rpcinfo.c: Likewise.
26912 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26913 * sunrpc/rpcsvc/key_prot.x: Likewise.
26914 * sunrpc/rpcsvc/klm_prot.x: Likewise.
26915 * sunrpc/rpcsvc/mount.x: Likewise.
26916 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26917 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26918 * sunrpc/rpcsvc/rex.x: Likewise.
26919 * sunrpc/rpcsvc/rstat.x: Likewise.
26920 * sunrpc/rpcsvc/rusers.x: Likewise.
26921 * sunrpc/rpcsvc/sm_inter.x: Likewise.
26922 * sunrpc/rpcsvc/spray.x: Likewise.
26923 * sunrpc/rpcsvc/yppasswd.x: Likewise.
26924 * sunrpc/rtime.c: Likewise.
26925 * sunrpc/svc.c: Likewise.
26926 * sunrpc/svc_auth.c: Likewise.
26927 * sunrpc/svc_authux.c: Likewise.
26928 * sunrpc/svc_raw.c: Likewise.
26929 * sunrpc/svc_run.c: Likewise.
26930 * sunrpc/svc_simple.c: Likewise.
26931 * sunrpc/svc_tcp.c: Likewise.
26932 * sunrpc/svc_udp.c: Likewise.
26933 * sunrpc/svc_unix.c: Likewise.
26934 * sunrpc/svcauth_des.c: Likewise.
26935 * sunrpc/xcrypt.c: Likewise.
26936 * sunrpc/xdr.c: Likewise.
26937 * sunrpc/xdr_array.c: Likewise.
26938 * sunrpc/xdr_float.c: Likewise.
26939 * sunrpc/xdr_mem.c: Likewise.
26940 * sunrpc/xdr_rec.c: Likewise.
26941 * sunrpc/xdr_ref.c: Likewise.
26942 * sunrpc/xdr_sizeof.c: Likewise.
26943 * sunrpc/xdr_stdio.c: Likewise.
26944
9da4bb31
UD
26945 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26946 handling.
26947
bdaa77bc
AS
269482010-08-19 Andreas Schwab <schwab@redhat.com>
26949
26950 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26951
fe2f79db
LM
269522010-08-19 Luis Machado <luisgpm@br.ibm.com>
26953
26954 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26955 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26956 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26957 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26958 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26959 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26960 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26961 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26962 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26963 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26964 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26965 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26966 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26967 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26968
b9b42ee0
AB
269692010-07-26 Anton Blanchard <anton@samba.org>
26970
26971 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26972 * malloc/arena.c (heap_trim): Likewise.
26973
1c06ba31
UD
269742010-08-16 Ulrich Drepper <drepper@redhat.com>
26975
26976 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26977 here. Not...
26978 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26979 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26980
f8392f40
L
269812010-08-12 H.J. Lu <hongjiu.lu@intel.com>
26982
26983 * sysdeps/i386/elf/Makefile: New file.
26984
3162f12e
AS
269852010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26986
26987 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26988 from fanotify_init.
26989 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26990 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26991
28c90b2c
UD
269922010-08-15 Ulrich Drepper <drepper@redhat.com>
26993
26994 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26995 of strncasecmp_l.
1feccb6c 26996 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 26997
ca6bb004
UD
269982010-08-14 Ulrich Drepper <drepper@redhat.com>
26999
e9f82e0d
UD
27000 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27001 strncase_l-nonascii.
27002 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27003 Add strncase_l-ssse3.
27004 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27005 * sysdeps/x86_64/strcmp.S: Likewise.
27006 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27007 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27008 * sysdeps/x86_64/strncase.S: New file.
27009 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27010 * sysdeps/x86_64/strncase_l.S: New file.
27011 * string/Makefile (strop-tests): Add strncasecmp.
27012 * string/test-strncasecmp.c: New file.
27013
27014 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27015 warning.
27016
ca6bb004
UD
27017 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27018 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27019
052fa7b3
AS
270202010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27021
27022 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27023
962dba78
UD
270242010-08-12 Ulrich Drepper <drepper@redhat.com>
27025
27026 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27027 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27028 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27029
bebff237
AM
270302010-05-01 Alan Modra <amodra@gmail.com>
27031
27032 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27033 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27034 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27035 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27036 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27037 tidying. Don't tail-call __sigjmp_save for static lib.
27038 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27039 save location.
27040 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27041 (CALL_MCOUNT): Add eh info, and nop after bl.
27042 (TAIL_CALL_SYSCALL_ERROR): New macro.
27043 (PSEUDO_RET): Use it.
27044 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27045 Correct save location of integer regs and cr.
27046 (_dl_profile_resolve): Correct cr save location. Delete nops
27047 after bl when SHARED. Reduce cfi size a little by better
27048 placement of cfi directives.
27049 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27050 make a stack frame. Instead use parm save area as a temp.
27051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27052 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27054 Don't make a stack frame for parent, use parm save area.
27055 Increase child stack frame to 112 bytes. Don't save unused reg,
27056 and adjust reg usage. Set up cfi on error recovery and
27057 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27059 (__makecontext): Add dummy nop after jump to exit.
27060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27061 Use correct parm save area and cr save, reduce stack frame.
27062 Correct cfi for possible PSEUDO_RET frame setup.
27063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27064 Branch to local label emitted by PSEUDO_RET rather than
27065 __syscall_error.
27066
02637374
AS
270672010-08-12 Andreas Schwab <schwab@redhat.com>
27068
27069 [BZ #11904]
27070 * locale/programs/locale.c (print_assignment): New function.
27071 (show_locale_vars): Use it.
27072
c3e2f19b
UD
270732010-08-11 Ulrich Drepper <drepper@redhat.com>
27074
3cdaa6ad
UD
27075 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27076 field.
27077 (struct statfs64): Likewise.
27078 (_STATFS_F_FLAGS): Define.
27079 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27080 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27081 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27082 (ST_VALID): Define locally.
27083 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27084 __statvfs_getflags, use the provided value.
27085 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27086 __ASSUME_STATFS_F_FLAGS.
27087
754f7da3
UD
27088 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27089
10b3bedc
UD
27090 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27091 Add sys/fanotify.h.
27092 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27093 fanotify_mask for GLIBC_2.13.
27094 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27095 fanotify_init and fanotify_mark.
27096 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27097 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27098
c08fb0d7
UD
27099 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27100 Add prlimit.
27101 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27102 prlimit64 for GLIBC_2.13.
27103 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27104 prlimit64.
27105 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27106 syscall.
27107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27108 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27109 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27110 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27111 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27112 add prlimit alias.
27113 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27114
15bac72b
UD
27115 [BZ #11903]
27116 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27117 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27118
c3e2f19b
UD
27119 * nss/Makefile: Add rules to build and run tst-nss-test1.
27120 * shlib-versions: Add entry for libnss_test1.
27121 * nss/nss_test1.c: New file.
27122 * nss/tst-nss-test1.c: New file.
27123
27124 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27125 (__nss_configure_lookup): Set appropriate entry in
27126 __nss_configure_lookup to true.
27127 * nss/nsswitch.h: Define enum with indeces of databases in
27128 databases and __nss_database_custom arrays. Declare
27129 __nss_database_custom.
27130 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27131 to avoid using nscd when custom rules are installed.
27132 * nss/getXXbyYY_r.c: Likewise.
27133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27134
27135 * nss/nss_files/files-parse.c: Whitespace fixes.
27136
f15ce4d8
UD
271372010-08-09 Ulrich Drepper <drepper@redhat.com>
27138
27139 [BZ #11883]
27140 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27141 * posix/fnmatch_loop.c: Likewise.
27142
d22e4cc9
AK
271432010-07-17 Andi Kleen <ak@linux.intel.com>
27144
27145 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27146 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27147 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27148 * Versions.def [GLIBC_2.13]: Add.
27149
805bc17d
UD
271502010-08-06 Ulrich Drepper <drepper@redhat.com>
27151
27152 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27153 Also fail if tpwd after pwuid call is NULL.
27154
5a42321d
ST
271552010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27156
27157 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27158 when converting to ms.
27159
fd3ebeda
ST
271602010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27161
27162 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27163 EOPNOTSUPP errors with ENOTTY.
27164 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27165 EOPNOTSUPP errors with ENOTTY.
27166
73507d3a
UD
271672010-07-31 Ulrich Drepper <drepper@redhat.com>
27168
27169 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27170 Add strcasecmp_l-ssse3.
27171 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27172 strcasecmp.
27173 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27174 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27175 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27176
fe36dd02
UD
271772010-07-30 Ulrich Drepper <drepper@redhat.com>
27178
66f6765a
UD
27179 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27180
42e08a54
UD
27181 * string/Makefile (strop-tests): Add strcasecmp.
27182 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27183 strcasecmp_l-nonascii.
27184 (gen-as-const-headers): Add locale-defines.sym.
27185 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27186 * sysdeps/x86_64/strcasecmp.S: New file.
27187 * sysdeps/x86_64/strcasecmp_l.S: New file.
27188 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27189 * sysdeps/x86_64/locale-defines.sym: New file.
27190 * string/test-strcasecmp.c: New file.
27191
fe36dd02
UD
27192 * string/test-strcasestr.c: Test both ends of the range of characters.
27193 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27194
48cbc0d6
RM
271952010-07-29 Roland McGrath <roland@redhat.com>
27196
76e6d6bc 27197 [BZ #11856]
48cbc0d6
RM
27198 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27199
880113d9
UD
272002010-07-27 Ulrich Drepper <drepper@redhat.com>
27201
27202 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27203 for ld.so.
27204
deb9cabb
AS
272052010-07-27 Andreas Schwab <schwab@redhat.com>
27206
27207 * manual/memory.texi (Malloc Tunable Parameters): Document
27208 M_PERTURB.
27209
1c7570ff
RM
272102010-07-26 Roland McGrath <roland@redhat.com>
27211
27212 [BZ #11840]
27213 * configure.in (-fgnu89-inline check): Set and substitute
27214 gnu89_inline, not libc_cv_gnu89_inline.
27215 * configure: Regenerated.
27216 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27217
24fb0f88
UD
272182010-07-26 Ulrich Drepper <drepper@redhat.com>
27219
27220 * string/test-strnlen.c: New file.
27221 * string/Makefile (strop-tests): Add strnlen.
27222 * string/tester.c (test_strnlen): Add a few more test cases.
27223 * string/tst-strlen.c: Better error reporting.
27224
27225 * sysdeps/x86_64/strnlen.S: New file.
27226
8e96b93a
UD
272272010-07-24 Ulrich Drepper <drepper@redhat.com>
27228
27229 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27230 lower-latency instructions.
27231
dbc676d4
UD
272322010-07-23 Ulrich Drepper <drepper@redhat.com>
27233
27234 * string/test-strcasestr.c: New file.
27235 * string/test-strstr.c: New file.
27236 * string/Makefile (strop-tests): Add strstr and strcasestr.
27237 * string/str-two-way.h: Don't undefine MAX.
27238 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27239
f6a31e0e
AS
272402010-07-21 Andreas Schwab <schwab@redhat.com>
27241
27242 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27243 strcasestr-nonascii.
27244 (CFLAGS-strcasestr-nonascii.c): Define.
27245 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27246 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27247 Remove unused attribute.
27248
5dbc3b6c
RM
272492010-07-20 Roland McGrath <roland@redhat.com>
27250
27251 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27252 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27253 ld.so.cache was broken. With it, there is no way to disable dsocaps
27254 like LD_HWCAP_MASK can disable hwcaps.
27255
23d101d8
EPM
272562010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27257
27258 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27259
cc9f2e47
UD
272602010-07-16 Ulrich Drepper <drepper@redhat.com>
27261
27262 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27263 call in strcasestr.
27264 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27265 __strcasestr_sse42_nonascii.
27266 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27267 strcasestr-nonascii.c.
27268 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27269
77c1b069
LM
272702010-06-15 Luis Machado <luisgpm@br.ibm.com>
27271
27272 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27273 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27274 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27275 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27276
440566c3
UD
272772010-07-09 Ulrich Drepper <drepper@redhat.com>
27278
27279 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27280 fcntl.
27281
5be9d05d
AS
272822010-07-06 Andreas Schwab <schwab@redhat.com>
27283
c30b7ee2 27284 [BZ #11577]
5be9d05d
AS
27285 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27286 dl_signal_cerror.
27287
8a492a67
UD
272882010-07-06 Ulrich Drepper <drepper@redhat.com>
27289
27290 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27291 _PC_PIPE_BUF using F_GETPIPE_SZ.
27292
713df3d5
RM
272932010-07-05 Roland McGrath <roland@redhat.com>
27294
27295 * manual/arith.texi (Rounding Functions): Fix rint description
27296 implicit in round description.
27297
702e8f14
UD
272982010-07-02 Ulrich Drepper <drepper@redhat.com>
27299
27300 * elf/Makefile: Fix linking for a few tests to make recent linker
27301 happy.
27302
52ed8be9
AS
273032010-06-30 Andreas Schwab <schwab@redhat.com>
27304
27305 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27306 $(common-objpfx)libc_nonshared.a.
27307
f47c9a11
LM
273082010-06-21 Luis Machado <luisgpm@br.ibm.com>
27309
27310 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27311 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27312 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27313 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27314 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27315 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27316 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27317 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27332 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27333 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27334 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27335 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27336 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27337 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27338 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27339 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27340 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27341 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27342 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27343 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27358
6fb8cbcb
L
273592010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27360
27361 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27362 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27363 * string/memmove.c (memmove): Renamed to ...
27364 (MEMMOVE): ...this. Default to memmove.
27365 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27366 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27367 (END_CHK): Define.
27368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27369 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27370 mempcpy-ssse3-back memmove-ssse3-back.
27371 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27372 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27373 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27374 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27375 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27376 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27377 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27378 * sysdeps/x86_64/multiarch/memmove.c: New file.
27379 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27380 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27381 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27382 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27383 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27384 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27385 Define.
27386 (index_Fast_Copy_Backward): Define.
27387 (HAS_ARCH_FEATURE): Define.
27388 (HAS_FAST_REP_STRING): Define.
27389 (HAS_FAST_COPY_BACKWARD): Define.
27390
4e733bac 273912010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
27392
27393 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27394 Restore proper fallback handling.
27395
63c4ed22
UD
273962010-06-19 Ulrich Drepper <drepper@redhat.com>
27397
ac2b484c
UD
27398 [BZ #11701]
27399 * posix/group_member.c (__group_member): Correct checking loop.
27400
63c4ed22
UD
27401 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27402 OOM in getpwuid_r correctly. Return error number when the caller
27403 should return, otherwise -1.
27404 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27405 call returning > 0 value.
27406 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27407
765ade4b
AS
274082010-06-07 Andreas Schwab <schwab@redhat.com>
27409
27410 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27411 libc_nonshared.a from targets in modules-names.
27412
80da2e09
KS
274132010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27414
27415 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27416 requires it.
27417
158db122
LM
274182010-06-10 Luis Machado <luisgpm@br.ibm.com>
27419
27420 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27421 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27422 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27423 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27424
caa78cf8
AS
274252010-06-02 Andreas Schwab <schwab@redhat.com>
27426
27427 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27428
b2ef2c01
UD
274292010-06-14 Ulrich Drepper <drepper@redhat.com>
27430
27431 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27432 and F_GETPIPE_SZ.
27433 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27434 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27435 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27436 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27437 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27438 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27439
fbd643b6
RM
274402010-06-14 Roland McGrath <roland@redhat.com>
27441
27442 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27443
f32f2869
JJ
274442010-06-07 Jakub Jelinek <jakub@redhat.com>
27445
27446 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27447 __REDIRECT followed by __THROW.
27448 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27449 * posix/getopt.h (getopt): Likewise.
27450
2a50c078
EPM
274512010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27452
27453 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27454 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27455 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27456 in AT_FLAGS.
27457 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27458 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27459
eb5ad2eb
LM
274602010-05-28 Luis Machado <luisgpm@br.ibm.com>
27461
27462 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27463
3c88fe1e
L
274642010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27465
27466 [BZ #11640]
27467 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27468 Properly check family and model.
27469
d2f73151
TY
274702010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27471
27472 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27473
ebd2e13d
LM
274742010-05-24 Luis Machado <luisgpm@br.ibm.com>
27475
27476 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27477
b32b8b45
UD
274782010-05-21 Ulrich Drepper <drepper@redhat.com>
27479
27480 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27481 symbol reference.
27482
9acbe24d
AS
274832010-05-19 Andreas Schwab <schwab@redhat.com>
27484
27485 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27486 symbol reference.
27487
f0ccf6ea
AS
274882010-05-21 Andreas Schwab <schwab@redhat.com>
27489
3d04ff3a
AS
27490 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27491 and internal_recvmmsg.
27492 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27493 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27494 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27495 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27496
f0ccf6ea
AS
27497 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27498 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27499 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27500
5b08ac57
AS
275012010-05-20 Andreas Schwab <schwab@redhat.com>
27502
27503 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27504
4828935d
LM
275052010-05-17 Luis Machado <luisgpm@br.ibm.com>
27506
27507 POWER7 optimizations.
27508 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27509 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27510
373d545e
UD
275112010-05-19 Ulrich Drepper <drepper@redhat.com>
27512
27513 * version.h: Update for 2.13 development version.
27514
21a2b1ae
AS
275152010-05-12 Andrew Stubbs <ams@codesourcery.com>
27516
27517 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27518 exceptions. Return 0.
27519
3f7dcb2b
RM
275202010-05-07 Roland McGrath <roland@redhat.com>
27521
27522 * elf/ldconfig.c (main): Add a const.
27523
5f24d53a 275242010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 27525
a160f8d8
UD
27526 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27527 (args_options): Add no-idn option.
27528 (ahosts_keys_int): Add idn_flags to ai_flags.
27529 (parse_option): Handle 'i' option to clear idn_flags.
27530
5f24d53a
UD
27531 * malloc/malloc.c (_int_free): Possible race in the most recently
27532 added check. Only act on the data if no current modification
27533 happened.
265bb1ce
UD
27534
27535See ChangeLog.17 for earlier changes.