]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Remove usage of ONE macro
[thirdparty/glibc.git] / ChangeLog
CommitLineData
0f6a8d4b
SP
12013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2
0d1029de
SP
3 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4 ONE with its value.
5
c2d94018
SP
6 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7 (__pow_mp): Replace ONE and MONE with their values.
8 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
10 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
12 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14
27ec37f1
SP
15 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
16
a64d7e0e
SP
17 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
18 (__pow_mp): Replace ZERO and MZERO with their values.
19 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
24 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25 (__sqr): Likewise.
26
d26dd3eb
SP
27 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28
0f6a8d4b
SP
29 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
30
e57b0c61
RM
312013-03-28 Roland McGrath <roland@hack.frob.com>
32
33 * include/stdlib.h [!SHARED] (__call_tls_dtors):
34 Declare with __attribute__ ((weak)).
35 * stdlib/exit.c (__libc_atexit) [!SHARED]:
36 Call __call_tls_dtors only if it's not NULL.
37
356b3480
RM
382013-03-28 Roland McGrath <roland@hack.frob.com>
39
288f7d79
RM
40 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
41 didn't do it already, then set _dl_phdr and _dl_phnum based on the
42 magic __ehdr_start linker symbol if it's defined.
43 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
44 them up here if it was already done.
45
dc0a0263
RM
46 * elf/dl-support.c (_dl_phdr): Make pointer to const.
47 (_dl_aux_init): Use const in cast when setting it.
48 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
49 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
50 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
51
3d3436ae
RM
52 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
53 Declare them here.
54 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
55 * csu/libc-tls.c: Nor here.
56 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
57
356b3480
RM
58 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
59 (__libc_message): Never call vsyslog.
60
b0f1246a
AM
612013-03-28 Alan Modra <amodra@gmail.com>
62
63 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
64 Define as empty.
65 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
66 Likewise.
67
fbbe2b9a
AZ
682013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69
70 [BZ #15214]
71 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
72 underflow.
73 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74
1728ab37
SP
752013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
76
7a86be6e
SP
77 [BZ #15304]
78 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
79 Don't add gid passed as argument.
80
1728ab37
SP
81 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
82
3a7182a1
JM
832013-03-27 Joseph Myers <joseph@codesourcery.com>
84
85 [BZ #15307]
86 * math/k_casinh.c (__kernel_casinh): Handle arguments with
87 imaginary part between 1.0 and 1.5 and real part less than 0.5
88 specially.
89 * math/k_casinhf.c (__kernel_casinhf): Likewise.
90 * math/k_casinhl.c (__kernel_casinhl): Likewise.
91 * math/libm-test.inc (cacos_test): Add more tests.
92 (casin_test): Likewise.
93 (casinh_test): Likewise.
94 * sysdeps/i386/fpu/libm-test-ulps: Update.
95 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
96
6f2e90e7
SP
972013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
98
5739f705
SP
99 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
100 constants.
101 (norm): Likewise.
102 (denorm): Likewise.
103 (__dbl_mp): Likewise.
104 (add_magnitudes): Likewise.
105 (sub_magnitudes): Likewise.
106 (__add): Likewise.
107 (__sub): Likewise.
108 (__mul): Likewise.
109 (__sqr): Likewise.
110 (__inv): Likewise.
111 (__dvd): Likewise.
112
e375e83d
SP
113 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
114 commented code.
115 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
116 (__dubcos): Likewise.
117 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
118 (__ieee754_acos): Likewise.
119 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
120 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
121 (__exp1): Likewise.
122 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
123 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
124 (log1): Likewise.
125 (my_log2): Likewise.
126 (checkint): Likewise.
127 * sysdeps/ieee754/dbl-64/e_remainder.c
128 (__ieee754_remainder): Likewise.
129 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
130 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
131 (bsloww): Likewise.
132 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
133
6f2e90e7
SP
134 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
135 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
136 MANTISSA_STORE_T to store computations on mantissa. Use
137 macros for rounding and division.
138 (denorm): Likewise.
139 (__dbl_mp): Likewise.
140 (add_magnitudes): Likewise.
141 (sub_magnitudes): Likewise.
142 (__mul): Likewise.
143 (__sqr): Likewise.
144 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
145 powers of two in terms of TWOPOW macro.
146 (mp_no): Make type of mantissa as MANTISSA_T.
147 [!RADIXI]: Define RADIXI.
148 [!TWO52]: Define TWO52.
149 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
150
fce14d4e
AZ
1512013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
152
153 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
154 llroundl symbol when building for PPC32.
155
9ad027fb
MW
1562013-03-24 Mark H Weaver <mhw@netris.org>
157
158 * manual/arith.texi (Normalization Functions): Fix prototypes for
159 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
160
e42a38dd
AZ
1612013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
162
163 [BZ #13889]
164 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
165 high value to check if expl overflow.
166 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
167 to check for underflow and overflow.
168 * math/libm-test.inc: Add exp test.
169
2e0fb521
DL
1702013-03-21 Dmitry V. Levin <ldv@altlinux.org>
171
172 [BZ #11120]
173 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
174 with NOT_IN_libc.
175
b5784d95
AZ
1762013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
177
178 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
179 symbol.
180
5aa4a1a1
TS
1812013-03-21 Thomas Schwinge <thomas@codesourcery.com>
182
bdef0be7
TS
183 * math/gen-libm-test.pl (parse_args, special_functions): Properly
184 wrap blocks consisting of several statements.
185
5aa4a1a1
TS
186 * sysdeps/generic/math-tests.h: New file.
187 * sysdeps/i386/fpu/math-tests.h: Likewise.
188 * math/test-snan.c: Include it.
189 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
190
98c48fe5
JM
1912013-03-21 Joseph Myers <joseph@codesourcery.com>
192
193 [BZ #15285]
194 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
195 (__ieee754_j0l): Do not improve calculations using cos of twice
196 input for inputs above LDBL_MAX / 2.0L.
197 (__ieee754_y0l): Likewise.
198 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
199 (__ieee754_j1l): Do not improve calculations using cos of twice
200 input for inputs above LDBL_MAX / 2.0L.
201 (__ieee754_y1l): Likewise.
202 * math/libm-test.inc (j0_test): Add another test.
203 (j1_test): Likewise.
204 (y0_test): Likewise.
205 (y1_test): Likewise.
206 * sysdeps/i386/fpu/libm-test-ulps: Update.
207
3775a8bc
SP
2082013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
209
210 * Rules ($(objpfx)bench-%.c): Include code from a C source
211 file.
212
0a1b2ae6
JM
2132013-03-21 Joseph Myers <joseph@codesourcery.com>
214
215 [BZ #15287]
216 * math/k_casinh.c (__kernel_casinh): Handle arguments with
217 imaginary part 1.0 and real part less than 0.5 specially.
218 * math/k_casinhf.c (__kernel_casinhf): Likewise.
219 * math/k_casinhl.c (__kernel_casinhl): Likewise.
220 * math/libm-test.inc (cacos_test): Add more tests.
221 (casin_test): Likewise.
222 (casinh_test): Likewise.
223 * sysdeps/i386/fpu/libm-test-ulps: Update.
224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
225
b33d4ce4
SP
2262013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
227
228 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
229 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
230
bef0b507
JM
2312013-03-20 Joseph Myers <joseph@codesourcery.com>
232
233 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
234 * config.make.in (config-cflags-sse4): Remove variable.
235 (config-cflags-avx): Likewise.
236 (config-cflags-sse2avx): Likewise.
237 (config-cflags-novzeroupper): Likewise.
238 (config-asflags-i686): Likewise.
239 (have-mfma4): Likewise.
240 (have-as-vis3): Likewise.
241 (MIG): Likewise.
242 * configure.in (MIG): Do not AC_SUBST.
243 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
244 (libc_cv_cc_sse4): Do not AC_SUBST.
245 (libc_cv_cc_avx): Likewise.
246 (libc_cv_cc_sse2avx): Likewise.
247 (libc_cv_cc_novzeroupper): Likewise.
248 (libc_cv_cc_fma4): Likewise.
249 (libc_cv_as_i686): Likewise.
250 (libc_cv_sparc_as_vis3): Likewise.
251 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
252 LIBC_CONFIG_VAR.
253 (config-asflags-i686): Likewise.
254 (config-cflags-avx): Likewise.
255 (config-cflags-sse2avx): Likewise.
256 (have-mfma4): Likewise.
257 (config-cflags-novzeroupper): Likewise.
258 * sysdeps/mach/configure.in (MIG): Likewise.
259 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
260 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
261 LIBC_CONFIG_VAR.
262 (config-cflags-avx): Likewise.
263 (config-cflags-sse2avx): Likewise.
264 (have-mfma4): Likewise.
265 (config-cflags-novzeroupper): Likewise.
266 * configure: Regenerated.
267 * sysdeps/i386/configure: Likewise.
268 * sysdeps/mach/configure: Likewise.
269 * sysdeps/sparc/configure: Likewise.
270 * sysdeps/x86_64/configure: Likewise.
271
912cc4b3
RM
2722013-03-20 Roland McGrath <roland@hack.frob.com>
273
274 [BZ #14812]
275 * locale/programs/localedef.c (options): Put N_ translation marker
276 on argument names, not just descriptions.
277
04eed2b0
MS
2782013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
279
280 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
281
a065ceff
OB
2822013-03-20 Ondřej Bílka <neleai@seznam.cz>
283
9bb2a810 284 [BZ #14176]
a065ceff
OB
285 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
286
a600e5ce
RM
2872013-03-19 Roland McGrath <roland@hack.frob.com>
288
289 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
290 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
291 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
292 [!BEFORE_ABORT] (before_abort): New function.
293 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
294 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
295 (writev_for_fatal): New function.
296 (WRITEV_FOR_FATAL): New macro; call that.
297 (backtrace_and_maps): New function.
298 (BEFORE_ABORT): New macro; call that.
299 (struct str_list): Type removed.
300 (__libc_message, __libc_fatal): Functions removed.
301 Include <sysdeps/posix/libc_fatal.c> instead.
302
6b18bea6
JM
3032013-03-19 Joseph Myers <joseph@codesourcery.com>
304
305 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
306 constants.
307 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
308 double constants.
309
aaa8cb4b
AS
3102013-03-19 Andreas Schwab <schwab@suse.de>
311
44673770
AS
312 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
313 * sysdeps/gnu/configure: Regenerate.
314
aaa8cb4b
AS
315 * configure.in: Substitute libc_cv_rtlddir.
316 * configure: Regenerate.
317 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
318 * Makeconfig (rtlddir, inst_rtlddir): New variables.
319 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
320 * elf/Makefile (install-others, CFLAGS-interp.c)
321 (ldso_install, common-ldd-rewrite): Likewise.
322 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
323 $(inst_slibdir)/$(rtld-installed-name).
324 * scripts/rellns-sh: Add -p option.
325 * Makerules (make-shlib-link): Use rellns-sh to get relative name
326 for source.
327
d3cfc668
SP
3282013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
329
330 * manual/nptl.texi: Renamed to ...
331 * manual/threads.texi: ... this.
332 * manual/Makefile (chapters): Update.
333
0e2b9cdd
RM
3342013-03-18 Roland McGrath <roland@hack.frob.com>
335
336 [BZ #14812]
337 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
338 on argument names, not just descriptions.
0e2b9cdd
RM
339 * malloc/memusagestat.c (options): Likewise.
340 * nss/getent.c (options): Likewise.
63270c24
RM
341
3422013-03-18 Benno Schulenberg <bensberg@justemail.net>
343
344 [BZ #14812]
345 * iconv/iconv_prog.c (options): Put N_ translation marker
346 on argument names, not just descriptions.
347 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 348
b2e1393c
OB
3492013-03-18 Ondrej Bilka <neleai@seznam.cz>
350
351 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
352 implementation which is faster on all x86_64 architectures.
353 Tested on AMD, Intel Nehalem, SNB, IVB.
354 * sysdeps/x86_64/strnlen.S: Likewise.
355
356 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
357 Remove all multiarch strlen and strnlen versions.
358 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
359 Remove strlen and strnlen related parts.
360
361 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
362 Inline strlen part.
363 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
364
365 * sysdeps/x86_64/multiarch/strlen.S: Remove.
366 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
367 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
368 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
369 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
370 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
371
ec4ff04d
CD
3722013-03-17 Carlos O'Donell <carlos@redhat.com>
373
374 * manual/memory.texi (Malloc Tunable Parameters):
375 Sort parameters alphabetically. Add comments for missing entries.
376
cd18e90a
DM
3772013-03-17 David S. Miller <davem@davemloft.net>
378
379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
380
2a185d32
JM
3812013-03-16 Joseph Myers <joseph@codesourcery.com>
382
d2f9799e
JM
383 [BZ #15283]
384 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
385 for arguments at most half maximum finite value.
386 * math/libm-test.inc (j0_test): Add more tests.
387 (j1_test): Likewise.
388 (y0_test): Likewise.
389 (y1_test): Likewise.
390 * sysdeps/i386/fpu/libm-test-ulps: Update.
391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
392
2a185d32
JM
393 [BZ #14155]
394 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
395 1 / x and functions P and Q for arguments above 0x1p256L.
396 (__ieee754_y0l): Likewise.
397 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
398 (__ieee754_y1l): Likewise.
399 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
400 (j1_test): Likewise.
401 (y0_test): Likewise.
402 (y1_test): Likewise.
403
6cbec759
TS
4042013-03-16 Thomas Schwinge <thomas@codesourcery.com>
405
406 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
407 variable.
408
bc16e260
RM
4092013-03-15 Roland McGrath <roland@hack.frob.com>
410
aefc9b8c
RM
411 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
412 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
413 zero since it's initialized to EXEC_PAGESIZE.
414
bc16e260
RM
415 * sysdeps/unix/sysv/linux/ldsodefs.h
416 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
417 * sysdeps/generic/ldsodefs.h: ... here.
418
a57da955
TS
4192013-03-15 Thomas Schwinge <thomas@codesourcery.com>
420
af00a34d
TS
421 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
422
495ded2c
TS
423 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
424 math/test-snan.c.
425 * math/test-snan.c: Renamed from
426 sysdeps/powerpc/fpu/test-powerpc-snan.c.
427 * math/Makefile (tests): Add test-snan.
428 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
429 test-powerpc-snan.
430
777b0332
TS
431 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
432 SUFFIX. Initialize qNaN_var with __builtin_nan family of
433 functions.
434 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
435 __builtin_nan family of functions.
436 * math/libm-test.inc (initialize): Initialize qnan_value with
437 __builtin_nan family of functions.
438 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
439 Remove variables.
440 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
441 Remove functions.
442 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
443 storage class. Initialize qNaN_var and sNaN_var with
444 __builtin_nan and __builtin_nans families of functions,
445 respectively.
446
64d063b8
TS
447 * math/libm-test.inc (acosh_test): Also test with qNaN input.
448 (sqrt_test): Remove duplicate test with qNaN input.
449 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
450 (round_test, signbit_test, significand_test): Note missing +/-Inf
451 as well as qNaN tests.
452
67e971f1
TS
453 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
454 qNaN_var. Fix a few strings, too.
455 * math/libm-test.inc (nan_value): Rename to qnan_value.
456 * math/gen-libm-test.pl (%beautify): Adjust to that.
457 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
458 * math/test-misc.c (main): Likewise.
459 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
460 to __qnan_bytes, and __qnan_union, respectively.
461 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
462 Likewise.
463 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
464 and lqnanval, respectively.
465 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
466 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
467 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
468 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
469
64487e12
TS
470 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
471 * math/test-misc.c (main) [__x86_64__]: Enable test for long
472 doubles.
473
e015e27b
TS
474 * math/test-misc.c (main): Fix copy'n'pastos.
475 * misc/tst-efgcvt.c (special): Likewise.
476
a57da955
TS
477 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
478 Remove declarations.
479
1e380345
SP
4802013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
481
482 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
483 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
484 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
485 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
486
ef26eece
AZ
4872013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
488
489 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
490 macro to return vdso values correctly in IFUNC implementations.
491 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
492 Optimization by using IFUNC.
493
8cfdb7e0
SP
4942013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
495 Richard Henderson <rth@redhat.com>
496 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
497
498 * Makefile.in (bench): New target.
499 * NEWS: Mention the benchmark framework.
500 * Rules (bench): Likewise.
501 (binaries-bench): Generate binaries for functions to
502 benchmark.
503 * benchtests/Makefile: New makefile for benchmark tests.
504 * benchtests/bench-skeleton.c: New skeleton file for benchmark
505 programs.
506 * benchtests/exp-inputs: New input file for EXP function.
507 * benchtests/pow-inputs: New input file for POW function.
508 * scripts/bench.pl: New script to generate source files for
509 benchmark programs.
510
bcda9880
SP
5112013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
512
d22ca8cd
SP
513 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
514 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
515 computations on mantissa. Use macros for rounding and
516 division.
517 (denorm): Likewise.
518 (__dbl_mp): Likewise.
519 (add_magnitudes): Likewise.
520 (sub_magnitudes): Likewise.
521 (__mul): Likewise.
522 (__sqr): Likewise.
523 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
524 powers of two in terms of TWOPOW macro.
525 (mp_no): Make type of mantissa as MANTISSA_T.
526 [!RADIXI]: Define RADIXI.
527 [!TWO52]: Define TWO52.
528 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
529
bcda9880
SP
530 * manual/nptl.texi (cindex): Modify threads to pthreads.
531
06d5adfb
JM
5322013-03-15 Joseph Myers <joseph@codesourcery.com>
533
534 * sysdeps/x86_64/preconfigure: Regenerated.
535
41c7328e
JM
5362013-03-14 Joseph Myers <joseph@codesourcery.com>
537
538 [BZ #14155]
539 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
540 0x1p28 and above.
541 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
542 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
543 0x1p28 and above.
544 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
545 * math/libm-test.inc (j0_test): Do not allow one spurious
546 underflow exception.
547 (y1_test): Likewise.
548
e25cfa60
SP
5492013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
550
0409959c
SP
551 * manual/Makefile (chapters): Add nptl.
552 * manual/debug.texi (Debugging Support): Add link to Threads
553 chapter.
554 * manual/nptl.texi: New file.
555
e25cfa60
SP
556 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
557
58a1335e
PB
5582013-03-14 Petr Baudis <pasky@ucw.cz>
559
560 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
561 for non-NULL pointer before the memory validity test. Pointed
562 out by Holger Brunck <holger.brunck@keymile.com>.
563
9dc7c64f
AS
5642013-03-13 Andreas Schwab <schwab@suse.de>
565
566 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
567 instead of .os.
568
54206aa6
JM
5692013-03-13 Joseph Myers <joseph@codesourcery.com>
570
571 * timezone/zic.c: Update from tzcode 2013b.
572
e98cdb38
CD
5732013-03-12 Carlos O'Donell <carlos@redhat.com>
574
575 * manual/install.texi (Configuring and compiling):
576 Mention i686 and i586.
577 * INSTALL: Regenerate.
578
9967e003
RM
5792013-03-12 Roland McGrath <roland@hack.frob.com>
580
581 * sysdeps/init_array/elf-init.c: New file.
582 * csu/elf-init.c
583 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
584 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
585
586 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
587 __gmon_start__ as global, but as static with a .preinit_array pointer.
588 * sysdeps/init_array/gmon-start.c: New file. Use that.
589 * sysdeps/init_array/crti.S: New file, empty except for comments.
590 * sysdeps/init_array/crtn.S: Likewise.
591
e6b5a293 5922013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
593
594 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
595 definining bcopy.
80f844c9
OB
596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
597 Remove Prefer_SSE_for_memop.
598 * sysdeps/x86_64/multiarch/init-arch.h: Remove
599 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
600 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
601 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
602 memset-x86-64.
80f844c9 603 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 604 Remove bzero, memset ifunc support.
80f844c9
OB
605 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
606 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
607 * sysdeps/x86_64/multiarch/memset.S: Likewise.
608 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
609
fb6b0fcb
AS
6102013-03-11 Andreas Schwab <schwab@suse.de>
611
612 [BZ #15234]
613 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
614 by SHLIB_COMPAT.
615 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
616 (GLIBC_2.16): Remove pthread_atfork.
617
3e6bd4b1
PP
6182013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
619
620 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
621 (ptestcases.h): Likewise.
622
222d7f00
RM
6232013-03-08 Roland McGrath <roland@hack.frob.com>
624
625 * Makeconfig ($(common-objpfx)config.status): Depend on
626 sysdeps/*/preconfigure{,.in} too.
627
1ba4f030
JM
6282013-03-08 Joseph Myers <joseph@codesourcery.com>
629
a222d91a
JM
630 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
631 (__free_hook): Use void * instead of __malloc_ptr_t.
632 (__malloc_hook): Likewise.
633 (__realloc_hook): Likewise.
634 (__memalign_hook): Likewise.
635 (__after_morecore_hook): Likewise.
636 * malloc/arena.c (save_malloc_hook): Likewise.
637 (save_free_hook): Likewise.
638 * malloc/hooks.c (malloc_hook_ini): Likewise.
639 (realloc_hook_ini): Likewise.
640 (memalign_hook_ini): Likewise.
641 * malloc/malloc.c (malloc_hook_ini): Likewise.
642 (realloc_hook_ini): Likewise.
643 (memalign_hook_ini): Likewise.
644 (__free_hook): Likewise.
645 (__malloc_hook): Likewise.
646 (__realloc_hook): Likewise.
647 (__memalign_hook): Likewise.
648 (__libc_malloc): Likewise.
649 (__libc_free): Likewise.
650 (__libc_realloc): Likewise.
651 (__libc_memalign): Likewise.
652 (__libc_valloc): Likewise.
653 (__libc_pvalloc): Likewise.
654 (__libc_calloc): Likewise.
655 (__posix_memalign): Likewise.
656 * malloc/morecore.c (__sbrk): Likewise.
657 (__default_morecore): Likewise.
658
5cc45e10
JM
659 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
660
dd54b864
JM
661 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
662 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
663 __malloc_ptrdiff_t.
664
1ba4f030
JM
665 * malloc/malloc.h (__malloc_size_t): Remove macro.
666 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
667 __malloc_size_t.
668 (old_memalign_hook): Likewise.
669 (old_realloc_hook): Likewise.
670 (struct hdr): Likewise.
671 (flood): Likewise.
672 (mallochook): Likewise.
673 (memalignhook): Likewise.
674 (reallochook): Likewise.
675 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
676 (tr_old_realloc_hook): Likewise.
677 (tr_old_memalign_hook): Likewise.
678 (tr_mallochook): Likewise.
679 (tr_reallochook): Likewise.
680 (tr_memalignhook): Likewise.
681
edf66e57
AZ
6822013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
683
684 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
685 default_ldbl_pack and using as default implementation.
686 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
687 implementation.
688 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
689 redundant definition.
690 (ldbl_insert_mantissa): Likewise.
691 (ldbl_canonicalize): Likewise.
692 (ldbl_nearbyint): Likewise.
693 (ldbl_pack): Rename to ldbl_pack_ppc.
694 (ldbl_unpack): Rename to ldbl_unpack_ppc.
695 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
696 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
697
6d9145d8
SP
6982013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
699
700 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
701 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
702 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
703 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
704 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
705 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
706 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
707 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
708
4dd4e157
AJ
7092013-03-07 Andreas Jaeger <aj@suse.de>
710
711 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
712 bits/mman-linux.h.
713
adbb8027
SP
7142013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
715
ce544b5b
SP
716 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
717 Include mpa.h and declare __MPEXP.
718 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
719 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
720 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
721 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
722 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
723 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
724 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
725
4cc149fd
SP
726 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
727 (__slowpow): Use long double EXPL and LOGL functions to
728 compute POW.
729 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
730 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
731 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
732 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
733 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
734 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
735
e6ebd4a7
SP
736 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
737 intermediate variable to calculate exponent.
738 (__sqr): Likewise.
739 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
740 Likewise.
741 (__sqr): Likewise.
742
82a9811d
SP
743 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
744 [!NO__SQR]: Define __sqr.
745 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
746 and NO__SQR. Remove all code except __mul and __sqr. Include
747 sysdeps/ieee754/dbl-64/mpa.c.
748 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
749
adbb8027
SP
750 [BZ #12723]
751 * posix/Makefile (tests): Add tst-pathconf.
752 * posix/tst-pathconf.c: New test case.
753 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
754 _PC_PIPE_BUF.
755 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
756
39120df9
PF
7572013-03-06 Patsy Franklin <pfrankli@redhat.com>
758
759 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
760
67525cb8
AJ
7612013-03-06 Andreas Jaeger <aj@suse.de>
762
664a9ce4
AJ
763 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
764 definition via __MAP_ANONYMOUS.
765
8e39047d
AJ
766 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
767 it's not part of Linux headers.
768
67525cb8
AJ
769 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
770 (MAP_HUGE_MASK): Define.
771
772 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
773 Define.
774 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
775 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
776 Define.
777 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
778 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
779 Define.
780 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
781 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
782 Define.
783 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
784
785 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
786 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
787 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
788 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
789 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
790 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
791
792 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
793 Handle f2fs.
794
795 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
796 Handle f2fs and efivarfs.
797
798 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
799 f2fs.
800
801 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
802 (EFIVARFS_MAGIC): Add.
803 (F2FS_LINK_MAX): Add.
804
e1b42695
PP
8052013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
806
807 * stdio-common/vfprintf.c: Replace __builtin_expect with
808 __glibc_unlikely.
809
2d67d91a
JM
8102013-03-06 Joseph Myers <joseph@codesourcery.com>
811
812 [BZ #13550]
813 * sysdeps/generic/bp-sym.h: Remove file.
814 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
815 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
816 <bp-sym.h> and <bp-asm.h>.
817 (__longjmp): Don't use BP_SYM.
818 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
819 and <bp-asm.h>.
820 (memcpy): Don't use BP_SYM.
821 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
822 <bp-sym.h> and <bp-asm.h>.
823 (memcpy): Don't use BP_SYM.
824 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
825 <bp-asm.h>.
826 (memcpy): Don't use BP_SYM.
827 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
828 <bp-asm.h>.
829 (memset): Don't use BP_SYM.
830 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
831 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
832 (__bzero): Don't use BP_SYM.
833 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
834 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
835 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
836 <bp-sym.h> and <bp-asm.h>.
837 (memcmp): Don't use BP_SYM. Remove comment about bounded
838 pointers.
839 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
840 <bp-sym.h> and <bp-asm.h>.
841 (memcpy): Don't use BP_SYM.
842 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
843 <bp-sym.h> and <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/strncmp.S: Don't include
851 <bp-sym.h> and <bp-asm.h>.
852 (strncmp): Don't use BP_SYM. Remove comment about bounded
853 pointers.
854 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
855 <bp-sym.h> and <bp-asm.h>.
856 (memcpy): Don't use BP_SYM.
857 * sysdeps/powerpc/powerpc64/power6/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/power7/memchr.S: Don't include
866 <bp-sym.h> and <bp-asm.h>.
867 (__memchr): Don't use BP_SYM.
868 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
869 <bp-sym.h> and <bp-asm.h>.
870 (memcmp): Don't use BP_SYM. Remove comment about bounded
871 pointers.
872 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
873 <bp-sym.h> and <bp-asm.h>.
874 (memcpy): Don't use BP_SYM.
875 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
876 <bp-sym.h> and <bp-asm.h>.
877 (__mempcpy): Don't use BP_SYM.
878 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
879 <bp-sym.h> and <bp-asm.h>.
880 (__memrchr): Don't use BP_SYM.
881 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
882 <bp-sym.h> and <bp-asm.h>.
883 (memset): Don't use BP_SYM.
884 (__bzero): Likewise.
885 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
886 <bp-sym.h> and <bp-asm.h>.
887 (__rawmemchr): Don't use BP_SYM.
888 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
889 <bp-sym.h> and <bp-asm.h>.
890 (__STRCMP): Don't use BP_SYM.
891 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
892 <bp-sym.h> and <bp-asm.h>.
893 (strchr): Don't use BP_SYM.
894 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
895 <bp-sym.h> and <bp-asm.h>.
896 (__strchrnul): Don't use BP_SYM.
897 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
898 <bp-sym.h> and <bp-asm.h>.
899 (strlen): Don't use BP_SYM.
900 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
901 <bp-sym.h> and <bp-asm.h>.
902 (strncmp): Don't use BP_SYM. Remove comment about bounded
903 pointers.
904 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
905 <bp-sym.h> and <bp-asm.h>.
906 (__strnlen): Don't use BP_SYM.
907 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
908 <bp-sym.h> and <bp-asm.h>.
909 (__GI__setjmp): Don't use BP_SYM.
910 (_setjmp): Likewise.
911 (__sigsetjmp): Likewise.
912 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
913 (L(start_addresses)): Don't use BP_SYM.
914 (_start): Likewise.
915 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
916 <bp-asm.h>.
917 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
918 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
919 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
920 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
921 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
922 <bp-asm.h>.
923 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
924 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
925 about bounded pointers.
926 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
927 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
928 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
929 <bp-asm.h>.
930 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
931 about bounded pointers. Remove GKM FIXME comments.
932 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
933 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
934 <bp-asm.h>.
935 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
936 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
937 Remove GKM FIXME comments.
938 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
939 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
940 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
941 <bp-asm.h>.
942 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
943 about bounded pointers. Remove GKM FIXME comment.
944 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
945 and <bp-asm.h>.
946 (strncmp): Don't use BP_SYM. Remove comment about bounded
947 pointers.
948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
949 <bp-sym.h> and <bp-asm.h>.
950 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
952 <bp-sym.h> and <bp-asm.h>.
953 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
954 comment.
955
cdcf361f
PP
9562013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
957
958 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
959 call free(NULL).
960
3c4a2b15
DM
9612013-03-05 David S. Miller <davem@davemloft.net>
962
963 * po/es.po: Update from translation team.
964
cdcf361f 9652013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
966
967 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
968 <bits/mman-linux.h>.
969 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
970 is fine.
971 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
972 <bits/mman-linux.h> to end of file.
973 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
974 is fine.
975 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
976 <bits/mman-linux.h> to end of file.
977 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
978 is fine.
979 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
980 <bits/mman-linux.h> to end of file.
981
982 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
983 (MCL_CURRENT, MCL_FUTURE): Define here.
984
5f67c04f
AK
9852013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
986
8a4473cc 987 [BZ #15232]
5f67c04f
AK
988 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
989 attribute_hidden.
990 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
991
c3e94a95
AK
9922013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
993
994 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
995 fourth parameter needed for rt_sigprocmask syscall.
996 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
997 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
998 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
999 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1000 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1001 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1002
cfb6382a
JM
10032013-03-04 Joseph Myers <joseph@codesourcery.com>
1004
1005 [BZ #13550]
1006 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1007 comment about bounded pointers.
1008 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1009 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1010
539d8e01
AJ
10112013-03-04 Andreas Jaeger <aj@suse.de>
1012
1013 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1014 common definitions.
1015
1016 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1017 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1018 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1019 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1020 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
1021 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1022
2e167a70 10232013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
1024
1025 [BZ #15055]
1026 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1027 __ieee754_sqrl instead of __sqrl.
1028
68508633
JM
10292013-03-01 Joseph Myers <joseph@codesourcery.com>
1030
1031 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1032 * sysdeps/powerpc/fpu_control.h: ... here.
1033 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1034 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1035 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1036 * sysdeps/powerpc/bits/mathinline.h: ... here.
1037
7775448e
RM
10382013-03-01 Roland McGrath <roland@hack.frob.com>
1039
1040 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1041 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1042 to just [NEED_DL_SYSINFO_DSO].
1043 * elf/dl-support.c: Likewise.
1044 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1045 * elf/rtld.c (dl_main): Likewise.
1046 * elf/setup-vdso.h (setup_vdso): Likewise.
1047 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1048 * sysdeps/unix/sysv/linux/dl-sysdep.c
1049 (_dl_discover_osversion): Likewise.
1050
4e9b5995
CD
10512013-03-01 Carlos O'Donell <carlos@redhat.com>
1052
1053 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1054 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1055
e23872c8
SP
10562013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1057
e5c74c63
SP
1058 * NEWS: Mention libm performance improvements and non-x86 PI
1059 futex support.
1060
e23872c8
SP
1061 * csu/libc-start.c (__pthread_initialize_minimal): Change
1062 function arguments.
1063 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1064
b5510883
JM
10652013-02-28 Joseph Myers <joseph@codesourcery.com>
1066
1067 [BZ #13550]
1068 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1069 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1070 <bp-sym.h> and <bp-asm.h>.
1071 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1072 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1073 and <bp-asm.h>.
1074 (memcpy): Don't use BP_SYM.
1075 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1076 <bp-asm.h>.
1077 (__mpn_add_n): Don't use BP_SYM.
1078 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1079 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1080 and <bp-asm.h>.
1081 (__mpn_addmul_1): Don't use BP_SYM.
1082 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1083 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1084 <bp-sym.h>.
1085 (_setjmp): Don't use BP_SYM.
1086 (__novmx_setjmp): Likewise.
1087 (__GI__setjmp): Likewise.
1088 (__vmx_setjmp): Likewise.
1089 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1090 <bp-sym.h>.
1091 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1092 (__bzero): Don't use BP_SYM.
1093 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1094 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1095 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1096 <bp-sym.h> and <bp-asm.h>.
1097 (memcpy): Don't use BP_SYM.
1098 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1099 <bp-sym.h> and <bp-asm.h>.
1100 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1101 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1102 <bp-sym.h> and <bp-asm.h>.
1103 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1104 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1105 <bp-asm.h>.
1106 (__mpn_lshift): Don't use BP_SYM.
1107 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1108 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1109 <bp-asm.h>.
1110 (memset): Don't use BP_SYM.
1111 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1112 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1113 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1114 <bp-asm.h>.
1115 (__mpn_mul_1): Don't use BP_SYM.
1116 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1117 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1118 <bp-sym.h> and <bp-asm.h>.
1119 (memcmp): Don't use BP_SYM.
1120 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1121 <bp-sym.h> and <bp-asm.h>.
1122 (memcpy): Don't use BP_SYM.
1123 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1124 <bp-sym.h> and <bp-asm.h>.
1125 (memset): Don't use BP_SYM.
1126 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1127 <bp-sym.h> and <bp-asm.h>.
1128 (strncmp): Don't use BP_SYM.
1129 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1130 <bp-sym.h> and <bp-asm.h>.
1131 (memcpy): Don't use BP_SYM.
1132 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1133 <bp-sym.h> and <bp-asm.h>.
1134 (memset): Don't use BP_SYM.
1135 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1136 <bp-sym.h> and <bp-asm.h>.
1137 (__memchr): Don't use BP_SYM.
1138 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1139 <bp-sym.h> and <bp-asm.h>.
1140 (memcmp): Don't use BP_SYM.
1141 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1142 <bp-sym.h> and <bp-asm.h>.
1143 (memcpy): Don't use BP_SYM.
1144 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1145 <bp-sym.h> and <bp-asm.h>.
1146 (__mempcpy): Don't use BP_SYM.
1147 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1148 <bp-sym.h> and <bp-asm.h>.
1149 (__memrchr): Don't use BP_SYM.
1150 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1151 <bp-sym.h> and <bp-asm.h>.
1152 (memset): Don't use BP_SYM.
1153 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1154 <bp-sym.h> and <bp-asm.h>.
1155 (__rawmemchr): Don't use BP_SYM.
1156 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1157 <bp-sym.h> and <bp-asm.h>.
1158 (__STRCMP): Don't use BP_SYM.
1159 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1160 <bp-sym.h> and <bp-asm.h>.
1161 (strchr): Don't use BP_SYM.
1162 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1163 <bp-sym.h> and <bp-asm.h>.
1164 (__strchrnul): Don't use BP_SYM.
1165 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1166 <bp-sym.h> and <bp-asm.h>.
1167 (strlen): Don't use BP_SYM.
1168 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1169 <bp-sym.h> and <bp-asm.h>.
1170 (strncmp): Don't use BP_SYM.
1171 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1172 <bp-sym.h> and <bp-asm.h>.
1173 (__strnlen): Don't use BP_SYM.
1174 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1175 <bp-asm.h>.
1176 (__mpn_rshift): Don't use BP_SYM.
1177 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1178 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1179 <bp-sym.h> and <bp-asm.h>.
1180 (__sigsetjmp): Don't use BP_SYM.
1181 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1182 (L(start_addresses)): Don't use BP_SYM.
1183 (_start): Likewise.
1184 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1185 <bp-asm.h>.
1186 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1187 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1188 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1189 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1190 <bp-asm.h>.
1191 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1192 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1193 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1194 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1195 <bp-asm.h>.
1196 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1197 comments.
1198 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1199 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1200 <bp-asm.h>.
1201 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1202 FIXME comments.
1203 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1204 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1205 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1206 <bp-asm.h>.
1207 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1208 comment.
1209 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1210 and <bp-asm.h>.
1211 (strncmp): Don't use BP_SYM,
1212 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1213 <bp-asm.h>.
1214 (__mpn_sub_n): Don't use BP_SYM.
1215 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1216 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1217 and <bp-asm.h>.
1218 (__mpn_submul_1): Don't use BP_SYM.
1219 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1221 <bp-sym.h> and <bp-asm.h>.
1222 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1224 <bp-sym.h> and <bp-asm.h>.
1225 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1226 comment.
1227
8d19fe64
SP
12282013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1229
1230 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1231 Use ZK to minimize writes to Z.
1232 (sub_magnitudes): Simplify code a bit.
1233 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1234 Use ZK to minimize writes to Z.
1235 (sub_magnitudes): Simplify code a bit.
1236
85bd816a
RM
12372013-02-27 Roland McGrath <roland@hack.frob.com>
1238
1239 * csu/gmon-start.c: Add special exception to license text.
1240
b5977bf2
RH
12412013-02-27 Richard Henderson <rth@redhat.com>
1242
1243 * scripts/config.guess: Update from config.git.
1244 * scripts/config.sub: Likewise.
1245
11d6e2f2
SP
12462013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1247
09c14ed2
SP
1248 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1249
a688864e
SP
1250 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1251
6295157a
SP
1252 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1253
b8de2202
SP
1254 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1255
11d6e2f2
SP
1256 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1257
7e80ddb8
RM
12582013-02-26 Roland McGrath <roland@hack.frob.com>
1259
1260 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1261 [$(build-shared = yes].
7e80ddb8 1262
7da6d9ed
SP
12632013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1264
45f05884
SP
1265 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1266 (__mul): Reduce iterations for calculating mantissa.
1267
2236d359
SP
1268 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1269 MPTWO.
1270 (__mpranred): Likewise.
1271
7da6d9ed
SP
1272 [BZ #15160]
1273 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1274 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1275
b7688c42
PE
12762013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1277
1278 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1279 Define __attribute__.
1280
53a5c423
SP
12812013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1282
1283 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1284 unused.
1285 * posix/regex_internal.h (__attribute): Remove.
1286 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1287 (re_string_context_at): Likewise.
1288 (bitset_not): Use __attribute__ and mark function as possibly
1289 unused.
1290 (bitset_merge): Likewise.
1291 (bitset_mask): Likewise.
1292 (re_string_char_size_at): Likewise.
1293 (re_string_wchar_at): Likewise.
1294 (re_string_elem_size_at): Likewise.
1295
60f5a8b5
SP
12962013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1297
2a983a2e
SP
1298 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1299 code.
1300 (cc32): Likewise.
1301
e69804d1
SP
1302 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1303 (__acr): Likewise.
1304 (__cpy): Likewise.
1305 (norm): Likewise.
1306 (denorm): Likewise.
1307 (__dbl_mp): Likewise.
1308 (add_magnitudes): Likewise.
1309 (sub_magnitudes): Likewise.
1310 (__mul): Likewise.
1311 (__inv): Likewise.
1312
2f22a1e8
SP
1313 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1314 style.
1315
8930ddc7
SP
1316 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1317 style.
1318
dc60cb11
SP
1319 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1320 code.
1321
60f5a8b5
SP
1322 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1323 up changes with default code.
1324 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1325 Likewise.
1326
b4d1fd33
AM
13272013-02-24 Allan McRae <allan@archlinux.org>
1328
faf6f8bc
AM
1329 * manual/socket.texi (The Internet Namespace): Order menu items
1330 to match that in the file.
1331
b4d1fd33
AM
1332 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1333 node listing of the info page menu.
1334
2366713d
JM
13352013-02-21 Joseph Myers <joseph@codesourcery.com>
1336
1337 [BZ #13550]
1338 * sysdeps/i386/bp-asm.h: Remove file.
1339 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1340 (PARMS): Do not use macros from bp-asm.h.
1341 (S1): Likewise.
1342 (S2): Likewise.
1343 (SIZE): Likewise.
1344 (__mpn_add_n): Do not use BP_SYM
1345 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1346 "bp-asm.h".
1347 (PARMS): Do not use macros from bp-asm.h.
1348 (S1): Likewise.
1349 (SIZE): Likewise.
1350 (__mpn_addmul_1): Do not use BP_SYM
1351 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1352 "bp-asm.h".
1353 (PARMS): Do not use macros from bp-asm.h.
1354 (SIGMSK): Likewise.
1355 (_setjmp): Likewise. Do not use BP_SYM.
1356 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1357 "bp-asm.h".
1358 (PARMS): Do not use macros from bp-asm.h.
1359 (SIGMSK): Likewise.
1360 (setjmp): Likewise. Do not use BP_SYM.
1361 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1362 "bp-asm.h".
1363 (PARMS): Do not use macros from bp-asm.h.
1364 (__frexp): Do not use BP_SYM.
1365 (frexp): Likewise.
1366 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1367 "bp-asm.h".
1368 (PARMS): Do not use macros from bp-asm.h.
1369 (__frexpf): Do not use BP_SYM.
1370 (frexpf): Likewise.
1371 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1372 "bp-asm.h".
1373 (PARMS): Do not use macros from bp-asm.h.
1374 (__frexpl): Do not use BP_SYM.
1375 (frexpl): Likewise.
1376 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1377 "bp-asm.h".
1378 (PARMS): Do not use macros from bp-asm.h.
1379 (__remquo): Do not use BP_SYM.
1380 (remquo): Likewise.
1381 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1382 "bp-asm.h".
1383 (PARMS): Do not use macros from bp-asm.h.
1384 (__remquof): Do not use BP_SYM.
1385 (remquof): Likewise.
1386 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1387 "bp-asm.h".
1388 (PARMS): Do not use macros from bp-asm.h.
1389 (__remquol): Do not use BP_SYM.
1390 (remquol): Likewise.
1391 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1392 "bp-asm.h".
1393 (PARMS): Do not use macros from bp-asm.h.
1394 (DEST): Likewise.
1395 (SRC): Likewise.
1396 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1397 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1398 "bp-asm.h".
1399 (PARMS): Do not use macros from bp-asm.h.
1400 (strlen): Do not use BP_SYM.
1401 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1402 "bp-asm.h".
1403 (PARMS): Do not use macros from bp-asm.h.
1404 (S1): Likewise.
1405 (S2): Likewise.
1406 (SIZE): Likewise.
1407 (__mpn_add_n): Do not use BP_SYM.
1408 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1409 "bp-asm.h".
1410 (PARMS): Do not use macros from bp-asm.h.
1411 (S1): Likewise.
1412 (SIZE): Likewise.
1413 (__mpn_addmul_1): Do not use BP_SYM.
1414 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1415 weak_alias.
1416 (bzero): Likewise.
1417 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1418 "bp-asm.h".
1419 (PARMS): Do not use macros from bp-asm.h.
1420 (S): Likewise.
1421 (SIZE): Likewise.
1422 (__mpn_lshift): Do not use BP_SYM.
1423 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1424 "bp-asm.h".
1425 (PARMS): Do not use macros from bp-asm.h.
1426 (DEST): Likewise.
1427 (SRC): Likewise.
1428 (LEN): Likewise.
1429 (memcpy): Likewise. Do not use BP_SYM.
1430 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1431 libc_hidden_def and weak_alias.
1432 (mempcpy): Do not use BP_SYM in weak_alias.
1433 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1434 "bp-asm.h".
1435 (PARMS): Do not use macros from bp-asm.h.
1436 (DEST): Likewise.
1437 (LEN): Likewise.
1438 [!BZERO_P] (CHR): Likewise.
1439 (memset): Likewise. Do not use BP_SYM.
1440 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1441 "bp-asm.h".
1442 (PARMS): Do not use macros from bp-asm.h.
1443 (S1): Likewise.
1444 (SIZE): Likewise.
1445 (__mpn_mul_1): Do not use BP_SYM.
1446 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1447 "bp-asm.h".
1448 (PARMS): Do not use macros from bp-asm.h.
1449 (S): Likewise.
1450 (SIZE): Likewise.
1451 (__mpn_rshift): Do not use BP_SYM.
1452 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1453 "bp-asm.h".
1454 (PARMS): Do not use macros from bp-asm.h.
1455 (STR): Likewise.
1456 (CHR): Likewise.
1457 (strchr): Likewise. Do not use BP_SYM.
1458 (index): Do not use BP_SYM in weak_alias.
1459 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1460 "bp-asm.h".
1461 (PARMS): Do not use macros from bp-asm.h.
1462 (DEST): Likewise.
1463 (SRC): Likewise.
1464 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1465 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1466 "bp-asm.h".
1467 (PARMS): Do not use macros from bp-asm.h.
1468 (strlen): Do not use BP_SYM.
1469 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1470 "bp-asm.h".
1471 (PARMS): Do not use macros from bp-asm.h.
1472 (S1): Likewise.
1473 (S2): Likewise.
1474 (SIZE): Likewise.
1475 (__mpn_sub_n): Do not use BP_SYM.
1476 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1477 "bp-asm.h".
1478 (PARMS): Do not use macros from bp-asm.h.
1479 (S1): Likewise.
1480 (SIZE): Likewise.
1481 (__mpn_submul_1): Do not use BP_SYM.
1482 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1483 "bp-asm.h".
1484 (PARMS): Do not use macros from bp-asm.h.
1485 (S1): Likewise.
1486 (S2): Likewise.
1487 (SIZE): Likewise.
1488 (__mpn_add_n): Do not use BP_SYM.
1489 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1490 weak_alias.
1491 (bzero): Likewise.
1492 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1493 "bp-asm.h".
1494 (PARMS): Do not use macros from bp-asm.h.
1495 (BLK2): Likewise.
1496 (LEN): Likewise.
1497 (memcmp): Do not use BP_SYM.
1498 (bcmp): Do not use BP_SYM in weak_alias.
1499 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1500 "bp-asm.h".
1501 (PARMS): Do not use macros from bp-asm.h.
1502 (DEST): Likewise.
1503 (SRC): Likewise.
1504 (LEN): Likewise.
1505 (memcpy): Likewise. Do not use BP_SYM.
1506 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1507 "bp-asm.h".
1508 (PARMS): Do not use macros from bp-asm.h.
1509 (DEST): Likewise.
1510 (SRC): Likewise.
1511 (LEN): Likewise.
1512 (memmove): Likewise. Do not use BP_SYM.
1513 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1514 "bp-asm.h".
1515 (PARMS): Do not use macros from bp-asm.h.
1516 (DEST): Likewise.
1517 (SRC): Likewise.
1518 (LEN): Likewise.
1519 (__mempcpy): Likewise. Do not use BP_SYM.
1520 (mempcpy): Do not use BP_SYM in weak_alias.
1521 * sysdeps/i386/i686/memset.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 (LEN): Likewise.
1526 [!BZERO_P] (CHR): Likewise.
1527 (memset): Likewise. Do not use BP_SYM.
1528 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1529 "bp-asm.h".
1530 (PARMS): Do not use macros from bp-asm.h.
1531 (STR2): Likewise.
1532 (strcmp): Do not use BP_SYM.
1533 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1534 "bp-asm.h".
1535 (PARMS): Do not use macros from bp-asm.h.
1536 (STR): Likewise.
1537 (DELIM): Likewise.
1538 [USE_AS_STRTOK_R] (SAVE): Likewise.
1539 (FUNCTION): Likewise. Do not use BP_SYM.
1540 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1541 aliases.
1542 (strtok_r): Likewise.
1543 (__GI___strtok_r): Likewise.
1544 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1545 (PARMS): Do not use macros from bp-asm.h.
1546 (S): Likewise.
1547 (SIZE): Likewise.
1548 (__mpn_lshift): Do not use BP_SYM.
1549 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1550 (PARMS): Do not use macros from bp-asm.h.
1551 (STR): Likewise.
1552 (CHR): Likewise.
1553 (__memchr): Do not use BP_SYM.
1554 (memchr): Do not use BP_SYM in weak_alias.
1555 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1556 (PARMS): Do not use macros from bp-asm.h.
1557 (BLK2): Likewise.
1558 (LEN): Likewise.
1559 (memcmp): Do not use BP_SYM.
1560 (bcmp): Do not use BP_SYM in weak_alias.
1561 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1562 (PARMS): Do not use macros from bp-asm.h.
1563 (S1): Likewise.
1564 (SIZE): Likewise.
1565 (__mpn_mul_1): Do not use BP_SYM.
1566 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1567 "bp-asm.h".
1568 (PARMS): Do not use macros from bp-asm.h.
1569 (STR): Likewise.
1570 (CHR): Likewise.
1571 (__rawmemchr): Do not use BP_SYM.
1572 (rawmemchr): Do not use BP_SYM in weak_alias.
1573 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1574 (PARMS): Do not use macros from bp-asm.h.
1575 (S): Likewise.
1576 (SIZE): Likewise.
1577 (__mpn_rshift): Do not use BP_SYM.
1578 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1579 (PARMS): Do not use macros from bp-asm.h.
1580 (SIGMSK): Likewise.
1581 (__sigsetjmp): Likewise. Do not use BP_SYM.
1582 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1583 (_start): Do not use BP_SYM.
1584 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1585 (PARMS): Do not use macros from bp-asm.h.
1586 (DEST): Likewise.
1587 (SRC): Likewise.
1588 (__stpcpy): Likewise. Do not use BP_SYM.
1589 (stpcpy): Do not use BP_SYM in weak_alias.
1590 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1591 "bp-asm.h".
1592 (PARMS): Do not use macros from bp-asm.h.
1593 (DEST): Likewise.
1594 (SRC): Likewise.
1595 (LEN): Likewise.
1596 (__stpncpy): Likewise. Do not use BP_SYM.
1597 (stpncpy): Do not use BP_SYM in weak_alias.
1598 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1599 (PARMS): Do not use macros from bp-asm.h.
1600 (STR): Likewise.
1601 (CHR): Likewise.
1602 (strchr): Likewise. Do not use BP_SYM.
1603 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1604 "bp-asm.h".
1605 (PARMS): Do not use macros from bp-asm.h.
1606 (STR): Likewise.
1607 (CHR): Likewise.
1608 (__strchrnul): Likewise. Do not use BP_SYM.
1609 (strchrnul): Do not use BP_SYM in weak_alias.
1610 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1611 "bp-asm.h".
1612 (PARMS): Do not use macros from bp-asm.h.
1613 (STOP): Likewise.
1614 (strcspn): Do not use BP_SYM.
1615 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1616 "bp-asm.h".
1617 (PARMS): Do not use macros from bp-asm.h.
1618 (STR): Likewise.
1619 (STOP): Likewise.
1620 (strpbrk): Likewise. Do not use BP_SYM.
1621 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1622 "bp-asm.h".
1623 (PARMS): Do not use macros from bp-asm.h.
1624 (STR): Likewise.
1625 (CHR): Likewise.
1626 (strrchr): Likewise. Do not use BP_SYM.
1627 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1628 (PARMS): Do not use macros from bp-asm.h.
1629 (SKIP): Likewise.
1630 (strspn): Do not use BP_SYM.
1631 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1632 (PARMS): Do not use macros from bp-asm.h.
1633 (STR): Likewise.
1634 (DELIM): Likewise.
1635 (SAVE): Likewise.
1636 (FUNCTION): Likewise. Do not use BP_SYM.
1637 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1638 aliases.
1639 (strtok_r): Likewise.
1640 (__GI___strtok_r): Likewise.
1641 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1642 (PARMS): Do not use macros from bp-asm.h.
1643 (S1): Likewise.
1644 (S2): Likewise.
1645 (SIZE): Likewise.
1646 (__mpn_sub_n): Do not use BP_SYM.
1647 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1648 "bp-asm.h".
1649 (PARMS): Do not use macros from bp-asm.h.
1650 (S1): Likewise.
1651 (SIZE): Likewise.
1652 (__mpn_submul_1): Do not use BP_SYM.
1653 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1654 <bp-sym.h>.
1655 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1656 and <bp-asm.h>.
1657 (PARMS): Do not use macros from bp-asm.h.
1658 (FLAGS): Likewise.
1659 (PTID): Likewise.
1660 (TLS): Likewise.
1661 (CTID): Likewise.
1662 (__clone): Do not use BP_SYM.
1663 (clone): Do not use BP_SYM in weak_alias.
1664 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1665 and <bp-asm.h>.
1666 (PARMS): Do not use macros from bp-asm.h.
1667 (LEN): Likewise.
1668 (__mmap64): Do not use BP_SYM.
1669 (mmap64): Do not use BP_SYM in weak_alias.
1670 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1671 <bp-sym.h> and <bp-asm.h>.
1672 (PARMS): Do not use macros from bp-asm.h.
1673 (__posix_fadvise64_l64): Do not use BP_SYM.
1674 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1675 (PARMS): Do not use macros from bp-asm.h.
1676 (NSOPS): Likewise.
1677 (semtimedop): Do not use BP_SYM.
1678 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1679 and <bp-asm.h>.
1680
582a3cff
AM
16812013-02-21 Allan McRae <allan@archlinux.org>
1682
1683 * manual/message.texi (Charset conversion in gettext):
1684 Move @end statement to beginning of line.
1685
bab8a695
SP
16862013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1687
80945231
SP
1688 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1689 static.
1690 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1691 Likewise.
1692
bab8a695
SP
1693 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1694 (denorm): Likewise.
1695 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1696 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1697
e21d7aa7
AK
16982013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1699
1700 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1701 tail-call to the resolved function if pltexit isn't needed.
1702
4c7a4263
SP
17032013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1704
1705 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1706 or Y being zero as being unlikely.
1707 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1708 Likewise.
1709
41f49342
CD
17102013-02-20 Carlos O'Donell <carlos@redhat.com>
1711
1712 * manual/nss.texi (System Databases and Name Service Switch):
1713 Remove frobnicate @pxref.
1714
50022a93
TS
17152013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1716
1717 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1718 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1719
08cbd996
PM
17202013-02-20 Petr Machata <pmachata@redhat.com>
1721
1722 * elf/elf.h (R_ARM_TARGET1): New macro.
1723 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1724 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1725 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1726 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1727 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1728 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1729 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1730 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1731 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1732 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1733 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1734 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1735 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1736 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1737 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1738 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1739 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1740 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1741 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1742 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1743 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1744 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1745 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1746 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1747 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1748 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1749 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1750 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1751 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1752 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1753 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1754 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1755 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1756 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1757 (R_ARM_THM_GOT_BREL12): Likewise.
1758 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1759 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1760 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1761 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1762 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1763 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1764 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1765 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1766 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1767
c7b275d6
TS
17682013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1769
1770 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1771 __attribute_used__ to __attribute__ ((unused)).
1772
20cd7fb3
SP
17732013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1774
1775 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1776 powerpc mpa.c.
1777 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1778 comment formatting.
1779 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1780
92945b52
JM
17812013-02-19 Joseph Myers <joseph@codesourcery.com>
1782
1783 [BZ #13550]
1784 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1785 Remove macro.
1786 (ENTER): Remove both macro definitions.
1787 (LEAVE): Likewise.
1788 (CHECK_BOUNDS_LOW): Likewise.
1789 (CHECK_BOUNDS_HIGH): Likewise.
1790 (CHECK_BOUNDS_BOTH): Likewise.
1791 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1792 (RETURN_BOUNDED_POINTER): Likewise.
1793 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1794 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1795 (POP_ERRNO_LOCATION_RETURN): Likewise.
1796 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1797 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1798 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1799 macros.
1800 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1801 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1802 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1803 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1804 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1805 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1806 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1807 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1808 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1809 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1810 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1811 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1812 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1813 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1814 removed macros.
1815 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1816 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1817 macros.
1818 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1819 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1820 * sysdeps/i386/i586/memset.S (memset): Likewise.
1821 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1822 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1823 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1824 macros.
1825 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1826 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1827 Change uses of L(2) to L(out).
1828 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1829 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1830 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
1831 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1832 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
1833 removed macros.
1834 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1835 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
1836 macros.
1837 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1838 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
1839 (RETURN): Do not use macro LEAVE.
1840 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
1841 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
1842 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
1843 * sysdeps/i386/i686/memset.S (memset): Likewise.
1844 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
1845 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
1846 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1847 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
1848 Likewise.
1849 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1850 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
1851 L(1_2) and L(1_3) into L(1).
1852 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1853 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
1854 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1855 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
1856 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1857 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
1858 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
1859 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1860 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
1861 macros.
1862 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
1863 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1864 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
1865 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
1866 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
1867 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1868 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
1869 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
1870 * sysdeps/i386/strcspn.S (strcspn): Likewise.
1871 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
1872 * sysdeps/i386/strrchr.S (strrchr): Likewise.
1873 * sysdeps/i386/strspn.S (strspn): Likewise.
1874 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
1875 conditional code.
1876 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1877 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
1878 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
1879 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
1880 L(1_3) into L(1_1).
1881 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
1882 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1883 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
1884 macros.
1885 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1886
2389741a
JJ
18872013-02-19 Jakub Jelinek <jakub@redhat.com>
1888
1889 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
1890 macro.
1891
2016b3cd
SP
18922013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1893
e4f22324
SP
1894 * math/atest-exp.c (exp_mpn): Remove ROUND.
1895 * math/atest-exp2.c (exp_mpn): Likewise.
1896 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
1897
2016b3cd
SP
1898 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
1899 * stdlib/tst-tls-atexit-lib.c: Likewise.
1900 * stdlib/tst-tls-atexit.c: Likewise.
1901
4be9b544
MF
19022013-02-18 Mike Frysinger <vapier@gentoo.org>
1903
1904 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
1905 and __attribute_alloc_size__.
1906
2f62b9ee
MF
19072013-02-18 Mike Frysinger <vapier@gentoo.org>
1908
1909 * include/programs/xmalloc.h: Change __attribute_alloc_size to
1910 __attribute_alloc_size__.
1911 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
1912 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
1913
6ff444c4
MF
19142013-02-18 Mike Frysinger <vapier@gentoo.org>
1915
1916 * include/programs/xmalloc.h: New file.
1917 * catgets/gencat.c: Include it.
1918 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
1919 * elf/pldd.c: Likewise.
1920 * iconv/iconv_charmap.c: Likewise.
1921 * iconv/iconvconfig.c: Likewise.
1922 * iconv/strtab.c: Likewise.
1923 * locale/programs/locale.c: Likewise.
1924 * locale/programs/localedef.h: Likewise.
1925 * locale/programs/simple-hash.c: Likewise.
1926 * nscd/nscd.h: Likewise.
1927 * nss/makedb.c: Likewise.
1928 * sysdeps/generic/ldconfig.h: Likewise.
1929
be179c8a
SP
19302013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1931
ba384f6e
SP
1932 * Versions.def: Add GLIBC_2.18.
1933 * include/link.h (struct link_map): New member l_tls_dtor_count.
1934 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
1935 (__call_tls_dtors): Likewise.
1936 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
1937 __cxa_thread_atexit_impl.
1938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1939 Likewise.
1940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1941 Likewise.
1942 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
1943 Likewise.
1944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
1945 Likewise.
1946 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
1947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
1948 Likewise.
1949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
1950 Likewise.
1951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
1952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
1953 Likewise.
1954 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
1955 (tests): Add test case tst-tls-atexit.
1956 (modules-names): Add shared library for tst-tls-atexit.
1957 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
1958 (GLIBC_PRIVATE): Add __call_tls_dtors.
1959 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
1960 for libstdc++.
1961 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
1962 * stdlib/tst-tls-atexit.c: New test case.
1963 * stdlib/tst-tls-atexit-lib.c: New test case.
1964
ffaa74cf 1965 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 1966
be179c8a
SP
1967 * elf/Versions (ld): Add _dl_find_dso_for_object.
1968 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
1969 * elf/dl-open.c (_dl_find_dso_for_object): New function.
1970 (dl_open_worker): Use _dl_find_dso_for_object.
1971 * elf/dl-sym.c (do_sym): Likewise.
1972 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
1973
f78b5caa
AK
19742013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1975
1976 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
1977 Syntactic changes only.
1978 (_dl_runtime_profile): Do a tail-call to the resolved function.
1979
29691210
JM
19802013-02-17 Joseph Myers <joseph@codesourcery.com>
1981
1982 [BZ #13550]
1983 * sysdeps/x86_64/bp-asm.h: Remove file.
1984 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
1985 <bp-sym.h> and <bp-asm.h>.
1986 (__clone): Do not use BP_SYM.
1987 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
1988 <bp-sym.h> and <bp-asm.h>.
1989 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1990 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
1991 "bp-asm.h".
1992 (_setjmp): Do not use BP_SYM.
1993 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
1994 "bp-asm.h".
1995 (setjmp): Do not use BP_SYM.
1996 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
1997 libc_hidden_def.
1998 (mempcpy): Do not use BP_SYM in weak_alias.
1999 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2000 "bp-asm.h".
2001 (strchr): Do not use BP_SYM.
2002 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2003 "bp-asm.h".
2004 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2005 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2006 (_start): Do not use BP_SYM.
2007 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2008 "bp-asm.h".
2009 (strcat): Do not use BP_SYM.
2010 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2011 "bp-asm.h".
2012 (STRCMP): Do not use BP_SYM.
2013 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2014 "bp-asm.h".
2015 (STRCPY): Do not use BP_SYM.
2016 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2017 "bp-asm.h".
2018 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2019 "bp-asm.h".
2020 (FUNCTION): Do not use BP_SYM.
2021 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2022 weak_alias.
2023 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2024
f238fd19
AJ
20252013-02-17 Andreas Jaeger <aj@suse.de>
2026
2027 * time/Versions: Sort entries.
2028 * string/Versions: Likewise.
2029 * resolv/Versions: Likewise.
2030 * posix/Versions: Likewise.
2031 * iconv/Versions: Likewise.
2032 * elf/Versions: Likewise.
2033 * wcsmbs/Versions: Likewise.
2034
bd07f23c 20352013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 2036
22af19f9
SP
2037 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2038 loop termination condition.
2039
4709fe76
SP
2040 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2041 variable to calculate EZ.
2042 (__sqr): Likewise.
2d0e0f29
SP
2043
2044 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2045 the lower precision input.
2046
daaa7713
JM
20472013-02-15 Joseph Myers <joseph@codesourcery.com>
2048
2049 [BZ #13550]
2050 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2051 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2052 (run-via-rtld-prefix): Do not handle %-bp tests.
2053 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2054 (all-object-suffixes): Remove .ob.
2055 (bppfx): Remove variable.
2056 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2057 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2058 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2059 [$(build-bounded) = yes] (libtype.ob): Likewise.
2060 * Makerules (elide-routines.ob): Remove variable.
2061 (do-tests-clean): Do not handle *-bp.out.
2062 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2063 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2064 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2065 (tests): Do not include $(tests-bp.out).
2066 (xtests): Do not include $(xtests-bp.out).
2067 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2068 [$(build-bounded) = yes] ($(addprefix
2069 $(objpfx),$(binaries-bounded))): Remove rule.
2070 ($(objpfx)%-bp.out): Remove rule.
2071 * config.make.in (build-bounded): Remove variable.
2072 * crypt/Makefile [$(build-bounded) = yes]
2073 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2074 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2075 append to variable.
2076 [$(build-bounded) = yes] (install-lib): Likewise.
2077 [$(build-bounded) = yes] (generated): Likewise.
2078 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2079 Remove rule.
2080 * intl/Makefile [$(build-bounded) = yes]
2081 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2082 * math/Makefile [$(build-bounded) = yes]
2083 ($(tests:%=$(objpfx)%-bp): Likewise.
2084 * misc/Makefile [$(build-bounded) = yes]
2085 ($(objpfx)tst-tsearch-bp): Likewise.
2086 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2087 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2088 Remove dependency.
2089 * string/Makefile (o-objects.ob): Remove variable.
2090 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2091 (CFLAGS-.ob): Remove variable.
2092 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2093 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2094 both definitions of variable.
2095 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2096 (ASFLAGS-.ob): Remove variable.
2097
e97ed6dd
JM
20982013-02-14 Joseph Myers <joseph@codesourcery.com>
2099
2bdd4ca6
JM
2100 [BZ #13550]
2101 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2102 Remove __BOUNDED_POINTERS__ from condition.
2103 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2104 * string/bits/string2.h [!__NO_STRING_INLINES &&
2105 !__BOUNDED_POINTERS__]: Likewise.
2106 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2107 Likewise.
2108 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2109 Remove conditional code.
2110 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2111 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2112 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2113 condition.
2114
e97ed6dd
JM
2115 [BZ #13550]
2116 * csu/libc-start.c: Do not include <bp-sym.h>.
2117 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2118 * elf/dl-open.c: Do not include <bp-sym.h>.
2119 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2120 * math/fegetenv.c: Do not include <bp-sym.h>.
2121 (fegetenv): Do not use BP_SYM in versioned symbols.
2122 * nptl/sysdeps/pthread/bits/libc-lockP.h
2123 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2124 <bp-sym.h>.
2125 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2126 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2127 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2128 (__pthread_mutex_destroy): Likewise.
2129 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2130 (__pthread_mutex_lock): Likewise.
2131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2132 (__pthread_mutex_trylock): Likewise.
2133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2134 (__pthread_mutex_unlock): Likewise.
2135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2136 (__pthread_mutexattr_init): Likewise.
2137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2138 (__pthread_mutexattr_destroy): Likewise.
2139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2140 (__pthread_mutexattr_settype): Likewise.
2141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2142 (__pthread_rwlock_init): Likewise.
2143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2144 (__pthread_rwlock_destroy): Likewise.
2145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2146 (__pthread_rwlock_rdlock): Likewise.
2147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2148 (__pthread_rwlock_tryrdlock): Likewise.
2149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2150 (__pthread_rwlock_wrlock): Likewise.
2151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2152 (__pthread_rwlock_trywrlock): Likewise.
2153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2154 (__pthread_rwlock_unlock): Likewise.
2155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2156 (__pthread_key_create): Likewise.
2157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2158 (__pthread_setspecific): Likewise.
2159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2160 (__pthread_getspecific): Likewise.
2161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2162 Likewise.
2163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2164 (_pthread_cleanup_push_defer): Likewise.
2165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2166 (_pthread_cleanup_pop_restore): Likewise.
2167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2168 (pthread_setcancelstate): Likewise.
2169 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2170 <bp-sym.h>.
2171 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2172 (memchr): Do not use BP_SYM in weak_alias.
2173 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2174 (fegetenv): Do not use BP_SYM in versioned symbols.
2175 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2176 (fesetenv): Do not use BP_SYM in versioned symbols.
2177 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2178 (feupdateenv): Do not use BP_SYM in versioned symbols.
2179 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2180 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2181 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2182 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2183 (open64): Do not use BP_SYM in weak_alias.
2184 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2185 (fegetenv): Do not use BP_SYM in versioned symbols.
2186 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2187 (fesetenv): Do not use BP_SYM in versioned symbols.
2188 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2189 (feupdateenv): Do not use BP_SYM in versioned symbols.
2190 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2191 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2192 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2193 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2194 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2195 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2196 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2197 <bp-sym.h>.
2198 (__libc_start_main): Do not use BP_SYM.
2199
d6752ccd
SP
22002013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2201
cb57ce60
SP
2202 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2203 redundant return line.
2204 (norm): Likewise.
2205 (denorm): Likewise.
2206 (dbl_mp): Likewise.
2207 (sub_magnitudes): Likewise.
2208 (__add): Likewise.
2209 (__sub): Likewise.
2210 (__mul): Likewise.
2211 (__inv): Likewise.
2212 (__dvd): Likewise.
2213 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2214 (norm): Likewise.
2215 (denorm): Likewise.
2216 (dbl_mp): Likewise.
2217 (sub_magnitudes): Likewise.
2218 (__add): Likewise.
2219 (__sub): Likewise.
2220 (__mul): Likewise.
2221 (__inv): Likewise.
2222 (__dvd): Likewise.
2223
f414520d
SP
2224 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2225 instead of __mul.
2226 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2227 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2228 (cc32): Likewise.
2229
d6752ccd
SP
2230 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2231 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2232 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2233 of __mul for squares.
2234 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2235 function
2236 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2237 Likewise.
2238 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2239 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2240
70d9946a
JM
22412013-02-13 Joseph Myers <joseph@codesourcery.com>
2242
2243 [BZ #13550]
2244 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2245 code.
2246 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2247 prototype or function definition. Rename ubp_* variables and
2248 parameters. Remove argv definitions conditional on
2249 [__BOUNDED_POINTERS__].
2250 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2251 * elf/dl-runtime.c (_dl_fixup): Likewise.
2252 * include/set-hooks.h (RUN_HOOK): Likewise.
2253 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2254 definition.
2255 * string/strcpy.c (strcpy): Do not use __unbounded.
2256 * sysdeps/generic/frame.h (struct layout): Likewise.
2257 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2258 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2259 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2260 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2261 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2262 (__backtrace): Likewise.
2263 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2264 use __ptrvalue.
2265 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2266 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2267 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2268 Likewise.
2269 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2270 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2271 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2272 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2273 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2274 Do not use __unbounded.
2275 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2276 Rename __unboundedrlimits parameter to rlimits in prototype.
2277 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2278 Do not use __unbounded.
2279 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2280 not use __ptrvalue.
2281 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2282 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2283 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2284 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2285 __ptrvalue or __unbounded.
2286 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2287 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2288 use __unbounded.
2289 (__new_msgctl): Do not use __ptrvalue.
2290 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2291 __unbounded.
2292 (__libc_msgrcv): Do not use __ptrvalue.
2293 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2294 startup_info): Do not use __unbounded.
2295 (__libc_start_main): Likewise. Rename ubp_* variables and
2296 parameters. Remove argv definitions conditional on
2297 [__BOUNDED_POINTERS__].
2298 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2299 __ptrvalue.
2300 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2301 use __unbounded.
2302 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2303 or __ptrvalue.
2304 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2305 use __unbounded.
2306 (__new_shmctl): Do not use __ptrvalue.
2307 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2308 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2309 Likewise.
2310 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2311 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2312 (__libc_sigaction): Likewise.
2313 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2314 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2315 Likewise.
2316 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2317
cc7834d6
OB
23182013-02-13 Ondřej Bílka <neleai@seznam.cz>
2319
ffb1ec7b 2320 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
2321
2322 * string/mempcpy.c: Implement by calling memcpy.
2323
bdf02814
SP
23242013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2325
c2af38aa
SP
2326 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2327
4e92d59e
SP
2328 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2329 evaluation.
2330
909279a5
SP
2331 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2332 values in the mantissa.
2333
bdf02814
SP
2334 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2335 minimize writes to Z.
2336 (sub_magnitudes): Simplify code a bit.
2337
cd525923
RM
23382013-02-12 Roland McGrath <roland@hack.frob.com>
2339
2340 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2341 from the message. The linker prefixes all warnings with that already.
2342
7e2f0d2d
AS
23432013-02-12 Andreas Schwab <schwab@suse.de>
2344
a445af0b
AS
2345 [BZ #15078]
2346 * posix/regexec.c (extend_buffers): Add parameter min_len.
2347 (check_matching): Pass minimum needed length.
2348 (clean_state_log_if_needed): Likewise.
2349 (get_subexp): Likewise.
2350 * posix/Makefile (tests): Add bug-regex34.
2351 (bug-regex34-ENV): Define.
2352 * posix/bug-regex34.c: New file.
2353
7e2f0d2d
AS
2354 [BZ #11561]
2355 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2356 elements compare against the byte sequence of it, not its name.
2357 * posix/Makefile (tests): Add bug-regex35.
2358 (bug-regex35-ENV): Define.
2359 * posix/bug-regex35.c: New file.
2360
a175b684
TV
23612013-02-11 Tom de Vries <tom@codesourcery.com>
2362
2363 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2364 comment.
2365 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2366 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2367 (CHECK_EOL): Add undef.
2368
310998fe 23692013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
2370
2371 * bits/stdlib-bsearch.h: New file.
2372 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 2373 * stdlib/stdlib.h: Likewise.
41eda41d 2374
8ded91fb
RM
23752013-02-11 Roland McGrath <roland@hack.frob.com>
2376
2377 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2378 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2379 declaration.
2380 * manual/search.texi (Array Search Function): Add missing const in
2381 lfind prototype.
2382 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2383 declaration to use rlim_t.
2384 (Basic Scheduling Functions): Remove erroneous const from
2385 sched_getparam prototype. Remove erroneous * from
2386 sched_get_priority_max and sched_get_priority_min prototypes.
2387 (Resource Usage): Fix summary @comment on vtimes to refer to
2388 sys/vtimes.h rather than vtimes.h.
2389 Add missing *s in vtimes prototype.
2390 (Limits on Resources): Fix ulimit prototype to return long int.
2391 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2392 prototypes to use long int rather than double.
2393 (BSD Random): Fix initstate and setstate to use char *, not void *.
2394 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2395 prototype to make second argument 'struct aiocb64 *const[]'.
2396 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2397 (Status of AIO Operations): Remove erroneous const in aio_return and
2398 aio_return64 prototypes.
2399 (Synchronizing I/O): Fix sync prototype to return void.
2400 * manual/startup.texi (Suboptions): Remove an erroneous const in
2401 getsubopt prototype.
2402 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2403 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2404 use size_t rather than int.
2405 (Scanning All Users): Likewise for getpwent_r.
2406 (Setting Groups): Add missing const to setgroups prototype.
2407 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2408 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2409 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2410 'const void *' rather than 'const char *'.
2411 (Host Address Functions): Likewise for inet_ntop.
2412 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2413 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2414 ssize_t for return value.
2415 (Sending Data): Likewise for send, sendto, sendmsg.
2416 (Socket Option Functions): Add a missing const in setsockopt prototype.
2417 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2418 use wchar_t for the argument.
2419 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2420 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2421 take no arguments.
2422 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2423 double/float/long double for second argument.
2424 Fix return types of significand, significandf, significandl.
2425 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2426 argument in fchmod prototype.
2427 (File Owner): Use uid_t and gid_t in fchown prototype.
2428 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2429 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2430 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2431 use 'const struct dirent **' as argument types to CMP function pointer
2432 argument.
2433 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2434 (File Times): Fix summary magic @comment for struct utimbuf and utime
2435 to refer to utime.h, not time.h.
2436 * manual/string.texi (Argz Functions): Add missing const in
2437 argz_extract and argz_next prototypes.
2438 (Finding Tokens in a String): Likewise for basename.
2439 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2440 (Copying and Concatenation): Fix typo in wmemmove prototype.
2441 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2442 (Signal Stack): Remove erroneous const in sigstack prototype.
2443 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2444 prototype.
2445 (Simple Calendar Time): Likewise for stime.
2446 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2447 prototype.
2448 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2449 say sys/sysctl.h instead.
2450 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2451 and vsyslog prototypes.
2452
fe77fe6d
TV
24532013-02-11 Tom de Vries <tom@codesourcery.com>
2454
2455 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2456 Remove.
2457
3a09b620
RM
24582013-02-11 Roland McGrath <roland@hack.frob.com>
2459
2460 * misc/sys/mman.h: Fix typo in mremap comment.
2461
550a0b89
RM
24622013-02-08 Roland McGrath <roland@hack.frob.com>
2463
2464 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2465 the '\0' terminator.
2466
a2da1673
JM
24672013-02-08 Joseph Myers <joseph@codesourcery.com>
2468
2469 [BZ #13550]
2470 * debug/segfault.c: Don't include <bp-checks.h>.
2471 * sysdeps/generic/bp-checks.h: Remove file.
2472 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2473 (__GETDENTS): Don't use CHECK_N.
2474 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2475 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2476 (__getgroups): Don't use CHECK_N.
2477 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2478 (setgroups): Don't use CHECK_N.
2479 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2480 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2481 (__libc_msgrcv): Don't use CHECK_N.
2482 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2483 (__libc_msgsnd): Don't use CHECK_N.
2484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2485 <bp-checks.h>.
2486 (__libc_pread): Don't use CHECK_N.
2487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2488 include <bp-checks.h>.
2489 (__libc_pread64): Don't use CHECK_N.
2490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2491 include <bp-checks.h>.
2492 (__libc_pwrite): Don't use CHECK_N.
2493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2494 include <bp-checks.h>.
2495 (__libc_pwrite64): Don't use CHECK_N.
2496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2497 <bp-checks.h>.
2498 (__libc_pread): Don't use CHECK_N.
2499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2500 include <bp-checks.h>.
2501 (__libc_pread64): Don't use CHECK_N.
2502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2503 include <bp-checks.h>.
2504 (__libc_pwrite): Don't use CHECK_N.
2505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2506 include <bp-checks.h>.
2507 (__libc_pwrite64): Don't use CHECK_N.
2508 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2509 (do_pread): Don't use CHECK_N.
2510 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2511 (do_pread64): Don't use CHECK_N.
2512 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2513 (do_pwrite): Don't use CHECK_N.
2514 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2515 (do_pwrite64): Don't use CHECK_N.
2516 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2517 (__libc_readv): Don't use CHECK_N.
2518 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2519 (semop): Don't use CHECK_N.
2520 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2521 <bp-checks.h>.
2522 (semtimedop): Don't use CHECK_N.
2523 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2524 (__libc_pread): Don't use CHECK_N.
2525 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2526 <bp-checks.h>.
2527 (__libc_pread64): Don't use CHECK_N.
2528 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2529 <bp-checks.h>.
2530 (__libc_pwrite): Don't use CHECK_N.
2531 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2532 <bp-checks.h>.
2533 (__libc_pwrite64): Don't use CHECK_N.
2534 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2535 <bp-checks.h>.
2536 (__libc_msgrcv): Don't use CHECK_N.
2537 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2538 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2539 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2540 (__libc_writev): Don't use CHECK_N.
2541
b84660a8
RM
25422013-02-08 Roland McGrath <roland@hack.frob.com>
2543
7f3e75f8
RM
2544 * string/strcpy.c: Removed unused variable.
2545
b84660a8
RM
2546 * Makeconfig (+sysdep-includes): Define with := rather than =.
2547 Use an existing include/ subdir of each sysdeps dir before it.
2548
471514d3
CD
25492013-02-08 Carlos O'Donell <carlos@redhat.com>
2550
2551 * nscd/connection.c (register_traced_file): Comment function.
2552 [HAVE_INOTIFY] (union __inev): Define.
2553 [HAVE_INOTIFY] (inotify_check_files): New function.
2554 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2555 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2556 clear_db_cache.
2557 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2558
b2d3c3be
CD
25592013-02-08 Carlos O'Donell <carlos@redhat.com>
2560
2561 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2562 loaded if not already and that a failure is permanent.
2563
b39949d2
CD
25642013-02-08 Carlos O'Donell <carlos@redhat.com>
2565
ddacd1db 2566 [BZ #15006]
b39949d2
CD
2567 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2568 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2569
b2c9eff4
JM
25702013-02-08 Joseph Myers <joseph@codesourcery.com>
2571
f3aae3f3
JM
2572 [BZ #13550]
2573 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2574 (CHECK_1_NULL_OK): Likewise.
2575 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2576 (__fxstat): Do not use CHECK_1.
2577 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2578 <bp-checks.h>.
2579 (___fxstat64): Do not use CHECK_1.
2580 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2581 <bp-checks.h>.
2582 (__fxstatat): Do not use CHECK_1.
2583 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2584 <bp-checks.h>.
2585 (__fxstatat64): Do not use CHECK_1.
2586 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2587 <bp-checks.h>.
2588 (__fxstat): Do not use CHECK_1.
2589 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2590 <bp-checks.h>.
2591 (__fxstatat): Do not use CHECK_1.
2592 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2593 <bp-checks.h>.
2594 (__getresgid): Do not use CHECK_1.
2595 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2596 <bp-checks.h>.
2597 (__getresuid): Do not use CHECK_1.
2598 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2599 <bp-checks.h>.
2600 (__lxstat): Do not use CHECK_1.
2601 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2602 <bp-checks.h>.
2603 (__old_msgctl): Do not use CHECK_1.
2604 (__new_msgctl): Likewise.
2605 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2606 <bp-checks.h>.
2607 (__new_setrlimit): Do not use CHECK_1.
2608 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2609 <bp-checks.h>.
2610 (__old_shmctl): Do not use CHECK_1.
2611 (__new_shmctl): Likewise.
2612 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2613 <bp-checks.h>.
2614 (__xstat): Do not use CHECK_1.
2615 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2616 (__lxstat): Do not use CHECK_1.
2617 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2618 <bp-checks.h>.
2619 (___lxstat64): Do not use CHECK_1.
2620 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2621 (__old_msgctl): Do not use CHECK_1.
2622 (__new_msgctl): Likewise.
2623 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2624 <bp-checks.h>.
2625 (__gettimeofday): Do not use CHECK_1.
2626 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2627 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2628 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2629 <bp-checks.h>.
2630 (__gettimeofday): Do not use CHECK_1.
2631 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2632 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2633 (__new_shmctl): Do not use CHECK_1.
2634 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2635 <bp-checks.h>.
2636 (do_sigtimedwait): Do not use CHECK_1.
2637 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2638 <bp-checks.h>.
2639 (do_sigwaitinfo): Do not use CHECK_1.
2640 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2641 <bp-checks.h>.
2642 (msgctl): Do not use CHECK_1.
2643 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2644 <bp-checks.h>.
2645 (shmctl): Do not use CHECK_1.
2646 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2647 (ustat): Do not use CHECK_1.
2648 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2649 <bp-checks.h>.
2650 (__fxstat): Do not use CHECK_1.
2651 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2652 <bp-checks.h>.
2653 (__fxstatat): Do not use CHECK_1.
2654 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2655 <bp-checks.h>.
2656 (__lxstat): Do not use CHECK_1.
2657 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2658 <bp-checks.h>.
2659 (__xstat): Do not use CHECK_1.
2660 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2661 (__xstat): Do not use CHECK_1.
2662 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2663 (___xstat64): Do not use CHECK_1.
2664
b2c9eff4
JM
2665 [BZ #13550]
2666 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2667 definitions.
2668 (CHECK_BOUNDS_HIGH): Likewise.
2669 * string/strcpy.c: Do not include <bp-checks.h>.
2670 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2671
f1d70dad
RM
26722013-02-07 Roland McGrath <roland@hack.frob.com>
2673
2674 * nscd/nscd-client.h (__nscd_drop_map_ref):
2675 Add __attribute__ ((unused)).
2676 * nis/nss-nisplus.h (niserr2nss): Likewise.
2677
2678 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2679 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2680
2681 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2682 Remove inline keyword.
2683 * include/rounding-mode.h (round_away): Likewise.
2684 * libio/wfileops.c (adjust_wide_data): Likewise.
2685 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2686 (__m128i_strloadu_tolower): Likewise.
2687 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2688 (__m128i_strloadu_tolower): Likewise.
2689 * time/mktime.c (ydhms_diff): Likewise.
2690 * locale/elem-hash.h (elem_hash): Likewise.
2691 * locale/setlocale.c (setdata): Likewise.
2692 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2693 (re_string_wchar_at): Likewise.
2694 (bitset_not, bitset_merge, bitset_mask): Likewise.
2695 [!(__GNUC__ > 3)] (inline): Remove macro.
2696 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2697 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2698 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2699 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2700 * string/memcmp.c (memcmp_bytes): Likewise.
2701 * locale/programs/locarchive.c (compute_hashval): Likewise.
2702 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2703 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2704 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2705 * nss/getent.c (print_rpc, print_protocols): Likewise.
2706 (print_passwd, print_group, print_aliases): Likewise.
2707 * nis/nss-nisplus.h (niserr2nss): Likewise.
2708 * nscd/connections.c (restart_p): Likewise.
2709 Change return type to bool.
2710
eab55bfb
RM
27112013-02-05 Roland McGrath <roland@hack.frob.com>
2712
7bd642f5
RM
2713 * Makeconfig (all-Depend-files): Add existing
2714 $(sorted-subdirs:=/Depend) files.
2715 (all-subdirs): Remove nss.
2716 * sysdeps/unix/inet/Subdirs: Add it here instead.
2717 * hesiod/Depend: New file.
2718
573c29b2
RM
2719 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2720 instead of calling alloca.
2721
b2e25af0
RM
2722 * io/lseek.c (__lseek): Rename to __libc_lseek.
2723 Define __lseek as an alias.
2724
eab55bfb
RM
2725 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2726
9a0d1941
CD
27272013-02-04 Carlos O'Donell <carlos@redhat.com>
2728
2729 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2730 else clause and remove check for non-standard endianness.
2731
b83bbec4
DM
27322013-02-04 David S. Miller <davem@davemloft.net>
2733
2734 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2735
6277fdab
JM
27362013-02-04 Joseph Myers <joseph@codesourcery.com>
2737
2738 [BZ #13550]
2739 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2740 (__ubp_memchr): Remove prototype.
2741 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2742 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2743 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2744 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2745 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2746 Remove alias.
2747 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2748 (__ubp_memchr): Likewise.
2749 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2750 (__ubp_memchr): Likewise.
2751 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2752 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2753 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2754 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2755 CHECK_STRING.
2756 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2757 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2758 (__getcwd): Do not use CHECK_STRING.
2759 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2760 <bp-checks.h>.
2761 (__real_chown): Do not use CHECK_STRING.
2762 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2763 <bp-checks.h>.
2764 (fchownat): Do not use CHECK_STRING.
2765 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2766 CHECK_STRING.
2767 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2768 <bp-checks.h>.
2769 (__lchown): Do not use CHECK_STRING.
2770 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2771 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2772 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2773 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2775 include <bp-checks.h>.
2776 (truncate64): Do not use CHECK_STRING.
2777 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2778 <bp-checks.h>.
2779 (__real_chown): Do not use CHECK_STRING.
2780 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2781 <bp-checks.h>.
2782 (__lchown): Do not use CHECK_STRING.
2783 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2784 <bp-checks.h>.
2785 (__chown): Do not use CHECK_STRING.
2786 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2787 <bp-checks.h>.
2788 (truncate64): Do not use CHECK_STRING.
2789 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2790 Likewise.
2791 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2792 (__xmknod): Do not use CHECK_STRING.
2793 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2794 <bp-checks.h>.
2795 (__xmknodat): Do not use CHECK_STRING.
2796 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2797 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2798
903ae060
AS
27992013-02-04 Andreas Schwab <schwab@suse.de>
2800
2801 [BZ #14142]
2802 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2803 * include/netdb.h: Likewise for h_errno.
2804 * elf/tst-stackguard1.c: Include <tls.h>.
2805
542f9466
JK
28062013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2807
2808 * elf/link.h (struct link_map): Extend the l_addr comment.
2809 * include/link.h (struct link_map): Likewise.
2810
e782a927
JM
28112013-02-01 Joseph Myers <joseph@codesourcery.com>
2812
2813 [BZ #13550]
2814 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2815 (BOUNDED_1): Remove macro.
2816 * debug/backtrace.c: Don't include <bp-checks.h>.
2817 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2818 (__backtrace): Likewise.
2819 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2820 <bp-checks.h>.
2821 (__backtrace): Don't use BOUNDED_1.
2822 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2823 <bp-checks.h>.
2824 (__backtrace): Don't use BOUNDED_1.
2825 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2826 (__backtrace): Don't use BOUNDED_1.
2827 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2828 (shmat): Don't use BOUNDED_N.
2829
8cf28c5e
JM
28302013-01-31 Joseph Myers <joseph@codesourcery.com>
2831
3a7ac8a0
JM
2832 [BZ #13550]
2833 * sysdeps/generic/bp-start.h: Remove file.
2834 * csu/libc-start.c: Don't include <bp-start.h>.
2835 (LIBC_START_MAIN): Set up __environ directly instead of using
2836 INIT_ARGV_and_ENVIRON.
2837 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
2838 <bp-start.h>.
2839
f3499f95
JM
2840 [BZ #13550]
2841 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
2842 definitions.
2843 (CHECK_FCNTL): Likewise.
2844 (CHECK_N_PAGES): Likewise.
2845
32a45bea
JM
2846 [BZ #13550]
2847 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
2848 definitions.
2849 (CHECK_SIGSET_NULL_OK): Likewise.
2850 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
2851 <bp-checks.h>.
2852 (sigpending): Don't use CHECK_SIGSET.
2853 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
2854 <bp-checks.h>.
2855 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2856 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
2857 <bp-checks.h>.
2858 (do_sigsuspend): Don't use CHECK_SIGSET.
2859 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
2860 use CHECK_SIGSET.
2861 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
2862 (do_sigwait): Don't use CHECK_SIGSET.
2863 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
2864 use CHECK_SIGSET.
2865 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
2866 include <bp-checks.h>.
2867 (sigpending): Don't use CHECK_SIGSET.
2868 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
2869 include <bp-checks.h>.
2870 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2871 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
2872 <bp-checks.h>.
2873 (sigpending): Don't use CHECK_SIGSET.
2874 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
2875 <bp-checks.h>.
2876 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2877
2e8a5c8c
JM
2878 [BZ #13550]
2879 * sysdeps/generic/bp-semctl.h: Remove file.
2880 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
2881 <bp-checks.h> and <bp-semctl.h>.
2882 (__old_semctl): Don't use CHECK_SEMCTL.
2883 (__new_semctl): Likewise.
2884 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
2885 and <bp-semctl.h>.
2886 (__old_semctl): Don't use CHECK_SEMCTL.
2887 (__new_semctl): Likewise.
2888 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
2889 <bp-checks.h> and <bp-semctl.h>.
2890 (__old_semctl): Don't use CHECK_SEMCTL.
2891 (__new_semctl): Likewise.
2892 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
2893 <bp-checks.h> and <bp-semctl.h>.
2894 (semctl): Don't use CHECK_SEMCTL.
2895
c2d54929
JM
2896 [BZ #13550]
2897 * Makerules (elide-bp-thunks): Remove variable.
2898 (elide-routines.oS): Don't use $(elide-bp-thunks).
2899 (elide-routines.os): Likewise.
2900 (elide-routines.o): Likewise.
2901 (elide-routines.op): Likewise.
2902 (elide-routines.og): Likewise.
2903 (objects): Don't use $(bp-thunks).
2904 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
2905 include.
2906 (common-generated): Do not add s-proto-bp.d.
2907 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
2908 (int): Likewise.
2909 (typ): Likewise.
2910 Do not generate makefile rules for bounded-pointer thunks.
2911 * sysdeps/generic/bp-thunks.h: Remove file.
2912 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
2913 * sysdeps/unix/s-proto-bp.S: Likewise.
2914
8cf28c5e
JM
2915 [BZ #15062]
2916 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
2917 parts of result separately when argument is not close to line from
2918 -i to i and one part of argument is small.
2919 * math/k_casinhf.c (__kernel_casinhf): Likewise.
2920 * math/k_casinhl.c (__kernel_casinhl): Likewise.
2921 * math/libm-test.inc (cacos_test): Add more tests.
2922 (casin_test): Likewise.
2923 (casinh_test): Likewise.
2924 * sysdeps/i386/fpu/libm-test-ulps: Update.
2925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2926
c4e33b8d
DM
29272013-01-31 David S. Miller <davem@davemloft.net>
2928
2929 * po/de.po: Update from translation team.
2930
3b60b421
MK
29312013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
2932
2933 * time/tzfile.c: Include stdint.h for SIZE_MAX.
2934
bb931195
TS
29352013-01-25 Thomas Schwinge <thomas@codesourcery.com>
2936
b5a5da23
TS
2937 * configure.in (_AC_PROG_CC_C89): New definition.
2938 * configure: Regenerate.
2939
bb931195
TS
2940 * configure.in (AC_PROG_CPP): New definition.
2941 * configure: Regenerate.
2942
8c53a12c
JM
29432013-01-23 Joseph Myers <joseph@codesourcery.com>
2944
2945 * debug/tst-backtrace.h: New file.
2946 * debug/tst-backtrace2.c: Include tst-backtrace.h.
2947 (ret): Remove variable.
2948 (x): Likewise.
2949 (FAIL): Remove macro.
2950 (NO_INLINE): Likewise.
2951 (fn1): Use match function instead of strstr.
2952 * debug/tst-backtrace3.c: Include tst-backtrace.h.
2953 (ret): Remove variable.
2954 (x): Likewise.
2955 (FAIL): Remove macro.
2956 (NO_INLINE): Likewise.
2957 (fn): Use match function instead of strstr.
2958 * debug/tst-backtrace4.c: Include tst-backtrace.h.
2959 (ret): Remove variable.
2960 (x): Likewise.
2961 (FAIL): Remove macro.
2962 (NO_INLINE): Likewise.
2963 (handle_signal): Use match function instead of strstr.
2964 * debug/tst-backtrace5.c: Include tst-backtrace.h.
2965 (ret): Remove variable.
2966 (x): Likewise.
2967 (FAIL): Remove macro.
2968 (NO_INLINE): Likewise.
2969 (handle_signal): Use match function instead of strstr.
2970
4858fa2a
RM
29712013-01-23 Roland McGrath <roland@hack.frob.com>
2972
2973 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
2974
bae8e7f5
DM
29752013-01-23 David S. Miller <davem@davemloft.net>
2976
2977 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
2978 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
2979 argument of CAS if possible.
2980 * sysdeps/sparc/sparc64/bits/atomic.h
2981 (__arch_compare_and_exchange_val_32_acq): Likewise.
2982 (__arch_compare_and_exchange_val_64_acq): Likewise.
2983
9cbbc4ae
PT
29842013-01-23 Pino Toscano <toscano.pino@tiscali.it>
2985
2986 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
2987 * sysdeps/posix/ulimit.c: ... this.
92a601b8 2988 Include <limits.h>.
67b3f58c 2989 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 2990
5655a0b5
AC
29912013-01-23 Adam Conrad <adconrad@0c3.net>
2992
2993 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
2994 (LDFLAGS-tst-array5): Likewise.
2995
052aff95
JM
29962013-01-23 Joseph Myers <joseph@codesourcery.com>
2997
2998 [BZ #15036]
2999 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3000 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3001 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3002 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3003
7c1e01aa
DM
30042013-01-21 David S. Miller <davem@davemloft.net>
3005
3006 * sysdeps/sparc/backtrace.c: New file.
3007 * sysdeps/sparc/sparc32/backtrace.h: New file.
3008 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3009 * sysdeps/sparc/sparc64/backtrace.h: New file.
3010 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3011 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3012 -funwind-tables.
3013
ab087e0a
AS
30142013-01-21 Andreas Schwab <schwab@suse.de>
3015
3016 [BZ #15020]
3017 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3018 closed its stdout.
3019
ed689c2f
AS
30202013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3021
3022 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3023 "mpa2.h".
3024 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3025
31d470ac
JM
30262013-01-18 Joseph Myers <joseph@codesourcery.com>
3027 Mark Mitchell <mark@codesourcery.com>
3028 Tom de Vries <tom@codesourcery.com>
3029 Paul Pluzhnikov <ppluzhnikov@google.com>
3030
3031 * debug/tst-backtrace2.c: New file.
3032 * debug/tst-backtrace3.c: Likewise.
3033 * debug/tst-backtrace4.c: Likewise.
3034 * debug/tst-backtrace5.c: Likewise.
3035 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3036 (CFLAGS-tst-backtrace3.c): Likewise.
3037 (CFLAGS-tst-backtrace4.c): Likewise.
3038 (CFLAGS-tst-backtrace5.c): Likewise.
3039 (LDFLAGS-tst-backtrace2): Likewise.
3040 (LDFLAGS-tst-backtrace3): Likewise.
3041 (LDFLAGS-tst-backtrace4): Likewise.
3042 (LDFLAGS-tst-backtrace5): Likewise.
3043 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3044 tst-backtrace4 and tst-backtrace5.
3045
90567f30 30462013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
3047 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3048
3049 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3050 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3051 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3052 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3054 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3055 "+r" and remove output regs list as redundant. Add explicit inline
3056 asm to specify register of return val to work around compiler codegen
3057 bug. Remove (int) cast on return value. Add return type parameter to
3058 use in macro so that this macro does not truncate return value for
3059 64-bit values.
3060 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3061 pass to INTERNAL_VSYSCALL_NCS.
3062 (INLINE_VSYSCALL): Add 'long int' as return type to
3063 INTERNAL_VSYSCALL_NCS macro invocation.
3064 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3065 INTERNAL_VSYSCALL_NCS macro invocation.
3066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3067
d3b9ea61
SP
30682013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3069
0b57daeb
SP
3070 [BZ #14496]
3071 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3072 Fix application of SIMD FP exception mask.
3073
caa99d06
SP
3074 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3075 mp_no from a power of two.
3076 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3077 __mpexp_twomm1. Use __pow_mp.
3078
d3b9ea61
SP
3079 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3080 multiplication.
3081
1dbaee3c
DM
30822013-01-17 David S. Miller <davem@davemloft.net>
3083
3084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3085
728d7b43
JM
30862013-01-17 Joseph Myers <joseph@codesourcery.com>
3087
3088 [BZ #15023]
3089 * include/complex.h: Condition contents on [!_COMPLEX_H].
3090 (__kernel_casinhf): New prototype.
3091 (__kernel_casinh): Likewise.
3092 (__kernel_casinhl): Likewise.
3093 * math/Makefile (libm_calls): Add k_casinh.
3094 * math/k_casinh.c: New file.
3095 * math/k_casinhf.c: Likewise.
3096 * math/k_casinhl.c: Likewise.
3097 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3098 finite nonzero arguments.
3099 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3100 finite nonzero arguments.
3101 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3102 finite nonzero arguments.
3103 * math/s_casinh.c: Do not include <float.h>.
3104 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3105 * math/s_casinhf.c: Do not include <float.h>.
3106 (__casinhf): Move code for finite nonzero arguments to
3107 k_casinhf.c.
3108 * math/s_casinhl.c: Do not include <float.h>.
3109 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3110 redefine.
3111 (__casinhl): Move code for finite nonzero arguments to
3112 k_casinhl.c.
3113 * math/libm-test.inc (cacos_test): Add more tests.
3114 * sysdeps/i386/fpu/libm-test-ulps: Update.
3115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3116
2a26ef3a
PT
31172013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3118
3119 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3120 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3121 [!HAVE_MREMAP]: Remove [defined linux] case.
3122 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3123
a897655d
SP
31242013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3125
3126 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3127
881ebe89 31282013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
3129
3130 * elf/elf.h (R_386_SIZE32): New relocation.
3131 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3132 R_386_SIZE32.
3133 (elf_machine_rela): Likewise.
3134 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3135 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3136
59981e9b
JM
31372013-01-17 Joseph Myers <joseph@codesourcery.com>
3138
3139 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3140 (FP_FAST_FMA): Do not define.
3141 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3142 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3143 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3144 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3145 !_SOFT_FLOAT]: Likewise.
3146 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3147 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3148 value.
3149 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3150 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3151 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3152 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3153 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3154 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3155 file.
3156
cfa8054f
AS
31572013-01-16 Andreas Schwab <schwab@suse.de>
3158
3159 [BZ #14327]
3160 * include/stdlib.h (__mktemp): Add declaration.
3161 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3162 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3163
dd930cc5
SP
31642013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3165
881ebe89
SP
3166 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3167 definitions.
3168 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3169 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3170 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3171 definitions here.
3172 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3173 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3174 definitions.
3175 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3176 and ONE.
3177 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3178 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3179 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3180 definitions.
3181 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3182 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3183 definitions.
3184 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 3185
dd930cc5
SP
3186 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3187
c19a9f89
DM
31882013-01-15 David S. Miller <davem@davemloft.net>
3189
1aa61767
DM
3190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3191 trunc{,f} to libm-sysdep_routes.
3192 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3194 file.
3195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3197 file.
3198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3199 file.
3200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3202 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3203 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3204 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3205 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3206 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3207 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3208
c42d5e98
DM
3209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3210 nearbyint{,f} to libm-sysdep_routes.
3211 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3213 New file.
3214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3215 file.
3216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3217 New file.
3218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3219 file.
3220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3222 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3223 file.
3224 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3225 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3226 file.
3227 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3228 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3229 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3230
c19a9f89
DM
3231 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3232 libc_feholdexcept and libc_fesetenv.
3233
357679d2
MF
32342013-01-15 Mike Frysinger <vapier@gentoo.org>
3235
3236 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3237
65a82e3d
DM
32382013-01-14 David S. Miller <davem@davemloft.net>
3239
8b954ab9
DM
3240 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3241 (SPARC_ASM_VIS2_IFUNC): Likewise.
3242 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3244 use of 'siam' instruction.
3245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3246 Likewise.
3247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3248 Likewise.
3249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3250 Likewise.
3251 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3253 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3254 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3256 file.
3257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3258 file.
3259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3260 file.
3261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3262 file.
3263 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3264 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3265 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3266 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3268 new VIS2 routines.
3269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3272 Likewise.
3273 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3275 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3276 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3278 routines to libm-sysdep_routines.
3279 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3280
65a82e3d
DM
3281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3282 fdim/fdimf to libm-sysdep_routines.
3283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3284 file.
3285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3287 file.
3288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3291 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3292 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3293 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3294 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3295
e34ab705
SP
32962013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3297
2a91b573
SP
3298 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3299 to optimize copies.
3300
1066a534
SP
3301 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3302 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3303 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3304
e34ab705
SP
3305 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3306 local variable MPTWO.
3307 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3308 Likewise.
3309
aba5e596
MF
33102013-01-13 Mike Frysinger <vapier@gentoo.org>
3311
3312 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3313 GLOB_NOESCAPE.
3314
e557e9e5
MF
33152013-01-13 Mike Frysinger <vapier@gentoo.org>
3316
3317 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3318
0428cec9
MF
33192013-01-13 Mike Frysinger <vapier@gentoo.org>
3320
3321 * manual/pattern.texi (glob_t): Document gl_flags.
3322 (glob64_t): Likewise.
3323
8794a964
DM
33242013-01-11 David S. Miller <davem@davemloft.net>
3325
66438c3f
RM
3326 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3327 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3328 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
3329 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3330 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3331 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3332 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3333 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3334 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3335 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3336 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3337 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3338 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3339
4ae4244d
DM
3340 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3341 sparc V9 rather than using V8 code.
3342 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3343 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3344
8794a964
DM
3345 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3346 Move to...
3347 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3348 Here.
3349
6270516e
RM
33502013-01-11 Roland McGrath <roland@hack.frob.com>
3351
3352 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3353 not in the main loop.
3354 * configure: Regenerated.
3355
6a57d931
JM
33562013-01-11 Joseph Myers <joseph@codesourcery.com>
3357
3358 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3359 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3360 to just #else.
3361 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3362 [!__GLIBC_HAVE_LONG_LONG] case.
3363 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3364 condition to just #else.
3365 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3366 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3367 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3368 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3369 unconditional.
3370 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3371 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3372 #elif condition to just #else.
3373 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3374 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3375 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3376 #elif condition to just #else.
3377
0e8529e9
SE
33782013-01-11 Steve Ellcey <sellcey@mips.com>
3379
3380 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3381 (EF_MIPS_ARCH_64): Fix value.
3382 (EF_MIPS_ARCH_32R2): New.
3383 (EF_MIPS_ARCH_64R2): New.
3384
740b3dbe
L
33852013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3386
3387 * Makeconfig (+link-pie-before-libc): New.
3388 (+link-pie-after-libc): Likewise.
3389 (+link-pie-tests): Likewise.
3390 (+link-pie): Rewritten.
3391 (link-before-libc): Remove $(config-LDFLAGS).
3392 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3393 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3394 (config-LDFLAGS): Renamed to ...
3395 (rtld-LDFLAGS): This.
3396 (rtld-tests-LDFLAGS): New macro.
3397 (link-libc-rpath-link): Likewise.
3398 (link-libc-tests-rpath-link): Likewise.
3399 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3400 (link-libc): Prepand $(link-libc-rpath-link).
3401 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3402 (test-program-prefix): New macro.
3403 (test-via-rtld-prefix): Likewise.
3404 (test-program-cmd): Likewise.
3405 (host-test-program-cmd): Likewise.
3406 * Makefile ($(common-objpfx)testrun.sh): Replace
3407 $(run-program-prefix) with $(test-program-prefix).
3408 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3409 $(rtld-LDFLAGS).
3410 ($(common-objpfx)shlib.lds): Likewise.
3411 (build-module-helper): Likewise.
3412 ($(common-objpfx)format.lds): Likewise.
3413 * Rules (binaries-pie-tests): New.
3414 (binaries-pie-notests): Likewise.
3415 (binaries-pie): Rewritten.
3416 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3417 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3418 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3419 (make-test-out): Replace $(host-built-program-cmd) with
3420 $(host-test-program-cmd).
3421 * config.make.in (build-hardcoded-path-in-tests): New variable.
3422 * configure.in (--enable-hardcoded-path-in-tests): New configure
3423 option.
3424 (hardcoded_path_in_tests): New AC_SUBST.
3425 * configure: Regenerated.
3426 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3427 $(built-program-cmd) with $(test-program-cmd).
3428 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3429 (test_program_cmd): This.
3430 * elf/Makefile ($(objpfx)order.out): Run test with
3431 $(test-program-prefix).
3432 ($(objpfx)order2.out): Likewise.
3433 ($(objpfx)tst-initorder.out): Likewise.
3434 ($(objpfx)tst-initorder2.out): Likewise.
3435 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3436 $(test-program-cmd).
3437 ($(objpfx)tst-array1-static.out): Likewise.
3438 ($(objpfx)tst-array2.out): Likewise.
3439 ($(objpfx)tst-array3.out): Likewise.
3440 ($(objpfx)tst-array4.out): Likewise.
3441 ($(objpfx)tst-array5.out): Likewise.
3442 ($(objpfx)tst-array5-static.out): Likewise.
3443 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3444 $(test-program-cmd).
3445 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3446 $(run-program-prefix) with $(test-program-prefix).
3447 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3448 (test_program_prefix): This.
3449 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3450 $(run-program-prefix) with $(test-program-prefix).
3451 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3452 (test_program_prefix): This.
3453 * iconvdata/tst-tables.sh: Likewise.
3454 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3455 $(run-program-prefix) with $(test-program-prefix).
3456 ($(objpfx)tst-translit.out): Likewise.
3457 ($(objpfx)tst-gettext2.out): Likewise.
3458 ($(objpfx)tst-gettext4.out): Likewise.
3459 ($(objpfx)tst-gettext6.out): Likewise.
3460 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3461 (test_program_prefix): This.
3462 * intl/tst-gettext2.sh: Likewise.
3463 * intl/tst-gettext4.sh Likewise.
3464 * intl/tst-gettext6.sh: Likewise.
3465 * intl/tst-translit.sh: Likewise.
3466 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3467 with $(test-program-cmd).
3468 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3469 $(run-program-prefix) with $(test-program-prefix).
3470 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3471 (test_program_prefix): This.
3472 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3473 $(run-program-prefix) with $(test-program-prefix).
3474 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3475 (test_program_prefix): This.
3476 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3477 * posix/Makefile ($(objpfx)globtest.out): Replace
3478 $(run-via-rtld-prefix) and $(test-wrapper) with
3479 $(test-program-prefix) and $(test-via-rtld-prefix).
3480 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3481 $(test-program-prefix).
3482 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3483 $(host-test-program-cmd).
3484 (tst-spawn-ARGS): Likewise.
3485 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3486 $(test-program-prefix).
3487 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3488 (test_via_rtld_prefix): This.
3489 (test_wrapper): Renamed to ...
3490 (test_program_prefix): This.
3491 (run_program_prefix): Replaced by test_program_prefix.
3492 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3493 (test_program_prefix): This.
3494 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3495 with $(host-test-program-cmd).
3496 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3497 $(run-program-prefix) with $(test-program-prefix).
3498 ($(objpfx)tst-printf.out): Likewise.
3499 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3500 $(test-program-cmd).
3501 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3502 (test_program_prefix): This.
3503 * stdio-common/tst-unbputc.sh: Likewise.
3504 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3505 $(run-program-prefix) with $(test-program-prefix).
3506 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3507 (test_program_prefix): This.
3508 * string/Makefile ($(objpfx)tst-svc.out): Replace
3509 $(built-program-cmd) with $(test-program-cmd).
3510
c6fe55cf
AJ
35112013-01-11 Andreas Jaeger <aj@suse.de>
3512
3513 [BZ #15003]
3514 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3515 value. Sync with Linux 3.7.
3516
9e6919c8
DM
35172013-01-10 David S. Miller <davem@davemloft.net>
3518
3519 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3520 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3521 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3522
1c9f1a02
RM
35232013-01-10 Roland McGrath <roland@hack.frob.com>
3524
3525 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3526 never set.
3527 * configure: Regenerated.
3528
b9de2dde
DM
35292013-01-10 David S. Miller <davem@davemloft.net>
3530
3531 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3532 sparc V9 rather than using V8 code.
3533 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3534 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3535
e7f68ef4
RM
35362013-01-10 Roland McGrath <roland@hack.frob.com>
3537
3538 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3539 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3540 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3541 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3542 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3543 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3544 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3545 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3546 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3547 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3548 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3549 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3550 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3551 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3552 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3553 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3554 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3555 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3556 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3557 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3558 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3559 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3560 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3561 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3562 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3563 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3564 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3565
5a47cc9c
DM
35662013-01-10 David S. Miller <davem@davemloft.net>
3567
3568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3569
4cf8f209
L
35702013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3571
3572 * posix/Makefile (tests-static): New variable.
3573 (tests): Add $(tests-static).
3574 (tst-exec-static-ARGS): New variable.
3575 (tst-spawn-static-ARGS): Likewise.
3576 * posix/tst-exec-static.c: New file.
3577 * posix/tst-spawn-static.c: Likewise.
3578 * posix/tst-exec.c: Support run directly.
3579 * posix/tst-spawn.c: Likewise.
3580
fed0faa1
JM
35812013-01-10 Joseph Myers <joseph@codesourcery.com>
3582
828beb13
JM
3583 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3584 long.
3585 * math/bits/mathcalls.h (llrint): Likewise.
3586 (llround): Likewise.
3587 * stdlib/stdlib.h (struct drand48_data): Likewise.
3588 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3589 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3590 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3591 Likewise.
3592 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3593 Likewise.
3594 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3595 (elf_greg_t): Likewise.
3596 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3597 (__jmp_buf): Likewise.
3598 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3599 definitions.
3600 (llrint): Likewise, for all definitions.
3601 (llrintl): Likewise.
3602
fed0faa1
JM
3603 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3604 Remove [__GNUC__] condition.
3605 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3606 condition to just [__USE_ISOC99].
3607 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3608
1a20cb20
L
36092013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3610
3611 [BZ #14200]
3612 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3613 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3614 defined.
3615 (_POSIX_V6_ILP32_OFF32): Likewise.
3616 (_XBS5_ILP32_OFF32): Likewise.
3617 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3618 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3619
751b85f7
SP
36202013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3621
7490eb81
SP
3622 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3623
751b85f7
SP
3624 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3625 doubles __mpexp_twomm1. Adjust usage.
3626 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3627 Remove.
3628
988197f0
AS
36292013-01-10 Andreas Schwab <schwab@suse.de>
3630
3631 [BZ #14964]
3632 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3633 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3634
e83d7298
DM
36352013-01-09 David S. Miller <davem@davemloft.net>
3636
034ed64b 3637 [BZ #15003]
e83d7298
DM
3638 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3639 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3640 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3641 TCP_FASTOPEN): Define.
3642 (tcp_repair_opt): New structure.
3643 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3644 enum values.
3645 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3646 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3647 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3648 (tcp_cookie_transactions): New structure.
3649
d5e0b9bd
AB
36502013-01-09 Anton Blanchard <anton@samba.org>
3651
3652 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3653 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3654 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3655 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3656
0c07e3ea
JM
36572013-01-09 Joseph Myers <joseph@codesourcery.com>
3658
3659 * include/features.h (__USE_ANSI): Remove.
3660
232f7002
RM
36612013-01-09 Roland McGrath <roland@hack.frob.com>
3662
ad98e30c
RM
3663 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3664
232f7002
RM
3665 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3666
950c99ca
SP
36672013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3668
b5792741
SP
3669 * sysdeps/s390/fpu/libm-test-ulps: Update.
3670
47cf2278
SP
3671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3672
950c99ca
SP
3673 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3674 (__acr): Likewise.
3675 (__cpy): Likewise.
3676 (norm): Likewise.
3677 (denorm): Likewise.
3678 (__mp_dbl): Likewise.
3679 (__dbl_mp): Likewise.
3680 (add_magnitudes): Likewise.
3681 (sub_magnitudes): Likewise.
3682 (__add): Likewise.
3683 (__sub): Likewise.
3684 (__mul): Likewise.
3685 (__inv): Likewise.
3686 (__dvd): Likewise.
3687 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3688 (__acr): Likewise.
3689 (__cpy): Likewise.
3690 (norm): Likewise.
3691 (denorm): Likewise.
3692 (__mp_dbl): Likewise.
3693 (__dbl_mp): Likewise.
3694 (add_magnitudes): Likewise.
3695 (sub_magnitudes): Likewise.
3696 (__add): Likewise.
3697 (__sub): Likewise.
3698 (__mul): Likewise.
3699 (__inv): Likewise.
3700 (__dvd): Likewise.
3701 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3702 (__acr): Likewise.
3703 (__cpy): Likewise.
3704 (norm): Likewise.
3705 (denorm): Likewise.
3706 (__mp_dbl): Likewise.
3707 (__dbl_mp): Likewise.
3708 (add_magnitudes): Likewise.
3709 (sub_magnitudes): Likewise.
3710 (__add): Likewise.
3711 (__sub): Likewise.
3712 (__mul): Likewise.
3713 (__inv): Likewise.
3714 (__dvd): Likewise.
3715
eede9df9
JM
37162013-01-08 Joseph Myers <joseph@codesourcery.com>
3717
3718 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3719 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3720 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3721 2 && __USE_EXTERN_INLINES]: Likewise.
3722
c40ea3d9
AJ
37232013-01-08 Andreas Jaeger <aj@suse.de>
3724
3725 [BZ# 14985]
3726 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3727 Remove.
3728 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3729 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3730
2ccdea26
AB
37312013-01-07 Anton Blanchard <anton@samba.org>
3732
3733 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3734 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3735 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3736 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3737 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3738 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3739 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3740 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3741 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3742 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3743 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3744 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3745 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3746 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3747 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3748 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3749 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3750 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3751 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3752 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3753 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3754 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3755 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3756 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3757 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3758 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3759 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3760 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3761 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3762 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3763 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3764 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3765 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3766 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3767 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3768 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3769 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3770 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3771 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3772 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3773 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3774 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3775 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3776
a9708fed
JM
37772013-01-07 Joseph Myers <joseph@codesourcery.com>
3778
375607b9
JM
3779 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3780 (__MALLOC_PMT): Likewise.
3781 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3782 [__GNUC__], only on [_LIBC].
3783 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3784 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3785 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3786 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3787 forward declaration.
3788 (realloc_hook_ini): Likewise.
3789 (memalign_hook_ini): Likewise.
3790 (__libc_memalign): Do not use __MALLOC_PMT in variable
3791 declaration.
3792 (__libc_valloc): Likewise.
3793 (__libc_pvalloc): Likewise.
3794 (__libc_calloc): Likewise.
3795 (__posix_memalign): Likewise.
3796
a9708fed
JM
3797 [BZ #14996]
3798 * math/s_casinh.c: Include <float.h>.
3799 (__casinh): Do not do computation with squaring and square root
3800 for large arguments.
3801 * math/s_casinhf.c: Include <float.h>.
3802 (__casinhf): Do not do computation with squaring and square root
3803 for large arguments.
3804 * math/s_casinhl.c: Include <float.h>.
3805 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3806 (__casinhl): Do not do computation with squaring and square root
3807 for large arguments.
3808 * math/libm-test.inc (casin_test): Add more tests.
3809 (casinh_test): Likewise.
3810 * sysdeps/i386/fpu/libm-test-ulps: Update.
3811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3812
afec409a
L
38132013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3814
3815 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3816 (__x86_64_raw_data_cache_size): Likewise.
3817 (__x86_64_data_cache_size_half): Likewise.
3818 (__x86_64_raw_data_cache_size_half): Likewise.
3819 (__x86_64_shared_cache_size): Likewise.
3820 (__x86_64_raw_shared_cache_size): Likewise.
3821 (__x86_64_shared_cache_size_half): Likewise.
3822 (__x86_64_raw_shared_cache_size_half): Likewise.
3823 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3824 to ...
3825 (__x86_data_cache_size): This.
3826 (__x86_64_raw_data_cache_size): Renamed to ...
3827 (__x86_raw_data_cache_size): This.
3828 (__x86_64_data_cache_size_half): Renamed to ...
3829 (__x86_data_cache_size_half): This.
3830 (__x86_64_raw_data_cache_size_half): Renamed to ...
3831 (__x86_raw_data_cache_size_half): This.
3832 (__x86_64_shared_cache_size): Renamed to ...
3833 (__x86_shared_cache_size): This.
3834 (__x86_64_raw_shared_cache_size): Renamed to ...
3835 (__x86_raw_shared_cache_size): This.
3836 (__x86_64_shared_cache_size_half): Renamed to ...
3837 (__x86_shared_cache_size_half): This.
3838 (__x86_64_raw_shared_cache_size_half): Renamed to ...
3839 (__x86_raw_shared_cache_size_half): This.
3840 * sysdeps/x86_64/memcpy.S: Updated.
3841 * sysdeps/x86_64/memset.S: Likewise.
3842 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3843 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3844 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3845
0b3986d0
DM
38462013-01-04 David S. Miller <davem@davemloft.net>
3847
3848 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3849
e47686e9
AS
38502013-01-04 Andreas Schwab <schwab@linux-m68k.org>
3851
d643bac1
AS
3852 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
3853 1 to avoid redefinition warning.
3854 (__USE_GNU): Don't define.
3855 (init_signaling_nan): Protoize.
3856
e47686e9
AS
3857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3858
b18decba
SP
38592013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3860
fffb407f
SP
3861 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
3862 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
3863 (__cpymn): Likewise.
3864 (norm): Remove commented code.
3865 (denorm): Likewise.
3866 (__mp_dbl): Likewise.
3867 (__inv): Likewise.
3868 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
3869 (__cpymn): Likewise.
3870 (norm): Remove commented code.
3871 (denorm): Likewise.
3872 (__mp_dbl): Likewise.
3873 (__inv): Likewise.
3874
b18decba
SP
3875 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
3876 mp_no value for 1.0 and 2.0.
3877 (norm): Use RADIXI instead of radixi.d.
3878 (denorm): Likewise.
3879 (__mul): Use 0.0 instead of zero.d.
3880 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
3881 mp_no value for 1.0 and 2.0.
3882 (norm): Use RADIXI instead of radixi.d.
3883 (denorm): Likewise.
3884 (__mul): Use 0.0 instead of zero.d.
3885
cdc1c96f
JM
38862013-01-04 Joseph Myers <joseph@codesourcery.com>
3887
3888 [BZ #14994]
3889 * math/s_casinh.c (__casinh): Reduce finite argument to first
3890 quadrant then set signs of results at the end.
3891 * math/s_casinhf.c (__casinhf): Likewise.
3892 * math/s_casinhl.c (__casinhl): Likewise.
3893 * math/libm-test.inc (casin_test): Add more tests.
3894 (casinh_test): Likewise.
3895 * sysdeps/i386/fpu/libm-test-ulps: Update.
3896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3897
302913e1
SP
38982013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3899
6420d207
SP
3900 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
3901
a9e48ab4
SP
3902 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
3903
b7837264
SP
3904 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
3905 declarations.
3906 (denorm): Likewise.
3907 (__mp_dbl): Likewise.
3908 (__inv): Likewise.
3909
f8af25d2
SP
3910 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
3911 and adjust the header comment.
3912
302913e1
SP
3913 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
3914 variable name from declaration.
3915
5d7dd1ca
L
39162013-01-03 H.J. Lu <hongjiu.lu@intel.com>
3917
3918 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3919 Initialize COMMON_CPUID_INDEX_7 element.
3920 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
3921 (CPUID_RTM): Likewise.
3922 (HAS_RTM): Likewise.
3923 (COMMON_CPUID_INDEX_7): New enum.
3924
2f5f40f4
AS
39252013-01-03 Andreas Schwab <schwab@linux-m68k.org>
3926
3927 [BZ #14981]
3928 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
3929 size is zero, record memory as freed.
3930
4056f4a0
AJ
39312013-01-03 Andreas Jaeger <aj@suse.de>
3932
3933 * po/ia.po: Add new Interlingua translation.
3934
ab15736f 39352012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
3936
3937 * locale/programs/localedef.c: Fix description of '--posix' flag.
3938
568035b7
JM
39392013-01-02 Joseph Myers <joseph@codesourcery.com>
3940
e6898b8d
JM
3941 * NEWS: Update dates in second copyright notice.
3942 * README: Update copyright dates in example.
3943 * manual/libc.texinfo: Update copyright dates.
3944 * scripts/test-installation.pl: Update copyright date in --version
3945 output.
3946
0e2f9562
JM
3947 * hurd/ctty-input.c: Fix copyright notice formatting.
3948 * hurd/ctty-output.c: Likewise.
3949 * hurd/dtable.c: Likewise.
3950 * hurd/hurd-raise.c: Likewise.
3951 * hurd/hurdprio.c: Likewise.
3952 * hurd/msgportdemux.c: Likewise.
3953 * misc/sys/file.h: Likewise.
3954 * misc/sys/ioctl.h: Likewise.
3955 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
3956 * sysdeps/mach/hurd/chdir.c: Likewise.
3957 * sysdeps/mach/hurd/fchdir.c: Likewise.
3958 * sysdeps/mach/hurd/rename.c: Likewise.
3959 * sysdeps/mach/hurd/rmdir.c: Likewise.
3960 * sysdeps/mach/hurd/seekdir.c: Likewise.
3961 * sysdeps/mach/hurd/setsid.c: Likewise.
3962 * sysdeps/posix/wait3.c: Likewise.
3963
568035b7
JM
3964 * All files with FSF copyright notices: Update copyright dates
3965 using scripts/update-copyrights.
3966 * intl/plural.c: Regenerated.
3967 * locale/programs/charmap-kw.h: Likewise.
3968 * locale/programs/locfile-kw.h: Likewise.
3969
da08f647
SP
39702013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3971
0f5477af
SP
3972 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
3973 four values.
3974
44e0d4c2
SP
3975 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
3976 calculation loop and add branch prediction.
3977
4d55b4e5
SP
3978 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
3979 check access beyond bounds of m1np.
3980
da08f647
SP
3981 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
3982 MPTWO.
3983 (__inv): Remove local variable MPTWO to use the global
3984 constant.
3985 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
3986 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
3987 variable MPTWO.
3988 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
3989 MP3HALFS static const.
3990
8e051029
DM
39912013-01-01 David S. Miller <davem@davemloft.net>
3992
3993 * po/ca.po: Update from translation team.
3994
f4cf5f2d
JM
39952013-01-01 Joseph Myers <joseph@codesourcery.com>
3996
3997 * scripts/update-copyrights: New file.
3998 * Makeconfig: Reformat copyright notice.
3999 * ctype/ctype.h: Likewise.
4000 * debug/swprintf_chk.c: Likewise.
4001 * elf/dl-cache.c: Likewise.
4002 * elf/dl-debug.c: Likewise.
4003 * elf/dl-object.c: Likewise.
4004 * grp/initgroups.c: Likewise.
4005 * hurd/Makefile: Likewise.
4006 * hurd/hurd/signal.h: Likewise.
4007 * hurd/hurdfault.c: Likewise.
4008 * hurd/hurdioctl.c: Likewise.
4009 * hurd/hurdlookup.c: Likewise.
4010 * hurd/intr-msg.c: Likewise.
4011 * iconv/gconv_open.c: Likewise.
4012 * libio/swprintf.c: Likewise.
4013 * locale/lc-ctype.c: Likewise.
4014 * locale/nl_langinfo.c: Likewise.
4015 * mach/Machrules: Likewise.
4016 * mach/Makefile: Likewise.
4017 * malloc/obstack.h: Likewise.
4018 * manual/Makefile: Likewise.
4019 * manual/tsort.awk: Likewise.
4020 * misc/bits/stab.def: Likewise.
4021 * nis/nis_print_group_entry.c: Likewise.
4022 * nis/nis_table.c: Likewise.
4023 * nis/nss_compat/compat-pwd.c: Likewise.
4024 * nis/nss_compat/compat-spwd.c: Likewise.
4025 * po/Makefile: Likewise.
4026 * posix/fnmatch.c: Likewise.
4027 * posix/regex.h: Likewise.
4028 * resolv/Makefile: Likewise.
4029 * resolv/nss_dns/dns-network.c: Likewise.
4030 * resolv/res_hconf.c: Likewise.
4031 * scripts/gen-sorted.awk: Likewise.
4032 * soft-fp/soft-fp.h: Likewise.
4033 * stdio-common/printf.h: Likewise.
4034 * stdlib/monetary.h: Likewise.
4035 * stdlib/random.c: Likewise.
4036 * stdlib/random_r.c: Likewise.
4037 * sysdeps/generic/Makefile: Likewise.
4038 * sysdeps/gnu/Makefile: Likewise.
4039 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4040 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4041 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4042 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4043 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4044 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4045 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4046 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4047 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4048 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4049 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4050 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4051 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4052 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4053 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4054 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4055 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4056 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4057 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4058 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4059 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4060 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4061 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4062 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4063 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4064 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4065 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4066 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4067 * sysdeps/mach/hurd/errnos.awk: Likewise.
4068 * sysdeps/mach/hurd/fork.c: Likewise.
4069 * sysdeps/mach/hurd/getcwd.c: Likewise.
4070 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4071 * sysdeps/mach/hurd/mmap.c: Likewise.
4072 * sysdeps/mach/hurd/utimes.c: Likewise.
4073 * sysdeps/mach/hurd/xmknod.c: Likewise.
4074 * sysdeps/posix/profil.c: Likewise.
4075 * sysdeps/posix/readdir_r.c: Likewise.
4076 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4077 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4078 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4079 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4080 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4081 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4082 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4083 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4084 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4085 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4086 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4087 * sysdeps/pthread/lio_listio.c: Likewise.
4088 * sysdeps/sparc/dl-procinfo.h: Likewise.
4089 * sysdeps/unix/i386/sysdep.S: Likewise.
4090 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4091 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4092 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4093 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4095 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4096 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4097 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4098 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4099 * sysdeps/wordsize-32/divdi3.c: Likewise.
4100 * time/sys/time.h: Likewise.
4101 * wcsmbs/Makefile: Likewise.
4102
0549fbba
DM
41032013-01-01 David S. Miller <davem@davemloft.net>
4104
a141f1a7
DM
4105 * po/fr.po: Update from translation team.
4106
0549fbba
DM
4107 * catgets/gencat.c: Update copyright year.
4108 * csu/version.c: Likewise.
4109 * debug/catchsegv.sh: Likewise.
4110 * debug/pcprofiledump.c: Likewise.
4111 * debug/xtrace.sh: Likewise.
4112 * elf/ldconfig.c: Likewise.
4113 * elf/ldd.bash.in: Likewise.
4114 * elf/pldd.c: Likewise.
4115 * elf/sotruss.ksh: Likewise.
4116 * elf/sprof.c: Likewise.
4117 * iconv/iconv_prog.c: Likewise.
4118 * iconv/iconvconfig.c: Likewise.
4119 * locale/programs/locale.c: Likewise.
4120 * locale/programs/localedef.c: Likewise.
4121 * login/programs/pt_chown.c: Likewise.
4122 * malloc/memusage.sh: Likewise.
4123 * malloc/memusagestat.c: Likewise.
4124 * malloc/mtrace.pl: Likewise.
4125 * nscd/nscd.c: Likewise.
4126 * nss/getent.c: Likewise.
4127 * nss/makedb.c: Likewise.
4128 * posix/getconf.c: Likewise.
4129
18ea052c
SP
41302012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4131
4132 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4133 numbers.
4134
9c89fca6
MF
41352012-12-30 Mike Frysinger <vapier@gentoo.org>
4136
4137 * math/bits/mathcalls.h (modf): Use __nonnull.
4138
085ec079
SP
41392012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4140
4141 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4142 (split): Use macro CN instead of the bare value.
4143 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4144 could be used.
4145 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4146 instead of the bare value.
4147 (power1): Likewise.
4148
6d9f97e1
SP
41492012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4150
d63f73be
SP
4151 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4152 __ATAN_TWOM.
4153 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4154
6d9f97e1
SP
4155 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4156 their values.
4157 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4158 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4159 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4160 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4161
4c4febf5
AJ
41622012-12-28 Andreas Jaeger <aj@suse.de>
4163
af5843ef
AJ
4164 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4165 values are from Linux 3.7.
4166
4c4febf5
AJ
4167 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4168 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4169
99136f82
SP
41702012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4171
2f216c3c 4172 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
4173 TRUE case.
4174
99136f82
SP
4175 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4176 (norm): Likewise.
4177 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4178 variables with preprocessor constants.
4179 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4180 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4181 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4182
7fffbdff
BH
41832012-12-27 Bruno Haible <bruno@clisp.org>
4184
4185 [BZ #14317]
4186 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4187 only if needed.
4188
b76eb5f0
SP
41892012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4190
31a7fe5c
SP
4191 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4192 and use variable directly.
4193 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4194
b76eb5f0
SP
4195 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4196 MPONE.
4197 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4198 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4199 variable MPONE.
4200 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4201 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4202 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4203 include directive. Remove local variable MPONE.
4204 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4205 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4206 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4207
2c8bfe7d
DM
42082012-12-25 David S. Miller <davem@davemloft.net>
4209
4210 * version.h (RELEASE): Set to "development".
4211 (VERSION): Set to "2.17.90".
4212 * NEWS: Add 2.18 section.
4213
147d03b0
DM
42142012-12-21 David S. Miller <davem@davemloft.net>
4215
4216 * po/hr.po: Update from translation team.
4217
a8ebb2b9
AK
42182012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4219
4220 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4221
95b4f1b6
SE
42222012-12-19 Steve Ellcey <sellcey@mips.com>
4223
b2d94007 4224 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 4225
cedb2a90
MS
42262012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4227
4228 * manual/contrib.texi (Contributors): Spelling correction.
4229
bbf527d6
DM
42302012-12-15 David S. Miller <davem@davemloft.net>
4231
4232 * po/ru.po: Update from translation team.
4233
bc38c906
DM
42342012-12-13 David S. Miller <davem@davemloft.net>
4235
85429b1a
DM
4236 * NEWS: Mention IFUNC testsuite enhancements.
4237
d283e353
DM
4238 * po/pl.po: Update from translation team.
4239 * po/bg.po: Likewise.
4240
bc38c906
DM
4241 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4242 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4243
a181b0d7
DM
42442012-12-11 David S. Miller <davem@davemloft.net>
4245
4641d57e
DM
4246 * po/sv.po: Update from translation team.
4247
f7bc6495
DM
4248 * po/vi.po: Update from translation team.
4249
6fc9048f
DM
4250 * po/cs.po: Update from translation team.
4251
a181b0d7
DM
4252 * po/de.po: Update from translation team.
4253 * po/eo.po: Likewise.
4254 * po/nl.po: Likewise.
4255
f70bfe80
SP
42562012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4257
3c8b4190
SP
4258 [BZ #14246]
4259 * manual/argp.texi (Argp Helper Functions): Move node to follow
4260 Argp Parsing State.
4261
f70bfe80
SP
4262 [BZ #14872]
4263 * manual/conf.texi (Limits on File System Capacity): Mention if
4264 terminating null is included in the max size.
4265
188f0adf
AJ
42662012-12-10 Andreas Jaeger <aj@suse.de>
4267
4268 * po/cs.po: Update from translation team.
4269
56e7d3ad
SP
42702012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4271
4272 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4273 void pointer and cast to uintptr_t.
4274 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4275 path.
4276 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4277 * sysdeps/s390/s390-64/memset.S: Likewise.
4278
76f2d2ea 42792012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
4280
4281 [BZ #14833]
4282 * menual/message.texi (Message Translation): Fix typos.
4283 (Helper programs for gettext): Likewise.
4284
67cbf9a2
AS
42852012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4286
4287 [BZ #14898]
4288 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4289 Change to -1.
4290
682d0e9a
DM
42912012-12-07 David S. Miller <davem@davemloft.net>
4292
4293 * po/libc.pot: Update.
4294
573cd484
RH
42952012-12-07 Richard Henderson <rth@redhat.com>
4296
7e9da188 4297 [BZ #10114]
573cd484
RH
4298 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4299 normal/normal case to before the switch.
4300 (_FP_DIV): Likewise.
4301
e933a943
MF
43022012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4303 Mike Frysinger <vapier@gentoo.org>
4304
4305 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4306 check for __NR_fadvise64_64.
4307
82123268
CM
43082012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4309
4310 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4311 0, not just to plain "0" as a statement.
4312 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4313 with cw.
4314
d9814526
JM
43152012-12-06 Joseph Myers <joseph@codesourcery.com>
4316
4317 * NEWS: Use sourceware.org in Bugzilla URL.
4318
7728c574
SP
43192012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4320
f16946dd
SP
4321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4322 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4323
5704bbcb
SP
4324 * stdio-common/tst-put-error.c (do_test): Add newline to the
4325 padded test to ensure flush.
4326
17aa0516
JL
43272012-12-05 Jeff Law <law@redhat.com>
4328
4329 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4330
363313b5
JM
43312012-12-05 Joseph Myers <joseph@codesourcery.com>
4332
effbd42a
JM
4333 * README: Don't refer to ports add-on as distributed separately.
4334 Mention AArch64 in list of systems supported in the ports add-on.
4335
87600365
JM
4336 * LICENSES: Add more non-FSF copyright and license notices.
4337
a0d7066a
JM
4338 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4339 ((unused)).
4340
66ca5a5b
JM
4341 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4342
363313b5
JM
4343 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4344 10000 as width of padded output.
4345
b37984ad
JM
43462012-12-04 Joseph Myers <joseph@codesourcery.com>
4347
9003570a
JM
4348 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4349
b37984ad
JM
4350 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4351 variable LX with __attribute__ ((unused)).
4352 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4353 Likewise.
4354 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4355 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4356 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4357 with __attribute__ ((unused)).
4358
c8df52ec
DM
43592012-12-04 David S. Miller <davem@abraco.davemloft.net>
4360
4361 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4362
b3b099af
JM
43632012-12-04 Joseph Myers <joseph@codesourcery.com>
4364
c33aa6e3
JM
4365 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4366 (CFLAGS-nldbl-acos.c): New variable.
4367 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4368 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4369 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4370 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4371 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4372 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4373 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4374 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4375 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4376 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4377 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4378 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4379 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4380 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4381 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4382 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4383 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4384 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4385 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4386 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4387 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4388 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4389 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4390 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4391 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4392 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4393 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4394 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4395 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4396 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4397 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4398 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4399 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4400 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4401 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4402 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4403 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4404 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4405 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4406 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4407 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4408 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4409 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4410 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4411 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4412 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4413 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4414 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4415 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4416 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4417 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4418 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4419 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4420 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4421 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4422 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4423 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4424 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4425 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4426 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4427 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4428 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4429 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4430 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4431 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4432 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4433 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4434 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4435 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4436 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4437 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4438 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4439 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4440 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4441 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4442 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4443 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4444 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4445 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4446 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4447 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4448 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4449 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4450 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4451 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4452 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4453 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4454 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4455 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4456 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4457 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4458 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4459 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4460 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4461 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4462 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4463 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4464
20f0018d
JM
4465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4466 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4467
b3b099af
JM
4468 [BZ #14914]
4469 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4470 whole low double instead of just low 47 bits when splitting values
4471 into two parts.
4472
029264d1
AM
44732012-12-03 Allan McRae <allan@archlinux.org>
4474
4475 * manual/stdio.texi (Predefined Printf Handlers): Remove
4476 @hsep and @vsep usage.
4477
c9d6789e
MF
44782012-12-03 Mike Frysinger <vapier@gentoo.org>
4479
4480 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4481 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4482
4b7634a5
JL
44832012-12-03 Jeff Law <law@redhat.com>
4484
4485 * time/sys/time.h (settimeofday): Do not mark TV argument
4486 as __nonnull.
4487
eb6cbd24
MF
44882012-12-01 Mike Frysinger <vapier@gentoo.org>
4489
4490 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4491 when currently writing and seek to current position when not.
4492 * libio/Makefile (tests): Remove bug-fclose1.
4493 * libio/bug-fclose1.c: Delete.
4494
f638872a
JM
44952012-12-01 Joseph Myers <joseph@codesourcery.com>
4496
4497 * manual/arith.texi (feenableexcept): Fix typo.
4498 (fedisableexcept): Likewise.
4499
48085d14
RM
45002012-11-30 Roland McGrath <roland@hack.frob.com>
4501
4502 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4503 second, differently-typed declaration, rather than a cast.
4504
1a538b9f
SP
45052012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4506
4507 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4508 * include/rpc/svc.h: ... here.
4509
d07f2ff1 45102012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
4511
4512 [BZ #13013]
4513 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4514 depending n and resplen2 to catch cases where answer
4515 equals answerp2.
4516
c93ec1f0
CD
45172012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4518
4519 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4520 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4521
37db69de
MF
45222012-11-29 Mike Frysinger <vapier@gentoo.org>
4523
4524 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4525
e10c4e4f
RM
45262012-11-29 Roland McGrath <roland@hack.frob.com>
4527
4528 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4529
2af1b328
JL
45302012-11-28 Jeff Law <law@redhat.com>
4531
4532 [BZ #13761]
4533 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4534 dataset_temporary. Track alloca usage into alloca_used.
4535 If dataset is large allocate and release it via malloc/free.
4536
111db5b1
FW
45372012-06-04 Florian Weimer <fweimer@redhat.com>
4538
f06cc227 4539 [BZ #14197]
111db5b1
FW
4540 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4541
dd694abd
DM
45422012-11-28 David S. Miller <davem@davemloft.net>
4543
4544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4545
9984dd01
JM
45462012-11-28 Joseph Myers <joseph@codesourcery.com>
4547
4548 [BZ #14803]
4549 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4550 of pi/2 rounded to nearest to 64 bits.
4551 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4552 nearest to 64 bits.
4553 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4554 bits.
4555
14bc93a9
JL
45562012-11-28 Jeff Law <law@redhat.com>
4557 Martin Osvald <mosvald@redhat.com>
4558
4559 [BZ #14889]
4560 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4561 * sunrpc/svc.c: Include time.h.
4562 (__svc_accept_failed): New function.
4563 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4564 any reason other than EINTR, call __svc_accept_failed.
4565 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4566 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4567
e3c6aa3a
AS
45682012-11-28 Andreas Schwab <schwab@suse.de>
4569
4570 * scripts/abilist.awk: Also handle indirect functions in .opd
4571 section.
4572
1bead169
JM
45732012-11-28 Joseph Myers <joseph@codesourcery.com>
4574
4575 [BZ #13881]
4576 * sysdeps/x86/fpu/powl_helper.c: New file.
4577 * sysdeps/x86/fpu/Makefile: Likewise.
4578 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4579 (p3): New object.
4580 (__ieee754_powl): Use __powl_helper for finite arguments except
4581 integer exponents below 8.
4582 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4583 (p3): New object.
4584 (__ieee754_powl): Use __powl_helper for finite arguments except
4585 integer exponents below 8.
4586 * math/libm-test.inc (pow_test): Add more tests and enable some
4587 previously disabled tests.
4588 * sysdeps/i386/fpu/libm-test-ulps: Update.
4589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4590
0817d63d
SP
45912012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4592 Carlos O'Donell <carlos_odonell@mentor.com>
4593
4594 * nss/makedb.c (is_prime): Assert that input is odd and greater
4595 than 4. Note that fact in a comment too.
4596 (next_prime): Add 4 to input.
4597
de2fd463
SP
45982012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4599
4600 [BZ #11741]
4601 * libio/Makefile (tests): Add test case tst-fwrite-error.
4602 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4603 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4604 * libio/tst-fwrite-error.c: New test case.
4605
c515fb51
L
46062012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4607
4608 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4609 before casting to void *.
4610 * include/libc-internal.h (__pointer_type): New macro.
4611 (__integer_if_pointer_type_sub): Likewise.
4612 (__integer_if_pointer_type): Likewise.
4613 (cast_to_integer): Likewise.
4614 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4615 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4616 before casting to atomic64_t.
4617 (atomic_exchange_acq): Likewise.
4618 (__arch_exchange_and_add_body): Likewise.
4619 (__arch_add_body): Likewise.
4620 (atomic_add_negative): Likewise.
4621 (atomic_add_zero): Likewise.
4622
4cf77aa9
JM
46232012-11-26 Joseph Myers <joseph@codesourcery.com>
4624
4625 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4626 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4627 (add_fdes): Likewise.
4628 (linear_search_fdes): Likewise.
4629 (binary_search_unencoded_fdes): Likewise.
4630
d260b3b4
AS
46312012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4632
4633 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4634
67060746
AC
46352012-11-24 Adam Conrad <adconrad@0c3.net>
4636
4637 * configure.in: Autodetect C++ header directories.
4638 * configure: Regenerated.
4639
800938a1
MF
46402012-11-23 Mike Frysinger <vapier@gentoo.org>
4641
4642 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4643
4e6e34e6
AS
46442012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4645
4646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4647
7c7feb47
JM
46482012-11-22 Joseph Myers <joseph@codesourcery.com>
4649
7184dcdf
JM
4650 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4651 LDBL_MANT_DIG == 106]: Disable some tests.
4652 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4653 Likewise.
4654 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4655 Likewise.
4656
0a42601f
JM
4657 [BZ #14871]
4658 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4659 input for small inputs. Return +/- pi/2 for large inputs.
4660 * math/libm-test.inc (atan_test): Add more tests.
4661
79c9b9fe
JM
4662 * sysdeps/generic/unwind-dw2-fde-glibc.c
4663 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4664 __attribute__ ((unused)).
4665
c60d3bf2
JM
4666 [BZ #14645]
4667 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4668 x * y if x and y are nonzero and z is zero.
4669
ef1e0867
JM
4670 [BZ #14811]
4671 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4672 nonzero exponents with absolute value below 0x1p-117 to +/-
4673 0x1p-117.
4674
1468ded3
JM
4675 [BZ #14869]
4676 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4677 up arguments below 2**-450, not just those below 2**-500.
4678 * math/libm-test.inc (hypot_test): Add another test.
4679
8e27e3cc
JM
4680 [BZ #14868]
4681 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4682 Return a+b for ratio over 2**120, not 2**60.
4683 * math/libm-test.inc (hypot_test): Add another test.
4684
c9c0279b
JM
4685 * math/libm-test.inc (clog_test): Use
4686 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4687 (clog10_test): Likewise.
4688
7c7feb47
JM
4689 [BZ #6778]
4690 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4691
fff1530e
AS
46922012-11-22 Andreas Schwab <schwab@suse.de>
4693
4694 * sysdeps/i386/fpu/libm-test-ulps: Update.
4695
94558d30
PT
46962012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4697
4698 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4699 printf output with newline.
4700
7e1be741
L
47012012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4702
6bfea974
L
4703 [BZ #14865]
4704 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4705 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4706 -z nodlopen, -z initfirst and -z execstack support.
4707 * configure: Regenerated.
4708
7e1be741
L
4709 * elf/elf.h (DF_1_NODIRECT): New macro.
4710 (DF_1_IGNMULDEF): Likewise.
4711 (DF_1_NOKSYMS): Likewise.
4712 (DF_1_NOHDR): Likewise.
4713 (DF_1_EDITED): Likewise.
4714 (DF_1_NORELOC): Likewise.
4715 (DF_1_SYMINTPOSE): Likewise.
4716 (DF_1_GLOBAUDIT): Likewise.
4717 (DF_1_SINGLETON): Likewise.
4718 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4719 DT_1_SUPPORTED_MASK bits.
4720 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4721
105ce2ce
CD
47222012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4723
4724 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4725
123be9de
TS
47262012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4727
d072f3f7
TS
4728 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4729 macro.
4730
123be9de
TS
4731 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4732 (sendmmsg): Move declarations...
4733 * socket/sys/socket.h: ... here.
4734 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4735 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4736 include it from...
4737 * socket/recvmmsg.c: ... this new file.
4738 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4739 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4740 definition of __sendmmsg hidden.
4741 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4742 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4743 Move ENOSYS stub into and include it from...
4744 * socket/sendmmsg.c: ... this new file.
4745 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4746 (sysdep_routines): Move recvmmsg and sendmmsg...
4747 * socket/Makefile (routines): ... here.
4748 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4749 (GLIBC_PRIVATE): Add __sendmmsg.
4750 * include/sys/socket.h (__sendmmsg): Add declarations.
4751 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4752 sendmmsg.
4753
cf9a5d18
JM
47542012-11-20 Joseph Myers <joseph@codesourcery.com>
4755
4756 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4757 variable I1 with __attribute__ ((unused)).
4758 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4759
ecd4caf9
JM
47602012-11-19 Joseph Myers <joseph@codesourcery.com>
4761
be14d48f
JM
4762 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4763 DUMMY variables with __attribute__ ((unused)).
4764
ecd4caf9
JM
4765 * bits/byteswap.h: Include <bits/types.h>.
4766 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4767
986cab95
PT
47682012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4769
4770 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4771 string_t. Do not manually set errno.
4772 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4773 length with __strnlen. Make sure to both set errno and return it on
4774 failure.
4775
6d33cc9d
DM
47762012-11-19 David S. Miller <davem@davemloft.net>
4777
4778 With help from Joseph Myers.
4779 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4780 very large arguments properly.
4781 * math/libm-test.inc (atan_test): New tests.
4782 (atan2_test): New tests.
4783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4784 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4785
ee663277
JM
47862012-11-19 Joseph Myers <joseph@codesourcery.com>
4787
877f2d8e
JM
4788 [BZ #14856]
4789 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4790 Define to 3.
4791
116fc08a
JM
4792 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4793 [POSIX] (EADDRNOTAVAIL): Likewise.
4794 [POSIX] (EAFNOSUPPORT): Likewise.
4795 [POSIX] (EALREADY): Likewise.
4796 [POSIX] (ECONNABORTED): Likewise.
4797 [POSIX] (ECONNREFUSED): Likewise.
4798 [POSIX] (ECONNRESET): Likewise.
4799 [POSIX] (EDESTADDRREQ): Likewise.
4800 [POSIX] (EDQUOT): Likewise.
4801 [POSIX] (EHOSTUNREACH): Likewise.
4802 [POSIX] (EIDRM): Likewise.
4803 [POSIX] (EISCONN): Likewise.
4804 [POSIX] (ELOOP): Likewise.
4805 [POSIX] (EMULTIHOP): Likewise.
4806 [POSIX] (ENETDOWN): Likewise.
4807 [POSIX] (ENETUNREACH): Likewise.
4808 [POSIX] (ENOBUFS): Likewise.
4809 [POSIX] (ENODATA): Likewise.
4810 [POSIX] (ENOLINK): Likewise.
4811 [POSIX] (ENOMSG): Likewise.
4812 [POSIX] (ENOPROTOOPT): Likewise.
4813 [POSIX] (ENOSR): Likewise.
4814 [POSIX] (ENOSTR): Likewise.
4815 [POSIX] (ENOTCONN): Likewise.
4816 [POSIX] (ENOTSOCK): Likewise.
4817 [POSIX] (EOPNOTSUPP): Likewise.
4818 [POSIX] (EOVERFLOW): Likewise.
4819 [POSIX] (EPROTO): Likewise.
4820 [POSIX] (EPROTONOSUPPORT): Likewise.
4821 [POSIX] (EPROTOTYPE): Likewise.
4822 [POSIX] (ESTALE): Likewise.
4823 [POSIX] (ETIME): Likewise.
4824 [POSIX] (ETXTBSY): Likewise.
4825 [POSIX] (EWOULDBLOCK): Likewise.
4826 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4827 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4828 [POSIX] (SEEK_CUR): Likewise.
4829 [POSIX] (SEEK_END): Likewise.
4830 [POSIX || UNIX98] (mode_t): Do not require.
4831 [POSIX] (off_t): Likewise.
4832 [POSIX] (pid_t): Likewise.
4833 [POSIX] (sys/stat.h): Do not allow header.
4834 [POSIX] (unistd.h): Likewise.
4835 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
4836 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
4837 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
4838 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
4839 require.
4840 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
4841 sigevent): Specify elements.
4842 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
4843 entry.
4844 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
4845 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
4846
a483863f
JM
4847 * conform/data/cpio.h-data [POSIX]: Disable whole file.
4848 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
4849 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
4850 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
4851 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
4852 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
4853 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
4854 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
4855 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
4856 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
4857 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
4858 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
4859 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
4860 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
4861 Likewise.
4862 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
4863 Likewise.
4864 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
4865 Likewise.
4866 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
4867 Likewise.
4868 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
4869 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
4870 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
4871 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
4872 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
4873 Specify lower bound on value.
4874 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
4875 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
4876 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
4877 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
4878 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
4879 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
4880 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
4881 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
4882 value.
4883 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
4884 as optional.
4885 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
4886 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
4887 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
4888 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
4889 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
4890 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
4891 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
4892 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
4893 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
4894 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
4895 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
4896 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
4897 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
4898 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
4899 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
4900 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
4901 entry.
4902 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
4903 optional.
4904 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
4905 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
4906 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
4907 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
4908 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
4909 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
4910 Likewise.
4911 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
4912 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
4913 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
4914 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
4915 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
4916 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
4917 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
4918 as optional.
4919 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
4920 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
4921 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
4922 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
4923 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
4924 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
4925 specify as optional.
4926 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
4927 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
4928 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
4929 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
4930 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
4931 [XPG3] (NL_LANGMAX): Likewise.
4932 [POSIX || XPG3] (NL_MSGMAX): Likewise.
4933 [POSIX || XPG3] (NL_NMAX): Likewise.
4934 [POSIX || XPG3] (NL_SETMAX): Likewise.
4935 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
4936 [XPG3] (NZERO): Likewise.
4937 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
4938 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
4939 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
4940 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
4941 (REG_ERANGE): Expect.
4942 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
4943 optional-constant.
4944 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
4945 Use (void) in prototype.
4946 [POSIX] (*_t): Allow.
4947 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
4948 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
4949 (WRDE_BADVAL): Expect.
4950
5ba924e3
JM
4951 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
4952 expect.
4953 [XPG3 || XPG4] (O_RSYNC): Likewise.
4954 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
4955 Likewise.
4956 [XPG3 || XPG4] (pthread_sigmask): Likewise.
4957 [XPG3 || XPG4] (sigqueue): Likewise.
4958 [XPG3 || XPG4] (sigtimedwait): Likewise.
4959 [XPG3 || XPG4] (sigwaitinfo): Likewise.
4960 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
4961 [XPG3 || XPG4] (vsnprintf): Likewise.
4962 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
4963 Likewise.
4964 [XPG3 || XPG4] (blksize_t): Likewise.
4965 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
4966 Likewise.
4967 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
4968 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4969 [XPG3 || XPG4] (struct itimerspec): Likewise.
4970 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
4971 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
4972 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
4973 [XPG3 || XPG4] (clockid_t): Likewise.
4974 [XPG3 || XPG4] (timer_t): Likewise.
4975 [XPG3 || XPG4] (clock_getres): Likewise.
4976 [XPG3 || XPG4] (clock_gettime): Likewise.
4977 [XPG3 || XPG4] (clock_settime): Likewise.
4978 [XPG3 || XPG4] (nanosleep): Likewise.
4979 [XPG3 || XPG4] (timer_create): Likewise.
4980 [XPG3 || XPG4] (timer_delete): Likewise.
4981 [XPG3 || XPG4] (timer_gettime): Likewise.
4982 [XPG3 || XPG4] (timer_getoverrun): Likewise.
4983 [XPG3 || XPG4] (timer_settime): Likewise.
4984 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
4985 [XPG3 || XPG4] (getlogin_r): Likewise.
4986 [XPG3 || XPG4] (pread): Likewise.
4987 [XPG3 || XPG4] (pthread_atfork): Likewise.
4988 [XPG3 || XPG4] (pwrite): Likewise.
4989
ee663277
JM
4990 [BZ #14835]
4991 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
4992 <bits/siginfo.h>.
4993
942caa16
PT
49942012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4995
e19af380
PT
4996 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
4997 finalizing MALLSTREAM.
4998
942caa16
PT
4999 * sysdeps/mach/hurd/syncfs.c: New file.
5000
cfde9b46
SP
50012012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5002
5003 [BZ #14719]
5004 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5005 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5006 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5007 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5008 (_nss_dns_gethostbyname4_r): Likewise.
5009 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5010 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5011
f6da27e5
PH
50122012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5013
5014 [BZ #13763]
5015 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5016
6665d4a2
SM
50172012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5018
1f51ee92
SM
5019 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5020 * elf/cache.c (print_entry): Print ",AArch64" for
5021 FLAG_AARCH64_LIB64
5022
6665d4a2
SM
5023 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5024 * elf/cache.c (print_entry): Print ",hard-float" for
5025 FLAG_ARM_LIBHF.
5026
05b227bd
DM
50272012-11-18 David S. Miller <davem@davemloft.net>
5028
5029 With help from Joseph Myers.
5030 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5031 cutoff to 2**-13.
5032 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5033 cutoff to 2**-25.
5034 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5035 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5036 small.
5037 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5038 * math/libm-test.inc (y0_test): New tests.
5039 (y1_test): New tests.
5040 * sysdeps/i386/fpu/libm-test-ulps: Update.
5041 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5043
786b0b67
AS
50442012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5045
5046 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5047 64-bit targets.
5048 * configure: Regenerated.
5049
8e18b86d
DM
50502012-11-17 David S. Miller <davem@davemloft.net>
5051
5052 [BZ #14811]
5053 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5054 nonzero exponents with absolute value below 0x1p-128 to +/-
5055 0x1p-128.
5056
531f1ae0
JM
50572012-11-17 Joseph Myers <joseph@codesourcery.com>
5058
12df29e2
JM
5059 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5060
150dc1a0
JM
5061 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5062
531f1ae0
JM
5063 * posix/getconf-speclist.c: New file.
5064 * posix/posix-envs.def: Likewise.
5065 * posix/confstr.c (START_ENV_GROUP): New macro.
5066 (END_ENV_GROUP): Likewise.
5067 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5068 (KNOWN_PRESENT_ENV_STRING): Likewise.
5069 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5070 (UNKNOWN_ENVIRONMENT): Likewise.
5071 (confstr): Include posix-envs.def instead of handling
5072 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5073 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5074 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5075 (END_ENV_GROUP): Likewise.
5076 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5077 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5078 (UNKNOWN_ENVIRONMENT): Likewise.
5079 (__sysconf): Include posix-envs.def instead of handling associated
5080 cases directly here.
5081 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5082 preprocessing getconf-speclist.c rather than running getconf or
5083 generating empty file.
5084
a93f9cbc
PT
50852012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5086
5087 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5088
d64d9f87
AL
50892012-11-16 Andrej Lajovic <natrij@gmail.com>
5090
5091 [BZ #14672]
5092 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5093
447885eb
DM
50942012-11-16 David S. Miller <davem@davemloft.net>
5095
5096 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5097 smaller than LDBL_EPSILON/2.0L, just return xm1.
5098
bcbf9830
L
50992012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5100
5101 * elf/tst-array1.c (init): Set constructor priority to 1000.
5102 (fini): Set destructor priority to 1000.
5103 * elf/tst-array2dep.c: Likewise.
5104
2b766585
SP
51052012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5106
5107 [BZ #11741]
5108 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5109 (_IO_new_file_xsputn): Also return EOF if none of the input
5110 data was written when overflow failed.
5111 * libio/iopadn.c (_IO_padn): Likewise.
5112 * libio/iowpadn.c (_IO_wpadn): Likewise.
5113 * stdio-common/tst-put-error.c: Add copyright notice.
5114 (do_test): Add case for printing padded string.
5115 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5116 _IO_padn returned error.
5117 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5118 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5119 return EOF.
5120
b1848fde
SP
51212012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5122
5123 * libio/libioP.h: Add comment note that the references to C++
5124 bits are now obsolete.
5125
2fd89785
MS
51262012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5127
5128 * math/libm-test.inc (check_complex): Use asprintf.
5129
e3ea5409
JM
51302012-11-14 Joseph Myers <joseph@codesourcery.com>
5131
5132 * debug/pcprofiledump.c (print_version): Update copyright year.
5133 * malloc/memusagestat.c (print_version): Likewise.
5134
2e64d265
L
51352012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5136
5137 [BZ #14831]
5138 * elf/Makefile (tests): Add tst-audit8.
5139 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5140 ($(objpfx)tst-audit8.out): New target.
5141 (tst-audit8-ENV): New variable.
5142 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5143 audit if l_reloc_result is NULL.
5144 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5145 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5146 * elf/tst-audit8.c: New file.
5147
c485e4d2
MS
51482012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5149
5150 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5151 * misc/Makefile (CFLAGS-select.c): Define.
5152 * posix/Makefile (CFLAGS-pause.c): Define.
5153
3a0d900a
DM
51542012-11-13 David S. Miller <davem@davemloft.net>
5155
5156 * crypt/Makefile: Move test targets after toplevel Rules
5157 inclusion. Grab any necessary sysdep routines when linking.
5158 * crypt/md5.c (md5_process_block): Remove define, we will always
5159 name it __md5_process_block.
5160 (md5_finish_ctx): Update md5_process_block call.
5161 (md5_stream): Likewise.
5162 (md5_process_bytes): Likewise.
5163 (md5_process_block): Rename to __md5_process_block and move to ...
5164 * crypt/md5-block.c: ... here.
5165 * crypt/sha256.c (sha256_process_block): Move to ...
5166 * crypt/sha256-block.c: ... here.
5167 * crypt/sha512.c (sha512_process_block): Move to ...
5168 * crypt/sha512-block.c: ... here.
5169 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5170 path.
5171 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5172 * sysdeps/sparc/sparc64/multiarch/Makefile
5173 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5174 crypt subdir.
5175 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5176 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5177 multiarch changes.
5178 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5179 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5180 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5181 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5182 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5183 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5184 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5185 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5186 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5187 file.
5188 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5189 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5190 file.
5191 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5192
8ca89318
JM
51932012-11-13 Joseph Myers <joseph@codesourcery.com>
5194
e27d476a
JM
5195 * timezone/tzselect.ksh: Update from tzcode git revision
5196 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5197 * timezone/zdump.c: Likewise.
5198 * timezone/zic.c: Likewise.
5199 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5200 in TZVERSION setting, not $(PKGVERSION).
5201 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5202 REPORT_BUGS_TO settings.
5203
8ca89318
JM
5204 [BZ #14838]
5205 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5206 macro.
5207
47594329
MS
52082012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5209
5210 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5211 detection to immediately after _FP_ROUND().
5212 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5213 bits are 0.
5214
640ac3f1
DM
52152012-11-11 David S. Miller <davem@davemloft.net>
5216
5217 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5218 inttypes.h
5219 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5220 __close rather than their public counterparts.
5221
3d2577bb
JM
52222012-11-10 Joseph Myers <joseph@codesourcery.com>
5223
5224 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5225 file.
5226 [UNIX98] (sem_timedwait): Do not expect.
5227 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5228 [XPG4 || UNIX98] (sockatmark): Do not expect.
5229 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5230 (clock_getcpuclockid): Do not expect.
5231 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5232 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5233 Do not expect.
5234 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5235 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5236 [UNIX98] (vwscanf): Likewise.
5237 [UNIX98] (vswscanf): Likewise.
5238
fb1ae1ee
JM
52392012-11-09 Joseph Myers <joseph@codesourcery.com>
5240
9ec6f8bd
JM
5241 * timezone/version.h: Remove file.
5242 * timezone/README: Do not refer to version.h.
5243 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5244 $(objpfx)version.h.
5245 ($(objpfx)zdump.o): Likewise.
c3f81911 5246 ($(objpfx)version.h): New target.
9ec6f8bd 5247
0aa8f8a1
JM
5248 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5249 2012i.
5250 * timezone/README: Don't mention modification to tzselect.ksh.
5251 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5252 work on unmodified tzselect.ksh. Substitute version numbers in
5253 tzselect.ksh.
5254
4e87147f
JM
5255 * Makefile (format-me): Remove.
5256 (INSTALL): Adjust indentation. Use commands directly instead of
5257 using $(format-me).
5258
8b748aed
JM
5259 * aclocal.m4 (ACX_PKGVERSION): New macro.
5260 (ACX_BUGURL): Likewise.
5261 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5262 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5263 (REPORT_BUGS_TO): Likewise.
5264 * configure: Regenerated.
5265 * config.h.in (PKGVERSION): New macro.
5266 (REPORT_BUGS_TO): Likewise.
5267 * config.make.in (PKGVERSION): New variable.
5268 (PKGVERSION_TEXI): Likewise.
5269 (REPORT_BUGS_TO): Likewise.
5270 (REPORT_BUGS_TEXI): Likewise.
5271 * Makefile (format-me): Use -I$(common-objpfx)manual.
5272 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5273 ($(common-objpfx)manual/%): New target.
5274 (manual/%): Remove target.
5275 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5276 (print_version): Use PKGVERSION.
5277 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5278 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5279 and REPORT_BUGS_TO.
5280 ($(objpfx)xtrace): Likewise.
5281 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5282 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5283 (print_version): Use PKGVERSION.
5284 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5285 (do_version): Use PKGVERSION.
5286 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5287 REPORT_BUGS_TO.
5288 (common-ldd-rewrite): Likewise.
5289 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5290 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5291 (print_version): Use PKGVERSION.
5292 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5293 * elf/pldd.c (argp_program_bug_address): Remove variable.
5294 (more_help): New function.
5295 (argp): Use more_help.
5296 (print_version): Use PKGVERSION.
5297 * elf/sln.c (main): Use PKGVERSION.
5298 (usage): Use REPORT_BUGS_TO.
5299 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5300 (top level): Use PKGVERSION.
5301 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5302 (print_version): Use PKGVERSION.
5303 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5304 (print_version): Use PKGVERSION.
5305 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5306 (print_version): Use PKGVERSION.
5307 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5308 (print_version): Use PKGVERSION.
5309 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5310 (print_version): Use PKGVERSION.
5311 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5312 (print_version): Use PKGVERSION.
5313 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5314 and BUGURL.
5315 ($(objpfx)memusage): Likewise.
5316 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5317 (do_version): Use PKGVERSION.
5318 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5319 (print_version): Use PKGVERSION.
5320 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5321 ($PKGVERSION): New variable.
5322 ($REPORT_BUGS_TO): Likewise.
5323 (usage): Use $REPORT_BUGS_TO.
5324 (top level): Use $PKGVERSION.
5325 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5326 ($(objpfx)pkgvers.texi): New rule.
5327 ($(objpfx)stamp-pkgvers): Likewise.
5328 * manual/install.texi: Include pkgvers.texi.
5329 (--with-pkgversion): Document new configure option.
5330 (--with-bugurl): Likewise.
5331 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5332 than necessarily for this particular distribution. Use
5333 REPORT_BUGS_TO for where to report bugs.
5334 * INSTALL: Regenerated.
5335 * manual/libc.texinfo: Include pkgvers.texi.
5336 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5337 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5338 (print_version): Use PKGVERSION.
5339 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5340 (print_version): Use PKGVERSION.
5341 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5342 (print_version): Use PKGVERSION.
5343 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5344 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5345 macro.
5346 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5347 (print_version): Use PKGVERSION.
5348 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5349 (print_version): Use PKGVERSION.
5350 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5351 and PKGVERSION.
5352
92e4b6a9
JM
5353 * timezone/checktab.awk: Update from tzcode 2012i.
5354 * timezone/ialloc.c: Likewise.
5355 * timezone/private.h: Likewise.
5356 * timezone/scheck.c: Likewise.
5357 * timezone/tzfile.h: Likewise.
5358 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5359 (TZVERSION): Hardcode tzcode version number.
5360 * timezone/zdump.c: Update from tzcode 2012i.
5361 * timezone/zic.c: Likewise.
5362 * timezone/version.h: New file.
5363 * timezone/README: Describe version.h. Update upstream location.
5364
9bde902c
JM
5365 [BZ #14824]
5366 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5367 (mktemp): Enable declaration.
5368 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5369 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5370 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5371 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5372 Likewise.
5373 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5374 Likewise.
5375 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5376 Likewise.
5377 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5378 Likewise.
5379 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5380 Likewise.
5381 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5382 Likewise.
5383
fb1ae1ee
JM
5384 [BZ #14821]
5385 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5386 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5387 for copies of such integer values.
5388 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5389 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5390
2c1adbcb
AJ
53912012-11-09 Andreas Jaeger <aj@suse.de>
5392
5393 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5394 definitions and declarations that are provided by
5395 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5396
d0f8457e
AK
53972012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5398
3a235abb 5399 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
5400 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5401 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5402 definition.
5403
57241e26
MS
54042012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5405
5406 * elf/elf.h: Update comment before AArch64 relocations.
5407
60e8270d
DM
54082012-11-07 David S. Miller <davem@davemloft.net>
5409
5410 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5411 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5412 (__start_context): Declare.
5413 (__makecontext_ret): Delete.
5414 (__makecontext): Hook up __start_context instead of
5415 __makecontext_ret.
5416 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5417 (sysdep_routines): Add __start_context when in stdlib.
5418
0fbb0fbc
JM
54192012-11-07 Joseph Myers <joseph@codesourcery.com>
5420
5421 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5422 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5423 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5424 hardcoded "nm".
5425 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5426 (READELF): New variable. Use it instead of hardcoded "readelf".
5427
eb48db7e
L
54282012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5429
5430 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5431 * sysdeps/x86/Makefile: Here.
5432 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5433 * sysdeps/x86/tst-xmmymm.sh: This.
5434
05bcf62a
JM
54352012-11-07 Joseph Myers <joseph@codesourcery.com>
5436
c4b6cf53
JM
5437 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5438 expectations.
5439 [UNIX98] (pthread_barrier_t): Do not expect.
5440 [UNIX98] (pthread_barrierattr_t): Likewise.
5441 [UNIX98] (pthread_spinlock_t): Likewise.
5442 [UNIX98] (pthread_barrier_destroy): Likewise.
5443 [UNIX98] (pthread_barrier_init): Likewise.
5444 [UNIX98] (pthread_barrier_wait): Likewise.
5445 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5446 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5447 [UNIX98] (pthread_barrierattr_init): Likewise.
5448 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5449 [UNIX98] (pthread_getcpuclockid): Likewise.
5450 [UNIX98] (pthread_mutex_timedlock): Likewise.
5451 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5452 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5453 [UNIX98] (pthread_sigmask): Likewise.
5454 [UNIX98] (pthread_spin_destroy): Likewise.
5455 [UNIX98] (pthread_spin_init): Likewise.
5456 [UNIX98] (pthread_spin_lock): Likewise.
5457 [UNIX98] (pthread_spin_trylock): Likewise.
5458 [UNIX98] (pthread_spin_unlock): Likewise.
5459 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5460 Do not expect.
5461 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5462 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5463 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5464 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5465 [XPG3 || XPG4] (pthread_key_t): Likewise.
5466 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5467 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5468 [XPG3 || XPG4] (pthread_once_t): Likewise.
5469 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5470 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5471 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5472 [XPG3 || XPG4] (pthread_t): Likewise.
5473
cbe6e120
JM
5474 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5475 not expect.
5476 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5477
1b126443
JM
5478 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5479 Change function return type to int.
5480
b961a573
JM
5481 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5482 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5483 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5484 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5485 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5486 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5487 [!POSIX] (posix_madvise): Likewise.
5488 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5489 && !UNIX98].
5490 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5491 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5492 (mode_t): Likewise.
5493 (posix_mem_offset): Likewise.
5494 (posix_typed_mem_get_info): Likewise.
5495 (posix_typed_mem_open): Likewise.
5496
9e188909
JM
5497 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5498 Change condition to [XOPEN2K8].
5499
05bcf62a
JM
5500 * conform/conformtest.pl: Preprocess allow-header data with -x c
5501 instead of from stdin.
5502 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5503 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5504 [C99-based standards] (cerfc): Likewise.
5505 [C99-based standards] (cexp2): Likewise.
5506 [C99-based standards] (cexpm1): Likewise.
5507 [C99-based standards] (clog10): Likewise.
5508 [C99-based standards] (clog1p): Likewise.
5509 [C99-based standards] (clog2): Likewise.
5510 [C99-based standards] (clgamma): Likewise.
5511 [C99-based standards] (ctgamma): Likewise.
5512 [C99-based standards] (cerff): Likewise.
5513 [C99-based standards] (cerfcf): Likewise.
5514 [C99-based standards] (cexp2f): Likewise.
5515 [C99-based standards] (cexpm1f): Likewise.
5516 [C99-based standards] (clog10f): Likewise.
5517 [C99-based standards] (clog1pf): Likewise.
5518 [C99-based standards] (clog2f): Likewise.
5519 [C99-based standards] (clgammaf): Likewise.
5520 [C99-based standards] (ctgammaf): Likewise.
5521 [C99-based standards] (cerfl): Likewise.
5522 [C99-based standards] (cerfcl): Likewise.
5523 [C99-based standards] (cexp2l): Likewise.
5524 [C99-based standards] (cexpm1l): Likewise.
5525 [C99-based standards] (clog10l): Likewise.
5526 [C99-based standards] (clog1pl): Likewise.
5527 [C99-based standards] (clog2l): Likewise.
5528 [C99-based standards] (clgammal): Likewise.
5529 [C99-based standards] (ctgammal): Likewise.
5530 * conform/data/inttypes.h-data [C99-based standards]: Include
5531 stdint.h-data. Remove all expectations for stdint.h contents.
5532 [C99-based standards] (PRI*): Do not allow.
5533 [C99-based standards] (SCN*): Likewise.
5534 [C99-based standards] (*_t): Likewise.
5535 [C99-based-standards] (PRId8): Expect macro.
5536 [C99-based-standards] (PRIi8): Likewise.
5537 [C99-based-standards] (PRIo8): Likewise.
5538 [C99-based-standards] (PRIu8): Likewise.
5539 [C99-based-standards] (PRIx8): Likewise.
5540 [C99-based-standards] (PRIX8): Likewise.
5541 [C99-based-standards] (SCNd8): Likewise.
5542 [C99-based-standards] (SCNi8): Likewise.
5543 [C99-based-standards] (SCNo8): Likewise.
5544 [C99-based-standards] (SCNu8): Likewise.
5545 [C99-based-standards] (SCNx8): Likewise.
5546 [C99-based-standards] (PRIdLEAST8): Likewise.
5547 [C99-based-standards] (PRIiLEAST8): Likewise.
5548 [C99-based-standards] (PRIoLEAST8): Likewise.
5549 [C99-based-standards] (PRIuLEAST8): Likewise.
5550 [C99-based-standards] (PRIxLEAST8): Likewise.
5551 [C99-based-standards] (PRIXLEAST8): Likewise.
5552 [C99-based-standards] (SCNdLEAST8): Likewise.
5553 [C99-based-standards] (SCNiLEAST8): Likewise.
5554 [C99-based-standards] (SCNoLEAST8): Likewise.
5555 [C99-based-standards] (SCNuLEAST8): Likewise.
5556 [C99-based-standards] (SCNxLEAST8): Likewise.
5557 [C99-based-standards] (PRIdFAST8): Likewise.
5558 [C99-based-standards] (PRIiFAST8): Likewise.
5559 [C99-based-standards] (PRIoFAST8): Likewise.
5560 [C99-based-standards] (PRIuFAST8): Likewise.
5561 [C99-based-standards] (PRIxFAST8): Likewise.
5562 [C99-based-standards] (PRIXFAST8): Likewise.
5563 [C99-based-standards] (SCNdFAST8): Likewise.
5564 [C99-based-standards] (SCNiFAST8): Likewise.
5565 [C99-based-standards] (SCNoFAST8): Likewise.
5566 [C99-based-standards] (SCNuFAST8): Likewise.
5567 [C99-based-standards] (SCNxFAST8): Likewise.
5568 [C99-based-standards] (PRId16): Likewise.
5569 [C99-based-standards] (PRIi16): Likewise.
5570 [C99-based-standards] (PRIo16): Likewise.
5571 [C99-based-standards] (PRIu16): Likewise.
5572 [C99-based-standards] (PRIx16): Likewise.
5573 [C99-based-standards] (PRIX16): Likewise.
5574 [C99-based-standards] (SCNd16): Likewise.
5575 [C99-based-standards] (SCNi16): Likewise.
5576 [C99-based-standards] (SCNo16): Likewise.
5577 [C99-based-standards] (SCNu16): Likewise.
5578 [C99-based-standards] (SCNx16): Likewise.
5579 [C99-based-standards] (PRIdLEAST16): Likewise.
5580 [C99-based-standards] (PRIiLEAST16): Likewise.
5581 [C99-based-standards] (PRIoLEAST16): Likewise.
5582 [C99-based-standards] (PRIuLEAST16): Likewise.
5583 [C99-based-standards] (PRIxLEAST16): Likewise.
5584 [C99-based-standards] (PRIXLEAST16): Likewise.
5585 [C99-based-standards] (SCNdLEAST16): Likewise.
5586 [C99-based-standards] (SCNiLEAST16): Likewise.
5587 [C99-based-standards] (SCNoLEAST16): Likewise.
5588 [C99-based-standards] (SCNuLEAST16): Likewise.
5589 [C99-based-standards] (SCNxLEAST16): Likewise.
5590 [C99-based-standards] (PRIdFAST16): Likewise.
5591 [C99-based-standards] (PRIiFAST16): Likewise.
5592 [C99-based-standards] (PRIoFAST16): Likewise.
5593 [C99-based-standards] (PRIuFAST16): Likewise.
5594 [C99-based-standards] (PRIxFAST16): Likewise.
5595 [C99-based-standards] (PRIXFAST16): Likewise.
5596 [C99-based-standards] (SCNdFAST16): Likewise.
5597 [C99-based-standards] (SCNiFAST16): Likewise.
5598 [C99-based-standards] (SCNoFAST16): Likewise.
5599 [C99-based-standards] (SCNuFAST16): Likewise.
5600 [C99-based-standards] (SCNxFAST16): Likewise.
5601 [C99-based-standards] (PRId32): Likewise.
5602 [C99-based-standards] (PRIi32): Likewise.
5603 [C99-based-standards] (PRIo32): Likewise.
5604 [C99-based-standards] (PRIu32): Likewise.
5605 [C99-based-standards] (PRIx32): Likewise.
5606 [C99-based-standards] (PRIX32): Likewise.
5607 [C99-based-standards] (SCNd32): Likewise.
5608 [C99-based-standards] (SCNi32): Likewise.
5609 [C99-based-standards] (SCNo32): Likewise.
5610 [C99-based-standards] (SCNu32): Likewise.
5611 [C99-based-standards] (SCNx32): Likewise.
5612 [C99-based-standards] (PRIdLEAST32): Likewise.
5613 [C99-based-standards] (PRIiLEAST32): Likewise.
5614 [C99-based-standards] (PRIoLEAST32): Likewise.
5615 [C99-based-standards] (PRIuLEAST32): Likewise.
5616 [C99-based-standards] (PRIxLEAST32): Likewise.
5617 [C99-based-standards] (PRIXLEAST32): Likewise.
5618 [C99-based-standards] (SCNdLEAST32): Likewise.
5619 [C99-based-standards] (SCNiLEAST32): Likewise.
5620 [C99-based-standards] (SCNoLEAST32): Likewise.
5621 [C99-based-standards] (SCNuLEAST32): Likewise.
5622 [C99-based-standards] (SCNxLEAST32): Likewise.
5623 [C99-based-standards] (PRIdFAST32): Likewise.
5624 [C99-based-standards] (PRIiFAST32): Likewise.
5625 [C99-based-standards] (PRIoFAST32): Likewise.
5626 [C99-based-standards] (PRIuFAST32): Likewise.
5627 [C99-based-standards] (PRIxFAST32): Likewise.
5628 [C99-based-standards] (PRIXFAST32): Likewise.
5629 [C99-based-standards] (SCNdFAST32): Likewise.
5630 [C99-based-standards] (SCNiFAST32): Likewise.
5631 [C99-based-standards] (SCNoFAST32): Likewise.
5632 [C99-based-standards] (SCNuFAST32): Likewise.
5633 [C99-based-standards] (SCNxFAST32): Likewise.
5634 [C99-based-standards] (PRId64): Likewise.
5635 [C99-based-standards] (PRIi64): Likewise.
5636 [C99-based-standards] (PRIo64): Likewise.
5637 [C99-based-standards] (PRIu64): Likewise.
5638 [C99-based-standards] (PRIx64): Likewise.
5639 [C99-based-standards] (PRIX64): Likewise.
5640 [C99-based-standards] (SCNd64): Likewise.
5641 [C99-based-standards] (SCNi64): Likewise.
5642 [C99-based-standards] (SCNo64): Likewise.
5643 [C99-based-standards] (SCNu64): Likewise.
5644 [C99-based-standards] (SCNx64): Likewise.
5645 [C99-based-standards] (PRIdLEAST64): Likewise.
5646 [C99-based-standards] (PRIiLEAST64): Likewise.
5647 [C99-based-standards] (PRIoLEAST64): Likewise.
5648 [C99-based-standards] (PRIuLEAST64): Likewise.
5649 [C99-based-standards] (PRIxLEAST64): Likewise.
5650 [C99-based-standards] (PRIXLEAST64): Likewise.
5651 [C99-based-standards] (SCNdLEAST64): Likewise.
5652 [C99-based-standards] (SCNiLEAST64): Likewise.
5653 [C99-based-standards] (SCNoLEAST64): Likewise.
5654 [C99-based-standards] (SCNuLEAST64): Likewise.
5655 [C99-based-standards] (SCNxLEAST64): Likewise.
5656 [C99-based-standards] (PRIdFAST64): Likewise.
5657 [C99-based-standards] (PRIiFAST64): Likewise.
5658 [C99-based-standards] (PRIoFAST64): Likewise.
5659 [C99-based-standards] (PRIuFAST64): Likewise.
5660 [C99-based-standards] (PRIxFAST64): Likewise.
5661 [C99-based-standards] (PRIXFAST64): Likewise.
5662 [C99-based-standards] (SCNdFAST64): Likewise.
5663 [C99-based-standards] (SCNiFAST64): Likewise.
5664 [C99-based-standards] (SCNoFAST64): Likewise.
5665 [C99-based-standards] (SCNuFAST64): Likewise.
5666 [C99-based-standards] (SCNxFAST64): Likewise.
5667 [C99-based-standards] (PRIdMAX): Likewise.
5668 [C99-based-standards] (PRIiMAX): Likewise.
5669 [C99-based-standards] (PRIoMAX): Likewise.
5670 [C99-based-standards] (PRIuMAX): Likewise.
5671 [C99-based-standards] (PRIxMAX): Likewise.
5672 [C99-based-standards] (PRIXMAX): Likewise.
5673 [C99-based-standards] (SCNdMAX): Likewise.
5674 [C99-based-standards] (SCNiMAX): Likewise.
5675 [C99-based-standards] (SCNoMAX): Likewise.
5676 [C99-based-standards] (SCNuMAX): Likewise.
5677 [C99-based-standards] (SCNxMAX): Likewise.
5678 [C99-based-standards] (PRIdPTR): Likewise.
5679 [C99-based-standards] (PRIiPTR): Likewise.
5680 [C99-based-standards] (PRIoPTR): Likewise.
5681 [C99-based-standards] (PRIuPTR): Likewise.
5682 [C99-based-standards] (PRIxPTR): Likewise.
5683 [C99-based-standards] (PRIXPTR): Likewise.
5684 [C99-based-standards] (SCNdPTR): Likewise.
5685 [C99-based-standards] (SCNiPTR): Likewise.
5686 [C99-based-standards] (SCNoPTR): Likewise.
5687 [C99-based-standards] (SCNuPTR): Likewise.
5688 [C99-based-standards] (SCNxPTR): Likewise.
5689 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5690 allow.
5691 * conform/data/stdint.h-data: Update comments to clarify
5692 requirements.
5693 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5694 type.
5695 [C99-based standards] (INT8_MAX): Likewise.
5696 [C99-based standards] (INT16_MIN): Likewise.
5697 [C99-based standards] (INT16_MAX): Likewise.
5698 [C99-based standards] (INT32_MIN): Likewise.
5699 [C99-based standards] (INT32_MAX): Likewise.
5700 [C99-based standards] (INT64_MIN): Likewise.
5701 [C99-based standards] (INT64_MAX): Likewise.
5702 [C99-based standards] (UINT8_MAX): Likewise.
5703 [C99-based standards] (UINT16_MAX): Likewise.
5704 [C99-based standards] (UINT32_MAX): Likewise.
5705 [C99-based standards] (UINT64_MAX): Likewise.
5706 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5707 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5708 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5709 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5710 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5711 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5712 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5713 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5714 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5715 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5716 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5717 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5718 [C99-based standards] (INT_FAST8_MIN): Likewise.
5719 [C99-based standards] (INT_FAST8_MAX): Likewise.
5720 [C99-based standards] (INT_FAST16_MIN): Likewise.
5721 [C99-based standards] (INT_FAST16_MAX): Likewise.
5722 [C99-based standards] (INT_FAST32_MIN): Likewise.
5723 [C99-based standards] (INT_FAST32_MAX): Likewise.
5724 [C99-based standards] (INT_FAST64_MIN): Likewise.
5725 [C99-based standards] (INT_FAST64_MAX): Likewise.
5726 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5727 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5728 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5729 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5730 [C99-based standards] (INTPTR_MIN): Likewise.
5731 [C99-based standards] (INTPTR_MAX): Likewise.
5732 [C99-based standards] (UINTPTR_MAX): Likewise.
5733 [C99-based standards] (INTMAX_MIN): Likewise.
5734 [C99-based standards] (INTMAX_MAX): Likewise.
5735 [C99-based standards] (UINTMAX_MAX): Likewise.
5736 [C99-based standards] (PTRDIFF_MIN): Likewise.
5737 [C99-based standards] (PTRDIFF_MAX): Likewise.
5738 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5739 [C99-based standards] (SIZE_MAX): Likewise.
5740 [C99-based standards] (WCHAR_MAX): Likewise.
5741 [C99-based standards] (WINT_MAX): Likewise.
5742 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5743 constraint on value.
5744 [C99-based standards] (WCHAR_MIN): Likewise.
5745 [C99-based standards] (WINT_MIN): Likewise.
5746 [C99-based standards] (*_t): Allow.
5747 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5748 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5749 Include math.h-data and complex.h-data. Remove all expectations
5750 of math.h and complex.h contents.
5751 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5752 at end of line.
5753 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5754 (struct tm): Expect tag.
5755 [C99-based-standards] (wcstof): Expect function.
5756 [C99-based-standards] (wcstold): Likewise.
5757 [C99-based-standards] (wcstoll): Likewise.
5758 [C99-based-standards] (wcstoull): Likewise.
5759 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5760 macro-int-constant. Specify type.
5761 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5762 constraint on value.
5763 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5764 Specify type.
5765 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5766 Specify value.
5767 [ISO C standards]: Do not allow headers.
5768 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5769 wcs[abcdefghijklmnopqrstuvwxyz]*.
5770 [ISO C standards] (*_t): Do not allow.
5771 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5772 Expect function.
5773 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5774 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5775 Specify type.
5776 [ISO C standards]: Do not allow headers.
5777 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5778 is[abcdefghijklmnopqrstuvwxyz]*.
5779 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5780 to[abcdefghijklmnopqrstuvwxyz]*.
5781 [ISO C standards] (*_t): Do not allow.
5782 * conform/data/stdalign.h-data: New file.
5783 * conform/data/stdbool.h-data: Likewise.
5784 * conform/data/stdnoreturn.h-data: Likewise.
5785
7514feb8
RM
57862012-11-07 Roland McGrath <roland@hack.frob.com>
5787
5788 [BZ #14815]
5789 * manual/filesys.texi (Directory Entries): Typo fix.
5790 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5791
19b2ecfc
MS
57922012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5793
5794 * elf/elf.h (EM_AARCH64): New macro.
5795 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5796 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5797 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5798 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5799 (R_AARCH64_TLSDESC): Likewise.
5800 (NT_ARM_TLS): Likewise.
5801 (NT_ARM_HW_BREAK): Likewise.
5802 (NT_ARM_HW_WATCH): Likewise.
5803
60e235ee
JM
58042012-11-07 Joseph Myers <joseph@codesourcery.com>
5805
5806 [BZ #14811]
5807 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5808 (__ieee754_powl): Saturate nonzero exponents with absolute value
5809 below 0x1p-79 to +/- 0x1p-79.
5810 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5811 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5812 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5813 nonzero exponents with absolute value below 0x1p-32 to +/-
5814 0x1p-32.
5815 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5816 (__ieee754_powl): Saturate nonzero exponents with absolute value
5817 below 0x1p-79 to +/- 0x1p-79.
5818 * math/libm-test.inc (pow_test): Add more tests.
5819
0ab234b7
AK
58202012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5821
5822 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5823 _dl_s390_cap_flags with kernel. Increase string length.
5824 (_dl_s390_platforms): Add z196 and zEC12.
5825
45832f74
JM
58262012-11-07 Joseph Myers <joseph@codesourcery.com>
5827
5828 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5829 Change XOPEN21K to XOPEN2K.
5830
19218757
MK
58312012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
5832
5833 * string/memmove.c: Use memcpy when possible.
5834
c5f45721
AJ
58352012-11-06 Andreas Jaeger <aj@suse.de>
5836
5837 * po/eo.po: Update from translation team.
5838
82477c28
JM
58392012-11-06 Joseph Myers <joseph@codesourcery.com>
5840
5841 [BZ #14793]
5842 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
5843 exponent and small x and y exponents, scale x or y up. Increase
5844 by 2 the exponent used in scaling up.
5845 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5846 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5847 * math/libm-test.inc (fma_test): Add more tests.
5848 (fma_test_towardzero): Likewise.
5849 (fma_test_downward): Likewise.
5850 (fma_test_upward): Likewise.
5851
99252c8c
JM
58522012-11-05 Joseph Myers <joseph@codesourcery.com>
5853
acfa885f
JM
5854 [BZ #14805]
5855 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
5856 fenv_t *.
5857
99252c8c
JM
5858 [BZ #14801]
5859 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
5860 namespace for names of struct fields.
5861 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
5862 fenv_t fields.
5863 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5864 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
5865
d6d98dea
ST
58662012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
5867
5868 [BZ #3665]
5869 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
5870
e10bb107
TS
58712012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5872
5873 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
5874 PTR_DEMANGLE.
5875
5876 [BZ #5246]
5877 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
5878 PTR_DEMANGLE.
5879
a0c2940d
JM
58802012-11-04 Joseph Myers <joseph@codesourcery.com>
5881
5882 [BZ #14797]
5883 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
5884 definitely overflow as x * y not x * y + z.
5885 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5886 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5887 * math/libm-test.inc (fma_test): Add more tests.
5888 (fma_test_towardzero): Likewise.
5889 (fma_test_downward): Likewise.
5890 (fma_test_upward): Likewise.
5891
b830319d
TS
58922012-11-04 Thomas Schwinge <thomas@codesourcery.com>
5893
5894 [BZ #157]
5895
5896 * include/stub-tag.h: Remove file.
5897 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
5898 '#include' of it.
5899 * manual/maint.texi (Porting): Don't reference it.
5900 * Makerules ($(objpfx)stubs): Likewise.
5901 * dirent/closedir.c: Don't include <stub-tag.h>.
5902 * dirent/dirfd.c: Likewise.
5903 * dirent/fdopendir.c: Likewise.
5904 * dirent/getdents.c: Likewise.
5905 * dirent/getdents64.c: Likewise.
5906 * dirent/opendir.c: Likewise.
5907 * dirent/readdir.c: Likewise.
5908 * dirent/readdir64.c: Likewise.
5909 * dirent/readdir64_r.c: Likewise.
5910 * dirent/readdir_r.c: Likewise.
5911 * dirent/rewinddir.c: Likewise.
5912 * dirent/seekdir.c: Likewise.
5913 * dirent/telldir.c: Likewise.
5914 * gmon/profil.c: Likewise.
5915 * grp/setgroups.c: Likewise.
5916 * inet/if_index.c: Likewise.
5917 * io/access.c: Likewise.
5918 * io/chdir.c: Likewise.
5919 * io/chmod.c: Likewise.
5920 * io/chown.c: Likewise.
5921 * io/close.c: Likewise.
5922 * io/dup.c: Likewise.
5923 * io/dup2.c: Likewise.
5924 * io/dup3.c: Likewise.
5925 * io/euidaccess.c: Likewise.
5926 * io/faccessat.c: Likewise.
5927 * io/fchdir.c: Likewise.
5928 * io/fchmod.c: Likewise.
5929 * io/fchmodat.c: Likewise.
5930 * io/fchown.c: Likewise.
5931 * io/fchownat.c: Likewise.
5932 * io/fcntl.c: Likewise.
5933 * io/flock.c: Likewise.
5934 * io/fstatfs.c: Likewise.
5935 * io/fstatfs64.c: Likewise.
5936 * io/fstatvfs.c: Likewise.
5937 * io/fstatvfs64.c: Likewise.
5938 * io/futimens.c: Likewise.
5939 * io/fxstat.c: Likewise.
5940 * io/fxstat64.c: Likewise.
5941 * io/fxstatat.c: Likewise.
5942 * io/fxstatat64.c: Likewise.
5943 * io/getcwd.c: Likewise.
5944 * io/isatty.c: Likewise.
5945 * io/lchmod.c: Likewise.
5946 * io/lchown.c: Likewise.
5947 * io/link.c: Likewise.
5948 * io/linkat.c: Likewise.
5949 * io/lseek.c: Likewise.
5950 * io/lseek64.c: Likewise.
5951 * io/lxstat64.c: Likewise.
5952 * io/mkdir.c: Likewise.
5953 * io/mkdirat.c: Likewise.
5954 * io/mkfifo.c: Likewise.
5955 * io/mkfifoat.c: Likewise.
5956 * io/open.c: Likewise.
5957 * io/open64.c: Likewise.
5958 * io/openat.c: Likewise.
5959 * io/openat64.c: Likewise.
5960 * io/pipe.c: Likewise.
5961 * io/pipe2.c: Likewise.
5962 * io/poll.c: Likewise.
5963 * io/posix_fadvise.c: Likewise.
5964 * io/posix_fadvise64.c: Likewise.
5965 * io/posix_fallocate.c: Likewise.
5966 * io/posix_fallocate64.c: Likewise.
5967 * io/read.c: Likewise.
5968 * io/readlink.c: Likewise.
5969 * io/readlinkat.c: Likewise.
5970 * io/rmdir.c: Likewise.
5971 * io/sendfile.c: Likewise.
5972 * io/sendfile64.c: Likewise.
5973 * io/statfs.c: Likewise.
5974 * io/statfs64.c: Likewise.
5975 * io/statvfs.c: Likewise.
5976 * io/statvfs64.c: Likewise.
5977 * io/symlink.c: Likewise.
5978 * io/symlinkat.c: Likewise.
5979 * io/ttyname.c: Likewise.
5980 * io/ttyname_r.c: Likewise.
5981 * io/umask.c: Likewise.
5982 * io/unlink.c: Likewise.
5983 * io/unlinkat.c: Likewise.
5984 * io/utime.c: Likewise.
5985 * io/utimensat.c: Likewise.
5986 * io/write.c: Likewise.
5987 * io/xmknod.c: Likewise.
5988 * io/xmknodat.c: Likewise.
5989 * io/xstat.c: Likewise.
5990 * io/xstat64.c: Likewise.
5991 * login/getpt.c: Likewise.
5992 * login/grantpt.c: Likewise.
5993 * login/unlockpt.c: Likewise.
5994 * math/e_acoshl.c: Likewise.
5995 * math/e_acosl.c: Likewise.
5996 * math/e_asinl.c: Likewise.
5997 * math/e_atan2l.c: Likewise.
5998 * math/e_atanhl.c: Likewise.
5999 * math/e_coshl.c: Likewise.
6000 * math/e_expl.c: Likewise.
6001 * math/e_fmodl.c: Likewise.
6002 * math/e_gammal_r.c: Likewise.
6003 * math/e_hypotl.c: Likewise.
6004 * math/e_j0l.c: Likewise.
6005 * math/e_j1l.c: Likewise.
6006 * math/e_jnl.c: Likewise.
6007 * math/e_lgammal_r.c: Likewise.
6008 * math/e_log10l.c: Likewise.
6009 * math/e_log2l.c: Likewise.
6010 * math/e_logl.c: Likewise.
6011 * math/e_powl.c: Likewise.
6012 * math/e_rem_pio2l.c: Likewise.
6013 * math/e_sinhl.c: Likewise.
6014 * math/e_sqrtl.c: Likewise.
6015 * math/fclrexcpt.c: Likewise.
6016 * math/fedisblxcpt.c: Likewise.
6017 * math/feenablxcpt.c: Likewise.
6018 * math/fegetenv.c: Likewise.
6019 * math/fegetexcept.c: Likewise.
6020 * math/fegetround.c: Likewise.
6021 * math/feholdexcpt.c: Likewise.
6022 * math/fesetenv.c: Likewise.
6023 * math/fesetround.c: Likewise.
6024 * math/feupdateenv.c: Likewise.
6025 * math/fgetexcptflg.c: Likewise.
6026 * math/fraiseexcpt.c: Likewise.
6027 * math/fsetexcptflg.c: Likewise.
6028 * math/ftestexcept.c: Likewise.
6029 * math/k_cosl.c: Likewise.
6030 * math/k_rem_pio2l.c: Likewise.
6031 * math/k_sinl.c: Likewise.
6032 * math/k_tanl.c: Likewise.
6033 * math/s_asinhl.c: Likewise.
6034 * math/s_atanl.c: Likewise.
6035 * math/s_cbrtl.c: Likewise.
6036 * math/s_erfl.c: Likewise.
6037 * math/s_expm1l.c: Likewise.
6038 * math/s_log1pl.c: Likewise.
6039 * math/s_tanhl.c: Likewise.
6040 * misc/acct.c: Likewise.
6041 * misc/brk.c: Likewise.
6042 * misc/chflags.c: Likewise.
6043 * misc/chroot.c: Likewise.
6044 * misc/fchflags.c: Likewise.
6045 * misc/fgetxattr.c: Likewise.
6046 * misc/flistxattr.c: Likewise.
6047 * misc/fremovexattr.c: Likewise.
6048 * misc/fsetxattr.c: Likewise.
6049 * misc/fsync.c: Likewise.
6050 * misc/ftruncate.c: Likewise.
6051 * misc/futimes.c: Likewise.
6052 * misc/futimesat.c: Likewise.
6053 * misc/getdomain.c: Likewise.
6054 * misc/getdtsz.c: Likewise.
6055 * misc/gethostid.c: Likewise.
6056 * misc/gethostname.c: Likewise.
6057 * misc/getloadavg.c: Likewise.
6058 * misc/getpagesize.c: Likewise.
6059 * misc/getsysstats.c: Likewise.
6060 * misc/getxattr.c: Likewise.
6061 * misc/gtty.c: Likewise.
6062 * misc/ioctl.c: Likewise.
6063 * misc/lgetxattr.c: Likewise.
6064 * misc/listxattr.c: Likewise.
6065 * misc/llistxattr.c: Likewise.
6066 * misc/lremovexattr.c: Likewise.
6067 * misc/lsetxattr.c: Likewise.
6068 * misc/lutimes.c: Likewise.
6069 * misc/madvise.c: Likewise.
6070 * misc/mincore.c: Likewise.
6071 * misc/mlock.c: Likewise.
6072 * misc/mlockall.c: Likewise.
6073 * misc/mmap.c: Likewise.
6074 * misc/mprotect.c: Likewise.
6075 * misc/msync.c: Likewise.
6076 * misc/munlock.c: Likewise.
6077 * misc/munlockall.c: Likewise.
6078 * misc/munmap.c: Likewise.
6079 * misc/preadv.c: Likewise.
6080 * misc/preadv64.c: Likewise.
6081 * misc/ptrace.c: Likewise.
6082 * misc/pwritev.c: Likewise.
6083 * misc/pwritev64.c: Likewise.
6084 * misc/readv.c: Likewise.
6085 * misc/reboot.c: Likewise.
6086 * misc/remap_file_pages.c: Likewise.
6087 * misc/removexattr.c: Likewise.
6088 * misc/revoke.c: Likewise.
6089 * misc/select.c: Likewise.
6090 * misc/setdomain.c: Likewise.
6091 * misc/setegid.c: Likewise.
6092 * misc/seteuid.c: Likewise.
6093 * misc/sethostid.c: Likewise.
6094 * misc/sethostname.c: Likewise.
6095 * misc/setregid.c: Likewise.
6096 * misc/setreuid.c: Likewise.
6097 * misc/setxattr.c: Likewise.
6098 * misc/sstk.c: Likewise.
6099 * misc/stty.c: Likewise.
6100 * misc/swapoff.c: Likewise.
6101 * misc/swapon.c: Likewise.
6102 * misc/sync.c: Likewise.
6103 * misc/syncfs.c: Likewise.
6104 * misc/syscall.c: Likewise.
6105 * misc/truncate.c: Likewise.
6106 * misc/ualarm.c: Likewise.
6107 * misc/usleep.c: Likewise.
6108 * misc/ustat.c: Likewise.
6109 * misc/utimes.c: Likewise.
6110 * misc/vhangup.c: Likewise.
6111 * misc/writev.c: Likewise.
6112 * posix/_exit.c: Likewise.
6113 * posix/alarm.c: Likewise.
6114 * posix/execve.c: Likewise.
6115 * posix/fexecve.c: Likewise.
6116 * posix/fork.c: Likewise.
6117 * posix/fpathconf.c: Likewise.
6118 * posix/getaddrinfo.c: Likewise.
6119 * posix/getegid.c: Likewise.
6120 * posix/geteuid.c: Likewise.
6121 * posix/getgid.c: Likewise.
6122 * posix/getgroups.c: Likewise.
6123 * posix/getlogin.c: Likewise.
6124 * posix/getlogin_r.c: Likewise.
6125 * posix/getpgid.c: Likewise.
6126 * posix/getpid.c: Likewise.
6127 * posix/getppid.c: Likewise.
6128 * posix/getresgid.c: Likewise.
6129 * posix/getresuid.c: Likewise.
6130 * posix/getsid.c: Likewise.
6131 * posix/getuid.c: Likewise.
6132 * posix/glob64.c: Likewise.
6133 * posix/nanosleep.c: Likewise.
6134 * posix/pathconf.c: Likewise.
6135 * posix/pause.c: Likewise.
6136 * posix/posix_madvise.c: Likewise.
6137 * posix/pread.c: Likewise.
6138 * posix/pread64.c: Likewise.
6139 * posix/pwrite.c: Likewise.
6140 * posix/pwrite64.c: Likewise.
6141 * posix/sched_getaffinity.c: Likewise.
6142 * posix/sched_getp.c: Likewise.
6143 * posix/sched_gets.c: Likewise.
6144 * posix/sched_primax.c: Likewise.
6145 * posix/sched_primin.c: Likewise.
6146 * posix/sched_rr_gi.c: Likewise.
6147 * posix/sched_setaffinity.c: Likewise.
6148 * posix/sched_setp.c: Likewise.
6149 * posix/sched_sets.c: Likewise.
6150 * posix/sched_yield.c: Likewise.
6151 * posix/setgid.c: Likewise.
6152 * posix/setlogin.c: Likewise.
6153 * posix/setpgid.c: Likewise.
6154 * posix/setresgid.c: Likewise.
6155 * posix/setresuid.c: Likewise.
6156 * posix/setsid.c: Likewise.
6157 * posix/setuid.c: Likewise.
6158 * posix/sleep.c: Likewise.
6159 * posix/spawni.c: Likewise.
6160 * posix/sysconf.c: Likewise.
6161 * posix/times.c: Likewise.
6162 * posix/wait.c: Likewise.
6163 * posix/wait3.c: Likewise.
6164 * posix/wait4.c: Likewise.
6165 * posix/waitpid.c: Likewise.
6166 * resolv/gai_sigqueue.c: Likewise.
6167 * resource/getpriority.c: Likewise.
6168 * resource/getrlimit.c: Likewise.
6169 * resource/getrusage.c: Likewise.
6170 * resource/nice.c: Likewise.
6171 * resource/setpriority.c: Likewise.
6172 * resource/setrlimit.c: Likewise.
6173 * resource/ulimit.c: Likewise.
6174 * rt/aio_cancel.c: Likewise.
6175 * rt/aio_fsync.c: Likewise.
6176 * rt/aio_read.c: Likewise.
6177 * rt/aio_sigqueue.c: Likewise.
6178 * rt/aio_suspend.c: Likewise.
6179 * rt/aio_write.c: Likewise.
6180 * rt/clock_getres.c: Likewise.
6181 * rt/clock_gettime.c: Likewise.
6182 * rt/clock_nanosleep.c: Likewise.
6183 * rt/clock_settime.c: Likewise.
6184 * rt/lio_listio.c: Likewise.
6185 * rt/mq_close.c: Likewise.
6186 * rt/mq_getattr.c: Likewise.
6187 * rt/mq_notify.c: Likewise.
6188 * rt/mq_open.c: Likewise.
6189 * rt/mq_receive.c: Likewise.
6190 * rt/mq_send.c: Likewise.
6191 * rt/mq_setattr.c: Likewise.
6192 * rt/mq_timedreceive.c: Likewise.
6193 * rt/mq_timedsend.c: Likewise.
6194 * rt/mq_unlink.c: Likewise.
6195 * rt/shm_open.c: Likewise.
6196 * rt/shm_unlink.c: Likewise.
6197 * rt/timer_create.c: Likewise.
6198 * rt/timer_delete.c: Likewise.
6199 * rt/timer_getoverr.c: Likewise.
6200 * rt/timer_gettime.c: Likewise.
6201 * rt/timer_settime.c: Likewise.
6202 * setjmp/__longjmp.c: Likewise.
6203 * setjmp/setjmp.c: Likewise.
6204 * signal/kill.c: Likewise.
6205 * signal/killpg.c: Likewise.
6206 * signal/raise.c: Likewise.
6207 * signal/sigaction.c: Likewise.
6208 * signal/sigaltstack.c: Likewise.
6209 * signal/sigblock.c: Likewise.
6210 * signal/sigignore.c: Likewise.
6211 * signal/sigintr.c: Likewise.
6212 * signal/signal.c: Likewise.
6213 * signal/sigpause.c: Likewise.
6214 * signal/sigpending.c: Likewise.
6215 * signal/sigqueue.c: Likewise.
6216 * signal/sigreturn.c: Likewise.
6217 * signal/sigset.c: Likewise.
6218 * signal/sigsetmask.c: Likewise.
6219 * signal/sigstack.c: Likewise.
6220 * signal/sigsuspend.c: Likewise.
6221 * signal/sigtimedwait.c: Likewise.
6222 * signal/sigvec.c: Likewise.
6223 * signal/sigwait.c: Likewise.
6224 * signal/sigwaitinfo.c: Likewise.
6225 * signal/sysv_signal.c: Likewise.
6226 * socket/accept.c: Likewise.
6227 * socket/accept4.c: Likewise.
6228 * socket/bind.c: Likewise.
6229 * socket/connect.c: Likewise.
6230 * socket/getpeername.c: Likewise.
6231 * socket/getsockname.c: Likewise.
6232 * socket/getsockopt.c: Likewise.
6233 * socket/isfdtype.c: Likewise.
6234 * socket/listen.c: Likewise.
6235 * socket/recv.c: Likewise.
6236 * socket/recvfrom.c: Likewise.
6237 * socket/recvmsg.c: Likewise.
6238 * socket/send.c: Likewise.
6239 * socket/sendmsg.c: Likewise.
6240 * socket/sendto.c: Likewise.
6241 * socket/setsockopt.c: Likewise.
6242 * socket/shutdown.c: Likewise.
6243 * socket/sockatmark.c: Likewise.
6244 * socket/socket.c: Likewise.
6245 * socket/socketpair.c: Likewise.
6246 * stdio-common/ctermid.c: Likewise.
6247 * stdio-common/cuserid.c: Likewise.
6248 * stdio-common/remove.c: Likewise.
6249 * stdio-common/rename.c: Likewise.
6250 * stdio-common/renameat.c: Likewise.
6251 * stdio-common/tempname.c: Likewise.
6252 * stdlib/getcontext.c: Likewise.
6253 * stdlib/makecontext.c: Likewise.
6254 * stdlib/setcontext.c: Likewise.
6255 * stdlib/swapcontext.c: Likewise.
6256 * stdlib/system.c: Likewise.
6257 * streams/fattach.c: Likewise.
6258 * streams/fdetach.c: Likewise.
6259 * streams/getmsg.c: Likewise.
6260 * streams/getpmsg.c: Likewise.
6261 * streams/putmsg.c: Likewise.
6262 * streams/putpmsg.c: Likewise.
6263 * sysdeps/unix/bsd/getpt.c: Likewise.
6264 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6265 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6266 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6268 Likewise.
6269 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6270 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6271 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6272 * sysvipc/msgctl.c: Likewise.
6273 * sysvipc/msgget.c: Likewise.
6274 * sysvipc/msgrcv.c: Likewise.
6275 * sysvipc/msgsnd.c: Likewise.
6276 * sysvipc/semctl.c: Likewise.
6277 * sysvipc/semget.c: Likewise.
6278 * sysvipc/semop.c: Likewise.
6279 * sysvipc/semtimedop.c: Likewise.
6280 * sysvipc/shmat.c: Likewise.
6281 * sysvipc/shmctl.c: Likewise.
6282 * sysvipc/shmdt.c: Likewise.
6283 * sysvipc/shmget.c: Likewise.
6284 * termios/tcdrain.c: Likewise.
6285 * termios/tcflow.c: Likewise.
6286 * termios/tcflush.c: Likewise.
6287 * termios/tcgetattr.c: Likewise.
6288 * termios/tcgetpgrp.c: Likewise.
6289 * termios/tcsendbrk.c: Likewise.
6290 * termios/tcsetattr.c: Likewise.
6291 * termios/tcsetpgrp.c: Likewise.
6292 * time/adjtime.c: Likewise.
6293 * time/clock.c: Likewise.
6294 * time/getitimer.c: Likewise.
6295 * time/gettimeofday.c: Likewise.
6296 * time/setitimer.c: Likewise.
6297 * time/settimeofday.c: Likewise.
6298 * time/stime.c: Likewise.
6299 * time/time.c: Likewise.
6300
63012012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 6302
a20492cf
PT
6303 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6304 /usr/old/bin.
6305
72e182e3
PT
6306 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6307 instead of spaces.
6308 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6309
fbeafede
JM
63102012-11-03 Joseph Myers <joseph@codesourcery.com>
6311
5b5b04d6
JM
6312 [BZ #14796]
6313 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6314 FE_TONEAREST before applying Dekker multiplication and Knuth
6315 addition. Clear inexact exceptions and check for exact zero
6316 results afterwards.
6317 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6318 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6319 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6320 * math/libm-test.inc (fma_test): Add more tests.
6321 (fma_test_towardzero): Likewise.
6322 (fma_test_downward): Likewise.
6323 (fma_test_upward): Likewise.
6324 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6325 function.
6326 (libc_fesetround): New macro.
6327 (libc_fesetroundf): Likewise.
6328 (libc_fesetroundl): Likewise.
6329 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6330 function.
6331 (libc_fesetround_387): Likewise.
6332 (libc_fesetroundf): New macro.
6333 (libc_fesetround): Likewise.
6334 (libc_fesetroundl): Likewise.
6335 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6336 function.
6337 (libc_fesetroundf): New macro.
6338 (libc_fesetround): Likewise.
6339 (libc_fesetroundl): Likewise.
6340 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6341 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6342 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6343 libm_hidden_ver.
6344 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6345 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6346 libm_hidden_def.
6347 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6348 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6349 libm_hidden_ver.
6350 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6351 libm_hidden_def.
6352
fbeafede
JM
6353 [BZ #3439]
6354 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6355 integer constant usable in #if and use that to give value to enum
6356 constant.
6357 (FE_DIVBYZERO): Likewise.
6358 (FE_UNDERFLOW): Likewise.
6359 (FE_OVERFLOW): Likewise.
6360 (FE_INVALID): Likewise.
6361 (FE_INVALID_SNAN): Likewise.
6362 (FE_INVALID_ISI): Likewise.
6363 (FE_INVALID_IDI): Likewise.
6364 (FE_INVALID_ZDZ): Likewise.
6365 (FE_INVALID_IMZ): Likewise.
6366 (FE_INVALID_COMPARE): Likewise.
6367 (FE_INVALID_SOFTWARE): Likewise.
6368 (FE_INVALID_SQRT): Likewise.
6369 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6370 (FE_TONEAREST): Likewise.
6371 (FE_TOWARDZERO): Likewise.
6372 (FE_UPWARD): Likewise.
6373 (FE_DOWNWARD): Likewise.
6374 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6375 (FE_DIVBYZERO): Likewise.
6376 (FE_OVERFLOW): Likewise.
6377 (FE_UNDERFLOW): Likewise.
6378 (FE_INEXACT): Likewise.
6379 (FE_TONEAREST): Likewise.
6380 (FE_DOWNWARD): Likewise.
6381 (FE_UPWARD): Likewise.
6382 (FE_TOWARDZERO): Likewise.
6383 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6384 (FE_UNDERFLOW): Likewise.
6385 (FE_OVERFLOW): Likewise.
6386 (FE_DIVBYZERO): Likewise.
6387 (FE_INVALID): Likewise.
6388 (FE_TONEAREST): Likewise.
6389 (FE_TOWARDZERO): Likewise.
6390 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6391 (FE_OVERFLOW): Likewise.
6392 (FE_UNDERFLOW): Likewise.
6393 (FE_DIVBYZERO): Likewise.
6394 (FE_INEXACT): Likewise.
6395 (FE_TONEAREST): Likewise.
6396 (FE_TOWARDZERO): Likewise.
6397 (FE_UPWARD): Likewise.
6398 (FE_DOWNWARD): Likewise.
6399 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6400 (FE_DIVBYZERO): Likewise.
6401 (FE_OVERFLOW): Likewise.
6402 (FE_UNDERFLOW): Likewise.
6403 (FE_INEXACT): Likewise.
6404 (FE_TONEAREST): Likewise.
6405 (FE_DOWNWARD): Likewise.
6406 (FE_UPWARD): Likewise.
6407 (FE_TOWARDZERO): Likewise.
6408
105ca950
CM
64092012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6410
6411 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6412
a542b389
AS
64132012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6414
6415 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6416 commands. Quote $PWD.
6417 (blacklist_exports): Don't use remove_newlines. Replace "declare
6418 -x" by "export".
6419 (remove_newlines): Remove.
6420
f62c8abc
L
64212012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6422
6423 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6424 * stdlib/stdlib.h (atof): Moved to ...
6425 * include/bits/stdlib-float.h: Here. New file.
6426 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6427 * stdlib/bits/stdlib-float.h: New file.
6428 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6429 -mno-sse -mno-mmx.
6430 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6431 <xmmintrin.h>.
6432
0155d5b2
JM
64332012-11-02 Joseph Myers <joseph@codesourcery.com>
6434
a68d0680
JM
6435 * conform/conformtest.pl (@headers): Add fenv.h.
6436 * conform/data/fenv.h-data: New file.
6437 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6438 include of <math/fenv.h>.
6439
caf7f573
JM
6440 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6441 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6442 && !UNIX98]. Enables tests for XOPEN2K8.
6443 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6444 POSIX2008]: Likewise.
6445
6c073ad6
JM
6446 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6447 (struct rusage): Do not expect type or its members.
6448
0155d5b2
JM
6449 [BZ #3439]
6450 * math/math.h (FP_NAN): Define macro to integer constant usable in
6451 #if and use that to give value to enum constant.
6452 (FP_INFINITE): Likewise.
6453 (FP_ZERO): Likewise.
6454 (FP_SUBNORMAL): Likewise.
6455 (FP_NORMAL): Likewise.
6456
b5dcacb4
AS
64572012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6458
6459 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6460 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6461 arguments.
6462
f7934be8
RM
64632012-11-02 Roland McGrath <roland@hack.frob.com>
6464
6465 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6466 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6467 autoconf-time if not.
6468 * configure.in: Remove AC_PREREQ.
6469
d7d08bde
TMQMF
64702012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6471
6472 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6473 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6474 of the internal implementation.
6475
dcdae19a
JM
64762012-11-02 Joseph Myers <joseph@codesourcery.com>
6477
6478 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6479 except include of <misc/sys/syslog.h>.
6480
d6cffd3e
AS
64812012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6482
6483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6484 function returns with a NULL context exit with zero.
6485
b3563932
TMQMF
64862012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6487
6488 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6489
b288a93d
L
64902012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6491
6492 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6493 (run_program_cmd): This.
6494 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6495 (tst_langinfo): New variable. Use it.
6496
a2421a68
SAS
64972012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6498
6499 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6500 floating point opcodes.
6501
6f796e1b
TS
65022012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6503
7402596b
TS
6504 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6505 variable.
6506
d0d4f868
TS
6507 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6508
6f796e1b
TS
6509 * sysdeps/mach/hurd/powerpc: Remove directory.
6510 * sysdeps/mach/powerpc: Likewise.
6511
4da224a2
AS
65122012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6513
6514 * scripts/check-local-headers.sh: Ignore c++ headers.
6515
341dd673
TS
65162012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6517
6518 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6519 __libc_cleanup_region_start argument.
6520
473611b2
JM
65212012-11-01 Joseph Myers <joseph@codesourcery.com>
6522
6523 [BZ #14784]
6524 [BZ #14785]
6525 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6526 x * y using scaling, not as x * y + z.
6527 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6528 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6529 * math/libm-test.inc (fma_test): Add more tests.
6530 (fma_test_towardzero): Likewise.
6531 (fma_test_downward): Likewise.
6532 (fma_test_upward): Likewise.
6533
4078da3d
TS
65342012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6535
6536 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6537
903252aa
JM
65382012-10-31 Joseph Myers <joseph@codesourcery.com>
6539
6540 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6541 New variable.
6542
cbc818d0
TS
65432012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6544
6545 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6546
5a03cb1e
AS
65472012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6548
6549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6550 Fix sort order.
6551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6552 Likewise.
6553
90aff2ff
TMQMF
65542012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6555
6556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6557 Fix the order of the list for glibc 2.17.
6558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6559 Likewise.
6560
1818fcb7
AS
65612012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6562
6563 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6564
ef82f4da
JM
65652012-10-31 Joseph Myers <joseph@codesourcery.com>
6566
16a0e2ec
JM
6567 [BZ #14610]
6568 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6569 for low part of x being zero before using __atanl (y).
6570 * math/libm-test.inc (atan2_test): Add another test.
6571
0eb69512
JM
6572 * manual/install.texi (Configuring and compiling): Document
6573 general use of test-wrapper and test-wrapper-env.
6574 * INSTALL: Regenerated.
6575
ef82f4da
JM
6576 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6577 (__fma): Do not extract and scale down low bits on after-rounding
6578 systems when result rounded to normal precision would have normal
6579 exponent.
6580 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6581 (__fmal): Do not extract and scale down low bits on after-rounding
6582 systems when result rounded to normal precision would have normal
6583 exponent.
6584 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6585 (__fmal): Do not extract and scale down low bits on after-rounding
6586 systems when result rounded to normal precision would have normal
6587 exponent.
6588 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6589 macro.
6590 (fma_test): Add more tests.
6591 (fma_test_towardzero): Likewise.
6592 (fma_test_downward): Likewise.
6593 (fma_test_upward): Likewise.
6594
954ef0d9
L
65952012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6596
6597 * sysdeps/i386/tininess.h: Renamed to ...
6598 * sysdeps/x86/tininess.h: This.
6599 * sysdeps/x86_64/tininess.h: Removed.
6600
df61ffb2
JM
66012012-10-30 Joseph Myers <joseph@codesourcery.com>
6602
6603 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6604 input. Use $(build-program-cmd).
6605 ($(objpfx)tst-array1-static.out): Likewise.
6606 ($(objpfx)tst-array2.out): Likewise.
6607 ($(objpfx)tst-array3.out): Likewise.
6608 ($(objpfx)tst-array4.out): Likewise.
6609 ($(objpfx)tst-array5.out): Likewise.
6610 ($(objpfx)tst-array5-static.out): Likewise.
6611
01767843
CM
66122012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6613
47cc1490
CM
6614 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6615 if defined.
6616
01767843
CM
6617 * nss/nsswitch.h (nss_interface_function): Provide new
6618 macro for use with NSS functions.
6619 * grp/initgroups.c: Use new macro.
6620 * nss/getXXbyYY.c: Likewise.
6621 * nss/getXXbyYY_r.c: Likewise.
6622 * nss/getXXent.c: Likewise.
6623 * nss/getXXent_r.c: Likewise.
6624 * sysdeps/posix/getaddrinfo.c: Likewise.
6625
8321aa97
AJ
66262012-10-30 Andreas Jaeger <aj@suse.de>
6627
6628 * po/ru.po: Update Russion translation from translation project.
6629
2a27fd6d
JM
66302012-10-30 Joseph Myers <joseph@codesourcery.com>
6631
8627a232
JM
6632 [BZ #14152]
6633 [BZ #14783]
6634 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6635 result and shift together with sticky bit instead of replicating
6636 round-to-nearest rounding.
6637 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6638 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6639 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6640 missing underflow exceptions.
6641 (fma_test_towardzero): Add more tests.
6642 (fma_test_downward): Likewise.
6643 (fma_test_upward): Likewise.
6644
2a27fd6d
JM
6645 [BZ #14047]
6646 * sysdeps/generic/tininess.h: New file.
6647 * sysdeps/i386/tininess.h: Likewise.
6648 * sysdeps/sh/tininess.h: Likewise.
6649 * sysdeps/x86_64/tininess.h: Likewise.
6650 * stdlib/tst-strtod-underflow.c: Likewise.
6651 * stdlib/tst-tininess.c: Likewise.
6652 * stdlib/strtod_l.c: Include <tininess.h>.
6653 (round_and_return): Do not set errno for exact underflow cases.
6654 Force an underflow exception when setting errno for underflow.
6655 Determine underflow based on rounding to normal precision if
6656 TININESS_AFTER_ROUNDING.
6657 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6658 ERANGE for exact underflow cases.
6659 * stdlib/Makefile (tests): Add tst-tininess and
6660 tst-strtod-underflow.
6661 ($(objpfx)tst-tininess): Use $(link-libm).
6662 ($(objpfx)tst-strtod-underflow): Likewise.
6663
e7170363
AJ
66642012-10-30 Andreas Jaeger <aj@suse.de>
6665
e5088dc6
AJ
6666 [BZ#14767]
6667 * elf/Makefile (tests): Remove conditional for have-initfini-array
6668 since this is now always required and the variable does not exist
6669 anymore.
6670 (tests-static): Likewise.
6671 (modules-names): Likewise.
6672
e7170363 6673 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
6674
6675 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6676 merged with constructor/destructor.
6677 (init_array): Likewise.
6678 * elf/tst-array2dep.c (fini_array): Likewise.
6679 (init_array): Likewise.
6680
60457d8a
MF
66812012-10-29 Mike Frysinger <vapier@gentoo.org>
6682
6683 * manual/message.texi: Delete @cartouche tags.
6684
8bece752
PT
66852012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6686
94ce799f
PT
6687 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6688 EOPNOTSUPP.
6689 * sysdeps/mach/hurd/fsync.c: Likewise.
6690
8bece752
PT
6691 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6692 [_POSIX_REALTIME_SIGNALS]: Change condition to
6693 [_POSIX_REALTIME_SIGNALS > 0].
6694
86ebe6b1
AJ
66952012-10-27 Andreas Jaeger <aj@suse.de>
6696
6697 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6698 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6699 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6700 [__WORDSIZE != 64]: Likewise.
6701
54399c08
L
67022012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6703
6704 * iconvdata/tst-table.sh: Remove ${SHELL}.
6705 * iconvdata/tst-tables.sh: Likewise.
6706
e2211bed
DM
67072012-10-25 David S. Miller <davem@davemloft.net>
6708
6709 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6710 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6711 of strtoull.
6712
f303f97c
DM
6713 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6714 ifunc-impl-list.c
6715 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6716 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6717 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6718 file.
6719
1e9d84cd
RM
67202012-10-25 Roland McGrath <roland@hack.frob.com>
6721
6722 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6723 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6724 __getdirentries.
6725
df381762
JM
67262012-10-25 Joseph Myers <joseph@codesourcery.com>
6727 Jim Blandy <jimb@codesourcery.com>
6728
6729 * scripts/cross-test-ssh.sh: New file.
6730 * manual/install.texi (Configuring and compiling): Document use of
6731 cross-test-ssh.sh.
6732 * INSTALL: Regenerated.
6733
bff64913
PT
67342012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6735
6736 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6737 EOPNOTSUPP.
6738
25fe8932
JM
67392012-10-25 Joseph Myers <joseph@codesourcery.com>
6740
6741 * Makeconfig (run-program-prefix): Fix comment.
6742
cc1290d0
JM
67432012-10-24 Joseph Myers <joseph@codesourcery.com>
6744 Jim Blandy <jimb@codesourcery.com>
6745
6746 * Makeconfig (test-wrapper): New variable,
6747 (test-wrapper-env): Likewise.
6748 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6749 (run-built-tests): Define to yes.
6750 (run-program-prefix): Use $(test-wrapper).
6751 (built-program-cmd): Likewise.
6752 * Rules (make-test-out): Use $(test-wrapper-env) and
6753 $(host-built-program-cmd).
6754 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6755 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6756 tst-pathopt.sh.
6757 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6758 $(test-wrapper-env) to tst-rtld-load-self.sh.
6759 ($(objpfx)order2.out): Use $(test-wrapper).
6760 ($(objpfx)tst-initorder.out): Likewise.
6761 ($(objpfx)tst-initorder2.out): Likewise.
6762 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6763 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6764 (test_wrapper_env): New variable. Use it to run ld.so.
6765 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6766 Use it to run ld.so.
6767 (test_wrapper_env): Likewise.
6768 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6769 $(test-wrapper) to run-iconv-test.sh.
6770 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6771 (ICONV): Use $test_wrapper.
6772 * posix/Makefile ($(objpfx)globtest.out): Pass
6773 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6774 globtest.sh, not $(run-program-prefix).
6775 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6776 (test_wrapper): Likewise.
6777 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6778 set together with run_via_rtld_prefix.
6779 (run_program_prefix): Define in terms of test_wrapper and
6780 run_via_rtld_prefix.
6781
6e6249d0
RM
67822012-10-24 Roland McGrath <roland@hack.frob.com>
6783
6784 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6785 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6786 Targets removed.
6787
6788 [BZ #14743]
6789 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6790 Declare __clock_getres, __clock_gettime, __clock_settime,
6791 __clock_nanosleep, and __clock_getcpuclockid.
6792 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6793 Remove librt_hidden_def (clock_gettime).
6794 * sysdeps/unix/clock_gettime.c: Likewise.
6795 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6796 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6797 * rt/clock_getres.c: Define __clock_getres as an alias.
6798 * sysdeps/posix/clock_getres.c: Likewise.
6799 * rt/clock_settime.c: Define __clock_settime as an alias.
6800 * sysdeps/unix/clock_settime.c: Likewise.
6801 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6802 * sysdeps/unix/clock_nanosleep.c: Likewise.
6803 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6804 * rt/clock-compat.c: New file.
6805 * rt/Makefile (librt-routines): Add clock-compat and move
6806 $(clock-routines) to ...
6807 (routines): ... here, new variable.
6808 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6809 Don't add get_clockfreq here.
6810 * rt/Versions (libc: GLIBC_2.17): New version set.
6811 Add clock_* symbols here.
6812 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6813 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6814 (GLIBC_2.17): Add clock_* symbols.
6815 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6816 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6817 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6819 Likewise.
6820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6821 Likewise.
6822 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6823 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6824 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6826 * NEWS: Mention the move.
6827
6828 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6829 Use __open, __read, __close rather than their public counterparts.
6830 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6831 (__get_clockfreq_via_cpuinfo): Likewise.
6832 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
6833 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
6834
6835 * config.h.in (HAVE_IFUNC): New #undef.
6836 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
6837 was successful.
6838 * configure: Regenerated.
6839
0cae3f4b
MF
68402012-10-24 Mike Frysinger <vapier@gentoo.org>
6841
6842 * configure.in: Move READELF check to start of file.
6843 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
6844 libc_cv_asm_gnu_indirect_function in the process.
6845 * configure: Regenerated.
6846
8175a253
MF
68472012-10-24 Mike Frysinger <vapier@gentoo.org>
6848
6849 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
6850 send the output to /dev/null.
6851 (libc_cv_cc_with_libunwind): Likewise.
6852 (libc_cv_as_noexecstack): Likewise.
6853 * configure: Regenerate.
6854
0708a7d1
JM
68552012-10-24 Joseph Myers <joseph@codesourcery.com>
6856
10b40d85
JM
6857 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
6858
0708a7d1
JM
6859 * posix/globtest.sh (TMPDIR): Do not set.
6860 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
6861 (testout): Likewise.
6862
9fddec1a
AJ
68632012-10-24 Andreas Jaeger <aj@suse.de>
6864
3a8db22f
AJ
6865 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
6866 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
6867 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
6868 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
6869 posix_fadvise64, posix_fallocate64.
6870
9fddec1a
AJ
6871 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
6872 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
6873 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
6874 Likewise.
6875 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
6876 Likewise.
6877 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
6878
6879 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
6880 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
6881 <bits/fcntl-linux.h>.
6882 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
6883
6884 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
6885 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
6886 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
6887 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
6888 [__WORDSIZE != 64]: Likewise.
6889
ebfd1bbd
JM
68902012-10-23 Joseph Myers <joseph@codesourcery.com>
6891
03ac099f
JM
6892 * Makeconfig (run-built-tests): New variable.
6893 * Rules [$(cross-compiling) = yes]: Change condition to
6894 [$(run-built-tests) = no].
6895 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
6896 to [$(run-built-tests) = yes].
6897 * elf/Makefile [$(cross-compiling) = no]: Likewise
6898 * grp/Makefile [$(cross-compiling) = no]: Likewise.
6899 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
6900 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
6901 * intl/Makefile [$(cross-compiling) = no]: Likewise.
6902 * io/Makefile [$(cross-compiling) = no]: Likewise.
6903 * libio/Makefile [$(cross-compiling) = no]: Likewise.
6904 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
6905 * misc/Makefile [$(cross-compiling) = no]: Likewise.
6906 * posix/Makefile [$(cross-compiling) = no]: Likewise.
6907 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
6908 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
6909 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
6910 * string/Makefile [$(cross-compiling) = no]: Likewise.
6911
ebfd1bbd
JM
6912 * posix/Makefile ($(objpfx)globtest.out): Pass
6913 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
6914 $(rtld-installed-name).
6915 * posix/globtest.sh (elf_objpfx): Remove variable.
6916 (rtld_installed_name): Likewise.
6917 (library_path): Likewise.
6918 (run_program_prefix): New variable. Use for running globtest
6919 binary.
6920
166bca24
JB
69212012-10-23 Jim Blandy <jimb@codesourcery.com>
6922 Joseph Myers <joseph@codesourcery.com>
6923
6924 * Makeconfig (host-built-program-cmd): New variable.
6925 * elf/Makefile (tst-stackguard1-ARGS): Use
6926 $(host-built-program-cmd).
6927 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
6928 (tst-spawn-ARGS): Likewise.
6929 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
6930
88866099
JM
69312012-10-23 Joseph Myers <joseph@codesourcery.com>
6932 Jim Blandy <jimb@codesourcery.com>
6933
6934 * Makeconfig (run-via-rtld-prefix): New variable.
6935 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
6936 (built-program-cmd): Likewise.
6937
b4b4c296
AJ
69382012-10-22 Andreas Jaeger <aj@suse.de>
6939
6940 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
6941 __O_RSYNC if it exists, otherwise to O_SYNC.
6942
6fb54a22
JB
69432012-10-22 Jim Blandy <jimb@codesourcery.com>
6944 Joseph Myers <joseph@codesourcery.com>
6945
6946 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
6947 /dev/null.
6948 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
6949 from /dev/null
6950 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
6951 /dev/null.
6952
481b90b9
AJ
69532012-10-22 Andreas Jaeger <aj@suse.de>
6954
2a0e2669
AJ
6955 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
6956 Define always.
6957 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
6958
76e38f9a
AJ
6959 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6960 bits/fcntl-linux.h.
6961
7cd37b43
AJ
6962 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
6963 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
6964
481b90b9
AJ
6965 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
6966 to __O_LARGEFILE.
6967 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
6968 to __O_LARGEFILE.
6969
aba75984
JB
69702012-10-21 Jim Blandy <jimb@codesourcery.com>
6971 Joseph Myers <joseph@codesourcery.com>
6972
6973 * config.make.in (NM): New variable.
6974
88d4247f
AJ
69752012-10-21 Andreas Jaeger <aj@suse.de>
6976
6977 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
6978 definitions and declarations that are provided by
6979 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
6980
f2eed205
L
69812012-10-20 H.J. Lu <hongjiu.lu@intel.com>
6982
6983 [BZ #14683]
6984 * elf/Makefile (tests-static): Add tst-leaks1-static.
6985 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
6986 ($(objpfx)tst-leaks1-static): New rule.
6987 ($(objpfx)tst-leaks1-static-mem): Likewise.
6988 (tst-leaks1-static-ENV): New macro.
6989 * elf/dl-open.c (dl_open_worker): Check the main application
6990 only if SHARED is defined.
6991 * elf/tst-leaks1-static.c: New file.
6992
335e6931
AJ
69932012-10-20 Andreas Jaeger <aj@suse.de>
6994
6995 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
6996 generic values for Linux.
6997 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
6998 and declarations that are provided by <bits/fcntl-linux.h> and
6999 include <bits/fcntl-linux.h>.
7000 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7001 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7002
ac5c94d3
RM
70032012-10-20 Roland McGrath <roland@hack.frob.com>
7004
7005 * io/fcntl.h: Move include of <bits/types.h> to the top and
7006 include it unconditionally.
7007
de54b33a
L
70082012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7009
228cfb01
L
7010 * wcsmbs/Makefile (tests-ifunc): New variable.
7011 (tests): Add $(tests-ifunc).
7012 * wcsmbs/test-wcschr-ifunc.c: New file.
7013 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7014 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7015 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7016 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7017 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7018
69f07e5f
L
7019 * string/Makefile (tests-ifunc): New variable.
7020 (tests): Add $(tests-ifunc).
7021 * string/test-memccpy.c (TEST_NAME): New macro.
7022 * string/test-memchr.c (TEST_NAME): Likewise.
7023 * string/test-memcmp.c (TEST_NAME): Likewise.
7024 * string/test-memcpy.c (TEST_NAME): Likewise.
7025 * string/test-memmem.c (TEST_NAME): Likewise.
7026 * string/test-memmove.c (TEST_NAME): Likewise.
7027 * string/test-memset.c (TEST_NAME): Likewise.
7028 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7029 * string/test-stpcpy.c (TEST_NAME): Likewise.
7030 * string/test-stpncpy.c (TEST_NAME): Likewise.
7031 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7032 * string/test-strcasestr.c (TEST_NAME): Likewise.
7033 * string/test-strcat.c (TEST_NAME): Likewise.
7034 * string/test-strchr.c (TEST_NAME): Likewise.
7035 * string/test-strcmp.c(TEST_NAME): Likewise.
7036 * string/test-strcpy.c (TEST_NAME): Likewise.
7037 * string/test-strcspn.c (TEST_NAME): Likewise.
7038 * string/test-strlen.c (TEST_NAME): Likewise.
7039 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7040 * string/test-strncmp.c (TEST_NAME): Likewise.
7041 * string/test-strncpy.c (TEST_NAME): Likewise.
7042 * string/test-strnlen.c (TEST_NAME): Likewise.
7043 * string/test-strpbrk.c (TEST_NAME): Likewise.
7044 * string/test-strrchr.c (TEST_NAME): Likewise.
7045 * string/test-strspn.c (TEST_NAME): Likewise.
7046 * string/test-strstr.c (TEST_NAME): Likewise.
7047 * string/test-bcopy-ifunc.c: New file.
7048 * string/test-bzero-ifunc.c: Likewise.
7049 * string/test-memccpy-ifunc.c: Likewise.
7050 * string/test-memchr-ifunc.c: Likewise.
7051 * string/test-memcmp-ifunc.c: Likewise.
7052 * string/test-memcpy-ifunc.c: Likewise.
7053 * string/test-memmem-ifunc.c: Likewise.
7054 * string/test-memmove-ifunc.c: Likewise.
7055 * string/test-mempcpy-ifunc.c: Likewise.
7056 * string/test-memset-ifunc.c: Likewise.
7057 * string/test-rawmemchr-ifunc.c: Likewise.
7058 * string/test-stpcpy-ifunc.c: Likewise.
7059 * string/test-stpncpy-ifunc.c: Likewise.
7060 * string/test-strcasecmp-ifunc.c: Likewise.
7061 * string/test-strcasestr-ifunc.c: Likewise.
7062 * string/test-strcat-ifunc.c: Likewise.
7063 * string/test-strchr-ifunc.c: Likewise.
7064 * string/test-strchrnul-ifunc.c: Likewise.
7065 * string/test-strcmp-ifunc.c: Likewise.
7066 * string/test-strcpy-ifunc.c: Likewise.
7067 * string/test-strcspn-ifunc.c: Likewise.
7068 * string/test-strlen-ifunc.c: Likewise.
7069 * string/test-strncasecmp-ifunc.c: Likewise.
7070 * string/test-strncat-ifunc.c: Likewise.
7071 * string/test-strncmp-ifunc.c: Likewise.
7072 * string/test-strncpy-ifunc.c: Likewise.
7073 * string/test-strnlen-ifunc.c: Likewise.
7074 * string/test-strpbrk-ifunc.c: Likewise.
7075 * string/test-strrchr-ifunc.c: Likewise.
7076 * string/test-strspn-ifunc.c: Likewise.
7077 * string/test-strstr-ifunc.c: Likewise.
7078
de54b33a
L
7079 * debug/Makefile (tests-ifunc): New variable.
7080 (tests): Add $(tests-ifunc).
7081 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7082 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7083 * debug/test-stpcpy_chk-ifunc.c: New file.
7084 * debug/test-strcpy_chk-ifunc.c: Likewise.
7085
88481c16
SP
70862012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7087
7088 [BZ #13601]
7089 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7090 header is not read in.
7091
135948bd
JM
70922012-10-19 Joseph Myers <joseph@codesourcery.com>
7093
89f1c388
JM
7094 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7095 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7096 directly. Pass built executable to script as
7097 $(built-program-cmd).
7098 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7099 $testprogram without using LD_LIBRARY_PATH and $ldso.
7100
e40a0d21
JM
7101 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7102 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7103 $(rtld-installed-name).
7104 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7105 (rtld_installed_name): Likewise.
7106 (library_path): Likewise.
7107 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7108 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7109 $(run-program-prefix) to tst-tables.sh.
7110 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7111 it to run tst-table-from and tst-table-to.
7112 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7113 Pass it to tst-table.sh.
7114 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7115 $(run-program-prefix) to tst-gettext.sh.
7116 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7117 tst-translit.sh.
7118 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7119 tst-gettext2.sh.
7120 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7121 to run tst-gettext.
7122 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7123 to run tst-gettext2.
7124 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7125 to run tst-translit.
7126 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7127 $(run-program-prefix) to tst-mtrace.sh.
7128 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7129 to run tst-mtrace.
7130 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7131 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7132 $(rtld-installed-name).
7133 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7134 (rtld_installed_name): Likewise.
7135 (run_program_prefix): New variable. Use it to run wordexp-test.
7136
728e272a
JM
7137 * Makeconfig (ARCH): Remove all definitions.
7138 (machine): Likewise.
7139 [ARCH]: Remove conditional code.
7140 [!objdir]: Give error.
7141 [!objdir] (objpfx): Remove.
7142 [!objdir] (common-objpfx): Likewise.
7143 [!objdir] (common-objdir): Likewise.
7144 * configure.in (config_makefile): Remove. Hardcode Makefile in
7145 AC_CONFIG_FILES call.
7146 * configure: Regenerated.
7147
d528cdcf
JM
7148 [BZ #13888]
7149 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7150 or TMPDIR.
7151 (testout): Likewise.
7152
135948bd
JM
7153 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7154 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7155 $(rtld-installed-name).
7156 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7157 (rtld_installed_name): Likwise.
7158 (runit): Remove function.
7159 (run_getconf): New variable, Use it for running getconf binary.
7160
38c78296
L
71612012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7162
7163 [BZ #14716]
7164 * string/test-memmem.c (check_result): New function.
7165 (do_one_test): Use it.
7166 (check1): New function.
7167 (test_main): Use it.
7168
d077f65f
MT
71692012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7170
7171 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7172
ced52c71
JM
71732012-10-18 Joseph Myers <joseph@codesourcery.com>
7174
7175 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7176 (_G_LSEEK64): Likewise.
7177 (_G_MMAP64): Likewise.
7178 (_G_FSTAT64): Likewise.
7179 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7180 (_G_LSEEK64): Likewise.
7181 (_G_MMAP64): Likewise.
7182 (_G_FSTAT64): Likewise.
7183 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7184 unconditional. Call __mmap64 directly.
7185 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7186 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7187 __lseek64 directly.
7188 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7189 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7190 __mmap64 directly.
7191 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7192 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7193 __lseek64 directly.
7194 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7195 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7196 __lseek64 directly.
7197 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7198 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7199 __lseek64 directly.
7200 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7201 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7202 __fxstat64 directly.
7203 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7204 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7205 unconditional.
7206 (freopen64) [!_G_OPEN64]: Remove conditional code.
7207 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7208 unconditional.
7209 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7210 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7211 unconditional.
7212 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7213 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7214 unconditional.
7215 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7216 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7217 unconditional.
7218 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7219 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7220 unconditional.
7221 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7222 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7223 unconditional.
7224 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7225 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7226 unconditional.
7227 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7228
b741de23
SP
72292012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7230
7231 [BZ #12140]
7232 * manual/memory.texi (Malloc Tunable Parameters): Add note
7233 about free list pointers overwriting some perturb bytes.
7234 Wording suggested by Roland McGrath.
7235
f9b9d9c9
JM
72362012-10-17 Joseph Myers <joseph@codesourcery.com>
7237
7238 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7239 (lgamma_test): Likewise.
7240 (tgamma_test): Likewise.
7241
172a631a
FW
72422012-10-16 Florian Weimer <fweimer@redhat.com>
7243
7244 [BZ #14700]
7245 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7246 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7247
e9f37252
MK
72482012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7249
7250 * NEWS: Mention BZ #14716.
7251 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7252 when removing AVAILABLE1_USES_J macro.
7253
d394eb74
L
72542012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7255
7256 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7257 (__bswap_64): __uint64_t for unsigned 64-bit int.
7258
ca38dc17
AS
72592012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7260
7261 * include/string.h (memmem): Declare libc hidden alias.
7262 * string/memmem.c (memmem): Define libc hidden alias.
7263 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7264 __read, __close instead of open, read, close.
7265
9a387d1f
L
72662012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7267
ac49ecaf
L
7268 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7269 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7270 global and hidden.
7271 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7272 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7273 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7274 Likewise.
7275 (__rawmemchr_sse2): Likewise.
7276 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7277 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7278 (__strchr_sse2): Likewise.
7279 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7280 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7281 (__strcasecmp_sse2): Likewise.
7282 (__strncasecmp_sse2): Likewise.
7283 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7284 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7285 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7286 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7287 (__strrchr_sse2): Likewise.
7288 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7289 ifunc-impl-list.c.
7290 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7291 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7292 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7293 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7294 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7295 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7296 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7297 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7298 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7299 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7300 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7301 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7302 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7303 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7304 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7305 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7306 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7307 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7308 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7309 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7310 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7311 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7312 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7313 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7314 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7315 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7316 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7317 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7318 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7319 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7320
b090e8ea
L
7321 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7322 global and hidden.
7323 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7324 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7325 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7326 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7327 Likewise.
7328 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7329 Likewise.
7330 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7331 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7332 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7333 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7334 ifunc-impl-list.c.
7335 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7336 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7337 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7338 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7339 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7340 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7341 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7342 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7343 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7344 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7345 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7346 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7347 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7348 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7349 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7350 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7351 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7352 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7353 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7354 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7355 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7356 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7357 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7358 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7359 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7360 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7361 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7362 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7363 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7364 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7365 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7366 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7367 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7368 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7369 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7370 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7371 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7372 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7373 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7374 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7375 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7376
11dd4af6
L
7377 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7378 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7379 * include/ifunc-impl-list.h: New file.
7380 * misc/ifunc-impl-list.c: Likewise.
7381 * misc/Makefile (routines): Add ifunc-impl-list.
7382 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7383 * string/test-string.h: Include <ifunc-impl-list.h>.
7384 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7385 impl_array): New variables.
7386 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7387 are defined.
7388 (test_init): Call __libc_ifunc_impl_list to initialize
7389 func_list if TEST_IFUNC and TEST_NAME are defined.
7390
9a387d1f
L
7391 * string/Makefile (strop-tests): Add bcopy and bzero.
7392 * string/test-bcopy.c: New file.
7393 * string/test-bzero.c: Likewise.
7394 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7395 defined.
7396 * string/test-memset.c: Support bzero test if TEST_BZERO is
7397 defined.
7398 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7399 __libc_memmove.
7400 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7401 __libc_memset.
7402 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7403 of memset.
7404
472371b9
JM
74052012-10-10 Joseph Myers <joseph@codesourcery.com>
7406
1e4a9536
JM
7407 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7408 * configure: Regenerated.
7409
d173d12e
JM
7410 * Makeconfig (+link-static-before-libc): Don't include
7411 $(link-static-libc).
7412
472371b9
JM
7413 * libio/libio.h (_IO_pos_t): Remove.
7414
89a3ad0b
AO
74152012-10-10 Alexandre Oliva <aoliva@redhat.com>
7416
7417 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7418 McGrath.
7419
e7451425
AO
74202012-10-10 Alexandre Oliva <aoliva@redhat.com>
7421
7422 * crypt/crypt-entry.c: Include fips-private.h.
7423 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7424 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7425 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7426 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7427
4ba74a35
AO
74282012-10-10 Alexandre Oliva <aoliva@redhat.com>
7429
7430 * crypt/crypt-private.h: Include stdbool.h.
7431 (_ufc_setup_salt_r): Return bool.
7432 * crypt/crypt-entry.c: Include errno.h.
7433 (__crypt_r): Return NULL with EINVAL for bad salt.
7434 * crypt/crypt_util.c (bad_for_salt): New.
7435 (_ufc_setup_salt_r): Check that salt is long enough and within
7436 the specified alphabet.
7437 * crypt/badsalttest.c: New file.
7438 * crypt/Makefile (tests): Add it.
7439 ($(objpfx)badsalttest): New.
7440
f96f1242
MK
74412012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7442
7443 * NEWS: Add entry for BZ #14602.
7444
0e8e0c1c
JM
74452012-10-09 Joseph Myers <joseph@codesourcery.com>
7446
7447 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7448 type-generic.
7449 * math/libm-test.inc: Update comment listing what functions and
7450 macros are tested.
7451 (isgreater_test): New function.
7452 (isgreaterequal_test): Likewise.
7453 (isless_test): Likewise.
7454 (islessequal_test): Likewise.
7455 (islessgreater_test): Likewise.
7456 (isunordered_test): Likewise.
7457 (main): Call the new functions.
7458
273edc5e
RM
74592012-10-09 Roland McGrath <roland@hack.frob.com>
7460
b8493de0
RM
7461 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7462 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7463 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7464 * sysdeps/i386/configure: Regenerated.
7465 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7466 * sysdeps/mach/configure: Regenerated.
7467 * sysdeps/mach/hurd/configure: Regenerated.
7468 * sysdeps/powerpc/configure: Regenerated.
7469 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7470 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7471 * sysdeps/s390/s390-32/configure: Regenerated.
7472 * sysdeps/s390/s390-64/configure: Regenerated.
7473 * sysdeps/sh/configure: Regenerated.
7474 * sysdeps/sparc/configure: Regenerated.
7475 * sysdeps/unix/sysv/linux/configure: Regenerated.
7476 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7477 * sysdeps/x86_64/configure: Regenerated.
7478
273edc5e
RM
7479 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7480 defined. Don't check if MAP is NULL.
7481
c8450f70
JM
74822012-10-09 Joseph Myers <joseph@codesourcery.com>
7483
7484 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7485 (_G_stat64): Likewise.
7486 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7487 (_G_stat64): Likewise.
7488 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7489 instead of struct _G_stat64.
7490 * libio/fileops.c (mmap_remap_check): Likewise.
7491 (decide_maybe_mmap): Likewise.
7492 (_IO_new_file_seekoff): Likewise.
7493 (_IO_file_stat): Likewise.
7494 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7495 _G_off64_t.
7496 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7497 instead of struct _G_stat64.
7498 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7499
57e605ba
MK
75002012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7501
7502 [BZ #14602]
7503 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7504 Replace with ...
7505 (CHECK_EOL): New macro.
7506 (two_way_short_needle): Check beginning of haystack for EOL. Use
7507 CHECK_EOL.
7508 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7509 Replace with CHECK_EOL.
7510 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7511 Replace with CHECK_EOL.
7512
ef1bb361
JM
75132012-10-08 Joseph Myers <joseph@codesourcery.com>
7514
7515 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7516 type-generic.
7517 * math/libm-test.inc: Update comment listing what functions and
7518 macros are tested.
7519 (finite_test): New function.
7520 (isinf_test): Likewise.
7521 (isnan_test): Likewise.
7522 (fpclassify_test): Test subnormal input.
7523 (isfinite_test): Likewise.
7524 (isnormal_test): Likewise.
7525 (main): Call the new functions.
7526
55f11534
JN
75272012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7528
7529 [BZ #14660]
7530 * Makerules (%.dynsym): Force C locale when running
7531 $(OBJDUMP) --dynamic-syms.
7532
1ab29350
AS
75332012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7534
7535 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7536 <stdint.h>.
7537
f1ecb7ef
DM
75382012-10-06 David S. Miller <davem@davemloft.net>
7539
7540 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7541 upper 32-bits of the length value in %o2 since we use branch-on-register
7542 tests which consider the entire 64-bit register.
7543
5d41d91a
L
75442012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7545
7546 * string/test-strstr.c (check2): Add a test for page boundary.
7547
3baddb72
DM
75482012-10-05 David S. Miller <davem@davemloft.net>
7549
7550 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7551 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7552 file.
7553 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7554 sysdep_routines.
7555 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7556 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7557 and bzero when HWCAP_SPARC_CRYPTO is present.
7558
9cee5585
L
75592012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7560
d7e0dab9
L
7561 [BZ #14602]
7562 * string/test-strstr.c (check2): New function.
7563 (test_main): Call check2.
7564
03759f47
L
7565 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7566 and bug-strchr1.
7567 * string/bug-strcasestr1.c (do_test): Moved to ...
7568 * string/test-strcasestr.c (check1): Here. New function.
7569 (do_one_test): Break out result checking code into ...
7570 (check_result): This. New function.
7571 (do_one_test): Call check_result.
7572 (test_main): Call check1.
7573 * string/bug-strchr1.c (do_test): Moved to ...
7574 * string/test-strchr.c (check1): Here. New function.
7575 (do_one_test): Break out result checking code into ...
7576 (check_result): This. New function.
7577 (do_one_test): Call check_result.
7578 (test_main): Call check1.
7579 * string/bug-strstr1.c (main): Moved to ...
046f153e 7580 * string/test-strstr.c (check1): Here. New function.
03759f47
L
7581 (do_one_test): Break out result checking code into ...
7582 (check_result): This. New function.
7583 (do_one_test): Call check_result.
7584 (test_main): Call check1.
7585 * string/bug-strcasestr1.c: Removed.
7586 * string/bug-strchr1.c: Likewise.
7587 * string/bug-strstr1.c: Likewise.
7588
53cea63e
L
7589 * elf/Makefile (dl-routines): Add hwcaps.
7590 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7591 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7592 (_dl_important_hwcaps): Moved to ...
7593 * elf/dl-hwcaps.c: Here. New file.
7594 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7595
9cee5585 7596 [BZ #14557]
bb859b06
L
7597 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7598 if IS_IN_rtld isn't defined.
7599
9cee5585
L
7600 * elf/dl-support.c (_dl_sysinfo_map): New.
7601 Include "get-dynamic-info.h" and "setup-vdso.h".
7602 (_dl_non_dynamic_init): Call setup_vdso.
7603 * elf/dynamic-link.h: Don't include <assert.h>.
7604 (elf_get_dynamic_info): Moved to ...
7605 * elf/get-dynamic-info.h: Here. New file.
7606 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7607 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7608 * elf/setup-vdso.h: Here. New file.
7609 * elf/rtld.c: Include "setup-vdso.h".
7610 (dl_main): Call setup_vdso.
7611
23c31b76
JM
76122012-10-05 Joseph Myers <joseph@codesourcery.com>
7613
28234b07
JM
7614 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7615 creal in comment listing functions tested. List finite, isinf,
7616 isnan, isless, islessequal, isgreater, isgreaterequal,
7617 islessgreater, isunordered, lgamma_r and pow10 as functions and
7618 macros not tested. Mention which functions not tested are aliases
7619 for other functions. Fix typo. Note that signs of NaNs are not
7620 tested.
7621
23c31b76
JM
7622 * scripts/config.guess: Update from config.git.
7623 * scripts/config.sub: Likewise.
7624
9043e228
RM
76252012-10-04 Roland McGrath <roland@hack.frob.com>
7626
7627 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7628 * misc/madvise.c (madvise): Renamed to __madvise.
7629 Make madvise a weak alias.
7630 * include/sys/mman.h: Declare __madvise.
7631 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7632 * sysdeps/unix/syscalls.list
7633 (madvise): Make __madvise the strong name, and madvise a weak alias.
7634 * sysdeps/unix/sysv/linux/syscalls.list
7635 (madvise, mmap): Remove redundant entries.
7636 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7637 * malloc/malloc.c (mtrim): Likewise.
7638 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7639
f57f8055
RM
76402012-10-03 Roland McGrath <roland@hack.frob.com>
7641
7642 * sysdeps/mach/hurd/dl-cache.c: File removed.
7643 * config.h.in (USE_LDCONFIG): New #undef.
7644 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7645 * configure: Regenerated.
7646 * elf/Makefile (dl-routines): Add dl-cache only under
7647 [$(use-ldconfig) = yes].
7648 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7649 cache on [USE_LDCONFIG].
7650 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7651 [USE_LDCONFIG].
7652 * elf/rtld.c (dl_main): Likewise.
7653
5bb0c10a
PT
76542012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7655
7656 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7657 _SC_LEVEL4_CACHE_LINESIZE.
7658
010188c6
RM
76592012-10-03 Roland McGrath <roland@hack.frob.com>
7660
7661 * sysdeps/unix/bsd/confstr.h: File removed.
7662
b6c5ec07
AO
76632012-10-02 Alexandre Oliva <aoliva@redhat.com>
7664
7665 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7666 sys/sdt-config.h.
7667
408223d4
RM
76682012-10-02 Roland McGrath <roland@hack.frob.com>
7669
7670 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7671 Make 'mapoff' field ElfW(Off) rather than off_t.
7672
bb9510dc
DL
76732012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7674
fc997c6e
DL
7675 * nscd/Makefile: Remove nscd-cflags and all its users.
7676 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7677 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7678
bb9510dc
DL
7679 [BZ #10631]
7680 * malloc.c (malloc_printerr): Clarify error message.
7681
05699367
L
76822012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7683
7684 [BZ #14648]
7685 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7686 Set bit_FMA_Usable if FMA is supported.
7687 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7688 macro.
7689 (bit_FMA4_Usable): Updated.
7690 (index_FMA_Usable): New macro.
7691 (CPUID_FMA): Likewise
7692 (HAS_FMA): Defined with bit_FMA_Usable.
7693
51367701
RM
76942012-10-01 Roland McGrath <roland@hack.frob.com>
7695
7696 * bits/types.h (__swblk_t): Type removed.
7697 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7698 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7699 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7700 (__SWBLK_T_TYPE): Likewise.
7701 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7702 (__SWBLK_T_TYPE): Likewise.
7703 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7704 (__SWBLK_T_TYPE): Likewise.
7705 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7706 (__SWBLK_T_TYPE): Likewise.
7707
4d57bf63 77082012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 7709 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
7710
7711 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7712 (xdr_mapname): Use YPMAXMAP as maxsize.
7713 (xdr_peername): Use YPMAXPEER as maxsize.
7714 (xdr_keydat): Use YPAXRECORD as maxsize.
7715 (xdr_valdat): Use YPMAXRECORD as maxsize.
7716
93c65d43
RM
77172012-10-01 Roland McGrath <roland@hack.frob.com>
7718
497a03d6
RM
7719 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7720
93c65d43
RM
7721 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7722 * csu/init-first.c: ... here.
7723 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7724 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7725 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7726 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7727 * sysdeps/i386/init-first.c: File removed.
7728 * sysdeps/sh/init-first.c: File removed.
7729
bec749fd
JM
77302012-10-01 Joseph Myers <joseph@codesourcery.com>
7731
7732 [BZ #14645]
7733 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7734 if x * y might underflow to zero and z is zero.
7735 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7736 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7737 * math/libm-test.inc (min_subnorm_value): New variable.
7738 (fma_test): Add more tests.
7739 (fma_test_towardzero): Likewise.
7740 (fma_test_downward): Likewise
7741 (fma_test_upward): Likewise.
7742 (initialize): Set min_subnorm_value.
7743
8ec5b013
JM
77442012-09-29 Joseph Myers <joseph@codesourcery.com>
7745
7746 [BZ #14638]
7747 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7748 0 + 0.
7749 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7750 mode for addition resulting in exact zero.
7751 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7752 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7753 exact 0 + 0.
7754 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7755 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7756 * math/libm-test.inc (fma_test): Add more tests.
7757 (fma_test_towardzero): New function.
7758 (fma_test_downward): Likewise.
7759 (fma_test_upward): Likewise.
7760 (main): Call the new functions.
7761
b1fa802e
DM
77622012-09-28 David S. Miller <davem@davemloft.net>
7763
7764 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7765
d3b9fd9e
RM
77662012-09-28 Roland McGrath <roland@hack.frob.com>
7767
ea4d37b3
RM
7768 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7769 instead of SIGALRM.
7770
ac51c949
RM
7771 * sysdeps/gnu/_G_config.h: Moved to ...
7772 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7773 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7774 * sysdeps/generic/_G_config.h: ... here.
7775
28c195f7
RM
7776 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7777
848917f9
RM
7778 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7779
6bacf05b
RM
7780 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7781 Conditionalize target on [libnss_test1.so-version].
7782
91363dbb
RM
7783 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7784
cc87f7d8
RM
7785 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7786 (elfobjdir): Move out of conditionals.
7787
b1c608fe
RM
7788 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7789 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7790 (__nss_lookup_function): Conditionalize label remove_from_tree on
7791 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 7792
1d9a6d96
DM
77932012-09-28 David S. Miller <davem@davemloft.net>
7794
7795 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7796 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7797 file.
7798 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7799 sysdep_routines.
7800 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7801 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7802 when HWCAP_SPARC_CRYPTO is present.
7803
72581615
PT
78042012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7805
7806 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7807
715a900c
JL
78082012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7809
7810 [BZ #6530]
7811 * stdio-common/vfprintf.c (process_string_arg): Revert
7812 2000-07-22 change.
7813
78142011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7815
7816 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7817 for testcase.
7818 * stdio-common/tst-sprintf.c: Include <locale.h>
7819 (main): Test sprintf's handling of incomplete multibyte
7820 characters.
7821
9bac1d86
L
78222012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7823
7824 * elf/dl-runtime.c (VERSYMIDX): Removed.
7825 * elf/dl-version.c (VERSYMIDX): Likewise.
7826 * elf/do-rel.h (VERSYMIDX): Likewise.
7827 (VALIDX): Likewise.
7828 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7829 * elf/rtld.c (VALIDX): Likewise.
7830 (ADDRIDX): Likewise.
9bac1d86
L
7831 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
7832 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
7833 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
7834 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
7835 (VALIDX): Likewise.
7836 (ADDRIDX): Likewise.
9bac1d86 7837
b31606c0
PT
78382012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7839
7840 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
7841
11541177
JL
78422012-09-28 Dmitry V. Levin <ldv@altlinux.org>
7843
7844 [BZ #11438]
7845 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
7846 to global scope.
7847 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
7848 addresses are in the same scope as 192.0.2/24.
7849 * posix/gai.conf: Document new scope table defaults.
7850
adb26fae
SP
78512012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7852
7853 [BZ #5298]
7854 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
7855 for ftell. Compute offsets from write pointers instead.
7856 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7857
4573c6b0
SP
78582012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7859
7860 [BZ #14543]
7861 * libio/Makefile (tests): New test case tst-fseek.
7862 * libio/tst-fseek.c: New test case to verify that fseek/ftell
7863 combination works in wide mode.
7864 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
7865 state when the external buffer state changes.
7866
aa9bbfe6
DM
78672012-09-27 David S. Miller <davem@davemloft.net>
7868
7869 [BZ #14376]
7870 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
7871 pass reloc->r_addend in as the 'high' argument to
7872 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
7873
784421e7
DM
7874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7875
c39bc8b8
PT
78762012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7877
7878 * rt/tst-aio2.c: Include <pthread.h>.
7879 * rt/tst-aio3.c: Likewise.
7880
1ccc2399
SE
78812012-09-27 Steve Ellcey <sellcey@mips.com>
7882
7883 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
7884
31ed4153
L
78852012-09-27 H.J. Lu <hongjiu.lu@intel.com>
7886
25f5f885
L
7887 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
7888 contents on [SHARED].
31ed4153 7889
b7bfe116
MP
78902012-09-26 Marek Polacek <polacek@redhat.com>
7891
7892 [BZ #14530]
7893 [BZ #13741]
7894 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
7895 for C++ and GCC <4.3 as well as for non GCC compilers.
7896
43c4edba
MT
78972012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
7898
7899 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7900
6a1bf82f
RM
79012012-09-25 Roland McGrath <roland@hack.frob.com>
7902
7903 * Makefile.in (all, install): Declare with .PHONY.
7904 Reported by Michael Hope <michael.hope@linaro.org>.
7905
8ad11b9a
TMQMF
79062012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7907
7908 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
7909 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
7910 system header.
7911 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
7912 Likewise.
7913 (sydep_routines): Add the new and the internal functions.
7914 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
7915 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
7916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
7917 (GLIBC_2.17): Add the new function.
7918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
7919 (GLIBC_2.17): Likewise.
7920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
7921 (GLIBC_2.17): Likewise.
7922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
7923 (GLIBC_2.17): Likewise.
7924 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
7925
7e2fca8d
AM
79262012-09-25 Alan Modra <amodra@gmail.com>
7927
7928 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
7929 Add release barrier before setting once_control to say
7930 initialisation is done. Add hints on lwarx. Use macro in
7931 place of isync.
7932 (clear_once_control): Add release barrier.
7933
b87c4b24
JM
79342012-09-25 Joseph Myers <joseph@codesourcery.com>
7935
d032e0d2
JM
7936 [BZ #13629]
7937 * math/s_clog.c (__clog): Handle more values close to |z| = 1
7938 specially.
7939 * math/s_clog10.c (__clog10): Likewise.
7940 * math/s_clog10f.c (__clog10f): Likewise.
7941 * math/s_clog10l.c (__clog10l): Likewise.
7942 * math/s_clogf.c (__clogf): Likewise.
7943 * math/s_clogl.c (__clogl): Likewise.
7944 * math/Makefile (libm-calls): Add x2y2m1.
7945 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
7946 (__x2y2m1): Likewise.
7947 (__x2y2m1l): Likewise.
7948 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
7949 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
7950 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7951 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7952 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7953 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
7954 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
7955 * sysdeps/i386/fpu/libm-test-ulps: Update.
7956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7957
b87c4b24
JM
7958 [BZ #14621]
7959 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
7960 int as type of variable DEPTH.
7961 (glob): Use size_t instead of int as type of variables NEWCOUNT
7962 and OLD_PATHC.
7963
6d3bf199
LD
79642012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7965
22bf5c17
LD
7966 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
7967 Add s_sincosf-sse2.
7968 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
7969 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
7970 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
7971 macros for using routine as __sincosf_ia32.
7972 Use macro for function declaration and weak_alias.
7973 * sysdeps/i386/fpu/libm-test-ulps: Update.
7974
7975 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
7976 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7977
7978 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
7979 subnormal argument.
7980 * math/s_cexpf.c (__cexpf): Likewise.
7981 * math/s_csinf.c (__csinf): Likewise.
7982 * math/s_csinhf.c (__csinhf): Likewise.
7983 * math/s_ctanf.c (__ctanf): Likewise.
7984 * math/s_ctanhf.c (__ctanhf): Likewise.
7985 * math/s_ccosh.c (__ccoshf): Likewise.
7986 * math/s_cexp.c (__cexpl): Likewise.
7987 * math/s_csin.c (__csin): Likewise.
7988 * math/s_csinh.c (__csinh): Likewise.
7989 * math/s_ctan.c (__ctan): Likewise.
7990 * math/s_ctanh.c (ctanh): Likewise.
7991 * math/s_ccoshl.c (__ccoshl): Likewise.
7992 * math/s_cexpl.c (__cexpl): Likewise.
7993 * math/s_csinl.c (__csinl): Likewise.
7994 * math/s_csinhl.c (__csinhl): Likewise.
7995 * math/s_ctanl.c (__ctanl): Likewise.
7996 * math/s_ctanhl.c (__ctanhl): Likewise.
7997
203e5603
JM
79982012-09-25 Joseph Myers <joseph@codesourcery.com>
7999
8000 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8001 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8002 (_IO_off_t): Define to __off_t, not _G_off_t.
8003 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8004 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8005 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8006 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8007 type of __dummy and __dummy2 fields.
8008 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8009 (_G_ssize_t): Likewise.
8010 (_G_off_t): Likewise.
8011 (_G_pid_t): Likewise.
8012 (_G_uid_t): Likewise.
8013 (_G_wchar_t): Likewise.
8014 (_G_wint_t): Likewise.
8015 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8016 (_G_ssize_t): Likewise.
8017 (_G_off_t): Likewise.
8018 (_G_pid_t): Likewise.
8019 (_G_uid_t): Likewise.
8020 (_G_wchar_t): Likewise.
8021 (_G_wint_t): Likewise.
8022 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8023 (_G_ssize_t): Likewise.
8024 (_G_off_t): Likewise.
8025 (_G_pid_t): Likewise.
8026 (_G_uid_t): Likewise.
8027 (_G_wchar_t): Likewise.
8028 (_G_wint_t): Likewise.
8029
9fab36eb
SP
80302012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8031
8032 * malloc/arena.c: Include malloc-sysdep.h.
8033 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8034 is sufficient to shrink the heap or an unmap is needed.
8035 * sysdeps/generic/malloc-sysdep.h: New file. Define
8036 new function check_may_shrink_heap.
8037 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8038 new function check_may_shrink_heap.
8039
2b4f00d1
SP
80402012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8041
8042 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8043 comments.
8044
9a9028b1
DL
80452012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8046
57c69bef
DL
8047 * catgets/test-gencat.sh: Add "set -e".
8048 * elf/tst-pathopt.sh: Likewise.
8049 * grp/tst_fgetgrent.sh: Likewise.
8050 * iconvdata/run-iconv-test.sh: Likewise.
8051 * intl/tst-gettext.sh: Likewise.
8052 * intl/tst-gettext2.sh: Likewise.
8053 * intl/tst-gettext4.sh: Likewise.
8054 * intl/tst-gettext6.sh: Likewise.
8055 * intl/tst-translit.sh: Likewise.
8056 * io/ftwtest-sh: Likewise.
8057 * libio/test-freopen.sh: Likewise.
8058 * malloc/tst-mtrace.sh: Likewise.
8059 * posix/globtest.sh: Likewise.
8060 * posix/tst-getconf.sh: Likewise.
8061 * posix/wordexp-tst.sh: Likewise.
8062 * stdio-common/tst-printf.sh: Likewise.
8063 * stdio-common/tst-unbputc.sh: Likewise.
8064 * stdlib/tst-fmtmsg.sh: Likewise.
8065 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8066 * catgets/Makefile: Do not specify -e option when running
8067 testsuite shell scripts.
8068 * elf/Makefile: Likewise.
8069 * grp/Makefile: Likewise.
8070 * iconvdata/Makefile: Likewise.
8071 * intl/Makefile: Likewise.
8072 * io/Makefile: Likewise.
8073 * libio/Makefile: Likewise.
8074 * malloc/Makefile: Likewise.
8075 * posix/Makefile: Likewise.
8076 * stdio-common/Makefile: Likewise.
8077 * stdlib/Makefile: Likewise.
8078 * sysdeps/x86_64/Makefile: Likewise.
8079
9a9028b1
DL
8080 * io/ftwtest-sh: Add copyright header.
8081 * posix/globtest.sh: Likewise.
8082 * posix/tst-getconf.sh: Likewise.
8083 * posix/wordexp-tst.sh: Likewise.
8084 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8085
ced6f16e
L
80862012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8087
94b32c39
L
8088 [BZ #13679]
8089 * Makeconfig (+link): Defined as $(+link-static) if
8090 $(build-shared) isn't yes.
8091 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8092 isn't yes.
8093 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8094
189e935b
L
8095 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8096
ced6f16e
L
8097 [BZ #14562]
8098 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8099 new chunk size with MALLOC_ALIGN_MASK.
8100
a9f8e53a
JM
81012012-09-24 Joseph Myers <joseph@codesourcery.com>
8102
8103 [BZ #5044]
8104 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8105 <rounding-mode.h>.
8106 (__printf_fphex): Determine rounding using get_rounding_mode and
8107 round_away.
8108 * stdio-common/tst-printf-round.c (struct hex_test): New
8109 structure.
8110 (hex_tests): New variable.
8111 (test_hex_in_one_mode): New function.
8112 (do_test): Also run tests for hex float output.
8113
43153109
JM
81142012-09-21 Joseph Myers <joseph@codesourcery.com>
8115
8116 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8117 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8118 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8119 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8120 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8121 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8122 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8123 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8124
8a26625d
JM
81252012-09-20 Joseph Myers <joseph@codesourcery.com>
8126
8127 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8128 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8129 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8130 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8131
f3fd569c
DL
81322012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8133
8134 [BZ #14579]
8135 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8136 mode only.
8137 * elf/tst-rtld-load-self.sh: New test.
8138 * elf/Makefile: Run it.
8139
63bbedd4
JM
81402012-09-18 Joseph Myers <joseph@codesourcery.com>
8141
8142 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8143 (tst-writev-ENV): Remove.
8144 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8145
626f8b6a
CM
81462012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8147
8148 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8149
b7aaa4d6
JM
81502012-09-17 Joseph Myers <joseph@codesourcery.com>
8151
8152 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8153 unconditional.
8154 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8155 Likewise.
8156 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8157 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8158 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8159 Likewise.
8160
65513990
L
81612012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8162
8163 [BZ #14587]
8164 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8165 * config.make.in (have-cpp-asm-debuginfo): Removed.
8166 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8167 * configure: Regenerated.
8168
784761be
JM
81692012-09-14 Joseph Myers <joseph@codesourcery.com>
8170
8171 [BZ #5044]
8172 * stdio-common/printf_fp.c: Include <stdbool.h> and
8173 <rounding-mode.h>.
8174 (___printf_fp): Determine rounding using get_rounding_mode and
8175 round_away.
8176 * stdio-common/tst-printf-round.c: New file.
8177 * stdio-common/Makefile (tests): Add tst-printf-round.
8178 (link-libm): New variable.
8179 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8180
9503345f
L
81812012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8182
8183 [BZ #14576]
8184 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8185 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8186 Likewise.
8187 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8188 Likewise.
8189
ad35fc00
JM
81902012-09-13 Joseph Myers <joseph@codesourcery.com>
8191
8192 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8193 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8194 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8195 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8196
6c9b0f68
JM
81972012-09-12 Joseph Myers <joseph@codesourcery.com>
8198
8199 [BZ #14518]
8200 * include/rounding-mode.h: New file.
8201 * sysdeps/generic/get-rounding-mode.h: Likewise.
8202 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8203 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8204 (MAX_VALUE): New macro.
8205 (MIN_VALUE): Likewise.
8206 (overflow_value): New function.
8207 (underflow_value): Likewise.
8208 (round_and_return): Use overflow_value and underflow_value to
8209 determine return values in overflow and underflow cases. Use
8210 round_away to determine rounding depending on rounding mode.
8211 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8212 determine return values in overflow and underflow cases.
8213 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8214 (struct test_results): New structure.
8215 (struct test): Use struct test_results to store expected results
8216 for all rounding modes.
8217 (TEST): Include expected results for all rounding modes.
8218 (test_in_one_mode): New function.
8219 (do_test): Use test_in_one_mode to compute and check results.
8220 Check results for all rounding modes.
8221 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8222 $(link-libm).
8223
19fcedd5
AM
82242012-12-09 Allan McRae <allan@archlinux.org>
8225
1e9d84cd 8226 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 8227
8bbfd2f1
JM
82282012-09-11 Joseph Myers <joseph@codesourcery.com>
8229
8230 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8231 (_G_int32_t): Likewise.
8232 (_G_uint16_t): Likewise.
8233 (_G_uint32_t): Likewise.
8234 (_G_HAVE_BOOL): Likewise.
8235 (_G_HAVE_ATEXIT): Likewise.
8236 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8237 (_G_HAVE_IO_FILE_OPEN): Likewise.
8238 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8239 (_G_int32_t): Likewise.
8240 (_G_uint16_t): Likewise.
8241 (_G_uint32_t): Likewise.
8242 (_G_HAVE_BOOL): Likewise.
8243 (_G_HAVE_ATEXIT): Likewise.
8244 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8245 (_G_HAVE_IO_FILE_OPEN): Likewise.
8246 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8247 (_G_int32_t): Likewise.
8248 (_G_uint16_t): Likewise.
8249 (_G_uint32_t): Likewise.
8250 (_G_HAVE_BOOL): Likewise.
8251 (_G_HAVE_ATEXIT): Likewise.
8252 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8253 (_G_HAVE_IO_FILE_OPEN): Likewise.
8254
b1dc5912
L
82552012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8256
8257 * csu/libc-tls.c: Update copyright years.
8258
0e886ef9
JM
82592012-09-10 Joseph Myers <joseph@codesourcery.com>
8260
28361c5e
JM
8261 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8262 [!_G_USING_THUNKS]: Remove conditional code.
8263 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8264 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8265
0e886ef9
JM
8266 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8267 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8268 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8269 (_G_VTABLE_LABEL_PREFIX): Likewise.
8270 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8271 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8272 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8273 (_G_VTABLE_LABEL_PREFIX): Likewise.
8274 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8275 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8276 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8277 (_G_VTABLE_LABEL_PREFIX): Likewise.
8278 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8279
bcba7aa2
L
82802012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8281
8282 * libio/Makefile: Include ../Makeconfig before tests.
8283 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8284 only if $(build-shared) is yes.
8285
06585ee8
L
8286 * iconv/gconv_db.c: Update copyright years.
8287
80ccd52c
LD
82882012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8289
8290 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8291 unwind info if defined PIC. Fix special cases description.
8292 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8293
8294 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8295 DP_HI_MASK entry.
8296 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8297
691bc9c1
L
82982012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8299
3d9b46b3
L
8300 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8301
de2139a9
L
8302 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8303 is NULL.
8304
5ca78dd0
L
8305 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8306 (LDLIBS-tst-chk4): This.
8307 (LDFLAGS-tst-chk5): Renamed to ...
8308 (LDLIBS-tst-chk5): This.
8309 (LDFLAGS-tst-chk6): Renamed to ...
8310 (LDLIBS-tst-chk6): This.
8311 (LDFLAGS-tst-lfschk4): Renamed to ...
8312 (LDLIBS-tst-lfschk4): This.
8313 (LDFLAGS-tst-lfschk5): Renamed to ...
8314 (LDLIBS-tst-lfschk5): This.
8315 (LDFLAGS-tst-lfschk6): Renamed to ...
8316 (LDLIBS-tst-lfschk6): This.
8317
691bc9c1
L
8318 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8319 on $(common-objpfx)soversions.mk.
8320
65cafb1c
JM
83212012-09-07 Joseph Myers <joseph@codesourcery.com>
8322
8323 [BZ #10014]
8324 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8325 example host name.
8326
c78ab094
SP
83272012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8328
8329 * malloc/arena.c (arena_get_retry): New function that gets
8330 another arena for the caller to try its request on.
8331 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8332 current arena cannot fulfill the request.
8333 (__libc_memalign): Likewise.
8334 (__libc_memalign): Likewise.
8335 (__libc_pvalloc): Likewise.
8336 (__libc_calloc): Likewise.
8337
01f49f59
JT
83382012-09-05 John Tobey <john.tobey@gmail.com>
8339
8340 [BZ #13542]
8341 * manual/arith.texi (Operations on Complex): Fix description
8342 of carg branch cut.
8343
4c23fed5
JM
83442012-09-06 Joseph Myers <joseph@codesourcery.com>
8345
1d3c8572
JM
8346 [BZ #10014]
8347 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8348 host name.
8349
4c23fed5
JM
8350 [BZ #10038]
8351 * manual/memory.texi (Memory): Make order of menu items match
8352 order of sections.
8353
04570aaa
L
83542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8355
8356 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8357 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8358 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8359
b80af2f4
L
83602012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8361
8362 * csu/libc-tls.c (static_dtv): Renamed to ...
8363 (_dl_static_dtv): This. Make it global.
8364 (_dl_initial_dtv): Removed.
8365 (__libc_setup_tls): Updated.
8366 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8367 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8368 DL_INITIAL_DTV.
8369
2abe9f15
PM
83702012-09-06 Petr Machata <pmachata@redhat.com>
8371
8372 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8373 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8374 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8375 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8376
0948c3af
L
83772012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8378
8379 [BZ #14545]
8380 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8381 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8382 freeing dtv[-1].
8383
a5055ad1
L
83842012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8385
8386 [BZ #14544]
8387 * Makeconfig (link-static-before-libc): Replace $(+prector)
8388 with $(+prectorT).
8389 (link-static-after-libc): Replace $(+postctor) with
8390 $(+postctorT).
8391 (link-bounded): Replace $(+prector)/$(+postctor) with
8392 $(+prectorT)/$(+postctorT).
8393 (+prectorT): New macro.
8394 (+postctorT): Likewise.
8395
ed8c2ecd
JM
83962012-09-06 Joseph Myers <joseph@codesourcery.com>
8397
8398 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8399 (round_str): Handle values above the maximum for IBM long double
8400 as inexact.
8401 * stdlib/tst-strtod-round.c (tests): Regenerated.
8402
14c996c8
AK
84032012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8404
8405 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8406 assembler flag.
8407 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8408 zarch_nohighgprs around the zarch optimized routines.
8409 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8410 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8411 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8412 for zarch.
8413
430d6ce6
DM
84142012-09-05 David S. Miller <davem@davemloft.net>
8415
8416 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8417
ff04dda4
DM
8418 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8419 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8420 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8421 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8422 entries.
8423
24d4e01b
AO
84242012-09-05 Alexandre Oliva <aoliva@redhat.com>
8425
8426 * malloc/arena.c: Fold copyright years.
8427 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8428
61d58174
AO
84292012-09-05 Alexandre Oliva <aoliva@redhat.com>
8430
8431 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8432
20196a5e
AO
84332012-09-05 Alexandre Oliva <aoliva@redhat.com>
8434
8435 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8436
5c447383
AO
84372012-09-05 Alexandre Oliva <aoliva@redhat.com>
8438
8439 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8440 change internal state upon failure.
8441
fad64255
AO
84422012-09-05 Alexandre Oliva <aoliva@redhat.com>
8443
8444 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8445 * malloc/memusage.c (mmap): Likewise.
8446 (mmap64, mremap): Likewise. Adjust name in comment.
8447
1ffb8c90
SP
84482012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8449
8450 * libio/fileops.c: Fix typos in comments.
8451 * libio/oldfileops.c: Likewise.
8452 * libio/wfileops.c: Likewise.
8453
6ef9cc37
SP
84542012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8455
8456 [BZ #1349]
8457 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8458 (tst-malloc-usable-ENV): Set environment for test case.
8459 * malloc/hooks.c (malloc_check_get_size): New function to get
8460 requested size.
8461 * malloc/malloc.c (musable): Use malloc_check_get_size.
8462 * malloc/tst-malloc-usable.c: New test case.
8463
4d038ae3
AS
84642012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8465
8466 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8467
c4e85184
AM
84682012-09-05 Allan McRae <allan@archlinux.org>
8469
b9dafc56 8470 [BZ #13966]
c4e85184
AM
8471 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8472 determine header location.
8473 * configure: Regenerated.
8474
e1343020
AS
84752012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8476
8477 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8478 float format.
8479 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
8480 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8481 format.
e1343020
AS
8482 (test): Regenerate.
8483
0a9f1987
DM
84842012-09-04 David S. Miller <davem@davemloft.net>
8485
8486 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8487 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8488 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8489
29237804
FW
84902012-09-04 Florian Weimer <fweimer@redhat.com>
8491
8492 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8493 failures.
8494
edb3cb88
FW
8495 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8496
60160d83
JM
84972012-09-04 Joseph Myers <joseph@codesourcery.com>
8498
8499 [BZ #9914]
8500 * libio/iogetdelim.c: Include <limits.h>.
8501 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8502 + len + 1 would overflow.
8503
bcd6c8dc
AJ
85042012-09-03 Andreas Jaeger <aj@suse.de>
8505
8506 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8507 * sysdeps/i386/fpu/libm-test-ulps: Update.
8508
4ffffbd2
LD
85092012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8510
8511 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8512 Add s_sinf-sse2, s_conf-sse2.
8513
8514 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8515 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8516 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8517 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8518
8519 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8520 for using routine as __sinf_ia32.
8521 Use macro for function declaration and weak_alias.
8522 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8523 for using routine as __cosf_ia32.
8524 Use macro for function declaration and weak_alias.
8525
8526 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8527 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8528
8529 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8530 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8531 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8532
8533 * math/libm-test.inc (cos_test): Add more test cases.
8534 (sin_test): Likewise.
8535 (sincos_test): Likewise.
8536
511fa286
AK
85372012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8538
8539 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8540 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8541 hidden.
8542 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8543
5f30cfec
L
85442012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8545
8546 [BZ #14538]
8547 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8548 first element of the GOT.
8549 (elf_machine_load_address): Return the difference between
8550 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8551
0786794f
AM
85522012-09-01 Allan McRae <allan@archlinux.org>
8553
5f30cfec
L
8554 [BZ #13412]
8555 * configure.in (AWK): Require gawk version 3.0 or later.
8556 * configure: Regenerated.
0786794f 8557
26889eac
JM
85582012-09-01 Joseph Myers <joseph@codesourcery.com>
8559
8560 * sysdeps/unix/sysv/linux/kernel-features.h
8561 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8562 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8563 [__NR_clock_getres]: Make code unconditional.
8564 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8565 (clock_getcpuclockid): Remove code left unreachable by removal of
8566 conditionals.
8567 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8568 code unconditional.
8569 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8570 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8571 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8572 Make code unconditional.
8573 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8574 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8575 * sysdeps/unix/sysv/linux/clock_settime.c
8576 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8577 conditional code.
8578 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8579 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8580
d22e28b0
L
85812012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8582
8583 [BZ #14476]
8584 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8585 scripts/test-installation.pl.
8586
8587 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8588 and $ld_so_version if it is set.
8589
050af9c4
SP
85902012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8591
8592 [BZ #14516]
8593 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8594 failure if reading from procfs failed.
8595 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8596
ad845c0b
JM
85972012-08-27 Joseph Myers <joseph@codesourcery.com>
8598
8599 * sysdeps/unix/sysv/linux/kernel-features.h
8600 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8601 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8602 Remove conditional code.
8603 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8604 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8605 Remove conditional code.
8606 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8607 * sysdeps/unix/sysv/linux/i386/fxstat.c
8608 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8609 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8610 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8611 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8612 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8613 * sysdeps/unix/sysv/linux/i386/lxstat.c
8614 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8615 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8616 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8617 Remove conditional code.
8618 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8619 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8620 Remove conditional code.
8621 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8622 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8623 <kernel-features.h>.
8624 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8625 Remove.
8626 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8627 Remove conditional code.
8628 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8629 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8630 Remove conditional.
8631
5dbf56af
MF
86322012-08-27 Mike Frysinger <vapier@gentoo.org>
8633
8634 [BZ #5400]
8635 * NEWS: Add fixed bug number.
8636
d6e70f43
JM
86372012-08-27 Joseph Myers <joseph@codesourcery.com>
8638
7efb4737
JM
8639 [BZ #14519]
8640 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8641 underflowing exponent in case of negative sign.
8642 * stdlib/tst-strtod-round-data: Add more tests.
8643 * stdlib/tst-strtod-round.c (tests): Regenerated.
8644
af92131a
JM
8645 [BZ #3479]
8646 * stdlib/strtod_l.c (NDIG): Remove.
8647 (HEXNDIG): Likewise.
8648 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8649 smallest representable value.
8650 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8651 lie within an exact representation of 1/2 ulp of the result.
8652 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8653 unconditionally.
8654 (TENS_P9_IDX): Define unconditionally.
8655 (TENS_P9_SIZE): Likewise.
8656 (TENS_P10_IDX): Likewise.
8657 (TENS_P10_SIZE): Likewise.
8658 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8659 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8660 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8661 entries for 10^2^13 and 10^2^14.
8662 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8663 (TENS_P13_IDX): Define.
8664 (TENS_P13_SIZE): Likewise.
8665 (TENS_P14_IDX): Likewise.
8666 (TENS_P14_SIZE): Likewise.
8667 (_fpioconst_pow10): Change array size to
8668 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8669 unconditional.
8670 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8671 1024]: Add entries for 10^2^13 and 10^2^14.
8672 [LAST_POW10 > _LAST_POW10]: Remove #error.
8673 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8674 (_fpioconst_pow10): Change array size to
8675 FPIOCONST_POW10_ARRAY_SIZE.
8676 * stdlib/gen-fpioconst.c: New file.
8677 * stdlib/gen-tst-strtod-round.c: Likewise.
8678 * stdlib/tst-strtod-round-data: Likewise.
8679 * stdlib/tst-strtod-round.c: Likewise.
8680 * stdlib/Makefile (tests): Add tst-strtod-round.
8681
d6e70f43
JM
8682 [BZ #14459]
8683 * stdlib/strtod_l.c: Include <stdint.h>.
8684 (NDEBUG): Do not define.
8685 (round_and_return): Change EXPONENT parameter to type intmax_t.
8686 Rearrange calculations to avoid internal overflow possibilities.
8687 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8688 Rearrange calculations to avoid internal overflow possibilities.
8689 Assert that number fits inside MPNSIZE limbs.
8690 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8691 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8692 calculations and add assertions to avoid internal overflow
8693 possibilities. Add casts to avoid signed/unsigned operations.
8694 * stdlib/tst-strtod-overflow.c: New file.
8695 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8696
1f529f7d
MP
86972012-08-25 Marek Polacek <polacek@redhat.com>
8698
8699 * time/time.h: Fix some typos in comments.
8700
59a629f1
RM
87012012-08-23 Roland McGrath <roland@hack.frob.com>
8702
8703 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8704 * posix/tst-rfc3484-2.c: Likewise.
8705 * posix/tst-rfc3484-3.c: Likewise.
8706
d3bafbc9
SM
87072012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8708
8709 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8710 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8711
4efcc022
JM
87122012-08-23 Joseph Myers <joseph@codesourcery.com>
8713
8714 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8715 #include of fxstatat64.c.
8716
3cc3ef96
RM
87172012-08-22 Roland McGrath <roland@hack.frob.com>
8718
f04e2132
RM
8719 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8720 * shadow/getspent_r.c: Likewise.
8721 * shadow/getspnam.c: Likewise.
8722 * shadow/getspnam_r.c: Likewise.
8723 * gshadow/getsgent.c: Likewise.
8724 * gshadow/getsgent_r.c: Likewise.
8725 * gshadow/getsgnam.c: Likewise.
8726 * gshadow/getsgnam_r.c: Likewise.
8727 * inet/getnetbyad.c: Likewise.
8728 * inet/getnetbyad_r.c: Likewise.
8729 * inet/getnetbynm.c: Likewise.
8730 * inet/getnetbynm_r.c: Likewise.
8731 * inet/getnetent.c: Likewise.
8732 * inet/getnetent_r.c: Likewise.
8733 * inet/getproto.c: Likewise.
8734 * inet/getproto_r.c: Likewise.
8735 * inet/getprtent.c: Likewise.
8736 * inet/getprtent_r.c: Likewise.
8737 * inet/getprtname.c: Likewise.
8738 * inet/getprtname_r.c: Likewise.
8739 * inet/getrpcbyname.c: Likewise.
8740 * inet/getrpcbyname_r.c: Likewise.
8741 * inet/getrpcbynumber.c: Likewise.
8742 * inet/getrpcbynumber_r.c: Likewise.
8743 * inet/getrpcent.c: Likewise.
8744 * inet/getrpcent_r.c: Likewise.
8745 * inet/getaliasent.c: Likewise.
8746 * inet/getaliasent_r.c: Likewise.
8747 * inet/getaliasname.c: Likewise.
8748 * inet/getaliasname_r.c: Likewise.
8749 * nscd/getgrgid_r.c: Likewise.
8750 * nscd/getgrnam_r.c: Likewise.
8751 * nscd/gethstbyad_r.c: Likewise.
8752 * nscd/gethstbynm3_r.c: Likewise.
8753 * nscd/getpwnam_r.c: Likewise.
8754 * nscd/getpwuid_r.c: Likewise.
8755 * nscd/getsrvbynm_r.c: Likewise.
8756 * nscd/getsrvbypt_r.c: Likewise.
8757 * nscd/gai.c: Likewise.
8758
c53d909c
RM
8759 * configure.in (build_nscd): New substituted variable, set
8760 by --disable-build-nscd and defaults to $use_nscd.
8761 * configure: Regenerated.
8762 * config.make.in (build-nscd): New substituted variable.
8763 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8764 Change conditional to require [$(build-nscd) = yes] as well.
8765 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8766
3cc3ef96
RM
8767 [BZ# 13696]
8768 * configure.in (use_nscd): New substituted variable, set by
8769 --disable-nscd. If enabled, define USE_NSCD.
8770 * configure: Regenerated.
8771 * config.h.in: Add USE_NSCD.
8772 * config.make.in (use-nscd): New substituted variable.
8773 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8774 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8775 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8776 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8777 (CFLAGS-getgrnam_r.c): Likewise.
8778 (CFLAGS-initgroups.c): Likewise.
8779 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8780 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8781 Variables removed.
8782 * inet/getnetgrent_r.c
8783 (nscd_setnetgrent): New function, broken out of ...
8784 (setnetgrent): ... here. Call it.
8785 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8786 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8787 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8788 * nscd/Makefile (routines, aux): Move definitions after include of
8789 Makeconfig. Conditionalize on [$(use-nscd) != no].
8790 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8791 Conditionalize on [USE_NSCD].
8792 (is_nscd, nscd_init_cb): Likewise.
8793 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8794 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8795 * nss/nss_db/db-init.c: Likewise.
8796 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8797 [USE_NSCD].
8798 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8799 (make_request): Use it.
8800 (cache_valid_p): New function.
8801 (__check_pf): Use it.
8802 * NEWS: Add item for --disable-nscd.
8803
07e51550
DL
88042012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8805
8806 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8807 to support sed >= 4.2.1-20-ga9bf076.
8808 * configure: Regenerated.
8809
35a5b08b
RM
88102012-08-22 Roland McGrath <roland@hack.frob.com>
8811
8812 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8813 Conditionalize whole body on [IREL].
8814
8479f23a
JL
88152012-08-22 Jeff Law <law@redhat.com>
8816
8817 [BZ #14505]
8818 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8819 if the family is PF_UNSPEC.
8820
48da0b21
MF
88212012-08-22 Mike Frysinger <vapier@gentoo.org>
8822
8823 * Makerules (lib-version): Rename from V.
8824 (install-lib-nosubdir): Change V to lib-version.
8825
15d0da8c
WS
88262012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8827
8828 [BZ #14252]
8829 * powerpc32/power6/wcschr.c: New file.
8830 * powerpc32/power6/wcscpy.c: New file.
8831 * powerpc32/power6/wcsrchr.c: New file.
8832 * powerpc64/power6/wcschr.c: New file.
8833 * powerpc64/power6/wcscpy.c: New file.
8834 * powerpc64/power6/wcsrchr.c: New file.
8835
bcca0895
MK
88362012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8837
8838 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
8839 (two_way_short_needle): Use it.
5a4aaa33
RM
8840 * string/strstr.c (AVAILABLE1_USES_J): Define.
8841 * string/strcasestr.c: Likewise.
99677e57
MK
8842
8843 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
8844 array references.
8845 * string/strcasestr.c (TOLOWER): Make side-effect safe.
8846
400726de
MK
8847 [BZ #11607]
8848 * NEWS: Add an entry.
8849 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
8850 define their defaults.
8851 (two_way_short_needle): Detect end-of-string on-the-fly.
8852 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
8853 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
8854 * string/bug-strcasestr1.c: New test.
8855 * string/Makefile: Run it.
8856
20a71f2c
MK
88572012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
8858
8859 [BZ #11607]
8860 * string/str-two-way.h (two_way_short_needle): Optimize matching of
8861 the first character.
8862
21ad0558
RM
88632012-08-21 Roland McGrath <roland@hack.frob.com>
8864
8865 * csu/elf-init.c (__libc_csu_irel): Function removed.
8866 * csu/libc-start.c (apply_irel): New function.
8867 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
8868
0e1d9911
JM
88692012-08-21 Joseph Myers <joseph@codesourcery.com>
8870
8871 * sysdeps/unix/sysv/linux/kernel-features.h
8872 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
8873 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8874 <kernel-features.h>.
8875 [__NR_fadvise64_64]: Make code unconditional.
8876 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
8877 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8878 !__NR_fadvise64_64)]: Likewise.
8879 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
8880 !__NR_fadvise64_64))]: Likewise.
8881 [__NR_fadvise64]: Make code unconditional.
8882 [!__NR_fadvise64]: Remove conditional code.
8883 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
8884 <kernel-features.h>.
8885 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8886 unconditional.
8887 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8888 conditional code.
8889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
8890 not include <kernel-features.h>.
8891 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8892 unconditional.
8893 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8894 conditional code.
8895 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
8896 include <kernel-features.h>.
8897 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
8898 unconditional.
8899 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
8900 conditional code.
8901
14a50c9d
WS
89022012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
8903
8904 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
8905 slight instruction rearrangements per scrollpipe analysis.
8906 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8907
c0f4faf0
RM
89082012-08-20 Roland McGrath <roland@hack.frob.com>
8909
696da859
RM
8910 * manual/syslog.texi (syslog; vsyslog, closelog):
8911 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
8912 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
8913
c0f4faf0
RM
8914 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
8915 DSOCAPS to match condition on defining it.
8916
348363b2
JM
89172012-08-20 Joseph Myers <joseph@codesourcery.com>
8918
a35cbf28
JM
8919 * sysdeps/unix/sysv/linux/kernel-features.h
8920 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
8921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
8922 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8923 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
8925 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8926 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
8928 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
8929 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
8930
445f7ecd
JM
8931 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
8932 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
8933
348363b2
JM
8934 * sysdeps/unix/sysv/linux/kernel-features.h
8935 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
8936 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
8937 unconditional.
8938 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8939 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
8940 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8941 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8942 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
8943 Make code unconditional.
8944 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8945 (__mmap64) [!__NR_mmap2]: Likewise.
8946 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
8947 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
8948 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8949 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
8950 [__NR_mmap2]: Make code unconditional.
8951 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
8952 (__mmap64) [!__NR_mmap2]: Likewise.
8953
bc5bc0e5
AK
89542012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8955
8956 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
8957
88d506de
AJ
89582012-08-18 Andreas Jaeger <aj@suse.de>
8959
8960 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
8961
493387d2
MF
89622012-08-18 Mike Frysinger <vapier@gentoo.org>
8963
8964 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
8965 * include/unistd.h (__have_sock_cloexec): Likewise.
8966 (__have_pipe2): Likewise.
8967 (__have_dup3): Likewise.
8968
a277af22
MF
89692012-08-18 Mike Frysinger <vapier@gentoo.org>
8970
8971 [BZ #9685]
8972 * include/unistd.h (__have_pipe2): Change define into an extern int.
8973 (__have_dup3): Likewise.
8974 * socket/have_sock_cloexec.c: Include fcntl.h.
8975 (__have_pipe2): New variable.
8976 (__have_dup3): Likewise.
8977
fdab8fd3
MF
89782012-08-17 Mike Frysinger <vapier@gentoo.org>
8979
8980 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
8981
31035e80
MP
89822012-08-17 Marek Polacek <polacek@redhat.com>
8983
8984 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
8985 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
8986
3bd9e993
RM
89872012-08-17 Roland McGrath <roland@hack.frob.com>
8988
c91c505f
RM
8989 * configure.in: Add AC_SUBST for sysheaders.
8990 * configure: Regenerated.
8991 * config.make.in (sysheaders): New substituted variable.
8992
7c6f9d53
RM
8993 * sysdeps/unix/mkfifo.c: Moved ...
8994 * sysdeps/posix/mkfifo.c: ... here.
8995 * sysdeps/unix/mkfifoat.c: Moved ...
8996 * sysdeps/posix/mkfifoat.c: ... here.
8997
8998 * sysdeps/unix/utime.c: Moved ...
8999 * sysdeps/posix/utime.c: ... here.
9000
9001 * sysdeps/unix/time.c: Moved ...
9002 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
9003 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9004 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
9005
9006 * sysdeps/unix/nice.c: Moved ...
9007 * sysdeps/posix/nice.c: ... here.
9008
9009 * sysdeps/unix/alarm.c: Moved ...
9010 * sysdeps/posix/alarm.c: ... here.
9011
3bd9e993
RM
9012 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9013
d1f09384
JL
90142012-08-17 Jeff Law <law@redhat.com>
9015
9016 * intl/Makefile (codeset_mo): New variable.
9017 ($(codeset_mo)): New target.
9018 (tst-codeset.out): Depend on that. Remove explicit rule.
9019 (tst-gettext3.out, tst-gettext5.out): Likewise.
9020 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9021 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9022 * intl/tst-codeset.sh: Remove.
9023 * intl/tst-gettext3.sh: Likewise.
9024 * intl/tst-gettext5.sh: Likewise.
9025
2ae1ae5c
RM
90262012-08-17 Roland McGrath <roland@hack.frob.com>
9027
c31fdb83
RM
9028 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9029 * sysdeps/unix/syscalls.list: ... here.
9030
a0844057
RM
9031 * sysdeps/posix/getaddrinfo.c
9032 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9033 (gaiconf_init, gaiconf_reload): Use them.
9034 [!_STATBUF_ST_NSEC]
9035 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9036 Define using time_t rather than struct timespec.
9037
750c1f2a
RM
9038 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9039 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9040 Macros removed.
9041 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9042 [!NO_THREADS].
9043 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9044 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9045 Likewise.
9046
2ae1ae5c
RM
9047 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9048 __libc_cleanup_push argument.
9049
e66a42f5
RM
9050 * bits/param.h: New file.
9051 * misc/sys/param.h: New file.
9052 * include/sys/param.h: New file.
9053 * misc/Makefile (headers): Add bits/param.h.
9054 * sysdeps/generic/sys/param.h: File removed.
9055 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9056 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9057 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 9058 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 9059
b7c08a66
RM
9060 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9061 last change.
9062
b2e1c562
RM
9063 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9064 [_IO_MTSAFE_IO].
9065 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9066 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9067 New macros.
9068
c75ccd4c
RM
9069 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9070 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9071 rather than -D_IO_MTSAFE_IO conditionally.
9072 * stdio-common/Makefile (CPPFLAGS): Likewise.
9073 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9074 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9075 Use $(libio-mtsafe).
9076 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9077 of -D_IO_MTSAFE_IO.
9078 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9079 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9080 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9081 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9082 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9083 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9084 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9085 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9086 (CFLAGS-fread_u_chk.c): Likewise.
9087 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9088 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9089 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9090 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9091 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9092 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9093 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9094 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9095 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9096
9097 * libio/Makefile: Test [$(libc-reentrant) = yes]
9098 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9099
9100 * Makeconfig
9101 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9102 * sysdeps/pthread/configure: File removed.
9103 * sysdeps/pthread/Makeconfig: New file.
9104 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9105 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9106
d9195db8
GB
91072012-08-16 Gary Benson <gbenson@redhat.com>
9108
9109 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9110 unmapping the first object in a namespace.
9111
86466cd9
RM
91122012-08-16 Roland McGrath <roland@hack.frob.com>
9113
9114 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9115 (__internal_setnetgrent): ... this. Add internal_function to
9116 definition. Add libc_hidden_def.
9117 (setnetgrent): Update caller.
9118 (internal_endnetgrent): Renamed to ...
9119 (__internal_endnetgrent): ... this. Add internal_function to
9120 definition. Add libc_hidden_def.
9121 (endnetgrent): Update caller.
9122 (internal_getnetgrent_r): Renamed to ...
9123 (__internal_getnetgrent_r): ... this. Add internal_function to
9124 definition. Add libc_hidden_def.
9125 (__getnetgrent_r): Update caller.
9126 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9127
c3c8283c
JM
91282012-08-16 Joseph Myers <joseph@codesourcery.com>
9129
9130 * stdlib/longlong.h: Update from GCC.
9131
db1ee0a8
RM
91322012-08-16 Roland McGrath <roland@hack.frob.com>
9133
9134 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9135 on _QL, which is set by umul_ppmm but never used.
9136 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9137 variables, which are set by GMP macros but never used.
9138 * stdio-common/_itowa.c (_itowa): Likewise.
9139 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9140 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9141
30f69637
CD
91422012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9143
9144 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9145 struct La_sh_regs is not constant.
9146 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9147 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9148 and struct La_sparc64_regs are not constant.
9149
93a78ac4
JM
91502012-08-16 Joseph Myers <joseph@codesourcery.com>
9151
9152 * sysdeps/unix/sysv/linux/kernel-features.h
9153 (__ASSUME_POSIX_TIMERS): Remove.
9154 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9155 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9156 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9157 Make code unconditional.
9158 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9159 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9160 Make code unconditional.
9161 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9162 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9163 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9164 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9165 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9166 Make code unconditional.
9167 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9168 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9169 (__libc_missing_posix_timers): Remove.
9170
dd924cd7
RM
91712012-08-15 Roland McGrath <roland@hack.frob.com>
9172
4b4f2771
RM
9173 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9174 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9175
601c888b
RM
9176 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9177
176790a7
RM
9178 * elf/dl-sym.c: Include <stdlib.h>.
9179
329bc018
RM
9180 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9181 constants, which avoids warnings in 32-bit builds.
9182
e04e272d
RM
9183 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9184 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9185
952bf94a
RM
9186 * misc/lseek.c: File moved to ...
9187 * io/lseek.c: ... here.
9188
7c99b50a
RM
9189 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9190
dd924cd7
RM
9191 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9192 shifting LEN more than 31 bits at once.
9193
b3f479a8
LD
91942012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9195
9196 [BZ #14195]
8c4ae0d4
RM
9197 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9198 segmentation fault for a case of two empty input strings.
b3f479a8
LD
9199 * string/test-strncasecmp.c (check1): Renamed to...
9200 (bz12205): ...this.
9201 (bz14195): Add new testcase for two empty input strings and N > 0.
9202 (test_main): Call new testcase, adapt for renamed function.
9203
9c55864e
AJ
92042012-08-15 Andreas Jaeger <aj@suse.de>
9205
9206 [BZ #14090]
9207 * crypt/md5test2.c: New test, based on test supplied by Serge
9208 Belyshev <belyshev@depni.sinp.msu.ru>.
9209 * crypt/Makefile (xtests): Add md5test-giant..
9210 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9211
02dcb6c5
PE
92122012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9213
9214 [BZ #14090]
9215 * crypt/md5.c (md5_process_block): Don't assume the buffer
9216 length is less than 2**32.
9217 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9218 length is less than 2**64.
9219
a3f95dcc
RM
92202012-08-15 Roland McGrath <roland@hack.frob.com>
9221
be75d758
RM
9222 * string/str-two-way.h: Include <sys/param.h>.
9223 (MAX): Macro removed.
9224
7312ca90
RM
9225 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9226 Move #define and #undef of memmove to just before and after
9227 including <string.h>.
9228
9a0a5486
RM
9229 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9230 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9231 and after including <string.h>. Move declarations of
9232 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9233 to before #include "string/memmove.c".
9234
67cc348d
RM
9235 * include/dirent.h: Declare __getdirentries.
9236
a3f95dcc
RM
9237 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9238 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9239
ca98e171
MF
92402012-08-14 Mike Frysinger <vapier@gentoo.org>
9241
9242 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9243 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9244 * sysdeps/i386/configure: Regenerated.
9245 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9246 STABS_CURRENT_FILE, and STABS_FUN.
9247 (END): Remove call to STABS_FUN_END.
9248 (STABS_CURRENT_FILE1): Delete.
9249 (STABS_CURRENT_FILE): Likewise.
9250 (STABS_FUN): Likewise.
9251 (STABS_FUN_END): Likewise.
9252 (STABS_FUN2): Likewise.
9253 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9254 * sysdeps/x86_64/configure: Regenerated.
9255
5908bf46
RM
92562012-08-14 Roland McGrath <roland@hack.frob.com>
9257
9258 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 9259 * elf/dl-lookup.c: Likewise.
5908bf46 9260
f2c05b9e
JM
92612012-08-14 Joseph Myers <joseph@codesourcery.com>
9262
9263 * sysdeps/unix/sysv/linux/kernel-features.h
9264 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9265 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9266 unconditionally.
9267 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9268 unconditionally.
9269 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9270 condition on __ASSUME_CLONE_THREAD_FLAGS.
9271
e11f5155
AJ
92722012-08-14 Andreas Jaeger <aj@suse.de>
9273
9274 * sysdeps/i386/fpu/libm-test-ulps: Update.
9275
51a9ba86
MK
92762012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9277
2fdd4f78
AJ
9278 * include/atomic.h (atomic_exchange_and_add): Split into ...
9279 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9280 New atomic macros.
51a9ba86 9281
ba6cba9e
MT
92822012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9283
9284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9285
42443a47
JL
92862012-08-13 Jeff Law <law@redhat.com>
9287
9288 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9289 null byte in the output string.
9290
121dce05
JM
92912012-08-10 Joseph Myers <joseph@codesourcery.com>
9292
9293 * sysdeps/unix/sysv/linux/kernel-features.h
9294 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9295 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9296 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9297 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9298 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9299 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9300 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9301
bf51f568
JL
93022012-08-09 Jeff Law <law@redhat.com>
9303
9304 [BZ #13939]
9305 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9306 When avoid_arena is set, don't retry in the that arena. Pick the
9307 next one, whatever it might be.
9308 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9309 (arena_lock): Pass in new parameter to arena_get2.
9310 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9311 arena_get2.
9312 (__libc_malloc): Unify retrying after main arena failure with
9313 __libc_memalign version.
9314 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9315
f85fa270
L
93162012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9317
9318 [BZ #14166]
9319 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9320 to __redirect_strstr.
9321 (__strstr_sse42): Use typeof __redirect_strstr.
9322 (__strstr_ia32): Likewise.
9323 (__libc_strstr): New prototype.
9324 (strstr): Renamed to ...
9325 (__libc_strstr): This.
9326 (strstr): New strong alias of __libc_strstr.
9327 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9328 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9329 __redirect_time.
9330 Include <time.h>.
9331 (__libc_time): New prototype.
9332 (time_ifunc): Replace time with __libc_time.
9333 (time): New strong alias and hidden definition of __libc_time.
9334 (__GI_time): Remove strong alias.
9335 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9336 Include <stddef.h>.
9337 (memmove): Redefined to __redirect_memmove.
9338 (__memmove_sse2): Use typeof __redirect_memmove.
9339 (__memmove_ssse3): Likewise.
9340 (__memmove_ssse3_back): Likewise.
9341 (__libc_memmove): New prototype.
9342 (memmove): Renamed to ...
9343 (__libc_memmove): This.
9344 (memmove): New strong alias of __libc_memmove.
9345
33b4a91e
MS
93462012-08-08 Mark Salter <msalter@redhat.com>
9347
9348 * elf/elf.h
9349 (R_MN10300_TLS_GD): Define.
9350 (R_MN10300_TLS_LD): Likewise.
9351 (R_MN10300_TLS_LDO): Likewise.
9352 (R_MN10300_TLS_GOTIE): Likewise.
9353 (R_MN10300_TLS_IE): Likewise.
9354 (R_MN10300_TLS_LE): Likewise.
9355 (R_MN10300_TLS_DTPMOD): Likewise.
9356 (R_MN10300_TLS_DTPOFF): Likewise.
9357 (R_MN10300_TLS_TPOFF): Likewise.
9358 (R_MN10300_SYM_DIFF): Likewise.
9359 (R_MN10300_ALIGN): Likewise.
9360 (R_MN10300_NUM): Update.
9361
b36137f1
JM
93622012-08-08 Joseph Myers <joseph@codesourcery.com>
9363
9364 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9365 Remove.
9366
cdd915fd
RM
93672012-08-08 Roland McGrath <roland@hack.frob.com>
9368
a2433aac
RM
9369 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9370
cdd915fd
RM
9371 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9372 sysdeps/unix -> sysdeps/posix move.
9373 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9374
bf9b740a
AM
93752012-08-07 Allan McRae <allan@archlinux.org>
9376
9377 [BZ #14303]
9378 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9379 (SUNOS_CPP): Likewise.
9380 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9381 not found.
9382 (open_input): Call CPP using execvp.
9383
93df14ee
JM
93842012-08-07 Joseph Myers <joseph@codesourcery.com>
9385
9386 * sysdeps/unix/sysv/linux/kernel-features.h
9387 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9388 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9389 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9390 (__ASSUME_WAITID_SYSCALL): Likewise.
9391 * sysdeps/unix/sysv/linux/dl-execstack.c
9392 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9393 code unconditional.
9394 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9395 conditional code.
9396 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9397 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9398 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9399 code.
9400 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9401 unconditional.
9402 [__ASSUME_WAITID_SYSCALL]: Likewise.
9403 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9404
d34689de
RM
94052012-08-07 Roland McGrath <roland@hack.frob.com>
9406
a281decc
RM
9407 * sysdeps/unix/closedir.c: Renamed to ...
9408 * sysdeps/posix/closedir.c: ... here.
9409 * sysdeps/unix/dirfd.c: Renamed to ...
9410 * sysdeps/posix/dirfd.c: ... here.
9411 * sysdeps/unix/dirstream.h: Renamed to ...
9412 * sysdeps/posix/dirstream.h: ... here.
9413 * sysdeps/unix/fdopendir.c: Renamed to ...
9414 * sysdeps/posix/fdopendir.c: ... here.
9415 * sysdeps/unix/opendir.c: Renamed to ...
9416 * sysdeps/posix/opendir.c: ... here.
9417 * sysdeps/unix/readdir.c: Renamed to ...
9418 * sysdeps/posix/readdir.c: ... here.
9419 * sysdeps/unix/readdir_r.c: Renamed to ...
9420 * sysdeps/posix/readdir_r.c: ... here.
9421 * sysdeps/unix/rewinddir.c: Renamed to ...
9422 * sysdeps/posix/rewinddir.c: ... here.
9423 * sysdeps/unix/seekdir.c: Renamed to ...
9424 * sysdeps/posix/seekdir.c: ... here.
9425 * sysdeps/unix/telldir.c: Renamed to ...
9426 * sysdeps/posix/telldir.c: ... here.
9427 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9428 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9429 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9430 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9431
22895b47
RM
9432 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9433 * bits/fcntl.h: ... here.
9434
707a53b6
RM
9435 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9436 not 0.
9437 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9438 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9439 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9440 (struct flock): Move l_start, l_len to the beginning.
9441 Use __pid_t for l_pid.
9442 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9443 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9444 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9445 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9446 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9447 [__USE_LARGEFILE64] (struct flock64): New type.
9448 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9449
f0bd3e25
RM
9450 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9451 * bits/dirent.h: ... here.
9452
d34689de
RM
9453 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9454 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9455
6dad2c06
JM
94562012-08-07 Joseph Myers <joseph@codesourcery.com>
9457
9458 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9459 Change from 2.6.0 to 2.6.16.
9460 * sysdeps/unix/sysv/linux/configure: Regenerated.
9461 * sysdeps/unix/sysv/linux/kernel-features.h
9462 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9463 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9464 version.
9465 (__ASSUME_UTIMES): Likewise.
9466 (__ASSUME_CLONE_STOPPED): Remove.
9467 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9468 architectures, not kernel version.
9469 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9470 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9471 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9472 (__ASSUME_WAITID_SYSCALL): Likewise.
9473 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9474 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9475 * README: State 2.6.16 as minimum Linux kernel version. Do not
9476 refer to older versions.
9477
03af9520
RM
94782012-08-06 Roland McGrath <roland@hack.frob.com>
9479
8e49df1d
RM
9480 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9481 Define alphasort64 as an alias.
9482 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9483 Define versionsort64 as an alias.
9484 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9485 Define scandir64 as an alias.
9486 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9487 Define scandirat64 as an alias.
9488 * dirent/alphasort64.c (alphasort64):
9489 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9490 * dirent/versionsort64.c: Likewise.
9491 * dirent/scandir64.c: Likewise.
9492 * dirent/scandirat64.c: Likewise.
9493 * sysdeps/wordsize-64/alphasort.c: File removed.
9494 * sysdeps/wordsize-64/alphasort64.c: File removed.
9495 * sysdeps/wordsize-64/scandir.c: File removed.
9496 * sysdeps/wordsize-64/scandir64.c: File removed.
9497 * sysdeps/wordsize-64/scandirat.c: File removed.
9498 * sysdeps/wordsize-64/scandirat64.c: File removed.
9499 * sysdeps/wordsize-64/versionsort.c: File removed.
9500 * sysdeps/wordsize-64/versionsort64.c: File removed.
9501 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9502 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9503 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9504 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9505 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9506 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9507 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9508 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9509
9510 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9511 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9512 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9513 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9514 [defined __arch64__ || defined __sparcv9]
9515 (__INO_T_MATCHES_INO64_T): New macro.
9516 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9517 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9518 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9519 * sysdeps/unix/sysv/linux/bits/dirent.h
9520 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9521 (_DIRENT_MATCHES_DIRENT64): New macro.
9522
03af9520
RM
9523 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9524 Define lockf64 as an alias.
9525 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9526 Define fseeko64 as an alias.
9527 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9528 Define ftello64 as an alias.
9529 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9530 Define _IO_fgetpos64 and fgetpos64 as aliases.
9531 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9532 Define _IO_fsetpos64 and fsetpos64 as aliases.
9533 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9534 Conditionalize body on this.
9535 * libio/fseeko64.c: Likewise.
9536 * libio/ftello64.c: Likewise.
9537 * libio/iofgetpos64.c: Likewise.
9538 * libio/iofsetpos64.c: Likewise.
9539 * sysdeps/wordsize-64/lockf.c: File removed.
9540 * sysdeps/wordsize-64/lockf64.c: File removed.
9541 * sysdeps/wordsize-64/fseeko.c: File removed.
9542 * sysdeps/wordsize-64/fseeko64.c: File removed.
9543 * sysdeps/wordsize-64/ftello.c: File removed.
9544 * sysdeps/wordsize-64/ftello64.c: File removed.
9545 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9546 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9547 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9548 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9549 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9550 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9551 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9552 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9553 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9554 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9555 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9556 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9557 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9558 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9559
9560 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9561 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9562 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9563 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9564 [defined __arch64__ || defined __sparcv9]
9565 (__OFF_T_MATCHES_OFF64_T): New macro.
9566 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9567 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9568 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9569 (__OFF_T_MATCHES_OFF64_T): New macro.
9570
c5757acd
L
95712012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9572
9573 * stdlib/secure-getenv.c (__secure_getenv): Replace
9574 GLIBC_2_16 with GLIBC_2_17.
9575
3a31811e
L
95762012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9577
9578 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9579 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9580
faa2bccb
DM
95812012-08-03 David S. Miller <davem@davemloft.net>
9582
9583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9584
85fe1997
JM
95852012-08-03 Joseph Myers <joseph@codesourcery.com>
9586
9587 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9588 Remove.
9589 (__ASSUME_CORRECT_SI_PID): Likewise.
9590 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9591 (__ASSUME_TMPFS_NAME): Likewise.
9592 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9593 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9594 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9595 (HAVE_AUX_SECURE): Make definition unconditional.
9596 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9597 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9598
4f75b7a0
RM
95992012-08-03 Roland McGrath <roland@hack.frob.com>
9600
9601 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9602 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9603 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9604 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9605 __eloop_threshold instead of SYMLOOP_MAX.
9606
9607 * sysdeps/generic/eloop-threshold.h: New file.
9608 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9609 of MAXSYMLINKS.
9610 * elf/chroot_canon.c (chroot_canon): Likewise.
9611
7aab07e4
JM
96122012-08-03 Joseph Myers <joseph@codesourcery.com>
9613
9614 [BZ #13717]
9615 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9616 Change to 2.6.0 everywhere.
9617 * sysdeps/unix/sysv/linux/configure: Regenerated.
9618 * sysdeps/unix/sysv/linux/kernel-features.h
9619 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9620 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9621 kernel versions.
9622 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9623 (__ASSUME_FUTEX_REQUEUE): Remove.
9624 (__ASSUME_STATFS64): Define unconditionally.
9625 (__ASSUME_AT_SECURE): Likewise.
9626 (__ASSUME_CORRECT_SI_PID): Likewise.
9627 (__ASSUME_TGKILL): Define without depending on kernel version for
9628 i386.
9629 (__ASSUME_UTIMES): Likewise.
9630 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9631 kernel version.
9632 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9633 (__ASSUME_TMPFS_NAME): Likewise.
9634 * README: Update reference to Linux kernel versions.
9635
b67e9372
MP
96362012-08-02 Marek Polacek <polacek@redhat.com>
9637
1f529f7d 9638 [BZ# 14150]
b67e9372
MP
9639 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9640 libc_cv_asm_type_prefix with %.
9641 * configure: Regenerated.
d2441631
RM
9642 * include/libc-symbols.h: Remove comment about
9643 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
9644 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9645 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9646 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9647 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9648 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9649 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9650 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9651 * elf/tst-unique2mod1.c: Likewise.
9652 * elf/tst-unique1mod2.c: Likewise.
9653 * elf/tst-unique1mod1.c: Likewise.
9654 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9655 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9656 Replace ASM_TYPE_DIRECTIVE with .type.
9657 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9658 * sysdeps/i386/sysdep.h: Likewise.
9659 * sysdeps/x86_64/sysdep.h: Likewise.
9660 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
9661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9662 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 9663 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
9664 * sysdeps/powerpc/powerpc32/sysdep.h:
9665 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
9666 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9667 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9668 * sysdeps/i386/fpu/e_powf.S: Likewise.
9669 * sysdeps/i386/fpu/e_expl.S: Likewise.
9670 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9671 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9672 * sysdeps/i386/fpu/e_pow.S: Likewise.
9673 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9674 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9675 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9676 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9677 * sysdeps/i386/fpu/e_log2.S: Likewise.
9678 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9679 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9680 * sysdeps/i386/fpu/e_powl.S: Likewise.
9681 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9682 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9683 * sysdeps/i386/fpu/e_logl.S: Likewise.
9684 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9685 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9686 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9687 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9688 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9689 * sysdeps/i386/fpu/e_log.S: Likewise.
9690 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9691 * sysdeps/i386/fpu/e_logf.S: Likewise.
9692 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9693 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9694 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9695 * sysdeps/i386/fpu/e_log10.S: Likewise.
9696 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9697 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9698 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9699 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9700 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9701 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9702 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9703 * sysdeps/i386/i686/strtok.S: Likewise.
9704 * sysdeps/i386/i386-mcount.S: Likewise.
9705 * sysdeps/i386/strtok.S: Likewise.
9706 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9707 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9708 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9709 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9710 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9711 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9712 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9713 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9714 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9715 * sysdeps/x86_64/_mcount.S: Likewise.
9716 * sysdeps/x86_64/strtok.S: Likewise.
9717 * sysdeps/sh/_mcount.S: Likewise.
9718
2747bf9a
RM
97192012-08-01 Roland McGrath <roland@hack.frob.com>
9720
9721 * libio/iofopen.c: Include <fcntl.h>.
9722 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9723 (_IO_fopen64, fopen64): Define as aliases.
9724 * libio/iofopen64.c: Include <fcntl.h>.
9725 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9726 Conditionalize body on this.
9727 * sysdeps/wordsize-64/iofopen.c: File removed.
9728 * sysdeps/wordsize-64/iofopen64.c: File removed.
9729
3fb791b8
MP
97302012-08-01 Marek Polacek <polacek@redhat.com>
9731
9732 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9733 Use dlfcn directly instead of a variable.
9734 (binfmt-subdir): Do not define.
9735 (dlfcn): Likewise.
9736
a9f1039f
JM
97372012-08-01 Joseph Myers <joseph@codesourcery.com>
9738
23bddc06
JM
9739 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9740 Remove all definitions.
9741 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9742 <kernel-features.h>.
9743 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9744 (miss_F_GETOWN_EX): Remove all definitions.
9745 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9746 macro definition.
9747 [!__ASSUME_FCNTL64]: Remove conditional code.
9748 [__ASSUME_FCNTL64]: Make code unconditional.
9749 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9750 <kernel-features.h>.
9751 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9752 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9753 (lockf64) [__NR_fcntl64]: Make code unconditional.
9754 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9755
a9f1039f
JM
9756 * sysdeps/unix/sysv/linux/kernel-features.h
9757 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9758 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9759 Make code unconditional.
9760 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9761 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9763 [__NR_vfork]: Make code unconditional.
9764 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9765 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9767 [__NR_vfork]: Make code unconditional.
9768 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9769 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9770
09c0ee5f
RM
97712012-08-01 Roland McGrath <roland@hack.frob.com>
9772
48aec5b9
RM
9773 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9774 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9775
cd97c966
RM
9776 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9777 Define mkstemp64 as an alias.
3f55550c
RM
9778 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9779 Define mkstemps64 as an alias.
cd97c966
RM
9780 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9781 Define mkostemp64 as an alias.
b8625cfc
RM
9782 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9783 Define mkostemps64 as an alias.
cd97c966
RM
9784 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9785 Conditionalize body on this.
9786 * misc/mkostemp64.c: Likewise.
b8625cfc 9787 * misc/mkostemps64.c: Likewise.
3f55550c 9788 * misc/mkstemps64.c: Likewise.
cd97c966
RM
9789 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9790 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9791 * sysdeps/wordsize-64/mkostemp.c: File removed.
9792 * sysdeps/wordsize-64/mkstemp.c: File removed.
9793 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9794 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9795 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9796 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9797
09c0ee5f
RM
9798 [BZ #14138]
9799 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9800 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9801 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9802 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9803
9804 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9805 compat_symbol macros from <shlib-compat.h> rather than the underlying
9806 default_symbol_version and symbol_version macros, so that DEFAULT
9807 lines in shlib-versions are respected.
9808 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9809
7e66ee51
FW
98102012-08-01 Florian Weimer <fweimer@redhat.com>
9811
9812 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9813 Declare with warn_unused_result.
9814 (setgid, setregid, setegid, setresgid): Likewise.
9815 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9816 Likewise.
9817 * WUR-REPORT: Remove set*id functions.
9818
d2a54255
PT
98192012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9820
9821 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9822
7ecdb005
RM
98232012-07-31 Roland McGrath <roland@hack.frob.com>
9824
789bd351
RM
9825 * include/sys/socket.h (__libc_accept, __libc_accept4):
9826 Add attribute_hidden.
9827 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9828
40ce302d
RM
9829 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9830 use of PTR_MANGLE.
9831 * inet/getnetgrent_r.c (setup): Likewise.
9832
7ecdb005
RM
9833 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
9834
e2eabb2c
DM
98352012-07-31 David S. Miller <davem@davemloft.net>
9836
9837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9838
d0419dbf
JM
98392012-07-31 Joseph Myers <joseph@codesourcery.com>
9840
9841 [BZ #13629]
9842 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
9843 value between 1.0 and 2.0 and smaller part has absolute value less
9844 than 1.0.
9845 * math/s_clog10.c (__clog10): Likewise.
9846 * math/s_clog10f.c (__clog10f): Likewise.
9847 * math/s_clog10l.c (__clog10l): Likewise.
9848 * math/s_clogf.c (__clogf): Likewise.
9849 * math/s_clogl.c (__clogl): Likewise.
9850 * math/libm-test.inc (clog_test): Add more tests.
9851 (clog10_test): Likewise.
9852 * sysdeps/i386/fpu/libm-test-ulps: Update.
9853 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9854
2bc13872
FW
98552012-07-31 Florian Weimer <fweimer@redhat.com>
9856
9857 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
9858 Exit with zero in case no suitable GID is found, and write a
9859 message to standard error.
9860
bea9b193
RM
98612012-07-30 Roland McGrath <roland@hack.frob.com>
9862
9863 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
9864 rather than to 1.
9865 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
9866 (MAXPATHLEN): Removed.
9867 (NOGROUP, NODEV): New macros.
9868 (setbit, clrbit, isset, isclr): New macros.
9869 (howmany, roundup, powerof2): New macros.
9870 (DEV_BSIZE): New macro.
9871
9872 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
9873 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
9874
9875 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
9876 definition on [!__NO_LONG_DOUBLE_MATH].
9877
9878 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
9879 PTR_MANGLE and PTR_DEMANGLE.
9880
9881 * socket/accept4.c (accept4): Rename to __libc_accept4.
9882 Define accept4 as a weak alias.
9883
9884 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
9885 on [_DIRENT_HAVE_D_TYPE].
9886 * io/ftw.c (ftw_dir): Likewise.
9887
9888 * io/xmknod.c (__xmknod): Don't check PATH for being null.
9889
9890 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
9891
9892 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
9893 Use the BSD numbers rather than the arbitrary ones we had.
9894 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
9895 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
9896 (SIGXCPU, SIGXFSZ): New macros.
9897 (_NSIG): Now 32.
9898
9899 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
9900 initializer on [_LIBC_REENTRANT].
9901
9902 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
9903 definitions inside [_POSIX_MAPPED_FILES].
9904
9905 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
9906
9907 * dirent/opendir.c: Include <fcntl.h>.
9908
9909 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
9910 (__libc_getspecific): Likewise.
9911 (__libc_key_create): Likewise.
9912
9913 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
9914 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
9915 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
9916 (tmpfile64): Define as alias.
9917 * sysdeps/wordsize-64/tmpfile.c: File removed.
9918 * sysdeps/wordsize-64/tmpfile64.c: File removed.
9919 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
9920 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
9921
9922 * stdio-common/vfscanf.c: Include <stdbool.h>.
9923 * nss/makedb.c: Likewise.
9924 * stdio-common/_i18n_number.h: Likewise.
9925 * argp/argp-help.c: Likewise.
9926 * posix/wordexp.c: Likewise.
9927 * sysdeps/posix/spawni.c: Likewise.
9928 * nss/nss_files/files-initgroups.c: Likewise.
9929 * stdio-common/reg-modifier.c: Include <stdlib.h>.
9930 * nss/nss_files/files-initgroups.c: Likewise.
9931 * nss/nss_db/db-netgrp.c: Likewise.
9932 * nss/nss_db/db-initgroups.c: Likewise.
9933 * io/fchmodat.c: Include <sys/stat.h>.
9934
9935 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
9936 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
9937
9938 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
9939 [HAVE_MMAP].
9940
9941 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
9942 Add multiple inclusion protection.
9943
e5abc686
DM
99442012-07-27 David S. Miller <davem@davemloft.net>
9945
9946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9947
815e6fa3
GB
99482012-07-27 Gary Benson <gbenson@redhat.com>
9949
9950 [BZ #14298]
9951 * elf/rtld.c: Include <stap-probe.h>.
9952 (dl_main): Added static probes "init_start" and "init_complete".
9953 * elf/dl-load.c: Include <stap-probe.h>.
9954 (lose): Take new parameter "nsid".
9955 Added static probe "map_failed".
9956 (_dl_map_object_from_fd): Pass namespace id to lose.
9957 Added static probe "map_start".
9958 (open_verify): Pass namespace id to lose.
9959 * elf/dl-open.c: Include <stap-probe.h>.
9960 (dl_open_worker) Added static probes "map_complete", "reloc_start"
9961 and "reloc_complete".
9962 * elf/dl-close.c: Include <stap-probe.h>.
9963 (_dl_close_worker): Added static probes "unmap_start" and
9964 "unmap_complete".
9965 * elf/rtld-debugger-interface.txt: New file documenting the above.
9966
9f98c16c
RM
99672012-07-26 Roland McGrath <roland@hack.frob.com>
9968
9969 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
9970 rather than a string variable.
9971 * sunrpc/rpc_main.c (h_output): Likewise.
9972 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
9973
f3c22df3
PT
99742012-07-26 Pino Toscano <toscano.pino@tiscali.it>
9975
9976 * inet/check_native.c: New file.
9977
3129cfc6
JM
99782012-07-26 Joseph Myers <joseph@codesourcery.com>
9979
da865e95
JM
9980 [BZ #13629]
9981 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
9982 if larger part has absolute value 1.0.
9983 * math/s_clog10.c (__clog10): Likewise.
9984 * math/s_clog10f.c (__clog10f): Likewise.
9985 * math/s_clog10l.c (__clog10l): Likewise.
9986 * math/s_clogf.c (__clogf): Likewise.
9987 * math/s_clogl.c (__clogl): Likewise.
9988 * math/libm-test.inc (clog_test): Add more tests.
9989 (clog10_test): Likewise.
9990 * sysdeps/i386/fpu/libm-test-ulps: Update.
9991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9992
3129cfc6
JM
9993 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
9994 (pltexit): Likewise.
9995 (La_regs): Likewise.
9996 (La_retval): Likewise.
9997 (int_retval): Likewise.
9998 Update #error for removed macros to refer only to definitions in
9999 tst-audit.h.
10000 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10001 macro.
10002 (pltexit): Likewise.
10003 (La_regs): Likewise.
10004 (La_retval): Likewise.
10005 (int_retval): Likewise.
10006 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10007 macro.
10008 (pltexit): Likewise.
10009 (La_regs): Likewise.
10010 (La_retval): Likewise.
10011 (int_retval): Likewise.
10012 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10013 macro.
10014 (pltexit): Likewise.
10015 (La_regs): Likewise.
10016 (La_retval): Likewise.
10017 (int_retval): Likewise.
10018 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10019 macro.
10020 (pltexit): Likewise.
10021 (La_regs): Likewise.
10022 (La_retval): Likewise.
10023 (int_retval): Likewise.
10024 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10025 macro.
10026 (pltexit): Likewise.
10027 (La_regs): Likewise.
10028 (La_retval): Likewise.
10029 (int_retval): Likewise.
10030 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10031 macro.
10032 (pltexit): Likewise.
10033 (La_regs): Likewise.
10034 (La_retval): Likewise.
10035 (int_retval): Likewise.
10036 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10037 macro definitions in tst-audit.h.
10038 * sysdeps/i386/tst-audit.h: New file.
10039 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10040 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10041 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10042 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10043 * sysdeps/sh/tst-audit.h: Likewise.
10044 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10045 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10046 * sysdeps/x86_64/tst-audit.h: Likewise.
10047
bfc07087
AJ
100482012-07-26 Andreas Jaeger <aj@suse.de>
10049
b1b2aaf8
AJ
10050 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10051 ptrace.
10052
10053 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10054 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10055 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10056 PTRACE_O_MASK.
10057 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10058 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10059 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10060
bfc07087
AJ
10061 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10062 value.
10063
10064 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10065 _sigsys.
10066 (si_call_addr, si_syscall, si_arch): Define new macro.
10067 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10068 _sigsys.
10069 (si_call_addr, si_syscall, si_arch): Define new marcro.
10070 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10071 _sigsys.
10072 (si_call_addr, si_syscall, si_arch): Define new macro.
10073 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10074 _sigsys.
10075 (si_call_addr, si_syscall, si_arch): Define new macro.
10076
89b4b02f
JM
100772012-07-25 Joseph Myers <joseph@codesourcery.com>
10078
10079 [BZ #13717]
10080 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10081 Change to 2.4.21 where previously 2.4.1.
10082 * sysdeps/unix/sysv/linux/configure: Regenerated.
10083 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10084 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10085 Linux kernel version.
10086 (__ASSUME_STD_AUXV): Remove.
10087 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10088 kernel version.
10089 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10090 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10091 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10092 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10093 (__ASSUME_NETLINK_SUPPORT): Likewise.
10094 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10095 (__no_netlink_support): Remove conditional definition.
10096 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10097 Remove.
10098 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10099 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10100 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10101 (if_nameindex_ioctl): Remove.
10102 (if_nameindex_netlink): Do not handle __no_netlink_support.
10103 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10104 code.
10105 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10106 Remove conditional code.
10107 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10108 code.
10109 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10110 unconditional.
10111 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10112 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10113 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10114 Remove.
10115 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10116 [!__ASSUME_STD_AUXV]: Remove conditional code.
10117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10118 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10119 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10121 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10122 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10123 code.
10124 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10126 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10127 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10128 conditional code.
10129 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10131 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10132 code.
10133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10134 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10135 conditional code.
10136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10137 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10138 code unconditional.
10139 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10140 conditional code.
10141 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10142 unconditional.
10143 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10144 conditional code.
10145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10146 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10147 unconditional.
10148 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10149 conditional code.
10150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10151 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10152 code unconditional.
10153 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10154 conditional code.
10155 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10156 unconditional.
10157 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10158 conditional code.
10159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10160 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10161 code unconditional.
10162 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10163 conditional code.
10164 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10165 unconditional.
10166 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10167 conditional code.
10168
842a39cd
AS
101692012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10170
10171 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10172 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10173 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10174 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10175 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10176 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10177 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10178 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10179 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10180 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10181 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10182 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10183 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10184 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10185 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10186 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10187 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10188 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10189 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10190 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10191 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10192 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10193 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10194
84b3fd84
FW
101952012-07-25 Florian Weimer <fweimer@redhat.com>
10196
10197 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
10198 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10199 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10200 Introduce __libc_secure_getenv.
0c7936d5
FW
10201 * stdlib/Versions (2.17): Add secure_getenv
10202 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10203 * stdlib/secure-getenv.c: Rename __secure_getenv to
10204 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10205 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
10206 * stdlib/tst-secure-getenv.c: New.
10207 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
10208 * manual/startup.texi (Environment Access): Document
10209 secure_getenv.
84b3fd84
FW
10210 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10211 __libc_secure_getenv.
10212 * inet/ruserpass.c (ruserpass): Likewise.
10213 * malloc/mtrace.c (mtrace): Likewise.
10214 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 10215 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
10216 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10217 * sysdeps/posix/tempname.c: Likewise. Evaluate
10218 HAVE_SECURE_GETENV.
10219 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 10220 __secure_getenv to __libc_secure_getenv.
84b3fd84 10221 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
10222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10223 Likewise.
10224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10225 Likewise.
10226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10228 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10229 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10231 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 10233
56e49b71
JM
102342012-07-25 Joseph Myers <joseph@codesourcery.com>
10235
10236 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10237 (struct La_i86_retval): Likewise.
10238 (struct La_x86_64_regs): Likewise.
10239 (struct La_x86_64_retval): Likewise.
10240 (struct La_x32_regs): Likewise.
10241 (struct La_x32_retval): Likewise.
10242 (struct La_ppc32_regs): Likewise.
10243 (struct La_ppc32_retval): Likewise.
10244 (struct La_ppc64_regs): Likewise.
10245 (struct La_ppc64_retval): Likewise.
10246 (struct La_sh_regs): Likewise.
10247 (struct La_sh_retval): Likewise.
10248 (struct La_s390_32_regs): Likewise.
10249 (struct La_s390_32_retval): Likewise.
10250 (struct La_s390_64_regs): Likewise.
10251 (struct La_s390_64_retval): Likewise.
10252 (struct La_sparc32_regs): Likewise.
10253 (struct La_sparc32_retval): Likewise.
10254 (struct La_sparc64_regs): Likewise.
10255 (struct La_sparc64_retval): Likewise.
10256 (struct audit_ifaces): Remove architecture-specific pltenter and
10257 pltexit members.
10258 * sysdeps/i386/ldsodefs.h: New file.
10259 * sysdeps/powerpc/ldsodefs.h: Likewise.
10260 * sysdeps/s390/ldsodefs.h: Likewise.
10261 * sysdeps/sh/ldsodefs.h: Likewise.
10262 * sysdeps/sparc/ldsodefs.h: Likewise.
10263 * sysdeps/x86_64/ldsodefs.h: Likewise.
10264
354691b7
MP
102652012-07-25 Marek Polacek <polacek@redhat.com>
10266
10267 [BZ #6808]
10268 * math/libm-test.inc (yn_test): Add another test.
10269 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10270 to ERANGE when the result is +-Inf.
10271 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10272 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10273 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10274 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10275
bf9e2071
JM
102762012-07-24 Joseph Myers <joseph@codesourcery.com>
10277
10278 * conform/data/time.h-data (NULL): Use macro-constant. Require
10279 equal to 0.
10280 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10281 clock_t.
10282 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10283
57633811
TS
102842012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10285
10286 * configure.in <sysdeps resolving>: Correct printing
10287 Implies_before.
10288 * configure: Regenerate.
10289
c23c33b0
TS
102902012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10291
10292 * math/w_ilogb.c: Include <limits.h>.
10293 * math/w_ilogbl.c: Likewise.
10294
b5982523
JM
102952012-07-20 Joseph Myers <joseph@codesourcery.com>
10296
10297 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10298 va_copy. Document allowing for unavailable va_copy only as
10299 pre-C99 compatibility.
10300 * manual/string.texi (Copying and Concatenation): Use va_copy
10301 instead of __va_copy in concat example.
10302
ac4ea442
PT
103032012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10304
10305 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10306 (__sendto): Use create_address_port. Initialize APORT and deallocate
10307 it if not null.
10308
f98eafbd
PT
10309 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10310 with O_NOLINK passed to __file_name_lookup.
10311
898c7aab
PT
10312 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10313 with O_NOLINK passed to __file_name_lookup.
10314
0ced335a
PT
10315 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10316 negative N or less than NGIDS.
10317
b3404dbd
PT
10318 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10319 type to string_t. Set ERANGE as errno and return it if NAME is not big
10320 enough. Use memcpy instead of strncpy.
10321
0f48659e
JM
103222012-07-20 Joseph Myers <joseph@codesourcery.com>
10323
10324 * elf/Makefile (check-data): Remove.
10325 (localplt.data): New vpath directive.
10326 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10327 instead of $(check-data).
10328 * scripts/data/localplt-generic.data: Move to ...
10329 * sysdeps/generic/localplt.data: ... here.
10330 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10331 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10332 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10334 ... here.
10335 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10337 ... here.
10338 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10340 ... here.
10341 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10343 ... here.
10344 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10345 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10346 ... here.
10347 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10348 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10349 ... here.
10350
d37cbdaa
AZ
103512012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10352
10353 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10354 PPC32 and PPC64 files.
10355 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10356 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10357
46f85fc2
AK
103582012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10359
10360 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10361 __makecontext_ret to ...
10362 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10363 ... here and call exit if uc_link is NULL. New file.
10364 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10365 __makecontext_ret.S.
10366 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10367 __makecontext_ret to ...
10368 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10369 ... here and call exit if uc_link is NULL. New file.
10370 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10371 __makecontext_ret.S.
10372
08f43f9b
AK
103732012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10374
10375 * elf/elf.h (R_390_IRELATIVE): New definition.
10376 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10377 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10378 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10379 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10380 (elf_machine_lazy_rel): Likewise.
10381 * sysdeps/s390/dl-irel.h: New file.
10382 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10383 * sysdeps/s390/s390-64/memset.S: New asm code.
10384 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10385 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10386 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10387 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10388 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10389 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10390 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10391 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10392 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10393 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10394 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10395 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10396 * sysdeps/s390/s390-32/memset.S: New asm code.
10397 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10398
3b05db33
MP
103992012-07-17 Marek Polacek <polacek@redhat.com>
10400
10401 [BZ #14349]
10402 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10403 * sysdeps/s390/s390-64/configure.in: Likewise.
10404 * sysdeps/sparc/configure.in: Likewise.
10405 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10406 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10407 * sysdeps/i386/configure.in: Likewise.
10408 * sysdeps/x86_64/configure.in: Likewise.
10409 * sysdeps/sh/configure.in: Likewise.
10410 * sysdeps/s390/s390-32/configure: Regenerated.
10411 * sysdeps/s390/s390-64/configure: Likewise.
10412 * sysdeps/x86_64/configure: Likewise.
10413 * sysdeps/sh/configure: Likewise.
10414 * sysdeps/powerpc/powerpc64/configure: Likewise.
10415 * sysdeps/powerpc/powerpc32/configure: Likewise.
10416 * sysdeps/sparc/configure: Likwise.
10417 * sysdeps/i386/configure: Likewise.
10418
a66877c6
MP
10419 * elf/dl-open.c: Comment fixes.
10420
cfc82fd8
JM
104212012-07-17 Joseph Myers <joseph@codesourcery.com>
10422
bd29910a
JM
10423 * Makefile [CXX] (check-data): Remove.
10424 [CXX] (c++-types.data): New vpath directive.
10425 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10426 vpath. Do not allow for C++ type data being missing.
10427 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10428 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10429 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10430 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10431 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10432 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10433 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10435 ... here.
10436 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10438 ... here.
10439 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10440 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10441 ... here.
10442 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10444 ... here.
10445 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10447 ... here.
10448 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10450 ... here.
10451 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10452 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10453 ... here.
10454 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10455 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10456
cfc82fd8
JM
10457 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10458 definitions to architecture-specific files.
10459 (TLS_IE): Likewise.
10460 (TLS_LD): Likewise.
10461 (TLS_GD): Likewise.
10462 * sysdeps/i386/tls-macros.h: New file.
10463 * sysdeps/powerpc/tls-macros.h: Likewise.
10464 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10465 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10466 * sysdeps/sh/tls-macros.h: Likewise.
10467 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10468 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10469 * sysdeps/x86_64/tls-macros.h: Likewise.
10470
f7db3170
TS
104712012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10472
07cbfc23
TS
10473 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10474 zero value for regular exit case.
10475
f7db3170
TS
10476 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10477 (__start_context): Preserve zero value for regular exit case.
10478
dc97c227
TS
104792012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10480 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10481
10482 * manual/setjmp.texi (setcontext): Clarify normal process
10483 termination when uc_link is the null pointer.
10484 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10485 exit call.
10486
d0cd7d02
AS
104872012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10488
10489 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10490 preprocessor. Test for each exception mask separately.
10491
dd318934
AJ
104922012-07-16 Andreas Jaeger <aj@suse.de>
10493
10494 * po/ru.po: Update from translation team.
10495
8048311a
JM
104962012-07-15 Joseph Myers <joseph@codesourcery.com>
10497
10498 * conform/data/string.h-data (NULL): Use macro-constant. Require
10499 equal to 0.
10500 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10501 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10502 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10503 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10504 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10505
b637d46e
AJ
105062012-07-13 Andreas Jaeger <aj@suse.de>
10507
10508 * po/fr.po: Update from translation team.
10509
541428fe
MP
105102012-07-12 Marek Polacek <polacek@redhat.com>
10511
10512 [BZ #14173]
10513 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10514 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10515 loop condition.
10516
ec332e94
JM
105172012-07-12 Joseph Myers <joseph@codesourcery.com>
10518
10519 [BZ #13717]
10520 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10521 Change to 2.4.1 where previously 2.4.0.
10522 * sysdeps/unix/sysv/linux/configure: Regenerated.
10523 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10524 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10525 version.
10526 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10527 (__ASSUME_AT_CLKTCK): Remove.
10528 (__ASSUME_AT_PAGESIZE): Likewise.
10529 (__ASSUME_AT_XID): Likewise.
10530 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10531 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10532 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10533 unconditionally.
10534 (HAVE_AUX_PAGESIZE): Likewise.
10535 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10536 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10537 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10538
7b6e99be
JB
105392012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10540
10541 [BZ #14307]
10542 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10543 the temporary buffer used to invoke __gethostbyname2_r,
10544 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10545 host_data / struct gaih_addrtuple.
10546 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10547 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10548 header file nss/nsswitch.h.
10549 * nss/nsswitch.h (global scope): Add definition of implementation
10550 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10551 resolv/nss_dns/dns-host.c).
10552
608404eb
AJ
105532012-07-11 Andreas Jaeger <aj@suse.de>
10554
10555 * po/fr.po: Update from translation team.
10556
71220aca
AJ
10557 * po/sv.po: Update from translation team
10558 * po/fr.po: Another update from translation team.
10559
28cfe843
AZ
105602012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10561
10562 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10563 for subnormals or multiply small sinh result by itself.
10564 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10566
6b90f981
DM
105672012-07-11 David S. Miller <davem@davemloft.net>
10568
10569 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10570
c6825772
AS
105712012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10572
10573 [BZ #14347]
10574 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10575 (INTERNAL_MARK): Shift it here.
10576
7b8e0d49
MP
105772012-07-10 Marek Polacek <polacek@redhat.com>
10578
10579 [BZ #14151]
10580 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10581 libc_cv_asm_global_directive with .globl.
10582 * configure: Regenerated.
10583 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10584 with .globl.
10585 * sysdeps/i386/configure: Regenerated.
10586 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10587 with .globl.
10588 * sysdeps/x86_64/configure: Regenerated.
10589 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10590 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10591 * elf/tst-unique2mod2.c: Likewise.
10592 * elf/tst-unique2mod1.c: Likewise.
10593 * elf/tst-unique1mod2.c: Likewise.
10594 * elf/tst-unique1mod1.c: Likewise.
10595 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10596 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10597 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10598 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10599 * sysdeps/mach/sysdep.h: Likewise.
10600 * sysdeps/i386/sysdep.h: Likewise.
10601 * sysdeps/i386/i386-mcount.S: Likewise.
10602 * sysdeps/x86_64/_mcount.S: Likewise.
10603 * sysdeps/x86_64/sysdep.h: Likewise.
10604 * sysdeps/sh/_mcount.S: Likewise.
10605 * sysdeps/sh/sysdep.h: Likewise.
10606 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10607 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10608 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10609 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10610 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10611 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10612 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10613 * locale/localeinfo.h: Likewise.
10614 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10615 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10616
6c55cda3
RM
106172012-07-09 Roland McGrath <roland@hack.frob.com>
10618
10619 [BZ #14336]
10620 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10621 system".
10622 * manual/message.texi (The Uniforum approach): Likewise.
10623 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10624 (glibc iconv Implementation): Likewise.
10625
638a572e
JM
106262012-07-09 Joseph Myers <joseph@codesourcery.com>
10627
10628 [BZ #14337]
10629 * math/s_clog.c (__clog): Avoid scaling a value down where that
10630 could result in underflow.
10631 * math/s_clog10.c (__clog10): Likewise.
10632 * math/s_clog10f.c (__clog10f): Likewise.
10633 * math/s_clog10l.c (__clog10l): Likewise.
10634 * math/s_clogf.c (__clogf): Likewise.
10635 * math/s_clogl.c (__clogl): Likewise.
10636 * math/libm-test.inc (clog_test): Add more tests.
10637 (clog10_test): Likewise.
10638 * sysdeps/i386/fpu/libm-test-ulps: Update.
10639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10640
261f4859
AS
106412012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10642
0abaf3e4
AS
10643 [BZ #14283]
10644 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10645 by 7 not 8 to examine high bit of fractional part.
10646
261f4859
AS
10647 [BZ #14042]
10648 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10649 for call to __mcount_internal.
10650 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10651 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10652 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10653
f17ac40d
JM
106542012-07-06 Joseph Myers <joseph@codesourcery.com>
10655
9ad63c23
JM
10656 [BZ #14154]
10657 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10658 approximation for values within 0x1p-13f of an odd multiple of
10659 pi/4.
10660 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10661 exception. Add more tests.
10662 * sysdeps/i386/fpu/libm-test-ulps: Update.
10663
f17ac40d
JM
10664 [BZ #6778]
10665 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10666 inputs and return -1 for them. Do not check for +Inf in case not
10667 reachable for +Inf.
10668 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10669 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10670 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10671 and return -1 for them. Do not check for +Inf in case not
10672 reachable for +Inf.
10673 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10674 define.
10675 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10676 and return -1 for them. Do not check for +Inf in case not
10677 reachable for +Inf.
10678 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10679 spurious underflow.
10680 * sysdeps/i386/fpu/libm-test-ulps: Update.
10681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10682
fb21f89b
MF
106832012-07-06 Mike Frysinger <vapier@gentoo.org>
10684
10685 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10686
cdfe2c5e
JM
106872012-07-05 Joseph Myers <joseph@codesourcery.com>
10688
10689 [BZ #14157]
10690 [BZ #14331]
10691 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10692 could result in spurious underflow. Scale down values above
10693 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10694 * math/s_csqrtf.c (__csqrtf): Likewise.
10695 * math/s_csqrtl.c (__csqrtl): Likewise.
10696 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10697 spurious underflow.
10698 * sysdeps/i386/fpu/libm-test-ulps: Update.
10699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10700
70d35b67
AS
107012012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10702
704bc459
AS
10703 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10704 xopen-msg.sed.
10705 * catgets/xopen-msg.awk: New file.
10706 * catgets/xopen-msg.sed: Removed.
10707
70d35b67
AS
10708 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10709 po2text.sed.
10710 * intl/po2test.awk: New file.
10711 * intl/po2test.sed: Removed.
10712
ca61cf32
JM
107132012-07-04 Joseph Myers <joseph@codesourcery.com>
10714
10715 [BZ #14328]
10716 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10717 or multiply small sinh result by itself.
10718 * math/s_ctanf.c (__ctanf): Likewise.
10719 * math/s_ctanh.c (__ctanh): Likewise.
10720 * math/s_ctanhf.c (__ctanhf): Likewise.
10721 * math/s_ctanhl.c (__ctanhl): Likewise.
10722 * math/s_ctanl.c (__ctanl): Likewise.
10723 * math/libm-test.inc (ctan_test_tonearest): New function.
10724 (ctan_test_towardzero): Likewise.
10725 (ctan_test_downward): Likewise.
10726 (ctan_test_upward): Likewise.
10727 (ctanh_test_tonearest): Likewise.
10728 (ctanh_test_towardzero): Likewise.
10729 (ctanh_test_downward): Likewise.
10730 (ctanh_test_upward): Likewise.
10731 (main): Call these new functions.
10732 * sysdeps/i386/fpu/libm-test-ulps: Update.
10733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10734
ca48a46a
MF
107352012-07-03 Mike Frysinger <vapier@gentoo.org>
10736
10737 * .gitignore: Delete /ports entry.
10738
9d63d37d
AJ
107392012-07-03 Andreas Jaeger <aj@suse.de>
10740
10741 * po/bg.po: Update from translation team.
10742 * po/cs.po: Likewise.
10743 * po/de.po: Likewise.
10744 * po/hr.po: Likewise.
10745 * po/nl.pl: Likewise.
10746 * po/pl.po: Likewise.
10747 * po/vi.po: Likewise.
10748
370ca3d2
JM
107492012-07-03 Joseph Myers <joseph@codesourcery.com>
10750
95f5a9a8
JM
10751 * Makeconfig [!+link] (+link-before-libc): New variable.
10752 [!+link] (+link-after-libc): Likewise.
10753 [!+link] (+link-tests): Likewise.
10754 [!+link] (+link): Define in terms of $(+link-before-libc) and
10755 $(+link-after-libc).
10756 [!+link-static] (+link-static-before-libc): New variable.
10757 [!+link-static] (+link-static-after-libc): Likewise.
10758 [!+link-static] (+link-static-tests): Likewise.
10759 [!+link-static] (+link-static): Define in terms of
10760 $(+link-static-before-libc) and $(+link-static-after-libc).
10761 [build-shared] (link-libc-before-gnulib): New variable.
10762 [build-shared] (link-libc-tests): Likewise.
10763 [build-shared] (link-libc): Define in terms of
10764 $(link-libc-before-gnulib).
10765 [!build-shared] (link-libc-tests): New variable.
10766 (link-libc-static-tests): New variable.
10767 [!gnulib] (gnulib-arch): New variable.
10768 [!gnulib] (gnulib-tests): Likewise.
10769 [!gnulib] (static-gnulib-arch): Likewise.
10770 [!gnulib] (static-gnulib-tests): Likewise.
10771 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10772 Define with "=" instead of ":=".
10773 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10774 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10775 * Rules (binaries-all-notests): New variable.
10776 (binaries-all-tests): Likewise.
10777 (binaries-static-notests): Likewise.
10778 (binaries-static-tests): Likewise.
10779 (binaries-all): Define using $(binaries-all-notests) and
10780 $(binaries-all-tests).
10781 (binaries-static): Define using $(binaries-static-notests) and
10782 $(binaries-static-tests).
10783 (binaries-shared-tests): New variable.
10784 (binaries-shared-notests): Likewise.
10785 (binaries-shared): Remove variable.
10786 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10787 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10788 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10789 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10790 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10791 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10792 * elf/Makefile (sln-modules): New variable.
10793 (extra-objs): Add $(sln-modules:=.o).
10794 (ldconfig-modules): Add static-stubs.
10795 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10796 * elf/static-stubs.c: New file.
10797
7a845b2c
JM
10798 [BZ #14283]
10799 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10800 by 7 not 8 to examine high bit of fractional part. Use volatile
10801 variables when splitting into final array of floats if
10802 __FLT_EVAL_METHOD__ != 0.
10803 * math/libm-test.inc (cos_test): Add another test.
10804 (sin_test): Likewise.
10805 * sysdeps/i386/fpu/libm-test-ulps: Update.
10806
e2283f38
JM
10807 [BZ #14273]
10808 * math/libm-test.inc (cosh_test): Add more tests.
10809
370ca3d2
JM
10810 * version.h (RELEASE): Set to "development".
10811 (VERSION): Set to "2.16.90".
10812
ee9247c3
CD
108132012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10814
10815 * NEWS: Update copyright. Remove last-updated date.
10816 Mention math library bug fixes and timezone data changes.
10817 * README: Mention GNU/Hurd, x32, and HPPA support status.
10818
4648c381
TS
108192012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10820
10821 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10822
aac78a43
AJ
108232012-06-27 Andreas Jaeger <aj@suse.de>
10824
10825 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10826
ed3dbfad
AJ
108272012-06-25 Andreas Jaeger <aj@suse.de>
10828
10829 * sysdeps/s390/fpu/libm-test-ulps: Update.
10830
4d0ee855
AS
108312012-06-23 Andreas Schwab <schwab@linux-m68k.org>
10832 Thomas Schwinge <thomas@codesourcery.com>
10833
10834 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
10835 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
10836 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
10837 fanotify_mark.
10838
af1bce34
TS
108392012-06-23 Thomas Schwinge <thomas@codesourcery.com>
10840
a9fa33ba
TS
10841 * sysdeps/mach/start.c: Remove file.
10842 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
10843 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
10844 * sysdeps/sh/init-first.c: Likewise.
10845
58f902b8
TS
10846 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
10847 registers for frame unwinding purposes, add CFI directives.
10848 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10849 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
10850 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
10851 Likewise.
10852
1518f58b
TS
10853 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
10854 __fortify_fail returning.
10855 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
10856
db9b5059
TS
10857 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
10858 sysdeps/sh/____longjmp_chk.S.
10859 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
10860 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
10861 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
10862 (gen-as-const-headers): Append sigaltstack-offsets.sym.
10863
967705fe
TS
10864 * sysdeps/sh/abort-instr.h: New file.
10865 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
10866 process in case exit returns.
10867
a9def8c4
TS
10868 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
10869 initialize the GOT register before use.
10870
2a649725
TS
10871 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
10872 calculation of ARGC > 4.
10873
af1bce34
TS
10874 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
10875 meaningful names to some local labels.
10876
d230f50a
KK
108772012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10878 Kaz Kojima <kkojima@rr.iij4u.or.jp>
10879
10880 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
10881 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
10882 (__arch_compare_and_exchange_val_16_acq): Likewise.
10883 (__arch_compare_and_exchange_val_32_acq): Likewise.
10884 (atomic_exchange_and_add): Fix gUSA sequence.
10885 (atomic_add): Likewise.
10886 (atomic_add_negative): Likewise.
10887 (atomic_add_zero): Likewise.
10888 (atomic_bit_test_set): Likewise.
10889
0479b305
AS
108902012-06-22 Andreas Schwab <schwab@redhat.com>
10891
10892 [BZ #13579]
10893 * include/link.h (struct link_map): Add l_free_initfini.
10894 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
10895 l_initfini.
10896 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
10897 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
10898 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
10899 set.
10900
0e3933b9
CD
109012012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
10902
10903 * configure.in: Use AC_LANG_SOURCE.
10904 * configure: Regenerate.
10905
4248b1b1
RM
109062012-06-22 Roland McGrath <roland@hack.frob.com>
10907
10908 * configure.in (libc_cv_localstatedir): New substituted variable.
10909 * configure: Regenerated.
10910 * config.make.in (localstatedir): New variable, substituted from
10911 libc_cv_localstatedir.
10912 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
10913 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
10914 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
10915 * sysdeps/gnu/configure: Regenerated.
10916
006dd861
JL
109172012-06-21 Jeff Law <law@redhat.com>
10918
10919 [BZ #14277]
10920 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
10921 free. Simplify list management for _LIBC case.
10922
79662d42
JM
109232012-06-21 Joseph Myers <joseph@codesourcery.com>
10924
b7abb4bf
JM
10925 [BZ #14273]
10926 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
10927 Clear sign bit of 64-bit integer value before comparing against
10928 overflow value.
10929
79662d42
JM
10930 * sysdeps/mach/configure: Regenerated.
10931
1f150908
L
109322012-06-21 H.J. Lu <hongjiu.lu@intel.com>
10933
10934 [BZ #14278]
10935 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
10936
28363bbf
JL
109372012-06-21 Jeff Law <law@redhat.com>
10938
10939 [BZ #13882]
10940 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
10941 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 10942 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
10943 * elf/dl-open.c (dl_open_worker): Likewise.
10944
09615db4
CD
109452012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
10946
10947 * scripts/list-sources.sh: Scan PORTS for translations.
10948 * po/libc.pot: Regenerated.
10949
2174c6dd
AJ
109502012-06-21 Andreas Jaeger <aj@suse.de>
10951
10952 [BZ #12194]
10953 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
10954 warning.
10955 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
10956 * bits/byteswap-16.h (__bswap_16): Likewise.
10957 * bits/byteswap.h (__bswap_constant_16): Likewise.
10958
3ee947b1
L
109592012-06-18 H.J. Lu <hongjiu.lu@intel.com>
10960
10961 [BZ #14117]
a2f34833
L
10962 * sysdeps/i386/fpu_control.h: Removed.
10963 * sysdeps/x86_64/fpu_control.h: Moved to ...
10964 * sysdeps/x86/fpu_control.h: Here.
10965
3ee947b1
L
10966 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
10967 (_FPU_SETCW): Likewise.
10968
ed1825f8
L
109692012-06-15 H.J. Lu <hongjiu.lu@intel.com>
10970
25f1282a
L
10971 [BZ #14117]
10972 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
10973 * sysdeps/x86/fpu/bits/mathinline.h: This.
10974 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
10975
ed1825f8
L
10976 [BZ #14050]
10977 [BZ #14117]
10978 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
10979 functions if __x86_64__ is defined.
10980
36d54b74
CLT
109812012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
10982
10983 * string/endian.h: Add !__ASSEMBLER__ condition for including
10984 conversion interfaces.
10985
10285c21
JM
109862012-06-15 Joseph Myers <joseph@codesourcery.com>
10987
10988 [BZ #14241]
10989 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
10990 of ABS(x) in calculating zero to negative powers other than odd
10991 integers.
10992 * math/libm-test.inc (pow_test): Add more tests.
10993
06c5abbd
AJ
109942012-06-15 Andreas Jaeger <aj@suse.de>
10995
10996 * manual/contrib.texi (Contributors): Update entry of Liubov
10997 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
10998 Machado Filho.
10999
a3aeac40
CH
110002012-06-15 Cyril Hrubis <metan@ucw.cz>
11001
11002 * string/string.h: Add __wur to GNU version of strerror_r.
11003
49bdf4c1
L
110042012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11005
11006 [BZ #14229]
11007 * string/Makefile (tests): Add tst-strtok_r.
11008 * string/tst-strtok_r.c: New file.
11009 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11010 RAX_LP/RDX_LP on SAVE_PTR.
11011
834f9b8d
RM
110122012-06-14 Roland McGrath <roland@hack.frob.com>
11013
11014 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11015
75fa1921
JM
110162012-06-14 Joseph Myers <joseph@codesourcery.com>
11017
11018 * libm_test.inc (csqrt_test): Allow more spurious underflow
11019 exceptions.
11020 (j0_test): Likewise.
11021 (j1_test): Likewise.
11022 (y0_test): Likewise.
11023 (y1_test): Likewise.
11024
771766df
CD
110252012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11026
11027 * po/Makefile (libc.pot): Use UTF-8 charset.
11028
ceb9e56b
PP
110292012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11030
11031 [BZ #14210]
11032 Suppress sign-conversion warning from FD_SET.
11033 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11034 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11035 not unsigned long int.
11036 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11037
ddb28975
L
110382012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11039
11040 [BZ #14050]
11041 [BZ #14117]
11042 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11043 __extern_always_inline instead of __extern_inline.
11044 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11045 (__signbit): Likewise.
11046 (__signbitl): Support C++ namespace.
11047 (lrintf): New inline function.
11048 (lrint): Likewise.
11049 (llrintf): Likewise.
11050 (llrint): Likewise.
11051 (fmaxf): Likewise.
11052 (fmax): Likewise.
11053 (fminf): Likewise.
11054 (fmin): Likewise.
11055 (rint): Likewise.
11056 (rintf): Likewise.
11057 (ceil): Likewise.
11058 (ceilf): Likewise.
11059 (floor): Likewise.
11060 (floorf): Likewise.
11061 (nearbyint): Likewise.
11062 (nearbyintf): Likewise.
11063
d7b4fb26
TS
110642012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11065
11066 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11067 non-default versions.
11068
eb55f5c2
RM
110692012-06-11 Roland McGrath <roland@hack.frob.com>
11070
11071 [BZ #14218]
11072 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11073
366af02c
TS
110742012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11075
99ff6e5c
TS
11076 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11077 (FE_UPWARD, FE_DOWNWARD): Don't define.
11078 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11079 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11080
366af02c
TS
11081 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11082 reading it.
11083 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11084 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11085
793ea851
KK
110862012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11087
11088 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11089 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11090 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11091 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11092
a728a38f
L
110932012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11094
11095 [BZ #14117]
c08010c7
L
11096 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11097 * sysdeps/i386/fpu/Implies: New file.
11098 * sysdeps/x86_64/fpu/Implies: Likewise.
11099 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11100 * sysdeps/x86/fpu/bits/fenv.h: This.
11101
a728a38f
L
11102 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11103 __SSE_MATH__.
11104
6e230d11
SP
111052012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11106
11107 [BZ #14134]
11108 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11109 character 0xffff that matches the last element of the
11110 conversion table.
11111
1b671feb
AZ
111122012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11113
11114 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11115 fmodl commit.
11116
6043738b
AZ
111172012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11118
11119 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11120 values higher than 25.6283.
11121
34ae0b32
AZ
111222012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11123
11124 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11125 subnormal exponent extraction and add some __builtin_expect.
11126 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11127 Fix for subnormal mantissa calculation.
11128
1214ec8f
MF
111292012-06-04 Mike Frysinger <vapier@gentoo.org>
11130
11131 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11132 cpu2 is -1 and errno is not ENOSYS.
11133
f3d1f93c
L
111342012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11135
11136 [BZ #14117]
0e4a3cd7
L
11137 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11138 * sysdeps/x86/bits/string.h: This.
11139 * sysdeps/x86_64/bits/string.h: Removed.
11140
6704c645
L
11141 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11142 if not compiling for x86-64, but compiling for >= i486.
11143
48495318
L
11144 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11145 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11146
14adcbfc
L
11147 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11148 New macro from Linux kernel 3.4.0.
11149 (FP_XSTATE_MAGIC2): Likewise.
11150 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11151 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11152 (struct _fpx_sw_bytes): New struct.
11153 (struct _xsave_hdr): Likewise.
11154 (struct _ymmh_state): Likewise.
11155 (struct _xstate): Likewise.
11156
68e408ab
L
11157 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11158 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11159 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11160 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11161 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11162 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11163
f3d1f93c
L
11164 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11165 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11166 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11167 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11168 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11169 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11170
d9dc34cd
TMQMF
111712012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11172
11173 [BZ #13743]
11174 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11175 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11176 (sysdep_headers): Include sys/platform/ppc.h.
11177 * sysdeps/powerpc/test-gettimebase.c: Test for
11178 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11179 * manual/Makefile (appendices): Include platform.texi.
11180 * manual/contrib.texi (Contributors): Update @node pointers.
11181 * manual/maint.texi (Maintenance): Likewise.
11182 (Platform): New node.
11183 * manual/platform.texi: New file. Document the new features.
11184
4af3879c
SP
111852012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11186 Jakub Jelinek <jakub@redhat.com>
11187
11188 [BZ #14188]
11189 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11190 where __builtin_expect is unavailable.
11191
2fd6ff13
DM
111922012-06-03 David S. Miller <davem@davemloft.net>
11193
11194 * stdlib/longlong.h: Updated from GCC.
11195
173f7220
AS
111962012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11197
11198 [BZ #14042]
11199 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11200 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11201 __mcount_internal.
11202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11203 (GLIBC_2.16): Likewise.
11204
f34a1c6f
L
112052012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11206
11207 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11208
88a4576f
JM
112092012-06-01 Joseph Myers <joseph@codesourcery.com>
11210
ea32bcdd
JM
11211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11212 (default-abi): New variable.
11213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11214 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11215 variable.
11216 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11217 Likewise.
11218 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11219 Likewise.
11220 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11221 Likewise.
11222
88a4576f
JM
11223 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11224 definition. Document in comment.
11225
402fe938
DM
112262012-06-01 David S. Miller <davem@davemloft.net>
11227
11228 * stdlib/longlong.h: Updated from GCC.
11229
3553723f
L
112302012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11231
11232 [BZ #14117]
3bd872c4
L
11233 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11234 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11235 sys/debugreg.h sys/io.h here.
11236 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11237 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11238 sys/io.h.
11239 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11240 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11241 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11242 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11243 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11244 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11245
3553723f
L
11246 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11247 Define only if __x86_64__ is defined.
11248
4842e4fe
JM
112492012-06-01 Joseph Myers <joseph@codesourcery.com>
11250
c5bfe3d5
JM
11251 [BZ #14048]
11252 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11253 Use int64_t for variable i.
11254 * math/libm-test.inc (fmod_test): Add more tests.
11255
4842e4fe
JM
11256 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11257 z computation is not scheduled after fetestexcept.
11258 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11259 Use math_force_eval instead of asm to ensure calculation scheduled
11260 before exception test.
11261 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11262 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11263
efb73488
AJ
112642012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11265
11266 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11267 computation is not scheduled after fetestexcept.
11268
29bcce7c
L
112692012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11270
11271 [BZ #14117]
11272 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11273 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11274
73a68f94
AZ
112752012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11276
11277 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11278 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11279
67b6df78
L
112802012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11281
edf2933a 11282 [BZ #14117]
ebc64a18
L
11283 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11284 <bits/wordsize.h>.
11285 (__WCHAR_MIN): Support __WORDSIZE == 64.
11286 (__WCHAR_MAX): Likewise.
11287
edf2933a
L
11288 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11289 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11290
57c6cf40
L
11291 [BZ #14183]
11292 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11293 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11294
67b6df78 11295 [BZ #14117]
8eb6281e
L
11296 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11297 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11298
aac639f4
L
11299 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11300 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11301
67b6df78
L
11302 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11303 Defined to 1 if __x86_64__ isn't defined.
11304 (_STAT_VER_LINUX_OLD): New.
11305 (st_atime): Remove duplicate.
11306 (st_mtime): Likewise.
11307 (st_ctime): Likewise.
11308
1c2cfe81
DM
113092012-05-31 David S. Miller <davem@davemloft.net>
11310
11311 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11312 entries.
11313
5be8418c
AS
113142012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11315
e7725326
AS
11316 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11317 gen-libm-test.pl.
11318
5be8418c
AS
11319 [BZ #14132]
11320 * elf/dl-reloc.c: Include <_itoa.h>.
11321 (_dl_reloc_bad_type): Remove use of INTUSE.
11322 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11323 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11324 * stdio-common/psiginfo.c (psiginfo): Likewise.
11325 * stdio-common/psignal.c (psignal): Likewise.
11326 * string/strsignal.c (strsignal): Likewise.
11327 * include/signal.h (_sys_siglist): Declare hidden proto.
11328 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11329 INTVARDEF with libc_hidden_data_def.
11330 * stdio-common/itoa-udigits.c: Likewise.
11331 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11332 (_itoa_lower_digits_internal): Remove declaration.
11333 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11334 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11335 (_sys_sigabbrev_internal): Remove aliases.
11336 (_sys_siglist): Define hidden alias.
11337
507352f1
MT
113382012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11339
11340 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11341 bits/sysctl.h.
11342
42bbb1c3
L
113432012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11344
11345 [BZ #14117]
6bd784b6
L
11346 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11347 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11348
8bca20f0
L
11349 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11350 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11351 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11352 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11353 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11354 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11355
f9e890a9
L
11356 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11357 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11358 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11359
471101a1
L
11360 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11361 with __addr.
11362 (insw): Likewise.
11363 (insl): Likewise.
11364 (outsb): Likewise.
11365 (outsw): Likewise.
11366 (outsl): Likewise.
11367
6451c862
L
11368 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11369 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11370 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11371
a254b8c9
L
11372 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11373 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11374 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11375 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11376 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11377 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11378
b8dfdd92
L
11379 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11380 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11381
578cd270
L
11382 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11383 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11384
de662f5f
L
11385 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11386 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11387 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11388
25653439
L
11389 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11390 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11391 to ...
11392 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11393
6bad24a0
L
11394 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11395 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11396 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11397
42bbb1c3
L
11398 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11399 for x86-64.
11400 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11401
2d10d547
JM
114022012-05-31 Joseph Myers <joseph@codesourcery.com>
11403
11404 * math/math.h (M_El): Use two more decimal places.
11405 (M_LOG2El): Likewise.
11406 (M_LOG10El): Likewise.
11407 (M_LN2l): Likewise.
11408 (M_LN10l): Likewise.
11409 (M_PIl): Likewise.
11410 (M_PI_2l): Likewise.
11411 (M_PI_4l): Likewise.
11412 (M_1_PIl): Likewise.
11413 (M_2_PIl): Likewise.
11414 (M_2_SQRTPIl): Likewise.
11415 (M_SQRT2l): Likewise.
11416 (M_SQRT1_2l): Likewise.
11417
f230c29b
DM
114182012-05-31 David S. Miller <davem@davemloft.net>
11419
11420 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11421 values between float registers.
11422 * sysdeps/sparc/sparc64/memset.S: Likewise.
11423 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11424
fed806c3
MF
114252012-05-31 Mike Frysinger <vapier@gentoo.org>
11426
11427 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11428 -D_FORTIFY_SOURCE=1.
11429 (CPPFLAGS-tst-longjmp_chk.c): Define.
11430 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11431 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11432 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11433 CFLAGS-tst-wchar-h.c.
11434
30917259
MP
114352012-05-31 Marek Polacek <polacek@redhat.com>
11436
11437 [BZ #14132]
11438 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11439 __endmntent_internal): Remove declaration.
11440 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11441 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11442 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11443
1c58d5dc
DM
114442012-05-30 David S. Miller <davem@davemloft.net>
11445
11446 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11447 (___Q_simulate_exceptions): Use real FP ops rather than writing
11448 into the %fsr.
11449 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11450 Likewise.
11451
7dc00e0d
L
114522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11453
11454 [BZ #14117]
0bd53985
L
11455 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11456 * sysdeps/x86/bits/xtitypes.h: This.
11457
3a257e66
L
11458 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11459 * sysdeps/x86/bits/wordsize.h: This.
11460
62f62904
L
11461 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11462 * sysdeps/x86/bits/huge_vall.h: This.
11463
404fe9d9
L
11464 * sysdeps/i386/bits/select.h: Removed.
11465 * sysdeps/x86_64/bits/select.h: Renamed to ...
11466 * sysdeps/x86/bits/select.h: This.
11467
d48d0446
L
11468 * sysdeps/i386/bits/setjmp.h: Removed.
11469 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11470 * sysdeps/x86/bits/setjmp.h: This.
11471
7dc00e0d
L
11472 * sysdeps/i386/bits/mathdef.h: Removed.
11473 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11474 * sysdeps/x86/bits/mathdef.h: This.
11475
03277f8f
AS
114762012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11477
11478 [BZ #14132]
11479 * include/sys/socket.h (__connect_internal)
11480 (__libc_sa_len_internal): Remove declaration.
11481 (__connect, __libc_sa_len): Declare hidden_proto.
11482 (SA_LEN): Remove use of INTUSE.
11483 * socket/connect.c: Add libc_hidden_def.
11484 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11485 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11486 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11487 alias.
11488 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11489 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11490 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11491 of adding _internal alias.
11492
13764867
L
114932012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11494
11495 [BZ #14117]
6bd97696
L
11496 * sysdeps/i386/bits/link.h: Removed.
11497 * sysdeps/i386/bits/linkmap.h: Likewise.
11498 * sysdeps/x86_64/bits/link.h: Renamed to ...
11499 * sysdeps/x86/bits/link.h: This.
11500 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11501 * sysdeps/x86/bits/linkmap.h: This.
11502
f726f0bb
L
11503 * sysdeps/i386/bits/endian.h: Removed.
11504 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11505 * sysdeps/x86/bits/endian.h: This.
11506
13764867
L
11507 * sysdeps/i386/bits/byteswap.h: Removed.
11508 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11509 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11510 * sysdeps/x86/bits/byteswap.h: This.
11511 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11512 * sysdeps/x86/bits/byteswap-16.h: This.
11513 * sysdeps/i386/Implies: Add x86.
11514 * sysdeps/x86_64/Implies: Likewise.
11515
ae251b0b
DM
115162012-05-30 David S. Miller <davem@davemloft.net>
11517
11518 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11519 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11520 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11521 (FP_TRAPPING_EXCEPTIONS): Define.
11522 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11523 (FP_TRAPPING_EXCEPTIONS): Define.
11524 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11525 subnormals only when inexact has been signalled or underflow
11526 exceptions are enabled.
11527 (_FP_PACK_CANONICAL): Likewise.
11528
d5c90867
L
115292012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11530
11531 [BZ #14183]
11532 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11533 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11534
63f1549e
RH
115352012-05-30 Richard Henderson <rth@twiddle.net>
11536
8d8f2279
RH
11537 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11538 with #ifndef NOT_IN_libc.
11539
63f1549e
RH
11540 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11541 marked to avoid plt entry.
11542
0ab0291b
L
115432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11544
11545 [BZ #14112]
11546 * Makeconfig (default-abi): New macro.
11547 (abi-includes): Likewise.
11548 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11549 $(abi-$(default-abi)-lib-soname) for soname if defined.
11550 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11551 abi-variants.
11552 * Makefile (installed-stubs): Likewise.
11553 * include/stubs-biarch.h: Removed.
11554 * scripts/lib-names.awk: Only handle one library at a time.
11555 * scripts/soversions.awk: Remove WORDSIZE support.
11556 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11557 entries.
11558 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11559 Removed.
11560 (syscall-list-default-condition): Likewise.
11561 (syscall-list-default-condition): Likewise.
11562 (syscall-list-includes): Likewise.
11563 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11564 syscall-list-* with abi-*. Handle undefined abi-variants.
11565 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11566 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11567 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11568 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11569 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11570 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11571 Removed.
11572 (syscall-list-32-options): Likewise.
11573 (syscall-list-32-condition): Likewise.
11574 (syscall-list-64-options): Likewise.
11575 (syscall-list-64-condition): Likewise.
11576 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11577 macro.
11578 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11579 Renamed to ...
11580 (abi-*): This.
11581 (abi-64-ld-soname): New macro.
11582 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11583 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11584 Renamed to ...
11585 (abi-*): This.
11586 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11587 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11588
4da0431d
JM
115892012-05-30 Joseph Myers <joseph@codesourcery.com>
11590
3a85279c
JM
11591 * sysdeps/unix/sysv/linux/kernel-features.h
11592 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11593 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11594 include <kernel-features.h>.
11595 [!__NR_ftruncate64]: Remove conditional code.
11596 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11597 [__NR_ftruncate64]: Make code unconditional.
11598 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11599 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11600 include <kernel-features.h>.
11601 [!__NR_ftruncate64]: Remove conditional code.
11602 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11603 [__NR_ftruncate64]: Make code unconditional.
11604 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11606 include <kernel-features.h>.
11607 [!__NR_ftruncate64]: Remove conditional code.
11608 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11609 [__NR_ftruncate64]: Make code unconditional.
11610 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11612 include <kernel-features.h>.
11613 [!__NR_ftruncate64]: Remove conditional code.
11614 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11615 [__NR_ftruncate64]: Make code unconditional.
11616 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11617
4da0431d
JM
11618 * configure.in (libc_cv_fpie): Weaken to a compile test using
11619 LIBC_TRY_CC_OPTION.
11620 * configure: Regenerated.
11621
11ef492c
AK
116222012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11623
11624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11628 Refreshed.
11629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11635 Refreshed.
11636
d66ef399
DM
116372012-05-27 David S. Miller <davem@davemloft.net>
11638
11639 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11640 (___Q_zero): New.
11641 (__Q_simulate_exceptions): Return void. Change to simulate
11642 exceptions by writing into the %fsr.
11643 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11644 (__Qp_handle_exceptions): Likewise.
11645 (numbers): Delete.
11646 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11647 __Qp_handle_exceptions.
11648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11649 __Qp_handle_exceptions.
11650 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11651 as unused and give dummy FP_RND_NEAREST initializer.
11652 (FP_INHIBIT_RESULTS): Define.
11653 (___Q_simulate_exceptions): Update declaration.
11654 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11655 formatting.
11656 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11657 as unused and give dummy FP_RND_NEAREST initializer.
11658 (__Qp_handle_exceptions): Update declaration.
11659 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11660 formatting.
11661
04fb54b5
TS
116622012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11663
11664 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11665 the temporary FPU control word.
11666 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11667 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11668 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11669 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11670 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11671 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11672 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11673 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11674 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11675 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11676 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11677
3f99608f
KK
116782012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11679
11680 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11681 fields.
11682
65a4de4e
CLT
116832012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11684
11685 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11686 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11687 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11688 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11689 Likewise.
11690 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11691 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11692 Likewise.
11693
15749d40
UD
116942012-05-27 Ulrich Drepper <drepper@gmail.com>
11695
11696 * po/h.po: Update from translation team.
11697
25dbcb27
AS
116982012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11699
3d3f8e55
AS
11700 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11701
25dbcb27
AS
11702 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11703 handling of denormals.
11704 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11705 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11706 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11707 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11708 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11709 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11710 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11711 Likewise.
11712
7ad47a80 117132012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
11714
11715 [BZ #14152]
11716 * math/libm-test.inc (fma_test): Don't always expect underflow
11717 exception.
11718
9c6ea9fa
SP
117192012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11720
11721 [BZ #12416]
11722 * elf/tst-execstack.c: Include stackinfo.h.
11723 (do_test): Adjust test case to ensure that pthread_getattr_np
11724 behaviour remains the same after marking stack executable.
11725
a8239222
JM
117262012-05-25 Joseph Myers <joseph@codesourcery.com>
11727
11728 * sysdeps/unix/sysv/linux/kernel-features.h
11729 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11730 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11731 kernel-features.h.
11732 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11733 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11734 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11735 kernel-features.h.
11736 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11737 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11738
918b5606
L
117392012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11740
11741 * configure.in: Define the default includes to being none.
11742 * configure: Regenerated.
11743
3a097cc7
RM
117442012-05-25 Roland McGrath <roland@hack.frob.com>
11745
8422c9a5
RM
11746 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11747 * sysdeps/x86_64/setjmp.S: Likewise.
11748 * sysdeps/i386/bsd-setjmp.S: Likewise.
11749 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11750 * sysdeps/i386/setjmp.S: Likewise.
11751 * sysdeps/i386/__longjmp.S: Likewise.
11752 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11753 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11754
3a097cc7
RM
11755 * include/stap-probe.h: New file.
11756 * configure.in: Handle --enable-systemtap.
11757 * configure: Regenerated.
11758 * config.h.in (USE_STAP_PROBE): New #undef.
11759 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11760 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11761 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11762
21708942
JM
117632012-05-25 Joseph Myers <joseph@codesourcery.com>
11764
11765 [BZ #13717]
11766 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11767 to 2.4.0 where earlier.
11768 * sysdeps/unix/sysv/linux/configure: Regenerated.
11769 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11770 <kernel-features.h>.
11771 [__ASSUME_32BITUIDS]: Make code unconditional.
11772 [!__ASSUME_32BITUIDS]: Remove conditional code.
11773 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11774 <kernel-features.h>.
11775 [__ASSUME_32BITUIDS]: Make code unconditional.
11776 [!__ASSUME_32BITUIDS]: Remove conditional code.
11777 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11778 [__ASSUME_32BITUIDS]: Make code unconditional.
11779 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11780 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11781 <kernel-features.h>.
11782 [__ASSUME_32BITUIDS]: Make code unconditional.
11783 [!__ASSUME_32BITUIDS]: Remove conditional code.
11784 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.c: Do not include
11793 <kernel-features.h>.
11794 [__ASSUME_32BITUIDS]: Make code unconditional.
11795 [!__ASSUME_32BITUIDS]: Remove conditional code.
11796 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11797 <kernel-features.h>.
11798 [__ASSUME_32BITUIDS]: Make code unconditional.
11799 [!__ASSUME_32BITUIDS]: Remove conditional code.
11800 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11801 <kernel-features.h>.
11802 [__ASSUME_32BITUIDS]: Make code unconditional.
11803 [!__ASSUME_32BITUIDS]: Remove conditional code.
11804 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11805 <kernel-features.h>.
11806 [__ASSUME_32BITUIDS]: Make code unconditional.
11807 [!__ASSUME_32BITUIDS]: Remove conditional code.
11808 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11809 <kernel-features.h>.
11810 [__ASSUME_32BITUIDS]: Make code unconditional.
11811 [!__ASSUME_32BITUIDS]: Remove conditional code.
11812 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11813 <kernel-features.h>.
11814 [__ASSUME_32BITUIDS]: Make code unconditional.
11815 [!__ASSUME_32BITUIDS]: Remove conditional code.
11816 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11817 <kernel-features.h>.
11818 [__ASSUME_32BITUIDS]: Make code unconditional.
11819 [!__ASSUME_32BITUIDS]: Remove conditional code.
11820 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11821 <kernel-features.h>.
11822 [__NR_setresgid] (__setresgid): Do not declare.
11823 [__ASSUME_32BITUIDS]: Make code unconditional.
11824 [!__ASSUME_32BITUIDS]: Remove conditional code.
11825 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11826 <kernel-features.h>.
11827 [__NR_setresuid] (__setresuid): Do not declare.
11828 [__ASSUME_32BITUIDS]: Make code unconditional.
11829 [!__ASSUME_32BITUIDS]: Remove conditional code.
11830 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
11831 <kernel-features.h>.
11832 [__ASSUME_32BITUIDS]: Make code unconditional.
11833 [!__ASSUME_32BITUIDS]: Remove conditional code.
11834 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
11835 <kernel-features.h>.
11836 [__ASSUME_32BITUIDS]: Make code unconditional.
11837 [!__ASSUME_32BITUIDS]: Remove conditional code.
11838 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
11839 <kernel-features.h>.
11840 [__ASSUME_32BITUIDS]: Make code unconditional.
11841 [!__ASSUME_32BITUIDS]: Remove conditional code.
11842 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
11843 <kernel-features.h>.
11844 [__ASSUME_32BITUIDS]: Make code unconditional.
11845 [!__ASSUME_32BITUIDS]: Remove conditional code.
11846 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
11847 <kernel-features.h>.
11848 [__ASSUME_32BITUIDS]: Make code unconditional.
11849 [!__ASSUME_32BITUIDS]: Remove conditional code.
11850 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
11851 <kernel-features.h>.
11852 [__ASSUME_32BITUIDS]: Make code unconditional.
11853 [!__ASSUME_32BITUIDS]: Remove conditional code.
11854 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
11855 <kernel-features.h>.
11856 [__ASSUME_32BITUIDS]: Make code unconditional.
11857 [!__ASSUME_32BITUIDS]: Remove conditional code.
11858 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
11859 <kernel-features.h>.
11860 [__ASSUME_32BITUIDS]: Make code unconditional.
11861 [!__ASSUME_32BITUIDS]: Remove conditional code.
11862 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
11863 <kernel-features.h>.
11864 [__ASSUME_32BITUIDS]: Make code unconditional.
11865 [!__ASSUME_32BITUIDS]: Remove conditional code.
11866 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11867 <kernel-features.h>.
11868 [__ASSUME_32BITUIDS]: Make code unconditional.
11869 [!__ASSUME_32BITUIDS]: Remove conditional code.
11870 * sysdeps/unix/sysv/linux/kernel-features.h
11871 (__ASSUME_SETRESUID_SYSCALL): Remove.
11872 (__ASSUME_SETRESGID_SYSCALL): Likewise.
11873 (__ASSUME_32BITUIDS): Likewise.
11874 (__ASSUME_LDT_WORKS): Likewise.
11875 (__ASSUME_O_DIRECTORY): Likewise.
11876 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
11877 architecture but not kernel version.
11878 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11879 (__ASSUME_MMAP2_SYSCALL): Likewise.
11880 (__ASSUME_STAT64_SYSCALL): Likewise.
11881 (__ASSUME_IPC64): Likewise.
11882 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
11883 <kernel-features.h>.
11884 [__ASSUME_32BITUIDS]: Make code unconditional.
11885 [!__ASSUME_32BITUIDS]: Remove conditional code.
11886 * sysdeps/unix/sysv/linux/opendir.c: Do not include
11887 <kernel-features.h>.
11888 [__ASSUME_O_DIRECTORY]: Make code unconditional.
11889 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
11890 132096]: Remove conditional code.
11891 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
11892 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11893 <kernel-features.h>.
11894 [__ASSUME_32BITUIDS]: Make code unconditional.
11895 [!__ASSUME_32BITUIDS]: Remove conditional code.
11896 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11897 <kernel-features.h>.
11898 [__ASSUME_32BITUIDS]: Make code unconditional.
11899 [!__ASSUME_32BITUIDS]: Remove conditional code.
11900 * sysdeps/unix/sysv/linux/setegid.c: Do not include
11901 <kernel-features.h>.
11902 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
11903 unconditional.
11904 (__setresgid): Do not declare.
11905 [__ASSUME_32BITUIDS]: Make code unconditional.
11906 [!__ASSUME_32BITUIDS]: Remove conditional code.
11907 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
11908 <kernel-features.h>.
11909 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
11910 unconditional.
11911 (__setresuid): Do not declare.
11912 [__ASSUME_32BITUIDS]: Make code unconditional.
11913 [!__ASSUME_32BITUIDS]: Remove conditional code.
11914 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11915 <kernel-features.h>.
11916 [__ASSUME_32BITUIDS]: Make code unconditional.
11917 [!__ASSUME_32BITUIDS]: Remove conditional code.
11918 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
11919 <kernel-features.h>.
11920 [__ASSUME_32BITUIDS]: Make code unconditional.
11921 [!__ASSUME_32BITUIDS]: Remove conditional code.
11922
a386f1cc
RH
119232012-05-25 Richard Henderson <rth@twiddle.net>
11924
11925 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
11926 dl_hwcap to ifunc resolver.
11927 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
11928 elf_ifunc_invoke.
11929 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
11930 dl_hwcap to ifunc resolver.
11931 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
11932
b6550497
JM
119332012-05-24 Joseph Myers <joseph@codesourcery.com>
11934
11935 [BZ #14153]
11936 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
11937 for |x| <= 2**-26, not 2**-57.
11938 * math/libm-test.inc (acos_test): Do not allow spurious underflow
11939 exception.
11940
b0bc23a1
JL
119412012-05-24 Jeff Law <law@redhat.com>
11942
11943 * stdio-common/Makefile (tests): Add bug25.
11944 * stdio-common/bug25.c: New test.
11945
347c92e9
L
119462012-05-24 H.J. Lu <hongjiu.lu@intel.com>
11947
11948 [BZ #13576]
11949 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
11950 multiple of MALLOC_ALIGNMENT in size.
11951 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
11952
6bcc8b3f
JM
119532012-05-24 Joseph Myers <joseph@codesourcery.com>
11954
11955 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
11956 Require >= 256.
11957 (FILENAME_MAX): Use macro-int-constant.
11958 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
11959 (_IOFBF): Use macro-int-constant.
11960 (_IOLBF): Likewise.
11961 (_IONBF): Likewise.
11962 (SEEK_CUR): Likewise.
11963 (SEEK_END): Likewise.
11964 (SEEK_SET): Likewise.
11965 (TMP_MAX): Likewise.
11966 (EOF): Use macro-int-constant. Require < 0.
11967 (NULL): Use macro-constant. Require == 0.
11968 (stdin): Require type to be FILE *.
11969 (stdout): Likewise.
11970 (stderr): Likewise.
11971 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
11972 macro-int-constant.
11973 (EXIT_SUCCESS): Likewise.
11974 (NULL): Use macro-constant. Require == 0.
11975 (RAND_MAX): Use macro-int-constant.
11976 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
11977 [C99-based standards] (strtof): Require function.
11978 [C99-based standards] (strtold): Likewise.
11979 [C99-based standards] (strtoll): Likewise.
11980 [C99-based standards] (strtoull): Likewise.
11981 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
11982 [ISO || ISO99 || ISO11] (limits.h): Likewise.
11983 [ISO || ISO99 || ISO11] (math.h): Likewise.
11984 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
11985 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
11986 [ISO || ISO99 || ISO11] (*_t): Do not allow.
11987
d18ea0c5
AS
119882012-05-24 Andreas Schwab <schwab@linux-m68k.org>
11989
11990 [BZ #14132]
56d25bb8
AS
11991 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
11992 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
11993 * intl/dgettext.c (DCGETTEXT): Likewise.
11994 * intl/gettext.c (DCGETTEXT): Likewise.
11995 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
11996 * posix/regex_internal.h (gettext): Likewise.
11997 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
11998 Remove declaration.
11999 * include/argz.h (__argz_count_internal)
12000 (__argz_stringify_internal): Remove declaration.
12001 (__argz_count, __argz_stringify): Declare hidden proto.
12002 * intl/dcgettext.c: Remove use of INTDEF.
12003 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12004 * string/argz-stringify.c: Likewise.
12005 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12006 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12007 Declare hidden proto.
d18ea0c5
AS
12008 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12009 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12010 Declare hidden proto.
12011 * include/stdio.h (__asprintf_internal): Don't declare.
12012 (__asprintf): Don't define as macro. Declare hidden proto.
12013 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12014 (__fsetlocking): Declare hidden proto.
12015 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12016 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12017 hidden proto.
12018 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12019 (_IO_setlinebuf): Remove use of INTUSE.
12020 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12021 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12022 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12023 Remove declaration.
12024 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12025 (_IO_do_flush): Remove use of INTUSE.
12026 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12027 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12028 (_IO_adjust_column, _IO_least_wmarker)
12029 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12030 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12031 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12032 (_IO_default_doallocate, _IO_wdefault_doallocate)
12033 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12034 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12035 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12036 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12037 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12038 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12039 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12040 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12041 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12042 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12043 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12044 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12045 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12046 proto.
12047 (_IO_flush_all_internal, _IO_adjust_column_internal)
12048 (_IO_default_uflow_internal, _IO_default_finish_internal)
12049 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12050 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12051 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12052 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12053 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12054 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12055 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12056 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12057 (_IO_file_close_internal, _IO_file_close_it_internal)
12058 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12059 (_IO_file_init_internal, _IO_file_attach_internal)
12060 (_IO_file_fopen_internal, _IO_file_read_internal)
12061 (_IO_file_sync_internal, _IO_file_seek_internal)
12062 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12063 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12064 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12065 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12066 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12067 (_IO_list_all_internal, _IO_link_in_internal)
12068 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12069 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12070 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12071 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12072 (_IO_do_write_internal, _IO_padn_internal)
12073 (_IO_getline_info_internal, _IO_getline_internal)
12074 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12075 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12076 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12077 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12078 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12079 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12080 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12081 with libc_hidden_ver, remove use of INTUSE.
12082 * libio/genops.c: Likewise.
12083 * libio/freopen.c: Likewise.
12084 * libio/freopen64.c: Likewise.
12085 * libio/iofclose.c: Likewise.
12086 * libio/iofdopen.c: Likewise.
12087 * libio/iofflush.c: Likewise.
12088 * libio/iofflush_u.c: Likewise.
12089 * libio/iofgets.c: Likewise.
12090 * libio/iofgets_u.c: Likewise.
12091 * libio/iofopen.c: Likewise.
12092 * libio/iofopncook.c: Likewise.
12093 * libio/iofread.c: Likewise.
12094 * libio/iofread_u.c: Likewise.
12095 * libio/ioftell.c: Likewise.
12096 * libio/iofwrite.c: Likewise.
12097 * libio/iogetline.c: Likewise.
12098 * libio/iogets.c: Likewise.
12099 * libio/iogetwline.c: Likewise.
12100 * libio/iopadn.c: Likewise.
12101 * libio/iopopen.c: Likewise.
12102 * libio/ioseekoff.c: Likewise.
12103 * libio/ioseekpos.c: Likewise.
12104 * libio/iosetbuffer.c: Likewise.
12105 * libio/iosetvbuf.c: Likewise.
12106 * libio/ioungetc.c: Likewise.
12107 * libio/ioungetwc.c: Likewise.
12108 * libio/iovdprintf.c: Likewise.
12109 * libio/iovsprintf.c: Likewise.
12110 * libio/iovsscanf.c: Likewise.
12111 * libio/memstream.c: Likewise.
12112 * libio/obprintf.c: Likewise.
12113 * libio/oldfileops.c: Likewise.
12114 * libio/oldiofclose.c: Likewise.
12115 * libio/oldiofdopen.c: Likewise.
12116 * libio/oldiofopen.c: Likewise.
12117 * libio/oldiopopen.c: Likewise.
12118 * libio/oldstdfiles.c: Likewise.
12119 * libio/putc.c: Likewise.
12120 * libio/setbuf.c: Likewise.
12121 * libio/setlinebuf.c: Likewise.
12122 * libio/stdfiles.c: Likewise.
12123 * libio/strops.c: Likewise.
12124 * libio/vasprintf.c: Likewise.
12125 * libio/vscanf.c: Likewise.
12126 * libio/vsnprintf.c: Likewise.
12127 * libio/vswprintf.c: Likewise.
12128 * libio/wfiledoalloc.c: Likewise.
12129 * libio/wfileops.c: Likewise.
12130 * libio/wgenops.c: Likewise.
12131 * libio/wmemstream.c: Likewise.
12132 * libio/wstrops.c: Likewise.
12133 * libio/__fpurge.c: Likewise.
12134 * libio/__fsetlocking.c: Likewise.
12135 * assert/assert.c: Likewise.
12136 * debug/fgets_chk.c: Likewise.
12137 * debug/fgets_u_chk.c: Likewise.
12138 * debug/fread_chk.c: Likewise.
12139 * debug/fread_u_chk.c: Likewise.
12140 * debug/gets_chk.c: Likewise.
12141 * debug/obprintf_chk.c: Likewise.
12142 * debug/vasprintf_chk.c: Likewise.
12143 * debug/vdprintf_chk.c: Likewise.
12144 * debug/vsnprintf_chk.c: Likewise.
12145 * debug/vsprintf_chk.c: Likewise.
12146 * malloc/mtrace.c: Likewise.
12147 * misc/error.c: Likewise.
12148 * misc/syslog.c: Likewise.
12149 * stdio-common/asprintf.c: Likewise.
12150 * stdio-common/fxprintf.c: Likewise.
12151 * stdio-common/getw.c: Likewise.
12152 * stdio-common/isoc99_fscanf.c: Likewise.
12153 * stdio-common/isoc99_scanf.c: Likewise.
12154 * stdio-common/isoc99_vfscanf.c: Likewise.
12155 * stdio-common/isoc99_vscanf.c: Likewise.
12156 * stdio-common/isoc99_vsscanf.c: Likewise.
12157 * stdio-common/printf-prs.c: Likewise.
12158 * stdio-common/printf_fp.c: Likewise.
12159 * stdio-common/printf_fphex.c: Likewise.
12160 * stdio-common/printf_size.c: Likewise.
12161 * stdio-common/putw.c: Likewise.
12162 * stdio-common/scanf.c: Likewise.
12163 * stdio-common/sprintf.c: Likewise.
12164 * stdio-common/tmpfile.c: Likewise.
12165 * stdio-common/vfprintf.c: Likewise.
12166 * stdio-common/vfscanf.c: Likewise.
12167 * stdlib/strfmon_l.c: Likewise.
12168 * sunrpc/openchild.c: Likewise.
12169 * sunrpc/xdr_stdio.c: Likewise.
12170 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12171 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12172
d6c33fda
RM
121732012-05-24 Roland McGrath <roland@hack.frob.com>
12174
c1487492
RM
12175 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12176
12177 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12178 in the third column, to generate for the shared library an IFUNC
12179 that uses _dl_vdso_vsym.
12180 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12181 * Makeconfig (object-suffixes-noshared): New variable.
12182
12183 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12184 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12185 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12186 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12187
d6c33fda
RM
12188 [BZ #14132]
12189 * include/sys/time.h (__gettimeofday): Remove macro.
12190 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12191 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12192 Remove INTDEF.
12193 (__gettimeofday): Add libc_hidden_def.
12194 (gettimeofday): Add libc_hidden_weak.
12195 * sysdeps/mach/gettimeofday.c: Likewise.
12196 * sysdeps/posix/gettimeofday.c: Likewise.
12197 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12198 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12199 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12200 (__gettimeofday_internal): Remove strong_alias.
12201 (__gettimeofday): Add libc_hidden_def.
12202 (gettimeofday): Add libc_hidden_weak.
12203 * sysdeps/unix/syscalls.list (gettimeofday):
12204 Remove __gettimeofday_internal alias.
12205
b5a2bbe6
L
122062012-05-24 Daniel Jacobowitz <drow@false.org>
12207 H.J. Lu <hongjiu.lu@intel.com>
12208
12209 [BZ #12495]
12210 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12211 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12212 (largebin_index_32_big): New.
12213 (largebin_index): Use it for 16-byte alignment.
12214 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12215 correction with front_misalign.
12216
cfba4fda
L
122172012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12218
7f907421
L
12219 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12221 Likewise.
12222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12223 Likewise.
12224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12225 Likewise.
12226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12227 Likewise.
12228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12229 Likewise.
12230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12231 Likewise.
12232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12233 Likewise.
12234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12235 Likewise.
12236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12237 Likewise.
12238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12239 Likewise.
12240 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12241 Likewise.
12242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12243 Likewise.
12244
cfba4fda
L
12245 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12246 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12247
80bad0cc
JM
122482012-05-24 Joseph Myers <joseph@codesourcery.com>
12249
7a25eb06
JM
12250 [BZ #10846]
12251 [BZ #14036]
12252 * math/libm-test.inc (exp_test): Add test from bug 14036.
12253 (pow_test): Add test from bug 10846.
12254
795405f9
JM
12255 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12256 and other flags.
12257 (special_function): Do not include flags in test name.
12258 (parse_args): Likewise.
12259 * sysdeps/i386/fpu/libm-test-ulps: Update.
12260 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12261 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12262 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12264
80bad0cc
JM
12265 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12266 exceptions.
12267 * math/libm-test.inc ("Philosophy"): Update comment about
12268 exception testing.
12269 (UNDERFLOW_EXCEPTION): New macro.
12270 (UNDERFLOW_EXCEPTION_OK): Likewise.
12271 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12272 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12273 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12274 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12275 (INVALID_EXCEPTION_OK): Update value.
12276 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12277 (OVERFLOW_EXCEPTION_OK): Likewise.
12278 (IGNORE_ZERO_INF_SIGN): Likewise.
12279 (test_exceptions): Handle underflow exceptions.
12280 (acos_test): Update for underflow exception expectations.
12281 (cexp_test): Likewise.
12282 (clog_test): Likewise.
12283 (clog10_test): Likewise.
12284 (csqrt_test): Likewise.
12285 (ctan_test): Likewise.
12286 (ctanh_test): Likewise.
12287 (exp_test): Likewise.
12288 (exp10_test): Likewise.
12289 (exp2_test): Likewise.
12290 (expm1_test): Likewise.
12291 (fma_test): Likewise.
12292 (j0_test): Likewise.
12293 (jn_test): Likewise.
12294 (nexttoward_test): Likewise.
12295 (pow_test): Likewise.
12296 (scalbn_test): Likewise.
12297 (scalbln_test): Likewise.
12298 (tan_test): Likewise.
12299 (y1_test): Likewise.
12300 * sysdeps/i386/fpu/libm-test-ulps: Update.
12301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12302
9e0e3d0b
DM
123032012-05-23 David S. Miller <davem@davemloft.net>
12304
12305 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12306 (__libc_sigaction): Remove unused local variables.
12307
ccd0a08f
L
123082012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12309
12310 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12311
62bdf9a6
PE
123122012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12313
f8591f80
PE
12314 mktime: avoid signed integer overflow
12315 * time/mktime.c (__mktime_internal): Do not mishandle the case
12316 where diff == INT_MIN.
12317
94c7d826
PE
12318 mktime: simplify computation of average
12319 * time/mktime.c (ranged_convert): Use new time_t_avg function
12320 instead of rolling our own (probably-slower) code.
12321
ce73d683
PE
12322 mktime: do not assume signed right shift propagates sign bit
12323 * time/mktime.c (isdst_differ): New static function.
12324 (__mktime_internal): No need to normalize tm_isdst now.
12325 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12326 tm_isdst values.
12327
72a22e59
PE
12328 mktime: merge another wrapv change from gnulib
12329 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12330 from some compilers.
12331
68605433
PE
12332 mktime: remove incorrect attempt at unusual arithmetics
12333 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12334 The code didn't really work on such machines anyway.
12335 (TYPE_MINIMUM): Assume two's complement.
12336 (twos_complement_arithmetic): Verify that long_int and time_t
12337 are two's complement (or unsigned, in the latter case).
12338
03cf7fe3
PE
12339 mktime: check signed shifts on long_int and time_t, too
12340 * time/mktime.c (SHR): Check that shifts work as desired
12341 on the types long_int and time_t too, as SHR is used on
12342 such types.
12343
f04dfbc2
PE
12344 mktime: do not assume 'long' is wide enough
12345 * time/mktime.c (verify): Move decl up.
12346 (long_int): New type.
12347 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12348 to remove assumption in the code that 'long' is wide enough to
12349 store year values. This assumption is not true on x32 and on
12350 some non-glibc platforms.
12351
62bdf9a6
PE
12352 mktime: merge wrapv change from gnulib
12353 * time/mktime.c (WRAPV): New macro.
12354 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12355 (guess_time_tm, __mktime_internal): Do not assume that signed
12356 integer overflow wraps around; modern compilers generate code
12357 where this assumption is no longer valid.
12358
5e292e4f
L
123592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12360
12361 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12362 Replace "jmp L(pseudo_end)" with "ret".
12363 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12364 Likewise.
12365
8caf8c87
AJ
123662012-05-23 Andreas Jaeger <aj@suse.de>
12367
12368 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12369 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12370
1a09dc56
AJ
123712012-05-23 Andreas Jaeger <aj@suse.de>
12372 Maximilian Attems <max@stro.at>
12373
12374 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12375 New macros.
12376
1c87aba0
L
123772012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12378
12379 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12380 code so that pseudo_end is just ret and the stack pointer is
12381 correct also for static library in error case.
12382
40e45bd5
JM
123832012-05-23 Joseph Myers <joseph@codesourcery.com>
12384
c2670533
JM
12385 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12386 move to syscalls.list.
12387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12391
40e45bd5
JM
12392 * manual/install.texi (Running make install): Do not mention Linux
12393 kernel version for which pt_chown is not needed.
12394 (Linux): Do not mention problems with nscd with 2.0 kernels.
12395 * INSTALL: Regenerated.
12396
be08eda5
AJ
123972012-05-23 Andreas Jaeger <aj@suse.de>
12398
12399 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12400 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12401 macro.
12402 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12403 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12404 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12405 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12406 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12407 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12408 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12409 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12410 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12411 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12412 * sysdeps/unix/sysv/linux/bits/in.h
12413 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12414
a6a056bb
RM
124152012-05-22 Roland McGrath <roland@hack.frob.com>
12416
12417 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12418 (PREPARE_VERSION): Just use assert instead, it will be elided
12419 under [NDEBUG] anyway.
12420
c9009328
L
124212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12422
12423 * sysdeps/unix/sysv/linux/Makefile: Include
12424 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 12425 (sysdep_routines): Remove sysctl.
c9009328
L
12426 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12427 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12428 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12429 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12430 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12431
73338355
AJ
124322012-05-22 Andreas Jaeger <aj@suse.de>
12433
12434 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12435 that pseudo_end is just ret and the stack pointer is correct also
12436 for static library in error case.
12437
d44638b0
PP
124382012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12439
12440 [BZ #14122]
12441 * nss/nsswitch.c (defconfig_entries): New variable.
12442 (__nss_database_lookup): Don't leak defconfig entries.
12443 (nss_parse_service_list): Don't leak on error paths.
12444 (free_database_entries): New function.
12445 (free_defconfig): New function.
12446 (free_mem): Move common code to free_database_entries.
12447
31a39bd8
L
124482012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12449
da0331a8
L
12450 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12451 Add arch_prctl.
12452 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12453
31a39bd8
L
12454 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12455 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12456 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12457 New macro.
12458 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12459 (INTERNAL_SYSCALL_TYPES): Likewise.
12460 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12461 (LOAD_REGS_TYPES_[1-6]): Likewise.
12462 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12463 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12464
45470df3
AZ
124652012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12466
12467 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12468 copysignl for GLIBC_2_0.
12469 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12470 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12471 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12472 logbl for GLIBC_2_0.
12473 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12474 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12475
98a61bcb
L
124762012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12477
a4f6e481
L
12478 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12479 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12480
f63d5db6
L
12481 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12482 Use "neg %eax".
12483
98a61bcb
L
12484 * time/mktime.c: Update copyright years.
12485
95770f14
PE
124862012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12487
6226efbd
PE
12488 mktime: merge comment-quoting-style change from gnulib
12489 * time/mktime.c: Quote 'like this' in comments.
12490 The GNU coding standards suggest that we no longer quote `like this',
12491 as "`" and "'" are typically rendered asymmetrically nowadays.
12492 The typical gnulib style is to quote 'like this' when quoting
12493 code, and "like this" when quoting English.
12494
b99e4f78
PE
12495 * time/mktime.c (compile-command): Add "-I.".
12496
643e01e6
PE
12497 mktime: merge mktime-internal.h change from gnulib
12498 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12499
2554247d
PE
12500 mktime: merge time_r change from gnulib
12501 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12502
826dd0ab
PE
12503 mktime: merge DEBUG change from gnulib
12504 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12505 case system <time.h> has a #define.
12506
bd83aabe
PE
12507 mktime: merge <sys/types.h> change from gnulib
12508 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12509 since <time.t> is now guaranteed to define time_t.
12510
95770f14
PE
12511 mktime: merge HAVE_CONFIG_H change from gnulib
12512 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12513
5e1a27a9
L
125142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12515
0e44a77e
L
12516 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12517 Use "neg %eax".
12518
5e1a27a9
L
12519 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12520 __rlim_t cast.
12521 (struct rusage): Use anonymous union to pad each field to
12522 __syscall_slong_t.
12523
46259bec
DM
125242012-05-21 David S. Miller <davem@davemloft.net>
12525
12526 * Makefules (o-iterator): Remove .s cases.
12527 (compile-command.s): Delete.
12528 (COMPILE.s): Delete.
12529 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12530
59f0c22e
JM
125312012-05-21 Joseph Myers <joseph@codesourcery.com>
12532
12533 * configure.in (libc_cv_predef_stack_protector): Only consider
12534 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12535 * configure: Regenerated.
12536
20c07380
L
125372012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12538
bbb3154b
L
12539 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12540 New macro. Use R*LP on int and pointer.
12541 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
12542 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12543 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
12544 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12545
20c07380
L
12546 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12547 [__WORDSIZE_TIME64_COMPAT32] instead of
12548 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12549 (struct utmp): Likewise.
12550 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12551 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12552 Renamed to ...
12553 (__WORDSIZE_TIME64_COMPAT32): This.
12554 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12555 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12556 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12557 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12558 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12559 (__WORDSIZE_TIME64_COMPAT32): New macro.
12560
d8d1017e
AJ
125612012-05-21 Andreas Jaeger <aj@suse.de>
12562
12563 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12564 only if [SHARED]. Add prototype for __wcschr_ia32.
12565
6c7fb145
RM
125662012-05-21 Roland McGrath <roland@hack.frob.com>
12567
12568 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12569 of %rbp unmolested in the jmp_buf while mangling the low bits.
12570 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12571 unmolested high bits of %rbp while demangling the low bits.
12572 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12573
66274218
AJ
125742012-05-21 Andreas Jaeger <aj@suse.de>
12575
07c58f8f
AJ
12576 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12577 * sunrpc/svc_simple.c: Use it for registerrpc.
12578 * sunrpc/xcrypt.c: Use it for passwd2des.
12579
66274218
AJ
12580 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12581
61f65140
L
125822012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12583
12584 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12585 Don't define if [__SYSCALL_WORDSIZE != 32].
12586 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12587 New macro.
12588
5fefb436
AJ
125892012-05-21 Bruno Haible <bruno@clisp.org>
12590 Andreas Jaeger <aj@suse.de>
12591
12592 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12593 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12594 inptr and inend for must_buffer_ch.
12595 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12596 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12597 * stdio-common/Makefile (tests): Remove bug15.
12598 (bug15-ENV): Remove macro.
12599 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12600 anymore.
12601
d8e272ab
AJ
126022012-05-19 Andreas Jaeger <aj@suse.de>
12603 Roland McGrath <roland@hack.frob.com>
12604
12605 * manual/contrib.texi: Completely rewritten. It contains now an
12606 alphabetical list of contributors and their contributions.
12607
4a56a162
RH
126082012-05-21 Richard Henderson <rth@twiddle.net>
12609
12610 * misc/getauxval.c (__getauxval): Use unsigned long int.
12611 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12612 (getauxval): Use unsigned long int.
12613
d024d23c
L
126142012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12615
12616 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12617
cbc00a03
RM
126182012-05-21 Roland McGrath <roland@hack.frob.com>
12619
12620 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12621 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12622 __alignof__ (long double).
12623
478143fa
AZ
126242012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12625
12626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12627
c7683a6d
RH
126282012-05-20 Richard Henderson <rth@twiddle.net>
12629
12630 * misc/getauxval.c: New file.
12631 * misc/sys/auxv.h: New file.
12632 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12633 (routines): Add getauxval.
12634 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12635 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12636 * elf/dl-sysdep.c (_dl_auxv): Remove.
12637 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12638 * elf/dl-support.c (_dl_auxv): New variable.
12639 (_dl_aux_init): Initialize it.
12640 * manual/startup.texi (Auxiliary Vector): New node.
12641 * sysdeps/generic/bits/hwcap.h: New file.
12642 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12643 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12644 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12645 * sysdeps/sparc/sysdep.h: ... here. Include it.
12646 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12647 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
12648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12649 Update.
c7683a6d
RH
12650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12653 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12655 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12658
a6f1845d
AZ
126592012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12660
12661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12662
cbcbe830
DM
126632012-05-19 David S. Miller <davem@davemloft.net>
12664
12665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12666
e0b16cc2
JM
126672012-05-19 Joseph Myers <joseph@codesourcery.com>
12668
12669 [BZ #14123]
12670 * math/s_ccosh.c: Include <float.h>
12671 (__ccosh): Avoid internal overflow calculating sinh and cosh
12672 values before multiplying by sin and cos values.
12673 * math/s_ccoshf.c: Likewise.
12674 * math/s_ccoshl.c: Likewise.
12675 * math/s_csin.c: Likewise.
12676 * math/s_csinf.c: Likewise.
12677 * math/s_csinl.c: Likewise.
12678 * math/s_csinh.c: Likewise.
12679 * math/s_csinhf.c: Likewise.
12680 * math/s_csinhl.c: Likewise.
12681 * math/libm-test.inc (ccos_test): Add more tests.
12682 (ccosh_test): Likewise.
12683 (csin_test): Likewise.
12684 (csinh_test): Likewise.
12685 * sysdeps/i386/fpu/libm-test-ulps: Update.
12686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12687
6ad13e08
L
126882012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12689
f66f0ce8
L
12690 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12691 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12692
6ad13e08
L
12693 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12694
b1d072a7
JM
126952012-05-19 Joseph Myers <joseph@codesourcery.com>
12696
12697 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12698 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12699 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12700 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12701 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12702 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12703 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12704 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12705 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12706 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12707 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12708 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12709 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12710 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12711 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12712 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12713 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12714 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12715 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12716 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12717 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12718 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12719 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12720 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12721 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12722 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12723 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12724 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12725 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12726 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12727 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12728
9eae47cb
AJ
127292012-05-18 Andreas Jaeger <aj@suse.de>
12730
12731 * csu/.gitignore: Delete.
12732
bb07f69f
L
127332012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12734
12735 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12736 (timex): Use __syscall_slong_t.
12737
e6bdb741
AJ
127382012-05-18 Andreas Jaeger <aj@suse.de>
12739 Carlos O'Donell <carlos_odonell@mentor.com>
12740
12741 * manual/install.texi (Configuring and compiling): Update
12742 description about files modified in the source directory.
d6c33fda 12743 * INSTALL: Regenerated.
e6bdb741 12744
1b74487e
L
127452012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12746
12747 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12748 value. Use "or" to set return value to -1.
12749 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12750 negate return value.
12751
a88b64b9
TMQMF
127522012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12753
12754 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12755 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12756 failure if the compiler has Graphite support disabled.
12757 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12758 Likewise.
12759 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12760 CFLAGS-memmove.c): Likewise.
12761 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12762 Likewise.
12763
3707636e
L
127642012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12765
610b8622
L
12766 * sysdeps/x86_64/x32/_itoa.h: New file.
12767
7cd195df
L
12768 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12769 getdents system call only if kernel and user dirents have the
12770 same d_ino and d_off.
12771
94b07d20
L
12772 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12773 LLONG_MAX != LONG_MAX.
12774 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12775 (_fitoa_word): Likewise.
12776
18298070
L
12777 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12778 years.
12779 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12780 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12781 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12782
553c7ea4
L
12783 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12784 include <bits/wordsize.h>. Check __x86_64__ instead of
12785 __WORDSIZE.
12786 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12787 if __x86_64__ is defined. Use anonymous union on fpstate.
12788
3707636e
L
12789 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12790 anonymous union.
12791
b53ef01a
AS
127922012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12793
37fb1dc0
AS
12794 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12795 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12796 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12797 Refer to _rtld_local_ro instead of _rtld_global_ro.
12798 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12799 Likewise.
12800 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12801 Likewise.
12802 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12803 Likewise.
12804 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12805 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12806 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12807
b53ef01a
AS
12808 * sysdeps/powerpc/powerpc32/dl-machine.c
12809 (__elf_machine_runtime_setup) [PROF]: Don't reference
12810 _dl_prof_resolve.
12811
7a185db2
AJ
128122012-05-18 Andreas Jaeger <aj@suse.de>
12813
12814 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12815 function only available for GCCs before 3.4 since GCC 3.4
12816 introduced a builtin.
12817 (lrint): Likewise.
12818 (llrintf): Likewise.
12819 (llrint): Likewise.
12820 (fmaxf): Likewise.
12821 (fmax): Likewise.
12822 (fminf): Likewise.
12823 (fmin): Likewise.
12824 (rint): Likewise.
12825 (rintf): Likewise.
12826 (nearbyint): Likewise.
12827 (nearbyintf): Likewise.
12828 (ceil): Likewise.
12829 (ceilf): Likewise.
12830 (floor): Likewise.
12831 (floorf): Likewise.
12832
3e5aef87
L
128332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12834
428bd707
L
12835 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
12836 on both fields and cast pointer to __syscall_ulong_t.
12837
3e5aef87
L
12838 * bits/types.h (__fsword_t): New type.
12839 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
12840 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
12841 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12842 (__FSWORD_T_TYPE): Likewise.
12843 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12844 (__FSWORD_T_TYPE): Likewise.
12845 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12846 (__FSWORD_T_TYPE): Likewise.
12847 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
12848 (__FSWORD_T_TYPE): Likewise.
12849 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
12850 __SWORD_TYPE with __fsword_t.
12851 (statfs64): Likewise.
12852
1ba7c3dc
DM
128532012-05-17 David S. Miller <davem@davemloft.net>
12854
12855 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
12856
59910343
AJ
128572012-05-17 Andreas Jaeger <aj@suse.de>
12858
12859 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
12860 warning.
12861
2e4c1e9e
L
128622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12863
12864 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
12865
de7f5ce7
AJ
128662012-05-17 Andreas Jaeger <aj@suse.de>
12867
12868 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
12869 when it is used.
12870
286abc3d
CM
128712012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12872
12873 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
12874
477cc68e
L
128752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
12876
12877 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
12878 * sysdeps/x86_64/tst-mallocalign1.c: New file.
12879
1a0994f5
CD
128802012-05-17 Andreas Jaeger <aj@suse.de>
12881 Carlos O'Donell <carlos_odonell@mentor.com>
12882
12883 [BZ #14059]
12884 * sysdeps/x86_64/multiarch/init-arch.h
12885 (bit_YMM_Usable): Rename to...
12886 (bit_AVX_Usable): ... this.
12887 (bit_FMA4_Usable): New macro.
12888 (bit_XMM_state): New macro.
12889 (bit_YMM_state): New macro.
12890 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
12891 [__ASSEMBLER__] (index_AVX_Usable): ... this.
12892 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
12893 (CPUID_OSXSAVE): New macro.
12894 (CPUID_AVX): New macro.
12895 (CPUID_FMA4): New macro.
12896 (index_YMM_Usable): Rename to...
12897 (index_AVX_Usable): ... this.
12898 (HAS_AVX): Use HAS_ARCH_FEATURE.
12899 (HAS_FMA4): Likewise.
12900 (HAS_YMM_USABLE): Remove.
12901 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12902 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
12903 are present.
12904 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
12905 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
12906 * sysdeps/x86_64/multiarch/Makefile: Likewise.
12907 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
12908 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
12909
0af797de
CM
129102012-05-17 Chris Metcalf <cmetcalf@tilera.com>
12911
12912 * math/libm-test.c: Support platforms without multiple rounding modes.
12913 * math/bug-nextafter.c: Support platforms without FP exceptions.
12914 * math/bug-nexttoward.c: Likewise.
12915 * math/test-fenv.c: Likewise.
12916 * math/test-misc.c: Likewise.
12917 * stdlib/bug-getcontext.c: Likewise.
12918
e39745ff
AJ
129192012-05-17 Andreas Jaeger <aj@suse.de>
12920
12921 * manual/examples/search.c (critter_cmp): Change signature to
12922 avoid warnings.
12923 * manual/string.texi (Collation Functions): Likewise.
12924
48970aba
L
129252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12926
12927 * bits/types.h: Fold copyright years.
12928 * bits/typesizes.h: Likewise.
12929 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
12930 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12931 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
12932 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
12933 * time/time.h: Likewise.
12934
bedee953
PP
129352012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
12936
12937 [BZ #208]
12938 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
12939 in instead of returning them. Return void.
12940 (__libc_mallinfo): Accumulate over all arenas.
12941 (__malloc_stats): Adjust for change in int_mallinfo interface.
12942
61653dfb
RM
129432012-05-16 Roland McGrath <roland@hack.frob.com>
12944
30b99d79
RM
12945 [BZ #10375]
12946 * configure.in (NM): Add AC_CHECK_TOOL for it.
12947 (libc_extra_cflags): New substituted variable.
12948 Check for -fstack-protector being used implicitly.
12949 * configure: Regenerated.
12950 * config.make.in (config-extra-cflags): New variable,
12951 gets @libc_extra_cflags@.
12952 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
12953
61653dfb
RM
12954 [BZ #10375]
12955 * configure.in: Check for _FORTIFY_SOURCE being predefined.
12956 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
12957 * configure: Regenerated.
12958 * config.make.in (CPPUNDEFS): New substituted variable.
12959 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
12960 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
12961 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
12962
661768bb
L
129632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12964
12965 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
12966 (mq_attr): Use __syscall_slong_t.
12967
d4261567
L
129682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12969
12970 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
12971 Check __x86_64__ instead of __WORDSIZE.
12972 (_STAT_VER_LINUX): Likewise.
12973 (stat): Check __x86_64__ instead of __WORDSIZE. Use
12974 __syscall_ulong_t and __syscall_slong_t.
12975 (stat64): Likewise.
12976
cf3ff365
L
129772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12978
12979 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
12980
76cf3e4d
L
129812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12982
12983 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
12984
a637753a
L
129852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
12986
12987 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
12988 __syscall_ulong_t.
12989
d5e05119
L
12990 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
12991 include <bits/wordsize.h>. Check __x86_64__ instead of
12992 __WORDSIZE.
12993 (greg_t): Use "__extension__ long long int" if __x86_64__ is
12994 defined.
12995 (mcontext_t): Replace "unsigned long" with "unsigned long long".
12996
f62ee380
L
12997 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
12998 include <bits/wordsize.h>. Check __x86_64__ instead of
12999 __WORDSIZE.
13000 (user_regs_struct): Use "__extension__ unsigned long long"
13001 instead of "unsigned long" if __x86_64__ is defined.
13002 (user): Likewise. Pad after pointer field if __ILP32__ is
13003 defined.
13004
4e124ced
JM
130052012-05-16 Joseph Myers <joseph@codesourcery.com>
13006
6a3951a0
JM
13007 * configure.in (makeinfo): Require version 4.5 or later. Allow
13008 versions 5 to 9.
13009 * configure: Regenerated.
13010 * manual/install.texi (texinfo): Increase version requirement to
13011 4.5 or later.
13012 * INSTALL: Regenerated.
13013
4e124ced
JM
13014 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13015
953ca31a
L
130162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13017
13018 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13019
617aca05
L
13020 * sysdeps/x86_64/x32/ffs.c: New file.
13021
5762f7ae
L
13022 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13023 __syscall_ulong_t.
13024 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13025 defined. Use __syscall_ulong_t.
13026 (shminfo): Use __syscall_ulong_t.
13027 (shm_info): Likewise.
13028
a26b6856
L
13029 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13030 __syscall_ulong_t.
13031
cb2b9ef7
L
13032 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13033 <bits/wordsize.h>.
13034 (msgqnum_t): Use __syscall_ulong_t.
13035 (msglen_t): Likewise.
13036 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13037 __syscall_ulong_t.
13038
34683bb0
L
13039 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13040 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13041
84a68786
L
13042 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13043
48baa5f1
L
13044 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13045 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13046
180be88b
L
13047 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13048 __syscall_slong_t.
13049
5e90c8ad
L
13050 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13051 include <bits/wordsize.h>. Check __x86_64__ instead of
13052 __WORDSIZE.
13053
23dfb58b
L
13054 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13055 "unsigned long long int" if __x86_64__ is defined.
13056 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13057
ce5d54b0
L
13058 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13059 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13060 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13061
13dc9eac
L
13062 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13063 <stdint.h>.
13064 (GET_PC): Cast to uintptr_t first.
13065 (GET_FRAME): Likewise.
13066 (GET_STACK): Likewise.
13067
a7895d15
L
13068 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13069 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13070 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13071 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13072 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13073 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13074 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13075 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13076 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13077 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13078 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13079 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13080 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13081 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13082 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13083 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13084 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13085 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13086 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13087 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13088 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13089 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13090 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13091 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13092 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13093 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13094 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13095 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13096 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13097
656416c9
AS
130982012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13099
5bd66283
AS
13100 * Makerules (+depfiles): Also collect depfiles from .oS in
13101 $(extra-objs).
13102 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13103 .oS, $(libnldbl-routines)).
13104
656416c9
AS
13105 * Makerules (native-compile-mkdep-flags): Define.
13106 * sunrpc/Makefile (extra-objs): Add $(addprefix
13107 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13108 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13109 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13110 calling $(make-target-directory).
13111
a46f2169
L
131122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13113
13114 * bits/types.h (__snseconds_t): Removed.
13115 * time/time.h (struct timespec): Replace __snseconds_t with
13116 __syscall_slong_t.
13117 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13118 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13119 Likewise.
13120 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13121 (__SNSECONDS_T_TYPE): Likewise.
13122 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13123 (__SNSECONDS_T_TYPE): Likewise.
13124 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13125 (__SNSECONDS_T_TYPE): Likewise.
13126
6af6528b
L
131272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13128
13129 * sysdeps/mach/hurd/bits/typesizes.h
13130 (__SYSCALL_SLONG_TYPE): New macro.
13131 (__SYSCALL_ULONG_TYPE): Likewise.
13132
de986b56
L
131332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13134
13135 * bits/types.h (__syscall_slong_t): New type.
13136 (__syscall_ulong_t): Likewise.
13137
13138 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13139 (__SYSCALL_ULONG_TYPE): Likewise.
13140 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13141 (__SYSCALL_SLONG_TYPE): Likewise.
13142 (__SYSCALL_ULONG_TYPE): Likewise.
13143 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13144 (__SYSCALL_SLONG_TYPE): Likewise.
13145 (__SYSCALL_ULONG_TYPE): Likewise.
13146 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13147 (__SYSCALL_SLONG_TYPE): Likewise.
13148 (__SYSCALL_ULONG_TYPE): Likewise.
13149
85736dc7
L
131502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13151
13152 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13153 Add sigaltstack-offsets.sym.
13154 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13155 <sigaltstack-offsets.h>.
13156 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13157 longjmp_msg pointer.
13158 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13159 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13160 signal stack.
13161 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13162
cc03b296
JM
131632012-05-15 Joseph Myers <joseph@codesourcery.com>
13164
a9538892
JM
13165 * elf/stackguard-macros.h: Remove file.
13166 * sysdeps/generic/stackguard-macros.h: New file.
13167 * sysdeps/i386/stackguard-macros.h: Likewise.
13168 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13169 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13170 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13171 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13172 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13173 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13174 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13175 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13176 <elf/stackguard-macros.h>.
13177
cc03b296
JM
13178 [BZ #14109]
13179 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13180 __aligned__ in attribute.
13181 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13182 (gregset_t): Likewise.
13183
93171016
L
131842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13185
13186 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13187 * sysdeps/x86_64/64/Implies-after: Here. New file.
13188 * sysdeps/x86_64/x32/Implies-after: New file.
13189
d86813a0
L
131902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13191
13192 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13193 and access return value for _dl_profile_fixup. Use R10_LP to
13194 load frame size.
13195
2953ec75
L
131962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13197
13198 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13199
3b550e9e
L
132002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13201
13202 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13203 * sysdeps/x86_64/x32/sysdep.h: New file.
13204
eda41706
L
132052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13206
13207 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13208 * sysdeps/x86_64/setjmp.S: Likewise.
13209
9ea01d93
AZ
132102012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13211
13212 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13213 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13214 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13215 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13216 remove unused global constant.
13217
02a91938
CM
132182012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13219
13220 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13221 include of <not-cancel.h>.
13222
6540185f
RM
132232012-05-15 Roland McGrath <roland@hack.frob.com>
13224
13225 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13226
509072a0
AJ
132272012-05-15 Jeff Law <law@redhat.com>
13228 Andreas Jaeger <aj@suse.de>
13229
13230 [BZ #13594]
13231 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13232 out from...
13233 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13234 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13235 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13236 code changing __hst_map_handle.map.
13237
ba75122d
RM
132382012-05-15 Roland McGrath <roland@hack.frob.com>
13239
13240 * configure.in (sysnames): Look for Implies-before and Implies-after
13241 files.
13242 * configure: Regenerated.
13243
890d8bd8
L
132442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13245
13246 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13247 8-byte data alignment with LP_SIZE alignment.
13248
f6ee6623
L
132492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13250
13251 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13252 into R10_LP.
13253
ea2626f6
L
132542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13255
13256 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13257
085f715e
L
132582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13259
13260 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13261 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13262 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13263 Likewise.
13264 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13265
be8498fc
L
132662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13267
13268 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13269 (stackinfo_sub_sp): Likewise.
13270
70bc83b9
L
132712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13272
13273 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13274 RAX_LP.
13275
9bc0b730
L
132762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13277
13278 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13279 into R*_LP.
13280
6d2850e7
L
132812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13282
13283 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13284 sizes into R*_LP.
13285
3cb84561
L
132862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13287
13288 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13289
54e2ed81
L
132902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13291
13292 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13293 into R11_LP and load __x86_64_shared_cache_size_half into
13294 R8_LP.
13295
8a17f349
L
132962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13297
13298 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13299 R8_LP.
13300
777b1eea
AZ
133012012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13302
13303 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13304 logb for POWER7.
13305 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13306 logbf for POWER7.
13307 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13308 logbl for POWER7.
13309 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13310 powerpc32/power7/fpu/s_logb.c via #include.
13311 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13312 powerpc32/power7/fpu/s_logbf.c via #include.
13313 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13314 powerpc32/power7/fpu/s_logbl.c via #include.
13315
d20d4ac2
JM
133162012-05-15 Joseph Myers <joseph@codesourcery.com>
13317
13318 * README.libm: Remove file.
13319
6cdef1ab
L
133202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13321
13322 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13323 count for x32. Use R*_LP and omit operand-size suffix.
13324
0b254d8f
L
133252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13326
13327 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13328 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13329 * sysdeps/x86_64/x32/shlib-versions: New file.
13330
ceb809dc
RM
133312012-05-14 Roland McGrath <roland@hack.frob.com>
13332
13333 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13334 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13335 Use _dl_fatal_printf instead.
13336
37f1abd4
JM
133372012-05-14 Joseph Myers <joseph@codesourcery.com>
13338
13339 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13340 set if not set by the user. Do not allow for being unset.
13341 * sysdeps/unix/sysv/linux/configure: Regenerated.
13342
11de3a33
L
133432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13344
13345 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13346 the `q' suffix from lea and replace .quad with ASM_ADDR.
13347
e02f153a
L
133482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13349
13350 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13351 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13352 instead of $17.
13353 (PTR_DEMANGLE): Likewise.
13354
520ae0fd
L
133552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13356
13357 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13358 (LP_OP): Likewise.
13359 (ASM_ADDR): Likewise.
13360 (RAX_LP): Likewise.
13361 (RBP_LP): Likewise.
13362 (RBX_LP): Likewise.
13363 (RCX_LP): Likewise.
13364 (RDI_LP): Likewise.
13365 (RSI_LP): Likewise.
13366 (RSP_LP): Likewise.
13367 (R8_LP): Likewise.
13368 (R9_LP): Likewise.
13369 (R10_LP): Likewise.
13370 (R10_LP): Likewise.
13371 (R11_LP): Likewise.
13372 (R12_LP): Likewise.
13373 (R13_LP): Likewise.
13374 (R14_LP): Likewise.
13375 (R15_LP): Likewise.
13376
b985be81
L
133772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13378
13379 * sysdeps/x86_64/x32/dl-machine.h: New file.
13380
6a4888ff
AJ
133812012-05-14 Andreas Jaeger <aj@suse.de>
13382
13383 * manual/Makefile (subdir): Remove export of subdir.
13384 (all): Remove target.
13385 (.PHONY): Remove all from list.
13386 (mkinstalldirs): Remove.
13387 (.PHONY): Remove installdirs from list.
13388 ($(inst_infodir)/libc.info): Use make-target-directory.
13389 (installdirs): Remove.
13390 (subdir_%): Remove.
13391 (glibc-targets): Remove.
13392 (lib): Remove.
13393 (stubs): Remove.
13394 ($(objpfx)stubs ../po/manual.pot): Remove.
13395 ($(objpfx)stamp%): Remove.
13396 (make-target-directory): Remove.
13397 (subdir_install): Remove.
13398 (routines): Remove.
13399 (aux): Remove.
13400 (sources): Remove.
13401 (objects): Remove.
13402 (headers): Remove.
13403
13404 [BZ #13750]
13405 * manual/.gitignore: Remove, it's not needed anymore.
13406 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13407 all files in it.
13408 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13409 directory.
13410 (texis): Renamed to $(objpfx)texis.
13411 (texis-path): New, contains path to generated files.
13412 (chapters.%): Use texis-path for complete path, add extra argument
13413 libc-texinfo.sh.
13414 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13415 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13416 (summary,texi, stamp-summary): Use complete path of
13417 files. Generate files in build dir.
13418 (dir-add.texi): Build in build dir.
13419 (libm-err.texi,stamp-libm-err): Likewise.
13420 (version.texi, stamp-version): Likewise.
13421 (.%c.texi): Likewise.
13422 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13423 (mostlyclean): Remove target.
13424 (realclean): Remove target.
13425 (generated): Add new variable with contents from mostlyclean and
13426 realclean, remove entries duplicated in common-mostlyclean, add
13427 stamp-libm-err and stamp-version.
13428 (generated-dirs): Add libc directory.
13429 ($(inst_infodir)/libc.info): Install files from build dir.
13430
13431 * manual/install.texi (Configuring and compiling): Adjust since
13432 the info files are not part of the tar ball anymore.
13433
7ac77294
AJ
134342012-05-14 Andreas Jaeger <aj@suse.de>
13435
13436 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13437 variable.
13438
ffb7875d
JM
134392012-05-14 Joseph Myers <joseph@codesourcery.com>
13440
13441 [BZ #13717]
13442 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13443 to 2.2.0 where earlier.
13444 * sysdeps/unix/sysv/linux/configure: Regenerated.
13445 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13446 Remove conditional code.
13447 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13448 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13449 Remove conditional code.
13450 [!__NR_lchown]: Likewise.
13451 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13452 [__NR_lchown]: Likewise.
13453 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13454 comment referencing __ASSUME_LCHOWN_SYSCALL.
13455 * sysdeps/unix/sysv/linux/i386/sigaction.c
13456 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13457 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13458 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13459 Remove conditional code.
13460 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13461 (__protocol_available): Remove #if 0 code.
13462 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13463 conditional code.
13464 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13465 * sysdeps/unix/sysv/linux/kernel-features.h
13466 (__ASSUME_GETCWD_SYSCALL): Don't define.
13467 (__ASSUME_REALTIME_SIGNALS): Likewise.
13468 (__ASSUME_PREAD_SYSCALL): Likewise.
13469 (__ASSUME_PWRITE_SYSCALL): Likewise.
13470 (__ASSUME_POLL_SYSCALL): Likewise.
13471 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13472 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13473 non-SPARC.
13474 (__ASSUME_SIOCGIFNAME): Don't define.
13475 (__ASSUME_MSG_NOSIGNAL): Likewise.
13476 (__ASSUME_SENDFILE): Define unconditionally.
13477 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13478 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13479 conditional code.
13480 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13481 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13482 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13483 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13484 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13485 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13486 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13488 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13489 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13491 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13492 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13494 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13495 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13497 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13498 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13500 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13501 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13503 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13504 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13506 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13507 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13509 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13510 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13511 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13512 Remove conditional code.
13513 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13514 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13515 Remove conditional code.
13516 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13517 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13518 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13519 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13520 Remove conditional code.
13521 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13522 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13523 Remove conditional code.
13524 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13525 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13526 Remove conditional code.
13527 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13528 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13529 Remove conditional code.
13530 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13531 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13532 Remove conditional code.
13533 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13534 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13535 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13536 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13537 * sysdeps/unix/sysv/linux/sigaction.c
13538 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13539 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13540 * sysdeps/unix/sysv/linux/sigpending.c
13541 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13542 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13543 * sysdeps/unix/sysv/linux/sigprocmask.c
13544 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13545 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13546 * sysdeps/unix/sysv/linux/sigsuspend.c
13547 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13548 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13549 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13550 (__libc_missing_rt_sigs): Remove.
13551 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13552 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13553 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13554 Remove conditional code.
13555 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13556 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13557 return 1.
13558 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13559 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13560 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13561 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13562
1bfb7291
AJ
135632012-05-14 Andreas Jaeger <aj@suse.de>
13564
caae5a81
AJ
13565 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13566 it's not used in glibc.
13567 (__coshm1): Likewise.
13568 (__acosh1p): Likewise.
13569 (__sgn): Likewise.
13570
1bfb7291
AJ
13571 * manual/string.texi (Copying and Concatenation): Add missing
13572 variable in concat example.
13573 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13574
c044d724
L
135752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13576
144c5467 13577 [BZ #14103]
c044d724
L
13578 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13579 __builtin_clzl with __builtin_clzll.
13580
2523c62b
L
135812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13582
13583 [BZ #14104]
13584 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13585 libc_freeres_ptr.
13586
d7bb4c42
LD
135872012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13588
13589 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13590 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13591 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13592 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13593
9dc4e1fb
MF
135942012-05-14 Mike Frysinger <vapier@gentoo.org>
13595
13596 * NEWS: Update ia64 info.
13597
c7df0112
AS
135982012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13599
13600 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13601 used as bcopy.
13602
dc70356c
TS
136032012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13604
13605 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13606 * sysdeps/unix/syscalls.list (dup3): Likewise.
13607 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13608 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13609
9fb1a21f
L
136102012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13611
13612 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13613 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13614
4822a2a5
L
136152012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13616
13617 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13618 thread pointer.
13619 (TLS_IE): Use mov/add instead of movq/addq to load thread
13620 pointer.
13621 (TLS_GD_PREFIX): New.
13622 (TLS_GD): Use it.
13623
842b81d6
DM
136242012-05-11 David S. Miller <davem@davemloft.net>
13625
13626 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13627 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13628 (_FPU_SETCW): Likewise.
13629
1cf463cd
L
136302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13631
13632 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13633 is 32-byte aligned.
13634
60cc4a18
AS
136352012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13636
13637 [BZ #11837]
13638 * iconvdata/gb18030.c: Update tables.
13639 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13640 characters specially.
13641 (BODY for TO_LOOP): Add encoding of missing ranges.
13642
febb44a4
TS
136432012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13644
13645 [BZ #13673]
13646 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13647 * sysdeps/mach/hurd/dup3.c: Likewise.
13648 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13649 * sysdeps/powerpc/memmove.c:: Likewise.
13650
0a10fb9e
L
136512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13652
13653 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13654 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13655
df8a552f
L
136562012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13657
13658 * elf/elf.h (R_X86_64_RELATIVE64): New.
13659 (R_X86_64_NUM): Updated.
13660 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13661 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13662 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13663 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13664 tst-quad1pie tst-quad2pie
13665 (modules-names): Add tst-quadmod1 tst-quadmod2.
13666 ($(objpfx)tst-quad1): New dependency.
13667 ($(objpfx)tst-quad2): Likewise.
13668 ($(objpfx)tst-quad1pie): Likewise.
13669 ($(objpfx)tst-quad2pie): Likewise.
13670 * sysdeps/x86_64/tst-quad1.c: New file.
13671 * sysdeps/x86_64/tst-quad1pie.c: New file.
13672 * sysdeps/x86_64/tst-quad2.c: Likewise.
13673 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13674 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13675 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13676 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13677 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13678
f34d6f84
ST
136792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13680
f42d41d1
ST
13681 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13682 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13683 * streams/stropts.h (t_scalar_t): Define type.
13684
3c3571fc
ST
13685 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13686 (_PATH_PRESERVE): Set to "/var/lib".
13687 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13688
61f06bd3
ST
13689 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13690 instead of int.
13691
918d4d71
ST
13692 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13693 if __dir_mkfile succeeded.
13694
f34d6f84
ST
13695 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13696 checking for _hurd_dtablesize. Unlock it right after having
13697 finished _hurd_dtable allocation.
13698
10589b4a
TS
136992012-05-10 Thomas Schwinge <thomas@schwinge.name>
13700
674cdbc7
TS
13701 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13702 * sysdeps/mach/hurd/configure: Regenerated.
13703 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13704 special-casing to...
13705 * sysdeps/gnu/configure.in: ... this new file.
13706 * sysdeps/unix/sysv/linux/configure: Regenerated.
13707 * sysdeps/gnu/configure: New generated file.
13708
8e41b99f
TS
13709 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13710 for Linux: use nsec instead of usec, as well as:
13711 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13712 members of type struct timespec.
13713 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13714 New macros.
13715 (struct stat64): Likewise.
13716 (_STATBUF_ST_NSEC): New macro.
13717 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13718
10589b4a
TS
13719 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13720 __strtoul_internal rather than strtoul.
13721
63643c85
PT
137222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13723
13724 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13725 and reject them.
13726
3faebe6a
ST
137272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13728
13729 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13730 which preserves existing values.
13731 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13732
c6474b07
PT
137332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13734
13735 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13736 TIMEOUT values. Return EINVAL for NFDS values either negative or
13737 greater than FD_SETSIZE.
13738
1043890b
ST
137392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13740
13741 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13742 allocated, call __vm_protect to finish enabling the existing space, and
13743 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13744 allocate the remainder.
13745
37ed8b9b
PT
137462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13747
13748 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13749 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13750
db653660
ST
137512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13752
37ed8b9b
PT
13753 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13754 sysdeps/mach/hurd/readlink.c.
b29d4053 13755
db653660
ST
13756 * posix/tst-sysconf.c (posix_options): Only use
13757 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13758 _POSIX_SYNCHRONIZED_IO when they are defined
13759 * sysdeps/mach/hurd/bits/posix_opt.h:
13760 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13761 (_XOPEN_REALTIME): Undefine macro.
13762 (_XOPEN_REALTIME_THREADS): Undefine macro.
13763 (_XOPEN_SHM): Undefine macro.
13764 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13765 macro to -1.
13766 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13767 macro to -1.
13768 (_POSIX_ASYNC_IO): Undefine macro.
13769 (_POSIX_PRIORITIZED_IO): Undefine macro.
13770 (_POSIX_SPIN_LOCKS): Define macro to -1.
13771
ee16e894
ST
13772 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13773 SA_NODEFER, SA_RESETHAND.
13774 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13775 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13776 F_DUPFD_CLOEXEC.
13777
6103ae3b
TS
137782012-05-10 Thomas Schwinge <thomas@schwinge.name>
13779
13780 * elf/Makefile (pldd-modules): Define unconditionally.
13781
80b4e5f3
TS
137822012-05-10 Thomas Schwinge <thomas@schwinge.name>
13783
13784 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13785
edadcbd6
ST
137862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13787
13788 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13789 Return ENOENT when name is empty.
13790 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13791
80694780
TS
137922012-05-10 Thomas Schwinge <thomas@schwinge.name>
13793
1792c087
TS
13794 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13795
80694780
TS
13796 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13797
6b645f0d
ST
137982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13799
80694780
TS
13800 Fix mlock in all cases except non-readable pages.
13801 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13802 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 13803
6b645f0d
ST
13804 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13805 (__mkdir): When path is `/', just fail with EEXIST.
13806 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13807
e468f8a3
TS
138082012-05-10 Thomas Schwinge <thomas@schwinge.name>
13809
13810 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13811 <sys/uio.h> (for writev).
13812 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13813 and <sys/param.h> (for MIN).
13814
a4186cff
PT
138152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13816
13817 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13818 REQUESTED_TIME. Properly set the remaining time and return EINTR
13819 if interrupted.
13820
510bbf14
TS
138212012-05-10 Thomas Schwinge <thomas@schwinge.name>
13822
13823 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13824 Depend on against $(link-rpcuserlibs).
13825
5d5722e8
ST
138262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13827
a4186cff
PT
13828 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13829 (__libc_stack_end): Do not use attribute_relro.
13830 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
13831 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 13832 to libthread-provided value.
a4186cff
PT
13833 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
13834 attribute_relro.
5d5722e8 13835
37233df9
TS
138362012-05-10 Thomas Schwinge <thomas@schwinge.name>
13837
be971a2b
TS
13838 [BZ #3748]
13839 * bits/libc-lock.h (__libc_once_get): New macro.
13840 * sysdeps/mach/bits/libc-lock.h: Likewise.
13841 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
13842 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
13843 instead of using implementation details.
13844
37233df9
TS
13845 * libio/fileops.c: Unconditionally include <kernel-features.h>.
13846 * libio/freopen.c: Likewise.
13847 * libio/freopen64.c: Likewise.
13848 * misc/syslog.c: Likewise.
13849 * nscd/connections.c: Likewise.
13850 * nscd/netgroupcache.c: Likewise.
13851 * sysdeps/posix/getcwd.c: Likewise.
13852
38de94a5
RM
138532012-05-10 Roland McGrath <roland@hack.frob.com>
13854
13855 * math/w_ilogbf.c: Add #include <limits.h>.
13856
67530489
ST
138572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13858
a4186cff 13859 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
13860 path instead of returning without unlocking.
13861
67530489
ST
13862 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
13863 immediate-write ioctls.
13864 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
13865
5aa3a74a
TS
138662012-05-10 Thomas Schwinge <thomas@schwinge.name>
13867
18bad2ae
TS
13868 * sysdeps/mach/hurd/i386/init-first.c (init): Use
13869 __builtin_frame_address instead of making assumptions about the
13870 location of the return address relative to DATA. Force early load of
13871 the return address.
13872 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
13873 __builtin_frame_address.
13874
5aa3a74a
TS
13875 dup3 for GNU Hurd.
13876 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
13877 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
13878 implement dup3 and do some further code clean-ups.
13879 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
13880 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
13881
ecd0de9a
ST
138822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13883
cd9fa985
ST
13884 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
13885
a4186cff
PT
13886 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
13887 HURD_CRITICAL_END around holding _hurd_dtable_lock.
13888 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
13889 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
13890 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
13891 d->port.lock.
802ca5a5 13892
a4186cff
PT
13893 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
13894 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
13895 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 13896
bcf55240
TS
138972012-05-10 Thomas Schwinge <thomas@schwinge.name>
13898
6960eb42
TS
13899 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
13900 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
13901 definitions.
13902
eb43375f
TS
13903 accept4 for GNU Hurd.
13904 * include/sys/socket.h (__libc_accept4): New prototype.
13905 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
13906 to implement __libc_accept4.
13907 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
13908 __libc_accept4.
13909 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
13910
bcf55240
TS
13911 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
13912 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
13913 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
13914 signal-defines.sym.
13915
6178c55b
ST
139162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13917
a4186cff 13918 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 13919
6f080c2f
TS
139202012-05-10 Thomas Schwinge <thomas@schwinge.name>
13921
13922 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
13923 assertion on O_CLOEXEC flag.
13924 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
13925 * hurd/intern-fd.c: Likewise.
13926 * hurd/port2fd.c: Likewise.
13927
bcfe3a54
ST
139282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13929
13930 [BZ #3906]
13931 * bits/in.h (IPV6_PKTINFO): Define new macro.
13932 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
13933
89c9aa49
AZ
139342012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13935
13936 [BZ #13954]
13937 [BZ #13955]
13938 [BZ #13956]
13939 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
13940 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
13941 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
13942 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
13943 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13944 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
13945 * math/libm-test.inc (logb_test) : Additional logb tests.
13946
021db4be
AJ
139472012-05-09 Andreas Schwab <schwab@linux-m68k.org>
13948 Andreas Jaeger <aj@suse.de>
13949
13950 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
13951 * configure: Regenerated.
13952 * config.h.in (LINK_OBSOLETE_RPC): New macro.
13953 * config.make.in (link-obsolete-rpc): New substituted variable.
13954 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
13955 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
13956 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13957 (shared-only-routines): Don't set it under [link-obsolete-rpc],
13958 so that libc.a contains the symbols.
13959 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
13960 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
13961 * sunrpc/auth_none.c: Likewise.
13962 * sunrpc/auth_unix.c: Likewise.
13963 * sunrpc/authdes_prot.c: Likewise.
13964 * sunrpc/authuxprot.c: Likewise.
13965 * sunrpc/clnt_gen.c: Likewise.
13966 * sunrpc/clnt_perr.c: Likewise.
13967 * sunrpc/clnt_raw.c: Likewise.
13968 * sunrpc/clnt_simp.c: Likewise.
13969 * sunrpc/clnt_tcp.c: Likewise.
13970 * sunrpc/clnt_udp.c: Likewise.
13971 * sunrpc/clnt_unix.c: Likewise.
13972 * sunrpc/des_crypt.c: Likewise.
13973 * sunrpc/des_soft.c: Likewise.
13974 * sunrpc/get_myaddr.c: Likewise.
13975 * sunrpc/key_call.c: Likewise.
13976 * sunrpc/key_prot.c: Likewise.
13977 * sunrpc/netname.c: Likewise.
13978 * sunrpc/pm_getmaps.c: Likewise.
13979 * sunrpc/pm_getport.c: Likewise.
13980 * sunrpc/pmap_clnt.c: Likewise.
13981 * sunrpc/pmap_prot.c: Likewise.
13982 * sunrpc/pmap_prot2.c: Likewise.
13983 * sunrpc/pmap_rmt.c: Likewise.
13984 * sunrpc/publickey.c: Likewise.
13985 * sunrpc/rpc_cmsg.c: Likewise.
13986 * sunrpc/rpc_common.c: Likewise.
13987 * sunrpc/rpc_dtable.c: Likewise.
13988 * sunrpc/rpc_prot.c: Likewise.
13989 * sunrpc/rpc_thread.c: Likewise.
13990 * sunrpc/rtime.c: Likewise.
13991 * sunrpc/svc.c: Likewise.
13992 * sunrpc/svc_auth.c: Likewise.
13993 * sunrpc/svc_raw.c: Likewise.
13994 * sunrpc/svc_run.c: Likewise.
13995 * sunrpc/svc_tcp.c: Likewise.
13996 * sunrpc/svc_udp.c: Likewise.
13997 * sunrpc/svc_unix.c: Likewise.
13998 * sunrpc/svcauth_des.c: Likewise.
13999 * sunrpc/xcrypt.c: Likewise.
14000 * sunrpc/xdr.c: Likewise.
14001 * sunrpc/xdr_array.c: Likewise.
14002 * sunrpc/xdr_float.c: Likewise.
14003 * sunrpc/xdr_intXX_t.c: Likewise.
14004 * sunrpc/xdr_mem.c: Likewise.
14005 * sunrpc/xdr_rec.c: Likewise.
14006 * sunrpc/xdr_ref.c: Likewise.
14007 * sunrpc/xdr_sizeof.c: Likewise.
14008 * sunrpc/xdr_stdio.c: Likewise.
14009
b5c086a2
RM
140102012-05-10 Roland McGrath <roland@hack.frob.com>
14011
14012 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14013 change. Update copyright years.
14014
6d74dd09
JM
140152012-05-10 Joseph Myers <joseph@codesourcery.com>
14016
14017 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14018
28e72501
MK
140192012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14020 Joseph Myers <joseph@codesourcery.com>
14021 Paul Pluzhnikov <ppluzhnikov@google.com>
14022
14023 [BZ #14012]
14024 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14025 requiring rpcgen.
14026 [cross-compiling] (extra-libs): Likewise.
14027 [cross-compiling] (extra-libs-others): Likewise.
14028 [cross-compiling] (librpcsvc-routines): Likewise.
14029 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14030 [cross-compiling] (omit-deps): Likewise.
14031 (sunrpc-CPPFLAGS): New variable.
14032 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14033 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14034 (cross-rpcgen-objs): New variable.
14035 (extra-objs): Append $(cross-rpcgen-objs).
14036 ($(cross-rpcgen-objs)): New rule.
14037 ($(objpfx)cross-rpcgen): Likewise.
14038 (rpcgen-cmd): Define to use $(built-program-file). Expand
14039 comment.
14040 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14041 ($(objpfx)x%.stmp): Likewise.
14042 * sunrpc/proto.h [IS_IN_build] (_): Define.
14043 [IS_IN_build] (_libc_intl_domainname): Likewise.
14044
c8c59454
L
140452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14046
14047 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14048 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14049 and R_X86_64_TPOFF64.
14050
6f27cd16
JM
140512012-05-10 Joseph Myers <joseph@codesourcery.com>
14052
14053 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14054 sysdeps/unix/sysv/syscalls.list.
14055 (stime): Likewise.
14056 (utime): Likewise.
14057 * sysdeps/unix/sysv/syscalls.list: Remove file.
14058
02467e1c
PE
140592012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14060
14061 [BZ #3440]
14062 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14063 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14064 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14065 (__LC_IDENTIFICATION): Make these macros useful in #if
14066 expressions, as required by C99.
14067
da392631
AS
140682012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14069
14070 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14071 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14072 after this.
14073
8115f29b
L
140742012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14075
14076 * stdlib/longlong.h: Updated from GCC.
14077
bdd74070
AJ
140782012-05-09 Andreas Jaeger <aj@suse.de>
14079
edfe0dbe
AJ
14080 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14081 default is first entry.
14082 (run_mode): Set type.
14083 (main): Remove informal message about syslog.
14084 (options): Fix typo.
14085
bcfe3a54
ST
14086 [BZ #14053]
14087 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 14088 to asm.
bcfe3a54
ST
14089 (lrint): Likewise.
14090 (llrintf): Likewise.
14091 (llrint): Likewise.
14092 (rint): Likewise.
14093 (rintf): Likewise.
14094 (nearbyint): Likewise.
14095 (nearbyintf): Likewise.
bdd74070 14096
91d8d69e
AJ
140972012-05-09 Andreas Jaeger <aj@suse.de>
14098 Pedro Alves <palves@redhat.com>
14099
14100 * nscd/nscd.c (run_mode): Use enum.
14101 (main): Cleanup coding style issue.
14102
bb90b80b
AJ
141032012-05-09 Alexandre Oliva <aoliva@redhat.com>
14104 Andreas Jaeger <aj@suse.de>
14105
bcfe3a54
ST
14106 * nscd/nscd.c (go_background): Replaced with...
14107 (run_mode): ... this.
bb90b80b 14108 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
14109 (options): Add -F --foreground.
14110 (main): Implement it.
14111 (parse_opt): Parse it.
bb90b80b 14112
1a4b75a1
AJ
141132012-05-09 Andreas Jaeger <aj@suse.de>
14114
14115 [BZ #14083]
14116 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14117 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14118 -Wconversion warning.
14119 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14120 Likewise.
14121
b1cc2472
JM
141222012-05-09 Joseph Myers <joseph@codesourcery.com>
14123
14124 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14125 == 0.
14126 (LC_ALL): Use macro-int-constant.
14127 (LC_COLLATE): Likewise.
14128 (LC_CTYPE): Likewise.
14129 (LC_MESSAGES): Likewise.
14130 (LC_MONETARY): Likewise.
14131 (LC_NUMERIC): Likewise.
14132 (LC_TIME): Likewise.
14133 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14134 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14135 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14136 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14137 Specify type.
14138 [C99-based standards] (float_t): Expect type.
14139 [C99-based standards] (double_t): Expect type.
14140 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14141 type.
14142 [C99-based standards] (HUGE_VALL): Likewise.
14143 [C99-based standards] (INFINITY): Likewise.
14144 [C99-based standards] (NAN): Likewise.
14145 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14146 [C99-based standards] (FP_NAN): Likewise.
14147 [C99-based standards] (FP_NORMAL): Likewise.
14148 [C99-based standards] (FP_SUBNORMAL): Likewise.
14149 [C99-based standards] (FP_ZERO): Likewise.
14150 [C99-based standards] (FP_FAST_FMA): Use
14151 optional-macro-int-constant. Specify type. Require == 1.
14152 [C99-based standards] (FP_FAST_FMAF): Likewise.
14153 [C99-based standards] (FP_FAST_FMAL): Likewise.
14154 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14155 [C99-based standards] (FP_ILOGBNAN): Likewise.
14156 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14157 Specify type.
14158 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14159 [C99-based standards] (math_errhandling): Specify type.
14160 [ISO99 || ISO11] (signgam): Do not allow.
14161 [non-C99-based standards] (copysignf): Do not allow.
14162 [non-C99-based standards] (exp2f): Likewise.
14163 [non-C99-based standards] (log2f): Likewise.
14164 [non-C99-based standards] (modff): Allow.
14165 [non-C99-based standards] (erff): Do not allow.
14166 [non-C99-based standards] (erfcf): Likewise.
14167 [non-C99-based standards] (gammaf): Likewise.
14168 [non-C99-based standards] (hypotf): Likewise.
14169 [non-C99-based standards] (j0f): Likewise.
14170 [non-C99-based standards] (j1f): Likewise.
14171 [non-C99-based standards] (jnf): Likewise.
14172 [non-C99-based standards] (lgammaf): Likewise.
14173 [non-C99-based standards] (tgammaf): Likewise.
14174 [non-C99-based standards] (y0f): Likewise.
14175 [non-C99-based standards] (y1f): Likewise.
14176 [non-C99-based standards] (ynf): Likewise.
14177 [non-C99-based standards] (isnanf): Likewise.
14178 [non-C99-based standards] (acoshf): Likewise.
14179 [non-C99-based standards] (asinhf): Likewise.
14180 [non-C99-based standards] (atanhf): Likewise.
14181 [non-C99-based standards] (cbrtf): Likewise.
14182 [non-C99-based standards] (expm1f): Likewise.
14183 [non-C99-based standards] (ilogbf): Likewise.
14184 [non-C99-based standards] (log1pf): Likewise.
14185 [non-C99-based standards] (logbf): Likewise.
14186 [non-C99-based standards] (nextafterf): Likewise.
14187 [non-C99-based standards] (remainderf): Likewise.
14188 [non-C99-based standards] (rintf): Likewise.
14189 [non-C99-based standards] (scalbf): Likewise.
14190 [non-C99-based standards] (copysignl): Likewise.
14191 [non-C99-based standards] (exp2l): Likewise.
14192 [non-C99-based standards] (log2l): Likewise.
14193 [non-C99-based standards] (modfl): Allow.
14194 [non-C99-based standards] (erfl): Do not allow.
14195 [non-C99-based standards] (erfcl): Likewise.
14196 [non-C99-based standards] (gammal): Likewise.
14197 [non-C99-based standards] (hypotl): Likewise.
14198 [non-C99-based standards] (j0l): Likewise.
14199 [non-C99-based standards] (j1l): Likewise.
14200 [non-C99-based standards] (jnl): Likewise.
14201 [non-C99-based standards] (lgammal): Likewise.
14202 [non-C99-based standards] (tgammal): Likewise.
14203 [non-C99-based standards] (y0l): Likewise.
14204 [non-C99-based standards] (y1l): Likewise.
14205 [non-C99-based standards] (ynl): Likewise.
14206 [non-C99-based standards] (isnanl): Likewise.
14207 [non-C99-based standards] (acoshl): Likewise.
14208 [non-C99-based standards] (asinhl): Likewise.
14209 [non-C99-based standards] (atanhl): Likewise.
14210 [non-C99-based standards] (cbrtl): Likewise.
14211 [non-C99-based standards] (expm1l): Likewise.
14212 [non-C99-based standards] (ilogbl): Likewise.
14213 [non-C99-based standards] (log1pl): Likewise.
14214 [non-C99-based standards] (logbl): Likewise.
14215 [non-C99-based standards] (nextafterl): Likewise.
14216 [non-C99-based standards] (remainderl): Likewise.
14217 [non-C99-based standards] (rintl): Likewise.
14218 [non-C99-based standards] (scalbl): Likewise.
14219 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14220 [non-C99-based standards] (FP_*): Do not allow.
14221 [C99-based standards] (FP_*): Change to
14222 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14223 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14224 allow.
14225 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14226 (SIG_ERR): Likewise.
14227 [X/Open-based standards] (SIG_HOLD): Likewise.
14228 (SIG_IGN): Likewise.
14229 (SIGABRT): Use macro-int-constant. Specify type. Require
14230 positive value.
14231 (SIGFPE): Likewise.
14232 (SIGILL): Likewise.
14233 (SIGINT): Likewise.
14234 (SIGSEGV): Likewise.
14235 (SIGTER): Likewise.
14236 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14237 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14238 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14239 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14240 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14241 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14242 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14243 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14244 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14245 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14246 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14247 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14248 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14249 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14250 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14251 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14252 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14253 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14254 [X/Open-based standards] (SIGTRAP): Likewise.
14255 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14256 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14257 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14258 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14259 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14260 allow.
14261
b9f1922d
IW
142622012-05-08 Ian Wienand <ianw@vmware.com>
14263
14264 [BZ #14080]
14265 * time/tzset.c (__tzset_parse_tz): Update default rules for
14266 daylight time changes in the Energy Policy Act of 2005.
14267
1db86e88
AJ
142682012-05-09 Andreas Jaeger <aj@suse.de>
14269
14270 [BZ #13983]
14271 * elf/ldconfig.c (parse_conf): Change string to make clear that
14272 ldconfig only issued a warning if ld.so.conf does not exist.
14273
dee4a4e3
DM
142742012-05-08 David S. Miller <davem@davemloft.net>
14275
ee0db190
DM
14276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14277 movxtod instead of popping the value on the stack.
14278
dee4a4e3
DM
14279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14280
6a43ec98
CD
142812012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14282
14283 * config.h.in: Add HAVE_ARM_PCS_VFP.
14284
05c2c961
RMG
142852012-05-08 Roland Mc Grath <roland@hack.frob.com>
14286
bcfe3a54
ST
14287 [BZ #13979]
14288 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14289 checking but the checks are disabled for any reason.
05c2c961 14290
4b30f61a
L
142912012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14292
14293 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14294 and ELF64_R_TYPE with ELFW(R_TYPE).
14295
eee2bc67
JM
142962012-05-08 Joseph Myers <joseph@codesourcery.com>
14297
7ea5391a
JM
14298 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14299 (ulimit): Likewise.
14300
eee2bc67
JM
14301 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14302 (settimeofday): Likewise.
14303
abb66a67
MF
143042012-05-08 Mike Frysinger <vapier@gentoo.org>
14305
14306 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14307 a struct th_u2 inside the union, and move tu_block/tu_code into
14308 a new th_u3 union of tu_block/tu_code inside of that. Move
14309 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14310 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14311 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14312 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14313 (th_stuff): Change to th_u1.tu_stuff.
14314 (th_data): Define.
14315 (th_msg): Change to th_u1.th_u2.tu_data.
14316
7f18b530
DM
143172012-05-07 David S. Miller <davem@davemloft.net>
14318
05760585
DM
14319 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14320
7f18b530
DM
14321 [BZ #14074]
14322 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14323 (SETUP_PIC_REG): Use it.
14324 (SETUP_PIC_REG_LEAF): Use it.
14325
495fd99f
JM
143262012-05-07 Joseph Myers <joseph@codesourcery.com>
14327
14328 [BZ #13885]
14329 [BZ #13923]
14330 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14331 USE_AS_EXPM1L.
14332 (EXPL_FINITE): Likewise.
14333 (FLDLOG): Likewise.
14334 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14335 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14336 e_expl.S.
14337 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14338 USE_AS_EXPM1L.
14339 (EXPL_FINITE): Likewise.
14340 (FLDLOG): Likewise.
14341 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14342 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14343 e_expl.S.
14344 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14345 test of -max_value argument for long double.
14346 * sysdeps/i386/fpu/libm-test-ulps: Update.
14347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14348
6693d694
DM
143492012-05-06 David S. Miller <davem@davemloft.net>
14350
14351 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14352 quad soft-float symbols whose references which are compiler
14353 generated.
14354 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14355
6c23e11c
JM
143562012-05-06 Joseph Myers <joseph@codesourcery.com>
14357
d8b82cad
JM
14358 [BZ #13884]
14359 [BZ #13914]
14360 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14361 USE_AS_EXP10L.
14362 (EXPL_FINITE): Likewise.
14363 (FLDLOG): Likewise.
14364 (c0): Likewise.
14365 (c1): Likewise.
14366 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14367 Adjust comments for base varying.
14368 (__expl_finite): Change alias to EXPL_FINITE.
14369 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14370 e_expl.S.
14371 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14372 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14373 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14374 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14375 * sysdeps/x86_64/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 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14385 tests for bugs.
14386 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14387
6c23e11c
JM
14388 [BZ #14064]
14389 * math/libm-test.inc (check_float_internal): Correct ulp
14390 calculation for subnormal expected results.
14391
29ba805c
AJ
143922012-05-06 Andreas Jaeger <aj@suse.de>
14393
14394 * Makeconfig (+math-flags): New, set to -frounding-math.
14395 (+cflags): Add +math-flags so that all of glibc gets compiled with
14396 it.
14397
14398 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14399
7b17aeda
JM
144002012-05-05 Joseph Myers <joseph@codesourcery.com>
14401
5779f134
JM
14402 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14403 Disable one test.
14404
41498f4d
JM
14405 [BZ #13787]
14406 [BZ #13922]
14407 [BZ #14036]
14408 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14409 (__ieee754_expl): Allow for and saturate large arguments.
14410 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14411 (u_threshold): Likewise.
14412 (__exp): Call __ieee754_exp before checking for overflow and
14413 underflow.
14414 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14415 (u_threshold): Likewise.
14416 (__expf): Call __ieee754_expf before checking for overflow and
14417 underflow.
14418 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14419 (u_threshold): Likewise.
14420 (__expl): Call __ieee754_expl before checking for overflow and
14421 underflow.
14422 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14423 (__ieee754_expl): Allow for and saturate large arguments.
14424 * math/libm-test.inc (exp_test): Add another test. Do not allow
14425 missing overflow exception on overflow.
14426 (expm1_test): Do not allow missing overflow exception on overflow.
14427
6698b8bf
JM
14428 * sysdeps/i386/fpu/e_expl.c: Move to ...
14429 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14430 rather than using inline asm.
14431 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14432 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14433 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14434
7b17aeda
JM
14435 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14436 (nice): Likewise.
14437 (poll): Likewise.
14438 (signal): Likewise.
14439 (time): Likewise.
14440 (times): Likewise.
14441
f7c85819
JM
144422012-05-04 Joseph Myers <joseph@codesourcery.com>
14443
14444 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14445 sysdeps/unix/common/syscalls.list.
14446 (fchmod): Likewise.
14447 (fchown): Likewise.
14448 (ftruncate): Likewise.
14449 (getrusage): Likewise.
14450 (gettimeofday): Likewise.
14451 (setpgid): Likewise.
14452 (setregid): Likewise.
14453 (setreuid): Likewise.
14454 (sigaction): Likewise.
14455 (truncate): Likewise.
14456 (vhangup): Likewise.
14457 * sysdeps/unix/common/syscalls.list: Remove file.
14458 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14459 * sysdeps/unix/sysv/linux/Implies: Likewise.
14460
336270d0
L
144612012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14462
14463 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14465 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14466 Moved to ...
14467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14468 Here.
14469 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14470 to ...
14471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14472 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14473 to ...
14474 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14475 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14476 to ...
14477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14478 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14479 to ...
14480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14481 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14482 to ...
14483 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14484 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14485 to ...
14486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14487 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14488 to ...
14489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14490 Here.
14491 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14492 to ...
14493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14494 Here.
14495 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14496 to ...
14497 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14498 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14499 Moved to ...
14500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14501 Here.
14502 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14503 to ...
14504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14505
d128e450
JM
145062012-05-04 Joseph Myers <joseph@codesourcery.com>
14507
fa8ee516
JM
14508 * sysdeps/unix/common/bits/dirent.h: Remove file.
14509 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14510
d128e450
JM
14511 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14512 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14513 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14514 * sysdeps/unix/bsd/isatty.c: Likewise.
14515 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14516 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14517 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14518
ff8faaf0 145192012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 14520
62881be4 14521 [BZ #13563]
31dc8730
AZ
14522 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14523 long double comparison inaccuracies.
14524 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14526
6fef930c
AS
145272012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14528
14529 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14530 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14531
8f203e6c
JM
145322012-05-04 Joseph Myers <joseph@codesourcery.com>
14533
14534 [BZ #14049]
14535 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14536 nonzero digits before rounding a hex value.
14537 * stdlib/tst-strtod.c (tests): Add another test.
14538
5197d9c2
AK
145392012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14540
14541 * sysdeps/s390/fpu/libm-test-ulps: Update.
14542
f0c1dedf
AJ
145432012-05-03 Andreas Jaeger <aj@suse.de>
14544
14545 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14546 does not get optimized out.
14547 (malloc_opt_barrier): New.
14548
a65ef2ae 145492012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 14550 Roland McGrath <roland@hack.frob.com>
a65ef2ae 14551
2b942cb7 14552 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 14553 intermediate file deletion.
2b942cb7 14554 (generated): Add .symlist files.
a65ef2ae 14555
54b71e02
JM
145562012-05-03 Joseph Myers <joseph@codesourcery.com>
14557
14558 [BZ #13775]
14559 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14560 Redirect under this condition.
14561 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14562 [__USE_GNU] (__dprintf_chk): Not under this condition.
14563 [__USE_GNU] (__vdprintf_chk): Likewise.
14564 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14565 under this condition.
14566 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14567 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14568 [__USE_XOPEN2K8] (vdprintf): Likewise.
14569 [__USE_GNU] (__dprintf_chk): Not under this condition.
14570 [__USE_GNU] (__vdprintf_chk): Likewise.
14571 [__USE_GNU] (dprintf): Likewise.
14572 [__USE_GNU] (vdprintf): Likewise.
14573
d3dfcc41
RM
145742012-05-03 Roland McGrath <roland@hack.frob.com>
14575
14576 * elf/Makefile (common-generated): Set this instead of generated for
14577 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14578 $(all-built-dso)-derived lists.
14579
7ac30cc5
AJ
145802012-05-03 Andreas Jaeger <aj@suse.de>
14581
0c51e550
AJ
14582 * sysdeps/i386/fpu/libm-test-ulps: Update.
14583
7ac30cc5
AJ
14584 * FAQ: Removed.
14585 * FAQ.in: Likewise.
14586 * scripts/gen-FAQ.pl: Likewise.
14587 * manual/install.texi (Installation): Point to online location of
14588 FAQ.
14589 * Makefile (files-for-dist): Remove FAQ.
14590 (FAQ): Remove.
14591
d4c2917f
AM
145922012-05-02 Allan McRae <allan@archlinux.org>
14593
14594 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14595 (LDFLAGS-reldepmod5.so): Likewise.
14596 (LDFLAGS-reldep6mod1.so): Likewise.
14597 (LDFLAGS-reldep6mod4.so): Likewise.
14598 (LDFLAGS-reldep8mod3.so): Likewise.
14599 (LDFLAGS-unload4mod1.so): Likewise.
14600 (LDFLAGS-unload4mod2.so): Likewise.
14601 (LDFLAGS-tst-initorder): Likewise.
14602 (LDFLAGS-tst-initordera2.so): Likewise.
14603 (LDFLAGS-tst-initordera3.so): Likewise.
14604 (LDFLAGS-tst-initordera4.so): Likewise.
14605 (LDFLAGS-tst-initorderb2.so): Likewise.
14606 (LDFLAGS-noload): Likewise.
14607 (LDFLAGS-next): Likewise.
14608 (LDFLAGS-order2mod1.so): Likewise.
14609 (LDFLAGS-order2mod2.so): Likewise.
14610 (LDFLAGS-tst-initorder2): Likewise.
14611 (LDFLAGS-tst-initorder2a.so): Likewise.
14612 (LDFLAGS-tst-initorder2b.so): Likewise.
14613 (LDFLAGS-tst-initorder2c.so): Likewise.
14614 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14615
d77f993f
DM
146162012-05-02 David S. Miller <davem@davemloft.net>
14617
14618 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14619
171a70b4
PP
146202012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14621
14622 [BZ #14055]
14623 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14624
0be196ad
AJ
146252012-05-02 Andreas Jaeger <aj@suse.de>
14626
14627 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14628 since we manipulate rounding mode.
14629 (CPPFLAGS-test-idouble.c): Likewise.
14630 (CPPFLAGS-test-ifloat.c): Likewise.
14631 (CFLAGS-test-ldouble.c): Likewise.
14632 (CFLAGS-test-double.c): Likewise.
14633 (CFLAGS-test-float.c): Likewise.
14634 (CFLAGS-test-misc.c): Likewise.
14635 (CFLAGS-test-test-fenv.c): Likewise.
14636
4f9d04aa
AZ
146372012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14638
2b942cb7
RM
14639 [BZ #2550]
14640 [BZ #2570]
14641 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14642 comparisons to determine direction to adjust input.
4f9d04aa 14643
82a79e7d
RM
146442012-05-01 Roland McGrath <roland@hack.frob.com>
14645
f5a01ca9
RM
14646 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14647 output to the target.
14648
90fe4186
RM
14649 * scripts/localplt.awk: New file.
14650 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14651 (check-localplt-CFLAGS): Variable removed.
14652 ($(all-built-dso:=.jmprel)): New static pattern rule.
14653 (generated): Add those targets.
14654 (localplt-built-dso): New variable.
14655 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14656
14657 * elf/check-localplt.c: File removed.
14658
82397ed6
RM
14659 * scripts/check-execstack.awk: New file.
14660 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14661 (check-execstack-CFLAGS): Variable removed.
14662 ($(objpfx)check-execstack.h): Target removed.
14663 ($(objpfx)execstack-default): New target.
14664 (generated): Add that instead of check-execstack.h.
14665 ($(all-built-dso:=.phdr)): New static pattern rule.
14666 (generated): Add those targets.
14667 * elf/check-execstack.c: File removed.
14668
82a79e7d
RM
14669 * scripts/check-textrel.awk: New file.
14670 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14671 (check-textrel-CFLAGS): Variable removed.
14672 (all-built-dso): Use := to define.o
14673 ($(all-built-dso:=.dyn)): New static pattern rule.
14674 (generated): Add those targets.
14675 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14676 * config.make.in (READELF): New substituted variable.
14677 * elf/check-textrel.c: File removed.
14678
62fde54f 146792012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 14680
615605c9
JM
14681 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14682 allow.
14683 * conform/data/ctype.h-data [C99-based standards] (isblank):
14684 Expect function.
14685 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14686 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14687 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14688 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14689 Specify type. Require positive value.
14690 (EILSEQ): Likewise.
14691 (ERANGE): Likewise.
14692 [ISO || POSIX] (EILSEQ): Do not expect.
14693 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14694 Specify type. Require positive value.
14695 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14696 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14697 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14698 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14699 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14700 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14701 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14702 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14703 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14704 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14705 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14706 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14707 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14708 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14709 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14710 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14711 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14712 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14713 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14714 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14715 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14716 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14717 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14718 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14719 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14720 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14721 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14722 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14723 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14724 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14725 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14726 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14727 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14728 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14729 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14730 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14731 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14732 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14733 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14734 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14735 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14736 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14737 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14738 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14739 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14740 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14741 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14742 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14743 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14744 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14745 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14746 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14747 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14748 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14749 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14750 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14751 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14752 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14753 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14754 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14755 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14756 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14757 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14758 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14759 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14760 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14761 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14762 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14763 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14764 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14765 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14766 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14767 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14768 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14769 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14770 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14771 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14772 Require >= 2.
14773 (FLT_ROUNDS): Expect as macro, not constant.
14774 (FLT_MANT_DIG): Use macro-int-constant.
14775 (DBL_MANT_DIG): Likewise.
14776 (LDBL_MANT_DIG): Likewise.
14777 (FLT_DIG): Likewise.
14778 (DBL_DIG): Likewise.
14779 (LDBL_DIG): Likewise.
14780 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14781 (DBL_MIN_EXP): Likewise.
14782 (LDBL_MIN_EXP): Likewise.
14783 (FLT_MAX_EXP): Use macro-int-constant.
14784 (DBL_MAX_EXP): Likewise.
14785 (LDBL_MAX_EXP): Likewise.
14786 (FLT_MAX_10_EXP): Likewise.
14787 (DBL_MAX_10_EXP): Likewise.
14788 (LDBL_MAX_10_EXP): Likewise.
14789 (FLT_MAX): Use macro-constant.
14790 (DBL_MAX): Likewise.
14791 (LDBL_MAX): Likewise.
14792 (FLT_EPSILON): Use macro-constant. Give upper bound.
14793 (DBL_EPSILON): Likewise.
14794 (LDBL_EPSILON): Likewise.
14795 (FLT_MIN): Likewise.
14796 (DBL_MIN): Likewise.
14797 (LDBL_MIN): Likewise.
14798 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14799 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14800 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14801 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14802 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14803 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14804 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14805 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14806 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14807 [ISO11] (FLT_TRUE_MIN): Likewise.
14808 [ISO11] (LDBL_TRUE_MIN): Likewise.
14809 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14810 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14811 (SCHAR_MIN): Use macro-int-constant. Specify type.
14812 (SCHAR_MAX): Likewise.
14813 (UCHAR_MAX): Likewise.
14814 (CHAR_MIN): Likewise.
14815 (CHAR_MAX): Likewise.
14816 (MB_LEN_MAX): Use macro-int-constant.
14817 (SHRT_MIN): Use macro-int-constant. Specify type.
14818 (SHRT_MAX): Likewise.
14819 (USHRT_MAX): Likewise.
14820 (INT_MAX): Likewise.
14821 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14822 bound negative.
14823 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14824 bound with "U".
14825 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14826 bound with "L".
14827 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14828 bound negative. Suffix upper bound with "L".
14829 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14830 bound with "UL".
14831 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
14832 Specify type.
14833 [C99-based standards] (LLONG_MAX): Likewise.
14834 [C99-based standards] (ULLONG_MAX): Likewise.
14835 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
14836 == 0.
14837 [ISO11] (max_align_t): Require type.
14838 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14839
c9140a62
JM
14840 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
14841 from $CFLAGS, without defining away __attribute__ calls.
14842 (checknamespace): Use $CFLAGS_namespace.
14843
9af0bf29
JM
14844 * conform/conformtest.pl (@keywords): Only include C99 keywords
14845 for standards based on C99 or C11.
14846
343222a2
JM
14847 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
14848 Disable tests.
14849 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
14850 UNIX98]: Likewise.
14851
661f8cf0
JM
14852 * conform/conformtest.pl: Handle "macro-int-constant" and test for
14853 usability of symbols in #if.
14854
ee74b9cb
JM
14855 * conform/conformtest.pl: If macro or constant types start
14856 "promoted:", expect the symbol to be of the following type
14857 promoted by the integer promotions.
62fde54f 14858
aafc49b3
JM
14859 * conform/conformtest.pl: Parse all "constant" and "macro" lines
14860 in one place. Also handle "macro-constant".
14861
fefdf574
JM
14862 * conform/conformtest.pl: Only accept expected macro values with
14863 "==". Parse all "macro" lines in one place.
14864 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
14865
f2d922fe
JM
14866 * conform/conformtest.pl: Handle braced types on "constant" lines
14867 instead of handling "typed-constant".
14868 * conform/data/signal.h-data: Use "constant" instead of
14869 "typed-constant".
14870
d22956c9
JM
14871 * conform/conformtest.pl: Handle "optional-" at start of lines in
14872 one place rather than duplicating several cases. Handle each
14873 format of "macro" line with initial "optional-".
14874
028e2e38
JM
14875 * conform/conformtest.pl: Only accept expected constant or
14876 optional-constant values with "==". Parse all "constant" lines in
14877 one place. Parse all "optional-constant" lines in one place.
14878 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
14879 * conform/data/fmtmsg.h-data: Likewise.
14880 * conform/data/netinet/in.h-data: Likewise.
14881 * conform/data/tar.h-data: Likewise.
14882 * conform/data/limits.h-data: Use "==" form on "constant" and
14883 "optional-constant" lines.
14884
1b8f2850
JM
14885 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
14886 Use -std=c99 for XOPEN2K.
14887 (@knownproblems): Remove.
14888 (newtoken): Don't check %isknown.
14889
a05a144b
JM
14890 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
14891 Do not expect macro.
14892 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
14893 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
14894 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
14895 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
14896 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
14897 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
14898 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
14899 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
14900 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
14901 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
14902 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
14903 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
14904 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
14905 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
14906 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
14907 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
14908 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
14909 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
14910 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
14911 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
14912 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
14913 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
14914 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
14915 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
14916 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
14917 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
14918 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
14919 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
14920 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
14921 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
14922 [XPG3] (acosh): Likewise.
14923 [XPG3] (asinh): Likewise.
14924 [XPG3] (atanh): Likewise.
14925 [XPG3] (cbrt): Likewise.
14926 [XPG3] (expm1): Likewise.
14927 [XPG3] (ilogb): Likewise.
14928 [XPG3] (log1p): Likewise.
14929 [XPG3] (logb): Likewise.
14930 [XPG3] (nextafter): Likewise.
14931 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
14932 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
14933 [XPG3] (remainder): Likewise.
14934 [XPG3] (rint): Likewise.
14935 [XPG3 || XPG4 || UNIX98] (round): Likewise.
14936 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
14937 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
14938 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
14939 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
14940 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
14941 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
14942 [UNIX98 || XOPEN2K] (scalb): Expect.
14943 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
14944 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
14945 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
14946 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
14947 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
14948 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
14949 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
14950 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
14951 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
14952 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
14953 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
14954 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
14955 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
14956 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
14957 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
14958 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
14959 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
14960 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
14961 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
14962 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
14963 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
14964 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
14965 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
14966 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
14967 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
14968 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
14969 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
14970 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
14971 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
14972 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
14973 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
14974 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
14975 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
14976 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
14977 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
14978 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
14979 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
14980 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
14981 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
14982 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
14983 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
14984 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
14985 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
14986 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
14987 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
14988 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
14989 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
14990 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
14991 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
14992 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
14993 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
14994 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
14995 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
14996 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
14997 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
14998 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
14999 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15000 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15001 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15002 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15003 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15004 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15005 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15006 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15007 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15008 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15009 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15010 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15011 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15012 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15013 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15014 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15015 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15016 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15017 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15018 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15019 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15020 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15021 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15022 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15023 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15024 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15025 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15026 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15027 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15028 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15029 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15030 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15031 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15032 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15033 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15034 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15035 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15036 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15037 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15038 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15039 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15040 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15041 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15042 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15043 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15044 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15045 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15046 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15047 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15048 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15049 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15050 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15051 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15052 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15053 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15054 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15055 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15056 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15057 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15058 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15059 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15060 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15061 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15062 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15063 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15064 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15065 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15066 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15067 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15068 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15069 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15070 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15071 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15072 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15073 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15074 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15075 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15076 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15077 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15078 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15079 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15080
73c5ebe3
JM
15081 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15082 _XOPEN_SOURCE_EXTENDED for XPG4.
15083
39c33b6c
JM
15084 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15085
62fde54f
JM
15086 * Makeconfig (localtime): Remove variable.
15087 (inst_localtime-file): Likewise.
15088
0741d64c
AS
150892012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15090
15091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15092 Update.
15093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15094 Update.
15095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15096 Update.
15097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15098 Update.
15099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15100 Update.
15101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15102 Update.
15103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15104 Update.
15105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15106 Update.
15107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15108 Update.
15109
7cb029ee
JM
151102012-05-01 Joseph Myers <joseph@codesourcery.com>
15111
15112 [BZ #2550]
15113 [BZ #2570]
15114 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15115 comparisons to determine direction to adjust input.
15116 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15117 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15118 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15119 Likewise.
15120 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15121 Likewise.
15122 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15123 Likewise.
15124 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15125 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15126 Likewise.
15127 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15128 Likewise.
15129 * math/libm-test.inc (nexttoward_test): Add more tests.
15130
412bd966
AS
151312012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15132
15133 [BZ #14040]
15134 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15135 in version GLIBC_2.1, not GLIBC_2.0.
15136 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15137 Likewise.
15138
9568c0c2
JM
151392012-04-30 Joseph Myers <joseph@codesourcery.com>
15140
adfbc8ac
JM
15141 [BZ #13942]
15142 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15143 (1 - x) * (1 + x).
15144 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15145 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15146 * math/libm-test.inc (acos_test): Add more tests.
15147 (asin_test): Likewise.
15148 * sysdeps/i386/fpu/libm-test-ulps: Update.
15149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15150
5ba3cc69
JM
15151 [BZ #14034]
15152 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15153 of square root.
15154 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15155 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15156 * math/libm-test.inc (acos_test_tonearest): New function.
15157 (acos_test_towardzero): Likewise.
15158 (acos_test_downward): Likewise.
15159 (acos_test_upward): Likewise.
15160 (asin_test_tonearest): Likewise.
15161 (asin_test_towardzero): Likewise.
15162 (asin_test_downward): Likewise.
15163 (asin_test_upward): Likewise.
15164 (main): Call the new functions.
15165 * sysdeps/i386/fpu/libm-test-ulps: Update.
15166 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15167
9568c0c2
JM
15168 [BZ #13884]
15169 [BZ #13924]
15170 * math/e_exp10.c: Include <float.h>.
15171 (__ieee754_exp10): Handle underflow here rather than multiplying
15172 large negative argument by M_LN10.
15173 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15174 of __ieee754_expf.
15175 * math/e_exp10l.c: Include <float.h>.
15176 (__ieee754_exp10l): Handle underflow here rather than multiplying
15177 large negative argument by M_LN10l.
15178 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15179 spurious overflow exception on underflow.
15180
5ac3ea17
MP
151812012-04-29 Marek Polacek <polacek@redhat.com>
15182
15183 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15184 (__fortify_function): New macro.
15185 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15186 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15187 __extern_always_inline.
15188 * libio/bits/stdio2.h: Likewise.
15189 * libio/bits/stdio.h: Likewise.
15190 * string/string.h: Likewise.
15191 * string/bits/string3.h: Likewise.
15192 * include/stdio.h: Likewise.
15193 * stdlib/bits/stdlib.h: Likewise.
15194 * stdlib/stdlib.h: Likewise.
15195 * rt/bits/mqueue2.h: Likewise.
15196 * rt/mqueue.h: Likewise.
15197 * posix/bits/unistd.h: Likewise.
15198 * posix/unistd.h: Likewise.
15199 * io/bits/poll2.h: Likewise.
15200 * io/bits/fcntl2.h: Likewise.
15201 * io/fcntl.h: Likewise.
15202 * io/sys/poll.h: Likewise.
15203 * misc/bits/syslog.h: Likewise.
15204 * misc/bits/syslog-ldbl.h: Likewise.
15205 * misc/sys/syslog.h: Likewise.
15206 * socket/bits/socket2.h: Likewise.
15207 * socket/sys/socket.h: Likewise.
15208 * debug/tst-chk1.c: Likewise.
15209 * wcsmbs/bits/wchar2.h: Likewise.
15210 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15211 * wcsmbs/wchar.h: Likewise.
15212
ecf0ebfb
AJ
152132012-04-29 Andreas Jaeger <aj@suse.de>
15214
15215 * Makerules (tests): Remove enable-check-abi protection.
15216 (check-abi-warn): Remove.
15217 (check-abi-%): Remove check-abi-warn usage.
15218
15219 * configure.in: Remove check-abi configure option.
15220 * configure: Regenerated.
15221 * config.make.in (enable-check-abi): Remove.
15222
6d5c57fa
AS
152232012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15224
24c5d07e 15225 [BZ #14033]
ded5180a
AS
15226 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15227 double functions to double *_finite functions.
15228
7e0d315d
AS
15229 [BZ #13941]
15230 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15231 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15232 LDBL_MIN_EXP.
15233 * stdio-common/Makefile (tests): Add tst-sprintf3.
15234 * stdio-common/tst-sprintf3.c: New file.
15235
6d5c57fa
AS
15236 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15237 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15238
0749ff8b
JM
152392012-04-28 Joseph Myers <joseph@codesourcery.com>
15240
15241 * conform/conformtest.pl: Remove duplicate typed-constant
15242 handling.
15243
8dbd5d7b
DM
152442012-04-28 David S. Miller <davem@davemloft.net>
15245
15246 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15247 (check-abi-%): Remove AWK script prerequisite and explicit
15248 abilist directory.
15249 (check-abi): Rewrite to just diff the symlist with the abilist.
15250 (config-tls, config-abi-config): Delete, no longer used.
15251 (update-abi-%): Remove AWK script and explicit abilist directory.
15252 (update-abi): Rewrite to simply compare and conditionally copy the
15253 symlist and the sysdep abilist file. Remove update-abi-config
15254 checks.
15255 * abilist/ld.abilist: Remove.
15256 * abilist/libBrokenLocale.abilist: Remove.
15257 * abilist/libanl.abilist: Remove.
15258 * abilist/libcrypt.abilist: Remove.
15259 * abilist/libdl.abilist: Remove.
15260 * abilist/librt.abilist: Remove.
15261 * abilist/libthread_db.abilist: Remove.
15262 * abilist/libutil.abilist: Remove.
15263 * scripts/extract-abilist.awk: Remove.
15264 * scripts/merge-abilist.awk: Remove.
15265 * sysdeps/generic/libcidn.abilist: New file.
15266 * sysdeps/generic/libnss_compat.abilist: New file.
15267 * sysdeps/generic/libnss_db.abilist: New file.
15268 * sysdeps/generic/libnss_dns.abilist: New file.
15269 * sysdeps/generic/libnss_files.abilist: New file.
15270 * sysdeps/generic/libnss_hesiod.abilist: New file.
15271 * sysdeps/generic/libnss_nis.abilist: New file.
15272 * sysdeps/generic/libnss_nisplus.abilist: New file.
15273 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15274 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15275 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15276 file.
15277 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15278 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15279 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15280 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15281 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15282 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15283 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15284 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15285 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15286 file.
15287 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15288 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15289 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15290 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15291 file.
15292 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15293 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15294 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15295 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15296 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15297 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15298 file.
15299 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15300 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15301 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15302 file.
15303 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15304 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15305 New file.
15306 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15307 New file.
15308 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15309 New file.
15310 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15311 New file.
15312 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15313 New file.
15314 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15315 New file.
15316 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15317 New file.
15318 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15319 New file.
15320 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15321 New file.
15322 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15323 New file.
15324 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15325 New file.
15326 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15327 New file.
15328 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15329 New file.
15330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15331 file.
15332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15333 New file.
15334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15335 New file.
15336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15337 file.
15338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15339 New file.
15340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15341 New file.
15342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15343 file.
15344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15345 New file.
15346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15347 New file.
15348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15349 New file.
15350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15351 New file.
15352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15353 New file.
15354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15355 New file.
15356 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15358 file.
15359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15360 New file.
15361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15362 file.
15363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15364 file.
15365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15366 file.
15367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15368 file.
15369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15370 file.
15371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15372 New file.
15373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15374 file.
15375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15376 file.
15377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15378 New file.
15379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15380 file.
15381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15383 file.
15384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15385 New file.
15386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15387 file.
15388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15389 file.
15390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15391 file.
15392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15393 file.
15394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15395 file.
15396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15397 New file.
15398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15399 file.
15400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15401 file.
15402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15403 New file.
15404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15405 file.
15406 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15407 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15408 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15409 file.
15410 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15411 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15412 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15413 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15414 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15415 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15416 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15417 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15418 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15419 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15420 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15422 file.
15423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15424 New file.
15425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15426 file.
15427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15428 file.
15429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15430 file.
15431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15432 file.
15433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15434 file.
15435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15436 New file.
15437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15438 New file.
15439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15440 file.
15441 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15442 New file.
15443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15444 file.
15445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15447 file.
15448 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15449 New file.
15450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15451 file.
15452 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15453 file.
15454 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15455 file.
15456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15457 file.
15458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15459 file.
15460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15461 New file.
15462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15463 New file.
15464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15465 file.
15466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15467 New file.
15468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15469 file.
15470
41d73a1b
JM
154712012-04-28 Joseph Myers <joseph@codesourcery.com>
15472
15473 * conform/conformtest.pl: Fix typo in handling typed-constant from
15474 allow-header.
15475
28aeeda4
JM
154762012-04-27 Joseph Myers <joseph@codesourcery.com>
15477
adae8f5e
JM
15478 * README: Cut down references to pre-2.6 Linux kernels and
15479 Linuxthreads. Update lists of configurations in libc and ports
15480 and sort alphabetically. Say "or newer" with Linux kernel version
15481 requirements.
15482
28aeeda4
JM
15483 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15484
a462cb63
RA
154852012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15486
15487 [BZ #887]
15488 * math/libm-test.inc (logb_test_downward): New test to expose
15489 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15490 rounding mode.
15491
6ad3493e
JM
154922012-04-27 Joseph Myers <joseph@codesourcery.com>
15493
15494 [BZ #14027]
15495 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15496 to be done.
15497 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15498 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15499
2ce4f015
JM
155002012-04-26 Joseph Myers <joseph@codesourcery.com>
15501
5aeb141a
JM
15502 * sysdeps/unix/i386/brk.S: Remove file.
15503 * sysdeps/unix/i386/dl-brk.S: Likewise.
15504 * sysdeps/unix/i386/pipe.S: Likewise.
15505 * sysdeps/unix/i386/sigreturn.S: Likewise.
15506 * sysdeps/unix/i386/syscall.S: Likewise.
15507 * sysdeps/unix/i386/vfork.S: Likewise.
15508 * sysdeps/unix/i386/wait.S: Likewise.
15509
7143acae
JM
15510 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15511 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15512
2ce4f015
JM
15513 * configure.in (arm*-none*): Do not allow without
15514 --enable-hacker-mode.
15515 (netbsd*): Remove case setting base_os.
15516 (386bsd*): Likewise.
15517 (freebsd*): Likewise.
15518 (bsdi*): Likewise.
15519 (osf*): Likewise.
15520 (sunos*): Likewise.
15521 (ultrix*): Likewise.
15522 (newsos*): Likewise.
15523 (dynix*): Likewise.
15524 (*bsd*): Likewise.
15525 (sysv*): Likewise.
15526 (isc*): Likewise.
15527 (esix*): Likewise.
15528 (sco*): Likewise.
15529 (minix*): Likewise.
15530 (irix4*): Likewise.
15531 (irix6*): Likewise.
15532 (solaris[2-9]*): Likewise.
15533 (none): Likewise.
15534 * configure: Regenerated.
15535
0ac229c8
AZ
155362012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15537
15538 [BZ #11521]
15539 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15540 overflow or cancellation in calculating denominator.
15541 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15542 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15543 down expression to avoid unexpected rounding in newer GCCs.
15544 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15545
33f244f4
DM
155462012-04-26 David S. Miller <davem@davemloft.net>
15547
15548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15549 long-double compat symbols.
15550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15563
cfa1f3e8
DM
155642012-04-25 David S. Miller <davem@davemloft.net>
15565
15566 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15567 HWCAP_* values only after the memory barriers have been defined.
15568 (atomic_full_barrier): Define.
15569 (atomic_read_barrier): Define.
15570 (atomic_write_barrier): Define.
15571
6e236b92
SP
155722012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15573
15574 * shlib-versions: Add libgcc_s version information.
15575 * sysdeps/generic/libgcc_s.h: Remove.
15576 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15577 libgcc_s.h.
15578 * sysdeps/gnu/unwind-resume.c: Likewise.
15579 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15580
aab39a09
DM
155812012-04-25 David S. Miller <davem@davemloft.net>
15582
15583 * sysdeps/unix/sparc/brk.S: Delete.
15584 * sysdeps/unix/sparc/dl-brk.S: Delete.
15585 * sysdeps/unix/sparc/pipe.S: Delete.
15586 * sysdeps/unix/sparc/sysdep.S: Delete.
15587 * sysdeps/unix/sparc/sysdep.h: Delete.
15588 * sysdeps/unix/sparc/vfork.S: Delete.
15589 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15590 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15591 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15592 ret_ERRVAL, r0, r1, MOVE): Define.
15593 (JUMPTARGET): Remove.
15594 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15595 sysdeps/unix/sparc/sysdep.h
15596 (ENTRY, END): Remove.
15597 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15598
a3cc4f48
JM
155992012-04-25 Joseph Myers <joseph@codesourcery.com>
15600
2ed8cda2
JM
15601 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15602 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15603 -DIS_IN_build.
15604
35d76d59
JM
15605 * timezone/README: Update upstream location and email address for
15606 tzcode and tzdata.
15607 * timezone/zdump.c: Update from tzcode 2012b.
15608 * timezone/zic.c: Likewise.
15609
a3cc4f48
JM
15610 * configure.in (libc_cv_as_needed): Remove test.
15611 * configure: Regenerated.
15612 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15613 conditional definition.
15614 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15615 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15616 * config.make.in (have-as-needed): Remove variable.
15617
ceab42c3
SP
156182012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15619 Paul Pluzhnikov <ppluzhnikov@google.com>
15620
15621 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15622 strings correctly.
15623
3ce2865f
CLT
156242012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15625
15626 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15627 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15628 * sysdeps/sh/strlen.S: Likewise.
15629
f37e0d68
JM
156302012-04-24 Joseph Myers <joseph@codesourcery.com>
15631
ae186e9a
JM
15632 * sysdeps/unix/fork.S: Remove file.
15633 * sysdeps/unix/i386/fork.S: Likewise.
15634 * sysdeps/unix/sparc/fork.S: Likewise.
15635
b96914af
JM
15636 * sysdeps/unix/system.c: Remove file.
15637 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15638
f37e0d68
JM
15639 * sysdeps/unix/getegid.S: Remove file.
15640 * sysdeps/unix/geteuid.S: Likewise.
15641
87ef29ca
RM
156422012-04-24 Roland McGrath <roland@hack.frob.com>
15643
83bcd236
RM
15644 * scripts/check-localplt.awk: New file.
15645 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15646 of diff.
15647 * scripts/data/localplt-generic.data: Add a comment.
15648
87ef29ca
RM
15649 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15650 NODE when __dir_mkfile failed.
15651 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15652 Reported by Ludovic Courtès <ludo@gnu.org>.
15653
e5a6e567
AJ
156542012-04-24 Andreas Jaeger <aj@suse.de>
15655
15656 * Makerules (common-clean): Also remove gen-as-const-headers
15657 files.
15658
c1820385
JM
156592012-04-24 Joseph Myers <joseph@codesourcery.com>
15660
15661 * Makerules (native-compile): Do not change working directory for
15662 build. Use $(OUTPUT_OPTION) in command.
15663 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15664
94e02fc4
AZ
156652012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15666
15667 [BZ #13886]
15668 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15669 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15670 * math/libm-test.inc (floor_test): Add more tests.
15671 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15672
3a533ca3
JM
156732012-04-24 Joseph Myers <joseph@codesourcery.com>
15674
940ab4b3
JM
15675 * sysdeps/unix/getdents.c: Remove file.
15676 * sysdeps/unix/sysv/getdents.c: Likewise.
15677 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15678
90e037bd
JM
15679 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15680 sysdeps/unix/mman/syscalls.list.
15681 (mmap): Likewise.
15682 (mprotect): Likewise.
15683 (msync): Likewise.
15684 (munmap): Likewise.
15685 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15686 * sysdeps/unix/mman/syscalls.list: Remove.
15687 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15688
3a533ca3
JM
15689 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15690 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15691 * configure: Regenerated.
15692 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15693 $(libgcc_s_suffix).
15694 * config.make.in (libgcc_s_suffix): Remove variable.
15695
1ad743de
JM
156962012-04-23 Joseph Myers <joseph@codesourcery.com>
15697
4ad451e2
JM
15698 * sysdeps/unix/sysv/gethostname.c: Move to ...
15699 * sysdeps/posix/gethostname.c: ... here.
15700
5e37ce39
JM
15701 * sysdeps/unix/execve.S: Remove file.
15702
1ad743de
JM
15703 * sysdeps/unix/_exit.S: Remove file.
15704
4e681b5b
AJ
157052012-04-23 Andreas Jaeger <aj@suse.de>
15706
15707 [BZ #13739]
15708 * manual/Makefile: Remove make dist support, there's no
15709 need for a stand-alone documentation tar ball.
15710 (TEXI2DVI): Define always, it's not in Makeconfig.
15711 (dist): Removed.
15712 (tar-it): Removed.
15713 (edition): Removed.
15714 (glibc-doc-$(edition).tar): Removed
15715 (%.Z): Removed.
15716 (%.gz): Removed.
15717 (%.uu): Removed.
15718 (ETAGS): Remove, it's in Makeconfig.
15719 (move-if-change): Remove, it's in Makeconfig.
15720
38686a03 157212012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
15722
15723 [BZ #13970]
15724 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15725 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15726 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15727 (strtod_l, strtof_l, strtold_l): Remove __wur.
15728 It is not necessarily an error to ignore strtol's return value.
15729 One can reliably look at the stored endptr to decide whether
15730 the number had valid syntax.
15731
7c0616fa
AJ
157322012-04-21 Andreas Jaeger <aj@suse.de>
15733
803cb6b7 15734 [BZ #13739]
7c0616fa
AJ
15735 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15736
b0fe253f
JM
157372012-04-21 Joseph Myers <joseph@codesourcery.com>
15738
15739 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15740 * sysdeps/unix/sysv/Versions: Remove file.
15741
8280f22d
MT
157422012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15743
15744 [BZ #13927]
15745 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15746
75ce411f 157472012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
15748
15749 [BZ #7064]
15750 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15751 version from __vm86.
15752
097d59fa
JM
157532012-04-20 Joseph Myers <joseph@codesourcery.com>
15754
a90f3bcb
JM
15755 * sysdeps/unix/common/lxstat.c: Remove file.
15756 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15757
edc7ea78
JM
15758 * sysdeps/unix/sysv/Makefile: Remove file.
15759
cb78c221
JM
15760 * sysdeps/unix/sysv/direct.h: Remove file.
15761
efa6a45f
JM
15762 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15763 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15764 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15765 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15766 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15767 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15768 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15769
9c9f2d0c
JM
15770 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15771
4541c83b
JM
15772 * sysdeps/unix/xmknod.c: Remove file.
15773 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15774
f5d153a0
JM
15775 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15776
aa746595
JM
15777 * sysdeps/unix/sysv/i386/time.S: Remove file.
15778
cce5905e
JM
15779 * sysdeps/unix/fxstat.c: Remove file.
15780 * sysdeps/unix/xstat.c: Likewise.
15781 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15782
37fa3841
JM
15783 * sysdeps/unix/sysv/sigaction.c: Remove file.
15784
ff1962a3
JM
15785 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15786 (sysdep_headers): Remove variable.
15787 [termio.h not in sysdep_headers] (generated): Likewise.
15788 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15789 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15790 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15791 * sysdeps/unix/sysv/tcflow.c: Likewise.
15792 * sysdeps/unix/sysv/tcflush.c: Likewise.
15793 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15794 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15795 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15796 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15797 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15798
e7740d31
JM
15799 * sysdeps/unix/siglist.c: Remove file.
15800
ee06f18b
JM
15801 * sysdeps/unix/getppid.S: Remove file.
15802
097d59fa
JM
15803 * sysdeps/unix/mkdir.c: Remove file.
15804 * sysdeps/unix/rmdir.c: Likewise.
15805
ff3d51ec
AS
158062012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15807
15808 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15809 ERR_MAX value.
15810 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15811 errlist-compat value.
15812
50f81fd7
DM
158132012-04-18 David S. Miller <davem@davemloft.net>
15814
15815 * sysdeps/generic/memcopy.h (reg_char): Delete.
15816 * debug/strcat_chk.c: Use char, not reg_char.
15817 * debug/strcpy_chk.c: Likewise.
15818 * debug/strncat_chk.c: Likewise.
15819 * debug/strncpy_chk.c: Likewise.
15820 * string/memchr.c: Likewise.
15821 * string/memrchr.c: Likewise.
15822 * string/rawmemchr.c: Likewise.
15823 * string/strcat.c: Likewise.
15824 * string/strchr.c: Likewise.
15825 * string/strchrnul.c: Likewise.
15826 * string/strcmp.c: Likewise.
15827 * string/strcpy.c: Likewise.
15828 * string/strncat.c: Likewise.
15829 * string/strncmp.c: Likewise.
15830 * string/strncpy.c: Likewise.
15831
8ff41c46
WS
158322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15833
15834 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
15835 __builtin_memcopy is called when src and dest ranges are known to not
15836 overlap.
15837
6b652f46
WS
158382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15839
15840 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
15841 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
15842 fwd_align_merge macro call.
15843 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
15844 bwd_align_merge macro call.
15845 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15846
b282631e
WS
158472012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
15848
15849 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
15850 bwd_align_merge macros.
15851 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
15852 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
15853 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
15854
95aa737c
DM
158552012-04-18 David S. Miller <davem@davemloft.net>
15856
15857 * sysdeps/sparc/sparc64/memcopy.h: Delete.
15858
7a99a614
AJ
158592012-04-18 Andreas Jaeger <aj@suse.de>
15860
15861 [BZ# 6794]
15862 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
15863 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
15864 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15865
15866 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
15867 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
15868 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15869
15870 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
15871 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
15872 Adjust for changed ldbl-128 files.
15873
15874 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
15875 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
15876 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
15877
e5270c23
DM
158782012-04-17 David S. Miller <davem@davemloft.net>
15879
15880 * sysdeps/sparc/sparc32/memcopy.h: Delete.
15881
fb5e92c9
AS
158822012-04-17 Andreas Schwab <schwab@linux-m68k.org>
15883
15884 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
15885 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
15886 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
15887 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
15888 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15889 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
15890
76da7265
AZ
158912012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15892
15893 [BZ #6794]
15894 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
15895 * math/libm-test.inc: Add ilogb errno and exception tests.
15896 * math/w_ilogb.c: New file: ilogb wrapper.
15897 * math/w_ilogbf.c: New file: ilogbf wrapper.
15898 * math/w_ilogbl.c: New file: ilogbl wrapper.
15899 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
15900 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
15901 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
15902 exception being thrown with 0.0 as argument.
15903 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
15904 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
15905 exception being thrown with 0.0 as argument.
15906 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
15907 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15908 exception being thrown with 0.0 as argument.
15909 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
15910 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
15911 exception being thrown with 0.0 as argument.
15912 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
15913 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 15914 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
15915 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
15916 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
15917 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
15918 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
15919 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
15920 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
15921
0396e69d
PB
159222012-04-17 Petr Baudis <pasky@ucw.cz>
15923
15924 * include/sys/uio.h: Change __vector to __iovec to avoid clash
15925 with altivec.
15926
750b5926
MP
159272012-04-16 Marek Polacek <polacek@redhat.com>
15928
15929 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
15930
751728a1
MP
159312012-04-16 Marek Polacek <polacek@redhat.com>
15932
15933 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
15934 operands of fdivp instruction.
15935
34a27407
L
159362012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15937
15938 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
15939 * elf/tst-auditmod3b.c: Likewise.
15940 * elf/tst-auditmod4b.c: Likewise.
15941 * elf/tst-auditmod5b.c: Likewise.
15942 * elf/tst-auditmod6b.c: Likewise.
15943 * elf/tst-auditmod6c.c: Likewise.
15944 * elf/tst-auditmod7b.c: Likewise.
15945 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
15946 * sysdeps/x86_64/preconfigure.in: Likewise.
15947 * sysdeps/x86_64/preconfigure: Regenerated.
15948
7e73e17d
L
159492012-04-13 H.J. Lu <hongjiu.lu@intel.com>
15950
15951 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
15952 __ILP32__.
15953
c7a6ab72
AB
159542012-04-13 Antoine Balestrat <merkil33@gmail.com>
15955
15956 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15957 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
15958
a9e8e0e0
CL
159592012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
15960
15961 [BZ #13973]
15962 * locale/iso-639.def: Fix gl language name. Spotted by
15963 Yaron Shahrabani.
15964
ec98af7d
RM
159652012-04-12 Roland McGrath <roland@hack.frob.com>
15966
15967 [BZ #2074]
15968 * libio/libio.h (__io_write_fn): Update comment.
15969
247c3ede
PB
159702012-04-12 Petr Baudis <pasky@ucw.cz>
15971
15972 [BZ #2074]
15973 * stdio.texi (Hook Functions): The user provided writer function
15974 is not allowed to return -1.
15975
55939d6d
DM
159762012-04-11 David S. Miller <davem@davemloft.net>
15977
15978 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15979
90020f5a
MF
159802012-04-11 Mike Frysinger <vapier@gentoo.org>
15981
15982 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
15983 Add a leading slash to rtkaio.
15984
288f9098
JM
159852012-04-11 Jim Meyering <meyering@redhat.com>
15986
90020f5a
MF
15987 [BZ #11959]
15988 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
15989 It is not necessarily an error to ignore fwrite's return
15990 value. One can reliably use ferror to test for errors after
15991 the fact.
288f9098 15992
4be2b570
L
159932012-04-10 H.J. Lu <hongjiu.lu@intel.com>
15994
15995 * bits/types.h (__snseconds_t): New type.
15996 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
15997
15998 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
15999 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16000 (__SNSECONDS_T_TYPE): Likewise.
16001 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16002 (__SNSECONDS_T_TYPE): Likewise.
16003 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16004 (__SNSECONDS_T_TYPE): Likewise.
16005
288f9098 160062012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
16007
16008 [BZ #2636]
16009 * manual/time.texi (Processor Time): Return type of times is
16010 elapsed real time since an arbitrary point in the past.
16011 (CPU Time): Move CLK_TCK from here...
16012 (Processor Time): ...to here. Correct description.
16013 * manual/conf.texi (Constants for Sysconf): Correct description of
16014 _SC_CLK_TCK.
16015
d7dd4413
DM
160162012-04-10 David S. Miller <davem@davemloft.net>
16017
16018 [BZ #13967]
16019 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16020 where the is a gap between DT_REL(A) and DT_JMPREL.
16021
b46068fc
L
160222012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16023
16024 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16025 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16026 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16027
73d65cc3
SP
160282012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16029
16030 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16031 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16032 (dl_main): Handle --inhibit-cache.
16033 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16034 _dl_inhibit_cache.
16035 * elf/dl-load.c (_dl_map_object): Use it.
16036 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16037
bcc8d661
JM
160382012-04-09 Joseph Myers <joseph@codesourcery.com>
16039
8f9a2fae
JM
16040 [BZ #13872]
16041 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16042 (__ieee754_powl): Saturate large exponents rather than testing for
16043 overflow of y*log2(x).
16044 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16045 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16046 exceptions.
16047
bcc8d661
JM
16048 [BZ #11521]
16049 * math/s_ctan.c: Include <float.h>.
16050 (__ctan): Avoid internal overflow or cancellation in calculating
16051 denominator.
16052 * math/s_ctanf.c: Likewise.
16053 * math/s_ctanl.c: Likewise.
16054 * math/s_ctanh.c: Likewise.
16055 * math/s_ctanhf.c: Likewise.
16056 * math/s_ctanhl.c: Likewise.
16057 * math/libm-test.inc (ctan_test): Add more tests.
16058 (ctanh_test): Likewise.
16059 * sysdeps/i386/fpu/libm-test-ulps: Update.
16060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16061
823fbbb4
AJ
160622012-04-09 Andreas Jaeger <aj@suse.de>
16063
03879793
AJ
16064 [BZ #6894]
16065 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16066 is an optional BSD extension.
16067
823fbbb4
AJ
16068 [BZ #10254]
16069 * manual/stdio.texi (Opening Streams): Document additional fopen
16070 parameters.
16071
8de131cb
RM
160722012-04-09 Roland McGrath <roland@hack.frob.com>
16073
16074 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16075 %eax without telling the compiler.
16076
c0ed9d7d
CD
160772012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16078
16079 [BZ # 13963]
16080 * manual/install.texi: Use sourceware.org.
16081
c483f6b4
JM
160822012-04-09 Joseph Myers <joseph@codesourcery.com>
16083
d7dd9453
JM
16084 [BZ #13873]
16085 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16086 (__ieee754_pow): Generate overflow and underflow using huge*huge
16087 and tiny*tiny rather than just returning constant infinity or zero
16088 for large exponents.
16089 * math/libm-test.inc (pow_test): Require overflow exceptions for
16090 applicable cases of large exponents.
16091
c483f6b4
JM
16092 [BZ #706]
16093 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16094 (__ieee754_pow): Use iterative multiplication algorithm only for
16095 integer exponents with absolute value below 1024. Check for odd
16096 integer exponents when using algorithm for real exponents.
16097 * math/libm-test.inc (pow_test): Add more tests.
16098 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16099
d2de7579
JM
161002012-04-08 Joseph Myers <joseph@codesourcery.com>
16101
16102 [BZ #13705]
16103 * math/libm-test.inc (exp_test): Do not allow overflow exception
16104 on underflow test.
16105
f77f1232
AJ
161062012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16107
16108 [BZ #13705]
16109 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16110 instead of __kernel_standard_f.
16111
3884932b
MF
161122012-04-08 Mike Frysinger <vapier@gentoo.org>
16113
16114 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16115 * sysdeps/x86_64/memset_chk.S: Likewise.
16116
54472e9c
AJ
161172012-04-08 Andreas Jaeger <aj@suse.de>
16118
6ab0fbfc
AJ
16119 [BZ #10153]
16120 * manual/startup.texi (Environment Access): Describe return value
16121 for putenv and setenv.
16122
61efba8c
AJ
16123 [BZ #6895]
16124 * manual/filesys.texi (Directory Entries): Add description for
16125 DT_LNK.
16126
95c3f29a
AJ
16127 [BZ #6890]
16128 * manual/filesys.texi (Directory Entries): Clarify that it's file
16129 system not operating system in the description of DT_UNKNOWN.
16130
54472e9c
AJ
16131 [BZ #6578]
16132 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16133
624254b1
SC
161342012-04-08 Stephen Compall <s11@member.fsf.org>
16135
16136 [BZ #6649]
16137 * manual/llio.texi (Opening and Closing Files): Add cross
16138 reference to explain mode argument.
16139
1e4920e0
MF
161402012-04-07 Mike Frysinger <vapier@gentoo.org>
16141
16142 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16143 * sysdeps/x86_64/memset_chk.S: Likewise.
16144
5ed848f3
DM
161452012-04-07 David S. Miller <davem@davemloft.net>
16146
16147 * elf/elf.h (R_SPARC_WDISP10): Define.
16148 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16149 R_SPARC_SIZE32.
16150 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16151 R_SPARC_SIZE64 and R_SPARC_H34.
16152
96154cd8
CD
161532012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16154
16155 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16156 conditions and remove no longer applicable assertion.
16157
9904dc47
L
161582012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16159
16160 * bits/byteswap.h: Include <features.h>.
16161 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16162 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16163
f8887d0a
L
161642012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16165
16166 * bits/byteswap.h (__bswap_16): Removed.
16167 Include <bits/byteswap-16.h> to get __bswap_16.
16168 * sysdeps/i386/bits/byteswap.h: Likewise.
16169 * sysdeps/s390/bits/byteswap.h: Likewise.
16170 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16171 * bits/byteswap-16.h: New file.
16172 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16173 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16174 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16175 * string/Makefile (headers): Add bits/byteswap-16.h.
16176
62470f60
PP
161772012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16178
16179 [BZ #13895]
16180 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16181 extra indirection.
16182 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16183 * nss/tst-nss-static.c: New.
16184
4dad7bab
RM
161852012-04-06 Robert Millan <rmh@gnu.org>
16186
16187 [BZ #6486]
16188 * manual/llio.texi (File Position Primitive): lseek
16189 refers to WHENCE when it really means OFFSET.
16190
e9142a17
AJ
161912012-04-06 Andreas Jaeger <aj@suse.de>
16192
2c040eff
AJ
16193 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16194 strncmp declarations.
16195
e9142a17
AJ
16196 * abilist/libc.abilist: Add __poll and __ppoll.
16197
ff9f1c5f
DM
161982012-04-05 David S. Miller <davem@davemloft.net>
16199
dcd2ae90
DM
16200 * scripts/check-local-headers.sh: Accept a host triplet in the
16201 path matched by the exclude regexp.
16202
993eb054
DM
16203 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16204 definition.
16205 * sysdeps/powerpc/powerpc32/dl-machine.h
16206 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16207 * sysdeps/s390/s390-32/dl-machine.h
16208 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16209 * sysdeps/sparc/sparc32/dl-machine.h
16210 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16211 * sysdeps/sparc/sparc64/dl-machine.h
16212 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16213
ff9f1c5f
DM
16214 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16215 lazy binding.
48e2e132 16216 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
16217 undefined symbol errors.
16218
48e2e132 16219 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
16220 DT_NEEDED entries.
16221
e80d6f94
MM
162222012-04-05 Michael Matz <matz@suse.de>
16223
16224 [BZ #13592]
16225 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16226
349fa79f
AJ
162272012-04-05 Andreas Jaeger <aj@suse.de>
16228
16229 [BZ #13908]
16230 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16231 comment.
16232
f402708f
KK
162332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16234
16235 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16236 which ROUND is no valid rounding mode.
16237
2ecccfc9
KK
162382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16239
16240 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16241 read again.
16242 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16243
8a53f50f
KK
162442012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16245
16246 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16247 an exception using FPU order intentionally.
16248
162492012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16250
16251 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16252 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16253 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16254 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16255
d653abb7
SJ
162562012-04-05 Simon Josefsson <simon@josefsson.org>
16257
16258 [BZ #12340]
16259 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16260 EINVAL when BUFLEN is too smal.
16261
c3b1bf7d
TS
162622012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16263
16264 [BZ #13553]
16265 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16266 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16267
b1aa60f3
AJ
162682012-04-03 Andreas Jaeger <aj@suse.de>
16269
c3b1bf7d 16270 [BZ #13938]
67f60a26
AJ
16271 * manual/setjmp.texi (System V contexts): Fix sentence.
16272
b1aa60f3
AJ
16273 [BZ #13926]
16274 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16275 New macro for this case.
16276 [!__GNUC__] (__bswap_64): New inline function for this case.
16277 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16278 * bits/byteswap.h: Likewise.
16279 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16280 ull, guard with __GLIBC_HAVE_LONG_LONG.
16281
16282 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16283 __GLIBC_HAVE_LONG_LONG.
16284
16285 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16286 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16287
39c59c35
TMQMF
162882012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16289
16290 [BZ #13691]
16291 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16292 inptr and inend, rather than using last_ch.
16293
135ffda8
DM
162942012-04-02 David S. Miller <davem@davemloft.net>
16295
16296 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16297 * stdio-common/printf-parse.h (read_int): Change return type to
16298 'int', return -1 on INT_MAX overflow.
16299 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16300 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16301 overflows INT_MAX. Check for overflow of in-format-string precision
16302 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16303 SIZE_MAX not INT_MAX for integer overflow test.
16304 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16305 skip the construct in the format string but do not record anything.
16306 * stdio-common/bug22.c: Adjust to test both width/prevision
16307 INT_MAX overflow as well as total length INT_MAX overflow. Check
16308 explicitly for proper errno values.
16309
228c019e
TS
163102012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16311
302cadd3
TS
16312 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16313 CHAR_MAX.
16314 * string/test-strcmp.c [! WIDE]: Likewise.
16315 * time/tst-mktime2.c: Likewise for INT_MAX.
16316 * string/test-string.h: #include <sys/param.h> for MIN.
16317
228c019e
TS
16318 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16319 * sysdeps/i386/init-first.c (init): Likewise.
16320 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16321 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16322 * sysdeps/sh/init-first.c (init): Likewise.
16323
cfa633f5
UD
163242012-04-01 Ulrich Drepper <drepper@gmail.com>
16325
16326 * po/ru.po: Update from translation team.
d1635ef8 16327 * po/vi.po: Likewise.
cfa633f5 16328
6cd0a5ea
SP
163292012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16330
16331 * resolv/nss_dns/dns-host.c: Merge copyright years.
16332
4b43400f
LD
163332012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16334
16335 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16336 Optimize memcpy with prefetch if
16337 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16338 src, dst pointers have unequal 16 byte alignments.
16339
48c41d04
SP
163402012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16341
16342 [BZ #13928]
16343 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16344 from a CNAME entry and return the minimum ttl for the query.
16345 (gaih_getanswer_slice): Likewise.
16346
b8dc394d
JL
163472012-03-30 Jeff Law <law@redhat.com>
16348
16349 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16350 due to long keys.
16351 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16352 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16353
2f5a5ed0
JL
16354 * resolv/nss_dns/dns-host.c: Update copyright year.
16355
1d39e359
UD
163562012-03-30 Ulrich Drepper <drepper@gmail.com>
16357
c030f70c 16358 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 16359 requests to save a system call. Fix check that all bytes are sent.
c030f70c 16360
1d39e359
UD
16361 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16362 comments for sendmmsg.
16363
163642012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
16365
16366 [BZ #13691]
16367 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16368 with only 1 character between 0x0041 and 0x01b0.
16369 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16370 * wcsmbs/tst-mbsnrtowcs.c: New file.
16371
20fde227
DM
163722012-03-29 David S. Miller <davem@davemloft.net>
16373
16374 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16375 small copies by hand.
16376
984a4237
JL
163772012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16378
16379 [BZ #13761]
16380 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16381 _nss_compat_initgroups_dyn): Fall back to malloc/free
16382 for large group memberships.
16383
18c9d62b
DM
163842012-03-28 David S. Miller <davem@davemloft.net>
16385
88d85d4f
DM
16386 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16387 that branches into memcpy.
16388 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16389 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16390 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16391 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16392 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16393 bits.
16394 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16395 implementation too.
16396 * sysdeps/sparc/mempcpy.S: New file.
16397
e5aa83e1
DM
16398 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16399 the IFUNC routine in the libc case.
16400 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16401
88570753
DM
16402 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16403 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16404 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16405 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16406 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16407 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16408 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16409 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16410
249d7567
DM
16411 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16412 loop to 256 bytes instead of 64 bytes and fix test signedness.
16413
18c9d62b
DM
16414 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16415 * sysdeps/sparc/sparc32/Makefile: rather than here...
16416 * sysdeps/sparc/sparc64/Makefile: and here.
16417
05f3d1f6
UD
164182012-03-28 Ulrich Drepper <drepper@gmail.com>
16419
16420 * malloc/mallocbug.c: Avoid warnings about unused variables.
16421
86ae07a8
JL
164222012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16423
16424 [BZ #13760]
16425 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16426 in the right place. Discard and retry query if response is
16427 larger than input buffer size.
16428
41bf21a1
JM
164292012-03-28 Joseph Myers <joseph@codesourcery.com>
16430
d6270972
JM
16431 [BZ #369]
16432 [BZ #2678]
16433 [BZ #3866]
16434 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16435 x for large integer exponent.
16436 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16437 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16438 sign of result as needed afterwards.
16439 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16440 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16441 result for underflowing pow the same as for overflow.
16442 (__kernel_standard_l): Handle powl overflow and underflow here
16443 rather than calling __kernel_standard.
16444 * math/libm-test.inc (pow_test): Add more tests.
16445
414fca03 16446 [BZ #3868]
41bf21a1
JM
16447 [BZ #13879]
16448 [BZ #13910]
16449 [BZ #13911]
16450 [BZ #13912]
16451 [BZ #13913]
16452 [BZ #13915]
16453 [BZ #13916]
16454 [BZ #13917]
16455 [BZ #13918]
16456 [BZ #13919]
16457 [BZ #13920]
16458 [BZ #13921]
16459 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16460 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16461 (__kernel_standard_l): New function.
16462 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16463 __kernel_standard.
16464 * math/w_acosl.c (__acosl): Likewise.
16465 * math/w_asinl.c (__asinl): Likewise.
16466 * math/w_atan2l.c (__atan2l): Likewise.
16467 * math/w_atanhl.c (__atanhl): Likewise.
16468 * math/w_coshl.c (__coshl): Likewise.
16469 * math/w_exp10l.c (__exp10l): Likewise.
16470 * math/w_exp2l.c (__exp2l): Likewise.
16471 * math/w_fmodl.c (__fmodl): Likewise.
16472 * math/w_hypotl.c (__hypotl): Likewise.
16473 * math/w_j0l.c (__j0l, __y0l): Likewise.
16474 * math/w_j1l.c (__j1l, __y1l): Likewise.
16475 * math/w_jnl.c (__jnl, __ynl): Likewise.
16476 * math/w_lgammal.c (__lgammal): Likewise.
16477 * math/w_log10l.c (__log10l): Likewise.
16478 * math/w_log2l.c (__log2l): Likewise.
16479 * math/w_logl.c (__logl): Likewise.
16480 * math/w_powl.c (__powl): Likewise.
16481 * math/w_remainderl.c (__remainderl): Likewise.
16482 * math/w_scalbl.c (sysv_scalbl): Likewise.
16483 * math/w_sinhl.c (__sinhl): Likewise.
16484 * math/w_sqrtl.c (__sqrtl): Likewise.
16485 * math/w_tgammal.c (__tgammal): Likewise.
16486 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16487 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16488 * math/libm-test.inc (acos_test): Add more tests.
16489 (acosh_test): Likewise.
16490 (asin_test): Likewise.
16491 (atanh_test): Likewise.
16492 (exp_test): Likewise.
16493 (exp10_test): Likewise.
16494 (exp2_test): Likewise.
16495 (expm1_test): Likewise.
16496 (lgamma_test): Likewise.
16497 (log_test): Likewise.
16498 (log10_test): Likewise.
16499 (log1p_test): Likewise.
16500 (log2_test): Likewise.
16501 (pow_test): Do not allow some spurious overflow exceptions.
16502 (sqrt_test): Add more tests.
16503 (tgamma_test): Likewise.
16504 (y0_test): Likewise.
16505 (y1_test): Likewise.
16506 (yn_test): Likewise.
16507
dd62fda6
AB
165082012-03-27 Anton Blanchard <anton@samba.org>
16509
16510 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16511 MAP_HUGETLB.
16512 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16513 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16514 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16515
1e3cdfda
AJ
165162012-03-27 David S. Miller <davem@davemloft.net>
16517
b855ab85
DM
16518 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16519
1e3cdfda
AJ
16520 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16521 have-as-vis3 check.
16522
165232012-03-27 Andreas Jaeger <aj@suse.de>
16524
16525 * sysdeps/x86_64/elf/configure.in: Moved to ...
16526 * sysdeps/x86_64/configure.in: ... here.
16527 * sysdeps/x86_64/elf/start.S: Moved to ...
16528 * sysdeps/x86_64/start.S: ... here.
16529 * sysdeps/x86_64/elf/configure: Delete.
16530
16531 * sysdeps/x86_64/configure.in: Merge contents from
16532 sysdeps/i386/configure.in (without i686 check).
16533
16534 * sysdeps/i386/elf/Versions: Merge into ...
16535 * sysdeps/i386/Versions: ... this.
16536 * sysdeps/i386/elf/Versions: Delete file.
16537 * sysdeps/i386/elf/start.S: Moved to ...
16538 * sysdeps/i386/start.S: ...here.
16539 * sysdeps/i386/elf/configure.in: Merge into...
16540 * sysdeps/i386/configure.in: ...here.
16541 * sysdeps/i386/elf/configure.in: Delete file.
16542 * sysdeps/i386/elf/configure: Delete file.
16543
16544 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16545 * debug/backtracesyms.c: ... here.
16546 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16547 * debug/backtracesymsfd.c: ... here.
16548 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16549 * sysdeps/generic/ifunc-sel.h: ... here.
16550
16551 * sysdeps/unix/i386/start.c: Delete file.
16552 * sysdeps/unix/sparc/start.c: Delete file.
16553 * sysdeps/unix/start.c: Delete file.
16554
16555 * sysdeps/sh/elf/configure.in: Moved to ...
16556 * sysdeps/sh/configure.in: ... here.
16557 * sysdeps/sh/elf/start.S: Moved to ...
16558 * sysdeps/sh/start.S: ... here.
16559 * sysdeps/sh/elf/configure: Delete file.
16560
16561 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16562 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16563 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16564 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16565 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16566 * sysdeps/powerpc/powerpc64/start.S: here.
16567 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16568 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16569 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16570 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16571 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16572
16573 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16574 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16575 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16576 * sysdeps/powerpc/powerpc32/start.S: ... here.
16577 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16578 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16579 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16580
16581 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16582 * sysdeps/powerpc/ifunc-sel.h: ... here.
16583 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16584 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16585
16586 * sysdeps/sparc/elf/configure.in: Moved to ...
16587 * sysdeps/sparc/configure.in: ... here.
16588 * sysdeps/sparc/elf/configure: Delete file.
16589 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16590 * sysdeps/sparc/sparc32/start.S: ... here.
16591 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16592 * sysdeps/sparc/sparc64/start.S: ... here.
16593 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16594 * sysdeps/sparc/sparc32/Makefile: ... this.
16595 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16596 * sysdeps/sparc/sparc64/Makefile: ... this.
16597
16598 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16599 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16600 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16601 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16602 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16603 * sysdeps/s390/s390-32/setjmp.S: ... here.
16604 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16605 * sysdeps/s390/s390-32/configure.in: ... here.
16606 * sysdeps/s390/s390-32/elf/configure: Delete file.
16607 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16608 * sysdeps/s390/s390-32/start.S: ... here.
16609
16610 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16611 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16612 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16613 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16614 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16615 * sysdeps/s390/s390-64/setjmp.S: ... here.
16616 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16617 * sysdeps/s390/s390-64/configure.in: ... here
16618 * sysdeps/s390/s390-64/elf/configure: Delete file.
16619 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16620 * sysdeps/s390/s390-64/start.S: ... here.
16621 * sysdeps/s390/s390-64/elf/configure: Delete.
16622
16623 * configure.in: Remove support for elf directories in sysdeps.
16624
16625 * configure: Regenerated.
16626 * sysdeps/i386/configure: Regenerated.
16627 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16628 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16629 * sysdeps/s390/s390-32/configure: Regenerated.
16630 * sysdeps/s390/s390-64/configure: Regenerated.
16631 * sysdeps/sh/configure: Regenerated.
16632 * sysdeps/sparc/configure: Regenerated.
16633 * sysdeps/x86_64/configure: Regenerated.
16634
a3f61311
AS
166352012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16636
c876e002
AS
16637 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16638
a3f61311
AS
16639 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16640 denormal result into account.
16641
ac4c54f0
RM
166422012-03-25 Roland McGrath <roland@hack.frob.com>
16643
16644 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16645 Reported by Allan McRae <allan@archlinux.org>.
16646
6a9b9c02
JL
166472012-03-23 Jeff Law <law@redhat.com>
16648
16649 * nss/getnssent.c (__nss_getent): Fix typo.
16650
4c42a0c1
DM
166512012-03-23 David S. Miller <davem@davemloft.net>
16652
16653 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16654
1532c7ac
L
166552012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16656
16657 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16658 to pad to uint64_t for each field.
16659 (dl_tls_index): Replace unsigned long with uint64_t.
16660
3ff42526
PP
166612012-03-23 Daniel Jacobowitz <dmj@google.com>
16662 Paul Pluzhnikov <ppluzhnikov@google.com>
16663
16664 [BZ #6528]
16665 * grp/Makefile (otherlibs): Don't set it.
16666 * inet/Makefile (otherlibs): Likewise.
16667 * login/Makefile (otherlibs): Likewise.
16668 * nscd/Makefile (otherlibs): Likewise.
16669 * posix/Makefile (otherlibs): Likewise.
16670 * pwd/Makefile (otherlibs): Likewise.
16671 * rt/Makefile (otherlibs): Likewise.
16672 * sunrpc/Makefile (otherlibs): Likewise.
16673 * nss/Makefile (otherlibs): Likewise.
16674 Add libnss_files to routines and static-only-routines.
16675 ($(objpfx)getent): Remove rule.
16676 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16677 static-only-routines.
16678
7c69cd14
JM
166792012-03-22 Joseph Myers <joseph@codesourcery.com>
16680
16681 [BZ #13892]
16682 * math/s_cexp.c: Include <float.h>.
16683 (__cexp): Handle exp result overflowing not necessarily
16684 overflowing both real and imaginary parts of result.
16685 * math/s_cexpf.c: Likewise.
16686 * math/s_cexpl.c: Likewise.
16687 * math/libm-test.inc (cexp_test): Add more tests.
16688 * sysdeps/i386/fpu/libm-test-ulps: Update.
16689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16690
81b035fe
L
166912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16692
16693 * include/link.h (ELFW): New macro.
16694 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16695 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16696
1da7940c
L
166972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16698
16699 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16700 with uint64_t.
16701
b749dbb9
L
167022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16703
16704 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16705 declaration.
16706 (struct La_x32_retval): Likewise.
16707
2ff87f3f
L
167082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16709
16710 * sysdeps/x86_64/preconfigure.in: New file.
16711 * sysdeps/x86_64/preconfigure: New generated file.
16712
c0df8e69
JM
167132012-03-22 Joseph Myers <joseph@codesourcery.com>
16714
48e44791
JM
16715 [BZ #13824]
16716 * math/e_exp2l.c: Include <float.h>.
16717 (__ieee754_exp2l): Handle overflow and underflow cases
16718 separately. Only pass fractional part of argument to
16719 __ieee754_expl.
16720 * math/libm-test.inc (exp2_test): Add more tests.
16721
c0df8e69
JM
16722 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16723 negating x to take absolute value.
16724 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16725 Likewise.
16726 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16727 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16728 Likewise.
16729 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16730 computing low part if x was negated.
16731 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16732
c8e43ba7
L
167332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16734
16735 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16736 la_x32_gnu_pltexit.
16737 (pltexit): Cast int_retval to ptrdiff_t.
16738 * elf/tst-auditmod3b.c: Likewise.
16739 * elf/tst-auditmod4b.c: Likewise.
16740 * elf/tst-auditmod5b.c: Likewise.
16741 * elf/tst-auditmod6b.c: Likewise.
16742 * elf/tst-auditmod6c.c: Likewise.
16743 * elf/tst-auditmod7b.c: Likewise.
16744
16745 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16746 and x32_gnu_pltexit.
16747
16748 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16749 __ELF_NATIVE_CLASS.
16750 (La_x32_regs): New macro.
16751 (La_x32_retval): Likewise.
16752 (la_x32_gnu_pltenter): New function prototype.
16753 (la_x32_gnu_pltexit): Likewise.
16754
7998fa78
AS
167552012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16756
dcb33988
AS
16757 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16758 exponent.
16759
233fc563
AS
16760 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16761
7998fa78
AS
16762 * configure.in (libc_cv_cc_nofma): Check for option to disable
16763 generation of FMA instructions.
16764 * configure: Regenerate.
16765 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16766 * sysdeps/ieee754/dbl-64/Makefile: New file.
16767 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16768 Remove brandred-fma4.
16769 (CFLAGS-brandred-fma4.c): Remove.
16770 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16771 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16772 define.
16773 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16774 define.
16775
8e95c99a
L
167762012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16777
16778 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16779 LLONG_MAX != LONG_MAX.
16780 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16781 (_fitoa_word): Likewise.
16782 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16783 LLONG_MAX != LONG_MAX.
16784 * stdio-common/_itowa.h: Include <_itoa.h>.
16785 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16786 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16787 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16788 only if not defined.
16789 (_ITOA_WORD_TYPE): Likewise.
16790 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16791 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16792
6f4db457
DM
167932012-03-21 David S. Miller <davem@davemloft.net>
16794
16795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16796
7785fe5a
L
167972012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16798
16799 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16800 of x86_64 when setting libc_cv_slibdir, libdir and
16801 libc_cv_localedir.
16802 * sysdeps/unix/sysv/linux/configure: Regenerated.
16803
4535cd55
JM
168042012-03-21 Joseph Myers <joseph@codesourcery.com>
16805
16806 * manual/lang.texi (Old Varargs): Remove section.
16807 (How Variadic): Update menu.
16808 (va_start): Do not mention varargs.h.
16809
17228132
TS
168102012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16811 Joseph Myers <joseph@codesourcery.com>
16812
16813 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16814 link test.
16815 * configure: Regenerated.
16816
8149f976
TS
168172012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16818
05f3d1f6
UD
16819 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16820 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16821 conformtest.pl
8149f976 16822
1a4ac776
JM
168232012-03-21 Joseph Myers <joseph@codesourcery.com>
16824
be22ce65
JM
16825 * NOTES: Remove.
16826 * Makefile (files-for-dist): Remove NOTES.
16827 (NOTES): Remove rule.
16828 * README: Don't refer to NOTES.
16829 * manual/creature.texi: Don't include macros.texi.
16830 * manual/intro.texi (creature.texi): Remove comment referring to
16831 NOTES.
16832
40b601fb
JM
16833 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
16834 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
16835 * configure: Regenerated.
16836 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
16837 LIBC_TRY_CC_OPTION.
16838 (libc_cv_as_i686): Likewise.
16839 (libc_cv_cc_avx): Likewise.
16840 (libc_cv_cc_sse2avx): Likewise.
16841 (libc_cv_cc_fma4): Likewise.
16842 (libc_cv_cc_novzeroupper): Likewise.
16843 * sysdeps/i386/configure: Regenerated.
16844
1a4ac776
JM
16845 [BZ #13883]
16846 * sysdeps/i386/fpu/s_cexp.S: Remove.
16847 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
16848 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
16849 * math/libm-test.inc (cexp_test): Add more tests.
16850 * sysdeps/i386/fpu/libm-test-ulps: Update.
16851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16852
a458e7fe
AM
168532012-03-21 Allan McRae <allan@archlinux.org>
16854
16855 * timezone/Makefile: Do not install iso3166.tab and zone.tab
16856
0cb7efc5
JM
168572012-03-21 Joseph Myers <joseph@codesourcery.com>
16858
16859 [BZ #13871]
16860 * math/w_exp2.c: Do not include <float.h>.
16861 (o_threshold, u_threshold): Remove.
16862 (__exp2): Calculate result before checking finiteness and calling
16863 __kernel_standard.
16864 * math/w_exp2f.c: Likewise.
16865 * math/w_exp2l.c: Likewise.
16866 * math/libm-test.inc (exp2_test): Require overflow exception for
16867 1e6 input.
2460d3aa
JM
16868
16869 [BZ #3866]
16870 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
16871 range of signed 64-bit integers before using fistpll. Remove
16872 checks for whether integers fit in mantissa bits.
16873 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
16874 the range of signed 32-bit integers before using fistpl. Remove
16875 checks for whether integers fit in mantissa bits.
16876 * sysdeps/i386/fpu/e_powl.S (p64): New object.
16877 (__ieee754_powl): Test for y outside the range of signed 64-bit
16878 integers before using fistpll. Reduce 64-bit values to 63-bit
16879 ones as needed.
16880 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
16881 divide-by-zero is raised for zero to large negative powers.
16882 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
16883 (__ieee754_powl): Test for y outside the range of signed 64-bit
16884 integers before using fistpll. Reduce 64-bit values to 63-bit
16885 ones as needed.
16886 * math/libm-test.inc (pow_test): Add more tests.
16887
eb96ffb0
L
168882012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16889
16890 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
16891 <stdio-common/_itoa.h>.
16892 * debug/segfault.c: Likewise.
16893 * elf/dl-cache.c: Likewise.
16894 * elf/dl-minimal.c: Likewise.
16895 * elf/dl-misc.c: Likewise.
16896 * elf/dl-sysdep.c: Likewise.
16897 * elf/dl-version.c: Likewise.
16898 * elf/rtld.c: Likewise.
16899 * hurd/hurdsock.c: Likewise.
16900 * hurd/lookup-retry.c: Likewise.
16901 * malloc/malloc.c: Likewise.
16902 * malloc/mtrace.c: Likewise.
16903 * nscd/nscd_getgr_r.c: Likewise.
16904 * nscd/nscd_getpw_r.c: Likewise.
16905 * nscd/nscd_getserv_r.c: Likewise.
16906 * posix/getopt_init.c: Likewise.
16907 * posix/wordexp.c: Likewise.
16908 * stdio-common/_itoa.c: Likewise.
16909 * stdio-common/printf_fphex.c: Likewise.
16910 * stdio-common/vfprintf.c: Likewise.
16911 * string/_strerror.c: Likewise.
16912 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
16913 * sysdeps/i386/i686/hp-timing.h: Likewise.
16914 * sysdeps/mach/_strerror.c: Likewise.
16915 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
16916 * sysdeps/mach/hurd/sethostid.c: Likewise.
16917 * sysdeps/mach/hurd/xmknodat.c: Likewise.
16918 * sysdeps/mach/xpg-strerror.c: Likewise.
16919 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16920 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16921 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
16922 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
16923 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16924 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
16925 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16926 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16927 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
16928 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
16929 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
16930 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
16931 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
16932 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16933 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16934 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
16935 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
16936 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
16937 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
16938 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
16939 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
16940
16941 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
16942
16943 * stdio-common/_itoa.h: Moved to ...
16944 * sysdeps/generic/_itoa.h: Here.
16945
16946 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
16947
16948 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
16949 instead of "_itoa.h" and "_itowa.h".
16950 * stdio-common/vfprintf.: Likewise.
16951
d1af992d
L
169522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16953
16954 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
16955 <bits/wordsize.h>.
16956 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
16957 (__signbit): Likwise.
16958 (llrintf): Likwise.
16959 (llrint): Likwise.
16960
114883e0
L
169612012-03-20 H.J. Lu <hongjiu.lu@intel.com>
16962
16963 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
16964 __WORDSIZE != 64.
16965
c135cc1b
JM
169662012-03-20 Joseph Myers <joseph@codesourcery.com>
16967
16968 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
16969 OVERFLOW_EXCEPTION_OK.
16970 * math/libm-test.inc ("Philosophy"): Update comment about
16971 exception testing.
16972 (OVERFLOW_EXCEPTION): Define.
16973 (OVERFLOW_EXCEPTION_OK): Likewise.
16974 (INVALID_EXCEPTION_OK): Renumber.
16975 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16976 (IGNORE_ZERO_INF_SIGN): Likewise.
16977 (test_exceptions): Handle FE_OVERFLOW.
16978 (exp10_test): Expect overflow exceptions.
16979 (exp2_test): Likewise.
16980 (expm1_test): Likewise.
16981 (nextafter_test): Likewise.
16982 (pow_test): Likewise.
16983 (scalbn_test): Likewise.
16984 (scalbln_test): Likewise.
16985
95443d88
L
169862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16987
16988 * sysdeps/x86_64/bits/atomic.h
16989 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
16990 64bit integer.
16991 (atomic_exchange_acq): Likewise.
16992 (__arch_exchange_and_add_body): Likewise.
16993 (__arch_add_body): Likewise.
16994 (atomic_add_negative): Likewise.
16995 (atomic_add_zero): Likewise.
16996
490df6c4
L
169972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
16998
c2722551 16999 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
17000 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17001
5e52b189
L
170022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17003
17004 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17005 Check __x86_64__ instead of __WORDSIZE.
17006
a9879d4c
L
170072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17008
17009 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17010
5df98260
DM
170112012-03-19 David S. Miller <davem@davemloft.net>
17012
e1497744
DM
17013 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17014
5df98260
DM
17015 * sysdeps/sparc/fpu/fenv_private.h: New file.
17016 * sysdeps/sparc/fpu/math_private.h: Use it.
17017 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17018 Remove.
17019 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17020 (libc_feholdexcept_setroundl): Remove.
17021 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17022 Remove.
17023 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17024 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17025
b4c35121
L
170262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17027
17028 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17029 int64_t instead of long int.
17030 (INSERT_WORDS64): Likwise.
17031
56965fd7
L
170322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17033
17034 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17035 _Unwind_GetCFA return to _Unwind_Ptr first.
17036
83d1aec8
JM
170372012-03-19 Joseph Myers <joseph@codesourcery.com>
17038
1897ad44
JM
17039 [BZ #13629]
17040 * math/s_clog.c: Include <float.h>.
17041 (__clog): Scale large or subnormal inputs.
17042 * math/s_clogf.c: Likewise.
17043 * math/s_clogl.c: Likewise.
17044 * math/s_clog10.c: Include <float.h>.
17045 (M_LOG10_2): Define.
17046 (__clog10): Scale large or subnormal inputs.
17047 * math/s_clog10f.c: Likewise.
17048 * math/s_clog10l.c: Likewise.
17049 * math/libm-test.inc (clog_test): Add more tests.
17050 (clog10_test): Likewise.
17051 * sysdeps/i386/fpu/libm-test-ulps: Update.
17052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17053
7726d6a9
JM
17054 [BZ #11451]
17055 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17056 x and y.
17057 * math/libm-test.inc (atan2_test): Add another test.
17058
83d1aec8
JM
17059 * Makerules (common-objdir-compile): Remove.
17060 * sysdeps/unix/Makefile (config-generated): Do not add
17061 $(unix-generated) to variable.
17062 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17063 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17064 Remove rule.
17065 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17066 Likewise.
17067 [generic bits/local_lim.h] (before-compile): Do not append to
17068 variable.
17069 [generic bits/local_lim.h] (common-generated): Likewise.
17070 [generic sys/param.h] (before-compile): Do not append to variable.
17071 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17072 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17073 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17074 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17075 include.
17076 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17077 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17078 [generic sys/param.h] ($(addprefix
17079 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17080 [generic sys/param.h] (common-generated): Do not append to
17081 variable.
17082 [generic sys/param.h] (sysdep_headers): Likewise.
17083 [generic bits/errno.h] (before-compile): Do not append to
17084 variable.
17085 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17086 rule.
17087 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17088 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17089 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17090 [generic bits/errno.h] (common-generated): Do not append to
17091 variable.
17092 [generic bits/ioctls.h] (before-compile): Do not append to
17093 variable.
17094 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17095 rule.
17096 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17097 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17098 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17099 rule.
17100 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17101 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17102 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17103 [generic bits/ioctls.h] (common-generated): Do not append to
17104 variable.
17105 [generic sys/syscall.h] (syscall.h): Remove variable.
17106 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17107 rule.
17108 [generic sys/syscall.h] (before-compile): Do not append to
17109 variable.
17110 [generic sys/syscall.h] (common-generated): Likewise.
17111 * sysdeps/unix/errnos-tmpl.c: Remove file.
17112 * sysdeps/unix/errnos.awk: Likewise.
17113 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17114 * sysdeps/unix/ioctls.awk: Likewise.
17115 * sysdeps/unix/mk-local_lim.c: Likewise.
17116 * sysdeps/unix/snarf-ioctls: Likewise.
17117
4851a949
RH
171182012-03-19 Richard Henderson <rth@twiddle.net>
17119
bd37f2ee
RH
17120 * sysdeps/i386/fpu/fenv_private.h: New file.
17121 * sysdeps/i386/fpu/math_private.h: Use it.
17122 (math_opt_barrier, math_force_eval): Remove.
17123 (libc_feholdexcept_setround_53bit): Remove.
17124 (libc_feupdateenv_53bit): Remove.
17125 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17126 (math_opt_barrier, math_force_eval): Remove.
17127 (libc_feholdexcept): Remove.
17128 (libc_feholdexcept_setround): Remove.
17129 (libc_fetestexcept, libc_fesetenv): Remove.
17130 (libc_feupdateenv_test): Remove.
17131 (libc_feupdateenv, libc_feholdsetround): Remove.
17132 (libc_feresetround): Remove.
17133
d0adc922
RH
17134 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17135 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17136
0fe0f1f8
RH
17137 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17138 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17139 (libc_feupdateenv_testl): New.
17140 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17141 (libc_feupdateenv_testf): New.
17142 (libc_feupdateenv): Use libc_feupdateenv_test.
17143 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17144 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17145
eb92c487
RH
17146 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17147 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17148 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17149 (libc_feresetround_noex): New.
17150 (libc_feresetround_noexf): New.
17151 (libc_feresetround_noexl): New.
17152 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17153 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17154 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17155 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17156 SET_RESTORE_ROUND.
17157 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17158 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17159 (__cos): Likewise.
17160 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17161 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17162 SET_RESTORE_ROUND_NOEX.
17163 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17164 SET_RESTORE_ROUND_NOEXF.
17165 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17166 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17167 (libc_feholdsetroundf): New.
17168 (libc_feresetround, libc_feresetroundf): New.
17169
7d2e8012
RH
17170 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17171 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17172 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17173
b4dabbb4
RH
17174 * sysdeps/generic/math_private.h: Include <fenv.h>.
17175 (default_libc_feholdexcept): New.
17176 (default_libc_feholdexcept_setround): New.
17177 (default_libc_fesetenv, default_libc_feupdateenv): New.
17178 (libc_feholdexcept): Only define if undefined.
17179 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17180 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17181 (libc_feholdexcept_setroundl): Likewise.
17182 (libc_feholdexcept_setround_53bit): Likewise.
17183 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17184 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17185 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17186 (libc_feupdateenv_53bit): Likewise.
17187 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17188 (libc_feholdexcept): Convert from macro to inline function.
17189 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17190 (libc_fesetenv, libc_feupdateenv): Likewise.
17191
4851a949
RH
17192 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17193 not previously defined.
17194 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17195 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17196 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17197 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17198 * sysdeps/ieee754/flt-32/math_private.h: New file.
17199 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17200 math_private.h below SET_FLOAT_WORD.
17201 (__isnan, __isinf_ns, __finite): Remove.
17202 (__isnanf, __isinf_nsf, __finitef): Remove.
17203
e79d442e
AS
172042012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17205
17206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17207
90b80344
DM
172082012-03-17 David S. Miller <davem@davemloft.net>
17209
17210 [BZ #6471]
17211 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17212 for 2.16.
17213
edc21804
DM
172142012-03-16 David S. Miller <davem@davemloft.net>
17215
77e927af
DM
17216 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17217 warnings.
17218
374976dd
DM
17219 [BZ #6471]
17220 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17221 properly.
17222 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17223 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17224 sysdep_routines when subdir is sysvipc.
17225 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17226 __getshmlba helper.
17227
edc21804
DM
17228 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17229
473c3ef3
L
172302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17231
17232 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17233 [__LP64__].
17234
eb0f39b6
L
172352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17236
17237 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17238 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17239 (__lround): Renamed to ...
17240 (__llround): This. Replace long int with long long int.
17241 Define lround functions as aliases of llround functions.
17242 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17243
6b6cd74b
L
172442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17245
17246 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17247 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17248 adresses to uintptr_t. Replace "long int" and "unsigned long
17249 int" with "greg_t" on va_arg.
17250
f1a77b01
L
172512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17252
17253 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17254 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17255
17256 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17257 Move e_machine check before EI_CLASS check. Handle x32
17258 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17259 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17260 SKIP_EM_IA_64 and include
17261 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17262
17263 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17264 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17265 (add_system_dir): New macro.
17266
17267 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17268 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17269
11b90b9f
JM
172702012-03-16 Joseph Myers <joseph@codesourcery.com>
17271
c36e1d23
JM
17272 [BZ #2551]
17273 [BZ #2552]
17274 [BZ #2553]
17275 [BZ #2554]
17276 [BZ #2562]
17277 [BZ #2563]
17278 [BZ #2565]
17279 [BZ #2566]
17280 [BZ #2576]
17281 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17282 (y0): Likewise.
17283 * math/w_j0f.c (j0f): Likewise.
17284 (y0f): Likewise.
17285 * math/w_j0l.c (__j0l): Likewise.
17286 (__y0l): Likewise.
17287 * math/w_j1.c (j1): Likewise.
17288 (y1): Likewise.
17289 * math/w_j1f.c (j1f): Likewise.
17290 (y1f): Likewise.
17291 * math/w_j1l.c (__j1l): Likewise.
17292 (__y1l): Likewise.
17293 * math/w_jn.c (jn): Likewise.
17294 (yn): Likewise.
17295 * math/w_jnf.c (jnf): Likewise.
17296 (ynf): Likewise.
17297 * math/w_jnl.c (__jnl): Likewise.
17298 (__ynl): Likewise.
17299 * math/libm-test.inc (j0_test): Add more tests.
17300 (j1_test): Likewise.
17301 (jn_test): Likewise. Add trailing semicolon to existing test.
17302 (y0_test): Likewise.
17303 (y1_test): Likewise.
17304 * sysdeps/i386/fpu/libm-test-ulps: Update.
17305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17306
11b90b9f
JM
17307 [BZ #13851]
17308 [BZ #13854]
17309 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17310 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17311 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17312 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17313 (__tanl): Set errno for infinite argument.
17314 * sysdeps/i386/fpu/mptan.c: Remove.
17315 * sysdeps/i386/fpu/s_tan.S: Likewise.
17316 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17317 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17318 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17319 * math/libm-test.inc (tan_test): Add more tests and enable more
17320 tests for double and long double.
17321 * sysdeps/i386/fpu/libm-test-ulps: Update.
17322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17323
6a1bd2a1
JK
173242012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17325
17326 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17327 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17328
10a803e0
RM
173292012-03-16 Roland McGrath <roland@hack.frob.com>
17330
17331 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17332 * configure.in: Use it for both main tree and add-ons.
17333 * configure: Regenerated.
17334
f196c7f7
L
173352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17336
17337 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17338
8848d99d
JM
173392012-03-16 Joseph Myers <joseph@codesourcery.com>
17340
96cbe7f4
JM
17341 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17342 in comment.
17343
8848d99d
JM
17344 [BZ #13851]
17345 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17346 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17347 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17348 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17349 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17350 infinite argument.
17351 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17352 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17353 != 0 for prec == 2.
17354 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17355 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17356 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17357 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17358 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17359 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17360 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17361 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17362 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17363 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17364 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17365 * math/libm-test.inc (cos_test): Add more tests and enable more
17366 tests for long double.
17367 (sin_test): Likewise.
17368 (sincos_test): Likewise.
17369 * sysdeps/i386/fpu/libm-test-ulps: Update.
17370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17371
dd7f4703
DM
173722012-03-16 David S. Miller <davem@davemloft.net>
17373
17374 * sysdeps/sparc/fpu/math_private.h: New file.
17375
006f1daa
DM
173762012-03-15 David S. Miller <davem@davemloft.net>
17377
c0c83bc8
DM
17378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17379 file.
e6a62e18 17380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
17381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17382 file.
e6a62e18
DM
17383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17384 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17385 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17386 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17387 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17388 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17389 sysdep routines.
17390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17391
88cb87d9
DM
17392 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17393 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17394
006f1daa 17395 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
17396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17397 sparc-ifunc.h
006f1daa 17398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
17399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17400 Likewise.
17401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17402 Likewise.
006f1daa
DM
17403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
17406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17407 Likewise.
006f1daa
DM
17408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
17412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17413 Likewise.
17414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17415 Likewise.
006f1daa
DM
17416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17420 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17421 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17422 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17423 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17424 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17425 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17426 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17427 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17428 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17429 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17430 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17431 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17432 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17433 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17434 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17435 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17436 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17437 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17438 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17439 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17440
11e0098e
AS
174412012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17442
17443 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17444 scaling.
17445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17446
e85b09d0
AJ
174472012-03-15 Andreas Jaeger <aj@suse.de>
17448
17449 [BZ #13852]
17450 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17451 ieee754/flt-32 implementation for sin, cos and sincos.
17452 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17453 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17454 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17455 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17456 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17457 ieee754/flt-32 implementation for tan.
17458
17459 * math/libm-test.inc (cos_test): Enable some large input tests for
17460 float as well
17461 (sin_test): Likewise.
17462 (sincos_test): Likewise.
17463 (tan_test): Add tests for large input.
17464
17465 * sysdeps/i386/fpu/libm-test-ulps: Update.
17466
81c64153
AJ
174672012-03-15 Andreas Jaeger <aj@suse.de>
17468
17469 [BZ #13658]
17470 * math/libm-test.inc (cos_test): Add more test cases.
17471 (sin_test): Likewise.
17472 (sincos_test): Likewise.
17473
7bbfa5c6
AJ
174742012-03-15 Andreas Jaeger <aj@suse.de>
17475
17476 [BZ #13837]
17477 * math/libm-test.inc (cos_test): Add a test case for large input
17478 value.
17479 (sin_test): Likewise.
17480 (sincos_test): Likewise.
17481
174822012-03-15 Andreas Jaeger <aj@suse.de>,
17483 Joseph Myers <joseph@codesourcery.com>
17484
17485 [BZ #13658]
0671f479 17486 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
17487 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17488 * sysdeps/i386/fpu/branred.c: Likewise.
17489 * sysdeps/i386/fpu/dosincos.c: Likewise.
17490 * sysdeps/i386/fpu/mpa.c: Likewise.
17491 * sysdeps/i386/fpu/s_cos.S: Likewise.
17492 * sysdeps/i386/fpu/s_sin.S: Likewise.
17493 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17494 * sysdeps/i386/fpu/sincos32.c: Likewise.
17495
17496 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17497 Define.
17498 (libc_feupdateenv_53bit): Define.
17499 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17500 Define.
17501 (libc_feupdateenv_53bit): Define.
17502
17503 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17504 53 bit (without extend i386 double precision).
17505
17506 * math/libm-test.inc (sincos_test): Add tests for large input.
17507 (sin): Likewise.
17508 (cos): Likewise.
17509
17510 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17511
9cad04ea
AS
175122012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17513
17514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17515
f7062b9a
DM
175162012-03-15 David S. Miller <davem@davemloft.net>
17517
17518 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17519 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17520 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17521 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17522 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17526 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17527 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17528 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17529 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17530 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17531 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17532 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
17533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17534 file.
f7062b9a 17535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
17536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17537 file.
f7062b9a 17538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
17539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17540 file.
f7062b9a 17541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
17542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17543 file.
f7062b9a
DM
17544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17545 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17546 fmin/fmax sysdep routines.
17547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17548
7bd951ff
DM
175492012-03-14 David S. Miller <davem@davemloft.net>
17550
559398ab
DM
17551 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17552 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17553 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17554 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17555 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17556 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17557 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17558 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17559 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17560 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17561 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17562 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17563 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17564 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17565 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17566 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17567 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17568 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17569 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17570 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17571 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17572 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17573 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17574 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17575 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17576 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17577 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17578 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17579 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17580 routines.
17581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17582 file.
559398ab 17583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
17584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17585 file.
559398ab 17586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
17587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17588 file.
559398ab 17589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
17590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17591 file.
559398ab 17592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
17593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17594 file.
559398ab 17595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
17596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17597 file.
17598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17599 file.
17600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17601 file.
17602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17603 file.
17604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17605 New file.
17606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17607 file.
17608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17609 file.
559398ab 17610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
17611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17612 file.
559398ab 17613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17615 file.
559398ab 17616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
17617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17618 file.
559398ab 17619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
17620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17621 VIS3 routines.
559398ab
DM
17622
17623 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17624 New file.
17625
5a1c1e32
DM
17626 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17627
eae47a36
DM
17628 * sysdeps/sparc/configure.in: New file.
17629 * sysdeps/sparc/configure: Generate.
17630 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17631 * configure: Regenerate.
17632 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17633 * config.make.in (have-as-vis3): New.
17634 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17635 available use -Av9d instead of -Av9a.
17636 * sysdeps/sparc/sparc64/Makefile: Likewise.
17637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
17638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17639 New file.
17640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17641 file.
17642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17643 New file.
17644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17645 file.
eae47a36
DM
17646 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17647 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17648 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17649 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17650 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17651
c0c83bc8
DM
17652 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17653 fzeros/fnegs to load 0x80000000 into a float register instead of
17654 using the stack.
7bd951ff
DM
17655 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17656
bd951ccb
JM
176572012-03-14 Joseph Myers <joseph@codesourcery.com>
17658
17659 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17660 bits/syscall.h.
17661 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17662 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17663 ($(inst_includedir)/bits/syscall.h): Remove rule.
17664 ($(objpfx)bits/syscall.d): Include instead of
17665 $(objpfx)syscall-list.d.
17666 (generated): Change syscall-list.h and syscall-list.d to
17667 bits/syscall.h and bits/syscall.d.
17668
bb4e6db2
RM
176692012-03-14 Roland McGrath <roland@hack.frob.com>
17670
17671 [BZ #13846]
17672 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17673
aa4a2ae1
JM
176742012-03-14 Joseph Myers <joseph@codesourcery.com>
17675
e456826d
JM
17676 [BZ #13841]
17677 * math/s_csqrt.c: Include <float.h>.
17678 (__csqrt): Scale large or subnormal inputs.
17679 * math/s_csqrtf.c: Likewise.
17680 * math/s_csqrtl.c: Likewise.
17681 * math/libm-test.inc (csqrt_test): Add more tests.
17682 * sysdeps/i386/fpu/libm-test-ulps: Update.
17683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17684
aa4a2ae1
JM
17685 [BZ #13840]
17686 * math/libm-test.inc (hypot_test): Add more tests.
17687
7c10fd35
DM
176882012-03-13 David S. Miller <davem@davemloft.net>
17689
17690 [BZ #13840]
17691 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17692 double-precision for the calculation instead of scaling.
17693
f453b98b
JM
176942012-03-13 Joseph Myers <joseph@codesourcery.com>
17695
17696 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17697 manipulate bits before adding and subtracting TWO52[sx].
17698 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17699 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17700 Likewise.
17701 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17702
09a3453f
DM
177032012-03-13 David S. Miller <davem@davemloft.net>
17704
8e59da90
DM
17705 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17706 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17707 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17708 rtld-global-offsets.h
17709 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17710
2a8ab7f2
DM
17711 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17712 large parameters.
17713
10f62770
DM
17714 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17715
5f0bdb18
DM
17716 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17717 'err' in the ifdef scope in which it is actually used.
17718
09a3453f
DM
17719 * nss/nss_db/db-init.c: Include string.h
17720
b4b2eb5e
DM
177212012-03-12 David S. Miller <davem@davemloft.net>
17722
98bb2f1c
DM
17723 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17724 masking out of the most significant byte of random value used.
17725 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17726 Fix coding style in previous change.
17727
b4b2eb5e
DM
17728 * sysdeps/unix/sysv/linux/kernel-features.h
17729 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17730 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17731 expression.
17732 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17733 later.
17734
6e226b09
DM
177352012-03-11 David S. Miller <davem@davemloft.net>
17736
a1bcbd40
DM
17737 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17738 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17739 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17740 for 'resultvar' otherwise things get truncated on 64-bit.
17741
cb9d6174
DM
17742 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17743 Fix masking out of the most significant byte of random value used.
17744
6e226b09
DM
17745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17746
058c132d
AS
177472012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17748
17749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17750
2d2cd515
DM
177512012-03-09 David S. Miller <davem@davemloft.net>
17752
17753 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17754 variables with appropriate CPP guards.
17755 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17756 frame pointer, not the stack pointer. Correct layout comments. Fix test
17757 on resulting framesize and the management of the outregs buffer for pltexit.
17758 Preserve floating point return values across _dl_call_pltexit call.
17759 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17760 framesize and the management of the outregs buffer for pltexit.
17761 Preserve floating point return values across _dl_call_pltexit
17762 call.
17763 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17764 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17765 (print_exit): Fix format string for return register value.
17766
9a07f9d0
JM
177672012-03-10 Joseph Myers <joseph@codesourcery.com>
17768
17769 * sunrpc/Makefile (others): Add rpcgen.
17770 ($(objpfx)rpcgen): Remove special build rule and dependency on
17771 libc.
17772 * sunrpc/rpcgen.c: New file.
17773
547b5e30
PE
177742012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17775
c524201a
PE
17776 [BZ #13673]
17777 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17778 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17779 * sysdeps/i386/crti.S: Likewise.
17780 * sysdeps/i386/crtn.S: Likewise.
17781 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17782 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17783 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17784 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17785 * sysdeps/sh/crti.S: Likewise.
17786 * sysdeps/sh/crtn.S: Likewise.
17787 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17788
7b6235f2
PE
17789 [BZ #13673]
17790 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17791 with URL.
17792 * locale/programs/locfile-kw.gperf: Likewise.
17793 * locale/programs/charmap-kw.h: Regenerated.
17794 * locale/programs/locfile-kw.h: Likewise.
17795
547b5e30
PE
17796 [BZ #13673]
17797 * intl/plural.y: Replace FSF snail mail address with URL.
17798 * intl/plural.c: Regenerated.
17799
5f0a5dae
RH
178002012-03-09 Richard Henderson <rth@twiddle.net>
17801
17802 * include/math_private.h: Remove file.
17803 * math/math_private.h: Move file ...
17804 * sysdeps/generic/math_private.h: ... here.
17805
b8c03620
RH
17806 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17807 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17808 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17809
4e234f5d 17810 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
17811 and <math_private.h>.
17812 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17813 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17814 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17815 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17816 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17817 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17818 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17819 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17820 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17821 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17822 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17823 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17824 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17825 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17826 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17827 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17828 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17829 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17830 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
17831 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
17832 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17833 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
17834 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
17835 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17836 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
17837 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17838 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
17839 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17840 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17841 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17842 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
17843 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17844 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
17845 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
17846 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
17847 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17848 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17849 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
17850 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
17851 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
17852 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
17853 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
17854 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
17855 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
17856 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
17857 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
17858 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
17859 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
17860 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17861 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
17862 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
17863 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
17864 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
17865 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
17866 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
17867 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
17868 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
17869 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
17870 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
17871 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
17872 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17873 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
17874 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17875 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
17876 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
17877 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17878 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17879 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17880 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
17881 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
17882 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17883 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
17884 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17885 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17886 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
17887 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
17888 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
17889 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17890 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
17891 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
17892 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17893 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
17894 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17895 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
17896 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17897 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
17898 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
17899 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
17900 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
17901 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
17902 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
17903 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
17904 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
17905 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
17906 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
17907 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
17908 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
17909 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
17910 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
17911 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
17912 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
17913 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
17914 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
17915 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
17916 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17917 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
17918 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
17919 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
17920 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17921 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17922 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17923 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17924 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
17925 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17926 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
17927 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
17928 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17929 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
17930 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17931 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
17932 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17933 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
17934 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
17935 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
17936 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17937 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
17938 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
17939 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
17940 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
17941 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
17942 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
17943 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
17944 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17945 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
17946 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
17947 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
17948 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
17949 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
17950 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
17951 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
17952 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
17953 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
17954 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
17955 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
17956 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
17957 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
17958 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
17959 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
17960 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
17961 * sysdeps/ieee754/k_standard.c: Likewise.
17962 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
17963 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17964 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17965 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17966 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17967 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17968 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17969 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17970 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17971 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17972 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17973 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17974 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17975 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17976 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17977 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17978 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17979 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17980 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17981 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17982 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17983 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17984 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17985 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17986 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17987 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17988 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17989 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17990 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17991 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17992 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17993 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17994 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17995 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17996 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17997 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17998 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
17999 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18000 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18001 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18002 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18003 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18004 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18005 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18006 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18007 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18008 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18009 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18010 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18011 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18012 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18013 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18014 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18015 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18016 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18017 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18018 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18019 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18020 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18021 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18022 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18023 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18024 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18025 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18026 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18027 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18028 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18029 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18030 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18031 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18032 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18033 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18034 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18035 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18036 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18037 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18038 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18039 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18040 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18041 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18042 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18043 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18044 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18045 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18046 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18047 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18048 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18049 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18050 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18051 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18052 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18053 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18054 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18055 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18056 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18057 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18058 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18059 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18060 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18061 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18062 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18063 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18064 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18065 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18066 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18067 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18068 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18069 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18070 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18071 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18072 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18073 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18074 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18075 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18076 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18077 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18078 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18079 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18080 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18081 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18082 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18083 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18084 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18085 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18086 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18087 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18088 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18089 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18090 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18091 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18092 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18093 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18094 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18095 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18096 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18097 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18098 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18099 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18100 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18101 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18102 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18103 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18104 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18105 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18106 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18107 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18108 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18109 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18110 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18111 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18112 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18113 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18114 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18115 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18116 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18117 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18118 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18119 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18120 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18121 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18122 * sysdeps/ieee754/s_lib_version.c: Likewise.
18123 * sysdeps/ieee754/s_matherr.c: Likewise.
18124 * sysdeps/ieee754/s_signgam.c: Likewise.
18125 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18126 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18127 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18128 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18129 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18130 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18131 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18132 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18133 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18134 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18135 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18136 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18137 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18138 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18139 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18140 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18141 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18142 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18143 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18144 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18145 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 18146
1991fa03
JM
181472012-03-09 Joseph Myers <joseph@codesourcery.com>
18148
18149 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18150 * sunrpc/rpc_main.c: Likewise.
18151 * sunrpc/rpc_svcout.c: Likewise.
18152
60d6f5a6
DM
181532012-03-09 David S. Miller <davem@davemloft.net>
18154
18155 * include/math_private.h: New file.
18156
4962050e
JM
181572012-03-09 Joseph Myers <joseph@codesourcery.com>
18158
02a6f887
JM
18159 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18160 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18161 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18162 from <bits/socket_type.h>.
18163 (enum __socket_type): Don't define here.
18164 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18165 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18166 bits/socket_type.h.
18167
c6e013c1
JM
18168 [BZ #13566]
18169 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18170 checking __USE_GNU.
18171
4962050e
JM
18172 * Makerules ($(inst_includedir)/%.h): New rule.
18173 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18174 (install-others): Remove variable setting.
18175 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18176
38842f45
RH
181772012-03-08 Richard Henderson <rth@twiddle.net>
18178
67bb6da6
RH
18179 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18180 from macro to inline function; merge with the
18181 !__LIBC_INTERNAL_MATH_INLINES version.
18182 (__ieee754_sqrtf): Likewise.
18183
15194b4b
RH
18184 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18185 to inline function.
18186 (__rintf, __floor, __floorf): Likewise.
18187
64e21ede
RH
18188 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18189 macro to inline function.
18190 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18191
38842f45
RH
18192 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18193 not <math/math_private.h>.
18194
c64bf5fe
DM
181952012-03-08 David S. Miller <davem@davemloft.net>
18196
18197 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18198 copyright year.
18199 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18200
82d86f28
TS
182012012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18202
18203 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18204 normalization.
18205 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18206 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18207
aea5d727
UD
182082012-03-08 Ulrich Drepper <drepper@gmail.com>
18209
18210 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18211 be defined individually, they must be defined as a block. Define
18212 S for printing a string instead of hidint the different by using a
18213 macro for adding the 'l'.
18214 * stdio-common/tst-fphex-wide.c: Adjust.
18215
70bca0a3
MP
182162012-03-07 Marek Polacek <polacek@redhat.com>
18217
18218 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18219
65b81130
MP
182202012-03-08 Marek Polacek <polacek@redhat.com>
18221
18222 [BZ #13806]
18223 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18224 * stdio-common/tst-fphex.c: Define a few macros to make the
18225 test reusable. Use them.
18226 * stdio-common/tst-fphex-wide.c: New file.
18227
07037eeb
JM
182282012-03-08 Joseph Myers <joseph@codesourcery.com>
18229
a7a93d50
JM
18230 [BZ #6911]
18231 * manual/macros.texi (gnusystems): New macro.
18232 (nongnusystems): Likewise.
18233 (gnulinuxhurdsystems): Likewise.
18234 (gnuhurdsystems): Likewise..
18235 (gnulinuxsystems): Likewise.
18236 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18237 variants of the GNU system, not "GNU system".
18238 * manual/conf.texi: Likewise.
18239 * manual/errno.texi: Likewise. Update example of errno macro
18240 expansion.
18241 * manual/filesys.texi: Likewise.
18242 (getumask): Document as specific to GNU/Hurd.
18243 * manual/install.texi: Likewise. Reword some references to
18244 GNU/Linux.
18245 * manual/intro.texi: Likewise.
18246 * manual/io.texi: Likewise.
18247 (File Name Portability): Detail which constraints are inapplicable
18248 to all GNU systems and which are only inapplicable to GNU/Hurd.
18249 * manual/job.texi: Likewise.
18250 * manual/llio.texi: Likewise.
18251 (O_NOCTTY): Document as present on GNU/Linux.
18252 * manual/maint.texi: Likewise.
18253 * manual/memory.texi: Likewise.
18254 * manual/pattern.texi: Likewise.
18255 * manual/pipe.texi: Likewise.
18256 * manual/process.texi: Likewise.
18257 * manual/resource.texi: Likewise.
18258 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18259 child on GNU/Hurd.
18260 * manual/setjmp.texi: Likewise.
18261 * manual/signal.texi: Likewise.
18262 * manual/startup.texi: Likewise.
18263 * manual/stdio.texi: Likewise.
18264 * manual/terminal.texi: Likewise.
18265 (ONLCR): Document as POSIX.
18266 (OXTABS): Document availability on GNU/Linux as XTABS.
18267 (ONOEOT): Document availability separately from other bits.
18268 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18269 * manual/time.texi: Likewise.
18270 * manual/users.texi: Likewise.
18271 * INSTALL: Regenerated.
18272 * sysdeps/gnu/errlist.c: Regenerated.
18273
07037eeb
JM
18274 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18275 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18276 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18277 puts.
18278 * configure: Regenerated.
18279
d1d3431a
JM
182802012-03-07 Joseph Myers <joseph@codesourcery.com>
18281
af6a1e37
JM
18282 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18283 default includes instead of AC_HEADER_CHECK.
18284 * sysdeps/i386/configure: Regenerated.
18285
d1d3431a
JM
18286 [BZ #10716]
18287 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18288 * math/s_cacoshf.c (__cacoshf): Likewise.
18289 * math/s_cacoshl.c (__cacoshl): Likewise.
18290 * math/s_casinh.c (__casinh): Set signs of result from argument.
18291 * math/s_casinhf.c (__casinhf): Likewise.
18292 * math/s_casinhl.c (__casinhl): Likewise.
18293 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18294 (casinh_test): Add more tests.
18295 * sysdeps/i386/fpu/libm-test-ulps: Update.
18296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18297
482ff4da
UD
182982012-03-07 Ulrich Drepper <drepper@gmail.com>
18299
872fda05
UD
18300 * po/zh_TW.po: Update from translation team.
18301
a4300c7a
UD
18302 * login/Makefile (distribute): Remove variable.
18303 * catgets/Makefile: Likewise.
18304 * mach/Makefile: Likewise.
18305 * malloc/Makefile: Likewise.
18306 * misc/Makefile: Likewise.
18307 * iconv/Makefile: Likewise.
18308 * nscd/Makefile: Likewise.
18309 * hurd/Makefile: Likewise.
18310 * manual/Makefile: Likewise.
18311 * locale/Makefile: Likewise.
18312 * intl/Makefile: Likewise.
18313 * conform/Makefile: Likewise.
18314 * nss/Makefile: Likewise.
18315 * time/Makefile: Likewise.
18316 * soft-fp/Makefile: Likewise.
18317 * dirent/Makefile: Likewise.
18318 * gmon/Makefile: Likewise.
18319 * po/Makefile: Likewise.
18320 * rt/Makefile: Likewise.
18321 * socket/Makefile: Likewise.
18322 * math/Makefile: Likewise.
18323 * signal/Makefile: Likewise.
18324 * debug/Makefile: Likewise.
18325 * elf/Makefile: Likewise.
18326 * timezone/Makefile: Likewise.
18327 * stdlib/Makefile: Likewise.
18328 * iconvdata/Makefile: Likewise.
18329 * sunrpc/Makefile: Likewise.
18330 * io/Makefile: Likewise.
18331 * argp/Makefile: Likewise.
18332 * inet/Makefile: Likewise.
18333 * hesiod/Makefile: Likewise.
18334 * grp/Makefile: Likewise.
18335 * csu/Makefile: Likewise.
18336 * wctype/Makefile: Likewise.
18337 * crypt/Makefile: Likewise.
18338 * libio/Makefile: Likewise.
18339 * string/Makefile: Likewise.
18340 * nis/Makefile: Likewise.
18341 * resolv/Makefile: Likewise.
18342 * stdio-common/Makefile: Likewise.
18343 * wcsmbs/Makefile: Likewise.
18344 * dlfcn/Makefile: Likewise.
18345 * posix/Makefile: Likewise.
18346
3b7c4e74 18347 [BZ #6959]
482ff4da
UD
18348 * timezone/Makefile: Don't install timezone files, just the programs
18349 and scripts.
18350
f72ed77d
UD
183512012-03-06 Ulrich Drepper <drepper@gmail.com>
18352
a000466f
UD
18353 * nss/databases.def: Add missing gshadow entry.
18354
f72ed77d
UD
18355 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18356
a53b7a4e
MP
183572012-03-06 Marek Polacek <polacek@redhat.com>
18358
18359 [BZ #13726]
18360 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18361 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18362 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18363 * stdio-common/tst-long-dbl-fphex.c: New file.
18364
e9258400
DM
183652012-03-06 David S. Miller <davem@davemloft.net>
18366
18367 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18368 (set_obp_int): New function.
18369 (get_obp_int): New function.
18370 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
18371 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18372 Avoid unused variable warnings on 'val' and use builtin_expect.
18373 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18374 __builtin_expect.
e9258400
DM
18375 (INLINE_CLONE_SYSCALL): Likewise.
18376
3bd2c723
DM
183772012-03-05 David S. Miller <davem@davemloft.net>
18378
18379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18380
bbb78d03
AS
183812012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18382
884c5db4
AS
18383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18384
bbb78d03
AS
18385 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18386 only for |x| >= 40.
18387 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18388
1c9f702a 183892012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
18390
18391 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18392 Replace gettimeofday with __vdso_gettimeofday.
18393
7be16f82
RM
18394 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18395 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18396 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
18397
18398 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18399 time with __vdso_time.
18400
ed58a00f
JM
184012012-03-05 Joseph Myers <joseph@codesourcery.com>
18402
18403 * manual/lang.texi (size_t): Note types to which size_t may be
18404 equivalent with the GNU C Library, but do not describe when
18405 differences between them are significant.
18406
30ee4ced
AJ
184072012-03-05 Andreas Jaeger <aj@suse.de>
18408
18409 * sysdeps/i386/fpu/libm-test-ulps: Update.
18410
b7cd39e8
JM
184112012-03-05 Joseph Myers <joseph@codesourcery.com>
18412
18413 [BZ #3976]
18414 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18415 (__ieee754_pow): Save and restore rounding mode and use
18416 round-to-nearest for main computations.
18417 * math/libm-test.inc (pow_test_tonearest): New function.
18418 (pow_test_towardzero): Likewise.
18419 (pow_test_downward): Likewise.
18420 (pow_test_upward): Likewise.
18421 (main): Call the new functions.
18422 * sysdeps/i386/fpu/libm-test-ulps: Update.
18423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
18424
18425 [BZ #3976]
18426 * math/libm-test.inc (cosh_test_tonearest): New function.
18427 (cosh_test_towardzero): Likewise.
18428 (cosh_test_downward): Likewise.
18429 (cosh_test_upward): Likewise.
18430 (sinh_test_tonearest): Likewise.
18431 (sinh_test_towardzero): Likewise.
18432 (sinh_test_downward): Likewise.
18433 (sinh_test_upward): Likewise.
18434 (main): Call the new functions.
18435 * sysdeps/i386/fpu/libm-test-ulps: Update.
18436 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18437
6c6a98c9
TV
184382012-03-05 Tom de Vries <tom@codesourcery.com>
18439
18440 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18441 default stack guard is set in last bytes.
18442 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18443
21bb2d2e 184442012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 18445
21bb2d2e 18446 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 18447
21bb2d2e
AJ
18448 [BZ #13656]
18449 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18450 possibly allocate from heap instead of stack.
18451 * stdio-common/bug-vfprintf-nargs.c: New file.
18452 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 18453
c6922934
AS
184542012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18455
18456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18457
bc957d53
MP
184582012-03-03 Marek Polacek <polacek@redhat.com>
18459
18460 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18461 * math/math_private.h: Likewise.
18462 * stdlib/tst-strtod.c: Likewise.
18463 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18464 * sysdeps/x86_64/bits/atomic.h: Likewise.
18465
6358490d
DM
184662012-03-02 David S. Miller <davem@davemloft.net>
18467
18468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18472 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18473 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18474 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18475 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18476
01ae168d
RM
184772012-03-02 Roland McGrath <roland@hack.frob.com>
18478
d9a17c07
RM
18479 [BZ #13792]
18480 * manual/examples/README: New file, says the example source files
18481 can be used under GPL>=2.
18482 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18483 line containing just "*/".
18484 * manual/examples/add.c: Add copyright header (GPL>=2).
18485 * manual/examples/argp-ex1.c: Likewise.
18486 * manual/examples/argp-ex2.c: Likewise.
18487 * manual/examples/argp-ex3.c: Likewise.
18488 * manual/examples/argp-ex4.c: Likewise.
18489 * manual/examples/atexit.c: Likewise.
18490 * manual/examples/db.c: Likewise.
18491 * manual/examples/dir.c: Likewise.
18492 * manual/examples/dir2.c: Likewise.
18493 * manual/examples/execinfo.c: Likewise.
18494 * manual/examples/filecli.c: Likewise.
18495 * manual/examples/filesrv.c: Likewise.
18496 * manual/examples/fmtmsgexpl.c: Likewise.
18497 * manual/examples/genpass.c: Likewise.
18498 * manual/examples/inetcli.c: Likewise.
18499 * manual/examples/inetsrv.c: Likewise.
18500 * manual/examples/isockad.c: Likewise.
18501 * manual/examples/longopt.c: Likewise.
18502 * manual/examples/memopen.c: Likewise.
18503 * manual/examples/memstrm.c: Likewise.
18504 * manual/examples/mkfsock.c: Likewise.
18505 * manual/examples/mkisock.c: Likewise.
18506 * manual/examples/mygetpass.c: Likewise.
18507 * manual/examples/pipe.c: Likewise.
18508 * manual/examples/popen.c: Likewise.
18509 * manual/examples/rprintf.c: Likewise.
18510 * manual/examples/search.c: Likewise.
18511 * manual/examples/select.c: Likewise.
18512 * manual/examples/setjmp.c: Likewise.
18513 * manual/examples/sigh1.c: Likewise.
18514 * manual/examples/sigusr.c: Likewise.
18515 * manual/examples/stpcpy.c: Likewise.
18516 * manual/examples/strdupa.c: Likewise.
18517 * manual/examples/strftim.c: Likewise.
18518 * manual/examples/strncat.c: Likewise.
18519 * manual/examples/subopt.c: Likewise.
18520 * manual/examples/swapcontext.c: Likewise.
18521 * manual/examples/termios.c: Likewise.
18522 * manual/examples/testopt.c: Likewise.
18523 * manual/examples/testpass.c: Likewise.
18524 * manual/examples/timeval_subtract.c: Likewise.
18525
01ae168d
RM
18526 [BZ #13792]
18527 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18528 function to ...
18529 * manual/timeval_subtract.c.texi: ... here, new file.
18530
49efa33d
DM
185312012-03-02 David S. Miller <davem@davemloft.net>
18532
18533 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18534
28afd92d
JM
185352012-03-02 Joseph Myers <joseph@codesourcery.com>
18536
804360ed
JM
18537 [BZ #3976]
18538 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18539 (__sin): Save and restore rounding mode and use round-to-nearest
18540 for all computations.
18541 (__cos): Save and restore rounding mode and use round-to-nearest
18542 for all computations.
18543 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18544 <fenv.h>.
18545 (tan): Save and restore rounding mode and use round-to-nearest for
18546 all computations.
18547 * math/libm-test.inc (cos_test_tonearest): New function.
18548 (cos_test_towardzero): Likewise.
18549 (cos_test_downward): Likewise.
18550 (cos_test_upward): Likewise.
18551 (sin_test_tonearest): Likewise.
18552 (sin_test_towardzero): Likewise.
18553 (sin_test_downward): Likewise.
18554 (sin_test_upward): Likewise.
18555 (tan_test_tonearest): Likewise.
18556 (tan_test_towardzero): Likewise.
18557 (tan_test_downward): Likewise.
18558 (tan_test_upward): Likewise.
18559 (main): Call the new functions.
18560 * sysdeps/i386/fpu/libm-test-ulps: Update.
18561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18562
a6d06d7b
JM
18563 [BZ #10135]
18564 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18565 small n, then large n, before computing and testing k+n.
18566 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18567 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18568 Likewise.
18569 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18570 Likewise.
18571 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18572 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18573 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18574 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18575 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18576 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18577 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18578 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18579 * math/libm-test.inc (scalbn_test): Add more tests.
18580 (scalbln_test): Likewise.
18581
07e12bb3
JM
18582 * manual/filesys.texi (mode_t): Describe constraints on size and
18583 signedness, not exact equivalence to a particular type.
18584 (ino_t): Likewise.
18585 (ino64_t): Likewise.
18586 (dev_t): Likewise.
18587 (nlink_t): Likewise.
18588 (blkcnt_t): Likewise.
18589 (blkcnt64_t): Likewise.
18590 * manual/llio.texi (off_t): Likewise.
18591
28afd92d
JM
18592 [BZ #3976]
18593 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18594 (__ieee754_exp): Save and restore rounding mode and use
18595 round-to-nearest for all computations.
18596 * math/libm-test.inc (exp_test_tonearest): New function.
18597 (exp_test_towardzero): Likewise.
18598 (exp_test_downward): Likewise.
18599 (exp_test_upward): Likewise.
18600 (main): Call the new functions.
18601 * sysdeps/i386/fpu/libm-test-ulps: Update.
18602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18603
b1eeb65d
CD
186042012-03-01 Chris Demetriou <cgd@google.com>
18605
18606 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18607 have predictable order.
18608
53362a4b
DM
186092012-03-01 David S. Miller <davem@davemloft.net>
18610
3c969083
DM
18611 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18612
759707de
DM
18613 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18614 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18615 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18616 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18617
dfdb8ff2
DM
18618 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18619 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18620 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18622 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18623 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18624 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18625 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18626 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18627
ead89f96
DM
18628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18629
7f66bd07
DM
18630 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18631 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18632 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18633
53362a4b
DM
18634 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18635 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18636 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18637 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18638 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18639 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18640 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18641 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18642 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18643 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18644 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18645 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18646 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18647 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18648 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18649 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18650 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18651 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18652 * sysdeps/sparc/elf/configure: Regenerated.
18653
7b1902cb
JM
186542012-03-01 Joseph Myers <joseph@codesourcery.com>
18655
bec039bc
JM
18656 * configure.in (AS, LD): Require binutils 2.20 or later.
18657 * configure: Regenerated.
18658 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18659 as required minimum version.
18660 * INSTALL: Regenerated.
18661
7b1902cb
JM
18662 [BZ #2541]
18663 [BZ #4108]
18664 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18665 before squaring exponent.
18666 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18667 bottom long double and 27 bits of top long double before squaring
18668 exponent.
18669 * math/libm-test.inc (erfc_test): Add more tests.
18670 * sysdeps/i386/fpu/libm-test-ulps: Update.
18671 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18673
f775c276
KT
186742012-03-01 Kai Tietz <ktietz@redhat.com>
18675
18676 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18677 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18678 containing bit-fields.
18679 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18680 * soft-fp/single.h (_FP_UNION_S): Likewise.
18681 * soft-fp/double.h (_FP_UNION_D): Likewise.
18682
5b8a4d4a
JM
186832012-02-29 Joseph Myers <joseph@codesourcery.com>
18684
0bab47b6
JM
18685 [BZ #13786]
18686 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18687 not include ../strcmp.S.
18688 [USE_AS_STRNCASECMP_L]: Likewise.
18689 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18690 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18691 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18692 (__strncasecmp_l_ia32): Define as alias to
18693 __strncasecmp_l_nonascii.
18694
0fcad3e2
JM
18695 [BZ #5794]
18696 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18697 * sysdeps/i386/fpu/libm-test-ulps: Update.
18698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18699
5b8a4d4a
JM
18700 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18702
8fdceb2e
JL
187032012-02-29 Jeff Law <law@redhat.com>
18704
18705 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18706 out of bounds read.
18707
1f393a11
MP
187082012-02-29 Marek Polacek <polacek@redhat.com>
18709
18710 [BZ #13706]
18711 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18712 * elf/Makefile: Add rules to run tst-unused-dep.out.
18713
8847f037
DM
187142012-02-28 David S. Miller <davem@davemloft.net>
18715
18716 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18717 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18718 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18719 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18720 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18721 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18722
169d7f11
JM
187232012-02-29 Joseph Myers <joseph@codesourcery.com>
18724
18725 * math/libm-test.inc (llround_test): Move one test from
18726 lround_test. Use TEST_f_L in moved test.
18727 (lround_test): Move misplaced test to llround_test. Add testcase
18728 from bug 2561.
18729
39adf059
UD
187302012-02-28 Ulrich Drepper <drepper@gmail.com>
18731
18732 * sysdeps/x86_64/fpu/e_expf.S: New file.
18733 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18734
71b5d1c5
SB
187352012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18736
18737 [BZ #13637]
18738 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18739 of remain_len that may cause incomplete multi-byte character and
18740 false match.
18741 * posix/bug-regex33.c: New file.
18742 * posix/Makefile (tests): Add bug-regex33.
18743
1f77f049
JM
187442012-02-28 Joseph Myers <joseph@codesourcery.com>
18745
18746 * manual/macros.texi: New file.
18747 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18748 * manual/libc.texinfo: Include macros.texi.
18749 * manual/creatute.texi: Likewise.
18750 * manual/install.texi: Likewise.
18751 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18752 @glibcadj{} in references to the GNU C Library.
18753 * manual/charset.texi: Likewise.
18754 * manual/conf.texi: Likewise.
18755 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18756 when not using those macros.
18757 * manual/creature.texi: Likewise.
18758 * manual/crypt.texi: Likewise.
18759 * manual/errno.texi: Likewise.
18760 * manual/filesys.texi: Likewise.
18761 * manual/header.texi: Likewise.
18762 * manual/install.texi: Likewise.
18763 * manual/intro.texi: Likewise.
18764 * manual/io.texi: Likewise.
18765 * manual/job.texi: Likewise.
18766 * manual/lang.texi: Likewise.
18767 * manual/libc.texiinfo: Likewise.
18768 * manual/llio.texi: Likewise.
18769 * manual/locale.texi: Likewise.
18770 * manual/maint.texi: Likewise.
18771 * manual/math.texi: Likewise.
18772 * manual/memory.texi: Likewise.
18773 * manual/message.texi: Likewise.
18774 * manual/nss.texi: Likewise.
18775 * manual/pattern.texi: Likewise.
18776 * manual/process.texi: Likewise.
18777 * manual/resource.texi: Likewise.
18778 * manual/search.texi: Likewise.
18779 * manual/setjmp.texi: Likewise.
18780 * manual/signal.texi: Likewise.
18781 * manual/socket.texi: Likewise.
18782 * manual/startup.texi: Likewise.
18783 * manual/stdio.texi: Likewise.
18784 * manual/string.texi: Likewise.
18785 * manual/sysinfo.texi: Likewise.
18786 * manual/syslog.texi: Likewise.
18787 * manual/terminal.texi: Likewise.
18788 * manual/time.texi: Likewise.
18789 * manual/users.texi: Likewise.
18790 * INSTALL: Regenerated.
18791 * NOTES: Regenerated.
d40c5d54 18792 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 18793
450bf206
AS
187942012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18795
18796 * include/dirent.h: Include <dirstream.h> before
18797 <dirent/dirent.h>.
18798
741a235b
DM
187992012-02-28 David S. Miller <davem@davemloft.net>
18800
18801 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18802 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18803 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18804 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18805
d6b5aa58
DM
188062012-02-27 David S. Miller <davem@davemloft.net>
18807
1aff59a3
DM
18808 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18809 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18810 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18811 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18812
d6b5aa58
DM
18813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18814 frame pointer instead of stack pointer relative arg slot.
18815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18816 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18817 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18818
433f48bf
CD
188192012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18820
18821 [BZ #3992]
18822 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18823
d674b76d
DM
188242012-02-27 David S. Miller <davem@davemloft.net>
18825
18826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18828 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18829 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18830 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18831 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18832 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
18833 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
18834
0e7727f7
JM
188352012-02-27 Joseph Myers <joseph@codesourcery.com>
18836
18837 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
18838 later. Allow versions 5-9.
43be4ca2 18839 * configure: Regenerated.
0e7727f7
JM
18840 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
18841 required minimum version and 4.6 as recommended version. Do not
18842 mention bugs in GCC 2.7 and 2.8.
43be4ca2 18843 * INSTALL: Regenerated.
0e7727f7 18844
a78bc654
DM
188452012-02-27 David S. Miller <davem@davemloft.net>
18846
428d5830
DM
18847 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
18848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
18849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
18850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
18851 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
18852 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
18853 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
18854 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
18855
a78bc654
DM
18856 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
18857 manipulate bits before adding and subtracting TWO112[sx].
18858 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
18859
4579f81c
RM
188602012-02-27 Roland McGrath <roland@hack.frob.com>
18861
36c8acb4
RM
18862 [BZ #13775]
18863 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
18864 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
18865 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
18866 being in POSIX, because they are in 1003.1-2008.
18867
84ad622b
RM
18868 * rt/tst-aio.c: Include <fcntl.h>.
18869 * rt/tst-aio7.c: Likewise.
18870 * rt/tst-aio64.c: Likewise.
18871
4579f81c
RM
18872 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
18873
abd923db
JM
188742012-02-27 Joseph Myers <joseph@codesourcery.com>
18875
18876 * manual/install.texi (--with-headers): Describe headers as
18877 interface headers, not private headers.
18878 (Specific advice for GNU/Linux systems): Describe use of headers
18879 from "make headers_install", not private headers from older
18880 kernels.
43be4ca2 18881 * INSTALL: Regenerated.
abd923db
JM
18882 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
18883 Change to 2.6.19.
18884 * sysdeps/unix/sysv/linux/configure: Regenerated.
18885
6664049b
JM
18886 * manual/llio.texi (fclean): Remove documentation.
18887
bb8b6697
JM
18888 * manual/Makefile (libc-texi-generated): New variable. Include
18889 version.texi.
18890 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
18891 $(libc-texi-generated), not duplicated list of files.
18892 (version.texi, stamp-version): New rules.
18893 (realclean): Remove $(libc-texi-generated), not individual files
18894 from that list. Do not remove dir-add.texinfo.
18895 * manual/libc.texinfo: Comment out uses of edition numbers and
18896 references to printed manual. Remove last-updated dates.
18897 (EDITION): Comment out.
18898 (ISBN): Likewise.
18899 (VERSION, UPDATED): Remove.
18900 (version.texi): Include.
18901
12e5c3b9
AS
189022012-02-27 Andreas Schwab <schwab@linux-m68k.org>
18903
18904 * sysdeps/posix/spawni.c: Include <signal.h>.
18905 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
18906 * sysdeps/pthread/aio_fsync.c: Likewise.
18907
4efeffc1 189082012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 18909
ba63ba08
UD
18910 * conform/Makefile (tests): Run only when not cross-compiling and
18911 when fast-check is not defined.
18912
d94a4670
UD
18913 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
18914 * conform/data/limits.h-data: Fixes for POSIX2008.
18915 * conform/run-conformtest.sh: Run all tests.
18916 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
18917 headers.
18918 * include/bits/dlfcn.h: Likewise.
18919 * include/langinfo.h: Likewise.
18920 * include/monetary.h: Likewise.
18921 * include/sys/poll.h: Likewise.
18922
18923 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
18924 for __USE_GNU.
18925 * posix/spawn.h: Define __need_sigset_t.
18926 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
18927 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
18928 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
18929 to get sigevent_t only.
18930 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
18931 only for __USE_GNU.
18932 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
18933 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
18934 process_vm_writev only for __USE_GNU.
18935 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
18936
18937 * conform/Makefile: For now ignore errors from run-conformtest.
18938 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
18939 POSIX to avoid namespace pollution. Don't prepend headers.
18940 * conform/data/aio.h-data: Fixes for POSIX testing.
18941 * conform/data/fcntl.h-data: Likewise.
18942 * conform/data/glob.h-data: Likewise.
18943 * conform/data/grp.h-data: Likewise.
18944 * conform/data/pthread.h-data: Likewise.
18945 * conform/data/pwd.h-data: Likewise.
18946 * conform/data/signal.h-data: Likewise.
18947 * conform/data/spawn.h-data: Likewise.
18948 * conform/data/stdio.h-data: Likewise.
18949 * conform/data/stdlib.h-data: Likewise.
18950 * conform/data/stropts.h-data: Likewise.
18951 * conform/data/sys/mman.h-data: Likewise.
18952 * conform/data/sys/stat.h-data: Likewise.
18953 * conform/data/sys/types.h-data: Likewise.
18954 * conform/data/sys/wait.h-data: Likewise.
18955 * conform/data/time.h-data: Likewise.
18956 * conform/data/unistd.h-data: Likewise.
18957 * conform/data/utime.h-data: Likewise.
18958
18959 * io/sys/stat.h: fchmod was always in POSIX.
18960 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
18961 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
18962 * rt/aio.h: Define __need_timespec before including <time.h>.
18963 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
18964 struct. Add forward declaration of pthread_attr_t and use it in
18965 sigevent.
18966 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
18967 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18968 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
18969 always remove CLK_TCK definition.
18970
c20105c3
AS
189712012-02-26 Andreas Schwab <schwab@linux-m68k.org>
18972
18973 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
18974
7a270350
UD
189752012-02-25 Ulrich Drepper <drepper@gmail.com>
18976
31341567
UD
18977 * conform/run-conformtest.sh: New file.
18978 * conform/Makefile: Run run-conformtest for tests.
18979 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
18980 support.
18981
18982 * conform/data/uchar.h-data: New file.
18983 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
18984 * conform/data/arpa/inet.h-data: Likewise.
18985 * conform/data/assert.h-data: Likewise.
18986 * conform/data/complex.h-data: Likewise.
18987 * conform/data/cpio.h-data: Likewise.
18988 * conform/data/ctype.h-data: Likewise.
18989 * conform/data/dirent.h-data: Likewise.
18990 * conform/data/dlfcn.h-data: Likewise.
18991 * conform/data/errno.h-data: Likewise.
18992 * conform/data/fcntl.h-data: Likewise.
18993 * conform/data/float.h-data: Likewise.
18994 * conform/data/fmtmsg.h-data: Likewise.
18995 * conform/data/fnmatch.h-data: Likewise.
18996 * conform/data/ftw.h-data: Likewise.
18997 * conform/data/glob.h-data: Likewise.
18998 * conform/data/grp.h-data: Likewise.
18999 * conform/data/iconv.h-data: Likewise.
19000 * conform/data/inttypes.h-data: Likewise.
19001 * conform/data/langinfo.h-data: Likewise.
19002 * conform/data/libgen.h-data: Likewise.
19003 * conform/data/limits.h-data: Likewise.
19004 * conform/data/locale.h-data: Likewise.
19005 * conform/data/math.h-data: Likewise.
19006 * conform/data/monetary.h-data: Likewise.
19007 * conform/data/mqueue.h-data: Likewise.
19008 * conform/data/ndbm.h-data: Likewise.
19009 * conform/data/net/if.h-data: Likewise.
19010 * conform/data/netdb.h-data: Likewise.
19011 * conform/data/netinet/in.h-data: Likewise.
19012 * conform/data/nl_types.h-data: Likewise.
19013 * conform/data/poll.h-data: Likewise.
19014 * conform/data/pthread.h-data: Likewise.
19015 * conform/data/pwd.h-data: Likewise.
19016 * conform/data/regex.h-data: Likewise.
19017 * conform/data/sched.h-data: Likewise.
19018 * conform/data/search.h-data: Likewise.
19019 * conform/data/semaphore.h-data: Likewise.
19020 * conform/data/setjmp.h-data: Likewise.
19021 * conform/data/signal.h-data: Likewise.
19022 * conform/data/spawn.h-data: Likewise.
19023 * conform/data/stdarg.h-data: Likewise.
19024 * conform/data/stdio.h-data: Likewise.
19025 * conform/data/stdlib.h-data: Likewise.
19026 * conform/data/string.h-data: Likewise.
19027 * conform/data/strings.h-data: Likewise.
19028 * conform/data/stropts.h-data: Likewise.
19029 * conform/data/sys/ipc.h-data: Likewise.
19030 * conform/data/sys/mman.h-data: Likewise.
19031 * conform/data/sys/msg.h-data: Likewise.
19032 * conform/data/sys/resource.h-data: Likewise.
19033 * conform/data/sys/select.h-data: Likewise.
19034 * conform/data/sys/sem.h-data: Likewise.
19035 * conform/data/sys/shm.h-data: Likewise.
19036 * conform/data/sys/socket.h-data: Likewise.
19037 * conform/data/sys/stat.h-data: Likewise.
19038 * conform/data/sys/statvfs.h-data: Likewise.
19039 * conform/data/sys/time.h-data: Likewise.
19040 * conform/data/sys/timeb.h-data: Likewise.
19041 * conform/data/sys/times.h-data: Likewise.
19042 * conform/data/sys/types.h-data: Likewise.
19043 * conform/data/sys/uio.h-data: Likewise.
19044 * conform/data/sys/un.h-data: Likewise.
19045 * conform/data/sys/utsname.h-data: Likewise.
19046 * conform/data/sys/wait.h-data: Likewise.
19047 * conform/data/syslog.h-data: Likewise.
19048 * conform/data/tar.h-data: Likewise.
19049 * conform/data/termios.h-data: Likewise.
19050 * conform/data/utime.h-data: Likewise.
19051 * conform/data/utmpx.h-data: Likewise.
19052 * conform/data/varargs.h-data: Likewise.
19053 * conform/data/wchar.h-data: Likewise.
19054 * conform/data/wctype.h-data: Likewise.
19055 * conform/data/wordexp.h-data: Likewise.
19056
19057 * include/stropts.h: New file.
19058 * include/uchar.h: New file.
19059 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19060 * include/assert.h: Likewise.
19061 * include/ctype.h: Likewise.
19062 * include/dirent.h: Likewise.
19063 * include/dlfcn.h: Likewise.
19064 * include/fcntl.h: Likewise.
19065 * include/fnmatch.h: Likewise.
19066 * include/glob.h: Likewise.
19067 * include/grp.h: Likewise.
19068 * include/libio.h: Likewise.
19069 * include/locale.h: Likewise.
19070 * include/math.h: Likewise.
19071 * include/net/if.h: Likewise.
19072 * include/netdb.h: Likewise.
19073 * include/netinet/in.h: Likewise.
19074 * include/pthread.h: Likewise.
19075 * include/pwd.h: Likewise.
19076 * include/regex.h: Likewise.
19077 * include/sched.h: Likewise.
19078 * include/search.h: Likewise.
19079 * include/setjmp.h: Likewise.
19080 * include/signal.h: Likewise.
19081 * include/stdio.h: Likewise.
19082 * include/stdlib.h: Likewise.
19083 * include/string.h: Likewise.
19084 * include/sys/cdefs.h: Likewise.
19085 * include/sys/mman.h: Likewise.
19086 * include/sys/msg.h: Likewise.
19087 * include/sys/resource.h: Likewise.
19088 * include/sys/select.h: Likewise.
19089 * include/sys/socket.h: Likewise.
19090 * include/sys/stat.h: Likewise.
19091 * include/sys/statvfs.h: Likewise.
19092 * include/sys/time.h: Likewise.
19093 * include/sys/times.h: Likewise.
19094 * include/sys/uio.h: Likewise.
19095 * include/sys/utsname.h: Likewise.
19096 * include/sys/wait.h: Likewise.
19097 * include/termios.h: Likewise.
19098 * include/time.h: Likewise.
19099 * include/ulimit.h: Likewise.
19100 * include/unistd.h: Likewise.
19101 * include/utime.h: Likewise.
19102 * include/wchar.h: Likewise.
19103 * include/wctype.h: Likewise.
19104 * include/wordexp.h: Likewise.
19105
19106 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19107
7a270350
UD
19108 * time/time.h: TIME_UTC must be a macro.
19109 Make timespec_get available for ISO C11 only as well.
19110
7724defc
UD
191112012-02-24 Ulrich Drepper <drepper@gmail.com>
19112
19113 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19114 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19115
6b1d1d46
JM
191162012-02-24 Joseph Myers <joseph@codesourcery.com>
19117
19118 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 19119
0f8bbd69
JM
191202012-02-24 Joseph Myers <joseph@codesourcery.com>
19121
19122 * manual/texinfo.tex: Update to version 2012-01-19.16.
19123
66ab80bc
JM
191242012-02-24 Joseph Myers <joseph@codesourcery.com>
19125
19126 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19127
74981cc5
RM
191282012-02-24 Roland McGrath <roland@hack.frob.com>
19129
ee968201
RM
19130 [BZ #13738]
19131 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19132 * manual/fdl-1.3.texi: New file.
19133 * manual/fdl-1.1.texi: File removed.
19134
74981cc5
RM
19135 [BZ #13738]
19136 * manual/libc.texinfo (FDL_VERSION): New @set.
19137 Use it for mention of FDL in cover text.
19138 (Documentation License): Use it in @include file name.
19139
7bb764bc
JM
191402012-02-22 Joseph Myers <joseph@codesourcery.com>
19141 Roland McGrath <roland@hack.frob.com>
19142
19143 [BZ #5461]
19144 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19145 not LONG_LONG_MAX and LONG_LONG_MIN.
19146 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19147 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19148 name.
19149 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19150
6cbeae47
JM
191512012-02-22 Joseph Myers <joseph@codesourcery.com>
19152
19153 [BZ #2547]
19154 [BZ #11365]
19155 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19156 manipulate bits before adding and subtracting TWO23[sx].
19157 * math/libm-test.inc (nearbyint_test): Add more tests.
19158
fe45ce09
JM
191592012-02-22 Joseph Myers <joseph@codesourcery.com>
19160
19161 [BZ #2548]
19162 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19163 bits before adding and subtracting TWO23[sx].
19164 * math/libm-test.inc (rint_test): Add more tests.
19165 (rint_test_tonearest): Likewise.
19166 (rint_test_towardzero): Likewise.
19167 (rint_test_downward): Likewise.
19168 (rint_test_upward: Likewise.
19169
ff3b3d82
JM
191702012-02-22 Joseph Myers <joseph@codesourcery.com>
19171
19172 [BZ #10110]
19173 * include/stdc-predef.h: New file. Extracted from features.h.
19174 * include/features.h: Include stdc-predef.h.
19175 * Makefile (headers): Add stdc-predef.h.
19176 * CONFORMANCE (Compiler limitations): Update.
19177
ef0aab35
JM
191782012-02-22 Joseph Myers <joseph@codesourcery.com>
19179
19180 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19181
58639409
DM
191822012-02-21 David S. Miller <davem@davemloft.net>
19183
19184 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19185 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19186
c0e70b25
DM
191872012-02-20 David S. Miller <davem@davemloft.net>
19188
19189 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19190 using a normal save/restore sequence, rather than allocating a
19191 dummy stack frame just to store a frame pointer and restore.
19192 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19193
fb06851d
JM
191942012-02-21 Joseph Myers <joseph@codesourcery.com>
19195
19196 * manual/install.texi: Fix stray word in line-wrapped comment.
19197
7a8b71c3
DM
191982012-02-20 David S. Miller <davem@davemloft.net>
19199
d510c123
DM
19200 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19201 both binutils and gcc support GOTDATA.
19202
0722d7c2
DM
19203 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19204 "rd %pc" in the PIC register setup sequences.
19205
3d2b3019
DM
19206 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19207 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19208 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19209 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19210 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19211 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19212 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19213 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19214 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19215 (SYSCALL_ERROR_HANDLER): Likewise.
19216 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19217 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19218 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19219 (SYSCALL_ERROR_HANDLER): Likewise.
19220
c80098a9
DM
19221 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19222 (HAVE_GCC_GOTDATA): New.
19223 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19224 relocation support in both binutils and gcc.
19225 * sysdeps/sparc/elf/configure: Regenerate.
19226
3a2545a0
DM
19227 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19228 * sysdeps/sparc/sparc32/elf/configure: Delete.
19229 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19230 * sysdeps/sparc/sparc64/elf/configure: Delete.
19231 * sysdeps/sparc/elf/configure.in: New file.
19232 * sysdeps/sparc/elf/configure: Generate.
19233
7a8b71c3
DM
19234 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19235 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19236 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19237 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19238 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19239
f1e86fca
JM
192402012-02-21 Joseph Myers <joseph@codesourcery.com>
19241
19242 * manual/install.texi: Do not mention specific glibc version
19243 numbers.
19244 * manual/libc.texinfo (VERSION, UPDATED): Update.
19245 (@copying): Use @copyright{} and range of years.
19246
0e7dfaef
JM
192472012-02-21 Joseph Myers <joseph@codesourcery.com>
19248
19249 [BZ #13695]
19250 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19251 [crti.S not in sysdirs] (generated): Do not append.
19252 [crti.S not in sysdirs] (omit-deps): Likewise.
19253 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19254 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19255 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19256 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19257 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19258 Likewise.
19259 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19260 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19261 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19262 * csu/defs.awk: Remove file.
19263 * sysdeps/generic/initfini.c: Likewise.
19264 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19265 variable.
19266 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19267 Likewise.
19268
599af3ca
JM
192692012-02-20 Joseph Myers <joseph@codesourcery.com>
19270
19271 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19272 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19273 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19274 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19275 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19276 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19277 <bits/epoll.h>.
19278 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19279 (__EPOLL_PACKED): Define to empty if not defined by
19280 <bits/epoll.h>.
19281 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19282 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19283 bits/epoll.h.
19284
0e499750
JM
192852012-02-20 Joseph Myers <joseph@codesourcery.com>
19286
19287 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19288 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19289 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19290 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19291 <bits/timerfd.h>.
19292 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19293 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19294 bits/timerfd.h.
19295
5ad91f6e
JM
192962012-02-20 Joseph Myers <joseph@codesourcery.com>
19297
19298 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19299 in C locale.
19300 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19301 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19302 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19304
06b99b02
AJ
193052012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19306
19307 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19308 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19309
7638c0fd
AS
193102012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19311
19312 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19313 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19314 defined.
19315 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19316 Likewise.
19317 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19318 entry for 2.16.
19319
92221550
AJ
193202012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19321
19322 * math/w_acos.c: Use non-signaling floating-point comparisons.
19323 * math/w_acosf.c: Likewise.
19324 * math/w_acosh.c: Likewise.
19325 * math/w_acoshf.c: Likewise.
19326 * math/w_acoshl.c: Likewise.
19327 * math/w_acosl.c: Likewise.
19328 * math/w_asin.c: Likewise.
19329 * math/w_asinf.c: Likewise.
19330 * math/w_asinl.c: Likewise.
19331 * math/w_atanh.c: Likewise.
19332 * math/w_atanhf.c: Likewise.
19333 * math/w_atanhl.c: Likewise.
19334 * math/w_exp2.c: Likewise.
19335 * math/w_exp2f.c: Likewise.
19336 * math/w_exp2l.c: Likewise.
19337 * math/w_j0.c: Likewise.
19338 * math/w_j0f.c: Likewise.
19339 * math/w_j0l.c: Likewise.
19340 * math/w_j1.c: Likewise.
19341 * math/w_j1f.c: Likewise.
19342 * math/w_j1l.c: Likewise.
19343 * math/w_jn.c: Likewise.
19344 * math/w_jnf.c: Likewise.
19345 * math/w_log.c: Likewise.
19346 * math/w_log10.c: Likewise.
19347 * math/w_log10f.c: Likewise.
19348 * math/w_log10l.c: Likewise.
19349 * math/w_log2.c: Likewise.
19350 * math/w_log2f.c: Likewise.
19351 * math/w_log2l.c: Likewise.
19352 * math/w_logf.c: Likewise.
19353 * math/w_logl.c: Likewise.
19354 * math/w_sqrt.c: Likewise.
19355 * math/w_sqrtf.c: Likewise.
19356 * math/w_sqrtl.c: Likewise.
19357 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19358 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19359 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19360 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19361 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19362
ebaf36eb
JM
193632012-02-19 Joseph Myers <joseph@codesourcery.com>
19364
19365 [BZ #9739]
19366 * manual/string.texi (strnlen): Use correct parameter name in
19367 equivalent expression.
19368
71c254a6
JM
193692012-02-19 Joseph Myers <joseph@codesourcery.com>
19370
19371 [BZ #11174]
19372 * manual/users.texi (seteuid): Consistently use neweuid for
19373 argument name.
19374
16d2c631
JM
193752012-02-19 Joseph Myers <joseph@codesourcery.com>
19376
19377 [BZ #13704]
19378 * manual/nss.texi (Services in the NSS configuration): Correct
19379 list of services in example configuration file.
19380
cd837b09
NB
193812012-02-19 Nick Bowler <nbowler@draconx.ca>
19382
19383 [BZ #11322]
19384 * manual/arith.texi: Remove statements about negative zero
19385 behaving identically to zero.
19386
02c4bbad
JM
193872012-02-18 Joseph Myers <joseph@codesourcery.com>
19388
19389 [BZ #5993]
19390 * manual/install.texi: Do not document upgrading from libc5.
19391
366842e7
JM
193922012-02-18 Joseph Myers <joseph@codesourcery.com>
19393
19394 [BZ #4596]
19395 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19396
dd54084d
DM
193972012-02-18 David S. Miller <davem@davemloft.net>
19398
19399 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19400 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19401 %o7 across the call.
19402 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19403 instead.
19404 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19405 SETUP_PIC_REG_LEAF.
19406 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19407 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19408 * sysdeps/sparc/crtn.S: Likewise.
19409
2bcc53a3
UD
194102012-02-17 Ulrich Drepper <drepper@gmail.com>
19411
19412 * aout/Makefile: Remove.
19413
09c093b5
RK
194142012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19415
19416 [BZ #13058]
19417 * manual/examples/argp-ex1.c (main): Format definition in GNU
19418 style.
19419 * manual/examples/argp-ex2.c (main): Likewise.
19420 * manual/examples/argp-ex3.c (main): Likewise.
19421 * manual/examples/argp-ex4.c (main): Likewise.
19422 * manual/examples/longopt.c (main): Use new-style prototype
19423 definition.
19424 * manual/examples/strncat.c (main): Specify return type and use
19425 (void) for arguments.
19426 * manual/examples/subopt.c (main): Use char **argv argument.
19427
2ee633a2
JM
194282012-02-17 Joseph Myers <joseph@codesourcery.com>
19429
19430 [BZ #5077]
19431 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19432 rounding modes.
19433
0520adde
FB
194342012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19435
19436 [BZ #6907]
19437 * manual/string.texi (strchr): Change when strchrnul is
19438 recommended.
19439
3f4081cd
DGM
194402012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19441
19442 [BZ #174]
19443 * manual/locale.texi (setlocale): Document LOCPATH.
19444
d1b10e78
JM
194452012-02-17 Joseph Myers <joseph@codesourcery.com>
19446
19447 [BZ #10210]
19448 * manual/process.texi (execle): Move @dots{} before last argument.
19449
79c6869c
PB
194502012-02-17 Paul Bolle <pebolle@tiscali.nl>
19451
19452 [BZ #12047]
19453 * manual/charset.texi (Generic Charset Conversion): Fix typo
19454 (LC_TYPE -> LC_CTYPE).
19455
cc6e48bc
NB
194562012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19457
19458 [BZ #5805]
19459 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19460 (scalbnf): Likewise.
19461 (scalbnl): Likewise.
19462 (scalbln): Likewise.
19463 (scalblnf): Likewise.
19464 (scalblnl): Likewise.
19465 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19466 (vwarnx): Likewise.
19467 (verr): Likewise.
19468 (verrx): Likewise.
19469 * manual/filesys.texi (telldir): Use braces around return type.
19470 * manual/llio.texi (mmap): Add space after comma.
19471 (mmap64): Likewise.
19472 * manual/math.texi (jn): Use @var{} on parameter names.
19473 (jnf): Likewise.
19474 (jnl): Likewise.
19475 (yn): Likewise.
19476 (ynf): Likewise.
19477 (ynl): Likewise.
19478 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19479 line.
19480 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19481 "...".
19482 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19483 (sched_get_priority_max): Likewise.
19484 * manual/signal.texi (sigvec): Add space after comma.
19485 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19486 names.
19487 (if_indextoname): Likewise.
19488 (if_freenameindex): Likewise.
19489 (sendto): Use ',' instead of '.' in prototype.
19490 * manual/startup.texi (syscall): Use @dots{} instead of literal
19491 "...".
19492 * manual/stdio.texi (__fpending): Separate initial words of
19493 paragraph from @deftypefun line.
19494 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19495 "...".
19496 (vsyslog): Use @var{} on parameter names.
19497 * manual/terminal.texi (stty): Use @var{} on parameter names.
19498 * manual/users.texi (getutmp): Use @var{} on parameter names.
19499 (getutmpx): Likewise.
19500
5b23062f
JM
195012012-02-17 Joseph Myers <joseph@codesourcery.com>
19502
19503 [BZ #6884]
19504 * manual/stdio.texi (fopen): Fix typos in description of
19505 ",ccs=STRING".
19506
8dee4833
AJ
195072012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19508
19509 [BZ #4026]
19510 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19511 get clock_id definition.
19512
9078ce93
TS
195132012-02-17 Thomas Schwinge <thomas@schwinge.name>
19514
19515 [BZ #4822]
19516 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19517 (madvise): Cast every argument to void on its own.
19518
3835c55f
JM
195192012-02-17 Joseph Myers <joseph@codesourcery.com>
19520
19521 [BZ #9902]
19522 * manual/startup.texi (Exit Status): Fix typo.
19523
35c47e37
JM
195242012-02-17 Joseph Myers <joseph@codesourcery.com>
19525
19526 [BZ #10140]
19527 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19528 * manual/examples/argp-ex2.c: Likewise.
19529 * manual/examples/argp-ex3.c: Likewise.
19530
e3b69ca7
RH
195312012-02-16 Richard Henderson <rth@redhat.com>
19532
19533 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19534 * sysdeps/s390/s390-32/initfini.c: Remove.
19535 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19536 * sysdeps/s390/s390-64/initfini.c: Remove.
19537
df83af67
KK
195382012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19539
19540 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19541 compiler output for sysdeps/generic/initfini.c.
19542 * sysdeps/sh/elf/initfini.c: Remove file.
19543
f63f3380
DM
195442012-02-16 David S. Miller <davem@davemloft.net>
19545
fb59b3a4
DM
19546 [BZ #11494]
19547 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19548
f63f3380
DM
19549 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19550 * sysdeps/sparc/crti.S: New file.
19551 * sysdeps/sparc/crtn.S: New file.
19552 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19553 * sysdeps/sparc/sparc64/Makefile: Likewise.
19554
df6a4a4a
MF
195552012-02-15 Mike Frysinger <vapier@gentoo.org>
19556
6dd8f3dc 19557 [BZ #3335]
df6a4a4a
MF
19558 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19559
1cac7236
RM
195602012-02-15 Roland McGrath <roland@hack.frob.com>
19561
d2c736f8
RM
19562 [BZ #4822]
19563 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19564
1cac7236
RM
19565 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19566 (write, read, close): Likewise.
19567 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19568
8e475601
JM
195692012-02-15 Joseph Myers <joseph@codesourcery.com>
19570
19571 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19572 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19573 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19574 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19575 <bits/signalfd.h>.
19576 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19578 bits/signalfd.h.
19579
ed656b40
MP
195802012-02-14 Marek Polacek <polacek@redhat.com>
19581
19582 * sysdeps/x86_64/crti.S: New file.
19583 * sysdeps/x86_64/crtn.S: New file.
19584 * sysdeps/x86_64/elf/initfini.c: Remove file.
19585
2a979d3a
JM
195862012-02-13 Joseph Myers <joseph@codesourcery.com>
19587
19588 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19589 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19590 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19591 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19592 <bits/inotify.h>.
19593 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19594 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19595 bits/inotify.h.
19596
2a418ac3
JM
195972012-02-13 Joseph Myers <joseph@codesourcery.com>
19598
19599 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19600 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19601 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19602 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19603 <bits/eventfd.h>.
19604 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19605 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19606 bits/eventfd.h.
19607
fb779be7
TS
196082012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19609
e19e83c5
RM
19610 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19611 __feraiseexcept instead of feraiseexcept.
7c35ffed 19612
fb779be7
TS
19613 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19614 nanosleep invocations.
19615 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19616 strings, and add error checking for a nanosleep invocations.
19617
59ba27a6
PE
196182012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19619
19620 Replace FSF snail mail address with URLs, as per GNU coding standards.
19621 Most of the snail mail addresses were wrong anyway, and omitting
19622 them makes the source code easier to maintain. Almost all of the
19623 changes are to license notices and to locale LC_IDENTIFICATION
19624 addresses, except for this one:
19625 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19626 not its snail mail address.
19627
57b957eb
RH
196282012-02-09 Richard Henderson <rth@twiddle.net>
19629
af850b1c
RH
19630 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19631 of kernel-features.h.
19632
57b957eb
RH
19633 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19634
6b73181a
MP
196352012-02-08 Marek Polacek <polacek@redhat.com>
19636
19637 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19638 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19639 * sysdeps/gnu/_G_config.h: Likewise.
19640 * sysdeps/generic/_G_config.h: Likewise.
19641
26ecc33a
AS
196422012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19643
6c6dbc63
AS
19644 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19645 tests.
19646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19647
e216c012
AS
19648 * sysdeps/powerpc/powerpc32/crti.S: New file.
19649 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19650 * sysdeps/powerpc/powerpc64/crti.S: New file.
19651 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19652
26ecc33a
AS
19653 * Makeconfig (have-initfini): Don't set.
19654 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19655 * configure.in (nopic_initfini): Don't substitute.
19656 * config.h.in (HAVE_INITFINI): Don't #undef.
19657 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19658 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19659
3add8e13
JM
196602012-02-08 Joseph Myers <joseph@codesourcery.com>
19661
19662 Support crti.S and crtn.S provided directly by architectures.
19663 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19664 [crti.S in sysdirs] (omit-deps): Likewise.
19665 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19666 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19667 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19668 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19669 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19670 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19671 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19672 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19673 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19674 compiler output for sysdeps/generic/initfini.c.
19675 * sysdeps/i386/elf/Makefile: Remove file.
19676 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19677
a22f12b4
MP
196782012-02-07 Marek Polacek <polacek@redhat.com>
19679
19680 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19681 * sysdeps/gnu/_G_config.h: Likewise.
19682 * sysdeps/mach/hurd/_G_config.h: Likewise.
19683
148cf100
MP
196842012-02-07 Marek Polacek <polacek@redhat.com>
19685
19686 * math/Makefile (tests): Add tst-CMPLX2.
19687 * math/tst-CMPLX2.c: New file.
19688
cfdc0dd7
AS
196892012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19690
84ba42c4
AS
19691 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19692
cfdc0dd7
AS
19693 * math/libm-test.inc (jn_test): Add missing L suffix.
19694
622c86f4
MP
196952012-02-06 Marek Polacek <polacek@redhat.com>
19696
19697 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19698 * sysdeps/i386/fpu/e_powf.S: Likewise.
19699 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19700 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19701 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19702 * sysdeps/i386/fpu/e_pow.S: Likewise.
19703 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19704 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19705 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19706 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19707 * sysdeps/i386/fpu/e_log2.S: Likewise.
19708 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19709 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19710 * sysdeps/i386/fpu/e_powl.S: Likewise.
19711 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19712 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19713 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19714 * sysdeps/i386/fpu/e_logl.S: Likewise.
19715 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19716 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19717 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19718 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19719 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19720 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19721 * sysdeps/i386/fpu/e_log.S: Likewise.
19722 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19723 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19724 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19725 * sysdeps/i386/fpu/e_logf.S: Likewise.
19726 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19727 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19728 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19729 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19730 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19731 * sysdeps/i386/fpu/e_log10.S: Likewise.
19732 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19733 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19734 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19735 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19736 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19737 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19738 * sysdeps/i386/asm-syntax.h: Likewise.
19739 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19740 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19741 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19742 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19743 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19744 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19745 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19746 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19747 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19748 * sysdeps/powerpc/sysdep.h: Likewise.
19749 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19750 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19751
d4a54ac6
JM
197522012-02-06 Joseph Myers <joseph@codesourcery.com>
19753
19754 [BZ #411]
19755 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19756
314054ea
JM
197572012-02-06 Joseph Myers <joseph@codesourcery.com>
19758
19759 * sysdeps/i386/sysdep.h: Include <features.h>.
19760 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19761 version.
19762
d8e0ca50
JM
197632012-02-05 Joseph Myers <joseph@codesourcery.com>
19764
19765 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19766 Define.
19767 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19768 LOAD_PIC_REG_STR.
19769
b1da7dd9
JM
197702012-02-03 Joseph Myers <joseph@codesourcery.com>
19771
19772 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19773 (SETUP_PIC_REG): Use GET_PC_THUNK.
19774 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19775 macro.
19776
9a1d9254
JM
197772012-02-03 Joseph Myers <joseph@codesourcery.com>
19778
19779 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19780 for non-PIC compilation.
19781 (SETUP_PIC_REG): Add .p2align directive.
19782 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19783 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19784 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19785 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19786 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19787 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19788 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19789 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19790 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19791 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19792 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19793 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19794 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19795 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19796 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19797 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19798 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19799 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19800 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19801 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19802 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19803 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19804 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19805 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19806 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19807 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19808 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19809 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19810 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19811 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19812 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19813 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19814 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19815 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19816 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19817 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19818 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19819 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19820 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19821 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19822 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19823
65dc3b75
JM
198242012-02-03 Joseph Myers <joseph@codesourcery.com>
19825
19826 * math/tst-CMPLX.c: Include <stdio.h>.
19827
d55bf177
JM
198282012-01-31 Joseph Myers <joseph@codesourcery.com>
19829
19830 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
19831 float.
19832 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
19833 * sysdeps/sparc/bits/mathdef.h: Likewise.
19834
69db4f8f
MP
198352012-01-31 Marek Polacek <polacek@redhat.com>
19836
19837 * libio/libio.h: Don't define _PARAMS.
19838 * locale/programs/config.h: Don't define PARAMS.
19839 * stdlib/strtol_l.c: Likewise.
19840 (__strtol_l): Remove PARAMS from the prototype.
19841
41b81892
UD
198422012-01-31 Ulrich Drepper <drepper@gmail.com>
19843
3b49edc0
UD
19844 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
19845 names. Just use the correct names. Remove unnecessary wrapper
19846 functions.
19847 * malloc/arena.c: Likewise.
19848 * malloc/hooks.c: Likewise.
19849
41b81892
UD
19850 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
19851 ARENA_TEST says not to. Simplify test for creation of a new arena.
19852 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
19853
27a25b6e
UD
198542012-01-30 Ulrich Drepper <drepper@gmail.com>
19855
19856 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
19857 into tail calls.
19858 (update_get_addr): New function.
19859 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
19860 GET_ADDR_MODULE parameter.
19861
c8a89e7d
JM
198622012-01-30 Joseph Myers <joseph@codesourcery.com>
19863
19864 * crypt/cert.c: Remove __STDC__ conditionals.
19865 * crypt/crypt-entry.c: Likewise.
19866 * crypt/crypt_util.c: Likewise.
19867 * libio/filedoalloc.c: Likewise.
19868 * libio/fileops.c: Likewise.
19869 * libio/genops.c: Likewise.
19870 * libio/iofclose.c: Likewise.
19871 * libio/iofdopen.c: Likewise.
19872 * libio/iofopen.c: Likewise.
19873 * libio/iofopen64.c: Likewise.
19874 * libio/iogetdelim.c: Likewise.
19875 * libio/iopopen.c: Likewise.
19876 * libio/obprintf.c: Likewise.
19877 * libio/oldfileops.c: Likewise.
19878 * libio/oldiofclose.c: Likewise.
19879 * libio/oldiofdopen.c: Likewise.
19880 * libio/oldiofopen.c: Likewise.
19881 * libio/oldiopopen.c: Likewise.
19882 * libio/wfiledoalloc.c: Likewise.
19883 * libio/wgenops.c: Likewise.
19884 * locale/programs/xmalloc.c: Likewise.
19885 * misc/syslog.c: Likewise.
19886 * stdio-common/xbug.c: Likewise.
19887 * string/memchr.c: Likewise.
19888 * string/memcmp.c: Likewise.
19889 * string/memrchr.c: Likewise.
19890 * string/rawmemchr.c: Likewise.
19891 * sysdeps/posix/getcwd.c: Likewise.
19892 * time/strftime_l.c: Likewise.
19893
3b100462
JM
198942012-01-30 Joseph Myers <joseph@codesourcery.com>
19895
19896 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
19897 * config.make.in (config-cflags-sse2avx): Define.
19898 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
19899 Fix typo.
19900
607998af
CM
199012012-01-29 Chris Metcalf <cmetcalf@tilera.com>
19902
19903 * scripts/config.guess: Update from upstream config git repository.
19904 * scripts/config.sub: Likewise.
19905
3601428f
CM
199062012-01-28 Chris Metcalf <cmetcalf@tilera.com>
19907
3ac8b282
CM
19908 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
19909 (EM_NUM): Update.
19910 (R_TILEPRO_*, R_TILEGX_*): New macros.
19911
e034841e
CM
19912 * scripts/firstversions.awk: Fix bug in version range handling.
19913
540d7568
CM
19914 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
19915
3601428f
CM
19916 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
19917
463de862
CM
19918 * include/sys/epoll.h: New file.
19919 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
19920 libc_hidden_def.
19921
73139a76
UD
199222012-01-28 Ulrich Drepper <drepper@gmail.com>
19923
96bc5b45
UD
19924 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
19925 Avoid unnecessary __WORDSIZE == 64 test.
19926 (fmaxf): Use VEX format if possible.
19927 (fmax): Likewise.
19928 (fminf): Likewise.
19929 (fmin): Likewise.
19930
56f6f6a2
UD
19931 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
19932 * math/math_private.h: Remove libc_fegetround* and
19933 libc_fesetround*.
19934 * sysdeps/i386/configure.in: Check for -msse2avx.
19935 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
19936 also if SSE2AVX is defined.
19937 Remove libc_fegetround* and libc_fesetround*.
19938 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
19939 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
19940 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
19941 of HAS_YMM_USABLE.
19942 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19943 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19944 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19945 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19946 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19947
73139a76
UD
19948 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
19949
d73f93a4
AZ
199502012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19951
19952 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
19953 size is not set.
19954 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
19955
6ee65ed6
UD
199562012-01-27 Ulrich Drepper <drepper@gmail.com>
19957
19958 [BZ #13618]
19959 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
19960 relocation.
19961 * Makeconfig (libm): Define.
19962 * elf/Makefile: Add rules to build and run tst-relsort1.
19963 * elf/tst-relsort1.c: New file.
19964 * elf/tst-relsort1mod1.c: New file.
19965 * elf/tst-relsort1mod2.c: New file.
19966
8db21882
JM
199672012-01-27 Joseph Myers <joseph@codesourcery.com>
19968
19969 * math/s_ldexp.c: Remove __STDC__ conditionals.
19970 * math/s_ldexpf.c: Likewise.
19971 * math/s_ldexpl.c: Likewise.
19972 * math/s_nextafter.c: Likewise.
19973 * math/s_nexttowardf.c: Likewise.
19974 * math/s_significand.c: Likewise.
19975 * math/s_significandf.c: Likewise.
19976 * math/s_significandl.c: Likewise.
19977 * math/w_jnl.c: Likewise.
19978 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
19979 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
19980 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
19981 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
19982 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
19983 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19984 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
19985 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
19986 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
19987 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
19988 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
19989 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
19990 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
19991 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
19992 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
19993 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
19994 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
19995 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
19996 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
19997 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
19998 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
19999 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20000 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20001 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20002 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20003 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20004 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20005 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20006 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20007 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20008 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20009 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20010 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20011 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20012 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20013 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20014 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20015 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20016 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20017 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20018 * sysdeps/ieee754/k_standard.c: Likewise.
20019 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20020 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20021 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20022 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20023 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20024 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20025 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20026 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20027 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20028 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20029 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20030 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20031 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20032 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20033 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20034 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20035 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20036 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20037 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20038 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20039 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20040 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20041 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20042 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20043 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20044 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20045 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20046 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20047 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20048 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20049 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20050 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20051 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20052 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20053 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20054 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20055 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20056 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20057 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20058 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20059 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20060 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20061 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20062 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20063 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20064 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20065 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20066 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20067 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20068 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20069 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20070 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20071 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20072 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20073 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20074 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20075 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20076 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20077 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20078 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20079 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20080 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20081 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20082 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20083 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20084 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20085 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20086 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20087 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20088 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20089 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20090 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20091 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20092 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20093 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20094 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20095 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20096 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20097 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20098 * sysdeps/ieee754/s_matherr.c: Likewise.
20099 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20100 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20101 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20102 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20103
965a54a4
JM
201042012-01-26 Joseph Myers <joseph@codesourcery.com>
20105
20106 * crypt/md5.h: Remove __STDC__ conditionals.
20107 * libio/libioP.h: Likewise.
20108 * locale/programs/config.h: Likewise.
20109 * sysdeps/generic/sysdep.h: Likewise.
20110 * sysdeps/i386/asm-syntax.h: Likewise.
20111 * sysdeps/s390/asm-syntax.h: Likewise.
20112 * sysdeps/unix/sysdep.h: Likewise.
20113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20115
7071ad79
JM
201162012-01-26 Joseph Myers <joseph@codesourcery.com>
20117
20118 * libio/libio.h: Remove __STDC__ conditionals.
20119 * malloc/obstack.h: Likewise.
20120 * math/complex.h: Likewise.
20121 * math/math.h: Likewise.
20122 * sysdeps/generic/_G_config.h: Likewise.
20123 * sysdeps/gnu/_G_config.h: Likewise.
20124 * sysdeps/mach/hurd/_G_config.h: Likewise.
20125 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20126 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20127 * sysdeps/sparc/bits/mathdef.h: Likewise.
20128
afc5ed09
UD
201292012-01-26 Ulrich Drepper <drepper@gmail.com>
20130
20131 [BZ #13583]
20132 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 20133 Clean up HAS_* macros.
afc5ed09 20134 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
20135 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20136 possible.
20137 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20138 HAS_AVX.
20139 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20140 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20141 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20142 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20143 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 20144
bdb6de1d
JM
201452012-01-25 Joseph Myers <joseph@codesourcery.com>
20146
20147 * elf/tst-unique3.cc (gets): Remove declaration.
20148 * elf/tst-unique3lib.cc (gets): Likewise.
20149 * elf/tst-unique3lib2.cc (gets): Likewise.
20150 * elf/tst-unique4.cc (gets): Likewise.
20151
b15549e6
UD
201522012-01-24 Ulrich Drepper <drepper@gmail.com>
20153
20154 * include/stdio.h: Add C++ protection. Add gets declarations and
20155 definitions.
20156 * debug/tst-chk1.c: Don't declare gets here.
20157 * stdio-common/tst-gets.c: Likewise.
20158
a037381f
JM
201592012-01-24 Joseph Myers <joseph@codesourcery.com>
20160
20161 * posix/glob: Remove directory.
20162
f1d4aa75
JM
201632012-01-24 Joseph Myers <joseph@codesourcery.com>
20164
20165 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20166
81c0c964
PT
201672012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20168
20169 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20170 of the non-standard EPFNOSUPPORT.
20171
0ea698ae
ST
201722011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20173
20174 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20175 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20176 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20177
d220b117
UD
201782012-01-21 Ulrich Drepper <drepper@gmail.com>
20179
20180 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20181
3e1aa84e
UD
201822012-01-20 Ulrich Drepper <drepper@gmail.com>
20183
20184 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20185 transient errors.
20186 * nscd/grpcache.c (cache_addgr): Likewise.
20187 * nscd/hstcache.c (cache_addhst): Likewise.
20188 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20189 * nscd/pwdcache.c (cache_addpw): Likewise.
20190 * nscd/servicescache.c (cache_addserv): Likewise.
20191
400aa020
UD
201922012-01-16 Ulrich Drepper <drepper@gmail.com>
20193
d77e7869
UD
20194 * malloc/malloc.c: Various cleanups.
20195 * malloc/hooks.c: Likewise.
20196
400aa020
UD
20197 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20198 * stdlib/bug-fmtmsg1.c: New file.
20199
20200 * stdlib/fmtmsg.c (init): Add missing unlock.
20201 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20202
e0a309cf
MP
202032012-01-12 Marek Polacek <polacek@redhat.com>
20204
20205 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20206 and _GNU_SOURCE.
20207
929d11c7
WS
202082012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20209
20210 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20211 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20212 macro to ensure uniqueness of label name.
20213 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20214 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20215
41d0e869
UD
202162012-01-11 Ulrich Drepper <drepper@gmail.com>
20217
0cc5ed3b
UD
20218 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20219
41d0e869
UD
20220 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20221 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20222 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20223 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20224
a47a831a
UD
202252012-01-10 Ulrich Drepper <drepper@gmail.com>
20226
daa891c0
UD
20227 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20228
20229 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20230 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20231 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20232
e58ef0f2
UD
20233 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20234
a47a831a 20235 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
20236 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20237 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 20238 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
20239
20240 * math/bits/math-finite.h: Add ldexp support.
20241
a0bfc9c7
MP
202422012-01-10 Marek Polacek <polacek@redhat.com>
20243
20244 * locale/programs/localedef.h (show_archive_content): Add noreturn
20245 attribute.
20246
d6e97a1d
UD
202472012-01-09 Ulrich Drepper <drepper@gmail.com>
20248
20249 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20250
d5835c26
UD
202512012-01-08 Ulrich Drepper <drepper@gmail.com>
20252
e5f484c6
UD
20253 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20254
d5835c26
UD
20255 * io/Makefile (headers): Add bits/poll2.h.
20256
d1f741e9
WS
202572011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20258
20259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20260 typo #include statement.
20261
ec09c1c4
UD
202622012-01-08 Ulrich Drepper <drepper@gmail.com>
20263
20264 * include/sys/cdefs.h: Define __attribute_alloc_size.
20265 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20266 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20267 * elf/pldd.c: Likewise.
20268 * iconv/iconv_charmap.c: Likewise.
20269 * iconv/iconvconfig.c: Likewise.
20270 * iconv/strtab.c: Likewise.
20271 * locale/programs/locale.c: Likewise.
20272 * locale/programs/localedef.h: Likewise.
20273 * locale/programs/simple-hash.c: Likewise.
20274 * nscd/nscd.h: Likewise.
20275 * nss/makedb.c: Likewise.
20276 * sysdeps/generic/ldconfig.h: Likewise.
20277 * locale/programs/localedef.c: Remove xmalloc prototype.
20278 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20279
20b38e03
PP
202802012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20281
20282 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20283 appropriate.
20284
a0da5fe1
UD
202852012-01-08 Ulrich Drepper <drepper@gmail.com>
20286
1d5a644a 20287 * math/Makefile (tests): Add tst-CMPLX.
669704fd 20288 * math/tst-CMPLX.c: New file.
1d5a644a 20289
8784a6db
UD
20290 * math/complex.h (CMPLXL): Fix typo.
20291
d9a216c0
UD
20292 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20293 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20294 GLIBC_2.16.
20295 * debug/tst-chk1.c: Add poll and ppoll tests.
20296 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20297 * include/sys/poll.h: Add hidden proto for ppoll.
20298 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20299 * sysdeps/mach/hurd/ppoll.c: Likewise.
20300 * io/ppoll.c: Likewise.
20301 * debug/poll_chk.c: New file.
20302 * debug/ppoll_chk.c: New file.
20303 * include/bits/poll2.h: New file.
20304 * io/bits/poll2.h: New file.
20305
ac097f5c
UD
20306 [BZ #1350]
20307 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20308
2119dcfa
UD
20309 * configure.in: static is always set to yes. Remove.
20310 * config.make.in: Don't set build-static.
20311 * Makeconfig: Remove use of build-static.
20312 * dlfcn/Makefile: Likewise.
20313 * elf/Makefile: Likewise.
20314 * math/Makefile: Likewise.
20315 * misc/Makefile: Likewise.
20316 * nptl/Makefile: Likewise.
20317 * sysdeps/mach/hurd/Makefile: Likewise.
20318
121766a9
UD
20319 * configure.in: PWD_P is not used anymore.
20320 * config.make.in: Remove PWD_P entry.
20321
51a1d39c 20322 * configure.in: Remove last remnants of RANLIB.
8720d066 20323 No need to check for signed size_t anymore.
215f4bdc
UD
20324 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20325 and IA-64.
3857022a 20326 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
20327 * aclocal.m4: Likewise.
20328
d3ed7225
UD
20329 * wcsmbs/mbrtoc16.c: Implement using towc function.
20330 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20331 * wcsmbs/wcsmbsload.c: Likewise.
20332 * iconv/gconv_simple.c: Likewise.
20333 * iconv/gconv_int.h: Likewise.
20334 * iconv/gconv_builtin.h: Likewise.
20335 * iconv/iconv_prog.c: Remove CHAR16 handling.
20336
20337 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20338
20339 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20340
a0da5fe1
UD
20341 * configure.in: Remove --with-elf and --enable-bounded options.
20342 Dont set base_machine for ia64. More non-ELF conditions removed.
20343 Remove testing and setting of leading underscore information.
20344 * config.make.in (build-bounded): Set to no.
20345 * config.h.in: Remove NO_UNDERSCORES entry.
20346 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20347 them.
20348 * csu/start.c: Remove !NO_UNDERSCORE code.
20349 * locale/localeinfo.h: Likewise.
20350 * sysdeps/generic/machine-gmon.h: Likewise.
20351 * sysdeps/generic/sysdep.h: Likewise.
20352 * sysdeps/i386/sysdep.h: Likewise.
20353 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20354 * sysdeps/mach/sysdep.h: Likewise.
20355 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20356 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20357 * sysdeps/sh/sysdep.h: Likewise.
20358 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20359 * sysdeps/unix/i386/sysdep.S: Likewise.
20360 * sysdeps/unix/sparc/start.c: Likewise.
20361 * sysdeps/unix/sparc/sysdep.S: Likewise.
20362 * sysdeps/unix/sparc/sysdep.h: Likewise.
20363 * sysdeps/unix/start.c: Likewise.
20364 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20365 * sysdeps/x86_64/sysdep.h: Likewise.
20366
df78418a
UD
203672012-01-07 Ulrich Drepper <drepper@gmail.com>
20368
a784e502
UD
20369 [BZ #13553]
20370 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20371 for non-gcc.
20372 * argp/argp-fmtstream.h: Use const instead __const.
20373 * argp/argp.h: Likewise.
20374 * assert/assert.h: Likewise.
20375 * bits/fenv.h: Likewise.
20376 * bits/sched.h: Likewise.
20377 * bits/sigset.h: Likewise.
20378 * bits/sigthread.h: Likewise.
20379 * catgets/nl_types.h: Likewise.
20380 * conform/data/pthread.h-data: Likewise.
20381 * crypt/crypt-private.h: Likewise.
20382 * crypt/crypt.h: Likewise.
20383 * crypt/crypt_util.c: Likewise.
20384 * ctype/ctype.h: Likewise.
20385 * debug/execinfo.h: Likewise.
20386 * debug/mbsnrtowcs_chk.c: Likewise.
20387 * debug/mbsrtowcs_chk.c: Likewise.
20388 * debug/wcsnrtombs_chk.c: Likewise.
20389 * debug/wcsrtombs_chk.c: Likewise.
20390 * debug/wcstombs_chk.c: Likewise.
20391 * dirent/dirent.h: Likewise.
20392 * dlfcn/dlfcn.h: Likewise.
20393 * elf/neededtest4.c: Likewise.
20394 * grp/grp.h: Likewise.
20395 * gshadow/gshadow.h: Likewise.
20396 * iconv/gconv.h: Likewise.
20397 * iconv/gconv_int.h: Likewise.
20398 * iconv/gconv_simple.c: Likewise.
20399 * iconv/iconv.h: Likewise.
20400 * iconv/loop.c: Likewise.
20401 * iconv/skeleton.c: Likewise.
20402 * include/aio.h: Likewise.
20403 * include/aliases.h: Likewise.
20404 * include/argz.h: Likewise.
20405 * include/arpa/inet.h: Likewise.
20406 * include/assert.h: Likewise.
20407 * include/dirent.h: Likewise.
20408 * include/dlfcn.h: Likewise.
20409 * include/execinfo.h: Likewise.
20410 * include/fcntl.h: Likewise.
20411 * include/fenv.h: Likewise.
20412 * include/glob.h: Likewise.
20413 * include/grp.h: Likewise.
20414 * include/libintl.h: Likewise.
20415 * include/mntent.h: Likewise.
20416 * include/netdb.h: Likewise.
20417 * include/pwd.h: Likewise.
20418 * include/rpc/netdb.h: Likewise.
20419 * include/sched.h: Likewise.
20420 * include/search.h: Likewise.
20421 * include/shadow.h: Likewise.
20422 * include/signal.h: Likewise.
20423 * include/stdio.h: Likewise.
20424 * include/stdlib.h: Likewise.
20425 * include/string.h: Likewise.
20426 * include/sys/socket.h: Likewise.
20427 * include/sys/stat.h: Likewise.
20428 * include/sys/statfs.h: Likewise.
20429 * include/sys/statvfs.h: Likewise.
20430 * include/sys/syslog.h: Likewise.
20431 * include/sys/time.h: Likewise.
20432 * include/sys/uio.h: Likewise.
20433 * include/time.h: Likewise.
20434 * include/unistd.h: Likewise.
20435 * include/utmp.h: Likewise.
20436 * include/wchar.h: Likewise.
20437 * include/wctype.h: Likewise.
20438 * inet/aliases.h: Likewise.
20439 * inet/arpa/inet.h: Likewise.
20440 * inet/netinet/ether.h: Likewise.
20441 * inet/netinet/in.h: Likewise.
20442 * intl/libintl.h: Likewise.
20443 * io/bits/fcntl2.h: Likewise.
20444 * io/fcntl.h: Likewise.
20445 * io/ftw.h: Likewise.
20446 * io/sys/poll.h: Likewise.
20447 * io/sys/stat.h: Likewise.
20448 * io/sys/statfs.h: Likewise.
20449 * io/sys/statvfs.h: Likewise.
20450 * io/utime.h: Likewise.
20451 * libio/bits/stdio.h: Likewise.
20452 * libio/bits/stdio2.h: Likewise.
20453 * libio/libio.h: Likewise.
20454 * libio/libioP.h: Likewise.
20455 * libio/stdio.h: Likewise.
20456 * locale/lc-ctype.c: Likewise.
20457 * locale/locale.h: Likewise.
20458 * login/utmp.h: Likewise.
20459 * malloc/arena.c: Likewise.
20460 * malloc/malloc.c: Likewise.
20461 * malloc/malloc.h: Likewise.
20462 * malloc/mcheck.c: Likewise.
20463 * malloc/mtrace.c: Likewise.
20464 * math/bits/mathcalls.h: Likewise.
20465 * math/fenv.h: Likewise.
20466 * math/math_private.h: Likewise.
20467 * misc/bits/error.h: Likewise.
20468 * misc/bits/syslog.h: Likewise.
20469 * misc/err.h: Likewise.
20470 * misc/error.h: Likewise.
20471 * misc/fstab.h: Likewise.
20472 * misc/mntent.h: Likewise.
20473 * misc/regexp.h: Likewise.
20474 * misc/search.h: Likewise.
20475 * misc/sgtty.h: Likewise.
20476 * misc/sys/mman.h: Likewise.
20477 * misc/sys/syslog.h: Likewise.
20478 * misc/sys/uio.h: Likewise.
20479 * misc/sys/xattr.h: Likewise.
20480 * misc/ttyent.h: Likewise.
20481 * nis/rpcsvc/ypclnt.h: Likewise.
20482 * nss/nss.h: Likewise.
20483 * posix/bits/unistd.h: Likewise.
20484 * posix/fnmatch.h: Likewise.
20485 * posix/glob.h: Likewise.
20486 * posix/sched.h: Likewise.
20487 * posix/spawn.h: Likewise.
20488 * posix/sys/wait.h: Likewise.
20489 * posix/unistd.h: Likewise.
20490 * posix/wordexp.h: Likewise.
20491 * pwd/pwd.h: Likewise.
20492 * resolv/netdb.h: Likewise.
20493 * resource/sys/resource.h: Likewise.
20494 * rt/aio.h: Likewise.
20495 * rt/bits/mqueue2.h: Likewise.
20496 * rt/mqueue.h: Likewise.
20497 * shadow/shadow.h: Likewise.
20498 * signal/signal.h: Likewise.
20499 * socket/send.c: Likewise.
20500 * socket/sendto.c: Likewise.
20501 * socket/sys/socket.h: Likewise.
20502 * stdio-common/printf.h: Likewise.
20503 * stdlib/bits/stdlib.h: Likewise.
20504 * stdlib/fmtmsg.h: Likewise.
20505 * stdlib/monetary.h: Likewise.
20506 * stdlib/stdlib.h: Likewise.
20507 * stdlib/ucontext.h: Likewise.
20508 * streams/stropts.h: Likewise.
20509 * string/argz.h: Likewise.
20510 * string/bits/string2.h: Likewise.
20511 * string/string.h: Likewise.
20512 * string/strings.h: Likewise.
20513 * sunrpc/rpc/auth.h: Likewise.
20514 * sunrpc/rpc/auth_des.h: Likewise.
20515 * sunrpc/rpc/clnt.h: Likewise.
20516 * sunrpc/rpc/netdb.h: Likewise.
20517 * sunrpc/rpc/pmap_clnt.h: Likewise.
20518 * sunrpc/rpc/xdr.h: Likewise.
20519 * sysdeps/generic/inttypes.h: Likewise.
20520 * sysdeps/generic/net/if.h: Likewise.
20521 * sysdeps/generic/sys/swap.h: Likewise.
20522 * sysdeps/gnu/net/if.h: Likewise.
20523 * sysdeps/gnu/utmpx.h: Likewise.
20524 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20525 * sysdeps/i386/i486/bits/string.h: Likewise.
20526 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20527 * sysdeps/s390/bits/string.h: Likewise.
20528 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20529 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20530 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20531 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20532 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20533 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20534 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20535 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20536 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20537 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20538 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20539 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20540 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20541 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20542 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20543 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20544 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20545 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20546 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20547 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20548 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20549 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20550 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20551 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20552 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20553 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20554 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20555 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20556 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20557 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20558 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20559 * sysvipc/sys/ipc.h: Likewise.
20560 * sysvipc/sys/msg.h: Likewise.
20561 * sysvipc/sys/sem.h: Likewise.
20562 * sysvipc/sys/shm.h: Likewise.
20563 * termios/termios.h: Likewise.
20564 * time/sys/time.h: Likewise.
20565 * time/time.h: Likewise.
20566 * wcsmbs/bits/wchar2.h: Likewise.
20567 * wcsmbs/uchar.h: Likewise.
20568 * wcsmbs/wchar.h: Likewise.
20569 * wctype/wctype.h: Likewise.
20570
0269750c
UD
20571 [BZ #13551]
20572 * Makeconfig: Remove all but ELF support including AIX support.
20573 * Makerules: Likewise.
20574 * config.h.in: Likewise.
20575 * config.make.in: Likewise.
20576 * configure: Likewise.
20577 * configure.in: Likewise.
20578 * csu/Makefile: Likewise.
20579 * csu/version.c: Likewise.
20580 * debug/Makefile: Likewise.
20581 * dlfcn/Makefile: Likewise.
20582 * elf/Makefile: Likewise.
20583 * extra-lib.mk: Likewise.
20584 * iconv/Makefile: Likewise.
20585 * include/libc-symbols.h: Likewise.
20586 * include/shlib-compat.h: Likewise.
20587 * resolv/Makefile: Likewise.
20588 * resolv/res_libc.c: Likewise.
20589 * rt/Makefile: Likewise.
20590 * sysdeps/i386/asm-syntax.h: Likewise.
20591 * sysdeps/i386/sysdep.h: Likewise.
20592 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20593 * sysdeps/mach/sysdep.h: Likewise.
20594 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20595 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20596 * sysdeps/s390/asm-syntax.h: Likewise.
20597 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20598 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20599 * sysdeps/sh/sysdep.h: Likewise.
20600 * sysdeps/unix/sparc/sysdep.h: Likewise.
20601 * sysdeps/wordsize-32/divdi3.c: Likewise.
20602 * sysdeps/x86_64/sysdep.h: Likewise.
20603
00bbd29b
UD
20604 * argp/Versions: Remove _argp_unlock_xxx.
20605
20606 [BZ #13559]
20607 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20608 * abilist/libBrokenLocale.abilist: Likewise.
20609 * abilist/libanl.abilist: Likewise.
20610 * abilist/libc.abilist: Likewise.
20611 * abilist/libcrypt.abilist: Likewise.
20612 * abilist/libdl.abilist: Likewise.
20613 * abilist/libm.abilist: Likewise.
20614 * abilist/libnsl.abilist: Likewise.
20615 * abilist/libpthread.abilist: Likewise.
20616 * abilist/libresolv.abilist: Likewise.
20617 * abilist/librt.abilist: Likewise.
20618 * abilist/libthread_db.abilist: Likewise.
20619 * abilist/libutil.abilist: Likewise.
20620 * abilist/libnss_db.abilist: New file.
20621
20622 * scripts/abilist.awk: Add support for indirect functions.
20623
a2693a0e
UD
20624 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20625
3f05895f
UD
20626 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20627
ecb6fb48
UD
20628 * shlib-versions: Remove entries for ports architectures.
20629
664f8cb9
UD
20630 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20631 files in ports.
20632 * elf/stackguard-macros.h: Remove support for IA-64.
20633 * elf/tst-auditmod1.c: Likewise.
20634 * sysdeps/generic/ldsodefs.h: Likewise.
20635
7ae81d88
UD
20636 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20637 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20638 configure files.
20639
bdeba135
UD
20640 [BZ #13552]
20641 * configure.in: Remove --enable-omitfp support.
20642 * FAQ.in: Adjust.
20643 * config.make.in: Likewise.
20644 * Makeconfig: Likewise.
20645 * manual/install.texi: Likewise.
20646
d75a0a62
UD
20647 In case anyone cares, the IA-64 architecture could move to ports.
20648 * sysdeps/ia64/*: Removed.
20649 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 20650 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 20651
dcc9756b
UD
20652 [BZ #13555]
20653 * configure.in: Remove entries for unsupported architectures.
20654
d3761ebc 20655 [BZ #13533]
9954432e
UD
20656 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20657 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20658 routines.
20659 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20660 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20661 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20662 fall back to using wcrtomb.
20663 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20664 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20665 renaming.
20666 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20667 * wcsmbs/tst-c16c32-1.c: New file.
20668
20669 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20670 local variable.
20671
c3a87236
UD
20672 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20673
28926a1b
UD
20674 * elf/tst-unique3.cc: Add explicit declaration of gets.
20675 * elf/tst-unique3lib.cc: Likewise.
20676 * elf/tst-unique3lib2.cc: Likewise.
20677 * elf/tst-unique4.cc: Likewise.
20678
df78418a
UD
20679 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20680
8ecd6b2a
JM
206812012-01-06 Joseph Myers <joseph@codesourcery.com>
20682
20683 [BZ #13566]
20684 * assert/assert.h (static_assert): Don't define for C++.
20685 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20686 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20687
9f115170
UD
206882012-01-03 Ulrich Drepper <drepper@gmail.com>
20689
5e0d0300
UD
20690 * iconv/loop.c (single loop): Fix assertion in storing of
20691 remaining bytes.
20692
9f115170
UD
20693 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20694
81fb02b0
UD
206952012-01-01 Ulrich Drepper <drepper@gmail.com>
20696
20697 * posix/getconf.c: Update copyright year.
20698 * nss/getent.c: Likewise.
a316c1f6 20699 * nss/makedb.c: Likewise.
81fb02b0
UD
20700 * iconv/iconvconfig.c: Likewise.
20701 * iconv/iconv_prog.c: Likewise.
20702 * elf/ldconfig.c: Likewise.
a316c1f6
UD
20703 * elf/pldd.c: Likewise.
20704 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
20705 * catgets/gencat.c: Likewise.
20706 * csu/version.c: Likewise.
20707 * elf/ldd.bash.in: Likewise.
20708 * elf/sprof.c (print_version): Likewise.
20709 * locale/programs/locale.c: Likewise.
20710 * locale/programs/localedef.c: Likewise.
a316c1f6 20711 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
20712 * nscd/nscd.c (print_version): Likewise.
20713 * debug/xtrace.sh: Likewise.
20714 * malloc/memusage.sh: Likewise.
20715 * malloc/mtrace.pl: Likewise.
20716 * debug/catchsegv.sh: Likewise.
20717
2ba92745
JJ
207182011-12-30 Jakub Jelinek <jakub@redhat.com>
20719
20720 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20721 pure attribute.
20722
dadebdae
UD
207232011-12-24 Ulrich Drepper <drepper@gmail.com>
20724
d3761ebc 20725 [BZ #13533]
db6af3eb
UD
20726 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20727 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20728 transformations.
20729 * iconv/gconv_int.h: Likewise.
20730 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20731 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20732 from libc for GLIBC_2.16.
20733 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20734 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20735 * wcsmbs/uchar.h: Really define mbstate_t.
20736 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20737 * wcsmbs/c16rtomb.c: New file.
20738 * wcsmbs/mbrtoc16.c: New file.
20739 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20740 for C/POSIX locale.
20741 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20742 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20743
dadebdae
UD
20744 * wcsmbs/wchar.h: Add missing __restrict.
20745
67371b56
UD
207462011-12-23 Ulrich Drepper <drepper@gmail.com>
20747
74033a25
UD
20748 [BZ #13532]
20749 * time/Makefile (routines): Add timespec_get.
20750 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20751 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20752 timespec for ISO C11.
20753 * time/timespec_get.c: New file.
20754 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20755 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20756
380d7e87
UD
20757 [BZ #13531]
20758 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20759 * stdlib/stdlib.h: Declare aligned_alloc.
20760 * Versions.def: Add GLIBC_2.16 for libc.
20761 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20762
4e9e7a35
UD
20763 [BZ 13527]
20764 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20765 ISO C11.
20766
380d7e87 20767 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
20768 code.
20769
03a71829
UD
20770 [BZ #13528]
20771 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20772
839e283e
UD
20773 [BZ #13529]
20774 * assert/assert.h (static_assert): Define.
20775
ce5294e2 20776 * version.h: Update for 2.16 development version.
90fa7312 20777
8d44e150 20778 [BZ #13526]
d7809905
UD
20779 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20780 _ISOC11_SOURCE.
20781
c0da14cd
UD
20782 * version.h (RELEASE): Bump for 2.15 release.
20783 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20784
530a3249
MP
20785 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20786 Patch by Marek Polacek <mpolacek@redhat.com>.
20787
67371b56
UD
20788 * bits/byteswap.h: Protect long long constants with __extension__.
20789 * sysdeps/i386/bits/byteswap.h: Likewise.
20790 * sysdeps/ia64/bits/byteswap.h: Likewise.
20791 * sysdeps/s390/bits/byteswap.h: Likewise.
20792 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20793
15db4de1
LD
207942011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20795
20796 [BZ #13540]
bbe315ea
LD
20797 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20798 destination buffer.
15db4de1
LD
20799 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20800
2b2596b1
MP
208012011-12-23 Marek Polacek <polacek@redhat.com>
20802
20803 * elf/dl-addr.c (determine_info): Add inline keyword.
20804 * elf/tst-auditmod4b.c (check_avx): Likewise.
20805 * elf/tst-auditmod6b.c (check_avx): Likewise.
20806 * elf/tst-auditmod6c.c (check_avx): Likewise.
20807 * elf/tst-auditmod7b.c (check_avx): Likewise.
20808
70c6c246
UD
208092011-12-23 Ulrich Drepper <drepper@gmail.com>
20810
20811 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20812 !__SSE_MATH__.
20813
c044cf14
LD
208142011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20815
15db4de1 20816 [BZ #13540]
c044cf14
LD
20817 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20818 processing for last bytes.
20819
6b13d9d9
BH
208202011-08-06 Bruno Haible <bruno@clisp.org>
20821
d455f537
BH
20822 [BZ #13061]
20823 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20824 U+0385, not to U+1FEE.
20825
6b13d9d9
BH
20826 [BZ #13062]
20827 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20828 entry for U+00A5 U+0301.
20829
db910efd
UD
208302011-12-22 Ulrich Drepper <drepper@gmail.com>
20831
27deeafc
UD
20832 [BZ #13166]
20833 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
20834 buffer for the output is too small.
20835
aed9d171
UD
20836 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
20837 optimization.
20838
db910efd
UD
20839 [BZ #13185]
20840 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
20841 SSE flags if possible.
20842
2bd779ae
LD
208432011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20844
e7f9dac3 20845 [BZ #13540]
2bd779ae
LD
20846 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
20847 processing for last bytes.
20848
154bfc16
JM
208492011-12-22 Joseph Myers <joseph@codesourcery.com>
20850
20851 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
20852 (syscall-list-default-options, syscall-list-default-condition)
20853 (syscall-list-includes): Define.
20854 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
20855 list of ABIs and options and #if conditions for each ABI. Do not
20856 handle common syscalls between ABIs specially.
20857 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
20858 Remove.
20859 (syscall-list-variants, syscall-list-32bit-options)
20860 (syscall-list-32bit-condition, syscall-list-64bit-options)
20861 (syscall-list-64bit-condition): Define.
20862 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
20863 (syscall-list-variants, syscall-list-32bit-options)
20864 (syscall-list-32bit-condition, syscall-list-64bit-options)
20865 (syscall-list-64bit-condition): Define.
20866 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
20867 Remove.
20868 (syscall-list-variants, syscall-list-32bit-options)
20869 (syscall-list-32bit-condition, syscall-list-64bit-options)
20870 (syscall-list-64bit-condition): Define.
20871 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
20872 Remove.
20873 (syscall-list-variants, syscall-list-32bit-options)
20874 (syscall-list-32bit-condition, syscall-list-64bit-options)
20875 (syscall-list-64bit-condition): Define.
20876
21eaf3a5
UD
208772011-12-22 Ulrich Drepper <drepper@gmail.com>
20878
16c6f992
UD
20879 * locale/iso-639.def: Add brx entry.
20880
41043168
UD
20881 [BZ #13328]
20882 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
20883 Proposed by Mariusz_Cukr <marcukr@op.pl>.
20884
21eaf3a5
UD
20885 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
20886 __feraiseexcept_renamed.
20887
e3a851a2
UD
208882011-12-21 Ulrich Drepper <drepper@gmail.com>
20889
4920765e
UD
20890 [BZ #13538]
20891 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
20892 EPOLLET with unsigned values.
20893 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20894 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20895
e3a851a2
UD
20896 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
20897 to large cancellation.
20898 * math/s_cacoshf.c: Likewise.
20899 * math/s_cacoshl.c: Likewise.
20900
b27e24b8
RK
209012011-11-18 Richard B. Kreckel <kreckel@ginac.de>
20902
20903 [BZ #13305]
aebefeee 20904 [BZ #12786]
b27e24b8
RK
20905 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
20906 * math/s_cacoshf.c: Likewise.
20907 * math/s_cacoshl.c: Likewise.
20908
ee190f67
UD
209092011-12-21 Ulrich Drepper <drepper@gmail.com>
20910
20911 [BZ #13439]
20912 * iconv/gconv.h: Define __GCONV_SWAP.
20913 * iconvdata/unicode.c: The swap bit must be stored in __flags.
20914 * iconvdata/utf-16.c: Likewise.
20915 * iconvdata/utf-32.c: Likewise.
20916
707f25df
AS
209172011-12-21 Andreas Schwab <schwab@linux-m68k.org>
20918
20919 [BZ #13524]
20920 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
20921 numerator after shifting it by one limb.
20922
d2daaa1e
RÁE
209232011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
20924
20925 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
20926 under [__USE_EXTERN_INLINES].
20927
a4647e72
UD
209282011-12-17 Ulrich Drepper <drepper@gmail.com>
20929
20930 [BZ #13446]
20931 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
20932
f0b264f1
AZ
209332011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20934
20935 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
20936 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
20937 optimized code.
20938 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
20939 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
20940 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
20941 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
20942 for strncasecmp/strncasecmp_l compilation.
20943 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
20944 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
20945
8ef4f244
MP
209462011-12-08 Marek Polacek <mpolacek@redhat.com>
20947
20948 [BZ #13484]
20949 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
20950 of __asm__.
20951
97ac2654
UD
209522011-12-17 Ulrich Drepper <drepper@gmail.com>
20953
20954 [BZ #13506]
20955 * time/tzfile.c (__tzfile_read): Check values from file header.
20956
91d2a845
WS
209572011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
20958
20959 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
20960 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
20961 * powerpc/powerpc32/dl-start.S: Likewise.
20962 * powerpc/powerpc32/elf/start.S: Likewise.
20963 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20964 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
20965 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
20966 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
20967 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
20968 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
20969 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
20970 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20971 * powerpc/powerpc32/fpu/s_round.S: Likewise.
20972 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
20973 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
20974 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
20975 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
20976 * powerpc/powerpc32/memset.S: Likewise.
20977 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
20978 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20979 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20980 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20981 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20982 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20983 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
20984 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
20985 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
20986 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
20987 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
20988 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20989 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20990
a1267ba1
AZ
209912011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20992
20993 * math/libm-test.inc: Added more nearbyint tests.
20994 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
20995 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
20996 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
20997 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
20998
ad8ac1bd
RL
209992011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21000
21001 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21002 FD_CLOEXEC.
21003
1d3e4b61
UD
210042011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21005
21006 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21007 Add wcscpy-ssse3 wcscpy-c.
21008 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21009 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21010 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21011 * sysdeps/x86_64/wcschr.S: New file.
21012 * sysdeps/x86_64/wcsrchr.S: New file.
21013 * string/test-strcmp.c: Remove checking of wcscmp function for
21014 wrong alignments.
21015 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21016 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21017 wcsrchr-sse2 wcsrchr-c.
21018 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21019 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21020 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21021 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21022 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21023 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21024 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21025 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21026 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21027 * wcsmbc/wcschr.c (WCSCHR): New macro.
21028
5b330a2d
UD
210292011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21030
21031 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21032 * wcsmbs/test-wcsrchr.c: New file.
21033 * string/test-strrchr.c: Add wcsrchr support.
21034 (WIDE): New macro.
21035 * wcsmbs/test-wcscpy.c: New file.
21036 * string/test-strcpy.c: Add wcscpy support.
21037 (WIDE): New macro.
26428b7c 21038
f039c043
UD
210392011-12-10 Ulrich Drepper <drepper@gmail.com>
21040
21041 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21042 the inner loop.
21043
850fb039
AS
210442011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21045
21046 [BZ #13472]
21047 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21048
4efbd5cb
UD
210492011-12-04 Ulrich Drepper <drepper@gmail.com>
21050
52ff5dd0 21051 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 21052 Minor optimizations.
52ff5dd0 21053
4efbd5cb
UD
21054 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21055 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21056 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21057
8a426e12
UD
210582011-12-03 Ulrich Drepper <drepper@gmail.com>
21059
aff2453d
UD
21060 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21061 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21062 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21063 for gcc to avoid warnings.
21064 * inet/Makefile (tests): Add tst-checks.
21065 * inet/tst-checks.c: New file.
21066
21067 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21068 warning.
21069
21070 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21071 __wmemcmp_sse2.
21072
21073 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21074 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21075
8a426e12
UD
21076 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21077
9bea3473
UD
210782011-12-02 Ulrich Drepper <drepper@gmail.com>
21079
3a965496
UD
21080 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21081 problem.
21082
9bea3473
UD
21083 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21084
f101631b
UD
210852011-11-29 Joseph Myers <joseph@codesourcery.com>
21086
21087 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21088 conditional on GCC version.
21089 (__arch_compare_and_exchange_val_8_acq)
21090 (__arch_compare_and_exchange_val_16_acq)
21091 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21092 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21093 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21094
a98275aa
UD
210952011-12-02 Joseph Myers <joseph@codesourcery.com>
21096
21097 * sysdeps/sh/backtrace.c: New file.
21098
d4cc29a2
AS
210992011-12-02 Andreas Schwab <schwab@redhat.com>
21100
21101 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21102 parenthesis.
21103
6257af2d
AS
211042011-12-01 Andreas Schwab <schwab@redhat.com>
21105
21106 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21107 falling back to utime.
21108
b5f44c1a
AS
211092011-11-30 Andreas Schwab <schwab@redhat.com>
21110
21111 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21112 expectations for float.
21113
f3a6cc0a
AS
211142011-11-29 Andreas Schwab <schwab@redhat.com>
21115
21116 * locale/weight.h (findidx): Add parameter len.
21117 * locale/weightwc.h (findidx): Likewise.
21118 * posix/fnmatch_loop.c (FCT): Adjust caller.
21119 * posix/regcomp.c (build_equiv_class): Likewise.
21120 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21121 * posix/regexec.c (check_node_accept_bytes): Likewise.
21122 * string/strcoll_l.c (STRCOLL): Likewise.
21123 * string/strxfrm_l.c (STRXFRM): Likewise.
21124
9d65ea3a
UD
211252011-11-17 Ulrich Drepper <drepper@gmail.com>
21126
21127 * Makefile.in: Remove CVSOPT handling.
21128 * configure.in: Remove use of AC_REVISION.
21129 * iconvdata/Makefile (distribute): No need to filter out CVS.
21130 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21131 handling.
21132
5583a086
AS
211332011-11-16 Andreas Schwab <schwab@redhat.com>
21134
21135 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21136 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21137 [USE_AS_STRNCASECMP_L]: Likewise.
21138 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21139 NO_TLS_DIRECT_SEG_REFS.
21140 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21141 Fix argument offsets for non-PIC.
21142 [USE_AS_STRNCASECMP_L]: Likewise.
21143 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21144 NO_TLS_DIRECT_SEG_REFS.
21145
d62a8200
UD
211462011-11-15 Ulrich Drepper <drepper@gmail.com>
21147
9d65ea3a 21148 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
21149 O_CLOEXEC.
21150 * locale/loadlocale.c (_nl_load_locale): Likewise.
21151
09f93bd3
AS
211522011-11-15 Andreas Schwab <schwab@redhat.com>
21153
446514f9
AS
21154 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21155 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21156 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21157 (SYSCALL_GETTIME): Set errno on error.
21158
09f93bd3
AS
21159 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21160 count references to noai6ai_cached.
21161
312be3f9
UD
211622011-11-15 Ulrich Drepper <drepper@gmail.com>
21163
21164 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21165
21166 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21167 FD_CLOEXEC for /proc/self/maps.
21168
21169 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21170 FD_CLOEXEC for /proc/meminfo.
21171
21172 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21173 gai.conf.
21174
21175 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21176 FD_CLOEXEC for given file.
21177
21178 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21179
21180 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21181 FD_CLOEXEC for /etc/hosts.
21182 (_gethtent): Likewise.
21183
21184 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21185
21186 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21187 cancellation and set FD_CLOEXEC for /etc/netgroup.
21188
21189 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21190 reading /etc/publickey.
21191
21192 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21193 allow cancellation when reading /etc/group.
21194
21195 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21196 cancellation.
21197 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21198
21199 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21200 when using data file.
21201
21202 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21203
21204 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21205 (write_nis_obj): Use "c" and "e" in fopen.
21206
21207 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21208
21209 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21210
21211 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21212
21213 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21214
21215 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21216 locale.alias.
21217
21218 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21219
21220 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21221
21222 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21223
21224 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21225 file parsing and set FD_CLOEXEC.
21226
82af0fa8
UD
212272011-11-14 Ulrich Drepper <drepper@gmail.com>
21228
21229 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21230
a5fb313c
AS
212312011-11-14 Andreas Schwab <schwab@redhat.com>
21232
21233 * malloc/arena.c (arena_get2): Don't call reused_arena when
21234 _int_new_arena failed.
21235
6abf3465
UD
212362011-11-14 Ulrich Drepper <drepper@gmail.com>
21237
21238 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21239 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21240 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21241 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21242 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21243 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21244 to compile strcasecmp and strncasecmp.
21245 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21246 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21247
21248 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21249
76e3966e
UD
212502011-11-13 Ulrich Drepper <drepper@gmail.com>
21251
21252 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21253 locale-defines.sym to gen-as-const-headers.
21254 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21255 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21256 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21257 to compile strcasecmp and strncasecmp.
21258 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21259 strcasecmp_l and strncasecmp_l.
21260 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21261 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21262 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21263 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21264 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21265 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21266 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21267 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21268 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21269 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21270 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21271
ab26144e
UD
212722011-11-12 Ulrich Drepper <drepper@gmail.com>
21273
7edb22ef
UD
21274 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21275 result of SYSDEP_GETTIME_CPU to retval.
21276 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21277 parameter list to macro. Remove trailing semicolon. Adjust users.
21278
9694fc44
UD
21279 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21280 variable.
21281
8ad89ef8
UD
21282 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21283 mantissa words.
21284 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21285
0c822ef9
UD
21286 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21287 from unused variable.
21288
874e0564
UD
21289 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21290 DWARF definitions.
21291 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21292 for assembling.
21293
3a2edc79
UD
21294 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21295 over namespaces.
21296
f3c2577f
UD
21297 * sunrpc/rpc_prot.c (rejected): Fix case value.
21298
294ce126
UD
21299 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21300 unsigned long long int to avoid warnings in shift.
21301
5e2b63c6
UD
21302 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21303 of use of trans.
21304 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21305 variable tmp.
21306
e7f4b08e
UD
21307 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21308 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21309 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21310
ab26144e
UD
21311 * nis/nis_table.c (nis_list): Use variable of correct type for
21312 result of __follow_path call.
21313
8a6d5255
AZ
213142011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21315
21316 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21317 of math functions ceil, trunc, floor, round, and sqrt, when
21318 avaliable on the platform.
21319 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21320 name clash.
21321 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21322 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21323 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21324
aaddc98c
MP
213252011-10-30 Marek Polacek <mpolacek@redhat.com>
21326
21327 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21328 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21329
95b7042b
RM
213302011-11-11 Roland McGrath <roland@hack.frob.com>
21331
21332 * include/unistd.h: Fix __readlink return type.
21333 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21334
57769839
UD
213352011-11-11 Ulrich Drepper <drepper@gmail.com>
21336
21337 * stdlib/ucontext.h: Undo last change for makecontext.
21338
edc5984d
AS
213392011-11-11 Andreas Schwab <schwab@redhat.com>
21340
98591e58
AS
21341 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21342
edc5984d
AS
21343 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21344 * setjmp/setjmp.h: Mark functions as non-leaf.
21345 * setjmp/bits/setjmp2.h: Likewise.
21346 * stdlib/ucontext.h: Likewise.
21347
77cdc054
AS
213482011-11-10 Andreas Schwab <schwab@redhat.com>
21349
21350 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21351 (reused_arena): Don't check arena limit.
21352 (arena_get2): Atomically check arena limit.
21353
fe72eebd
UD
213542011-11-08 Ulrich Drepper <drepper@gmail.com>
21355
5f078c32
UD
21356 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21357 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21358
fe72eebd
UD
21359 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21360 instructions.
21361
ae1bc2fa
AS
213622011-11-07 Andreas Schwab <schwab@redhat.com>
21363
7583a88d
AS
21364 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21365 handler when locking.
21366
ae1bc2fa
AS
21367 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21368 Fix size of allocated buffer.
21369
10fb0bfa
AS
213702011-11-04 Andreas Schwab <schwab@redhat.com>
21371
998832a4
AS
21372 [BZ #10103]
21373 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21374 declarations for long double functions.
21375 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21376
10fb0bfa
AS
21377 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21378
3d7ba52b
AS
213792011-11-03 Andreas Schwab <schwab@redhat.com>
21380
a9ae54a1
AS
21381 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21382 installed.
21383
3d7ba52b
AS
21384 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21385 is disabled.
21386
bc8db248
ST
213872011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21388
21389 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21390
45b96dd6
AS
213912011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21392
647776f6
AS
21393 * include/alloca.h (stackinfo_alloca_round): Define.
21394 (extend_alloca): Use it.
21395 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21396 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21397 here.
21398
d91a8b93
AS
21399 * scripts/check-local-headers.sh: Ignore libaudit.h.
21400
45b96dd6
AS
21401 * nscd/Makefile (extra-objs): Make recursively expanded.
21402
432d41ce
UD
214032011-11-01 Ulrich Drepper <drepper@gmail.com>
21404
34372fc6
UD
21405 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21406 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21407
fadb59f8
UD
21408 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21409 * posix/tst-rfc3484-2.c: Likewise.
21410 * posix/tst-rfc3484-3.c: Likewise.
21411
78239589
UD
21412 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21413 process_vm_writev.
21414 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21415 process_vm_writev.
21416 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21417 process_vm_writev from libc using GLIBC_2.15 version.
21418
432d41ce
UD
21419 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21420
02f9c6cf
PP
214212011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21422
21423 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21424 stack usage.
21425
3a2c0242
UD
214262011-10-31 Ulrich Drepper <drepper@gmail.com>
21427
f4ec4833
UD
21428 [BZ #13367]
21429 * nss/getent.c (initgroups_keys): Show error message in case no group
21430 names are given.
21431
3a2c0242
UD
21432 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21433 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21434 __bump_nl_timestamp.
21435 * nscd/connections (nscd_init): When host database is served open
21436 netlink socket and request notification about configuration changes.
21437 (main_loop_poll): Track netlink file descriptor and bump timestamp
21438 in case data becomes available.
21439 (main_loop_epoll): Likewise.
21440 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21441 (database_pers_head): Add extra_data fileds.
21442 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21443 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21444 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21445 Adjust caller.
21446 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21447 in6ai data, call __free_in6ai.
21448 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21449 Add -DHAVE_NETLINK.
21450 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21451 interface information. Reuse previous data if netlink timestamp
21452 is not changed.
21453 (__bump_nl_timestamp): New function.
21454 (__free_in6ai): New function.
21455
636064eb
UD
214562011-10-30 Ulrich Drepper <drepper@gmail.com>
21457
21458 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21459 close_not_cancel_no_status here.
21460 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21461
9beb2334
UD
214622011-10-29 Ulrich Drepper <drepper@gmail.com>
21463
6ef76f3b
UD
21464 [BZ #13276]
21465 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21466 return value.
21467
0ffc4f3e 21468 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
21469 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21470 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21471
cb95113e
UD
214722011-07-03 Andreas Jaeger <aj@suse.de>
21473
21474 [BZ #10709]
21475 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21476 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21477 * math/libm-test.inc (sin_test): Add test case.
21478
a1b560ff
UD
214792011-10-29 Ulrich Drepper <drepper@gmail.com>
21480
c9aaface
UD
21481 [BZ #13337]
21482 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21483 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21484
d272e7f1
UD
21485 * elf/chroot_canon.c (chroot_canon): Cleanups.
21486
1bc33071
UD
21487 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21488
1760874d
TJ
21489 [BZ #13335]
21490 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21491 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21492
51d91b18
UD
21493 * string/test-strchr.c: Make usable for strchrnul testing.
21494 * string/test-strchrnul.c: New file.
21495 * string/Makefile (strop-tests): Add strchrnul.
21496
a1b560ff 21497 * po/it.po: Update from translation team.
b611fb81 21498 * po/es.po: Likewise.
a1b560ff 21499
a5b81e1f
UD
215002011-10-28 Ulrich Drepper <drepper@gmail.com>
21501
fd52bc6d
UD
21502 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21503 the three constants needed as parameters. Drop the others.
21504 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21505 __m128i_strloadu_tolower.
52e4b9eb
UD
21506 Create and initialize variable zero and use it in all the places
21507 where _mm_setzero_si128 was used.
fd52bc6d 21508
a5b81e1f
UD
21509 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21510 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21511 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21512 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21513 anymore.
21514 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21515 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21516 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21517 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21518 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21519 __mpranred, __mptan.
21520 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21521 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21522 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21523 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21524 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21525 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21526 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21527 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21528 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21529
b4343346
AS
215302011-10-28 Andreas Schwab <schwab@redhat.com>
21531
0c92d8a8
AS
21532 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21533 redefine if SHARED.
21534 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21535
b4343346
AS
21536 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21537 wide char related routines to wcsmbs subdir.
21538
3871f58f
AS
215392011-10-27 Andreas Schwab <schwab@redhat.com>
21540
21541 [BZ #13344]
21542 * misc/sys/cdefs.h (__THROWNL): Define.
21543 * posix/unistd.h: Use __THREADNL instead of __THREAD
21544 for memory synchronization functions.
21545
94d44d9f
RM
215462011-10-26 Roland McGrath <roland@hack.frob.com>
21547
21b64b15 21548 [BZ #13349]
94d44d9f
RM
21549 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21550 doesn't exist.
21551 * manual/stdio.texi (Obstack Streams): Node removed.
21552
f6ce9294
AS
215532011-10-26 Andreas Schwab <schwab@redhat.com>
21554
80479147
AS
21555 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21556 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21557 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21558
f6ce9294
AS
21559 * math/math_private.h (math_force_eval): Allow non-addressable
21560 arguments.
21561 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21562
618280a1
UD
215632011-10-25 Ulrich Drepper <drepper@gmail.com>
21564
e0016b11
UD
21565 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21566 file is not needed.
21567
21568 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21569 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21570 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21571 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21572 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21573 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21574 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21575 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21576 Add AVX variants.
21577 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21578 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21579 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21580 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21581 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21582 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21583 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21584 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21585 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21586 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21587 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21588 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21589 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21590 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21591 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21592 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21593 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21594 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21595 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21596
21597 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21598 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21599
618280a1
UD
21600 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21601 place. Use VEX encoding when compiling for AVX.
21602
37822576
AS
216032011-10-25 Andreas Schwab <schwab@redhat.com>
21604
1f1e1947
AS
21605 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21606 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21607
37822576
AS
21608 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21609
31ea014d
UD
216102011-10-25 Ulrich Drepper <drepper@gmail.com>
21611
d7826aa1 21612 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 21613 useless if() expression.
d7826aa1
UD
21614 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21615 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21616 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21617 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21618 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21619 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21620 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21621 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21622 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21623 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21624 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21625 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21626 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21627 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21628 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21629 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21630 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21631 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21632 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21633
31ea014d
UD
21634 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21635
16437fec
AS
216362011-10-25 Andreas Schwab <schwab@redhat.com>
21637
21638 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21639 condition.
21640 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21641
31d3cc00
UD
216422011-10-25 Ulrich Drepper <drepper@gmail.com>
21643
21644 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21645 .text section. Avoid duplicate constants.
21646 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21647 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21648 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21649 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21650 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21651 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21652 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21653 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21654 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21655 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21656 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21657 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21658 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21659 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21660 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21661 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21662 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21663 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21664 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21665 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21666 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21667 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21668 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21669 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21670 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21671 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21672 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21673 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21674 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21675 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21676 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21677 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21678 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21679 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21680 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21681 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21682 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21683 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21684 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21685 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21686 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21687 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21688 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21689 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21690 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21691
58985aa9
UD
216922011-10-24 Ulrich Drepper <drepper@gmail.com>
21693
202c9deb
UD
21694 * sysdeps/x86_64/dla.h: Move to ...
21695 * sysdeps/x86_64/fpu/dla.h: ...here.
21696 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21697 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 21698
af968f62
UD
21699 * config.make.in: Add have-mfma4 entry.
21700 * configure.in: Substitute libc_cv_cc_fma4.
21701 * math/Makefile (dbl-only-routines): Add sincostab.
21702 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21703 Use __sincostab not sincos.
21704 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21705 name is a macro.
21706 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21707 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21708 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21709 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21710 using __copysign.
21711 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21712 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21713 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21714 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21715 and __inv.
21716 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21717 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21718 __copysign.
21719 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21720 define aliases when function name is a macro.
21721 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21722 sysdeps/ieee754/dbl-64/sincos.tbl.
21723 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21724 fma4-enabled routines.
21725 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21726 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21727 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21728 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21729 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21730 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21731 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21732 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21733 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21734 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21735 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21736 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21737 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21738 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21739 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21740 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21741 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21742 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21743 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21744 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21745 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21746 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21747 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21748 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21749 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21750 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21751 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21752 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21753 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21754 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21755
58985aa9
UD
21756 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21757 rename.
21758 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21759 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21760 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21761 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21762 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21763 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21764 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21765 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21766
a201fbcf
AS
217672011-10-24 Andreas Schwab <schwab@redhat.com>
21768
21769 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21770
fc2ee42a
LD
217712011-10-23 Ulrich Drepper <drepper@gmail.com>
21772
bb3129bd
UD
21773 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21774
0275fff8
UD
21775 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21776 prediction.
21777 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21778
2fa2ae85
UD
21779 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21780 Remove unused variable magic_bits.
21781 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21782
fc2ee42a
LD
21783 * string/strnlen.c: Define and use STRNLEN macro.
21784 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21785 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21786 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21787 * wcsmbs/wcslen.c: Define and use WCSLEN.
21788 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21789 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21790 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21791 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21792 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21793 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21794 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21795
ce7dd29f
LD
217962011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21797
21798 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21799 strnlen-sse2-no-bsf.
21800 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21801 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21802 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21803 Add strnlen support.
21804 (USE_AS_STRNLEN): New macro.
21805 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21806 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21807 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21808 * sysdeps/x86_64/wcslen.S: New file.
21809
979c70a3
MZ
218102011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21811
21812 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21813 XMM-moves are used for copying on small sizes.
21814
2d09f82f
LD
218152011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21816
21817 * wcsmbs/Makefile (strop-tests): Add wcschr.
21818 * wcsmbs/test-wcschr.c: New file.
21819 * string/test-strchr.c: Update.
21820 Add wcschr support.
21821 (WIDE): New macro.
21822
619fccca
LD
218232011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21824
2d09f82f 21825 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
21826 * wcsmbs/test-wcslen.c: New file.
21827 * string/test-strlen.c: Update.
21828 Add wcslen support.
21829 (WIDE): New macro.
21830
09f699ea
UD
218312011-10-23 Ulrich Drepper <drepper@gmail.com>
21832
21833 * po/it.po: Update from translation team.
21834
95584d3b
LD
218352011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21836
21837 * sysdeps/x86_64/wcscmp.S: Update.
21838 Fix wrong comparison semantics.
21839 wcscmp shall use signed comparison not unsigned.
21840 Don't use substraction to avoid overflow bug.
21841 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
21842 * wcsmbc/wcscmp.c: Likewise.
21843 * string/test-strcmp.c: Likewise.
21844 Add new tests to check cases with negative values.
21845
c8b3296b
UD
218462011-10-23 Ulrich Drepper <drepper@gmail.com>
21847
21848 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
21849 * sysdeps/x86_64/dla.h: ...here. New file.
21850 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
21851 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21852 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21853 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21854 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21855 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21856 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21857 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21858 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21859
246ad57a
AS
218602011-10-23 Andreas Schwab <schwab@linux-m68k.org>
21861
21862 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
21863 __ynl_finite aliases.
21864
a1a87169
UD
218652011-10-22 Ulrich Drepper <drepper@gmail.com>
21866
0d355eb7
UD
21867 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21868
a1a87169
UD
21869 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
21870 define DLA_FMA.
21871 [DLA_FMA] (EMULV): Use DLA_FMA.
21872 [DLA_FMA] (MUL12): Use EMULV.
21873 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
21874 that are not needed.
21875 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21876 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21877 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21878 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21879 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21880 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21881 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21882
ee2aafe0
AS
218832011-10-22 Andreas Schwab <schwab@linux-m68k.org>
21884
21885 * math/s_nan.c: Undef __nan.
21886 * math/s_nanf.c: Undef __nanf.
21887 * math/s_nanl.c: Undef __nanl.
21888 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
21889 "math_private.h".
21890
bc62c2fb
UD
218912011-10-22 Ulrich Drepper <drepper@gmail.com>
21892
77425c63
UD
21893 * math/s_catan.c: Add branch predictions.
21894 * math/s_catanf.c: Likewise.
21895 * math/s_catanh.c: Likewise.
21896 * math/s_catanhf.c: Likewise.
21897 * math/s_catanhl.c: Likewise.
21898 * math/s_catanl.c: Likewise.
21899 * math/s_cexp.c: Likewise.
21900 * math/s_cexpf.c: Likewise.
21901 * math/s_cexpl.c: Likewise.
21902 * math/s_clog.c: Likewise.
21903 * math/s_clog10.c: Likewise.
21904 * math/s_clog10f.c: Likewise.
21905 * math/s_clog10l.c: Likewise.
21906 * math/s_clogf.c: Likewise.
21907 * math/s_clogl.c: Likewise.
21908 * math/s_csqrt.c: Likewise.
21909 * math/s_csqrtf.c: Likewise.
21910 * math/s_csqrtl.c: Likewise.
21911 * math/s_ctanf.c: Likewise.
21912 * math/s_ctanh.c: Likewise.
21913 * math/s_ctanhf.c: Likewise.
21914 * math/s_ctanhl.c: Likewise.
21915 * math/s_ctanl.c: Likewise.
21916
bc62c2fb
UD
21917 * math/math_private.h: Define __nan, __nanf, __nanl.
21918 * math/s_cacosh.c: Include <math_private.h>.
21919 * math/s_cacoshl.c: Likewise.
21920 * math/s_casinh.c: Likewise.
21921 * math/s_casinhf.c: Likewise.
21922 * math/s_casinhl.c: Likewise.
21923 * math/s_ccos.c: Rely entire on ccosh.
21924 * math/s_ccosf.c: Rely entire on ccoshf.
21925 * math/s_ccosl.c: Rely entirely on ccoshl.
21926 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
21927 Remove tests for FE_INVALID.
21928 * math/s_ccoshf.c: Likewise.
21929 * math/s_ccoshl.c: Likewise.
21930 * math/s_csin.c: Likewise.
21931 * math/s_csinf.c: Likewise.
21932 * math/s_csinh.c Likewise.
21933 * math/s_csinhf.c: Likewise.
21934 * math/s_csinhl.c: Likewise.
21935 * math/s_csinl.c: Likewise.
21936 * math/s_ctan.c: Likewise.
21937 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
21938 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
21939 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
21940
8ec250a4
UD
219412011-10-21 Ulrich Drepper <drepper@gmail.com>
21942
c196fed8
UD
21943 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
21944 compilation problems.
21945
8ec250a4
UD
21946 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
21947 __builtin_expect.
21948
8d4f46c6
UD
219492011-10-20 Ulrich Drepper <drepper@gmail.com>
21950
ed72b654
UD
21951 * sysdeps/i386/configure.in: Test for -mfma4 option.
21952 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
21953 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
21954 COMMON_CPUID_INDEX_80000001.
21955 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
21956 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
21957 use it if FMA3 is not supported.
21958 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
21959
8d4f46c6
UD
21960 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
21961 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
21962
d45c60c2
AS
219632011-10-20 Andreas Schwab <schwab@redhat.com>
21964
21965 [BZ #12892]
21966 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
21967 it would create a cycle with a link time dependency.
21968
d9a4d2ab
UD
219692011-10-19 Ulrich Drepper <drepper@gmail.com>
21970
855d1560
UD
21971 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
21972 instruction.
21973 * string/Makefile (strop-tests): Add rawmemchr.
21974 * string/test-rawmemchr.c: New file.
21975
d9a4d2ab
UD
21976 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
21977 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
21978 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
21979 when compiling str{,n}casecmp and when AVX is available. Hook up
21980 new optimized code in initializers.
21981
8f3b1ffe
AS
219822011-10-19 Andreas Schwab <schwab@redhat.com>
21983
21984 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
21985 __feraiseexcept instead of feraiseexcept.
21986
d38f1dba
UD
219872011-10-18 Ulrich Drepper <drepper@gmail.com>
21988
d9a8d0ab
UD
21989 * math/math_private.h: Define defaults for libc_fetestexcept and
21990 libc_feupdateenv.
21991 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
21992 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
21993 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
21994 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21995 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
21996 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
21997 libc_fetestexcept and libc_feupdateenv.
21998
4855e3dd
UD
21999 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22000 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22001 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22002 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22003 libc_feholdexcept_setround.
22004
581d30e3
UD
22005 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22006 Add s_nearbyint-c and s_nearbyintf-c.
22007 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22008 nearbyintf inlines.
22009 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22010 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22011 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22012 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22013
d38f1dba
UD
22014 * math/math_private.h: Define defaults for libc_fegetround,
22015 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22016 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22017 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22018 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22019 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22020 standard functions.
22021 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22022 Remove comments and hacks for old compiler versions.
22023 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22024 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22025 libc_feholdexceptl.
22026
caa6c9d8
AS
220272011-10-18 Andreas Schwab <schwab@redhat.com>
22028
22029 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
22030 (__feraiseexcept_renamed): Add __NTH.
22031 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
22032 namespace violations.
22033
97c066e6
UD
220342011-10-17 Ulrich Drepper <drepper@gmail.com>
22035
99ce7b04
UD
22036 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22037
1004d182
UD
22038 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22039
228a984d
UD
22040 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22041 recently added interfaces.
22042 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22043
c8553a6a
UD
22044 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22045 about macro parameter expansion.
22046
ed22dcf6
UD
22047 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22048 __NO_MATH_INLINES is defined. Cleanups.
22049
22050 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22051 and __floorf is target has SSE4.1.
22052 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22053 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22054 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22055 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22056
b171c137
UD
22057 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22058 name.
22059 (floorf): Likewise.
22060
97c066e6
UD
22061 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22062
629f62ef
AS
220632011-10-17 Andreas Schwab <schwab@redhat.com>
22064
49a43d80
AS
22065 * misc/sys/cdefs.h: Fix last change.
22066
629f62ef
AS
22067 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22068 database lookup.
22069
e453f6cd
UD
220702011-10-16 Ulrich Drepper <drepper@gmail.com>
22071
aa78043a
UD
22072 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22073
ad0f5cad
UD
22074 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22075 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22076 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22077 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22078 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22079 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22080 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22081 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22082 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22083 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22084 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22085 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22086 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22087 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22088 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22089 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22090 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22091 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22092 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22093 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22094 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22095 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22096
22097 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22098 ceil, ceilf, floor, floorf.
22099
22100 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22101 Perform IRELATIVE relocations last.
22102
e453f6cd
UD
22103 * elf/do-rel.h: Add another parameter nrelative, replacing the
22104 local variable with the same name. Change name of the function
22105 to end in Rel or Rela (uppercase).
22106 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22107 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22108 elf_dynamic_do_##reloc function.
22109
fd5bdc09
UD
221102011-10-15 Ulrich Drepper <drepper@gmail.com>
22111
79b195b5
UD
22112 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22113 is sufficient, at least on modern CPUs.
22114
d4a28569
UD
22115 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22116
b61099b5
UD
22117 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22118 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22119
bcf01e6d
UD
22120 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22121 __expl_finite.
22122 * math/bits/math-finite.h: Add entries for exp.
22123 * math/e_expl.c: Add __*_finite alias.
22124 * sysdeps/i386/fpu/e_exp.S: Likewise.
22125 * sysdeps/i386/fpu/e_expf.S: Likewise.
22126 * sysdeps/i386/fpu/e_expl.c: Likewise.
22127 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22128 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22129 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22130 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22131 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22132 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22133 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22134
ba1a0d59
UD
22135 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22136 is sufficient, at least on modern CPUs.
22137
fd5bdc09
UD
22138 * ctype/ctype-info.c (__ctype_init): Define.
22139 * include/ctype.h (__ctype_init): Declare.
22140 (__ctype_b_loc): The variable is always initialized.
22141 (__ctype_toupper_loc): Likewise.
22142 (__ctype_tolower_loc): Likewise.
22143 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22144 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22145
7872cfb0
AS
221462011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22147
b468825a
AS
22148 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22149
7872cfb0
AS
22150 * configure.in: Also look in $cxxmachine/include for C++ system
22151 headers.
22152
be13f7bf
LD
221532011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22154
22155 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22156 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22157 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22158 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22159 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22160 (USE_AS_WMEMCMP): New macro.
22161 Fixing indents.
22162 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22163 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22164 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22165 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22166 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22167 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22168 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22169 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22170 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22171 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22172 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22173 (USE_AS_WMEMCMP): New macro.
22174 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22175 * sysdeps/string/test-memcmp.c: Update.
22176 Fix simple_wmemcmp.
22177 Add new tests.
22178 * wcsmbs/wmemcmp.c: Update.
22179 (WMEMCMP): New macro.
22180 Fix overflow bug.
22181
556a2007
AJ
221822011-10-12 Andreas Jaeger <aj@suse.de>
22183
22184 [BZ #13268]
22185 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22186
538faaa7
UD
221872011-10-15 Ulrich Drepper <drepper@gmail.com>
22188
ab6737ff
UD
22189 * libio/iofwide.c (do_length): Avoid warning.
22190
538faaa7
UD
22191 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22192
396a21b1
UD
221932011-10-14 Ulrich Drepper <drepper@gmail.com>
22194
cdf2901f
UD
22195 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22196
38ad40ce
UD
22197 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22198 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22199 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22200 * sysdeps/i386/i686/fpu/e_log.S: New file.
22201 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22202 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22203
396a21b1
UD
22204 * ctype/ctype.h: Add support for inlined isXXX functions when
22205 compiling C++ code.
22206
6b1f68c9
AS
222072011-10-14 Andreas Schwab <schwab@redhat.com>
22208
349290c0
AS
22209 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22210
6b1f68c9
AS
22211 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22212
f2282d42
RM
222132011-10-13 Roland McGrath <roland@hack.frob.com>
22214
22215 [BZ #13291]
22216 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22217
5298ffa8
AS
222182011-10-13 Andreas Schwab <schwab@redhat.com>
22219
714fad23
AS
22220 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22221 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22222 feraiseexcept.
22223
81dcc7fb
AS
22224 * sysdeps/x86_64/memrchr.S: Check for zero size.
22225
5298ffa8
AS
22226 * string/stratcliff.c: Add memrchr tests.
22227
951fbcec
LD
222282011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22229
22230 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22231 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22232 rawmemchr-sse2 rawmemchr-sse2-bsf.
22233 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22234 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22235 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22236 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22237 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22238 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22239 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22240 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22241 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22242 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22243 * string/memrchr.c (MEMRCHR): New macro.
22244
0ac5ae23
UD
222452011-10-12 Ulrich Drepper <drepper@gmail.com>
22246
22247 Add integration with gcc's -ffinite-math-only and optimize wrapper
22248 functions in libm.
22249 * Versions.def: Define GLIBC_2.15 version for libm.
22250 * math/Makefile (headers): Add bits/math-finite.h.
22251 * math/bits/math-finite.h: New file.
22252 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22253 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22254 * math/e_acoshl.c: Add __*_finite alias.
22255 * math/e_acosl.c: Likewise.
22256 * math/e_asinl.c: Likewise.
22257 * math/e_atan2l.c: Likewise.
22258 * math/e_atanhl.c: Likewise.
22259 * math/e_coshl.c: Likewise.
22260 * math/e_exp10.c: Likewise.
22261 * math/e_exp10f.c: Likewise.
22262 * math/e_exp10l.c: Likewise.
22263 * math/e_exp2l.c: Likewise.
22264 * math/e_fmodl.c: Likewise.
22265 * math/e_gammal_r.c: Likewise.
22266 * math/e_hypotl.c: Likewise.
22267 * math/e_j0l.c: Likewise.
22268 * math/e_j1l.c: Likewise.
22269 * math/e_jnl.c: Likewise.
22270 * math/e_lgammal_r.c: Likewise.
22271 * math/e_log10l.c: Likewise.
22272 * math/e_log2l.c: Likewise.
22273 * math/e_logl.c: Likewise.
22274 * math/e_powl.c: Likewise.
22275 * math/e_sinhl.c: Likewise.
22276 * math/e_sqrtl.c: Likewise.
22277 * math/e_scalb.c: Completely rewritten and optimized.
22278 * math/e_scalbf.c: Likewise.
22279 * math/e_scalbl.c: Likewise.
22280 * math/w_acos.c: Likewise.
22281 * math/w_acosf.c: Likewise.
22282 * math/w_acosl.c: Likewise.
22283 * math/w_acosh.c: Likewise.
22284 * math/w_acoshf.c: Likewise.
22285 * math/w_acoshl.c: Likewise.
22286 * math/w_asin.c: Likewise.
22287 * math/w_asinf.c: Likewise.
22288 * math/w_asinl.c: Likewise.
22289 * math/w_atan2.c: Likewise.
22290 * math/w_atan2f.c: Likewise.
22291 * math/w_atan2l.c: Likewise.
22292 * math/w_atanh.c: Likewise.
22293 * math/w_atanhf.c: Likewise.
22294 * math/w_atanhl.c: Likewise.
22295 * math/w_exp10.c: Likewise.
22296 * math/w_exp10f.c: Likewise.
22297 * math/w_exp10l.c: Likewise.
22298 * math/w_fmod.c: Likewise.
22299 * math/w_fmodf.c: Likewise.
22300 * math/w_fmodl.c: Likewise.
22301 * math/w_j0.c: Likewise.
22302 * math/w_j0f.c: Likewise.
22303 * math/w_j0l.c: Likewise.
22304 * math/w_j1.c: Likewise.
22305 * math/w_j1f.c: Likewise.
22306 * math/w_j1l.c: Likewise.
22307 * math/w_jn.c: Likewise.
22308 * math/w_jnf.c: Likewise.
22309 * math/w_log.c: Likewise.
22310 * math/w_logf.c: Likewise.
22311 * math/w_logl.c: Likewise.
22312 * math/w_log10.c: Likewise.
22313 * math/w_log10f.c: Likewise.
22314 * math/w_log10l.c: Likewise.
22315 * math/w_log2.c: Likewise.
22316 * math/w_log2f.c: Likewise.
22317 * math/w_log2l.c: Likewise.
22318 * math/w_pow.c: Likewise.
22319 * math/w_powf.c: Likewise.
22320 * math/w_powl.c: Likewise.
22321 * math/w_remainder.c: Likewise.
22322 * math/w_remainderf.c: Likewise.
22323 * math/w_remainderl.c: Likewise.
22324 * math/w_scalb.c: Likewise.
22325 * math/w_scalbf.c: Likewise.
22326 * math/w_scalbl.c: Likewise.
22327 * math/w_sqrt.c: Likewise.
22328 * math/w_sqrtf.c: Likewise.
22329 * math/w_sqrtl.c: Likewise.
22330 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22331 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22332 used.
22333 * math/math_private.h: Declare __kernel_standard_f.
22334 * math/w_cosh.c: Remove cruft and optimize a bit.
22335 * math/w_coshf.c: Likewise.
22336 * math/w_coshl.c: Likewise.
22337 * math/w_exp2.c: Likewise.
22338 * math/w_exp2f.c: Likewise.
22339 * math/w_exp2l.c: Likewise.
22340 * math/w_hypot.c: Likewise.
22341 * math/w_hypotf.c: Likewise.
22342 * math/w_hypotl.c: Likewise.
22343 * math/w_lgamma.c: Likewise.
22344 * math/w_lgamma_r.c: Likewise.
22345 * math/w_lgammaf.c: Likewise.
22346 * math/w_lgammaf_r.c: Likewise.
22347 * math/w_lgammal.c: Likewise.
22348 * math/w_lgammal_r.c: Likewise.
22349 * math/w_sinh.c: Likewise.
22350 * math/w_sinhf.c: Likewise.
22351 * math/w_sinhl.c: Likewise.
22352 * math/w_tgamma.c: Likewise.
22353 * math/w_tgammaf.c: Likewise.
22354 * math/w_tgammal.c: Likewise.
22355 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22356 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22357 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22358 Minor optimizations. Pretty printing. Remove cruft.
22359 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22360 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22361 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22362 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22363 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22364 * sysdeps/i386/fpu/e_asin.S: Likewise.
22365 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22366 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22367 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22368 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22369 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22370 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22371 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22372 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22373 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22374 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22375 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22376 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22377 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22378 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22379 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22380 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22381 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22382 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22383 * sysdeps/i386/fpu/e_log.S: Likewise.
22384 * sysdeps/i386/fpu/e_log10.S: Likewise.
22385 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22386 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22387 * sysdeps/i386/fpu/e_log2.S: Likewise.
22388 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22389 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22390 * sysdeps/i386/fpu/e_logf.S: Likewise.
22391 * sysdeps/i386/fpu/e_logl.S: Likewise.
22392 * sysdeps/i386/fpu/e_pow.S: Likewise.
22393 * sysdeps/i386/fpu/e_powf.S: Likewise.
22394 * sysdeps/i386/fpu/e_powl.S: Likewise.
22395 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22396 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22397 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22398 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22399 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22400 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22401 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22402 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22403 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22404 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22405 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22406 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22407 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22408 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22409 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22410 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22411 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22412 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22413 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22414 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22415 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22416 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22417 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22418 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22419 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22420 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22421 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22422 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22423 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22424 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22425 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22426 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22427 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22428 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22429 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22430 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22431 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22432 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22433 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22434 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22435 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22436 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22437 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22438 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22439 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22440 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22441 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22442 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22443 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22444 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22445 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22446 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22447 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22448 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22449 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22450 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22451 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22452 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22453 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22454 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22455 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22456 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22457 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22458 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22459 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22460 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22461 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22462 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22463 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22464 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22465 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22466 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22467 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22468 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22469 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22470 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22471 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22472 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22473 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22474 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22475 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22476 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22477 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22478 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22479 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22480 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22481 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22482 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22483 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22484 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22485 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22486 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22487 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22488 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22489 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22490 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22491 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22492 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22493 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22494 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22495 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22496 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22497 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22498 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22499 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22500 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22501 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22502 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22503 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22504 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22505 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22506 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22507 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22508 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22509 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22510 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22511 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22512 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22513 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22514 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22515 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22516 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22517 (__isnanf): Likewise.
22518 (__isinf_ns): Likewise.
22519 (__isinf_nsf): Likewise.
22520 (__finite): Likewise.
22521 (__finitef): Likewise.
22522 (__ieee754_sqrt): Define as macro.
22523 (__ieee754_sqrtf): Define as macro.
22524 (__ieee754_sqrtl): Define as macro.
22525 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22526 inlined copy.
22527 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22528 __FINITE_MATH_ONLY__ consistent.
22529 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22530
12cc2fcd
AS
225312011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22532
a843a204
AS
22533 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22534 of rawmemchr.
22535
12cc2fcd
AS
22536 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22537
c853acd5
UD
225382011-10-09 Ulrich Drepper <drepper@gmail.com>
22539
22540 * po/ja.po: Update from translation team.
22541
c658d255
RM
225422011-10-08 Roland McGrath <roland@hack.frob.com>
22543
110946e4
RM
22544 * locale/programs/locarchive.c (prepare_address_space): New function.
22545 (create_archive, enlarge_archive, open_archive): Use it.
22546
50604220
RM
22547 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22548 inside [SHARED], where it is used.
22549
c658d255
RM
22550 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22551
22552 * nss/getent.c (netgroup_keys): Remove unused variable.
22553 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22554
6a621eb7
UD
225552011-10-08 Ulrich Drepper <drepper@gmail.com>
22556
7edb55ce
UD
22557 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22558 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22559 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22560 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22561 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22562 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22563 * math/Makefile (libm-calls): Add s_isinf_ns.
22564 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22565 * math/multc3.c: Likewise.
22566 * math/s_casin.c: Likewise.
22567 * math/s_casinf.c: Likewise.
22568 * math/s_casinl.c: Likewise.
22569 * math/s_ccos.c: Likewise.
22570 * math/s_ccosf.c: Likewise.
22571 * math/s_ccosl.c: Likewise.
22572 * math/s_ctan.c: Likewise.
22573 * math/s_ctanf.c: Likewise.
22574 * math/s_ctanh.c: Likewise.
22575 * math/s_ctanhf.c: Likewise.
22576 * math/s_ctanhl.c: Likewise.
22577 * math/s_ctanl.c: Likewise.
22578 * math/w_fmod.c: Likewise.
22579 * math/w_fmodf.c: Likewise.
22580 * math/w_fmodl.c: Likewise.
22581 * math/w_remainder.c: Likewise.
22582 * math/w_remainderf.c: Likewise.
22583 * math/w_remainderl.c: Likewise.
22584 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22585 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22586 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22587 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22588 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22589 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22590 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22591 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22592
187da0ae
UD
22593 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22594 of the number.
22595 * stdio-common/printf_fphex.c: Likewise.
22596 * stdio-common/printf_size.c: Likewise.
22597
9277c064
UD
22598 * math/e_exp10.c: Include math_private.h using <...> not "...".
22599 * math/e_exp10f.c: Likewise.
22600 * math/e_exp10l.c: Likewise.
22601 * math/e_exp2l.c: Likewise.
22602 * math/e_j0l.c: Likewise.
22603 * math/e_j1l.c: Likewise.
22604 * math/e_jnl.c: Likewise.
22605 * math/e_lgammal_r.c: Likewise.
22606 * math/e_rem_pio2l.c: Likewise.
22607 * math/e_scalb.c: Likewise.
22608 * math/e_scalbf.c: Likewise.
22609 * math/e_scalbl.c: Likewise.
22610 * math/k_cosl.c: Likewise.
22611 * math/k_sinl.c: Likewise.
22612 * math/k_tanl.c: Likewise.
22613 * math/s_cacoshf.c: Likewise.
22614 * math/s_catan.c: Likewise.
22615 * math/s_catanf.c: Likewise.
22616 * math/s_catanh.c: Likewise.
22617 * math/s_catanhf.c: Likewise.
22618 * math/s_catanhl.c: Likewise.
22619 * math/s_catanl.c: Likewise.
22620 * math/s_ccosh.c: Likewise.
22621 * math/s_ccoshf.c: Likewise.
22622 * math/s_ccoshl.c: Likewise.
22623 * math/s_cexp.c: Likewise.
22624 * math/s_cexpf.c: Likewise.
22625 * math/s_cexpl.c: Likewise.
22626 * math/s_clog.c: Likewise.
22627 * math/s_clog10.c: Likewise.
22628 * math/s_clog10f.c: Likewise.
22629 * math/s_clog10l.c: Likewise.
22630 * math/s_clogf.c: Likewise.
22631 * math/s_clogl.c: Likewise.
22632 * math/s_csin.c: Likewise.
22633 * math/s_csinf.c: Likewise.
22634 * math/s_csinh.c: Likewise.
22635 * math/s_csinhf.c: Likewise.
22636 * math/s_csinhl.c: Likewise.
22637 * math/s_csinl.c: Likewise.
22638 * math/s_csqrt.c: Likewise.
22639 * math/s_csqrtf.c: Likewise.
22640 * math/s_csqrtl.c: Likewise.
22641 * math/s_ctan.c: Likewise.
22642 * math/s_ctanf.c: Likewise.
22643 * math/s_ctanh.c: Likewise.
22644 * math/s_ctanhf.c: Likewise.
22645 * math/s_ctanhl.c: Likewise.
22646 * math/s_ctanl.c: Likewise.
22647 * math/s_ldexp.c: Likewise.
22648 * math/s_ldexpf.c: Likewise.
22649 * math/s_ldexpl.c: Likewise.
22650 * math/s_significand.c: Likewise.
22651 * math/s_significandf.c: Likewise.
22652 * math/s_significandl.c: Likewise.
22653 * math/w_acos.c: Likewise.
22654 * math/w_acosf.c: Likewise.
22655 * math/w_acosh.c: Likewise.
22656 * math/w_acoshf.c: Likewise.
22657 * math/w_acoshl.c: Likewise.
22658 * math/w_acosl.c: Likewise.
22659 * math/w_asin.c: Likewise.
22660 * math/w_asinf.c: Likewise.
22661 * math/w_asinl.c: Likewise.
22662 * math/w_atan2.c: Likewise.
22663 * math/w_atan2f.c: Likewise.
22664 * math/w_atan2l.c: Likewise.
22665 * math/w_atanh.c: Likewise.
22666 * math/w_atanhf.c: Likewise.
22667 * math/w_atanhl.c: Likewise.
22668 * math/w_cosh.c: Likewise.
22669 * math/w_coshf.c: Likewise.
22670 * math/w_coshl.c: Likewise.
22671 * math/w_dremf.c: Likewise.
22672 * math/w_exp10.c: Likewise.
22673 * math/w_exp10f.c: Likewise.
22674 * math/w_exp10l.c: Likewise.
22675 * math/w_exp2.c: Likewise.
22676 * math/w_exp2f.c: Likewise.
22677 * math/w_fmod.c: Likewise.
22678 * math/w_fmodf.c: Likewise.
22679 * math/w_fmodl.c: Likewise.
22680 * math/w_hypot.c: Likewise.
22681 * math/w_hypotf.c: Likewise.
22682 * math/w_hypotl.c: Likewise.
22683 * math/w_j0.c: Likewise.
22684 * math/w_j0f.c: Likewise.
22685 * math/w_j0l.c: Likewise.
22686 * math/w_j1.c: Likewise.
22687 * math/w_j1f.c: Likewise.
22688 * math/w_j1l.c: Likewise.
22689 * math/w_jn.c: Likewise.
22690 * math/w_jnf.c: Likewise.
22691 * math/w_jnl.c: Likewise.
22692 * math/w_lgamma.c: Likewise.
22693 * math/w_lgamma_r.c: Likewise.
22694 * math/w_lgammaf.c: Likewise.
22695 * math/w_lgammaf_r.c: Likewise.
22696 * math/w_lgammal.c: Likewise.
22697 * math/w_lgammal_r.c: Likewise.
22698 * math/w_log.c: Likewise.
22699 * math/w_log10.c: Likewise.
22700 * math/w_log10f.c: Likewise.
22701 * math/w_log10l.c: Likewise.
22702 * math/w_log2.c: Likewise.
22703 * math/w_log2f.c: Likewise.
22704 * math/w_log2l.c: Likewise.
22705 * math/w_logf.c: Likewise.
22706 * math/w_logl.c: Likewise.
22707 * math/w_pow.c: Likewise.
22708 * math/w_powf.c: Likewise.
22709 * math/w_powl.c: Likewise.
22710 * math/w_remainder.c: Likewise.
22711 * math/w_remainderf.c: Likewise.
22712 * math/w_remainderl.c: Likewise.
22713 * math/w_scalb.c: Likewise.
22714 * math/w_scalbf.c: Likewise.
22715 * math/w_scalbl.c: Likewise.
22716 * math/w_sinh.c: Likewise.
22717 * math/w_sinhf.c: Likewise.
22718 * math/w_sinhl.c: Likewise.
22719 * math/w_sqrt.c: Likewise.
22720 * math/w_sqrtf.c: Likewise.
22721 * math/w_sqrtl.c: Likewise.
22722 * math/w_tgamma.c: Likewise.
22723 * math/w_tgammaf.c: Likewise.
22724 * math/w_tgammal.c: Likewise.
22725
6a621eb7
UD
22726 * po/ja.po: Update from translation team.
22727
bf582445
AJ
227282011-09-29 Andreas Jaeger <aj@suse.de>
22729
f9efbf3a
AJ
22730 [BZ #13179]
22731 * sunrpc/netname.c (netname2host): Fix logic.
22732
bf582445
AJ
22733 [BZ #6779]
22734 [BZ #6783]
22735 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22736 correctly.
22737 * math/w_remainder.c (__remainder): Likewise.
22738 * math/w_remainderf.c (__remainderf): Likewise.
22739 * math/libm-test.inc (remainder_test): Add test cases.
22740
48693bea
AK
227412011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22742
22743 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22744 sdiv_qrnnd.
22745
42622229
LD
227462011-10-07 Ulrich Drepper <drepper@gmail.com>
22747
22748 * string/test-memcmp.c: Avoid unncessary #defines.
22749 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22750
093ecf92
LD
227512011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22752
22753 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22754 Use new sse2 version for core i3 - i7 as it's faster
22755 than sse42 version.
22756 (bit_Prefer_PMINUB_for_stringop): New.
22757 * sysdeps/x86_64/rawmemchr.S: Update.
22758 Replace with faster SSE2 version.
22759 * sysdeps/x86_64/memrchr.S: New file.
22760 * sysdeps/x86_64/memchr.S: Update.
22761 Replace with faster SSE2 version.
22762
fde56e5c
MP
227632011-09-12 Marek Polacek <mpolacek@redhat.com>
22764
22765 * elf/dl-load.c (lose): Add cast to avoid warning.
22766
21fd49a9
UD
227672011-10-07 Ulrich Drepper <drepper@gmail.com>
22768
5a06e643
UD
22769 * po/ca.po: Update from translation team.
22770
684ae515
UD
22771 * inet/getnetgrent_r.c: Hook up nscd.
22772 * nscd/Makefile (routines): Add nscd_netgroup.
22773 (nscd-modules): Add netgroupcache.
22774 (CFLAGS-netgroupcache.c): Define.
22775 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22776 (cache_search): Add const to second parameter.
22777 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22778 INNETGR.
22779 (dbs): Add netgrdb entry.
22780 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22781 (verify_persistent_db): Handle netgrdb.
22782 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22783 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22784 GETFDNETGR.
22785 (netgroup_response_header): Define.
22786 (innetgroup_response_header): Define.
22787 (datahead): Add netgroup_response_header and innetgroup_response_header
22788 elements.
22789 * nscd/nscd.conf: Add entries for netgroup cache.
22790 * nscd/nscd.h (dbtype): Add netgrdb.
22791 (_PATH_NSCD_NETGROUP_DB): Define.
22792 (netgroup_iov_disabled): Declare.
22793 (xmalloc, xcalloc, xrealloc): Move declarations here.
22794 (cache_search): Adjust prototype.
22795 Add netgroup-related prototypes.
22796 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22797 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22798 (__nscd_innetgr): Declare.
22799 * nscd/selinux.c (perms): Use access_vector_t as element type and
22800 add netgroup-related initializers.
22801 * nscd/netgroupcache.c: New file.
22802 * nscd/nscd_netgroup.c: New file.
22803 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22804 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22805 For four parameters use innetgr.
22806 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22807 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22808 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22809 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22810
21fd49a9
UD
22811 * nscd/connections.c (register_traced_file): Don't register file
22812 for disabled databases.
22813
054c0457
UD
228142011-10-06 Ulrich Drepper <drepper@gmail.com>
22815
32b63198
UD
22816 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22817
054c0457
UD
22818 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22819 from tree and freeing node.
22820
64031225
JO
228212011-09-25 Jiri Olsa <jolsa@redhat.com>
22822
22823 * nss/nsswitch.c (__nss_database_lookup): Handle
22824 nss_parse_service_list out of memory case.
22825
0490345c
JO
228262011-09-15 Jiri Olsa <jolsa@redhat.com>
22827
22828 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22829 out of memory case.
22830
3a62d00d
AS
228312011-10-04 Andreas Schwab <schwab@redhat.com>
22832
22833 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
22834 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
22835 pass it down.
22836 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
22837 elf_machine_rela, elf_machine_lazy_rel.
22838 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
22839 (ELF_DYNAMIC_DO_REL): Likewise.
22840 (ELF_DYNAMIC_DO_RELA): Likewise.
22841 (ELF_DYNAMIC_RELOCATE): Likewise.
22842 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
22843 to ELF_DYNAMIC_DO_REL.
22844 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
22845 (dl_main): In trace mode always set __RTLD_NOIFUNC.
22846 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
22847 elf_machine_rela.
22848 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
22849 skip_ifunc, don't call ifunc function if non-zero.
22850 (elf_machine_rela): Likewise.
22851 (elf_machine_lazy_rel): Likewise.
22852 (elf_machine_lazy_rela): Likewise.
22853 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
22854 (elf_machine_lazy_rel): Likewise.
22855 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
22856 Likewise.
22857 (elf_machine_lazy_rel): Likewise.
22858 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22859 Likewise.
22860 (elf_machine_lazy_rel): Likewise.
22861 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
22862 (elf_machine_lazy_rel): Likewise.
22863 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
22864 (elf_machine_lazy_rel): Likewise.
22865 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22866 (elf_machine_lazy_rel): Likewise.
22867 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
22868 (elf_machine_lazy_rel): Likewise.
22869 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
22870 (elf_machine_lazy_rel): Likewise.
22871 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22872 (elf_machine_lazy_rel): Likewise.
22873
68577918
UD
228742011-09-28 Ulrich Drepper <drepper@gmail.com>
22875
22876 * nss/nss_files/files-init.c (_nss_files_init): Use static
22877 initialization for all the *_traced_file variables.
22878
68822d74
AS
228792011-09-28 Andreas Schwab <schwab@redhat.com>
22880
22881 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22882
2056100b
RM
228832011-09-27 Roland McGrath <roland@hack.frob.com>
22884
22885 [BZ #13226]
22886 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
22887
32c76b63
AS
228882011-09-27 Andreas Schwab <schwab@redhat.com>
22889
22890 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
22891 Reread the line before reparsing it.
22892
bf972c9d
AS
228932011-09-26 Andreas Schwab <schwab@redhat.com>
22894
22895 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
22896
e057a1b5
JM
228972011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
22898 Maxim Kuvyrkov <maxim@codesourcery.com>
22899 Joseph Myers <joseph@codesourcery.com>
22900
22901 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
22902 if needed for __stack_chk_guard.
22903
bc7e1c36
RM
229042011-09-19 Roland McGrath <roland@hack.frob.com>
22905
ecb1482f
RM
22906 * sysdeps/posix/spawni.c (script_execute): Always define it.
22907 It will be optimized away if unused.
22908 (maybe_script_execute): New function.
22909 (__spawni): Call it.
22910
bc7e1c36
RM
22911 * Makerules: Don't include tls.make.
22912 (config-tls): Always set to thread.
22913 * tls.make.c: File removed.
22914
1c3b002b
MF
229152011-09-19 Mike Frysinger <vapier@gentoo.org>
22916
22917 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
22918 * config.make.in (CPPFLAGS-config): New substituted variable.
22919
2840865d
UD
229202011-09-15 Ulrich Drepper <drepper@gmail.com>
22921
88738eb6
UD
22922 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
22923
cbf645a6 22924 [BZ #13192]
2840865d
UD
22925 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
22926 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
22927
b402e91a
RM
229282011-09-15 Roland McGrath <roland@hack.frob.com>
22929
22930 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
22931 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
22932 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
22933 (CALL_FAIL): Likewise.
22934 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
22935 (CALL_FAIL): Macro removed.
22936 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
22937
4c1a1f71
UD
229382011-09-15 Ulrich Drepper <drepper@gmail.com>
22939
22940 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
22941 for __FINITE_MATH_ONLY__ == 1.
22942
edc121be
AS
229432011-09-15 Andreas Schwab <schwab@redhat.com>
22944
22945 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
22946 __ieee754_sqrt instead of sqrt.
22947 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
22948 __ieee754_sqrtf instead of sqrtf.
22949 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
22950 __floorf instead of floorf.
22951 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
22952 __floorf, __truncf instead of floorf, truncf.
22953
cd205654
UD
229542011-09-14 Ulrich Drepper <drepper@gmail.com>
22955
ee4d0315
UD
22956 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
22957
cd205654
UD
22958 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
22959 __extern_always_inline.
22960 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
22961 32-bit.
22962
48b67d71
AS
229632011-09-14 Andreas Schwab <schwab@redhat.com>
22964
22965 * elf/rtld.c (dl_main): Also relocate in dependency order when
22966 doing symbol dependency testing.
22967
1ae12c75
AS
229682011-09-13 Andreas Schwab <schwab@linux-m68k.org>
22969
22970 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22971 Always define `refsym'.
22972
995a80df
AS
229732011-09-13 Andreas Schwab <schwab@redhat.com>
22974
e529793b
AS
22975 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
22976 (__FD_ELT): Renamed from __FDELT.
22977 * misc/bits/select2.h (__FD_ELT): Likewise.
22978 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
22979 __FD_MASK instead of __FDELT, __FDMASK.
22980 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22981 Likewise.
22982 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
22983 Likewise.
22984
52d4fef8
AS
22985 * elf/Makefile (gen-ldd): Fix pattern.
22986
995a80df
AS
22987 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
22988 (init_tls): Likewise.
22989
8682f8b0
UD
229902011-09-12 Ulrich Drepper <drepper@gmail.com>
22991
22992 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
22993
de82006d
AS
229942011-09-12 Andreas Schwab <schwab@redhat.com>
22995
a7c8e6a1
AS
22996 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
22997 `struct cmsghdr *' instead of `void *'.
22998 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
22999 Likewise.
23000
0f31fe77
AS
230012011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23002
23003 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23004 if non-absolute.
23005 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23006 ldd_rewrite_script.
0f31fe77 23007
32b4c839
UD
230082011-09-11 Ulrich Drepper <drepper@gmail.com>
23009
83cd1420
UD
23010 * configure.in: Remove --with-tls option.
23011 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23012 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23013 out in case it is missing.
23014 * sysdeps/ia64/elf/configure.in: Likewise.
23015 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23016 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23017 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23018 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23019 * sysdeps/sh/elf/configure.in: Likewise.
23020 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23021 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23022 * sysdeps/x86_64/elf/configure.in: Likewise.
23023 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23024 * sysdeps/mach/hurd/tls.h: Likewise.
23025
633f745d
UD
23026 [BZ #13067]
23027 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23028
f318beb8
UD
23029 [BZ #13090]
23030 * configure.in: Fix use of AC_INIT.
23031
32b4c839
UD
23032 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23033
3ce1f295
UD
230342011-09-10 Ulrich Drepper <drepper@gmail.com>
23035
bb016596
UD
23036 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23037 __set_errno.
8e58439c
UD
23038 * malloc/hooks.c: Likewise.
23039
aebae053 23040 [BZ #11929]
02d46fc4
UD
23041 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23042 variables statically.
23043 (narenas): Initialize.
23044 (list_lock): Initialize.
bb016596
UD
23045 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23046 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
23047 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23048 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23049 Add initializers to main_arena and mp_.
23050 (malloc_state): Remove pagesize member. Change all users to use
23051 GLRO(dl_pagesize).
23052
23053 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23054 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23055 is always initialized.
23056
22a89187
UD
23057 * malloc/malloc.c: Removed unused configurations and dead code.
23058 * malloc/arena.c: Likewise.
23059 * malloc/hooks.c: Likewise.
02d46fc4 23060 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 23061
d063d164
UD
23062 * include/tls.h: Removed. USE___THREAD must always be defined.
23063 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23064 * elf/dl-libc.c: Likewise.
23065 * elf/dl-tsd.c: Likewise.
23066 * include/errno.h: Likewise.
23067 * include/netdb.h: Likewise.
23068 * include/resolv.h: Likewise.
23069 * inet/herrno-loc.c: Likewise.
23070 * inet/herrno.c: Likewise.
23071 * malloc/arena.c: Likewise.
23072 * malloc/hooks.c: Likewise.
23073 * malloc/malloc.c: Likewise.
23074 * resolv/res-state.c: Likewise.
23075 * resolv/res_libc.c: Likewise.
23076 * sysdeps/i386/dl-machine.h: Likewise.
23077 * sysdeps/ia64/dl-machine.h: Likewise.
23078 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23079 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23080 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23081 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23082 * sysdeps/sh/dl-machine.h: Likewise.
23083 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23084 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23085 * sysdeps/unix/i386/sysdep.S: Likewise.
23086 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23087 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23088 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23089 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23090 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23091 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23092 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23093 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23094 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23095 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23096 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23097 * sysdeps/x86_64/dl-machine.h: Likewise.
23098 * tls.make.c: Likewise.
23099
3ce1f295
UD
23100 * configure.in: Remove --with-__thread option. Make tests for
23101 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23102 tls_model attribute fail if no support is available. Remove
23103 USE_IN_LIBIO.
23104 * Makeconfig: Adjust for dropped configure option. All features are
23105 now mandatory.
23106 * Makerules: Likewise.
23107 * Versions.def: Likewise.
23108 * argp/argp-fmtstream.c: Likewise.
23109 * argp/argp-fmtstream.h: Likewise.
23110 * argp/argp-help.c: Likewise.
23111 * assert/assert.c: Likewise.
23112 * config.h.in: Likewise.
23113 * config.make.in: Likewise.
23114 * configure: Likewise.
23115 * configure.in: Likewise.
23116 * csu/Versions: Likewise.
23117 * csu/init.c: Likewise.
23118 * elf/tst-audit2.c: Likewise.
23119 * elf/tst-tls10.c: Likewise.
23120 * elf/tst-tls10.h: Likewise.
23121 * elf/tst-tls11.c: Likewise.
23122 * elf/tst-tls12.c: Likewise.
23123 * elf/tst-tls14.c: Likewise.
23124 * elf/tst-tlsmod11.c: Likewise.
23125 * elf/tst-tlsmod12.c: Likewise.
23126 * elf/tst-tlsmod13.c: Likewise.
23127 * elf/tst-tlsmod13a.c: Likewise.
23128 * elf/tst-tlsmod14a.c: Likewise.
23129 * elf/tst-tlsmod15b.c: Likewise.
23130 * elf/tst-tlsmod16a.c: Likewise.
23131 * elf/tst-tlsmod16b.c: Likewise.
23132 * elf/tst-tlsmod7.c: Likewise.
23133 * elf/tst-tlsmod8.c: Likewise.
23134 * elf/tst-tlsmod9.c: Likewise.
23135 * gmon/gmon.c: Likewise.
23136 * grp/fgetgrent_r.c: Likewise.
23137 * grp/putgrent.c: Likewise.
23138 * hurd/fopenport.c: Likewise.
23139 * include/libc-symbols.h: Likewise.
23140 * include/tls.h: Likewise.
23141 * intl/gettextP.h: Likewise.
23142 * intl/loadinfo.h: Likewise.
23143 * locale/global-locale.c: Likewise.
23144 * locale/localeinfo.h: Likewise.
23145 * mach/devstream.c: Likewise.
23146 * malloc/arena.c: Likewise.
23147 * malloc/set-freeres.c: Likewise.
23148 * misc/err.c: Likewise.
23149 * misc/getttyent.c: Likewise.
23150 * misc/mntent_r.c: Likewise.
23151 * posix/getopt.c: Likewise.
23152 * posix/wordexp.c: Likewise.
23153 * pwd/fgetpwent_r.c: Likewise.
23154 * resolv/Versions: Likewise.
23155 * resolv/res_hconf.c: Likewise.
23156 * shadow/fgetspent_r.c: Likewise.
23157 * shadow/putspent.c: Likewise.
23158 * stdio-common/printf_fphex.c: Likewise.
23159 * stdio-common/tmpfile.c: Likewise.
23160 * stdlib/abort.c: Likewise.
23161 * stdlib/fmtmsg.c: Likewise.
23162 * sunrpc/auth_unix.c: Likewise.
23163 * sunrpc/clnt_perr.c: Likewise.
23164 * sunrpc/clnt_tcp.c: Likewise.
23165 * sunrpc/clnt_udp.c: Likewise.
23166 * sunrpc/clnt_unix.c: Likewise.
23167 * sunrpc/openchild.c: Likewise.
23168 * sunrpc/svc_simple.c: Likewise.
23169 * sunrpc/svc_tcp.c: Likewise.
23170 * sunrpc/svc_udp.c: Likewise.
23171 * sunrpc/svc_unix.c: Likewise.
23172 * sunrpc/xdr.c: Likewise.
23173 * sunrpc/xdr_array.c: Likewise.
23174 * sunrpc/xdr_rec.c: Likewise.
23175 * sunrpc/xdr_ref.c: Likewise.
23176 * sunrpc/xdr_stdio.c: Likewise.
23177
1248c1c4
PB
231782011-09-09 Ulrich Drepper <drepper@gmail.com>
23179
23180 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23181
231822011-07-03 Andreas Jaeger <aj@suse.de>
23183
23184 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23185 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23186 regenerate with gen-libm-tests.pl.
23187
231882010-05-12 Petr Baudis <pasky@suse.cz>
23189
23190 [BZ #11589]
23191 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23192 around j0() zero points by switching to j1().
23193 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23194 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23195 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23196 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23197
f22e1074
UD
231982011-09-09 Ulrich Drepper <drepper@gmail.com>
23199
f19009c1
UD
23200 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23201 instead of 0.
23202 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 23203 instead of 0.
f19009c1
UD
23204 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23205 Patch in part by Pavel Roskin <proski@gnu.org>.
23206
3f8cc204
UD
23207 [BZ #13138]
23208 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23209 realloc.
23210 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23211 Free memory block if necessary.
23212
f22e1074
UD
23213 [BZ #12847]
23214 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23215 be NULL. Don't lock in this case.
23216
0a2349f9
RM
232172011-09-09 Roland McGrath <roland@hack.frob.com>
23218
23219 * elf/elf.h (ELFOSABI_GNU): New macro.
23220 (ELFOSABI_LINUX): Define to that.
23221
f3cdd467
DZ
232222011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23223
23224 * string/strncat.c (strncat): Undef the symbol in case it has been
23225 defined in bits/string.h.
23226
74718d13
UD
232272011-09-09 Ulrich Drepper <drepper@gmail.com>
23228
633e9e0f
UD
23229 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23230
0a2349f9 23231 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
23232 link map.
23233
f9924780
AJ
232342011-08-17 Andreas Jaeger <aj@suse.de>
23235
23236 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23237
7f5517aa
PP
232382011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23239 Ian Lance Taylor <iant@google.com>
23240
23241 * math/libm-test.inc (lround_test): New testcase.
23242 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23243
762011fe
UD
232442011-09-08 Ulrich Drepper <drepper@gmail.com>
23245
92963737
UD
23246 * Makefile: Remove support for automatic cvs check-ins.
23247 * Makerules: Likewise.
23248 * config.make.in: Likewise.
23249 * configure.in: Likewise.
23250 * intl/Makefile: Likewise.
23251 * locale/Makefile: Likewise.
23252 * po/Makefile: Likewise.
23253 * posix/Makefile: Likewise.
23254 * sysdeps/gnu/Makefile: Likewise.
23255 * sysdeps/mach/hurd/Makefile: Likewise.
23256 * sysdeps/sparc/sparc32/Makefile: Likewise.
23257
b0727fd8
JS
23258 [BZ #13118]
23259 * posix/Makefile (bug-regex32-ENV): Define.
23260 Patch by John Stanley <jpsinthemix@verizon.net>.
23261
a0f33f99
UD
23262 * misc/Makefile (headers): Add bits/select2.h.
23263 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23264 * misc/bits/select2.h: New file.
23265 * include/bits/select2.h: New file.
23266 * debug/Makefile (routines): Add fdelt_chk.
23267 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23268 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23269 FD_ISSET.
23270 * debug/fdelt_chk.c: New file.
23271
762011fe
UD
23272 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23273 * wcsmbs/test-wmemcmp.c: Likewise.
23274 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 23275 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
23276
232772011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23278
23279 * string/Makefile (strop-tests): Add memcmp.
23280 * string/test-wmemcmp.c: New file.
23281 * string/test-memcmp.c: Add wmemcmp support.
23282
7f513ec8
RM
232832011-09-08 Roland McGrath <roland@hack.frob.com>
23284
0442afb4
RM
23285 [BZ #13153]
23286 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23287 2011-07-19 change.
23288
7f513ec8
RM
23289 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23290 garbage value in a __mach_port_mod_refs call in the cases of the
23291 task-self and thread-self ports.
23292
a12b2239
ST
232932011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23294
23295 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23296
610f9ab4
AS
232972011-09-08 Andreas Schwab <schwab@redhat.com>
23298
7f513ec8 23299 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 23300
48882a1a
LD
233012011-09-07 Ulrich Drepper <drepper@gmail.com>
23302
b49865be
UD
23303 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23304
fdc86bc9
UD
23305 * elf/dl-libc.c (dlerror_run): Pass back error code from
23306 dl_catch_error.
23307
c966526a
UD
23308 [BZ #13123]
23309 * elf/dl-load.c (lose): Free l_origin if it is valid.
23310
48882a1a
LD
23311 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23312 names.
23313 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23314 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23315 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23316 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23317 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23318 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23319
77a2a8b4
AZ
233202011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23321
23322 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23323 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23324 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23325 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23326 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23327 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23328 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23329 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23330 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23331 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23332
24f579d8
AM
233332011-08-15 Alan Modra <amodra@gmail.com>
23334
23335 [BZ #13092]
23336 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23337 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23338 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23339 ppc_mcount to static-only-routines.
23340 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23341 __mcount_internal.
23342 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23343 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23344
3d4837df
UD
233452011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23346
23347 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23348 for finite and infinity parameters.
23349
22700377
WS
233502011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23351
23352 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23353 and add nop instructions for throughput optimization.
23354 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23355
5025581e
WS
233562011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23357
23358 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23359 aligned copy for power7 with vector-scalar instructions.
23360 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23361
08a300c9
L
233622011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23363
23364 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23365 AVX check.
23366
59178ef9
AS
233672011-09-07 Andreas Schwab <schwab@redhat.com>
23368
23369 [BZ #13144]
23370 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23371 last change.
23372
e38ba7ab
UD
233732011-09-07 Ulrich Drepper <drepper@gmail.com>
23374
23375 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23376 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23377 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23378 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23379 clock_gettime.
23380
d53a73ac
UD
233812011-09-06 Ulrich Drepper <drepper@gmail.com>
23382
fc8bffcc
UD
23383 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23384 Forgot to demangle the pointer.
23385
ceaa0c5d
UD
23386 * sysdeps/i386/sysdep.h: Define atom_text_section.
23387 * sysdeps/x86_64/sysdep.h: Likewise.
23388 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23389 section with atom_text_section.
23390 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23391 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23392 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23393 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23394 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23395
a77d3c17
UD
23396 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23397 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23398 already be defined. Change to take two parameters and don't assign
23399 result to variable. Adjust all users.
23400 Define INTERNAL_GETTIME if not already defined.
23401 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23402 call.
23403 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23404 HAVE_CLOCK_GETTIME_VSYSCALL.
23405 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23406
d53a73ac
UD
23407 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23408 gettimeofday vsyscall, just use time.
23409
a8f84144
AS
234102011-09-06 Andreas Schwab <schwab@redhat.com>
23411
23412 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23413 <errno.h>.
23414
ef606249
UD
234152011-09-06 Ulrich Drepper <drepper@gmail.com>
23416
23417 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23418 syscall on x86-64.
23419 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23420 syscall.
23421 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23422 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23423 syscall if possible.
23424
6585cb60
UD
234252011-09-05 Ulrich Drepper <drepper@gmail.com>
23426
23427 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23428 e_ident. Don't pass to find_mapsXX.
23429 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23430
a5f524e4
LD
234312011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23432
23433 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23434 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23435 * sysdeps/x86_64/multiarch/strchr.S: Update.
23436 Check bit_slow_BSF bit.
23437 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23438 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23439 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23440
554881ef
UD
234412011-09-05 Ulrich Drepper <drepper@gmail.com>
23442
d96de963
UD
23443 [BZ #13134]
23444 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23445 before glibc 2.15.
23446 (tryshell): Define.
23447 (__spawni): Change last parameter to be flag. Test
23448 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23449 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23450 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23451 * posix/spawni.c: Likewise.
23452 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23453 * posix/spawnp.c: Likewise. Change normal version to use
23454 SPAWN_XFLAGS_USE_PATH.
23455 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23456 SPAWN_XFLAGS_TRY_SHELL.
23457
d48e5868
UD
23458 [BZ #13150]
23459 * posix/glob.h: Remove gcc 1.x support.
23460
554881ef
UD
23461 [BZ #13068]
23462 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23463
693fb948
LD
234642011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23465
23466 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23467 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23468 strrchr-sse2-bsf
23469 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23470 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23471 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23472 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23473 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23474 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23475
1b48c537
UD
234762011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23477
49d42c37
UD
23478 * sysdeps/x86_64/wcscmp.S: New file.
23479
1b48c537
UD
23480 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23481 wcscmp-c wcscmp-sse2
23482 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23483 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23484 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23485 * wcsmbs/wcscmp.c: Allow renaming.
23486
15c95c5d
DM
234872011-09-05 David S. Miller <davem@davemloft.net>
23488
23489 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23490 stack slot, rather than the struct return pointer slot.
23491 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23492 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23494 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23495
2f0ad8f3
UD
234962011-09-05 Ulrich Drepper <drepper@gmail.com>
23497
d88ae418
UD
23498 * po/ja.po: Update from translation team.
23499
2f0ad8f3
UD
23500 [BZ #13144]
23501 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23502 kernel in 64-bit binaries.
23503
5f4318d1
DM
235042011-09-01 David S. Miller <davem@davemloft.net>
23505
23506 * elf/elf.h (HWCAP_SPARC_*): Move to..
23507 * sysdeps/sparc/sysdep.h: this new file and add new values.
23508 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23509 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23510 _DL_HWCAP_COUNT to 24.
23511 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23512 entries.
23513 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23514 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23515 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23516 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23517 instead of magic constants.
23518 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23519
3ba57516
DM
235202011-08-31 David S. Miller <davem@davemloft.net>
23521
23522 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23523 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23524 Reimplement to do errno handling inline.
23525 (SYSCALL_ERROR_HANDLER): New macro.
23526 (__SYSCALL_STRING): Do not do errno handling in asm.
23527 (__CLONE_SYSCALL_STRING): Delete.
23528 (__INTERNAL_SYSCALL_STRING): Delete.
23529 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23530 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23531 (PSEUDO): Reimplement to do errno handling inline.
23532 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23533 (SYSCALL_ERROR_HANDLER): New macro.
23534 (__SYSCALL_STRING): Do not do errno handling in asm.
23535 (__CLONE_SYSCALL_STRING): Delete.
23536 (__INTERNAL_SYSCALL_STRING): Delete.
23537 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23538 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23539 i386.
23540 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23541 (inline_syscall*): Add 'err' argument.
23542 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23543 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23544 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23545 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23546
23547 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23548 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23549
2bc17433
AS
235502011-08-30 Andreas Schwab <schwab@redhat.com>
23551
23552 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23553
fbeb5f4d
JO
235542011-08-29 Jiri Olsa <jolsa@redhat.com>
23555
23556 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23557 directive.
23558
ad69cc26
DM
235592011-08-24 David S. Miller <davem@davemloft.net>
23560
23561 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23562
39dd69df
AS
235632011-08-24 Andreas Schwab <schwab@redhat.com>
23564
23565 * elf/Makefile: Add rules to build and run unload8 test.
23566 * elf/unload8.c: New file.
23567 * elf/unload8mod1.c: New file.
23568 * elf/unload8mod1x.c: New file.
23569 * elf/unload8mod2.c: New file.
23570 * elf/unload8mod3.c: New file.
23571
23572 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23573 it wasn't used.
23574
2c0b250a
DM
235752011-08-23 David S. Miller <davem@davemloft.net>
23576
23577 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23578 subtract stack bias.
23579 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23580 %sp not %fp in calculations.
23581 (_JMPBUF_UNWINDS_ADJ): Likewise.
23582
22044b48
DM
23583 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23584 (aio_suspend): Call it to force an exception region around the
23585 AIO_MISC_WAIT() invocation.
23586
2cae4995
AS
235872011-08-23 Andreas Schwab <schwab@redhat.com>
23588
23589 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23590 backslash.
23591
873a772e
AJ
235922011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23593
23594 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23595 protection macro.
23596 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23597 and <dl-machine.h>.
23598 (Elf64_FuncDesc): Remove.
23599
25ad0df1
DM
236002011-08-22 David S. Miller <davem@davemloft.net>
23601
23602 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23603 sigaltstack check, add missing cfi directives.
23604 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23605 missing cfi directives, and sigaltstack handling.
23606
e888bcbe
AS
236072011-08-16 Andreas Schwab <schwab@redhat.com>
23608
23609 [BZ #11724]
23610 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23611 object is seen twice.
23612 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23613
23614 * elf/Makefile (distribute): Add tst-initorder2.c.
23615 (tests): Add tst-initorder2.
23616 (modules-names): Add tst-initorder2a tst-initorder2b
23617 tst-initorder2c tst-initorder2d. Add rules to build them.
23618 ($(objpfx)tst-initorder2.out): New rule.
23619 * elf/tst-initorder2.c: New file.
23620 * elf/tst-initorder2.exp: New file.
23621
87162f46
AS
236222011-08-22 Andreas Schwab <schwab@redhat.com>
23623
70538b7f
AS
23624 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23625
f55ffe58
AS
23626 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23627 dependencies back to end of function.
23628
87162f46
AS
23629 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23630 $(elfobjdir)/ld.so.
23631
91b392a4
UD
236322011-08-21 Ulrich Drepper <drepper@gmail.com>
23633
23634 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23635 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23636 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23637 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23638 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23639 of __vdso_gettimeofday.
23640 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23641 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23642 attribute_hidden.
23643 (_libc_vdso_platform_setup): Remove initialization of
23644 __vdso_gettimeofday and __vdso_time.
23645
5c43483f
UD
236462011-08-20 Ulrich Drepper <drepper@gmail.com>
23647
775a77e7
UD
23648 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23649 and fgetc_unlocked.
23650 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23651 getc_unlocked.
89f447ed 23652
49c74ba9
UD
23653 * elf/dl-open.c (add_to_global): Report additions to the global scope
23654 for LD_DEBUG=scopes.
23655 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 23656 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 23657
5c43483f
UD
23658 [BZ #13114]
23659 * stdio-common/Makefile (tests): Add bug24.
23660 * stdio-common/bug24.c: New file.
23661
a101b025
AJ
236622011-08-19 Andreas Jaeger <aj@suse.de>
23663
23664 [BZ #13114]
23665 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23666 non-existant file when using close-on-exec mode.
23667
c88f1766
UD
236682011-08-20 Ulrich Drepper <drepper@gmail.com>
23669
0276a718
UD
23670 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23671 the very first instruction.
23672
c88f1766
UD
23673 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23674 the CFI state in the end.
23675 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23676 inclusion of dl-trampoline.h.
23677 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23678
51ccffa0
AS
236792011-08-19 Andreas Schwab <schwab@redhat.com>
23680
94d7165f
AS
23681 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23682 expectations for long double.
23683
51ccffa0
AS
23684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23685 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23686
fd708658 236872011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
23688
23689 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23690 artificual limit depends upon the system page size.
23691
44f0a71e
UD
236922011-08-17 Ulrich Drepper <drepper@gmail.com>
23693
23694 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23695 * resolv/Makefile: Define CFLAGS-libresolv.
23696
8de79a24
AS
236972011-08-17 Andreas Schwab <schwab@redhat.com>
23698
23699 * nss/makedb.c (compute_tables): Make variables used in nested
23700 function static.
23701
27724598
UD
237022011-08-17 Ulrich Drepper <drepper@gmail.com>
23703
c5305d88
UD
23704 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23705 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23706 if buffer was too small.
23707
27724598
UD
23708 * elf/pldd.c (main): Attach to all threads in the process.
23709 Rewrite /proc handling to use *at functions.
23710
076fe015
UD
237112011-08-16 Ulrich Drepper <drepper@gmail.com>
23712
174baab3
UD
23713 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23714 specifies first scope to show.
23715 (dl_open_worker): Update callers. Move printing scope of new
23716 object to before the relocation.
44f0a71e 23717 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
23718 * sysdeps/generic/ldsodefs.h: Update declaration.
23719
076fe015
UD
23720 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23721 string for the scope number.
23722
a60df2c3
UD
237232011-08-14 Ulrich Drepper <drepper@gmail.com>
23724
23725 * nscd/servicescache.c (cache_addserv): Make sure written is always
23726 initialized.
23727
5e4287d1
RM
237282011-08-14 Roland McGrath <roland@hack.frob.com>
23729
85ae0589
RM
23730 * sysdeps/i386/i486/bits/atomic.h
23731 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23732 statement expression, so as to suppress "set but not used" warning.
23733 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23734
69f63097
RM
23735 * string/strncat.c (STRNCAT): Use prototype definition.
23736
675456ef
RM
23737 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23738 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23739 -Iprograms here.
23740 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23741 (localedef-modules): Add localedef.
23742 (locale-modules): Add locale.
23743
5e4287d1
RM
23744 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23745 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23746 to avoid a warning.
23747
9c96ff23
DM
237482011-08-14 David S. Miller <davem@davemloft.net>
23749
23750 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23751 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23752
f9ddf089
UD
237532011-08-13 Ulrich Drepper <drepper@gmail.com>
23754
44f0a71e 23755 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
23756 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23757 * elf/rtld.c (dl_main): Set l_name of vDSO.
23758 Call _dl_show_scope when DL_DEBUG_SCOPES.
23759 (process_dl_debug): Recognize scopes flag and also set it for all.
23760 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23761 Declare _dl_show_scope.
23762
1dc27704
UD
23763 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23764 (do_dlopen): Pass caller_dlopen to dl_open.
23765 (__libc_dlopen_mode): Initialize caller_dlopen.
23766
f9ddf089
UD
23767 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23768 of libc. Make tolower call locale-independent. Optimize a bit by
23769 using isdigit instead of isalnum.
23770 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23771
9ac533d3
UD
237722011-08-12 Ulrich Drepper <drepper@gmail.com>
23773
23774 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23775 was a dependency or dynamically loaded.
23776
89edf2e9
UD
237772011-08-11 Ulrich Drepper <drepper@gmail.com>
23778
8e999d29
UD
23779 * intl/l10nflist.c: Allow architecture-specific pop function.
23780 * sysdeps/x86_64/l10nflist.c: New file.
23781
89edf2e9
UD
23782 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23783 classification.
23784
14d96785
AS
237852011-08-10 Andreas Schwab <schwab@redhat.com>
23786
23787 * include/dirent.h: Add libc_hidden_proto for scandirat and
23788 scandirat64. Don't declare __scandirat64.
23789 * dirent/scandirat.c: Add libc_hidden_def.
23790 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23791 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23792
6761ac04
DM
237932011-08-10 David S. Miller <davem@davemloft.net>
23794
23795 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23796 enum.
23797 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23798 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23799 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23800
c55fbd1e
UD
238012011-08-09 Ulrich Drepper <drepper@gmail.com>
23802
23803 * Versions.def [libc]: Add GLIBC_2.15.
23804 * dirent/Makefile (routines): Add scandirat and scandirat64.
23805 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23806 GLIBC_2.15.
23807 * dirent/dirent.h: Declare scandirat and scandirat64.
23808 * dirent/scandirat.c: New file.
23809 * dirent/scandirat64.c: New file.
23810 * sysdeps/wordsize-64/scandirat.c: New file.
23811 * sysdeps/wordsize-64/scandirat64.c: New file.
23812 * dirent/opendir.c: Define opendirat.
23813 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23814 using scandirat.
23815 * dirent/scandir64.c: Adjust for scandir.c change.
23816 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23817 __scandirat64, and __scandir_cancel_handler.
23818 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23819 additional parameter and use openat instead of open (outside of ld.so).
23820 Add new __opendir as wrapper around __opendirat.
23821 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23822 here without requiring old scandirat implementation.
23823
879165f2
UD
238242011-08-08 Ulrich Drepper <drepper@gmail.com>
23825
23826 * dirent/scandir.c (cancel_handler): Renamed to
23827 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23828 defined. Adjust users.
23829 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23830 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
23831
cb7e923b
UD
238322011-08-04 Ulrich Drepper <drepper@gmail.com>
23833
16292edd
UD
23834 * string/test-string.h (IMPL): Use __STRING to expand name and then
23835 stringify it.
23836
cb7e923b
UD
23837 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
23838 of cleanups.
23839
cff82933
LD
238402011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23841
23842 * string/Makefile: Update.
23843 (strop-tests): Append strncat.
23844 * string/test-wcscmp.c: New file.
23845 New comprehensive test for wcscmp.
23846 * string/test-strcmp.c: Update.
23847 (WIDE): New define.
23848
9be9bfcc
AS
238492011-07-22 Andreas Schwab <schwab@redhat.com>
23850
23851 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
23852 line.
23853
2e96f1c7
AS
238542011-07-26 Andreas Schwab <schwab@redhat.com>
23855
23856 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
23857 encoding to ACE if AI_IDN.
23858
85188888
JJ
238592011-08-01 Jakub Jelinek <jakub@redhat.com>
23860
23861 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
23862 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
23863
5fa16e9b
LD
238642011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23865
23866 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
23867 Fix overflow bug in strncat.
23868 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
23869
23870 * string/test-strncat.c: Update.
23871 Add new tests for checking overflow bugs.
23872
238732011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23874
23875 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23876 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
23877 * sysdeps/i386/i686/multiarch/strcat.S: New file.
23878 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
23879 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
23880 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
23881 * sysdeps/i386/i686/multiarch/strncat.S: New file.
23882 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
23883 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
23884
23885 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
23886 (USE_AS_STRCAT): Define.
23887 Add strcat and strncat support.
23888 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23889
8c1a459f
AS
238902011-07-25 Andreas Schwab <schwab@redhat.com>
23891
23892 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
23893 __n bigger than INT_MAX+1.
23894 (__strncmp_g): Likewise.
23895
bba33c28
UD
238962011-07-23 Ulrich Drepper <drepper@gmail.com>
23897
798be72d
UD
23898 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
23899 * libio/stido.h: Likewise.
23900
8accd4dc
UD
23901 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
23902 (AF_NFC): Define.
23903 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
23904 (AF_NFC): Define.
23905
cbff0d96
UD
23906 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
23907 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23908 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23909 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
23910 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23911
9191c04a
UD
23912 [BZ #13021]
23913 * scripts/test-installation.pl: Don't expect libnss_test1 to be
23914 installed.
23915
bba33c28
UD
23916 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
23917 typo.
23918 (_dl_x86_64_save_sse): Likewise.
23919
90f139dd
UD
239202011-07-22 Ulrich Drepper <drepper@gmail.com>
23921
1aae088a
UD
23922 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
23923 OSXSAVE.
23924 (_dl_x86_64_save_sse): Likewise.
23925
8e2045f5
UD
23926 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
23927
90f139dd
UD
23928 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
23929
1d002f25
AS
239302011-07-21 Andreas Schwab <schwab@redhat.com>
23931
23932 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
23933 change.
23934 (_dl_x86_64_save_sse): Use correct AVX check.
23935
21137f89
UD
239362011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23937
23938 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
23939 bug in strncpy/strncat.
23940 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
23941
a65c0b7a
UD
239422011-07-21 Ulrich Drepper <drepper@gmail.com>
23943
23944 * string/tester.c (test_strcat): Add tests for different alignments
23945 of source and destination.
23946 (test_strncat): Likewise.
23947
6986b98a
UD
239482011-07-20 Ulrich Drepper <drepper@gmail.com>
23949
90bb2039
UD
23950 [BZ #12852]
23951 * posix/glob.c (glob): Check passed in values before using them in
23952 expressions to avoid some overflows.
23953 (glob_in_dir): Likewise.
23954
5644ef54
UD
23955 [BZ #13007]
23956 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
23957 check for AVX enablement so that we don't crash with old kernels and
23958 new hardware.
23959 * elf/tst-audit4.c: Add same checks here.
23960 * elf/tst-audit6.c: Likewise.
23961
23962 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 23963
bfc9dc9b
AS
239642011-07-09 Andreas Schwab <schwab@linux-m68k.org>
23965
23966 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
23967
702e64bb
UD
239682011-07-20 Ulrich Drepper <drepper@gmail.com>
23969
23970 * po/cs.po: Update from translation team.
23971 * po/bg.po: Likewise.
23972
295e904f
MP
239732011-07-12 Marek Polacek <mpolacek@redhat.com>
23974
23975 * misc/sys/cdefs.h: Add support for const attribute.
23976 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
23977 to gnu_dev_{major,minor,makedev} functions.
23978
3ff94596
MP
239792011-07-20 Marek Polacek <mpolacek@redhat.com>
23980
23981 * intl/dcigettext.c (get_output_charset): Add missing bracket.
23982
28b59fca
AS
239832011-07-20 Andreas Schwab <schwab@redhat.com>
23984
23985 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
23986 strlen results.
23987
19df733e
AK
239882011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23989
23990 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23991 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
23992 register in order to avoid conflicts with the soft frame pointer
23993 being held in r11 when necessary.
23994 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23995 (INTERNAL_VSYSCALL_NCS): Likewise.
23996
c8835729
MP
239972011-07-14 Marek Polacek <mpolacek@redhat.com>
23998
23999 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24000 * elf/dl-fini.c (_dl_fini): Adjust caller.
24001 * elf/dl-close.c (_dl_close_worker): Likewise.
24002 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24003
b902330c
MP
240042011-07-15 Marek Polacek <mpolacek@redhat.com>
24005
8991e135
MP
24006 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24007 "aux_cache->nlibs < 0".
24008
b902330c
MP
24009 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24010 in the reload-count case.
24011
99710781
LD
240122011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24013
24014 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24015 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24016 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24017 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24018 * sysdeps/x86_64/multiarch/strcat.S: New file.
24019 * sysdeps/x86_64/multiarch/strncat.S: New file.
24020 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24021 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24022 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24023 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24024 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24025 (USE_AS_STRCAT): Define.
24026 Add strcat and strncat support.
24027 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24028 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24029 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24030 * string/strncat.c: Update.
24031 (USE_AS_STRNCAT): Define.
24032 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24033 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24034 and i7.
24035 * sysdeps/x86_64/multiarch/init-arch.h
24036 (bit_Prefer_PMINUB_for_stringop): New.
24037 (index_Prefer_PMINUB_for_stringop): Likewise.
24038 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24039 bit_Prefer_PMINUB_for_stringop.
24040
7dc6bd90
UD
240412011-07-19 Ulrich Drepper <drepper@gmail.com>
24042
24043 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24044 buffer64.
24045 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24046 of casting of buffer.
24047 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24048 buffer32 and buffer64.
24049 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24050 writes instead of casting of buffer.
24051 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24052 buffer32.
24053 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24054 casting of buffer.
24055
e0e72284
AS
240562011-07-19 Andreas Schwab <schwab@redhat.com>
24057
24058 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24059
feb1eb0b
UD
240602011-07-19 Ulrich Drepper <drepper@gmail.com>
24061
24062 * nscd/nscd.c (termination_handler): Don't do anything for a database
24063 if it has not yet been initialized.
24064
298711ff
UD
240652011-07-18 Ulrich Drepper <drepper@gmail.com>
24066
24067 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24068
240692011-07-15 Marek Polacek <mpolacek@redhat.com>
24070
24071 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24072
f9d68389
UD
240732011-07-18 Ulrich Drepper <drepper@gmail.com>
24074
24075 * po/nl.po: Update from translation team.
24076 * po/sv.po: Likewise.
24077
db290cf5
RM
240782011-07-16 Roland McGrath <roland@hack.frob.com>
24079
24080 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24081 now disallowed by GCC.
5c550700 24082
fd5e21c7
RM
24083 * configure.in (use-default-link): Default to yes if a test -shared
24084 link meets our qualifications.
24085 * configure: Regenerated.
24086
5c550700
RM
24087 * config.make.in (output-format): New variable.
24088 * configure.in: Check for ld --print-output-format support.
24089 * configure: Regenerated.
24090 * Makerules ($(common-objpfx)format.lds)
24091 [$(output-format) != unknown]: Just use $(output-format),
24092 instead of the linker-script munging.
24093
9fa2c032
RM
240942011-07-14 Roland McGrath <roland@hack.frob.com>
24095
a6928d51
RM
24096 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24097 of $(common-objpfx)shlib.lds.
24098 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24099
661607b3
RM
24100 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24101 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24102
9fa2c032
RM
24103 * configure.in (-z relro check): Adjust test code to add a large
24104 writable data section after it.
24105 * configure: Regenerated.
24106
defe9061
RM
241072011-07-11 Roland McGrath <roland@hack.frob.com>
24108
24109 * configure.in (-z relro check): Fix test code to make the variable
24110 truly const.
24111 * configure: Regenerated.
24112
319b9ad4
UD
241132011-07-11 Ulrich Drepper <drepper@gmail.com>
24114
24115 * nscd/nscd.h (struct traced_file): Define.
24116 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24117 elements. Add traced_files.
24118 (inotify_fd): Declare.
24119 (register_traced_file): Declare.
24120 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24121 (inotify_fd): Export.
24122 (resolv_conf_descr): Remove.
24123 (nscd_init): Move inotify descriptor creation to main.
24124 Don't register files for notification here.
24125 (register_traced_file): New function.
24126 (invalidate_cache): Don't use reset_res to determine whether to call
24127 res_init, go through the list of registered files.
24128 (main_loop_poll): The inotify descriptors are now stored in the
24129 structures for the traced files.
24130 (main_loop_epoll): Likewise
24131 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24132 to __nss_disable_nscd.
24133 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24134 for a database anymore. Check the records for all the registered
24135 files instead.
24136 * nss/Makefile (libnss_files-routines): Add files-init.
24137 (libnss_db-routines): Add db-init.
24138 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24139 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24140 * nss/nss_db/db-init.c: New file.
24141 * nss/nss_files/files-init.c: New file.
24142 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24143 __nss_lookup_function.
24144 (__nss_lookup_function): Call nss_load_library.
24145 (nss_load_all_libraries): New function.
24146 (__nss_disable_nscd): Take parameter with callback function for files
24147 to register. Set is_nscd. Load all the DSOs for the NSS modules
24148 used for the cached services.
24149 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24150 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24151 options for features to all the files in nscd.
24152
24153 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24154
23bee3e8
RM
241552011-07-10 Roland McGrath <roland@hack.frob.com>
24156
24157 * csu/elf-init.c (__libc_csu_init): Comment typo.
24158
46a5b7f0
UD
241592011-07-09 Ulrich Drepper <drepper@gmail.com>
24160
24161 * po/pl.po: Update from translation team.
24162 * po/ja.po: Likewise.
24163 * po/ru.po: Likewise.
24164 * po/ko.po: Likewise.
24165 * po/fr.po: Likewise.
24166
d30cf5bb
RM
241672011-07-09 Roland McGrath <roland@hack.frob.com>
24168
113ddea4
RM
24169 * configure.in (.ctors/.dtors header and trailer check):
24170 Use an empirical test on a built program.
24171 * configure: Regenerated.
24172
574920b4
RM
24173 * configure.in (-z relro check): Use an empirical test on a built DSO.
24174 Detect, but do not require, on ia64.
24175 * configure: Regenerated.
24176
d30cf5bb
RM
24177 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24178 Update tests that use readelf to use $READELF instead.
24179 * configure: Regenerated.
24180
8538fdb3
UD
241812011-07-08 Ulrich Drepper <drepper@gmail.com>
24182
24183 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24184 if the result is not used.
24185
04d08991
AJ
241862011-07-05 Andreas Jaeger <aj@suse.de>
24187
24188 [BZ#9696]
24189 * stdlib/tst-strtod.c: Add testcase.
24190
de283087
AD
241912011-07-07 Ulrich Drepper <drepper@gmail.com>
24192
4e5f31c8 24193 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 24194 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
24195 The latter has a higher limit. Take additional parameter to pass to
24196 the new function.
24197 (__pathconf): Pass file to __statfs_link_max.
24198 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24199 __statfs_link_max.
24200 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24201 __statfs_link_max.
24202
de283087
AD
24203 [BZ #12868]
24204 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24205 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24206 Handle Lustre.
24207 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24208 (__statfs_filesize_max): Likewise.
24209 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24210
c75fa153
AJ
242112011-07-05 Andreas Jaeger <aj@suse.de>
24212
24213 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24214
1a544854
UD
242152011-07-06 Marek Polacek <mpolacek@redhat.com>
24216
24217 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24218 `status' variable.
24219 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24220 Likewise.
24221
6f0eec67
UD
242222011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24223
24224 * Makefile (strop-tests): Add strncat.
24225 * string/test-strncat.c: New file.
24226
aae30307
UD
242272011-06-30 Marek Polacek <mpolacek@redhat.com>
24228
24229 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24230
c0cfb5eb
UD
242312011-06-21 Andreas Jaeger <aj@suse.de>
24232
24233 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24234 Copy rule from iconvdata/Makefile.
24235
01636b21
UD
242362011-07-06 Ulrich Drepper <drepper@gmail.com>
24237
24238 [BZ #12922]
24239 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24240 but no long options are defined, just return 'W'.
24241
9895c8bc
UD
242422011-06-22 Marek Polacek <mpolacek@redhat.com>
24243
24244 [BZ #9696]
24245 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24246
5d4cf042
UD
242472011-07-06 Ulrich Drepper <drepper@gmail.com>
24248
24249 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24250 netgroups to read.
960e5535 24251 (innetgr): Likewise.
5d4cf042 24252
751eb97e
RM
242532011-07-05 Roland McGrath <roland@hack.frob.com>
24254
24255 * config.make.in (install_root): Default to $(DESTDIR).
24256
f15f1e45
UD
242572011-07-05 Ulrich Drepper <drepper@gmail.com>
24258
24259 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24260
4e34ac6a
RM
242612011-07-02 Roland McGrath <roland@hack.frob.com>
24262
5e9b6af4
RM
24263 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24264
84f9ea0f
RM
24265 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24266 containing directory rather than embedding absolute directory names.
24267
ea5ee9f7
RM
24268 * scripts/check-local-headers.sh: Rewritten using awk.
24269 Match by word, not by line. Print error messages for matches.
24270 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24271
1b74661a
RM
24272 * Makerules [shlib-lds-flags empty]:
24273 ($(common-objpfx)libc_pic.opts): New target.
24274 ($(common-objpfx)libc_pic.os.clean): New target.
24275 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24276
24277 * config.make.in (OBJCOPY): New variable.
24278 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24279 * configure: Regenerated.
24280
f781ef40
RM
24281 * config.make.in (use-default-link): New variable.
24282 * configure.in (use_default_link): Grok --with-default-link to set it.
24283 * configure: Regenerated.
24284 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24285 (shlib-lds, shlib-lds-flags): Define to empty.
24286
2d4fa81e
RM
24287 * Makerules (shlib-lds): New variable.
24288 (shlib-lds-flags): New variable.
24289 (build-shlib, build-moduile, build-module-asneeded): Use it.
24290 ($(common-objpfx)libc.so): Use $(shlib-lds).
24291 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24292 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24293
31fffa6b
RM
24294 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24295 DT_FLAGS/DT_FLAGS_1 with zero flags.
24296
4e34ac6a
RM
24297 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24298 linker script munging.
24299
fcfc776b
UD
243002011-07-02 Ulrich Drepper <drepper@gmail.com>
24301
24302 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24303 as 128-bit value.
24304 * crypt/sha512.c (sha512_process_block): Perform total addition using
24305 128-bit if possible.
24306 (__sha512_finish_ctx): Likewise.
24307 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24308 as 64-bit value.
24309 * crypt/sha256.c (SWAP64): Define.
24310 (sha256_process_block): Perform total addition using 64-bit if
24311 possible.
24312 (__sha256_finish_ctx): Likewise.
24313
99231d9a
UD
243142011-07-01 Ulrich Drepper <drepper@gmail.com>
24315
24316 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24317 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24318 * nscd/hstcache.c (cache_addhst): Likewise.
24319 * nscd/grpcache.c (cache_addgr): Likewise.
24320 * nscd/aicache.c (addhstaiX): Likewise
24321 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24322
445b4a53
TK
243232011-07-01 Thorsten Kukuk <kukuk@suse.de>
24324
24325 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24326 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24327 * nscd/hstcache.c (cache_addhst): Likewise.
24328 * nscd/grpcache.c (cache_addgr): Likewise.
24329 * nscd/aicache.c (addhstaiX): Likewise
24330
6d4d8e8e
AS
243312011-07-01 Andreas Schwab <schwab@redhat.com>
24332
24333 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24334 domain only when needed.
24335
89f654c5
AS
243362011-06-30 Andreas Schwab <schwab@redhat.com>
24337
24338 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24339 is always restored.
24340
cf3b23ff
UD
243412011-06-29 Ulrich Drepper <drepper@gmail.com>
24342
24343 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24344 are re-adding the entry.
24345 * nscd/servicescache.c (cache_addserv): Likewise.
24346
751626f9
AJ
243472011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24348
24349 * sysdeps/generic/dl-irel.h: fix protection against multiple
24350 inclusions.
24351 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24352
9113ea1f
UD
243532011-06-28 Ulrich Drepper <drepper@gmail.com>
24354
5c0b8d90
UD
24355 [BZ #12935]
24356 * malloc/memusage.sh: Fix quoting in message.
24357 * debug/xtrace.sh: Likewise.
24358
9113ea1f
UD
24359 * configure.in: Remove support for --experimental-malloc option, make
24360 it the default.
24361 * config.make.in: Likewise.
24362 * malloc/Makefile: Likewise.
24363
a4172181
AS
243642011-06-27 Andreas Schwab <schwab@redhat.com>
24365
24366 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24367 two-byte characters.
24368
78a7eee7
RM
243692011-06-27 Roland McGrath <roland@hack.frob.com>
24370
62bede13
RM
24371 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24372 AC_CACHE_CHECK invocation.
24373 * configure: Regenerated.
24374
78a7eee7
RM
24375 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24376
5ce33a62
UD
243772011-06-27 Ulrich Drepper <drepper@gmail.com>
24378
034807a9
UD
24379 [BZ #12350]
24380 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24381 bit from old_res_options.
24382
4902da17
UD
24383 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24384
5ce33a62
UD
24385 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24386 value type for setfct.
24387
c2344f56
L
243882011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24389
24390 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24391 __gettimeofday instead of gettimeofday.
24392
68468076
UD
243932011-06-26 Ulrich Drepper <drepper@gmail.com>
24394
24395 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24396
acb0d739
L
243972011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24398
24399 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24400
24401 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24402 info.
24403
8912479f
L
244042011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24405
24406 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24407 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24408 strcpy-sse2-unaligned strncpy-sse2-unaligned
24409 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24410 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24411 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24412 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24413 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24414 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24415 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24416 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24417 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24418 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24419 (STRCPY): Support SSE2 and SSSE3 versions.
24420
d5495a11
UD
244212011-06-24 Ulrich Drepper <drepper@gmail.com>
24422
24423 [BZ #12874]
24424 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24425 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24426 kernels which artificially limit size of requests.
24427
0b1cbaae
L
244282011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24429
24430 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24431 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24432 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24433 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24434 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24435 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24436 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24437 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24438 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24439 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24440 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24441 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24442 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24443 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24444 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24445 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24446 Enable unaligned load optimization for Intel Core i3, i5 and i7
24447 processors.
24448 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24449 Define.
24450 (index_Fast_Unaligned_Load): Define.
24451 (HAS_FAST_UNALIGNED_LOAD): Define.
24452
07f494a0
MP
244532011-06-23 Marek Polacek <mpolacek@redhat.com>
24454
24455 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24456
fa3fc0fe
UD
244572011-06-22 Ulrich Drepper <drepper@gmail.com>
24458
24459 [BZ #12907]
24460 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24461 until it is clear that the information is realy needed.
24462 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24463
e12df166
AS
244642011-06-22 Andreas Schwab <schwab@redhat.com>
24465
24466 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24467
852eb34d
UD
244682011-06-22 Ulrich Drepper <drepper@gmail.com>
24469
84e2a551
UD
24470 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24471 /sys/devices/system/cpu/online if it is usable.
24472
852eb34d
UD
24473 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24474 reading the information from the /proc filesystem to once a second.
24475
6e502e19
UD
244762011-06-21 Andreas Jaeger <aj@suse.de>
24477
24478 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24479 NULL after inclusion of kernel headers.
24480
75d39ff2
UD
244812011-06-21 Ulrich Drepper <drepper@gmail.com>
24482
51f9aa6a
UD
24483 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24484 calls to internal_setent.
24485
c0244a9d
UD
24486 [BZ #12885]
24487 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24488 addresses using gethostbyname4_r ignore IPv4 addresses.
24489
c5e3c2ae
UD
24490 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24491 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24492
75d39ff2
UD
24493 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24494
42675c6f
DM
244952011-06-20 David S. Miller <davem@davemloft.net>
24496
24497 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24498 inclusions.
24499 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24500
24501 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24502 (elf_irel): Use it.
24503 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24504 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24505 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24506 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24507 * sysdeps/x86_64/dl-irel.h: Likewise.
24508
24509 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24510 * elf/dl-sym.c: Likewise.
24511
57912a71
UD
245122011-06-15 Ulrich Drepper <drepper@gmail.com>
24513
24514 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24515 need to dereference resplen2.
24516
ee22793d
AS
245172011-06-14 Andreas Schwab <schwab@redhat.com>
24518
24519 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24520
a9e836b0
UD
245212011-06-15 Ulrich Drepper <drepper@gmail.com>
24522
77fb9117
UD
24523 * Makeconfig: Define vardbdir and inst_vardbdir.
24524 * nss/Makefile: Add rules to install db-Makefile.
24525
40c1b22c
UD
24526 * nss/nss_db/db-XXX.c: Cleanup.
24527
9f2da732
UD
24528 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24529 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24530 GLIBC_PRIVATE.
24531 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24532 * nss/makedb.c: Implement -g option to specify that value strings
24533 are generated and should not be added to table iterated over for
24534 get*ent calls.
24535 * nss/nss_db/db-initgroups.c: New file.
24536
82e9a1f7
UD
24537 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24538 interface.
24539
c41af17e
UD
24540 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24541 (internal_getgrouplist): Adjust to name change.
24542 Update use_initgroups_entry if this is not the first call.
24543 * nss/databases.def: Add initgroups entry.
24544
a9e836b0
UD
24545 * nss/makedb.c (compute_tables): Check result of multiple hash table
24546 sizes to minimize maximum chain length.
24547
2666d441
UD
245482011-06-14 Ulrich Drepper <drepper@gmail.com>
24549
24550 * Versions.def: Add entry for libnss_db.
24551 * shlib-versions: Likewise.
24552 * nss/Makefile: Add rules to build libnss_db.
24553 * nss/Versions: Add libnss_db information. Organize libnss_files
24554 entries better.
24555 * nss/db-Makefile: Add gshadow support. Change rules for the new
24556 makedb progra. Some minor improvements to generate smaller files.
24557 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24558 here from...
24559 * nss/makedb.c: ...here.
24560 Improve database format to be smaller and require less memory at
24561 runtime.
24562 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24563 db anymore.
24564 * nss/nss_db/db-netgrp.c: Likewise.
24565 * nss/nss_db/db-open.c: Likewise.
24566 * nss/nss_files/flies-XXX.x: Adjust comments.
24567 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24568 * nss/nss_files/files-grp.c: Likewise.
24569 * nss/nss_files/files-hosts.c: Likewise.
24570 * nss/nss_files/files-network.c: Likewise.
24571 * nss/nss_files/files-proto.c: Likewise.
24572 * nss/nss_files/files-pwd.c: Likewise.
24573 * nss/nss_files/files-rpc.c: Likewise.
24574 * nss/nss_files/files-service.c: Likewise.
24575 * nss/nss_files/files-sgrp.c: Likewise.
24576 * nss/nss_files/files-spwd.c: Likewise.
24577 * nss/nss_db/db-alias.c: Removed.
24578 * nss/nss_db/dummy-db.h: Removed.
24579
9ee76b5a
UD
245802011-06-02 Ulrich Drepper <drepper@gmail.com>
24581
24582 * nss/makedb.c: Rewritten to not use database library.
24583 * nss/Makefile: Update to build new makedb program.
24584
c71ca1f8
AJ
245852011-06-14 Andreas Jaeger <aj@suse.de>
24586
24587 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24588 memset declaration.
24589
3154bfb8
UD
245902011-06-10 Andreas Schwab <schwab@redhat.com>
24591
24592 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24593 tmpbuf.
24594
b350afab
RM
245952011-06-10 Roland McGrath <roland@hack.frob.com>
24596
decd4e50
RM
24597 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24598 * elf/Makefile ($(objpfx)ld.so): Likewise.
24599
5615eaf2
RM
24600 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24601 Don't list ld.so twice in dependencies.
24602
24603 * posix/bug-regex31.c: Include <stdlib.h>.
24604
24605 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24606
24607 * nis/nss_compat/compat-spwd.c
24608 (getspent_next_nss_netgr): Remove unused variable.
24609 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24610
24611 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24612 nonmembers" output to use the right array.
24613
24614 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24615
24616 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24617
24618 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24619 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24620 * catgets/gencat.c (read_input_file): Likewise.
24621 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24622
24623 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24624 variable definition inside #if's controlling its use.
24625
24626 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24627
24628 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24629
24630 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24631
24632 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24633 unreachable code.
24634
24635 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24636
b68e08db
RM
24637 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24638 * configure: Regenerated.
24639
b350afab
RM
24640 * Makerules: Revert last change.
24641 * elf/Makefile: Likewise.
24642
28368601
RM
246432011-06-09 Roland McGrath <roland@hack.frob.com>
24644
24645 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24646 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24647 (reloc-link): Likewise.
24648
11988f8f
UD
246492011-06-09 Ulrich Drepper <drepper@gmail.com>
24650
24651 * elf/Makefile: Add rules to build pldd.
24652 * elf/pldd.c: New file.
24653 * elf/pldd-xx.c: New file.
24654
e80fab37
UD
246552011-06-07 Ulrich Drepper <drepper@gmail.com>
24656
24657 * version.h: Update for 2.15 development version.
24658
9b849836
DM
246592011-06-07 David S. Miller <davem@davemloft.net>
24660
24661 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24662 ifuncs.
24663 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24664 elf_machine_lazy_rel): Likewise.
24665 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24666 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24667 elf_machine_lazy_rel): Likewise.
24668 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24669 dl_hwcap via passed in argument.
24670 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24671 Likewise.
24672
5a31b283
AK
246732011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24674
24675 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24676
069e52f8
RM
246772011-06-06 Roland McGrath <roland@hack.frob.com>
24678
24679 [BZ #12849]
24680 * manual/fdl-1.1.texi: New file, verbatim from:
24681 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24682 * manual/lgpl-2.1.texi: New file, verbatim from:
24683 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24684 * manual/Makefile (licenses): New variable, list those new file names.
24685 (texis): Use it.
24686 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24687
24688 * manual/fdl.texi: File removed.
24689 * manual/lesser.texi: File removed.
24690 * manual/libc.texinfo (Copying, Documentation License):
24691 Use new @include file names, put @appendix directive before @include.
24692
f16846a5
JJ
246932011-06-04 Jakub Jelinek <jakub@redhat.com>
24694
24695 [BZ #12841]
24696 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24697 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24698 (mq_open): Add __NTH.
24699
3d29045b
L
247002011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24701
24702 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24703 Assume Intel Core i3/i5/i7 processor if AVX is available.
24704
8c297311
UD
247052011-05-31 Ulrich Drepper <drepper@gmail.com>
24706
24707 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24708 typo.
24709
c8fc0c91
UD
247102011-05-31 Andreas Schwab <schwab@redhat.com>
24711
24712 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24713 memory. Use alloca_account. Fix memory leak when retrying.
24714
5b27a807
UD
247152011-05-31 Ulrich Drepper <drepper@gmail.com>
24716
356f8bc6
UD
24717 * version.h (RELEASE): Bump for 2.14 release.
24718 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24719
5b27a807
UD
24720 * config.make.in (RANLIB): Remove entry.
24721
01f16ab0
UD
247222011-05-30 Ulrich Drepper <drepper@gmail.com>
24723
41fce8bd
UD
24724 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24725 (libc.pot): Work around missing support for .ksh extension in xgettext.
24726
4769ae77
UD
24727 [BZ #12684]
24728 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24729 if both request failed.
24730 (send_dg): In case of server errors clear resplen or *resplen2.
24731
6b1e7d19
UD
24732 [BZ #12454]
24733 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24734 when there are multiple maps.
24735 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24736 (_dl_fini): Remove test here.
24737
01f16ab0
UD
24738 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24739
b1ebd700
UD
247402011-05-29 Ulrich Drepper <drepper@gmail.com>
24741
7ae22829
UD
24742 [BZ #12350]
24743 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24744 bit from old_res_options.
24745 (gaih_inet): Likewise.
24746
553149f6 24747 [BZ #11099]
18a84741 24748 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
24749 as signed.
24750
652ffab1
UD
24751 * resolv/res_init.c (res_setoptions): Make the code more compact.
24752
16985fd0
UD
24753 [BZ #11558]
24754 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24755 set RES_USEVC.
24756
0464f746
UD
24757 [BZ #11634]
24758 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24759
7d17596c
UD
24760 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24761
cf6bbbd7
UD
24762 [BZ #11781]
24763 * malloc/malloc.h: Declare malloc hook variables as volatile.
24764
13f1ab36
UD
24765 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24766 in last patch.
24767
b1ebd700
UD
24768 [BZ #11799]
24769 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 24770 raise in the comment.
80e2212d
UD
24771 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24772 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24773 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 24774
ce67228d
UD
247752011-05-28 Ulrich Drepper <drepper@gmail.com>
24776
8887a920
UD
24777 [BZ #12811]
24778 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24779 grow the buffers more if it already has to be sufficient.
24780 (build_wcs_upper_buffer): Likewise.
24781 * posix/regexec.c (check_matching): Likewise.
24782 (clean_state_log_if_needed): Likewise.
24783 (extend_buffers): Don't enlarge buffers beyond size of the input
24784 buffer.
24785 Patches mostly by Emil Wojak <emil@wojak.eu>.
24786 * posix/bug-regex32.c: New file.
24787 * posix/Makefile (tests): Add bug-regex32.
24788
4f031072
UD
24789 * locale/findlocale.c (_nl_find_locale): Return right away if
24790 _nl_explode_name failed.
24791 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24792
d0478f0c
UD
24793 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24794
de81b246
UD
24795 * debug/xtrace.sh: Unify messages.
24796 * malloc/memusage.sh: Likewise.
24797
c738465a
UD
24798 [BZ #12813]
24799 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24800 time symbol from vDSO. Substitute with vsyscall if not available.
24801 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24802 __vdso_time.
24803
f1f929d7
UD
24804 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24805 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24806 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24807 Add sendmmsg and internal_sendmmsg.
24808 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24809 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24810 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24811
ce67228d
UD
24812 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24813 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24814 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24815
e57420c6
UD
248162011-05-27 Ulrich Drepper <drepper@gmail.com>
24817
a8509ca5
UD
24818 [BZ #12813]
24819 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24820 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24821 available.
24822 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24823 __vdso_getcpu.
24824
e57420c6
UD
24825 [BZ #12814]
24826 * iconvdata/Makefile (tests): Add bug-iconv9.
24827 * iconvdata/bug-iconv9.c: New file.
24828
4d07db15
AS
248292011-05-27 Andreas Schwab <schwab@redhat.com>
24830
24831 [BZ #12814]
24832 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
24833
ea486f69
JJ
248342011-05-25 Jakub Jelinek <jakub@redhat.com>
24835
24836 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24837 (struct user_regs_struct): Change intcs field back to cs.
24838
6f038433
UD
248392011-05-25 Ulrich Drepper <drepper@gmail.com>
24840
24841 * po/ja.po: Update from translation team.
24842
67f86a25
UD
248432011-05-23 Ulrich Drepper <drepper@gmail.com>
24844
24845 [BZ #12795]
24846 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
24847 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
24848
def7fbd6
AS
248492011-05-20 Andreas Schwab <schwab@redhat.com>
24850
24851 * stdlib/longlong.h: Update from GCC.
24852
f50ef8f1
AS
248532011-05-23 Andreas Schwab <schwab@redhat.com>
24854
24855 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
24856 parameter name.
24857 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
24858 Add parameter name.
24859 (__sysconf): Pass it down.
24860
de7ce8f1
UD
248612011-05-22 Ulrich Drepper <drepper@gmail.com>
24862
f2962a71
UD
24863 [BZ #12671]
24864 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
24865 some situations.
24866 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
24867 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
24868 add in in __libc_use_alloca calls. Adjust callers.
24869 (glob): Use malloc in some situations.
24870
de7ce8f1
UD
24871 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
24872 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
24873 pltexit.
24874
aec84f53
UD
248752011-05-21 Ulrich Drepper <drepper@gmail.com>
24876
05bb4a68
UD
24877 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
24878 and CLOCK_BOOTTIME_ALARM.
24879
7ea72f99
UD
24880 [BZ #12782]
24881 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
24882 is returned.
24883
7e4afad5
UD
24884 * string/_strerror.c (__strerror_r): Print negative errors as signed
24885 numbers.
24886
8e211fec
UD
24887 [BZ #12777]
24888 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
24889 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
24890 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
24891
f7d82dc9
UD
24892 * configure.in: Fix typo in redirection and correct removal of test
24893 files in two cases.
24894
cc9e536d
UD
24895 [BZ #12788]
24896 * locale/setlocale.c (new_composite_name): Fix test to check for
24897 identical name of all categories.
24898
aec84f53
UD
24899 [BZ #12792]
24900 * libio/filedoalloc.c (local_isatty): New function.
24901 (_IO_file_doallocate): Use local_isatty.
24902 * stdio-common/perror.c (perror): In case a new stream is used
24903 forward the stream error.
24904 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
24905 error flag.
24906
78e64fdc
RT
249072011-05-20 Ulrich Drepper <drepper@gmail.com>
24908
34a9094f
UD
24909 [BZ #11869]
24910 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
24911 alloca.
24912 * include/alloca.h (extend_alloca_account): Define.
24913
78e64fdc
RT
24914 [BZ #11857]
24915 * posix/regex.h: Fix comments with documentation of user-accessible
24916 fields after compilation and describe correct free'ing of pattern
24917 after re_compile_pattern.
24918 Patch by Reuben Thomas <rrt@sc3d.org>.
24919
457bddfc
RA
249202011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
24921
24922 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
24923 and -mno-altivec to prevent the compiler from using Altivec and/or
24924 VSX instructions when the corresponding registers are not available.
24925
a4527b51
AS
249262011-05-19 Andreas Schwab <schwab@redhat.com>
24927
24928 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
24929
ed690b2f
UD
249302011-05-19 Ulrich Drepper <drepper@gmail.com>
24931
24932 * libio/freopen.c (freopen): Use __dup2, not dup2.
24933 * libio/freopen64.c (freopen64): Likewise.
24934
8db73634
L
249352011-05-17 H.J. Lu <hongjiu.lu@intel.com>
24936
24937 [BZ #12775]
24938 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
24939 * math/Makefile (tests): Add test-powl.
24940 (CFLAGS-test-powl.c): Define.
24941 * math/test-powl.c: New file.
24942
0a197a9d
L
249432011-05-16 H.J. Lu <hongjiu.lu@intel.com>
24944
24945 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
24946
ee30c380
UD
249472011-05-17 Ulrich Drepper <drepper@gmail.com>
24948
24949 [BZ #11837]
24950 * iconvdata/gb18030.c: Update to GB18020-2005.
24951
6ce75379
UD
249522011-05-16 Ulrich Drepper <drepper@gmail.com>
24953
a4b89fd8
AR
24954 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
24955 RE_SYNTAX_POSIX_AWK): Update to match recent development.
24956 Patch by Aharon Robbins <arnold@skeeve.com>.
24957
ea389b12
UD
24958 [BZ #11892]
24959 * stdlib/putenv.c (putenv): Don't always create copy of the variable
24960 on the stack.
24961
68a3f91f
UD
24962 [BZ #11895]
24963 * misc/pselect.c (__pselect): Handle timeout value errors hidden
24964 through underflows.
24965
15cc7dd1
UD
24966 [BZ #12766]
24967 * misc/error.c (error_at_line): Ensure file_name and old_file_name
24968 point to strings before performing equality test for error_one_per_line
24969 mode.
24970
f3799213
UD
24971 [BZ #11697]
24972 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
24973
d79a9c94
UD
24974 [BZ #11820]
24975 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
24976 (struct user_fpregs_struct): Avoid __uint*_t types.
24977
56e5eb46
UD
24978 [BZ #6420]
24979 * malloc/mtrace.c (tr_where): Add additional parameter to point to
24980 symbol info. Use it instead of calling _dl_addr locally.
24981 (lock_and_info): New function.
24982 (tr_freehook): Call lock_and_info and pass symbol info as additional
24983 parameter to tr_where.
24984 (tr_mallochook): Likewise.
24985 (tr_reallochook): Likewise.
24986 (tr_memalignhook): Likewise.
24987
6ce75379
UD
24988 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
24989 used and couldn't be at all thread-safe.
24990
f8a3b5bf
UD
249912011-05-15 Ulrich Drepper <drepper@gmail.com>
24992
94b7cc37
UD
24993 * libio/freopen.c (freopen): Don't close old file descriptor
24994 before the new one is opened. Instead dup the new file descriptor
24995 to the old one after the new stream is created.
24996 * libio/freopen64.c (freopen64): Likewise.
24997 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
24998 * libio/fileops.c (_IO_new_file_close_it): Handle new
24999 _IO_FLAGS2_NOCLOSE flag.
25000 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25001 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25002 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25003 _IO_FLAGS2_NOCLOSE flag.
25004 * include/unistd.h: Add hidden_proto for dup3.
25005 Define __have_dup3.
25006 * io/dup3.c: Define hidden symbol.
25007 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25008
bd25564e
UD
25009 [BZ #7101]
25010 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25011 when an incomplete long option is used.
25012 * posix/tst-getopt_long1.c: New file.
25013 * posix/Makefile (tests): Add tst-getopt_long1.
25014
c84cfef4
UD
25015 [BZ #10138]
25016 * scripts/config.guess: Update from autoconf-2.68.
25017 * scripts/config.sub: Likewise.
25018
3b85df27
UD
25019 [BZ #10157]
25020 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25021 tests into ...
25022 (has_cpuclock): ...this. New function.
25023 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25024 macro here based on has_cpuclock code.
25025
15a856b1
UD
25026 [BZ #10149]
25027 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25028 First byte (not low byte) is now always NUL.
25029 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25030
05f399e6
UD
25031 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25032 Use non-cancelable interfaces.
25033
10a52685 25034 [BZ #9809]
94ecc67d
UD
25035 * locale/iso-639.def: Add entry for Sorani.
25036
f8a3b5bf
UD
25037 [BZ #11901]
25038 * include/stdlib.h: Move include protection to the right place.
25039 Define abort_msg_s. Declare __abort_msg with it.
25040 * stdlib/abort.c (__abort_msg): Adjust type.
25041 * assert/assert.c (__assert_fail_base): New function. Majority
25042 of code from __assert_fail. Allocate memory for __abort_msg with
25043 mmap.
25044 (__assert_fail): Now call __assert_fail_base.
25045 * assert/assert-perr.c: Remove bulk of implementation. Use
25046 __assert_fail_base.
25047 * include/assert.hL Declare __assert_fail_base.
25048 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25049 mmap.
25050 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25051
1af4e298
UD
250522011-05-14 Ulrich Drepper <drepper@gmail.com>
25053
f8a3b5bf 25054 [BZ #11952]
d26dfc60
MG
25055 [BZ #12453]
25056 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25057 until all modules are registered in the DTV.
25058 * elf/Makefile: Add rules to build and run tst-tls19.
25059 * elf/tst-tls19.c: New file.
25060 * elf/tst-tls19mod1.c: New file.
25061 * elf/tst-tls19mod2.c: New file.
25062 * elf/tst-tls19mod3.c: New file.
25063 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25064
2fc54d6f
UD
25065 [BZ #12083]
25066 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25067 correctly.
25068
98d76b46
UD
25069 [BZ #12601]
25070 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25071 two-byte sequence errors.
25072 * iconvdata/Makefile (tests): Add bug-iconv8.
25073 * iconvdata/bug-iconv8.c: New file.
25074
da3c19ef
UD
25075 [BZ #12626]
25076 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25077 buf2 definition.
25078
ca408c15
UD
25079 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25080
d6f67f7d
UD
25081 [BZ #12432]
25082 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25083 (dummy_getcfa): New function.
25084 (init): Get _Unwind_GetCFA address, use dummy if not found.
25085 (backtrace_helper): In recursion check, also check whether CFA changes.
25086 (__backtrace): Completely initialize arg.
25087
1af4e298 25088 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
25089 storing incomplete byte sequence in state object. Avoid testing for
25090 guaranteed too small input if we know there is enough data available.
1af4e298 25091
da62f81b
AS
250922011-05-11 Andreas Schwab <schwab@redhat.com>
25093
25094 * Makeconfig (+link-pie): Indent.
25095 * Rules (binaries-pie): Define if $(have-fpie) and
25096 $(build-shared).
25097 (binaries-shared): Also filter out $(binaries-pie).
25098 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25099 * nscd/Makefile (others-pie): Add nscd.
25100 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25101 ($(objpfx)nscd): Remove command override.
25102 * login/Makefile (others-pie): Add pt_chown.
25103 ($(objpfx)pt_chown): Remove command override.
25104 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25105 remove command overrides.
25106
fcabc0f8
UD
251072011-05-13 Ulrich Drepper <drepper@gmail.com>
25108
20030ae6
UD
25109 * libio/tst_putwc.c: Fix error messages.
25110
fcabc0f8
UD
25111 [BZ #12724]
25112 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25113 currently writing and seek to current position when not.
25114 * libio/Makefile (tests): Add bug-fclose1.
25115 * libio/bug-fclose1.c: New file.
25116
320a5dc0
PB
251172011-05-12 Ulrich Drepper <drepper@gmail.com>
25118
25119 [BZ #12511]
25120 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25121 don't set DF_1_NODELETE here.
25122 (do_lookup_x): When entering new entry test for copy relocation
25123 and if necessary set DF_1_NODELETE flag.
25124 * elf/tst-unique4.cc: New file.
25125 * elf/tst-unique4.h: New file.
25126 * elf/tst-unique4lib.cc: New file.
25127 * elf/Makefile: Add rules to build and run tst-unique4.
25128 Patch by Piotr Bury <pbury@goahead.com>.
25129
22836f52
UD
251302011-05-11 Ulrich Drepper <drepper@gmail.com>
25131
f574184a
UD
25132 [BZ #12052]
25133 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25134
e1fb097f
UD
25135 [BZ #12625]
25136 * misc/mntent_r.c (addmntent): Flush the stream after the output
25137
22836f52
UD
25138 [BZ #12393]
25139 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25140 (is_trusted_path_normalize): Skip initial colon. Append slash
25141 to empty buffer. Duplicate is_trusted_path code but allow
25142 constructed patch to be prefix.
25143 (is_dst): Allow $ORIGIN followed by /.
25144 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25145 Correct testing of result of is_trusted_path_normalize
25146 (decompose_rpath): Fix warning.
25147
7b3b0b2a
UD
251482011-05-10 Ulrich Drepper <drepper@gmail.com>
25149
25150 [BZ #11257]
25151 * grp/initgroups.c (internal_getgrouplist): When we found the service
25152 list through the initgroups entry in nsswitch.conf do not always
25153 continue on a successful lookup. Don't always use the
eac80ce2 25154 __nss_group_database value if it is set.
7b3b0b2a
UD
25155 * nss/nsswitch.conf (initgroups): Change action for successful db
25156 lookup to continue for compatibility.
25157
2a81eaa5
UD
251582011-05-09 Ulrich Drepper <drepper@gmail.com>
25159
be97a69e
UD
25160 [BZ #11532]
25161 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25162 and CP774 modules.
25163 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25164 and CP774 modules.
25165 * iconvdata/tst-tables.sh: Likewise.
25166 * iconvdata/cp770.c: New file.
25167 * iconvdata/cp771.c: New file.
25168 * iconvdata/cp772.c: New file.
25169 * iconvdata/cp773.c: New file.
25170 * iconvdata/cp774.c: New file.
25171 * iconvdata/testdata/CP770: New file.
25172 * iconvdata/testdata/CP770..UTF8: New file.
25173 * iconvdata/testdata/CP771: New file.
25174 * iconvdata/testdata/CP771..UTF8: New file.
25175 * iconvdata/testdata/CP772: New file.
25176 * iconvdata/testdata/CP772..UTF8: New file.
25177 * iconvdata/testdata/CP773: New file.
25178 * iconvdata/testdata/CP773..UTF8: New file.
25179 * iconvdata/testdata/CP774: New file.
25180 * iconvdata/testdata/CP774..UTF8: New file.
25181
25182 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25183 END CHARMAP line.
25184 * iconvdata/gen-8bit-gap.sh: Likewise.
25185 * iconvdata/gen-8bit.sh: Likewise.
25186
c1e9e399
UD
25187 * locale/iso-639.def: Add ary entry.
25188
24c55fb3 25189 [BZ #11258]
96b4b1b0
UD
25190 * locale/C-translit.h.in: Add U20A1 transliteration.
25191
bdc2f971
KB
25192 [BZ #12178]
25193 * locale/iso-639.def: Add wae entry.
25194 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25195
2952b117
UD
25196 [BZ #12545]
25197 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25198 for n.
25199
2a81eaa5
UD
25200 [BZ #12711]
25201 * locale/C-translit.h.in: Add entry for U20B9.
25202 Patch by pravin.d.s@gmail.com.
25203
28377d1b
UD
252042011-05-08 Ulrich Drepper <drepper@gmail.com>
25205
7fb90fb8
UD
25206 [BZ #12713]
25207 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25208 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
25209 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25210 in rtld. Use *stat64.
7fb90fb8 25211 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 25212 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 25213 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
25214 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25215 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25216 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25217 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25218 __fstatat64 macros.
7fb90fb8
UD
25219 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25220 * dirent/rewinddir.c: Add libc_hidden_def.
25221 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 25222 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 25223
28377d1b
UD
25224 * include/dirent.h (__alloc_dir): Add flags parameter.
25225 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25226 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25227 __alloc_dir.
25228 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25229 from fdopendir if O_CLOEXEC is already set.
25230
66bdbaa4
AM
252312011-03-15 Alan Modra <amodra@gmail.com>
25232
25233 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25234 l_tls_firstbyte_offset non-zero. Save padding offset in
25235 l_tls_firstbyte_offset for later use.
25236 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25237 freeing static tls block.
25238
95721191
JN
252392011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25240
25241 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25242 where #ifdef was intended. The intent is to prevent ARG_MAX from
25243 being defined by the kernel headers.
25244
f87dfb1f
UD
252452011-05-07 Ulrich Drepper <drepper@gmail.com>
25246
25247 [BZ #12734]
25248 * resolv/resolv.h: Define RES_NOTLDQUERY.
25249 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25250 no-tld-query and set RES_NOTLDQUERY.
25251 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25252 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25253 modern BIND to search name as TLD unless forbidden.
25254
47c3cd7a
UD
252552011-05-07 Petr Baudis <pasky@suse.cz>
25256 Ulrich Drepper <drepper@gmail.com>
25257
25258 [BZ #12393]
25259 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25260 (is_trusted_path): ...to here.
c1e9ea35 25261 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 25262 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 25263 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 25264
8a35c912
PP
252652011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25266
25267 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25268 __BEGIN/__END_DECLS.
25269
acd41f47
UD
252702011-05-06 Ulrich Drepper <drepper@gmail.com>
25271
25272 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25273 NSS_STATUS_NOTFOUND if no record was found.
25274
597df647
AS
252752011-05-05 Andreas Schwab <schwab@redhat.com>
25276
25277 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25278 (headers-not-in-tirpc): Remove rpc/netdb.h
25279 * resolv/netdb.h: Revert last change.
25280
b9af1301
PP
252812011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25282
25283 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25284 circular dependency between libgcc.a and libc.a.
25285
4e34d5f5
AS
252862011-05-05 Andreas Schwab <schwab@redhat.com>
25287
25288 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25289 * nis/Makefile: Don't install rpcsvc/*.
25290 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25291 instead of <rpc/types.h>.
25292 (MAXHOSTNAMELEN): Define.
25293
00ee369c
AS
252942011-05-03 Andreas Schwab <schwab@redhat.com>
25295
25296 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25297
0b592a30
MB
252982011-04-28 Maciej Babinski <mbabinski@google.com>
25299
25300 [BZ #12714]
25301 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25302 gethostbyname4_r when IPv6 results are possible.
25303
6e04cbbe
UD
253042011-05-02 Ulrich Drepper <drepper@gmail.com>
25305
25306 [BZ #12723]
25307 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25308 _PC_PIPE_BUF handling.
25309
e4ecafe0
BH
253102011-04-30 Bruno Haible <bruno@clisp.org>
25311
25312 [BZ #12717]
25313 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25314 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25315 to 'int'.
25316 * inet/getnameinfo.c (getnameinfo): Likewise.
25317
125ee683
UD
253182011-04-29 Ulrich Drepper <drepper@gmail.com>
25319
25320 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25321 to groups setting in database lookup.
25322 * nss/nsswitch.conf: Add initgroups entry.
25323
b722481a
EB
253242011-04-22 Ulrich Drepper <drepper@gmail.com>
25325
25326 [BZ #12685]
25327 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25328 mode string.
25329 Patch by Eric Blake <eblake@redhat.com>.
25330
4df46dbd
L
253312011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25332
25333 * sunrpc/Makefile (need-export-routines): Add svc_run.
25334 (routines): Remove svc_run.
25335 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25336 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25337 * sunrpc/svc_run.c (svc_run): Likewise.
25338 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25339
e84142d2
UD
253402011-04-21 Ulrich Drepper <drepper@gmail.com>
25341
25342 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25343 problem in reallocation in last patch.
25344
877175d8
UD
253452011-04-20 Ulrich Drepper <drepper@gmail.com>
25346
25347 * sunrpc/Makefile: Move inclusion of Rules.
25348
ab8eed78
UD
253492011-04-19 Ulrich Drepper <drepper@gmail.com>
25350
25351 * nss/nss_files/files-initgroups.c: New file.
25352 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25353 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25354 _nss_files_initgroups_dyn.
25355
e3d8f584
RS
253562011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25357
25358 * elf/elf.h (R_ARM_IRELATIVE): Define.
25359
af190f45
UD
253602011-04-19 Ulrich Drepper <drepper@gmail.com>
25361
25362 * po/ru.po: Update from translation team.
25363
53cf59ef
UD
253642011-04-17 Ulrich Drepper <drepper@gmail.com>
25365
25366 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25367 dependencies.
25368
4c559bcd
MF
253692011-02-06 Mike Frysinger <vapier@gentoo.org>
25370
25371 [BZ #12653]
25372 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25373 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25374 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25375 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25376 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25377
4420675c
AS
253782011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25379
25380 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25381 differing bytes.
25382 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25383 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25384 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25385
75ea32ab
UD
253862011-04-17 Ulrich Drepper <drepper@gmail.com>
25387
25388 [BZ #12420]
25389 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25390 storing it.
25391 * stdlib/bug-getcontext.c: New file.
25392 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25393
27390476
AK
253942011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25395
25396 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25397 instructions into .machine "z9-109".
25398 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25399 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25400
10442705
AK
254012011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25402
25403 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25404 between environment variables and auxiliary vector.
25405
7b57bfe5
UD
254062011-04-16 Ulrich Drepper <drepper@gmail.com>
25407
25408 * Makefile: Add rules to build linkobj/libc.so.
25409 * include/libc-symbols.h: Define libc_hidden_nolink.
25410 * include/rpc/auth.h: Mark functions which are to be hidden.
25411 * include/rpc/auth_des.h: Likewise.
25412 * include/rpc/auth_unix.h: Likewise.
25413 * include/rpc/clnt.h: Likewise.
25414 * include/rpc/des_crypt.h: Likewise.
25415 * include/rpc/key_prot.h: Likewise.
25416 * include/rpc/pmap_clnt.h: Likewise.
25417 * include/rpc/pmap_prot.h: Likewise.
25418 * include/rpc/pmap_rmt.h: Likewise.
25419 * include/rpc/rpc_msg.h: Likewise.
25420 * include/rpc/svc.h: Likewise.
25421 * include/rpc/svc_auth.h: Likewise.
25422 * include/rpc/xdr.h: Likewise.
25423 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25424 * nss/Makefile: Likewise.
25425 * sunrpc/Makefile: Don't install headers. Build library with normal
25426 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25427 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25428 for the compat linking library. Remove use of INTDEF/INTUSE.
25429 * sunrpc/auth_none.c: Likewise.
25430 * sunrpc/auth_unix.c: Likewise.
25431 * sunrpc/authdes_prot.c: Likewise.
25432 * sunrpc/authuxprot.c: Likewise.
25433 * sunrpc/clnt_gen.c: Likewise.
25434 * sunrpc/clnt_perr.c: Likewise.
25435 * sunrpc/clnt_raw.c: Likewise.
25436 * sunrpc/clnt_simp.c: Likewise.
25437 * sunrpc/clnt_tcp.c: Likewise.
25438 * sunrpc/clnt_udp.c: Likewise.
25439 * sunrpc/clnt_unix.c: Likewise.
25440 * sunrpc/des_crypt.c: Likewise.
25441 * sunrpc/des_soft.c: Likewise.
25442 * sunrpc/get_myaddr.c: Likewise.
25443 * sunrpc/key_call.c: Likewise.
25444 * sunrpc/key_prot.c: Likewise.
25445 * sunrpc/netname.c: Likewise.
25446 * sunrpc/pm_getmaps.c: Likewise.
25447 * sunrpc/pm_getport.c: Likewise.
25448 * sunrpc/pmap_clnt.c: Likewise.
25449 * sunrpc/pmap_prot.c: Likewise.
25450 * sunrpc/pmap_prot2.c: Likewise.
25451 * sunrpc/pmap_rmt.c: Likewise.
25452 * sunrpc/publickey.c: Likewise.
25453 * sunrpc/rpc_cmsg.c: Likewise.
25454 * sunrpc/rpc_common.c: Likewise.
25455 * sunrpc/rpc_dtable.c: Likewise.
25456 * sunrpc/rpc_prot.c: Likewise.
25457 * sunrpc/rpc_thread.c: Likewise.
25458 * sunrpc/rtime.c: Likewise.
25459 * sunrpc/svc.c: Likewise.
25460 * sunrpc/svc_auth.c: Likewise.
25461 * sunrpc/svc_authux.c: Likewise.
25462 * sunrpc/svc_raw.c: Likewise.
25463 * sunrpc/svc_run.c: Likewise.
25464 * sunrpc/svc_simple.c: Likewise.
25465 * sunrpc/svc_tcp.c: Likewise.
25466 * sunrpc/svc_udp.c: Likewise.
25467 * sunrpc/svc_unix.c: Likewise.
25468 * sunrpc/svcauth_des.c: Likewise.
25469 * sunrpc/xcrypt.c: Likewise.
25470 * sunrpc/xdr.c: Likewise.
25471 * sunrpc/xdr_array.c: Likewise.
25472 * sunrpc/xdr_float.c: Likewise.
25473 * sunrpc/xdr_intXX_t.c: Likewise.
25474 * sunrpc/xdr_mem.c: Likewise.
25475 * sunrpc/xdr_rec.c: Likewise.
25476 * sunrpc/xdr_ref.c: Likewise.
25477 * sunrpc/xdr_sizeof.c: Likewise.
25478 * sunrpc/xdr_stdio.c: Likewise.
25479
e6c61494
UD
254802011-04-10 Ulrich Drepper <drepper@gmail.com>
25481
25482 [BZ #12650]
25483 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25484 * sysdeps/ia64/dl-tls.h: Likewise.
25485 * sysdeps/powerpc/dl-tls.h: Likewise.
25486 * sysdeps/s390/dl-tls.h: Likewise.
25487 * sysdeps/sh/dl-tls.h: Likewise.
25488 * sysdeps/sparc/dl-tls.h: Likewise.
25489 * sysdeps/x86_64/dl-tls.h: Likewise.
25490 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25491
34fe483e
AS
254922011-03-14 Andreas Schwab <schwab@redhat.com>
25493
25494 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25495 rpath element also skip the following colon.
25496 (expand_dynamic_string_token): Add is_path parameter and pass
25497 down to DL_DST_REQUIRED and _dl_dst_substitute.
25498 (decompose_rpath): Call expand_dynamic_string_token with
25499 non-zero is_path. Ignore empty rpaths.
25500 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25501 with zero is_path.
25502
f12a32e6
AS
255032011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25504
25505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25506 Make cancelable.
25507
38a7d692
UD
255082011-04-09 Ulrich Drepper <drepper@gmail.com>
25509
25510 [BZ #12655]
25511 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25512 Patch by Filipe David Manana <fdmanana@apache.org>.
25513
e451d22b
AS
255142011-04-07 Andreas Schwab <schwab@redhat.com>
25515
25516 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25517 Maintain aligned stack.
25518 (CHECK_RSP): Remove unused macro.
25519
dedc7c7b
UD
255202011-04-03 Ulrich Drepper <drepper@gmail.com>
25521
25522 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25523 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25524
94521213
UD
255252011-04-02 Ulrich Drepper <drepper@gmail.com>
25526
25527 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25528
8cb700c0 25529 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 25530
0354e355
L
255312011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25532
25533 [BZ #12518]
25534 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25535 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25536 * sysdeps/x86_64/memmove.c: New file.
25537 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25538 (memcpy): Renamed to ...
25539 (__new_memcpy): This.
25540 (memcpy): Provide GLIBC_2_14 memcpy.
25541 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25542 (memcpy): Provide GLIBC_2_2_5 memcpy.
25543
8593482f
UD
255442011-04-01 Ulrich Drepper <drepper@gmail.com>
25545
25546 [BZ #12631]
25547 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25548
81a5726b
AS
255492011-03-30 Andreas Schwab <schwab@redhat.com>
25550
25551 * misc/syncfs.c: New file.
25552 * misc/Makefile (routines): Add syncfs.
25553 * posix/unistd.h: Declare syncfs.
25554 * sysdeps/unix/syscalls.list: Add syncfs.
25555
00e5419f
AS
255562011-04-01 Andreas Schwab <schwab@redhat.com>
25557
25558 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25559 open_by_handle_at.
25560 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25561 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25562 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25563 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25564 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25565 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25566 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25567
748876bf
UD
255682011-04-01 Ulrich Drepper <drepper@gmail.com>
25569
658e451d
UD
25570 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25571 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25572 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25573 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25574 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25575 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25576 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25577
748876bf
UD
25578 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25579 sync_file_range.c with -fexceptions.
25580 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25581 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25582 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25583 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25584 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25585 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25586 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
25587 sync_file_range as cancellation point
25588 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25589 now a wrapper around __call_sync_file_range with cancellation handling.
25590 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25591 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25592 function name to __call_sync_file_range.
25593 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25594 Add call_sync_file_range.
748876bf 25595
6e63d5e1
AS
255962011-04-01 Andreas Schwab <schwab@redhat.com>
25597
25598 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 25599 bits/timex.h.
6e63d5e1 25600
46998f74
UD
256012011-04-01 Ulrich Drepper <drepper@gmail.com>
25602
4c1423ed
UD
25603 * iconv/iconv.h: Fix typo in comment.
25604 * io/fcntl.h: Likewise.
25605 * libio/stdio.h: Likewise.
25606 * posix/spawn.h: Likewise.
25607 * posix/unistd.h: Likewise.
25608 * stdlib/stdlib.h: Likewise.
25609 * time/time.h: Likewise.
25610 * wcsmbs/wchar.h: Likewise.
25611
158648c0
UD
25612 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25613 open_by_handle): Add.
25614 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25615 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25616 Augment a few comments.
25617 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25618 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25619 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25620 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25621 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25622 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25623 open_by_handle.
25624
46998f74
UD
25625 * io/fcntl.h (AT_EMPTY_PATH): Define.
25626
83fe108b
UD
256272011-03-30 Ulrich Drepper <drepper@gmail.com>
25628
25629 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25630 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25631 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25632 to...
25633 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
25634 * Versions.def: Add GLIBC_2.14.
25635 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25636 Export.
83fe108b 25637
bb242059
UD
256382011-03-22 Ulrich Drepper <drepper@gmail.com>
25639
25640 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25641 round counter.
25642 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25643
c97a1282
L
256442011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25645
25646 [BZ #12597]
25647 * string/test-strncmp.c (do_page_test): New function.
25648 (check2): Likewise.
25649 (test_main): Call check2.
25650 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25651
2a115601
UD
256522011-03-20 Ulrich Drepper <drepper@gmail.com>
25653
25654 [BZ #12587]
25655 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25656 Handle cache information in CPU leaf 4.
25657 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25658
8126d904
UD
256592011-03-18 Ulrich Drepper <drepper@gmail.com>
25660
042c49c6 25661 [BZ #12583]
8126d904
UD
25662 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25663 character representation.
25664 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25665
ccfe366e
RA
256662011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25667
25668 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25669 END(__isnan) to END(__isnanf) to match function entry point/label
25670 EALIGN(__isnanf,...).
25671
c6e13027
JJ
256722011-03-10 Jakub Jelinek <jakub@redhat.com>
25673
25674 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25675
33f85a3f
UD
256762011-03-10 Ulrich Drepper <drepper@gmail.com>
25677
028478fa
UD
25678 [BZ #12510]
25679 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25680 copy from the symbol referenced in the relocation to initialize the
25681 used variable.
25682 Patch by Piotr Bury <pbury@goahead.com>.
25683 * elf/Makefile: Add rules to build and tst-unique3.
25684 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25685 * elf/tst-unique3.cc: New file.
25686 * elf/tst-unique3.h: New file.
25687 * elf/tst-unique3lib.cc: New file.
25688 * elf/tst-unique3lib2.cc: New file.
25689
33f85a3f
UD
25690 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25691
03592fc7
MF
256922011-03-10 Mike Frysinger <vapier@gentoo.org>
25693
25694 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25695 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25696 to _start.
03592fc7 25697
6a5ee102
UD
256982011-03-06 Ulrich Drepper <drepper@gmail.com>
25699
25700 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25701 to-be-loaded object along a path to loader is ld.so.
25702
7e4ba49c
HJ
257032011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25704 Ulrich Drepper <drepper@gmail.com>
25705
25706 * sysdeps/x86_64/memset.S: After aligning destination, code
25707 branches to different locations depending on the value of
25708 misalignment, when multiarch is enabled. Fix this.
25709
257102011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25711
25712 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25713 Set _x86_64_preferred_memory_instruction for AMD processsors.
25714 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25715 Set bit_Prefer_SSE_for_memop for AMD processors.
25716
13a804de
UD
257172011-03-04 Ulrich Drepper <drepper@gmail.com>
25718
25719 * libio/fmemopen.c (fmemopen): Optimize a bit.
25720
9d25c392
AS
257212011-03-03 Andreas Schwab <schwab@redhat.com>
25722
25723 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25724
a5543c6a
RM
257252011-03-03 Roland McGrath <roland@redhat.com>
25726
25727 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25728
012d35f7
DM
257292011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25730
7e4ba49c 25731 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
25732 __bzero_ultra1 instead of __memset_ultra1.
25733
4bff6e01
AS
257342011-02-23 Andreas Schwab <schwab@redhat.com>
25735 Ulrich Drepper <drepper@gmail.com>
25736
25737 [BZ #12509]
25738 * include/link.h (struct link_map): Add l_orig_initfini.
25739 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25740 returning unsuccessfully.
25741 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25742 close of a file loaded at startup, restore the original l_initfini
25743 list.
25744 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25745 list, store the pointer.
25746 * elf/Makefile ($(objpfx)noload-mem): New rule.
25747 (noload-ENV): Define.
25748 (tests): Add $(objpfx)noload-mem.
25749 * elf/noload.c: Include <memcheck.h>.
25750 (main): Call mtrace. Close all opened handles.
25751
f2092faf
AS
257522011-02-17 Andreas Schwab <schwab@redhat.com>
25753
25754 [BZ #12454]
25755 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25756 dependencies are missing.
25757
6c8a2e88
ST
257582011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25759
f2092faf 25760 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
25761 Hurd needs munmap.
25762 * sysdeps/mach/hurd/ifreq.h: New file.
25763
84a42118
PB
257642011-01-27 Petr Baudis <pasky@suse.cz>
25765 Ulrich Drepper <drepper@gmail.com>
25766
071f805e 25767 [BZ 12445]#
84a42118
PB
25768 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25769 to extend_alloca().
25770 * stdio-common/bug23.c: New file.
25771 * stdio-common/Makefile (tests): Add bug23.
25772
e23fe25b
AS
257732010-09-28 Andreas Schwab <schwab@redhat.com>
25774 Ulrich Drepper <drepper@gmail.com>
25775
25776 [BZ #12489]
25777 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25778 before performing relro protection. At old place add assertion
25779 to make sure nothing changed.
25780
d3f02e10
NS
257812011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25782 Glauber de Oliveira Costa <glommer@gmail.com>
25783
25784 * elf/elf.h: Add new ARM TLS relocs.
25785
d55fd7a5
RA
257862011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25787
25788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25789 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25790 cast from r3.
25791 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25792 'tests' variable.
25793 * sysdeps/wordsize-64/tst-writev.c: New file.
25794
2206397e
RA
257952011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25796
25797 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25798 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25799 insns in _dl_start to prevent a TOC reference before relocs are
25800 resolved.
25801
e9433893
UD
258022011-02-15 Ulrich Drepper <drepper@gmail.com>
25803
25804 [BZ #12469]
25805 * Makeconfig: Remove RANLIB definition.
25806 * Makerules: Don't use RANLIB.
25807 * aclocal.m4: Remove ranlib test.
25808 * configure.in: No need to check for ranlib.
25809 * elf/rtld-Rules: Don't use RANLIB.
25810
f75286c6
ST
258112011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25812
8e31c82d
ST
25813 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25814 protection macro.
25815 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25816 inclusion protection macro.
25817
f75286c6
ST
25818 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25819 SIGRTMIN and SIGRTMAX and print information in that case only when
25820 SIGRTMIN is defined.
25821
c1d0e639
JJ
258222011-02-11 Jakub Jelinek <jakub@redhat.com>
25823
25824 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25825 arginfo fn returning -1.
25826
25827 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25828 and thousands string is zero terminated.
25829
edf9294e
AS
258302011-02-03 Andreas Schwab <schwab@redhat.com>
25831
25832 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
25833 sysdeps/unix/sysv/linux/bits/socket.h.
25834
2b7e92df
ST
258352011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
25836
edf9294e
AS
25837 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
25838 (__CPU_COUNT): Remove old macros.
25839 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
25840 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
25841 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
25842 (__sched_cpualloc, __sched_cpufree): Add declarations.
25843
a4c7ea7b
UD
258442011-02-05 Ulrich Drepper <drepper@gmail.com>
25845
25846 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
25847 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
25848 * nscd/aicache.c (addhstaiX): Return timeout of added value.
25849 (readdhstai): Return value of addhstaiX call.
25850 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
25851 (addgrbyX): Return value returned by cache_addgr.
25852 (readdgrbyname): Return value returned by addgrbyX.
25853 (readdgrbygid): Likewise.
25854 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
25855 (addpwbyX): Return value returned by cache_addpw.
25856 (readdpwbyname): Return value returned by addhstbyX.
25857 (readdpwbyuid): Likewise.
25858 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
25859 (addservbyX): Return value returned by cache_addserv.
25860 (readdservbyname): Return value returned by addservbyX:
25861 (readdservbyport): Likewise.
25862 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
25863 (addhstbyX): Return value returned by cache_addhst.
25864 (readdhstbyname): Return value returned by addhstbyX.
25865 (readdhstbyaddr): Likewise.
25866 (readdhstbynamev6): Likewise.
25867 (readdhstbyaddrv6): Likewise.
25868 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
25869 (readdinitgroups): Return value returned by addinitgroupsX.
25870 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
25871 (prune_cache): Keep track of timeout value of re-added entries.
25872 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
25873 * nscd/nscd.h: Adjust prototypes of readd* functions.
25874
a0bf67cc
RM
258752011-02-04 Roland McGrath <roland@redhat.com>
25876
25877 * nis/nis_server.c (nis_servstate): Use the right name for 0.
25878 (nis_stats): Likewise.
25879 * nis/nis_modify.c (nis_modify): Likewise.
25880 * nis/nis_remove.c (nis_remove): Likewise.
25881 * nis/nis_add.c (nis_add): Likewise.
25882
25883 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
25884
25885 * posix/fnmatch_loop.c: Add some consts.
25886
25887 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
25888
435b95eb
L
258892011-02-02 H.J. Lu <hongjiu.lu@intel.com>
25890
25891 [BZ #12460]
25892 * config.make.in (config-cflags-novzeroupper): Define.
25893 * configure.in: Substitute libc_cv_cc_novzeroupper.
25894 * elf/Makefile (AVX-CFLAGS): Define.
25895 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
25896 (CFLAGS-tst-auditmod4a.c): Likewise.
25897 (CFLAGS-tst-auditmod4b.c): Likewise.
25898 (CFLAGS-tst-auditmod6b.c): Likewise.
25899 (CFLAGS-tst-auditmod6c.c): Likewise.
25900 (CFLAGS-tst-auditmod7b.c): Likewise.
25901 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
25902
8517b15e
UD
259032011-02-02 Ulrich Drepper <drepper@gmail.com>
25904
25905 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
25906 function to the callback.
25907 Patch partly by Jiri Olsa <jolsa@redhat.com>.
25908
10a656fe
AS
259092011-02-02 Andreas Schwab <schwab@redhat.com>
25910
25911 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
25912 of errno.
25913
968dad0a
UD
259142011-01-19 Ulrich Drepper <drepper@gmail.com>
25915
9f94d2ea 25916 [BZ #11724]
968dad0a
UD
25917 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
25918 of constructors.
25919 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
25920 of destructors.
25921 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
25922
25923 [BZ #11724]
25924 * elf/Makefile: Add rules to build and run new test.
25925 * elf/tst-initorder.c: New file.
25926 * elf/tst-initorder.exp: New file.
25927 * elf/tst-initordera1.c: New file.
25928 * elf/tst-initordera2.c: New file.
25929 * elf/tst-initordera3.c: New file.
25930 * elf/tst-initordera4.c: New file.
25931 * elf/tst-initorderb1.c: New file.
25932 * elf/tst-initorderb2.c: New file.
25933 * elf/tst-order-a1.c: New file.
25934 * elf/tst-order-a2.c: New file.
25935 * elf/tst-order-a3.c: New file.
25936 * elf/tst-order-a4.c: New file.
25937 * elf/tst-order-b1.c: New file.
25938 * elf/tst-order-b2.c: New file.
25939 * elf/tst-order-main.c: New file.
25940 New test case by George Gensure <werkt0@gmail.com>.
25941
86e92359
UD
259422010-10-01 Andreas Schwab <schwab@redhat.com>
25943
25944 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
25945 decoding ACE if AI_CANONIDN.
25946
5d5732b0
UD
259472011-01-18 Ulrich Drepper <drepper@gmail.com>
25948
25949 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
25950
a77e8cbc
UD
259512011-01-17 Ulrich Drepper <drepper@gmail.com>
25952
6392473f
UD
25953 * version.h (RELEASE): Bump for 2.13 release.
25954 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
25955
620a0529
UD
25956 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
25957
18ba70a5
UD
25958 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
25959 MADV_NOHUGEPAGE.
32465c3e
UD
25960 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
25961 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
25962 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25963 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25964 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25965 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
25966
c0dafcf1
UD
25967 * posix/getconf.c: Update copyright year.
25968 * catgets/gencat.c: Likewise.
25969 * csu/version.c: Likewise.
25970 * debug/catchsegv.sh: Likewise.
25971 * debug/xtrace.sh: Likewise.
25972 * elf/ldconfig.c: Likewise.
25973 * elf/ldd.bash.in: Likewise.
25974 * elf/sprof.c (print_version): Likewise.
25975 * iconv/iconv_prog.c: Likewise.
25976 * iconv/iconvconfig.c: Likewise.
25977 * locale/programs/locale.c: Likewise.
25978 * locale/programs/localedef.c: Likewise.
25979 * malloc/memusage.sh: Likewise.
25980 * malloc/mtrace.pl: Likewise.
25981 * nscd/nscd.c (print_version): Likewise.
25982 * nss/getent.c: Likewise.
25983
a77e8cbc
UD
25984 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
25985 PF_CAIF, and PF_ALG.
25986 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25987
77e8bddf
AS
259882011-01-16 Andreas Schwab <schwab@linux-m68k.org>
25989
1f20b93a
AS
25990 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
25991 (modules-names): Use them.
25992 (ifunc-test-modules, ifunc-pie-tests): Define.
25993 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
25994 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
25995 (test-extras): Likewise.
25996 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
25997 $(compile-command.c).
25998 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
25999 (all-built-dso): Define.
26000 (check-textrel.out, check-execstack.out): Depend on it.
26001
77e8bddf
AS
26002 * configure.in: Don't override --enable-multi-arch.
26003
bc425b33
UD
260042011-01-15 Ulrich Drepper <drepper@gmail.com>
26005
26006 [BZ #6812]
26007 * nscd/hstcache.c (tryagain): Define.
26008 (cache_addhst): Return tryagain not notfound for temporary errors.
26009 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26010 failed.
26011
794c3ad3
UD
260122011-01-14 Ulrich Drepper <drepper@gmail.com>
26013
70181fdd
UD
26014 [BZ #10563]
26015 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26016 to make the syscall.
26017 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26018
794c3ad3
UD
26019 [BZ #12378]
26020 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26021 and fall back to matching as normal character if the string ends before
26022 the matching ']' is found. This is what POSIX requires.
26023 * posix/testfnm.c: Adjust test result.
26024 * posix/globtest.sh: Adjust test result. Add new test.
26025 * posix/tst-fnmatch.input: Likewise.
26026 * posix/tst-fnmatch2.c: Add new test.
26027
68dc9497
AS
260282010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26029
26030 * elf/Makefile (check-execstack): Revert last change. Depend on
26031 check-execstack.h.
26032 (check-execstack.h): New target.
26033 (generated): Add check-execstack.h.
26034 * elf/check-execstack.c: Include "check-execstack.h".
26035 (main): Revert last change.
26036 (handle_file): Return zero if GNU_STACK is absent and
26037 DEFAULT_STACK_PERMS doesn't include PF_X.
26038
451f001b
UD
260392011-01-13 Ulrich Drepper <drepper@gmail.com>
26040
cfa28e56
UD
26041 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26042 in child fails because the descriptor is already closed.
8cf8ce17
UD
26043 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26044 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26045 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 26046
1086d70d
UD
26047 [BZ #12397]
26048 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26049 syscall.
26050
451f001b
UD
26051 [BZ #10484]
26052 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26053 temporary buffer used to handle multi lookups locally.
a85b5cb4 26054 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 26055
08769175
UD
260562011-01-12 Ulrich Drepper <drepper@gmail.com>
26057
26058 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26059 loader is ld.so.
26060
5e49c52e
UD
260612011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26062
26063 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26064 alignment for SSE2.
26065
60522a5f
UD
260662011-01-12 Ulrich Drepper <drepper@gmail.com>
26067
26068 [BZ #12394]
26069 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26070 characters. When rounding increased number of integer digits recompute
26071 number of groups.
26072 * stdio-common/tst-grouping.c: New file.
26073 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26074
f257bbd7
UD
260752011-01-09 Ulrich Drepper <drepper@gmail.com>
26076
26077 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26078 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26079
26080 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26081 void.
26082 * bits/select.h: Likewise.
26083
fa9c15cb
UD
260842011-01-08 Ulrich Drepper <drepper@gmail.com>
26085
26086 * po/ja.po: Update from translation team.
26087
16c2895f
DM
260882011-01-04 David S. Miller <davem@sunset.davemloft.net>
26089
26090 [BZ #11155]
26091 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26092 implementation just like for lxstat, fxstatat, et al.
26093
2543fef2
JM
260942010-12-27 Jim Meyering <meyering@redhat.com>
26095
26096 [BZ #12348]
26097 * posix/regexec.c (build_trtable): Return failure indication upon
26098 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26099
98727dbe
UD
261002010-12-25 Ulrich Drepper <drepper@gmail.com>
26101
5bd6dc5c
UD
26102 [BZ #12201]
26103 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26104 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26105 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26106 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26107
97983464
UD
26108 [BZ #12207]
26109 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26110
98727dbe
UD
26111 [BZ #12204]
26112 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26113 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26114
4a531bb0
L
261152010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26116
26117 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26118 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26119 script has SORT_BY_INIT_PRIORITY.
26120 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26121 NO_CTORS_DTORS_SECTIONS is defined.
26122 * elf/soinit.c: Likewise.
26123 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26124 NO_CTORS_DTORS_SECTIONS is defined.
26125 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26126 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26127 * sysdeps/sh/init-first.c: Likewise.
26128 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26129
07eb4b71
UD
261302010-12-24 Ulrich Drepper <drepper@gmail.com>
26131
26132 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26133 always use the slow path.
26134
30950a5f
RA
261352010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26136
26137 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26138 similar rule which adds the sysdep directories to the header search in
26139 order to pick up the correct platform stackinfo.h.
26140 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26141 perform test if it is, otherwise return successfully without testing.
26142 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26143 DEFAULT_STACK_PERMS define in stackinfo.h.
26144 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26145 defined in stackinfo.h.
26146 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26147 DEFAULT_STACK_PERMS defined in stackinfo.h.
26148 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26149 * sysdeps/ia64/stackinfo.h: Likewise.
26150 * sysdeps/s390/stackinfo.h: Likewise.
26151 * sysdeps/sh/stackinfo.h: Likewise.
26152 * sysdeps/sparc/stackinfo.h: Likewise.
26153 * sysdeps/x86_64/stackinfo.h: Likewise.
26154 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26155 PF_X for powerpc64. Retain PF_X for powerpc32.
26156
db753e2c
UD
261572010-12-19 Ulrich Drepper <drepper@gmail.com>
26158
14b697f7
UD
26159 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26160 accurately.
db753e2c
UD
26161 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26162 GETDENTS_64BIT_ALIGNED.
26163
28300719
UD
261642010-12-14 Ulrich Drepper <dreper@gmail.com>
26165
14b697f7 26166 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 26167
4f197237
AS
261682010-12-10 Andreas Schwab <schwab@redhat.com>
26169
dbb0472f
AS
26170 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26171 _GNU_SOURCE.
26172
4f197237
AS
26173 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26174 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26175 Remove __restrict.
26176 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26177 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26178
fb88ac72
UD
261792010-12-09 Ulrich Drepper <drepper@gmail.com>
26180
26181 [BZ #11655]
26182 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26183 are initialized.
26184
42acbb92
JJ
261852010-12-09 Jakub Jelinek <jakub@redhat.com>
26186
26187 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26188
c038d98d
UD
261892010-12-03 Ulrich Drepper <drepper@gmail.com>
26190
26191 * po/it.po: Update from translation team.
26192
3a4a2499
L
261932010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26194
26195 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26196 unused codes.
26197
1e24cf6e
UD
261982010-11-30 Ulrich Drepper <drepper@gmail.com>
26199
26200 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26201
a7690819
AS
262022010-11-24 Andreas Schwab <schwab@redhat.com>
26203
26204 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26205 specially.
26206 (gaih_getanswer_slice): Likewise.
26207
3bf8d1b1
JJ
262082010-10-20 Jakub Jelinek <jakub@redhat.com>
26209
26210 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26211
6db52fbb
PB
262122010-05-31 Petr Baudis <pasky@suse.cz>
26213
26214 [BZ #11149]
26215 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26216 silently even in the chroot mode.
26217
eaca7569
UD
262182010-11-22 Ulrich Drepper <drepper@gmail.com>
26219
26220 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26221 last patch a bit. Pretty printing
26222
3056dcdb
UD
262232010-05-31 Petr Baudis <pasky@suse.cz>
26224
26225 [BZ #10085]
26226 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26227 initialization of skip_initgroups_dyn.
26228
cf7c9078
UD
262292010-11-19 Ulrich Drepper <drepper@gmail.com>
26230
26231 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26232 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26233
a1fb5e3e
UD
262342010-11-16 Ulrich Drepper <drepper@gmail.com>
26235
26236 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26237
3540d66b
AS
262382010-11-11 Andreas Schwab <schwab@redhat.com>
26239
26240 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26241 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26242 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26243 ($(objpfx)tst-fnmatch-mem): New rule.
26244 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26245 * posix/tst-fnmatch.c (main): Call mtrace.
26246
13b69574
L
262472010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26248
26249 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26250 Support Intel processor model 6 and model 0x2c.
26251
da93d214
LM
262522010-11-10 Luis Machado <luisgpm@br.ibm.com>
26253
26254 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26255 signed comparison.
26256
8ca52c6e
L
262572010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26258
26259 [BZ #12205]
26260 * string/test-strncasecmp.c (check_result): New function.
26261 (do_one_test): Use it.
26262 (check1): New function.
26263 (test_main): Use it.
26264 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26265 Support strcasecmp and strncasecmp.
26266
69da074d
UD
262672010-11-08 Ulrich Drepper <drepper@gmail.com>
26268
26269 [BZ #12194]
26270 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26271 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26272
ff02d528
L
262732010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26274
26275 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26276 IFUNC support.
26277 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26278 memset-x86-64.
26279 * sysdeps/x86_64/multiarch/bzero.S: New file.
26280 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26281 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26282 * sysdeps/x86_64/multiarch/memset.S: New file.
26283 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26285 Set bit_Prefer_SSE_for_memop for Intel processors.
26286 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26287 Define.
26288 (index_Prefer_SSE_for_memop): Define.
26289 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26290
344d0b54
LM
262912010-11-04 Luis Machado <luisgpm@br.ibm.com>
26292
26293 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26294 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26295
c0dde15b
UD
262962010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26297
26298 [BZ #12191]
26299 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26300 (__x86_64_raw_data_cache_size_half): Likewise.
26301 (__x86_64_raw_shared_cache_size): Likewise.
26302 (__x86_64_raw_shared_cache_size_half): Likewise.
26303
26304 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26305 (__x86_64_raw_data_cache_size_half): Likewise.
26306 (__x86_64_raw_shared_cache_size): Likewise.
26307 (__x86_64_raw_shared_cache_size_half): Likewise.
26308 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26309 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26310 and __x86_64_raw_shared_cache_size_half. Round
26311 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26312 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26313 to multiple of 256 bytes.
26314
0e516e0e
MS
263152010-11-03 Ulrich Drepper <drepper@gmail.com>
26316
26317 [BZ #12167]
26318 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26319 of inacessible symlinks. Verify result of symlink before returning it.
26320 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26321 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26322
0e012e87
ER
263232010-10-28 Erich Ritz <erichritz@gmail.com>
26324
26325 * math/math.h (isinf): Fix typo in comment.
26326
de0ff7bc
UD
263272010-11-01 Ulrich Drepper <drepper@gmail.com>
26328
26329 * po/da.po: Update from translation team.
26330
fa41c84d
UD
263312010-10-26 Ulrich Drepper <drepper@gmail.com>
26332
26333 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26334 is added to the list.
26335
f0967738
AK
263362010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26337 Ulrich Drepper <drepper@gmail.com>
26338
26339 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26340 the global list here. Move code to...
26341 (_dl_add_to_namespace_list): ...here. New function.
26342 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26343 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26344 * elf/dl-load.c (lose): Don't remove the element from the list.
26345 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26346 (_dl_map_object): Likewise.
26347
263482010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
26349
26350 [BZ #12159]
26351 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26352 into all bytes of SSE register.
26353 Patch by Richard Li <richardpku@gmail.com>.
26354
f0967738 263552010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
26356
26357 [BZ #12140]
26358 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26359 perturbing.
26360
d0b9e94f
MB
263612010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26362
26363 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26364 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26365 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26366 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26368 submachine.
26369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26370
8e9f92e9
AS
263712010-10-22 Andreas Schwab <schwab@redhat.com>
26372
26373 * include/dlfcn.h (__RTLD_SECURE): Define.
26374 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26375 mode & __RTLD_SECURE instead.
26376 (open_path): Rename preloaded parameter to secure.
26377 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26378 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26379 * elf/dl-deps.c (openaux): Likewise.
26380 * elf/rtld.c (struct map_args): Remove is_preloaded.
26381 (map_doit): Don't use it.
26382 (dl_main): Likewise.
26383 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26384 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26385
bc96fbda
AS
263862010-09-09 Andreas Schwab <schwab@redhat.com>
26387
26388 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26389 (sysd-rules-targets): Remove duplicates.
26390 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26391 rtld-%.$o dependency.
26392
22cd1c9b
AS
263932010-10-18 Andreas Schwab <schwab@redhat.com>
26394
26395 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26396 _dl_map_object do it.
26397
18edac48
UD
263982010-10-19 Ulrich Drepper <drepper@gmail.com>
26399
26400 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26401 fast fma builtins, define the macros in the C99 standard.
26402 (FP_FAST_FMAF): Likewise.
26403 (FP_FAST_FMAL): Likewise.
26404 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26405
26406 * bits/mathdef.h: Update copyright year.
26407 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26408
d2050124
MM
264092010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26410
26411 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26412 builtins, define the macros in the C99 standard.
26413 (FP_FAST_FMAF): Likewise.
26414 (FP_FAST_FMAL): Likewise.
26415 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26416 multiply/add.
26417 (FP_FAST_FMAF): Likewise.
26418
475facd1
JJ
264192010-10-15 Jakub Jelinek <jakub@redhat.com>
26420
26421 [BZ #3268]
26422 * math/libm-test.inc (fma_test): Some new testcases.
26423 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26424 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26425 y and infinite z. Do multiplication by C already in long double.
26426 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26427 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26428 y and infinite z. Do bitwise or of inexact bit into u.d.
26429 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26430 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26431 * sysdeps/i386/fpu/s_fma.S: Removed.
26432 * sysdeps/i386/fpu/s_fmal.S: Removed.
26433
7c08a05c
JJ
264342010-10-16 Jakub Jelinek <jakub@redhat.com>
26435
26436 [BZ #3268]
26437 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26438 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26439 computation is not scheduled after fetestexcept. Fix value
26440 of minimum denormal long double.
26441
f3f7372d
JJ
264422010-10-14 Jakub Jelinek <jakub@redhat.com>
26443
26444 [BZ #3268]
26445 * math/libm-test.inc (fma_test): Add some more tests.
26446 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26447 correctly.
26448
14d43591
AS
264492010-10-15 Andreas Schwab <schwab@redhat.com>
26450
26451 * scripts/data/localplt-s390-linux-gnu.data: New file.
26452 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26453
5e908464
JJ
264542010-10-13 Jakub Jelinek <jakub@redhat.com>
26455
26456 [BZ #3268]
26457 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26458 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26459 instead of dbl-64.
26460 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26461 inlines.
26462 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26463 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26464 if one of x and y is very large and the other is subnormal.
26465 * sysdeps/s390/fpu/s_fmaf.c: New file.
26466 * sysdeps/s390/fpu/s_fma.c: New file.
26467 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26468 * sysdeps/powerpc/fpu/s_fma.S: New file.
26469 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26470 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26471 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26472
264732010-10-12 Jakub Jelinek <jakub@redhat.com>
26474
26475 [BZ #3268]
26476 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26477 fma tests.
26478 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26479 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26480 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26481 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26482 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26483 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26484 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26485
b833d51f
UD
264862010-10-12 Ulrich Drepper <drepper@redhat.com>
26487
26488 [BZ #12078]
26489 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26490 * posix/bug-regex31.input: Add test case.
26491
1751705d
UD
264922010-10-11 Ulrich Drepper <drepper@gmail.com>
26493
e9b9cbf5
UD
26494 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26495 * posix/bug-regex31.input: New file.
26496
26497 [BZ #12078]
26498 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26499 (parse_sub_exp): Fix last change, use postorder.
26500
ef06edbe
UD
26501 * posix/bug-regex31.c: New file.
26502 * posix/Makefile: Add rules to build and run bug-regex31.
26503
a129c80d
UD
26504 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26505
26506 [BZ #12078]
26507 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26508
b76b818e
UD
26509 [BZ #12108]
26510 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26511 to have entries in sys_siglist.
26512
1751705d
UD
26513 [BZ #12093]
26514 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26515 be NULL.
26516
9ff8d36f
JJ
265172010-10-07 Jakub Jelinek <jakub@redhat.com>
26518
26519 [BZ #3268]
26520 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26521 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26522 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26523 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26524 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26525 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26526 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26527 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26528 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26529 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26530 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26531 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26532 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26533 * math/ftestexcept.c (fetestexcept): Likewise.
26534 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26535 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26536 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26537 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26538 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26539 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26540 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26541
af325969
UD
265422010-10-11 Ulrich Drepper <drepper@gmail.com>
26543
c579b202 26544 [BZ #12107]
af325969
UD
26545 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26546 newline.
26547
67a67b95
UD
265482010-10-06 Ulrich Drepper <drepper@gmail.com>
26549
26550 * string/bug-strstr1.c: New file.
26551 * string/Makefile: Add rules to build and run bug-strstr1.
26552
5fb308bc
EB
265532010-10-05 Eric Blake <eblake@redhat.com>
26554
26555 [BZ #12092]
26556 * string/str-two-way.h (two_way_long_needle): Always clear memory
26557 when skipping input due to the shift table.
26558
45db99c7
UD
265592010-10-03 Ulrich Drepper <drepper@gmail.com>
26560
3b111893
UD
26561 [BZ #12005]
26562 * malloc/mcheck.c: Handle large requests.
26563
45db99c7
UD
26564 [BZ #12077]
26565 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26566 for strncmp and strncasecmp.
26567 * string/stratcliff.c: Add tests for strcmp and strncmp.
26568 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26569
cf7a1eb8
NI
265702010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26571
26572 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26573 __set_fpscr.
26574
6484ba5e
AJ
265752010-09-30 Andreas Jaeger <aj@suse.de>
26576
26577 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26578 (CGROUP_SUPER_MAGIC): Define.
26579 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26580 Handle btrfs and cgroup file systems.
26581 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26582 Likewise.
26583
91c42559
LM
265842010-09-27 Luis Machado <luisgpm@br.ibm.com>
26585
26586 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26587 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26588
87a97932
AK
265892010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26590
26591 [BZ #12067]
26592 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26593 trying to locate the ELF header.
26594
c21cc9bc
AS
265952010-09-27 Andreas Schwab <schwab@redhat.com>
26596
26597 [BZ #11611]
26598 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26599 Mask out sign-bit copies when constructing f_fsid.
26600
315970f6
PB
266012010-09-24 Petr Baudis <pasky@suse.cz>
26602
26603 * debug/stack_chk_fail_local.c: Add missing licence exception.
26604 * debug/warning-nop.c: Likewise.
26605
1ac7a2c7
JM
266062010-09-15 Joseph Myers <joseph@codesourcery.com>
26607
26608 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26609 implementing getdents64 using getdents syscall, set d_type if
26610 __ASSUME_GETDENTS32_D_TYPE.
26611
56801c50
AS
266122010-09-16 Andreas Schwab <schwab@redhat.com>
26613
26614 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26615 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26616
dda51327
UD
266172010-09-21 Ulrich Drepper <drepper@redhat.com>
26618
26619 [BZ #12037]
26620 * posix/unistd.h: Undo change of feature selection for ftruncate from
26621 2010-01-11.
26622
8ffcee4a
UD
266232010-09-20 Ulrich Drepper <drepper@redhat.com>
26624
a545ecd9 26625 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
26626 detection.
26627
e24f0a8b
AS
266282010-09-20 Andreas Schwab <schwab@redhat.com>
26629
26630 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26631 fanotify_mark.
26632 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26633
7291c56f
AS
266342010-09-14 Andreas Schwab <schwab@redhat.com>
26635
26636 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26637 variables after CHECK_SP call.
26638 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26639
bc5fb037
AS
266402010-09-13 Andreas Schwab <schwab@redhat.com>
26641 Ulrich Drepper <drepper@redhat.com>
26642
26643 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26644 re-relocationg ld.so.
26645 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26646 _dl_init_paths call.
26647 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26648 here anymore.
26649
e66e7419
UD
266502010-09-14 Ulrich Drepper <drepper@redhat.com>
26651
26652 * resolv/res_init.c (__res_vinit): Count the default server we added.
26653
c044aa75
CLT
266542010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26655 Ulrich Drepper <drepper@redhat.com>
26656
26657 [BZ #11968]
26658 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26659 (____longjmp_chk): Use %ebx for saving value across system call.
26660 Add unwind info.
26661
32cf4069
AS
266622010-09-06 Andreas Schwab <schwab@redhat.com>
26663
26664 * manual/Makefile: Don't mix pattern rules with normal rules.
26665
817328ee
AS
266662010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26667
26668 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26669 operation.
26670 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26671 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26672 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26673 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26674 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26675 Likewise.
26676
29fddf61
UD
266772010-09-04 Ulrich Drepper <drepper@redhat.com>
26678
26679 [BZ #11979]
26680 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26681 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26682
0959ffc9
UD
266832010-09-02 Ulrich Drepper <drepper@redhat.com>
26684
26685 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26686 * sysdeps/x86_64/addmul_1.S: Likewise.
26687 * sysdeps/x86_64/lshift.S: Likewise.
26688 * sysdeps/x86_64/mul_1.S: Likewise.
26689 * sysdeps/x86_64/rshift.S: Likewise.
26690 * sysdeps/x86_64/sub_n.S: Likewise.
26691 * sysdeps/x86_64/submul_1.S: Likewise.
26692
ece29840
ST
266932010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26694
0959ffc9
UD
26695 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26696 Define __sched_param instead of SCHED_* and sched_param when
ece29840 26697 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 26698 * bits/sched.h [__need_schedparam]
ece29840 26699 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
26700 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26701 (__defined_schedparam): Define to 1.
ece29840
ST
26702 (__sched_param): New structure, identical to sched_param.
26703 (__need_schedparam): Undefine.
26704
e53a31fe
MF
267052010-08-31 Mike Frysinger <vapier@gentoo.org>
26706
fdc0c10d
MF
26707 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26708 (epoll_create1): Declare.
26709
e53a31fe
MF
26710 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26711
a726d796
AS
267122010-08-31 Andreas Schwab <schwab@redhat.com>
26713
26714 [BZ #7066]
26715 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26716 shifting retval into place.
26717
2f3e3dc7
UD
267182010-09-01 Ulrich Drepper <drepper@redhat.com>
26719
f2933da9
UD
26720 * nis/rpcsvc/nis.h: Update copyright notice.
26721 * nis/rpcsvc/nis.x: Likewise.
26722 * nis/rpcsvc/nis_callback.h: Likewise.
26723 * nis/rpcsvc/nis_callback.x: Likewise.
26724 * nis/rpcsvc/nis_object.x: Likewise.
26725 * nis/rpcsvc/nis_tags.h: Likewise.
26726 * nis/rpcsvc/yp.h: Likewise.
26727 * nis/rpcsvc/yp.x: Likewise.
26728 * nis/rpcsvc/ypupd.h: Likewise.
26729 * nis/yp_xdr.c: Likewise.
26730 * nis/ypupdate_xdr.c: Likewise.
26731
2f3e3dc7
UD
26732 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26733 mainly the body of pmap_getport. Add parameters to specify timeouts.
26734 (pmap_getport): Use __libc_rpc_getport.
26735 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26736 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26737 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26738
f3dcc2f9
AS
267392010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26740
26741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26742 fanotify_mark.
26743
6d34eb5b
RM
267442010-08-27 Roland McGrath <roland@redhat.com>
26745
26746 * sysdeps/i386/i686/multiarch/Makefile
26747 (CFLAGS-varshift.c): New variable.
26748
9ea3de11
UD
267492010-08-27 Ulrich Drepper <drepper@redhat.com>
26750
c96d23fc
UD
26751 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26752 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26753
9ea3de11
UD
26754 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26755
26756 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26757
623aac7f
L
267582010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26759
26760 * sysdeps/x86_64/strlen.S: Unroll the loop.
26761 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26762 strlen-sse2 strlen-sse2-bsf.
26763 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26764 __strlen_no_bsf if bit_Slow_BSF is set.
26765 (__strlen_sse42): Removed.
26766 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26767 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26768
8b2b7715
RM
267692010-08-25 Roland McGrath <roland@redhat.com>
26770
26771 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26772 * sysdeps/x86_64/multiarch/varshift.c: New file.
26773 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26774 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26775 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26776 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26777
e73015f2
L
267782010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26779
26780 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26781 strlen-sse2 strlen-sse2-bsf.
26782 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26783 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26784 (__strlen_sse2): Removed.
26785 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26786 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26787 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26788 bit_Slow_BSF for Atom.
26789 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26790 (index_Slow_BSF): Define.
26791 (HAS_SLOW_BSF): Define.
26792
df24a73e
UD
267932010-08-25 Ulrich Drepper <drepper@redhat.com>
26794
26795 [BZ #10851]
26796 * resolv/res_init.c (__res_vinit): When no server address at all
26797 is given default to loopback.
26798
f2ac4868
RM
267992010-08-24 Roland McGrath <roland@redhat.com>
26800
09055553
RM
26801 * configure.in: Remove config-name.h generation.
26802 * configure: Regenerated.
26803 * config-name.in: File removed.
26804 * scripts/config-uname.sh: New file.
26805 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26806 ($(objdir)config-name.h): New target.
26807
f2ac4868
RM
26808 * sunrpc/rpc_parse.h: Avoid nested comment.
26809
73f27d5e
RH
268102010-08-24 Richard Henderson <rth@redhat.com>
26811 Ulrich Drepper <drepper@redhat.com>
26812 H.J. Lu <hongjiu.lu@intel.com>
26813
26814 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26815 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26816 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26817 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26818 _mm_alignr_epi8 with _mm_loadu_si128.
26819 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26820 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26821 (__m128i_shift_right): Removed.
26822 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26823 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26824 * sysdeps/x86_64/multiarch/varshift.h: New file.
26825 * sysdeps/x86_64/multiarch/varshift.S: New file.
26826
84b9230c
MF
268272010-08-21 Mike Frysinger <vapier@gentoo.org>
26828
26829 * configure.in: Move assembler checks to before sysdep dir checking.
26830
9bbd0ddc
PB
268312010-08-20 Petr Baudis <pasky@suse.cz>
26832
26833 * LICENSES: Sync the sunrpc license.
26834
9da4bb31
UD
268352010-08-19 Ulrich Drepper <drepper@redhat.com>
26836
a7ab6ec8
UD
26837 * sunrpc/auth_des.c: Update copyright notice once again.
26838 * sunrpc/auth_none.c: Likewise.
26839 * sunrpc/auth_unix.c: Likewise.
26840 * sunrpc/authdes_prot.c: Likewise.
26841 * sunrpc/authuxprot.c: Likewise.
26842 * sunrpc/bindrsvprt.c: Likewise.
26843 * sunrpc/clnt_gen.c: Likewise.
26844 * sunrpc/clnt_perr.c: Likewise.
26845 * sunrpc/clnt_raw.c: Likewise.
26846 * sunrpc/clnt_simp.c: Likewise.
26847 * sunrpc/clnt_tcp.c: Likewise.
26848 * sunrpc/clnt_udp.c: Likewise.
26849 * sunrpc/clnt_unix.c: Likewise.
26850 * sunrpc/des_crypt.c: Likewise.
26851 * sunrpc/des_soft.c: Likewise.
26852 * sunrpc/get_myaddr.c: Likewise.
26853 * sunrpc/getrpcport.c: Likewise.
26854 * sunrpc/key_call.c: Likewise.
26855 * sunrpc/key_prot.c: Likewise.
26856 * sunrpc/openchild.c: Likewise.
26857 * sunrpc/pm_getmaps.c: Likewise.
26858 * sunrpc/pm_getport.c: Likewise.
26859 * sunrpc/pmap_clnt.c: Likewise.
26860 * sunrpc/pmap_prot.c: Likewise.
26861 * sunrpc/pmap_prot2.c: Likewise.
26862 * sunrpc/pmap_rmt.c: Likewise.
26863 * sunrpc/rpc/auth.h: Likewise.
26864 * sunrpc/rpc/auth_unix.h: Likewise.
26865 * sunrpc/rpc/clnt.h: Likewise.
26866 * sunrpc/rpc/des_crypt.h: Likewise.
26867 * sunrpc/rpc/key_prot.h: Likewise.
26868 * sunrpc/rpc/netdb.h: Likewise.
26869 * sunrpc/rpc/pmap_clnt.h: Likewise.
26870 * sunrpc/rpc/pmap_prot.h: Likewise.
26871 * sunrpc/rpc/pmap_rmt.h: Likewise.
26872 * sunrpc/rpc/rpc.h: Likewise.
26873 * sunrpc/rpc/rpc_des.h: Likewise.
26874 * sunrpc/rpc/rpc_msg.h: Likewise.
26875 * sunrpc/rpc/svc.h: Likewise.
26876 * sunrpc/rpc/svc_auth.h: Likewise.
26877 * sunrpc/rpc/types.h: Likewise.
26878 * sunrpc/rpc/xdr.h: Likewise.
26879 * sunrpc/rpc_clntout.c: Likewise.
26880 * sunrpc/rpc_cmsg.c: Likewise.
26881 * sunrpc/rpc_common.c: Likewise.
26882 * sunrpc/rpc_cout.c: Likewise.
26883 * sunrpc/rpc_dtable.c: Likewise.
26884 * sunrpc/rpc_hout.c: Likewise.
26885 * sunrpc/rpc_main.c: Likewise.
26886 * sunrpc/rpc_parse.c: Likewise.
26887 * sunrpc/rpc_parse.h: Likewise.
26888 * sunrpc/rpc_prot.c: Likewise.
26889 * sunrpc/rpc_sample.c: Likewise.
26890 * sunrpc/rpc_scan.c: Likewise.
26891 * sunrpc/rpc_scan.h: Likewise.
26892 * sunrpc/rpc_svcout.c: Likewise.
26893 * sunrpc/rpc_tblout.c: Likewise.
26894 * sunrpc/rpc_util.c: Likewise.
26895 * sunrpc/rpc_util.h: Likewise.
26896 * sunrpc/rpcinfo.c: Likewise.
26897 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
26898 * sunrpc/rpcsvc/key_prot.x: Likewise.
26899 * sunrpc/rpcsvc/klm_prot.x: Likewise.
26900 * sunrpc/rpcsvc/mount.x: Likewise.
26901 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
26902 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
26903 * sunrpc/rpcsvc/rex.x: Likewise.
26904 * sunrpc/rpcsvc/rstat.x: Likewise.
26905 * sunrpc/rpcsvc/rusers.x: Likewise.
26906 * sunrpc/rpcsvc/sm_inter.x: Likewise.
26907 * sunrpc/rpcsvc/spray.x: Likewise.
26908 * sunrpc/rpcsvc/yppasswd.x: Likewise.
26909 * sunrpc/rtime.c: Likewise.
26910 * sunrpc/svc.c: Likewise.
26911 * sunrpc/svc_auth.c: Likewise.
26912 * sunrpc/svc_authux.c: Likewise.
26913 * sunrpc/svc_raw.c: Likewise.
26914 * sunrpc/svc_run.c: Likewise.
26915 * sunrpc/svc_simple.c: Likewise.
26916 * sunrpc/svc_tcp.c: Likewise.
26917 * sunrpc/svc_udp.c: Likewise.
26918 * sunrpc/svc_unix.c: Likewise.
26919 * sunrpc/svcauth_des.c: Likewise.
26920 * sunrpc/xcrypt.c: Likewise.
26921 * sunrpc/xdr.c: Likewise.
26922 * sunrpc/xdr_array.c: Likewise.
26923 * sunrpc/xdr_float.c: Likewise.
26924 * sunrpc/xdr_mem.c: Likewise.
26925 * sunrpc/xdr_rec.c: Likewise.
26926 * sunrpc/xdr_ref.c: Likewise.
26927 * sunrpc/xdr_sizeof.c: Likewise.
26928 * sunrpc/xdr_stdio.c: Likewise.
26929
9da4bb31
UD
26930 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
26931 handling.
26932
bdaa77bc
AS
269332010-08-19 Andreas Schwab <schwab@redhat.com>
26934
26935 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
26936
fe2f79db
LM
269372010-08-19 Luis Machado <luisgpm@br.ibm.com>
26938
26939 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
26940 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
26941 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
26942 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
26943 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
26944 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
26945 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
26946 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
26947 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
26948 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
26949 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
26950 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
26951 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
26952 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
26953
b9b42ee0
AB
269542010-07-26 Anton Blanchard <anton@samba.org>
26955
26956 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
26957 * malloc/arena.c (heap_trim): Likewise.
26958
1c06ba31
UD
269592010-08-16 Ulrich Drepper <drepper@redhat.com>
26960
26961 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
26962 here. Not...
26963 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
26964 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
26965
f8392f40
L
269662010-08-12 H.J. Lu <hongjiu.lu@intel.com>
26967
26968 * sysdeps/i386/elf/Makefile: New file.
26969
3162f12e
AS
269702010-08-14 Andreas Schwab <schwab@linux-m68k.org>
26971
26972 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
26973 from fanotify_init.
26974 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
26975 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
26976
28c90b2c
UD
269772010-08-15 Ulrich Drepper <drepper@redhat.com>
26978
26979 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
26980 of strncasecmp_l.
1feccb6c 26981 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 26982
ca6bb004
UD
269832010-08-14 Ulrich Drepper <drepper@redhat.com>
26984
e9f82e0d
UD
26985 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
26986 strncase_l-nonascii.
26987 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
26988 Add strncase_l-ssse3.
26989 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
26990 * sysdeps/x86_64/strcmp.S: Likewise.
26991 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
26992 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
26993 * sysdeps/x86_64/strncase.S: New file.
26994 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
26995 * sysdeps/x86_64/strncase_l.S: New file.
26996 * string/Makefile (strop-tests): Add strncasecmp.
26997 * string/test-strncasecmp.c: New file.
26998
26999 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27000 warning.
27001
ca6bb004
UD
27002 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27003 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27004
052fa7b3
AS
270052010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27006
27007 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27008
962dba78
UD
270092010-08-12 Ulrich Drepper <drepper@redhat.com>
27010
27011 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27012 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27013 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27014
bebff237
AM
270152010-05-01 Alan Modra <amodra@gmail.com>
27016
27017 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27018 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27019 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27020 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27021 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27022 tidying. Don't tail-call __sigjmp_save for static lib.
27023 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27024 save location.
27025 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27026 (CALL_MCOUNT): Add eh info, and nop after bl.
27027 (TAIL_CALL_SYSCALL_ERROR): New macro.
27028 (PSEUDO_RET): Use it.
27029 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27030 Correct save location of integer regs and cr.
27031 (_dl_profile_resolve): Correct cr save location. Delete nops
27032 after bl when SHARED. Reduce cfi size a little by better
27033 placement of cfi directives.
27034 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27035 make a stack frame. Instead use parm save area as a temp.
27036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27037 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27039 Don't make a stack frame for parent, use parm save area.
27040 Increase child stack frame to 112 bytes. Don't save unused reg,
27041 and adjust reg usage. Set up cfi on error recovery and
27042 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27044 (__makecontext): Add dummy nop after jump to exit.
27045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27046 Use correct parm save area and cr save, reduce stack frame.
27047 Correct cfi for possible PSEUDO_RET frame setup.
27048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27049 Branch to local label emitted by PSEUDO_RET rather than
27050 __syscall_error.
27051
02637374
AS
270522010-08-12 Andreas Schwab <schwab@redhat.com>
27053
27054 [BZ #11904]
27055 * locale/programs/locale.c (print_assignment): New function.
27056 (show_locale_vars): Use it.
27057
c3e2f19b
UD
270582010-08-11 Ulrich Drepper <drepper@redhat.com>
27059
3cdaa6ad
UD
27060 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27061 field.
27062 (struct statfs64): Likewise.
27063 (_STATFS_F_FLAGS): Define.
27064 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27065 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27066 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27067 (ST_VALID): Define locally.
27068 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27069 __statvfs_getflags, use the provided value.
27070 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27071 __ASSUME_STATFS_F_FLAGS.
27072
754f7da3
UD
27073 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27074
10b3bedc
UD
27075 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27076 Add sys/fanotify.h.
27077 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27078 fanotify_mask for GLIBC_2.13.
27079 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27080 fanotify_init and fanotify_mark.
27081 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27082 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27083
c08fb0d7
UD
27084 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27085 Add prlimit.
27086 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27087 prlimit64 for GLIBC_2.13.
27088 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27089 prlimit64.
27090 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27091 syscall.
27092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27093 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27094 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27095 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27096 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27097 add prlimit alias.
27098 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27099
15bac72b
UD
27100 [BZ #11903]
27101 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27102 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27103
c3e2f19b
UD
27104 * nss/Makefile: Add rules to build and run tst-nss-test1.
27105 * shlib-versions: Add entry for libnss_test1.
27106 * nss/nss_test1.c: New file.
27107 * nss/tst-nss-test1.c: New file.
27108
27109 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27110 (__nss_configure_lookup): Set appropriate entry in
27111 __nss_configure_lookup to true.
27112 * nss/nsswitch.h: Define enum with indeces of databases in
27113 databases and __nss_database_custom arrays. Declare
27114 __nss_database_custom.
27115 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27116 to avoid using nscd when custom rules are installed.
27117 * nss/getXXbyYY_r.c: Likewise.
27118 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27119
27120 * nss/nss_files/files-parse.c: Whitespace fixes.
27121
f15ce4d8
UD
271222010-08-09 Ulrich Drepper <drepper@redhat.com>
27123
27124 [BZ #11883]
27125 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27126 * posix/fnmatch_loop.c: Likewise.
27127
d22e4cc9
AK
271282010-07-17 Andi Kleen <ak@linux.intel.com>
27129
27130 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27131 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27132 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27133 * Versions.def [GLIBC_2.13]: Add.
27134
805bc17d
UD
271352010-08-06 Ulrich Drepper <drepper@redhat.com>
27136
27137 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27138 Also fail if tpwd after pwuid call is NULL.
27139
5a42321d
ST
271402010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27141
27142 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27143 when converting to ms.
27144
fd3ebeda
ST
271452010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27146
27147 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27148 EOPNOTSUPP errors with ENOTTY.
27149 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27150 EOPNOTSUPP errors with ENOTTY.
27151
73507d3a
UD
271522010-07-31 Ulrich Drepper <drepper@redhat.com>
27153
27154 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27155 Add strcasecmp_l-ssse3.
27156 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27157 strcasecmp.
27158 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27159 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27160 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27161
fe36dd02
UD
271622010-07-30 Ulrich Drepper <drepper@redhat.com>
27163
66f6765a
UD
27164 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27165
42e08a54
UD
27166 * string/Makefile (strop-tests): Add strcasecmp.
27167 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27168 strcasecmp_l-nonascii.
27169 (gen-as-const-headers): Add locale-defines.sym.
27170 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27171 * sysdeps/x86_64/strcasecmp.S: New file.
27172 * sysdeps/x86_64/strcasecmp_l.S: New file.
27173 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27174 * sysdeps/x86_64/locale-defines.sym: New file.
27175 * string/test-strcasecmp.c: New file.
27176
fe36dd02
UD
27177 * string/test-strcasestr.c: Test both ends of the range of characters.
27178 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27179
48cbc0d6
RM
271802010-07-29 Roland McGrath <roland@redhat.com>
27181
76e6d6bc 27182 [BZ #11856]
48cbc0d6
RM
27183 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27184
880113d9
UD
271852010-07-27 Ulrich Drepper <drepper@redhat.com>
27186
27187 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27188 for ld.so.
27189
deb9cabb
AS
271902010-07-27 Andreas Schwab <schwab@redhat.com>
27191
27192 * manual/memory.texi (Malloc Tunable Parameters): Document
27193 M_PERTURB.
27194
1c7570ff
RM
271952010-07-26 Roland McGrath <roland@redhat.com>
27196
27197 [BZ #11840]
27198 * configure.in (-fgnu89-inline check): Set and substitute
27199 gnu89_inline, not libc_cv_gnu89_inline.
27200 * configure: Regenerated.
27201 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27202
24fb0f88
UD
272032010-07-26 Ulrich Drepper <drepper@redhat.com>
27204
27205 * string/test-strnlen.c: New file.
27206 * string/Makefile (strop-tests): Add strnlen.
27207 * string/tester.c (test_strnlen): Add a few more test cases.
27208 * string/tst-strlen.c: Better error reporting.
27209
27210 * sysdeps/x86_64/strnlen.S: New file.
27211
8e96b93a
UD
272122010-07-24 Ulrich Drepper <drepper@redhat.com>
27213
27214 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27215 lower-latency instructions.
27216
dbc676d4
UD
272172010-07-23 Ulrich Drepper <drepper@redhat.com>
27218
27219 * string/test-strcasestr.c: New file.
27220 * string/test-strstr.c: New file.
27221 * string/Makefile (strop-tests): Add strstr and strcasestr.
27222 * string/str-two-way.h: Don't undefine MAX.
27223 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27224
f6a31e0e
AS
272252010-07-21 Andreas Schwab <schwab@redhat.com>
27226
27227 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27228 strcasestr-nonascii.
27229 (CFLAGS-strcasestr-nonascii.c): Define.
27230 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27231 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27232 Remove unused attribute.
27233
5dbc3b6c
RM
272342010-07-20 Roland McGrath <roland@redhat.com>
27235
27236 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27237 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27238 ld.so.cache was broken. With it, there is no way to disable dsocaps
27239 like LD_HWCAP_MASK can disable hwcaps.
27240
23d101d8
EPM
272412010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27242
27243 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27244
cc9f2e47
UD
272452010-07-16 Ulrich Drepper <drepper@redhat.com>
27246
27247 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27248 call in strcasestr.
27249 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27250 __strcasestr_sse42_nonascii.
27251 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27252 strcasestr-nonascii.c.
27253 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27254
77c1b069
LM
272552010-06-15 Luis Machado <luisgpm@br.ibm.com>
27256
27257 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27258 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27259 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27260 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27261
440566c3
UD
272622010-07-09 Ulrich Drepper <drepper@redhat.com>
27263
27264 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27265 fcntl.
27266
5be9d05d
AS
272672010-07-06 Andreas Schwab <schwab@redhat.com>
27268
c30b7ee2 27269 [BZ #11577]
5be9d05d
AS
27270 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27271 dl_signal_cerror.
27272
8a492a67
UD
272732010-07-06 Ulrich Drepper <drepper@redhat.com>
27274
27275 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27276 _PC_PIPE_BUF using F_GETPIPE_SZ.
27277
713df3d5
RM
272782010-07-05 Roland McGrath <roland@redhat.com>
27279
27280 * manual/arith.texi (Rounding Functions): Fix rint description
27281 implicit in round description.
27282
702e8f14
UD
272832010-07-02 Ulrich Drepper <drepper@redhat.com>
27284
27285 * elf/Makefile: Fix linking for a few tests to make recent linker
27286 happy.
27287
52ed8be9
AS
272882010-06-30 Andreas Schwab <schwab@redhat.com>
27289
27290 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27291 $(common-objpfx)libc_nonshared.a.
27292
f47c9a11
LM
272932010-06-21 Luis Machado <luisgpm@br.ibm.com>
27294
27295 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27296 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27297 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27298 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27299 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27300 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27301 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27302 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27317 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27318 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27319 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27320 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27321 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27322 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27323 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27324 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27325 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27326 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27327 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27328 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27343
6fb8cbcb
L
273442010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27345
27346 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27347 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27348 * string/memmove.c (memmove): Renamed to ...
27349 (MEMMOVE): ...this. Default to memmove.
27350 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27351 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27352 (END_CHK): Define.
27353 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27354 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27355 mempcpy-ssse3-back memmove-ssse3-back.
27356 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27357 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27358 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27359 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27360 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27361 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27362 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27363 * sysdeps/x86_64/multiarch/memmove.c: New file.
27364 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27365 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27366 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27367 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27368 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27369 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27370 Define.
27371 (index_Fast_Copy_Backward): Define.
27372 (HAS_ARCH_FEATURE): Define.
27373 (HAS_FAST_REP_STRING): Define.
27374 (HAS_FAST_COPY_BACKWARD): Define.
27375
4e733bac 273762010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
27377
27378 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27379 Restore proper fallback handling.
27380
63c4ed22
UD
273812010-06-19 Ulrich Drepper <drepper@redhat.com>
27382
ac2b484c
UD
27383 [BZ #11701]
27384 * posix/group_member.c (__group_member): Correct checking loop.
27385
63c4ed22
UD
27386 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27387 OOM in getpwuid_r correctly. Return error number when the caller
27388 should return, otherwise -1.
27389 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27390 call returning > 0 value.
27391 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27392
765ade4b
AS
273932010-06-07 Andreas Schwab <schwab@redhat.com>
27394
27395 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27396 libc_nonshared.a from targets in modules-names.
27397
80da2e09
KS
273982010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27399
27400 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27401 requires it.
27402
158db122
LM
274032010-06-10 Luis Machado <luisgpm@br.ibm.com>
27404
27405 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27406 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27407 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27408 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27409
caa78cf8
AS
274102010-06-02 Andreas Schwab <schwab@redhat.com>
27411
27412 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27413
b2ef2c01
UD
274142010-06-14 Ulrich Drepper <drepper@redhat.com>
27415
27416 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27417 and F_GETPIPE_SZ.
27418 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27419 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27420 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27421 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27422 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27423 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27424
fbd643b6
RM
274252010-06-14 Roland McGrath <roland@redhat.com>
27426
27427 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27428
f32f2869
JJ
274292010-06-07 Jakub Jelinek <jakub@redhat.com>
27430
27431 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27432 __REDIRECT followed by __THROW.
27433 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27434 * posix/getopt.h (getopt): Likewise.
27435
2a50c078
EPM
274362010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27437
27438 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27439 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27440 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27441 in AT_FLAGS.
27442 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27443 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27444
eb5ad2eb
LM
274452010-05-28 Luis Machado <luisgpm@br.ibm.com>
27446
27447 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27448
3c88fe1e
L
274492010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27450
27451 [BZ #11640]
27452 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27453 Properly check family and model.
27454
d2f73151
TY
274552010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27456
27457 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27458
ebd2e13d
LM
274592010-05-24 Luis Machado <luisgpm@br.ibm.com>
27460
27461 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27462
b32b8b45
UD
274632010-05-21 Ulrich Drepper <drepper@redhat.com>
27464
27465 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27466 symbol reference.
27467
9acbe24d
AS
274682010-05-19 Andreas Schwab <schwab@redhat.com>
27469
27470 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27471 symbol reference.
27472
f0ccf6ea
AS
274732010-05-21 Andreas Schwab <schwab@redhat.com>
27474
3d04ff3a
AS
27475 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27476 and internal_recvmmsg.
27477 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27478 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27479 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27480 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27481
f0ccf6ea
AS
27482 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27483 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27484 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27485
5b08ac57
AS
274862010-05-20 Andreas Schwab <schwab@redhat.com>
27487
27488 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27489
4828935d
LM
274902010-05-17 Luis Machado <luisgpm@br.ibm.com>
27491
27492 POWER7 optimizations.
27493 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27494 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27495
373d545e
UD
274962010-05-19 Ulrich Drepper <drepper@redhat.com>
27497
27498 * version.h: Update for 2.13 development version.
27499
21a2b1ae
AS
275002010-05-12 Andrew Stubbs <ams@codesourcery.com>
27501
27502 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27503 exceptions. Return 0.
27504
3f7dcb2b
RM
275052010-05-07 Roland McGrath <roland@redhat.com>
27506
27507 * elf/ldconfig.c (main): Add a const.
27508
5f24d53a 275092010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 27510
a160f8d8
UD
27511 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27512 (args_options): Add no-idn option.
27513 (ahosts_keys_int): Add idn_flags to ai_flags.
27514 (parse_option): Handle 'i' option to clear idn_flags.
27515
5f24d53a
UD
27516 * malloc/malloc.c (_int_free): Possible race in the most recently
27517 added check. Only act on the data if no current modification
27518 happened.
265bb1ce
UD
27519
27520See ChangeLog.17 for earlier changes.