]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
More tests for external charater sequences representing NaNs.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
bf0f50df
TS
12013-04-05 Thomas Schwinge <thomas@codesourcery.com>
2
ee091edf
TS
3 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4 (lmsnanval): New variables.
5 (F): Add conversion tests.
6 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8
a8b792d6
TS
9 * stdio-common/tstdiomisc.c (F): Properly collect individual
10 tests' results.
11
a1cbf437
TS
12 [BZ #14686, #15336]
13 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15 Instead, use input NaN values or generate a qNaN by arithmetic
16 operation. Also fix bugs to comply with the standard.
17 * math/libm-test.inc (remainder_test): Add more tests.
18
8b43a0c9
TS
19 [BZ #15335, #15342]
20 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
21 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22 input NaN values or generate a qNaN by arithmetic operation.
23
d91da4ce
TS
24 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
25 unreachable code.
26
bf0f50df
TS
27 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28 definitions.
29
05e166c8
JM
302013-04-03 Joseph Myers <joseph@codesourcery.com>
31
32 [BZ #14478]
33 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
34 underflowed result.
35 * math/s_cexpf.c (__cexpf): Likewise.
36 * math/s_cexpl.c (__cexpl): Likewise.
37 * math/libm-test.inc (cexp_test): Add more tests.
38
1cef1b19
AS
392013-04-03 Andreas Schwab <schwab@suse.de>
40
41 [BZ #15330]
42 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
43 order arrays from heap if bigger than alloca cutoff.
44
74d87055
TS
452013-04-03 Thomas Schwinge <thomas@codesourcery.com>
46
47 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
48 (SNAN_TESTS_double): Refer to GCC PR56831.
49 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
50 GCC PR56828.
51
d755bba4
SP
522013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
53
90d5d5bb
SP
54 * Rules (bench): Move bench.out after the run is complete.
55
73e0cd5d
SP
56 * Rules (bench): Echo currently running benchmark.
57
64aabd4b
SP
58 * benchtests/Makefile (bench): Add atan and slowatan.
59 * benchtests/atan-inputs: New file.
60 * benchtests/slowatan-inputs: New file.
61 * benchtests/slowatan.c: New file.
62
c871eccd
SP
63 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
64 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
65 its value.
66
d755bba4
SP
67 [BZ #15305]
68 * sysdeps/unix/sysv/linux/kernel-features.h
69 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
70 __ASSUME_XFS_RESTRICTED_CHOWN.
71 * sysdeps/unix/sysv/linux/pathconf.c
72 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
73 Save and restore errno.
74
52ce4860
JM
752013-04-02 Joseph Myers <joseph@codesourcery.com>
76
77 [BZ #15327]
78 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
79 arguments using __kernel_casinh.
80 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
81 arguments using __kernel_casinhf.
82 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
83 arguments using __kernel_casinhl.
84 * math/libm-test.inc (cacosh_test): Add more tests.
85 * sysdeps/i386/fpu/libm-test-ulps: Update.
86 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87
81f311c2
SP
882013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
89
e7906a47
SP
90 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
91 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
92
92e3664b
SP
93 * bench/Makefile (bench): Add sin and slowsin.
94 * benchtests/sin-inputs: New file.
95 * benchtests/slowsin-inputs: New file.
96 * benchtests/slowsin.c: New file.
97
81f311c2
SP
98 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
99 (bench): Add slowexp and slowpow.
100 (exp-ITER): Increase iterations.
101 (pow-ITER): Likewise.
102 * benchtests/exp-inputs: Change input.
103 * benchtests/pow-inputs: Likewise.
104 * benchtests/slowexp-inputs: New file.
105 * benchtests/slowexp.c: New file.
106 * benchtests/slowpow-inputs: New file.
107 * benchtests/slowpow.c: New file.
108
ab0f1aa9
AZ
1092013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
110
111 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
112 instructions.
113 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
114 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
115 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
116 * benchtests/Makefile: Add rint benchtest.
117 * benchtests/rint-inputs: Input for rint benchtest.
118
57267616
TS
1192013-04-02 Thomas Schwinge <thomas@codesourcery.com>
120
121 * Versions.def (libm): Add GLIBC_2.18.
122 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
123 hidden libm prototypes.
124 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
125 * math/Makefile (libm-calls): Add s_issignaling.
126 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
127 __issignalingf, __issignalingl. Adjust all libm.abilist files.
128 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
129 declaration.
130 * math/math.h [__USE_GNU] (issignaling): New macro.
131 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
132 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
133 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
134 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
135 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
136 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
137 * manual/arith.texi (issignaling): New section.
138 * manual/libm-err-tab.pl (@all_functions): Update comment.
139 * math/gen-libm-test.pl (parse_args): Apply special handling for
140 issignaling.
141 * math/libm-test.inc (print_float, issignaling_test): New
142 functions.
143 (check_float_internal): Add issignaling checks.
144 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
145 default definition.
146 * sysdeps/powerpc/math-tests.h: New file.
147 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
148 tests.
149 * math/test-snan.c (TEST_FUNC): Likewise.
150
6142896d
DM
1512013-03-30 David S. Miller <davem@davemloft.net>
152
153 * po/de.po: Update from translation team.
154
ccc8cadf
JM
1552013-03-30 Joseph Myers <joseph@codesourcery.com>
156
157 [BZ #10357]
158 * math/k_casinh.c (__kernel_casinh): Handle arguments with
159 imaginary part less than 1.0 and real part less than 0.5
160 specially.
161 * math/k_casinhf.c (__kernel_casinhf): Likewise.
162 * math/k_casinhl.c (__kernel_casinhl): Likewise.
163 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
164 (cacos_test): Add more tests.
165 (casin_test): Likewise.
166 (casinh_test): Likewise.
167 * sysdeps/i386/fpu/libm-test-ulps: Update.
168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
169
0f6a8d4b
SP
1702013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
171
0d1029de
SP
172 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
173 ONE with its value.
174
c2d94018
SP
175 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
176 (__pow_mp): Replace ONE and MONE with their values.
177 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
178 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
179 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
180 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
181 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
182 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
183
27ec37f1
SP
184 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
185
a64d7e0e
SP
186 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
187 (__pow_mp): Replace ZERO and MZERO with their values.
188 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
189 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
190 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
191 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
192 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
193 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
194 (__sqr): Likewise.
195
d26dd3eb
SP
196 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
197
0f6a8d4b
SP
198 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
199
e57b0c61
RM
2002013-03-28 Roland McGrath <roland@hack.frob.com>
201
202 * include/stdlib.h [!SHARED] (__call_tls_dtors):
203 Declare with __attribute__ ((weak)).
204 * stdlib/exit.c (__libc_atexit) [!SHARED]:
205 Call __call_tls_dtors only if it's not NULL.
206
356b3480
RM
2072013-03-28 Roland McGrath <roland@hack.frob.com>
208
288f7d79
RM
209 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
210 didn't do it already, then set _dl_phdr and _dl_phnum based on the
211 magic __ehdr_start linker symbol if it's defined.
212 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
213 them up here if it was already done.
214
dc0a0263
RM
215 * elf/dl-support.c (_dl_phdr): Make pointer to const.
216 (_dl_aux_init): Use const in cast when setting it.
217 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
218 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
219 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
220
3d3436ae
RM
221 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
222 Declare them here.
223 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
224 * csu/libc-tls.c: Nor here.
225 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
226
356b3480
RM
227 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
228 (__libc_message): Never call vsyslog.
229
b0f1246a
AM
2302013-03-28 Alan Modra <amodra@gmail.com>
231
232 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
233 Define as empty.
234 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
235 Likewise.
236
fbbe2b9a
AZ
2372013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
238
239 [BZ #15214]
240 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
241 underflow.
242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
243
1728ab37
SP
2442013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
245
7a86be6e
SP
246 [BZ #15304]
247 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
248 Don't add gid passed as argument.
249
1728ab37
SP
250 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
251
3a7182a1
JM
2522013-03-27 Joseph Myers <joseph@codesourcery.com>
253
254 [BZ #15307]
255 * math/k_casinh.c (__kernel_casinh): Handle arguments with
256 imaginary part between 1.0 and 1.5 and real part less than 0.5
257 specially.
258 * math/k_casinhf.c (__kernel_casinhf): Likewise.
259 * math/k_casinhl.c (__kernel_casinhl): Likewise.
260 * math/libm-test.inc (cacos_test): Add more tests.
261 (casin_test): Likewise.
262 (casinh_test): Likewise.
263 * sysdeps/i386/fpu/libm-test-ulps: Update.
264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
265
6f2e90e7
SP
2662013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
267
5739f705
SP
268 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
269 constants.
270 (norm): Likewise.
271 (denorm): Likewise.
272 (__dbl_mp): Likewise.
273 (add_magnitudes): Likewise.
274 (sub_magnitudes): Likewise.
275 (__add): Likewise.
276 (__sub): Likewise.
277 (__mul): Likewise.
278 (__sqr): Likewise.
279 (__inv): Likewise.
280 (__dvd): Likewise.
281
e375e83d
SP
282 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
283 commented code.
284 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
285 (__dubcos): Likewise.
286 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
287 (__ieee754_acos): Likewise.
288 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
289 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
290 (__exp1): Likewise.
291 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
292 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
293 (log1): Likewise.
294 (my_log2): Likewise.
295 (checkint): Likewise.
296 * sysdeps/ieee754/dbl-64/e_remainder.c
297 (__ieee754_remainder): Likewise.
298 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
299 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
300 (bsloww): Likewise.
301 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
302
6f2e90e7
SP
303 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
304 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
305 MANTISSA_STORE_T to store computations on mantissa. Use
306 macros for rounding and division.
307 (denorm): Likewise.
308 (__dbl_mp): Likewise.
309 (add_magnitudes): Likewise.
310 (sub_magnitudes): Likewise.
311 (__mul): Likewise.
312 (__sqr): Likewise.
313 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
314 powers of two in terms of TWOPOW macro.
315 (mp_no): Make type of mantissa as MANTISSA_T.
316 [!RADIXI]: Define RADIXI.
317 [!TWO52]: Define TWO52.
318 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
319
fce14d4e
AZ
3202013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
321
322 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
323 llroundl symbol when building for PPC32.
324
9ad027fb
MW
3252013-03-24 Mark H Weaver <mhw@netris.org>
326
327 * manual/arith.texi (Normalization Functions): Fix prototypes for
328 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
329
e42a38dd
AZ
3302013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
331
332 [BZ #13889]
333 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
334 high value to check if expl overflow.
335 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
336 to check for underflow and overflow.
337 * math/libm-test.inc: Add exp test.
338
2e0fb521
DL
3392013-03-21 Dmitry V. Levin <ldv@altlinux.org>
340
341 [BZ #11120]
342 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
343 with NOT_IN_libc.
344
b5784d95
AZ
3452013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
346
347 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
348 symbol.
349
5aa4a1a1
TS
3502013-03-21 Thomas Schwinge <thomas@codesourcery.com>
351
bdef0be7
TS
352 * math/gen-libm-test.pl (parse_args, special_functions): Properly
353 wrap blocks consisting of several statements.
354
5aa4a1a1
TS
355 * sysdeps/generic/math-tests.h: New file.
356 * sysdeps/i386/fpu/math-tests.h: Likewise.
357 * math/test-snan.c: Include it.
358 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
359
98c48fe5
JM
3602013-03-21 Joseph Myers <joseph@codesourcery.com>
361
362 [BZ #15285]
363 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
364 (__ieee754_j0l): Do not improve calculations using cos of twice
365 input for inputs above LDBL_MAX / 2.0L.
366 (__ieee754_y0l): Likewise.
367 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
368 (__ieee754_j1l): Do not improve calculations using cos of twice
369 input for inputs above LDBL_MAX / 2.0L.
370 (__ieee754_y1l): Likewise.
371 * math/libm-test.inc (j0_test): Add another test.
372 (j1_test): Likewise.
373 (y0_test): Likewise.
374 (y1_test): Likewise.
375 * sysdeps/i386/fpu/libm-test-ulps: Update.
376
3775a8bc
SP
3772013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
378
379 * Rules ($(objpfx)bench-%.c): Include code from a C source
380 file.
381
0a1b2ae6
JM
3822013-03-21 Joseph Myers <joseph@codesourcery.com>
383
384 [BZ #15287]
385 * math/k_casinh.c (__kernel_casinh): Handle arguments with
386 imaginary part 1.0 and real part less than 0.5 specially.
387 * math/k_casinhf.c (__kernel_casinhf): Likewise.
388 * math/k_casinhl.c (__kernel_casinhl): Likewise.
389 * math/libm-test.inc (cacos_test): Add more tests.
390 (casin_test): Likewise.
391 (casinh_test): Likewise.
392 * sysdeps/i386/fpu/libm-test-ulps: Update.
393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
394
b33d4ce4
SP
3952013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
396
397 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
398 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
399
bef0b507
JM
4002013-03-20 Joseph Myers <joseph@codesourcery.com>
401
402 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
403 * config.make.in (config-cflags-sse4): Remove variable.
404 (config-cflags-avx): Likewise.
405 (config-cflags-sse2avx): Likewise.
406 (config-cflags-novzeroupper): Likewise.
407 (config-asflags-i686): Likewise.
408 (have-mfma4): Likewise.
409 (have-as-vis3): Likewise.
410 (MIG): Likewise.
411 * configure.in (MIG): Do not AC_SUBST.
412 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
413 (libc_cv_cc_sse4): Do not AC_SUBST.
414 (libc_cv_cc_avx): Likewise.
415 (libc_cv_cc_sse2avx): Likewise.
416 (libc_cv_cc_novzeroupper): Likewise.
417 (libc_cv_cc_fma4): Likewise.
418 (libc_cv_as_i686): Likewise.
419 (libc_cv_sparc_as_vis3): Likewise.
420 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
421 LIBC_CONFIG_VAR.
422 (config-asflags-i686): Likewise.
423 (config-cflags-avx): Likewise.
424 (config-cflags-sse2avx): Likewise.
425 (have-mfma4): Likewise.
426 (config-cflags-novzeroupper): Likewise.
427 * sysdeps/mach/configure.in (MIG): Likewise.
428 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
429 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
430 LIBC_CONFIG_VAR.
431 (config-cflags-avx): Likewise.
432 (config-cflags-sse2avx): Likewise.
433 (have-mfma4): Likewise.
434 (config-cflags-novzeroupper): Likewise.
435 * configure: Regenerated.
436 * sysdeps/i386/configure: Likewise.
437 * sysdeps/mach/configure: Likewise.
438 * sysdeps/sparc/configure: Likewise.
439 * sysdeps/x86_64/configure: Likewise.
440
912cc4b3
RM
4412013-03-20 Roland McGrath <roland@hack.frob.com>
442
443 [BZ #14812]
444 * locale/programs/localedef.c (options): Put N_ translation marker
445 on argument names, not just descriptions.
446
04eed2b0
MS
4472013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
448
449 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
450
a065ceff
OB
4512013-03-20 Ondřej Bílka <neleai@seznam.cz>
452
9bb2a810 453 [BZ #14176]
a065ceff
OB
454 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
455
a600e5ce
RM
4562013-03-19 Roland McGrath <roland@hack.frob.com>
457
458 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
459 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
460 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
461 [!BEFORE_ABORT] (before_abort): New function.
462 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
463 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
464 (writev_for_fatal): New function.
465 (WRITEV_FOR_FATAL): New macro; call that.
466 (backtrace_and_maps): New function.
467 (BEFORE_ABORT): New macro; call that.
468 (struct str_list): Type removed.
469 (__libc_message, __libc_fatal): Functions removed.
470 Include <sysdeps/posix/libc_fatal.c> instead.
471
6b18bea6
JM
4722013-03-19 Joseph Myers <joseph@codesourcery.com>
473
474 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
475 constants.
476 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
477 double constants.
478
aaa8cb4b
AS
4792013-03-19 Andreas Schwab <schwab@suse.de>
480
44673770
AS
481 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
482 * sysdeps/gnu/configure: Regenerate.
483
aaa8cb4b
AS
484 * configure.in: Substitute libc_cv_rtlddir.
485 * configure: Regenerate.
486 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
487 * Makeconfig (rtlddir, inst_rtlddir): New variables.
488 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
489 * elf/Makefile (install-others, CFLAGS-interp.c)
490 (ldso_install, common-ldd-rewrite): Likewise.
491 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
492 $(inst_slibdir)/$(rtld-installed-name).
493 * scripts/rellns-sh: Add -p option.
494 * Makerules (make-shlib-link): Use rellns-sh to get relative name
495 for source.
496
d3cfc668
SP
4972013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
498
499 * manual/nptl.texi: Renamed to ...
500 * manual/threads.texi: ... this.
501 * manual/Makefile (chapters): Update.
502
0e2b9cdd
RM
5032013-03-18 Roland McGrath <roland@hack.frob.com>
504
505 [BZ #14812]
506 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
507 on argument names, not just descriptions.
0e2b9cdd
RM
508 * malloc/memusagestat.c (options): Likewise.
509 * nss/getent.c (options): Likewise.
63270c24
RM
510
5112013-03-18 Benno Schulenberg <bensberg@justemail.net>
512
513 [BZ #14812]
514 * iconv/iconv_prog.c (options): Put N_ translation marker
515 on argument names, not just descriptions.
516 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 517
b2e1393c
OB
5182013-03-18 Ondrej Bilka <neleai@seznam.cz>
519
520 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
521 implementation which is faster on all x86_64 architectures.
522 Tested on AMD, Intel Nehalem, SNB, IVB.
523 * sysdeps/x86_64/strnlen.S: Likewise.
524
525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
526 Remove all multiarch strlen and strnlen versions.
527 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
528 Remove strlen and strnlen related parts.
529
530 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
531 Inline strlen part.
532 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
533
534 * sysdeps/x86_64/multiarch/strlen.S: Remove.
535 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
536 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
537 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
538 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
539 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
540
ec4ff04d
CD
5412013-03-17 Carlos O'Donell <carlos@redhat.com>
542
543 * manual/memory.texi (Malloc Tunable Parameters):
544 Sort parameters alphabetically. Add comments for missing entries.
545
cd18e90a
DM
5462013-03-17 David S. Miller <davem@davemloft.net>
547
548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
549
2a185d32
JM
5502013-03-16 Joseph Myers <joseph@codesourcery.com>
551
d2f9799e
JM
552 [BZ #15283]
553 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
554 for arguments at most half maximum finite value.
555 * math/libm-test.inc (j0_test): Add more tests.
556 (j1_test): Likewise.
557 (y0_test): Likewise.
558 (y1_test): Likewise.
559 * sysdeps/i386/fpu/libm-test-ulps: Update.
560 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
561
2a185d32
JM
562 [BZ #14155]
563 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
564 1 / x and functions P and Q for arguments above 0x1p256L.
565 (__ieee754_y0l): Likewise.
566 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
567 (__ieee754_y1l): Likewise.
568 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
569 (j1_test): Likewise.
570 (y0_test): Likewise.
571 (y1_test): Likewise.
572
6cbec759
TS
5732013-03-16 Thomas Schwinge <thomas@codesourcery.com>
574
575 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
576 variable.
577
bc16e260
RM
5782013-03-15 Roland McGrath <roland@hack.frob.com>
579
aefc9b8c
RM
580 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
581 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
582 zero since it's initialized to EXEC_PAGESIZE.
583
bc16e260
RM
584 * sysdeps/unix/sysv/linux/ldsodefs.h
585 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
586 * sysdeps/generic/ldsodefs.h: ... here.
587
a57da955
TS
5882013-03-15 Thomas Schwinge <thomas@codesourcery.com>
589
af00a34d
TS
590 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
591
495ded2c
TS
592 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
593 math/test-snan.c.
594 * math/test-snan.c: Renamed from
595 sysdeps/powerpc/fpu/test-powerpc-snan.c.
596 * math/Makefile (tests): Add test-snan.
597 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
598 test-powerpc-snan.
599
777b0332
TS
600 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
601 SUFFIX. Initialize qNaN_var with __builtin_nan family of
602 functions.
603 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
604 __builtin_nan family of functions.
605 * math/libm-test.inc (initialize): Initialize qnan_value with
606 __builtin_nan family of functions.
607 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
608 Remove variables.
609 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
610 Remove functions.
611 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
612 storage class. Initialize qNaN_var and sNaN_var with
613 __builtin_nan and __builtin_nans families of functions,
614 respectively.
615
64d063b8
TS
616 * math/libm-test.inc (acosh_test): Also test with qNaN input.
617 (sqrt_test): Remove duplicate test with qNaN input.
618 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
619 (round_test, signbit_test, significand_test): Note missing +/-Inf
620 as well as qNaN tests.
621
67e971f1
TS
622 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
623 qNaN_var. Fix a few strings, too.
624 * math/libm-test.inc (nan_value): Rename to qnan_value.
625 * math/gen-libm-test.pl (%beautify): Adjust to that.
626 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
627 * math/test-misc.c (main): Likewise.
628 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
629 to __qnan_bytes, and __qnan_union, respectively.
630 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
631 Likewise.
632 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
633 and lqnanval, respectively.
634 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
635 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
636 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
637 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
638
64487e12
TS
639 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
640 * math/test-misc.c (main) [__x86_64__]: Enable test for long
641 doubles.
642
e015e27b
TS
643 * math/test-misc.c (main): Fix copy'n'pastos.
644 * misc/tst-efgcvt.c (special): Likewise.
645
a57da955
TS
646 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
647 Remove declarations.
648
1e380345
SP
6492013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
650
651 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
652 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
653 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
654 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
655
ef26eece
AZ
6562013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
657
658 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
659 macro to return vdso values correctly in IFUNC implementations.
660 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
661 Optimization by using IFUNC.
662
8cfdb7e0
SP
6632013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
664 Richard Henderson <rth@redhat.com>
665 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
666
667 * Makefile.in (bench): New target.
668 * NEWS: Mention the benchmark framework.
669 * Rules (bench): Likewise.
670 (binaries-bench): Generate binaries for functions to
671 benchmark.
672 * benchtests/Makefile: New makefile for benchmark tests.
673 * benchtests/bench-skeleton.c: New skeleton file for benchmark
674 programs.
675 * benchtests/exp-inputs: New input file for EXP function.
676 * benchtests/pow-inputs: New input file for POW function.
677 * scripts/bench.pl: New script to generate source files for
678 benchmark programs.
679
bcda9880
SP
6802013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
681
d22ca8cd
SP
682 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
683 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
684 computations on mantissa. Use macros for rounding and
685 division.
686 (denorm): Likewise.
687 (__dbl_mp): Likewise.
688 (add_magnitudes): Likewise.
689 (sub_magnitudes): Likewise.
690 (__mul): Likewise.
691 (__sqr): Likewise.
692 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
693 powers of two in terms of TWOPOW macro.
694 (mp_no): Make type of mantissa as MANTISSA_T.
695 [!RADIXI]: Define RADIXI.
696 [!TWO52]: Define TWO52.
697 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
698
bcda9880
SP
699 * manual/nptl.texi (cindex): Modify threads to pthreads.
700
06d5adfb
JM
7012013-03-15 Joseph Myers <joseph@codesourcery.com>
702
703 * sysdeps/x86_64/preconfigure: Regenerated.
704
41c7328e
JM
7052013-03-14 Joseph Myers <joseph@codesourcery.com>
706
707 [BZ #14155]
708 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
709 0x1p28 and above.
710 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
711 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
712 0x1p28 and above.
713 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
714 * math/libm-test.inc (j0_test): Do not allow one spurious
715 underflow exception.
716 (y1_test): Likewise.
717
e25cfa60
SP
7182013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
719
0409959c
SP
720 * manual/Makefile (chapters): Add nptl.
721 * manual/debug.texi (Debugging Support): Add link to Threads
722 chapter.
723 * manual/nptl.texi: New file.
724
e25cfa60
SP
725 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
726
58a1335e
PB
7272013-03-14 Petr Baudis <pasky@ucw.cz>
728
729 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
730 for non-NULL pointer before the memory validity test. Pointed
731 out by Holger Brunck <holger.brunck@keymile.com>.
732
9dc7c64f
AS
7332013-03-13 Andreas Schwab <schwab@suse.de>
734
735 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
736 instead of .os.
737
54206aa6
JM
7382013-03-13 Joseph Myers <joseph@codesourcery.com>
739
740 * timezone/zic.c: Update from tzcode 2013b.
741
e98cdb38
CD
7422013-03-12 Carlos O'Donell <carlos@redhat.com>
743
744 * manual/install.texi (Configuring and compiling):
745 Mention i686 and i586.
746 * INSTALL: Regenerate.
747
9967e003
RM
7482013-03-12 Roland McGrath <roland@hack.frob.com>
749
750 * sysdeps/init_array/elf-init.c: New file.
751 * csu/elf-init.c
752 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
753 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
754
755 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
756 __gmon_start__ as global, but as static with a .preinit_array pointer.
757 * sysdeps/init_array/gmon-start.c: New file. Use that.
758 * sysdeps/init_array/crti.S: New file, empty except for comments.
759 * sysdeps/init_array/crtn.S: Likewise.
760
e6b5a293 7612013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
762
763 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
764 definining bcopy.
80f844c9
OB
765 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
766 Remove Prefer_SSE_for_memop.
767 * sysdeps/x86_64/multiarch/init-arch.h: Remove
768 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
769 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
770 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
771 memset-x86-64.
80f844c9 772 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 773 Remove bzero, memset ifunc support.
80f844c9
OB
774 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
775 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
776 * sysdeps/x86_64/multiarch/memset.S: Likewise.
777 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
778
fb6b0fcb
AS
7792013-03-11 Andreas Schwab <schwab@suse.de>
780
781 [BZ #15234]
782 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
783 by SHLIB_COMPAT.
784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
785 (GLIBC_2.16): Remove pthread_atfork.
786
3e6bd4b1
PP
7872013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
788
789 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
790 (ptestcases.h): Likewise.
791
222d7f00
RM
7922013-03-08 Roland McGrath <roland@hack.frob.com>
793
794 * Makeconfig ($(common-objpfx)config.status): Depend on
795 sysdeps/*/preconfigure{,.in} too.
796
1ba4f030
JM
7972013-03-08 Joseph Myers <joseph@codesourcery.com>
798
a222d91a
JM
799 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
800 (__free_hook): Use void * instead of __malloc_ptr_t.
801 (__malloc_hook): Likewise.
802 (__realloc_hook): Likewise.
803 (__memalign_hook): Likewise.
804 (__after_morecore_hook): Likewise.
805 * malloc/arena.c (save_malloc_hook): Likewise.
806 (save_free_hook): Likewise.
807 * malloc/hooks.c (malloc_hook_ini): Likewise.
808 (realloc_hook_ini): Likewise.
809 (memalign_hook_ini): Likewise.
810 * malloc/malloc.c (malloc_hook_ini): Likewise.
811 (realloc_hook_ini): Likewise.
812 (memalign_hook_ini): Likewise.
813 (__free_hook): Likewise.
814 (__malloc_hook): Likewise.
815 (__realloc_hook): Likewise.
816 (__memalign_hook): Likewise.
817 (__libc_malloc): Likewise.
818 (__libc_free): Likewise.
819 (__libc_realloc): Likewise.
820 (__libc_memalign): Likewise.
821 (__libc_valloc): Likewise.
822 (__libc_pvalloc): Likewise.
823 (__libc_calloc): Likewise.
824 (__posix_memalign): Likewise.
825 * malloc/morecore.c (__sbrk): Likewise.
826 (__default_morecore): Likewise.
827
5cc45e10
JM
828 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
829
dd54b864
JM
830 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
831 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
832 __malloc_ptrdiff_t.
833
1ba4f030
JM
834 * malloc/malloc.h (__malloc_size_t): Remove macro.
835 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
836 __malloc_size_t.
837 (old_memalign_hook): Likewise.
838 (old_realloc_hook): Likewise.
839 (struct hdr): Likewise.
840 (flood): Likewise.
841 (mallochook): Likewise.
842 (memalignhook): Likewise.
843 (reallochook): Likewise.
844 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
845 (tr_old_realloc_hook): Likewise.
846 (tr_old_memalign_hook): Likewise.
847 (tr_mallochook): Likewise.
848 (tr_reallochook): Likewise.
849 (tr_memalignhook): Likewise.
850
edf66e57
AZ
8512013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
852
853 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
854 default_ldbl_pack and using as default implementation.
855 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
856 implementation.
857 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
858 redundant definition.
859 (ldbl_insert_mantissa): Likewise.
860 (ldbl_canonicalize): Likewise.
861 (ldbl_nearbyint): Likewise.
862 (ldbl_pack): Rename to ldbl_pack_ppc.
863 (ldbl_unpack): Rename to ldbl_unpack_ppc.
864 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
865 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
866
6d9145d8
SP
8672013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
868
869 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
870 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
871 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
872 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
873 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
874 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
875 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
876 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
877
4dd4e157
AJ
8782013-03-07 Andreas Jaeger <aj@suse.de>
879
880 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
881 bits/mman-linux.h.
882
adbb8027
SP
8832013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
884
ce544b5b
SP
885 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
886 Include mpa.h and declare __MPEXP.
887 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
888 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
889 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
890 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
891 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
892 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
893 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
894
4cc149fd
SP
895 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
896 (__slowpow): Use long double EXPL and LOGL functions to
897 compute POW.
898 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
899 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
900 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
901 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
902 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
903 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
904
e6ebd4a7
SP
905 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
906 intermediate variable to calculate exponent.
907 (__sqr): Likewise.
908 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
909 Likewise.
910 (__sqr): Likewise.
911
82a9811d
SP
912 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
913 [!NO__SQR]: Define __sqr.
914 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
915 and NO__SQR. Remove all code except __mul and __sqr. Include
916 sysdeps/ieee754/dbl-64/mpa.c.
917 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
918
adbb8027
SP
919 [BZ #12723]
920 * posix/Makefile (tests): Add tst-pathconf.
921 * posix/tst-pathconf.c: New test case.
922 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
923 _PC_PIPE_BUF.
924 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
925
39120df9
PF
9262013-03-06 Patsy Franklin <pfrankli@redhat.com>
927
928 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
929
67525cb8
AJ
9302013-03-06 Andreas Jaeger <aj@suse.de>
931
664a9ce4
AJ
932 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
933 definition via __MAP_ANONYMOUS.
934
8e39047d
AJ
935 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
936 it's not part of Linux headers.
937
67525cb8
AJ
938 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
939 (MAP_HUGE_MASK): Define.
940
941 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
942 Define.
943 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
944 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
945 Define.
946 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
947 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
948 Define.
949 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
950 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
951 Define.
952 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
953
954 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
955 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
956 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
957 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
958 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
959 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
960
961 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
962 Handle f2fs.
963
964 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
965 Handle f2fs and efivarfs.
966
967 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
968 f2fs.
969
970 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
971 (EFIVARFS_MAGIC): Add.
972 (F2FS_LINK_MAX): Add.
973
e1b42695
PP
9742013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
975
976 * stdio-common/vfprintf.c: Replace __builtin_expect with
977 __glibc_unlikely.
978
2d67d91a
JM
9792013-03-06 Joseph Myers <joseph@codesourcery.com>
980
981 [BZ #13550]
982 * sysdeps/generic/bp-sym.h: Remove file.
983 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
984 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
985 <bp-sym.h> and <bp-asm.h>.
986 (__longjmp): Don't use BP_SYM.
987 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
988 and <bp-asm.h>.
989 (memcpy): Don't use BP_SYM.
990 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
991 <bp-sym.h> and <bp-asm.h>.
992 (memcpy): Don't use BP_SYM.
993 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
994 <bp-asm.h>.
995 (memcpy): Don't use BP_SYM.
996 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
997 <bp-asm.h>.
998 (memset): Don't use BP_SYM.
999 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1000 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1001 (__bzero): Don't use BP_SYM.
1002 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1003 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1004 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1005 <bp-sym.h> and <bp-asm.h>.
1006 (memcmp): Don't use BP_SYM. Remove comment about bounded
1007 pointers.
1008 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1009 <bp-sym.h> and <bp-asm.h>.
1010 (memcpy): Don't use BP_SYM.
1011 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1012 <bp-sym.h> and <bp-asm.h>.
1013 (memset): Don't use BP_SYM.
1014 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1015 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1016 (__bzero): Don't use BP_SYM.
1017 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1018 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1019 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1020 <bp-sym.h> and <bp-asm.h>.
1021 (strncmp): Don't use BP_SYM. Remove comment about bounded
1022 pointers.
1023 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1024 <bp-sym.h> and <bp-asm.h>.
1025 (memcpy): Don't use BP_SYM.
1026 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1027 <bp-sym.h> and <bp-asm.h>.
1028 (memset): Don't use BP_SYM.
1029 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1030 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1031 (__bzero): Don't use BP_SYM.
1032 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1033 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1034 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1035 <bp-sym.h> and <bp-asm.h>.
1036 (__memchr): Don't use BP_SYM.
1037 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1038 <bp-sym.h> and <bp-asm.h>.
1039 (memcmp): Don't use BP_SYM. Remove comment about bounded
1040 pointers.
1041 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1042 <bp-sym.h> and <bp-asm.h>.
1043 (memcpy): Don't use BP_SYM.
1044 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1045 <bp-sym.h> and <bp-asm.h>.
1046 (__mempcpy): Don't use BP_SYM.
1047 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1048 <bp-sym.h> and <bp-asm.h>.
1049 (__memrchr): Don't use BP_SYM.
1050 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1051 <bp-sym.h> and <bp-asm.h>.
1052 (memset): Don't use BP_SYM.
1053 (__bzero): Likewise.
1054 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1055 <bp-sym.h> and <bp-asm.h>.
1056 (__rawmemchr): Don't use BP_SYM.
1057 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1058 <bp-sym.h> and <bp-asm.h>.
1059 (__STRCMP): Don't use BP_SYM.
1060 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1061 <bp-sym.h> and <bp-asm.h>.
1062 (strchr): Don't use BP_SYM.
1063 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1064 <bp-sym.h> and <bp-asm.h>.
1065 (__strchrnul): Don't use BP_SYM.
1066 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1067 <bp-sym.h> and <bp-asm.h>.
1068 (strlen): Don't use BP_SYM.
1069 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1070 <bp-sym.h> and <bp-asm.h>.
1071 (strncmp): Don't use BP_SYM. Remove comment about bounded
1072 pointers.
1073 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1074 <bp-sym.h> and <bp-asm.h>.
1075 (__strnlen): Don't use BP_SYM.
1076 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1077 <bp-sym.h> and <bp-asm.h>.
1078 (__GI__setjmp): Don't use BP_SYM.
1079 (_setjmp): Likewise.
1080 (__sigsetjmp): Likewise.
1081 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1082 (L(start_addresses)): Don't use BP_SYM.
1083 (_start): Likewise.
1084 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1085 <bp-asm.h>.
1086 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1087 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1088 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1089 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1090 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1091 <bp-asm.h>.
1092 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1093 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1094 about bounded pointers.
1095 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1096 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1097 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1098 <bp-asm.h>.
1099 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1100 about bounded pointers. Remove GKM FIXME comments.
1101 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1102 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1103 <bp-asm.h>.
1104 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1105 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1106 Remove GKM FIXME comments.
1107 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1108 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1109 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1110 <bp-asm.h>.
1111 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1112 about bounded pointers. Remove GKM FIXME comment.
1113 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1114 and <bp-asm.h>.
1115 (strncmp): Don't use BP_SYM. Remove comment about bounded
1116 pointers.
1117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1118 <bp-sym.h> and <bp-asm.h>.
1119 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1121 <bp-sym.h> and <bp-asm.h>.
1122 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1123 comment.
1124
cdcf361f
PP
11252013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1126
1127 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1128 call free(NULL).
1129
3c4a2b15
DM
11302013-03-05 David S. Miller <davem@davemloft.net>
1131
1132 * po/es.po: Update from translation team.
1133
cdcf361f 11342013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
1135
1136 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1137 <bits/mman-linux.h>.
1138 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1139 is fine.
1140 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1141 <bits/mman-linux.h> to end of file.
1142 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1143 is fine.
1144 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1145 <bits/mman-linux.h> to end of file.
1146 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1147 is fine.
1148 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1149 <bits/mman-linux.h> to end of file.
1150
1151 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1152 (MCL_CURRENT, MCL_FUTURE): Define here.
1153
5f67c04f
AK
11542013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1155
8a4473cc 1156 [BZ #15232]
5f67c04f
AK
1157 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1158 attribute_hidden.
1159 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1160
c3e94a95
AK
11612013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1162
1163 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1164 fourth parameter needed for rt_sigprocmask syscall.
1165 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1166 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1167 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1168 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1169 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1170 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1171
cfb6382a
JM
11722013-03-04 Joseph Myers <joseph@codesourcery.com>
1173
1174 [BZ #13550]
1175 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1176 comment about bounded pointers.
1177 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1178 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1179
539d8e01
AJ
11802013-03-04 Andreas Jaeger <aj@suse.de>
1181
1182 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1183 common definitions.
1184
1185 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1186 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1187 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1188 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1189 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
1190 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1191
2e167a70 11922013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
1193
1194 [BZ #15055]
1195 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1196 __ieee754_sqrl instead of __sqrl.
1197
68508633
JM
11982013-03-01 Joseph Myers <joseph@codesourcery.com>
1199
1200 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1201 * sysdeps/powerpc/fpu_control.h: ... here.
1202 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1203 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1204 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1205 * sysdeps/powerpc/bits/mathinline.h: ... here.
1206
7775448e
RM
12072013-03-01 Roland McGrath <roland@hack.frob.com>
1208
1209 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1210 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1211 to just [NEED_DL_SYSINFO_DSO].
1212 * elf/dl-support.c: Likewise.
1213 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1214 * elf/rtld.c (dl_main): Likewise.
1215 * elf/setup-vdso.h (setup_vdso): Likewise.
1216 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1217 * sysdeps/unix/sysv/linux/dl-sysdep.c
1218 (_dl_discover_osversion): Likewise.
1219
4e9b5995
CD
12202013-03-01 Carlos O'Donell <carlos@redhat.com>
1221
1222 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1223 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1224
e23872c8
SP
12252013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1226
e5c74c63
SP
1227 * NEWS: Mention libm performance improvements and non-x86 PI
1228 futex support.
1229
e23872c8
SP
1230 * csu/libc-start.c (__pthread_initialize_minimal): Change
1231 function arguments.
1232 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1233
b5510883
JM
12342013-02-28 Joseph Myers <joseph@codesourcery.com>
1235
1236 [BZ #13550]
1237 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1238 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1239 <bp-sym.h> and <bp-asm.h>.
1240 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1241 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1242 and <bp-asm.h>.
1243 (memcpy): Don't use BP_SYM.
1244 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1245 <bp-asm.h>.
1246 (__mpn_add_n): Don't use BP_SYM.
1247 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1248 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1249 and <bp-asm.h>.
1250 (__mpn_addmul_1): Don't use BP_SYM.
1251 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1252 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1253 <bp-sym.h>.
1254 (_setjmp): Don't use BP_SYM.
1255 (__novmx_setjmp): Likewise.
1256 (__GI__setjmp): Likewise.
1257 (__vmx_setjmp): Likewise.
1258 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1259 <bp-sym.h>.
1260 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1261 (__bzero): Don't use BP_SYM.
1262 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1263 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1264 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1265 <bp-sym.h> and <bp-asm.h>.
1266 (memcpy): Don't use BP_SYM.
1267 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1268 <bp-sym.h> and <bp-asm.h>.
1269 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1270 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1271 <bp-sym.h> and <bp-asm.h>.
1272 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1273 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1274 <bp-asm.h>.
1275 (__mpn_lshift): Don't use BP_SYM.
1276 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1277 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1278 <bp-asm.h>.
1279 (memset): Don't use BP_SYM.
1280 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1281 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1282 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1283 <bp-asm.h>.
1284 (__mpn_mul_1): Don't use BP_SYM.
1285 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1286 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1287 <bp-sym.h> and <bp-asm.h>.
1288 (memcmp): Don't use BP_SYM.
1289 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1290 <bp-sym.h> and <bp-asm.h>.
1291 (memcpy): Don't use BP_SYM.
1292 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1293 <bp-sym.h> and <bp-asm.h>.
1294 (memset): Don't use BP_SYM.
1295 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1296 <bp-sym.h> and <bp-asm.h>.
1297 (strncmp): Don't use BP_SYM.
1298 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1299 <bp-sym.h> and <bp-asm.h>.
1300 (memcpy): Don't use BP_SYM.
1301 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1302 <bp-sym.h> and <bp-asm.h>.
1303 (memset): Don't use BP_SYM.
1304 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1305 <bp-sym.h> and <bp-asm.h>.
1306 (__memchr): Don't use BP_SYM.
1307 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1308 <bp-sym.h> and <bp-asm.h>.
1309 (memcmp): Don't use BP_SYM.
1310 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1311 <bp-sym.h> and <bp-asm.h>.
1312 (memcpy): Don't use BP_SYM.
1313 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1314 <bp-sym.h> and <bp-asm.h>.
1315 (__mempcpy): Don't use BP_SYM.
1316 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1317 <bp-sym.h> and <bp-asm.h>.
1318 (__memrchr): Don't use BP_SYM.
1319 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1320 <bp-sym.h> and <bp-asm.h>.
1321 (memset): Don't use BP_SYM.
1322 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1323 <bp-sym.h> and <bp-asm.h>.
1324 (__rawmemchr): Don't use BP_SYM.
1325 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1326 <bp-sym.h> and <bp-asm.h>.
1327 (__STRCMP): Don't use BP_SYM.
1328 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1329 <bp-sym.h> and <bp-asm.h>.
1330 (strchr): Don't use BP_SYM.
1331 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1332 <bp-sym.h> and <bp-asm.h>.
1333 (__strchrnul): Don't use BP_SYM.
1334 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1335 <bp-sym.h> and <bp-asm.h>.
1336 (strlen): Don't use BP_SYM.
1337 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1338 <bp-sym.h> and <bp-asm.h>.
1339 (strncmp): Don't use BP_SYM.
1340 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1341 <bp-sym.h> and <bp-asm.h>.
1342 (__strnlen): Don't use BP_SYM.
1343 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1344 <bp-asm.h>.
1345 (__mpn_rshift): Don't use BP_SYM.
1346 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1347 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1348 <bp-sym.h> and <bp-asm.h>.
1349 (__sigsetjmp): Don't use BP_SYM.
1350 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1351 (L(start_addresses)): Don't use BP_SYM.
1352 (_start): Likewise.
1353 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1354 <bp-asm.h>.
1355 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1356 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1357 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1358 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1359 <bp-asm.h>.
1360 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1361 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1362 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1363 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1364 <bp-asm.h>.
1365 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1366 comments.
1367 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1368 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1369 <bp-asm.h>.
1370 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1371 FIXME comments.
1372 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1373 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1374 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1375 <bp-asm.h>.
1376 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1377 comment.
1378 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1379 and <bp-asm.h>.
1380 (strncmp): Don't use BP_SYM,
1381 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1382 <bp-asm.h>.
1383 (__mpn_sub_n): Don't use BP_SYM.
1384 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1385 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1386 and <bp-asm.h>.
1387 (__mpn_submul_1): Don't use BP_SYM.
1388 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1390 <bp-sym.h> and <bp-asm.h>.
1391 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1393 <bp-sym.h> and <bp-asm.h>.
1394 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1395 comment.
1396
8d19fe64
SP
13972013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1398
1399 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1400 Use ZK to minimize writes to Z.
1401 (sub_magnitudes): Simplify code a bit.
1402 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1403 Use ZK to minimize writes to Z.
1404 (sub_magnitudes): Simplify code a bit.
1405
85bd816a
RM
14062013-02-27 Roland McGrath <roland@hack.frob.com>
1407
1408 * csu/gmon-start.c: Add special exception to license text.
1409
b5977bf2
RH
14102013-02-27 Richard Henderson <rth@redhat.com>
1411
1412 * scripts/config.guess: Update from config.git.
1413 * scripts/config.sub: Likewise.
1414
11d6e2f2
SP
14152013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1416
09c14ed2
SP
1417 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1418
a688864e
SP
1419 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1420
6295157a
SP
1421 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1422
b8de2202
SP
1423 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1424
11d6e2f2
SP
1425 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1426
7e80ddb8
RM
14272013-02-26 Roland McGrath <roland@hack.frob.com>
1428
1429 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1430 [$(build-shared = yes].
7e80ddb8 1431
7da6d9ed
SP
14322013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1433
45f05884
SP
1434 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1435 (__mul): Reduce iterations for calculating mantissa.
1436
2236d359
SP
1437 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1438 MPTWO.
1439 (__mpranred): Likewise.
1440
7da6d9ed
SP
1441 [BZ #15160]
1442 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1443 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1444
b7688c42
PE
14452013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1446
1447 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1448 Define __attribute__.
1449
53a5c423
SP
14502013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1451
1452 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1453 unused.
1454 * posix/regex_internal.h (__attribute): Remove.
1455 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1456 (re_string_context_at): Likewise.
1457 (bitset_not): Use __attribute__ and mark function as possibly
1458 unused.
1459 (bitset_merge): Likewise.
1460 (bitset_mask): Likewise.
1461 (re_string_char_size_at): Likewise.
1462 (re_string_wchar_at): Likewise.
1463 (re_string_elem_size_at): Likewise.
1464
60f5a8b5
SP
14652013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1466
2a983a2e
SP
1467 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1468 code.
1469 (cc32): Likewise.
1470
e69804d1
SP
1471 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1472 (__acr): Likewise.
1473 (__cpy): Likewise.
1474 (norm): Likewise.
1475 (denorm): Likewise.
1476 (__dbl_mp): Likewise.
1477 (add_magnitudes): Likewise.
1478 (sub_magnitudes): Likewise.
1479 (__mul): Likewise.
1480 (__inv): Likewise.
1481
2f22a1e8
SP
1482 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1483 style.
1484
8930ddc7
SP
1485 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1486 style.
1487
dc60cb11
SP
1488 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1489 code.
1490
60f5a8b5
SP
1491 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1492 up changes with default code.
1493 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1494 Likewise.
1495
b4d1fd33
AM
14962013-02-24 Allan McRae <allan@archlinux.org>
1497
faf6f8bc
AM
1498 * manual/socket.texi (The Internet Namespace): Order menu items
1499 to match that in the file.
1500
b4d1fd33
AM
1501 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1502 node listing of the info page menu.
1503
2366713d
JM
15042013-02-21 Joseph Myers <joseph@codesourcery.com>
1505
1506 [BZ #13550]
1507 * sysdeps/i386/bp-asm.h: Remove file.
1508 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1509 (PARMS): Do not use macros from bp-asm.h.
1510 (S1): Likewise.
1511 (S2): Likewise.
1512 (SIZE): Likewise.
1513 (__mpn_add_n): Do not use BP_SYM
1514 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1515 "bp-asm.h".
1516 (PARMS): Do not use macros from bp-asm.h.
1517 (S1): Likewise.
1518 (SIZE): Likewise.
1519 (__mpn_addmul_1): Do not use BP_SYM
1520 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1521 "bp-asm.h".
1522 (PARMS): Do not use macros from bp-asm.h.
1523 (SIGMSK): Likewise.
1524 (_setjmp): Likewise. Do not use BP_SYM.
1525 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1526 "bp-asm.h".
1527 (PARMS): Do not use macros from bp-asm.h.
1528 (SIGMSK): Likewise.
1529 (setjmp): Likewise. Do not use BP_SYM.
1530 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1531 "bp-asm.h".
1532 (PARMS): Do not use macros from bp-asm.h.
1533 (__frexp): Do not use BP_SYM.
1534 (frexp): Likewise.
1535 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1536 "bp-asm.h".
1537 (PARMS): Do not use macros from bp-asm.h.
1538 (__frexpf): Do not use BP_SYM.
1539 (frexpf): Likewise.
1540 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1541 "bp-asm.h".
1542 (PARMS): Do not use macros from bp-asm.h.
1543 (__frexpl): Do not use BP_SYM.
1544 (frexpl): Likewise.
1545 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1546 "bp-asm.h".
1547 (PARMS): Do not use macros from bp-asm.h.
1548 (__remquo): Do not use BP_SYM.
1549 (remquo): Likewise.
1550 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1551 "bp-asm.h".
1552 (PARMS): Do not use macros from bp-asm.h.
1553 (__remquof): Do not use BP_SYM.
1554 (remquof): Likewise.
1555 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1556 "bp-asm.h".
1557 (PARMS): Do not use macros from bp-asm.h.
1558 (__remquol): Do not use BP_SYM.
1559 (remquol): Likewise.
1560 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1561 "bp-asm.h".
1562 (PARMS): Do not use macros from bp-asm.h.
1563 (DEST): Likewise.
1564 (SRC): Likewise.
1565 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1566 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1567 "bp-asm.h".
1568 (PARMS): Do not use macros from bp-asm.h.
1569 (strlen): Do not use BP_SYM.
1570 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1571 "bp-asm.h".
1572 (PARMS): Do not use macros from bp-asm.h.
1573 (S1): Likewise.
1574 (S2): Likewise.
1575 (SIZE): Likewise.
1576 (__mpn_add_n): Do not use BP_SYM.
1577 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1578 "bp-asm.h".
1579 (PARMS): Do not use macros from bp-asm.h.
1580 (S1): Likewise.
1581 (SIZE): Likewise.
1582 (__mpn_addmul_1): Do not use BP_SYM.
1583 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1584 weak_alias.
1585 (bzero): Likewise.
1586 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1587 "bp-asm.h".
1588 (PARMS): Do not use macros from bp-asm.h.
1589 (S): Likewise.
1590 (SIZE): Likewise.
1591 (__mpn_lshift): Do not use BP_SYM.
1592 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1593 "bp-asm.h".
1594 (PARMS): Do not use macros from bp-asm.h.
1595 (DEST): Likewise.
1596 (SRC): Likewise.
1597 (LEN): Likewise.
1598 (memcpy): Likewise. Do not use BP_SYM.
1599 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1600 libc_hidden_def and weak_alias.
1601 (mempcpy): Do not use BP_SYM in weak_alias.
1602 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1603 "bp-asm.h".
1604 (PARMS): Do not use macros from bp-asm.h.
1605 (DEST): Likewise.
1606 (LEN): Likewise.
1607 [!BZERO_P] (CHR): Likewise.
1608 (memset): Likewise. Do not use BP_SYM.
1609 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1610 "bp-asm.h".
1611 (PARMS): Do not use macros from bp-asm.h.
1612 (S1): Likewise.
1613 (SIZE): Likewise.
1614 (__mpn_mul_1): Do not use BP_SYM.
1615 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1616 "bp-asm.h".
1617 (PARMS): Do not use macros from bp-asm.h.
1618 (S): Likewise.
1619 (SIZE): Likewise.
1620 (__mpn_rshift): Do not use BP_SYM.
1621 * sysdeps/i386/i586/strchr.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 (strchr): Likewise. Do not use BP_SYM.
1627 (index): Do not use BP_SYM in weak_alias.
1628 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1629 "bp-asm.h".
1630 (PARMS): Do not use macros from bp-asm.h.
1631 (DEST): Likewise.
1632 (SRC): Likewise.
1633 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1634 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1635 "bp-asm.h".
1636 (PARMS): Do not use macros from bp-asm.h.
1637 (strlen): Do not use BP_SYM.
1638 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1639 "bp-asm.h".
1640 (PARMS): Do not use macros from bp-asm.h.
1641 (S1): Likewise.
1642 (S2): Likewise.
1643 (SIZE): Likewise.
1644 (__mpn_sub_n): Do not use BP_SYM.
1645 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1646 "bp-asm.h".
1647 (PARMS): Do not use macros from bp-asm.h.
1648 (S1): Likewise.
1649 (SIZE): Likewise.
1650 (__mpn_submul_1): Do not use BP_SYM.
1651 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1652 "bp-asm.h".
1653 (PARMS): Do not use macros from bp-asm.h.
1654 (S1): Likewise.
1655 (S2): Likewise.
1656 (SIZE): Likewise.
1657 (__mpn_add_n): Do not use BP_SYM.
1658 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1659 weak_alias.
1660 (bzero): Likewise.
1661 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1662 "bp-asm.h".
1663 (PARMS): Do not use macros from bp-asm.h.
1664 (BLK2): Likewise.
1665 (LEN): Likewise.
1666 (memcmp): Do not use BP_SYM.
1667 (bcmp): Do not use BP_SYM in weak_alias.
1668 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1669 "bp-asm.h".
1670 (PARMS): Do not use macros from bp-asm.h.
1671 (DEST): Likewise.
1672 (SRC): Likewise.
1673 (LEN): Likewise.
1674 (memcpy): Likewise. Do not use BP_SYM.
1675 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1676 "bp-asm.h".
1677 (PARMS): Do not use macros from bp-asm.h.
1678 (DEST): Likewise.
1679 (SRC): Likewise.
1680 (LEN): Likewise.
1681 (memmove): Likewise. Do not use BP_SYM.
1682 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1683 "bp-asm.h".
1684 (PARMS): Do not use macros from bp-asm.h.
1685 (DEST): Likewise.
1686 (SRC): Likewise.
1687 (LEN): Likewise.
1688 (__mempcpy): Likewise. Do not use BP_SYM.
1689 (mempcpy): Do not use BP_SYM in weak_alias.
1690 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1691 "bp-asm.h".
1692 (PARMS): Do not use macros from bp-asm.h.
1693 (DEST): Likewise.
1694 (LEN): Likewise.
1695 [!BZERO_P] (CHR): Likewise.
1696 (memset): Likewise. Do not use BP_SYM.
1697 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1698 "bp-asm.h".
1699 (PARMS): Do not use macros from bp-asm.h.
1700 (STR2): Likewise.
1701 (strcmp): Do not use BP_SYM.
1702 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1703 "bp-asm.h".
1704 (PARMS): Do not use macros from bp-asm.h.
1705 (STR): Likewise.
1706 (DELIM): Likewise.
1707 [USE_AS_STRTOK_R] (SAVE): Likewise.
1708 (FUNCTION): Likewise. Do not use BP_SYM.
1709 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1710 aliases.
1711 (strtok_r): Likewise.
1712 (__GI___strtok_r): Likewise.
1713 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1714 (PARMS): Do not use macros from bp-asm.h.
1715 (S): Likewise.
1716 (SIZE): Likewise.
1717 (__mpn_lshift): Do not use BP_SYM.
1718 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1719 (PARMS): Do not use macros from bp-asm.h.
1720 (STR): Likewise.
1721 (CHR): Likewise.
1722 (__memchr): Do not use BP_SYM.
1723 (memchr): Do not use BP_SYM in weak_alias.
1724 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1725 (PARMS): Do not use macros from bp-asm.h.
1726 (BLK2): Likewise.
1727 (LEN): Likewise.
1728 (memcmp): Do not use BP_SYM.
1729 (bcmp): Do not use BP_SYM in weak_alias.
1730 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1731 (PARMS): Do not use macros from bp-asm.h.
1732 (S1): Likewise.
1733 (SIZE): Likewise.
1734 (__mpn_mul_1): Do not use BP_SYM.
1735 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1736 "bp-asm.h".
1737 (PARMS): Do not use macros from bp-asm.h.
1738 (STR): Likewise.
1739 (CHR): Likewise.
1740 (__rawmemchr): Do not use BP_SYM.
1741 (rawmemchr): Do not use BP_SYM in weak_alias.
1742 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1743 (PARMS): Do not use macros from bp-asm.h.
1744 (S): Likewise.
1745 (SIZE): Likewise.
1746 (__mpn_rshift): Do not use BP_SYM.
1747 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1748 (PARMS): Do not use macros from bp-asm.h.
1749 (SIGMSK): Likewise.
1750 (__sigsetjmp): Likewise. Do not use BP_SYM.
1751 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1752 (_start): Do not use BP_SYM.
1753 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1754 (PARMS): Do not use macros from bp-asm.h.
1755 (DEST): Likewise.
1756 (SRC): Likewise.
1757 (__stpcpy): Likewise. Do not use BP_SYM.
1758 (stpcpy): Do not use BP_SYM in weak_alias.
1759 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1760 "bp-asm.h".
1761 (PARMS): Do not use macros from bp-asm.h.
1762 (DEST): Likewise.
1763 (SRC): Likewise.
1764 (LEN): Likewise.
1765 (__stpncpy): Likewise. Do not use BP_SYM.
1766 (stpncpy): Do not use BP_SYM in weak_alias.
1767 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1768 (PARMS): Do not use macros from bp-asm.h.
1769 (STR): Likewise.
1770 (CHR): Likewise.
1771 (strchr): Likewise. Do not use BP_SYM.
1772 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1773 "bp-asm.h".
1774 (PARMS): Do not use macros from bp-asm.h.
1775 (STR): Likewise.
1776 (CHR): Likewise.
1777 (__strchrnul): Likewise. Do not use BP_SYM.
1778 (strchrnul): Do not use BP_SYM in weak_alias.
1779 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1780 "bp-asm.h".
1781 (PARMS): Do not use macros from bp-asm.h.
1782 (STOP): Likewise.
1783 (strcspn): Do not use BP_SYM.
1784 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1785 "bp-asm.h".
1786 (PARMS): Do not use macros from bp-asm.h.
1787 (STR): Likewise.
1788 (STOP): Likewise.
1789 (strpbrk): Likewise. Do not use BP_SYM.
1790 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1791 "bp-asm.h".
1792 (PARMS): Do not use macros from bp-asm.h.
1793 (STR): Likewise.
1794 (CHR): Likewise.
1795 (strrchr): Likewise. Do not use BP_SYM.
1796 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1797 (PARMS): Do not use macros from bp-asm.h.
1798 (SKIP): Likewise.
1799 (strspn): Do not use BP_SYM.
1800 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1801 (PARMS): Do not use macros from bp-asm.h.
1802 (STR): Likewise.
1803 (DELIM): Likewise.
1804 (SAVE): Likewise.
1805 (FUNCTION): Likewise. Do not use BP_SYM.
1806 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1807 aliases.
1808 (strtok_r): Likewise.
1809 (__GI___strtok_r): Likewise.
1810 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1811 (PARMS): Do not use macros from bp-asm.h.
1812 (S1): Likewise.
1813 (S2): Likewise.
1814 (SIZE): Likewise.
1815 (__mpn_sub_n): Do not use BP_SYM.
1816 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1817 "bp-asm.h".
1818 (PARMS): Do not use macros from bp-asm.h.
1819 (S1): Likewise.
1820 (SIZE): Likewise.
1821 (__mpn_submul_1): Do not use BP_SYM.
1822 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1823 <bp-sym.h>.
1824 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1825 and <bp-asm.h>.
1826 (PARMS): Do not use macros from bp-asm.h.
1827 (FLAGS): Likewise.
1828 (PTID): Likewise.
1829 (TLS): Likewise.
1830 (CTID): Likewise.
1831 (__clone): Do not use BP_SYM.
1832 (clone): Do not use BP_SYM in weak_alias.
1833 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1834 and <bp-asm.h>.
1835 (PARMS): Do not use macros from bp-asm.h.
1836 (LEN): Likewise.
1837 (__mmap64): Do not use BP_SYM.
1838 (mmap64): Do not use BP_SYM in weak_alias.
1839 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1840 <bp-sym.h> and <bp-asm.h>.
1841 (PARMS): Do not use macros from bp-asm.h.
1842 (__posix_fadvise64_l64): Do not use BP_SYM.
1843 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1844 (PARMS): Do not use macros from bp-asm.h.
1845 (NSOPS): Likewise.
1846 (semtimedop): Do not use BP_SYM.
1847 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1848 and <bp-asm.h>.
1849
582a3cff
AM
18502013-02-21 Allan McRae <allan@archlinux.org>
1851
1852 * manual/message.texi (Charset conversion in gettext):
1853 Move @end statement to beginning of line.
1854
bab8a695
SP
18552013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1856
80945231
SP
1857 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1858 static.
1859 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1860 Likewise.
1861
bab8a695
SP
1862 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1863 (denorm): Likewise.
1864 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1865 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1866
e21d7aa7
AK
18672013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1868
1869 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1870 tail-call to the resolved function if pltexit isn't needed.
1871
4c7a4263
SP
18722013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1873
1874 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1875 or Y being zero as being unlikely.
1876 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1877 Likewise.
1878
41f49342
CD
18792013-02-20 Carlos O'Donell <carlos@redhat.com>
1880
1881 * manual/nss.texi (System Databases and Name Service Switch):
1882 Remove frobnicate @pxref.
1883
50022a93
TS
18842013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1885
1886 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1887 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1888
08cbd996
PM
18892013-02-20 Petr Machata <pmachata@redhat.com>
1890
1891 * elf/elf.h (R_ARM_TARGET1): New macro.
1892 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1893 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1894 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1895 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1896 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1897 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1898 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1899 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1900 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1901 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1902 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1903 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1904 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1905 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1906 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1907 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1908 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1909 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1910 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1911 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1912 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1913 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1914 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1915 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1916 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1917 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1918 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1919 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1920 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1921 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1922 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1923 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1924 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1925 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1926 (R_ARM_THM_GOT_BREL12): Likewise.
1927 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1928 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1929 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1930 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1931 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1932 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1933 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1934 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1935 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1936
c7b275d6
TS
19372013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1938
1939 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1940 __attribute_used__ to __attribute__ ((unused)).
1941
20cd7fb3
SP
19422013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1943
1944 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1945 powerpc mpa.c.
1946 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1947 comment formatting.
1948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1949
92945b52
JM
19502013-02-19 Joseph Myers <joseph@codesourcery.com>
1951
1952 [BZ #13550]
1953 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1954 Remove macro.
1955 (ENTER): Remove both macro definitions.
1956 (LEAVE): Likewise.
1957 (CHECK_BOUNDS_LOW): Likewise.
1958 (CHECK_BOUNDS_HIGH): Likewise.
1959 (CHECK_BOUNDS_BOTH): Likewise.
1960 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1961 (RETURN_BOUNDED_POINTER): Likewise.
1962 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1963 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1964 (POP_ERRNO_LOCATION_RETURN): Likewise.
1965 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1966 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1967 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1968 macros.
1969 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1970 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1971 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1972 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1973 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1974 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1975 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1976 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1977 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1978 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1979 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1980 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1981 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1982 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1983 removed macros.
1984 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1985 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1986 macros.
1987 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1988 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1989 * sysdeps/i386/i586/memset.S (memset): Likewise.
1990 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1991 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1992 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1993 macros.
1994 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1995 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
1996 Change uses of L(2) to L(out).
1997 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
1998 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
1999 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2000 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2001 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2002 removed macros.
2003 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2004 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2005 macros.
2006 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2007 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2008 (RETURN): Do not use macro LEAVE.
2009 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2010 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2011 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2012 * sysdeps/i386/i686/memset.S (memset): Likewise.
2013 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2014 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2015 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2016 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2017 Likewise.
2018 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2019 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2020 L(1_2) and L(1_3) into L(1).
2021 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2022 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2023 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2024 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2025 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2026 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2027 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2028 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2029 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2030 macros.
2031 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2032 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2033 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2034 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2035 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2036 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2037 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2038 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2039 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2040 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2041 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2042 * sysdeps/i386/strspn.S (strspn): Likewise.
2043 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2044 conditional code.
2045 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2046 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2047 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2048 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2049 L(1_3) into L(1_1).
2050 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2051 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2052 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2053 macros.
2054 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2055
2389741a
JJ
20562013-02-19 Jakub Jelinek <jakub@redhat.com>
2057
2058 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2059 macro.
2060
2016b3cd
SP
20612013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2062
e4f22324
SP
2063 * math/atest-exp.c (exp_mpn): Remove ROUND.
2064 * math/atest-exp2.c (exp_mpn): Likewise.
2065 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2066
2016b3cd
SP
2067 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2068 * stdlib/tst-tls-atexit-lib.c: Likewise.
2069 * stdlib/tst-tls-atexit.c: Likewise.
2070
4be9b544
MF
20712013-02-18 Mike Frysinger <vapier@gentoo.org>
2072
2073 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2074 and __attribute_alloc_size__.
2075
2f62b9ee
MF
20762013-02-18 Mike Frysinger <vapier@gentoo.org>
2077
2078 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2079 __attribute_alloc_size__.
2080 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2081 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2082
6ff444c4
MF
20832013-02-18 Mike Frysinger <vapier@gentoo.org>
2084
2085 * include/programs/xmalloc.h: New file.
2086 * catgets/gencat.c: Include it.
2087 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2088 * elf/pldd.c: Likewise.
2089 * iconv/iconv_charmap.c: Likewise.
2090 * iconv/iconvconfig.c: Likewise.
2091 * iconv/strtab.c: Likewise.
2092 * locale/programs/locale.c: Likewise.
2093 * locale/programs/localedef.h: Likewise.
2094 * locale/programs/simple-hash.c: Likewise.
2095 * nscd/nscd.h: Likewise.
2096 * nss/makedb.c: Likewise.
2097 * sysdeps/generic/ldconfig.h: Likewise.
2098
be179c8a
SP
20992013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2100
ba384f6e
SP
2101 * Versions.def: Add GLIBC_2.18.
2102 * include/link.h (struct link_map): New member l_tls_dtor_count.
2103 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2104 (__call_tls_dtors): Likewise.
2105 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2106 __cxa_thread_atexit_impl.
2107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2108 Likewise.
2109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2110 Likewise.
2111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2112 Likewise.
2113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2114 Likewise.
2115 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2117 Likewise.
2118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2119 Likewise.
2120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2121 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2122 Likewise.
2123 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2124 (tests): Add test case tst-tls-atexit.
2125 (modules-names): Add shared library for tst-tls-atexit.
2126 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2127 (GLIBC_PRIVATE): Add __call_tls_dtors.
2128 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2129 for libstdc++.
2130 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2131 * stdlib/tst-tls-atexit.c: New test case.
2132 * stdlib/tst-tls-atexit-lib.c: New test case.
2133
ffaa74cf 2134 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 2135
be179c8a
SP
2136 * elf/Versions (ld): Add _dl_find_dso_for_object.
2137 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2138 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2139 (dl_open_worker): Use _dl_find_dso_for_object.
2140 * elf/dl-sym.c (do_sym): Likewise.
2141 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2142
f78b5caa
AK
21432013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2144
2145 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2146 Syntactic changes only.
2147 (_dl_runtime_profile): Do a tail-call to the resolved function.
2148
29691210
JM
21492013-02-17 Joseph Myers <joseph@codesourcery.com>
2150
2151 [BZ #13550]
2152 * sysdeps/x86_64/bp-asm.h: Remove file.
2153 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2154 <bp-sym.h> and <bp-asm.h>.
2155 (__clone): Do not use BP_SYM.
2156 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2157 <bp-sym.h> and <bp-asm.h>.
2158 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2159 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2160 "bp-asm.h".
2161 (_setjmp): Do not use BP_SYM.
2162 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2163 "bp-asm.h".
2164 (setjmp): Do not use BP_SYM.
2165 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2166 libc_hidden_def.
2167 (mempcpy): Do not use BP_SYM in weak_alias.
2168 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2169 "bp-asm.h".
2170 (strchr): Do not use BP_SYM.
2171 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2172 "bp-asm.h".
2173 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2174 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2175 (_start): Do not use BP_SYM.
2176 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2177 "bp-asm.h".
2178 (strcat): Do not use BP_SYM.
2179 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2180 "bp-asm.h".
2181 (STRCMP): Do not use BP_SYM.
2182 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2183 "bp-asm.h".
2184 (STRCPY): Do not use BP_SYM.
2185 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2186 "bp-asm.h".
2187 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2188 "bp-asm.h".
2189 (FUNCTION): Do not use BP_SYM.
2190 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2191 weak_alias.
2192 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2193
f238fd19
AJ
21942013-02-17 Andreas Jaeger <aj@suse.de>
2195
2196 * time/Versions: Sort entries.
2197 * string/Versions: Likewise.
2198 * resolv/Versions: Likewise.
2199 * posix/Versions: Likewise.
2200 * iconv/Versions: Likewise.
2201 * elf/Versions: Likewise.
2202 * wcsmbs/Versions: Likewise.
2203
bd07f23c 22042013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 2205
22af19f9
SP
2206 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2207 loop termination condition.
2208
4709fe76
SP
2209 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2210 variable to calculate EZ.
2211 (__sqr): Likewise.
2d0e0f29
SP
2212
2213 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2214 the lower precision input.
2215
daaa7713
JM
22162013-02-15 Joseph Myers <joseph@codesourcery.com>
2217
2218 [BZ #13550]
2219 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2220 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2221 (run-via-rtld-prefix): Do not handle %-bp tests.
2222 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2223 (all-object-suffixes): Remove .ob.
2224 (bppfx): Remove variable.
2225 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2226 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2227 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2228 [$(build-bounded) = yes] (libtype.ob): Likewise.
2229 * Makerules (elide-routines.ob): Remove variable.
2230 (do-tests-clean): Do not handle *-bp.out.
2231 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2232 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2233 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2234 (tests): Do not include $(tests-bp.out).
2235 (xtests): Do not include $(xtests-bp.out).
2236 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2237 [$(build-bounded) = yes] ($(addprefix
2238 $(objpfx),$(binaries-bounded))): Remove rule.
2239 ($(objpfx)%-bp.out): Remove rule.
2240 * config.make.in (build-bounded): Remove variable.
2241 * crypt/Makefile [$(build-bounded) = yes]
2242 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2243 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2244 append to variable.
2245 [$(build-bounded) = yes] (install-lib): Likewise.
2246 [$(build-bounded) = yes] (generated): Likewise.
2247 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2248 Remove rule.
2249 * intl/Makefile [$(build-bounded) = yes]
2250 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2251 * math/Makefile [$(build-bounded) = yes]
2252 ($(tests:%=$(objpfx)%-bp): Likewise.
2253 * misc/Makefile [$(build-bounded) = yes]
2254 ($(objpfx)tst-tsearch-bp): Likewise.
2255 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2256 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2257 Remove dependency.
2258 * string/Makefile (o-objects.ob): Remove variable.
2259 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2260 (CFLAGS-.ob): Remove variable.
2261 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2262 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2263 both definitions of variable.
2264 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2265 (ASFLAGS-.ob): Remove variable.
2266
e97ed6dd
JM
22672013-02-14 Joseph Myers <joseph@codesourcery.com>
2268
2bdd4ca6
JM
2269 [BZ #13550]
2270 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2271 Remove __BOUNDED_POINTERS__ from condition.
2272 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2273 * string/bits/string2.h [!__NO_STRING_INLINES &&
2274 !__BOUNDED_POINTERS__]: Likewise.
2275 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2276 Likewise.
2277 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2278 Remove conditional code.
2279 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2280 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2281 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2282 condition.
2283
e97ed6dd
JM
2284 [BZ #13550]
2285 * csu/libc-start.c: Do not include <bp-sym.h>.
2286 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2287 * elf/dl-open.c: Do not include <bp-sym.h>.
2288 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2289 * math/fegetenv.c: Do not include <bp-sym.h>.
2290 (fegetenv): Do not use BP_SYM in versioned symbols.
2291 * nptl/sysdeps/pthread/bits/libc-lockP.h
2292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2293 <bp-sym.h>.
2294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2295 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2297 (__pthread_mutex_destroy): Likewise.
2298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2299 (__pthread_mutex_lock): Likewise.
2300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2301 (__pthread_mutex_trylock): Likewise.
2302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2303 (__pthread_mutex_unlock): Likewise.
2304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2305 (__pthread_mutexattr_init): Likewise.
2306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2307 (__pthread_mutexattr_destroy): Likewise.
2308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2309 (__pthread_mutexattr_settype): Likewise.
2310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2311 (__pthread_rwlock_init): Likewise.
2312 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2313 (__pthread_rwlock_destroy): Likewise.
2314 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2315 (__pthread_rwlock_rdlock): Likewise.
2316 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2317 (__pthread_rwlock_tryrdlock): Likewise.
2318 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2319 (__pthread_rwlock_wrlock): Likewise.
2320 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2321 (__pthread_rwlock_trywrlock): Likewise.
2322 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2323 (__pthread_rwlock_unlock): Likewise.
2324 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2325 (__pthread_key_create): Likewise.
2326 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2327 (__pthread_setspecific): Likewise.
2328 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2329 (__pthread_getspecific): Likewise.
2330 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2331 Likewise.
2332 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2333 (_pthread_cleanup_push_defer): Likewise.
2334 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2335 (_pthread_cleanup_pop_restore): Likewise.
2336 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2337 (pthread_setcancelstate): Likewise.
2338 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2339 <bp-sym.h>.
2340 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2341 (memchr): Do not use BP_SYM in weak_alias.
2342 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2343 (fegetenv): Do not use BP_SYM in versioned symbols.
2344 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2345 (fesetenv): Do not use BP_SYM in versioned symbols.
2346 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2347 (feupdateenv): Do not use BP_SYM in versioned symbols.
2348 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2349 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2350 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2351 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2352 (open64): Do not use BP_SYM in weak_alias.
2353 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2354 (fegetenv): Do not use BP_SYM in versioned symbols.
2355 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2356 (fesetenv): Do not use BP_SYM in versioned symbols.
2357 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2358 (feupdateenv): Do not use BP_SYM in versioned symbols.
2359 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2360 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2361 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2362 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2363 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2364 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2365 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2366 <bp-sym.h>.
2367 (__libc_start_main): Do not use BP_SYM.
2368
d6752ccd
SP
23692013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2370
cb57ce60
SP
2371 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2372 redundant return line.
2373 (norm): Likewise.
2374 (denorm): Likewise.
2375 (dbl_mp): Likewise.
2376 (sub_magnitudes): Likewise.
2377 (__add): Likewise.
2378 (__sub): Likewise.
2379 (__mul): Likewise.
2380 (__inv): Likewise.
2381 (__dvd): Likewise.
2382 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2383 (norm): Likewise.
2384 (denorm): Likewise.
2385 (dbl_mp): Likewise.
2386 (sub_magnitudes): Likewise.
2387 (__add): Likewise.
2388 (__sub): Likewise.
2389 (__mul): Likewise.
2390 (__inv): Likewise.
2391 (__dvd): Likewise.
2392
f414520d
SP
2393 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2394 instead of __mul.
2395 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2396 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2397 (cc32): Likewise.
2398
d6752ccd
SP
2399 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2400 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2401 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2402 of __mul for squares.
2403 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2404 function
2405 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2406 Likewise.
2407 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2408 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2409
70d9946a
JM
24102013-02-13 Joseph Myers <joseph@codesourcery.com>
2411
2412 [BZ #13550]
2413 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2414 code.
2415 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2416 prototype or function definition. Rename ubp_* variables and
2417 parameters. Remove argv definitions conditional on
2418 [__BOUNDED_POINTERS__].
2419 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2420 * elf/dl-runtime.c (_dl_fixup): Likewise.
2421 * include/set-hooks.h (RUN_HOOK): Likewise.
2422 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2423 definition.
2424 * string/strcpy.c (strcpy): Do not use __unbounded.
2425 * sysdeps/generic/frame.h (struct layout): Likewise.
2426 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2427 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2428 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2429 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2430 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2431 (__backtrace): Likewise.
2432 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2433 use __ptrvalue.
2434 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2435 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2436 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2437 Likewise.
2438 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2439 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2440 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2441 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2442 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2443 Do not use __unbounded.
2444 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2445 Rename __unboundedrlimits parameter to rlimits in prototype.
2446 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2447 Do not use __unbounded.
2448 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2449 not use __ptrvalue.
2450 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2451 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2452 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2453 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2454 __ptrvalue or __unbounded.
2455 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2456 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2457 use __unbounded.
2458 (__new_msgctl): Do not use __ptrvalue.
2459 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2460 __unbounded.
2461 (__libc_msgrcv): Do not use __ptrvalue.
2462 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2463 startup_info): Do not use __unbounded.
2464 (__libc_start_main): Likewise. Rename ubp_* variables and
2465 parameters. Remove argv definitions conditional on
2466 [__BOUNDED_POINTERS__].
2467 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2468 __ptrvalue.
2469 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2470 use __unbounded.
2471 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2472 or __ptrvalue.
2473 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2474 use __unbounded.
2475 (__new_shmctl): Do not use __ptrvalue.
2476 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2477 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2478 Likewise.
2479 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2480 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2481 (__libc_sigaction): Likewise.
2482 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2483 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2484 Likewise.
2485 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2486
cc7834d6
OB
24872013-02-13 Ondřej Bílka <neleai@seznam.cz>
2488
ffb1ec7b 2489 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
2490
2491 * string/mempcpy.c: Implement by calling memcpy.
2492
bdf02814
SP
24932013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2494
c2af38aa
SP
2495 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2496
4e92d59e
SP
2497 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2498 evaluation.
2499
909279a5
SP
2500 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2501 values in the mantissa.
2502
bdf02814
SP
2503 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2504 minimize writes to Z.
2505 (sub_magnitudes): Simplify code a bit.
2506
cd525923
RM
25072013-02-12 Roland McGrath <roland@hack.frob.com>
2508
2509 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2510 from the message. The linker prefixes all warnings with that already.
2511
7e2f0d2d
AS
25122013-02-12 Andreas Schwab <schwab@suse.de>
2513
a445af0b
AS
2514 [BZ #15078]
2515 * posix/regexec.c (extend_buffers): Add parameter min_len.
2516 (check_matching): Pass minimum needed length.
2517 (clean_state_log_if_needed): Likewise.
2518 (get_subexp): Likewise.
2519 * posix/Makefile (tests): Add bug-regex34.
2520 (bug-regex34-ENV): Define.
2521 * posix/bug-regex34.c: New file.
2522
7e2f0d2d
AS
2523 [BZ #11561]
2524 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2525 elements compare against the byte sequence of it, not its name.
2526 * posix/Makefile (tests): Add bug-regex35.
2527 (bug-regex35-ENV): Define.
2528 * posix/bug-regex35.c: New file.
2529
a175b684
TV
25302013-02-11 Tom de Vries <tom@codesourcery.com>
2531
2532 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2533 comment.
2534 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2535 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2536 (CHECK_EOL): Add undef.
2537
310998fe 25382013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
2539
2540 * bits/stdlib-bsearch.h: New file.
2541 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 2542 * stdlib/stdlib.h: Likewise.
41eda41d 2543
8ded91fb
RM
25442013-02-11 Roland McGrath <roland@hack.frob.com>
2545
2546 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2547 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2548 declaration.
2549 * manual/search.texi (Array Search Function): Add missing const in
2550 lfind prototype.
2551 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2552 declaration to use rlim_t.
2553 (Basic Scheduling Functions): Remove erroneous const from
2554 sched_getparam prototype. Remove erroneous * from
2555 sched_get_priority_max and sched_get_priority_min prototypes.
2556 (Resource Usage): Fix summary @comment on vtimes to refer to
2557 sys/vtimes.h rather than vtimes.h.
2558 Add missing *s in vtimes prototype.
2559 (Limits on Resources): Fix ulimit prototype to return long int.
2560 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2561 prototypes to use long int rather than double.
2562 (BSD Random): Fix initstate and setstate to use char *, not void *.
2563 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2564 prototype to make second argument 'struct aiocb64 *const[]'.
2565 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2566 (Status of AIO Operations): Remove erroneous const in aio_return and
2567 aio_return64 prototypes.
2568 (Synchronizing I/O): Fix sync prototype to return void.
2569 * manual/startup.texi (Suboptions): Remove an erroneous const in
2570 getsubopt prototype.
2571 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2572 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2573 use size_t rather than int.
2574 (Scanning All Users): Likewise for getpwent_r.
2575 (Setting Groups): Add missing const to setgroups prototype.
2576 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2577 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2578 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2579 'const void *' rather than 'const char *'.
2580 (Host Address Functions): Likewise for inet_ntop.
2581 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2582 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2583 ssize_t for return value.
2584 (Sending Data): Likewise for send, sendto, sendmsg.
2585 (Socket Option Functions): Add a missing const in setsockopt prototype.
2586 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2587 use wchar_t for the argument.
2588 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2589 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2590 take no arguments.
2591 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2592 double/float/long double for second argument.
2593 Fix return types of significand, significandf, significandl.
2594 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2595 argument in fchmod prototype.
2596 (File Owner): Use uid_t and gid_t in fchown prototype.
2597 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2598 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2599 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2600 use 'const struct dirent **' as argument types to CMP function pointer
2601 argument.
2602 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2603 (File Times): Fix summary magic @comment for struct utimbuf and utime
2604 to refer to utime.h, not time.h.
2605 * manual/string.texi (Argz Functions): Add missing const in
2606 argz_extract and argz_next prototypes.
2607 (Finding Tokens in a String): Likewise for basename.
2608 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2609 (Copying and Concatenation): Fix typo in wmemmove prototype.
2610 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2611 (Signal Stack): Remove erroneous const in sigstack prototype.
2612 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2613 prototype.
2614 (Simple Calendar Time): Likewise for stime.
2615 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2616 prototype.
2617 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2618 say sys/sysctl.h instead.
2619 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2620 and vsyslog prototypes.
2621
fe77fe6d
TV
26222013-02-11 Tom de Vries <tom@codesourcery.com>
2623
2624 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2625 Remove.
2626
3a09b620
RM
26272013-02-11 Roland McGrath <roland@hack.frob.com>
2628
2629 * misc/sys/mman.h: Fix typo in mremap comment.
2630
550a0b89
RM
26312013-02-08 Roland McGrath <roland@hack.frob.com>
2632
2633 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2634 the '\0' terminator.
2635
a2da1673
JM
26362013-02-08 Joseph Myers <joseph@codesourcery.com>
2637
2638 [BZ #13550]
2639 * debug/segfault.c: Don't include <bp-checks.h>.
2640 * sysdeps/generic/bp-checks.h: Remove file.
2641 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2642 (__GETDENTS): Don't use CHECK_N.
2643 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2644 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2645 (__getgroups): Don't use CHECK_N.
2646 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2647 (setgroups): Don't use CHECK_N.
2648 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2649 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2650 (__libc_msgrcv): Don't use CHECK_N.
2651 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2652 (__libc_msgsnd): Don't use CHECK_N.
2653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2654 <bp-checks.h>.
2655 (__libc_pread): Don't use CHECK_N.
2656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2657 include <bp-checks.h>.
2658 (__libc_pread64): Don't use CHECK_N.
2659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2660 include <bp-checks.h>.
2661 (__libc_pwrite): Don't use CHECK_N.
2662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2663 include <bp-checks.h>.
2664 (__libc_pwrite64): Don't use CHECK_N.
2665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2666 <bp-checks.h>.
2667 (__libc_pread): Don't use CHECK_N.
2668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2669 include <bp-checks.h>.
2670 (__libc_pread64): Don't use CHECK_N.
2671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2672 include <bp-checks.h>.
2673 (__libc_pwrite): Don't use CHECK_N.
2674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2675 include <bp-checks.h>.
2676 (__libc_pwrite64): Don't use CHECK_N.
2677 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2678 (do_pread): Don't use CHECK_N.
2679 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2680 (do_pread64): Don't use CHECK_N.
2681 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2682 (do_pwrite): Don't use CHECK_N.
2683 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2684 (do_pwrite64): Don't use CHECK_N.
2685 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2686 (__libc_readv): Don't use CHECK_N.
2687 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2688 (semop): Don't use CHECK_N.
2689 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2690 <bp-checks.h>.
2691 (semtimedop): Don't use CHECK_N.
2692 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2693 (__libc_pread): Don't use CHECK_N.
2694 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2695 <bp-checks.h>.
2696 (__libc_pread64): Don't use CHECK_N.
2697 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2698 <bp-checks.h>.
2699 (__libc_pwrite): Don't use CHECK_N.
2700 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2701 <bp-checks.h>.
2702 (__libc_pwrite64): Don't use CHECK_N.
2703 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2704 <bp-checks.h>.
2705 (__libc_msgrcv): Don't use CHECK_N.
2706 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2707 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2708 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2709 (__libc_writev): Don't use CHECK_N.
2710
b84660a8
RM
27112013-02-08 Roland McGrath <roland@hack.frob.com>
2712
7f3e75f8
RM
2713 * string/strcpy.c: Removed unused variable.
2714
b84660a8
RM
2715 * Makeconfig (+sysdep-includes): Define with := rather than =.
2716 Use an existing include/ subdir of each sysdeps dir before it.
2717
471514d3
CD
27182013-02-08 Carlos O'Donell <carlos@redhat.com>
2719
2720 * nscd/connection.c (register_traced_file): Comment function.
2721 [HAVE_INOTIFY] (union __inev): Define.
2722 [HAVE_INOTIFY] (inotify_check_files): New function.
2723 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2724 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2725 clear_db_cache.
2726 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2727
b2d3c3be
CD
27282013-02-08 Carlos O'Donell <carlos@redhat.com>
2729
2730 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2731 loaded if not already and that a failure is permanent.
2732
b39949d2
CD
27332013-02-08 Carlos O'Donell <carlos@redhat.com>
2734
ddacd1db 2735 [BZ #15006]
b39949d2
CD
2736 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2737 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2738
b2c9eff4
JM
27392013-02-08 Joseph Myers <joseph@codesourcery.com>
2740
f3aae3f3
JM
2741 [BZ #13550]
2742 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2743 (CHECK_1_NULL_OK): Likewise.
2744 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2745 (__fxstat): Do not use CHECK_1.
2746 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2747 <bp-checks.h>.
2748 (___fxstat64): Do not use CHECK_1.
2749 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2750 <bp-checks.h>.
2751 (__fxstatat): Do not use CHECK_1.
2752 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2753 <bp-checks.h>.
2754 (__fxstatat64): Do not use CHECK_1.
2755 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2756 <bp-checks.h>.
2757 (__fxstat): Do not use CHECK_1.
2758 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2759 <bp-checks.h>.
2760 (__fxstatat): Do not use CHECK_1.
2761 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2762 <bp-checks.h>.
2763 (__getresgid): Do not use CHECK_1.
2764 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2765 <bp-checks.h>.
2766 (__getresuid): Do not use CHECK_1.
2767 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2768 <bp-checks.h>.
2769 (__lxstat): Do not use CHECK_1.
2770 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2771 <bp-checks.h>.
2772 (__old_msgctl): Do not use CHECK_1.
2773 (__new_msgctl): Likewise.
2774 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2775 <bp-checks.h>.
2776 (__new_setrlimit): Do not use CHECK_1.
2777 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2778 <bp-checks.h>.
2779 (__old_shmctl): Do not use CHECK_1.
2780 (__new_shmctl): Likewise.
2781 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2782 <bp-checks.h>.
2783 (__xstat): Do not use CHECK_1.
2784 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2785 (__lxstat): Do not use CHECK_1.
2786 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2787 <bp-checks.h>.
2788 (___lxstat64): Do not use CHECK_1.
2789 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2790 (__old_msgctl): Do not use CHECK_1.
2791 (__new_msgctl): Likewise.
2792 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2793 <bp-checks.h>.
2794 (__gettimeofday): Do not use CHECK_1.
2795 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2796 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2797 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2798 <bp-checks.h>.
2799 (__gettimeofday): Do not use CHECK_1.
2800 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2801 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2802 (__new_shmctl): Do not use CHECK_1.
2803 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2804 <bp-checks.h>.
2805 (do_sigtimedwait): Do not use CHECK_1.
2806 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2807 <bp-checks.h>.
2808 (do_sigwaitinfo): Do not use CHECK_1.
2809 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2810 <bp-checks.h>.
2811 (msgctl): Do not use CHECK_1.
2812 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2813 <bp-checks.h>.
2814 (shmctl): Do not use CHECK_1.
2815 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2816 (ustat): Do not use CHECK_1.
2817 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2818 <bp-checks.h>.
2819 (__fxstat): Do not use CHECK_1.
2820 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2821 <bp-checks.h>.
2822 (__fxstatat): Do not use CHECK_1.
2823 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2824 <bp-checks.h>.
2825 (__lxstat): Do not use CHECK_1.
2826 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2827 <bp-checks.h>.
2828 (__xstat): Do not use CHECK_1.
2829 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2830 (__xstat): Do not use CHECK_1.
2831 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2832 (___xstat64): Do not use CHECK_1.
2833
b2c9eff4
JM
2834 [BZ #13550]
2835 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2836 definitions.
2837 (CHECK_BOUNDS_HIGH): Likewise.
2838 * string/strcpy.c: Do not include <bp-checks.h>.
2839 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2840
f1d70dad
RM
28412013-02-07 Roland McGrath <roland@hack.frob.com>
2842
2843 * nscd/nscd-client.h (__nscd_drop_map_ref):
2844 Add __attribute__ ((unused)).
2845 * nis/nss-nisplus.h (niserr2nss): Likewise.
2846
2847 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2848 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2849
2850 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2851 Remove inline keyword.
2852 * include/rounding-mode.h (round_away): Likewise.
2853 * libio/wfileops.c (adjust_wide_data): Likewise.
2854 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2855 (__m128i_strloadu_tolower): Likewise.
2856 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2857 (__m128i_strloadu_tolower): Likewise.
2858 * time/mktime.c (ydhms_diff): Likewise.
2859 * locale/elem-hash.h (elem_hash): Likewise.
2860 * locale/setlocale.c (setdata): Likewise.
2861 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2862 (re_string_wchar_at): Likewise.
2863 (bitset_not, bitset_merge, bitset_mask): Likewise.
2864 [!(__GNUC__ > 3)] (inline): Remove macro.
2865 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2866 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2867 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2868 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2869 * string/memcmp.c (memcmp_bytes): Likewise.
2870 * locale/programs/locarchive.c (compute_hashval): Likewise.
2871 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2872 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2873 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2874 * nss/getent.c (print_rpc, print_protocols): Likewise.
2875 (print_passwd, print_group, print_aliases): Likewise.
2876 * nis/nss-nisplus.h (niserr2nss): Likewise.
2877 * nscd/connections.c (restart_p): Likewise.
2878 Change return type to bool.
2879
eab55bfb
RM
28802013-02-05 Roland McGrath <roland@hack.frob.com>
2881
7bd642f5
RM
2882 * Makeconfig (all-Depend-files): Add existing
2883 $(sorted-subdirs:=/Depend) files.
2884 (all-subdirs): Remove nss.
2885 * sysdeps/unix/inet/Subdirs: Add it here instead.
2886 * hesiod/Depend: New file.
2887
573c29b2
RM
2888 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2889 instead of calling alloca.
2890
b2e25af0
RM
2891 * io/lseek.c (__lseek): Rename to __libc_lseek.
2892 Define __lseek as an alias.
2893
eab55bfb
RM
2894 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2895
9a0d1941
CD
28962013-02-04 Carlos O'Donell <carlos@redhat.com>
2897
2898 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2899 else clause and remove check for non-standard endianness.
2900
b83bbec4
DM
29012013-02-04 David S. Miller <davem@davemloft.net>
2902
2903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2904
6277fdab
JM
29052013-02-04 Joseph Myers <joseph@codesourcery.com>
2906
2907 [BZ #13550]
2908 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2909 (__ubp_memchr): Remove prototype.
2910 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2911 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2912 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2913 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2914 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2915 Remove alias.
2916 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2917 (__ubp_memchr): Likewise.
2918 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2919 (__ubp_memchr): Likewise.
2920 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2921 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2922 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2923 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2924 CHECK_STRING.
2925 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2926 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2927 (__getcwd): Do not use CHECK_STRING.
2928 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2929 <bp-checks.h>.
2930 (__real_chown): Do not use CHECK_STRING.
2931 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2932 <bp-checks.h>.
2933 (fchownat): Do not use CHECK_STRING.
2934 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2935 CHECK_STRING.
2936 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2937 <bp-checks.h>.
2938 (__lchown): Do not use CHECK_STRING.
2939 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2940 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2941 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2942 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2944 include <bp-checks.h>.
2945 (truncate64): Do not use CHECK_STRING.
2946 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2947 <bp-checks.h>.
2948 (__real_chown): Do not use CHECK_STRING.
2949 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2950 <bp-checks.h>.
2951 (__lchown): Do not use CHECK_STRING.
2952 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2953 <bp-checks.h>.
2954 (__chown): Do not use CHECK_STRING.
2955 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2956 <bp-checks.h>.
2957 (truncate64): Do not use CHECK_STRING.
2958 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2959 Likewise.
2960 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2961 (__xmknod): Do not use CHECK_STRING.
2962 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2963 <bp-checks.h>.
2964 (__xmknodat): Do not use CHECK_STRING.
2965 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2966 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2967
903ae060
AS
29682013-02-04 Andreas Schwab <schwab@suse.de>
2969
2970 [BZ #14142]
2971 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2972 * include/netdb.h: Likewise for h_errno.
2973 * elf/tst-stackguard1.c: Include <tls.h>.
2974
542f9466
JK
29752013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2976
2977 * elf/link.h (struct link_map): Extend the l_addr comment.
2978 * include/link.h (struct link_map): Likewise.
2979
e782a927
JM
29802013-02-01 Joseph Myers <joseph@codesourcery.com>
2981
2982 [BZ #13550]
2983 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2984 (BOUNDED_1): Remove macro.
2985 * debug/backtrace.c: Don't include <bp-checks.h>.
2986 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2987 (__backtrace): Likewise.
2988 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2989 <bp-checks.h>.
2990 (__backtrace): Don't use BOUNDED_1.
2991 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2992 <bp-checks.h>.
2993 (__backtrace): Don't use BOUNDED_1.
2994 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
2995 (__backtrace): Don't use BOUNDED_1.
2996 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
2997 (shmat): Don't use BOUNDED_N.
2998
8cf28c5e
JM
29992013-01-31 Joseph Myers <joseph@codesourcery.com>
3000
3a7ac8a0
JM
3001 [BZ #13550]
3002 * sysdeps/generic/bp-start.h: Remove file.
3003 * csu/libc-start.c: Don't include <bp-start.h>.
3004 (LIBC_START_MAIN): Set up __environ directly instead of using
3005 INIT_ARGV_and_ENVIRON.
3006 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3007 <bp-start.h>.
3008
f3499f95
JM
3009 [BZ #13550]
3010 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3011 definitions.
3012 (CHECK_FCNTL): Likewise.
3013 (CHECK_N_PAGES): Likewise.
3014
32a45bea
JM
3015 [BZ #13550]
3016 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3017 definitions.
3018 (CHECK_SIGSET_NULL_OK): Likewise.
3019 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3020 <bp-checks.h>.
3021 (sigpending): Don't use CHECK_SIGSET.
3022 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3023 <bp-checks.h>.
3024 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3025 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3026 <bp-checks.h>.
3027 (do_sigsuspend): Don't use CHECK_SIGSET.
3028 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3029 use CHECK_SIGSET.
3030 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3031 (do_sigwait): Don't use CHECK_SIGSET.
3032 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3033 use CHECK_SIGSET.
3034 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3035 include <bp-checks.h>.
3036 (sigpending): Don't use CHECK_SIGSET.
3037 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3038 include <bp-checks.h>.
3039 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3040 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3041 <bp-checks.h>.
3042 (sigpending): Don't use CHECK_SIGSET.
3043 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3044 <bp-checks.h>.
3045 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3046
2e8a5c8c
JM
3047 [BZ #13550]
3048 * sysdeps/generic/bp-semctl.h: Remove file.
3049 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3050 <bp-checks.h> and <bp-semctl.h>.
3051 (__old_semctl): Don't use CHECK_SEMCTL.
3052 (__new_semctl): Likewise.
3053 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3054 and <bp-semctl.h>.
3055 (__old_semctl): Don't use CHECK_SEMCTL.
3056 (__new_semctl): Likewise.
3057 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3058 <bp-checks.h> and <bp-semctl.h>.
3059 (__old_semctl): Don't use CHECK_SEMCTL.
3060 (__new_semctl): Likewise.
3061 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3062 <bp-checks.h> and <bp-semctl.h>.
3063 (semctl): Don't use CHECK_SEMCTL.
3064
c2d54929
JM
3065 [BZ #13550]
3066 * Makerules (elide-bp-thunks): Remove variable.
3067 (elide-routines.oS): Don't use $(elide-bp-thunks).
3068 (elide-routines.os): Likewise.
3069 (elide-routines.o): Likewise.
3070 (elide-routines.op): Likewise.
3071 (elide-routines.og): Likewise.
3072 (objects): Don't use $(bp-thunks).
3073 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3074 include.
3075 (common-generated): Do not add s-proto-bp.d.
3076 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3077 (int): Likewise.
3078 (typ): Likewise.
3079 Do not generate makefile rules for bounded-pointer thunks.
3080 * sysdeps/generic/bp-thunks.h: Remove file.
3081 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3082 * sysdeps/unix/s-proto-bp.S: Likewise.
3083
8cf28c5e
JM
3084 [BZ #15062]
3085 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3086 parts of result separately when argument is not close to line from
3087 -i to i and one part of argument is small.
3088 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3089 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3090 * math/libm-test.inc (cacos_test): Add more tests.
3091 (casin_test): Likewise.
3092 (casinh_test): Likewise.
3093 * sysdeps/i386/fpu/libm-test-ulps: Update.
3094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3095
c4e33b8d
DM
30962013-01-31 David S. Miller <davem@davemloft.net>
3097
3098 * po/de.po: Update from translation team.
3099
3b60b421
MK
31002013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3101
3102 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3103
bb931195
TS
31042013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3105
b5a5da23
TS
3106 * configure.in (_AC_PROG_CC_C89): New definition.
3107 * configure: Regenerate.
3108
bb931195
TS
3109 * configure.in (AC_PROG_CPP): New definition.
3110 * configure: Regenerate.
3111
8c53a12c
JM
31122013-01-23 Joseph Myers <joseph@codesourcery.com>
3113
3114 * debug/tst-backtrace.h: New file.
3115 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3116 (ret): Remove variable.
3117 (x): Likewise.
3118 (FAIL): Remove macro.
3119 (NO_INLINE): Likewise.
3120 (fn1): Use match function instead of strstr.
3121 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3122 (ret): Remove variable.
3123 (x): Likewise.
3124 (FAIL): Remove macro.
3125 (NO_INLINE): Likewise.
3126 (fn): Use match function instead of strstr.
3127 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3128 (ret): Remove variable.
3129 (x): Likewise.
3130 (FAIL): Remove macro.
3131 (NO_INLINE): Likewise.
3132 (handle_signal): Use match function instead of strstr.
3133 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3134 (ret): Remove variable.
3135 (x): Likewise.
3136 (FAIL): Remove macro.
3137 (NO_INLINE): Likewise.
3138 (handle_signal): Use match function instead of strstr.
3139
4858fa2a
RM
31402013-01-23 Roland McGrath <roland@hack.frob.com>
3141
3142 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3143
bae8e7f5
DM
31442013-01-23 David S. Miller <davem@davemloft.net>
3145
3146 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3147 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3148 argument of CAS if possible.
3149 * sysdeps/sparc/sparc64/bits/atomic.h
3150 (__arch_compare_and_exchange_val_32_acq): Likewise.
3151 (__arch_compare_and_exchange_val_64_acq): Likewise.
3152
9cbbc4ae
PT
31532013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3154
3155 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3156 * sysdeps/posix/ulimit.c: ... this.
92a601b8 3157 Include <limits.h>.
67b3f58c 3158 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 3159
5655a0b5
AC
31602013-01-23 Adam Conrad <adconrad@0c3.net>
3161
3162 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3163 (LDFLAGS-tst-array5): Likewise.
3164
052aff95
JM
31652013-01-23 Joseph Myers <joseph@codesourcery.com>
3166
3167 [BZ #15036]
3168 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3169 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3170 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3171 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3172
7c1e01aa
DM
31732013-01-21 David S. Miller <davem@davemloft.net>
3174
3175 * sysdeps/sparc/backtrace.c: New file.
3176 * sysdeps/sparc/sparc32/backtrace.h: New file.
3177 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3178 * sysdeps/sparc/sparc64/backtrace.h: New file.
3179 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3180 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3181 -funwind-tables.
3182
ab087e0a
AS
31832013-01-21 Andreas Schwab <schwab@suse.de>
3184
3185 [BZ #15020]
3186 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3187 closed its stdout.
3188
ed689c2f
AS
31892013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3190
3191 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3192 "mpa2.h".
3193 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3194
31d470ac
JM
31952013-01-18 Joseph Myers <joseph@codesourcery.com>
3196 Mark Mitchell <mark@codesourcery.com>
3197 Tom de Vries <tom@codesourcery.com>
3198 Paul Pluzhnikov <ppluzhnikov@google.com>
3199
3200 * debug/tst-backtrace2.c: New file.
3201 * debug/tst-backtrace3.c: Likewise.
3202 * debug/tst-backtrace4.c: Likewise.
3203 * debug/tst-backtrace5.c: Likewise.
3204 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3205 (CFLAGS-tst-backtrace3.c): Likewise.
3206 (CFLAGS-tst-backtrace4.c): Likewise.
3207 (CFLAGS-tst-backtrace5.c): Likewise.
3208 (LDFLAGS-tst-backtrace2): Likewise.
3209 (LDFLAGS-tst-backtrace3): Likewise.
3210 (LDFLAGS-tst-backtrace4): Likewise.
3211 (LDFLAGS-tst-backtrace5): Likewise.
3212 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3213 tst-backtrace4 and tst-backtrace5.
3214
90567f30 32152013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
3216 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3217
3218 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3219 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3220 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3221 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3223 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3224 "+r" and remove output regs list as redundant. Add explicit inline
3225 asm to specify register of return val to work around compiler codegen
3226 bug. Remove (int) cast on return value. Add return type parameter to
3227 use in macro so that this macro does not truncate return value for
3228 64-bit values.
3229 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3230 pass to INTERNAL_VSYSCALL_NCS.
3231 (INLINE_VSYSCALL): Add 'long int' as return type to
3232 INTERNAL_VSYSCALL_NCS macro invocation.
3233 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3234 INTERNAL_VSYSCALL_NCS macro invocation.
3235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3236
d3b9ea61
SP
32372013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3238
0b57daeb
SP
3239 [BZ #14496]
3240 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3241 Fix application of SIMD FP exception mask.
3242
caa99d06
SP
3243 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3244 mp_no from a power of two.
3245 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3246 __mpexp_twomm1. Use __pow_mp.
3247
d3b9ea61
SP
3248 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3249 multiplication.
3250
1dbaee3c
DM
32512013-01-17 David S. Miller <davem@davemloft.net>
3252
3253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3254
728d7b43
JM
32552013-01-17 Joseph Myers <joseph@codesourcery.com>
3256
3257 [BZ #15023]
3258 * include/complex.h: Condition contents on [!_COMPLEX_H].
3259 (__kernel_casinhf): New prototype.
3260 (__kernel_casinh): Likewise.
3261 (__kernel_casinhl): Likewise.
3262 * math/Makefile (libm_calls): Add k_casinh.
3263 * math/k_casinh.c: New file.
3264 * math/k_casinhf.c: Likewise.
3265 * math/k_casinhl.c: Likewise.
3266 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3267 finite nonzero arguments.
3268 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3269 finite nonzero arguments.
3270 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3271 finite nonzero arguments.
3272 * math/s_casinh.c: Do not include <float.h>.
3273 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3274 * math/s_casinhf.c: Do not include <float.h>.
3275 (__casinhf): Move code for finite nonzero arguments to
3276 k_casinhf.c.
3277 * math/s_casinhl.c: Do not include <float.h>.
3278 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3279 redefine.
3280 (__casinhl): Move code for finite nonzero arguments to
3281 k_casinhl.c.
3282 * math/libm-test.inc (cacos_test): Add more tests.
3283 * sysdeps/i386/fpu/libm-test-ulps: Update.
3284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3285
2a26ef3a
PT
32862013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3287
3288 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3289 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3290 [!HAVE_MREMAP]: Remove [defined linux] case.
3291 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3292
a897655d
SP
32932013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3294
3295 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3296
881ebe89 32972013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
3298
3299 * elf/elf.h (R_386_SIZE32): New relocation.
3300 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3301 R_386_SIZE32.
3302 (elf_machine_rela): Likewise.
3303 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3304 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3305
59981e9b
JM
33062013-01-17 Joseph Myers <joseph@codesourcery.com>
3307
3308 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3309 (FP_FAST_FMA): Do not define.
3310 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3311 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3312 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3313 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3314 !_SOFT_FLOAT]: Likewise.
3315 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3316 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3317 value.
3318 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3319 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3320 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3321 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3322 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3323 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3324 file.
3325
cfa8054f
AS
33262013-01-16 Andreas Schwab <schwab@suse.de>
3327
3328 [BZ #14327]
3329 * include/stdlib.h (__mktemp): Add declaration.
3330 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3331 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3332
dd930cc5
SP
33332013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3334
881ebe89
SP
3335 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3336 definitions.
3337 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3338 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3339 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3340 definitions here.
3341 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3342 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3343 definitions.
3344 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3345 and ONE.
3346 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3347 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3348 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3349 definitions.
3350 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3351 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3352 definitions.
3353 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 3354
dd930cc5
SP
3355 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3356
c19a9f89
DM
33572013-01-15 David S. Miller <davem@davemloft.net>
3358
1aa61767
DM
3359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3360 trunc{,f} to libm-sysdep_routes.
3361 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3363 file.
3364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3366 file.
3367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3368 file.
3369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3371 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3372 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3373 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3374 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3375 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3376 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3377
c42d5e98
DM
3378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3379 nearbyint{,f} to libm-sysdep_routes.
3380 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3382 New file.
3383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3384 file.
3385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3386 New file.
3387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3388 file.
3389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3391 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3392 file.
3393 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3394 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3395 file.
3396 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3397 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3398 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3399
c19a9f89
DM
3400 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3401 libc_feholdexcept and libc_fesetenv.
3402
357679d2
MF
34032013-01-15 Mike Frysinger <vapier@gentoo.org>
3404
3405 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3406
65a82e3d
DM
34072013-01-14 David S. Miller <davem@davemloft.net>
3408
8b954ab9
DM
3409 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3410 (SPARC_ASM_VIS2_IFUNC): Likewise.
3411 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3413 use of 'siam' instruction.
3414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3415 Likewise.
3416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3417 Likewise.
3418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3419 Likewise.
3420 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3421 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3422 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3423 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3425 file.
3426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3427 file.
3428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3429 file.
3430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3431 file.
3432 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3433 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3434 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3435 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3437 new VIS2 routines.
3438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3441 Likewise.
3442 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3443 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3444 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3445 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3447 routines to libm-sysdep_routines.
3448 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3449
65a82e3d
DM
3450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3451 fdim/fdimf to libm-sysdep_routines.
3452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3453 file.
3454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3456 file.
3457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3459 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3460 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3461 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3462 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3463 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3464
e34ab705
SP
34652013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3466
2a91b573
SP
3467 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3468 to optimize copies.
3469
1066a534
SP
3470 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3471 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3472 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3473
e34ab705
SP
3474 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3475 local variable MPTWO.
3476 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3477 Likewise.
3478
aba5e596
MF
34792013-01-13 Mike Frysinger <vapier@gentoo.org>
3480
3481 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3482 GLOB_NOESCAPE.
3483
e557e9e5
MF
34842013-01-13 Mike Frysinger <vapier@gentoo.org>
3485
3486 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3487
0428cec9
MF
34882013-01-13 Mike Frysinger <vapier@gentoo.org>
3489
3490 * manual/pattern.texi (glob_t): Document gl_flags.
3491 (glob64_t): Likewise.
3492
8794a964
DM
34932013-01-11 David S. Miller <davem@davemloft.net>
3494
66438c3f
RM
3495 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3496 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3497 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
3498 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3499 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3500 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3501 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3502 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3503 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3504 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3505 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3506 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3507 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3508
4ae4244d
DM
3509 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3510 sparc V9 rather than using V8 code.
3511 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3512 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3513
8794a964
DM
3514 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3515 Move to...
3516 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3517 Here.
3518
6270516e
RM
35192013-01-11 Roland McGrath <roland@hack.frob.com>
3520
3521 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3522 not in the main loop.
3523 * configure: Regenerated.
3524
6a57d931
JM
35252013-01-11 Joseph Myers <joseph@codesourcery.com>
3526
3527 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3528 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3529 to just #else.
3530 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3531 [!__GLIBC_HAVE_LONG_LONG] case.
3532 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3533 condition to just #else.
3534 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3535 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3536 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3537 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3538 unconditional.
3539 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3540 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3541 #elif condition to just #else.
3542 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3543 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3544 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3545 #elif condition to just #else.
3546
0e8529e9
SE
35472013-01-11 Steve Ellcey <sellcey@mips.com>
3548
3549 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3550 (EF_MIPS_ARCH_64): Fix value.
3551 (EF_MIPS_ARCH_32R2): New.
3552 (EF_MIPS_ARCH_64R2): New.
3553
740b3dbe
L
35542013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3555
3556 * Makeconfig (+link-pie-before-libc): New.
3557 (+link-pie-after-libc): Likewise.
3558 (+link-pie-tests): Likewise.
3559 (+link-pie): Rewritten.
3560 (link-before-libc): Remove $(config-LDFLAGS).
3561 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3562 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3563 (config-LDFLAGS): Renamed to ...
3564 (rtld-LDFLAGS): This.
3565 (rtld-tests-LDFLAGS): New macro.
3566 (link-libc-rpath-link): Likewise.
3567 (link-libc-tests-rpath-link): Likewise.
3568 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3569 (link-libc): Prepand $(link-libc-rpath-link).
3570 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3571 (test-program-prefix): New macro.
3572 (test-via-rtld-prefix): Likewise.
3573 (test-program-cmd): Likewise.
3574 (host-test-program-cmd): Likewise.
3575 * Makefile ($(common-objpfx)testrun.sh): Replace
3576 $(run-program-prefix) with $(test-program-prefix).
3577 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3578 $(rtld-LDFLAGS).
3579 ($(common-objpfx)shlib.lds): Likewise.
3580 (build-module-helper): Likewise.
3581 ($(common-objpfx)format.lds): Likewise.
3582 * Rules (binaries-pie-tests): New.
3583 (binaries-pie-notests): Likewise.
3584 (binaries-pie): Rewritten.
3585 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3586 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3587 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3588 (make-test-out): Replace $(host-built-program-cmd) with
3589 $(host-test-program-cmd).
3590 * config.make.in (build-hardcoded-path-in-tests): New variable.
3591 * configure.in (--enable-hardcoded-path-in-tests): New configure
3592 option.
3593 (hardcoded_path_in_tests): New AC_SUBST.
3594 * configure: Regenerated.
3595 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3596 $(built-program-cmd) with $(test-program-cmd).
3597 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3598 (test_program_cmd): This.
3599 * elf/Makefile ($(objpfx)order.out): Run test with
3600 $(test-program-prefix).
3601 ($(objpfx)order2.out): Likewise.
3602 ($(objpfx)tst-initorder.out): Likewise.
3603 ($(objpfx)tst-initorder2.out): Likewise.
3604 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3605 $(test-program-cmd).
3606 ($(objpfx)tst-array1-static.out): Likewise.
3607 ($(objpfx)tst-array2.out): Likewise.
3608 ($(objpfx)tst-array3.out): Likewise.
3609 ($(objpfx)tst-array4.out): Likewise.
3610 ($(objpfx)tst-array5.out): Likewise.
3611 ($(objpfx)tst-array5-static.out): Likewise.
3612 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3613 $(test-program-cmd).
3614 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3615 $(run-program-prefix) with $(test-program-prefix).
3616 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3617 (test_program_prefix): This.
3618 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3619 $(run-program-prefix) with $(test-program-prefix).
3620 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3621 (test_program_prefix): This.
3622 * iconvdata/tst-tables.sh: Likewise.
3623 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3624 $(run-program-prefix) with $(test-program-prefix).
3625 ($(objpfx)tst-translit.out): Likewise.
3626 ($(objpfx)tst-gettext2.out): Likewise.
3627 ($(objpfx)tst-gettext4.out): Likewise.
3628 ($(objpfx)tst-gettext6.out): Likewise.
3629 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3630 (test_program_prefix): This.
3631 * intl/tst-gettext2.sh: Likewise.
3632 * intl/tst-gettext4.sh Likewise.
3633 * intl/tst-gettext6.sh: Likewise.
3634 * intl/tst-translit.sh: Likewise.
3635 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3636 with $(test-program-cmd).
3637 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3638 $(run-program-prefix) with $(test-program-prefix).
3639 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3640 (test_program_prefix): This.
3641 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3642 $(run-program-prefix) with $(test-program-prefix).
3643 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3644 (test_program_prefix): This.
3645 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3646 * posix/Makefile ($(objpfx)globtest.out): Replace
3647 $(run-via-rtld-prefix) and $(test-wrapper) with
3648 $(test-program-prefix) and $(test-via-rtld-prefix).
3649 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3650 $(test-program-prefix).
3651 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3652 $(host-test-program-cmd).
3653 (tst-spawn-ARGS): Likewise.
3654 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3655 $(test-program-prefix).
3656 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3657 (test_via_rtld_prefix): This.
3658 (test_wrapper): Renamed to ...
3659 (test_program_prefix): This.
3660 (run_program_prefix): Replaced by test_program_prefix.
3661 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3662 (test_program_prefix): This.
3663 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3664 with $(host-test-program-cmd).
3665 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3666 $(run-program-prefix) with $(test-program-prefix).
3667 ($(objpfx)tst-printf.out): Likewise.
3668 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3669 $(test-program-cmd).
3670 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3671 (test_program_prefix): This.
3672 * stdio-common/tst-unbputc.sh: Likewise.
3673 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3674 $(run-program-prefix) with $(test-program-prefix).
3675 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3676 (test_program_prefix): This.
3677 * string/Makefile ($(objpfx)tst-svc.out): Replace
3678 $(built-program-cmd) with $(test-program-cmd).
3679
c6fe55cf
AJ
36802013-01-11 Andreas Jaeger <aj@suse.de>
3681
3682 [BZ #15003]
3683 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3684 value. Sync with Linux 3.7.
3685
9e6919c8
DM
36862013-01-10 David S. Miller <davem@davemloft.net>
3687
3688 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3689 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3690 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3691
1c9f1a02
RM
36922013-01-10 Roland McGrath <roland@hack.frob.com>
3693
3694 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3695 never set.
3696 * configure: Regenerated.
3697
b9de2dde
DM
36982013-01-10 David S. Miller <davem@davemloft.net>
3699
3700 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3701 sparc V9 rather than using V8 code.
3702 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3703 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3704
e7f68ef4
RM
37052013-01-10 Roland McGrath <roland@hack.frob.com>
3706
3707 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3708 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3709 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3710 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3711 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3712 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3713 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3714 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3715 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3716 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3717 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3718 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3719 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3720 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3721 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3722 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3723 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3724 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3725 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3726 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3727 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3728 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3729 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3730 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3731 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3732 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3733 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3734
5a47cc9c
DM
37352013-01-10 David S. Miller <davem@davemloft.net>
3736
3737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3738
4cf8f209
L
37392013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3740
3741 * posix/Makefile (tests-static): New variable.
3742 (tests): Add $(tests-static).
3743 (tst-exec-static-ARGS): New variable.
3744 (tst-spawn-static-ARGS): Likewise.
3745 * posix/tst-exec-static.c: New file.
3746 * posix/tst-spawn-static.c: Likewise.
3747 * posix/tst-exec.c: Support run directly.
3748 * posix/tst-spawn.c: Likewise.
3749
fed0faa1
JM
37502013-01-10 Joseph Myers <joseph@codesourcery.com>
3751
828beb13
JM
3752 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3753 long.
3754 * math/bits/mathcalls.h (llrint): Likewise.
3755 (llround): Likewise.
3756 * stdlib/stdlib.h (struct drand48_data): Likewise.
3757 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3758 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3759 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3760 Likewise.
3761 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3762 Likewise.
3763 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3764 (elf_greg_t): Likewise.
3765 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3766 (__jmp_buf): Likewise.
3767 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3768 definitions.
3769 (llrint): Likewise, for all definitions.
3770 (llrintl): Likewise.
3771
fed0faa1
JM
3772 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3773 Remove [__GNUC__] condition.
3774 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3775 condition to just [__USE_ISOC99].
3776 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3777
1a20cb20
L
37782013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3779
3780 [BZ #14200]
3781 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3782 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3783 defined.
3784 (_POSIX_V6_ILP32_OFF32): Likewise.
3785 (_XBS5_ILP32_OFF32): Likewise.
3786 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3787 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3788
751b85f7
SP
37892013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3790
7490eb81
SP
3791 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3792
751b85f7
SP
3793 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3794 doubles __mpexp_twomm1. Adjust usage.
3795 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3796 Remove.
3797
988197f0
AS
37982013-01-10 Andreas Schwab <schwab@suse.de>
3799
3800 [BZ #14964]
3801 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3802 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3803
e83d7298
DM
38042013-01-09 David S. Miller <davem@davemloft.net>
3805
034ed64b 3806 [BZ #15003]
e83d7298
DM
3807 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3808 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3809 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3810 TCP_FASTOPEN): Define.
3811 (tcp_repair_opt): New structure.
3812 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3813 enum values.
3814 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3815 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3816 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3817 (tcp_cookie_transactions): New structure.
3818
d5e0b9bd
AB
38192013-01-09 Anton Blanchard <anton@samba.org>
3820
3821 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3822 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3823 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3824 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3825
0c07e3ea
JM
38262013-01-09 Joseph Myers <joseph@codesourcery.com>
3827
3828 * include/features.h (__USE_ANSI): Remove.
3829
232f7002
RM
38302013-01-09 Roland McGrath <roland@hack.frob.com>
3831
ad98e30c
RM
3832 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3833
232f7002
RM
3834 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3835
950c99ca
SP
38362013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3837
b5792741
SP
3838 * sysdeps/s390/fpu/libm-test-ulps: Update.
3839
47cf2278
SP
3840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3841
950c99ca
SP
3842 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3843 (__acr): Likewise.
3844 (__cpy): Likewise.
3845 (norm): Likewise.
3846 (denorm): Likewise.
3847 (__mp_dbl): Likewise.
3848 (__dbl_mp): Likewise.
3849 (add_magnitudes): Likewise.
3850 (sub_magnitudes): Likewise.
3851 (__add): Likewise.
3852 (__sub): Likewise.
3853 (__mul): Likewise.
3854 (__inv): Likewise.
3855 (__dvd): Likewise.
3856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3857 (__acr): Likewise.
3858 (__cpy): Likewise.
3859 (norm): Likewise.
3860 (denorm): Likewise.
3861 (__mp_dbl): Likewise.
3862 (__dbl_mp): Likewise.
3863 (add_magnitudes): Likewise.
3864 (sub_magnitudes): Likewise.
3865 (__add): Likewise.
3866 (__sub): Likewise.
3867 (__mul): Likewise.
3868 (__inv): Likewise.
3869 (__dvd): Likewise.
3870 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3871 (__acr): Likewise.
3872 (__cpy): Likewise.
3873 (norm): Likewise.
3874 (denorm): Likewise.
3875 (__mp_dbl): Likewise.
3876 (__dbl_mp): Likewise.
3877 (add_magnitudes): Likewise.
3878 (sub_magnitudes): Likewise.
3879 (__add): Likewise.
3880 (__sub): Likewise.
3881 (__mul): Likewise.
3882 (__inv): Likewise.
3883 (__dvd): Likewise.
3884
eede9df9
JM
38852013-01-08 Joseph Myers <joseph@codesourcery.com>
3886
3887 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3888 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3889 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3890 2 && __USE_EXTERN_INLINES]: Likewise.
3891
c40ea3d9
AJ
38922013-01-08 Andreas Jaeger <aj@suse.de>
3893
3894 [BZ# 14985]
3895 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3896 Remove.
3897 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3898 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3899
2ccdea26
AB
39002013-01-07 Anton Blanchard <anton@samba.org>
3901
3902 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3903 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3904 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3905 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3906 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3907 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3908 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3909 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3910 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3911 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3912 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3913 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3914 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3915 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3916 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3917 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3918 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3919 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3920 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3921 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3922 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3923 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3924 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3925 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3926 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3927 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3928 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3929 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3930 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3931 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3932 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3933 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3934 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3935 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3936 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3937 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3938 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3939 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3940 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3941 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3942 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3943 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3944 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3945
a9708fed
JM
39462013-01-07 Joseph Myers <joseph@codesourcery.com>
3947
375607b9
JM
3948 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3949 (__MALLOC_PMT): Likewise.
3950 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3951 [__GNUC__], only on [_LIBC].
3952 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3953 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3954 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3955 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3956 forward declaration.
3957 (realloc_hook_ini): Likewise.
3958 (memalign_hook_ini): Likewise.
3959 (__libc_memalign): Do not use __MALLOC_PMT in variable
3960 declaration.
3961 (__libc_valloc): Likewise.
3962 (__libc_pvalloc): Likewise.
3963 (__libc_calloc): Likewise.
3964 (__posix_memalign): Likewise.
3965
a9708fed
JM
3966 [BZ #14996]
3967 * math/s_casinh.c: Include <float.h>.
3968 (__casinh): Do not do computation with squaring and square root
3969 for large arguments.
3970 * math/s_casinhf.c: Include <float.h>.
3971 (__casinhf): Do not do computation with squaring and square root
3972 for large arguments.
3973 * math/s_casinhl.c: Include <float.h>.
3974 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3975 (__casinhl): Do not do computation with squaring and square root
3976 for large arguments.
3977 * math/libm-test.inc (casin_test): Add more tests.
3978 (casinh_test): Likewise.
3979 * sysdeps/i386/fpu/libm-test-ulps: Update.
3980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3981
afec409a
L
39822013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3983
3984 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3985 (__x86_64_raw_data_cache_size): Likewise.
3986 (__x86_64_data_cache_size_half): Likewise.
3987 (__x86_64_raw_data_cache_size_half): Likewise.
3988 (__x86_64_shared_cache_size): Likewise.
3989 (__x86_64_raw_shared_cache_size): Likewise.
3990 (__x86_64_shared_cache_size_half): Likewise.
3991 (__x86_64_raw_shared_cache_size_half): Likewise.
3992 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3993 to ...
3994 (__x86_data_cache_size): This.
3995 (__x86_64_raw_data_cache_size): Renamed to ...
3996 (__x86_raw_data_cache_size): This.
3997 (__x86_64_data_cache_size_half): Renamed to ...
3998 (__x86_data_cache_size_half): This.
3999 (__x86_64_raw_data_cache_size_half): Renamed to ...
4000 (__x86_raw_data_cache_size_half): This.
4001 (__x86_64_shared_cache_size): Renamed to ...
4002 (__x86_shared_cache_size): This.
4003 (__x86_64_raw_shared_cache_size): Renamed to ...
4004 (__x86_raw_shared_cache_size): This.
4005 (__x86_64_shared_cache_size_half): Renamed to ...
4006 (__x86_shared_cache_size_half): This.
4007 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4008 (__x86_raw_shared_cache_size_half): This.
4009 * sysdeps/x86_64/memcpy.S: Updated.
4010 * sysdeps/x86_64/memset.S: Likewise.
4011 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4012 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4013 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4014
0b3986d0
DM
40152013-01-04 David S. Miller <davem@davemloft.net>
4016
4017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4018
e47686e9
AS
40192013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4020
d643bac1
AS
4021 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4022 1 to avoid redefinition warning.
4023 (__USE_GNU): Don't define.
4024 (init_signaling_nan): Protoize.
4025
e47686e9
AS
4026 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4027
b18decba
SP
40282013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4029
fffb407f
SP
4030 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4032 (__cpymn): Likewise.
4033 (norm): Remove commented code.
4034 (denorm): Likewise.
4035 (__mp_dbl): Likewise.
4036 (__inv): Likewise.
4037 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4038 (__cpymn): Likewise.
4039 (norm): Remove commented code.
4040 (denorm): Likewise.
4041 (__mp_dbl): Likewise.
4042 (__inv): Likewise.
4043
b18decba
SP
4044 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4045 mp_no value for 1.0 and 2.0.
4046 (norm): Use RADIXI instead of radixi.d.
4047 (denorm): Likewise.
4048 (__mul): Use 0.0 instead of zero.d.
4049 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4050 mp_no value for 1.0 and 2.0.
4051 (norm): Use RADIXI instead of radixi.d.
4052 (denorm): Likewise.
4053 (__mul): Use 0.0 instead of zero.d.
4054
cdc1c96f
JM
40552013-01-04 Joseph Myers <joseph@codesourcery.com>
4056
4057 [BZ #14994]
4058 * math/s_casinh.c (__casinh): Reduce finite argument to first
4059 quadrant then set signs of results at the end.
4060 * math/s_casinhf.c (__casinhf): Likewise.
4061 * math/s_casinhl.c (__casinhl): Likewise.
4062 * math/libm-test.inc (casin_test): Add more tests.
4063 (casinh_test): Likewise.
4064 * sysdeps/i386/fpu/libm-test-ulps: Update.
4065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4066
302913e1
SP
40672013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4068
6420d207
SP
4069 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4070
a9e48ab4
SP
4071 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4072
b7837264
SP
4073 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4074 declarations.
4075 (denorm): Likewise.
4076 (__mp_dbl): Likewise.
4077 (__inv): Likewise.
4078
f8af25d2
SP
4079 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4080 and adjust the header comment.
4081
302913e1
SP
4082 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4083 variable name from declaration.
4084
5d7dd1ca
L
40852013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4086
4087 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4088 Initialize COMMON_CPUID_INDEX_7 element.
4089 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4090 (CPUID_RTM): Likewise.
4091 (HAS_RTM): Likewise.
4092 (COMMON_CPUID_INDEX_7): New enum.
4093
2f5f40f4
AS
40942013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4095
4096 [BZ #14981]
4097 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4098 size is zero, record memory as freed.
4099
4056f4a0
AJ
41002013-01-03 Andreas Jaeger <aj@suse.de>
4101
4102 * po/ia.po: Add new Interlingua translation.
4103
ab15736f 41042012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
4105
4106 * locale/programs/localedef.c: Fix description of '--posix' flag.
4107
568035b7
JM
41082013-01-02 Joseph Myers <joseph@codesourcery.com>
4109
e6898b8d
JM
4110 * NEWS: Update dates in second copyright notice.
4111 * README: Update copyright dates in example.
4112 * manual/libc.texinfo: Update copyright dates.
4113 * scripts/test-installation.pl: Update copyright date in --version
4114 output.
4115
0e2f9562
JM
4116 * hurd/ctty-input.c: Fix copyright notice formatting.
4117 * hurd/ctty-output.c: Likewise.
4118 * hurd/dtable.c: Likewise.
4119 * hurd/hurd-raise.c: Likewise.
4120 * hurd/hurdprio.c: Likewise.
4121 * hurd/msgportdemux.c: Likewise.
4122 * misc/sys/file.h: Likewise.
4123 * misc/sys/ioctl.h: Likewise.
4124 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4125 * sysdeps/mach/hurd/chdir.c: Likewise.
4126 * sysdeps/mach/hurd/fchdir.c: Likewise.
4127 * sysdeps/mach/hurd/rename.c: Likewise.
4128 * sysdeps/mach/hurd/rmdir.c: Likewise.
4129 * sysdeps/mach/hurd/seekdir.c: Likewise.
4130 * sysdeps/mach/hurd/setsid.c: Likewise.
4131 * sysdeps/posix/wait3.c: Likewise.
4132
568035b7
JM
4133 * All files with FSF copyright notices: Update copyright dates
4134 using scripts/update-copyrights.
4135 * intl/plural.c: Regenerated.
4136 * locale/programs/charmap-kw.h: Likewise.
4137 * locale/programs/locfile-kw.h: Likewise.
4138
da08f647
SP
41392013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4140
0f5477af
SP
4141 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4142 four values.
4143
44e0d4c2
SP
4144 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4145 calculation loop and add branch prediction.
4146
4d55b4e5
SP
4147 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4148 check access beyond bounds of m1np.
4149
da08f647
SP
4150 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4151 MPTWO.
4152 (__inv): Remove local variable MPTWO to use the global
4153 constant.
4154 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4155 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4156 variable MPTWO.
4157 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4158 MP3HALFS static const.
4159
8e051029
DM
41602013-01-01 David S. Miller <davem@davemloft.net>
4161
4162 * po/ca.po: Update from translation team.
4163
f4cf5f2d
JM
41642013-01-01 Joseph Myers <joseph@codesourcery.com>
4165
4166 * scripts/update-copyrights: New file.
4167 * Makeconfig: Reformat copyright notice.
4168 * ctype/ctype.h: Likewise.
4169 * debug/swprintf_chk.c: Likewise.
4170 * elf/dl-cache.c: Likewise.
4171 * elf/dl-debug.c: Likewise.
4172 * elf/dl-object.c: Likewise.
4173 * grp/initgroups.c: Likewise.
4174 * hurd/Makefile: Likewise.
4175 * hurd/hurd/signal.h: Likewise.
4176 * hurd/hurdfault.c: Likewise.
4177 * hurd/hurdioctl.c: Likewise.
4178 * hurd/hurdlookup.c: Likewise.
4179 * hurd/intr-msg.c: Likewise.
4180 * iconv/gconv_open.c: Likewise.
4181 * libio/swprintf.c: Likewise.
4182 * locale/lc-ctype.c: Likewise.
4183 * locale/nl_langinfo.c: Likewise.
4184 * mach/Machrules: Likewise.
4185 * mach/Makefile: Likewise.
4186 * malloc/obstack.h: Likewise.
4187 * manual/Makefile: Likewise.
4188 * manual/tsort.awk: Likewise.
4189 * misc/bits/stab.def: Likewise.
4190 * nis/nis_print_group_entry.c: Likewise.
4191 * nis/nis_table.c: Likewise.
4192 * nis/nss_compat/compat-pwd.c: Likewise.
4193 * nis/nss_compat/compat-spwd.c: Likewise.
4194 * po/Makefile: Likewise.
4195 * posix/fnmatch.c: Likewise.
4196 * posix/regex.h: Likewise.
4197 * resolv/Makefile: Likewise.
4198 * resolv/nss_dns/dns-network.c: Likewise.
4199 * resolv/res_hconf.c: Likewise.
4200 * scripts/gen-sorted.awk: Likewise.
4201 * soft-fp/soft-fp.h: Likewise.
4202 * stdio-common/printf.h: Likewise.
4203 * stdlib/monetary.h: Likewise.
4204 * stdlib/random.c: Likewise.
4205 * stdlib/random_r.c: Likewise.
4206 * sysdeps/generic/Makefile: Likewise.
4207 * sysdeps/gnu/Makefile: Likewise.
4208 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4209 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4210 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4211 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4212 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4213 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4214 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4215 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4216 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4217 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4218 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4219 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4220 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4221 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4222 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4223 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4224 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4225 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4226 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4227 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4228 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4229 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4230 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4231 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4232 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4233 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4234 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4235 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4236 * sysdeps/mach/hurd/errnos.awk: Likewise.
4237 * sysdeps/mach/hurd/fork.c: Likewise.
4238 * sysdeps/mach/hurd/getcwd.c: Likewise.
4239 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4240 * sysdeps/mach/hurd/mmap.c: Likewise.
4241 * sysdeps/mach/hurd/utimes.c: Likewise.
4242 * sysdeps/mach/hurd/xmknod.c: Likewise.
4243 * sysdeps/posix/profil.c: Likewise.
4244 * sysdeps/posix/readdir_r.c: Likewise.
4245 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4246 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4247 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4248 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4249 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4250 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4251 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4252 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4253 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4254 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4255 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4256 * sysdeps/pthread/lio_listio.c: Likewise.
4257 * sysdeps/sparc/dl-procinfo.h: Likewise.
4258 * sysdeps/unix/i386/sysdep.S: Likewise.
4259 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4260 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4261 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4262 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4264 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4265 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4266 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4267 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4268 * sysdeps/wordsize-32/divdi3.c: Likewise.
4269 * time/sys/time.h: Likewise.
4270 * wcsmbs/Makefile: Likewise.
4271
0549fbba
DM
42722013-01-01 David S. Miller <davem@davemloft.net>
4273
a141f1a7
DM
4274 * po/fr.po: Update from translation team.
4275
0549fbba
DM
4276 * catgets/gencat.c: Update copyright year.
4277 * csu/version.c: Likewise.
4278 * debug/catchsegv.sh: Likewise.
4279 * debug/pcprofiledump.c: Likewise.
4280 * debug/xtrace.sh: Likewise.
4281 * elf/ldconfig.c: Likewise.
4282 * elf/ldd.bash.in: Likewise.
4283 * elf/pldd.c: Likewise.
4284 * elf/sotruss.ksh: Likewise.
4285 * elf/sprof.c: Likewise.
4286 * iconv/iconv_prog.c: Likewise.
4287 * iconv/iconvconfig.c: Likewise.
4288 * locale/programs/locale.c: Likewise.
4289 * locale/programs/localedef.c: Likewise.
4290 * login/programs/pt_chown.c: Likewise.
4291 * malloc/memusage.sh: Likewise.
4292 * malloc/memusagestat.c: Likewise.
4293 * malloc/mtrace.pl: Likewise.
4294 * nscd/nscd.c: Likewise.
4295 * nss/getent.c: Likewise.
4296 * nss/makedb.c: Likewise.
4297 * posix/getconf.c: Likewise.
4298
18ea052c
SP
42992012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4300
4301 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4302 numbers.
4303
9c89fca6
MF
43042012-12-30 Mike Frysinger <vapier@gentoo.org>
4305
4306 * math/bits/mathcalls.h (modf): Use __nonnull.
4307
085ec079
SP
43082012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4309
4310 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4311 (split): Use macro CN instead of the bare value.
4312 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4313 could be used.
4314 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4315 instead of the bare value.
4316 (power1): Likewise.
4317
6d9f97e1
SP
43182012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4319
d63f73be
SP
4320 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4321 __ATAN_TWOM.
4322 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4323
6d9f97e1
SP
4324 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4325 their values.
4326 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4327 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4328 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4329 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4330
4c4febf5
AJ
43312012-12-28 Andreas Jaeger <aj@suse.de>
4332
af5843ef
AJ
4333 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4334 values are from Linux 3.7.
4335
4c4febf5
AJ
4336 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4337 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4338
99136f82
SP
43392012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4340
2f216c3c 4341 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
4342 TRUE case.
4343
99136f82
SP
4344 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4345 (norm): Likewise.
4346 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4347 variables with preprocessor constants.
4348 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4349 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4350 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4351
7fffbdff
BH
43522012-12-27 Bruno Haible <bruno@clisp.org>
4353
4354 [BZ #14317]
4355 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4356 only if needed.
4357
b76eb5f0
SP
43582012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4359
31a7fe5c
SP
4360 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4361 and use variable directly.
4362 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4363
b76eb5f0
SP
4364 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4365 MPONE.
4366 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4367 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4368 variable MPONE.
4369 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4370 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4371 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4372 include directive. Remove local variable MPONE.
4373 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4374 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4375 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4376
2c8bfe7d
DM
43772012-12-25 David S. Miller <davem@davemloft.net>
4378
4379 * version.h (RELEASE): Set to "development".
4380 (VERSION): Set to "2.17.90".
4381 * NEWS: Add 2.18 section.
4382
147d03b0
DM
43832012-12-21 David S. Miller <davem@davemloft.net>
4384
4385 * po/hr.po: Update from translation team.
4386
a8ebb2b9
AK
43872012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4388
4389 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4390
95b4f1b6
SE
43912012-12-19 Steve Ellcey <sellcey@mips.com>
4392
b2d94007 4393 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 4394
cedb2a90
MS
43952012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4396
4397 * manual/contrib.texi (Contributors): Spelling correction.
4398
bbf527d6
DM
43992012-12-15 David S. Miller <davem@davemloft.net>
4400
4401 * po/ru.po: Update from translation team.
4402
bc38c906
DM
44032012-12-13 David S. Miller <davem@davemloft.net>
4404
85429b1a
DM
4405 * NEWS: Mention IFUNC testsuite enhancements.
4406
d283e353
DM
4407 * po/pl.po: Update from translation team.
4408 * po/bg.po: Likewise.
4409
bc38c906
DM
4410 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4411 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4412
a181b0d7
DM
44132012-12-11 David S. Miller <davem@davemloft.net>
4414
4641d57e
DM
4415 * po/sv.po: Update from translation team.
4416
f7bc6495
DM
4417 * po/vi.po: Update from translation team.
4418
6fc9048f
DM
4419 * po/cs.po: Update from translation team.
4420
a181b0d7
DM
4421 * po/de.po: Update from translation team.
4422 * po/eo.po: Likewise.
4423 * po/nl.po: Likewise.
4424
f70bfe80
SP
44252012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4426
3c8b4190
SP
4427 [BZ #14246]
4428 * manual/argp.texi (Argp Helper Functions): Move node to follow
4429 Argp Parsing State.
4430
f70bfe80
SP
4431 [BZ #14872]
4432 * manual/conf.texi (Limits on File System Capacity): Mention if
4433 terminating null is included in the max size.
4434
188f0adf
AJ
44352012-12-10 Andreas Jaeger <aj@suse.de>
4436
4437 * po/cs.po: Update from translation team.
4438
56e7d3ad
SP
44392012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4440
4441 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4442 void pointer and cast to uintptr_t.
4443 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4444 path.
4445 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4446 * sysdeps/s390/s390-64/memset.S: Likewise.
4447
76f2d2ea 44482012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
4449
4450 [BZ #14833]
4451 * menual/message.texi (Message Translation): Fix typos.
4452 (Helper programs for gettext): Likewise.
4453
67cbf9a2
AS
44542012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4455
4456 [BZ #14898]
4457 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4458 Change to -1.
4459
682d0e9a
DM
44602012-12-07 David S. Miller <davem@davemloft.net>
4461
4462 * po/libc.pot: Update.
4463
573cd484
RH
44642012-12-07 Richard Henderson <rth@redhat.com>
4465
7e9da188 4466 [BZ #10114]
573cd484
RH
4467 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4468 normal/normal case to before the switch.
4469 (_FP_DIV): Likewise.
4470
e933a943
MF
44712012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4472 Mike Frysinger <vapier@gentoo.org>
4473
4474 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4475 check for __NR_fadvise64_64.
4476
82123268
CM
44772012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4478
4479 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4480 0, not just to plain "0" as a statement.
4481 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4482 with cw.
4483
d9814526
JM
44842012-12-06 Joseph Myers <joseph@codesourcery.com>
4485
4486 * NEWS: Use sourceware.org in Bugzilla URL.
4487
7728c574
SP
44882012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4489
f16946dd
SP
4490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4491 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4492
5704bbcb
SP
4493 * stdio-common/tst-put-error.c (do_test): Add newline to the
4494 padded test to ensure flush.
4495
17aa0516
JL
44962012-12-05 Jeff Law <law@redhat.com>
4497
4498 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4499
363313b5
JM
45002012-12-05 Joseph Myers <joseph@codesourcery.com>
4501
effbd42a
JM
4502 * README: Don't refer to ports add-on as distributed separately.
4503 Mention AArch64 in list of systems supported in the ports add-on.
4504
87600365
JM
4505 * LICENSES: Add more non-FSF copyright and license notices.
4506
a0d7066a
JM
4507 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4508 ((unused)).
4509
66ca5a5b
JM
4510 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4511
363313b5
JM
4512 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4513 10000 as width of padded output.
4514
b37984ad
JM
45152012-12-04 Joseph Myers <joseph@codesourcery.com>
4516
9003570a
JM
4517 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4518
b37984ad
JM
4519 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4520 variable LX with __attribute__ ((unused)).
4521 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4522 Likewise.
4523 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4524 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4525 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4526 with __attribute__ ((unused)).
4527
c8df52ec
DM
45282012-12-04 David S. Miller <davem@abraco.davemloft.net>
4529
4530 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4531
b3b099af
JM
45322012-12-04 Joseph Myers <joseph@codesourcery.com>
4533
c33aa6e3
JM
4534 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4535 (CFLAGS-nldbl-acos.c): New variable.
4536 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4537 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4538 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4539 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4540 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4541 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4542 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4543 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4544 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4545 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4546 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4547 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4548 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4549 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4550 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4551 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4552 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4553 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4554 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4555 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4556 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4557 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4558 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4559 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4560 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4561 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4562 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4563 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4564 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4565 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4566 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4567 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4568 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4569 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4570 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4571 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4572 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4573 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4574 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4575 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4576 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4577 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4578 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4579 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4580 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4581 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4582 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4583 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4584 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4585 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4586 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4587 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4588 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4589 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4590 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4591 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4592 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4593 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4594 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4595 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4596 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4597 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4598 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4599 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4600 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4601 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4602 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4603 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4604 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4605 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4606 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4607 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4608 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4609 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4610 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4611 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4612 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4613 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4614 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4615 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4616 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4617 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4618 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4619 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4620 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4621 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4622 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4623 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4624 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4625 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4626 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4627 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4628 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4629 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4630 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4631 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4632 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4633
20f0018d
JM
4634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4635 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4636
b3b099af
JM
4637 [BZ #14914]
4638 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4639 whole low double instead of just low 47 bits when splitting values
4640 into two parts.
4641
029264d1
AM
46422012-12-03 Allan McRae <allan@archlinux.org>
4643
4644 * manual/stdio.texi (Predefined Printf Handlers): Remove
4645 @hsep and @vsep usage.
4646
c9d6789e
MF
46472012-12-03 Mike Frysinger <vapier@gentoo.org>
4648
4649 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4650 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4651
4b7634a5
JL
46522012-12-03 Jeff Law <law@redhat.com>
4653
4654 * time/sys/time.h (settimeofday): Do not mark TV argument
4655 as __nonnull.
4656
eb6cbd24
MF
46572012-12-01 Mike Frysinger <vapier@gentoo.org>
4658
4659 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4660 when currently writing and seek to current position when not.
4661 * libio/Makefile (tests): Remove bug-fclose1.
4662 * libio/bug-fclose1.c: Delete.
4663
f638872a
JM
46642012-12-01 Joseph Myers <joseph@codesourcery.com>
4665
4666 * manual/arith.texi (feenableexcept): Fix typo.
4667 (fedisableexcept): Likewise.
4668
48085d14
RM
46692012-11-30 Roland McGrath <roland@hack.frob.com>
4670
4671 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4672 second, differently-typed declaration, rather than a cast.
4673
1a538b9f
SP
46742012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4675
4676 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4677 * include/rpc/svc.h: ... here.
4678
d07f2ff1 46792012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
4680
4681 [BZ #13013]
4682 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4683 depending n and resplen2 to catch cases where answer
4684 equals answerp2.
4685
c93ec1f0
CD
46862012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4687
4688 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4689 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4690
37db69de
MF
46912012-11-29 Mike Frysinger <vapier@gentoo.org>
4692
4693 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4694
e10c4e4f
RM
46952012-11-29 Roland McGrath <roland@hack.frob.com>
4696
4697 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4698
2af1b328
JL
46992012-11-28 Jeff Law <law@redhat.com>
4700
4701 [BZ #13761]
4702 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4703 dataset_temporary. Track alloca usage into alloca_used.
4704 If dataset is large allocate and release it via malloc/free.
4705
111db5b1
FW
47062012-06-04 Florian Weimer <fweimer@redhat.com>
4707
f06cc227 4708 [BZ #14197]
111db5b1
FW
4709 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4710
dd694abd
DM
47112012-11-28 David S. Miller <davem@davemloft.net>
4712
4713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4714
9984dd01
JM
47152012-11-28 Joseph Myers <joseph@codesourcery.com>
4716
4717 [BZ #14803]
4718 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4719 of pi/2 rounded to nearest to 64 bits.
4720 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4721 nearest to 64 bits.
4722 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4723 bits.
4724
14bc93a9
JL
47252012-11-28 Jeff Law <law@redhat.com>
4726 Martin Osvald <mosvald@redhat.com>
4727
4728 [BZ #14889]
4729 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4730 * sunrpc/svc.c: Include time.h.
4731 (__svc_accept_failed): New function.
4732 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4733 any reason other than EINTR, call __svc_accept_failed.
4734 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4735 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4736
e3c6aa3a
AS
47372012-11-28 Andreas Schwab <schwab@suse.de>
4738
4739 * scripts/abilist.awk: Also handle indirect functions in .opd
4740 section.
4741
1bead169
JM
47422012-11-28 Joseph Myers <joseph@codesourcery.com>
4743
4744 [BZ #13881]
4745 * sysdeps/x86/fpu/powl_helper.c: New file.
4746 * sysdeps/x86/fpu/Makefile: Likewise.
4747 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4748 (p3): New object.
4749 (__ieee754_powl): Use __powl_helper for finite arguments except
4750 integer exponents below 8.
4751 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4752 (p3): New object.
4753 (__ieee754_powl): Use __powl_helper for finite arguments except
4754 integer exponents below 8.
4755 * math/libm-test.inc (pow_test): Add more tests and enable some
4756 previously disabled tests.
4757 * sysdeps/i386/fpu/libm-test-ulps: Update.
4758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4759
0817d63d
SP
47602012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4761 Carlos O'Donell <carlos_odonell@mentor.com>
4762
4763 * nss/makedb.c (is_prime): Assert that input is odd and greater
4764 than 4. Note that fact in a comment too.
4765 (next_prime): Add 4 to input.
4766
de2fd463
SP
47672012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4768
4769 [BZ #11741]
4770 * libio/Makefile (tests): Add test case tst-fwrite-error.
4771 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4772 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4773 * libio/tst-fwrite-error.c: New test case.
4774
c515fb51
L
47752012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4776
4777 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4778 before casting to void *.
4779 * include/libc-internal.h (__pointer_type): New macro.
4780 (__integer_if_pointer_type_sub): Likewise.
4781 (__integer_if_pointer_type): Likewise.
4782 (cast_to_integer): Likewise.
4783 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4784 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4785 before casting to atomic64_t.
4786 (atomic_exchange_acq): Likewise.
4787 (__arch_exchange_and_add_body): Likewise.
4788 (__arch_add_body): Likewise.
4789 (atomic_add_negative): Likewise.
4790 (atomic_add_zero): Likewise.
4791
4cf77aa9
JM
47922012-11-26 Joseph Myers <joseph@codesourcery.com>
4793
4794 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4795 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4796 (add_fdes): Likewise.
4797 (linear_search_fdes): Likewise.
4798 (binary_search_unencoded_fdes): Likewise.
4799
d260b3b4
AS
48002012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4801
4802 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4803
67060746
AC
48042012-11-24 Adam Conrad <adconrad@0c3.net>
4805
4806 * configure.in: Autodetect C++ header directories.
4807 * configure: Regenerated.
4808
800938a1
MF
48092012-11-23 Mike Frysinger <vapier@gentoo.org>
4810
4811 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4812
4e6e34e6
AS
48132012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4814
4815 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4816
7c7feb47
JM
48172012-11-22 Joseph Myers <joseph@codesourcery.com>
4818
7184dcdf
JM
4819 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4820 LDBL_MANT_DIG == 106]: Disable some tests.
4821 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4822 Likewise.
4823 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4824 Likewise.
4825
0a42601f
JM
4826 [BZ #14871]
4827 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4828 input for small inputs. Return +/- pi/2 for large inputs.
4829 * math/libm-test.inc (atan_test): Add more tests.
4830
79c9b9fe
JM
4831 * sysdeps/generic/unwind-dw2-fde-glibc.c
4832 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4833 __attribute__ ((unused)).
4834
c60d3bf2
JM
4835 [BZ #14645]
4836 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4837 x * y if x and y are nonzero and z is zero.
4838
ef1e0867
JM
4839 [BZ #14811]
4840 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4841 nonzero exponents with absolute value below 0x1p-117 to +/-
4842 0x1p-117.
4843
1468ded3
JM
4844 [BZ #14869]
4845 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4846 up arguments below 2**-450, not just those below 2**-500.
4847 * math/libm-test.inc (hypot_test): Add another test.
4848
8e27e3cc
JM
4849 [BZ #14868]
4850 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4851 Return a+b for ratio over 2**120, not 2**60.
4852 * math/libm-test.inc (hypot_test): Add another test.
4853
c9c0279b
JM
4854 * math/libm-test.inc (clog_test): Use
4855 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4856 (clog10_test): Likewise.
4857
7c7feb47
JM
4858 [BZ #6778]
4859 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4860
fff1530e
AS
48612012-11-22 Andreas Schwab <schwab@suse.de>
4862
4863 * sysdeps/i386/fpu/libm-test-ulps: Update.
4864
94558d30
PT
48652012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4866
4867 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4868 printf output with newline.
4869
7e1be741
L
48702012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4871
6bfea974
L
4872 [BZ #14865]
4873 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4874 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4875 -z nodlopen, -z initfirst and -z execstack support.
4876 * configure: Regenerated.
4877
7e1be741
L
4878 * elf/elf.h (DF_1_NODIRECT): New macro.
4879 (DF_1_IGNMULDEF): Likewise.
4880 (DF_1_NOKSYMS): Likewise.
4881 (DF_1_NOHDR): Likewise.
4882 (DF_1_EDITED): Likewise.
4883 (DF_1_NORELOC): Likewise.
4884 (DF_1_SYMINTPOSE): Likewise.
4885 (DF_1_GLOBAUDIT): Likewise.
4886 (DF_1_SINGLETON): Likewise.
4887 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4888 DT_1_SUPPORTED_MASK bits.
4889 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4890
105ce2ce
CD
48912012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4892
4893 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4894
123be9de
TS
48952012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4896
d072f3f7
TS
4897 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4898 macro.
4899
123be9de
TS
4900 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4901 (sendmmsg): Move declarations...
4902 * socket/sys/socket.h: ... here.
4903 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4904 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4905 include it from...
4906 * socket/recvmmsg.c: ... this new file.
4907 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4908 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4909 definition of __sendmmsg hidden.
4910 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4911 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4912 Move ENOSYS stub into and include it from...
4913 * socket/sendmmsg.c: ... this new file.
4914 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4915 (sysdep_routines): Move recvmmsg and sendmmsg...
4916 * socket/Makefile (routines): ... here.
4917 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4918 (GLIBC_PRIVATE): Add __sendmmsg.
4919 * include/sys/socket.h (__sendmmsg): Add declarations.
4920 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4921 sendmmsg.
4922
cf9a5d18
JM
49232012-11-20 Joseph Myers <joseph@codesourcery.com>
4924
4925 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4926 variable I1 with __attribute__ ((unused)).
4927 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4928
ecd4caf9
JM
49292012-11-19 Joseph Myers <joseph@codesourcery.com>
4930
be14d48f
JM
4931 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4932 DUMMY variables with __attribute__ ((unused)).
4933
ecd4caf9
JM
4934 * bits/byteswap.h: Include <bits/types.h>.
4935 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4936
986cab95
PT
49372012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4938
4939 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4940 string_t. Do not manually set errno.
4941 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4942 length with __strnlen. Make sure to both set errno and return it on
4943 failure.
4944
6d33cc9d
DM
49452012-11-19 David S. Miller <davem@davemloft.net>
4946
4947 With help from Joseph Myers.
4948 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4949 very large arguments properly.
4950 * math/libm-test.inc (atan_test): New tests.
4951 (atan2_test): New tests.
4952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4953 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4954
ee663277
JM
49552012-11-19 Joseph Myers <joseph@codesourcery.com>
4956
877f2d8e
JM
4957 [BZ #14856]
4958 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4959 Define to 3.
4960
116fc08a
JM
4961 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4962 [POSIX] (EADDRNOTAVAIL): Likewise.
4963 [POSIX] (EAFNOSUPPORT): Likewise.
4964 [POSIX] (EALREADY): Likewise.
4965 [POSIX] (ECONNABORTED): Likewise.
4966 [POSIX] (ECONNREFUSED): Likewise.
4967 [POSIX] (ECONNRESET): Likewise.
4968 [POSIX] (EDESTADDRREQ): Likewise.
4969 [POSIX] (EDQUOT): Likewise.
4970 [POSIX] (EHOSTUNREACH): Likewise.
4971 [POSIX] (EIDRM): Likewise.
4972 [POSIX] (EISCONN): Likewise.
4973 [POSIX] (ELOOP): Likewise.
4974 [POSIX] (EMULTIHOP): Likewise.
4975 [POSIX] (ENETDOWN): Likewise.
4976 [POSIX] (ENETUNREACH): Likewise.
4977 [POSIX] (ENOBUFS): Likewise.
4978 [POSIX] (ENODATA): Likewise.
4979 [POSIX] (ENOLINK): Likewise.
4980 [POSIX] (ENOMSG): Likewise.
4981 [POSIX] (ENOPROTOOPT): Likewise.
4982 [POSIX] (ENOSR): Likewise.
4983 [POSIX] (ENOSTR): Likewise.
4984 [POSIX] (ENOTCONN): Likewise.
4985 [POSIX] (ENOTSOCK): Likewise.
4986 [POSIX] (EOPNOTSUPP): Likewise.
4987 [POSIX] (EOVERFLOW): Likewise.
4988 [POSIX] (EPROTO): Likewise.
4989 [POSIX] (EPROTONOSUPPORT): Likewise.
4990 [POSIX] (EPROTOTYPE): Likewise.
4991 [POSIX] (ESTALE): Likewise.
4992 [POSIX] (ETIME): Likewise.
4993 [POSIX] (ETXTBSY): Likewise.
4994 [POSIX] (EWOULDBLOCK): Likewise.
4995 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
4996 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
4997 [POSIX] (SEEK_CUR): Likewise.
4998 [POSIX] (SEEK_END): Likewise.
4999 [POSIX || UNIX98] (mode_t): Do not require.
5000 [POSIX] (off_t): Likewise.
5001 [POSIX] (pid_t): Likewise.
5002 [POSIX] (sys/stat.h): Do not allow header.
5003 [POSIX] (unistd.h): Likewise.
5004 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5005 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5006 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5007 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5008 require.
5009 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5010 sigevent): Specify elements.
5011 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5012 entry.
5013 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5014 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5015
a483863f
JM
5016 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5017 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5018 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5019 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5020 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5021 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5022 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5023 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5024 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5025 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5026 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5027 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5028 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5029 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5030 Likewise.
5031 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5032 Likewise.
5033 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5034 Likewise.
5035 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5036 Likewise.
5037 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5038 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5039 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5040 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5041 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5042 Specify lower bound on value.
5043 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5044 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5045 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5046 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5047 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5048 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5049 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5050 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5051 value.
5052 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5053 as optional.
5054 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5055 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5056 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5057 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5058 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5059 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5060 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5061 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5062 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5063 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5064 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5065 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5066 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5067 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5068 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5069 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5070 entry.
5071 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5072 optional.
5073 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5074 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5075 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5076 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5077 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5078 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5079 Likewise.
5080 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5081 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5082 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5083 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5084 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5085 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5086 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5087 as optional.
5088 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5089 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5090 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5091 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5092 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5093 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5094 specify as optional.
5095 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5096 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5097 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5098 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5099 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5100 [XPG3] (NL_LANGMAX): Likewise.
5101 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5102 [POSIX || XPG3] (NL_NMAX): Likewise.
5103 [POSIX || XPG3] (NL_SETMAX): Likewise.
5104 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5105 [XPG3] (NZERO): Likewise.
5106 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5107 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5108 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5109 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5110 (REG_ERANGE): Expect.
5111 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5112 optional-constant.
5113 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5114 Use (void) in prototype.
5115 [POSIX] (*_t): Allow.
5116 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5117 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5118 (WRDE_BADVAL): Expect.
5119
5ba924e3
JM
5120 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5121 expect.
5122 [XPG3 || XPG4] (O_RSYNC): Likewise.
5123 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5124 Likewise.
5125 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5126 [XPG3 || XPG4] (sigqueue): Likewise.
5127 [XPG3 || XPG4] (sigtimedwait): Likewise.
5128 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5129 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5130 [XPG3 || XPG4] (vsnprintf): Likewise.
5131 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5132 Likewise.
5133 [XPG3 || XPG4] (blksize_t): Likewise.
5134 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5135 Likewise.
5136 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5137 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5138 [XPG3 || XPG4] (struct itimerspec): Likewise.
5139 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5140 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5141 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5142 [XPG3 || XPG4] (clockid_t): Likewise.
5143 [XPG3 || XPG4] (timer_t): Likewise.
5144 [XPG3 || XPG4] (clock_getres): Likewise.
5145 [XPG3 || XPG4] (clock_gettime): Likewise.
5146 [XPG3 || XPG4] (clock_settime): Likewise.
5147 [XPG3 || XPG4] (nanosleep): Likewise.
5148 [XPG3 || XPG4] (timer_create): Likewise.
5149 [XPG3 || XPG4] (timer_delete): Likewise.
5150 [XPG3 || XPG4] (timer_gettime): Likewise.
5151 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5152 [XPG3 || XPG4] (timer_settime): Likewise.
5153 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5154 [XPG3 || XPG4] (getlogin_r): Likewise.
5155 [XPG3 || XPG4] (pread): Likewise.
5156 [XPG3 || XPG4] (pthread_atfork): Likewise.
5157 [XPG3 || XPG4] (pwrite): Likewise.
5158
ee663277
JM
5159 [BZ #14835]
5160 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5161 <bits/siginfo.h>.
5162
942caa16
PT
51632012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5164
e19af380
PT
5165 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5166 finalizing MALLSTREAM.
5167
942caa16
PT
5168 * sysdeps/mach/hurd/syncfs.c: New file.
5169
cfde9b46
SP
51702012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5171
5172 [BZ #14719]
5173 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5174 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5175 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5176 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5177 (_nss_dns_gethostbyname4_r): Likewise.
5178 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5179 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5180
f6da27e5
PH
51812012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5182
5183 [BZ #13763]
5184 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5185
6665d4a2
SM
51862012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5187
1f51ee92
SM
5188 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5189 * elf/cache.c (print_entry): Print ",AArch64" for
5190 FLAG_AARCH64_LIB64
5191
6665d4a2
SM
5192 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5193 * elf/cache.c (print_entry): Print ",hard-float" for
5194 FLAG_ARM_LIBHF.
5195
05b227bd
DM
51962012-11-18 David S. Miller <davem@davemloft.net>
5197
5198 With help from Joseph Myers.
5199 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5200 cutoff to 2**-13.
5201 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5202 cutoff to 2**-25.
5203 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5204 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5205 small.
5206 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5207 * math/libm-test.inc (y0_test): New tests.
5208 (y1_test): New tests.
5209 * sysdeps/i386/fpu/libm-test-ulps: Update.
5210 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5212
786b0b67
AS
52132012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5214
5215 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5216 64-bit targets.
5217 * configure: Regenerated.
5218
8e18b86d
DM
52192012-11-17 David S. Miller <davem@davemloft.net>
5220
5221 [BZ #14811]
5222 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5223 nonzero exponents with absolute value below 0x1p-128 to +/-
5224 0x1p-128.
5225
531f1ae0
JM
52262012-11-17 Joseph Myers <joseph@codesourcery.com>
5227
12df29e2
JM
5228 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5229
150dc1a0
JM
5230 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5231
531f1ae0
JM
5232 * posix/getconf-speclist.c: New file.
5233 * posix/posix-envs.def: Likewise.
5234 * posix/confstr.c (START_ENV_GROUP): New macro.
5235 (END_ENV_GROUP): Likewise.
5236 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5237 (KNOWN_PRESENT_ENV_STRING): Likewise.
5238 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5239 (UNKNOWN_ENVIRONMENT): Likewise.
5240 (confstr): Include posix-envs.def instead of handling
5241 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5242 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5243 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5244 (END_ENV_GROUP): Likewise.
5245 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5246 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5247 (UNKNOWN_ENVIRONMENT): Likewise.
5248 (__sysconf): Include posix-envs.def instead of handling associated
5249 cases directly here.
5250 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5251 preprocessing getconf-speclist.c rather than running getconf or
5252 generating empty file.
5253
a93f9cbc
PT
52542012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5255
5256 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5257
d64d9f87
AL
52582012-11-16 Andrej Lajovic <natrij@gmail.com>
5259
5260 [BZ #14672]
5261 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5262
447885eb
DM
52632012-11-16 David S. Miller <davem@davemloft.net>
5264
5265 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5266 smaller than LDBL_EPSILON/2.0L, just return xm1.
5267
bcbf9830
L
52682012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5269
5270 * elf/tst-array1.c (init): Set constructor priority to 1000.
5271 (fini): Set destructor priority to 1000.
5272 * elf/tst-array2dep.c: Likewise.
5273
2b766585
SP
52742012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5275
5276 [BZ #11741]
5277 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5278 (_IO_new_file_xsputn): Also return EOF if none of the input
5279 data was written when overflow failed.
5280 * libio/iopadn.c (_IO_padn): Likewise.
5281 * libio/iowpadn.c (_IO_wpadn): Likewise.
5282 * stdio-common/tst-put-error.c: Add copyright notice.
5283 (do_test): Add case for printing padded string.
5284 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5285 _IO_padn returned error.
5286 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5287 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5288 return EOF.
5289
b1848fde
SP
52902012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5291
5292 * libio/libioP.h: Add comment note that the references to C++
5293 bits are now obsolete.
5294
2fd89785
MS
52952012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5296
5297 * math/libm-test.inc (check_complex): Use asprintf.
5298
e3ea5409
JM
52992012-11-14 Joseph Myers <joseph@codesourcery.com>
5300
5301 * debug/pcprofiledump.c (print_version): Update copyright year.
5302 * malloc/memusagestat.c (print_version): Likewise.
5303
2e64d265
L
53042012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5305
5306 [BZ #14831]
5307 * elf/Makefile (tests): Add tst-audit8.
5308 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5309 ($(objpfx)tst-audit8.out): New target.
5310 (tst-audit8-ENV): New variable.
5311 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5312 audit if l_reloc_result is NULL.
5313 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5314 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5315 * elf/tst-audit8.c: New file.
5316
c485e4d2
MS
53172012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5318
5319 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5320 * misc/Makefile (CFLAGS-select.c): Define.
5321 * posix/Makefile (CFLAGS-pause.c): Define.
5322
3a0d900a
DM
53232012-11-13 David S. Miller <davem@davemloft.net>
5324
5325 * crypt/Makefile: Move test targets after toplevel Rules
5326 inclusion. Grab any necessary sysdep routines when linking.
5327 * crypt/md5.c (md5_process_block): Remove define, we will always
5328 name it __md5_process_block.
5329 (md5_finish_ctx): Update md5_process_block call.
5330 (md5_stream): Likewise.
5331 (md5_process_bytes): Likewise.
5332 (md5_process_block): Rename to __md5_process_block and move to ...
5333 * crypt/md5-block.c: ... here.
5334 * crypt/sha256.c (sha256_process_block): Move to ...
5335 * crypt/sha256-block.c: ... here.
5336 * crypt/sha512.c (sha512_process_block): Move to ...
5337 * crypt/sha512-block.c: ... here.
5338 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5339 path.
5340 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5341 * sysdeps/sparc/sparc64/multiarch/Makefile
5342 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5343 crypt subdir.
5344 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5345 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5346 multiarch changes.
5347 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5348 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5349 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5350 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5351 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5352 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5353 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5354 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5355 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5356 file.
5357 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5358 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5359 file.
5360 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5361
8ca89318
JM
53622012-11-13 Joseph Myers <joseph@codesourcery.com>
5363
e27d476a
JM
5364 * timezone/tzselect.ksh: Update from tzcode git revision
5365 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5366 * timezone/zdump.c: Likewise.
5367 * timezone/zic.c: Likewise.
5368 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5369 in TZVERSION setting, not $(PKGVERSION).
5370 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5371 REPORT_BUGS_TO settings.
5372
8ca89318
JM
5373 [BZ #14838]
5374 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5375 macro.
5376
47594329
MS
53772012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5378
5379 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5380 detection to immediately after _FP_ROUND().
5381 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5382 bits are 0.
5383
640ac3f1
DM
53842012-11-11 David S. Miller <davem@davemloft.net>
5385
5386 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5387 inttypes.h
5388 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5389 __close rather than their public counterparts.
5390
3d2577bb
JM
53912012-11-10 Joseph Myers <joseph@codesourcery.com>
5392
5393 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5394 file.
5395 [UNIX98] (sem_timedwait): Do not expect.
5396 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5397 [XPG4 || UNIX98] (sockatmark): Do not expect.
5398 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5399 (clock_getcpuclockid): Do not expect.
5400 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5401 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5402 Do not expect.
5403 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5404 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5405 [UNIX98] (vwscanf): Likewise.
5406 [UNIX98] (vswscanf): Likewise.
5407
fb1ae1ee
JM
54082012-11-09 Joseph Myers <joseph@codesourcery.com>
5409
9ec6f8bd
JM
5410 * timezone/version.h: Remove file.
5411 * timezone/README: Do not refer to version.h.
5412 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5413 $(objpfx)version.h.
5414 ($(objpfx)zdump.o): Likewise.
c3f81911 5415 ($(objpfx)version.h): New target.
9ec6f8bd 5416
0aa8f8a1
JM
5417 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5418 2012i.
5419 * timezone/README: Don't mention modification to tzselect.ksh.
5420 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5421 work on unmodified tzselect.ksh. Substitute version numbers in
5422 tzselect.ksh.
5423
4e87147f
JM
5424 * Makefile (format-me): Remove.
5425 (INSTALL): Adjust indentation. Use commands directly instead of
5426 using $(format-me).
5427
8b748aed
JM
5428 * aclocal.m4 (ACX_PKGVERSION): New macro.
5429 (ACX_BUGURL): Likewise.
5430 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5431 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5432 (REPORT_BUGS_TO): Likewise.
5433 * configure: Regenerated.
5434 * config.h.in (PKGVERSION): New macro.
5435 (REPORT_BUGS_TO): Likewise.
5436 * config.make.in (PKGVERSION): New variable.
5437 (PKGVERSION_TEXI): Likewise.
5438 (REPORT_BUGS_TO): Likewise.
5439 (REPORT_BUGS_TEXI): Likewise.
5440 * Makefile (format-me): Use -I$(common-objpfx)manual.
5441 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5442 ($(common-objpfx)manual/%): New target.
5443 (manual/%): Remove target.
5444 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5445 (print_version): Use PKGVERSION.
5446 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5447 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5448 and REPORT_BUGS_TO.
5449 ($(objpfx)xtrace): Likewise.
5450 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5451 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5452 (print_version): Use PKGVERSION.
5453 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5454 (do_version): Use PKGVERSION.
5455 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5456 REPORT_BUGS_TO.
5457 (common-ldd-rewrite): Likewise.
5458 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5459 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5460 (print_version): Use PKGVERSION.
5461 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5462 * elf/pldd.c (argp_program_bug_address): Remove variable.
5463 (more_help): New function.
5464 (argp): Use more_help.
5465 (print_version): Use PKGVERSION.
5466 * elf/sln.c (main): Use PKGVERSION.
5467 (usage): Use REPORT_BUGS_TO.
5468 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5469 (top level): Use PKGVERSION.
5470 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5471 (print_version): Use PKGVERSION.
5472 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5473 (print_version): Use PKGVERSION.
5474 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5475 (print_version): Use PKGVERSION.
5476 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5477 (print_version): Use PKGVERSION.
5478 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5479 (print_version): Use PKGVERSION.
5480 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5481 (print_version): Use PKGVERSION.
5482 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5483 and BUGURL.
5484 ($(objpfx)memusage): Likewise.
5485 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5486 (do_version): Use PKGVERSION.
5487 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5488 (print_version): Use PKGVERSION.
5489 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5490 ($PKGVERSION): New variable.
5491 ($REPORT_BUGS_TO): Likewise.
5492 (usage): Use $REPORT_BUGS_TO.
5493 (top level): Use $PKGVERSION.
5494 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5495 ($(objpfx)pkgvers.texi): New rule.
5496 ($(objpfx)stamp-pkgvers): Likewise.
5497 * manual/install.texi: Include pkgvers.texi.
5498 (--with-pkgversion): Document new configure option.
5499 (--with-bugurl): Likewise.
5500 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5501 than necessarily for this particular distribution. Use
5502 REPORT_BUGS_TO for where to report bugs.
5503 * INSTALL: Regenerated.
5504 * manual/libc.texinfo: Include pkgvers.texi.
5505 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5506 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5507 (print_version): Use PKGVERSION.
5508 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5509 (print_version): Use PKGVERSION.
5510 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5511 (print_version): Use PKGVERSION.
5512 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5513 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5514 macro.
5515 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5516 (print_version): Use PKGVERSION.
5517 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5518 (print_version): Use PKGVERSION.
5519 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5520 and PKGVERSION.
5521
92e4b6a9
JM
5522 * timezone/checktab.awk: Update from tzcode 2012i.
5523 * timezone/ialloc.c: Likewise.
5524 * timezone/private.h: Likewise.
5525 * timezone/scheck.c: Likewise.
5526 * timezone/tzfile.h: Likewise.
5527 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5528 (TZVERSION): Hardcode tzcode version number.
5529 * timezone/zdump.c: Update from tzcode 2012i.
5530 * timezone/zic.c: Likewise.
5531 * timezone/version.h: New file.
5532 * timezone/README: Describe version.h. Update upstream location.
5533
9bde902c
JM
5534 [BZ #14824]
5535 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5536 (mktemp): Enable declaration.
5537 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5538 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5539 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5540 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5541 Likewise.
5542 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5543 Likewise.
5544 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5545 Likewise.
5546 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5547 Likewise.
5548 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5549 Likewise.
5550 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5551 Likewise.
5552
fb1ae1ee
JM
5553 [BZ #14821]
5554 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5555 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5556 for copies of such integer values.
5557 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5558 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5559
2c1adbcb
AJ
55602012-11-09 Andreas Jaeger <aj@suse.de>
5561
5562 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5563 definitions and declarations that are provided by
5564 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5565
d0f8457e
AK
55662012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5567
3a235abb 5568 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
5569 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5570 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5571 definition.
5572
57241e26
MS
55732012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5574
5575 * elf/elf.h: Update comment before AArch64 relocations.
5576
60e8270d
DM
55772012-11-07 David S. Miller <davem@davemloft.net>
5578
5579 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5580 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5581 (__start_context): Declare.
5582 (__makecontext_ret): Delete.
5583 (__makecontext): Hook up __start_context instead of
5584 __makecontext_ret.
5585 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5586 (sysdep_routines): Add __start_context when in stdlib.
5587
0fbb0fbc
JM
55882012-11-07 Joseph Myers <joseph@codesourcery.com>
5589
5590 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5591 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5592 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5593 hardcoded "nm".
5594 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5595 (READELF): New variable. Use it instead of hardcoded "readelf".
5596
eb48db7e
L
55972012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5598
5599 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5600 * sysdeps/x86/Makefile: Here.
5601 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5602 * sysdeps/x86/tst-xmmymm.sh: This.
5603
05bcf62a
JM
56042012-11-07 Joseph Myers <joseph@codesourcery.com>
5605
c4b6cf53
JM
5606 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5607 expectations.
5608 [UNIX98] (pthread_barrier_t): Do not expect.
5609 [UNIX98] (pthread_barrierattr_t): Likewise.
5610 [UNIX98] (pthread_spinlock_t): Likewise.
5611 [UNIX98] (pthread_barrier_destroy): Likewise.
5612 [UNIX98] (pthread_barrier_init): Likewise.
5613 [UNIX98] (pthread_barrier_wait): Likewise.
5614 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5615 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5616 [UNIX98] (pthread_barrierattr_init): Likewise.
5617 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5618 [UNIX98] (pthread_getcpuclockid): Likewise.
5619 [UNIX98] (pthread_mutex_timedlock): Likewise.
5620 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5621 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5622 [UNIX98] (pthread_sigmask): Likewise.
5623 [UNIX98] (pthread_spin_destroy): Likewise.
5624 [UNIX98] (pthread_spin_init): Likewise.
5625 [UNIX98] (pthread_spin_lock): Likewise.
5626 [UNIX98] (pthread_spin_trylock): Likewise.
5627 [UNIX98] (pthread_spin_unlock): Likewise.
5628 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5629 Do not expect.
5630 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5631 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5632 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5633 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5634 [XPG3 || XPG4] (pthread_key_t): Likewise.
5635 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5636 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5637 [XPG3 || XPG4] (pthread_once_t): Likewise.
5638 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5639 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5640 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5641 [XPG3 || XPG4] (pthread_t): Likewise.
5642
cbe6e120
JM
5643 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5644 not expect.
5645 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5646
1b126443
JM
5647 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5648 Change function return type to int.
5649
b961a573
JM
5650 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5651 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5652 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5653 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5654 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5655 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5656 [!POSIX] (posix_madvise): Likewise.
5657 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5658 && !UNIX98].
5659 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5660 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5661 (mode_t): Likewise.
5662 (posix_mem_offset): Likewise.
5663 (posix_typed_mem_get_info): Likewise.
5664 (posix_typed_mem_open): Likewise.
5665
9e188909
JM
5666 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5667 Change condition to [XOPEN2K8].
5668
05bcf62a
JM
5669 * conform/conformtest.pl: Preprocess allow-header data with -x c
5670 instead of from stdin.
5671 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5672 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5673 [C99-based standards] (cerfc): Likewise.
5674 [C99-based standards] (cexp2): Likewise.
5675 [C99-based standards] (cexpm1): Likewise.
5676 [C99-based standards] (clog10): Likewise.
5677 [C99-based standards] (clog1p): Likewise.
5678 [C99-based standards] (clog2): Likewise.
5679 [C99-based standards] (clgamma): Likewise.
5680 [C99-based standards] (ctgamma): Likewise.
5681 [C99-based standards] (cerff): Likewise.
5682 [C99-based standards] (cerfcf): Likewise.
5683 [C99-based standards] (cexp2f): Likewise.
5684 [C99-based standards] (cexpm1f): Likewise.
5685 [C99-based standards] (clog10f): Likewise.
5686 [C99-based standards] (clog1pf): Likewise.
5687 [C99-based standards] (clog2f): Likewise.
5688 [C99-based standards] (clgammaf): Likewise.
5689 [C99-based standards] (ctgammaf): Likewise.
5690 [C99-based standards] (cerfl): Likewise.
5691 [C99-based standards] (cerfcl): Likewise.
5692 [C99-based standards] (cexp2l): Likewise.
5693 [C99-based standards] (cexpm1l): Likewise.
5694 [C99-based standards] (clog10l): Likewise.
5695 [C99-based standards] (clog1pl): Likewise.
5696 [C99-based standards] (clog2l): Likewise.
5697 [C99-based standards] (clgammal): Likewise.
5698 [C99-based standards] (ctgammal): Likewise.
5699 * conform/data/inttypes.h-data [C99-based standards]: Include
5700 stdint.h-data. Remove all expectations for stdint.h contents.
5701 [C99-based standards] (PRI*): Do not allow.
5702 [C99-based standards] (SCN*): Likewise.
5703 [C99-based standards] (*_t): Likewise.
5704 [C99-based-standards] (PRId8): Expect macro.
5705 [C99-based-standards] (PRIi8): Likewise.
5706 [C99-based-standards] (PRIo8): Likewise.
5707 [C99-based-standards] (PRIu8): Likewise.
5708 [C99-based-standards] (PRIx8): Likewise.
5709 [C99-based-standards] (PRIX8): Likewise.
5710 [C99-based-standards] (SCNd8): Likewise.
5711 [C99-based-standards] (SCNi8): Likewise.
5712 [C99-based-standards] (SCNo8): Likewise.
5713 [C99-based-standards] (SCNu8): Likewise.
5714 [C99-based-standards] (SCNx8): Likewise.
5715 [C99-based-standards] (PRIdLEAST8): Likewise.
5716 [C99-based-standards] (PRIiLEAST8): Likewise.
5717 [C99-based-standards] (PRIoLEAST8): Likewise.
5718 [C99-based-standards] (PRIuLEAST8): Likewise.
5719 [C99-based-standards] (PRIxLEAST8): Likewise.
5720 [C99-based-standards] (PRIXLEAST8): Likewise.
5721 [C99-based-standards] (SCNdLEAST8): Likewise.
5722 [C99-based-standards] (SCNiLEAST8): Likewise.
5723 [C99-based-standards] (SCNoLEAST8): Likewise.
5724 [C99-based-standards] (SCNuLEAST8): Likewise.
5725 [C99-based-standards] (SCNxLEAST8): Likewise.
5726 [C99-based-standards] (PRIdFAST8): Likewise.
5727 [C99-based-standards] (PRIiFAST8): Likewise.
5728 [C99-based-standards] (PRIoFAST8): Likewise.
5729 [C99-based-standards] (PRIuFAST8): Likewise.
5730 [C99-based-standards] (PRIxFAST8): Likewise.
5731 [C99-based-standards] (PRIXFAST8): Likewise.
5732 [C99-based-standards] (SCNdFAST8): Likewise.
5733 [C99-based-standards] (SCNiFAST8): Likewise.
5734 [C99-based-standards] (SCNoFAST8): Likewise.
5735 [C99-based-standards] (SCNuFAST8): Likewise.
5736 [C99-based-standards] (SCNxFAST8): Likewise.
5737 [C99-based-standards] (PRId16): Likewise.
5738 [C99-based-standards] (PRIi16): Likewise.
5739 [C99-based-standards] (PRIo16): Likewise.
5740 [C99-based-standards] (PRIu16): Likewise.
5741 [C99-based-standards] (PRIx16): Likewise.
5742 [C99-based-standards] (PRIX16): Likewise.
5743 [C99-based-standards] (SCNd16): Likewise.
5744 [C99-based-standards] (SCNi16): Likewise.
5745 [C99-based-standards] (SCNo16): Likewise.
5746 [C99-based-standards] (SCNu16): Likewise.
5747 [C99-based-standards] (SCNx16): Likewise.
5748 [C99-based-standards] (PRIdLEAST16): Likewise.
5749 [C99-based-standards] (PRIiLEAST16): Likewise.
5750 [C99-based-standards] (PRIoLEAST16): Likewise.
5751 [C99-based-standards] (PRIuLEAST16): Likewise.
5752 [C99-based-standards] (PRIxLEAST16): Likewise.
5753 [C99-based-standards] (PRIXLEAST16): Likewise.
5754 [C99-based-standards] (SCNdLEAST16): Likewise.
5755 [C99-based-standards] (SCNiLEAST16): Likewise.
5756 [C99-based-standards] (SCNoLEAST16): Likewise.
5757 [C99-based-standards] (SCNuLEAST16): Likewise.
5758 [C99-based-standards] (SCNxLEAST16): Likewise.
5759 [C99-based-standards] (PRIdFAST16): Likewise.
5760 [C99-based-standards] (PRIiFAST16): Likewise.
5761 [C99-based-standards] (PRIoFAST16): Likewise.
5762 [C99-based-standards] (PRIuFAST16): Likewise.
5763 [C99-based-standards] (PRIxFAST16): Likewise.
5764 [C99-based-standards] (PRIXFAST16): Likewise.
5765 [C99-based-standards] (SCNdFAST16): Likewise.
5766 [C99-based-standards] (SCNiFAST16): Likewise.
5767 [C99-based-standards] (SCNoFAST16): Likewise.
5768 [C99-based-standards] (SCNuFAST16): Likewise.
5769 [C99-based-standards] (SCNxFAST16): Likewise.
5770 [C99-based-standards] (PRId32): Likewise.
5771 [C99-based-standards] (PRIi32): Likewise.
5772 [C99-based-standards] (PRIo32): Likewise.
5773 [C99-based-standards] (PRIu32): Likewise.
5774 [C99-based-standards] (PRIx32): Likewise.
5775 [C99-based-standards] (PRIX32): Likewise.
5776 [C99-based-standards] (SCNd32): Likewise.
5777 [C99-based-standards] (SCNi32): Likewise.
5778 [C99-based-standards] (SCNo32): Likewise.
5779 [C99-based-standards] (SCNu32): Likewise.
5780 [C99-based-standards] (SCNx32): Likewise.
5781 [C99-based-standards] (PRIdLEAST32): Likewise.
5782 [C99-based-standards] (PRIiLEAST32): Likewise.
5783 [C99-based-standards] (PRIoLEAST32): Likewise.
5784 [C99-based-standards] (PRIuLEAST32): Likewise.
5785 [C99-based-standards] (PRIxLEAST32): Likewise.
5786 [C99-based-standards] (PRIXLEAST32): Likewise.
5787 [C99-based-standards] (SCNdLEAST32): Likewise.
5788 [C99-based-standards] (SCNiLEAST32): Likewise.
5789 [C99-based-standards] (SCNoLEAST32): Likewise.
5790 [C99-based-standards] (SCNuLEAST32): Likewise.
5791 [C99-based-standards] (SCNxLEAST32): Likewise.
5792 [C99-based-standards] (PRIdFAST32): Likewise.
5793 [C99-based-standards] (PRIiFAST32): Likewise.
5794 [C99-based-standards] (PRIoFAST32): Likewise.
5795 [C99-based-standards] (PRIuFAST32): Likewise.
5796 [C99-based-standards] (PRIxFAST32): Likewise.
5797 [C99-based-standards] (PRIXFAST32): Likewise.
5798 [C99-based-standards] (SCNdFAST32): Likewise.
5799 [C99-based-standards] (SCNiFAST32): Likewise.
5800 [C99-based-standards] (SCNoFAST32): Likewise.
5801 [C99-based-standards] (SCNuFAST32): Likewise.
5802 [C99-based-standards] (SCNxFAST32): Likewise.
5803 [C99-based-standards] (PRId64): Likewise.
5804 [C99-based-standards] (PRIi64): Likewise.
5805 [C99-based-standards] (PRIo64): Likewise.
5806 [C99-based-standards] (PRIu64): Likewise.
5807 [C99-based-standards] (PRIx64): Likewise.
5808 [C99-based-standards] (PRIX64): Likewise.
5809 [C99-based-standards] (SCNd64): Likewise.
5810 [C99-based-standards] (SCNi64): Likewise.
5811 [C99-based-standards] (SCNo64): Likewise.
5812 [C99-based-standards] (SCNu64): Likewise.
5813 [C99-based-standards] (SCNx64): Likewise.
5814 [C99-based-standards] (PRIdLEAST64): Likewise.
5815 [C99-based-standards] (PRIiLEAST64): Likewise.
5816 [C99-based-standards] (PRIoLEAST64): Likewise.
5817 [C99-based-standards] (PRIuLEAST64): Likewise.
5818 [C99-based-standards] (PRIxLEAST64): Likewise.
5819 [C99-based-standards] (PRIXLEAST64): Likewise.
5820 [C99-based-standards] (SCNdLEAST64): Likewise.
5821 [C99-based-standards] (SCNiLEAST64): Likewise.
5822 [C99-based-standards] (SCNoLEAST64): Likewise.
5823 [C99-based-standards] (SCNuLEAST64): Likewise.
5824 [C99-based-standards] (SCNxLEAST64): Likewise.
5825 [C99-based-standards] (PRIdFAST64): Likewise.
5826 [C99-based-standards] (PRIiFAST64): Likewise.
5827 [C99-based-standards] (PRIoFAST64): Likewise.
5828 [C99-based-standards] (PRIuFAST64): Likewise.
5829 [C99-based-standards] (PRIxFAST64): Likewise.
5830 [C99-based-standards] (PRIXFAST64): Likewise.
5831 [C99-based-standards] (SCNdFAST64): Likewise.
5832 [C99-based-standards] (SCNiFAST64): Likewise.
5833 [C99-based-standards] (SCNoFAST64): Likewise.
5834 [C99-based-standards] (SCNuFAST64): Likewise.
5835 [C99-based-standards] (SCNxFAST64): Likewise.
5836 [C99-based-standards] (PRIdMAX): Likewise.
5837 [C99-based-standards] (PRIiMAX): Likewise.
5838 [C99-based-standards] (PRIoMAX): Likewise.
5839 [C99-based-standards] (PRIuMAX): Likewise.
5840 [C99-based-standards] (PRIxMAX): Likewise.
5841 [C99-based-standards] (PRIXMAX): Likewise.
5842 [C99-based-standards] (SCNdMAX): Likewise.
5843 [C99-based-standards] (SCNiMAX): Likewise.
5844 [C99-based-standards] (SCNoMAX): Likewise.
5845 [C99-based-standards] (SCNuMAX): Likewise.
5846 [C99-based-standards] (SCNxMAX): Likewise.
5847 [C99-based-standards] (PRIdPTR): Likewise.
5848 [C99-based-standards] (PRIiPTR): Likewise.
5849 [C99-based-standards] (PRIoPTR): Likewise.
5850 [C99-based-standards] (PRIuPTR): Likewise.
5851 [C99-based-standards] (PRIxPTR): Likewise.
5852 [C99-based-standards] (PRIXPTR): Likewise.
5853 [C99-based-standards] (SCNdPTR): Likewise.
5854 [C99-based-standards] (SCNiPTR): Likewise.
5855 [C99-based-standards] (SCNoPTR): Likewise.
5856 [C99-based-standards] (SCNuPTR): Likewise.
5857 [C99-based-standards] (SCNxPTR): Likewise.
5858 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5859 allow.
5860 * conform/data/stdint.h-data: Update comments to clarify
5861 requirements.
5862 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5863 type.
5864 [C99-based standards] (INT8_MAX): Likewise.
5865 [C99-based standards] (INT16_MIN): Likewise.
5866 [C99-based standards] (INT16_MAX): Likewise.
5867 [C99-based standards] (INT32_MIN): Likewise.
5868 [C99-based standards] (INT32_MAX): Likewise.
5869 [C99-based standards] (INT64_MIN): Likewise.
5870 [C99-based standards] (INT64_MAX): Likewise.
5871 [C99-based standards] (UINT8_MAX): Likewise.
5872 [C99-based standards] (UINT16_MAX): Likewise.
5873 [C99-based standards] (UINT32_MAX): Likewise.
5874 [C99-based standards] (UINT64_MAX): Likewise.
5875 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5876 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5877 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5878 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5879 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5880 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5881 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5882 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5883 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5884 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5885 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5886 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5887 [C99-based standards] (INT_FAST8_MIN): Likewise.
5888 [C99-based standards] (INT_FAST8_MAX): Likewise.
5889 [C99-based standards] (INT_FAST16_MIN): Likewise.
5890 [C99-based standards] (INT_FAST16_MAX): Likewise.
5891 [C99-based standards] (INT_FAST32_MIN): Likewise.
5892 [C99-based standards] (INT_FAST32_MAX): Likewise.
5893 [C99-based standards] (INT_FAST64_MIN): Likewise.
5894 [C99-based standards] (INT_FAST64_MAX): Likewise.
5895 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5896 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5897 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5898 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5899 [C99-based standards] (INTPTR_MIN): Likewise.
5900 [C99-based standards] (INTPTR_MAX): Likewise.
5901 [C99-based standards] (UINTPTR_MAX): Likewise.
5902 [C99-based standards] (INTMAX_MIN): Likewise.
5903 [C99-based standards] (INTMAX_MAX): Likewise.
5904 [C99-based standards] (UINTMAX_MAX): Likewise.
5905 [C99-based standards] (PTRDIFF_MIN): Likewise.
5906 [C99-based standards] (PTRDIFF_MAX): Likewise.
5907 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5908 [C99-based standards] (SIZE_MAX): Likewise.
5909 [C99-based standards] (WCHAR_MAX): Likewise.
5910 [C99-based standards] (WINT_MAX): Likewise.
5911 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5912 constraint on value.
5913 [C99-based standards] (WCHAR_MIN): Likewise.
5914 [C99-based standards] (WINT_MIN): Likewise.
5915 [C99-based standards] (*_t): Allow.
5916 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5917 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5918 Include math.h-data and complex.h-data. Remove all expectations
5919 of math.h and complex.h contents.
5920 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5921 at end of line.
5922 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5923 (struct tm): Expect tag.
5924 [C99-based-standards] (wcstof): Expect function.
5925 [C99-based-standards] (wcstold): Likewise.
5926 [C99-based-standards] (wcstoll): Likewise.
5927 [C99-based-standards] (wcstoull): Likewise.
5928 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5929 macro-int-constant. Specify type.
5930 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5931 constraint on value.
5932 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5933 Specify type.
5934 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5935 Specify value.
5936 [ISO C standards]: Do not allow headers.
5937 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5938 wcs[abcdefghijklmnopqrstuvwxyz]*.
5939 [ISO C standards] (*_t): Do not allow.
5940 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5941 Expect function.
5942 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5943 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5944 Specify type.
5945 [ISO C standards]: Do not allow headers.
5946 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5947 is[abcdefghijklmnopqrstuvwxyz]*.
5948 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5949 to[abcdefghijklmnopqrstuvwxyz]*.
5950 [ISO C standards] (*_t): Do not allow.
5951 * conform/data/stdalign.h-data: New file.
5952 * conform/data/stdbool.h-data: Likewise.
5953 * conform/data/stdnoreturn.h-data: Likewise.
5954
7514feb8
RM
59552012-11-07 Roland McGrath <roland@hack.frob.com>
5956
5957 [BZ #14815]
5958 * manual/filesys.texi (Directory Entries): Typo fix.
5959 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5960
19b2ecfc
MS
59612012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5962
5963 * elf/elf.h (EM_AARCH64): New macro.
5964 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5965 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5966 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5967 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5968 (R_AARCH64_TLSDESC): Likewise.
5969 (NT_ARM_TLS): Likewise.
5970 (NT_ARM_HW_BREAK): Likewise.
5971 (NT_ARM_HW_WATCH): Likewise.
5972
60e235ee
JM
59732012-11-07 Joseph Myers <joseph@codesourcery.com>
5974
5975 [BZ #14811]
5976 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5977 (__ieee754_powl): Saturate nonzero exponents with absolute value
5978 below 0x1p-79 to +/- 0x1p-79.
5979 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5980 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5981 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5982 nonzero exponents with absolute value below 0x1p-32 to +/-
5983 0x1p-32.
5984 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5985 (__ieee754_powl): Saturate nonzero exponents with absolute value
5986 below 0x1p-79 to +/- 0x1p-79.
5987 * math/libm-test.inc (pow_test): Add more tests.
5988
0ab234b7
AK
59892012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5990
5991 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5992 _dl_s390_cap_flags with kernel. Increase string length.
5993 (_dl_s390_platforms): Add z196 and zEC12.
5994
45832f74
JM
59952012-11-07 Joseph Myers <joseph@codesourcery.com>
5996
5997 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
5998 Change XOPEN21K to XOPEN2K.
5999
19218757
MK
60002012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6001
6002 * string/memmove.c: Use memcpy when possible.
6003
c5f45721
AJ
60042012-11-06 Andreas Jaeger <aj@suse.de>
6005
6006 * po/eo.po: Update from translation team.
6007
82477c28
JM
60082012-11-06 Joseph Myers <joseph@codesourcery.com>
6009
6010 [BZ #14793]
6011 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6012 exponent and small x and y exponents, scale x or y up. Increase
6013 by 2 the exponent used in scaling up.
6014 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6015 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6016 * math/libm-test.inc (fma_test): Add more tests.
6017 (fma_test_towardzero): Likewise.
6018 (fma_test_downward): Likewise.
6019 (fma_test_upward): Likewise.
6020
99252c8c
JM
60212012-11-05 Joseph Myers <joseph@codesourcery.com>
6022
acfa885f
JM
6023 [BZ #14805]
6024 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6025 fenv_t *.
6026
99252c8c
JM
6027 [BZ #14801]
6028 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6029 namespace for names of struct fields.
6030 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6031 fenv_t fields.
6032 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6033 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6034
d6d98dea
ST
60352012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6036
6037 [BZ #3665]
6038 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6039
e10bb107
TS
60402012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6041
6042 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6043 PTR_DEMANGLE.
6044
6045 [BZ #5246]
6046 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6047 PTR_DEMANGLE.
6048
a0c2940d
JM
60492012-11-04 Joseph Myers <joseph@codesourcery.com>
6050
6051 [BZ #14797]
6052 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6053 definitely overflow as x * y not x * y + z.
6054 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6055 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6056 * math/libm-test.inc (fma_test): Add more tests.
6057 (fma_test_towardzero): Likewise.
6058 (fma_test_downward): Likewise.
6059 (fma_test_upward): Likewise.
6060
b830319d
TS
60612012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6062
6063 [BZ #157]
6064
6065 * include/stub-tag.h: Remove file.
6066 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6067 '#include' of it.
6068 * manual/maint.texi (Porting): Don't reference it.
6069 * Makerules ($(objpfx)stubs): Likewise.
6070 * dirent/closedir.c: Don't include <stub-tag.h>.
6071 * dirent/dirfd.c: Likewise.
6072 * dirent/fdopendir.c: Likewise.
6073 * dirent/getdents.c: Likewise.
6074 * dirent/getdents64.c: Likewise.
6075 * dirent/opendir.c: Likewise.
6076 * dirent/readdir.c: Likewise.
6077 * dirent/readdir64.c: Likewise.
6078 * dirent/readdir64_r.c: Likewise.
6079 * dirent/readdir_r.c: Likewise.
6080 * dirent/rewinddir.c: Likewise.
6081 * dirent/seekdir.c: Likewise.
6082 * dirent/telldir.c: Likewise.
6083 * gmon/profil.c: Likewise.
6084 * grp/setgroups.c: Likewise.
6085 * inet/if_index.c: Likewise.
6086 * io/access.c: Likewise.
6087 * io/chdir.c: Likewise.
6088 * io/chmod.c: Likewise.
6089 * io/chown.c: Likewise.
6090 * io/close.c: Likewise.
6091 * io/dup.c: Likewise.
6092 * io/dup2.c: Likewise.
6093 * io/dup3.c: Likewise.
6094 * io/euidaccess.c: Likewise.
6095 * io/faccessat.c: Likewise.
6096 * io/fchdir.c: Likewise.
6097 * io/fchmod.c: Likewise.
6098 * io/fchmodat.c: Likewise.
6099 * io/fchown.c: Likewise.
6100 * io/fchownat.c: Likewise.
6101 * io/fcntl.c: Likewise.
6102 * io/flock.c: Likewise.
6103 * io/fstatfs.c: Likewise.
6104 * io/fstatfs64.c: Likewise.
6105 * io/fstatvfs.c: Likewise.
6106 * io/fstatvfs64.c: Likewise.
6107 * io/futimens.c: Likewise.
6108 * io/fxstat.c: Likewise.
6109 * io/fxstat64.c: Likewise.
6110 * io/fxstatat.c: Likewise.
6111 * io/fxstatat64.c: Likewise.
6112 * io/getcwd.c: Likewise.
6113 * io/isatty.c: Likewise.
6114 * io/lchmod.c: Likewise.
6115 * io/lchown.c: Likewise.
6116 * io/link.c: Likewise.
6117 * io/linkat.c: Likewise.
6118 * io/lseek.c: Likewise.
6119 * io/lseek64.c: Likewise.
6120 * io/lxstat64.c: Likewise.
6121 * io/mkdir.c: Likewise.
6122 * io/mkdirat.c: Likewise.
6123 * io/mkfifo.c: Likewise.
6124 * io/mkfifoat.c: Likewise.
6125 * io/open.c: Likewise.
6126 * io/open64.c: Likewise.
6127 * io/openat.c: Likewise.
6128 * io/openat64.c: Likewise.
6129 * io/pipe.c: Likewise.
6130 * io/pipe2.c: Likewise.
6131 * io/poll.c: Likewise.
6132 * io/posix_fadvise.c: Likewise.
6133 * io/posix_fadvise64.c: Likewise.
6134 * io/posix_fallocate.c: Likewise.
6135 * io/posix_fallocate64.c: Likewise.
6136 * io/read.c: Likewise.
6137 * io/readlink.c: Likewise.
6138 * io/readlinkat.c: Likewise.
6139 * io/rmdir.c: Likewise.
6140 * io/sendfile.c: Likewise.
6141 * io/sendfile64.c: Likewise.
6142 * io/statfs.c: Likewise.
6143 * io/statfs64.c: Likewise.
6144 * io/statvfs.c: Likewise.
6145 * io/statvfs64.c: Likewise.
6146 * io/symlink.c: Likewise.
6147 * io/symlinkat.c: Likewise.
6148 * io/ttyname.c: Likewise.
6149 * io/ttyname_r.c: Likewise.
6150 * io/umask.c: Likewise.
6151 * io/unlink.c: Likewise.
6152 * io/unlinkat.c: Likewise.
6153 * io/utime.c: Likewise.
6154 * io/utimensat.c: Likewise.
6155 * io/write.c: Likewise.
6156 * io/xmknod.c: Likewise.
6157 * io/xmknodat.c: Likewise.
6158 * io/xstat.c: Likewise.
6159 * io/xstat64.c: Likewise.
6160 * login/getpt.c: Likewise.
6161 * login/grantpt.c: Likewise.
6162 * login/unlockpt.c: Likewise.
6163 * math/e_acoshl.c: Likewise.
6164 * math/e_acosl.c: Likewise.
6165 * math/e_asinl.c: Likewise.
6166 * math/e_atan2l.c: Likewise.
6167 * math/e_atanhl.c: Likewise.
6168 * math/e_coshl.c: Likewise.
6169 * math/e_expl.c: Likewise.
6170 * math/e_fmodl.c: Likewise.
6171 * math/e_gammal_r.c: Likewise.
6172 * math/e_hypotl.c: Likewise.
6173 * math/e_j0l.c: Likewise.
6174 * math/e_j1l.c: Likewise.
6175 * math/e_jnl.c: Likewise.
6176 * math/e_lgammal_r.c: Likewise.
6177 * math/e_log10l.c: Likewise.
6178 * math/e_log2l.c: Likewise.
6179 * math/e_logl.c: Likewise.
6180 * math/e_powl.c: Likewise.
6181 * math/e_rem_pio2l.c: Likewise.
6182 * math/e_sinhl.c: Likewise.
6183 * math/e_sqrtl.c: Likewise.
6184 * math/fclrexcpt.c: Likewise.
6185 * math/fedisblxcpt.c: Likewise.
6186 * math/feenablxcpt.c: Likewise.
6187 * math/fegetenv.c: Likewise.
6188 * math/fegetexcept.c: Likewise.
6189 * math/fegetround.c: Likewise.
6190 * math/feholdexcpt.c: Likewise.
6191 * math/fesetenv.c: Likewise.
6192 * math/fesetround.c: Likewise.
6193 * math/feupdateenv.c: Likewise.
6194 * math/fgetexcptflg.c: Likewise.
6195 * math/fraiseexcpt.c: Likewise.
6196 * math/fsetexcptflg.c: Likewise.
6197 * math/ftestexcept.c: Likewise.
6198 * math/k_cosl.c: Likewise.
6199 * math/k_rem_pio2l.c: Likewise.
6200 * math/k_sinl.c: Likewise.
6201 * math/k_tanl.c: Likewise.
6202 * math/s_asinhl.c: Likewise.
6203 * math/s_atanl.c: Likewise.
6204 * math/s_cbrtl.c: Likewise.
6205 * math/s_erfl.c: Likewise.
6206 * math/s_expm1l.c: Likewise.
6207 * math/s_log1pl.c: Likewise.
6208 * math/s_tanhl.c: Likewise.
6209 * misc/acct.c: Likewise.
6210 * misc/brk.c: Likewise.
6211 * misc/chflags.c: Likewise.
6212 * misc/chroot.c: Likewise.
6213 * misc/fchflags.c: Likewise.
6214 * misc/fgetxattr.c: Likewise.
6215 * misc/flistxattr.c: Likewise.
6216 * misc/fremovexattr.c: Likewise.
6217 * misc/fsetxattr.c: Likewise.
6218 * misc/fsync.c: Likewise.
6219 * misc/ftruncate.c: Likewise.
6220 * misc/futimes.c: Likewise.
6221 * misc/futimesat.c: Likewise.
6222 * misc/getdomain.c: Likewise.
6223 * misc/getdtsz.c: Likewise.
6224 * misc/gethostid.c: Likewise.
6225 * misc/gethostname.c: Likewise.
6226 * misc/getloadavg.c: Likewise.
6227 * misc/getpagesize.c: Likewise.
6228 * misc/getsysstats.c: Likewise.
6229 * misc/getxattr.c: Likewise.
6230 * misc/gtty.c: Likewise.
6231 * misc/ioctl.c: Likewise.
6232 * misc/lgetxattr.c: Likewise.
6233 * misc/listxattr.c: Likewise.
6234 * misc/llistxattr.c: Likewise.
6235 * misc/lremovexattr.c: Likewise.
6236 * misc/lsetxattr.c: Likewise.
6237 * misc/lutimes.c: Likewise.
6238 * misc/madvise.c: Likewise.
6239 * misc/mincore.c: Likewise.
6240 * misc/mlock.c: Likewise.
6241 * misc/mlockall.c: Likewise.
6242 * misc/mmap.c: Likewise.
6243 * misc/mprotect.c: Likewise.
6244 * misc/msync.c: Likewise.
6245 * misc/munlock.c: Likewise.
6246 * misc/munlockall.c: Likewise.
6247 * misc/munmap.c: Likewise.
6248 * misc/preadv.c: Likewise.
6249 * misc/preadv64.c: Likewise.
6250 * misc/ptrace.c: Likewise.
6251 * misc/pwritev.c: Likewise.
6252 * misc/pwritev64.c: Likewise.
6253 * misc/readv.c: Likewise.
6254 * misc/reboot.c: Likewise.
6255 * misc/remap_file_pages.c: Likewise.
6256 * misc/removexattr.c: Likewise.
6257 * misc/revoke.c: Likewise.
6258 * misc/select.c: Likewise.
6259 * misc/setdomain.c: Likewise.
6260 * misc/setegid.c: Likewise.
6261 * misc/seteuid.c: Likewise.
6262 * misc/sethostid.c: Likewise.
6263 * misc/sethostname.c: Likewise.
6264 * misc/setregid.c: Likewise.
6265 * misc/setreuid.c: Likewise.
6266 * misc/setxattr.c: Likewise.
6267 * misc/sstk.c: Likewise.
6268 * misc/stty.c: Likewise.
6269 * misc/swapoff.c: Likewise.
6270 * misc/swapon.c: Likewise.
6271 * misc/sync.c: Likewise.
6272 * misc/syncfs.c: Likewise.
6273 * misc/syscall.c: Likewise.
6274 * misc/truncate.c: Likewise.
6275 * misc/ualarm.c: Likewise.
6276 * misc/usleep.c: Likewise.
6277 * misc/ustat.c: Likewise.
6278 * misc/utimes.c: Likewise.
6279 * misc/vhangup.c: Likewise.
6280 * misc/writev.c: Likewise.
6281 * posix/_exit.c: Likewise.
6282 * posix/alarm.c: Likewise.
6283 * posix/execve.c: Likewise.
6284 * posix/fexecve.c: Likewise.
6285 * posix/fork.c: Likewise.
6286 * posix/fpathconf.c: Likewise.
6287 * posix/getaddrinfo.c: Likewise.
6288 * posix/getegid.c: Likewise.
6289 * posix/geteuid.c: Likewise.
6290 * posix/getgid.c: Likewise.
6291 * posix/getgroups.c: Likewise.
6292 * posix/getlogin.c: Likewise.
6293 * posix/getlogin_r.c: Likewise.
6294 * posix/getpgid.c: Likewise.
6295 * posix/getpid.c: Likewise.
6296 * posix/getppid.c: Likewise.
6297 * posix/getresgid.c: Likewise.
6298 * posix/getresuid.c: Likewise.
6299 * posix/getsid.c: Likewise.
6300 * posix/getuid.c: Likewise.
6301 * posix/glob64.c: Likewise.
6302 * posix/nanosleep.c: Likewise.
6303 * posix/pathconf.c: Likewise.
6304 * posix/pause.c: Likewise.
6305 * posix/posix_madvise.c: Likewise.
6306 * posix/pread.c: Likewise.
6307 * posix/pread64.c: Likewise.
6308 * posix/pwrite.c: Likewise.
6309 * posix/pwrite64.c: Likewise.
6310 * posix/sched_getaffinity.c: Likewise.
6311 * posix/sched_getp.c: Likewise.
6312 * posix/sched_gets.c: Likewise.
6313 * posix/sched_primax.c: Likewise.
6314 * posix/sched_primin.c: Likewise.
6315 * posix/sched_rr_gi.c: Likewise.
6316 * posix/sched_setaffinity.c: Likewise.
6317 * posix/sched_setp.c: Likewise.
6318 * posix/sched_sets.c: Likewise.
6319 * posix/sched_yield.c: Likewise.
6320 * posix/setgid.c: Likewise.
6321 * posix/setlogin.c: Likewise.
6322 * posix/setpgid.c: Likewise.
6323 * posix/setresgid.c: Likewise.
6324 * posix/setresuid.c: Likewise.
6325 * posix/setsid.c: Likewise.
6326 * posix/setuid.c: Likewise.
6327 * posix/sleep.c: Likewise.
6328 * posix/spawni.c: Likewise.
6329 * posix/sysconf.c: Likewise.
6330 * posix/times.c: Likewise.
6331 * posix/wait.c: Likewise.
6332 * posix/wait3.c: Likewise.
6333 * posix/wait4.c: Likewise.
6334 * posix/waitpid.c: Likewise.
6335 * resolv/gai_sigqueue.c: Likewise.
6336 * resource/getpriority.c: Likewise.
6337 * resource/getrlimit.c: Likewise.
6338 * resource/getrusage.c: Likewise.
6339 * resource/nice.c: Likewise.
6340 * resource/setpriority.c: Likewise.
6341 * resource/setrlimit.c: Likewise.
6342 * resource/ulimit.c: Likewise.
6343 * rt/aio_cancel.c: Likewise.
6344 * rt/aio_fsync.c: Likewise.
6345 * rt/aio_read.c: Likewise.
6346 * rt/aio_sigqueue.c: Likewise.
6347 * rt/aio_suspend.c: Likewise.
6348 * rt/aio_write.c: Likewise.
6349 * rt/clock_getres.c: Likewise.
6350 * rt/clock_gettime.c: Likewise.
6351 * rt/clock_nanosleep.c: Likewise.
6352 * rt/clock_settime.c: Likewise.
6353 * rt/lio_listio.c: Likewise.
6354 * rt/mq_close.c: Likewise.
6355 * rt/mq_getattr.c: Likewise.
6356 * rt/mq_notify.c: Likewise.
6357 * rt/mq_open.c: Likewise.
6358 * rt/mq_receive.c: Likewise.
6359 * rt/mq_send.c: Likewise.
6360 * rt/mq_setattr.c: Likewise.
6361 * rt/mq_timedreceive.c: Likewise.
6362 * rt/mq_timedsend.c: Likewise.
6363 * rt/mq_unlink.c: Likewise.
6364 * rt/shm_open.c: Likewise.
6365 * rt/shm_unlink.c: Likewise.
6366 * rt/timer_create.c: Likewise.
6367 * rt/timer_delete.c: Likewise.
6368 * rt/timer_getoverr.c: Likewise.
6369 * rt/timer_gettime.c: Likewise.
6370 * rt/timer_settime.c: Likewise.
6371 * setjmp/__longjmp.c: Likewise.
6372 * setjmp/setjmp.c: Likewise.
6373 * signal/kill.c: Likewise.
6374 * signal/killpg.c: Likewise.
6375 * signal/raise.c: Likewise.
6376 * signal/sigaction.c: Likewise.
6377 * signal/sigaltstack.c: Likewise.
6378 * signal/sigblock.c: Likewise.
6379 * signal/sigignore.c: Likewise.
6380 * signal/sigintr.c: Likewise.
6381 * signal/signal.c: Likewise.
6382 * signal/sigpause.c: Likewise.
6383 * signal/sigpending.c: Likewise.
6384 * signal/sigqueue.c: Likewise.
6385 * signal/sigreturn.c: Likewise.
6386 * signal/sigset.c: Likewise.
6387 * signal/sigsetmask.c: Likewise.
6388 * signal/sigstack.c: Likewise.
6389 * signal/sigsuspend.c: Likewise.
6390 * signal/sigtimedwait.c: Likewise.
6391 * signal/sigvec.c: Likewise.
6392 * signal/sigwait.c: Likewise.
6393 * signal/sigwaitinfo.c: Likewise.
6394 * signal/sysv_signal.c: Likewise.
6395 * socket/accept.c: Likewise.
6396 * socket/accept4.c: Likewise.
6397 * socket/bind.c: Likewise.
6398 * socket/connect.c: Likewise.
6399 * socket/getpeername.c: Likewise.
6400 * socket/getsockname.c: Likewise.
6401 * socket/getsockopt.c: Likewise.
6402 * socket/isfdtype.c: Likewise.
6403 * socket/listen.c: Likewise.
6404 * socket/recv.c: Likewise.
6405 * socket/recvfrom.c: Likewise.
6406 * socket/recvmsg.c: Likewise.
6407 * socket/send.c: Likewise.
6408 * socket/sendmsg.c: Likewise.
6409 * socket/sendto.c: Likewise.
6410 * socket/setsockopt.c: Likewise.
6411 * socket/shutdown.c: Likewise.
6412 * socket/sockatmark.c: Likewise.
6413 * socket/socket.c: Likewise.
6414 * socket/socketpair.c: Likewise.
6415 * stdio-common/ctermid.c: Likewise.
6416 * stdio-common/cuserid.c: Likewise.
6417 * stdio-common/remove.c: Likewise.
6418 * stdio-common/rename.c: Likewise.
6419 * stdio-common/renameat.c: Likewise.
6420 * stdio-common/tempname.c: Likewise.
6421 * stdlib/getcontext.c: Likewise.
6422 * stdlib/makecontext.c: Likewise.
6423 * stdlib/setcontext.c: Likewise.
6424 * stdlib/swapcontext.c: Likewise.
6425 * stdlib/system.c: Likewise.
6426 * streams/fattach.c: Likewise.
6427 * streams/fdetach.c: Likewise.
6428 * streams/getmsg.c: Likewise.
6429 * streams/getpmsg.c: Likewise.
6430 * streams/putmsg.c: Likewise.
6431 * streams/putpmsg.c: Likewise.
6432 * sysdeps/unix/bsd/getpt.c: Likewise.
6433 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6434 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6435 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6437 Likewise.
6438 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6439 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6440 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6441 * sysvipc/msgctl.c: Likewise.
6442 * sysvipc/msgget.c: Likewise.
6443 * sysvipc/msgrcv.c: Likewise.
6444 * sysvipc/msgsnd.c: Likewise.
6445 * sysvipc/semctl.c: Likewise.
6446 * sysvipc/semget.c: Likewise.
6447 * sysvipc/semop.c: Likewise.
6448 * sysvipc/semtimedop.c: Likewise.
6449 * sysvipc/shmat.c: Likewise.
6450 * sysvipc/shmctl.c: Likewise.
6451 * sysvipc/shmdt.c: Likewise.
6452 * sysvipc/shmget.c: Likewise.
6453 * termios/tcdrain.c: Likewise.
6454 * termios/tcflow.c: Likewise.
6455 * termios/tcflush.c: Likewise.
6456 * termios/tcgetattr.c: Likewise.
6457 * termios/tcgetpgrp.c: Likewise.
6458 * termios/tcsendbrk.c: Likewise.
6459 * termios/tcsetattr.c: Likewise.
6460 * termios/tcsetpgrp.c: Likewise.
6461 * time/adjtime.c: Likewise.
6462 * time/clock.c: Likewise.
6463 * time/getitimer.c: Likewise.
6464 * time/gettimeofday.c: Likewise.
6465 * time/setitimer.c: Likewise.
6466 * time/settimeofday.c: Likewise.
6467 * time/stime.c: Likewise.
6468 * time/time.c: Likewise.
6469
64702012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 6471
a20492cf
PT
6472 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6473 /usr/old/bin.
6474
72e182e3
PT
6475 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6476 instead of spaces.
6477 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6478
fbeafede
JM
64792012-11-03 Joseph Myers <joseph@codesourcery.com>
6480
5b5b04d6
JM
6481 [BZ #14796]
6482 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6483 FE_TONEAREST before applying Dekker multiplication and Knuth
6484 addition. Clear inexact exceptions and check for exact zero
6485 results afterwards.
6486 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6487 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6488 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6489 * math/libm-test.inc (fma_test): Add more tests.
6490 (fma_test_towardzero): Likewise.
6491 (fma_test_downward): Likewise.
6492 (fma_test_upward): Likewise.
6493 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6494 function.
6495 (libc_fesetround): New macro.
6496 (libc_fesetroundf): Likewise.
6497 (libc_fesetroundl): Likewise.
6498 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6499 function.
6500 (libc_fesetround_387): Likewise.
6501 (libc_fesetroundf): New macro.
6502 (libc_fesetround): Likewise.
6503 (libc_fesetroundl): Likewise.
6504 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6505 function.
6506 (libc_fesetroundf): New macro.
6507 (libc_fesetround): Likewise.
6508 (libc_fesetroundl): Likewise.
6509 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6510 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6511 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6512 libm_hidden_ver.
6513 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6514 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6515 libm_hidden_def.
6516 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6517 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6518 libm_hidden_ver.
6519 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6520 libm_hidden_def.
6521
fbeafede
JM
6522 [BZ #3439]
6523 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6524 integer constant usable in #if and use that to give value to enum
6525 constant.
6526 (FE_DIVBYZERO): Likewise.
6527 (FE_UNDERFLOW): Likewise.
6528 (FE_OVERFLOW): Likewise.
6529 (FE_INVALID): Likewise.
6530 (FE_INVALID_SNAN): Likewise.
6531 (FE_INVALID_ISI): Likewise.
6532 (FE_INVALID_IDI): Likewise.
6533 (FE_INVALID_ZDZ): Likewise.
6534 (FE_INVALID_IMZ): Likewise.
6535 (FE_INVALID_COMPARE): Likewise.
6536 (FE_INVALID_SOFTWARE): Likewise.
6537 (FE_INVALID_SQRT): Likewise.
6538 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6539 (FE_TONEAREST): Likewise.
6540 (FE_TOWARDZERO): Likewise.
6541 (FE_UPWARD): Likewise.
6542 (FE_DOWNWARD): Likewise.
6543 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6544 (FE_DIVBYZERO): Likewise.
6545 (FE_OVERFLOW): Likewise.
6546 (FE_UNDERFLOW): Likewise.
6547 (FE_INEXACT): Likewise.
6548 (FE_TONEAREST): Likewise.
6549 (FE_DOWNWARD): Likewise.
6550 (FE_UPWARD): Likewise.
6551 (FE_TOWARDZERO): Likewise.
6552 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6553 (FE_UNDERFLOW): Likewise.
6554 (FE_OVERFLOW): Likewise.
6555 (FE_DIVBYZERO): Likewise.
6556 (FE_INVALID): Likewise.
6557 (FE_TONEAREST): Likewise.
6558 (FE_TOWARDZERO): Likewise.
6559 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6560 (FE_OVERFLOW): Likewise.
6561 (FE_UNDERFLOW): Likewise.
6562 (FE_DIVBYZERO): Likewise.
6563 (FE_INEXACT): Likewise.
6564 (FE_TONEAREST): Likewise.
6565 (FE_TOWARDZERO): Likewise.
6566 (FE_UPWARD): Likewise.
6567 (FE_DOWNWARD): Likewise.
6568 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6569 (FE_DIVBYZERO): Likewise.
6570 (FE_OVERFLOW): Likewise.
6571 (FE_UNDERFLOW): Likewise.
6572 (FE_INEXACT): Likewise.
6573 (FE_TONEAREST): Likewise.
6574 (FE_DOWNWARD): Likewise.
6575 (FE_UPWARD): Likewise.
6576 (FE_TOWARDZERO): Likewise.
6577
105ca950
CM
65782012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6579
6580 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6581
a542b389
AS
65822012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6583
6584 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6585 commands. Quote $PWD.
6586 (blacklist_exports): Don't use remove_newlines. Replace "declare
6587 -x" by "export".
6588 (remove_newlines): Remove.
6589
f62c8abc
L
65902012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6591
6592 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6593 * stdlib/stdlib.h (atof): Moved to ...
6594 * include/bits/stdlib-float.h: Here. New file.
6595 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6596 * stdlib/bits/stdlib-float.h: New file.
6597 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6598 -mno-sse -mno-mmx.
6599 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6600 <xmmintrin.h>.
6601
0155d5b2
JM
66022012-11-02 Joseph Myers <joseph@codesourcery.com>
6603
a68d0680
JM
6604 * conform/conformtest.pl (@headers): Add fenv.h.
6605 * conform/data/fenv.h-data: New file.
6606 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6607 include of <math/fenv.h>.
6608
caf7f573
JM
6609 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6610 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6611 && !UNIX98]. Enables tests for XOPEN2K8.
6612 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6613 POSIX2008]: Likewise.
6614
6c073ad6
JM
6615 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6616 (struct rusage): Do not expect type or its members.
6617
0155d5b2
JM
6618 [BZ #3439]
6619 * math/math.h (FP_NAN): Define macro to integer constant usable in
6620 #if and use that to give value to enum constant.
6621 (FP_INFINITE): Likewise.
6622 (FP_ZERO): Likewise.
6623 (FP_SUBNORMAL): Likewise.
6624 (FP_NORMAL): Likewise.
6625
b5dcacb4
AS
66262012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6627
6628 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6629 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6630 arguments.
6631
f7934be8
RM
66322012-11-02 Roland McGrath <roland@hack.frob.com>
6633
6634 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6635 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6636 autoconf-time if not.
6637 * configure.in: Remove AC_PREREQ.
6638
d7d08bde
TMQMF
66392012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6640
6641 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6642 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6643 of the internal implementation.
6644
dcdae19a
JM
66452012-11-02 Joseph Myers <joseph@codesourcery.com>
6646
6647 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6648 except include of <misc/sys/syslog.h>.
6649
d6cffd3e
AS
66502012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6651
6652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6653 function returns with a NULL context exit with zero.
6654
b3563932
TMQMF
66552012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6656
6657 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6658
b288a93d
L
66592012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6660
6661 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6662 (run_program_cmd): This.
6663 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6664 (tst_langinfo): New variable. Use it.
6665
a2421a68
SAS
66662012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6667
6668 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6669 floating point opcodes.
6670
6f796e1b
TS
66712012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6672
7402596b
TS
6673 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6674 variable.
6675
d0d4f868
TS
6676 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6677
6f796e1b
TS
6678 * sysdeps/mach/hurd/powerpc: Remove directory.
6679 * sysdeps/mach/powerpc: Likewise.
6680
4da224a2
AS
66812012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6682
6683 * scripts/check-local-headers.sh: Ignore c++ headers.
6684
341dd673
TS
66852012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6686
6687 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6688 __libc_cleanup_region_start argument.
6689
473611b2
JM
66902012-11-01 Joseph Myers <joseph@codesourcery.com>
6691
6692 [BZ #14784]
6693 [BZ #14785]
6694 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6695 x * y using scaling, not as x * y + z.
6696 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6697 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6698 * math/libm-test.inc (fma_test): Add more tests.
6699 (fma_test_towardzero): Likewise.
6700 (fma_test_downward): Likewise.
6701 (fma_test_upward): Likewise.
6702
4078da3d
TS
67032012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6704
6705 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6706
903252aa
JM
67072012-10-31 Joseph Myers <joseph@codesourcery.com>
6708
6709 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6710 New variable.
6711
cbc818d0
TS
67122012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6713
6714 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6715
5a03cb1e
AS
67162012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6717
6718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6719 Fix sort order.
6720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6721 Likewise.
6722
90aff2ff
TMQMF
67232012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6724
6725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6726 Fix the order of the list for glibc 2.17.
6727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6728 Likewise.
6729
1818fcb7
AS
67302012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6731
6732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6733
ef82f4da
JM
67342012-10-31 Joseph Myers <joseph@codesourcery.com>
6735
16a0e2ec
JM
6736 [BZ #14610]
6737 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6738 for low part of x being zero before using __atanl (y).
6739 * math/libm-test.inc (atan2_test): Add another test.
6740
0eb69512
JM
6741 * manual/install.texi (Configuring and compiling): Document
6742 general use of test-wrapper and test-wrapper-env.
6743 * INSTALL: Regenerated.
6744
ef82f4da
JM
6745 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6746 (__fma): Do not extract and scale down low bits on after-rounding
6747 systems when result rounded to normal precision would have normal
6748 exponent.
6749 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6750 (__fmal): Do not extract and scale down low bits on after-rounding
6751 systems when result rounded to normal precision would have normal
6752 exponent.
6753 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6754 (__fmal): Do not extract and scale down low bits on after-rounding
6755 systems when result rounded to normal precision would have normal
6756 exponent.
6757 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6758 macro.
6759 (fma_test): Add more tests.
6760 (fma_test_towardzero): Likewise.
6761 (fma_test_downward): Likewise.
6762 (fma_test_upward): Likewise.
6763
954ef0d9
L
67642012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6765
6766 * sysdeps/i386/tininess.h: Renamed to ...
6767 * sysdeps/x86/tininess.h: This.
6768 * sysdeps/x86_64/tininess.h: Removed.
6769
df61ffb2
JM
67702012-10-30 Joseph Myers <joseph@codesourcery.com>
6771
6772 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6773 input. Use $(build-program-cmd).
6774 ($(objpfx)tst-array1-static.out): Likewise.
6775 ($(objpfx)tst-array2.out): Likewise.
6776 ($(objpfx)tst-array3.out): Likewise.
6777 ($(objpfx)tst-array4.out): Likewise.
6778 ($(objpfx)tst-array5.out): Likewise.
6779 ($(objpfx)tst-array5-static.out): Likewise.
6780
01767843
CM
67812012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6782
47cc1490
CM
6783 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6784 if defined.
6785
01767843
CM
6786 * nss/nsswitch.h (nss_interface_function): Provide new
6787 macro for use with NSS functions.
6788 * grp/initgroups.c: Use new macro.
6789 * nss/getXXbyYY.c: Likewise.
6790 * nss/getXXbyYY_r.c: Likewise.
6791 * nss/getXXent.c: Likewise.
6792 * nss/getXXent_r.c: Likewise.
6793 * sysdeps/posix/getaddrinfo.c: Likewise.
6794
8321aa97
AJ
67952012-10-30 Andreas Jaeger <aj@suse.de>
6796
6797 * po/ru.po: Update Russion translation from translation project.
6798
2a27fd6d
JM
67992012-10-30 Joseph Myers <joseph@codesourcery.com>
6800
8627a232
JM
6801 [BZ #14152]
6802 [BZ #14783]
6803 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6804 result and shift together with sticky bit instead of replicating
6805 round-to-nearest rounding.
6806 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6807 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6808 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6809 missing underflow exceptions.
6810 (fma_test_towardzero): Add more tests.
6811 (fma_test_downward): Likewise.
6812 (fma_test_upward): Likewise.
6813
2a27fd6d
JM
6814 [BZ #14047]
6815 * sysdeps/generic/tininess.h: New file.
6816 * sysdeps/i386/tininess.h: Likewise.
6817 * sysdeps/sh/tininess.h: Likewise.
6818 * sysdeps/x86_64/tininess.h: Likewise.
6819 * stdlib/tst-strtod-underflow.c: Likewise.
6820 * stdlib/tst-tininess.c: Likewise.
6821 * stdlib/strtod_l.c: Include <tininess.h>.
6822 (round_and_return): Do not set errno for exact underflow cases.
6823 Force an underflow exception when setting errno for underflow.
6824 Determine underflow based on rounding to normal precision if
6825 TININESS_AFTER_ROUNDING.
6826 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6827 ERANGE for exact underflow cases.
6828 * stdlib/Makefile (tests): Add tst-tininess and
6829 tst-strtod-underflow.
6830 ($(objpfx)tst-tininess): Use $(link-libm).
6831 ($(objpfx)tst-strtod-underflow): Likewise.
6832
e7170363
AJ
68332012-10-30 Andreas Jaeger <aj@suse.de>
6834
e5088dc6
AJ
6835 [BZ#14767]
6836 * elf/Makefile (tests): Remove conditional for have-initfini-array
6837 since this is now always required and the variable does not exist
6838 anymore.
6839 (tests-static): Likewise.
6840 (modules-names): Likewise.
6841
e7170363 6842 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
6843
6844 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6845 merged with constructor/destructor.
6846 (init_array): Likewise.
6847 * elf/tst-array2dep.c (fini_array): Likewise.
6848 (init_array): Likewise.
6849
60457d8a
MF
68502012-10-29 Mike Frysinger <vapier@gentoo.org>
6851
6852 * manual/message.texi: Delete @cartouche tags.
6853
8bece752
PT
68542012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6855
94ce799f
PT
6856 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6857 EOPNOTSUPP.
6858 * sysdeps/mach/hurd/fsync.c: Likewise.
6859
8bece752
PT
6860 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6861 [_POSIX_REALTIME_SIGNALS]: Change condition to
6862 [_POSIX_REALTIME_SIGNALS > 0].
6863
86ebe6b1
AJ
68642012-10-27 Andreas Jaeger <aj@suse.de>
6865
6866 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6867 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6868 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6869 [__WORDSIZE != 64]: Likewise.
6870
54399c08
L
68712012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6872
6873 * iconvdata/tst-table.sh: Remove ${SHELL}.
6874 * iconvdata/tst-tables.sh: Likewise.
6875
e2211bed
DM
68762012-10-25 David S. Miller <davem@davemloft.net>
6877
6878 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6879 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6880 of strtoull.
6881
f303f97c
DM
6882 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6883 ifunc-impl-list.c
6884 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6885 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6886 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6887 file.
6888
1e9d84cd
RM
68892012-10-25 Roland McGrath <roland@hack.frob.com>
6890
6891 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6892 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6893 __getdirentries.
6894
df381762
JM
68952012-10-25 Joseph Myers <joseph@codesourcery.com>
6896 Jim Blandy <jimb@codesourcery.com>
6897
6898 * scripts/cross-test-ssh.sh: New file.
6899 * manual/install.texi (Configuring and compiling): Document use of
6900 cross-test-ssh.sh.
6901 * INSTALL: Regenerated.
6902
bff64913
PT
69032012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6904
6905 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6906 EOPNOTSUPP.
6907
25fe8932
JM
69082012-10-25 Joseph Myers <joseph@codesourcery.com>
6909
6910 * Makeconfig (run-program-prefix): Fix comment.
6911
cc1290d0
JM
69122012-10-24 Joseph Myers <joseph@codesourcery.com>
6913 Jim Blandy <jimb@codesourcery.com>
6914
6915 * Makeconfig (test-wrapper): New variable,
6916 (test-wrapper-env): Likewise.
6917 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6918 (run-built-tests): Define to yes.
6919 (run-program-prefix): Use $(test-wrapper).
6920 (built-program-cmd): Likewise.
6921 * Rules (make-test-out): Use $(test-wrapper-env) and
6922 $(host-built-program-cmd).
6923 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6924 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6925 tst-pathopt.sh.
6926 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6927 $(test-wrapper-env) to tst-rtld-load-self.sh.
6928 ($(objpfx)order2.out): Use $(test-wrapper).
6929 ($(objpfx)tst-initorder.out): Likewise.
6930 ($(objpfx)tst-initorder2.out): Likewise.
6931 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6932 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6933 (test_wrapper_env): New variable. Use it to run ld.so.
6934 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6935 Use it to run ld.so.
6936 (test_wrapper_env): Likewise.
6937 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6938 $(test-wrapper) to run-iconv-test.sh.
6939 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6940 (ICONV): Use $test_wrapper.
6941 * posix/Makefile ($(objpfx)globtest.out): Pass
6942 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6943 globtest.sh, not $(run-program-prefix).
6944 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6945 (test_wrapper): Likewise.
6946 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6947 set together with run_via_rtld_prefix.
6948 (run_program_prefix): Define in terms of test_wrapper and
6949 run_via_rtld_prefix.
6950
6e6249d0
RM
69512012-10-24 Roland McGrath <roland@hack.frob.com>
6952
6953 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6954 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6955 Targets removed.
6956
6957 [BZ #14743]
6958 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6959 Declare __clock_getres, __clock_gettime, __clock_settime,
6960 __clock_nanosleep, and __clock_getcpuclockid.
6961 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6962 Remove librt_hidden_def (clock_gettime).
6963 * sysdeps/unix/clock_gettime.c: Likewise.
6964 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6965 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6966 * rt/clock_getres.c: Define __clock_getres as an alias.
6967 * sysdeps/posix/clock_getres.c: Likewise.
6968 * rt/clock_settime.c: Define __clock_settime as an alias.
6969 * sysdeps/unix/clock_settime.c: Likewise.
6970 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6971 * sysdeps/unix/clock_nanosleep.c: Likewise.
6972 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6973 * rt/clock-compat.c: New file.
6974 * rt/Makefile (librt-routines): Add clock-compat and move
6975 $(clock-routines) to ...
6976 (routines): ... here, new variable.
6977 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6978 Don't add get_clockfreq here.
6979 * rt/Versions (libc: GLIBC_2.17): New version set.
6980 Add clock_* symbols here.
6981 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6982 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6983 (GLIBC_2.17): Add clock_* symbols.
6984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6986 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6988 Likewise.
6989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6990 Likewise.
6991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6993 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
6995 * NEWS: Mention the move.
6996
6997 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6998 Use __open, __read, __close rather than their public counterparts.
6999 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7000 (__get_clockfreq_via_cpuinfo): Likewise.
7001 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7002 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7003
7004 * config.h.in (HAVE_IFUNC): New #undef.
7005 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7006 was successful.
7007 * configure: Regenerated.
7008
0cae3f4b
MF
70092012-10-24 Mike Frysinger <vapier@gentoo.org>
7010
7011 * configure.in: Move READELF check to start of file.
7012 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7013 libc_cv_asm_gnu_indirect_function in the process.
7014 * configure: Regenerated.
7015
8175a253
MF
70162012-10-24 Mike Frysinger <vapier@gentoo.org>
7017
7018 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7019 send the output to /dev/null.
7020 (libc_cv_cc_with_libunwind): Likewise.
7021 (libc_cv_as_noexecstack): Likewise.
7022 * configure: Regenerate.
7023
0708a7d1
JM
70242012-10-24 Joseph Myers <joseph@codesourcery.com>
7025
10b40d85
JM
7026 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7027
0708a7d1
JM
7028 * posix/globtest.sh (TMPDIR): Do not set.
7029 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7030 (testout): Likewise.
7031
9fddec1a
AJ
70322012-10-24 Andreas Jaeger <aj@suse.de>
7033
3a8db22f
AJ
7034 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7035 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7036 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7037 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7038 posix_fadvise64, posix_fallocate64.
7039
9fddec1a
AJ
7040 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7041 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7042 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7043 Likewise.
7044 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7045 Likewise.
7046 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7047
7048 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7049 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7050 <bits/fcntl-linux.h>.
7051 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7052
7053 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7054 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7055 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7056 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7057 [__WORDSIZE != 64]: Likewise.
7058
ebfd1bbd
JM
70592012-10-23 Joseph Myers <joseph@codesourcery.com>
7060
03ac099f
JM
7061 * Makeconfig (run-built-tests): New variable.
7062 * Rules [$(cross-compiling) = yes]: Change condition to
7063 [$(run-built-tests) = no].
7064 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7065 to [$(run-built-tests) = yes].
7066 * elf/Makefile [$(cross-compiling) = no]: Likewise
7067 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7068 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7069 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7070 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7071 * io/Makefile [$(cross-compiling) = no]: Likewise.
7072 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7073 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7074 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7075 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7076 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7077 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7078 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7079 * string/Makefile [$(cross-compiling) = no]: Likewise.
7080
ebfd1bbd
JM
7081 * posix/Makefile ($(objpfx)globtest.out): Pass
7082 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7083 $(rtld-installed-name).
7084 * posix/globtest.sh (elf_objpfx): Remove variable.
7085 (rtld_installed_name): Likewise.
7086 (library_path): Likewise.
7087 (run_program_prefix): New variable. Use for running globtest
7088 binary.
7089
166bca24
JB
70902012-10-23 Jim Blandy <jimb@codesourcery.com>
7091 Joseph Myers <joseph@codesourcery.com>
7092
7093 * Makeconfig (host-built-program-cmd): New variable.
7094 * elf/Makefile (tst-stackguard1-ARGS): Use
7095 $(host-built-program-cmd).
7096 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7097 (tst-spawn-ARGS): Likewise.
7098 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7099
88866099
JM
71002012-10-23 Joseph Myers <joseph@codesourcery.com>
7101 Jim Blandy <jimb@codesourcery.com>
7102
7103 * Makeconfig (run-via-rtld-prefix): New variable.
7104 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7105 (built-program-cmd): Likewise.
7106
b4b4c296
AJ
71072012-10-22 Andreas Jaeger <aj@suse.de>
7108
7109 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7110 __O_RSYNC if it exists, otherwise to O_SYNC.
7111
6fb54a22
JB
71122012-10-22 Jim Blandy <jimb@codesourcery.com>
7113 Joseph Myers <joseph@codesourcery.com>
7114
7115 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7116 /dev/null.
7117 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7118 from /dev/null
7119 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7120 /dev/null.
7121
481b90b9
AJ
71222012-10-22 Andreas Jaeger <aj@suse.de>
7123
2a0e2669
AJ
7124 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7125 Define always.
7126 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7127
76e38f9a
AJ
7128 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7129 bits/fcntl-linux.h.
7130
7cd37b43
AJ
7131 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7132 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7133
481b90b9
AJ
7134 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7135 to __O_LARGEFILE.
7136 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7137 to __O_LARGEFILE.
7138
aba75984
JB
71392012-10-21 Jim Blandy <jimb@codesourcery.com>
7140 Joseph Myers <joseph@codesourcery.com>
7141
7142 * config.make.in (NM): New variable.
7143
88d4247f
AJ
71442012-10-21 Andreas Jaeger <aj@suse.de>
7145
7146 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7147 definitions and declarations that are provided by
7148 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7149
f2eed205
L
71502012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7151
7152 [BZ #14683]
7153 * elf/Makefile (tests-static): Add tst-leaks1-static.
7154 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7155 ($(objpfx)tst-leaks1-static): New rule.
7156 ($(objpfx)tst-leaks1-static-mem): Likewise.
7157 (tst-leaks1-static-ENV): New macro.
7158 * elf/dl-open.c (dl_open_worker): Check the main application
7159 only if SHARED is defined.
7160 * elf/tst-leaks1-static.c: New file.
7161
335e6931
AJ
71622012-10-20 Andreas Jaeger <aj@suse.de>
7163
7164 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7165 generic values for Linux.
7166 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7167 and declarations that are provided by <bits/fcntl-linux.h> and
7168 include <bits/fcntl-linux.h>.
7169 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7170 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7171
ac5c94d3
RM
71722012-10-20 Roland McGrath <roland@hack.frob.com>
7173
7174 * io/fcntl.h: Move include of <bits/types.h> to the top and
7175 include it unconditionally.
7176
de54b33a
L
71772012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7178
228cfb01
L
7179 * wcsmbs/Makefile (tests-ifunc): New variable.
7180 (tests): Add $(tests-ifunc).
7181 * wcsmbs/test-wcschr-ifunc.c: New file.
7182 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7183 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7184 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7185 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7186 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7187
69f07e5f
L
7188 * string/Makefile (tests-ifunc): New variable.
7189 (tests): Add $(tests-ifunc).
7190 * string/test-memccpy.c (TEST_NAME): New macro.
7191 * string/test-memchr.c (TEST_NAME): Likewise.
7192 * string/test-memcmp.c (TEST_NAME): Likewise.
7193 * string/test-memcpy.c (TEST_NAME): Likewise.
7194 * string/test-memmem.c (TEST_NAME): Likewise.
7195 * string/test-memmove.c (TEST_NAME): Likewise.
7196 * string/test-memset.c (TEST_NAME): Likewise.
7197 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7198 * string/test-stpcpy.c (TEST_NAME): Likewise.
7199 * string/test-stpncpy.c (TEST_NAME): Likewise.
7200 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7201 * string/test-strcasestr.c (TEST_NAME): Likewise.
7202 * string/test-strcat.c (TEST_NAME): Likewise.
7203 * string/test-strchr.c (TEST_NAME): Likewise.
7204 * string/test-strcmp.c(TEST_NAME): Likewise.
7205 * string/test-strcpy.c (TEST_NAME): Likewise.
7206 * string/test-strcspn.c (TEST_NAME): Likewise.
7207 * string/test-strlen.c (TEST_NAME): Likewise.
7208 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7209 * string/test-strncmp.c (TEST_NAME): Likewise.
7210 * string/test-strncpy.c (TEST_NAME): Likewise.
7211 * string/test-strnlen.c (TEST_NAME): Likewise.
7212 * string/test-strpbrk.c (TEST_NAME): Likewise.
7213 * string/test-strrchr.c (TEST_NAME): Likewise.
7214 * string/test-strspn.c (TEST_NAME): Likewise.
7215 * string/test-strstr.c (TEST_NAME): Likewise.
7216 * string/test-bcopy-ifunc.c: New file.
7217 * string/test-bzero-ifunc.c: Likewise.
7218 * string/test-memccpy-ifunc.c: Likewise.
7219 * string/test-memchr-ifunc.c: Likewise.
7220 * string/test-memcmp-ifunc.c: Likewise.
7221 * string/test-memcpy-ifunc.c: Likewise.
7222 * string/test-memmem-ifunc.c: Likewise.
7223 * string/test-memmove-ifunc.c: Likewise.
7224 * string/test-mempcpy-ifunc.c: Likewise.
7225 * string/test-memset-ifunc.c: Likewise.
7226 * string/test-rawmemchr-ifunc.c: Likewise.
7227 * string/test-stpcpy-ifunc.c: Likewise.
7228 * string/test-stpncpy-ifunc.c: Likewise.
7229 * string/test-strcasecmp-ifunc.c: Likewise.
7230 * string/test-strcasestr-ifunc.c: Likewise.
7231 * string/test-strcat-ifunc.c: Likewise.
7232 * string/test-strchr-ifunc.c: Likewise.
7233 * string/test-strchrnul-ifunc.c: Likewise.
7234 * string/test-strcmp-ifunc.c: Likewise.
7235 * string/test-strcpy-ifunc.c: Likewise.
7236 * string/test-strcspn-ifunc.c: Likewise.
7237 * string/test-strlen-ifunc.c: Likewise.
7238 * string/test-strncasecmp-ifunc.c: Likewise.
7239 * string/test-strncat-ifunc.c: Likewise.
7240 * string/test-strncmp-ifunc.c: Likewise.
7241 * string/test-strncpy-ifunc.c: Likewise.
7242 * string/test-strnlen-ifunc.c: Likewise.
7243 * string/test-strpbrk-ifunc.c: Likewise.
7244 * string/test-strrchr-ifunc.c: Likewise.
7245 * string/test-strspn-ifunc.c: Likewise.
7246 * string/test-strstr-ifunc.c: Likewise.
7247
de54b33a
L
7248 * debug/Makefile (tests-ifunc): New variable.
7249 (tests): Add $(tests-ifunc).
7250 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7251 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7252 * debug/test-stpcpy_chk-ifunc.c: New file.
7253 * debug/test-strcpy_chk-ifunc.c: Likewise.
7254
88481c16
SP
72552012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7256
7257 [BZ #13601]
7258 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7259 header is not read in.
7260
135948bd
JM
72612012-10-19 Joseph Myers <joseph@codesourcery.com>
7262
89f1c388
JM
7263 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7264 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7265 directly. Pass built executable to script as
7266 $(built-program-cmd).
7267 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7268 $testprogram without using LD_LIBRARY_PATH and $ldso.
7269
e40a0d21
JM
7270 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7271 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7272 $(rtld-installed-name).
7273 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7274 (rtld_installed_name): Likewise.
7275 (library_path): Likewise.
7276 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7277 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7278 $(run-program-prefix) to tst-tables.sh.
7279 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7280 it to run tst-table-from and tst-table-to.
7281 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7282 Pass it to tst-table.sh.
7283 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7284 $(run-program-prefix) to tst-gettext.sh.
7285 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7286 tst-translit.sh.
7287 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7288 tst-gettext2.sh.
7289 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7290 to run tst-gettext.
7291 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7292 to run tst-gettext2.
7293 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7294 to run tst-translit.
7295 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7296 $(run-program-prefix) to tst-mtrace.sh.
7297 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7298 to run tst-mtrace.
7299 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7300 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7301 $(rtld-installed-name).
7302 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7303 (rtld_installed_name): Likewise.
7304 (run_program_prefix): New variable. Use it to run wordexp-test.
7305
728e272a
JM
7306 * Makeconfig (ARCH): Remove all definitions.
7307 (machine): Likewise.
7308 [ARCH]: Remove conditional code.
7309 [!objdir]: Give error.
7310 [!objdir] (objpfx): Remove.
7311 [!objdir] (common-objpfx): Likewise.
7312 [!objdir] (common-objdir): Likewise.
7313 * configure.in (config_makefile): Remove. Hardcode Makefile in
7314 AC_CONFIG_FILES call.
7315 * configure: Regenerated.
7316
d528cdcf
JM
7317 [BZ #13888]
7318 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7319 or TMPDIR.
7320 (testout): Likewise.
7321
135948bd
JM
7322 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7323 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7324 $(rtld-installed-name).
7325 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7326 (rtld_installed_name): Likwise.
7327 (runit): Remove function.
7328 (run_getconf): New variable, Use it for running getconf binary.
7329
38c78296
L
73302012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7331
7332 [BZ #14716]
7333 * string/test-memmem.c (check_result): New function.
7334 (do_one_test): Use it.
7335 (check1): New function.
7336 (test_main): Use it.
7337
d077f65f
MT
73382012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7339
7340 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7341
ced52c71
JM
73422012-10-18 Joseph Myers <joseph@codesourcery.com>
7343
7344 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7345 (_G_LSEEK64): Likewise.
7346 (_G_MMAP64): Likewise.
7347 (_G_FSTAT64): Likewise.
7348 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7349 (_G_LSEEK64): Likewise.
7350 (_G_MMAP64): Likewise.
7351 (_G_FSTAT64): Likewise.
7352 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7353 unconditional. Call __mmap64 directly.
7354 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7355 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7356 __lseek64 directly.
7357 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7358 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7359 __mmap64 directly.
7360 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7361 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7362 __lseek64 directly.
7363 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7364 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7365 __lseek64 directly.
7366 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7367 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7368 __lseek64 directly.
7369 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7370 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7371 __fxstat64 directly.
7372 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7373 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7374 unconditional.
7375 (freopen64) [!_G_OPEN64]: Remove conditional code.
7376 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7377 unconditional.
7378 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7379 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7380 unconditional.
7381 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7382 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7383 unconditional.
7384 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7385 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7386 unconditional.
7387 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7388 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7389 unconditional.
7390 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7391 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7392 unconditional.
7393 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7394 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7395 unconditional.
7396 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7397
b741de23
SP
73982012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7399
7400 [BZ #12140]
7401 * manual/memory.texi (Malloc Tunable Parameters): Add note
7402 about free list pointers overwriting some perturb bytes.
7403 Wording suggested by Roland McGrath.
7404
f9b9d9c9
JM
74052012-10-17 Joseph Myers <joseph@codesourcery.com>
7406
7407 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7408 (lgamma_test): Likewise.
7409 (tgamma_test): Likewise.
7410
172a631a
FW
74112012-10-16 Florian Weimer <fweimer@redhat.com>
7412
7413 [BZ #14700]
7414 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7415 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7416
e9f37252
MK
74172012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7418
7419 * NEWS: Mention BZ #14716.
7420 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7421 when removing AVAILABLE1_USES_J macro.
7422
d394eb74
L
74232012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7424
7425 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7426 (__bswap_64): __uint64_t for unsigned 64-bit int.
7427
ca38dc17
AS
74282012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7429
7430 * include/string.h (memmem): Declare libc hidden alias.
7431 * string/memmem.c (memmem): Define libc hidden alias.
7432 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7433 __read, __close instead of open, read, close.
7434
9a387d1f
L
74352012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7436
ac49ecaf
L
7437 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7438 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7439 global and hidden.
7440 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7441 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7442 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7443 Likewise.
7444 (__rawmemchr_sse2): Likewise.
7445 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7446 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7447 (__strchr_sse2): Likewise.
7448 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7449 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7450 (__strcasecmp_sse2): Likewise.
7451 (__strncasecmp_sse2): Likewise.
7452 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7453 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7454 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7455 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7456 (__strrchr_sse2): Likewise.
7457 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7458 ifunc-impl-list.c.
7459 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7460 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7461 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7462 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7463 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7464 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7465 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7466 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7467 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7468 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7469 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7470 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7471 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7472 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7473 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7474 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7475 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7476 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7477 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7478 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7479 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7480 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7481 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7482 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7483 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7484 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7485 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7486 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7487 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7488 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7489
b090e8ea
L
7490 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7491 global and hidden.
7492 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7493 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7494 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7495 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7496 Likewise.
7497 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7498 Likewise.
7499 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7500 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7501 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7502 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7503 ifunc-impl-list.c.
7504 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7505 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7506 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7507 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7508 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7509 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7510 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7511 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7512 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7513 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7514 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7515 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7516 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7517 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7518 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7519 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7520 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7521 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7522 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7523 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7524 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7525 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7526 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7527 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7528 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7529 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7530 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7531 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7532 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7533 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7534 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7535 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7536 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7537 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7538 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7539 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7540 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7541 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7542 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7543 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7544 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7545
11dd4af6
L
7546 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7547 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7548 * include/ifunc-impl-list.h: New file.
7549 * misc/ifunc-impl-list.c: Likewise.
7550 * misc/Makefile (routines): Add ifunc-impl-list.
7551 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7552 * string/test-string.h: Include <ifunc-impl-list.h>.
7553 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7554 impl_array): New variables.
7555 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7556 are defined.
7557 (test_init): Call __libc_ifunc_impl_list to initialize
7558 func_list if TEST_IFUNC and TEST_NAME are defined.
7559
9a387d1f
L
7560 * string/Makefile (strop-tests): Add bcopy and bzero.
7561 * string/test-bcopy.c: New file.
7562 * string/test-bzero.c: Likewise.
7563 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7564 defined.
7565 * string/test-memset.c: Support bzero test if TEST_BZERO is
7566 defined.
7567 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7568 __libc_memmove.
7569 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7570 __libc_memset.
7571 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7572 of memset.
7573
472371b9
JM
75742012-10-10 Joseph Myers <joseph@codesourcery.com>
7575
1e4a9536
JM
7576 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7577 * configure: Regenerated.
7578
d173d12e
JM
7579 * Makeconfig (+link-static-before-libc): Don't include
7580 $(link-static-libc).
7581
472371b9
JM
7582 * libio/libio.h (_IO_pos_t): Remove.
7583
89a3ad0b
AO
75842012-10-10 Alexandre Oliva <aoliva@redhat.com>
7585
7586 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7587 McGrath.
7588
e7451425
AO
75892012-10-10 Alexandre Oliva <aoliva@redhat.com>
7590
7591 * crypt/crypt-entry.c: Include fips-private.h.
7592 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7593 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7594 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7595 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7596
4ba74a35
AO
75972012-10-10 Alexandre Oliva <aoliva@redhat.com>
7598
7599 * crypt/crypt-private.h: Include stdbool.h.
7600 (_ufc_setup_salt_r): Return bool.
7601 * crypt/crypt-entry.c: Include errno.h.
7602 (__crypt_r): Return NULL with EINVAL for bad salt.
7603 * crypt/crypt_util.c (bad_for_salt): New.
7604 (_ufc_setup_salt_r): Check that salt is long enough and within
7605 the specified alphabet.
7606 * crypt/badsalttest.c: New file.
7607 * crypt/Makefile (tests): Add it.
7608 ($(objpfx)badsalttest): New.
7609
f96f1242
MK
76102012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7611
7612 * NEWS: Add entry for BZ #14602.
7613
0e8e0c1c
JM
76142012-10-09 Joseph Myers <joseph@codesourcery.com>
7615
7616 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7617 type-generic.
7618 * math/libm-test.inc: Update comment listing what functions and
7619 macros are tested.
7620 (isgreater_test): New function.
7621 (isgreaterequal_test): Likewise.
7622 (isless_test): Likewise.
7623 (islessequal_test): Likewise.
7624 (islessgreater_test): Likewise.
7625 (isunordered_test): Likewise.
7626 (main): Call the new functions.
7627
273edc5e
RM
76282012-10-09 Roland McGrath <roland@hack.frob.com>
7629
b8493de0
RM
7630 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7631 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7632 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7633 * sysdeps/i386/configure: Regenerated.
7634 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7635 * sysdeps/mach/configure: Regenerated.
7636 * sysdeps/mach/hurd/configure: Regenerated.
7637 * sysdeps/powerpc/configure: Regenerated.
7638 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7639 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7640 * sysdeps/s390/s390-32/configure: Regenerated.
7641 * sysdeps/s390/s390-64/configure: Regenerated.
7642 * sysdeps/sh/configure: Regenerated.
7643 * sysdeps/sparc/configure: Regenerated.
7644 * sysdeps/unix/sysv/linux/configure: Regenerated.
7645 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7646 * sysdeps/x86_64/configure: Regenerated.
7647
273edc5e
RM
7648 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7649 defined. Don't check if MAP is NULL.
7650
c8450f70
JM
76512012-10-09 Joseph Myers <joseph@codesourcery.com>
7652
7653 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7654 (_G_stat64): Likewise.
7655 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7656 (_G_stat64): Likewise.
7657 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7658 instead of struct _G_stat64.
7659 * libio/fileops.c (mmap_remap_check): Likewise.
7660 (decide_maybe_mmap): Likewise.
7661 (_IO_new_file_seekoff): Likewise.
7662 (_IO_file_stat): Likewise.
7663 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7664 _G_off64_t.
7665 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7666 instead of struct _G_stat64.
7667 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7668
57e605ba
MK
76692012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7670
7671 [BZ #14602]
7672 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7673 Replace with ...
7674 (CHECK_EOL): New macro.
7675 (two_way_short_needle): Check beginning of haystack for EOL. Use
7676 CHECK_EOL.
7677 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7678 Replace with CHECK_EOL.
7679 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7680 Replace with CHECK_EOL.
7681
ef1bb361
JM
76822012-10-08 Joseph Myers <joseph@codesourcery.com>
7683
7684 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7685 type-generic.
7686 * math/libm-test.inc: Update comment listing what functions and
7687 macros are tested.
7688 (finite_test): New function.
7689 (isinf_test): Likewise.
7690 (isnan_test): Likewise.
7691 (fpclassify_test): Test subnormal input.
7692 (isfinite_test): Likewise.
7693 (isnormal_test): Likewise.
7694 (main): Call the new functions.
7695
55f11534
JN
76962012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7697
7698 [BZ #14660]
7699 * Makerules (%.dynsym): Force C locale when running
7700 $(OBJDUMP) --dynamic-syms.
7701
1ab29350
AS
77022012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7703
7704 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7705 <stdint.h>.
7706
f1ecb7ef
DM
77072012-10-06 David S. Miller <davem@davemloft.net>
7708
7709 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7710 upper 32-bits of the length value in %o2 since we use branch-on-register
7711 tests which consider the entire 64-bit register.
7712
5d41d91a
L
77132012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7714
7715 * string/test-strstr.c (check2): Add a test for page boundary.
7716
3baddb72
DM
77172012-10-05 David S. Miller <davem@davemloft.net>
7718
7719 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7720 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7721 file.
7722 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7723 sysdep_routines.
7724 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7725 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7726 and bzero when HWCAP_SPARC_CRYPTO is present.
7727
9cee5585
L
77282012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7729
d7e0dab9
L
7730 [BZ #14602]
7731 * string/test-strstr.c (check2): New function.
7732 (test_main): Call check2.
7733
03759f47
L
7734 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7735 and bug-strchr1.
7736 * string/bug-strcasestr1.c (do_test): Moved to ...
7737 * string/test-strcasestr.c (check1): Here. New function.
7738 (do_one_test): Break out result checking code into ...
7739 (check_result): This. New function.
7740 (do_one_test): Call check_result.
7741 (test_main): Call check1.
7742 * string/bug-strchr1.c (do_test): Moved to ...
7743 * string/test-strchr.c (check1): Here. New function.
7744 (do_one_test): Break out result checking code into ...
7745 (check_result): This. New function.
7746 (do_one_test): Call check_result.
7747 (test_main): Call check1.
7748 * string/bug-strstr1.c (main): Moved to ...
046f153e 7749 * string/test-strstr.c (check1): Here. New function.
03759f47
L
7750 (do_one_test): Break out result checking code into ...
7751 (check_result): This. New function.
7752 (do_one_test): Call check_result.
7753 (test_main): Call check1.
7754 * string/bug-strcasestr1.c: Removed.
7755 * string/bug-strchr1.c: Likewise.
7756 * string/bug-strstr1.c: Likewise.
7757
53cea63e
L
7758 * elf/Makefile (dl-routines): Add hwcaps.
7759 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7760 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7761 (_dl_important_hwcaps): Moved to ...
7762 * elf/dl-hwcaps.c: Here. New file.
7763 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7764
9cee5585 7765 [BZ #14557]
bb859b06
L
7766 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7767 if IS_IN_rtld isn't defined.
7768
9cee5585
L
7769 * elf/dl-support.c (_dl_sysinfo_map): New.
7770 Include "get-dynamic-info.h" and "setup-vdso.h".
7771 (_dl_non_dynamic_init): Call setup_vdso.
7772 * elf/dynamic-link.h: Don't include <assert.h>.
7773 (elf_get_dynamic_info): Moved to ...
7774 * elf/get-dynamic-info.h: Here. New file.
7775 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7776 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7777 * elf/setup-vdso.h: Here. New file.
7778 * elf/rtld.c: Include "setup-vdso.h".
7779 (dl_main): Call setup_vdso.
7780
23c31b76
JM
77812012-10-05 Joseph Myers <joseph@codesourcery.com>
7782
28234b07
JM
7783 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7784 creal in comment listing functions tested. List finite, isinf,
7785 isnan, isless, islessequal, isgreater, isgreaterequal,
7786 islessgreater, isunordered, lgamma_r and pow10 as functions and
7787 macros not tested. Mention which functions not tested are aliases
7788 for other functions. Fix typo. Note that signs of NaNs are not
7789 tested.
7790
23c31b76
JM
7791 * scripts/config.guess: Update from config.git.
7792 * scripts/config.sub: Likewise.
7793
9043e228
RM
77942012-10-04 Roland McGrath <roland@hack.frob.com>
7795
7796 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7797 * misc/madvise.c (madvise): Renamed to __madvise.
7798 Make madvise a weak alias.
7799 * include/sys/mman.h: Declare __madvise.
7800 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7801 * sysdeps/unix/syscalls.list
7802 (madvise): Make __madvise the strong name, and madvise a weak alias.
7803 * sysdeps/unix/sysv/linux/syscalls.list
7804 (madvise, mmap): Remove redundant entries.
7805 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7806 * malloc/malloc.c (mtrim): Likewise.
7807 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7808
f57f8055
RM
78092012-10-03 Roland McGrath <roland@hack.frob.com>
7810
7811 * sysdeps/mach/hurd/dl-cache.c: File removed.
7812 * config.h.in (USE_LDCONFIG): New #undef.
7813 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7814 * configure: Regenerated.
7815 * elf/Makefile (dl-routines): Add dl-cache only under
7816 [$(use-ldconfig) = yes].
7817 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7818 cache on [USE_LDCONFIG].
7819 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7820 [USE_LDCONFIG].
7821 * elf/rtld.c (dl_main): Likewise.
7822
5bb0c10a
PT
78232012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7824
7825 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7826 _SC_LEVEL4_CACHE_LINESIZE.
7827
010188c6
RM
78282012-10-03 Roland McGrath <roland@hack.frob.com>
7829
7830 * sysdeps/unix/bsd/confstr.h: File removed.
7831
b6c5ec07
AO
78322012-10-02 Alexandre Oliva <aoliva@redhat.com>
7833
7834 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7835 sys/sdt-config.h.
7836
408223d4
RM
78372012-10-02 Roland McGrath <roland@hack.frob.com>
7838
7839 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7840 Make 'mapoff' field ElfW(Off) rather than off_t.
7841
bb9510dc
DL
78422012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7843
fc997c6e
DL
7844 * nscd/Makefile: Remove nscd-cflags and all its users.
7845 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7846 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7847
bb9510dc
DL
7848 [BZ #10631]
7849 * malloc.c (malloc_printerr): Clarify error message.
7850
05699367
L
78512012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7852
7853 [BZ #14648]
7854 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7855 Set bit_FMA_Usable if FMA is supported.
7856 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7857 macro.
7858 (bit_FMA4_Usable): Updated.
7859 (index_FMA_Usable): New macro.
7860 (CPUID_FMA): Likewise
7861 (HAS_FMA): Defined with bit_FMA_Usable.
7862
51367701
RM
78632012-10-01 Roland McGrath <roland@hack.frob.com>
7864
7865 * bits/types.h (__swblk_t): Type removed.
7866 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7867 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7868 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7869 (__SWBLK_T_TYPE): Likewise.
7870 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7871 (__SWBLK_T_TYPE): Likewise.
7872 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7873 (__SWBLK_T_TYPE): Likewise.
7874 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7875 (__SWBLK_T_TYPE): Likewise.
7876
4d57bf63 78772012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 7878 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
7879
7880 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7881 (xdr_mapname): Use YPMAXMAP as maxsize.
7882 (xdr_peername): Use YPMAXPEER as maxsize.
7883 (xdr_keydat): Use YPAXRECORD as maxsize.
7884 (xdr_valdat): Use YPMAXRECORD as maxsize.
7885
93c65d43
RM
78862012-10-01 Roland McGrath <roland@hack.frob.com>
7887
497a03d6
RM
7888 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7889
93c65d43
RM
7890 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7891 * csu/init-first.c: ... here.
7892 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7893 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7894 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7895 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7896 * sysdeps/i386/init-first.c: File removed.
7897 * sysdeps/sh/init-first.c: File removed.
7898
bec749fd
JM
78992012-10-01 Joseph Myers <joseph@codesourcery.com>
7900
7901 [BZ #14645]
7902 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7903 if x * y might underflow to zero and z is zero.
7904 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7905 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7906 * math/libm-test.inc (min_subnorm_value): New variable.
7907 (fma_test): Add more tests.
7908 (fma_test_towardzero): Likewise.
7909 (fma_test_downward): Likewise
7910 (fma_test_upward): Likewise.
7911 (initialize): Set min_subnorm_value.
7912
8ec5b013
JM
79132012-09-29 Joseph Myers <joseph@codesourcery.com>
7914
7915 [BZ #14638]
7916 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7917 0 + 0.
7918 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7919 mode for addition resulting in exact zero.
7920 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7921 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7922 exact 0 + 0.
7923 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7924 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7925 * math/libm-test.inc (fma_test): Add more tests.
7926 (fma_test_towardzero): New function.
7927 (fma_test_downward): Likewise.
7928 (fma_test_upward): Likewise.
7929 (main): Call the new functions.
7930
b1fa802e
DM
79312012-09-28 David S. Miller <davem@davemloft.net>
7932
7933 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7934
d3b9fd9e
RM
79352012-09-28 Roland McGrath <roland@hack.frob.com>
7936
ea4d37b3
RM
7937 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7938 instead of SIGALRM.
7939
ac51c949
RM
7940 * sysdeps/gnu/_G_config.h: Moved to ...
7941 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7942 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7943 * sysdeps/generic/_G_config.h: ... here.
7944
28c195f7
RM
7945 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7946
848917f9
RM
7947 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7948
6bacf05b
RM
7949 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7950 Conditionalize target on [libnss_test1.so-version].
7951
91363dbb
RM
7952 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7953
cc87f7d8
RM
7954 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7955 (elfobjdir): Move out of conditionals.
7956
b1c608fe
RM
7957 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7958 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7959 (__nss_lookup_function): Conditionalize label remove_from_tree on
7960 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 7961
1d9a6d96
DM
79622012-09-28 David S. Miller <davem@davemloft.net>
7963
7964 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7965 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7966 file.
7967 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7968 sysdep_routines.
7969 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7970 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7971 when HWCAP_SPARC_CRYPTO is present.
7972
72581615
PT
79732012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7974
7975 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7976
715a900c
JL
79772012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7978
7979 [BZ #6530]
7980 * stdio-common/vfprintf.c (process_string_arg): Revert
7981 2000-07-22 change.
7982
79832011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7984
7985 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7986 for testcase.
7987 * stdio-common/tst-sprintf.c: Include <locale.h>
7988 (main): Test sprintf's handling of incomplete multibyte
7989 characters.
7990
9bac1d86
L
79912012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7992
7993 * elf/dl-runtime.c (VERSYMIDX): Removed.
7994 * elf/dl-version.c (VERSYMIDX): Likewise.
7995 * elf/do-rel.h (VERSYMIDX): Likewise.
7996 (VALIDX): Likewise.
7997 * elf/dynamic-link.h (VERSYMIDX): Likewise.
7998 * elf/rtld.c (VALIDX): Likewise.
7999 (ADDRIDX): Likewise.
9bac1d86
L
8000 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8001 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8002 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
8003 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8004 (VALIDX): Likewise.
8005 (ADDRIDX): Likewise.
9bac1d86 8006
b31606c0
PT
80072012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8008
8009 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8010
11541177
JL
80112012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8012
8013 [BZ #11438]
8014 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8015 to global scope.
8016 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8017 addresses are in the same scope as 192.0.2/24.
8018 * posix/gai.conf: Document new scope table defaults.
8019
adb26fae
SP
80202012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8021
8022 [BZ #5298]
8023 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8024 for ftell. Compute offsets from write pointers instead.
8025 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8026
4573c6b0
SP
80272012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8028
8029 [BZ #14543]
8030 * libio/Makefile (tests): New test case tst-fseek.
8031 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8032 combination works in wide mode.
8033 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8034 state when the external buffer state changes.
8035
aa9bbfe6
DM
80362012-09-27 David S. Miller <davem@davemloft.net>
8037
8038 [BZ #14376]
8039 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8040 pass reloc->r_addend in as the 'high' argument to
8041 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8042
784421e7
DM
8043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8044
c39bc8b8
PT
80452012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8046
8047 * rt/tst-aio2.c: Include <pthread.h>.
8048 * rt/tst-aio3.c: Likewise.
8049
1ccc2399
SE
80502012-09-27 Steve Ellcey <sellcey@mips.com>
8051
8052 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8053
31ed4153
L
80542012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8055
25f5f885
L
8056 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8057 contents on [SHARED].
31ed4153 8058
b7bfe116
MP
80592012-09-26 Marek Polacek <polacek@redhat.com>
8060
8061 [BZ #14530]
8062 [BZ #13741]
8063 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8064 for C++ and GCC <4.3 as well as for non GCC compilers.
8065
43c4edba
MT
80662012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8067
8068 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8069
6a1bf82f
RM
80702012-09-25 Roland McGrath <roland@hack.frob.com>
8071
8072 * Makefile.in (all, install): Declare with .PHONY.
8073 Reported by Michael Hope <michael.hope@linaro.org>.
8074
8ad11b9a
TMQMF
80752012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8076
8077 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8078 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8079 system header.
8080 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8081 Likewise.
8082 (sydep_routines): Add the new and the internal functions.
8083 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8084 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8086 (GLIBC_2.17): Add the new function.
8087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8088 (GLIBC_2.17): Likewise.
8089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8090 (GLIBC_2.17): Likewise.
8091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8092 (GLIBC_2.17): Likewise.
8093 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8094
7e2fca8d
AM
80952012-09-25 Alan Modra <amodra@gmail.com>
8096
8097 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8098 Add release barrier before setting once_control to say
8099 initialisation is done. Add hints on lwarx. Use macro in
8100 place of isync.
8101 (clear_once_control): Add release barrier.
8102
b87c4b24
JM
81032012-09-25 Joseph Myers <joseph@codesourcery.com>
8104
d032e0d2
JM
8105 [BZ #13629]
8106 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8107 specially.
8108 * math/s_clog10.c (__clog10): Likewise.
8109 * math/s_clog10f.c (__clog10f): Likewise.
8110 * math/s_clog10l.c (__clog10l): Likewise.
8111 * math/s_clogf.c (__clogf): Likewise.
8112 * math/s_clogl.c (__clogl): Likewise.
8113 * math/Makefile (libm-calls): Add x2y2m1.
8114 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8115 (__x2y2m1): Likewise.
8116 (__x2y2m1l): Likewise.
8117 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8118 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8119 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8120 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8121 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8122 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8123 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8124 * sysdeps/i386/fpu/libm-test-ulps: Update.
8125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8126
b87c4b24
JM
8127 [BZ #14621]
8128 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8129 int as type of variable DEPTH.
8130 (glob): Use size_t instead of int as type of variables NEWCOUNT
8131 and OLD_PATHC.
8132
6d3bf199
LD
81332012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8134
22bf5c17
LD
8135 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8136 Add s_sincosf-sse2.
8137 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8138 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8139 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8140 macros for using routine as __sincosf_ia32.
8141 Use macro for function declaration and weak_alias.
8142 * sysdeps/i386/fpu/libm-test-ulps: Update.
8143
8144 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8145 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8146
8147 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
8148 subnormal argument.
8149 * math/s_cexpf.c (__cexpf): Likewise.
8150 * math/s_csinf.c (__csinf): Likewise.
8151 * math/s_csinhf.c (__csinhf): Likewise.
8152 * math/s_ctanf.c (__ctanf): Likewise.
8153 * math/s_ctanhf.c (__ctanhf): Likewise.
8154 * math/s_ccosh.c (__ccoshf): Likewise.
8155 * math/s_cexp.c (__cexpl): Likewise.
8156 * math/s_csin.c (__csin): Likewise.
8157 * math/s_csinh.c (__csinh): Likewise.
8158 * math/s_ctan.c (__ctan): Likewise.
8159 * math/s_ctanh.c (ctanh): Likewise.
8160 * math/s_ccoshl.c (__ccoshl): Likewise.
8161 * math/s_cexpl.c (__cexpl): Likewise.
8162 * math/s_csinl.c (__csinl): Likewise.
8163 * math/s_csinhl.c (__csinhl): Likewise.
8164 * math/s_ctanl.c (__ctanl): Likewise.
8165 * math/s_ctanhl.c (__ctanhl): Likewise.
8166
203e5603
JM
81672012-09-25 Joseph Myers <joseph@codesourcery.com>
8168
8169 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8170 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8171 (_IO_off_t): Define to __off_t, not _G_off_t.
8172 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8173 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8174 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8175 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8176 type of __dummy and __dummy2 fields.
8177 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8178 (_G_ssize_t): Likewise.
8179 (_G_off_t): Likewise.
8180 (_G_pid_t): Likewise.
8181 (_G_uid_t): Likewise.
8182 (_G_wchar_t): Likewise.
8183 (_G_wint_t): Likewise.
8184 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8185 (_G_ssize_t): Likewise.
8186 (_G_off_t): Likewise.
8187 (_G_pid_t): Likewise.
8188 (_G_uid_t): Likewise.
8189 (_G_wchar_t): Likewise.
8190 (_G_wint_t): Likewise.
8191 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8192 (_G_ssize_t): Likewise.
8193 (_G_off_t): Likewise.
8194 (_G_pid_t): Likewise.
8195 (_G_uid_t): Likewise.
8196 (_G_wchar_t): Likewise.
8197 (_G_wint_t): Likewise.
8198
9fab36eb
SP
81992012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8200
8201 * malloc/arena.c: Include malloc-sysdep.h.
8202 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8203 is sufficient to shrink the heap or an unmap is needed.
8204 * sysdeps/generic/malloc-sysdep.h: New file. Define
8205 new function check_may_shrink_heap.
8206 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8207 new function check_may_shrink_heap.
8208
2b4f00d1
SP
82092012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8210
8211 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8212 comments.
8213
9a9028b1
DL
82142012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8215
57c69bef
DL
8216 * catgets/test-gencat.sh: Add "set -e".
8217 * elf/tst-pathopt.sh: Likewise.
8218 * grp/tst_fgetgrent.sh: Likewise.
8219 * iconvdata/run-iconv-test.sh: Likewise.
8220 * intl/tst-gettext.sh: Likewise.
8221 * intl/tst-gettext2.sh: Likewise.
8222 * intl/tst-gettext4.sh: Likewise.
8223 * intl/tst-gettext6.sh: Likewise.
8224 * intl/tst-translit.sh: Likewise.
8225 * io/ftwtest-sh: Likewise.
8226 * libio/test-freopen.sh: Likewise.
8227 * malloc/tst-mtrace.sh: Likewise.
8228 * posix/globtest.sh: Likewise.
8229 * posix/tst-getconf.sh: Likewise.
8230 * posix/wordexp-tst.sh: Likewise.
8231 * stdio-common/tst-printf.sh: Likewise.
8232 * stdio-common/tst-unbputc.sh: Likewise.
8233 * stdlib/tst-fmtmsg.sh: Likewise.
8234 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8235 * catgets/Makefile: Do not specify -e option when running
8236 testsuite shell scripts.
8237 * elf/Makefile: Likewise.
8238 * grp/Makefile: Likewise.
8239 * iconvdata/Makefile: Likewise.
8240 * intl/Makefile: Likewise.
8241 * io/Makefile: Likewise.
8242 * libio/Makefile: Likewise.
8243 * malloc/Makefile: Likewise.
8244 * posix/Makefile: Likewise.
8245 * stdio-common/Makefile: Likewise.
8246 * stdlib/Makefile: Likewise.
8247 * sysdeps/x86_64/Makefile: Likewise.
8248
9a9028b1
DL
8249 * io/ftwtest-sh: Add copyright header.
8250 * posix/globtest.sh: Likewise.
8251 * posix/tst-getconf.sh: Likewise.
8252 * posix/wordexp-tst.sh: Likewise.
8253 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8254
ced6f16e
L
82552012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8256
94b32c39
L
8257 [BZ #13679]
8258 * Makeconfig (+link): Defined as $(+link-static) if
8259 $(build-shared) isn't yes.
8260 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8261 isn't yes.
8262 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8263
189e935b
L
8264 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8265
ced6f16e
L
8266 [BZ #14562]
8267 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8268 new chunk size with MALLOC_ALIGN_MASK.
8269
a9f8e53a
JM
82702012-09-24 Joseph Myers <joseph@codesourcery.com>
8271
8272 [BZ #5044]
8273 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8274 <rounding-mode.h>.
8275 (__printf_fphex): Determine rounding using get_rounding_mode and
8276 round_away.
8277 * stdio-common/tst-printf-round.c (struct hex_test): New
8278 structure.
8279 (hex_tests): New variable.
8280 (test_hex_in_one_mode): New function.
8281 (do_test): Also run tests for hex float output.
8282
43153109
JM
82832012-09-21 Joseph Myers <joseph@codesourcery.com>
8284
8285 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8286 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8287 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8288 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8289 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8290 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8291 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8292 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8293
8a26625d
JM
82942012-09-20 Joseph Myers <joseph@codesourcery.com>
8295
8296 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8297 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8298 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8299 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8300
f3fd569c
DL
83012012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8302
8303 [BZ #14579]
8304 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8305 mode only.
8306 * elf/tst-rtld-load-self.sh: New test.
8307 * elf/Makefile: Run it.
8308
63bbedd4
JM
83092012-09-18 Joseph Myers <joseph@codesourcery.com>
8310
8311 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8312 (tst-writev-ENV): Remove.
8313 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8314
626f8b6a
CM
83152012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8316
8317 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8318
b7aaa4d6
JM
83192012-09-17 Joseph Myers <joseph@codesourcery.com>
8320
8321 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8322 unconditional.
8323 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8324 Likewise.
8325 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8326 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8327 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8328 Likewise.
8329
65513990
L
83302012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8331
8332 [BZ #14587]
8333 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8334 * config.make.in (have-cpp-asm-debuginfo): Removed.
8335 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8336 * configure: Regenerated.
8337
784761be
JM
83382012-09-14 Joseph Myers <joseph@codesourcery.com>
8339
8340 [BZ #5044]
8341 * stdio-common/printf_fp.c: Include <stdbool.h> and
8342 <rounding-mode.h>.
8343 (___printf_fp): Determine rounding using get_rounding_mode and
8344 round_away.
8345 * stdio-common/tst-printf-round.c: New file.
8346 * stdio-common/Makefile (tests): Add tst-printf-round.
8347 (link-libm): New variable.
8348 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8349
9503345f
L
83502012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8351
8352 [BZ #14576]
8353 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8354 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8355 Likewise.
8356 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8357 Likewise.
8358
ad35fc00
JM
83592012-09-13 Joseph Myers <joseph@codesourcery.com>
8360
8361 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8362 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8363 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8364 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8365
6c9b0f68
JM
83662012-09-12 Joseph Myers <joseph@codesourcery.com>
8367
8368 [BZ #14518]
8369 * include/rounding-mode.h: New file.
8370 * sysdeps/generic/get-rounding-mode.h: Likewise.
8371 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8372 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8373 (MAX_VALUE): New macro.
8374 (MIN_VALUE): Likewise.
8375 (overflow_value): New function.
8376 (underflow_value): Likewise.
8377 (round_and_return): Use overflow_value and underflow_value to
8378 determine return values in overflow and underflow cases. Use
8379 round_away to determine rounding depending on rounding mode.
8380 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8381 determine return values in overflow and underflow cases.
8382 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8383 (struct test_results): New structure.
8384 (struct test): Use struct test_results to store expected results
8385 for all rounding modes.
8386 (TEST): Include expected results for all rounding modes.
8387 (test_in_one_mode): New function.
8388 (do_test): Use test_in_one_mode to compute and check results.
8389 Check results for all rounding modes.
8390 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8391 $(link-libm).
8392
19fcedd5
AM
83932012-12-09 Allan McRae <allan@archlinux.org>
8394
1e9d84cd 8395 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 8396
8bbfd2f1
JM
83972012-09-11 Joseph Myers <joseph@codesourcery.com>
8398
8399 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8400 (_G_int32_t): Likewise.
8401 (_G_uint16_t): Likewise.
8402 (_G_uint32_t): Likewise.
8403 (_G_HAVE_BOOL): Likewise.
8404 (_G_HAVE_ATEXIT): Likewise.
8405 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8406 (_G_HAVE_IO_FILE_OPEN): Likewise.
8407 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8408 (_G_int32_t): Likewise.
8409 (_G_uint16_t): Likewise.
8410 (_G_uint32_t): Likewise.
8411 (_G_HAVE_BOOL): Likewise.
8412 (_G_HAVE_ATEXIT): Likewise.
8413 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8414 (_G_HAVE_IO_FILE_OPEN): Likewise.
8415 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8416 (_G_int32_t): Likewise.
8417 (_G_uint16_t): Likewise.
8418 (_G_uint32_t): Likewise.
8419 (_G_HAVE_BOOL): Likewise.
8420 (_G_HAVE_ATEXIT): Likewise.
8421 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8422 (_G_HAVE_IO_FILE_OPEN): Likewise.
8423
b1dc5912
L
84242012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8425
8426 * csu/libc-tls.c: Update copyright years.
8427
0e886ef9
JM
84282012-09-10 Joseph Myers <joseph@codesourcery.com>
8429
28361c5e
JM
8430 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8431 [!_G_USING_THUNKS]: Remove conditional code.
8432 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8433 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8434
0e886ef9
JM
8435 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8436 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8437 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8438 (_G_VTABLE_LABEL_PREFIX): Likewise.
8439 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8440 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8441 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8442 (_G_VTABLE_LABEL_PREFIX): Likewise.
8443 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8444 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8445 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8446 (_G_VTABLE_LABEL_PREFIX): Likewise.
8447 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8448
bcba7aa2
L
84492012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8450
8451 * libio/Makefile: Include ../Makeconfig before tests.
8452 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8453 only if $(build-shared) is yes.
8454
06585ee8
L
8455 * iconv/gconv_db.c: Update copyright years.
8456
80ccd52c
LD
84572012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8458
8459 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8460 unwind info if defined PIC. Fix special cases description.
8461 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8462
8463 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8464 DP_HI_MASK entry.
8465 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8466
691bc9c1
L
84672012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8468
3d9b46b3
L
8469 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8470
de2139a9
L
8471 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8472 is NULL.
8473
5ca78dd0
L
8474 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8475 (LDLIBS-tst-chk4): This.
8476 (LDFLAGS-tst-chk5): Renamed to ...
8477 (LDLIBS-tst-chk5): This.
8478 (LDFLAGS-tst-chk6): Renamed to ...
8479 (LDLIBS-tst-chk6): This.
8480 (LDFLAGS-tst-lfschk4): Renamed to ...
8481 (LDLIBS-tst-lfschk4): This.
8482 (LDFLAGS-tst-lfschk5): Renamed to ...
8483 (LDLIBS-tst-lfschk5): This.
8484 (LDFLAGS-tst-lfschk6): Renamed to ...
8485 (LDLIBS-tst-lfschk6): This.
8486
691bc9c1
L
8487 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8488 on $(common-objpfx)soversions.mk.
8489
65cafb1c
JM
84902012-09-07 Joseph Myers <joseph@codesourcery.com>
8491
8492 [BZ #10014]
8493 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8494 example host name.
8495
c78ab094
SP
84962012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8497
8498 * malloc/arena.c (arena_get_retry): New function that gets
8499 another arena for the caller to try its request on.
8500 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8501 current arena cannot fulfill the request.
8502 (__libc_memalign): Likewise.
8503 (__libc_memalign): Likewise.
8504 (__libc_pvalloc): Likewise.
8505 (__libc_calloc): Likewise.
8506
01f49f59
JT
85072012-09-05 John Tobey <john.tobey@gmail.com>
8508
8509 [BZ #13542]
8510 * manual/arith.texi (Operations on Complex): Fix description
8511 of carg branch cut.
8512
4c23fed5
JM
85132012-09-06 Joseph Myers <joseph@codesourcery.com>
8514
1d3c8572
JM
8515 [BZ #10014]
8516 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8517 host name.
8518
4c23fed5
JM
8519 [BZ #10038]
8520 * manual/memory.texi (Memory): Make order of menu items match
8521 order of sections.
8522
04570aaa
L
85232012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8524
8525 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8526 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8527 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8528
b80af2f4
L
85292012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8530
8531 * csu/libc-tls.c (static_dtv): Renamed to ...
8532 (_dl_static_dtv): This. Make it global.
8533 (_dl_initial_dtv): Removed.
8534 (__libc_setup_tls): Updated.
8535 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8536 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8537 DL_INITIAL_DTV.
8538
2abe9f15
PM
85392012-09-06 Petr Machata <pmachata@redhat.com>
8540
8541 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8542 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8543 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8544 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8545
0948c3af
L
85462012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8547
8548 [BZ #14545]
8549 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8550 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8551 freeing dtv[-1].
8552
a5055ad1
L
85532012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8554
8555 [BZ #14544]
8556 * Makeconfig (link-static-before-libc): Replace $(+prector)
8557 with $(+prectorT).
8558 (link-static-after-libc): Replace $(+postctor) with
8559 $(+postctorT).
8560 (link-bounded): Replace $(+prector)/$(+postctor) with
8561 $(+prectorT)/$(+postctorT).
8562 (+prectorT): New macro.
8563 (+postctorT): Likewise.
8564
ed8c2ecd
JM
85652012-09-06 Joseph Myers <joseph@codesourcery.com>
8566
8567 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8568 (round_str): Handle values above the maximum for IBM long double
8569 as inexact.
8570 * stdlib/tst-strtod-round.c (tests): Regenerated.
8571
14c996c8
AK
85722012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8573
8574 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8575 assembler flag.
8576 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8577 zarch_nohighgprs around the zarch optimized routines.
8578 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8579 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8580 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8581 for zarch.
8582
430d6ce6
DM
85832012-09-05 David S. Miller <davem@davemloft.net>
8584
8585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8586
ff04dda4
DM
8587 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8588 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8589 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8590 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8591 entries.
8592
24d4e01b
AO
85932012-09-05 Alexandre Oliva <aoliva@redhat.com>
8594
8595 * malloc/arena.c: Fold copyright years.
8596 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8597
61d58174
AO
85982012-09-05 Alexandre Oliva <aoliva@redhat.com>
8599
8600 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8601
20196a5e
AO
86022012-09-05 Alexandre Oliva <aoliva@redhat.com>
8603
8604 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8605
5c447383
AO
86062012-09-05 Alexandre Oliva <aoliva@redhat.com>
8607
8608 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8609 change internal state upon failure.
8610
fad64255
AO
86112012-09-05 Alexandre Oliva <aoliva@redhat.com>
8612
8613 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8614 * malloc/memusage.c (mmap): Likewise.
8615 (mmap64, mremap): Likewise. Adjust name in comment.
8616
1ffb8c90
SP
86172012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8618
8619 * libio/fileops.c: Fix typos in comments.
8620 * libio/oldfileops.c: Likewise.
8621 * libio/wfileops.c: Likewise.
8622
6ef9cc37
SP
86232012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8624
8625 [BZ #1349]
8626 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8627 (tst-malloc-usable-ENV): Set environment for test case.
8628 * malloc/hooks.c (malloc_check_get_size): New function to get
8629 requested size.
8630 * malloc/malloc.c (musable): Use malloc_check_get_size.
8631 * malloc/tst-malloc-usable.c: New test case.
8632
4d038ae3
AS
86332012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8634
8635 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8636
c4e85184
AM
86372012-09-05 Allan McRae <allan@archlinux.org>
8638
b9dafc56 8639 [BZ #13966]
c4e85184
AM
8640 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8641 determine header location.
8642 * configure: Regenerated.
8643
e1343020
AS
86442012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8645
8646 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8647 float format.
8648 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
8649 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8650 format.
e1343020
AS
8651 (test): Regenerate.
8652
0a9f1987
DM
86532012-09-04 David S. Miller <davem@davemloft.net>
8654
8655 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8656 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8657 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8658
29237804
FW
86592012-09-04 Florian Weimer <fweimer@redhat.com>
8660
8661 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8662 failures.
8663
edb3cb88
FW
8664 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8665
60160d83
JM
86662012-09-04 Joseph Myers <joseph@codesourcery.com>
8667
8668 [BZ #9914]
8669 * libio/iogetdelim.c: Include <limits.h>.
8670 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8671 + len + 1 would overflow.
8672
bcd6c8dc
AJ
86732012-09-03 Andreas Jaeger <aj@suse.de>
8674
8675 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8676 * sysdeps/i386/fpu/libm-test-ulps: Update.
8677
4ffffbd2
LD
86782012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8679
8680 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8681 Add s_sinf-sse2, s_conf-sse2.
8682
8683 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8684 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8685 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8686 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8687
8688 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8689 for using routine as __sinf_ia32.
8690 Use macro for function declaration and weak_alias.
8691 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8692 for using routine as __cosf_ia32.
8693 Use macro for function declaration and weak_alias.
8694
8695 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8696 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8697
8698 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8699 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8700 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8701
8702 * math/libm-test.inc (cos_test): Add more test cases.
8703 (sin_test): Likewise.
8704 (sincos_test): Likewise.
8705
511fa286
AK
87062012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8707
8708 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8709 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8710 hidden.
8711 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8712
5f30cfec
L
87132012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8714
8715 [BZ #14538]
8716 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8717 first element of the GOT.
8718 (elf_machine_load_address): Return the difference between
8719 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8720
0786794f
AM
87212012-09-01 Allan McRae <allan@archlinux.org>
8722
5f30cfec
L
8723 [BZ #13412]
8724 * configure.in (AWK): Require gawk version 3.0 or later.
8725 * configure: Regenerated.
0786794f 8726
26889eac
JM
87272012-09-01 Joseph Myers <joseph@codesourcery.com>
8728
8729 * sysdeps/unix/sysv/linux/kernel-features.h
8730 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8731 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8732 [__NR_clock_getres]: Make code unconditional.
8733 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8734 (clock_getcpuclockid): Remove code left unreachable by removal of
8735 conditionals.
8736 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8737 code unconditional.
8738 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8739 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8740 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8741 Make code unconditional.
8742 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8743 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8744 * sysdeps/unix/sysv/linux/clock_settime.c
8745 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8746 conditional code.
8747 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8748 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8749
d22e28b0
L
87502012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8751
8752 [BZ #14476]
8753 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8754 scripts/test-installation.pl.
8755
8756 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8757 and $ld_so_version if it is set.
8758
050af9c4
SP
87592012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8760
8761 [BZ #14516]
8762 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8763 failure if reading from procfs failed.
8764 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8765
ad845c0b
JM
87662012-08-27 Joseph Myers <joseph@codesourcery.com>
8767
8768 * sysdeps/unix/sysv/linux/kernel-features.h
8769 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8770 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8771 Remove conditional code.
8772 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8773 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8774 Remove conditional code.
8775 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8776 * sysdeps/unix/sysv/linux/i386/fxstat.c
8777 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8778 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8779 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8780 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8781 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8782 * sysdeps/unix/sysv/linux/i386/lxstat.c
8783 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8784 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8785 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8786 Remove conditional code.
8787 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8788 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8789 Remove conditional code.
8790 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8791 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8792 <kernel-features.h>.
8793 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8794 Remove.
8795 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8796 Remove conditional code.
8797 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8798 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8799 Remove conditional.
8800
5dbf56af
MF
88012012-08-27 Mike Frysinger <vapier@gentoo.org>
8802
8803 [BZ #5400]
8804 * NEWS: Add fixed bug number.
8805
d6e70f43
JM
88062012-08-27 Joseph Myers <joseph@codesourcery.com>
8807
7efb4737
JM
8808 [BZ #14519]
8809 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8810 underflowing exponent in case of negative sign.
8811 * stdlib/tst-strtod-round-data: Add more tests.
8812 * stdlib/tst-strtod-round.c (tests): Regenerated.
8813
af92131a
JM
8814 [BZ #3479]
8815 * stdlib/strtod_l.c (NDIG): Remove.
8816 (HEXNDIG): Likewise.
8817 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8818 smallest representable value.
8819 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8820 lie within an exact representation of 1/2 ulp of the result.
8821 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8822 unconditionally.
8823 (TENS_P9_IDX): Define unconditionally.
8824 (TENS_P9_SIZE): Likewise.
8825 (TENS_P10_IDX): Likewise.
8826 (TENS_P10_SIZE): Likewise.
8827 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8828 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8829 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8830 entries for 10^2^13 and 10^2^14.
8831 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8832 (TENS_P13_IDX): Define.
8833 (TENS_P13_SIZE): Likewise.
8834 (TENS_P14_IDX): Likewise.
8835 (TENS_P14_SIZE): Likewise.
8836 (_fpioconst_pow10): Change array size to
8837 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8838 unconditional.
8839 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8840 1024]: Add entries for 10^2^13 and 10^2^14.
8841 [LAST_POW10 > _LAST_POW10]: Remove #error.
8842 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8843 (_fpioconst_pow10): Change array size to
8844 FPIOCONST_POW10_ARRAY_SIZE.
8845 * stdlib/gen-fpioconst.c: New file.
8846 * stdlib/gen-tst-strtod-round.c: Likewise.
8847 * stdlib/tst-strtod-round-data: Likewise.
8848 * stdlib/tst-strtod-round.c: Likewise.
8849 * stdlib/Makefile (tests): Add tst-strtod-round.
8850
d6e70f43
JM
8851 [BZ #14459]
8852 * stdlib/strtod_l.c: Include <stdint.h>.
8853 (NDEBUG): Do not define.
8854 (round_and_return): Change EXPONENT parameter to type intmax_t.
8855 Rearrange calculations to avoid internal overflow possibilities.
8856 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8857 Rearrange calculations to avoid internal overflow possibilities.
8858 Assert that number fits inside MPNSIZE limbs.
8859 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8860 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8861 calculations and add assertions to avoid internal overflow
8862 possibilities. Add casts to avoid signed/unsigned operations.
8863 * stdlib/tst-strtod-overflow.c: New file.
8864 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8865
1f529f7d
MP
88662012-08-25 Marek Polacek <polacek@redhat.com>
8867
8868 * time/time.h: Fix some typos in comments.
8869
59a629f1
RM
88702012-08-23 Roland McGrath <roland@hack.frob.com>
8871
8872 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8873 * posix/tst-rfc3484-2.c: Likewise.
8874 * posix/tst-rfc3484-3.c: Likewise.
8875
d3bafbc9
SM
88762012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8877
8878 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8879 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8880
4efcc022
JM
88812012-08-23 Joseph Myers <joseph@codesourcery.com>
8882
8883 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8884 #include of fxstatat64.c.
8885
3cc3ef96
RM
88862012-08-22 Roland McGrath <roland@hack.frob.com>
8887
f04e2132
RM
8888 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8889 * shadow/getspent_r.c: Likewise.
8890 * shadow/getspnam.c: Likewise.
8891 * shadow/getspnam_r.c: Likewise.
8892 * gshadow/getsgent.c: Likewise.
8893 * gshadow/getsgent_r.c: Likewise.
8894 * gshadow/getsgnam.c: Likewise.
8895 * gshadow/getsgnam_r.c: Likewise.
8896 * inet/getnetbyad.c: Likewise.
8897 * inet/getnetbyad_r.c: Likewise.
8898 * inet/getnetbynm.c: Likewise.
8899 * inet/getnetbynm_r.c: Likewise.
8900 * inet/getnetent.c: Likewise.
8901 * inet/getnetent_r.c: Likewise.
8902 * inet/getproto.c: Likewise.
8903 * inet/getproto_r.c: Likewise.
8904 * inet/getprtent.c: Likewise.
8905 * inet/getprtent_r.c: Likewise.
8906 * inet/getprtname.c: Likewise.
8907 * inet/getprtname_r.c: Likewise.
8908 * inet/getrpcbyname.c: Likewise.
8909 * inet/getrpcbyname_r.c: Likewise.
8910 * inet/getrpcbynumber.c: Likewise.
8911 * inet/getrpcbynumber_r.c: Likewise.
8912 * inet/getrpcent.c: Likewise.
8913 * inet/getrpcent_r.c: Likewise.
8914 * inet/getaliasent.c: Likewise.
8915 * inet/getaliasent_r.c: Likewise.
8916 * inet/getaliasname.c: Likewise.
8917 * inet/getaliasname_r.c: Likewise.
8918 * nscd/getgrgid_r.c: Likewise.
8919 * nscd/getgrnam_r.c: Likewise.
8920 * nscd/gethstbyad_r.c: Likewise.
8921 * nscd/gethstbynm3_r.c: Likewise.
8922 * nscd/getpwnam_r.c: Likewise.
8923 * nscd/getpwuid_r.c: Likewise.
8924 * nscd/getsrvbynm_r.c: Likewise.
8925 * nscd/getsrvbypt_r.c: Likewise.
8926 * nscd/gai.c: Likewise.
8927
c53d909c
RM
8928 * configure.in (build_nscd): New substituted variable, set
8929 by --disable-build-nscd and defaults to $use_nscd.
8930 * configure: Regenerated.
8931 * config.make.in (build-nscd): New substituted variable.
8932 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8933 Change conditional to require [$(build-nscd) = yes] as well.
8934 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8935
3cc3ef96
RM
8936 [BZ# 13696]
8937 * configure.in (use_nscd): New substituted variable, set by
8938 --disable-nscd. If enabled, define USE_NSCD.
8939 * configure: Regenerated.
8940 * config.h.in: Add USE_NSCD.
8941 * config.make.in (use-nscd): New substituted variable.
8942 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8943 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8944 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8945 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8946 (CFLAGS-getgrnam_r.c): Likewise.
8947 (CFLAGS-initgroups.c): Likewise.
8948 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8949 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8950 Variables removed.
8951 * inet/getnetgrent_r.c
8952 (nscd_setnetgrent): New function, broken out of ...
8953 (setnetgrent): ... here. Call it.
8954 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8955 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8956 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8957 * nscd/Makefile (routines, aux): Move definitions after include of
8958 Makeconfig. Conditionalize on [$(use-nscd) != no].
8959 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8960 Conditionalize on [USE_NSCD].
8961 (is_nscd, nscd_init_cb): Likewise.
8962 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8963 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8964 * nss/nss_db/db-init.c: Likewise.
8965 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8966 [USE_NSCD].
8967 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8968 (make_request): Use it.
8969 (cache_valid_p): New function.
8970 (__check_pf): Use it.
8971 * NEWS: Add item for --disable-nscd.
8972
07e51550
DL
89732012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8974
8975 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8976 to support sed >= 4.2.1-20-ga9bf076.
8977 * configure: Regenerated.
8978
35a5b08b
RM
89792012-08-22 Roland McGrath <roland@hack.frob.com>
8980
8981 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8982 Conditionalize whole body on [IREL].
8983
8479f23a
JL
89842012-08-22 Jeff Law <law@redhat.com>
8985
8986 [BZ #14505]
8987 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8988 if the family is PF_UNSPEC.
8989
48da0b21
MF
89902012-08-22 Mike Frysinger <vapier@gentoo.org>
8991
8992 * Makerules (lib-version): Rename from V.
8993 (install-lib-nosubdir): Change V to lib-version.
8994
15d0da8c
WS
89952012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
8996
8997 [BZ #14252]
8998 * powerpc32/power6/wcschr.c: New file.
8999 * powerpc32/power6/wcscpy.c: New file.
9000 * powerpc32/power6/wcsrchr.c: New file.
9001 * powerpc64/power6/wcschr.c: New file.
9002 * powerpc64/power6/wcscpy.c: New file.
9003 * powerpc64/power6/wcsrchr.c: New file.
9004
bcca0895
MK
90052012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9006
9007 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9008 (two_way_short_needle): Use it.
5a4aaa33
RM
9009 * string/strstr.c (AVAILABLE1_USES_J): Define.
9010 * string/strcasestr.c: Likewise.
99677e57
MK
9011
9012 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9013 array references.
9014 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9015
400726de
MK
9016 [BZ #11607]
9017 * NEWS: Add an entry.
9018 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9019 define their defaults.
9020 (two_way_short_needle): Detect end-of-string on-the-fly.
9021 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9022 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9023 * string/bug-strcasestr1.c: New test.
9024 * string/Makefile: Run it.
9025
20a71f2c
MK
90262012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9027
9028 [BZ #11607]
9029 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9030 the first character.
9031
21ad0558
RM
90322012-08-21 Roland McGrath <roland@hack.frob.com>
9033
9034 * csu/elf-init.c (__libc_csu_irel): Function removed.
9035 * csu/libc-start.c (apply_irel): New function.
9036 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9037
0e1d9911
JM
90382012-08-21 Joseph Myers <joseph@codesourcery.com>
9039
9040 * sysdeps/unix/sysv/linux/kernel-features.h
9041 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9042 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9043 <kernel-features.h>.
9044 [__NR_fadvise64_64]: Make code unconditional.
9045 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9046 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9047 !__NR_fadvise64_64)]: Likewise.
9048 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9049 !__NR_fadvise64_64))]: Likewise.
9050 [__NR_fadvise64]: Make code unconditional.
9051 [!__NR_fadvise64]: Remove conditional code.
9052 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9053 <kernel-features.h>.
9054 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9055 unconditional.
9056 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9057 conditional code.
9058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9059 not include <kernel-features.h>.
9060 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9061 unconditional.
9062 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9063 conditional code.
9064 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9065 include <kernel-features.h>.
9066 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9067 unconditional.
9068 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9069 conditional code.
9070
14a50c9d
WS
90712012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9072
9073 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9074 slight instruction rearrangements per scrollpipe analysis.
9075 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9076
c0f4faf0
RM
90772012-08-20 Roland McGrath <roland@hack.frob.com>
9078
696da859
RM
9079 * manual/syslog.texi (syslog; vsyslog, closelog):
9080 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9081 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9082
c0f4faf0
RM
9083 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9084 DSOCAPS to match condition on defining it.
9085
348363b2
JM
90862012-08-20 Joseph Myers <joseph@codesourcery.com>
9087
a35cbf28
JM
9088 * sysdeps/unix/sysv/linux/kernel-features.h
9089 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9091 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9092 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9094 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9095 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9097 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9098 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9099
445f7ecd
JM
9100 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9101 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9102
348363b2
JM
9103 * sysdeps/unix/sysv/linux/kernel-features.h
9104 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9105 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9106 unconditional.
9107 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9108 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9109 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9110 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9111 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9112 Make code unconditional.
9113 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9114 (__mmap64) [!__NR_mmap2]: Likewise.
9115 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9116 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9117 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9118 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9119 [__NR_mmap2]: Make code unconditional.
9120 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9121 (__mmap64) [!__NR_mmap2]: Likewise.
9122
bc5bc0e5
AK
91232012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9124
9125 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9126
88d506de
AJ
91272012-08-18 Andreas Jaeger <aj@suse.de>
9128
9129 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9130
493387d2
MF
91312012-08-18 Mike Frysinger <vapier@gentoo.org>
9132
9133 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9134 * include/unistd.h (__have_sock_cloexec): Likewise.
9135 (__have_pipe2): Likewise.
9136 (__have_dup3): Likewise.
9137
a277af22
MF
91382012-08-18 Mike Frysinger <vapier@gentoo.org>
9139
9140 [BZ #9685]
9141 * include/unistd.h (__have_pipe2): Change define into an extern int.
9142 (__have_dup3): Likewise.
9143 * socket/have_sock_cloexec.c: Include fcntl.h.
9144 (__have_pipe2): New variable.
9145 (__have_dup3): Likewise.
9146
fdab8fd3
MF
91472012-08-17 Mike Frysinger <vapier@gentoo.org>
9148
9149 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9150
31035e80
MP
91512012-08-17 Marek Polacek <polacek@redhat.com>
9152
9153 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9154 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9155
3bd9e993
RM
91562012-08-17 Roland McGrath <roland@hack.frob.com>
9157
c91c505f
RM
9158 * configure.in: Add AC_SUBST for sysheaders.
9159 * configure: Regenerated.
9160 * config.make.in (sysheaders): New substituted variable.
9161
7c6f9d53
RM
9162 * sysdeps/unix/mkfifo.c: Moved ...
9163 * sysdeps/posix/mkfifo.c: ... here.
9164 * sysdeps/unix/mkfifoat.c: Moved ...
9165 * sysdeps/posix/mkfifoat.c: ... here.
9166
9167 * sysdeps/unix/utime.c: Moved ...
9168 * sysdeps/posix/utime.c: ... here.
9169
9170 * sysdeps/unix/time.c: Moved ...
9171 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
9172 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9173 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
9174
9175 * sysdeps/unix/nice.c: Moved ...
9176 * sysdeps/posix/nice.c: ... here.
9177
9178 * sysdeps/unix/alarm.c: Moved ...
9179 * sysdeps/posix/alarm.c: ... here.
9180
3bd9e993
RM
9181 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9182
d1f09384
JL
91832012-08-17 Jeff Law <law@redhat.com>
9184
9185 * intl/Makefile (codeset_mo): New variable.
9186 ($(codeset_mo)): New target.
9187 (tst-codeset.out): Depend on that. Remove explicit rule.
9188 (tst-gettext3.out, tst-gettext5.out): Likewise.
9189 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9190 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9191 * intl/tst-codeset.sh: Remove.
9192 * intl/tst-gettext3.sh: Likewise.
9193 * intl/tst-gettext5.sh: Likewise.
9194
2ae1ae5c
RM
91952012-08-17 Roland McGrath <roland@hack.frob.com>
9196
c31fdb83
RM
9197 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9198 * sysdeps/unix/syscalls.list: ... here.
9199
a0844057
RM
9200 * sysdeps/posix/getaddrinfo.c
9201 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9202 (gaiconf_init, gaiconf_reload): Use them.
9203 [!_STATBUF_ST_NSEC]
9204 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9205 Define using time_t rather than struct timespec.
9206
750c1f2a
RM
9207 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9208 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9209 Macros removed.
9210 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9211 [!NO_THREADS].
9212 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9213 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9214 Likewise.
9215
2ae1ae5c
RM
9216 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9217 __libc_cleanup_push argument.
9218
e66a42f5
RM
9219 * bits/param.h: New file.
9220 * misc/sys/param.h: New file.
9221 * include/sys/param.h: New file.
9222 * misc/Makefile (headers): Add bits/param.h.
9223 * sysdeps/generic/sys/param.h: File removed.
9224 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9225 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9226 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 9227 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 9228
b7c08a66
RM
9229 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9230 last change.
9231
b2e1c562
RM
9232 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9233 [_IO_MTSAFE_IO].
9234 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9235 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9236 New macros.
9237
c75ccd4c
RM
9238 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9239 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9240 rather than -D_IO_MTSAFE_IO conditionally.
9241 * stdio-common/Makefile (CPPFLAGS): Likewise.
9242 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9243 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9244 Use $(libio-mtsafe).
9245 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9246 of -D_IO_MTSAFE_IO.
9247 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9248 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9249 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9250 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9251 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9252 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9253 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9254 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9255 (CFLAGS-fread_u_chk.c): Likewise.
9256 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9257 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9258 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9259 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9260 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9261 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9262 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9263 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9264 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9265
9266 * libio/Makefile: Test [$(libc-reentrant) = yes]
9267 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9268
9269 * Makeconfig
9270 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9271 * sysdeps/pthread/configure: File removed.
9272 * sysdeps/pthread/Makeconfig: New file.
9273 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9274 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9275
d9195db8
GB
92762012-08-16 Gary Benson <gbenson@redhat.com>
9277
9278 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9279 unmapping the first object in a namespace.
9280
86466cd9
RM
92812012-08-16 Roland McGrath <roland@hack.frob.com>
9282
9283 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9284 (__internal_setnetgrent): ... this. Add internal_function to
9285 definition. Add libc_hidden_def.
9286 (setnetgrent): Update caller.
9287 (internal_endnetgrent): Renamed to ...
9288 (__internal_endnetgrent): ... this. Add internal_function to
9289 definition. Add libc_hidden_def.
9290 (endnetgrent): Update caller.
9291 (internal_getnetgrent_r): Renamed to ...
9292 (__internal_getnetgrent_r): ... this. Add internal_function to
9293 definition. Add libc_hidden_def.
9294 (__getnetgrent_r): Update caller.
9295 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9296
c3c8283c
JM
92972012-08-16 Joseph Myers <joseph@codesourcery.com>
9298
9299 * stdlib/longlong.h: Update from GCC.
9300
db1ee0a8
RM
93012012-08-16 Roland McGrath <roland@hack.frob.com>
9302
9303 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9304 on _QL, which is set by umul_ppmm but never used.
9305 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9306 variables, which are set by GMP macros but never used.
9307 * stdio-common/_itowa.c (_itowa): Likewise.
9308 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9309 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9310
30f69637
CD
93112012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9312
9313 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9314 struct La_sh_regs is not constant.
9315 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9316 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9317 and struct La_sparc64_regs are not constant.
9318
93a78ac4
JM
93192012-08-16 Joseph Myers <joseph@codesourcery.com>
9320
9321 * sysdeps/unix/sysv/linux/kernel-features.h
9322 (__ASSUME_POSIX_TIMERS): Remove.
9323 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9324 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9325 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9326 Make code unconditional.
9327 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9328 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9329 Make code unconditional.
9330 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9331 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9332 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9333 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9334 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9335 Make code unconditional.
9336 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9337 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9338 (__libc_missing_posix_timers): Remove.
9339
dd924cd7
RM
93402012-08-15 Roland McGrath <roland@hack.frob.com>
9341
4b4f2771
RM
9342 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9343 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9344
601c888b
RM
9345 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9346
176790a7
RM
9347 * elf/dl-sym.c: Include <stdlib.h>.
9348
329bc018
RM
9349 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9350 constants, which avoids warnings in 32-bit builds.
9351
e04e272d
RM
9352 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9353 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9354
952bf94a
RM
9355 * misc/lseek.c: File moved to ...
9356 * io/lseek.c: ... here.
9357
7c99b50a
RM
9358 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9359
dd924cd7
RM
9360 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9361 shifting LEN more than 31 bits at once.
9362
b3f479a8
LD
93632012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9364
9365 [BZ #14195]
8c4ae0d4
RM
9366 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9367 segmentation fault for a case of two empty input strings.
b3f479a8
LD
9368 * string/test-strncasecmp.c (check1): Renamed to...
9369 (bz12205): ...this.
9370 (bz14195): Add new testcase for two empty input strings and N > 0.
9371 (test_main): Call new testcase, adapt for renamed function.
9372
9c55864e
AJ
93732012-08-15 Andreas Jaeger <aj@suse.de>
9374
9375 [BZ #14090]
9376 * crypt/md5test2.c: New test, based on test supplied by Serge
9377 Belyshev <belyshev@depni.sinp.msu.ru>.
9378 * crypt/Makefile (xtests): Add md5test-giant..
9379 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9380
02dcb6c5
PE
93812012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9382
9383 [BZ #14090]
9384 * crypt/md5.c (md5_process_block): Don't assume the buffer
9385 length is less than 2**32.
9386 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9387 length is less than 2**64.
9388
a3f95dcc
RM
93892012-08-15 Roland McGrath <roland@hack.frob.com>
9390
be75d758
RM
9391 * string/str-two-way.h: Include <sys/param.h>.
9392 (MAX): Macro removed.
9393
7312ca90
RM
9394 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9395 Move #define and #undef of memmove to just before and after
9396 including <string.h>.
9397
9a0a5486
RM
9398 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9399 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9400 and after including <string.h>. Move declarations of
9401 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9402 to before #include "string/memmove.c".
9403
67cc348d
RM
9404 * include/dirent.h: Declare __getdirentries.
9405
a3f95dcc
RM
9406 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9407 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9408
ca98e171
MF
94092012-08-14 Mike Frysinger <vapier@gentoo.org>
9410
9411 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9412 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9413 * sysdeps/i386/configure: Regenerated.
9414 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9415 STABS_CURRENT_FILE, and STABS_FUN.
9416 (END): Remove call to STABS_FUN_END.
9417 (STABS_CURRENT_FILE1): Delete.
9418 (STABS_CURRENT_FILE): Likewise.
9419 (STABS_FUN): Likewise.
9420 (STABS_FUN_END): Likewise.
9421 (STABS_FUN2): Likewise.
9422 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9423 * sysdeps/x86_64/configure: Regenerated.
9424
5908bf46
RM
94252012-08-14 Roland McGrath <roland@hack.frob.com>
9426
9427 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 9428 * elf/dl-lookup.c: Likewise.
5908bf46 9429
f2c05b9e
JM
94302012-08-14 Joseph Myers <joseph@codesourcery.com>
9431
9432 * sysdeps/unix/sysv/linux/kernel-features.h
9433 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9434 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9435 unconditionally.
9436 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9437 unconditionally.
9438 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9439 condition on __ASSUME_CLONE_THREAD_FLAGS.
9440
e11f5155
AJ
94412012-08-14 Andreas Jaeger <aj@suse.de>
9442
9443 * sysdeps/i386/fpu/libm-test-ulps: Update.
9444
51a9ba86
MK
94452012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9446
2fdd4f78
AJ
9447 * include/atomic.h (atomic_exchange_and_add): Split into ...
9448 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9449 New atomic macros.
51a9ba86 9450
ba6cba9e
MT
94512012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9452
9453 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9454
42443a47
JL
94552012-08-13 Jeff Law <law@redhat.com>
9456
9457 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9458 null byte in the output string.
9459
121dce05
JM
94602012-08-10 Joseph Myers <joseph@codesourcery.com>
9461
9462 * sysdeps/unix/sysv/linux/kernel-features.h
9463 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9464 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9465 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9466 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9467 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9468 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9469 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9470
bf51f568
JL
94712012-08-09 Jeff Law <law@redhat.com>
9472
9473 [BZ #13939]
9474 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9475 When avoid_arena is set, don't retry in the that arena. Pick the
9476 next one, whatever it might be.
9477 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9478 (arena_lock): Pass in new parameter to arena_get2.
9479 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9480 arena_get2.
9481 (__libc_malloc): Unify retrying after main arena failure with
9482 __libc_memalign version.
9483 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9484
f85fa270
L
94852012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9486
9487 [BZ #14166]
9488 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9489 to __redirect_strstr.
9490 (__strstr_sse42): Use typeof __redirect_strstr.
9491 (__strstr_ia32): Likewise.
9492 (__libc_strstr): New prototype.
9493 (strstr): Renamed to ...
9494 (__libc_strstr): This.
9495 (strstr): New strong alias of __libc_strstr.
9496 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9497 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9498 __redirect_time.
9499 Include <time.h>.
9500 (__libc_time): New prototype.
9501 (time_ifunc): Replace time with __libc_time.
9502 (time): New strong alias and hidden definition of __libc_time.
9503 (__GI_time): Remove strong alias.
9504 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9505 Include <stddef.h>.
9506 (memmove): Redefined to __redirect_memmove.
9507 (__memmove_sse2): Use typeof __redirect_memmove.
9508 (__memmove_ssse3): Likewise.
9509 (__memmove_ssse3_back): Likewise.
9510 (__libc_memmove): New prototype.
9511 (memmove): Renamed to ...
9512 (__libc_memmove): This.
9513 (memmove): New strong alias of __libc_memmove.
9514
33b4a91e
MS
95152012-08-08 Mark Salter <msalter@redhat.com>
9516
9517 * elf/elf.h
9518 (R_MN10300_TLS_GD): Define.
9519 (R_MN10300_TLS_LD): Likewise.
9520 (R_MN10300_TLS_LDO): Likewise.
9521 (R_MN10300_TLS_GOTIE): Likewise.
9522 (R_MN10300_TLS_IE): Likewise.
9523 (R_MN10300_TLS_LE): Likewise.
9524 (R_MN10300_TLS_DTPMOD): Likewise.
9525 (R_MN10300_TLS_DTPOFF): Likewise.
9526 (R_MN10300_TLS_TPOFF): Likewise.
9527 (R_MN10300_SYM_DIFF): Likewise.
9528 (R_MN10300_ALIGN): Likewise.
9529 (R_MN10300_NUM): Update.
9530
b36137f1
JM
95312012-08-08 Joseph Myers <joseph@codesourcery.com>
9532
9533 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9534 Remove.
9535
cdd915fd
RM
95362012-08-08 Roland McGrath <roland@hack.frob.com>
9537
a2433aac
RM
9538 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9539
cdd915fd
RM
9540 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9541 sysdeps/unix -> sysdeps/posix move.
9542 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9543
bf9b740a
AM
95442012-08-07 Allan McRae <allan@archlinux.org>
9545
9546 [BZ #14303]
9547 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9548 (SUNOS_CPP): Likewise.
9549 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9550 not found.
9551 (open_input): Call CPP using execvp.
9552
93df14ee
JM
95532012-08-07 Joseph Myers <joseph@codesourcery.com>
9554
9555 * sysdeps/unix/sysv/linux/kernel-features.h
9556 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9557 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9558 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9559 (__ASSUME_WAITID_SYSCALL): Likewise.
9560 * sysdeps/unix/sysv/linux/dl-execstack.c
9561 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9562 code unconditional.
9563 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9564 conditional code.
9565 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9566 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9567 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9568 code.
9569 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9570 unconditional.
9571 [__ASSUME_WAITID_SYSCALL]: Likewise.
9572 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9573
d34689de
RM
95742012-08-07 Roland McGrath <roland@hack.frob.com>
9575
a281decc
RM
9576 * sysdeps/unix/closedir.c: Renamed to ...
9577 * sysdeps/posix/closedir.c: ... here.
9578 * sysdeps/unix/dirfd.c: Renamed to ...
9579 * sysdeps/posix/dirfd.c: ... here.
9580 * sysdeps/unix/dirstream.h: Renamed to ...
9581 * sysdeps/posix/dirstream.h: ... here.
9582 * sysdeps/unix/fdopendir.c: Renamed to ...
9583 * sysdeps/posix/fdopendir.c: ... here.
9584 * sysdeps/unix/opendir.c: Renamed to ...
9585 * sysdeps/posix/opendir.c: ... here.
9586 * sysdeps/unix/readdir.c: Renamed to ...
9587 * sysdeps/posix/readdir.c: ... here.
9588 * sysdeps/unix/readdir_r.c: Renamed to ...
9589 * sysdeps/posix/readdir_r.c: ... here.
9590 * sysdeps/unix/rewinddir.c: Renamed to ...
9591 * sysdeps/posix/rewinddir.c: ... here.
9592 * sysdeps/unix/seekdir.c: Renamed to ...
9593 * sysdeps/posix/seekdir.c: ... here.
9594 * sysdeps/unix/telldir.c: Renamed to ...
9595 * sysdeps/posix/telldir.c: ... here.
9596 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9597 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9598 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9599 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9600
22895b47
RM
9601 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9602 * bits/fcntl.h: ... here.
9603
707a53b6
RM
9604 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9605 not 0.
9606 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9607 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9608 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9609 (struct flock): Move l_start, l_len to the beginning.
9610 Use __pid_t for l_pid.
9611 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9612 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9613 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9614 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9615 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9616 [__USE_LARGEFILE64] (struct flock64): New type.
9617 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9618
f0bd3e25
RM
9619 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9620 * bits/dirent.h: ... here.
9621
d34689de
RM
9622 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9623 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9624
6dad2c06
JM
96252012-08-07 Joseph Myers <joseph@codesourcery.com>
9626
9627 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9628 Change from 2.6.0 to 2.6.16.
9629 * sysdeps/unix/sysv/linux/configure: Regenerated.
9630 * sysdeps/unix/sysv/linux/kernel-features.h
9631 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9632 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9633 version.
9634 (__ASSUME_UTIMES): Likewise.
9635 (__ASSUME_CLONE_STOPPED): Remove.
9636 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9637 architectures, not kernel version.
9638 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9639 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9640 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9641 (__ASSUME_WAITID_SYSCALL): Likewise.
9642 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9643 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9644 * README: State 2.6.16 as minimum Linux kernel version. Do not
9645 refer to older versions.
9646
03af9520
RM
96472012-08-06 Roland McGrath <roland@hack.frob.com>
9648
8e49df1d
RM
9649 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9650 Define alphasort64 as an alias.
9651 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9652 Define versionsort64 as an alias.
9653 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9654 Define scandir64 as an alias.
9655 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9656 Define scandirat64 as an alias.
9657 * dirent/alphasort64.c (alphasort64):
9658 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9659 * dirent/versionsort64.c: Likewise.
9660 * dirent/scandir64.c: Likewise.
9661 * dirent/scandirat64.c: Likewise.
9662 * sysdeps/wordsize-64/alphasort.c: File removed.
9663 * sysdeps/wordsize-64/alphasort64.c: File removed.
9664 * sysdeps/wordsize-64/scandir.c: File removed.
9665 * sysdeps/wordsize-64/scandir64.c: File removed.
9666 * sysdeps/wordsize-64/scandirat.c: File removed.
9667 * sysdeps/wordsize-64/scandirat64.c: File removed.
9668 * sysdeps/wordsize-64/versionsort.c: File removed.
9669 * sysdeps/wordsize-64/versionsort64.c: File removed.
9670 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9671 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9672 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9673 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9674 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9675 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9676 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9677 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9678
9679 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9680 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9681 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9682 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9683 [defined __arch64__ || defined __sparcv9]
9684 (__INO_T_MATCHES_INO64_T): New macro.
9685 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9686 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9687 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9688 * sysdeps/unix/sysv/linux/bits/dirent.h
9689 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9690 (_DIRENT_MATCHES_DIRENT64): New macro.
9691
03af9520
RM
9692 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9693 Define lockf64 as an alias.
9694 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9695 Define fseeko64 as an alias.
9696 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9697 Define ftello64 as an alias.
9698 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9699 Define _IO_fgetpos64 and fgetpos64 as aliases.
9700 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9701 Define _IO_fsetpos64 and fsetpos64 as aliases.
9702 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9703 Conditionalize body on this.
9704 * libio/fseeko64.c: Likewise.
9705 * libio/ftello64.c: Likewise.
9706 * libio/iofgetpos64.c: Likewise.
9707 * libio/iofsetpos64.c: Likewise.
9708 * sysdeps/wordsize-64/lockf.c: File removed.
9709 * sysdeps/wordsize-64/lockf64.c: File removed.
9710 * sysdeps/wordsize-64/fseeko.c: File removed.
9711 * sysdeps/wordsize-64/fseeko64.c: File removed.
9712 * sysdeps/wordsize-64/ftello.c: File removed.
9713 * sysdeps/wordsize-64/ftello64.c: File removed.
9714 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9715 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9716 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9717 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9718 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9719 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9720 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9721 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9722 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9723 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9724 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9725 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9726 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9727 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9728
9729 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9730 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9731 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9732 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9733 [defined __arch64__ || defined __sparcv9]
9734 (__OFF_T_MATCHES_OFF64_T): New macro.
9735 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9736 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9737 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9738 (__OFF_T_MATCHES_OFF64_T): New macro.
9739
c5757acd
L
97402012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9741
9742 * stdlib/secure-getenv.c (__secure_getenv): Replace
9743 GLIBC_2_16 with GLIBC_2_17.
9744
3a31811e
L
97452012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9746
9747 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9748 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9749
faa2bccb
DM
97502012-08-03 David S. Miller <davem@davemloft.net>
9751
9752 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9753
85fe1997
JM
97542012-08-03 Joseph Myers <joseph@codesourcery.com>
9755
9756 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9757 Remove.
9758 (__ASSUME_CORRECT_SI_PID): Likewise.
9759 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9760 (__ASSUME_TMPFS_NAME): Likewise.
9761 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9762 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9763 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9764 (HAVE_AUX_SECURE): Make definition unconditional.
9765 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9766 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9767
4f75b7a0
RM
97682012-08-03 Roland McGrath <roland@hack.frob.com>
9769
9770 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9771 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9772 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9773 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9774 __eloop_threshold instead of SYMLOOP_MAX.
9775
9776 * sysdeps/generic/eloop-threshold.h: New file.
9777 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9778 of MAXSYMLINKS.
9779 * elf/chroot_canon.c (chroot_canon): Likewise.
9780
7aab07e4
JM
97812012-08-03 Joseph Myers <joseph@codesourcery.com>
9782
9783 [BZ #13717]
9784 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9785 Change to 2.6.0 everywhere.
9786 * sysdeps/unix/sysv/linux/configure: Regenerated.
9787 * sysdeps/unix/sysv/linux/kernel-features.h
9788 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9789 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9790 kernel versions.
9791 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9792 (__ASSUME_FUTEX_REQUEUE): Remove.
9793 (__ASSUME_STATFS64): Define unconditionally.
9794 (__ASSUME_AT_SECURE): Likewise.
9795 (__ASSUME_CORRECT_SI_PID): Likewise.
9796 (__ASSUME_TGKILL): Define without depending on kernel version for
9797 i386.
9798 (__ASSUME_UTIMES): Likewise.
9799 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9800 kernel version.
9801 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9802 (__ASSUME_TMPFS_NAME): Likewise.
9803 * README: Update reference to Linux kernel versions.
9804
b67e9372
MP
98052012-08-02 Marek Polacek <polacek@redhat.com>
9806
1f529f7d 9807 [BZ# 14150]
b67e9372
MP
9808 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9809 libc_cv_asm_type_prefix with %.
9810 * configure: Regenerated.
d2441631
RM
9811 * include/libc-symbols.h: Remove comment about
9812 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
9813 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9814 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9815 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9816 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9817 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9818 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9819 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9820 * elf/tst-unique2mod1.c: Likewise.
9821 * elf/tst-unique1mod2.c: Likewise.
9822 * elf/tst-unique1mod1.c: Likewise.
9823 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9824 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9825 Replace ASM_TYPE_DIRECTIVE with .type.
9826 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9827 * sysdeps/i386/sysdep.h: Likewise.
9828 * sysdeps/x86_64/sysdep.h: Likewise.
9829 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
9830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9831 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 9832 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
9833 * sysdeps/powerpc/powerpc32/sysdep.h:
9834 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
9835 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9836 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9837 * sysdeps/i386/fpu/e_powf.S: Likewise.
9838 * sysdeps/i386/fpu/e_expl.S: Likewise.
9839 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9840 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9841 * sysdeps/i386/fpu/e_pow.S: Likewise.
9842 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9843 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9844 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9845 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9846 * sysdeps/i386/fpu/e_log2.S: Likewise.
9847 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9848 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9849 * sysdeps/i386/fpu/e_powl.S: Likewise.
9850 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9851 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9852 * sysdeps/i386/fpu/e_logl.S: Likewise.
9853 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9854 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9855 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9856 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9857 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9858 * sysdeps/i386/fpu/e_log.S: Likewise.
9859 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9860 * sysdeps/i386/fpu/e_logf.S: Likewise.
9861 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9862 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9863 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9864 * sysdeps/i386/fpu/e_log10.S: Likewise.
9865 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9866 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9867 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9868 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9869 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9870 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9871 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9872 * sysdeps/i386/i686/strtok.S: Likewise.
9873 * sysdeps/i386/i386-mcount.S: Likewise.
9874 * sysdeps/i386/strtok.S: Likewise.
9875 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9876 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9877 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9878 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9879 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9880 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9881 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9882 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9883 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9884 * sysdeps/x86_64/_mcount.S: Likewise.
9885 * sysdeps/x86_64/strtok.S: Likewise.
9886 * sysdeps/sh/_mcount.S: Likewise.
9887
2747bf9a
RM
98882012-08-01 Roland McGrath <roland@hack.frob.com>
9889
9890 * libio/iofopen.c: Include <fcntl.h>.
9891 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9892 (_IO_fopen64, fopen64): Define as aliases.
9893 * libio/iofopen64.c: Include <fcntl.h>.
9894 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9895 Conditionalize body on this.
9896 * sysdeps/wordsize-64/iofopen.c: File removed.
9897 * sysdeps/wordsize-64/iofopen64.c: File removed.
9898
3fb791b8
MP
98992012-08-01 Marek Polacek <polacek@redhat.com>
9900
9901 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9902 Use dlfcn directly instead of a variable.
9903 (binfmt-subdir): Do not define.
9904 (dlfcn): Likewise.
9905
a9f1039f
JM
99062012-08-01 Joseph Myers <joseph@codesourcery.com>
9907
23bddc06
JM
9908 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9909 Remove all definitions.
9910 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9911 <kernel-features.h>.
9912 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9913 (miss_F_GETOWN_EX): Remove all definitions.
9914 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9915 macro definition.
9916 [!__ASSUME_FCNTL64]: Remove conditional code.
9917 [__ASSUME_FCNTL64]: Make code unconditional.
9918 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9919 <kernel-features.h>.
9920 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9921 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9922 (lockf64) [__NR_fcntl64]: Make code unconditional.
9923 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9924
a9f1039f
JM
9925 * sysdeps/unix/sysv/linux/kernel-features.h
9926 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9927 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9928 Make code unconditional.
9929 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9930 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9932 [__NR_vfork]: Make code unconditional.
9933 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9934 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9936 [__NR_vfork]: Make code unconditional.
9937 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9938 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9939
09c0ee5f
RM
99402012-08-01 Roland McGrath <roland@hack.frob.com>
9941
48aec5b9
RM
9942 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9943 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9944
cd97c966
RM
9945 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9946 Define mkstemp64 as an alias.
3f55550c
RM
9947 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9948 Define mkstemps64 as an alias.
cd97c966
RM
9949 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9950 Define mkostemp64 as an alias.
b8625cfc
RM
9951 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9952 Define mkostemps64 as an alias.
cd97c966
RM
9953 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9954 Conditionalize body on this.
9955 * misc/mkostemp64.c: Likewise.
b8625cfc 9956 * misc/mkostemps64.c: Likewise.
3f55550c 9957 * misc/mkstemps64.c: Likewise.
cd97c966
RM
9958 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9959 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9960 * sysdeps/wordsize-64/mkostemp.c: File removed.
9961 * sysdeps/wordsize-64/mkstemp.c: File removed.
9962 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9963 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9964 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9965 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9966
09c0ee5f
RM
9967 [BZ #14138]
9968 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9969 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9970 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9971 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9972
9973 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9974 compat_symbol macros from <shlib-compat.h> rather than the underlying
9975 default_symbol_version and symbol_version macros, so that DEFAULT
9976 lines in shlib-versions are respected.
9977 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9978
7e66ee51
FW
99792012-08-01 Florian Weimer <fweimer@redhat.com>
9980
9981 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9982 Declare with warn_unused_result.
9983 (setgid, setregid, setegid, setresgid): Likewise.
9984 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9985 Likewise.
9986 * WUR-REPORT: Remove set*id functions.
9987
d2a54255
PT
99882012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9989
9990 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9991
7ecdb005
RM
99922012-07-31 Roland McGrath <roland@hack.frob.com>
9993
789bd351
RM
9994 * include/sys/socket.h (__libc_accept, __libc_accept4):
9995 Add attribute_hidden.
9996 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
9997
40ce302d
RM
9998 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
9999 use of PTR_MANGLE.
10000 * inet/getnetgrent_r.c (setup): Likewise.
10001
7ecdb005
RM
10002 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10003
e2eabb2c
DM
100042012-07-31 David S. Miller <davem@davemloft.net>
10005
10006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10007
d0419dbf
JM
100082012-07-31 Joseph Myers <joseph@codesourcery.com>
10009
10010 [BZ #13629]
10011 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10012 value between 1.0 and 2.0 and smaller part has absolute value less
10013 than 1.0.
10014 * math/s_clog10.c (__clog10): Likewise.
10015 * math/s_clog10f.c (__clog10f): Likewise.
10016 * math/s_clog10l.c (__clog10l): Likewise.
10017 * math/s_clogf.c (__clogf): Likewise.
10018 * math/s_clogl.c (__clogl): Likewise.
10019 * math/libm-test.inc (clog_test): Add more tests.
10020 (clog10_test): Likewise.
10021 * sysdeps/i386/fpu/libm-test-ulps: Update.
10022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10023
2bc13872
FW
100242012-07-31 Florian Weimer <fweimer@redhat.com>
10025
10026 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10027 Exit with zero in case no suitable GID is found, and write a
10028 message to standard error.
10029
bea9b193
RM
100302012-07-30 Roland McGrath <roland@hack.frob.com>
10031
10032 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10033 rather than to 1.
10034 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10035 (MAXPATHLEN): Removed.
10036 (NOGROUP, NODEV): New macros.
10037 (setbit, clrbit, isset, isclr): New macros.
10038 (howmany, roundup, powerof2): New macros.
10039 (DEV_BSIZE): New macro.
10040
10041 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10042 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10043
10044 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10045 definition on [!__NO_LONG_DOUBLE_MATH].
10046
10047 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10048 PTR_MANGLE and PTR_DEMANGLE.
10049
10050 * socket/accept4.c (accept4): Rename to __libc_accept4.
10051 Define accept4 as a weak alias.
10052
10053 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10054 on [_DIRENT_HAVE_D_TYPE].
10055 * io/ftw.c (ftw_dir): Likewise.
10056
10057 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10058
10059 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10060
10061 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10062 Use the BSD numbers rather than the arbitrary ones we had.
10063 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10064 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10065 (SIGXCPU, SIGXFSZ): New macros.
10066 (_NSIG): Now 32.
10067
10068 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10069 initializer on [_LIBC_REENTRANT].
10070
10071 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10072 definitions inside [_POSIX_MAPPED_FILES].
10073
10074 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10075
10076 * dirent/opendir.c: Include <fcntl.h>.
10077
10078 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10079 (__libc_getspecific): Likewise.
10080 (__libc_key_create): Likewise.
10081
10082 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10083 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10084 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10085 (tmpfile64): Define as alias.
10086 * sysdeps/wordsize-64/tmpfile.c: File removed.
10087 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10088 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10089 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10090
10091 * stdio-common/vfscanf.c: Include <stdbool.h>.
10092 * nss/makedb.c: Likewise.
10093 * stdio-common/_i18n_number.h: Likewise.
10094 * argp/argp-help.c: Likewise.
10095 * posix/wordexp.c: Likewise.
10096 * sysdeps/posix/spawni.c: Likewise.
10097 * nss/nss_files/files-initgroups.c: Likewise.
10098 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10099 * nss/nss_files/files-initgroups.c: Likewise.
10100 * nss/nss_db/db-netgrp.c: Likewise.
10101 * nss/nss_db/db-initgroups.c: Likewise.
10102 * io/fchmodat.c: Include <sys/stat.h>.
10103
10104 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10105 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10106
10107 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10108 [HAVE_MMAP].
10109
10110 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10111 Add multiple inclusion protection.
10112
e5abc686
DM
101132012-07-27 David S. Miller <davem@davemloft.net>
10114
10115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10116
815e6fa3
GB
101172012-07-27 Gary Benson <gbenson@redhat.com>
10118
10119 [BZ #14298]
10120 * elf/rtld.c: Include <stap-probe.h>.
10121 (dl_main): Added static probes "init_start" and "init_complete".
10122 * elf/dl-load.c: Include <stap-probe.h>.
10123 (lose): Take new parameter "nsid".
10124 Added static probe "map_failed".
10125 (_dl_map_object_from_fd): Pass namespace id to lose.
10126 Added static probe "map_start".
10127 (open_verify): Pass namespace id to lose.
10128 * elf/dl-open.c: Include <stap-probe.h>.
10129 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10130 and "reloc_complete".
10131 * elf/dl-close.c: Include <stap-probe.h>.
10132 (_dl_close_worker): Added static probes "unmap_start" and
10133 "unmap_complete".
10134 * elf/rtld-debugger-interface.txt: New file documenting the above.
10135
9f98c16c
RM
101362012-07-26 Roland McGrath <roland@hack.frob.com>
10137
10138 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10139 rather than a string variable.
10140 * sunrpc/rpc_main.c (h_output): Likewise.
10141 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10142
f3c22df3
PT
101432012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10144
10145 * inet/check_native.c: New file.
10146
3129cfc6
JM
101472012-07-26 Joseph Myers <joseph@codesourcery.com>
10148
da865e95
JM
10149 [BZ #13629]
10150 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10151 if larger part has absolute value 1.0.
10152 * math/s_clog10.c (__clog10): Likewise.
10153 * math/s_clog10f.c (__clog10f): Likewise.
10154 * math/s_clog10l.c (__clog10l): Likewise.
10155 * math/s_clogf.c (__clogf): Likewise.
10156 * math/s_clogl.c (__clogl): Likewise.
10157 * math/libm-test.inc (clog_test): Add more tests.
10158 (clog10_test): Likewise.
10159 * sysdeps/i386/fpu/libm-test-ulps: Update.
10160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10161
3129cfc6
JM
10162 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10163 (pltexit): Likewise.
10164 (La_regs): Likewise.
10165 (La_retval): Likewise.
10166 (int_retval): Likewise.
10167 Update #error for removed macros to refer only to definitions in
10168 tst-audit.h.
10169 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10170 macro.
10171 (pltexit): Likewise.
10172 (La_regs): Likewise.
10173 (La_retval): Likewise.
10174 (int_retval): Likewise.
10175 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10176 macro.
10177 (pltexit): Likewise.
10178 (La_regs): Likewise.
10179 (La_retval): Likewise.
10180 (int_retval): Likewise.
10181 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10182 macro.
10183 (pltexit): Likewise.
10184 (La_regs): Likewise.
10185 (La_retval): Likewise.
10186 (int_retval): Likewise.
10187 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10188 macro.
10189 (pltexit): Likewise.
10190 (La_regs): Likewise.
10191 (La_retval): Likewise.
10192 (int_retval): Likewise.
10193 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10194 macro.
10195 (pltexit): Likewise.
10196 (La_regs): Likewise.
10197 (La_retval): Likewise.
10198 (int_retval): Likewise.
10199 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10200 macro.
10201 (pltexit): Likewise.
10202 (La_regs): Likewise.
10203 (La_retval): Likewise.
10204 (int_retval): Likewise.
10205 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10206 macro definitions in tst-audit.h.
10207 * sysdeps/i386/tst-audit.h: New file.
10208 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10209 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10210 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10211 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10212 * sysdeps/sh/tst-audit.h: Likewise.
10213 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10214 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10215 * sysdeps/x86_64/tst-audit.h: Likewise.
10216
bfc07087
AJ
102172012-07-26 Andreas Jaeger <aj@suse.de>
10218
b1b2aaf8
AJ
10219 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10220 ptrace.
10221
10222 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10223 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10224 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10225 PTRACE_O_MASK.
10226 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10227 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10228 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10229
bfc07087
AJ
10230 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10231 value.
10232
10233 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10234 _sigsys.
10235 (si_call_addr, si_syscall, si_arch): Define new macro.
10236 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10237 _sigsys.
10238 (si_call_addr, si_syscall, si_arch): Define new marcro.
10239 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10240 _sigsys.
10241 (si_call_addr, si_syscall, si_arch): Define new macro.
10242 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10243 _sigsys.
10244 (si_call_addr, si_syscall, si_arch): Define new macro.
10245
89b4b02f
JM
102462012-07-25 Joseph Myers <joseph@codesourcery.com>
10247
10248 [BZ #13717]
10249 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10250 Change to 2.4.21 where previously 2.4.1.
10251 * sysdeps/unix/sysv/linux/configure: Regenerated.
10252 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10253 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10254 Linux kernel version.
10255 (__ASSUME_STD_AUXV): Remove.
10256 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10257 kernel version.
10258 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10259 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10260 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10261 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10262 (__ASSUME_NETLINK_SUPPORT): Likewise.
10263 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10264 (__no_netlink_support): Remove conditional definition.
10265 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10266 Remove.
10267 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10268 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10269 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10270 (if_nameindex_ioctl): Remove.
10271 (if_nameindex_netlink): Do not handle __no_netlink_support.
10272 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10273 code.
10274 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10275 Remove conditional code.
10276 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10277 code.
10278 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10279 unconditional.
10280 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10281 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10282 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10283 Remove.
10284 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10285 [!__ASSUME_STD_AUXV]: Remove conditional code.
10286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10287 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10288 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10290 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10291 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10292 code.
10293 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10295 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10296 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10297 conditional code.
10298 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10300 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10301 code.
10302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10303 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10304 conditional code.
10305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10306 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10307 code unconditional.
10308 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10309 conditional code.
10310 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10311 unconditional.
10312 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10313 conditional code.
10314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10315 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10316 unconditional.
10317 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10318 conditional code.
10319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10320 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10321 code unconditional.
10322 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10323 conditional code.
10324 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10325 unconditional.
10326 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10327 conditional code.
10328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10329 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10330 code unconditional.
10331 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10332 conditional code.
10333 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10334 unconditional.
10335 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10336 conditional code.
10337
842a39cd
AS
103382012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10339
10340 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10341 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10342 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10343 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10344 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10345 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10346 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10347 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10348 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10349 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10350 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10351 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10352 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10353 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10354 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10355 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10356 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10357 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10358 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10359 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10360 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10361 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10362 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10363
84b3fd84
FW
103642012-07-25 Florian Weimer <fweimer@redhat.com>
10365
10366 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
10367 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10368 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10369 Introduce __libc_secure_getenv.
0c7936d5
FW
10370 * stdlib/Versions (2.17): Add secure_getenv
10371 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10372 * stdlib/secure-getenv.c: Rename __secure_getenv to
10373 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10374 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
10375 * stdlib/tst-secure-getenv.c: New.
10376 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
10377 * manual/startup.texi (Environment Access): Document
10378 secure_getenv.
84b3fd84
FW
10379 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10380 __libc_secure_getenv.
10381 * inet/ruserpass.c (ruserpass): Likewise.
10382 * malloc/mtrace.c (mtrace): Likewise.
10383 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 10384 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
10385 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10386 * sysdeps/posix/tempname.c: Likewise. Evaluate
10387 HAVE_SECURE_GETENV.
10388 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 10389 __secure_getenv to __libc_secure_getenv.
84b3fd84 10390 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
10391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10392 Likewise.
10393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10394 Likewise.
10395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10397 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10398 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10399 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10400 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 10402
56e49b71
JM
104032012-07-25 Joseph Myers <joseph@codesourcery.com>
10404
10405 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10406 (struct La_i86_retval): Likewise.
10407 (struct La_x86_64_regs): Likewise.
10408 (struct La_x86_64_retval): Likewise.
10409 (struct La_x32_regs): Likewise.
10410 (struct La_x32_retval): Likewise.
10411 (struct La_ppc32_regs): Likewise.
10412 (struct La_ppc32_retval): Likewise.
10413 (struct La_ppc64_regs): Likewise.
10414 (struct La_ppc64_retval): Likewise.
10415 (struct La_sh_regs): Likewise.
10416 (struct La_sh_retval): Likewise.
10417 (struct La_s390_32_regs): Likewise.
10418 (struct La_s390_32_retval): Likewise.
10419 (struct La_s390_64_regs): Likewise.
10420 (struct La_s390_64_retval): Likewise.
10421 (struct La_sparc32_regs): Likewise.
10422 (struct La_sparc32_retval): Likewise.
10423 (struct La_sparc64_regs): Likewise.
10424 (struct La_sparc64_retval): Likewise.
10425 (struct audit_ifaces): Remove architecture-specific pltenter and
10426 pltexit members.
10427 * sysdeps/i386/ldsodefs.h: New file.
10428 * sysdeps/powerpc/ldsodefs.h: Likewise.
10429 * sysdeps/s390/ldsodefs.h: Likewise.
10430 * sysdeps/sh/ldsodefs.h: Likewise.
10431 * sysdeps/sparc/ldsodefs.h: Likewise.
10432 * sysdeps/x86_64/ldsodefs.h: Likewise.
10433
354691b7
MP
104342012-07-25 Marek Polacek <polacek@redhat.com>
10435
10436 [BZ #6808]
10437 * math/libm-test.inc (yn_test): Add another test.
10438 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10439 to ERANGE when the result is +-Inf.
10440 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10441 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10442 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10443 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10444
bf9e2071
JM
104452012-07-24 Joseph Myers <joseph@codesourcery.com>
10446
10447 * conform/data/time.h-data (NULL): Use macro-constant. Require
10448 equal to 0.
10449 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10450 clock_t.
10451 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10452
57633811
TS
104532012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10454
10455 * configure.in <sysdeps resolving>: Correct printing
10456 Implies_before.
10457 * configure: Regenerate.
10458
c23c33b0
TS
104592012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10460
10461 * math/w_ilogb.c: Include <limits.h>.
10462 * math/w_ilogbl.c: Likewise.
10463
b5982523
JM
104642012-07-20 Joseph Myers <joseph@codesourcery.com>
10465
10466 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10467 va_copy. Document allowing for unavailable va_copy only as
10468 pre-C99 compatibility.
10469 * manual/string.texi (Copying and Concatenation): Use va_copy
10470 instead of __va_copy in concat example.
10471
ac4ea442
PT
104722012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10473
10474 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10475 (__sendto): Use create_address_port. Initialize APORT and deallocate
10476 it if not null.
10477
f98eafbd
PT
10478 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10479 with O_NOLINK passed to __file_name_lookup.
10480
898c7aab
PT
10481 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10482 with O_NOLINK passed to __file_name_lookup.
10483
0ced335a
PT
10484 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10485 negative N or less than NGIDS.
10486
b3404dbd
PT
10487 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10488 type to string_t. Set ERANGE as errno and return it if NAME is not big
10489 enough. Use memcpy instead of strncpy.
10490
0f48659e
JM
104912012-07-20 Joseph Myers <joseph@codesourcery.com>
10492
10493 * elf/Makefile (check-data): Remove.
10494 (localplt.data): New vpath directive.
10495 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10496 instead of $(check-data).
10497 * scripts/data/localplt-generic.data: Move to ...
10498 * sysdeps/generic/localplt.data: ... here.
10499 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10500 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10501 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10503 ... here.
10504 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10506 ... here.
10507 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10509 ... here.
10510 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10511 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10512 ... here.
10513 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10515 ... here.
10516 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10517 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10518 ... here.
10519
d37cbdaa
AZ
105202012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10521
10522 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10523 PPC32 and PPC64 files.
10524 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10525 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10526
46f85fc2
AK
105272012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10528
10529 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10530 __makecontext_ret to ...
10531 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10532 ... here and call exit if uc_link is NULL. New file.
10533 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10534 __makecontext_ret.S.
10535 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10536 __makecontext_ret to ...
10537 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10538 ... here and call exit if uc_link is NULL. New file.
10539 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10540 __makecontext_ret.S.
10541
08f43f9b
AK
105422012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10543
10544 * elf/elf.h (R_390_IRELATIVE): New definition.
10545 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10546 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10547 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10548 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10549 (elf_machine_lazy_rel): Likewise.
10550 * sysdeps/s390/dl-irel.h: New file.
10551 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10552 * sysdeps/s390/s390-64/memset.S: New asm code.
10553 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10554 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10555 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10556 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10557 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10558 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10559 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10560 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10561 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10562 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10563 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10564 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10565 * sysdeps/s390/s390-32/memset.S: New asm code.
10566 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10567
3b05db33
MP
105682012-07-17 Marek Polacek <polacek@redhat.com>
10569
10570 [BZ #14349]
10571 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10572 * sysdeps/s390/s390-64/configure.in: Likewise.
10573 * sysdeps/sparc/configure.in: Likewise.
10574 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10575 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10576 * sysdeps/i386/configure.in: Likewise.
10577 * sysdeps/x86_64/configure.in: Likewise.
10578 * sysdeps/sh/configure.in: Likewise.
10579 * sysdeps/s390/s390-32/configure: Regenerated.
10580 * sysdeps/s390/s390-64/configure: Likewise.
10581 * sysdeps/x86_64/configure: Likewise.
10582 * sysdeps/sh/configure: Likewise.
10583 * sysdeps/powerpc/powerpc64/configure: Likewise.
10584 * sysdeps/powerpc/powerpc32/configure: Likewise.
10585 * sysdeps/sparc/configure: Likwise.
10586 * sysdeps/i386/configure: Likewise.
10587
a66877c6
MP
10588 * elf/dl-open.c: Comment fixes.
10589
cfc82fd8
JM
105902012-07-17 Joseph Myers <joseph@codesourcery.com>
10591
bd29910a
JM
10592 * Makefile [CXX] (check-data): Remove.
10593 [CXX] (c++-types.data): New vpath directive.
10594 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10595 vpath. Do not allow for C++ type data being missing.
10596 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10597 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10598 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10599 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10600 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10601 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10602 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10604 ... here.
10605 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10607 ... here.
10608 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10610 ... here.
10611 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10612 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10613 ... here.
10614 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10616 ... here.
10617 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10618 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10619 ... here.
10620 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10622 ... here.
10623 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10625
cfc82fd8
JM
10626 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10627 definitions to architecture-specific files.
10628 (TLS_IE): Likewise.
10629 (TLS_LD): Likewise.
10630 (TLS_GD): Likewise.
10631 * sysdeps/i386/tls-macros.h: New file.
10632 * sysdeps/powerpc/tls-macros.h: Likewise.
10633 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10634 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10635 * sysdeps/sh/tls-macros.h: Likewise.
10636 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10637 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10638 * sysdeps/x86_64/tls-macros.h: Likewise.
10639
f7db3170
TS
106402012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10641
07cbfc23
TS
10642 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10643 zero value for regular exit case.
10644
f7db3170
TS
10645 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10646 (__start_context): Preserve zero value for regular exit case.
10647
dc97c227
TS
106482012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10649 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10650
10651 * manual/setjmp.texi (setcontext): Clarify normal process
10652 termination when uc_link is the null pointer.
10653 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10654 exit call.
10655
d0cd7d02
AS
106562012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10657
10658 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10659 preprocessor. Test for each exception mask separately.
10660
dd318934
AJ
106612012-07-16 Andreas Jaeger <aj@suse.de>
10662
10663 * po/ru.po: Update from translation team.
10664
8048311a
JM
106652012-07-15 Joseph Myers <joseph@codesourcery.com>
10666
10667 * conform/data/string.h-data (NULL): Use macro-constant. Require
10668 equal to 0.
10669 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10670 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10671 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10672 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10673 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10674
b637d46e
AJ
106752012-07-13 Andreas Jaeger <aj@suse.de>
10676
10677 * po/fr.po: Update from translation team.
10678
541428fe
MP
106792012-07-12 Marek Polacek <polacek@redhat.com>
10680
10681 [BZ #14173]
10682 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10683 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10684 loop condition.
10685
ec332e94
JM
106862012-07-12 Joseph Myers <joseph@codesourcery.com>
10687
10688 [BZ #13717]
10689 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10690 Change to 2.4.1 where previously 2.4.0.
10691 * sysdeps/unix/sysv/linux/configure: Regenerated.
10692 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10693 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10694 version.
10695 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10696 (__ASSUME_AT_CLKTCK): Remove.
10697 (__ASSUME_AT_PAGESIZE): Likewise.
10698 (__ASSUME_AT_XID): Likewise.
10699 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10700 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10701 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10702 unconditionally.
10703 (HAVE_AUX_PAGESIZE): Likewise.
10704 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10705 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10706 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10707
7b6e99be
JB
107082012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10709
10710 [BZ #14307]
10711 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10712 the temporary buffer used to invoke __gethostbyname2_r,
10713 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10714 host_data / struct gaih_addrtuple.
10715 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10716 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10717 header file nss/nsswitch.h.
10718 * nss/nsswitch.h (global scope): Add definition of implementation
10719 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10720 resolv/nss_dns/dns-host.c).
10721
608404eb
AJ
107222012-07-11 Andreas Jaeger <aj@suse.de>
10723
10724 * po/fr.po: Update from translation team.
10725
71220aca
AJ
10726 * po/sv.po: Update from translation team
10727 * po/fr.po: Another update from translation team.
10728
28cfe843
AZ
107292012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10730
10731 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10732 for subnormals or multiply small sinh result by itself.
10733 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10734 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10735
6b90f981
DM
107362012-07-11 David S. Miller <davem@davemloft.net>
10737
10738 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10739
c6825772
AS
107402012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10741
10742 [BZ #14347]
10743 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10744 (INTERNAL_MARK): Shift it here.
10745
7b8e0d49
MP
107462012-07-10 Marek Polacek <polacek@redhat.com>
10747
10748 [BZ #14151]
10749 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10750 libc_cv_asm_global_directive with .globl.
10751 * configure: Regenerated.
10752 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10753 with .globl.
10754 * sysdeps/i386/configure: Regenerated.
10755 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10756 with .globl.
10757 * sysdeps/x86_64/configure: Regenerated.
10758 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10759 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10760 * elf/tst-unique2mod2.c: Likewise.
10761 * elf/tst-unique2mod1.c: Likewise.
10762 * elf/tst-unique1mod2.c: Likewise.
10763 * elf/tst-unique1mod1.c: Likewise.
10764 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10765 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10766 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10767 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10768 * sysdeps/mach/sysdep.h: Likewise.
10769 * sysdeps/i386/sysdep.h: Likewise.
10770 * sysdeps/i386/i386-mcount.S: Likewise.
10771 * sysdeps/x86_64/_mcount.S: Likewise.
10772 * sysdeps/x86_64/sysdep.h: Likewise.
10773 * sysdeps/sh/_mcount.S: Likewise.
10774 * sysdeps/sh/sysdep.h: Likewise.
10775 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10776 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10777 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10778 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10779 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10780 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10781 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10782 * locale/localeinfo.h: Likewise.
10783 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10784 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10785
6c55cda3
RM
107862012-07-09 Roland McGrath <roland@hack.frob.com>
10787
10788 [BZ #14336]
10789 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10790 system".
10791 * manual/message.texi (The Uniforum approach): Likewise.
10792 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10793 (glibc iconv Implementation): Likewise.
10794
638a572e
JM
107952012-07-09 Joseph Myers <joseph@codesourcery.com>
10796
10797 [BZ #14337]
10798 * math/s_clog.c (__clog): Avoid scaling a value down where that
10799 could result in underflow.
10800 * math/s_clog10.c (__clog10): Likewise.
10801 * math/s_clog10f.c (__clog10f): Likewise.
10802 * math/s_clog10l.c (__clog10l): Likewise.
10803 * math/s_clogf.c (__clogf): Likewise.
10804 * math/s_clogl.c (__clogl): Likewise.
10805 * math/libm-test.inc (clog_test): Add more tests.
10806 (clog10_test): Likewise.
10807 * sysdeps/i386/fpu/libm-test-ulps: Update.
10808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10809
261f4859
AS
108102012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10811
0abaf3e4
AS
10812 [BZ #14283]
10813 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10814 by 7 not 8 to examine high bit of fractional part.
10815
261f4859
AS
10816 [BZ #14042]
10817 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10818 for call to __mcount_internal.
10819 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10820 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10821 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10822
f17ac40d
JM
108232012-07-06 Joseph Myers <joseph@codesourcery.com>
10824
9ad63c23
JM
10825 [BZ #14154]
10826 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10827 approximation for values within 0x1p-13f of an odd multiple of
10828 pi/4.
10829 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10830 exception. Add more tests.
10831 * sysdeps/i386/fpu/libm-test-ulps: Update.
10832
f17ac40d
JM
10833 [BZ #6778]
10834 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10835 inputs and return -1 for them. Do not check for +Inf in case not
10836 reachable for +Inf.
10837 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10838 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10839 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10840 and return -1 for them. Do not check for +Inf in case not
10841 reachable for +Inf.
10842 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10843 define.
10844 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10845 and return -1 for them. Do not check for +Inf in case not
10846 reachable for +Inf.
10847 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10848 spurious underflow.
10849 * sysdeps/i386/fpu/libm-test-ulps: Update.
10850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10851
fb21f89b
MF
108522012-07-06 Mike Frysinger <vapier@gentoo.org>
10853
10854 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10855
cdfe2c5e
JM
108562012-07-05 Joseph Myers <joseph@codesourcery.com>
10857
10858 [BZ #14157]
10859 [BZ #14331]
10860 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10861 could result in spurious underflow. Scale down values above
10862 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10863 * math/s_csqrtf.c (__csqrtf): Likewise.
10864 * math/s_csqrtl.c (__csqrtl): Likewise.
10865 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10866 spurious underflow.
10867 * sysdeps/i386/fpu/libm-test-ulps: Update.
10868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10869
70d35b67
AS
108702012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10871
704bc459
AS
10872 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10873 xopen-msg.sed.
10874 * catgets/xopen-msg.awk: New file.
10875 * catgets/xopen-msg.sed: Removed.
10876
70d35b67
AS
10877 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10878 po2text.sed.
10879 * intl/po2test.awk: New file.
10880 * intl/po2test.sed: Removed.
10881
ca61cf32
JM
108822012-07-04 Joseph Myers <joseph@codesourcery.com>
10883
10884 [BZ #14328]
10885 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10886 or multiply small sinh result by itself.
10887 * math/s_ctanf.c (__ctanf): Likewise.
10888 * math/s_ctanh.c (__ctanh): Likewise.
10889 * math/s_ctanhf.c (__ctanhf): Likewise.
10890 * math/s_ctanhl.c (__ctanhl): Likewise.
10891 * math/s_ctanl.c (__ctanl): Likewise.
10892 * math/libm-test.inc (ctan_test_tonearest): New function.
10893 (ctan_test_towardzero): Likewise.
10894 (ctan_test_downward): Likewise.
10895 (ctan_test_upward): Likewise.
10896 (ctanh_test_tonearest): Likewise.
10897 (ctanh_test_towardzero): Likewise.
10898 (ctanh_test_downward): Likewise.
10899 (ctanh_test_upward): Likewise.
10900 (main): Call these new functions.
10901 * sysdeps/i386/fpu/libm-test-ulps: Update.
10902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10903
ca48a46a
MF
109042012-07-03 Mike Frysinger <vapier@gentoo.org>
10905
10906 * .gitignore: Delete /ports entry.
10907
9d63d37d
AJ
109082012-07-03 Andreas Jaeger <aj@suse.de>
10909
10910 * po/bg.po: Update from translation team.
10911 * po/cs.po: Likewise.
10912 * po/de.po: Likewise.
10913 * po/hr.po: Likewise.
10914 * po/nl.pl: Likewise.
10915 * po/pl.po: Likewise.
10916 * po/vi.po: Likewise.
10917
370ca3d2
JM
109182012-07-03 Joseph Myers <joseph@codesourcery.com>
10919
95f5a9a8
JM
10920 * Makeconfig [!+link] (+link-before-libc): New variable.
10921 [!+link] (+link-after-libc): Likewise.
10922 [!+link] (+link-tests): Likewise.
10923 [!+link] (+link): Define in terms of $(+link-before-libc) and
10924 $(+link-after-libc).
10925 [!+link-static] (+link-static-before-libc): New variable.
10926 [!+link-static] (+link-static-after-libc): Likewise.
10927 [!+link-static] (+link-static-tests): Likewise.
10928 [!+link-static] (+link-static): Define in terms of
10929 $(+link-static-before-libc) and $(+link-static-after-libc).
10930 [build-shared] (link-libc-before-gnulib): New variable.
10931 [build-shared] (link-libc-tests): Likewise.
10932 [build-shared] (link-libc): Define in terms of
10933 $(link-libc-before-gnulib).
10934 [!build-shared] (link-libc-tests): New variable.
10935 (link-libc-static-tests): New variable.
10936 [!gnulib] (gnulib-arch): New variable.
10937 [!gnulib] (gnulib-tests): Likewise.
10938 [!gnulib] (static-gnulib-arch): Likewise.
10939 [!gnulib] (static-gnulib-tests): Likewise.
10940 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10941 Define with "=" instead of ":=".
10942 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10943 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10944 * Rules (binaries-all-notests): New variable.
10945 (binaries-all-tests): Likewise.
10946 (binaries-static-notests): Likewise.
10947 (binaries-static-tests): Likewise.
10948 (binaries-all): Define using $(binaries-all-notests) and
10949 $(binaries-all-tests).
10950 (binaries-static): Define using $(binaries-static-notests) and
10951 $(binaries-static-tests).
10952 (binaries-shared-tests): New variable.
10953 (binaries-shared-notests): Likewise.
10954 (binaries-shared): Remove variable.
10955 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10956 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10957 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10958 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10959 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10960 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10961 * elf/Makefile (sln-modules): New variable.
10962 (extra-objs): Add $(sln-modules:=.o).
10963 (ldconfig-modules): Add static-stubs.
10964 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10965 * elf/static-stubs.c: New file.
10966
7a845b2c
JM
10967 [BZ #14283]
10968 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10969 by 7 not 8 to examine high bit of fractional part. Use volatile
10970 variables when splitting into final array of floats if
10971 __FLT_EVAL_METHOD__ != 0.
10972 * math/libm-test.inc (cos_test): Add another test.
10973 (sin_test): Likewise.
10974 * sysdeps/i386/fpu/libm-test-ulps: Update.
10975
e2283f38
JM
10976 [BZ #14273]
10977 * math/libm-test.inc (cosh_test): Add more tests.
10978
370ca3d2
JM
10979 * version.h (RELEASE): Set to "development".
10980 (VERSION): Set to "2.16.90".
10981
ee9247c3
CD
109822012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10983
10984 * NEWS: Update copyright. Remove last-updated date.
10985 Mention math library bug fixes and timezone data changes.
10986 * README: Mention GNU/Hurd, x32, and HPPA support status.
10987
4648c381
TS
109882012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10989
10990 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10991
aac78a43
AJ
109922012-06-27 Andreas Jaeger <aj@suse.de>
10993
10994 * manual/contrib.texi (Contributors): Add Samuel Thibault.
10995
ed3dbfad
AJ
109962012-06-25 Andreas Jaeger <aj@suse.de>
10997
10998 * sysdeps/s390/fpu/libm-test-ulps: Update.
10999
4d0ee855
AS
110002012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11001 Thomas Schwinge <thomas@codesourcery.com>
11002
11003 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11004 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11005 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11006 fanotify_mark.
11007
af1bce34
TS
110082012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11009
a9fa33ba
TS
11010 * sysdeps/mach/start.c: Remove file.
11011 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11012 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11013 * sysdeps/sh/init-first.c: Likewise.
11014
58f902b8
TS
11015 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11016 registers for frame unwinding purposes, add CFI directives.
11017 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11018 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11019 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11020 Likewise.
11021
1518f58b
TS
11022 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11023 __fortify_fail returning.
11024 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11025
db9b5059
TS
11026 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11027 sysdeps/sh/____longjmp_chk.S.
11028 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11029 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11030 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11031 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11032
967705fe
TS
11033 * sysdeps/sh/abort-instr.h: New file.
11034 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11035 process in case exit returns.
11036
a9def8c4
TS
11037 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11038 initialize the GOT register before use.
11039
2a649725
TS
11040 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11041 calculation of ARGC > 4.
11042
af1bce34
TS
11043 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11044 meaningful names to some local labels.
11045
d230f50a
KK
110462012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11047 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11048
11049 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11050 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11051 (__arch_compare_and_exchange_val_16_acq): Likewise.
11052 (__arch_compare_and_exchange_val_32_acq): Likewise.
11053 (atomic_exchange_and_add): Fix gUSA sequence.
11054 (atomic_add): Likewise.
11055 (atomic_add_negative): Likewise.
11056 (atomic_add_zero): Likewise.
11057 (atomic_bit_test_set): Likewise.
11058
0479b305
AS
110592012-06-22 Andreas Schwab <schwab@redhat.com>
11060
11061 [BZ #13579]
11062 * include/link.h (struct link_map): Add l_free_initfini.
11063 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11064 l_initfini.
11065 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11066 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11067 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11068 set.
11069
0e3933b9
CD
110702012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11071
11072 * configure.in: Use AC_LANG_SOURCE.
11073 * configure: Regenerate.
11074
4248b1b1
RM
110752012-06-22 Roland McGrath <roland@hack.frob.com>
11076
11077 * configure.in (libc_cv_localstatedir): New substituted variable.
11078 * configure: Regenerated.
11079 * config.make.in (localstatedir): New variable, substituted from
11080 libc_cv_localstatedir.
11081 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11082 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11083 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11084 * sysdeps/gnu/configure: Regenerated.
11085
006dd861
JL
110862012-06-21 Jeff Law <law@redhat.com>
11087
11088 [BZ #14277]
11089 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11090 free. Simplify list management for _LIBC case.
11091
79662d42
JM
110922012-06-21 Joseph Myers <joseph@codesourcery.com>
11093
b7abb4bf
JM
11094 [BZ #14273]
11095 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11096 Clear sign bit of 64-bit integer value before comparing against
11097 overflow value.
11098
79662d42
JM
11099 * sysdeps/mach/configure: Regenerated.
11100
1f150908
L
111012012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11102
11103 [BZ #14278]
11104 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11105
28363bbf
JL
111062012-06-21 Jeff Law <law@redhat.com>
11107
11108 [BZ #13882]
11109 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11110 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 11111 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
11112 * elf/dl-open.c (dl_open_worker): Likewise.
11113
09615db4
CD
111142012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11115
11116 * scripts/list-sources.sh: Scan PORTS for translations.
11117 * po/libc.pot: Regenerated.
11118
2174c6dd
AJ
111192012-06-21 Andreas Jaeger <aj@suse.de>
11120
11121 [BZ #12194]
11122 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11123 warning.
11124 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11125 * bits/byteswap-16.h (__bswap_16): Likewise.
11126 * bits/byteswap.h (__bswap_constant_16): Likewise.
11127
3ee947b1
L
111282012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11129
11130 [BZ #14117]
a2f34833
L
11131 * sysdeps/i386/fpu_control.h: Removed.
11132 * sysdeps/x86_64/fpu_control.h: Moved to ...
11133 * sysdeps/x86/fpu_control.h: Here.
11134
3ee947b1
L
11135 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11136 (_FPU_SETCW): Likewise.
11137
ed1825f8
L
111382012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11139
25f1282a
L
11140 [BZ #14117]
11141 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11142 * sysdeps/x86/fpu/bits/mathinline.h: This.
11143 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11144
ed1825f8
L
11145 [BZ #14050]
11146 [BZ #14117]
11147 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11148 functions if __x86_64__ is defined.
11149
36d54b74
CLT
111502012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11151
11152 * string/endian.h: Add !__ASSEMBLER__ condition for including
11153 conversion interfaces.
11154
10285c21
JM
111552012-06-15 Joseph Myers <joseph@codesourcery.com>
11156
11157 [BZ #14241]
11158 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11159 of ABS(x) in calculating zero to negative powers other than odd
11160 integers.
11161 * math/libm-test.inc (pow_test): Add more tests.
11162
06c5abbd
AJ
111632012-06-15 Andreas Jaeger <aj@suse.de>
11164
11165 * manual/contrib.texi (Contributors): Update entry of Liubov
11166 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11167 Machado Filho.
11168
a3aeac40
CH
111692012-06-15 Cyril Hrubis <metan@ucw.cz>
11170
11171 * string/string.h: Add __wur to GNU version of strerror_r.
11172
49bdf4c1
L
111732012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11174
11175 [BZ #14229]
11176 * string/Makefile (tests): Add tst-strtok_r.
11177 * string/tst-strtok_r.c: New file.
11178 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11179 RAX_LP/RDX_LP on SAVE_PTR.
11180
834f9b8d
RM
111812012-06-14 Roland McGrath <roland@hack.frob.com>
11182
11183 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11184
75fa1921
JM
111852012-06-14 Joseph Myers <joseph@codesourcery.com>
11186
11187 * libm_test.inc (csqrt_test): Allow more spurious underflow
11188 exceptions.
11189 (j0_test): Likewise.
11190 (j1_test): Likewise.
11191 (y0_test): Likewise.
11192 (y1_test): Likewise.
11193
771766df
CD
111942012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11195
11196 * po/Makefile (libc.pot): Use UTF-8 charset.
11197
ceb9e56b
PP
111982012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11199
11200 [BZ #14210]
11201 Suppress sign-conversion warning from FD_SET.
11202 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11203 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11204 not unsigned long int.
11205 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11206
ddb28975
L
112072012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11208
11209 [BZ #14050]
11210 [BZ #14117]
11211 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11212 __extern_always_inline instead of __extern_inline.
11213 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11214 (__signbit): Likewise.
11215 (__signbitl): Support C++ namespace.
11216 (lrintf): New inline function.
11217 (lrint): Likewise.
11218 (llrintf): Likewise.
11219 (llrint): Likewise.
11220 (fmaxf): Likewise.
11221 (fmax): Likewise.
11222 (fminf): Likewise.
11223 (fmin): Likewise.
11224 (rint): Likewise.
11225 (rintf): Likewise.
11226 (ceil): Likewise.
11227 (ceilf): Likewise.
11228 (floor): Likewise.
11229 (floorf): Likewise.
11230 (nearbyint): Likewise.
11231 (nearbyintf): Likewise.
11232
d7b4fb26
TS
112332012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11234
11235 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11236 non-default versions.
11237
eb55f5c2
RM
112382012-06-11 Roland McGrath <roland@hack.frob.com>
11239
11240 [BZ #14218]
11241 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11242
366af02c
TS
112432012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11244
99ff6e5c
TS
11245 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11246 (FE_UPWARD, FE_DOWNWARD): Don't define.
11247 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11248 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11249
366af02c
TS
11250 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11251 reading it.
11252 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11253 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11254
793ea851
KK
112552012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11256
11257 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11258 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11259 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11260 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11261
a728a38f
L
112622012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11263
11264 [BZ #14117]
c08010c7
L
11265 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11266 * sysdeps/i386/fpu/Implies: New file.
11267 * sysdeps/x86_64/fpu/Implies: Likewise.
11268 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11269 * sysdeps/x86/fpu/bits/fenv.h: This.
11270
a728a38f
L
11271 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11272 __SSE_MATH__.
11273
6e230d11
SP
112742012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11275
11276 [BZ #14134]
11277 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11278 character 0xffff that matches the last element of the
11279 conversion table.
11280
1b671feb
AZ
112812012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11282
11283 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11284 fmodl commit.
11285
6043738b
AZ
112862012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11287
11288 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11289 values higher than 25.6283.
11290
34ae0b32
AZ
112912012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11292
11293 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11294 subnormal exponent extraction and add some __builtin_expect.
11295 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11296 Fix for subnormal mantissa calculation.
11297
1214ec8f
MF
112982012-06-04 Mike Frysinger <vapier@gentoo.org>
11299
11300 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11301 cpu2 is -1 and errno is not ENOSYS.
11302
f3d1f93c
L
113032012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11304
11305 [BZ #14117]
0e4a3cd7
L
11306 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11307 * sysdeps/x86/bits/string.h: This.
11308 * sysdeps/x86_64/bits/string.h: Removed.
11309
6704c645
L
11310 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11311 if not compiling for x86-64, but compiling for >= i486.
11312
48495318
L
11313 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11314 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11315
14adcbfc
L
11316 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11317 New macro from Linux kernel 3.4.0.
11318 (FP_XSTATE_MAGIC2): Likewise.
11319 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11320 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11321 (struct _fpx_sw_bytes): New struct.
11322 (struct _xsave_hdr): Likewise.
11323 (struct _ymmh_state): Likewise.
11324 (struct _xstate): Likewise.
11325
68e408ab
L
11326 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11327 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11328 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11329 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11330 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11331 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11332
f3d1f93c
L
11333 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11334 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11335 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11336 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11337 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11338 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11339
d9dc34cd
TMQMF
113402012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11341
11342 [BZ #13743]
11343 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11344 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11345 (sysdep_headers): Include sys/platform/ppc.h.
11346 * sysdeps/powerpc/test-gettimebase.c: Test for
11347 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11348 * manual/Makefile (appendices): Include platform.texi.
11349 * manual/contrib.texi (Contributors): Update @node pointers.
11350 * manual/maint.texi (Maintenance): Likewise.
11351 (Platform): New node.
11352 * manual/platform.texi: New file. Document the new features.
11353
4af3879c
SP
113542012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11355 Jakub Jelinek <jakub@redhat.com>
11356
11357 [BZ #14188]
11358 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11359 where __builtin_expect is unavailable.
11360
2fd6ff13
DM
113612012-06-03 David S. Miller <davem@davemloft.net>
11362
11363 * stdlib/longlong.h: Updated from GCC.
11364
173f7220
AS
113652012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11366
11367 [BZ #14042]
11368 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11369 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11370 __mcount_internal.
11371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11372 (GLIBC_2.16): Likewise.
11373
f34a1c6f
L
113742012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11375
11376 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11377
88a4576f
JM
113782012-06-01 Joseph Myers <joseph@codesourcery.com>
11379
ea32bcdd
JM
11380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11381 (default-abi): New variable.
11382 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11383 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11384 variable.
11385 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11386 Likewise.
11387 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11388 Likewise.
11389 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11390 Likewise.
11391
88a4576f
JM
11392 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11393 definition. Document in comment.
11394
402fe938
DM
113952012-06-01 David S. Miller <davem@davemloft.net>
11396
11397 * stdlib/longlong.h: Updated from GCC.
11398
3553723f
L
113992012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11400
11401 [BZ #14117]
3bd872c4
L
11402 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11403 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11404 sys/debugreg.h sys/io.h here.
11405 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11406 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11407 sys/io.h.
11408 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11409 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11410 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11411 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11412 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11413 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11414
3553723f
L
11415 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11416 Define only if __x86_64__ is defined.
11417
4842e4fe
JM
114182012-06-01 Joseph Myers <joseph@codesourcery.com>
11419
c5bfe3d5
JM
11420 [BZ #14048]
11421 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11422 Use int64_t for variable i.
11423 * math/libm-test.inc (fmod_test): Add more tests.
11424
4842e4fe
JM
11425 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11426 z computation is not scheduled after fetestexcept.
11427 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11428 Use math_force_eval instead of asm to ensure calculation scheduled
11429 before exception test.
11430 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11431 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11432
efb73488
AJ
114332012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11434
11435 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11436 computation is not scheduled after fetestexcept.
11437
29bcce7c
L
114382012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11439
11440 [BZ #14117]
11441 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11442 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11443
73a68f94
AZ
114442012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11445
11446 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11447 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11448
67b6df78
L
114492012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11450
edf2933a 11451 [BZ #14117]
ebc64a18
L
11452 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11453 <bits/wordsize.h>.
11454 (__WCHAR_MIN): Support __WORDSIZE == 64.
11455 (__WCHAR_MAX): Likewise.
11456
edf2933a
L
11457 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11458 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11459
57c6cf40
L
11460 [BZ #14183]
11461 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11462 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11463
67b6df78 11464 [BZ #14117]
8eb6281e
L
11465 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11466 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11467
aac639f4
L
11468 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11469 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11470
67b6df78
L
11471 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11472 Defined to 1 if __x86_64__ isn't defined.
11473 (_STAT_VER_LINUX_OLD): New.
11474 (st_atime): Remove duplicate.
11475 (st_mtime): Likewise.
11476 (st_ctime): Likewise.
11477
1c2cfe81
DM
114782012-05-31 David S. Miller <davem@davemloft.net>
11479
11480 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11481 entries.
11482
5be8418c
AS
114832012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11484
e7725326
AS
11485 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11486 gen-libm-test.pl.
11487
5be8418c
AS
11488 [BZ #14132]
11489 * elf/dl-reloc.c: Include <_itoa.h>.
11490 (_dl_reloc_bad_type): Remove use of INTUSE.
11491 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11492 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11493 * stdio-common/psiginfo.c (psiginfo): Likewise.
11494 * stdio-common/psignal.c (psignal): Likewise.
11495 * string/strsignal.c (strsignal): Likewise.
11496 * include/signal.h (_sys_siglist): Declare hidden proto.
11497 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11498 INTVARDEF with libc_hidden_data_def.
11499 * stdio-common/itoa-udigits.c: Likewise.
11500 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11501 (_itoa_lower_digits_internal): Remove declaration.
11502 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11503 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11504 (_sys_sigabbrev_internal): Remove aliases.
11505 (_sys_siglist): Define hidden alias.
11506
507352f1
MT
115072012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11508
11509 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11510 bits/sysctl.h.
11511
42bbb1c3
L
115122012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11513
11514 [BZ #14117]
6bd784b6
L
11515 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11516 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11517
8bca20f0
L
11518 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11519 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11520 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11521 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11522 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11523 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11524
f9e890a9
L
11525 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11526 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11527 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11528
471101a1
L
11529 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11530 with __addr.
11531 (insw): Likewise.
11532 (insl): Likewise.
11533 (outsb): Likewise.
11534 (outsw): Likewise.
11535 (outsl): Likewise.
11536
6451c862
L
11537 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11538 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11539 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11540
a254b8c9
L
11541 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11542 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11543 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11544 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11545 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11546 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11547
b8dfdd92
L
11548 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11549 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11550
578cd270
L
11551 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11552 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11553
de662f5f
L
11554 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11555 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11556 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11557
25653439
L
11558 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11559 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11560 to ...
11561 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11562
6bad24a0
L
11563 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11564 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11565 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11566
42bbb1c3
L
11567 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11568 for x86-64.
11569 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11570
2d10d547
JM
115712012-05-31 Joseph Myers <joseph@codesourcery.com>
11572
11573 * math/math.h (M_El): Use two more decimal places.
11574 (M_LOG2El): Likewise.
11575 (M_LOG10El): Likewise.
11576 (M_LN2l): Likewise.
11577 (M_LN10l): Likewise.
11578 (M_PIl): Likewise.
11579 (M_PI_2l): Likewise.
11580 (M_PI_4l): Likewise.
11581 (M_1_PIl): Likewise.
11582 (M_2_PIl): Likewise.
11583 (M_2_SQRTPIl): Likewise.
11584 (M_SQRT2l): Likewise.
11585 (M_SQRT1_2l): Likewise.
11586
f230c29b
DM
115872012-05-31 David S. Miller <davem@davemloft.net>
11588
11589 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11590 values between float registers.
11591 * sysdeps/sparc/sparc64/memset.S: Likewise.
11592 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11593
fed806c3
MF
115942012-05-31 Mike Frysinger <vapier@gentoo.org>
11595
11596 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11597 -D_FORTIFY_SOURCE=1.
11598 (CPPFLAGS-tst-longjmp_chk.c): Define.
11599 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11600 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11601 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11602 CFLAGS-tst-wchar-h.c.
11603
30917259
MP
116042012-05-31 Marek Polacek <polacek@redhat.com>
11605
11606 [BZ #14132]
11607 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11608 __endmntent_internal): Remove declaration.
11609 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11610 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11611 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11612
1c58d5dc
DM
116132012-05-30 David S. Miller <davem@davemloft.net>
11614
11615 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11616 (___Q_simulate_exceptions): Use real FP ops rather than writing
11617 into the %fsr.
11618 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11619 Likewise.
11620
7dc00e0d
L
116212012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11622
11623 [BZ #14117]
0bd53985
L
11624 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11625 * sysdeps/x86/bits/xtitypes.h: This.
11626
3a257e66
L
11627 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11628 * sysdeps/x86/bits/wordsize.h: This.
11629
62f62904
L
11630 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11631 * sysdeps/x86/bits/huge_vall.h: This.
11632
404fe9d9
L
11633 * sysdeps/i386/bits/select.h: Removed.
11634 * sysdeps/x86_64/bits/select.h: Renamed to ...
11635 * sysdeps/x86/bits/select.h: This.
11636
d48d0446
L
11637 * sysdeps/i386/bits/setjmp.h: Removed.
11638 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11639 * sysdeps/x86/bits/setjmp.h: This.
11640
7dc00e0d
L
11641 * sysdeps/i386/bits/mathdef.h: Removed.
11642 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11643 * sysdeps/x86/bits/mathdef.h: This.
11644
03277f8f
AS
116452012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11646
11647 [BZ #14132]
11648 * include/sys/socket.h (__connect_internal)
11649 (__libc_sa_len_internal): Remove declaration.
11650 (__connect, __libc_sa_len): Declare hidden_proto.
11651 (SA_LEN): Remove use of INTUSE.
11652 * socket/connect.c: Add libc_hidden_def.
11653 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11654 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11655 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11656 alias.
11657 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11658 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11659 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11660 of adding _internal alias.
11661
13764867
L
116622012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11663
11664 [BZ #14117]
6bd97696
L
11665 * sysdeps/i386/bits/link.h: Removed.
11666 * sysdeps/i386/bits/linkmap.h: Likewise.
11667 * sysdeps/x86_64/bits/link.h: Renamed to ...
11668 * sysdeps/x86/bits/link.h: This.
11669 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11670 * sysdeps/x86/bits/linkmap.h: This.
11671
f726f0bb
L
11672 * sysdeps/i386/bits/endian.h: Removed.
11673 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11674 * sysdeps/x86/bits/endian.h: This.
11675
13764867
L
11676 * sysdeps/i386/bits/byteswap.h: Removed.
11677 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11678 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11679 * sysdeps/x86/bits/byteswap.h: This.
11680 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11681 * sysdeps/x86/bits/byteswap-16.h: This.
11682 * sysdeps/i386/Implies: Add x86.
11683 * sysdeps/x86_64/Implies: Likewise.
11684
ae251b0b
DM
116852012-05-30 David S. Miller <davem@davemloft.net>
11686
11687 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11688 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11689 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11690 (FP_TRAPPING_EXCEPTIONS): Define.
11691 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11692 (FP_TRAPPING_EXCEPTIONS): Define.
11693 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11694 subnormals only when inexact has been signalled or underflow
11695 exceptions are enabled.
11696 (_FP_PACK_CANONICAL): Likewise.
11697
d5c90867
L
116982012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11699
11700 [BZ #14183]
11701 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11702 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11703
63f1549e
RH
117042012-05-30 Richard Henderson <rth@twiddle.net>
11705
8d8f2279
RH
11706 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11707 with #ifndef NOT_IN_libc.
11708
63f1549e
RH
11709 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11710 marked to avoid plt entry.
11711
0ab0291b
L
117122012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11713
11714 [BZ #14112]
11715 * Makeconfig (default-abi): New macro.
11716 (abi-includes): Likewise.
11717 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11718 $(abi-$(default-abi)-lib-soname) for soname if defined.
11719 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11720 abi-variants.
11721 * Makefile (installed-stubs): Likewise.
11722 * include/stubs-biarch.h: Removed.
11723 * scripts/lib-names.awk: Only handle one library at a time.
11724 * scripts/soversions.awk: Remove WORDSIZE support.
11725 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11726 entries.
11727 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11728 Removed.
11729 (syscall-list-default-condition): Likewise.
11730 (syscall-list-default-condition): Likewise.
11731 (syscall-list-includes): Likewise.
11732 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11733 syscall-list-* with abi-*. Handle undefined abi-variants.
11734 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11735 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11736 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11737 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11738 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11739 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11740 Removed.
11741 (syscall-list-32-options): Likewise.
11742 (syscall-list-32-condition): Likewise.
11743 (syscall-list-64-options): Likewise.
11744 (syscall-list-64-condition): Likewise.
11745 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11746 macro.
11747 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11748 Renamed to ...
11749 (abi-*): This.
11750 (abi-64-ld-soname): New macro.
11751 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11752 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11753 Renamed to ...
11754 (abi-*): This.
11755 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11756 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11757
4da0431d
JM
117582012-05-30 Joseph Myers <joseph@codesourcery.com>
11759
3a85279c
JM
11760 * sysdeps/unix/sysv/linux/kernel-features.h
11761 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11762 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11763 include <kernel-features.h>.
11764 [!__NR_ftruncate64]: Remove conditional code.
11765 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11766 [__NR_ftruncate64]: Make code unconditional.
11767 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11768 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11769 include <kernel-features.h>.
11770 [!__NR_ftruncate64]: Remove conditional code.
11771 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11772 [__NR_ftruncate64]: Make code unconditional.
11773 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11775 include <kernel-features.h>.
11776 [!__NR_ftruncate64]: Remove conditional code.
11777 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11778 [__NR_ftruncate64]: Make code unconditional.
11779 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11781 include <kernel-features.h>.
11782 [!__NR_ftruncate64]: Remove conditional code.
11783 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11784 [__NR_ftruncate64]: Make code unconditional.
11785 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11786
4da0431d
JM
11787 * configure.in (libc_cv_fpie): Weaken to a compile test using
11788 LIBC_TRY_CC_OPTION.
11789 * configure: Regenerated.
11790
11ef492c
AK
117912012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11792
11793 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11795 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11797 Refreshed.
11798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11804 Refreshed.
11805
d66ef399
DM
118062012-05-27 David S. Miller <davem@davemloft.net>
11807
11808 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11809 (___Q_zero): New.
11810 (__Q_simulate_exceptions): Return void. Change to simulate
11811 exceptions by writing into the %fsr.
11812 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11813 (__Qp_handle_exceptions): Likewise.
11814 (numbers): Delete.
11815 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11816 __Qp_handle_exceptions.
11817 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11818 __Qp_handle_exceptions.
11819 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11820 as unused and give dummy FP_RND_NEAREST initializer.
11821 (FP_INHIBIT_RESULTS): Define.
11822 (___Q_simulate_exceptions): Update declaration.
11823 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11824 formatting.
11825 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11826 as unused and give dummy FP_RND_NEAREST initializer.
11827 (__Qp_handle_exceptions): Update declaration.
11828 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11829 formatting.
11830
04fb54b5
TS
118312012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11832
11833 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11834 the temporary FPU control word.
11835 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11836 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11837 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11838 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11839 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11840 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11841 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11842 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11843 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11844 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11845 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11846
3f99608f
KK
118472012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11848
11849 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11850 fields.
11851
65a4de4e
CLT
118522012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11853
11854 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11855 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11856 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11857 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11858 Likewise.
11859 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11860 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11861 Likewise.
11862
15749d40
UD
118632012-05-27 Ulrich Drepper <drepper@gmail.com>
11864
11865 * po/h.po: Update from translation team.
11866
25dbcb27
AS
118672012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11868
3d3f8e55
AS
11869 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11870
25dbcb27
AS
11871 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11872 handling of denormals.
11873 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11874 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11875 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11876 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11877 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11878 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11879 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11880 Likewise.
11881
7ad47a80 118822012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
11883
11884 [BZ #14152]
11885 * math/libm-test.inc (fma_test): Don't always expect underflow
11886 exception.
11887
9c6ea9fa
SP
118882012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11889
11890 [BZ #12416]
11891 * elf/tst-execstack.c: Include stackinfo.h.
11892 (do_test): Adjust test case to ensure that pthread_getattr_np
11893 behaviour remains the same after marking stack executable.
11894
a8239222
JM
118952012-05-25 Joseph Myers <joseph@codesourcery.com>
11896
11897 * sysdeps/unix/sysv/linux/kernel-features.h
11898 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11899 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11900 kernel-features.h.
11901 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11902 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11903 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11904 kernel-features.h.
11905 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11906 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11907
918b5606
L
119082012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11909
11910 * configure.in: Define the default includes to being none.
11911 * configure: Regenerated.
11912
3a097cc7
RM
119132012-05-25 Roland McGrath <roland@hack.frob.com>
11914
8422c9a5
RM
11915 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11916 * sysdeps/x86_64/setjmp.S: Likewise.
11917 * sysdeps/i386/bsd-setjmp.S: Likewise.
11918 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11919 * sysdeps/i386/setjmp.S: Likewise.
11920 * sysdeps/i386/__longjmp.S: Likewise.
11921 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11922 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11923
3a097cc7
RM
11924 * include/stap-probe.h: New file.
11925 * configure.in: Handle --enable-systemtap.
11926 * configure: Regenerated.
11927 * config.h.in (USE_STAP_PROBE): New #undef.
11928 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11929 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11930 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11931
21708942
JM
119322012-05-25 Joseph Myers <joseph@codesourcery.com>
11933
11934 [BZ #13717]
11935 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11936 to 2.4.0 where earlier.
11937 * sysdeps/unix/sysv/linux/configure: Regenerated.
11938 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11939 <kernel-features.h>.
11940 [__ASSUME_32BITUIDS]: Make code unconditional.
11941 [!__ASSUME_32BITUIDS]: Remove conditional code.
11942 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11943 <kernel-features.h>.
11944 [__ASSUME_32BITUIDS]: Make code unconditional.
11945 [!__ASSUME_32BITUIDS]: Remove conditional code.
11946 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11947 [__ASSUME_32BITUIDS]: Make code unconditional.
11948 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11949 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11950 <kernel-features.h>.
11951 [__ASSUME_32BITUIDS]: Make code unconditional.
11952 [!__ASSUME_32BITUIDS]: Remove conditional code.
11953 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11954 <kernel-features.h>.
11955 [__ASSUME_32BITUIDS]: Make code unconditional.
11956 [!__ASSUME_32BITUIDS]: Remove conditional code.
11957 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11958 <kernel-features.h>.
11959 [__ASSUME_32BITUIDS]: Make code unconditional.
11960 [!__ASSUME_32BITUIDS]: Remove conditional code.
11961 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11962 <kernel-features.h>.
11963 [__ASSUME_32BITUIDS]: Make code unconditional.
11964 [!__ASSUME_32BITUIDS]: Remove conditional code.
11965 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11966 <kernel-features.h>.
11967 [__ASSUME_32BITUIDS]: Make code unconditional.
11968 [!__ASSUME_32BITUIDS]: Remove conditional code.
11969 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11970 <kernel-features.h>.
11971 [__ASSUME_32BITUIDS]: Make code unconditional.
11972 [!__ASSUME_32BITUIDS]: Remove conditional code.
11973 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11974 <kernel-features.h>.
11975 [__ASSUME_32BITUIDS]: Make code unconditional.
11976 [!__ASSUME_32BITUIDS]: Remove conditional code.
11977 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11978 <kernel-features.h>.
11979 [__ASSUME_32BITUIDS]: Make code unconditional.
11980 [!__ASSUME_32BITUIDS]: Remove conditional code.
11981 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11982 <kernel-features.h>.
11983 [__ASSUME_32BITUIDS]: Make code unconditional.
11984 [!__ASSUME_32BITUIDS]: Remove conditional code.
11985 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11986 <kernel-features.h>.
11987 [__ASSUME_32BITUIDS]: Make code unconditional.
11988 [!__ASSUME_32BITUIDS]: Remove conditional code.
11989 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11990 <kernel-features.h>.
11991 [__NR_setresgid] (__setresgid): Do not declare.
11992 [__ASSUME_32BITUIDS]: Make code unconditional.
11993 [!__ASSUME_32BITUIDS]: Remove conditional code.
11994 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
11995 <kernel-features.h>.
11996 [__NR_setresuid] (__setresuid): Do not declare.
11997 [__ASSUME_32BITUIDS]: Make code unconditional.
11998 [!__ASSUME_32BITUIDS]: Remove conditional code.
11999 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12000 <kernel-features.h>.
12001 [__ASSUME_32BITUIDS]: Make code unconditional.
12002 [!__ASSUME_32BITUIDS]: Remove conditional code.
12003 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12004 <kernel-features.h>.
12005 [__ASSUME_32BITUIDS]: Make code unconditional.
12006 [!__ASSUME_32BITUIDS]: Remove conditional code.
12007 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12008 <kernel-features.h>.
12009 [__ASSUME_32BITUIDS]: Make code unconditional.
12010 [!__ASSUME_32BITUIDS]: Remove conditional code.
12011 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12012 <kernel-features.h>.
12013 [__ASSUME_32BITUIDS]: Make code unconditional.
12014 [!__ASSUME_32BITUIDS]: Remove conditional code.
12015 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12016 <kernel-features.h>.
12017 [__ASSUME_32BITUIDS]: Make code unconditional.
12018 [!__ASSUME_32BITUIDS]: Remove conditional code.
12019 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12020 <kernel-features.h>.
12021 [__ASSUME_32BITUIDS]: Make code unconditional.
12022 [!__ASSUME_32BITUIDS]: Remove conditional code.
12023 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12024 <kernel-features.h>.
12025 [__ASSUME_32BITUIDS]: Make code unconditional.
12026 [!__ASSUME_32BITUIDS]: Remove conditional code.
12027 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12028 <kernel-features.h>.
12029 [__ASSUME_32BITUIDS]: Make code unconditional.
12030 [!__ASSUME_32BITUIDS]: Remove conditional code.
12031 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12032 <kernel-features.h>.
12033 [__ASSUME_32BITUIDS]: Make code unconditional.
12034 [!__ASSUME_32BITUIDS]: Remove conditional code.
12035 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12036 <kernel-features.h>.
12037 [__ASSUME_32BITUIDS]: Make code unconditional.
12038 [!__ASSUME_32BITUIDS]: Remove conditional code.
12039 * sysdeps/unix/sysv/linux/kernel-features.h
12040 (__ASSUME_SETRESUID_SYSCALL): Remove.
12041 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12042 (__ASSUME_32BITUIDS): Likewise.
12043 (__ASSUME_LDT_WORKS): Likewise.
12044 (__ASSUME_O_DIRECTORY): Likewise.
12045 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12046 architecture but not kernel version.
12047 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12048 (__ASSUME_MMAP2_SYSCALL): Likewise.
12049 (__ASSUME_STAT64_SYSCALL): Likewise.
12050 (__ASSUME_IPC64): Likewise.
12051 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12052 <kernel-features.h>.
12053 [__ASSUME_32BITUIDS]: Make code unconditional.
12054 [!__ASSUME_32BITUIDS]: Remove conditional code.
12055 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12056 <kernel-features.h>.
12057 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12058 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12059 132096]: Remove conditional code.
12060 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12061 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12062 <kernel-features.h>.
12063 [__ASSUME_32BITUIDS]: Make code unconditional.
12064 [!__ASSUME_32BITUIDS]: Remove conditional code.
12065 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12066 <kernel-features.h>.
12067 [__ASSUME_32BITUIDS]: Make code unconditional.
12068 [!__ASSUME_32BITUIDS]: Remove conditional code.
12069 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12070 <kernel-features.h>.
12071 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12072 unconditional.
12073 (__setresgid): Do not declare.
12074 [__ASSUME_32BITUIDS]: Make code unconditional.
12075 [!__ASSUME_32BITUIDS]: Remove conditional code.
12076 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12077 <kernel-features.h>.
12078 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12079 unconditional.
12080 (__setresuid): Do not declare.
12081 [__ASSUME_32BITUIDS]: Make code unconditional.
12082 [!__ASSUME_32BITUIDS]: Remove conditional code.
12083 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12084 <kernel-features.h>.
12085 [__ASSUME_32BITUIDS]: Make code unconditional.
12086 [!__ASSUME_32BITUIDS]: Remove conditional code.
12087 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12088 <kernel-features.h>.
12089 [__ASSUME_32BITUIDS]: Make code unconditional.
12090 [!__ASSUME_32BITUIDS]: Remove conditional code.
12091
a386f1cc
RH
120922012-05-25 Richard Henderson <rth@twiddle.net>
12093
12094 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12095 dl_hwcap to ifunc resolver.
12096 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12097 elf_ifunc_invoke.
12098 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12099 dl_hwcap to ifunc resolver.
12100 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12101
b6550497
JM
121022012-05-24 Joseph Myers <joseph@codesourcery.com>
12103
12104 [BZ #14153]
12105 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12106 for |x| <= 2**-26, not 2**-57.
12107 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12108 exception.
12109
b0bc23a1
JL
121102012-05-24 Jeff Law <law@redhat.com>
12111
12112 * stdio-common/Makefile (tests): Add bug25.
12113 * stdio-common/bug25.c: New test.
12114
347c92e9
L
121152012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12116
12117 [BZ #13576]
12118 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12119 multiple of MALLOC_ALIGNMENT in size.
12120 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12121
6bcc8b3f
JM
121222012-05-24 Joseph Myers <joseph@codesourcery.com>
12123
12124 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12125 Require >= 256.
12126 (FILENAME_MAX): Use macro-int-constant.
12127 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12128 (_IOFBF): Use macro-int-constant.
12129 (_IOLBF): Likewise.
12130 (_IONBF): Likewise.
12131 (SEEK_CUR): Likewise.
12132 (SEEK_END): Likewise.
12133 (SEEK_SET): Likewise.
12134 (TMP_MAX): Likewise.
12135 (EOF): Use macro-int-constant. Require < 0.
12136 (NULL): Use macro-constant. Require == 0.
12137 (stdin): Require type to be FILE *.
12138 (stdout): Likewise.
12139 (stderr): Likewise.
12140 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12141 macro-int-constant.
12142 (EXIT_SUCCESS): Likewise.
12143 (NULL): Use macro-constant. Require == 0.
12144 (RAND_MAX): Use macro-int-constant.
12145 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12146 [C99-based standards] (strtof): Require function.
12147 [C99-based standards] (strtold): Likewise.
12148 [C99-based standards] (strtoll): Likewise.
12149 [C99-based standards] (strtoull): Likewise.
12150 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12151 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12152 [ISO || ISO99 || ISO11] (math.h): Likewise.
12153 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12154 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12155 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12156
d18ea0c5
AS
121572012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12158
12159 [BZ #14132]
56d25bb8
AS
12160 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12161 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12162 * intl/dgettext.c (DCGETTEXT): Likewise.
12163 * intl/gettext.c (DCGETTEXT): Likewise.
12164 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12165 * posix/regex_internal.h (gettext): Likewise.
12166 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12167 Remove declaration.
12168 * include/argz.h (__argz_count_internal)
12169 (__argz_stringify_internal): Remove declaration.
12170 (__argz_count, __argz_stringify): Declare hidden proto.
12171 * intl/dcgettext.c: Remove use of INTDEF.
12172 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12173 * string/argz-stringify.c: Likewise.
12174 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12175 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12176 Declare hidden proto.
d18ea0c5
AS
12177 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12178 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12179 Declare hidden proto.
12180 * include/stdio.h (__asprintf_internal): Don't declare.
12181 (__asprintf): Don't define as macro. Declare hidden proto.
12182 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12183 (__fsetlocking): Declare hidden proto.
12184 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12185 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12186 hidden proto.
12187 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12188 (_IO_setlinebuf): Remove use of INTUSE.
12189 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12190 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12191 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12192 Remove declaration.
12193 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12194 (_IO_do_flush): Remove use of INTUSE.
12195 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12196 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12197 (_IO_adjust_column, _IO_least_wmarker)
12198 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12199 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12200 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12201 (_IO_default_doallocate, _IO_wdefault_doallocate)
12202 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12203 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12204 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12205 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12206 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12207 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12208 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12209 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12210 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12211 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12212 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12213 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12214 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12215 proto.
12216 (_IO_flush_all_internal, _IO_adjust_column_internal)
12217 (_IO_default_uflow_internal, _IO_default_finish_internal)
12218 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12219 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12220 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12221 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12222 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12223 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12224 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12225 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12226 (_IO_file_close_internal, _IO_file_close_it_internal)
12227 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12228 (_IO_file_init_internal, _IO_file_attach_internal)
12229 (_IO_file_fopen_internal, _IO_file_read_internal)
12230 (_IO_file_sync_internal, _IO_file_seek_internal)
12231 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12232 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12233 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12234 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12235 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12236 (_IO_list_all_internal, _IO_link_in_internal)
12237 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12238 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12239 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12240 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12241 (_IO_do_write_internal, _IO_padn_internal)
12242 (_IO_getline_info_internal, _IO_getline_internal)
12243 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12244 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12245 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12246 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12247 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12248 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12249 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12250 with libc_hidden_ver, remove use of INTUSE.
12251 * libio/genops.c: Likewise.
12252 * libio/freopen.c: Likewise.
12253 * libio/freopen64.c: Likewise.
12254 * libio/iofclose.c: Likewise.
12255 * libio/iofdopen.c: Likewise.
12256 * libio/iofflush.c: Likewise.
12257 * libio/iofflush_u.c: Likewise.
12258 * libio/iofgets.c: Likewise.
12259 * libio/iofgets_u.c: Likewise.
12260 * libio/iofopen.c: Likewise.
12261 * libio/iofopncook.c: Likewise.
12262 * libio/iofread.c: Likewise.
12263 * libio/iofread_u.c: Likewise.
12264 * libio/ioftell.c: Likewise.
12265 * libio/iofwrite.c: Likewise.
12266 * libio/iogetline.c: Likewise.
12267 * libio/iogets.c: Likewise.
12268 * libio/iogetwline.c: Likewise.
12269 * libio/iopadn.c: Likewise.
12270 * libio/iopopen.c: Likewise.
12271 * libio/ioseekoff.c: Likewise.
12272 * libio/ioseekpos.c: Likewise.
12273 * libio/iosetbuffer.c: Likewise.
12274 * libio/iosetvbuf.c: Likewise.
12275 * libio/ioungetc.c: Likewise.
12276 * libio/ioungetwc.c: Likewise.
12277 * libio/iovdprintf.c: Likewise.
12278 * libio/iovsprintf.c: Likewise.
12279 * libio/iovsscanf.c: Likewise.
12280 * libio/memstream.c: Likewise.
12281 * libio/obprintf.c: Likewise.
12282 * libio/oldfileops.c: Likewise.
12283 * libio/oldiofclose.c: Likewise.
12284 * libio/oldiofdopen.c: Likewise.
12285 * libio/oldiofopen.c: Likewise.
12286 * libio/oldiopopen.c: Likewise.
12287 * libio/oldstdfiles.c: Likewise.
12288 * libio/putc.c: Likewise.
12289 * libio/setbuf.c: Likewise.
12290 * libio/setlinebuf.c: Likewise.
12291 * libio/stdfiles.c: Likewise.
12292 * libio/strops.c: Likewise.
12293 * libio/vasprintf.c: Likewise.
12294 * libio/vscanf.c: Likewise.
12295 * libio/vsnprintf.c: Likewise.
12296 * libio/vswprintf.c: Likewise.
12297 * libio/wfiledoalloc.c: Likewise.
12298 * libio/wfileops.c: Likewise.
12299 * libio/wgenops.c: Likewise.
12300 * libio/wmemstream.c: Likewise.
12301 * libio/wstrops.c: Likewise.
12302 * libio/__fpurge.c: Likewise.
12303 * libio/__fsetlocking.c: Likewise.
12304 * assert/assert.c: Likewise.
12305 * debug/fgets_chk.c: Likewise.
12306 * debug/fgets_u_chk.c: Likewise.
12307 * debug/fread_chk.c: Likewise.
12308 * debug/fread_u_chk.c: Likewise.
12309 * debug/gets_chk.c: Likewise.
12310 * debug/obprintf_chk.c: Likewise.
12311 * debug/vasprintf_chk.c: Likewise.
12312 * debug/vdprintf_chk.c: Likewise.
12313 * debug/vsnprintf_chk.c: Likewise.
12314 * debug/vsprintf_chk.c: Likewise.
12315 * malloc/mtrace.c: Likewise.
12316 * misc/error.c: Likewise.
12317 * misc/syslog.c: Likewise.
12318 * stdio-common/asprintf.c: Likewise.
12319 * stdio-common/fxprintf.c: Likewise.
12320 * stdio-common/getw.c: Likewise.
12321 * stdio-common/isoc99_fscanf.c: Likewise.
12322 * stdio-common/isoc99_scanf.c: Likewise.
12323 * stdio-common/isoc99_vfscanf.c: Likewise.
12324 * stdio-common/isoc99_vscanf.c: Likewise.
12325 * stdio-common/isoc99_vsscanf.c: Likewise.
12326 * stdio-common/printf-prs.c: Likewise.
12327 * stdio-common/printf_fp.c: Likewise.
12328 * stdio-common/printf_fphex.c: Likewise.
12329 * stdio-common/printf_size.c: Likewise.
12330 * stdio-common/putw.c: Likewise.
12331 * stdio-common/scanf.c: Likewise.
12332 * stdio-common/sprintf.c: Likewise.
12333 * stdio-common/tmpfile.c: Likewise.
12334 * stdio-common/vfprintf.c: Likewise.
12335 * stdio-common/vfscanf.c: Likewise.
12336 * stdlib/strfmon_l.c: Likewise.
12337 * sunrpc/openchild.c: Likewise.
12338 * sunrpc/xdr_stdio.c: Likewise.
12339 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12340 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12341
d6c33fda
RM
123422012-05-24 Roland McGrath <roland@hack.frob.com>
12343
c1487492
RM
12344 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12345
12346 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12347 in the third column, to generate for the shared library an IFUNC
12348 that uses _dl_vdso_vsym.
12349 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12350 * Makeconfig (object-suffixes-noshared): New variable.
12351
12352 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12353 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12354 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12355 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12356
d6c33fda
RM
12357 [BZ #14132]
12358 * include/sys/time.h (__gettimeofday): Remove macro.
12359 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12360 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12361 Remove INTDEF.
12362 (__gettimeofday): Add libc_hidden_def.
12363 (gettimeofday): Add libc_hidden_weak.
12364 * sysdeps/mach/gettimeofday.c: Likewise.
12365 * sysdeps/posix/gettimeofday.c: Likewise.
12366 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12367 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12368 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12369 (__gettimeofday_internal): Remove strong_alias.
12370 (__gettimeofday): Add libc_hidden_def.
12371 (gettimeofday): Add libc_hidden_weak.
12372 * sysdeps/unix/syscalls.list (gettimeofday):
12373 Remove __gettimeofday_internal alias.
12374
b5a2bbe6
L
123752012-05-24 Daniel Jacobowitz <drow@false.org>
12376 H.J. Lu <hongjiu.lu@intel.com>
12377
12378 [BZ #12495]
12379 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12380 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12381 (largebin_index_32_big): New.
12382 (largebin_index): Use it for 16-byte alignment.
12383 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12384 correction with front_misalign.
12385
cfba4fda
L
123862012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12387
7f907421
L
12388 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12389 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12390 Likewise.
12391 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12392 Likewise.
12393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12394 Likewise.
12395 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12396 Likewise.
12397 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12398 Likewise.
12399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12400 Likewise.
12401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12402 Likewise.
12403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12404 Likewise.
12405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12406 Likewise.
12407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12408 Likewise.
12409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12410 Likewise.
12411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12412 Likewise.
12413
cfba4fda
L
12414 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12415 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12416
80bad0cc
JM
124172012-05-24 Joseph Myers <joseph@codesourcery.com>
12418
7a25eb06
JM
12419 [BZ #10846]
12420 [BZ #14036]
12421 * math/libm-test.inc (exp_test): Add test from bug 14036.
12422 (pow_test): Add test from bug 10846.
12423
795405f9
JM
12424 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12425 and other flags.
12426 (special_function): Do not include flags in test name.
12427 (parse_args): Likewise.
12428 * sysdeps/i386/fpu/libm-test-ulps: Update.
12429 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12430 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12431 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12433
80bad0cc
JM
12434 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12435 exceptions.
12436 * math/libm-test.inc ("Philosophy"): Update comment about
12437 exception testing.
12438 (UNDERFLOW_EXCEPTION): New macro.
12439 (UNDERFLOW_EXCEPTION_OK): Likewise.
12440 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12441 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12442 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12443 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12444 (INVALID_EXCEPTION_OK): Update value.
12445 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12446 (OVERFLOW_EXCEPTION_OK): Likewise.
12447 (IGNORE_ZERO_INF_SIGN): Likewise.
12448 (test_exceptions): Handle underflow exceptions.
12449 (acos_test): Update for underflow exception expectations.
12450 (cexp_test): Likewise.
12451 (clog_test): Likewise.
12452 (clog10_test): Likewise.
12453 (csqrt_test): Likewise.
12454 (ctan_test): Likewise.
12455 (ctanh_test): Likewise.
12456 (exp_test): Likewise.
12457 (exp10_test): Likewise.
12458 (exp2_test): Likewise.
12459 (expm1_test): Likewise.
12460 (fma_test): Likewise.
12461 (j0_test): Likewise.
12462 (jn_test): Likewise.
12463 (nexttoward_test): Likewise.
12464 (pow_test): Likewise.
12465 (scalbn_test): Likewise.
12466 (scalbln_test): Likewise.
12467 (tan_test): Likewise.
12468 (y1_test): Likewise.
12469 * sysdeps/i386/fpu/libm-test-ulps: Update.
12470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12471
9e0e3d0b
DM
124722012-05-23 David S. Miller <davem@davemloft.net>
12473
12474 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12475 (__libc_sigaction): Remove unused local variables.
12476
ccd0a08f
L
124772012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12478
12479 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12480
62bdf9a6
PE
124812012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12482
f8591f80
PE
12483 mktime: avoid signed integer overflow
12484 * time/mktime.c (__mktime_internal): Do not mishandle the case
12485 where diff == INT_MIN.
12486
94c7d826
PE
12487 mktime: simplify computation of average
12488 * time/mktime.c (ranged_convert): Use new time_t_avg function
12489 instead of rolling our own (probably-slower) code.
12490
ce73d683
PE
12491 mktime: do not assume signed right shift propagates sign bit
12492 * time/mktime.c (isdst_differ): New static function.
12493 (__mktime_internal): No need to normalize tm_isdst now.
12494 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12495 tm_isdst values.
12496
72a22e59
PE
12497 mktime: merge another wrapv change from gnulib
12498 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12499 from some compilers.
12500
68605433
PE
12501 mktime: remove incorrect attempt at unusual arithmetics
12502 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12503 The code didn't really work on such machines anyway.
12504 (TYPE_MINIMUM): Assume two's complement.
12505 (twos_complement_arithmetic): Verify that long_int and time_t
12506 are two's complement (or unsigned, in the latter case).
12507
03cf7fe3
PE
12508 mktime: check signed shifts on long_int and time_t, too
12509 * time/mktime.c (SHR): Check that shifts work as desired
12510 on the types long_int and time_t too, as SHR is used on
12511 such types.
12512
f04dfbc2
PE
12513 mktime: do not assume 'long' is wide enough
12514 * time/mktime.c (verify): Move decl up.
12515 (long_int): New type.
12516 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12517 to remove assumption in the code that 'long' is wide enough to
12518 store year values. This assumption is not true on x32 and on
12519 some non-glibc platforms.
12520
62bdf9a6
PE
12521 mktime: merge wrapv change from gnulib
12522 * time/mktime.c (WRAPV): New macro.
12523 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12524 (guess_time_tm, __mktime_internal): Do not assume that signed
12525 integer overflow wraps around; modern compilers generate code
12526 where this assumption is no longer valid.
12527
5e292e4f
L
125282012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12529
12530 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12531 Replace "jmp L(pseudo_end)" with "ret".
12532 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12533 Likewise.
12534
8caf8c87
AJ
125352012-05-23 Andreas Jaeger <aj@suse.de>
12536
12537 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12538 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12539
1a09dc56
AJ
125402012-05-23 Andreas Jaeger <aj@suse.de>
12541 Maximilian Attems <max@stro.at>
12542
12543 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12544 New macros.
12545
1c87aba0
L
125462012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12547
12548 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12549 code so that pseudo_end is just ret and the stack pointer is
12550 correct also for static library in error case.
12551
40e45bd5
JM
125522012-05-23 Joseph Myers <joseph@codesourcery.com>
12553
c2670533
JM
12554 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12555 move to syscalls.list.
12556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12560
40e45bd5
JM
12561 * manual/install.texi (Running make install): Do not mention Linux
12562 kernel version for which pt_chown is not needed.
12563 (Linux): Do not mention problems with nscd with 2.0 kernels.
12564 * INSTALL: Regenerated.
12565
be08eda5
AJ
125662012-05-23 Andreas Jaeger <aj@suse.de>
12567
12568 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12569 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12570 macro.
12571 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12572 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12573 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12574 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12575 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12576 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12577 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12578 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12579 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12580 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12581 * sysdeps/unix/sysv/linux/bits/in.h
12582 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12583
a6a056bb
RM
125842012-05-22 Roland McGrath <roland@hack.frob.com>
12585
12586 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12587 (PREPARE_VERSION): Just use assert instead, it will be elided
12588 under [NDEBUG] anyway.
12589
c9009328
L
125902012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12591
12592 * sysdeps/unix/sysv/linux/Makefile: Include
12593 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 12594 (sysdep_routines): Remove sysctl.
c9009328
L
12595 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12596 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12597 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12598 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12599 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12600
73338355
AJ
126012012-05-22 Andreas Jaeger <aj@suse.de>
12602
12603 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12604 that pseudo_end is just ret and the stack pointer is correct also
12605 for static library in error case.
12606
d44638b0
PP
126072012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12608
12609 [BZ #14122]
12610 * nss/nsswitch.c (defconfig_entries): New variable.
12611 (__nss_database_lookup): Don't leak defconfig entries.
12612 (nss_parse_service_list): Don't leak on error paths.
12613 (free_database_entries): New function.
12614 (free_defconfig): New function.
12615 (free_mem): Move common code to free_database_entries.
12616
31a39bd8
L
126172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12618
da0331a8
L
12619 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12620 Add arch_prctl.
12621 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12622
31a39bd8
L
12623 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12624 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12625 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12626 New macro.
12627 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12628 (INTERNAL_SYSCALL_TYPES): Likewise.
12629 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12630 (LOAD_REGS_TYPES_[1-6]): Likewise.
12631 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12632 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12633
45470df3
AZ
126342012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12635
12636 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12637 copysignl for GLIBC_2_0.
12638 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12639 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12640 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12641 logbl for GLIBC_2_0.
12642 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12643 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12644
98a61bcb
L
126452012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12646
a4f6e481
L
12647 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12648 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12649
f63d5db6
L
12650 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12651 Use "neg %eax".
12652
98a61bcb
L
12653 * time/mktime.c: Update copyright years.
12654
95770f14
PE
126552012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12656
6226efbd
PE
12657 mktime: merge comment-quoting-style change from gnulib
12658 * time/mktime.c: Quote 'like this' in comments.
12659 The GNU coding standards suggest that we no longer quote `like this',
12660 as "`" and "'" are typically rendered asymmetrically nowadays.
12661 The typical gnulib style is to quote 'like this' when quoting
12662 code, and "like this" when quoting English.
12663
b99e4f78
PE
12664 * time/mktime.c (compile-command): Add "-I.".
12665
643e01e6
PE
12666 mktime: merge mktime-internal.h change from gnulib
12667 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12668
2554247d
PE
12669 mktime: merge time_r change from gnulib
12670 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12671
826dd0ab
PE
12672 mktime: merge DEBUG change from gnulib
12673 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12674 case system <time.h> has a #define.
12675
bd83aabe
PE
12676 mktime: merge <sys/types.h> change from gnulib
12677 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12678 since <time.t> is now guaranteed to define time_t.
12679
95770f14
PE
12680 mktime: merge HAVE_CONFIG_H change from gnulib
12681 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12682
5e1a27a9
L
126832012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12684
0e44a77e
L
12685 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12686 Use "neg %eax".
12687
5e1a27a9
L
12688 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12689 __rlim_t cast.
12690 (struct rusage): Use anonymous union to pad each field to
12691 __syscall_slong_t.
12692
46259bec
DM
126932012-05-21 David S. Miller <davem@davemloft.net>
12694
12695 * Makefules (o-iterator): Remove .s cases.
12696 (compile-command.s): Delete.
12697 (COMPILE.s): Delete.
12698 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12699
59f0c22e
JM
127002012-05-21 Joseph Myers <joseph@codesourcery.com>
12701
12702 * configure.in (libc_cv_predef_stack_protector): Only consider
12703 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12704 * configure: Regenerated.
12705
20c07380
L
127062012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12707
bbb3154b
L
12708 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12709 New macro. Use R*LP on int and pointer.
12710 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
12711 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12712 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
12713 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12714
20c07380
L
12715 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12716 [__WORDSIZE_TIME64_COMPAT32] instead of
12717 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12718 (struct utmp): Likewise.
12719 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12720 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12721 Renamed to ...
12722 (__WORDSIZE_TIME64_COMPAT32): This.
12723 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12724 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12725 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12726 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12727 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12728 (__WORDSIZE_TIME64_COMPAT32): New macro.
12729
d8d1017e
AJ
127302012-05-21 Andreas Jaeger <aj@suse.de>
12731
12732 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12733 only if [SHARED]. Add prototype for __wcschr_ia32.
12734
6c7fb145
RM
127352012-05-21 Roland McGrath <roland@hack.frob.com>
12736
12737 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12738 of %rbp unmolested in the jmp_buf while mangling the low bits.
12739 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12740 unmolested high bits of %rbp while demangling the low bits.
12741 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12742
66274218
AJ
127432012-05-21 Andreas Jaeger <aj@suse.de>
12744
07c58f8f
AJ
12745 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12746 * sunrpc/svc_simple.c: Use it for registerrpc.
12747 * sunrpc/xcrypt.c: Use it for passwd2des.
12748
66274218
AJ
12749 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12750
61f65140
L
127512012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12752
12753 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12754 Don't define if [__SYSCALL_WORDSIZE != 32].
12755 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12756 New macro.
12757
5fefb436
AJ
127582012-05-21 Bruno Haible <bruno@clisp.org>
12759 Andreas Jaeger <aj@suse.de>
12760
12761 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12762 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12763 inptr and inend for must_buffer_ch.
12764 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12765 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12766 * stdio-common/Makefile (tests): Remove bug15.
12767 (bug15-ENV): Remove macro.
12768 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12769 anymore.
12770
d8e272ab
AJ
127712012-05-19 Andreas Jaeger <aj@suse.de>
12772 Roland McGrath <roland@hack.frob.com>
12773
12774 * manual/contrib.texi: Completely rewritten. It contains now an
12775 alphabetical list of contributors and their contributions.
12776
4a56a162
RH
127772012-05-21 Richard Henderson <rth@twiddle.net>
12778
12779 * misc/getauxval.c (__getauxval): Use unsigned long int.
12780 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12781 (getauxval): Use unsigned long int.
12782
d024d23c
L
127832012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12784
12785 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12786
cbc00a03
RM
127872012-05-21 Roland McGrath <roland@hack.frob.com>
12788
12789 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12790 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12791 __alignof__ (long double).
12792
478143fa
AZ
127932012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12794
12795 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12796
c7683a6d
RH
127972012-05-20 Richard Henderson <rth@twiddle.net>
12798
12799 * misc/getauxval.c: New file.
12800 * misc/sys/auxv.h: New file.
12801 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12802 (routines): Add getauxval.
12803 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12804 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12805 * elf/dl-sysdep.c (_dl_auxv): Remove.
12806 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12807 * elf/dl-support.c (_dl_auxv): New variable.
12808 (_dl_aux_init): Initialize it.
12809 * manual/startup.texi (Auxiliary Vector): New node.
12810 * sysdeps/generic/bits/hwcap.h: New file.
12811 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12812 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12813 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12814 * sysdeps/sparc/sysdep.h: ... here. Include it.
12815 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12816 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
12817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12818 Update.
c7683a6d
RH
12819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12820 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12822 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12825 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12826 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12827
a6f1845d
AZ
128282012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12829
12830 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12831
cbcbe830
DM
128322012-05-19 David S. Miller <davem@davemloft.net>
12833
12834 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12835
e0b16cc2
JM
128362012-05-19 Joseph Myers <joseph@codesourcery.com>
12837
12838 [BZ #14123]
12839 * math/s_ccosh.c: Include <float.h>
12840 (__ccosh): Avoid internal overflow calculating sinh and cosh
12841 values before multiplying by sin and cos values.
12842 * math/s_ccoshf.c: Likewise.
12843 * math/s_ccoshl.c: Likewise.
12844 * math/s_csin.c: Likewise.
12845 * math/s_csinf.c: Likewise.
12846 * math/s_csinl.c: Likewise.
12847 * math/s_csinh.c: Likewise.
12848 * math/s_csinhf.c: Likewise.
12849 * math/s_csinhl.c: Likewise.
12850 * math/libm-test.inc (ccos_test): Add more tests.
12851 (ccosh_test): Likewise.
12852 (csin_test): Likewise.
12853 (csinh_test): Likewise.
12854 * sysdeps/i386/fpu/libm-test-ulps: Update.
12855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12856
6ad13e08
L
128572012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12858
f66f0ce8
L
12859 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12860 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12861
6ad13e08
L
12862 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12863
b1d072a7
JM
128642012-05-19 Joseph Myers <joseph@codesourcery.com>
12865
12866 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12867 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12868 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12869 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12870 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12871 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12872 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12873 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12874 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12875 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12876 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12877 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12878 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12879 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12880 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12881 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12882 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12883 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12884 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12885 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12886 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12887 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12888 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12889 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12890 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12891 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12892 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12893 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12894 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12895 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12896 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12897
9eae47cb
AJ
128982012-05-18 Andreas Jaeger <aj@suse.de>
12899
12900 * csu/.gitignore: Delete.
12901
bb07f69f
L
129022012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12903
12904 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12905 (timex): Use __syscall_slong_t.
12906
e6bdb741
AJ
129072012-05-18 Andreas Jaeger <aj@suse.de>
12908 Carlos O'Donell <carlos_odonell@mentor.com>
12909
12910 * manual/install.texi (Configuring and compiling): Update
12911 description about files modified in the source directory.
d6c33fda 12912 * INSTALL: Regenerated.
e6bdb741 12913
1b74487e
L
129142012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12915
12916 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12917 value. Use "or" to set return value to -1.
12918 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12919 negate return value.
12920
a88b64b9
TMQMF
129212012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12922
12923 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12924 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12925 failure if the compiler has Graphite support disabled.
12926 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12927 Likewise.
12928 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12929 CFLAGS-memmove.c): Likewise.
12930 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12931 Likewise.
12932
3707636e
L
129332012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12934
610b8622
L
12935 * sysdeps/x86_64/x32/_itoa.h: New file.
12936
7cd195df
L
12937 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12938 getdents system call only if kernel and user dirents have the
12939 same d_ino and d_off.
12940
94b07d20
L
12941 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12942 LLONG_MAX != LONG_MAX.
12943 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12944 (_fitoa_word): Likewise.
12945
18298070
L
12946 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12947 years.
12948 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12949 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12950 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12951
553c7ea4
L
12952 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12953 include <bits/wordsize.h>. Check __x86_64__ instead of
12954 __WORDSIZE.
12955 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12956 if __x86_64__ is defined. Use anonymous union on fpstate.
12957
3707636e
L
12958 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12959 anonymous union.
12960
b53ef01a
AS
129612012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12962
37fb1dc0
AS
12963 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12964 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12965 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12966 Refer to _rtld_local_ro instead of _rtld_global_ro.
12967 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12968 Likewise.
12969 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12970 Likewise.
12971 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12972 Likewise.
12973 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12974 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12975 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12976
b53ef01a
AS
12977 * sysdeps/powerpc/powerpc32/dl-machine.c
12978 (__elf_machine_runtime_setup) [PROF]: Don't reference
12979 _dl_prof_resolve.
12980
7a185db2
AJ
129812012-05-18 Andreas Jaeger <aj@suse.de>
12982
12983 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12984 function only available for GCCs before 3.4 since GCC 3.4
12985 introduced a builtin.
12986 (lrint): Likewise.
12987 (llrintf): Likewise.
12988 (llrint): Likewise.
12989 (fmaxf): Likewise.
12990 (fmax): Likewise.
12991 (fminf): Likewise.
12992 (fmin): Likewise.
12993 (rint): Likewise.
12994 (rintf): Likewise.
12995 (nearbyint): Likewise.
12996 (nearbyintf): Likewise.
12997 (ceil): Likewise.
12998 (ceilf): Likewise.
12999 (floor): Likewise.
13000 (floorf): Likewise.
13001
3e5aef87
L
130022012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13003
428bd707
L
13004 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13005 on both fields and cast pointer to __syscall_ulong_t.
13006
3e5aef87
L
13007 * bits/types.h (__fsword_t): New type.
13008 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13009 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13010 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13011 (__FSWORD_T_TYPE): Likewise.
13012 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13013 (__FSWORD_T_TYPE): Likewise.
13014 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13015 (__FSWORD_T_TYPE): Likewise.
13016 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13017 (__FSWORD_T_TYPE): Likewise.
13018 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13019 __SWORD_TYPE with __fsword_t.
13020 (statfs64): Likewise.
13021
1ba7c3dc
DM
130222012-05-17 David S. Miller <davem@davemloft.net>
13023
13024 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13025
59910343
AJ
130262012-05-17 Andreas Jaeger <aj@suse.de>
13027
13028 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13029 warning.
13030
2e4c1e9e
L
130312012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13032
13033 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13034
de7f5ce7
AJ
130352012-05-17 Andreas Jaeger <aj@suse.de>
13036
13037 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13038 when it is used.
13039
286abc3d
CM
130402012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13041
13042 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13043
477cc68e
L
130442012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13045
13046 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13047 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13048
1a0994f5
CD
130492012-05-17 Andreas Jaeger <aj@suse.de>
13050 Carlos O'Donell <carlos_odonell@mentor.com>
13051
13052 [BZ #14059]
13053 * sysdeps/x86_64/multiarch/init-arch.h
13054 (bit_YMM_Usable): Rename to...
13055 (bit_AVX_Usable): ... this.
13056 (bit_FMA4_Usable): New macro.
13057 (bit_XMM_state): New macro.
13058 (bit_YMM_state): New macro.
13059 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13060 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13061 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13062 (CPUID_OSXSAVE): New macro.
13063 (CPUID_AVX): New macro.
13064 (CPUID_FMA4): New macro.
13065 (index_YMM_Usable): Rename to...
13066 (index_AVX_Usable): ... this.
13067 (HAS_AVX): Use HAS_ARCH_FEATURE.
13068 (HAS_FMA4): Likewise.
13069 (HAS_YMM_USABLE): Remove.
13070 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13071 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13072 are present.
13073 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13074 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13075 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13076 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13077 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13078
0af797de
CM
130792012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13080
13081 * math/libm-test.c: Support platforms without multiple rounding modes.
13082 * math/bug-nextafter.c: Support platforms without FP exceptions.
13083 * math/bug-nexttoward.c: Likewise.
13084 * math/test-fenv.c: Likewise.
13085 * math/test-misc.c: Likewise.
13086 * stdlib/bug-getcontext.c: Likewise.
13087
e39745ff
AJ
130882012-05-17 Andreas Jaeger <aj@suse.de>
13089
13090 * manual/examples/search.c (critter_cmp): Change signature to
13091 avoid warnings.
13092 * manual/string.texi (Collation Functions): Likewise.
13093
48970aba
L
130942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13095
13096 * bits/types.h: Fold copyright years.
13097 * bits/typesizes.h: Likewise.
13098 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13099 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13100 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13101 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13102 * time/time.h: Likewise.
13103
bedee953
PP
131042012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13105
13106 [BZ #208]
13107 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13108 in instead of returning them. Return void.
13109 (__libc_mallinfo): Accumulate over all arenas.
13110 (__malloc_stats): Adjust for change in int_mallinfo interface.
13111
61653dfb
RM
131122012-05-16 Roland McGrath <roland@hack.frob.com>
13113
30b99d79
RM
13114 [BZ #10375]
13115 * configure.in (NM): Add AC_CHECK_TOOL for it.
13116 (libc_extra_cflags): New substituted variable.
13117 Check for -fstack-protector being used implicitly.
13118 * configure: Regenerated.
13119 * config.make.in (config-extra-cflags): New variable,
13120 gets @libc_extra_cflags@.
13121 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13122
61653dfb
RM
13123 [BZ #10375]
13124 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13125 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13126 * configure: Regenerated.
13127 * config.make.in (CPPUNDEFS): New substituted variable.
13128 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13129 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13130 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13131
661768bb
L
131322012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13133
13134 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13135 (mq_attr): Use __syscall_slong_t.
13136
d4261567
L
131372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13138
13139 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13140 Check __x86_64__ instead of __WORDSIZE.
13141 (_STAT_VER_LINUX): Likewise.
13142 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13143 __syscall_ulong_t and __syscall_slong_t.
13144 (stat64): Likewise.
13145
cf3ff365
L
131462012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13147
13148 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13149
76cf3e4d
L
131502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13151
13152 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13153
a637753a
L
131542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13155
13156 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13157 __syscall_ulong_t.
13158
d5e05119
L
13159 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13160 include <bits/wordsize.h>. Check __x86_64__ instead of
13161 __WORDSIZE.
13162 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13163 defined.
13164 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13165
f62ee380
L
13166 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13167 include <bits/wordsize.h>. Check __x86_64__ instead of
13168 __WORDSIZE.
13169 (user_regs_struct): Use "__extension__ unsigned long long"
13170 instead of "unsigned long" if __x86_64__ is defined.
13171 (user): Likewise. Pad after pointer field if __ILP32__ is
13172 defined.
13173
4e124ced
JM
131742012-05-16 Joseph Myers <joseph@codesourcery.com>
13175
6a3951a0
JM
13176 * configure.in (makeinfo): Require version 4.5 or later. Allow
13177 versions 5 to 9.
13178 * configure: Regenerated.
13179 * manual/install.texi (texinfo): Increase version requirement to
13180 4.5 or later.
13181 * INSTALL: Regenerated.
13182
4e124ced
JM
13183 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13184
953ca31a
L
131852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13186
13187 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13188
617aca05
L
13189 * sysdeps/x86_64/x32/ffs.c: New file.
13190
5762f7ae
L
13191 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13192 __syscall_ulong_t.
13193 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13194 defined. Use __syscall_ulong_t.
13195 (shminfo): Use __syscall_ulong_t.
13196 (shm_info): Likewise.
13197
a26b6856
L
13198 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13199 __syscall_ulong_t.
13200
cb2b9ef7
L
13201 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13202 <bits/wordsize.h>.
13203 (msgqnum_t): Use __syscall_ulong_t.
13204 (msglen_t): Likewise.
13205 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13206 __syscall_ulong_t.
13207
34683bb0
L
13208 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13209 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13210
84a68786
L
13211 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13212
48baa5f1
L
13213 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13214 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13215
180be88b
L
13216 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13217 __syscall_slong_t.
13218
5e90c8ad
L
13219 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13220 include <bits/wordsize.h>. Check __x86_64__ instead of
13221 __WORDSIZE.
13222
23dfb58b
L
13223 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13224 "unsigned long long int" if __x86_64__ is defined.
13225 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13226
ce5d54b0
L
13227 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13228 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13229 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13230
13dc9eac
L
13231 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13232 <stdint.h>.
13233 (GET_PC): Cast to uintptr_t first.
13234 (GET_FRAME): Likewise.
13235 (GET_STACK): Likewise.
13236
a7895d15
L
13237 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13238 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13239 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13240 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13241 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13242 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13243 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13244 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13245 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13246 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13247 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13248 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13249 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13250 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13251 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13252 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13253 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13254 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13255 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13256 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13257 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13258 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13259 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13260 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13261 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13262 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13263 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13264 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13265 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13266
656416c9
AS
132672012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13268
5bd66283
AS
13269 * Makerules (+depfiles): Also collect depfiles from .oS in
13270 $(extra-objs).
13271 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13272 .oS, $(libnldbl-routines)).
13273
656416c9
AS
13274 * Makerules (native-compile-mkdep-flags): Define.
13275 * sunrpc/Makefile (extra-objs): Add $(addprefix
13276 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13277 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13278 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13279 calling $(make-target-directory).
13280
a46f2169
L
132812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13282
13283 * bits/types.h (__snseconds_t): Removed.
13284 * time/time.h (struct timespec): Replace __snseconds_t with
13285 __syscall_slong_t.
13286 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13287 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13288 Likewise.
13289 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13290 (__SNSECONDS_T_TYPE): Likewise.
13291 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13292 (__SNSECONDS_T_TYPE): Likewise.
13293 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13294 (__SNSECONDS_T_TYPE): Likewise.
13295
6af6528b
L
132962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13297
13298 * sysdeps/mach/hurd/bits/typesizes.h
13299 (__SYSCALL_SLONG_TYPE): New macro.
13300 (__SYSCALL_ULONG_TYPE): Likewise.
13301
de986b56
L
133022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13303
13304 * bits/types.h (__syscall_slong_t): New type.
13305 (__syscall_ulong_t): Likewise.
13306
13307 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13308 (__SYSCALL_ULONG_TYPE): Likewise.
13309 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13310 (__SYSCALL_SLONG_TYPE): Likewise.
13311 (__SYSCALL_ULONG_TYPE): Likewise.
13312 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13313 (__SYSCALL_SLONG_TYPE): Likewise.
13314 (__SYSCALL_ULONG_TYPE): Likewise.
13315 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13316 (__SYSCALL_SLONG_TYPE): Likewise.
13317 (__SYSCALL_ULONG_TYPE): Likewise.
13318
85736dc7
L
133192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13320
13321 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13322 Add sigaltstack-offsets.sym.
13323 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13324 <sigaltstack-offsets.h>.
13325 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13326 longjmp_msg pointer.
13327 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13328 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13329 signal stack.
13330 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13331
cc03b296
JM
133322012-05-15 Joseph Myers <joseph@codesourcery.com>
13333
a9538892
JM
13334 * elf/stackguard-macros.h: Remove file.
13335 * sysdeps/generic/stackguard-macros.h: New file.
13336 * sysdeps/i386/stackguard-macros.h: Likewise.
13337 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13338 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13339 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13340 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13341 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13342 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13343 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13344 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13345 <elf/stackguard-macros.h>.
13346
cc03b296
JM
13347 [BZ #14109]
13348 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13349 __aligned__ in attribute.
13350 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13351 (gregset_t): Likewise.
13352
93171016
L
133532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13354
13355 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13356 * sysdeps/x86_64/64/Implies-after: Here. New file.
13357 * sysdeps/x86_64/x32/Implies-after: New file.
13358
d86813a0
L
133592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13360
13361 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13362 and access return value for _dl_profile_fixup. Use R10_LP to
13363 load frame size.
13364
2953ec75
L
133652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13366
13367 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13368
3b550e9e
L
133692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13370
13371 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13372 * sysdeps/x86_64/x32/sysdep.h: New file.
13373
eda41706
L
133742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13375
13376 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13377 * sysdeps/x86_64/setjmp.S: Likewise.
13378
9ea01d93
AZ
133792012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13380
13381 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13382 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13383 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13384 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13385 remove unused global constant.
13386
02a91938
CM
133872012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13388
13389 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13390 include of <not-cancel.h>.
13391
6540185f
RM
133922012-05-15 Roland McGrath <roland@hack.frob.com>
13393
13394 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13395
509072a0
AJ
133962012-05-15 Jeff Law <law@redhat.com>
13397 Andreas Jaeger <aj@suse.de>
13398
13399 [BZ #13594]
13400 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13401 out from...
13402 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13403 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13404 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13405 code changing __hst_map_handle.map.
13406
ba75122d
RM
134072012-05-15 Roland McGrath <roland@hack.frob.com>
13408
13409 * configure.in (sysnames): Look for Implies-before and Implies-after
13410 files.
13411 * configure: Regenerated.
13412
890d8bd8
L
134132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13414
13415 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13416 8-byte data alignment with LP_SIZE alignment.
13417
f6ee6623
L
134182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13419
13420 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13421 into R10_LP.
13422
ea2626f6
L
134232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13424
13425 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13426
085f715e
L
134272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13428
13429 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13430 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13431 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13432 Likewise.
13433 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13434
be8498fc
L
134352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13436
13437 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13438 (stackinfo_sub_sp): Likewise.
13439
70bc83b9
L
134402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13441
13442 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13443 RAX_LP.
13444
9bc0b730
L
134452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13446
13447 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13448 into R*_LP.
13449
6d2850e7
L
134502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13451
13452 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13453 sizes into R*_LP.
13454
3cb84561
L
134552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13456
13457 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13458
54e2ed81
L
134592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13460
13461 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13462 into R11_LP and load __x86_64_shared_cache_size_half into
13463 R8_LP.
13464
8a17f349
L
134652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13466
13467 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13468 R8_LP.
13469
777b1eea
AZ
134702012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13471
13472 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13473 logb for POWER7.
13474 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13475 logbf for POWER7.
13476 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13477 logbl for POWER7.
13478 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13479 powerpc32/power7/fpu/s_logb.c via #include.
13480 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13481 powerpc32/power7/fpu/s_logbf.c via #include.
13482 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13483 powerpc32/power7/fpu/s_logbl.c via #include.
13484
d20d4ac2
JM
134852012-05-15 Joseph Myers <joseph@codesourcery.com>
13486
13487 * README.libm: Remove file.
13488
6cdef1ab
L
134892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13490
13491 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13492 count for x32. Use R*_LP and omit operand-size suffix.
13493
0b254d8f
L
134942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13495
13496 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13497 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13498 * sysdeps/x86_64/x32/shlib-versions: New file.
13499
ceb809dc
RM
135002012-05-14 Roland McGrath <roland@hack.frob.com>
13501
13502 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13503 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13504 Use _dl_fatal_printf instead.
13505
37f1abd4
JM
135062012-05-14 Joseph Myers <joseph@codesourcery.com>
13507
13508 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13509 set if not set by the user. Do not allow for being unset.
13510 * sysdeps/unix/sysv/linux/configure: Regenerated.
13511
11de3a33
L
135122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13513
13514 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13515 the `q' suffix from lea and replace .quad with ASM_ADDR.
13516
e02f153a
L
135172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13518
13519 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13520 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13521 instead of $17.
13522 (PTR_DEMANGLE): Likewise.
13523
520ae0fd
L
135242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13525
13526 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13527 (LP_OP): Likewise.
13528 (ASM_ADDR): Likewise.
13529 (RAX_LP): Likewise.
13530 (RBP_LP): Likewise.
13531 (RBX_LP): Likewise.
13532 (RCX_LP): Likewise.
13533 (RDI_LP): Likewise.
13534 (RSI_LP): Likewise.
13535 (RSP_LP): Likewise.
13536 (R8_LP): Likewise.
13537 (R9_LP): Likewise.
13538 (R10_LP): Likewise.
13539 (R10_LP): Likewise.
13540 (R11_LP): Likewise.
13541 (R12_LP): Likewise.
13542 (R13_LP): Likewise.
13543 (R14_LP): Likewise.
13544 (R15_LP): Likewise.
13545
b985be81
L
135462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13547
13548 * sysdeps/x86_64/x32/dl-machine.h: New file.
13549
6a4888ff
AJ
135502012-05-14 Andreas Jaeger <aj@suse.de>
13551
13552 * manual/Makefile (subdir): Remove export of subdir.
13553 (all): Remove target.
13554 (.PHONY): Remove all from list.
13555 (mkinstalldirs): Remove.
13556 (.PHONY): Remove installdirs from list.
13557 ($(inst_infodir)/libc.info): Use make-target-directory.
13558 (installdirs): Remove.
13559 (subdir_%): Remove.
13560 (glibc-targets): Remove.
13561 (lib): Remove.
13562 (stubs): Remove.
13563 ($(objpfx)stubs ../po/manual.pot): Remove.
13564 ($(objpfx)stamp%): Remove.
13565 (make-target-directory): Remove.
13566 (subdir_install): Remove.
13567 (routines): Remove.
13568 (aux): Remove.
13569 (sources): Remove.
13570 (objects): Remove.
13571 (headers): Remove.
13572
13573 [BZ #13750]
13574 * manual/.gitignore: Remove, it's not needed anymore.
13575 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13576 all files in it.
13577 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13578 directory.
13579 (texis): Renamed to $(objpfx)texis.
13580 (texis-path): New, contains path to generated files.
13581 (chapters.%): Use texis-path for complete path, add extra argument
13582 libc-texinfo.sh.
13583 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13584 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13585 (summary,texi, stamp-summary): Use complete path of
13586 files. Generate files in build dir.
13587 (dir-add.texi): Build in build dir.
13588 (libm-err.texi,stamp-libm-err): Likewise.
13589 (version.texi, stamp-version): Likewise.
13590 (.%c.texi): Likewise.
13591 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13592 (mostlyclean): Remove target.
13593 (realclean): Remove target.
13594 (generated): Add new variable with contents from mostlyclean and
13595 realclean, remove entries duplicated in common-mostlyclean, add
13596 stamp-libm-err and stamp-version.
13597 (generated-dirs): Add libc directory.
13598 ($(inst_infodir)/libc.info): Install files from build dir.
13599
13600 * manual/install.texi (Configuring and compiling): Adjust since
13601 the info files are not part of the tar ball anymore.
13602
7ac77294
AJ
136032012-05-14 Andreas Jaeger <aj@suse.de>
13604
13605 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13606 variable.
13607
ffb7875d
JM
136082012-05-14 Joseph Myers <joseph@codesourcery.com>
13609
13610 [BZ #13717]
13611 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13612 to 2.2.0 where earlier.
13613 * sysdeps/unix/sysv/linux/configure: Regenerated.
13614 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13615 Remove conditional code.
13616 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13617 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13618 Remove conditional code.
13619 [!__NR_lchown]: Likewise.
13620 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13621 [__NR_lchown]: Likewise.
13622 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13623 comment referencing __ASSUME_LCHOWN_SYSCALL.
13624 * sysdeps/unix/sysv/linux/i386/sigaction.c
13625 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13626 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13627 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13628 Remove conditional code.
13629 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13630 (__protocol_available): Remove #if 0 code.
13631 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13632 conditional code.
13633 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13634 * sysdeps/unix/sysv/linux/kernel-features.h
13635 (__ASSUME_GETCWD_SYSCALL): Don't define.
13636 (__ASSUME_REALTIME_SIGNALS): Likewise.
13637 (__ASSUME_PREAD_SYSCALL): Likewise.
13638 (__ASSUME_PWRITE_SYSCALL): Likewise.
13639 (__ASSUME_POLL_SYSCALL): Likewise.
13640 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13641 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13642 non-SPARC.
13643 (__ASSUME_SIOCGIFNAME): Don't define.
13644 (__ASSUME_MSG_NOSIGNAL): Likewise.
13645 (__ASSUME_SENDFILE): Define unconditionally.
13646 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13647 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13648 conditional code.
13649 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13650 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13651 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13652 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13653 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13654 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13655 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13657 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13658 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13660 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13661 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13663 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13664 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13666 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13667 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13669 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13670 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13672 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13673 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13675 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13676 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13678 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13679 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13680 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13681 Remove conditional code.
13682 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13683 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13684 Remove conditional code.
13685 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13686 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13687 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13688 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13689 Remove conditional code.
13690 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13691 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13692 Remove conditional code.
13693 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13694 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13695 Remove conditional code.
13696 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13697 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13698 Remove conditional code.
13699 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13700 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13701 Remove conditional code.
13702 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13703 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13704 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13705 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13706 * sysdeps/unix/sysv/linux/sigaction.c
13707 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13708 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13709 * sysdeps/unix/sysv/linux/sigpending.c
13710 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13711 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13712 * sysdeps/unix/sysv/linux/sigprocmask.c
13713 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13714 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13715 * sysdeps/unix/sysv/linux/sigsuspend.c
13716 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13717 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13718 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13719 (__libc_missing_rt_sigs): Remove.
13720 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13721 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13722 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13723 Remove conditional code.
13724 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13725 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13726 return 1.
13727 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13728 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13729 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13730 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13731
1bfb7291
AJ
137322012-05-14 Andreas Jaeger <aj@suse.de>
13733
caae5a81
AJ
13734 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13735 it's not used in glibc.
13736 (__coshm1): Likewise.
13737 (__acosh1p): Likewise.
13738 (__sgn): Likewise.
13739
1bfb7291
AJ
13740 * manual/string.texi (Copying and Concatenation): Add missing
13741 variable in concat example.
13742 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13743
c044d724
L
137442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13745
144c5467 13746 [BZ #14103]
c044d724
L
13747 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13748 __builtin_clzl with __builtin_clzll.
13749
2523c62b
L
137502012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13751
13752 [BZ #14104]
13753 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13754 libc_freeres_ptr.
13755
d7bb4c42
LD
137562012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13757
13758 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13759 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13760 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13761 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13762
9dc4e1fb
MF
137632012-05-14 Mike Frysinger <vapier@gentoo.org>
13764
13765 * NEWS: Update ia64 info.
13766
c7df0112
AS
137672012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13768
13769 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13770 used as bcopy.
13771
dc70356c
TS
137722012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13773
13774 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13775 * sysdeps/unix/syscalls.list (dup3): Likewise.
13776 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13777 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13778
9fb1a21f
L
137792012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13780
13781 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13782 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13783
4822a2a5
L
137842012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13785
13786 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13787 thread pointer.
13788 (TLS_IE): Use mov/add instead of movq/addq to load thread
13789 pointer.
13790 (TLS_GD_PREFIX): New.
13791 (TLS_GD): Use it.
13792
842b81d6
DM
137932012-05-11 David S. Miller <davem@davemloft.net>
13794
13795 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13796 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13797 (_FPU_SETCW): Likewise.
13798
1cf463cd
L
137992012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13800
13801 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13802 is 32-byte aligned.
13803
60cc4a18
AS
138042012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13805
13806 [BZ #11837]
13807 * iconvdata/gb18030.c: Update tables.
13808 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13809 characters specially.
13810 (BODY for TO_LOOP): Add encoding of missing ranges.
13811
febb44a4
TS
138122012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13813
13814 [BZ #13673]
13815 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13816 * sysdeps/mach/hurd/dup3.c: Likewise.
13817 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13818 * sysdeps/powerpc/memmove.c:: Likewise.
13819
0a10fb9e
L
138202012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13821
13822 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13823 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13824
df8a552f
L
138252012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13826
13827 * elf/elf.h (R_X86_64_RELATIVE64): New.
13828 (R_X86_64_NUM): Updated.
13829 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13830 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13831 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13832 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13833 tst-quad1pie tst-quad2pie
13834 (modules-names): Add tst-quadmod1 tst-quadmod2.
13835 ($(objpfx)tst-quad1): New dependency.
13836 ($(objpfx)tst-quad2): Likewise.
13837 ($(objpfx)tst-quad1pie): Likewise.
13838 ($(objpfx)tst-quad2pie): Likewise.
13839 * sysdeps/x86_64/tst-quad1.c: New file.
13840 * sysdeps/x86_64/tst-quad1pie.c: New file.
13841 * sysdeps/x86_64/tst-quad2.c: Likewise.
13842 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13843 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13844 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13845 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13846 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13847
f34d6f84
ST
138482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13849
f42d41d1
ST
13850 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13851 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13852 * streams/stropts.h (t_scalar_t): Define type.
13853
3c3571fc
ST
13854 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13855 (_PATH_PRESERVE): Set to "/var/lib".
13856 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13857
61f06bd3
ST
13858 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13859 instead of int.
13860
918d4d71
ST
13861 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13862 if __dir_mkfile succeeded.
13863
f34d6f84
ST
13864 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13865 checking for _hurd_dtablesize. Unlock it right after having
13866 finished _hurd_dtable allocation.
13867
10589b4a
TS
138682012-05-10 Thomas Schwinge <thomas@schwinge.name>
13869
674cdbc7
TS
13870 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13871 * sysdeps/mach/hurd/configure: Regenerated.
13872 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13873 special-casing to...
13874 * sysdeps/gnu/configure.in: ... this new file.
13875 * sysdeps/unix/sysv/linux/configure: Regenerated.
13876 * sysdeps/gnu/configure: New generated file.
13877
8e41b99f
TS
13878 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13879 for Linux: use nsec instead of usec, as well as:
13880 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13881 members of type struct timespec.
13882 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13883 New macros.
13884 (struct stat64): Likewise.
13885 (_STATBUF_ST_NSEC): New macro.
13886 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13887
10589b4a
TS
13888 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13889 __strtoul_internal rather than strtoul.
13890
63643c85
PT
138912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13892
13893 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13894 and reject them.
13895
3faebe6a
ST
138962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13897
13898 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13899 which preserves existing values.
13900 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13901
c6474b07
PT
139022012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13903
13904 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13905 TIMEOUT values. Return EINVAL for NFDS values either negative or
13906 greater than FD_SETSIZE.
13907
1043890b
ST
139082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13909
13910 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13911 allocated, call __vm_protect to finish enabling the existing space, and
13912 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13913 allocate the remainder.
13914
37ed8b9b
PT
139152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13916
13917 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13918 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13919
db653660
ST
139202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13921
37ed8b9b
PT
13922 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13923 sysdeps/mach/hurd/readlink.c.
b29d4053 13924
db653660
ST
13925 * posix/tst-sysconf.c (posix_options): Only use
13926 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13927 _POSIX_SYNCHRONIZED_IO when they are defined
13928 * sysdeps/mach/hurd/bits/posix_opt.h:
13929 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13930 (_XOPEN_REALTIME): Undefine macro.
13931 (_XOPEN_REALTIME_THREADS): Undefine macro.
13932 (_XOPEN_SHM): Undefine macro.
13933 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13934 macro to -1.
13935 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13936 macro to -1.
13937 (_POSIX_ASYNC_IO): Undefine macro.
13938 (_POSIX_PRIORITIZED_IO): Undefine macro.
13939 (_POSIX_SPIN_LOCKS): Define macro to -1.
13940
ee16e894
ST
13941 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13942 SA_NODEFER, SA_RESETHAND.
13943 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13944 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13945 F_DUPFD_CLOEXEC.
13946
6103ae3b
TS
139472012-05-10 Thomas Schwinge <thomas@schwinge.name>
13948
13949 * elf/Makefile (pldd-modules): Define unconditionally.
13950
80b4e5f3
TS
139512012-05-10 Thomas Schwinge <thomas@schwinge.name>
13952
13953 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13954
edadcbd6
ST
139552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13956
13957 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13958 Return ENOENT when name is empty.
13959 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13960
80694780
TS
139612012-05-10 Thomas Schwinge <thomas@schwinge.name>
13962
1792c087
TS
13963 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13964
80694780
TS
13965 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13966
6b645f0d
ST
139672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13968
80694780
TS
13969 Fix mlock in all cases except non-readable pages.
13970 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13971 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 13972
6b645f0d
ST
13973 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13974 (__mkdir): When path is `/', just fail with EEXIST.
13975 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13976
e468f8a3
TS
139772012-05-10 Thomas Schwinge <thomas@schwinge.name>
13978
13979 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13980 <sys/uio.h> (for writev).
13981 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13982 and <sys/param.h> (for MIN).
13983
a4186cff
PT
139842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13985
13986 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13987 REQUESTED_TIME. Properly set the remaining time and return EINTR
13988 if interrupted.
13989
510bbf14
TS
139902012-05-10 Thomas Schwinge <thomas@schwinge.name>
13991
13992 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13993 Depend on against $(link-rpcuserlibs).
13994
5d5722e8
ST
139952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13996
a4186cff
PT
13997 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
13998 (__libc_stack_end): Do not use attribute_relro.
13999 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14000 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 14001 to libthread-provided value.
a4186cff
PT
14002 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14003 attribute_relro.
5d5722e8 14004
37233df9
TS
140052012-05-10 Thomas Schwinge <thomas@schwinge.name>
14006
be971a2b
TS
14007 [BZ #3748]
14008 * bits/libc-lock.h (__libc_once_get): New macro.
14009 * sysdeps/mach/bits/libc-lock.h: Likewise.
14010 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14011 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14012 instead of using implementation details.
14013
37233df9
TS
14014 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14015 * libio/freopen.c: Likewise.
14016 * libio/freopen64.c: Likewise.
14017 * misc/syslog.c: Likewise.
14018 * nscd/connections.c: Likewise.
14019 * nscd/netgroupcache.c: Likewise.
14020 * sysdeps/posix/getcwd.c: Likewise.
14021
38de94a5
RM
140222012-05-10 Roland McGrath <roland@hack.frob.com>
14023
14024 * math/w_ilogbf.c: Add #include <limits.h>.
14025
67530489
ST
140262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14027
a4186cff 14028 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
14029 path instead of returning without unlocking.
14030
67530489
ST
14031 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14032 immediate-write ioctls.
14033 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14034
5aa3a74a
TS
140352012-05-10 Thomas Schwinge <thomas@schwinge.name>
14036
18bad2ae
TS
14037 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14038 __builtin_frame_address instead of making assumptions about the
14039 location of the return address relative to DATA. Force early load of
14040 the return address.
14041 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14042 __builtin_frame_address.
14043
5aa3a74a
TS
14044 dup3 for GNU Hurd.
14045 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14046 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14047 implement dup3 and do some further code clean-ups.
14048 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14049 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14050
ecd0de9a
ST
140512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14052
cd9fa985
ST
14053 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14054
a4186cff
PT
14055 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14056 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14057 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14058 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14059 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14060 d->port.lock.
802ca5a5 14061
a4186cff
PT
14062 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14063 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14064 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 14065
bcf55240
TS
140662012-05-10 Thomas Schwinge <thomas@schwinge.name>
14067
6960eb42
TS
14068 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14069 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14070 definitions.
14071
eb43375f
TS
14072 accept4 for GNU Hurd.
14073 * include/sys/socket.h (__libc_accept4): New prototype.
14074 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14075 to implement __libc_accept4.
14076 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14077 __libc_accept4.
14078 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14079
bcf55240
TS
14080 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14081 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14082 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14083 signal-defines.sym.
14084
6178c55b
ST
140852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14086
a4186cff 14087 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 14088
6f080c2f
TS
140892012-05-10 Thomas Schwinge <thomas@schwinge.name>
14090
14091 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14092 assertion on O_CLOEXEC flag.
14093 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14094 * hurd/intern-fd.c: Likewise.
14095 * hurd/port2fd.c: Likewise.
14096
bcfe3a54
ST
140972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14098
14099 [BZ #3906]
14100 * bits/in.h (IPV6_PKTINFO): Define new macro.
14101 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14102
89c9aa49
AZ
141032012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14104
14105 [BZ #13954]
14106 [BZ #13955]
14107 [BZ #13956]
14108 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14109 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14110 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14111 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14112 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14113 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14114 * math/libm-test.inc (logb_test) : Additional logb tests.
14115
021db4be
AJ
141162012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14117 Andreas Jaeger <aj@suse.de>
14118
14119 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14120 * configure: Regenerated.
14121 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14122 * config.make.in (link-obsolete-rpc): New substituted variable.
14123 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14124 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14125 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14126 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14127 so that libc.a contains the symbols.
14128 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14129 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14130 * sunrpc/auth_none.c: Likewise.
14131 * sunrpc/auth_unix.c: Likewise.
14132 * sunrpc/authdes_prot.c: Likewise.
14133 * sunrpc/authuxprot.c: Likewise.
14134 * sunrpc/clnt_gen.c: Likewise.
14135 * sunrpc/clnt_perr.c: Likewise.
14136 * sunrpc/clnt_raw.c: Likewise.
14137 * sunrpc/clnt_simp.c: Likewise.
14138 * sunrpc/clnt_tcp.c: Likewise.
14139 * sunrpc/clnt_udp.c: Likewise.
14140 * sunrpc/clnt_unix.c: Likewise.
14141 * sunrpc/des_crypt.c: Likewise.
14142 * sunrpc/des_soft.c: Likewise.
14143 * sunrpc/get_myaddr.c: Likewise.
14144 * sunrpc/key_call.c: Likewise.
14145 * sunrpc/key_prot.c: Likewise.
14146 * sunrpc/netname.c: Likewise.
14147 * sunrpc/pm_getmaps.c: Likewise.
14148 * sunrpc/pm_getport.c: Likewise.
14149 * sunrpc/pmap_clnt.c: Likewise.
14150 * sunrpc/pmap_prot.c: Likewise.
14151 * sunrpc/pmap_prot2.c: Likewise.
14152 * sunrpc/pmap_rmt.c: Likewise.
14153 * sunrpc/publickey.c: Likewise.
14154 * sunrpc/rpc_cmsg.c: Likewise.
14155 * sunrpc/rpc_common.c: Likewise.
14156 * sunrpc/rpc_dtable.c: Likewise.
14157 * sunrpc/rpc_prot.c: Likewise.
14158 * sunrpc/rpc_thread.c: Likewise.
14159 * sunrpc/rtime.c: Likewise.
14160 * sunrpc/svc.c: Likewise.
14161 * sunrpc/svc_auth.c: Likewise.
14162 * sunrpc/svc_raw.c: Likewise.
14163 * sunrpc/svc_run.c: Likewise.
14164 * sunrpc/svc_tcp.c: Likewise.
14165 * sunrpc/svc_udp.c: Likewise.
14166 * sunrpc/svc_unix.c: Likewise.
14167 * sunrpc/svcauth_des.c: Likewise.
14168 * sunrpc/xcrypt.c: Likewise.
14169 * sunrpc/xdr.c: Likewise.
14170 * sunrpc/xdr_array.c: Likewise.
14171 * sunrpc/xdr_float.c: Likewise.
14172 * sunrpc/xdr_intXX_t.c: Likewise.
14173 * sunrpc/xdr_mem.c: Likewise.
14174 * sunrpc/xdr_rec.c: Likewise.
14175 * sunrpc/xdr_ref.c: Likewise.
14176 * sunrpc/xdr_sizeof.c: Likewise.
14177 * sunrpc/xdr_stdio.c: Likewise.
14178
b5c086a2
RM
141792012-05-10 Roland McGrath <roland@hack.frob.com>
14180
14181 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14182 change. Update copyright years.
14183
6d74dd09
JM
141842012-05-10 Joseph Myers <joseph@codesourcery.com>
14185
14186 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14187
28e72501
MK
141882012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14189 Joseph Myers <joseph@codesourcery.com>
14190 Paul Pluzhnikov <ppluzhnikov@google.com>
14191
14192 [BZ #14012]
14193 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14194 requiring rpcgen.
14195 [cross-compiling] (extra-libs): Likewise.
14196 [cross-compiling] (extra-libs-others): Likewise.
14197 [cross-compiling] (librpcsvc-routines): Likewise.
14198 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14199 [cross-compiling] (omit-deps): Likewise.
14200 (sunrpc-CPPFLAGS): New variable.
14201 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14202 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14203 (cross-rpcgen-objs): New variable.
14204 (extra-objs): Append $(cross-rpcgen-objs).
14205 ($(cross-rpcgen-objs)): New rule.
14206 ($(objpfx)cross-rpcgen): Likewise.
14207 (rpcgen-cmd): Define to use $(built-program-file). Expand
14208 comment.
14209 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14210 ($(objpfx)x%.stmp): Likewise.
14211 * sunrpc/proto.h [IS_IN_build] (_): Define.
14212 [IS_IN_build] (_libc_intl_domainname): Likewise.
14213
c8c59454
L
142142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14215
14216 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14217 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14218 and R_X86_64_TPOFF64.
14219
6f27cd16
JM
142202012-05-10 Joseph Myers <joseph@codesourcery.com>
14221
14222 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14223 sysdeps/unix/sysv/syscalls.list.
14224 (stime): Likewise.
14225 (utime): Likewise.
14226 * sysdeps/unix/sysv/syscalls.list: Remove file.
14227
02467e1c
PE
142282012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14229
14230 [BZ #3440]
14231 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14232 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14233 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14234 (__LC_IDENTIFICATION): Make these macros useful in #if
14235 expressions, as required by C99.
14236
da392631
AS
142372012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14238
14239 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14240 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14241 after this.
14242
8115f29b
L
142432012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14244
14245 * stdlib/longlong.h: Updated from GCC.
14246
bdd74070
AJ
142472012-05-09 Andreas Jaeger <aj@suse.de>
14248
edfe0dbe
AJ
14249 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14250 default is first entry.
14251 (run_mode): Set type.
14252 (main): Remove informal message about syslog.
14253 (options): Fix typo.
14254
bcfe3a54
ST
14255 [BZ #14053]
14256 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 14257 to asm.
bcfe3a54
ST
14258 (lrint): Likewise.
14259 (llrintf): Likewise.
14260 (llrint): Likewise.
14261 (rint): Likewise.
14262 (rintf): Likewise.
14263 (nearbyint): Likewise.
14264 (nearbyintf): Likewise.
bdd74070 14265
91d8d69e
AJ
142662012-05-09 Andreas Jaeger <aj@suse.de>
14267 Pedro Alves <palves@redhat.com>
14268
14269 * nscd/nscd.c (run_mode): Use enum.
14270 (main): Cleanup coding style issue.
14271
bb90b80b
AJ
142722012-05-09 Alexandre Oliva <aoliva@redhat.com>
14273 Andreas Jaeger <aj@suse.de>
14274
bcfe3a54
ST
14275 * nscd/nscd.c (go_background): Replaced with...
14276 (run_mode): ... this.
bb90b80b 14277 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
14278 (options): Add -F --foreground.
14279 (main): Implement it.
14280 (parse_opt): Parse it.
bb90b80b 14281
1a4b75a1
AJ
142822012-05-09 Andreas Jaeger <aj@suse.de>
14283
14284 [BZ #14083]
14285 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14286 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14287 -Wconversion warning.
14288 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14289 Likewise.
14290
b1cc2472
JM
142912012-05-09 Joseph Myers <joseph@codesourcery.com>
14292
14293 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14294 == 0.
14295 (LC_ALL): Use macro-int-constant.
14296 (LC_COLLATE): Likewise.
14297 (LC_CTYPE): Likewise.
14298 (LC_MESSAGES): Likewise.
14299 (LC_MONETARY): Likewise.
14300 (LC_NUMERIC): Likewise.
14301 (LC_TIME): Likewise.
14302 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14303 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14304 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14305 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14306 Specify type.
14307 [C99-based standards] (float_t): Expect type.
14308 [C99-based standards] (double_t): Expect type.
14309 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14310 type.
14311 [C99-based standards] (HUGE_VALL): Likewise.
14312 [C99-based standards] (INFINITY): Likewise.
14313 [C99-based standards] (NAN): Likewise.
14314 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14315 [C99-based standards] (FP_NAN): Likewise.
14316 [C99-based standards] (FP_NORMAL): Likewise.
14317 [C99-based standards] (FP_SUBNORMAL): Likewise.
14318 [C99-based standards] (FP_ZERO): Likewise.
14319 [C99-based standards] (FP_FAST_FMA): Use
14320 optional-macro-int-constant. Specify type. Require == 1.
14321 [C99-based standards] (FP_FAST_FMAF): Likewise.
14322 [C99-based standards] (FP_FAST_FMAL): Likewise.
14323 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14324 [C99-based standards] (FP_ILOGBNAN): Likewise.
14325 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14326 Specify type.
14327 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14328 [C99-based standards] (math_errhandling): Specify type.
14329 [ISO99 || ISO11] (signgam): Do not allow.
14330 [non-C99-based standards] (copysignf): Do not allow.
14331 [non-C99-based standards] (exp2f): Likewise.
14332 [non-C99-based standards] (log2f): Likewise.
14333 [non-C99-based standards] (modff): Allow.
14334 [non-C99-based standards] (erff): Do not allow.
14335 [non-C99-based standards] (erfcf): Likewise.
14336 [non-C99-based standards] (gammaf): Likewise.
14337 [non-C99-based standards] (hypotf): Likewise.
14338 [non-C99-based standards] (j0f): Likewise.
14339 [non-C99-based standards] (j1f): Likewise.
14340 [non-C99-based standards] (jnf): Likewise.
14341 [non-C99-based standards] (lgammaf): Likewise.
14342 [non-C99-based standards] (tgammaf): Likewise.
14343 [non-C99-based standards] (y0f): Likewise.
14344 [non-C99-based standards] (y1f): Likewise.
14345 [non-C99-based standards] (ynf): Likewise.
14346 [non-C99-based standards] (isnanf): Likewise.
14347 [non-C99-based standards] (acoshf): Likewise.
14348 [non-C99-based standards] (asinhf): Likewise.
14349 [non-C99-based standards] (atanhf): Likewise.
14350 [non-C99-based standards] (cbrtf): Likewise.
14351 [non-C99-based standards] (expm1f): Likewise.
14352 [non-C99-based standards] (ilogbf): Likewise.
14353 [non-C99-based standards] (log1pf): Likewise.
14354 [non-C99-based standards] (logbf): Likewise.
14355 [non-C99-based standards] (nextafterf): Likewise.
14356 [non-C99-based standards] (remainderf): Likewise.
14357 [non-C99-based standards] (rintf): Likewise.
14358 [non-C99-based standards] (scalbf): Likewise.
14359 [non-C99-based standards] (copysignl): Likewise.
14360 [non-C99-based standards] (exp2l): Likewise.
14361 [non-C99-based standards] (log2l): Likewise.
14362 [non-C99-based standards] (modfl): Allow.
14363 [non-C99-based standards] (erfl): Do not allow.
14364 [non-C99-based standards] (erfcl): Likewise.
14365 [non-C99-based standards] (gammal): Likewise.
14366 [non-C99-based standards] (hypotl): Likewise.
14367 [non-C99-based standards] (j0l): Likewise.
14368 [non-C99-based standards] (j1l): Likewise.
14369 [non-C99-based standards] (jnl): Likewise.
14370 [non-C99-based standards] (lgammal): Likewise.
14371 [non-C99-based standards] (tgammal): Likewise.
14372 [non-C99-based standards] (y0l): Likewise.
14373 [non-C99-based standards] (y1l): Likewise.
14374 [non-C99-based standards] (ynl): Likewise.
14375 [non-C99-based standards] (isnanl): Likewise.
14376 [non-C99-based standards] (acoshl): Likewise.
14377 [non-C99-based standards] (asinhl): Likewise.
14378 [non-C99-based standards] (atanhl): Likewise.
14379 [non-C99-based standards] (cbrtl): Likewise.
14380 [non-C99-based standards] (expm1l): Likewise.
14381 [non-C99-based standards] (ilogbl): Likewise.
14382 [non-C99-based standards] (log1pl): Likewise.
14383 [non-C99-based standards] (logbl): Likewise.
14384 [non-C99-based standards] (nextafterl): Likewise.
14385 [non-C99-based standards] (remainderl): Likewise.
14386 [non-C99-based standards] (rintl): Likewise.
14387 [non-C99-based standards] (scalbl): Likewise.
14388 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14389 [non-C99-based standards] (FP_*): Do not allow.
14390 [C99-based standards] (FP_*): Change to
14391 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14392 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14393 allow.
14394 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14395 (SIG_ERR): Likewise.
14396 [X/Open-based standards] (SIG_HOLD): Likewise.
14397 (SIG_IGN): Likewise.
14398 (SIGABRT): Use macro-int-constant. Specify type. Require
14399 positive value.
14400 (SIGFPE): Likewise.
14401 (SIGILL): Likewise.
14402 (SIGINT): Likewise.
14403 (SIGSEGV): Likewise.
14404 (SIGTER): Likewise.
14405 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14406 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14407 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14408 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14409 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14410 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14411 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14412 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14413 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14414 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14415 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14416 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14417 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14418 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14419 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14420 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14421 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14422 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14423 [X/Open-based standards] (SIGTRAP): Likewise.
14424 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14425 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14426 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14427 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14428 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14429 allow.
14430
b9f1922d
IW
144312012-05-08 Ian Wienand <ianw@vmware.com>
14432
14433 [BZ #14080]
14434 * time/tzset.c (__tzset_parse_tz): Update default rules for
14435 daylight time changes in the Energy Policy Act of 2005.
14436
1db86e88
AJ
144372012-05-09 Andreas Jaeger <aj@suse.de>
14438
14439 [BZ #13983]
14440 * elf/ldconfig.c (parse_conf): Change string to make clear that
14441 ldconfig only issued a warning if ld.so.conf does not exist.
14442
dee4a4e3
DM
144432012-05-08 David S. Miller <davem@davemloft.net>
14444
ee0db190
DM
14445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14446 movxtod instead of popping the value on the stack.
14447
dee4a4e3
DM
14448 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14449
6a43ec98
CD
144502012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14451
14452 * config.h.in: Add HAVE_ARM_PCS_VFP.
14453
05c2c961
RMG
144542012-05-08 Roland Mc Grath <roland@hack.frob.com>
14455
bcfe3a54
ST
14456 [BZ #13979]
14457 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14458 checking but the checks are disabled for any reason.
05c2c961 14459
4b30f61a
L
144602012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14461
14462 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14463 and ELF64_R_TYPE with ELFW(R_TYPE).
14464
eee2bc67
JM
144652012-05-08 Joseph Myers <joseph@codesourcery.com>
14466
7ea5391a
JM
14467 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14468 (ulimit): Likewise.
14469
eee2bc67
JM
14470 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14471 (settimeofday): Likewise.
14472
abb66a67
MF
144732012-05-08 Mike Frysinger <vapier@gentoo.org>
14474
14475 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14476 a struct th_u2 inside the union, and move tu_block/tu_code into
14477 a new th_u3 union of tu_block/tu_code inside of that. Move
14478 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14479 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14480 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14481 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14482 (th_stuff): Change to th_u1.tu_stuff.
14483 (th_data): Define.
14484 (th_msg): Change to th_u1.th_u2.tu_data.
14485
7f18b530
DM
144862012-05-07 David S. Miller <davem@davemloft.net>
14487
05760585
DM
14488 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14489
7f18b530
DM
14490 [BZ #14074]
14491 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14492 (SETUP_PIC_REG): Use it.
14493 (SETUP_PIC_REG_LEAF): Use it.
14494
495fd99f
JM
144952012-05-07 Joseph Myers <joseph@codesourcery.com>
14496
14497 [BZ #13885]
14498 [BZ #13923]
14499 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14500 USE_AS_EXPM1L.
14501 (EXPL_FINITE): Likewise.
14502 (FLDLOG): Likewise.
14503 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14504 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14505 e_expl.S.
14506 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14507 USE_AS_EXPM1L.
14508 (EXPL_FINITE): Likewise.
14509 (FLDLOG): Likewise.
14510 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14511 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14512 e_expl.S.
14513 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14514 test of -max_value argument for long double.
14515 * sysdeps/i386/fpu/libm-test-ulps: Update.
14516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14517
6693d694
DM
145182012-05-06 David S. Miller <davem@davemloft.net>
14519
14520 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14521 quad soft-float symbols whose references which are compiler
14522 generated.
14523 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14524
6c23e11c
JM
145252012-05-06 Joseph Myers <joseph@codesourcery.com>
14526
d8b82cad
JM
14527 [BZ #13884]
14528 [BZ #13914]
14529 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14530 USE_AS_EXP10L.
14531 (EXPL_FINITE): Likewise.
14532 (FLDLOG): Likewise.
14533 (c0): Likewise.
14534 (c1): Likewise.
14535 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14536 Adjust comments for base varying.
14537 (__expl_finite): Change alias to EXPL_FINITE.
14538 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14539 e_expl.S.
14540 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14541 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14542 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14543 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14544 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14545 USE_AS_EXP10L.
14546 (EXPL_FINITE): Likewise.
14547 (FLDLOG): Likewise.
14548 (c0): Likewise.
14549 (c1): Likewise.
14550 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14551 Adjust comments for base varying.
14552 (__expl_finite): Change alias to EXPL_FINITE.
14553 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14554 tests for bugs.
14555 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14556
6c23e11c
JM
14557 [BZ #14064]
14558 * math/libm-test.inc (check_float_internal): Correct ulp
14559 calculation for subnormal expected results.
14560
29ba805c
AJ
145612012-05-06 Andreas Jaeger <aj@suse.de>
14562
14563 * Makeconfig (+math-flags): New, set to -frounding-math.
14564 (+cflags): Add +math-flags so that all of glibc gets compiled with
14565 it.
14566
14567 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14568
7b17aeda
JM
145692012-05-05 Joseph Myers <joseph@codesourcery.com>
14570
5779f134
JM
14571 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14572 Disable one test.
14573
41498f4d
JM
14574 [BZ #13787]
14575 [BZ #13922]
14576 [BZ #14036]
14577 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14578 (__ieee754_expl): Allow for and saturate large arguments.
14579 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14580 (u_threshold): Likewise.
14581 (__exp): Call __ieee754_exp before checking for overflow and
14582 underflow.
14583 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14584 (u_threshold): Likewise.
14585 (__expf): Call __ieee754_expf before checking for overflow and
14586 underflow.
14587 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14588 (u_threshold): Likewise.
14589 (__expl): Call __ieee754_expl before checking for overflow and
14590 underflow.
14591 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14592 (__ieee754_expl): Allow for and saturate large arguments.
14593 * math/libm-test.inc (exp_test): Add another test. Do not allow
14594 missing overflow exception on overflow.
14595 (expm1_test): Do not allow missing overflow exception on overflow.
14596
6698b8bf
JM
14597 * sysdeps/i386/fpu/e_expl.c: Move to ...
14598 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14599 rather than using inline asm.
14600 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14601 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14602 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14603
7b17aeda
JM
14604 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14605 (nice): Likewise.
14606 (poll): Likewise.
14607 (signal): Likewise.
14608 (time): Likewise.
14609 (times): Likewise.
14610
f7c85819
JM
146112012-05-04 Joseph Myers <joseph@codesourcery.com>
14612
14613 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14614 sysdeps/unix/common/syscalls.list.
14615 (fchmod): Likewise.
14616 (fchown): Likewise.
14617 (ftruncate): Likewise.
14618 (getrusage): Likewise.
14619 (gettimeofday): Likewise.
14620 (setpgid): Likewise.
14621 (setregid): Likewise.
14622 (setreuid): Likewise.
14623 (sigaction): Likewise.
14624 (truncate): Likewise.
14625 (vhangup): Likewise.
14626 * sysdeps/unix/common/syscalls.list: Remove file.
14627 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14628 * sysdeps/unix/sysv/linux/Implies: Likewise.
14629
336270d0
L
146302012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14631
14632 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14634 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14635 Moved to ...
14636 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14637 Here.
14638 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14639 to ...
14640 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14641 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14642 to ...
14643 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14644 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14645 to ...
14646 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14647 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14648 to ...
14649 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14650 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14651 to ...
14652 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14653 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14654 to ...
14655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14656 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14657 to ...
14658 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14659 Here.
14660 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14661 to ...
14662 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14663 Here.
14664 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14665 to ...
14666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14667 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14668 Moved to ...
14669 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14670 Here.
14671 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14672 to ...
14673 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14674
d128e450
JM
146752012-05-04 Joseph Myers <joseph@codesourcery.com>
14676
fa8ee516
JM
14677 * sysdeps/unix/common/bits/dirent.h: Remove file.
14678 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14679
d128e450
JM
14680 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14681 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14682 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14683 * sysdeps/unix/bsd/isatty.c: Likewise.
14684 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14685 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14686 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14687
ff8faaf0 146882012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 14689
62881be4 14690 [BZ #13563]
31dc8730
AZ
14691 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14692 long double comparison inaccuracies.
14693 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14695
6fef930c
AS
146962012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14697
14698 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14699 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14700
8f203e6c
JM
147012012-05-04 Joseph Myers <joseph@codesourcery.com>
14702
14703 [BZ #14049]
14704 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14705 nonzero digits before rounding a hex value.
14706 * stdlib/tst-strtod.c (tests): Add another test.
14707
5197d9c2
AK
147082012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14709
14710 * sysdeps/s390/fpu/libm-test-ulps: Update.
14711
f0c1dedf
AJ
147122012-05-03 Andreas Jaeger <aj@suse.de>
14713
14714 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14715 does not get optimized out.
14716 (malloc_opt_barrier): New.
14717
a65ef2ae 147182012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 14719 Roland McGrath <roland@hack.frob.com>
a65ef2ae 14720
2b942cb7 14721 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 14722 intermediate file deletion.
2b942cb7 14723 (generated): Add .symlist files.
a65ef2ae 14724
54b71e02
JM
147252012-05-03 Joseph Myers <joseph@codesourcery.com>
14726
14727 [BZ #13775]
14728 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14729 Redirect under this condition.
14730 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14731 [__USE_GNU] (__dprintf_chk): Not under this condition.
14732 [__USE_GNU] (__vdprintf_chk): Likewise.
14733 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14734 under this condition.
14735 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14736 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14737 [__USE_XOPEN2K8] (vdprintf): Likewise.
14738 [__USE_GNU] (__dprintf_chk): Not under this condition.
14739 [__USE_GNU] (__vdprintf_chk): Likewise.
14740 [__USE_GNU] (dprintf): Likewise.
14741 [__USE_GNU] (vdprintf): Likewise.
14742
d3dfcc41
RM
147432012-05-03 Roland McGrath <roland@hack.frob.com>
14744
14745 * elf/Makefile (common-generated): Set this instead of generated for
14746 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14747 $(all-built-dso)-derived lists.
14748
7ac30cc5
AJ
147492012-05-03 Andreas Jaeger <aj@suse.de>
14750
0c51e550
AJ
14751 * sysdeps/i386/fpu/libm-test-ulps: Update.
14752
7ac30cc5
AJ
14753 * FAQ: Removed.
14754 * FAQ.in: Likewise.
14755 * scripts/gen-FAQ.pl: Likewise.
14756 * manual/install.texi (Installation): Point to online location of
14757 FAQ.
14758 * Makefile (files-for-dist): Remove FAQ.
14759 (FAQ): Remove.
14760
d4c2917f
AM
147612012-05-02 Allan McRae <allan@archlinux.org>
14762
14763 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14764 (LDFLAGS-reldepmod5.so): Likewise.
14765 (LDFLAGS-reldep6mod1.so): Likewise.
14766 (LDFLAGS-reldep6mod4.so): Likewise.
14767 (LDFLAGS-reldep8mod3.so): Likewise.
14768 (LDFLAGS-unload4mod1.so): Likewise.
14769 (LDFLAGS-unload4mod2.so): Likewise.
14770 (LDFLAGS-tst-initorder): Likewise.
14771 (LDFLAGS-tst-initordera2.so): Likewise.
14772 (LDFLAGS-tst-initordera3.so): Likewise.
14773 (LDFLAGS-tst-initordera4.so): Likewise.
14774 (LDFLAGS-tst-initorderb2.so): Likewise.
14775 (LDFLAGS-noload): Likewise.
14776 (LDFLAGS-next): Likewise.
14777 (LDFLAGS-order2mod1.so): Likewise.
14778 (LDFLAGS-order2mod2.so): Likewise.
14779 (LDFLAGS-tst-initorder2): Likewise.
14780 (LDFLAGS-tst-initorder2a.so): Likewise.
14781 (LDFLAGS-tst-initorder2b.so): Likewise.
14782 (LDFLAGS-tst-initorder2c.so): Likewise.
14783 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14784
d77f993f
DM
147852012-05-02 David S. Miller <davem@davemloft.net>
14786
14787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14788
171a70b4
PP
147892012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14790
14791 [BZ #14055]
14792 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14793
0be196ad
AJ
147942012-05-02 Andreas Jaeger <aj@suse.de>
14795
14796 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14797 since we manipulate rounding mode.
14798 (CPPFLAGS-test-idouble.c): Likewise.
14799 (CPPFLAGS-test-ifloat.c): Likewise.
14800 (CFLAGS-test-ldouble.c): Likewise.
14801 (CFLAGS-test-double.c): Likewise.
14802 (CFLAGS-test-float.c): Likewise.
14803 (CFLAGS-test-misc.c): Likewise.
14804 (CFLAGS-test-test-fenv.c): Likewise.
14805
4f9d04aa
AZ
148062012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14807
2b942cb7
RM
14808 [BZ #2550]
14809 [BZ #2570]
14810 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14811 comparisons to determine direction to adjust input.
4f9d04aa 14812
82a79e7d
RM
148132012-05-01 Roland McGrath <roland@hack.frob.com>
14814
f5a01ca9
RM
14815 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14816 output to the target.
14817
90fe4186
RM
14818 * scripts/localplt.awk: New file.
14819 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14820 (check-localplt-CFLAGS): Variable removed.
14821 ($(all-built-dso:=.jmprel)): New static pattern rule.
14822 (generated): Add those targets.
14823 (localplt-built-dso): New variable.
14824 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14825
14826 * elf/check-localplt.c: File removed.
14827
82397ed6
RM
14828 * scripts/check-execstack.awk: New file.
14829 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14830 (check-execstack-CFLAGS): Variable removed.
14831 ($(objpfx)check-execstack.h): Target removed.
14832 ($(objpfx)execstack-default): New target.
14833 (generated): Add that instead of check-execstack.h.
14834 ($(all-built-dso:=.phdr)): New static pattern rule.
14835 (generated): Add those targets.
14836 * elf/check-execstack.c: File removed.
14837
82a79e7d
RM
14838 * scripts/check-textrel.awk: New file.
14839 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14840 (check-textrel-CFLAGS): Variable removed.
14841 (all-built-dso): Use := to define.o
14842 ($(all-built-dso:=.dyn)): New static pattern rule.
14843 (generated): Add those targets.
14844 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14845 * config.make.in (READELF): New substituted variable.
14846 * elf/check-textrel.c: File removed.
14847
62fde54f 148482012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 14849
615605c9
JM
14850 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14851 allow.
14852 * conform/data/ctype.h-data [C99-based standards] (isblank):
14853 Expect function.
14854 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14855 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14856 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14857 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14858 Specify type. Require positive value.
14859 (EILSEQ): Likewise.
14860 (ERANGE): Likewise.
14861 [ISO || POSIX] (EILSEQ): Do not expect.
14862 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14863 Specify type. Require positive value.
14864 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14865 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14866 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14867 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14868 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14869 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14870 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14871 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14872 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14873 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14874 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14875 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14876 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14877 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14878 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14879 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14880 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14881 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14882 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14883 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14884 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14885 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14886 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14887 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14888 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14889 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14890 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14891 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14892 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14893 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14894 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14895 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14896 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14897 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14898 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14899 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14900 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14901 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14902 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14903 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14904 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14905 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14906 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14907 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14908 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14909 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14910 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14911 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14912 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14913 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14914 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14915 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14916 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14917 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14918 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14919 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14920 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14921 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14922 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14923 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14924 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14925 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14926 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14927 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14928 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14929 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14930 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14931 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14932 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14933 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14934 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14935 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14936 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14937 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14938 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14939 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14940 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14941 Require >= 2.
14942 (FLT_ROUNDS): Expect as macro, not constant.
14943 (FLT_MANT_DIG): Use macro-int-constant.
14944 (DBL_MANT_DIG): Likewise.
14945 (LDBL_MANT_DIG): Likewise.
14946 (FLT_DIG): Likewise.
14947 (DBL_DIG): Likewise.
14948 (LDBL_DIG): Likewise.
14949 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14950 (DBL_MIN_EXP): Likewise.
14951 (LDBL_MIN_EXP): Likewise.
14952 (FLT_MAX_EXP): Use macro-int-constant.
14953 (DBL_MAX_EXP): Likewise.
14954 (LDBL_MAX_EXP): Likewise.
14955 (FLT_MAX_10_EXP): Likewise.
14956 (DBL_MAX_10_EXP): Likewise.
14957 (LDBL_MAX_10_EXP): Likewise.
14958 (FLT_MAX): Use macro-constant.
14959 (DBL_MAX): Likewise.
14960 (LDBL_MAX): Likewise.
14961 (FLT_EPSILON): Use macro-constant. Give upper bound.
14962 (DBL_EPSILON): Likewise.
14963 (LDBL_EPSILON): Likewise.
14964 (FLT_MIN): Likewise.
14965 (DBL_MIN): Likewise.
14966 (LDBL_MIN): Likewise.
14967 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14968 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14969 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14970 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14971 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14972 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14973 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14974 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14975 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14976 [ISO11] (FLT_TRUE_MIN): Likewise.
14977 [ISO11] (LDBL_TRUE_MIN): Likewise.
14978 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14979 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14980 (SCHAR_MIN): Use macro-int-constant. Specify type.
14981 (SCHAR_MAX): Likewise.
14982 (UCHAR_MAX): Likewise.
14983 (CHAR_MIN): Likewise.
14984 (CHAR_MAX): Likewise.
14985 (MB_LEN_MAX): Use macro-int-constant.
14986 (SHRT_MIN): Use macro-int-constant. Specify type.
14987 (SHRT_MAX): Likewise.
14988 (USHRT_MAX): Likewise.
14989 (INT_MAX): Likewise.
14990 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14991 bound negative.
14992 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14993 bound with "U".
14994 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14995 bound with "L".
14996 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
14997 bound negative. Suffix upper bound with "L".
14998 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
14999 bound with "UL".
15000 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15001 Specify type.
15002 [C99-based standards] (LLONG_MAX): Likewise.
15003 [C99-based standards] (ULLONG_MAX): Likewise.
15004 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15005 == 0.
15006 [ISO11] (max_align_t): Require type.
15007 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15008
c9140a62
JM
15009 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15010 from $CFLAGS, without defining away __attribute__ calls.
15011 (checknamespace): Use $CFLAGS_namespace.
15012
9af0bf29
JM
15013 * conform/conformtest.pl (@keywords): Only include C99 keywords
15014 for standards based on C99 or C11.
15015
343222a2
JM
15016 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15017 Disable tests.
15018 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15019 UNIX98]: Likewise.
15020
661f8cf0
JM
15021 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15022 usability of symbols in #if.
15023
ee74b9cb
JM
15024 * conform/conformtest.pl: If macro or constant types start
15025 "promoted:", expect the symbol to be of the following type
15026 promoted by the integer promotions.
62fde54f 15027
aafc49b3
JM
15028 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15029 in one place. Also handle "macro-constant".
15030
fefdf574
JM
15031 * conform/conformtest.pl: Only accept expected macro values with
15032 "==". Parse all "macro" lines in one place.
15033 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15034
f2d922fe
JM
15035 * conform/conformtest.pl: Handle braced types on "constant" lines
15036 instead of handling "typed-constant".
15037 * conform/data/signal.h-data: Use "constant" instead of
15038 "typed-constant".
15039
d22956c9
JM
15040 * conform/conformtest.pl: Handle "optional-" at start of lines in
15041 one place rather than duplicating several cases. Handle each
15042 format of "macro" line with initial "optional-".
15043
028e2e38
JM
15044 * conform/conformtest.pl: Only accept expected constant or
15045 optional-constant values with "==". Parse all "constant" lines in
15046 one place. Parse all "optional-constant" lines in one place.
15047 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15048 * conform/data/fmtmsg.h-data: Likewise.
15049 * conform/data/netinet/in.h-data: Likewise.
15050 * conform/data/tar.h-data: Likewise.
15051 * conform/data/limits.h-data: Use "==" form on "constant" and
15052 "optional-constant" lines.
15053
1b8f2850
JM
15054 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15055 Use -std=c99 for XOPEN2K.
15056 (@knownproblems): Remove.
15057 (newtoken): Don't check %isknown.
15058
a05a144b
JM
15059 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15060 Do not expect macro.
15061 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15062 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15063 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15064 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15065 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15066 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15067 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15068 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15069 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15070 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15071 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15072 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15073 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15074 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15075 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15076 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15077 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15078 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15079 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15080 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15081 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15082 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15083 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15084 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15085 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15086 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15087 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15088 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15089 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15090 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15091 [XPG3] (acosh): Likewise.
15092 [XPG3] (asinh): Likewise.
15093 [XPG3] (atanh): Likewise.
15094 [XPG3] (cbrt): Likewise.
15095 [XPG3] (expm1): Likewise.
15096 [XPG3] (ilogb): Likewise.
15097 [XPG3] (log1p): Likewise.
15098 [XPG3] (logb): Likewise.
15099 [XPG3] (nextafter): Likewise.
15100 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15101 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15102 [XPG3] (remainder): Likewise.
15103 [XPG3] (rint): Likewise.
15104 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15105 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15106 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15107 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15108 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15109 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15110 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15111 [UNIX98 || XOPEN2K] (scalb): Expect.
15112 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15113 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15114 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15115 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15116 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15117 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15118 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15119 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15120 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15121 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15122 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15123 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15124 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15125 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15126 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15127 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15128 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15129 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15130 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15131 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15132 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15133 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15134 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15135 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15136 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15137 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15138 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15139 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15140 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15141 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15142 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15143 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15144 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15145 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15146 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15147 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15148 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15149 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15150 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15151 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15152 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15153 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15154 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15155 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15156 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15157 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15158 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15159 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15160 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15161 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15162 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15163 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15164 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15165 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15166 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15167 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15168 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15169 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15170 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15171 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15172 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15173 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15174 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15175 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15176 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15177 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15178 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15179 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15180 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15181 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15182 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15183 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15184 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15185 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15186 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15187 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15188 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15189 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15190 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15191 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15192 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15193 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15194 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15195 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15196 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15197 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15198 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15199 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15200 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15201 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15202 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15203 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15204 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15205 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15206 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15207 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15208 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15209 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15210 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15211 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15212 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15213 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15214 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15215 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15216 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15217 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15218 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15219 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15220 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15221 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15222 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15223 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15224 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15225 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15226 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15227 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15228 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15229 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15230 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15231 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15232 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15233 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15234 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15235 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15236 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15237 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15238 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15239 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15240 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15241 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15242 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15243 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15244 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15245 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15246 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15247 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15248 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15249
73c5ebe3
JM
15250 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15251 _XOPEN_SOURCE_EXTENDED for XPG4.
15252
39c33b6c
JM
15253 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15254
62fde54f
JM
15255 * Makeconfig (localtime): Remove variable.
15256 (inst_localtime-file): Likewise.
15257
0741d64c
AS
152582012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15259
15260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15261 Update.
15262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15263 Update.
15264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15265 Update.
15266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15267 Update.
15268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15269 Update.
15270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15271 Update.
15272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15273 Update.
15274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15275 Update.
15276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15277 Update.
15278
7cb029ee
JM
152792012-05-01 Joseph Myers <joseph@codesourcery.com>
15280
15281 [BZ #2550]
15282 [BZ #2570]
15283 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15284 comparisons to determine direction to adjust input.
15285 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15286 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15287 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15288 Likewise.
15289 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15290 Likewise.
15291 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15292 Likewise.
15293 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15294 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15295 Likewise.
15296 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15297 Likewise.
15298 * math/libm-test.inc (nexttoward_test): Add more tests.
15299
412bd966
AS
153002012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15301
15302 [BZ #14040]
15303 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15304 in version GLIBC_2.1, not GLIBC_2.0.
15305 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15306 Likewise.
15307
9568c0c2
JM
153082012-04-30 Joseph Myers <joseph@codesourcery.com>
15309
adfbc8ac
JM
15310 [BZ #13942]
15311 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15312 (1 - x) * (1 + x).
15313 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15314 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15315 * math/libm-test.inc (acos_test): Add more tests.
15316 (asin_test): Likewise.
15317 * sysdeps/i386/fpu/libm-test-ulps: Update.
15318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15319
5ba3cc69
JM
15320 [BZ #14034]
15321 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15322 of square root.
15323 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15324 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15325 * math/libm-test.inc (acos_test_tonearest): New function.
15326 (acos_test_towardzero): Likewise.
15327 (acos_test_downward): Likewise.
15328 (acos_test_upward): Likewise.
15329 (asin_test_tonearest): Likewise.
15330 (asin_test_towardzero): Likewise.
15331 (asin_test_downward): Likewise.
15332 (asin_test_upward): Likewise.
15333 (main): Call the new functions.
15334 * sysdeps/i386/fpu/libm-test-ulps: Update.
15335 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15336
9568c0c2
JM
15337 [BZ #13884]
15338 [BZ #13924]
15339 * math/e_exp10.c: Include <float.h>.
15340 (__ieee754_exp10): Handle underflow here rather than multiplying
15341 large negative argument by M_LN10.
15342 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15343 of __ieee754_expf.
15344 * math/e_exp10l.c: Include <float.h>.
15345 (__ieee754_exp10l): Handle underflow here rather than multiplying
15346 large negative argument by M_LN10l.
15347 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15348 spurious overflow exception on underflow.
15349
5ac3ea17
MP
153502012-04-29 Marek Polacek <polacek@redhat.com>
15351
15352 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15353 (__fortify_function): New macro.
15354 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15355 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15356 __extern_always_inline.
15357 * libio/bits/stdio2.h: Likewise.
15358 * libio/bits/stdio.h: Likewise.
15359 * string/string.h: Likewise.
15360 * string/bits/string3.h: Likewise.
15361 * include/stdio.h: Likewise.
15362 * stdlib/bits/stdlib.h: Likewise.
15363 * stdlib/stdlib.h: Likewise.
15364 * rt/bits/mqueue2.h: Likewise.
15365 * rt/mqueue.h: Likewise.
15366 * posix/bits/unistd.h: Likewise.
15367 * posix/unistd.h: Likewise.
15368 * io/bits/poll2.h: Likewise.
15369 * io/bits/fcntl2.h: Likewise.
15370 * io/fcntl.h: Likewise.
15371 * io/sys/poll.h: Likewise.
15372 * misc/bits/syslog.h: Likewise.
15373 * misc/bits/syslog-ldbl.h: Likewise.
15374 * misc/sys/syslog.h: Likewise.
15375 * socket/bits/socket2.h: Likewise.
15376 * socket/sys/socket.h: Likewise.
15377 * debug/tst-chk1.c: Likewise.
15378 * wcsmbs/bits/wchar2.h: Likewise.
15379 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15380 * wcsmbs/wchar.h: Likewise.
15381
ecf0ebfb
AJ
153822012-04-29 Andreas Jaeger <aj@suse.de>
15383
15384 * Makerules (tests): Remove enable-check-abi protection.
15385 (check-abi-warn): Remove.
15386 (check-abi-%): Remove check-abi-warn usage.
15387
15388 * configure.in: Remove check-abi configure option.
15389 * configure: Regenerated.
15390 * config.make.in (enable-check-abi): Remove.
15391
6d5c57fa
AS
153922012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15393
24c5d07e 15394 [BZ #14033]
ded5180a
AS
15395 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15396 double functions to double *_finite functions.
15397
7e0d315d
AS
15398 [BZ #13941]
15399 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15400 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15401 LDBL_MIN_EXP.
15402 * stdio-common/Makefile (tests): Add tst-sprintf3.
15403 * stdio-common/tst-sprintf3.c: New file.
15404
6d5c57fa
AS
15405 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15406 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15407
0749ff8b
JM
154082012-04-28 Joseph Myers <joseph@codesourcery.com>
15409
15410 * conform/conformtest.pl: Remove duplicate typed-constant
15411 handling.
15412
8dbd5d7b
DM
154132012-04-28 David S. Miller <davem@davemloft.net>
15414
15415 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15416 (check-abi-%): Remove AWK script prerequisite and explicit
15417 abilist directory.
15418 (check-abi): Rewrite to just diff the symlist with the abilist.
15419 (config-tls, config-abi-config): Delete, no longer used.
15420 (update-abi-%): Remove AWK script and explicit abilist directory.
15421 (update-abi): Rewrite to simply compare and conditionally copy the
15422 symlist and the sysdep abilist file. Remove update-abi-config
15423 checks.
15424 * abilist/ld.abilist: Remove.
15425 * abilist/libBrokenLocale.abilist: Remove.
15426 * abilist/libanl.abilist: Remove.
15427 * abilist/libcrypt.abilist: Remove.
15428 * abilist/libdl.abilist: Remove.
15429 * abilist/librt.abilist: Remove.
15430 * abilist/libthread_db.abilist: Remove.
15431 * abilist/libutil.abilist: Remove.
15432 * scripts/extract-abilist.awk: Remove.
15433 * scripts/merge-abilist.awk: Remove.
15434 * sysdeps/generic/libcidn.abilist: New file.
15435 * sysdeps/generic/libnss_compat.abilist: New file.
15436 * sysdeps/generic/libnss_db.abilist: New file.
15437 * sysdeps/generic/libnss_dns.abilist: New file.
15438 * sysdeps/generic/libnss_files.abilist: New file.
15439 * sysdeps/generic/libnss_hesiod.abilist: New file.
15440 * sysdeps/generic/libnss_nis.abilist: New file.
15441 * sysdeps/generic/libnss_nisplus.abilist: New file.
15442 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15443 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15444 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15445 file.
15446 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15447 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15448 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15449 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15450 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15451 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15452 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15453 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15454 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15455 file.
15456 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15457 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15458 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15459 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15460 file.
15461 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15462 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15463 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15464 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15465 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15466 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15467 file.
15468 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15469 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15470 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15471 file.
15472 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15473 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15474 New file.
15475 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15476 New file.
15477 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15478 New file.
15479 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15480 New file.
15481 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15482 New file.
15483 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15484 New file.
15485 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15486 New file.
15487 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15488 New file.
15489 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15490 New file.
15491 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15492 New file.
15493 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15494 New file.
15495 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15496 New file.
15497 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15498 New file.
15499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15500 file.
15501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15502 New file.
15503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15504 New file.
15505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15506 file.
15507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15508 New file.
15509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15510 New file.
15511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15512 file.
15513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15514 New file.
15515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15516 New file.
15517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15518 New file.
15519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15520 New file.
15521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15522 New file.
15523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15524 New file.
15525 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15526 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15527 file.
15528 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15529 New file.
15530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15531 file.
15532 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15533 file.
15534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15535 file.
15536 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15537 file.
15538 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15539 file.
15540 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15541 New file.
15542 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15543 file.
15544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15545 file.
15546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15547 New file.
15548 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15549 file.
15550 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15551 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15552 file.
15553 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15554 New file.
15555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15556 file.
15557 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15558 file.
15559 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15560 file.
15561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15562 file.
15563 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15564 file.
15565 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15566 New file.
15567 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15568 file.
15569 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15570 file.
15571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15572 New file.
15573 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15574 file.
15575 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15576 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15577 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15578 file.
15579 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15580 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15581 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15582 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15583 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15584 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15585 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15586 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15587 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15588 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15589 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15591 file.
15592 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15593 New file.
15594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15595 file.
15596 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15597 file.
15598 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15599 file.
15600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15601 file.
15602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15603 file.
15604 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15605 New file.
15606 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15607 New file.
15608 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15609 file.
15610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15611 New file.
15612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15613 file.
15614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15615 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15616 file.
15617 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15618 New file.
15619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15620 file.
15621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15622 file.
15623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15624 file.
15625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15626 file.
15627 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15628 file.
15629 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15630 New file.
15631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15632 New file.
15633 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15634 file.
15635 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15636 New file.
15637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15638 file.
15639
41d73a1b
JM
156402012-04-28 Joseph Myers <joseph@codesourcery.com>
15641
15642 * conform/conformtest.pl: Fix typo in handling typed-constant from
15643 allow-header.
15644
28aeeda4
JM
156452012-04-27 Joseph Myers <joseph@codesourcery.com>
15646
adae8f5e
JM
15647 * README: Cut down references to pre-2.6 Linux kernels and
15648 Linuxthreads. Update lists of configurations in libc and ports
15649 and sort alphabetically. Say "or newer" with Linux kernel version
15650 requirements.
15651
28aeeda4
JM
15652 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15653
a462cb63
RA
156542012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15655
15656 [BZ #887]
15657 * math/libm-test.inc (logb_test_downward): New test to expose
15658 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15659 rounding mode.
15660
6ad3493e
JM
156612012-04-27 Joseph Myers <joseph@codesourcery.com>
15662
15663 [BZ #14027]
15664 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15665 to be done.
15666 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15667 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15668
2ce4f015
JM
156692012-04-26 Joseph Myers <joseph@codesourcery.com>
15670
5aeb141a
JM
15671 * sysdeps/unix/i386/brk.S: Remove file.
15672 * sysdeps/unix/i386/dl-brk.S: Likewise.
15673 * sysdeps/unix/i386/pipe.S: Likewise.
15674 * sysdeps/unix/i386/sigreturn.S: Likewise.
15675 * sysdeps/unix/i386/syscall.S: Likewise.
15676 * sysdeps/unix/i386/vfork.S: Likewise.
15677 * sysdeps/unix/i386/wait.S: Likewise.
15678
7143acae
JM
15679 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15680 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15681
2ce4f015
JM
15682 * configure.in (arm*-none*): Do not allow without
15683 --enable-hacker-mode.
15684 (netbsd*): Remove case setting base_os.
15685 (386bsd*): Likewise.
15686 (freebsd*): Likewise.
15687 (bsdi*): Likewise.
15688 (osf*): Likewise.
15689 (sunos*): Likewise.
15690 (ultrix*): Likewise.
15691 (newsos*): Likewise.
15692 (dynix*): Likewise.
15693 (*bsd*): Likewise.
15694 (sysv*): Likewise.
15695 (isc*): Likewise.
15696 (esix*): Likewise.
15697 (sco*): Likewise.
15698 (minix*): Likewise.
15699 (irix4*): Likewise.
15700 (irix6*): Likewise.
15701 (solaris[2-9]*): Likewise.
15702 (none): Likewise.
15703 * configure: Regenerated.
15704
0ac229c8
AZ
157052012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15706
15707 [BZ #11521]
15708 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15709 overflow or cancellation in calculating denominator.
15710 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15711 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15712 down expression to avoid unexpected rounding in newer GCCs.
15713 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15714
33f244f4
DM
157152012-04-26 David S. Miller <davem@davemloft.net>
15716
15717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15718 long-double compat symbols.
15719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15726 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15732
cfa1f3e8
DM
157332012-04-25 David S. Miller <davem@davemloft.net>
15734
15735 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15736 HWCAP_* values only after the memory barriers have been defined.
15737 (atomic_full_barrier): Define.
15738 (atomic_read_barrier): Define.
15739 (atomic_write_barrier): Define.
15740
6e236b92
SP
157412012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15742
15743 * shlib-versions: Add libgcc_s version information.
15744 * sysdeps/generic/libgcc_s.h: Remove.
15745 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15746 libgcc_s.h.
15747 * sysdeps/gnu/unwind-resume.c: Likewise.
15748 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15749
aab39a09
DM
157502012-04-25 David S. Miller <davem@davemloft.net>
15751
15752 * sysdeps/unix/sparc/brk.S: Delete.
15753 * sysdeps/unix/sparc/dl-brk.S: Delete.
15754 * sysdeps/unix/sparc/pipe.S: Delete.
15755 * sysdeps/unix/sparc/sysdep.S: Delete.
15756 * sysdeps/unix/sparc/sysdep.h: Delete.
15757 * sysdeps/unix/sparc/vfork.S: Delete.
15758 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15759 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15760 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15761 ret_ERRVAL, r0, r1, MOVE): Define.
15762 (JUMPTARGET): Remove.
15763 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15764 sysdeps/unix/sparc/sysdep.h
15765 (ENTRY, END): Remove.
15766 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15767
a3cc4f48
JM
157682012-04-25 Joseph Myers <joseph@codesourcery.com>
15769
2ed8cda2
JM
15770 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15771 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15772 -DIS_IN_build.
15773
35d76d59
JM
15774 * timezone/README: Update upstream location and email address for
15775 tzcode and tzdata.
15776 * timezone/zdump.c: Update from tzcode 2012b.
15777 * timezone/zic.c: Likewise.
15778
a3cc4f48
JM
15779 * configure.in (libc_cv_as_needed): Remove test.
15780 * configure: Regenerated.
15781 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15782 conditional definition.
15783 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15784 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15785 * config.make.in (have-as-needed): Remove variable.
15786
ceab42c3
SP
157872012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15788 Paul Pluzhnikov <ppluzhnikov@google.com>
15789
15790 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15791 strings correctly.
15792
3ce2865f
CLT
157932012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15794
15795 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15796 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15797 * sysdeps/sh/strlen.S: Likewise.
15798
f37e0d68
JM
157992012-04-24 Joseph Myers <joseph@codesourcery.com>
15800
ae186e9a
JM
15801 * sysdeps/unix/fork.S: Remove file.
15802 * sysdeps/unix/i386/fork.S: Likewise.
15803 * sysdeps/unix/sparc/fork.S: Likewise.
15804
b96914af
JM
15805 * sysdeps/unix/system.c: Remove file.
15806 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15807
f37e0d68
JM
15808 * sysdeps/unix/getegid.S: Remove file.
15809 * sysdeps/unix/geteuid.S: Likewise.
15810
87ef29ca
RM
158112012-04-24 Roland McGrath <roland@hack.frob.com>
15812
83bcd236
RM
15813 * scripts/check-localplt.awk: New file.
15814 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15815 of diff.
15816 * scripts/data/localplt-generic.data: Add a comment.
15817
87ef29ca
RM
15818 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15819 NODE when __dir_mkfile failed.
15820 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15821 Reported by Ludovic Courtès <ludo@gnu.org>.
15822
e5a6e567
AJ
158232012-04-24 Andreas Jaeger <aj@suse.de>
15824
15825 * Makerules (common-clean): Also remove gen-as-const-headers
15826 files.
15827
c1820385
JM
158282012-04-24 Joseph Myers <joseph@codesourcery.com>
15829
15830 * Makerules (native-compile): Do not change working directory for
15831 build. Use $(OUTPUT_OPTION) in command.
15832 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15833
94e02fc4
AZ
158342012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15835
15836 [BZ #13886]
15837 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15838 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15839 * math/libm-test.inc (floor_test): Add more tests.
15840 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15841
3a533ca3
JM
158422012-04-24 Joseph Myers <joseph@codesourcery.com>
15843
940ab4b3
JM
15844 * sysdeps/unix/getdents.c: Remove file.
15845 * sysdeps/unix/sysv/getdents.c: Likewise.
15846 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15847
90e037bd
JM
15848 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15849 sysdeps/unix/mman/syscalls.list.
15850 (mmap): Likewise.
15851 (mprotect): Likewise.
15852 (msync): Likewise.
15853 (munmap): Likewise.
15854 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15855 * sysdeps/unix/mman/syscalls.list: Remove.
15856 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15857
3a533ca3
JM
15858 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15859 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15860 * configure: Regenerated.
15861 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15862 $(libgcc_s_suffix).
15863 * config.make.in (libgcc_s_suffix): Remove variable.
15864
1ad743de
JM
158652012-04-23 Joseph Myers <joseph@codesourcery.com>
15866
4ad451e2
JM
15867 * sysdeps/unix/sysv/gethostname.c: Move to ...
15868 * sysdeps/posix/gethostname.c: ... here.
15869
5e37ce39
JM
15870 * sysdeps/unix/execve.S: Remove file.
15871
1ad743de
JM
15872 * sysdeps/unix/_exit.S: Remove file.
15873
4e681b5b
AJ
158742012-04-23 Andreas Jaeger <aj@suse.de>
15875
15876 [BZ #13739]
15877 * manual/Makefile: Remove make dist support, there's no
15878 need for a stand-alone documentation tar ball.
15879 (TEXI2DVI): Define always, it's not in Makeconfig.
15880 (dist): Removed.
15881 (tar-it): Removed.
15882 (edition): Removed.
15883 (glibc-doc-$(edition).tar): Removed
15884 (%.Z): Removed.
15885 (%.gz): Removed.
15886 (%.uu): Removed.
15887 (ETAGS): Remove, it's in Makeconfig.
15888 (move-if-change): Remove, it's in Makeconfig.
15889
38686a03 158902012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
15891
15892 [BZ #13970]
15893 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15894 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15895 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15896 (strtod_l, strtof_l, strtold_l): Remove __wur.
15897 It is not necessarily an error to ignore strtol's return value.
15898 One can reliably look at the stored endptr to decide whether
15899 the number had valid syntax.
15900
7c0616fa
AJ
159012012-04-21 Andreas Jaeger <aj@suse.de>
15902
803cb6b7 15903 [BZ #13739]
7c0616fa
AJ
15904 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15905
b0fe253f
JM
159062012-04-21 Joseph Myers <joseph@codesourcery.com>
15907
15908 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15909 * sysdeps/unix/sysv/Versions: Remove file.
15910
8280f22d
MT
159112012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15912
15913 [BZ #13927]
15914 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15915
75ce411f 159162012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
15917
15918 [BZ #7064]
15919 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15920 version from __vm86.
15921
097d59fa
JM
159222012-04-20 Joseph Myers <joseph@codesourcery.com>
15923
a90f3bcb
JM
15924 * sysdeps/unix/common/lxstat.c: Remove file.
15925 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15926
edc7ea78
JM
15927 * sysdeps/unix/sysv/Makefile: Remove file.
15928
cb78c221
JM
15929 * sysdeps/unix/sysv/direct.h: Remove file.
15930
efa6a45f
JM
15931 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15932 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15933 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15934 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15935 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15936 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15937 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15938
9c9f2d0c
JM
15939 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15940
4541c83b
JM
15941 * sysdeps/unix/xmknod.c: Remove file.
15942 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15943
f5d153a0
JM
15944 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15945
aa746595
JM
15946 * sysdeps/unix/sysv/i386/time.S: Remove file.
15947
cce5905e
JM
15948 * sysdeps/unix/fxstat.c: Remove file.
15949 * sysdeps/unix/xstat.c: Likewise.
15950 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15951
37fa3841
JM
15952 * sysdeps/unix/sysv/sigaction.c: Remove file.
15953
ff1962a3
JM
15954 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15955 (sysdep_headers): Remove variable.
15956 [termio.h not in sysdep_headers] (generated): Likewise.
15957 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15958 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15959 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15960 * sysdeps/unix/sysv/tcflow.c: Likewise.
15961 * sysdeps/unix/sysv/tcflush.c: Likewise.
15962 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15963 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15964 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15965 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15966 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15967
e7740d31
JM
15968 * sysdeps/unix/siglist.c: Remove file.
15969
ee06f18b
JM
15970 * sysdeps/unix/getppid.S: Remove file.
15971
097d59fa
JM
15972 * sysdeps/unix/mkdir.c: Remove file.
15973 * sysdeps/unix/rmdir.c: Likewise.
15974
ff3d51ec
AS
159752012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15976
15977 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15978 ERR_MAX value.
15979 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15980 errlist-compat value.
15981
50f81fd7
DM
159822012-04-18 David S. Miller <davem@davemloft.net>
15983
15984 * sysdeps/generic/memcopy.h (reg_char): Delete.
15985 * debug/strcat_chk.c: Use char, not reg_char.
15986 * debug/strcpy_chk.c: Likewise.
15987 * debug/strncat_chk.c: Likewise.
15988 * debug/strncpy_chk.c: Likewise.
15989 * string/memchr.c: Likewise.
15990 * string/memrchr.c: Likewise.
15991 * string/rawmemchr.c: Likewise.
15992 * string/strcat.c: Likewise.
15993 * string/strchr.c: Likewise.
15994 * string/strchrnul.c: Likewise.
15995 * string/strcmp.c: Likewise.
15996 * string/strcpy.c: Likewise.
15997 * string/strncat.c: Likewise.
15998 * string/strncmp.c: Likewise.
15999 * string/strncpy.c: Likewise.
16000
8ff41c46
WS
160012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16002
16003 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16004 __builtin_memcopy is called when src and dest ranges are known to not
16005 overlap.
16006
6b652f46
WS
160072012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16008
16009 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16010 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16011 fwd_align_merge macro call.
16012 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16013 bwd_align_merge macro call.
16014 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16015
b282631e
WS
160162012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16017
16018 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16019 bwd_align_merge macros.
16020 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16021 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16022 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16023
95aa737c
DM
160242012-04-18 David S. Miller <davem@davemloft.net>
16025
16026 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16027
7a99a614
AJ
160282012-04-18 Andreas Jaeger <aj@suse.de>
16029
16030 [BZ# 6794]
16031 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16032 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16033 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16034
16035 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16036 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16037 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16038
16039 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16040 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16041 Adjust for changed ldbl-128 files.
16042
16043 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16044 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16045 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16046
e5270c23
DM
160472012-04-17 David S. Miller <davem@davemloft.net>
16048
16049 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16050
fb5e92c9
AS
160512012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16052
16053 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16054 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16055 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16056 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16057 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16058 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16059
76da7265
AZ
160602012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16061
16062 [BZ #6794]
16063 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16064 * math/libm-test.inc: Add ilogb errno and exception tests.
16065 * math/w_ilogb.c: New file: ilogb wrapper.
16066 * math/w_ilogbf.c: New file: ilogbf wrapper.
16067 * math/w_ilogbl.c: New file: ilogbl wrapper.
16068 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16069 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16070 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16071 exception being thrown with 0.0 as argument.
16072 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16073 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16074 exception being thrown with 0.0 as argument.
16075 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16076 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16077 exception being thrown with 0.0 as argument.
16078 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16079 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16080 exception being thrown with 0.0 as argument.
16081 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16082 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 16083 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
16084 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16085 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16086 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16087 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16088 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16089 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16090
0396e69d
PB
160912012-04-17 Petr Baudis <pasky@ucw.cz>
16092
16093 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16094 with altivec.
16095
750b5926
MP
160962012-04-16 Marek Polacek <polacek@redhat.com>
16097
16098 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16099
751728a1
MP
161002012-04-16 Marek Polacek <polacek@redhat.com>
16101
16102 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16103 operands of fdivp instruction.
16104
34a27407
L
161052012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16106
16107 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16108 * elf/tst-auditmod3b.c: Likewise.
16109 * elf/tst-auditmod4b.c: Likewise.
16110 * elf/tst-auditmod5b.c: Likewise.
16111 * elf/tst-auditmod6b.c: Likewise.
16112 * elf/tst-auditmod6c.c: Likewise.
16113 * elf/tst-auditmod7b.c: Likewise.
16114 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16115 * sysdeps/x86_64/preconfigure.in: Likewise.
16116 * sysdeps/x86_64/preconfigure: Regenerated.
16117
7e73e17d
L
161182012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16119
16120 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16121 __ILP32__.
16122
c7a6ab72
AB
161232012-04-13 Antoine Balestrat <merkil33@gmail.com>
16124
16125 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16126 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16127
a9e8e0e0
CL
161282012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16129
16130 [BZ #13973]
16131 * locale/iso-639.def: Fix gl language name. Spotted by
16132 Yaron Shahrabani.
16133
ec98af7d
RM
161342012-04-12 Roland McGrath <roland@hack.frob.com>
16135
16136 [BZ #2074]
16137 * libio/libio.h (__io_write_fn): Update comment.
16138
247c3ede
PB
161392012-04-12 Petr Baudis <pasky@ucw.cz>
16140
16141 [BZ #2074]
16142 * stdio.texi (Hook Functions): The user provided writer function
16143 is not allowed to return -1.
16144
55939d6d
DM
161452012-04-11 David S. Miller <davem@davemloft.net>
16146
16147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16148
90020f5a
MF
161492012-04-11 Mike Frysinger <vapier@gentoo.org>
16150
16151 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16152 Add a leading slash to rtkaio.
16153
288f9098
JM
161542012-04-11 Jim Meyering <meyering@redhat.com>
16155
90020f5a
MF
16156 [BZ #11959]
16157 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16158 It is not necessarily an error to ignore fwrite's return
16159 value. One can reliably use ferror to test for errors after
16160 the fact.
288f9098 16161
4be2b570
L
161622012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16163
16164 * bits/types.h (__snseconds_t): New type.
16165 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16166
16167 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16168 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16169 (__SNSECONDS_T_TYPE): Likewise.
16170 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16171 (__SNSECONDS_T_TYPE): Likewise.
16172 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16173 (__SNSECONDS_T_TYPE): Likewise.
16174
288f9098 161752012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
16176
16177 [BZ #2636]
16178 * manual/time.texi (Processor Time): Return type of times is
16179 elapsed real time since an arbitrary point in the past.
16180 (CPU Time): Move CLK_TCK from here...
16181 (Processor Time): ...to here. Correct description.
16182 * manual/conf.texi (Constants for Sysconf): Correct description of
16183 _SC_CLK_TCK.
16184
d7dd4413
DM
161852012-04-10 David S. Miller <davem@davemloft.net>
16186
16187 [BZ #13967]
16188 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16189 where the is a gap between DT_REL(A) and DT_JMPREL.
16190
b46068fc
L
161912012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16192
16193 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16194 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16195 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16196
73d65cc3
SP
161972012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16198
16199 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16200 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16201 (dl_main): Handle --inhibit-cache.
16202 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16203 _dl_inhibit_cache.
16204 * elf/dl-load.c (_dl_map_object): Use it.
16205 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16206
bcc8d661
JM
162072012-04-09 Joseph Myers <joseph@codesourcery.com>
16208
8f9a2fae
JM
16209 [BZ #13872]
16210 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16211 (__ieee754_powl): Saturate large exponents rather than testing for
16212 overflow of y*log2(x).
16213 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16214 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16215 exceptions.
16216
bcc8d661
JM
16217 [BZ #11521]
16218 * math/s_ctan.c: Include <float.h>.
16219 (__ctan): Avoid internal overflow or cancellation in calculating
16220 denominator.
16221 * math/s_ctanf.c: Likewise.
16222 * math/s_ctanl.c: Likewise.
16223 * math/s_ctanh.c: Likewise.
16224 * math/s_ctanhf.c: Likewise.
16225 * math/s_ctanhl.c: Likewise.
16226 * math/libm-test.inc (ctan_test): Add more tests.
16227 (ctanh_test): Likewise.
16228 * sysdeps/i386/fpu/libm-test-ulps: Update.
16229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16230
823fbbb4
AJ
162312012-04-09 Andreas Jaeger <aj@suse.de>
16232
03879793
AJ
16233 [BZ #6894]
16234 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16235 is an optional BSD extension.
16236
823fbbb4
AJ
16237 [BZ #10254]
16238 * manual/stdio.texi (Opening Streams): Document additional fopen
16239 parameters.
16240
8de131cb
RM
162412012-04-09 Roland McGrath <roland@hack.frob.com>
16242
16243 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16244 %eax without telling the compiler.
16245
c0ed9d7d
CD
162462012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16247
16248 [BZ # 13963]
16249 * manual/install.texi: Use sourceware.org.
16250
c483f6b4
JM
162512012-04-09 Joseph Myers <joseph@codesourcery.com>
16252
d7dd9453
JM
16253 [BZ #13873]
16254 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16255 (__ieee754_pow): Generate overflow and underflow using huge*huge
16256 and tiny*tiny rather than just returning constant infinity or zero
16257 for large exponents.
16258 * math/libm-test.inc (pow_test): Require overflow exceptions for
16259 applicable cases of large exponents.
16260
c483f6b4
JM
16261 [BZ #706]
16262 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16263 (__ieee754_pow): Use iterative multiplication algorithm only for
16264 integer exponents with absolute value below 1024. Check for odd
16265 integer exponents when using algorithm for real exponents.
16266 * math/libm-test.inc (pow_test): Add more tests.
16267 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16268
d2de7579
JM
162692012-04-08 Joseph Myers <joseph@codesourcery.com>
16270
16271 [BZ #13705]
16272 * math/libm-test.inc (exp_test): Do not allow overflow exception
16273 on underflow test.
16274
f77f1232
AJ
162752012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16276
16277 [BZ #13705]
16278 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16279 instead of __kernel_standard_f.
16280
3884932b
MF
162812012-04-08 Mike Frysinger <vapier@gentoo.org>
16282
16283 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16284 * sysdeps/x86_64/memset_chk.S: Likewise.
16285
54472e9c
AJ
162862012-04-08 Andreas Jaeger <aj@suse.de>
16287
6ab0fbfc
AJ
16288 [BZ #10153]
16289 * manual/startup.texi (Environment Access): Describe return value
16290 for putenv and setenv.
16291
61efba8c
AJ
16292 [BZ #6895]
16293 * manual/filesys.texi (Directory Entries): Add description for
16294 DT_LNK.
16295
95c3f29a
AJ
16296 [BZ #6890]
16297 * manual/filesys.texi (Directory Entries): Clarify that it's file
16298 system not operating system in the description of DT_UNKNOWN.
16299
54472e9c
AJ
16300 [BZ #6578]
16301 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16302
624254b1
SC
163032012-04-08 Stephen Compall <s11@member.fsf.org>
16304
16305 [BZ #6649]
16306 * manual/llio.texi (Opening and Closing Files): Add cross
16307 reference to explain mode argument.
16308
1e4920e0
MF
163092012-04-07 Mike Frysinger <vapier@gentoo.org>
16310
16311 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16312 * sysdeps/x86_64/memset_chk.S: Likewise.
16313
5ed848f3
DM
163142012-04-07 David S. Miller <davem@davemloft.net>
16315
16316 * elf/elf.h (R_SPARC_WDISP10): Define.
16317 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16318 R_SPARC_SIZE32.
16319 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16320 R_SPARC_SIZE64 and R_SPARC_H34.
16321
96154cd8
CD
163222012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16323
16324 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16325 conditions and remove no longer applicable assertion.
16326
9904dc47
L
163272012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16328
16329 * bits/byteswap.h: Include <features.h>.
16330 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16331 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16332
f8887d0a
L
163332012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16334
16335 * bits/byteswap.h (__bswap_16): Removed.
16336 Include <bits/byteswap-16.h> to get __bswap_16.
16337 * sysdeps/i386/bits/byteswap.h: Likewise.
16338 * sysdeps/s390/bits/byteswap.h: Likewise.
16339 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16340 * bits/byteswap-16.h: New file.
16341 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16342 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16343 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16344 * string/Makefile (headers): Add bits/byteswap-16.h.
16345
62470f60
PP
163462012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16347
16348 [BZ #13895]
16349 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16350 extra indirection.
16351 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16352 * nss/tst-nss-static.c: New.
16353
4dad7bab
RM
163542012-04-06 Robert Millan <rmh@gnu.org>
16355
16356 [BZ #6486]
16357 * manual/llio.texi (File Position Primitive): lseek
16358 refers to WHENCE when it really means OFFSET.
16359
e9142a17
AJ
163602012-04-06 Andreas Jaeger <aj@suse.de>
16361
2c040eff
AJ
16362 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16363 strncmp declarations.
16364
e9142a17
AJ
16365 * abilist/libc.abilist: Add __poll and __ppoll.
16366
ff9f1c5f
DM
163672012-04-05 David S. Miller <davem@davemloft.net>
16368
dcd2ae90
DM
16369 * scripts/check-local-headers.sh: Accept a host triplet in the
16370 path matched by the exclude regexp.
16371
993eb054
DM
16372 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16373 definition.
16374 * sysdeps/powerpc/powerpc32/dl-machine.h
16375 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16376 * sysdeps/s390/s390-32/dl-machine.h
16377 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16378 * sysdeps/sparc/sparc32/dl-machine.h
16379 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16380 * sysdeps/sparc/sparc64/dl-machine.h
16381 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16382
ff9f1c5f
DM
16383 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16384 lazy binding.
48e2e132 16385 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
16386 undefined symbol errors.
16387
48e2e132 16388 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
16389 DT_NEEDED entries.
16390
e80d6f94
MM
163912012-04-05 Michael Matz <matz@suse.de>
16392
16393 [BZ #13592]
16394 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16395
349fa79f
AJ
163962012-04-05 Andreas Jaeger <aj@suse.de>
16397
16398 [BZ #13908]
16399 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16400 comment.
16401
f402708f
KK
164022012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16403
16404 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16405 which ROUND is no valid rounding mode.
16406
2ecccfc9
KK
164072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16408
16409 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16410 read again.
16411 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16412
8a53f50f
KK
164132012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16414
16415 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16416 an exception using FPU order intentionally.
16417
164182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16419
16420 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16421 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16422 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16423 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16424
d653abb7
SJ
164252012-04-05 Simon Josefsson <simon@josefsson.org>
16426
16427 [BZ #12340]
16428 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16429 EINVAL when BUFLEN is too smal.
16430
c3b1bf7d
TS
164312012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16432
16433 [BZ #13553]
16434 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16435 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16436
b1aa60f3
AJ
164372012-04-03 Andreas Jaeger <aj@suse.de>
16438
c3b1bf7d 16439 [BZ #13938]
67f60a26
AJ
16440 * manual/setjmp.texi (System V contexts): Fix sentence.
16441
b1aa60f3
AJ
16442 [BZ #13926]
16443 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16444 New macro for this case.
16445 [!__GNUC__] (__bswap_64): New inline function for this case.
16446 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16447 * bits/byteswap.h: Likewise.
16448 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16449 ull, guard with __GLIBC_HAVE_LONG_LONG.
16450
16451 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16452 __GLIBC_HAVE_LONG_LONG.
16453
16454 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16455 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16456
39c59c35
TMQMF
164572012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16458
16459 [BZ #13691]
16460 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16461 inptr and inend, rather than using last_ch.
16462
135ffda8
DM
164632012-04-02 David S. Miller <davem@davemloft.net>
16464
16465 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16466 * stdio-common/printf-parse.h (read_int): Change return type to
16467 'int', return -1 on INT_MAX overflow.
16468 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16469 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16470 overflows INT_MAX. Check for overflow of in-format-string precision
16471 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16472 SIZE_MAX not INT_MAX for integer overflow test.
16473 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16474 skip the construct in the format string but do not record anything.
16475 * stdio-common/bug22.c: Adjust to test both width/prevision
16476 INT_MAX overflow as well as total length INT_MAX overflow. Check
16477 explicitly for proper errno values.
16478
228c019e
TS
164792012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16480
302cadd3
TS
16481 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16482 CHAR_MAX.
16483 * string/test-strcmp.c [! WIDE]: Likewise.
16484 * time/tst-mktime2.c: Likewise for INT_MAX.
16485 * string/test-string.h: #include <sys/param.h> for MIN.
16486
228c019e
TS
16487 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16488 * sysdeps/i386/init-first.c (init): Likewise.
16489 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16490 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16491 * sysdeps/sh/init-first.c (init): Likewise.
16492
cfa633f5
UD
164932012-04-01 Ulrich Drepper <drepper@gmail.com>
16494
16495 * po/ru.po: Update from translation team.
d1635ef8 16496 * po/vi.po: Likewise.
cfa633f5 16497
6cd0a5ea
SP
164982012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16499
16500 * resolv/nss_dns/dns-host.c: Merge copyright years.
16501
4b43400f
LD
165022012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16503
16504 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16505 Optimize memcpy with prefetch if
16506 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16507 src, dst pointers have unequal 16 byte alignments.
16508
48c41d04
SP
165092012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16510
16511 [BZ #13928]
16512 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16513 from a CNAME entry and return the minimum ttl for the query.
16514 (gaih_getanswer_slice): Likewise.
16515
b8dc394d
JL
165162012-03-30 Jeff Law <law@redhat.com>
16517
16518 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16519 due to long keys.
16520 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16521 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16522
2f5a5ed0
JL
16523 * resolv/nss_dns/dns-host.c: Update copyright year.
16524
1d39e359
UD
165252012-03-30 Ulrich Drepper <drepper@gmail.com>
16526
c030f70c 16527 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 16528 requests to save a system call. Fix check that all bytes are sent.
c030f70c 16529
1d39e359
UD
16530 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16531 comments for sendmmsg.
16532
165332012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
16534
16535 [BZ #13691]
16536 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16537 with only 1 character between 0x0041 and 0x01b0.
16538 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16539 * wcsmbs/tst-mbsnrtowcs.c: New file.
16540
20fde227
DM
165412012-03-29 David S. Miller <davem@davemloft.net>
16542
16543 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16544 small copies by hand.
16545
984a4237
JL
165462012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16547
16548 [BZ #13761]
16549 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16550 _nss_compat_initgroups_dyn): Fall back to malloc/free
16551 for large group memberships.
16552
18c9d62b
DM
165532012-03-28 David S. Miller <davem@davemloft.net>
16554
88d85d4f
DM
16555 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16556 that branches into memcpy.
16557 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16558 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16559 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16560 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16561 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16562 bits.
16563 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16564 implementation too.
16565 * sysdeps/sparc/mempcpy.S: New file.
16566
e5aa83e1
DM
16567 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16568 the IFUNC routine in the libc case.
16569 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16570
88570753
DM
16571 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16572 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16573 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16574 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16575 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16576 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16577 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16578 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16579
249d7567
DM
16580 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16581 loop to 256 bytes instead of 64 bytes and fix test signedness.
16582
18c9d62b
DM
16583 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16584 * sysdeps/sparc/sparc32/Makefile: rather than here...
16585 * sysdeps/sparc/sparc64/Makefile: and here.
16586
05f3d1f6
UD
165872012-03-28 Ulrich Drepper <drepper@gmail.com>
16588
16589 * malloc/mallocbug.c: Avoid warnings about unused variables.
16590
86ae07a8
JL
165912012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16592
16593 [BZ #13760]
16594 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16595 in the right place. Discard and retry query if response is
16596 larger than input buffer size.
16597
41bf21a1
JM
165982012-03-28 Joseph Myers <joseph@codesourcery.com>
16599
d6270972
JM
16600 [BZ #369]
16601 [BZ #2678]
16602 [BZ #3866]
16603 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16604 x for large integer exponent.
16605 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16606 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16607 sign of result as needed afterwards.
16608 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16609 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16610 result for underflowing pow the same as for overflow.
16611 (__kernel_standard_l): Handle powl overflow and underflow here
16612 rather than calling __kernel_standard.
16613 * math/libm-test.inc (pow_test): Add more tests.
16614
414fca03 16615 [BZ #3868]
41bf21a1
JM
16616 [BZ #13879]
16617 [BZ #13910]
16618 [BZ #13911]
16619 [BZ #13912]
16620 [BZ #13913]
16621 [BZ #13915]
16622 [BZ #13916]
16623 [BZ #13917]
16624 [BZ #13918]
16625 [BZ #13919]
16626 [BZ #13920]
16627 [BZ #13921]
16628 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16629 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16630 (__kernel_standard_l): New function.
16631 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16632 __kernel_standard.
16633 * math/w_acosl.c (__acosl): Likewise.
16634 * math/w_asinl.c (__asinl): Likewise.
16635 * math/w_atan2l.c (__atan2l): Likewise.
16636 * math/w_atanhl.c (__atanhl): Likewise.
16637 * math/w_coshl.c (__coshl): Likewise.
16638 * math/w_exp10l.c (__exp10l): Likewise.
16639 * math/w_exp2l.c (__exp2l): Likewise.
16640 * math/w_fmodl.c (__fmodl): Likewise.
16641 * math/w_hypotl.c (__hypotl): Likewise.
16642 * math/w_j0l.c (__j0l, __y0l): Likewise.
16643 * math/w_j1l.c (__j1l, __y1l): Likewise.
16644 * math/w_jnl.c (__jnl, __ynl): Likewise.
16645 * math/w_lgammal.c (__lgammal): Likewise.
16646 * math/w_log10l.c (__log10l): Likewise.
16647 * math/w_log2l.c (__log2l): Likewise.
16648 * math/w_logl.c (__logl): Likewise.
16649 * math/w_powl.c (__powl): Likewise.
16650 * math/w_remainderl.c (__remainderl): Likewise.
16651 * math/w_scalbl.c (sysv_scalbl): Likewise.
16652 * math/w_sinhl.c (__sinhl): Likewise.
16653 * math/w_sqrtl.c (__sqrtl): Likewise.
16654 * math/w_tgammal.c (__tgammal): Likewise.
16655 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16656 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16657 * math/libm-test.inc (acos_test): Add more tests.
16658 (acosh_test): Likewise.
16659 (asin_test): Likewise.
16660 (atanh_test): Likewise.
16661 (exp_test): Likewise.
16662 (exp10_test): Likewise.
16663 (exp2_test): Likewise.
16664 (expm1_test): Likewise.
16665 (lgamma_test): Likewise.
16666 (log_test): Likewise.
16667 (log10_test): Likewise.
16668 (log1p_test): Likewise.
16669 (log2_test): Likewise.
16670 (pow_test): Do not allow some spurious overflow exceptions.
16671 (sqrt_test): Add more tests.
16672 (tgamma_test): Likewise.
16673 (y0_test): Likewise.
16674 (y1_test): Likewise.
16675 (yn_test): Likewise.
16676
dd62fda6
AB
166772012-03-27 Anton Blanchard <anton@samba.org>
16678
16679 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16680 MAP_HUGETLB.
16681 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16682 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16683 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16684
1e3cdfda
AJ
166852012-03-27 David S. Miller <davem@davemloft.net>
16686
b855ab85
DM
16687 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16688
1e3cdfda
AJ
16689 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16690 have-as-vis3 check.
16691
166922012-03-27 Andreas Jaeger <aj@suse.de>
16693
16694 * sysdeps/x86_64/elf/configure.in: Moved to ...
16695 * sysdeps/x86_64/configure.in: ... here.
16696 * sysdeps/x86_64/elf/start.S: Moved to ...
16697 * sysdeps/x86_64/start.S: ... here.
16698 * sysdeps/x86_64/elf/configure: Delete.
16699
16700 * sysdeps/x86_64/configure.in: Merge contents from
16701 sysdeps/i386/configure.in (without i686 check).
16702
16703 * sysdeps/i386/elf/Versions: Merge into ...
16704 * sysdeps/i386/Versions: ... this.
16705 * sysdeps/i386/elf/Versions: Delete file.
16706 * sysdeps/i386/elf/start.S: Moved to ...
16707 * sysdeps/i386/start.S: ...here.
16708 * sysdeps/i386/elf/configure.in: Merge into...
16709 * sysdeps/i386/configure.in: ...here.
16710 * sysdeps/i386/elf/configure.in: Delete file.
16711 * sysdeps/i386/elf/configure: Delete file.
16712
16713 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16714 * debug/backtracesyms.c: ... here.
16715 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16716 * debug/backtracesymsfd.c: ... here.
16717 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16718 * sysdeps/generic/ifunc-sel.h: ... here.
16719
16720 * sysdeps/unix/i386/start.c: Delete file.
16721 * sysdeps/unix/sparc/start.c: Delete file.
16722 * sysdeps/unix/start.c: Delete file.
16723
16724 * sysdeps/sh/elf/configure.in: Moved to ...
16725 * sysdeps/sh/configure.in: ... here.
16726 * sysdeps/sh/elf/start.S: Moved to ...
16727 * sysdeps/sh/start.S: ... here.
16728 * sysdeps/sh/elf/configure: Delete file.
16729
16730 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16731 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16732 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16733 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16734 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16735 * sysdeps/powerpc/powerpc64/start.S: here.
16736 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16737 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16738 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16739 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16740 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16741
16742 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16743 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16744 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16745 * sysdeps/powerpc/powerpc32/start.S: ... here.
16746 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16747 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16748 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16749
16750 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16751 * sysdeps/powerpc/ifunc-sel.h: ... here.
16752 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16753 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16754
16755 * sysdeps/sparc/elf/configure.in: Moved to ...
16756 * sysdeps/sparc/configure.in: ... here.
16757 * sysdeps/sparc/elf/configure: Delete file.
16758 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16759 * sysdeps/sparc/sparc32/start.S: ... here.
16760 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16761 * sysdeps/sparc/sparc64/start.S: ... here.
16762 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16763 * sysdeps/sparc/sparc32/Makefile: ... this.
16764 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16765 * sysdeps/sparc/sparc64/Makefile: ... this.
16766
16767 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16768 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16769 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16770 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16771 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16772 * sysdeps/s390/s390-32/setjmp.S: ... here.
16773 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16774 * sysdeps/s390/s390-32/configure.in: ... here.
16775 * sysdeps/s390/s390-32/elf/configure: Delete file.
16776 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16777 * sysdeps/s390/s390-32/start.S: ... here.
16778
16779 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16780 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16781 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16782 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16783 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16784 * sysdeps/s390/s390-64/setjmp.S: ... here.
16785 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16786 * sysdeps/s390/s390-64/configure.in: ... here
16787 * sysdeps/s390/s390-64/elf/configure: Delete file.
16788 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16789 * sysdeps/s390/s390-64/start.S: ... here.
16790 * sysdeps/s390/s390-64/elf/configure: Delete.
16791
16792 * configure.in: Remove support for elf directories in sysdeps.
16793
16794 * configure: Regenerated.
16795 * sysdeps/i386/configure: Regenerated.
16796 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16797 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16798 * sysdeps/s390/s390-32/configure: Regenerated.
16799 * sysdeps/s390/s390-64/configure: Regenerated.
16800 * sysdeps/sh/configure: Regenerated.
16801 * sysdeps/sparc/configure: Regenerated.
16802 * sysdeps/x86_64/configure: Regenerated.
16803
a3f61311
AS
168042012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16805
c876e002
AS
16806 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16807
a3f61311
AS
16808 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16809 denormal result into account.
16810
ac4c54f0
RM
168112012-03-25 Roland McGrath <roland@hack.frob.com>
16812
16813 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16814 Reported by Allan McRae <allan@archlinux.org>.
16815
6a9b9c02
JL
168162012-03-23 Jeff Law <law@redhat.com>
16817
16818 * nss/getnssent.c (__nss_getent): Fix typo.
16819
4c42a0c1
DM
168202012-03-23 David S. Miller <davem@davemloft.net>
16821
16822 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16823
1532c7ac
L
168242012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16825
16826 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16827 to pad to uint64_t for each field.
16828 (dl_tls_index): Replace unsigned long with uint64_t.
16829
3ff42526
PP
168302012-03-23 Daniel Jacobowitz <dmj@google.com>
16831 Paul Pluzhnikov <ppluzhnikov@google.com>
16832
16833 [BZ #6528]
16834 * grp/Makefile (otherlibs): Don't set it.
16835 * inet/Makefile (otherlibs): Likewise.
16836 * login/Makefile (otherlibs): Likewise.
16837 * nscd/Makefile (otherlibs): Likewise.
16838 * posix/Makefile (otherlibs): Likewise.
16839 * pwd/Makefile (otherlibs): Likewise.
16840 * rt/Makefile (otherlibs): Likewise.
16841 * sunrpc/Makefile (otherlibs): Likewise.
16842 * nss/Makefile (otherlibs): Likewise.
16843 Add libnss_files to routines and static-only-routines.
16844 ($(objpfx)getent): Remove rule.
16845 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16846 static-only-routines.
16847
7c69cd14
JM
168482012-03-22 Joseph Myers <joseph@codesourcery.com>
16849
16850 [BZ #13892]
16851 * math/s_cexp.c: Include <float.h>.
16852 (__cexp): Handle exp result overflowing not necessarily
16853 overflowing both real and imaginary parts of result.
16854 * math/s_cexpf.c: Likewise.
16855 * math/s_cexpl.c: Likewise.
16856 * math/libm-test.inc (cexp_test): Add more tests.
16857 * sysdeps/i386/fpu/libm-test-ulps: Update.
16858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16859
81b035fe
L
168602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16861
16862 * include/link.h (ELFW): New macro.
16863 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16864 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16865
1da7940c
L
168662012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16867
16868 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16869 with uint64_t.
16870
b749dbb9
L
168712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16872
16873 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16874 declaration.
16875 (struct La_x32_retval): Likewise.
16876
2ff87f3f
L
168772012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16878
16879 * sysdeps/x86_64/preconfigure.in: New file.
16880 * sysdeps/x86_64/preconfigure: New generated file.
16881
c0df8e69
JM
168822012-03-22 Joseph Myers <joseph@codesourcery.com>
16883
48e44791
JM
16884 [BZ #13824]
16885 * math/e_exp2l.c: Include <float.h>.
16886 (__ieee754_exp2l): Handle overflow and underflow cases
16887 separately. Only pass fractional part of argument to
16888 __ieee754_expl.
16889 * math/libm-test.inc (exp2_test): Add more tests.
16890
c0df8e69
JM
16891 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16892 negating x to take absolute value.
16893 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16894 Likewise.
16895 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16896 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16897 Likewise.
16898 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16899 computing low part if x was negated.
16900 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16901
c8e43ba7
L
169022012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16903
16904 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16905 la_x32_gnu_pltexit.
16906 (pltexit): Cast int_retval to ptrdiff_t.
16907 * elf/tst-auditmod3b.c: Likewise.
16908 * elf/tst-auditmod4b.c: Likewise.
16909 * elf/tst-auditmod5b.c: Likewise.
16910 * elf/tst-auditmod6b.c: Likewise.
16911 * elf/tst-auditmod6c.c: Likewise.
16912 * elf/tst-auditmod7b.c: Likewise.
16913
16914 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16915 and x32_gnu_pltexit.
16916
16917 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16918 __ELF_NATIVE_CLASS.
16919 (La_x32_regs): New macro.
16920 (La_x32_retval): Likewise.
16921 (la_x32_gnu_pltenter): New function prototype.
16922 (la_x32_gnu_pltexit): Likewise.
16923
7998fa78
AS
169242012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16925
dcb33988
AS
16926 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16927 exponent.
16928
233fc563
AS
16929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16930
7998fa78
AS
16931 * configure.in (libc_cv_cc_nofma): Check for option to disable
16932 generation of FMA instructions.
16933 * configure: Regenerate.
16934 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16935 * sysdeps/ieee754/dbl-64/Makefile: New file.
16936 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16937 Remove brandred-fma4.
16938 (CFLAGS-brandred-fma4.c): Remove.
16939 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16940 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16941 define.
16942 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16943 define.
16944
8e95c99a
L
169452012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16946
16947 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16948 LLONG_MAX != LONG_MAX.
16949 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16950 (_fitoa_word): Likewise.
16951 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16952 LLONG_MAX != LONG_MAX.
16953 * stdio-common/_itowa.h: Include <_itoa.h>.
16954 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16955 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16956 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16957 only if not defined.
16958 (_ITOA_WORD_TYPE): Likewise.
16959 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16960 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16961
6f4db457
DM
169622012-03-21 David S. Miller <davem@davemloft.net>
16963
16964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16965
7785fe5a
L
169662012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16967
16968 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16969 of x86_64 when setting libc_cv_slibdir, libdir and
16970 libc_cv_localedir.
16971 * sysdeps/unix/sysv/linux/configure: Regenerated.
16972
4535cd55
JM
169732012-03-21 Joseph Myers <joseph@codesourcery.com>
16974
16975 * manual/lang.texi (Old Varargs): Remove section.
16976 (How Variadic): Update menu.
16977 (va_start): Do not mention varargs.h.
16978
17228132
TS
169792012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16980 Joseph Myers <joseph@codesourcery.com>
16981
16982 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16983 link test.
16984 * configure: Regenerated.
16985
8149f976
TS
169862012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16987
05f3d1f6
UD
16988 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16989 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16990 conformtest.pl
8149f976 16991
1a4ac776
JM
169922012-03-21 Joseph Myers <joseph@codesourcery.com>
16993
be22ce65
JM
16994 * NOTES: Remove.
16995 * Makefile (files-for-dist): Remove NOTES.
16996 (NOTES): Remove rule.
16997 * README: Don't refer to NOTES.
16998 * manual/creature.texi: Don't include macros.texi.
16999 * manual/intro.texi (creature.texi): Remove comment referring to
17000 NOTES.
17001
40b601fb
JM
17002 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17003 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17004 * configure: Regenerated.
17005 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17006 LIBC_TRY_CC_OPTION.
17007 (libc_cv_as_i686): Likewise.
17008 (libc_cv_cc_avx): Likewise.
17009 (libc_cv_cc_sse2avx): Likewise.
17010 (libc_cv_cc_fma4): Likewise.
17011 (libc_cv_cc_novzeroupper): Likewise.
17012 * sysdeps/i386/configure: Regenerated.
17013
1a4ac776
JM
17014 [BZ #13883]
17015 * sysdeps/i386/fpu/s_cexp.S: Remove.
17016 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17017 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17018 * math/libm-test.inc (cexp_test): Add more tests.
17019 * sysdeps/i386/fpu/libm-test-ulps: Update.
17020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17021
a458e7fe
AM
170222012-03-21 Allan McRae <allan@archlinux.org>
17023
17024 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17025
0cb7efc5
JM
170262012-03-21 Joseph Myers <joseph@codesourcery.com>
17027
17028 [BZ #13871]
17029 * math/w_exp2.c: Do not include <float.h>.
17030 (o_threshold, u_threshold): Remove.
17031 (__exp2): Calculate result before checking finiteness and calling
17032 __kernel_standard.
17033 * math/w_exp2f.c: Likewise.
17034 * math/w_exp2l.c: Likewise.
17035 * math/libm-test.inc (exp2_test): Require overflow exception for
17036 1e6 input.
2460d3aa
JM
17037
17038 [BZ #3866]
17039 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17040 range of signed 64-bit integers before using fistpll. Remove
17041 checks for whether integers fit in mantissa bits.
17042 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17043 the range of signed 32-bit integers before using fistpl. Remove
17044 checks for whether integers fit in mantissa bits.
17045 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17046 (__ieee754_powl): Test for y outside the range of signed 64-bit
17047 integers before using fistpll. Reduce 64-bit values to 63-bit
17048 ones as needed.
17049 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17050 divide-by-zero is raised for zero to large negative powers.
17051 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17052 (__ieee754_powl): Test for y outside the range of signed 64-bit
17053 integers before using fistpll. Reduce 64-bit values to 63-bit
17054 ones as needed.
17055 * math/libm-test.inc (pow_test): Add more tests.
17056
eb96ffb0
L
170572012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17058
17059 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17060 <stdio-common/_itoa.h>.
17061 * debug/segfault.c: Likewise.
17062 * elf/dl-cache.c: Likewise.
17063 * elf/dl-minimal.c: Likewise.
17064 * elf/dl-misc.c: Likewise.
17065 * elf/dl-sysdep.c: Likewise.
17066 * elf/dl-version.c: Likewise.
17067 * elf/rtld.c: Likewise.
17068 * hurd/hurdsock.c: Likewise.
17069 * hurd/lookup-retry.c: Likewise.
17070 * malloc/malloc.c: Likewise.
17071 * malloc/mtrace.c: Likewise.
17072 * nscd/nscd_getgr_r.c: Likewise.
17073 * nscd/nscd_getpw_r.c: Likewise.
17074 * nscd/nscd_getserv_r.c: Likewise.
17075 * posix/getopt_init.c: Likewise.
17076 * posix/wordexp.c: Likewise.
17077 * stdio-common/_itoa.c: Likewise.
17078 * stdio-common/printf_fphex.c: Likewise.
17079 * stdio-common/vfprintf.c: Likewise.
17080 * string/_strerror.c: Likewise.
17081 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17082 * sysdeps/i386/i686/hp-timing.h: Likewise.
17083 * sysdeps/mach/_strerror.c: Likewise.
17084 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17085 * sysdeps/mach/hurd/sethostid.c: Likewise.
17086 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17087 * sysdeps/mach/xpg-strerror.c: Likewise.
17088 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17089 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17090 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17091 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17092 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17093 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17094 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17095 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17096 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17097 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17098 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17099 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17100 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17101 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17102 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17103 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17104 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17105 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17106 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17107 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17108 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17109
17110 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17111
17112 * stdio-common/_itoa.h: Moved to ...
17113 * sysdeps/generic/_itoa.h: Here.
17114
17115 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17116
17117 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17118 instead of "_itoa.h" and "_itowa.h".
17119 * stdio-common/vfprintf.: Likewise.
17120
d1af992d
L
171212012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17122
17123 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17124 <bits/wordsize.h>.
17125 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17126 (__signbit): Likwise.
17127 (llrintf): Likwise.
17128 (llrint): Likwise.
17129
114883e0
L
171302012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17131
17132 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17133 __WORDSIZE != 64.
17134
c135cc1b
JM
171352012-03-20 Joseph Myers <joseph@codesourcery.com>
17136
17137 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17138 OVERFLOW_EXCEPTION_OK.
17139 * math/libm-test.inc ("Philosophy"): Update comment about
17140 exception testing.
17141 (OVERFLOW_EXCEPTION): Define.
17142 (OVERFLOW_EXCEPTION_OK): Likewise.
17143 (INVALID_EXCEPTION_OK): Renumber.
17144 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17145 (IGNORE_ZERO_INF_SIGN): Likewise.
17146 (test_exceptions): Handle FE_OVERFLOW.
17147 (exp10_test): Expect overflow exceptions.
17148 (exp2_test): Likewise.
17149 (expm1_test): Likewise.
17150 (nextafter_test): Likewise.
17151 (pow_test): Likewise.
17152 (scalbn_test): Likewise.
17153 (scalbln_test): Likewise.
17154
95443d88
L
171552012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17156
17157 * sysdeps/x86_64/bits/atomic.h
17158 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17159 64bit integer.
17160 (atomic_exchange_acq): Likewise.
17161 (__arch_exchange_and_add_body): Likewise.
17162 (__arch_add_body): Likewise.
17163 (atomic_add_negative): Likewise.
17164 (atomic_add_zero): Likewise.
17165
490df6c4
L
171662012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17167
c2722551 17168 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
17169 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17170
5e52b189
L
171712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17172
17173 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17174 Check __x86_64__ instead of __WORDSIZE.
17175
a9879d4c
L
171762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17177
17178 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17179
5df98260
DM
171802012-03-19 David S. Miller <davem@davemloft.net>
17181
e1497744
DM
17182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17183
5df98260
DM
17184 * sysdeps/sparc/fpu/fenv_private.h: New file.
17185 * sysdeps/sparc/fpu/math_private.h: Use it.
17186 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17187 Remove.
17188 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17189 (libc_feholdexcept_setroundl): Remove.
17190 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17191 Remove.
17192 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17193 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17194
b4c35121
L
171952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17196
17197 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17198 int64_t instead of long int.
17199 (INSERT_WORDS64): Likwise.
17200
56965fd7
L
172012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17202
17203 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17204 _Unwind_GetCFA return to _Unwind_Ptr first.
17205
83d1aec8
JM
172062012-03-19 Joseph Myers <joseph@codesourcery.com>
17207
1897ad44
JM
17208 [BZ #13629]
17209 * math/s_clog.c: Include <float.h>.
17210 (__clog): Scale large or subnormal inputs.
17211 * math/s_clogf.c: Likewise.
17212 * math/s_clogl.c: Likewise.
17213 * math/s_clog10.c: Include <float.h>.
17214 (M_LOG10_2): Define.
17215 (__clog10): Scale large or subnormal inputs.
17216 * math/s_clog10f.c: Likewise.
17217 * math/s_clog10l.c: Likewise.
17218 * math/libm-test.inc (clog_test): Add more tests.
17219 (clog10_test): Likewise.
17220 * sysdeps/i386/fpu/libm-test-ulps: Update.
17221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17222
7726d6a9
JM
17223 [BZ #11451]
17224 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17225 x and y.
17226 * math/libm-test.inc (atan2_test): Add another test.
17227
83d1aec8
JM
17228 * Makerules (common-objdir-compile): Remove.
17229 * sysdeps/unix/Makefile (config-generated): Do not add
17230 $(unix-generated) to variable.
17231 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17232 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17233 Remove rule.
17234 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17235 Likewise.
17236 [generic bits/local_lim.h] (before-compile): Do not append to
17237 variable.
17238 [generic bits/local_lim.h] (common-generated): Likewise.
17239 [generic sys/param.h] (before-compile): Do not append to variable.
17240 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17241 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17242 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17243 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17244 include.
17245 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17246 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17247 [generic sys/param.h] ($(addprefix
17248 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17249 [generic sys/param.h] (common-generated): Do not append to
17250 variable.
17251 [generic sys/param.h] (sysdep_headers): Likewise.
17252 [generic bits/errno.h] (before-compile): Do not append to
17253 variable.
17254 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17255 rule.
17256 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17257 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17258 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17259 [generic bits/errno.h] (common-generated): Do not append to
17260 variable.
17261 [generic bits/ioctls.h] (before-compile): Do not append to
17262 variable.
17263 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17264 rule.
17265 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17266 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17267 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17268 rule.
17269 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17270 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17271 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17272 [generic bits/ioctls.h] (common-generated): Do not append to
17273 variable.
17274 [generic sys/syscall.h] (syscall.h): Remove variable.
17275 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17276 rule.
17277 [generic sys/syscall.h] (before-compile): Do not append to
17278 variable.
17279 [generic sys/syscall.h] (common-generated): Likewise.
17280 * sysdeps/unix/errnos-tmpl.c: Remove file.
17281 * sysdeps/unix/errnos.awk: Likewise.
17282 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17283 * sysdeps/unix/ioctls.awk: Likewise.
17284 * sysdeps/unix/mk-local_lim.c: Likewise.
17285 * sysdeps/unix/snarf-ioctls: Likewise.
17286
4851a949
RH
172872012-03-19 Richard Henderson <rth@twiddle.net>
17288
bd37f2ee
RH
17289 * sysdeps/i386/fpu/fenv_private.h: New file.
17290 * sysdeps/i386/fpu/math_private.h: Use it.
17291 (math_opt_barrier, math_force_eval): Remove.
17292 (libc_feholdexcept_setround_53bit): Remove.
17293 (libc_feupdateenv_53bit): Remove.
17294 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17295 (math_opt_barrier, math_force_eval): Remove.
17296 (libc_feholdexcept): Remove.
17297 (libc_feholdexcept_setround): Remove.
17298 (libc_fetestexcept, libc_fesetenv): Remove.
17299 (libc_feupdateenv_test): Remove.
17300 (libc_feupdateenv, libc_feholdsetround): Remove.
17301 (libc_feresetround): Remove.
17302
d0adc922
RH
17303 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17304 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17305
0fe0f1f8
RH
17306 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17307 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17308 (libc_feupdateenv_testl): New.
17309 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17310 (libc_feupdateenv_testf): New.
17311 (libc_feupdateenv): Use libc_feupdateenv_test.
17312 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17313 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17314
eb92c487
RH
17315 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17316 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17317 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17318 (libc_feresetround_noex): New.
17319 (libc_feresetround_noexf): New.
17320 (libc_feresetround_noexl): New.
17321 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17322 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17323 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17324 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17325 SET_RESTORE_ROUND.
17326 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17327 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17328 (__cos): Likewise.
17329 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17330 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17331 SET_RESTORE_ROUND_NOEX.
17332 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17333 SET_RESTORE_ROUND_NOEXF.
17334 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17335 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17336 (libc_feholdsetroundf): New.
17337 (libc_feresetround, libc_feresetroundf): New.
17338
7d2e8012
RH
17339 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17340 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17341 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17342
b4dabbb4
RH
17343 * sysdeps/generic/math_private.h: Include <fenv.h>.
17344 (default_libc_feholdexcept): New.
17345 (default_libc_feholdexcept_setround): New.
17346 (default_libc_fesetenv, default_libc_feupdateenv): New.
17347 (libc_feholdexcept): Only define if undefined.
17348 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17349 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17350 (libc_feholdexcept_setroundl): Likewise.
17351 (libc_feholdexcept_setround_53bit): Likewise.
17352 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17353 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17354 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17355 (libc_feupdateenv_53bit): Likewise.
17356 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17357 (libc_feholdexcept): Convert from macro to inline function.
17358 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17359 (libc_fesetenv, libc_feupdateenv): Likewise.
17360
4851a949
RH
17361 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17362 not previously defined.
17363 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17364 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17365 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17366 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17367 * sysdeps/ieee754/flt-32/math_private.h: New file.
17368 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17369 math_private.h below SET_FLOAT_WORD.
17370 (__isnan, __isinf_ns, __finite): Remove.
17371 (__isnanf, __isinf_nsf, __finitef): Remove.
17372
e79d442e
AS
173732012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17374
17375 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17376
90b80344
DM
173772012-03-17 David S. Miller <davem@davemloft.net>
17378
17379 [BZ #6471]
17380 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17381 for 2.16.
17382
edc21804
DM
173832012-03-16 David S. Miller <davem@davemloft.net>
17384
77e927af
DM
17385 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17386 warnings.
17387
374976dd
DM
17388 [BZ #6471]
17389 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17390 properly.
17391 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17392 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17393 sysdep_routines when subdir is sysvipc.
17394 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17395 __getshmlba helper.
17396
edc21804
DM
17397 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17398
473c3ef3
L
173992012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17400
17401 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17402 [__LP64__].
17403
eb0f39b6
L
174042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17405
17406 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17407 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17408 (__lround): Renamed to ...
17409 (__llround): This. Replace long int with long long int.
17410 Define lround functions as aliases of llround functions.
17411 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17412
6b6cd74b
L
174132012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17414
17415 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17416 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17417 adresses to uintptr_t. Replace "long int" and "unsigned long
17418 int" with "greg_t" on va_arg.
17419
f1a77b01
L
174202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17421
17422 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17423 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17424
17425 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17426 Move e_machine check before EI_CLASS check. Handle x32
17427 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17428 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17429 SKIP_EM_IA_64 and include
17430 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17431
17432 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17433 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17434 (add_system_dir): New macro.
17435
17436 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17437 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17438
11b90b9f
JM
174392012-03-16 Joseph Myers <joseph@codesourcery.com>
17440
c36e1d23
JM
17441 [BZ #2551]
17442 [BZ #2552]
17443 [BZ #2553]
17444 [BZ #2554]
17445 [BZ #2562]
17446 [BZ #2563]
17447 [BZ #2565]
17448 [BZ #2566]
17449 [BZ #2576]
17450 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17451 (y0): Likewise.
17452 * math/w_j0f.c (j0f): Likewise.
17453 (y0f): Likewise.
17454 * math/w_j0l.c (__j0l): Likewise.
17455 (__y0l): Likewise.
17456 * math/w_j1.c (j1): Likewise.
17457 (y1): Likewise.
17458 * math/w_j1f.c (j1f): Likewise.
17459 (y1f): Likewise.
17460 * math/w_j1l.c (__j1l): Likewise.
17461 (__y1l): Likewise.
17462 * math/w_jn.c (jn): Likewise.
17463 (yn): Likewise.
17464 * math/w_jnf.c (jnf): Likewise.
17465 (ynf): Likewise.
17466 * math/w_jnl.c (__jnl): Likewise.
17467 (__ynl): Likewise.
17468 * math/libm-test.inc (j0_test): Add more tests.
17469 (j1_test): Likewise.
17470 (jn_test): Likewise. Add trailing semicolon to existing test.
17471 (y0_test): Likewise.
17472 (y1_test): Likewise.
17473 * sysdeps/i386/fpu/libm-test-ulps: Update.
17474 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17475
11b90b9f
JM
17476 [BZ #13851]
17477 [BZ #13854]
17478 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17479 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17480 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17481 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17482 (__tanl): Set errno for infinite argument.
17483 * sysdeps/i386/fpu/mptan.c: Remove.
17484 * sysdeps/i386/fpu/s_tan.S: Likewise.
17485 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17486 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17487 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17488 * math/libm-test.inc (tan_test): Add more tests and enable more
17489 tests for double and long double.
17490 * sysdeps/i386/fpu/libm-test-ulps: Update.
17491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17492
6a1bd2a1
JK
174932012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17494
17495 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17496 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17497
10a803e0
RM
174982012-03-16 Roland McGrath <roland@hack.frob.com>
17499
17500 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17501 * configure.in: Use it for both main tree and add-ons.
17502 * configure: Regenerated.
17503
f196c7f7
L
175042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17505
17506 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17507
8848d99d
JM
175082012-03-16 Joseph Myers <joseph@codesourcery.com>
17509
96cbe7f4
JM
17510 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17511 in comment.
17512
8848d99d
JM
17513 [BZ #13851]
17514 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17515 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17516 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17517 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17518 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17519 infinite argument.
17520 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17521 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17522 != 0 for prec == 2.
17523 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17524 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17525 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17526 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17527 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17528 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17529 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17530 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17531 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17532 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17533 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17534 * math/libm-test.inc (cos_test): Add more tests and enable more
17535 tests for long double.
17536 (sin_test): Likewise.
17537 (sincos_test): Likewise.
17538 * sysdeps/i386/fpu/libm-test-ulps: Update.
17539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17540
dd7f4703
DM
175412012-03-16 David S. Miller <davem@davemloft.net>
17542
17543 * sysdeps/sparc/fpu/math_private.h: New file.
17544
006f1daa
DM
175452012-03-15 David S. Miller <davem@davemloft.net>
17546
c0c83bc8
DM
17547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17548 file.
e6a62e18 17549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
17550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17551 file.
e6a62e18
DM
17552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17553 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17554 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17555 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17556 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17557 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17558 sysdep routines.
17559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17560
88cb87d9
DM
17561 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17562 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17563
006f1daa 17564 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
17565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17566 sparc-ifunc.h
006f1daa 17567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
17568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17569 Likewise.
17570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17571 Likewise.
006f1daa
DM
17572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
17575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17576 Likewise.
006f1daa
DM
17577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
17581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17582 Likewise.
17583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17584 Likewise.
006f1daa
DM
17585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17589 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17590 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17591 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17592 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17593 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17594 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17595 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17596 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17597 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17598 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17599 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17600 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17601 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17602 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17603 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17604 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17605 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17606 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17607 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17608 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17609
11e0098e
AS
176102012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17611
17612 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17613 scaling.
17614 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17615
e85b09d0
AJ
176162012-03-15 Andreas Jaeger <aj@suse.de>
17617
17618 [BZ #13852]
17619 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17620 ieee754/flt-32 implementation for sin, cos and sincos.
17621 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17622 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17623 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17624 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17625 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17626 ieee754/flt-32 implementation for tan.
17627
17628 * math/libm-test.inc (cos_test): Enable some large input tests for
17629 float as well
17630 (sin_test): Likewise.
17631 (sincos_test): Likewise.
17632 (tan_test): Add tests for large input.
17633
17634 * sysdeps/i386/fpu/libm-test-ulps: Update.
17635
81c64153
AJ
176362012-03-15 Andreas Jaeger <aj@suse.de>
17637
17638 [BZ #13658]
17639 * math/libm-test.inc (cos_test): Add more test cases.
17640 (sin_test): Likewise.
17641 (sincos_test): Likewise.
17642
7bbfa5c6
AJ
176432012-03-15 Andreas Jaeger <aj@suse.de>
17644
17645 [BZ #13837]
17646 * math/libm-test.inc (cos_test): Add a test case for large input
17647 value.
17648 (sin_test): Likewise.
17649 (sincos_test): Likewise.
17650
176512012-03-15 Andreas Jaeger <aj@suse.de>,
17652 Joseph Myers <joseph@codesourcery.com>
17653
17654 [BZ #13658]
0671f479 17655 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
17656 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17657 * sysdeps/i386/fpu/branred.c: Likewise.
17658 * sysdeps/i386/fpu/dosincos.c: Likewise.
17659 * sysdeps/i386/fpu/mpa.c: Likewise.
17660 * sysdeps/i386/fpu/s_cos.S: Likewise.
17661 * sysdeps/i386/fpu/s_sin.S: Likewise.
17662 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17663 * sysdeps/i386/fpu/sincos32.c: Likewise.
17664
17665 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17666 Define.
17667 (libc_feupdateenv_53bit): Define.
17668 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17669 Define.
17670 (libc_feupdateenv_53bit): Define.
17671
17672 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17673 53 bit (without extend i386 double precision).
17674
17675 * math/libm-test.inc (sincos_test): Add tests for large input.
17676 (sin): Likewise.
17677 (cos): Likewise.
17678
17679 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17680
9cad04ea
AS
176812012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17682
17683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17684
f7062b9a
DM
176852012-03-15 David S. Miller <davem@davemloft.net>
17686
17687 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17688 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17689 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17690 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17691 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17692 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17694 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17695 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17696 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17697 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17698 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17699 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17700 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17701 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
17702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17703 file.
f7062b9a 17704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
17705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17706 file.
f7062b9a 17707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
17708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17709 file.
f7062b9a 17710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
17711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17712 file.
f7062b9a
DM
17713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17714 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17715 fmin/fmax sysdep routines.
17716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17717
7bd951ff
DM
177182012-03-14 David S. Miller <davem@davemloft.net>
17719
559398ab
DM
17720 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17721 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17722 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17723 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17724 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17725 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17726 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17727 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17728 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17729 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17730 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17731 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17732 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17733 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17734 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17735 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17736 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17737 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17738 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17739 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17740 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17741 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17742 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17743 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17744 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17745 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17746 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17747 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17748 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17749 routines.
17750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17751 file.
559398ab 17752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
17753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17754 file.
559398ab 17755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
17756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17757 file.
559398ab 17758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
17759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17760 file.
559398ab 17761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
17762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17763 file.
559398ab 17764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
17765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17766 file.
17767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17768 file.
17769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17770 file.
17771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17772 file.
17773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17774 New file.
17775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17776 file.
17777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17778 file.
559398ab 17779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
17780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17781 file.
559398ab 17782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17784 file.
559398ab 17785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
17786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17787 file.
559398ab 17788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
17789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17790 VIS3 routines.
559398ab
DM
17791
17792 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17793 New file.
17794
5a1c1e32
DM
17795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17796
eae47a36
DM
17797 * sysdeps/sparc/configure.in: New file.
17798 * sysdeps/sparc/configure: Generate.
17799 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17800 * configure: Regenerate.
17801 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17802 * config.make.in (have-as-vis3): New.
17803 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17804 available use -Av9d instead of -Av9a.
17805 * sysdeps/sparc/sparc64/Makefile: Likewise.
17806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
17807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17808 New file.
17809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17810 file.
17811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17812 New file.
17813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17814 file.
eae47a36
DM
17815 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17816 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17817 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17818 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17819 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17820
c0c83bc8
DM
17821 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17822 fzeros/fnegs to load 0x80000000 into a float register instead of
17823 using the stack.
7bd951ff
DM
17824 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17825
bd951ccb
JM
178262012-03-14 Joseph Myers <joseph@codesourcery.com>
17827
17828 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17829 bits/syscall.h.
17830 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17831 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17832 ($(inst_includedir)/bits/syscall.h): Remove rule.
17833 ($(objpfx)bits/syscall.d): Include instead of
17834 $(objpfx)syscall-list.d.
17835 (generated): Change syscall-list.h and syscall-list.d to
17836 bits/syscall.h and bits/syscall.d.
17837
bb4e6db2
RM
178382012-03-14 Roland McGrath <roland@hack.frob.com>
17839
17840 [BZ #13846]
17841 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17842
aa4a2ae1
JM
178432012-03-14 Joseph Myers <joseph@codesourcery.com>
17844
e456826d
JM
17845 [BZ #13841]
17846 * math/s_csqrt.c: Include <float.h>.
17847 (__csqrt): Scale large or subnormal inputs.
17848 * math/s_csqrtf.c: Likewise.
17849 * math/s_csqrtl.c: Likewise.
17850 * math/libm-test.inc (csqrt_test): Add more tests.
17851 * sysdeps/i386/fpu/libm-test-ulps: Update.
17852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17853
aa4a2ae1
JM
17854 [BZ #13840]
17855 * math/libm-test.inc (hypot_test): Add more tests.
17856
7c10fd35
DM
178572012-03-13 David S. Miller <davem@davemloft.net>
17858
17859 [BZ #13840]
17860 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17861 double-precision for the calculation instead of scaling.
17862
f453b98b
JM
178632012-03-13 Joseph Myers <joseph@codesourcery.com>
17864
17865 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17866 manipulate bits before adding and subtracting TWO52[sx].
17867 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17868 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17869 Likewise.
17870 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17871
09a3453f
DM
178722012-03-13 David S. Miller <davem@davemloft.net>
17873
8e59da90
DM
17874 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17875 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17876 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17877 rtld-global-offsets.h
17878 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17879
2a8ab7f2
DM
17880 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17881 large parameters.
17882
10f62770
DM
17883 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17884
5f0bdb18
DM
17885 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17886 'err' in the ifdef scope in which it is actually used.
17887
09a3453f
DM
17888 * nss/nss_db/db-init.c: Include string.h
17889
b4b2eb5e
DM
178902012-03-12 David S. Miller <davem@davemloft.net>
17891
98bb2f1c
DM
17892 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17893 masking out of the most significant byte of random value used.
17894 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17895 Fix coding style in previous change.
17896
b4b2eb5e
DM
17897 * sysdeps/unix/sysv/linux/kernel-features.h
17898 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17899 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17900 expression.
17901 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17902 later.
17903
6e226b09
DM
179042012-03-11 David S. Miller <davem@davemloft.net>
17905
a1bcbd40
DM
17906 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17907 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17908 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17909 for 'resultvar' otherwise things get truncated on 64-bit.
17910
cb9d6174
DM
17911 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17912 Fix masking out of the most significant byte of random value used.
17913
6e226b09
DM
17914 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17915
058c132d
AS
179162012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17917
17918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17919
2d2cd515
DM
179202012-03-09 David S. Miller <davem@davemloft.net>
17921
17922 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17923 variables with appropriate CPP guards.
17924 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17925 frame pointer, not the stack pointer. Correct layout comments. Fix test
17926 on resulting framesize and the management of the outregs buffer for pltexit.
17927 Preserve floating point return values across _dl_call_pltexit call.
17928 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17929 framesize and the management of the outregs buffer for pltexit.
17930 Preserve floating point return values across _dl_call_pltexit
17931 call.
17932 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17933 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17934 (print_exit): Fix format string for return register value.
17935
9a07f9d0
JM
179362012-03-10 Joseph Myers <joseph@codesourcery.com>
17937
17938 * sunrpc/Makefile (others): Add rpcgen.
17939 ($(objpfx)rpcgen): Remove special build rule and dependency on
17940 libc.
17941 * sunrpc/rpcgen.c: New file.
17942
547b5e30
PE
179432012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17944
c524201a
PE
17945 [BZ #13673]
17946 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17947 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17948 * sysdeps/i386/crti.S: Likewise.
17949 * sysdeps/i386/crtn.S: Likewise.
17950 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17951 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17952 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17953 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17954 * sysdeps/sh/crti.S: Likewise.
17955 * sysdeps/sh/crtn.S: Likewise.
17956 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17957
7b6235f2
PE
17958 [BZ #13673]
17959 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17960 with URL.
17961 * locale/programs/locfile-kw.gperf: Likewise.
17962 * locale/programs/charmap-kw.h: Regenerated.
17963 * locale/programs/locfile-kw.h: Likewise.
17964
547b5e30
PE
17965 [BZ #13673]
17966 * intl/plural.y: Replace FSF snail mail address with URL.
17967 * intl/plural.c: Regenerated.
17968
5f0a5dae
RH
179692012-03-09 Richard Henderson <rth@twiddle.net>
17970
17971 * include/math_private.h: Remove file.
17972 * math/math_private.h: Move file ...
17973 * sysdeps/generic/math_private.h: ... here.
17974
b8c03620
RH
17975 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17976 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17977 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17978
4e234f5d 17979 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
17980 and <math_private.h>.
17981 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17982 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17983 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17984 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17985 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17986 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17987 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17988 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17989 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17990 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17991 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17992 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17993 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17994 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17995 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
17996 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
17997 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
17998 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17999 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18000 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18001 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18002 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18003 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18004 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18005 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18006 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18007 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18008 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18009 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18010 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18011 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18012 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18013 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18014 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18015 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18016 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18017 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18018 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18019 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18020 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18021 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18022 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18023 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18024 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18025 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18026 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18027 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18028 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18029 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18030 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18031 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18032 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18033 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18034 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18035 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18036 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18037 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18038 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18039 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18040 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18041 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18042 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18043 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18044 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18045 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18046 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18047 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18048 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18049 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18050 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18051 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18052 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18053 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18054 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18055 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18056 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18057 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18058 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18059 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18060 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18061 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18062 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18063 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18064 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18065 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18066 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18067 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18068 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18069 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18070 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18071 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18072 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18073 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18074 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18075 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18076 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18077 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18078 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18079 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18080 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18081 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18082 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18083 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18084 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18085 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18086 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18087 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18088 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18089 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18090 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18091 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18092 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18093 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18094 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18095 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18096 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18097 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18098 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18099 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18100 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18101 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18102 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18103 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18104 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18105 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18106 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18107 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18108 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18109 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18110 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18111 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18112 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18113 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18114 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18115 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18116 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18117 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18118 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18119 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18120 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18121 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18122 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18123 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18124 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18125 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18126 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18127 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18128 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18129 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18130 * sysdeps/ieee754/k_standard.c: Likewise.
18131 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18132 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18133 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18134 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18135 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18136 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18137 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18138 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18139 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18140 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18141 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18142 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18143 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18144 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18145 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18146 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18147 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18148 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18149 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18150 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18151 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18152 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18153 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18154 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18155 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18156 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18157 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18158 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18159 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18160 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18161 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18162 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18163 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18164 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18165 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18166 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18167 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18168 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18169 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18170 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18171 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18172 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18173 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18174 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18175 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18176 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18177 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18178 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18179 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18180 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18181 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18182 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18183 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18184 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18185 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18186 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18187 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18188 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18189 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18190 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18191 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18192 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18193 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18194 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18195 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18196 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18197 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18198 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18199 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18200 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18201 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18202 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18203 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18204 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18205 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18206 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18207 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18208 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18209 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18210 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18211 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18212 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18213 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18214 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18215 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18216 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18217 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18218 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18219 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18220 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18221 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18222 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18223 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18224 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18225 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18226 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18227 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18228 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18229 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18230 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18231 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18232 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18233 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18234 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18235 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18236 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18237 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18238 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18239 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18240 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18241 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18242 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18243 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18244 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18245 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18246 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18247 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18248 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18249 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18250 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18251 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18252 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18253 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18254 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18255 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18256 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18257 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18258 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18259 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18260 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18261 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18262 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18263 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18264 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18265 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18266 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18267 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18268 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18269 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18270 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18271 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18272 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18273 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18274 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18275 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18276 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18277 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18278 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18279 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18280 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18281 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18282 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18283 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18284 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18285 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18286 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18287 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18288 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18289 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18290 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18291 * sysdeps/ieee754/s_lib_version.c: Likewise.
18292 * sysdeps/ieee754/s_matherr.c: Likewise.
18293 * sysdeps/ieee754/s_signgam.c: Likewise.
18294 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18295 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18296 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18297 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18298 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18299 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18300 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18301 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18302 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18303 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18304 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18305 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18306 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18307 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18308 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18309 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18310 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18311 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18312 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18313 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18314 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 18315
1991fa03
JM
183162012-03-09 Joseph Myers <joseph@codesourcery.com>
18317
18318 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18319 * sunrpc/rpc_main.c: Likewise.
18320 * sunrpc/rpc_svcout.c: Likewise.
18321
60d6f5a6
DM
183222012-03-09 David S. Miller <davem@davemloft.net>
18323
18324 * include/math_private.h: New file.
18325
4962050e
JM
183262012-03-09 Joseph Myers <joseph@codesourcery.com>
18327
02a6f887
JM
18328 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18329 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18330 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18331 from <bits/socket_type.h>.
18332 (enum __socket_type): Don't define here.
18333 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18334 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18335 bits/socket_type.h.
18336
c6e013c1
JM
18337 [BZ #13566]
18338 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18339 checking __USE_GNU.
18340
4962050e
JM
18341 * Makerules ($(inst_includedir)/%.h): New rule.
18342 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18343 (install-others): Remove variable setting.
18344 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18345
38842f45
RH
183462012-03-08 Richard Henderson <rth@twiddle.net>
18347
67bb6da6
RH
18348 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18349 from macro to inline function; merge with the
18350 !__LIBC_INTERNAL_MATH_INLINES version.
18351 (__ieee754_sqrtf): Likewise.
18352
15194b4b
RH
18353 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18354 to inline function.
18355 (__rintf, __floor, __floorf): Likewise.
18356
64e21ede
RH
18357 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18358 macro to inline function.
18359 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18360
38842f45
RH
18361 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18362 not <math/math_private.h>.
18363
c64bf5fe
DM
183642012-03-08 David S. Miller <davem@davemloft.net>
18365
18366 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18367 copyright year.
18368 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18369
82d86f28
TS
183702012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18371
18372 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18373 normalization.
18374 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18375 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18376
aea5d727
UD
183772012-03-08 Ulrich Drepper <drepper@gmail.com>
18378
18379 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18380 be defined individually, they must be defined as a block. Define
18381 S for printing a string instead of hidint the different by using a
18382 macro for adding the 'l'.
18383 * stdio-common/tst-fphex-wide.c: Adjust.
18384
70bca0a3
MP
183852012-03-07 Marek Polacek <polacek@redhat.com>
18386
18387 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18388
65b81130
MP
183892012-03-08 Marek Polacek <polacek@redhat.com>
18390
18391 [BZ #13806]
18392 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18393 * stdio-common/tst-fphex.c: Define a few macros to make the
18394 test reusable. Use them.
18395 * stdio-common/tst-fphex-wide.c: New file.
18396
07037eeb
JM
183972012-03-08 Joseph Myers <joseph@codesourcery.com>
18398
a7a93d50
JM
18399 [BZ #6911]
18400 * manual/macros.texi (gnusystems): New macro.
18401 (nongnusystems): Likewise.
18402 (gnulinuxhurdsystems): Likewise.
18403 (gnuhurdsystems): Likewise..
18404 (gnulinuxsystems): Likewise.
18405 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18406 variants of the GNU system, not "GNU system".
18407 * manual/conf.texi: Likewise.
18408 * manual/errno.texi: Likewise. Update example of errno macro
18409 expansion.
18410 * manual/filesys.texi: Likewise.
18411 (getumask): Document as specific to GNU/Hurd.
18412 * manual/install.texi: Likewise. Reword some references to
18413 GNU/Linux.
18414 * manual/intro.texi: Likewise.
18415 * manual/io.texi: Likewise.
18416 (File Name Portability): Detail which constraints are inapplicable
18417 to all GNU systems and which are only inapplicable to GNU/Hurd.
18418 * manual/job.texi: Likewise.
18419 * manual/llio.texi: Likewise.
18420 (O_NOCTTY): Document as present on GNU/Linux.
18421 * manual/maint.texi: Likewise.
18422 * manual/memory.texi: Likewise.
18423 * manual/pattern.texi: Likewise.
18424 * manual/pipe.texi: Likewise.
18425 * manual/process.texi: Likewise.
18426 * manual/resource.texi: Likewise.
18427 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18428 child on GNU/Hurd.
18429 * manual/setjmp.texi: Likewise.
18430 * manual/signal.texi: Likewise.
18431 * manual/startup.texi: Likewise.
18432 * manual/stdio.texi: Likewise.
18433 * manual/terminal.texi: Likewise.
18434 (ONLCR): Document as POSIX.
18435 (OXTABS): Document availability on GNU/Linux as XTABS.
18436 (ONOEOT): Document availability separately from other bits.
18437 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18438 * manual/time.texi: Likewise.
18439 * manual/users.texi: Likewise.
18440 * INSTALL: Regenerated.
18441 * sysdeps/gnu/errlist.c: Regenerated.
18442
07037eeb
JM
18443 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18444 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18445 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18446 puts.
18447 * configure: Regenerated.
18448
d1d3431a
JM
184492012-03-07 Joseph Myers <joseph@codesourcery.com>
18450
af6a1e37
JM
18451 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18452 default includes instead of AC_HEADER_CHECK.
18453 * sysdeps/i386/configure: Regenerated.
18454
d1d3431a
JM
18455 [BZ #10716]
18456 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18457 * math/s_cacoshf.c (__cacoshf): Likewise.
18458 * math/s_cacoshl.c (__cacoshl): Likewise.
18459 * math/s_casinh.c (__casinh): Set signs of result from argument.
18460 * math/s_casinhf.c (__casinhf): Likewise.
18461 * math/s_casinhl.c (__casinhl): Likewise.
18462 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18463 (casinh_test): Add more tests.
18464 * sysdeps/i386/fpu/libm-test-ulps: Update.
18465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18466
482ff4da
UD
184672012-03-07 Ulrich Drepper <drepper@gmail.com>
18468
872fda05
UD
18469 * po/zh_TW.po: Update from translation team.
18470
a4300c7a
UD
18471 * login/Makefile (distribute): Remove variable.
18472 * catgets/Makefile: Likewise.
18473 * mach/Makefile: Likewise.
18474 * malloc/Makefile: Likewise.
18475 * misc/Makefile: Likewise.
18476 * iconv/Makefile: Likewise.
18477 * nscd/Makefile: Likewise.
18478 * hurd/Makefile: Likewise.
18479 * manual/Makefile: Likewise.
18480 * locale/Makefile: Likewise.
18481 * intl/Makefile: Likewise.
18482 * conform/Makefile: Likewise.
18483 * nss/Makefile: Likewise.
18484 * time/Makefile: Likewise.
18485 * soft-fp/Makefile: Likewise.
18486 * dirent/Makefile: Likewise.
18487 * gmon/Makefile: Likewise.
18488 * po/Makefile: Likewise.
18489 * rt/Makefile: Likewise.
18490 * socket/Makefile: Likewise.
18491 * math/Makefile: Likewise.
18492 * signal/Makefile: Likewise.
18493 * debug/Makefile: Likewise.
18494 * elf/Makefile: Likewise.
18495 * timezone/Makefile: Likewise.
18496 * stdlib/Makefile: Likewise.
18497 * iconvdata/Makefile: Likewise.
18498 * sunrpc/Makefile: Likewise.
18499 * io/Makefile: Likewise.
18500 * argp/Makefile: Likewise.
18501 * inet/Makefile: Likewise.
18502 * hesiod/Makefile: Likewise.
18503 * grp/Makefile: Likewise.
18504 * csu/Makefile: Likewise.
18505 * wctype/Makefile: Likewise.
18506 * crypt/Makefile: Likewise.
18507 * libio/Makefile: Likewise.
18508 * string/Makefile: Likewise.
18509 * nis/Makefile: Likewise.
18510 * resolv/Makefile: Likewise.
18511 * stdio-common/Makefile: Likewise.
18512 * wcsmbs/Makefile: Likewise.
18513 * dlfcn/Makefile: Likewise.
18514 * posix/Makefile: Likewise.
18515
3b7c4e74 18516 [BZ #6959]
482ff4da
UD
18517 * timezone/Makefile: Don't install timezone files, just the programs
18518 and scripts.
18519
f72ed77d
UD
185202012-03-06 Ulrich Drepper <drepper@gmail.com>
18521
a000466f
UD
18522 * nss/databases.def: Add missing gshadow entry.
18523
f72ed77d
UD
18524 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18525
a53b7a4e
MP
185262012-03-06 Marek Polacek <polacek@redhat.com>
18527
18528 [BZ #13726]
18529 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18530 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18531 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18532 * stdio-common/tst-long-dbl-fphex.c: New file.
18533
e9258400
DM
185342012-03-06 David S. Miller <davem@davemloft.net>
18535
18536 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18537 (set_obp_int): New function.
18538 (get_obp_int): New function.
18539 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
18540 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18541 Avoid unused variable warnings on 'val' and use builtin_expect.
18542 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18543 __builtin_expect.
e9258400
DM
18544 (INLINE_CLONE_SYSCALL): Likewise.
18545
3bd2c723
DM
185462012-03-05 David S. Miller <davem@davemloft.net>
18547
18548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18549
bbb78d03
AS
185502012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18551
884c5db4
AS
18552 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18553
bbb78d03
AS
18554 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18555 only for |x| >= 40.
18556 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18557
1c9f702a 185582012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
18559
18560 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18561 Replace gettimeofday with __vdso_gettimeofday.
18562
7be16f82
RM
18563 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18564 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18565 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
18566
18567 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18568 time with __vdso_time.
18569
ed58a00f
JM
185702012-03-05 Joseph Myers <joseph@codesourcery.com>
18571
18572 * manual/lang.texi (size_t): Note types to which size_t may be
18573 equivalent with the GNU C Library, but do not describe when
18574 differences between them are significant.
18575
30ee4ced
AJ
185762012-03-05 Andreas Jaeger <aj@suse.de>
18577
18578 * sysdeps/i386/fpu/libm-test-ulps: Update.
18579
b7cd39e8
JM
185802012-03-05 Joseph Myers <joseph@codesourcery.com>
18581
18582 [BZ #3976]
18583 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18584 (__ieee754_pow): Save and restore rounding mode and use
18585 round-to-nearest for main computations.
18586 * math/libm-test.inc (pow_test_tonearest): New function.
18587 (pow_test_towardzero): Likewise.
18588 (pow_test_downward): Likewise.
18589 (pow_test_upward): Likewise.
18590 (main): Call the new functions.
18591 * sysdeps/i386/fpu/libm-test-ulps: Update.
18592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
18593
18594 [BZ #3976]
18595 * math/libm-test.inc (cosh_test_tonearest): New function.
18596 (cosh_test_towardzero): Likewise.
18597 (cosh_test_downward): Likewise.
18598 (cosh_test_upward): Likewise.
18599 (sinh_test_tonearest): Likewise.
18600 (sinh_test_towardzero): Likewise.
18601 (sinh_test_downward): Likewise.
18602 (sinh_test_upward): Likewise.
18603 (main): Call the new functions.
18604 * sysdeps/i386/fpu/libm-test-ulps: Update.
18605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18606
6c6a98c9
TV
186072012-03-05 Tom de Vries <tom@codesourcery.com>
18608
18609 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18610 default stack guard is set in last bytes.
18611 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18612
21bb2d2e 186132012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 18614
21bb2d2e 18615 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 18616
21bb2d2e
AJ
18617 [BZ #13656]
18618 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18619 possibly allocate from heap instead of stack.
18620 * stdio-common/bug-vfprintf-nargs.c: New file.
18621 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 18622
c6922934
AS
186232012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18624
18625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18626
bc957d53
MP
186272012-03-03 Marek Polacek <polacek@redhat.com>
18628
18629 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18630 * math/math_private.h: Likewise.
18631 * stdlib/tst-strtod.c: Likewise.
18632 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18633 * sysdeps/x86_64/bits/atomic.h: Likewise.
18634
6358490d
DM
186352012-03-02 David S. Miller <davem@davemloft.net>
18636
18637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18641 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18642 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18643 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18644 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18645
01ae168d
RM
186462012-03-02 Roland McGrath <roland@hack.frob.com>
18647
d9a17c07
RM
18648 [BZ #13792]
18649 * manual/examples/README: New file, says the example source files
18650 can be used under GPL>=2.
18651 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18652 line containing just "*/".
18653 * manual/examples/add.c: Add copyright header (GPL>=2).
18654 * manual/examples/argp-ex1.c: Likewise.
18655 * manual/examples/argp-ex2.c: Likewise.
18656 * manual/examples/argp-ex3.c: Likewise.
18657 * manual/examples/argp-ex4.c: Likewise.
18658 * manual/examples/atexit.c: Likewise.
18659 * manual/examples/db.c: Likewise.
18660 * manual/examples/dir.c: Likewise.
18661 * manual/examples/dir2.c: Likewise.
18662 * manual/examples/execinfo.c: Likewise.
18663 * manual/examples/filecli.c: Likewise.
18664 * manual/examples/filesrv.c: Likewise.
18665 * manual/examples/fmtmsgexpl.c: Likewise.
18666 * manual/examples/genpass.c: Likewise.
18667 * manual/examples/inetcli.c: Likewise.
18668 * manual/examples/inetsrv.c: Likewise.
18669 * manual/examples/isockad.c: Likewise.
18670 * manual/examples/longopt.c: Likewise.
18671 * manual/examples/memopen.c: Likewise.
18672 * manual/examples/memstrm.c: Likewise.
18673 * manual/examples/mkfsock.c: Likewise.
18674 * manual/examples/mkisock.c: Likewise.
18675 * manual/examples/mygetpass.c: Likewise.
18676 * manual/examples/pipe.c: Likewise.
18677 * manual/examples/popen.c: Likewise.
18678 * manual/examples/rprintf.c: Likewise.
18679 * manual/examples/search.c: Likewise.
18680 * manual/examples/select.c: Likewise.
18681 * manual/examples/setjmp.c: Likewise.
18682 * manual/examples/sigh1.c: Likewise.
18683 * manual/examples/sigusr.c: Likewise.
18684 * manual/examples/stpcpy.c: Likewise.
18685 * manual/examples/strdupa.c: Likewise.
18686 * manual/examples/strftim.c: Likewise.
18687 * manual/examples/strncat.c: Likewise.
18688 * manual/examples/subopt.c: Likewise.
18689 * manual/examples/swapcontext.c: Likewise.
18690 * manual/examples/termios.c: Likewise.
18691 * manual/examples/testopt.c: Likewise.
18692 * manual/examples/testpass.c: Likewise.
18693 * manual/examples/timeval_subtract.c: Likewise.
18694
01ae168d
RM
18695 [BZ #13792]
18696 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18697 function to ...
18698 * manual/timeval_subtract.c.texi: ... here, new file.
18699
49efa33d
DM
187002012-03-02 David S. Miller <davem@davemloft.net>
18701
18702 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18703
28afd92d
JM
187042012-03-02 Joseph Myers <joseph@codesourcery.com>
18705
804360ed
JM
18706 [BZ #3976]
18707 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18708 (__sin): Save and restore rounding mode and use round-to-nearest
18709 for all computations.
18710 (__cos): Save and restore rounding mode and use round-to-nearest
18711 for all computations.
18712 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18713 <fenv.h>.
18714 (tan): Save and restore rounding mode and use round-to-nearest for
18715 all computations.
18716 * math/libm-test.inc (cos_test_tonearest): New function.
18717 (cos_test_towardzero): Likewise.
18718 (cos_test_downward): Likewise.
18719 (cos_test_upward): Likewise.
18720 (sin_test_tonearest): Likewise.
18721 (sin_test_towardzero): Likewise.
18722 (sin_test_downward): Likewise.
18723 (sin_test_upward): Likewise.
18724 (tan_test_tonearest): Likewise.
18725 (tan_test_towardzero): Likewise.
18726 (tan_test_downward): Likewise.
18727 (tan_test_upward): Likewise.
18728 (main): Call the new functions.
18729 * sysdeps/i386/fpu/libm-test-ulps: Update.
18730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18731
a6d06d7b
JM
18732 [BZ #10135]
18733 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18734 small n, then large n, before computing and testing k+n.
18735 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18736 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18737 Likewise.
18738 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18739 Likewise.
18740 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18741 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18742 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18743 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18744 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18745 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18746 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18747 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18748 * math/libm-test.inc (scalbn_test): Add more tests.
18749 (scalbln_test): Likewise.
18750
07e12bb3
JM
18751 * manual/filesys.texi (mode_t): Describe constraints on size and
18752 signedness, not exact equivalence to a particular type.
18753 (ino_t): Likewise.
18754 (ino64_t): Likewise.
18755 (dev_t): Likewise.
18756 (nlink_t): Likewise.
18757 (blkcnt_t): Likewise.
18758 (blkcnt64_t): Likewise.
18759 * manual/llio.texi (off_t): Likewise.
18760
28afd92d
JM
18761 [BZ #3976]
18762 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18763 (__ieee754_exp): Save and restore rounding mode and use
18764 round-to-nearest for all computations.
18765 * math/libm-test.inc (exp_test_tonearest): New function.
18766 (exp_test_towardzero): Likewise.
18767 (exp_test_downward): Likewise.
18768 (exp_test_upward): Likewise.
18769 (main): Call the new functions.
18770 * sysdeps/i386/fpu/libm-test-ulps: Update.
18771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18772
b1eeb65d
CD
187732012-03-01 Chris Demetriou <cgd@google.com>
18774
18775 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18776 have predictable order.
18777
53362a4b
DM
187782012-03-01 David S. Miller <davem@davemloft.net>
18779
3c969083
DM
18780 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18781
759707de
DM
18782 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18783 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18784 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18785 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18786
dfdb8ff2
DM
18787 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18788 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18789 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18790 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18791 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18792 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18793 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18794 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18795 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18796
ead89f96
DM
18797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18798
7f66bd07
DM
18799 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18800 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18801 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18802
53362a4b
DM
18803 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18804 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18805 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18806 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18807 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18808 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18809 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18810 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18811 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18812 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18813 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18814 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18815 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18816 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18817 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18818 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18819 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18820 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18821 * sysdeps/sparc/elf/configure: Regenerated.
18822
7b1902cb
JM
188232012-03-01 Joseph Myers <joseph@codesourcery.com>
18824
bec039bc
JM
18825 * configure.in (AS, LD): Require binutils 2.20 or later.
18826 * configure: Regenerated.
18827 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18828 as required minimum version.
18829 * INSTALL: Regenerated.
18830
7b1902cb
JM
18831 [BZ #2541]
18832 [BZ #4108]
18833 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18834 before squaring exponent.
18835 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18836 bottom long double and 27 bits of top long double before squaring
18837 exponent.
18838 * math/libm-test.inc (erfc_test): Add more tests.
18839 * sysdeps/i386/fpu/libm-test-ulps: Update.
18840 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18842
f775c276
KT
188432012-03-01 Kai Tietz <ktietz@redhat.com>
18844
18845 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18846 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18847 containing bit-fields.
18848 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18849 * soft-fp/single.h (_FP_UNION_S): Likewise.
18850 * soft-fp/double.h (_FP_UNION_D): Likewise.
18851
5b8a4d4a
JM
188522012-02-29 Joseph Myers <joseph@codesourcery.com>
18853
0bab47b6
JM
18854 [BZ #13786]
18855 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18856 not include ../strcmp.S.
18857 [USE_AS_STRNCASECMP_L]: Likewise.
18858 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18859 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18860 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18861 (__strncasecmp_l_ia32): Define as alias to
18862 __strncasecmp_l_nonascii.
18863
0fcad3e2
JM
18864 [BZ #5794]
18865 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18866 * sysdeps/i386/fpu/libm-test-ulps: Update.
18867 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18868
5b8a4d4a
JM
18869 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18871
8fdceb2e
JL
188722012-02-29 Jeff Law <law@redhat.com>
18873
18874 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18875 out of bounds read.
18876
1f393a11
MP
188772012-02-29 Marek Polacek <polacek@redhat.com>
18878
18879 [BZ #13706]
18880 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18881 * elf/Makefile: Add rules to run tst-unused-dep.out.
18882
8847f037
DM
188832012-02-28 David S. Miller <davem@davemloft.net>
18884
18885 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18886 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18887 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18888 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18889 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18890 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18891
169d7f11
JM
188922012-02-29 Joseph Myers <joseph@codesourcery.com>
18893
18894 * math/libm-test.inc (llround_test): Move one test from
18895 lround_test. Use TEST_f_L in moved test.
18896 (lround_test): Move misplaced test to llround_test. Add testcase
18897 from bug 2561.
18898
39adf059
UD
188992012-02-28 Ulrich Drepper <drepper@gmail.com>
18900
18901 * sysdeps/x86_64/fpu/e_expf.S: New file.
18902 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18903
71b5d1c5
SB
189042012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18905
18906 [BZ #13637]
18907 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18908 of remain_len that may cause incomplete multi-byte character and
18909 false match.
18910 * posix/bug-regex33.c: New file.
18911 * posix/Makefile (tests): Add bug-regex33.
18912
1f77f049
JM
189132012-02-28 Joseph Myers <joseph@codesourcery.com>
18914
18915 * manual/macros.texi: New file.
18916 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18917 * manual/libc.texinfo: Include macros.texi.
18918 * manual/creatute.texi: Likewise.
18919 * manual/install.texi: Likewise.
18920 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18921 @glibcadj{} in references to the GNU C Library.
18922 * manual/charset.texi: Likewise.
18923 * manual/conf.texi: Likewise.
18924 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18925 when not using those macros.
18926 * manual/creature.texi: Likewise.
18927 * manual/crypt.texi: Likewise.
18928 * manual/errno.texi: Likewise.
18929 * manual/filesys.texi: Likewise.
18930 * manual/header.texi: Likewise.
18931 * manual/install.texi: Likewise.
18932 * manual/intro.texi: Likewise.
18933 * manual/io.texi: Likewise.
18934 * manual/job.texi: Likewise.
18935 * manual/lang.texi: Likewise.
18936 * manual/libc.texiinfo: Likewise.
18937 * manual/llio.texi: Likewise.
18938 * manual/locale.texi: Likewise.
18939 * manual/maint.texi: Likewise.
18940 * manual/math.texi: Likewise.
18941 * manual/memory.texi: Likewise.
18942 * manual/message.texi: Likewise.
18943 * manual/nss.texi: Likewise.
18944 * manual/pattern.texi: Likewise.
18945 * manual/process.texi: Likewise.
18946 * manual/resource.texi: Likewise.
18947 * manual/search.texi: Likewise.
18948 * manual/setjmp.texi: Likewise.
18949 * manual/signal.texi: Likewise.
18950 * manual/socket.texi: Likewise.
18951 * manual/startup.texi: Likewise.
18952 * manual/stdio.texi: Likewise.
18953 * manual/string.texi: Likewise.
18954 * manual/sysinfo.texi: Likewise.
18955 * manual/syslog.texi: Likewise.
18956 * manual/terminal.texi: Likewise.
18957 * manual/time.texi: Likewise.
18958 * manual/users.texi: Likewise.
18959 * INSTALL: Regenerated.
18960 * NOTES: Regenerated.
d40c5d54 18961 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 18962
450bf206
AS
189632012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18964
18965 * include/dirent.h: Include <dirstream.h> before
18966 <dirent/dirent.h>.
18967
741a235b
DM
189682012-02-28 David S. Miller <davem@davemloft.net>
18969
18970 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18971 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18972 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18973 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18974
d6b5aa58
DM
189752012-02-27 David S. Miller <davem@davemloft.net>
18976
1aff59a3
DM
18977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18979 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18980 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18981
d6b5aa58
DM
18982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18983 frame pointer instead of stack pointer relative arg slot.
18984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18985 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18986 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18987
433f48bf
CD
189882012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18989
18990 [BZ #3992]
18991 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18992
d674b76d
DM
189932012-02-27 David S. Miller <davem@davemloft.net>
18994
18995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
18996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
18998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
18999 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19000 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19001 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19002 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19003
0e7727f7
JM
190042012-02-27 Joseph Myers <joseph@codesourcery.com>
19005
19006 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19007 later. Allow versions 5-9.
43be4ca2 19008 * configure: Regenerated.
0e7727f7
JM
19009 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19010 required minimum version and 4.6 as recommended version. Do not
19011 mention bugs in GCC 2.7 and 2.8.
43be4ca2 19012 * INSTALL: Regenerated.
0e7727f7 19013
a78bc654
DM
190142012-02-27 David S. Miller <davem@davemloft.net>
19015
428d5830
DM
19016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19017 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19018 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19019 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19020 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19021 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19022 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19023 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19024
a78bc654
DM
19025 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19026 manipulate bits before adding and subtracting TWO112[sx].
19027 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19028
4579f81c
RM
190292012-02-27 Roland McGrath <roland@hack.frob.com>
19030
36c8acb4
RM
19031 [BZ #13775]
19032 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19033 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19034 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19035 being in POSIX, because they are in 1003.1-2008.
19036
84ad622b
RM
19037 * rt/tst-aio.c: Include <fcntl.h>.
19038 * rt/tst-aio7.c: Likewise.
19039 * rt/tst-aio64.c: Likewise.
19040
4579f81c
RM
19041 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19042
abd923db
JM
190432012-02-27 Joseph Myers <joseph@codesourcery.com>
19044
19045 * manual/install.texi (--with-headers): Describe headers as
19046 interface headers, not private headers.
19047 (Specific advice for GNU/Linux systems): Describe use of headers
19048 from "make headers_install", not private headers from older
19049 kernels.
43be4ca2 19050 * INSTALL: Regenerated.
abd923db
JM
19051 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19052 Change to 2.6.19.
19053 * sysdeps/unix/sysv/linux/configure: Regenerated.
19054
6664049b
JM
19055 * manual/llio.texi (fclean): Remove documentation.
19056
bb8b6697
JM
19057 * manual/Makefile (libc-texi-generated): New variable. Include
19058 version.texi.
19059 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19060 $(libc-texi-generated), not duplicated list of files.
19061 (version.texi, stamp-version): New rules.
19062 (realclean): Remove $(libc-texi-generated), not individual files
19063 from that list. Do not remove dir-add.texinfo.
19064 * manual/libc.texinfo: Comment out uses of edition numbers and
19065 references to printed manual. Remove last-updated dates.
19066 (EDITION): Comment out.
19067 (ISBN): Likewise.
19068 (VERSION, UPDATED): Remove.
19069 (version.texi): Include.
19070
12e5c3b9
AS
190712012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19072
19073 * sysdeps/posix/spawni.c: Include <signal.h>.
19074 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19075 * sysdeps/pthread/aio_fsync.c: Likewise.
19076
4efeffc1 190772012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 19078
ba63ba08
UD
19079 * conform/Makefile (tests): Run only when not cross-compiling and
19080 when fast-check is not defined.
19081
d94a4670
UD
19082 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19083 * conform/data/limits.h-data: Fixes for POSIX2008.
19084 * conform/run-conformtest.sh: Run all tests.
19085 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19086 headers.
19087 * include/bits/dlfcn.h: Likewise.
19088 * include/langinfo.h: Likewise.
19089 * include/monetary.h: Likewise.
19090 * include/sys/poll.h: Likewise.
19091
19092 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19093 for __USE_GNU.
19094 * posix/spawn.h: Define __need_sigset_t.
19095 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19096 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19097 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19098 to get sigevent_t only.
19099 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19100 only for __USE_GNU.
19101 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19102 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19103 process_vm_writev only for __USE_GNU.
19104 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
19105
19106 * conform/Makefile: For now ignore errors from run-conformtest.
19107 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19108 POSIX to avoid namespace pollution. Don't prepend headers.
19109 * conform/data/aio.h-data: Fixes for POSIX testing.
19110 * conform/data/fcntl.h-data: Likewise.
19111 * conform/data/glob.h-data: Likewise.
19112 * conform/data/grp.h-data: Likewise.
19113 * conform/data/pthread.h-data: Likewise.
19114 * conform/data/pwd.h-data: Likewise.
19115 * conform/data/signal.h-data: Likewise.
19116 * conform/data/spawn.h-data: Likewise.
19117 * conform/data/stdio.h-data: Likewise.
19118 * conform/data/stdlib.h-data: Likewise.
19119 * conform/data/stropts.h-data: Likewise.
19120 * conform/data/sys/mman.h-data: Likewise.
19121 * conform/data/sys/stat.h-data: Likewise.
19122 * conform/data/sys/types.h-data: Likewise.
19123 * conform/data/sys/wait.h-data: Likewise.
19124 * conform/data/time.h-data: Likewise.
19125 * conform/data/unistd.h-data: Likewise.
19126 * conform/data/utime.h-data: Likewise.
19127
19128 * io/sys/stat.h: fchmod was always in POSIX.
19129 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19130 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19131 * rt/aio.h: Define __need_timespec before including <time.h>.
19132 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19133 struct. Add forward declaration of pthread_attr_t and use it in
19134 sigevent.
19135 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19136 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19137 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19138 always remove CLK_TCK definition.
19139
c20105c3
AS
191402012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19141
19142 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19143
7a270350
UD
191442012-02-25 Ulrich Drepper <drepper@gmail.com>
19145
31341567
UD
19146 * conform/run-conformtest.sh: New file.
19147 * conform/Makefile: Run run-conformtest for tests.
19148 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19149 support.
19150
19151 * conform/data/uchar.h-data: New file.
19152 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19153 * conform/data/arpa/inet.h-data: Likewise.
19154 * conform/data/assert.h-data: Likewise.
19155 * conform/data/complex.h-data: Likewise.
19156 * conform/data/cpio.h-data: Likewise.
19157 * conform/data/ctype.h-data: Likewise.
19158 * conform/data/dirent.h-data: Likewise.
19159 * conform/data/dlfcn.h-data: Likewise.
19160 * conform/data/errno.h-data: Likewise.
19161 * conform/data/fcntl.h-data: Likewise.
19162 * conform/data/float.h-data: Likewise.
19163 * conform/data/fmtmsg.h-data: Likewise.
19164 * conform/data/fnmatch.h-data: Likewise.
19165 * conform/data/ftw.h-data: Likewise.
19166 * conform/data/glob.h-data: Likewise.
19167 * conform/data/grp.h-data: Likewise.
19168 * conform/data/iconv.h-data: Likewise.
19169 * conform/data/inttypes.h-data: Likewise.
19170 * conform/data/langinfo.h-data: Likewise.
19171 * conform/data/libgen.h-data: Likewise.
19172 * conform/data/limits.h-data: Likewise.
19173 * conform/data/locale.h-data: Likewise.
19174 * conform/data/math.h-data: Likewise.
19175 * conform/data/monetary.h-data: Likewise.
19176 * conform/data/mqueue.h-data: Likewise.
19177 * conform/data/ndbm.h-data: Likewise.
19178 * conform/data/net/if.h-data: Likewise.
19179 * conform/data/netdb.h-data: Likewise.
19180 * conform/data/netinet/in.h-data: Likewise.
19181 * conform/data/nl_types.h-data: Likewise.
19182 * conform/data/poll.h-data: Likewise.
19183 * conform/data/pthread.h-data: Likewise.
19184 * conform/data/pwd.h-data: Likewise.
19185 * conform/data/regex.h-data: Likewise.
19186 * conform/data/sched.h-data: Likewise.
19187 * conform/data/search.h-data: Likewise.
19188 * conform/data/semaphore.h-data: Likewise.
19189 * conform/data/setjmp.h-data: Likewise.
19190 * conform/data/signal.h-data: Likewise.
19191 * conform/data/spawn.h-data: Likewise.
19192 * conform/data/stdarg.h-data: Likewise.
19193 * conform/data/stdio.h-data: Likewise.
19194 * conform/data/stdlib.h-data: Likewise.
19195 * conform/data/string.h-data: Likewise.
19196 * conform/data/strings.h-data: Likewise.
19197 * conform/data/stropts.h-data: Likewise.
19198 * conform/data/sys/ipc.h-data: Likewise.
19199 * conform/data/sys/mman.h-data: Likewise.
19200 * conform/data/sys/msg.h-data: Likewise.
19201 * conform/data/sys/resource.h-data: Likewise.
19202 * conform/data/sys/select.h-data: Likewise.
19203 * conform/data/sys/sem.h-data: Likewise.
19204 * conform/data/sys/shm.h-data: Likewise.
19205 * conform/data/sys/socket.h-data: Likewise.
19206 * conform/data/sys/stat.h-data: Likewise.
19207 * conform/data/sys/statvfs.h-data: Likewise.
19208 * conform/data/sys/time.h-data: Likewise.
19209 * conform/data/sys/timeb.h-data: Likewise.
19210 * conform/data/sys/times.h-data: Likewise.
19211 * conform/data/sys/types.h-data: Likewise.
19212 * conform/data/sys/uio.h-data: Likewise.
19213 * conform/data/sys/un.h-data: Likewise.
19214 * conform/data/sys/utsname.h-data: Likewise.
19215 * conform/data/sys/wait.h-data: Likewise.
19216 * conform/data/syslog.h-data: Likewise.
19217 * conform/data/tar.h-data: Likewise.
19218 * conform/data/termios.h-data: Likewise.
19219 * conform/data/utime.h-data: Likewise.
19220 * conform/data/utmpx.h-data: Likewise.
19221 * conform/data/varargs.h-data: Likewise.
19222 * conform/data/wchar.h-data: Likewise.
19223 * conform/data/wctype.h-data: Likewise.
19224 * conform/data/wordexp.h-data: Likewise.
19225
19226 * include/stropts.h: New file.
19227 * include/uchar.h: New file.
19228 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19229 * include/assert.h: Likewise.
19230 * include/ctype.h: Likewise.
19231 * include/dirent.h: Likewise.
19232 * include/dlfcn.h: Likewise.
19233 * include/fcntl.h: Likewise.
19234 * include/fnmatch.h: Likewise.
19235 * include/glob.h: Likewise.
19236 * include/grp.h: Likewise.
19237 * include/libio.h: Likewise.
19238 * include/locale.h: Likewise.
19239 * include/math.h: Likewise.
19240 * include/net/if.h: Likewise.
19241 * include/netdb.h: Likewise.
19242 * include/netinet/in.h: Likewise.
19243 * include/pthread.h: Likewise.
19244 * include/pwd.h: Likewise.
19245 * include/regex.h: Likewise.
19246 * include/sched.h: Likewise.
19247 * include/search.h: Likewise.
19248 * include/setjmp.h: Likewise.
19249 * include/signal.h: Likewise.
19250 * include/stdio.h: Likewise.
19251 * include/stdlib.h: Likewise.
19252 * include/string.h: Likewise.
19253 * include/sys/cdefs.h: Likewise.
19254 * include/sys/mman.h: Likewise.
19255 * include/sys/msg.h: Likewise.
19256 * include/sys/resource.h: Likewise.
19257 * include/sys/select.h: Likewise.
19258 * include/sys/socket.h: Likewise.
19259 * include/sys/stat.h: Likewise.
19260 * include/sys/statvfs.h: Likewise.
19261 * include/sys/time.h: Likewise.
19262 * include/sys/times.h: Likewise.
19263 * include/sys/uio.h: Likewise.
19264 * include/sys/utsname.h: Likewise.
19265 * include/sys/wait.h: Likewise.
19266 * include/termios.h: Likewise.
19267 * include/time.h: Likewise.
19268 * include/ulimit.h: Likewise.
19269 * include/unistd.h: Likewise.
19270 * include/utime.h: Likewise.
19271 * include/wchar.h: Likewise.
19272 * include/wctype.h: Likewise.
19273 * include/wordexp.h: Likewise.
19274
19275 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19276
7a270350
UD
19277 * time/time.h: TIME_UTC must be a macro.
19278 Make timespec_get available for ISO C11 only as well.
19279
7724defc
UD
192802012-02-24 Ulrich Drepper <drepper@gmail.com>
19281
19282 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19283 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19284
6b1d1d46
JM
192852012-02-24 Joseph Myers <joseph@codesourcery.com>
19286
19287 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 19288
0f8bbd69
JM
192892012-02-24 Joseph Myers <joseph@codesourcery.com>
19290
19291 * manual/texinfo.tex: Update to version 2012-01-19.16.
19292
66ab80bc
JM
192932012-02-24 Joseph Myers <joseph@codesourcery.com>
19294
19295 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19296
74981cc5
RM
192972012-02-24 Roland McGrath <roland@hack.frob.com>
19298
ee968201
RM
19299 [BZ #13738]
19300 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19301 * manual/fdl-1.3.texi: New file.
19302 * manual/fdl-1.1.texi: File removed.
19303
74981cc5
RM
19304 [BZ #13738]
19305 * manual/libc.texinfo (FDL_VERSION): New @set.
19306 Use it for mention of FDL in cover text.
19307 (Documentation License): Use it in @include file name.
19308
7bb764bc
JM
193092012-02-22 Joseph Myers <joseph@codesourcery.com>
19310 Roland McGrath <roland@hack.frob.com>
19311
19312 [BZ #5461]
19313 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19314 not LONG_LONG_MAX and LONG_LONG_MIN.
19315 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19316 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19317 name.
19318 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19319
6cbeae47
JM
193202012-02-22 Joseph Myers <joseph@codesourcery.com>
19321
19322 [BZ #2547]
19323 [BZ #11365]
19324 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19325 manipulate bits before adding and subtracting TWO23[sx].
19326 * math/libm-test.inc (nearbyint_test): Add more tests.
19327
fe45ce09
JM
193282012-02-22 Joseph Myers <joseph@codesourcery.com>
19329
19330 [BZ #2548]
19331 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19332 bits before adding and subtracting TWO23[sx].
19333 * math/libm-test.inc (rint_test): Add more tests.
19334 (rint_test_tonearest): Likewise.
19335 (rint_test_towardzero): Likewise.
19336 (rint_test_downward): Likewise.
19337 (rint_test_upward: Likewise.
19338
ff3b3d82
JM
193392012-02-22 Joseph Myers <joseph@codesourcery.com>
19340
19341 [BZ #10110]
19342 * include/stdc-predef.h: New file. Extracted from features.h.
19343 * include/features.h: Include stdc-predef.h.
19344 * Makefile (headers): Add stdc-predef.h.
19345 * CONFORMANCE (Compiler limitations): Update.
19346
ef0aab35
JM
193472012-02-22 Joseph Myers <joseph@codesourcery.com>
19348
19349 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19350
58639409
DM
193512012-02-21 David S. Miller <davem@davemloft.net>
19352
19353 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19354 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19355
c0e70b25
DM
193562012-02-20 David S. Miller <davem@davemloft.net>
19357
19358 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19359 using a normal save/restore sequence, rather than allocating a
19360 dummy stack frame just to store a frame pointer and restore.
19361 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19362
fb06851d
JM
193632012-02-21 Joseph Myers <joseph@codesourcery.com>
19364
19365 * manual/install.texi: Fix stray word in line-wrapped comment.
19366
7a8b71c3
DM
193672012-02-20 David S. Miller <davem@davemloft.net>
19368
d510c123
DM
19369 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19370 both binutils and gcc support GOTDATA.
19371
0722d7c2
DM
19372 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19373 "rd %pc" in the PIC register setup sequences.
19374
3d2b3019
DM
19375 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19376 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19377 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19378 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19379 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19380 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19381 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19382 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19383 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19384 (SYSCALL_ERROR_HANDLER): Likewise.
19385 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19386 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19387 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19388 (SYSCALL_ERROR_HANDLER): Likewise.
19389
c80098a9
DM
19390 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19391 (HAVE_GCC_GOTDATA): New.
19392 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19393 relocation support in both binutils and gcc.
19394 * sysdeps/sparc/elf/configure: Regenerate.
19395
3a2545a0
DM
19396 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19397 * sysdeps/sparc/sparc32/elf/configure: Delete.
19398 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19399 * sysdeps/sparc/sparc64/elf/configure: Delete.
19400 * sysdeps/sparc/elf/configure.in: New file.
19401 * sysdeps/sparc/elf/configure: Generate.
19402
7a8b71c3
DM
19403 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19404 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19405 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19406 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19407 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19408
f1e86fca
JM
194092012-02-21 Joseph Myers <joseph@codesourcery.com>
19410
19411 * manual/install.texi: Do not mention specific glibc version
19412 numbers.
19413 * manual/libc.texinfo (VERSION, UPDATED): Update.
19414 (@copying): Use @copyright{} and range of years.
19415
0e7dfaef
JM
194162012-02-21 Joseph Myers <joseph@codesourcery.com>
19417
19418 [BZ #13695]
19419 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19420 [crti.S not in sysdirs] (generated): Do not append.
19421 [crti.S not in sysdirs] (omit-deps): Likewise.
19422 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19423 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19424 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19425 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19426 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19427 Likewise.
19428 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19429 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19430 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19431 * csu/defs.awk: Remove file.
19432 * sysdeps/generic/initfini.c: Likewise.
19433 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19434 variable.
19435 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19436 Likewise.
19437
599af3ca
JM
194382012-02-20 Joseph Myers <joseph@codesourcery.com>
19439
19440 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19441 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19442 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19443 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19444 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19445 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19446 <bits/epoll.h>.
19447 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19448 (__EPOLL_PACKED): Define to empty if not defined by
19449 <bits/epoll.h>.
19450 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19451 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19452 bits/epoll.h.
19453
0e499750
JM
194542012-02-20 Joseph Myers <joseph@codesourcery.com>
19455
19456 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19457 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19458 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19459 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19460 <bits/timerfd.h>.
19461 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19462 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19463 bits/timerfd.h.
19464
5ad91f6e
JM
194652012-02-20 Joseph Myers <joseph@codesourcery.com>
19466
19467 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19468 in C locale.
19469 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19470 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19471 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19473
06b99b02
AJ
194742012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19475
19476 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19477 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19478
7638c0fd
AS
194792012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19480
19481 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19482 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19483 defined.
19484 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19485 Likewise.
19486 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19487 entry for 2.16.
19488
92221550
AJ
194892012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19490
19491 * math/w_acos.c: Use non-signaling floating-point comparisons.
19492 * math/w_acosf.c: Likewise.
19493 * math/w_acosh.c: Likewise.
19494 * math/w_acoshf.c: Likewise.
19495 * math/w_acoshl.c: Likewise.
19496 * math/w_acosl.c: Likewise.
19497 * math/w_asin.c: Likewise.
19498 * math/w_asinf.c: Likewise.
19499 * math/w_asinl.c: Likewise.
19500 * math/w_atanh.c: Likewise.
19501 * math/w_atanhf.c: Likewise.
19502 * math/w_atanhl.c: Likewise.
19503 * math/w_exp2.c: Likewise.
19504 * math/w_exp2f.c: Likewise.
19505 * math/w_exp2l.c: Likewise.
19506 * math/w_j0.c: Likewise.
19507 * math/w_j0f.c: Likewise.
19508 * math/w_j0l.c: Likewise.
19509 * math/w_j1.c: Likewise.
19510 * math/w_j1f.c: Likewise.
19511 * math/w_j1l.c: Likewise.
19512 * math/w_jn.c: Likewise.
19513 * math/w_jnf.c: Likewise.
19514 * math/w_log.c: Likewise.
19515 * math/w_log10.c: Likewise.
19516 * math/w_log10f.c: Likewise.
19517 * math/w_log10l.c: Likewise.
19518 * math/w_log2.c: Likewise.
19519 * math/w_log2f.c: Likewise.
19520 * math/w_log2l.c: Likewise.
19521 * math/w_logf.c: Likewise.
19522 * math/w_logl.c: Likewise.
19523 * math/w_sqrt.c: Likewise.
19524 * math/w_sqrtf.c: Likewise.
19525 * math/w_sqrtl.c: Likewise.
19526 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19527 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19528 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19529 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19530 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19531
ebaf36eb
JM
195322012-02-19 Joseph Myers <joseph@codesourcery.com>
19533
19534 [BZ #9739]
19535 * manual/string.texi (strnlen): Use correct parameter name in
19536 equivalent expression.
19537
71c254a6
JM
195382012-02-19 Joseph Myers <joseph@codesourcery.com>
19539
19540 [BZ #11174]
19541 * manual/users.texi (seteuid): Consistently use neweuid for
19542 argument name.
19543
16d2c631
JM
195442012-02-19 Joseph Myers <joseph@codesourcery.com>
19545
19546 [BZ #13704]
19547 * manual/nss.texi (Services in the NSS configuration): Correct
19548 list of services in example configuration file.
19549
cd837b09
NB
195502012-02-19 Nick Bowler <nbowler@draconx.ca>
19551
19552 [BZ #11322]
19553 * manual/arith.texi: Remove statements about negative zero
19554 behaving identically to zero.
19555
02c4bbad
JM
195562012-02-18 Joseph Myers <joseph@codesourcery.com>
19557
19558 [BZ #5993]
19559 * manual/install.texi: Do not document upgrading from libc5.
19560
366842e7
JM
195612012-02-18 Joseph Myers <joseph@codesourcery.com>
19562
19563 [BZ #4596]
19564 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19565
dd54084d
DM
195662012-02-18 David S. Miller <davem@davemloft.net>
19567
19568 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19569 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19570 %o7 across the call.
19571 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19572 instead.
19573 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19574 SETUP_PIC_REG_LEAF.
19575 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19576 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19577 * sysdeps/sparc/crtn.S: Likewise.
19578
2bcc53a3
UD
195792012-02-17 Ulrich Drepper <drepper@gmail.com>
19580
19581 * aout/Makefile: Remove.
19582
09c093b5
RK
195832012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19584
19585 [BZ #13058]
19586 * manual/examples/argp-ex1.c (main): Format definition in GNU
19587 style.
19588 * manual/examples/argp-ex2.c (main): Likewise.
19589 * manual/examples/argp-ex3.c (main): Likewise.
19590 * manual/examples/argp-ex4.c (main): Likewise.
19591 * manual/examples/longopt.c (main): Use new-style prototype
19592 definition.
19593 * manual/examples/strncat.c (main): Specify return type and use
19594 (void) for arguments.
19595 * manual/examples/subopt.c (main): Use char **argv argument.
19596
2ee633a2
JM
195972012-02-17 Joseph Myers <joseph@codesourcery.com>
19598
19599 [BZ #5077]
19600 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19601 rounding modes.
19602
0520adde
FB
196032012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19604
19605 [BZ #6907]
19606 * manual/string.texi (strchr): Change when strchrnul is
19607 recommended.
19608
3f4081cd
DGM
196092012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19610
19611 [BZ #174]
19612 * manual/locale.texi (setlocale): Document LOCPATH.
19613
d1b10e78
JM
196142012-02-17 Joseph Myers <joseph@codesourcery.com>
19615
19616 [BZ #10210]
19617 * manual/process.texi (execle): Move @dots{} before last argument.
19618
79c6869c
PB
196192012-02-17 Paul Bolle <pebolle@tiscali.nl>
19620
19621 [BZ #12047]
19622 * manual/charset.texi (Generic Charset Conversion): Fix typo
19623 (LC_TYPE -> LC_CTYPE).
19624
cc6e48bc
NB
196252012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19626
19627 [BZ #5805]
19628 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19629 (scalbnf): Likewise.
19630 (scalbnl): Likewise.
19631 (scalbln): Likewise.
19632 (scalblnf): Likewise.
19633 (scalblnl): Likewise.
19634 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19635 (vwarnx): Likewise.
19636 (verr): Likewise.
19637 (verrx): Likewise.
19638 * manual/filesys.texi (telldir): Use braces around return type.
19639 * manual/llio.texi (mmap): Add space after comma.
19640 (mmap64): Likewise.
19641 * manual/math.texi (jn): Use @var{} on parameter names.
19642 (jnf): Likewise.
19643 (jnl): Likewise.
19644 (yn): Likewise.
19645 (ynf): Likewise.
19646 (ynl): Likewise.
19647 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19648 line.
19649 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19650 "...".
19651 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19652 (sched_get_priority_max): Likewise.
19653 * manual/signal.texi (sigvec): Add space after comma.
19654 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19655 names.
19656 (if_indextoname): Likewise.
19657 (if_freenameindex): Likewise.
19658 (sendto): Use ',' instead of '.' in prototype.
19659 * manual/startup.texi (syscall): Use @dots{} instead of literal
19660 "...".
19661 * manual/stdio.texi (__fpending): Separate initial words of
19662 paragraph from @deftypefun line.
19663 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19664 "...".
19665 (vsyslog): Use @var{} on parameter names.
19666 * manual/terminal.texi (stty): Use @var{} on parameter names.
19667 * manual/users.texi (getutmp): Use @var{} on parameter names.
19668 (getutmpx): Likewise.
19669
5b23062f
JM
196702012-02-17 Joseph Myers <joseph@codesourcery.com>
19671
19672 [BZ #6884]
19673 * manual/stdio.texi (fopen): Fix typos in description of
19674 ",ccs=STRING".
19675
8dee4833
AJ
196762012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19677
19678 [BZ #4026]
19679 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19680 get clock_id definition.
19681
9078ce93
TS
196822012-02-17 Thomas Schwinge <thomas@schwinge.name>
19683
19684 [BZ #4822]
19685 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19686 (madvise): Cast every argument to void on its own.
19687
3835c55f
JM
196882012-02-17 Joseph Myers <joseph@codesourcery.com>
19689
19690 [BZ #9902]
19691 * manual/startup.texi (Exit Status): Fix typo.
19692
35c47e37
JM
196932012-02-17 Joseph Myers <joseph@codesourcery.com>
19694
19695 [BZ #10140]
19696 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19697 * manual/examples/argp-ex2.c: Likewise.
19698 * manual/examples/argp-ex3.c: Likewise.
19699
e3b69ca7
RH
197002012-02-16 Richard Henderson <rth@redhat.com>
19701
19702 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19703 * sysdeps/s390/s390-32/initfini.c: Remove.
19704 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19705 * sysdeps/s390/s390-64/initfini.c: Remove.
19706
df83af67
KK
197072012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19708
19709 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19710 compiler output for sysdeps/generic/initfini.c.
19711 * sysdeps/sh/elf/initfini.c: Remove file.
19712
f63f3380
DM
197132012-02-16 David S. Miller <davem@davemloft.net>
19714
fb59b3a4
DM
19715 [BZ #11494]
19716 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19717
f63f3380
DM
19718 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19719 * sysdeps/sparc/crti.S: New file.
19720 * sysdeps/sparc/crtn.S: New file.
19721 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19722 * sysdeps/sparc/sparc64/Makefile: Likewise.
19723
df6a4a4a
MF
197242012-02-15 Mike Frysinger <vapier@gentoo.org>
19725
6dd8f3dc 19726 [BZ #3335]
df6a4a4a
MF
19727 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19728
1cac7236
RM
197292012-02-15 Roland McGrath <roland@hack.frob.com>
19730
d2c736f8
RM
19731 [BZ #4822]
19732 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19733
1cac7236
RM
19734 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19735 (write, read, close): Likewise.
19736 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19737
8e475601
JM
197382012-02-15 Joseph Myers <joseph@codesourcery.com>
19739
19740 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19741 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19742 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19743 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19744 <bits/signalfd.h>.
19745 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19746 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19747 bits/signalfd.h.
19748
ed656b40
MP
197492012-02-14 Marek Polacek <polacek@redhat.com>
19750
19751 * sysdeps/x86_64/crti.S: New file.
19752 * sysdeps/x86_64/crtn.S: New file.
19753 * sysdeps/x86_64/elf/initfini.c: Remove file.
19754
2a979d3a
JM
197552012-02-13 Joseph Myers <joseph@codesourcery.com>
19756
19757 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19758 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19759 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19760 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19761 <bits/inotify.h>.
19762 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19763 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19764 bits/inotify.h.
19765
2a418ac3
JM
197662012-02-13 Joseph Myers <joseph@codesourcery.com>
19767
19768 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19769 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19770 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19771 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19772 <bits/eventfd.h>.
19773 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19774 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19775 bits/eventfd.h.
19776
fb779be7
TS
197772012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19778
e19e83c5
RM
19779 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19780 __feraiseexcept instead of feraiseexcept.
7c35ffed 19781
fb779be7
TS
19782 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19783 nanosleep invocations.
19784 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19785 strings, and add error checking for a nanosleep invocations.
19786
59ba27a6
PE
197872012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19788
19789 Replace FSF snail mail address with URLs, as per GNU coding standards.
19790 Most of the snail mail addresses were wrong anyway, and omitting
19791 them makes the source code easier to maintain. Almost all of the
19792 changes are to license notices and to locale LC_IDENTIFICATION
19793 addresses, except for this one:
19794 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19795 not its snail mail address.
19796
57b957eb
RH
197972012-02-09 Richard Henderson <rth@twiddle.net>
19798
af850b1c
RH
19799 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19800 of kernel-features.h.
19801
57b957eb
RH
19802 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19803
6b73181a
MP
198042012-02-08 Marek Polacek <polacek@redhat.com>
19805
19806 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19807 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19808 * sysdeps/gnu/_G_config.h: Likewise.
19809 * sysdeps/generic/_G_config.h: Likewise.
19810
26ecc33a
AS
198112012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19812
6c6dbc63
AS
19813 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19814 tests.
19815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19816
e216c012
AS
19817 * sysdeps/powerpc/powerpc32/crti.S: New file.
19818 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19819 * sysdeps/powerpc/powerpc64/crti.S: New file.
19820 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19821
26ecc33a
AS
19822 * Makeconfig (have-initfini): Don't set.
19823 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19824 * configure.in (nopic_initfini): Don't substitute.
19825 * config.h.in (HAVE_INITFINI): Don't #undef.
19826 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19827 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19828
3add8e13
JM
198292012-02-08 Joseph Myers <joseph@codesourcery.com>
19830
19831 Support crti.S and crtn.S provided directly by architectures.
19832 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19833 [crti.S in sysdirs] (omit-deps): Likewise.
19834 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19835 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19836 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19837 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19838 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19839 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19840 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19841 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19842 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19843 compiler output for sysdeps/generic/initfini.c.
19844 * sysdeps/i386/elf/Makefile: Remove file.
19845 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19846
a22f12b4
MP
198472012-02-07 Marek Polacek <polacek@redhat.com>
19848
19849 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19850 * sysdeps/gnu/_G_config.h: Likewise.
19851 * sysdeps/mach/hurd/_G_config.h: Likewise.
19852
148cf100
MP
198532012-02-07 Marek Polacek <polacek@redhat.com>
19854
19855 * math/Makefile (tests): Add tst-CMPLX2.
19856 * math/tst-CMPLX2.c: New file.
19857
cfdc0dd7
AS
198582012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19859
84ba42c4
AS
19860 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19861
cfdc0dd7
AS
19862 * math/libm-test.inc (jn_test): Add missing L suffix.
19863
622c86f4
MP
198642012-02-06 Marek Polacek <polacek@redhat.com>
19865
19866 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19867 * sysdeps/i386/fpu/e_powf.S: Likewise.
19868 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19869 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19870 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19871 * sysdeps/i386/fpu/e_pow.S: Likewise.
19872 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19873 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19874 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19875 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19876 * sysdeps/i386/fpu/e_log2.S: Likewise.
19877 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19878 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19879 * sysdeps/i386/fpu/e_powl.S: Likewise.
19880 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19881 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19882 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19883 * sysdeps/i386/fpu/e_logl.S: Likewise.
19884 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19885 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19886 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19887 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19888 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19889 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19890 * sysdeps/i386/fpu/e_log.S: Likewise.
19891 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19892 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19893 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19894 * sysdeps/i386/fpu/e_logf.S: Likewise.
19895 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19896 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19897 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19898 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19899 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19900 * sysdeps/i386/fpu/e_log10.S: Likewise.
19901 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19902 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19903 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19904 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19905 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19906 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19907 * sysdeps/i386/asm-syntax.h: Likewise.
19908 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19909 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19910 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19911 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19912 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19913 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19914 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19915 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19916 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19917 * sysdeps/powerpc/sysdep.h: Likewise.
19918 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19919 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19920
d4a54ac6
JM
199212012-02-06 Joseph Myers <joseph@codesourcery.com>
19922
19923 [BZ #411]
19924 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19925
314054ea
JM
199262012-02-06 Joseph Myers <joseph@codesourcery.com>
19927
19928 * sysdeps/i386/sysdep.h: Include <features.h>.
19929 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19930 version.
19931
d8e0ca50
JM
199322012-02-05 Joseph Myers <joseph@codesourcery.com>
19933
19934 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19935 Define.
19936 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19937 LOAD_PIC_REG_STR.
19938
b1da7dd9
JM
199392012-02-03 Joseph Myers <joseph@codesourcery.com>
19940
19941 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19942 (SETUP_PIC_REG): Use GET_PC_THUNK.
19943 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19944 macro.
19945
9a1d9254
JM
199462012-02-03 Joseph Myers <joseph@codesourcery.com>
19947
19948 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19949 for non-PIC compilation.
19950 (SETUP_PIC_REG): Add .p2align directive.
19951 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19952 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19953 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19954 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19955 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19956 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19957 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19958 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19959 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19960 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19961 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19962 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19963 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19964 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19965 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19966 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19967 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19968 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19969 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19970 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19971 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19972 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19973 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19974 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19975 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19976 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19977 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19978 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19979 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19980 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19981 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19982 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19983 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19984 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19985 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19986 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19987 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19988 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19989 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19990 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19991 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19992
65dc3b75
JM
199932012-02-03 Joseph Myers <joseph@codesourcery.com>
19994
19995 * math/tst-CMPLX.c: Include <stdio.h>.
19996
d55bf177
JM
199972012-01-31 Joseph Myers <joseph@codesourcery.com>
19998
19999 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20000 float.
20001 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20002 * sysdeps/sparc/bits/mathdef.h: Likewise.
20003
69db4f8f
MP
200042012-01-31 Marek Polacek <polacek@redhat.com>
20005
20006 * libio/libio.h: Don't define _PARAMS.
20007 * locale/programs/config.h: Don't define PARAMS.
20008 * stdlib/strtol_l.c: Likewise.
20009 (__strtol_l): Remove PARAMS from the prototype.
20010
41b81892
UD
200112012-01-31 Ulrich Drepper <drepper@gmail.com>
20012
3b49edc0
UD
20013 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20014 names. Just use the correct names. Remove unnecessary wrapper
20015 functions.
20016 * malloc/arena.c: Likewise.
20017 * malloc/hooks.c: Likewise.
20018
41b81892
UD
20019 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20020 ARENA_TEST says not to. Simplify test for creation of a new arena.
20021 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20022
27a25b6e
UD
200232012-01-30 Ulrich Drepper <drepper@gmail.com>
20024
20025 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20026 into tail calls.
20027 (update_get_addr): New function.
20028 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20029 GET_ADDR_MODULE parameter.
20030
c8a89e7d
JM
200312012-01-30 Joseph Myers <joseph@codesourcery.com>
20032
20033 * crypt/cert.c: Remove __STDC__ conditionals.
20034 * crypt/crypt-entry.c: Likewise.
20035 * crypt/crypt_util.c: Likewise.
20036 * libio/filedoalloc.c: Likewise.
20037 * libio/fileops.c: Likewise.
20038 * libio/genops.c: Likewise.
20039 * libio/iofclose.c: Likewise.
20040 * libio/iofdopen.c: Likewise.
20041 * libio/iofopen.c: Likewise.
20042 * libio/iofopen64.c: Likewise.
20043 * libio/iogetdelim.c: Likewise.
20044 * libio/iopopen.c: Likewise.
20045 * libio/obprintf.c: Likewise.
20046 * libio/oldfileops.c: Likewise.
20047 * libio/oldiofclose.c: Likewise.
20048 * libio/oldiofdopen.c: Likewise.
20049 * libio/oldiofopen.c: Likewise.
20050 * libio/oldiopopen.c: Likewise.
20051 * libio/wfiledoalloc.c: Likewise.
20052 * libio/wgenops.c: Likewise.
20053 * locale/programs/xmalloc.c: Likewise.
20054 * misc/syslog.c: Likewise.
20055 * stdio-common/xbug.c: Likewise.
20056 * string/memchr.c: Likewise.
20057 * string/memcmp.c: Likewise.
20058 * string/memrchr.c: Likewise.
20059 * string/rawmemchr.c: Likewise.
20060 * sysdeps/posix/getcwd.c: Likewise.
20061 * time/strftime_l.c: Likewise.
20062
3b100462
JM
200632012-01-30 Joseph Myers <joseph@codesourcery.com>
20064
20065 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
20066 * config.make.in (config-cflags-sse2avx): Define.
20067 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20068 Fix typo.
20069
607998af
CM
200702012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20071
20072 * scripts/config.guess: Update from upstream config git repository.
20073 * scripts/config.sub: Likewise.
20074
3601428f
CM
200752012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20076
3ac8b282
CM
20077 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20078 (EM_NUM): Update.
20079 (R_TILEPRO_*, R_TILEGX_*): New macros.
20080
e034841e
CM
20081 * scripts/firstversions.awk: Fix bug in version range handling.
20082
540d7568
CM
20083 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20084
3601428f
CM
20085 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20086
463de862
CM
20087 * include/sys/epoll.h: New file.
20088 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20089 libc_hidden_def.
20090
73139a76
UD
200912012-01-28 Ulrich Drepper <drepper@gmail.com>
20092
96bc5b45
UD
20093 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20094 Avoid unnecessary __WORDSIZE == 64 test.
20095 (fmaxf): Use VEX format if possible.
20096 (fmax): Likewise.
20097 (fminf): Likewise.
20098 (fmin): Likewise.
20099
56f6f6a2
UD
20100 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20101 * math/math_private.h: Remove libc_fegetround* and
20102 libc_fesetround*.
20103 * sysdeps/i386/configure.in: Check for -msse2avx.
20104 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20105 also if SSE2AVX is defined.
20106 Remove libc_fegetround* and libc_fesetround*.
20107 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20108 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20109 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20110 of HAS_YMM_USABLE.
20111 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20112 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20113 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20114 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20115 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20116
73139a76
UD
20117 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20118
d73f93a4
AZ
201192012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20120
20121 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20122 size is not set.
20123 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20124
6ee65ed6
UD
201252012-01-27 Ulrich Drepper <drepper@gmail.com>
20126
20127 [BZ #13618]
20128 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20129 relocation.
20130 * Makeconfig (libm): Define.
20131 * elf/Makefile: Add rules to build and run tst-relsort1.
20132 * elf/tst-relsort1.c: New file.
20133 * elf/tst-relsort1mod1.c: New file.
20134 * elf/tst-relsort1mod2.c: New file.
20135
8db21882
JM
201362012-01-27 Joseph Myers <joseph@codesourcery.com>
20137
20138 * math/s_ldexp.c: Remove __STDC__ conditionals.
20139 * math/s_ldexpf.c: Likewise.
20140 * math/s_ldexpl.c: Likewise.
20141 * math/s_nextafter.c: Likewise.
20142 * math/s_nexttowardf.c: Likewise.
20143 * math/s_significand.c: Likewise.
20144 * math/s_significandf.c: Likewise.
20145 * math/s_significandl.c: Likewise.
20146 * math/w_jnl.c: Likewise.
20147 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20148 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20149 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20150 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20151 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20152 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20153 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20154 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20155 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20156 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20157 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20158 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20159 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20160 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20161 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20162 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20163 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20164 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20165 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20166 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20167 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20168 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20169 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20170 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20171 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20172 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20173 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20174 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20175 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20176 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20177 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20178 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20179 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20180 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20181 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20182 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20183 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20184 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20185 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20186 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20187 * sysdeps/ieee754/k_standard.c: Likewise.
20188 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20189 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20190 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20191 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20192 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20193 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20194 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20195 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20196 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20197 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20198 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20199 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20200 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20201 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20202 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20203 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20204 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20205 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20206 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20207 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20208 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20209 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20210 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20211 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20212 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20213 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20214 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20215 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20216 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20217 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20218 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20219 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20220 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20221 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20222 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20223 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20224 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20225 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20226 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20227 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20228 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20229 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20230 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20231 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20232 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20233 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20234 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20235 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20236 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20237 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20238 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20239 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20240 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20241 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20242 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20243 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20244 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20245 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20246 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20247 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20248 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20249 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20250 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20251 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20252 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20253 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20254 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20255 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20256 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20257 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20258 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20259 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20260 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20261 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20262 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20263 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20264 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20265 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20266 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20267 * sysdeps/ieee754/s_matherr.c: Likewise.
20268 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20269 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20270 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20271 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20272
965a54a4
JM
202732012-01-26 Joseph Myers <joseph@codesourcery.com>
20274
20275 * crypt/md5.h: Remove __STDC__ conditionals.
20276 * libio/libioP.h: Likewise.
20277 * locale/programs/config.h: Likewise.
20278 * sysdeps/generic/sysdep.h: Likewise.
20279 * sysdeps/i386/asm-syntax.h: Likewise.
20280 * sysdeps/s390/asm-syntax.h: Likewise.
20281 * sysdeps/unix/sysdep.h: Likewise.
20282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20284
7071ad79
JM
202852012-01-26 Joseph Myers <joseph@codesourcery.com>
20286
20287 * libio/libio.h: Remove __STDC__ conditionals.
20288 * malloc/obstack.h: Likewise.
20289 * math/complex.h: Likewise.
20290 * math/math.h: Likewise.
20291 * sysdeps/generic/_G_config.h: Likewise.
20292 * sysdeps/gnu/_G_config.h: Likewise.
20293 * sysdeps/mach/hurd/_G_config.h: Likewise.
20294 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20295 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20296 * sysdeps/sparc/bits/mathdef.h: Likewise.
20297
afc5ed09
UD
202982012-01-26 Ulrich Drepper <drepper@gmail.com>
20299
20300 [BZ #13583]
20301 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 20302 Clean up HAS_* macros.
afc5ed09 20303 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
20304 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20305 possible.
20306 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20307 HAS_AVX.
20308 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20309 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20310 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20311 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20312 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 20313
bdb6de1d
JM
203142012-01-25 Joseph Myers <joseph@codesourcery.com>
20315
20316 * elf/tst-unique3.cc (gets): Remove declaration.
20317 * elf/tst-unique3lib.cc (gets): Likewise.
20318 * elf/tst-unique3lib2.cc (gets): Likewise.
20319 * elf/tst-unique4.cc (gets): Likewise.
20320
b15549e6
UD
203212012-01-24 Ulrich Drepper <drepper@gmail.com>
20322
20323 * include/stdio.h: Add C++ protection. Add gets declarations and
20324 definitions.
20325 * debug/tst-chk1.c: Don't declare gets here.
20326 * stdio-common/tst-gets.c: Likewise.
20327
a037381f
JM
203282012-01-24 Joseph Myers <joseph@codesourcery.com>
20329
20330 * posix/glob: Remove directory.
20331
f1d4aa75
JM
203322012-01-24 Joseph Myers <joseph@codesourcery.com>
20333
20334 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20335
81c0c964
PT
203362012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20337
20338 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20339 of the non-standard EPFNOSUPPORT.
20340
0ea698ae
ST
203412011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20342
20343 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20344 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20345 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20346
d220b117
UD
203472012-01-21 Ulrich Drepper <drepper@gmail.com>
20348
20349 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20350
3e1aa84e
UD
203512012-01-20 Ulrich Drepper <drepper@gmail.com>
20352
20353 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20354 transient errors.
20355 * nscd/grpcache.c (cache_addgr): Likewise.
20356 * nscd/hstcache.c (cache_addhst): Likewise.
20357 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20358 * nscd/pwdcache.c (cache_addpw): Likewise.
20359 * nscd/servicescache.c (cache_addserv): Likewise.
20360
400aa020
UD
203612012-01-16 Ulrich Drepper <drepper@gmail.com>
20362
d77e7869
UD
20363 * malloc/malloc.c: Various cleanups.
20364 * malloc/hooks.c: Likewise.
20365
400aa020
UD
20366 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20367 * stdlib/bug-fmtmsg1.c: New file.
20368
20369 * stdlib/fmtmsg.c (init): Add missing unlock.
20370 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20371
e0a309cf
MP
203722012-01-12 Marek Polacek <polacek@redhat.com>
20373
20374 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20375 and _GNU_SOURCE.
20376
929d11c7
WS
203772012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20378
20379 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20380 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20381 macro to ensure uniqueness of label name.
20382 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20383 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20384
41d0e869
UD
203852012-01-11 Ulrich Drepper <drepper@gmail.com>
20386
0cc5ed3b
UD
20387 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20388
41d0e869
UD
20389 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20390 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20391 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20392 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20393
a47a831a
UD
203942012-01-10 Ulrich Drepper <drepper@gmail.com>
20395
daa891c0
UD
20396 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20397
20398 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20399 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20400 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20401
e58ef0f2
UD
20402 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20403
a47a831a 20404 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
20405 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20406 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 20407 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
20408
20409 * math/bits/math-finite.h: Add ldexp support.
20410
a0bfc9c7
MP
204112012-01-10 Marek Polacek <polacek@redhat.com>
20412
20413 * locale/programs/localedef.h (show_archive_content): Add noreturn
20414 attribute.
20415
d6e97a1d
UD
204162012-01-09 Ulrich Drepper <drepper@gmail.com>
20417
20418 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20419
d5835c26
UD
204202012-01-08 Ulrich Drepper <drepper@gmail.com>
20421
e5f484c6
UD
20422 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20423
d5835c26
UD
20424 * io/Makefile (headers): Add bits/poll2.h.
20425
d1f741e9
WS
204262011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20427
20428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20429 typo #include statement.
20430
ec09c1c4
UD
204312012-01-08 Ulrich Drepper <drepper@gmail.com>
20432
20433 * include/sys/cdefs.h: Define __attribute_alloc_size.
20434 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20435 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20436 * elf/pldd.c: Likewise.
20437 * iconv/iconv_charmap.c: Likewise.
20438 * iconv/iconvconfig.c: Likewise.
20439 * iconv/strtab.c: Likewise.
20440 * locale/programs/locale.c: Likewise.
20441 * locale/programs/localedef.h: Likewise.
20442 * locale/programs/simple-hash.c: Likewise.
20443 * nscd/nscd.h: Likewise.
20444 * nss/makedb.c: Likewise.
20445 * sysdeps/generic/ldconfig.h: Likewise.
20446 * locale/programs/localedef.c: Remove xmalloc prototype.
20447 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20448
20b38e03
PP
204492012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20450
20451 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20452 appropriate.
20453
a0da5fe1
UD
204542012-01-08 Ulrich Drepper <drepper@gmail.com>
20455
1d5a644a 20456 * math/Makefile (tests): Add tst-CMPLX.
669704fd 20457 * math/tst-CMPLX.c: New file.
1d5a644a 20458
8784a6db
UD
20459 * math/complex.h (CMPLXL): Fix typo.
20460
d9a216c0
UD
20461 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20462 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20463 GLIBC_2.16.
20464 * debug/tst-chk1.c: Add poll and ppoll tests.
20465 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20466 * include/sys/poll.h: Add hidden proto for ppoll.
20467 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20468 * sysdeps/mach/hurd/ppoll.c: Likewise.
20469 * io/ppoll.c: Likewise.
20470 * debug/poll_chk.c: New file.
20471 * debug/ppoll_chk.c: New file.
20472 * include/bits/poll2.h: New file.
20473 * io/bits/poll2.h: New file.
20474
ac097f5c
UD
20475 [BZ #1350]
20476 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20477
2119dcfa
UD
20478 * configure.in: static is always set to yes. Remove.
20479 * config.make.in: Don't set build-static.
20480 * Makeconfig: Remove use of build-static.
20481 * dlfcn/Makefile: Likewise.
20482 * elf/Makefile: Likewise.
20483 * math/Makefile: Likewise.
20484 * misc/Makefile: Likewise.
20485 * nptl/Makefile: Likewise.
20486 * sysdeps/mach/hurd/Makefile: Likewise.
20487
121766a9
UD
20488 * configure.in: PWD_P is not used anymore.
20489 * config.make.in: Remove PWD_P entry.
20490
51a1d39c 20491 * configure.in: Remove last remnants of RANLIB.
8720d066 20492 No need to check for signed size_t anymore.
215f4bdc
UD
20493 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20494 and IA-64.
3857022a 20495 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
20496 * aclocal.m4: Likewise.
20497
d3ed7225
UD
20498 * wcsmbs/mbrtoc16.c: Implement using towc function.
20499 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20500 * wcsmbs/wcsmbsload.c: Likewise.
20501 * iconv/gconv_simple.c: Likewise.
20502 * iconv/gconv_int.h: Likewise.
20503 * iconv/gconv_builtin.h: Likewise.
20504 * iconv/iconv_prog.c: Remove CHAR16 handling.
20505
20506 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20507
20508 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20509
a0da5fe1
UD
20510 * configure.in: Remove --with-elf and --enable-bounded options.
20511 Dont set base_machine for ia64. More non-ELF conditions removed.
20512 Remove testing and setting of leading underscore information.
20513 * config.make.in (build-bounded): Set to no.
20514 * config.h.in: Remove NO_UNDERSCORES entry.
20515 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20516 them.
20517 * csu/start.c: Remove !NO_UNDERSCORE code.
20518 * locale/localeinfo.h: Likewise.
20519 * sysdeps/generic/machine-gmon.h: Likewise.
20520 * sysdeps/generic/sysdep.h: Likewise.
20521 * sysdeps/i386/sysdep.h: Likewise.
20522 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20523 * sysdeps/mach/sysdep.h: Likewise.
20524 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20525 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20526 * sysdeps/sh/sysdep.h: Likewise.
20527 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20528 * sysdeps/unix/i386/sysdep.S: Likewise.
20529 * sysdeps/unix/sparc/start.c: Likewise.
20530 * sysdeps/unix/sparc/sysdep.S: Likewise.
20531 * sysdeps/unix/sparc/sysdep.h: Likewise.
20532 * sysdeps/unix/start.c: Likewise.
20533 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20534 * sysdeps/x86_64/sysdep.h: Likewise.
20535
df78418a
UD
205362012-01-07 Ulrich Drepper <drepper@gmail.com>
20537
a784e502
UD
20538 [BZ #13553]
20539 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20540 for non-gcc.
20541 * argp/argp-fmtstream.h: Use const instead __const.
20542 * argp/argp.h: Likewise.
20543 * assert/assert.h: Likewise.
20544 * bits/fenv.h: Likewise.
20545 * bits/sched.h: Likewise.
20546 * bits/sigset.h: Likewise.
20547 * bits/sigthread.h: Likewise.
20548 * catgets/nl_types.h: Likewise.
20549 * conform/data/pthread.h-data: Likewise.
20550 * crypt/crypt-private.h: Likewise.
20551 * crypt/crypt.h: Likewise.
20552 * crypt/crypt_util.c: Likewise.
20553 * ctype/ctype.h: Likewise.
20554 * debug/execinfo.h: Likewise.
20555 * debug/mbsnrtowcs_chk.c: Likewise.
20556 * debug/mbsrtowcs_chk.c: Likewise.
20557 * debug/wcsnrtombs_chk.c: Likewise.
20558 * debug/wcsrtombs_chk.c: Likewise.
20559 * debug/wcstombs_chk.c: Likewise.
20560 * dirent/dirent.h: Likewise.
20561 * dlfcn/dlfcn.h: Likewise.
20562 * elf/neededtest4.c: Likewise.
20563 * grp/grp.h: Likewise.
20564 * gshadow/gshadow.h: Likewise.
20565 * iconv/gconv.h: Likewise.
20566 * iconv/gconv_int.h: Likewise.
20567 * iconv/gconv_simple.c: Likewise.
20568 * iconv/iconv.h: Likewise.
20569 * iconv/loop.c: Likewise.
20570 * iconv/skeleton.c: Likewise.
20571 * include/aio.h: Likewise.
20572 * include/aliases.h: Likewise.
20573 * include/argz.h: Likewise.
20574 * include/arpa/inet.h: Likewise.
20575 * include/assert.h: Likewise.
20576 * include/dirent.h: Likewise.
20577 * include/dlfcn.h: Likewise.
20578 * include/execinfo.h: Likewise.
20579 * include/fcntl.h: Likewise.
20580 * include/fenv.h: Likewise.
20581 * include/glob.h: Likewise.
20582 * include/grp.h: Likewise.
20583 * include/libintl.h: Likewise.
20584 * include/mntent.h: Likewise.
20585 * include/netdb.h: Likewise.
20586 * include/pwd.h: Likewise.
20587 * include/rpc/netdb.h: Likewise.
20588 * include/sched.h: Likewise.
20589 * include/search.h: Likewise.
20590 * include/shadow.h: Likewise.
20591 * include/signal.h: Likewise.
20592 * include/stdio.h: Likewise.
20593 * include/stdlib.h: Likewise.
20594 * include/string.h: Likewise.
20595 * include/sys/socket.h: Likewise.
20596 * include/sys/stat.h: Likewise.
20597 * include/sys/statfs.h: Likewise.
20598 * include/sys/statvfs.h: Likewise.
20599 * include/sys/syslog.h: Likewise.
20600 * include/sys/time.h: Likewise.
20601 * include/sys/uio.h: Likewise.
20602 * include/time.h: Likewise.
20603 * include/unistd.h: Likewise.
20604 * include/utmp.h: Likewise.
20605 * include/wchar.h: Likewise.
20606 * include/wctype.h: Likewise.
20607 * inet/aliases.h: Likewise.
20608 * inet/arpa/inet.h: Likewise.
20609 * inet/netinet/ether.h: Likewise.
20610 * inet/netinet/in.h: Likewise.
20611 * intl/libintl.h: Likewise.
20612 * io/bits/fcntl2.h: Likewise.
20613 * io/fcntl.h: Likewise.
20614 * io/ftw.h: Likewise.
20615 * io/sys/poll.h: Likewise.
20616 * io/sys/stat.h: Likewise.
20617 * io/sys/statfs.h: Likewise.
20618 * io/sys/statvfs.h: Likewise.
20619 * io/utime.h: Likewise.
20620 * libio/bits/stdio.h: Likewise.
20621 * libio/bits/stdio2.h: Likewise.
20622 * libio/libio.h: Likewise.
20623 * libio/libioP.h: Likewise.
20624 * libio/stdio.h: Likewise.
20625 * locale/lc-ctype.c: Likewise.
20626 * locale/locale.h: Likewise.
20627 * login/utmp.h: Likewise.
20628 * malloc/arena.c: Likewise.
20629 * malloc/malloc.c: Likewise.
20630 * malloc/malloc.h: Likewise.
20631 * malloc/mcheck.c: Likewise.
20632 * malloc/mtrace.c: Likewise.
20633 * math/bits/mathcalls.h: Likewise.
20634 * math/fenv.h: Likewise.
20635 * math/math_private.h: Likewise.
20636 * misc/bits/error.h: Likewise.
20637 * misc/bits/syslog.h: Likewise.
20638 * misc/err.h: Likewise.
20639 * misc/error.h: Likewise.
20640 * misc/fstab.h: Likewise.
20641 * misc/mntent.h: Likewise.
20642 * misc/regexp.h: Likewise.
20643 * misc/search.h: Likewise.
20644 * misc/sgtty.h: Likewise.
20645 * misc/sys/mman.h: Likewise.
20646 * misc/sys/syslog.h: Likewise.
20647 * misc/sys/uio.h: Likewise.
20648 * misc/sys/xattr.h: Likewise.
20649 * misc/ttyent.h: Likewise.
20650 * nis/rpcsvc/ypclnt.h: Likewise.
20651 * nss/nss.h: Likewise.
20652 * posix/bits/unistd.h: Likewise.
20653 * posix/fnmatch.h: Likewise.
20654 * posix/glob.h: Likewise.
20655 * posix/sched.h: Likewise.
20656 * posix/spawn.h: Likewise.
20657 * posix/sys/wait.h: Likewise.
20658 * posix/unistd.h: Likewise.
20659 * posix/wordexp.h: Likewise.
20660 * pwd/pwd.h: Likewise.
20661 * resolv/netdb.h: Likewise.
20662 * resource/sys/resource.h: Likewise.
20663 * rt/aio.h: Likewise.
20664 * rt/bits/mqueue2.h: Likewise.
20665 * rt/mqueue.h: Likewise.
20666 * shadow/shadow.h: Likewise.
20667 * signal/signal.h: Likewise.
20668 * socket/send.c: Likewise.
20669 * socket/sendto.c: Likewise.
20670 * socket/sys/socket.h: Likewise.
20671 * stdio-common/printf.h: Likewise.
20672 * stdlib/bits/stdlib.h: Likewise.
20673 * stdlib/fmtmsg.h: Likewise.
20674 * stdlib/monetary.h: Likewise.
20675 * stdlib/stdlib.h: Likewise.
20676 * stdlib/ucontext.h: Likewise.
20677 * streams/stropts.h: Likewise.
20678 * string/argz.h: Likewise.
20679 * string/bits/string2.h: Likewise.
20680 * string/string.h: Likewise.
20681 * string/strings.h: Likewise.
20682 * sunrpc/rpc/auth.h: Likewise.
20683 * sunrpc/rpc/auth_des.h: Likewise.
20684 * sunrpc/rpc/clnt.h: Likewise.
20685 * sunrpc/rpc/netdb.h: Likewise.
20686 * sunrpc/rpc/pmap_clnt.h: Likewise.
20687 * sunrpc/rpc/xdr.h: Likewise.
20688 * sysdeps/generic/inttypes.h: Likewise.
20689 * sysdeps/generic/net/if.h: Likewise.
20690 * sysdeps/generic/sys/swap.h: Likewise.
20691 * sysdeps/gnu/net/if.h: Likewise.
20692 * sysdeps/gnu/utmpx.h: Likewise.
20693 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20694 * sysdeps/i386/i486/bits/string.h: Likewise.
20695 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20696 * sysdeps/s390/bits/string.h: Likewise.
20697 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20698 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20699 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20700 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20701 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20702 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20703 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20704 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20705 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20706 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20707 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20708 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20709 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20710 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20711 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20712 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20713 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20714 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20715 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20716 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20717 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20718 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20719 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20720 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20721 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20722 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20723 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20724 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20725 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20726 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20727 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20728 * sysvipc/sys/ipc.h: Likewise.
20729 * sysvipc/sys/msg.h: Likewise.
20730 * sysvipc/sys/sem.h: Likewise.
20731 * sysvipc/sys/shm.h: Likewise.
20732 * termios/termios.h: Likewise.
20733 * time/sys/time.h: Likewise.
20734 * time/time.h: Likewise.
20735 * wcsmbs/bits/wchar2.h: Likewise.
20736 * wcsmbs/uchar.h: Likewise.
20737 * wcsmbs/wchar.h: Likewise.
20738 * wctype/wctype.h: Likewise.
20739
0269750c
UD
20740 [BZ #13551]
20741 * Makeconfig: Remove all but ELF support including AIX support.
20742 * Makerules: Likewise.
20743 * config.h.in: Likewise.
20744 * config.make.in: Likewise.
20745 * configure: Likewise.
20746 * configure.in: Likewise.
20747 * csu/Makefile: Likewise.
20748 * csu/version.c: Likewise.
20749 * debug/Makefile: Likewise.
20750 * dlfcn/Makefile: Likewise.
20751 * elf/Makefile: Likewise.
20752 * extra-lib.mk: Likewise.
20753 * iconv/Makefile: Likewise.
20754 * include/libc-symbols.h: Likewise.
20755 * include/shlib-compat.h: Likewise.
20756 * resolv/Makefile: Likewise.
20757 * resolv/res_libc.c: Likewise.
20758 * rt/Makefile: Likewise.
20759 * sysdeps/i386/asm-syntax.h: Likewise.
20760 * sysdeps/i386/sysdep.h: Likewise.
20761 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20762 * sysdeps/mach/sysdep.h: Likewise.
20763 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20764 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20765 * sysdeps/s390/asm-syntax.h: Likewise.
20766 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20767 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20768 * sysdeps/sh/sysdep.h: Likewise.
20769 * sysdeps/unix/sparc/sysdep.h: Likewise.
20770 * sysdeps/wordsize-32/divdi3.c: Likewise.
20771 * sysdeps/x86_64/sysdep.h: Likewise.
20772
00bbd29b
UD
20773 * argp/Versions: Remove _argp_unlock_xxx.
20774
20775 [BZ #13559]
20776 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20777 * abilist/libBrokenLocale.abilist: Likewise.
20778 * abilist/libanl.abilist: Likewise.
20779 * abilist/libc.abilist: Likewise.
20780 * abilist/libcrypt.abilist: Likewise.
20781 * abilist/libdl.abilist: Likewise.
20782 * abilist/libm.abilist: Likewise.
20783 * abilist/libnsl.abilist: Likewise.
20784 * abilist/libpthread.abilist: Likewise.
20785 * abilist/libresolv.abilist: Likewise.
20786 * abilist/librt.abilist: Likewise.
20787 * abilist/libthread_db.abilist: Likewise.
20788 * abilist/libutil.abilist: Likewise.
20789 * abilist/libnss_db.abilist: New file.
20790
20791 * scripts/abilist.awk: Add support for indirect functions.
20792
a2693a0e
UD
20793 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20794
3f05895f
UD
20795 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20796
ecb6fb48
UD
20797 * shlib-versions: Remove entries for ports architectures.
20798
664f8cb9
UD
20799 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20800 files in ports.
20801 * elf/stackguard-macros.h: Remove support for IA-64.
20802 * elf/tst-auditmod1.c: Likewise.
20803 * sysdeps/generic/ldsodefs.h: Likewise.
20804
7ae81d88
UD
20805 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20806 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20807 configure files.
20808
bdeba135
UD
20809 [BZ #13552]
20810 * configure.in: Remove --enable-omitfp support.
20811 * FAQ.in: Adjust.
20812 * config.make.in: Likewise.
20813 * Makeconfig: Likewise.
20814 * manual/install.texi: Likewise.
20815
d75a0a62
UD
20816 In case anyone cares, the IA-64 architecture could move to ports.
20817 * sysdeps/ia64/*: Removed.
20818 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 20819 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 20820
dcc9756b
UD
20821 [BZ #13555]
20822 * configure.in: Remove entries for unsupported architectures.
20823
d3761ebc 20824 [BZ #13533]
9954432e
UD
20825 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20826 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20827 routines.
20828 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20829 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20830 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20831 fall back to using wcrtomb.
20832 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20833 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20834 renaming.
20835 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20836 * wcsmbs/tst-c16c32-1.c: New file.
20837
20838 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20839 local variable.
20840
c3a87236
UD
20841 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20842
28926a1b
UD
20843 * elf/tst-unique3.cc: Add explicit declaration of gets.
20844 * elf/tst-unique3lib.cc: Likewise.
20845 * elf/tst-unique3lib2.cc: Likewise.
20846 * elf/tst-unique4.cc: Likewise.
20847
df78418a
UD
20848 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20849
8ecd6b2a
JM
208502012-01-06 Joseph Myers <joseph@codesourcery.com>
20851
20852 [BZ #13566]
20853 * assert/assert.h (static_assert): Don't define for C++.
20854 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20855 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20856
9f115170
UD
208572012-01-03 Ulrich Drepper <drepper@gmail.com>
20858
5e0d0300
UD
20859 * iconv/loop.c (single loop): Fix assertion in storing of
20860 remaining bytes.
20861
9f115170
UD
20862 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20863
81fb02b0
UD
208642012-01-01 Ulrich Drepper <drepper@gmail.com>
20865
20866 * posix/getconf.c: Update copyright year.
20867 * nss/getent.c: Likewise.
a316c1f6 20868 * nss/makedb.c: Likewise.
81fb02b0
UD
20869 * iconv/iconvconfig.c: Likewise.
20870 * iconv/iconv_prog.c: Likewise.
20871 * elf/ldconfig.c: Likewise.
a316c1f6
UD
20872 * elf/pldd.c: Likewise.
20873 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
20874 * catgets/gencat.c: Likewise.
20875 * csu/version.c: Likewise.
20876 * elf/ldd.bash.in: Likewise.
20877 * elf/sprof.c (print_version): Likewise.
20878 * locale/programs/locale.c: Likewise.
20879 * locale/programs/localedef.c: Likewise.
a316c1f6 20880 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
20881 * nscd/nscd.c (print_version): Likewise.
20882 * debug/xtrace.sh: Likewise.
20883 * malloc/memusage.sh: Likewise.
20884 * malloc/mtrace.pl: Likewise.
20885 * debug/catchsegv.sh: Likewise.
20886
2ba92745
JJ
208872011-12-30 Jakub Jelinek <jakub@redhat.com>
20888
20889 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20890 pure attribute.
20891
dadebdae
UD
208922011-12-24 Ulrich Drepper <drepper@gmail.com>
20893
d3761ebc 20894 [BZ #13533]
db6af3eb
UD
20895 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20896 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20897 transformations.
20898 * iconv/gconv_int.h: Likewise.
20899 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20900 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20901 from libc for GLIBC_2.16.
20902 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20903 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20904 * wcsmbs/uchar.h: Really define mbstate_t.
20905 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20906 * wcsmbs/c16rtomb.c: New file.
20907 * wcsmbs/mbrtoc16.c: New file.
20908 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20909 for C/POSIX locale.
20910 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20911 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20912
dadebdae
UD
20913 * wcsmbs/wchar.h: Add missing __restrict.
20914
67371b56
UD
209152011-12-23 Ulrich Drepper <drepper@gmail.com>
20916
74033a25
UD
20917 [BZ #13532]
20918 * time/Makefile (routines): Add timespec_get.
20919 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20920 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20921 timespec for ISO C11.
20922 * time/timespec_get.c: New file.
20923 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20924 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20925
380d7e87
UD
20926 [BZ #13531]
20927 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20928 * stdlib/stdlib.h: Declare aligned_alloc.
20929 * Versions.def: Add GLIBC_2.16 for libc.
20930 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20931
4e9e7a35
UD
20932 [BZ 13527]
20933 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20934 ISO C11.
20935
380d7e87 20936 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
20937 code.
20938
03a71829
UD
20939 [BZ #13528]
20940 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20941
839e283e
UD
20942 [BZ #13529]
20943 * assert/assert.h (static_assert): Define.
20944
ce5294e2 20945 * version.h: Update for 2.16 development version.
90fa7312 20946
8d44e150 20947 [BZ #13526]
d7809905
UD
20948 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20949 _ISOC11_SOURCE.
20950
c0da14cd
UD
20951 * version.h (RELEASE): Bump for 2.15 release.
20952 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20953
530a3249
MP
20954 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20955 Patch by Marek Polacek <mpolacek@redhat.com>.
20956
67371b56
UD
20957 * bits/byteswap.h: Protect long long constants with __extension__.
20958 * sysdeps/i386/bits/byteswap.h: Likewise.
20959 * sysdeps/ia64/bits/byteswap.h: Likewise.
20960 * sysdeps/s390/bits/byteswap.h: Likewise.
20961 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20962
15db4de1
LD
209632011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20964
20965 [BZ #13540]
bbe315ea
LD
20966 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20967 destination buffer.
15db4de1
LD
20968 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20969
2b2596b1
MP
209702011-12-23 Marek Polacek <polacek@redhat.com>
20971
20972 * elf/dl-addr.c (determine_info): Add inline keyword.
20973 * elf/tst-auditmod4b.c (check_avx): Likewise.
20974 * elf/tst-auditmod6b.c (check_avx): Likewise.
20975 * elf/tst-auditmod6c.c (check_avx): Likewise.
20976 * elf/tst-auditmod7b.c (check_avx): Likewise.
20977
70c6c246
UD
209782011-12-23 Ulrich Drepper <drepper@gmail.com>
20979
20980 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20981 !__SSE_MATH__.
20982
c044cf14
LD
209832011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20984
15db4de1 20985 [BZ #13540]
c044cf14
LD
20986 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20987 processing for last bytes.
20988
6b13d9d9
BH
209892011-08-06 Bruno Haible <bruno@clisp.org>
20990
d455f537
BH
20991 [BZ #13061]
20992 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20993 U+0385, not to U+1FEE.
20994
6b13d9d9
BH
20995 [BZ #13062]
20996 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
20997 entry for U+00A5 U+0301.
20998
db910efd
UD
209992011-12-22 Ulrich Drepper <drepper@gmail.com>
21000
27deeafc
UD
21001 [BZ #13166]
21002 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21003 buffer for the output is too small.
21004
aed9d171
UD
21005 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21006 optimization.
21007
db910efd
UD
21008 [BZ #13185]
21009 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21010 SSE flags if possible.
21011
2bd779ae
LD
210122011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21013
e7f9dac3 21014 [BZ #13540]
2bd779ae
LD
21015 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21016 processing for last bytes.
21017
154bfc16
JM
210182011-12-22 Joseph Myers <joseph@codesourcery.com>
21019
21020 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21021 (syscall-list-default-options, syscall-list-default-condition)
21022 (syscall-list-includes): Define.
21023 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21024 list of ABIs and options and #if conditions for each ABI. Do not
21025 handle common syscalls between ABIs specially.
21026 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21027 Remove.
21028 (syscall-list-variants, syscall-list-32bit-options)
21029 (syscall-list-32bit-condition, syscall-list-64bit-options)
21030 (syscall-list-64bit-condition): Define.
21031 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21032 (syscall-list-variants, syscall-list-32bit-options)
21033 (syscall-list-32bit-condition, syscall-list-64bit-options)
21034 (syscall-list-64bit-condition): Define.
21035 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21036 Remove.
21037 (syscall-list-variants, syscall-list-32bit-options)
21038 (syscall-list-32bit-condition, syscall-list-64bit-options)
21039 (syscall-list-64bit-condition): Define.
21040 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21041 Remove.
21042 (syscall-list-variants, syscall-list-32bit-options)
21043 (syscall-list-32bit-condition, syscall-list-64bit-options)
21044 (syscall-list-64bit-condition): Define.
21045
21eaf3a5
UD
210462011-12-22 Ulrich Drepper <drepper@gmail.com>
21047
16c6f992
UD
21048 * locale/iso-639.def: Add brx entry.
21049
41043168
UD
21050 [BZ #13328]
21051 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21052 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21053
21eaf3a5
UD
21054 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21055 __feraiseexcept_renamed.
21056
e3a851a2
UD
210572011-12-21 Ulrich Drepper <drepper@gmail.com>
21058
4920765e
UD
21059 [BZ #13538]
21060 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21061 EPOLLET with unsigned values.
21062 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21063 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21064
e3a851a2
UD
21065 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21066 to large cancellation.
21067 * math/s_cacoshf.c: Likewise.
21068 * math/s_cacoshl.c: Likewise.
21069
b27e24b8
RK
210702011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21071
21072 [BZ #13305]
aebefeee 21073 [BZ #12786]
b27e24b8
RK
21074 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21075 * math/s_cacoshf.c: Likewise.
21076 * math/s_cacoshl.c: Likewise.
21077
ee190f67
UD
210782011-12-21 Ulrich Drepper <drepper@gmail.com>
21079
21080 [BZ #13439]
21081 * iconv/gconv.h: Define __GCONV_SWAP.
21082 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21083 * iconvdata/utf-16.c: Likewise.
21084 * iconvdata/utf-32.c: Likewise.
21085
707f25df
AS
210862011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21087
21088 [BZ #13524]
21089 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21090 numerator after shifting it by one limb.
21091
d2daaa1e
RÁE
210922011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21093
21094 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21095 under [__USE_EXTERN_INLINES].
21096
a4647e72
UD
210972011-12-17 Ulrich Drepper <drepper@gmail.com>
21098
21099 [BZ #13446]
21100 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21101
f0b264f1
AZ
211022011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21103
21104 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21105 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21106 optimized code.
21107 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21108 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21109 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21110 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21111 for strncasecmp/strncasecmp_l compilation.
21112 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21113 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21114
8ef4f244
MP
211152011-12-08 Marek Polacek <mpolacek@redhat.com>
21116
21117 [BZ #13484]
21118 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21119 of __asm__.
21120
97ac2654
UD
211212011-12-17 Ulrich Drepper <drepper@gmail.com>
21122
21123 [BZ #13506]
21124 * time/tzfile.c (__tzfile_read): Check values from file header.
21125
91d2a845
WS
211262011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21127
21128 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21129 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21130 * powerpc/powerpc32/dl-start.S: Likewise.
21131 * powerpc/powerpc32/elf/start.S: Likewise.
21132 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21133 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21134 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21135 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21136 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21137 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21138 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21139 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21140 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21141 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21142 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21143 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21144 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21145 * powerpc/powerpc32/memset.S: Likewise.
21146 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21147 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21148 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21149 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21150 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21151 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21152 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21153 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21154 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21155 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21156 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21157 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21158 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21159
a1267ba1
AZ
211602011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21161
21162 * math/libm-test.inc: Added more nearbyint tests.
21163 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21164 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21165 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21166 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21167
ad8ac1bd
RL
211682011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21169
21170 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21171 FD_CLOEXEC.
21172
1d3e4b61
UD
211732011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21174
21175 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21176 Add wcscpy-ssse3 wcscpy-c.
21177 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21178 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21179 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21180 * sysdeps/x86_64/wcschr.S: New file.
21181 * sysdeps/x86_64/wcsrchr.S: New file.
21182 * string/test-strcmp.c: Remove checking of wcscmp function for
21183 wrong alignments.
21184 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21185 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21186 wcsrchr-sse2 wcsrchr-c.
21187 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21188 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21189 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21190 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21191 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21192 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21193 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21194 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21195 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21196 * wcsmbc/wcschr.c (WCSCHR): New macro.
21197
5b330a2d
UD
211982011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21199
21200 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21201 * wcsmbs/test-wcsrchr.c: New file.
21202 * string/test-strrchr.c: Add wcsrchr support.
21203 (WIDE): New macro.
21204 * wcsmbs/test-wcscpy.c: New file.
21205 * string/test-strcpy.c: Add wcscpy support.
21206 (WIDE): New macro.
26428b7c 21207
f039c043
UD
212082011-12-10 Ulrich Drepper <drepper@gmail.com>
21209
21210 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21211 the inner loop.
21212
850fb039
AS
212132011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21214
21215 [BZ #13472]
21216 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21217
4efbd5cb
UD
212182011-12-04 Ulrich Drepper <drepper@gmail.com>
21219
52ff5dd0 21220 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 21221 Minor optimizations.
52ff5dd0 21222
4efbd5cb
UD
21223 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21224 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21225 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21226
8a426e12
UD
212272011-12-03 Ulrich Drepper <drepper@gmail.com>
21228
aff2453d
UD
21229 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21230 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21231 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21232 for gcc to avoid warnings.
21233 * inet/Makefile (tests): Add tst-checks.
21234 * inet/tst-checks.c: New file.
21235
21236 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21237 warning.
21238
21239 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21240 __wmemcmp_sse2.
21241
21242 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21243 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21244
8a426e12
UD
21245 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21246
9bea3473
UD
212472011-12-02 Ulrich Drepper <drepper@gmail.com>
21248
3a965496
UD
21249 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21250 problem.
21251
9bea3473
UD
21252 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21253
f101631b
UD
212542011-11-29 Joseph Myers <joseph@codesourcery.com>
21255
21256 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21257 conditional on GCC version.
21258 (__arch_compare_and_exchange_val_8_acq)
21259 (__arch_compare_and_exchange_val_16_acq)
21260 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21261 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21262 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21263
a98275aa
UD
212642011-12-02 Joseph Myers <joseph@codesourcery.com>
21265
21266 * sysdeps/sh/backtrace.c: New file.
21267
d4cc29a2
AS
212682011-12-02 Andreas Schwab <schwab@redhat.com>
21269
21270 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21271 parenthesis.
21272
6257af2d
AS
212732011-12-01 Andreas Schwab <schwab@redhat.com>
21274
21275 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21276 falling back to utime.
21277
b5f44c1a
AS
212782011-11-30 Andreas Schwab <schwab@redhat.com>
21279
21280 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21281 expectations for float.
21282
f3a6cc0a
AS
212832011-11-29 Andreas Schwab <schwab@redhat.com>
21284
21285 * locale/weight.h (findidx): Add parameter len.
21286 * locale/weightwc.h (findidx): Likewise.
21287 * posix/fnmatch_loop.c (FCT): Adjust caller.
21288 * posix/regcomp.c (build_equiv_class): Likewise.
21289 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21290 * posix/regexec.c (check_node_accept_bytes): Likewise.
21291 * string/strcoll_l.c (STRCOLL): Likewise.
21292 * string/strxfrm_l.c (STRXFRM): Likewise.
21293
9d65ea3a
UD
212942011-11-17 Ulrich Drepper <drepper@gmail.com>
21295
21296 * Makefile.in: Remove CVSOPT handling.
21297 * configure.in: Remove use of AC_REVISION.
21298 * iconvdata/Makefile (distribute): No need to filter out CVS.
21299 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21300 handling.
21301
5583a086
AS
213022011-11-16 Andreas Schwab <schwab@redhat.com>
21303
21304 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21305 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21306 [USE_AS_STRNCASECMP_L]: Likewise.
21307 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21308 NO_TLS_DIRECT_SEG_REFS.
21309 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21310 Fix argument offsets for non-PIC.
21311 [USE_AS_STRNCASECMP_L]: Likewise.
21312 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21313 NO_TLS_DIRECT_SEG_REFS.
21314
d62a8200
UD
213152011-11-15 Ulrich Drepper <drepper@gmail.com>
21316
9d65ea3a 21317 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
21318 O_CLOEXEC.
21319 * locale/loadlocale.c (_nl_load_locale): Likewise.
21320
09f93bd3
AS
213212011-11-15 Andreas Schwab <schwab@redhat.com>
21322
446514f9
AS
21323 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21324 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21325 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21326 (SYSCALL_GETTIME): Set errno on error.
21327
09f93bd3
AS
21328 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21329 count references to noai6ai_cached.
21330
312be3f9
UD
213312011-11-15 Ulrich Drepper <drepper@gmail.com>
21332
21333 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21334
21335 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21336 FD_CLOEXEC for /proc/self/maps.
21337
21338 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21339 FD_CLOEXEC for /proc/meminfo.
21340
21341 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21342 gai.conf.
21343
21344 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21345 FD_CLOEXEC for given file.
21346
21347 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21348
21349 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21350 FD_CLOEXEC for /etc/hosts.
21351 (_gethtent): Likewise.
21352
21353 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21354
21355 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21356 cancellation and set FD_CLOEXEC for /etc/netgroup.
21357
21358 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21359 reading /etc/publickey.
21360
21361 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21362 allow cancellation when reading /etc/group.
21363
21364 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21365 cancellation.
21366 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21367
21368 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21369 when using data file.
21370
21371 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21372
21373 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21374 (write_nis_obj): Use "c" and "e" in fopen.
21375
21376 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21377
21378 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21379
21380 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21381
21382 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21383
21384 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21385 locale.alias.
21386
21387 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21388
21389 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21390
21391 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21392
21393 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21394 file parsing and set FD_CLOEXEC.
21395
82af0fa8
UD
213962011-11-14 Ulrich Drepper <drepper@gmail.com>
21397
21398 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21399
a5fb313c
AS
214002011-11-14 Andreas Schwab <schwab@redhat.com>
21401
21402 * malloc/arena.c (arena_get2): Don't call reused_arena when
21403 _int_new_arena failed.
21404
6abf3465
UD
214052011-11-14 Ulrich Drepper <drepper@gmail.com>
21406
21407 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21408 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21409 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21410 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21411 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21412 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21413 to compile strcasecmp and strncasecmp.
21414 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21415 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21416
21417 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21418
76e3966e
UD
214192011-11-13 Ulrich Drepper <drepper@gmail.com>
21420
21421 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21422 locale-defines.sym to gen-as-const-headers.
21423 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21424 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21425 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21426 to compile strcasecmp and strncasecmp.
21427 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21428 strcasecmp_l and strncasecmp_l.
21429 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21430 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21431 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21432 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21433 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21434 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21435 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21436 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21437 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21438 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21439 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21440
ab26144e
UD
214412011-11-12 Ulrich Drepper <drepper@gmail.com>
21442
7edb22ef
UD
21443 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21444 result of SYSDEP_GETTIME_CPU to retval.
21445 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21446 parameter list to macro. Remove trailing semicolon. Adjust users.
21447
9694fc44
UD
21448 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21449 variable.
21450
8ad89ef8
UD
21451 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21452 mantissa words.
21453 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21454
0c822ef9
UD
21455 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21456 from unused variable.
21457
874e0564
UD
21458 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21459 DWARF definitions.
21460 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21461 for assembling.
21462
3a2edc79
UD
21463 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21464 over namespaces.
21465
f3c2577f
UD
21466 * sunrpc/rpc_prot.c (rejected): Fix case value.
21467
294ce126
UD
21468 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21469 unsigned long long int to avoid warnings in shift.
21470
5e2b63c6
UD
21471 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21472 of use of trans.
21473 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21474 variable tmp.
21475
e7f4b08e
UD
21476 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21477 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21478 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21479
ab26144e
UD
21480 * nis/nis_table.c (nis_list): Use variable of correct type for
21481 result of __follow_path call.
21482
8a6d5255
AZ
214832011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21484
21485 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21486 of math functions ceil, trunc, floor, round, and sqrt, when
21487 avaliable on the platform.
21488 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21489 name clash.
21490 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21491 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21492 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21493
aaddc98c
MP
214942011-10-30 Marek Polacek <mpolacek@redhat.com>
21495
21496 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21497 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21498
95b7042b
RM
214992011-11-11 Roland McGrath <roland@hack.frob.com>
21500
21501 * include/unistd.h: Fix __readlink return type.
21502 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21503
57769839
UD
215042011-11-11 Ulrich Drepper <drepper@gmail.com>
21505
21506 * stdlib/ucontext.h: Undo last change for makecontext.
21507
edc5984d
AS
215082011-11-11 Andreas Schwab <schwab@redhat.com>
21509
98591e58
AS
21510 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21511
edc5984d
AS
21512 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21513 * setjmp/setjmp.h: Mark functions as non-leaf.
21514 * setjmp/bits/setjmp2.h: Likewise.
21515 * stdlib/ucontext.h: Likewise.
21516
77cdc054
AS
215172011-11-10 Andreas Schwab <schwab@redhat.com>
21518
21519 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21520 (reused_arena): Don't check arena limit.
21521 (arena_get2): Atomically check arena limit.
21522
fe72eebd
UD
215232011-11-08 Ulrich Drepper <drepper@gmail.com>
21524
5f078c32
UD
21525 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21526 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21527
fe72eebd
UD
21528 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21529 instructions.
21530
ae1bc2fa
AS
215312011-11-07 Andreas Schwab <schwab@redhat.com>
21532
7583a88d
AS
21533 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21534 handler when locking.
21535
ae1bc2fa
AS
21536 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21537 Fix size of allocated buffer.
21538
10fb0bfa
AS
215392011-11-04 Andreas Schwab <schwab@redhat.com>
21540
998832a4
AS
21541 [BZ #10103]
21542 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21543 declarations for long double functions.
21544 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21545
10fb0bfa
AS
21546 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21547
3d7ba52b
AS
215482011-11-03 Andreas Schwab <schwab@redhat.com>
21549
a9ae54a1
AS
21550 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21551 installed.
21552
3d7ba52b
AS
21553 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21554 is disabled.
21555
bc8db248
ST
215562011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21557
21558 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21559
45b96dd6
AS
215602011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21561
647776f6
AS
21562 * include/alloca.h (stackinfo_alloca_round): Define.
21563 (extend_alloca): Use it.
21564 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21565 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21566 here.
21567
d91a8b93
AS
21568 * scripts/check-local-headers.sh: Ignore libaudit.h.
21569
45b96dd6
AS
21570 * nscd/Makefile (extra-objs): Make recursively expanded.
21571
432d41ce
UD
215722011-11-01 Ulrich Drepper <drepper@gmail.com>
21573
34372fc6
UD
21574 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21575 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21576
fadb59f8
UD
21577 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21578 * posix/tst-rfc3484-2.c: Likewise.
21579 * posix/tst-rfc3484-3.c: Likewise.
21580
78239589
UD
21581 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21582 process_vm_writev.
21583 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21584 process_vm_writev.
21585 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21586 process_vm_writev from libc using GLIBC_2.15 version.
21587
432d41ce
UD
21588 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21589
02f9c6cf
PP
215902011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21591
21592 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21593 stack usage.
21594
3a2c0242
UD
215952011-10-31 Ulrich Drepper <drepper@gmail.com>
21596
f4ec4833
UD
21597 [BZ #13367]
21598 * nss/getent.c (initgroups_keys): Show error message in case no group
21599 names are given.
21600
3a2c0242
UD
21601 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21602 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21603 __bump_nl_timestamp.
21604 * nscd/connections (nscd_init): When host database is served open
21605 netlink socket and request notification about configuration changes.
21606 (main_loop_poll): Track netlink file descriptor and bump timestamp
21607 in case data becomes available.
21608 (main_loop_epoll): Likewise.
21609 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21610 (database_pers_head): Add extra_data fileds.
21611 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21612 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21613 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21614 Adjust caller.
21615 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21616 in6ai data, call __free_in6ai.
21617 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21618 Add -DHAVE_NETLINK.
21619 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21620 interface information. Reuse previous data if netlink timestamp
21621 is not changed.
21622 (__bump_nl_timestamp): New function.
21623 (__free_in6ai): New function.
21624
636064eb
UD
216252011-10-30 Ulrich Drepper <drepper@gmail.com>
21626
21627 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21628 close_not_cancel_no_status here.
21629 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21630
9beb2334
UD
216312011-10-29 Ulrich Drepper <drepper@gmail.com>
21632
6ef76f3b
UD
21633 [BZ #13276]
21634 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21635 return value.
21636
0ffc4f3e 21637 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
21638 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21639 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21640
cb95113e
UD
216412011-07-03 Andreas Jaeger <aj@suse.de>
21642
21643 [BZ #10709]
21644 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21645 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21646 * math/libm-test.inc (sin_test): Add test case.
21647
a1b560ff
UD
216482011-10-29 Ulrich Drepper <drepper@gmail.com>
21649
c9aaface
UD
21650 [BZ #13337]
21651 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21652 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21653
d272e7f1
UD
21654 * elf/chroot_canon.c (chroot_canon): Cleanups.
21655
1bc33071
UD
21656 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21657
1760874d
TJ
21658 [BZ #13335]
21659 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21660 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21661
51d91b18
UD
21662 * string/test-strchr.c: Make usable for strchrnul testing.
21663 * string/test-strchrnul.c: New file.
21664 * string/Makefile (strop-tests): Add strchrnul.
21665
a1b560ff 21666 * po/it.po: Update from translation team.
b611fb81 21667 * po/es.po: Likewise.
a1b560ff 21668
a5b81e1f
UD
216692011-10-28 Ulrich Drepper <drepper@gmail.com>
21670
fd52bc6d
UD
21671 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21672 the three constants needed as parameters. Drop the others.
21673 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21674 __m128i_strloadu_tolower.
52e4b9eb
UD
21675 Create and initialize variable zero and use it in all the places
21676 where _mm_setzero_si128 was used.
fd52bc6d 21677
a5b81e1f
UD
21678 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21679 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21680 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21681 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21682 anymore.
21683 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21684 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21685 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21686 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21687 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21688 __mpranred, __mptan.
21689 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21690 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21691 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21692 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21693 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21694 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21695 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21696 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21697 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21698
b4343346
AS
216992011-10-28 Andreas Schwab <schwab@redhat.com>
21700
0c92d8a8
AS
21701 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21702 redefine if SHARED.
21703 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21704
b4343346
AS
21705 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21706 wide char related routines to wcsmbs subdir.
21707
3871f58f
AS
217082011-10-27 Andreas Schwab <schwab@redhat.com>
21709
21710 [BZ #13344]
21711 * misc/sys/cdefs.h (__THROWNL): Define.
21712 * posix/unistd.h: Use __THREADNL instead of __THREAD
21713 for memory synchronization functions.
21714
94d44d9f
RM
217152011-10-26 Roland McGrath <roland@hack.frob.com>
21716
21b64b15 21717 [BZ #13349]
94d44d9f
RM
21718 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21719 doesn't exist.
21720 * manual/stdio.texi (Obstack Streams): Node removed.
21721
f6ce9294
AS
217222011-10-26 Andreas Schwab <schwab@redhat.com>
21723
80479147
AS
21724 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21725 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21726 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21727
f6ce9294
AS
21728 * math/math_private.h (math_force_eval): Allow non-addressable
21729 arguments.
21730 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21731
618280a1
UD
217322011-10-25 Ulrich Drepper <drepper@gmail.com>
21733
e0016b11
UD
21734 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21735 file is not needed.
21736
21737 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21738 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21739 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21740 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21741 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21742 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21743 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21744 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21745 Add AVX variants.
21746 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21747 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21748 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21749 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21750 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21751 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21752 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21753 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21754 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21755 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21756 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21757 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21758 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21759 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21760 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21761 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21762 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21763 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21764 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21765
21766 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21767 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21768
618280a1
UD
21769 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21770 place. Use VEX encoding when compiling for AVX.
21771
37822576
AS
217722011-10-25 Andreas Schwab <schwab@redhat.com>
21773
1f1e1947
AS
21774 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21775 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21776
37822576
AS
21777 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21778
31ea014d
UD
217792011-10-25 Ulrich Drepper <drepper@gmail.com>
21780
d7826aa1 21781 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 21782 useless if() expression.
d7826aa1
UD
21783 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21784 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21785 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21786 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21787 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21788 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21789 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21790 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21791 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21792 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21793 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21794 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21795 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21796 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21797 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21798 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21799 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21800 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21801 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21802
31ea014d
UD
21803 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21804
16437fec
AS
218052011-10-25 Andreas Schwab <schwab@redhat.com>
21806
21807 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21808 condition.
21809 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21810
31d3cc00
UD
218112011-10-25 Ulrich Drepper <drepper@gmail.com>
21812
21813 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21814 .text section. Avoid duplicate constants.
21815 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21816 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21817 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21818 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21819 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21820 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21821 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21822 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21823 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21824 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21825 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21826 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21827 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21828 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21829 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21830 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21831 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21832 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21833 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21834 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21835 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21836 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21837 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21838 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21839 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21840 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21841 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21842 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21843 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21844 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21845 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21846 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21847 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21848 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21849 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21850 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21851 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21852 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21853 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21854 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21855 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21856 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21857 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21858 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21859 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21860
58985aa9
UD
218612011-10-24 Ulrich Drepper <drepper@gmail.com>
21862
202c9deb
UD
21863 * sysdeps/x86_64/dla.h: Move to ...
21864 * sysdeps/x86_64/fpu/dla.h: ...here.
21865 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21866 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 21867
af968f62
UD
21868 * config.make.in: Add have-mfma4 entry.
21869 * configure.in: Substitute libc_cv_cc_fma4.
21870 * math/Makefile (dbl-only-routines): Add sincostab.
21871 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21872 Use __sincostab not sincos.
21873 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21874 name is a macro.
21875 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21876 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21877 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21878 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21879 using __copysign.
21880 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21881 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21882 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21883 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21884 and __inv.
21885 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21886 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21887 __copysign.
21888 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21889 define aliases when function name is a macro.
21890 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21891 sysdeps/ieee754/dbl-64/sincos.tbl.
21892 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21893 fma4-enabled routines.
21894 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21895 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21896 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21897 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21898 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21899 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21900 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21901 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21902 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21903 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21904 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21905 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21906 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21907 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21908 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21909 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21910 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21911 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21912 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21913 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21914 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21915 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21916 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21917 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21918 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21919 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21920 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21921 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21922 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21923 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21924
58985aa9
UD
21925 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21926 rename.
21927 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21928 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21929 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21930 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21931 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21932 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21933 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21934 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21935
a201fbcf
AS
219362011-10-24 Andreas Schwab <schwab@redhat.com>
21937
21938 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21939
fc2ee42a
LD
219402011-10-23 Ulrich Drepper <drepper@gmail.com>
21941
bb3129bd
UD
21942 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21943
0275fff8
UD
21944 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21945 prediction.
21946 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21947
2fa2ae85
UD
21948 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21949 Remove unused variable magic_bits.
21950 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21951
fc2ee42a
LD
21952 * string/strnlen.c: Define and use STRNLEN macro.
21953 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21954 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21955 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21956 * wcsmbs/wcslen.c: Define and use WCSLEN.
21957 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21958 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21959 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21960 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21961 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21962 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21963 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21964
ce7dd29f
LD
219652011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21966
21967 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21968 strnlen-sse2-no-bsf.
21969 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21970 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21971 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21972 Add strnlen support.
21973 (USE_AS_STRNLEN): New macro.
21974 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21975 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21976 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21977 * sysdeps/x86_64/wcslen.S: New file.
21978
979c70a3
MZ
219792011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21980
21981 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21982 XMM-moves are used for copying on small sizes.
21983
2d09f82f
LD
219842011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21985
21986 * wcsmbs/Makefile (strop-tests): Add wcschr.
21987 * wcsmbs/test-wcschr.c: New file.
21988 * string/test-strchr.c: Update.
21989 Add wcschr support.
21990 (WIDE): New macro.
21991
619fccca
LD
219922011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21993
2d09f82f 21994 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
21995 * wcsmbs/test-wcslen.c: New file.
21996 * string/test-strlen.c: Update.
21997 Add wcslen support.
21998 (WIDE): New macro.
21999
09f699ea
UD
220002011-10-23 Ulrich Drepper <drepper@gmail.com>
22001
22002 * po/it.po: Update from translation team.
22003
95584d3b
LD
220042011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22005
22006 * sysdeps/x86_64/wcscmp.S: Update.
22007 Fix wrong comparison semantics.
22008 wcscmp shall use signed comparison not unsigned.
22009 Don't use substraction to avoid overflow bug.
22010 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22011 * wcsmbc/wcscmp.c: Likewise.
22012 * string/test-strcmp.c: Likewise.
22013 Add new tests to check cases with negative values.
22014
c8b3296b
UD
220152011-10-23 Ulrich Drepper <drepper@gmail.com>
22016
22017 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22018 * sysdeps/x86_64/dla.h: ...here. New file.
22019 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22020 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22021 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22022 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22023 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22024 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22025 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22026 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22027 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22028
246ad57a
AS
220292011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22030
22031 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22032 __ynl_finite aliases.
22033
a1a87169
UD
220342011-10-22 Ulrich Drepper <drepper@gmail.com>
22035
0d355eb7
UD
22036 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22037
a1a87169
UD
22038 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22039 define DLA_FMA.
22040 [DLA_FMA] (EMULV): Use DLA_FMA.
22041 [DLA_FMA] (MUL12): Use EMULV.
22042 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22043 that are not needed.
22044 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22045 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22046 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22047 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22048 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22049 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22050 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22051
ee2aafe0
AS
220522011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22053
22054 * math/s_nan.c: Undef __nan.
22055 * math/s_nanf.c: Undef __nanf.
22056 * math/s_nanl.c: Undef __nanl.
22057 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22058 "math_private.h".
22059
bc62c2fb
UD
220602011-10-22 Ulrich Drepper <drepper@gmail.com>
22061
77425c63
UD
22062 * math/s_catan.c: Add branch predictions.
22063 * math/s_catanf.c: Likewise.
22064 * math/s_catanh.c: Likewise.
22065 * math/s_catanhf.c: Likewise.
22066 * math/s_catanhl.c: Likewise.
22067 * math/s_catanl.c: Likewise.
22068 * math/s_cexp.c: Likewise.
22069 * math/s_cexpf.c: Likewise.
22070 * math/s_cexpl.c: Likewise.
22071 * math/s_clog.c: Likewise.
22072 * math/s_clog10.c: Likewise.
22073 * math/s_clog10f.c: Likewise.
22074 * math/s_clog10l.c: Likewise.
22075 * math/s_clogf.c: Likewise.
22076 * math/s_clogl.c: Likewise.
22077 * math/s_csqrt.c: Likewise.
22078 * math/s_csqrtf.c: Likewise.
22079 * math/s_csqrtl.c: Likewise.
22080 * math/s_ctanf.c: Likewise.
22081 * math/s_ctanh.c: Likewise.
22082 * math/s_ctanhf.c: Likewise.
22083 * math/s_ctanhl.c: Likewise.
22084 * math/s_ctanl.c: Likewise.
22085
bc62c2fb
UD
22086 * math/math_private.h: Define __nan, __nanf, __nanl.
22087 * math/s_cacosh.c: Include <math_private.h>.
22088 * math/s_cacoshl.c: Likewise.
22089 * math/s_casinh.c: Likewise.
22090 * math/s_casinhf.c: Likewise.
22091 * math/s_casinhl.c: Likewise.
22092 * math/s_ccos.c: Rely entire on ccosh.
22093 * math/s_ccosf.c: Rely entire on ccoshf.
22094 * math/s_ccosl.c: Rely entirely on ccoshl.
22095 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22096 Remove tests for FE_INVALID.
22097 * math/s_ccoshf.c: Likewise.
22098 * math/s_ccoshl.c: Likewise.
22099 * math/s_csin.c: Likewise.
22100 * math/s_csinf.c: Likewise.
22101 * math/s_csinh.c Likewise.
22102 * math/s_csinhf.c: Likewise.
22103 * math/s_csinhl.c: Likewise.
22104 * math/s_csinl.c: Likewise.
22105 * math/s_ctan.c: Likewise.
22106 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22107 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22108 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22109
8ec250a4
UD
221102011-10-21 Ulrich Drepper <drepper@gmail.com>
22111
c196fed8
UD
22112 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22113 compilation problems.
22114
8ec250a4
UD
22115 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22116 __builtin_expect.
22117
8d4f46c6
UD
221182011-10-20 Ulrich Drepper <drepper@gmail.com>
22119
ed72b654
UD
22120 * sysdeps/i386/configure.in: Test for -mfma4 option.
22121 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22122 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22123 COMMON_CPUID_INDEX_80000001.
22124 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22125 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22126 use it if FMA3 is not supported.
22127 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22128
8d4f46c6
UD
22129 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22130 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22131
d45c60c2
AS
221322011-10-20 Andreas Schwab <schwab@redhat.com>
22133
22134 [BZ #12892]
22135 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22136 it would create a cycle with a link time dependency.
22137
d9a4d2ab
UD
221382011-10-19 Ulrich Drepper <drepper@gmail.com>
22139
855d1560
UD
22140 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22141 instruction.
22142 * string/Makefile (strop-tests): Add rawmemchr.
22143 * string/test-rawmemchr.c: New file.
22144
d9a4d2ab
UD
22145 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22146 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22147 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22148 when compiling str{,n}casecmp and when AVX is available. Hook up
22149 new optimized code in initializers.
22150
8f3b1ffe
AS
221512011-10-19 Andreas Schwab <schwab@redhat.com>
22152
22153 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22154 __feraiseexcept instead of feraiseexcept.
22155
d38f1dba
UD
221562011-10-18 Ulrich Drepper <drepper@gmail.com>
22157
d9a8d0ab
UD
22158 * math/math_private.h: Define defaults for libc_fetestexcept and
22159 libc_feupdateenv.
22160 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22161 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22162 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22163 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22164 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22165 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22166 libc_fetestexcept and libc_feupdateenv.
22167
4855e3dd
UD
22168 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22169 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22170 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22171 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22172 libc_feholdexcept_setround.
22173
581d30e3
UD
22174 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22175 Add s_nearbyint-c and s_nearbyintf-c.
22176 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22177 nearbyintf inlines.
22178 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22179 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22180 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22181 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22182
d38f1dba
UD
22183 * math/math_private.h: Define defaults for libc_fegetround,
22184 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22185 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22186 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22187 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22188 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22189 standard functions.
22190 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22191 Remove comments and hacks for old compiler versions.
22192 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22193 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22194 libc_feholdexceptl.
22195
caa6c9d8
AS
221962011-10-18 Andreas Schwab <schwab@redhat.com>
22197
22198 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
22199 (__feraiseexcept_renamed): Add __NTH.
22200 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
22201 namespace violations.
22202
97c066e6
UD
222032011-10-17 Ulrich Drepper <drepper@gmail.com>
22204
99ce7b04
UD
22205 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22206
1004d182
UD
22207 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22208
228a984d
UD
22209 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22210 recently added interfaces.
22211 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22212
c8553a6a
UD
22213 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22214 about macro parameter expansion.
22215
ed22dcf6
UD
22216 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22217 __NO_MATH_INLINES is defined. Cleanups.
22218
22219 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22220 and __floorf is target has SSE4.1.
22221 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22222 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22223 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22224 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22225
b171c137
UD
22226 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22227 name.
22228 (floorf): Likewise.
22229
97c066e6
UD
22230 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22231
629f62ef
AS
222322011-10-17 Andreas Schwab <schwab@redhat.com>
22233
49a43d80
AS
22234 * misc/sys/cdefs.h: Fix last change.
22235
629f62ef
AS
22236 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22237 database lookup.
22238
e453f6cd
UD
222392011-10-16 Ulrich Drepper <drepper@gmail.com>
22240
aa78043a
UD
22241 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22242
ad0f5cad
UD
22243 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22244 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22245 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22246 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22247 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22248 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22249 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22250 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22251 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22252 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22253 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22254 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22255 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22256 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22257 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22258 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22259 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22260 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22261 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22262 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22263 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22264 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22265
22266 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22267 ceil, ceilf, floor, floorf.
22268
22269 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22270 Perform IRELATIVE relocations last.
22271
e453f6cd
UD
22272 * elf/do-rel.h: Add another parameter nrelative, replacing the
22273 local variable with the same name. Change name of the function
22274 to end in Rel or Rela (uppercase).
22275 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22276 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22277 elf_dynamic_do_##reloc function.
22278
fd5bdc09
UD
222792011-10-15 Ulrich Drepper <drepper@gmail.com>
22280
79b195b5
UD
22281 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22282 is sufficient, at least on modern CPUs.
22283
d4a28569
UD
22284 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22285
b61099b5
UD
22286 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22287 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22288
bcf01e6d
UD
22289 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22290 __expl_finite.
22291 * math/bits/math-finite.h: Add entries for exp.
22292 * math/e_expl.c: Add __*_finite alias.
22293 * sysdeps/i386/fpu/e_exp.S: Likewise.
22294 * sysdeps/i386/fpu/e_expf.S: Likewise.
22295 * sysdeps/i386/fpu/e_expl.c: Likewise.
22296 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22297 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22298 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22299 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22300 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22301 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22302 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22303
ba1a0d59
UD
22304 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22305 is sufficient, at least on modern CPUs.
22306
fd5bdc09
UD
22307 * ctype/ctype-info.c (__ctype_init): Define.
22308 * include/ctype.h (__ctype_init): Declare.
22309 (__ctype_b_loc): The variable is always initialized.
22310 (__ctype_toupper_loc): Likewise.
22311 (__ctype_tolower_loc): Likewise.
22312 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22313 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22314
7872cfb0
AS
223152011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22316
b468825a
AS
22317 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22318
7872cfb0
AS
22319 * configure.in: Also look in $cxxmachine/include for C++ system
22320 headers.
22321
be13f7bf
LD
223222011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22323
22324 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22325 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22326 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22327 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22328 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22329 (USE_AS_WMEMCMP): New macro.
22330 Fixing indents.
22331 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22332 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22333 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22334 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22335 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22336 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22337 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22338 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22339 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22340 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22341 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22342 (USE_AS_WMEMCMP): New macro.
22343 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22344 * sysdeps/string/test-memcmp.c: Update.
22345 Fix simple_wmemcmp.
22346 Add new tests.
22347 * wcsmbs/wmemcmp.c: Update.
22348 (WMEMCMP): New macro.
22349 Fix overflow bug.
22350
556a2007
AJ
223512011-10-12 Andreas Jaeger <aj@suse.de>
22352
22353 [BZ #13268]
22354 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22355
538faaa7
UD
223562011-10-15 Ulrich Drepper <drepper@gmail.com>
22357
ab6737ff
UD
22358 * libio/iofwide.c (do_length): Avoid warning.
22359
538faaa7
UD
22360 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22361
396a21b1
UD
223622011-10-14 Ulrich Drepper <drepper@gmail.com>
22363
cdf2901f
UD
22364 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22365
38ad40ce
UD
22366 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22367 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22368 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22369 * sysdeps/i386/i686/fpu/e_log.S: New file.
22370 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22371 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22372
396a21b1
UD
22373 * ctype/ctype.h: Add support for inlined isXXX functions when
22374 compiling C++ code.
22375
6b1f68c9
AS
223762011-10-14 Andreas Schwab <schwab@redhat.com>
22377
349290c0
AS
22378 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22379
6b1f68c9
AS
22380 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22381
f2282d42
RM
223822011-10-13 Roland McGrath <roland@hack.frob.com>
22383
22384 [BZ #13291]
22385 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22386
5298ffa8
AS
223872011-10-13 Andreas Schwab <schwab@redhat.com>
22388
714fad23
AS
22389 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22390 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22391 feraiseexcept.
22392
81dcc7fb
AS
22393 * sysdeps/x86_64/memrchr.S: Check for zero size.
22394
5298ffa8
AS
22395 * string/stratcliff.c: Add memrchr tests.
22396
951fbcec
LD
223972011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22398
22399 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22400 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22401 rawmemchr-sse2 rawmemchr-sse2-bsf.
22402 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22403 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22404 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22405 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22406 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22407 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22408 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22409 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22410 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22411 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22412 * string/memrchr.c (MEMRCHR): New macro.
22413
0ac5ae23
UD
224142011-10-12 Ulrich Drepper <drepper@gmail.com>
22415
22416 Add integration with gcc's -ffinite-math-only and optimize wrapper
22417 functions in libm.
22418 * Versions.def: Define GLIBC_2.15 version for libm.
22419 * math/Makefile (headers): Add bits/math-finite.h.
22420 * math/bits/math-finite.h: New file.
22421 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22422 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22423 * math/e_acoshl.c: Add __*_finite alias.
22424 * math/e_acosl.c: Likewise.
22425 * math/e_asinl.c: Likewise.
22426 * math/e_atan2l.c: Likewise.
22427 * math/e_atanhl.c: Likewise.
22428 * math/e_coshl.c: Likewise.
22429 * math/e_exp10.c: Likewise.
22430 * math/e_exp10f.c: Likewise.
22431 * math/e_exp10l.c: Likewise.
22432 * math/e_exp2l.c: Likewise.
22433 * math/e_fmodl.c: Likewise.
22434 * math/e_gammal_r.c: Likewise.
22435 * math/e_hypotl.c: Likewise.
22436 * math/e_j0l.c: Likewise.
22437 * math/e_j1l.c: Likewise.
22438 * math/e_jnl.c: Likewise.
22439 * math/e_lgammal_r.c: Likewise.
22440 * math/e_log10l.c: Likewise.
22441 * math/e_log2l.c: Likewise.
22442 * math/e_logl.c: Likewise.
22443 * math/e_powl.c: Likewise.
22444 * math/e_sinhl.c: Likewise.
22445 * math/e_sqrtl.c: Likewise.
22446 * math/e_scalb.c: Completely rewritten and optimized.
22447 * math/e_scalbf.c: Likewise.
22448 * math/e_scalbl.c: Likewise.
22449 * math/w_acos.c: Likewise.
22450 * math/w_acosf.c: Likewise.
22451 * math/w_acosl.c: Likewise.
22452 * math/w_acosh.c: Likewise.
22453 * math/w_acoshf.c: Likewise.
22454 * math/w_acoshl.c: Likewise.
22455 * math/w_asin.c: Likewise.
22456 * math/w_asinf.c: Likewise.
22457 * math/w_asinl.c: Likewise.
22458 * math/w_atan2.c: Likewise.
22459 * math/w_atan2f.c: Likewise.
22460 * math/w_atan2l.c: Likewise.
22461 * math/w_atanh.c: Likewise.
22462 * math/w_atanhf.c: Likewise.
22463 * math/w_atanhl.c: Likewise.
22464 * math/w_exp10.c: Likewise.
22465 * math/w_exp10f.c: Likewise.
22466 * math/w_exp10l.c: Likewise.
22467 * math/w_fmod.c: Likewise.
22468 * math/w_fmodf.c: Likewise.
22469 * math/w_fmodl.c: Likewise.
22470 * math/w_j0.c: Likewise.
22471 * math/w_j0f.c: Likewise.
22472 * math/w_j0l.c: Likewise.
22473 * math/w_j1.c: Likewise.
22474 * math/w_j1f.c: Likewise.
22475 * math/w_j1l.c: Likewise.
22476 * math/w_jn.c: Likewise.
22477 * math/w_jnf.c: Likewise.
22478 * math/w_log.c: Likewise.
22479 * math/w_logf.c: Likewise.
22480 * math/w_logl.c: Likewise.
22481 * math/w_log10.c: Likewise.
22482 * math/w_log10f.c: Likewise.
22483 * math/w_log10l.c: Likewise.
22484 * math/w_log2.c: Likewise.
22485 * math/w_log2f.c: Likewise.
22486 * math/w_log2l.c: Likewise.
22487 * math/w_pow.c: Likewise.
22488 * math/w_powf.c: Likewise.
22489 * math/w_powl.c: Likewise.
22490 * math/w_remainder.c: Likewise.
22491 * math/w_remainderf.c: Likewise.
22492 * math/w_remainderl.c: Likewise.
22493 * math/w_scalb.c: Likewise.
22494 * math/w_scalbf.c: Likewise.
22495 * math/w_scalbl.c: Likewise.
22496 * math/w_sqrt.c: Likewise.
22497 * math/w_sqrtf.c: Likewise.
22498 * math/w_sqrtl.c: Likewise.
22499 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22500 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22501 used.
22502 * math/math_private.h: Declare __kernel_standard_f.
22503 * math/w_cosh.c: Remove cruft and optimize a bit.
22504 * math/w_coshf.c: Likewise.
22505 * math/w_coshl.c: Likewise.
22506 * math/w_exp2.c: Likewise.
22507 * math/w_exp2f.c: Likewise.
22508 * math/w_exp2l.c: Likewise.
22509 * math/w_hypot.c: Likewise.
22510 * math/w_hypotf.c: Likewise.
22511 * math/w_hypotl.c: Likewise.
22512 * math/w_lgamma.c: Likewise.
22513 * math/w_lgamma_r.c: Likewise.
22514 * math/w_lgammaf.c: Likewise.
22515 * math/w_lgammaf_r.c: Likewise.
22516 * math/w_lgammal.c: Likewise.
22517 * math/w_lgammal_r.c: Likewise.
22518 * math/w_sinh.c: Likewise.
22519 * math/w_sinhf.c: Likewise.
22520 * math/w_sinhl.c: Likewise.
22521 * math/w_tgamma.c: Likewise.
22522 * math/w_tgammaf.c: Likewise.
22523 * math/w_tgammal.c: Likewise.
22524 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22525 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22526 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22527 Minor optimizations. Pretty printing. Remove cruft.
22528 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22529 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22530 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22531 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22532 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22533 * sysdeps/i386/fpu/e_asin.S: Likewise.
22534 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22535 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22536 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22537 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22538 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22539 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22540 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22541 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22542 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22543 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22544 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22545 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22546 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22547 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22548 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22549 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22550 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22551 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22552 * sysdeps/i386/fpu/e_log.S: Likewise.
22553 * sysdeps/i386/fpu/e_log10.S: Likewise.
22554 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22555 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22556 * sysdeps/i386/fpu/e_log2.S: Likewise.
22557 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22558 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22559 * sysdeps/i386/fpu/e_logf.S: Likewise.
22560 * sysdeps/i386/fpu/e_logl.S: Likewise.
22561 * sysdeps/i386/fpu/e_pow.S: Likewise.
22562 * sysdeps/i386/fpu/e_powf.S: Likewise.
22563 * sysdeps/i386/fpu/e_powl.S: Likewise.
22564 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22565 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22566 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22567 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22568 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22569 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22570 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22571 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22572 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22573 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22574 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22575 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22576 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22577 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22578 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22579 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22580 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22581 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22582 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22583 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22584 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22585 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22586 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22587 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22588 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22589 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22590 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22591 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22592 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22593 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22594 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22595 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22596 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22597 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22598 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22599 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22600 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22601 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22602 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22603 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22604 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22605 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22606 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22607 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22608 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22609 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22610 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22611 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22612 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22613 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22614 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22615 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22616 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22617 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22618 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22619 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22620 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22621 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22622 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22623 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22624 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22625 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22626 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22627 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22628 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22629 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22630 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22631 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22632 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22633 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22634 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22635 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22636 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22637 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22638 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22639 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22640 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22641 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22642 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22643 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22644 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22645 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22646 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22647 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22648 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22649 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22650 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22651 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22652 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22653 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22654 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22655 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22656 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22657 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22658 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22659 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22660 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22661 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22662 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22663 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22664 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22665 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22666 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22667 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22668 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22669 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22670 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22671 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22672 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22673 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22674 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22675 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22676 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22677 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22678 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22679 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22680 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22681 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22682 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22683 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22684 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22685 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22686 (__isnanf): Likewise.
22687 (__isinf_ns): Likewise.
22688 (__isinf_nsf): Likewise.
22689 (__finite): Likewise.
22690 (__finitef): Likewise.
22691 (__ieee754_sqrt): Define as macro.
22692 (__ieee754_sqrtf): Define as macro.
22693 (__ieee754_sqrtl): Define as macro.
22694 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22695 inlined copy.
22696 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22697 __FINITE_MATH_ONLY__ consistent.
22698 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22699
12cc2fcd
AS
227002011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22701
a843a204
AS
22702 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22703 of rawmemchr.
22704
12cc2fcd
AS
22705 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22706
c853acd5
UD
227072011-10-09 Ulrich Drepper <drepper@gmail.com>
22708
22709 * po/ja.po: Update from translation team.
22710
c658d255
RM
227112011-10-08 Roland McGrath <roland@hack.frob.com>
22712
110946e4
RM
22713 * locale/programs/locarchive.c (prepare_address_space): New function.
22714 (create_archive, enlarge_archive, open_archive): Use it.
22715
50604220
RM
22716 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22717 inside [SHARED], where it is used.
22718
c658d255
RM
22719 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22720
22721 * nss/getent.c (netgroup_keys): Remove unused variable.
22722 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22723
6a621eb7
UD
227242011-10-08 Ulrich Drepper <drepper@gmail.com>
22725
7edb55ce
UD
22726 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22727 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22728 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22729 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22730 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22731 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22732 * math/Makefile (libm-calls): Add s_isinf_ns.
22733 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22734 * math/multc3.c: Likewise.
22735 * math/s_casin.c: Likewise.
22736 * math/s_casinf.c: Likewise.
22737 * math/s_casinl.c: Likewise.
22738 * math/s_ccos.c: Likewise.
22739 * math/s_ccosf.c: Likewise.
22740 * math/s_ccosl.c: Likewise.
22741 * math/s_ctan.c: Likewise.
22742 * math/s_ctanf.c: Likewise.
22743 * math/s_ctanh.c: Likewise.
22744 * math/s_ctanhf.c: Likewise.
22745 * math/s_ctanhl.c: Likewise.
22746 * math/s_ctanl.c: Likewise.
22747 * math/w_fmod.c: Likewise.
22748 * math/w_fmodf.c: Likewise.
22749 * math/w_fmodl.c: Likewise.
22750 * math/w_remainder.c: Likewise.
22751 * math/w_remainderf.c: Likewise.
22752 * math/w_remainderl.c: Likewise.
22753 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22754 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22755 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22756 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22757 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22758 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22759 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22760 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22761
187da0ae
UD
22762 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22763 of the number.
22764 * stdio-common/printf_fphex.c: Likewise.
22765 * stdio-common/printf_size.c: Likewise.
22766
9277c064
UD
22767 * math/e_exp10.c: Include math_private.h using <...> not "...".
22768 * math/e_exp10f.c: Likewise.
22769 * math/e_exp10l.c: Likewise.
22770 * math/e_exp2l.c: Likewise.
22771 * math/e_j0l.c: Likewise.
22772 * math/e_j1l.c: Likewise.
22773 * math/e_jnl.c: Likewise.
22774 * math/e_lgammal_r.c: Likewise.
22775 * math/e_rem_pio2l.c: Likewise.
22776 * math/e_scalb.c: Likewise.
22777 * math/e_scalbf.c: Likewise.
22778 * math/e_scalbl.c: Likewise.
22779 * math/k_cosl.c: Likewise.
22780 * math/k_sinl.c: Likewise.
22781 * math/k_tanl.c: Likewise.
22782 * math/s_cacoshf.c: Likewise.
22783 * math/s_catan.c: Likewise.
22784 * math/s_catanf.c: Likewise.
22785 * math/s_catanh.c: Likewise.
22786 * math/s_catanhf.c: Likewise.
22787 * math/s_catanhl.c: Likewise.
22788 * math/s_catanl.c: Likewise.
22789 * math/s_ccosh.c: Likewise.
22790 * math/s_ccoshf.c: Likewise.
22791 * math/s_ccoshl.c: Likewise.
22792 * math/s_cexp.c: Likewise.
22793 * math/s_cexpf.c: Likewise.
22794 * math/s_cexpl.c: Likewise.
22795 * math/s_clog.c: Likewise.
22796 * math/s_clog10.c: Likewise.
22797 * math/s_clog10f.c: Likewise.
22798 * math/s_clog10l.c: Likewise.
22799 * math/s_clogf.c: Likewise.
22800 * math/s_clogl.c: Likewise.
22801 * math/s_csin.c: Likewise.
22802 * math/s_csinf.c: Likewise.
22803 * math/s_csinh.c: Likewise.
22804 * math/s_csinhf.c: Likewise.
22805 * math/s_csinhl.c: Likewise.
22806 * math/s_csinl.c: Likewise.
22807 * math/s_csqrt.c: Likewise.
22808 * math/s_csqrtf.c: Likewise.
22809 * math/s_csqrtl.c: Likewise.
22810 * math/s_ctan.c: Likewise.
22811 * math/s_ctanf.c: Likewise.
22812 * math/s_ctanh.c: Likewise.
22813 * math/s_ctanhf.c: Likewise.
22814 * math/s_ctanhl.c: Likewise.
22815 * math/s_ctanl.c: Likewise.
22816 * math/s_ldexp.c: Likewise.
22817 * math/s_ldexpf.c: Likewise.
22818 * math/s_ldexpl.c: Likewise.
22819 * math/s_significand.c: Likewise.
22820 * math/s_significandf.c: Likewise.
22821 * math/s_significandl.c: Likewise.
22822 * math/w_acos.c: Likewise.
22823 * math/w_acosf.c: Likewise.
22824 * math/w_acosh.c: Likewise.
22825 * math/w_acoshf.c: Likewise.
22826 * math/w_acoshl.c: Likewise.
22827 * math/w_acosl.c: Likewise.
22828 * math/w_asin.c: Likewise.
22829 * math/w_asinf.c: Likewise.
22830 * math/w_asinl.c: Likewise.
22831 * math/w_atan2.c: Likewise.
22832 * math/w_atan2f.c: Likewise.
22833 * math/w_atan2l.c: Likewise.
22834 * math/w_atanh.c: Likewise.
22835 * math/w_atanhf.c: Likewise.
22836 * math/w_atanhl.c: Likewise.
22837 * math/w_cosh.c: Likewise.
22838 * math/w_coshf.c: Likewise.
22839 * math/w_coshl.c: Likewise.
22840 * math/w_dremf.c: Likewise.
22841 * math/w_exp10.c: Likewise.
22842 * math/w_exp10f.c: Likewise.
22843 * math/w_exp10l.c: Likewise.
22844 * math/w_exp2.c: Likewise.
22845 * math/w_exp2f.c: Likewise.
22846 * math/w_fmod.c: Likewise.
22847 * math/w_fmodf.c: Likewise.
22848 * math/w_fmodl.c: Likewise.
22849 * math/w_hypot.c: Likewise.
22850 * math/w_hypotf.c: Likewise.
22851 * math/w_hypotl.c: Likewise.
22852 * math/w_j0.c: Likewise.
22853 * math/w_j0f.c: Likewise.
22854 * math/w_j0l.c: Likewise.
22855 * math/w_j1.c: Likewise.
22856 * math/w_j1f.c: Likewise.
22857 * math/w_j1l.c: Likewise.
22858 * math/w_jn.c: Likewise.
22859 * math/w_jnf.c: Likewise.
22860 * math/w_jnl.c: Likewise.
22861 * math/w_lgamma.c: Likewise.
22862 * math/w_lgamma_r.c: Likewise.
22863 * math/w_lgammaf.c: Likewise.
22864 * math/w_lgammaf_r.c: Likewise.
22865 * math/w_lgammal.c: Likewise.
22866 * math/w_lgammal_r.c: Likewise.
22867 * math/w_log.c: Likewise.
22868 * math/w_log10.c: Likewise.
22869 * math/w_log10f.c: Likewise.
22870 * math/w_log10l.c: Likewise.
22871 * math/w_log2.c: Likewise.
22872 * math/w_log2f.c: Likewise.
22873 * math/w_log2l.c: Likewise.
22874 * math/w_logf.c: Likewise.
22875 * math/w_logl.c: Likewise.
22876 * math/w_pow.c: Likewise.
22877 * math/w_powf.c: Likewise.
22878 * math/w_powl.c: Likewise.
22879 * math/w_remainder.c: Likewise.
22880 * math/w_remainderf.c: Likewise.
22881 * math/w_remainderl.c: Likewise.
22882 * math/w_scalb.c: Likewise.
22883 * math/w_scalbf.c: Likewise.
22884 * math/w_scalbl.c: Likewise.
22885 * math/w_sinh.c: Likewise.
22886 * math/w_sinhf.c: Likewise.
22887 * math/w_sinhl.c: Likewise.
22888 * math/w_sqrt.c: Likewise.
22889 * math/w_sqrtf.c: Likewise.
22890 * math/w_sqrtl.c: Likewise.
22891 * math/w_tgamma.c: Likewise.
22892 * math/w_tgammaf.c: Likewise.
22893 * math/w_tgammal.c: Likewise.
22894
6a621eb7
UD
22895 * po/ja.po: Update from translation team.
22896
bf582445
AJ
228972011-09-29 Andreas Jaeger <aj@suse.de>
22898
f9efbf3a
AJ
22899 [BZ #13179]
22900 * sunrpc/netname.c (netname2host): Fix logic.
22901
bf582445
AJ
22902 [BZ #6779]
22903 [BZ #6783]
22904 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22905 correctly.
22906 * math/w_remainder.c (__remainder): Likewise.
22907 * math/w_remainderf.c (__remainderf): Likewise.
22908 * math/libm-test.inc (remainder_test): Add test cases.
22909
48693bea
AK
229102011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22911
22912 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22913 sdiv_qrnnd.
22914
42622229
LD
229152011-10-07 Ulrich Drepper <drepper@gmail.com>
22916
22917 * string/test-memcmp.c: Avoid unncessary #defines.
22918 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22919
093ecf92
LD
229202011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22921
22922 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22923 Use new sse2 version for core i3 - i7 as it's faster
22924 than sse42 version.
22925 (bit_Prefer_PMINUB_for_stringop): New.
22926 * sysdeps/x86_64/rawmemchr.S: Update.
22927 Replace with faster SSE2 version.
22928 * sysdeps/x86_64/memrchr.S: New file.
22929 * sysdeps/x86_64/memchr.S: Update.
22930 Replace with faster SSE2 version.
22931
fde56e5c
MP
229322011-09-12 Marek Polacek <mpolacek@redhat.com>
22933
22934 * elf/dl-load.c (lose): Add cast to avoid warning.
22935
21fd49a9
UD
229362011-10-07 Ulrich Drepper <drepper@gmail.com>
22937
5a06e643
UD
22938 * po/ca.po: Update from translation team.
22939
684ae515
UD
22940 * inet/getnetgrent_r.c: Hook up nscd.
22941 * nscd/Makefile (routines): Add nscd_netgroup.
22942 (nscd-modules): Add netgroupcache.
22943 (CFLAGS-netgroupcache.c): Define.
22944 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22945 (cache_search): Add const to second parameter.
22946 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22947 INNETGR.
22948 (dbs): Add netgrdb entry.
22949 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22950 (verify_persistent_db): Handle netgrdb.
22951 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22952 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22953 GETFDNETGR.
22954 (netgroup_response_header): Define.
22955 (innetgroup_response_header): Define.
22956 (datahead): Add netgroup_response_header and innetgroup_response_header
22957 elements.
22958 * nscd/nscd.conf: Add entries for netgroup cache.
22959 * nscd/nscd.h (dbtype): Add netgrdb.
22960 (_PATH_NSCD_NETGROUP_DB): Define.
22961 (netgroup_iov_disabled): Declare.
22962 (xmalloc, xcalloc, xrealloc): Move declarations here.
22963 (cache_search): Adjust prototype.
22964 Add netgroup-related prototypes.
22965 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22966 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22967 (__nscd_innetgr): Declare.
22968 * nscd/selinux.c (perms): Use access_vector_t as element type and
22969 add netgroup-related initializers.
22970 * nscd/netgroupcache.c: New file.
22971 * nscd/nscd_netgroup.c: New file.
22972 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22973 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22974 For four parameters use innetgr.
22975 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22976 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22977 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22978 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22979
21fd49a9
UD
22980 * nscd/connections.c (register_traced_file): Don't register file
22981 for disabled databases.
22982
054c0457
UD
229832011-10-06 Ulrich Drepper <drepper@gmail.com>
22984
32b63198
UD
22985 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22986
054c0457
UD
22987 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22988 from tree and freeing node.
22989
64031225
JO
229902011-09-25 Jiri Olsa <jolsa@redhat.com>
22991
22992 * nss/nsswitch.c (__nss_database_lookup): Handle
22993 nss_parse_service_list out of memory case.
22994
0490345c
JO
229952011-09-15 Jiri Olsa <jolsa@redhat.com>
22996
22997 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
22998 out of memory case.
22999
3a62d00d
AS
230002011-10-04 Andreas Schwab <schwab@redhat.com>
23001
23002 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23003 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23004 pass it down.
23005 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23006 elf_machine_rela, elf_machine_lazy_rel.
23007 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23008 (ELF_DYNAMIC_DO_REL): Likewise.
23009 (ELF_DYNAMIC_DO_RELA): Likewise.
23010 (ELF_DYNAMIC_RELOCATE): Likewise.
23011 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23012 to ELF_DYNAMIC_DO_REL.
23013 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23014 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23015 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23016 elf_machine_rela.
23017 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23018 skip_ifunc, don't call ifunc function if non-zero.
23019 (elf_machine_rela): Likewise.
23020 (elf_machine_lazy_rel): Likewise.
23021 (elf_machine_lazy_rela): Likewise.
23022 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23023 (elf_machine_lazy_rel): Likewise.
23024 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23025 Likewise.
23026 (elf_machine_lazy_rel): Likewise.
23027 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23028 Likewise.
23029 (elf_machine_lazy_rel): Likewise.
23030 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23031 (elf_machine_lazy_rel): Likewise.
23032 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23033 (elf_machine_lazy_rel): Likewise.
23034 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23035 (elf_machine_lazy_rel): Likewise.
23036 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23037 (elf_machine_lazy_rel): Likewise.
23038 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23039 (elf_machine_lazy_rel): Likewise.
23040 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23041 (elf_machine_lazy_rel): Likewise.
23042
68577918
UD
230432011-09-28 Ulrich Drepper <drepper@gmail.com>
23044
23045 * nss/nss_files/files-init.c (_nss_files_init): Use static
23046 initialization for all the *_traced_file variables.
23047
68822d74
AS
230482011-09-28 Andreas Schwab <schwab@redhat.com>
23049
23050 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23051
2056100b
RM
230522011-09-27 Roland McGrath <roland@hack.frob.com>
23053
23054 [BZ #13226]
23055 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23056
32c76b63
AS
230572011-09-27 Andreas Schwab <schwab@redhat.com>
23058
23059 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23060 Reread the line before reparsing it.
23061
bf972c9d
AS
230622011-09-26 Andreas Schwab <schwab@redhat.com>
23063
23064 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23065
e057a1b5
JM
230662011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23067 Maxim Kuvyrkov <maxim@codesourcery.com>
23068 Joseph Myers <joseph@codesourcery.com>
23069
23070 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23071 if needed for __stack_chk_guard.
23072
bc7e1c36
RM
230732011-09-19 Roland McGrath <roland@hack.frob.com>
23074
ecb1482f
RM
23075 * sysdeps/posix/spawni.c (script_execute): Always define it.
23076 It will be optimized away if unused.
23077 (maybe_script_execute): New function.
23078 (__spawni): Call it.
23079
bc7e1c36
RM
23080 * Makerules: Don't include tls.make.
23081 (config-tls): Always set to thread.
23082 * tls.make.c: File removed.
23083
1c3b002b
MF
230842011-09-19 Mike Frysinger <vapier@gentoo.org>
23085
23086 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23087 * config.make.in (CPPFLAGS-config): New substituted variable.
23088
2840865d
UD
230892011-09-15 Ulrich Drepper <drepper@gmail.com>
23090
88738eb6
UD
23091 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23092
cbf645a6 23093 [BZ #13192]
2840865d
UD
23094 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23095 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23096
b402e91a
RM
230972011-09-15 Roland McGrath <roland@hack.frob.com>
23098
23099 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23100 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23101 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23102 (CALL_FAIL): Likewise.
23103 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23104 (CALL_FAIL): Macro removed.
23105 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23106
4c1a1f71
UD
231072011-09-15 Ulrich Drepper <drepper@gmail.com>
23108
23109 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23110 for __FINITE_MATH_ONLY__ == 1.
23111
edc121be
AS
231122011-09-15 Andreas Schwab <schwab@redhat.com>
23113
23114 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23115 __ieee754_sqrt instead of sqrt.
23116 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23117 __ieee754_sqrtf instead of sqrtf.
23118 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23119 __floorf instead of floorf.
23120 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23121 __floorf, __truncf instead of floorf, truncf.
23122
cd205654
UD
231232011-09-14 Ulrich Drepper <drepper@gmail.com>
23124
ee4d0315
UD
23125 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23126
cd205654
UD
23127 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23128 __extern_always_inline.
23129 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23130 32-bit.
23131
48b67d71
AS
231322011-09-14 Andreas Schwab <schwab@redhat.com>
23133
23134 * elf/rtld.c (dl_main): Also relocate in dependency order when
23135 doing symbol dependency testing.
23136
1ae12c75
AS
231372011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23138
23139 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23140 Always define `refsym'.
23141
995a80df
AS
231422011-09-13 Andreas Schwab <schwab@redhat.com>
23143
e529793b
AS
23144 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23145 (__FD_ELT): Renamed from __FDELT.
23146 * misc/bits/select2.h (__FD_ELT): Likewise.
23147 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23148 __FD_MASK instead of __FDELT, __FDMASK.
23149 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23150 Likewise.
23151 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23152 Likewise.
23153
52d4fef8
AS
23154 * elf/Makefile (gen-ldd): Fix pattern.
23155
995a80df
AS
23156 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23157 (init_tls): Likewise.
23158
8682f8b0
UD
231592011-09-12 Ulrich Drepper <drepper@gmail.com>
23160
23161 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23162
de82006d
AS
231632011-09-12 Andreas Schwab <schwab@redhat.com>
23164
a7c8e6a1
AS
23165 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23166 `struct cmsghdr *' instead of `void *'.
23167 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23168 Likewise.
23169
0f31fe77
AS
231702011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23171
23172 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23173 if non-absolute.
23174 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23175 ldd_rewrite_script.
0f31fe77 23176
32b4c839
UD
231772011-09-11 Ulrich Drepper <drepper@gmail.com>
23178
83cd1420
UD
23179 * configure.in: Remove --with-tls option.
23180 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23181 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23182 out in case it is missing.
23183 * sysdeps/ia64/elf/configure.in: Likewise.
23184 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23185 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23186 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23187 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23188 * sysdeps/sh/elf/configure.in: Likewise.
23189 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23190 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23191 * sysdeps/x86_64/elf/configure.in: Likewise.
23192 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23193 * sysdeps/mach/hurd/tls.h: Likewise.
23194
633f745d
UD
23195 [BZ #13067]
23196 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23197
f318beb8
UD
23198 [BZ #13090]
23199 * configure.in: Fix use of AC_INIT.
23200
32b4c839
UD
23201 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23202
3ce1f295
UD
232032011-09-10 Ulrich Drepper <drepper@gmail.com>
23204
bb016596
UD
23205 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23206 __set_errno.
8e58439c
UD
23207 * malloc/hooks.c: Likewise.
23208
aebae053 23209 [BZ #11929]
02d46fc4
UD
23210 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23211 variables statically.
23212 (narenas): Initialize.
23213 (list_lock): Initialize.
bb016596
UD
23214 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23215 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
23216 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23217 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23218 Add initializers to main_arena and mp_.
23219 (malloc_state): Remove pagesize member. Change all users to use
23220 GLRO(dl_pagesize).
23221
23222 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23223 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23224 is always initialized.
23225
22a89187
UD
23226 * malloc/malloc.c: Removed unused configurations and dead code.
23227 * malloc/arena.c: Likewise.
23228 * malloc/hooks.c: Likewise.
02d46fc4 23229 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 23230
d063d164
UD
23231 * include/tls.h: Removed. USE___THREAD must always be defined.
23232 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23233 * elf/dl-libc.c: Likewise.
23234 * elf/dl-tsd.c: Likewise.
23235 * include/errno.h: Likewise.
23236 * include/netdb.h: Likewise.
23237 * include/resolv.h: Likewise.
23238 * inet/herrno-loc.c: Likewise.
23239 * inet/herrno.c: Likewise.
23240 * malloc/arena.c: Likewise.
23241 * malloc/hooks.c: Likewise.
23242 * malloc/malloc.c: Likewise.
23243 * resolv/res-state.c: Likewise.
23244 * resolv/res_libc.c: Likewise.
23245 * sysdeps/i386/dl-machine.h: Likewise.
23246 * sysdeps/ia64/dl-machine.h: Likewise.
23247 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23248 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23249 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23250 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23251 * sysdeps/sh/dl-machine.h: Likewise.
23252 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23253 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23254 * sysdeps/unix/i386/sysdep.S: Likewise.
23255 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23256 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23257 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23258 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23259 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23260 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23261 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23262 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23263 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23264 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23265 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23266 * sysdeps/x86_64/dl-machine.h: Likewise.
23267 * tls.make.c: Likewise.
23268
3ce1f295
UD
23269 * configure.in: Remove --with-__thread option. Make tests for
23270 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23271 tls_model attribute fail if no support is available. Remove
23272 USE_IN_LIBIO.
23273 * Makeconfig: Adjust for dropped configure option. All features are
23274 now mandatory.
23275 * Makerules: Likewise.
23276 * Versions.def: Likewise.
23277 * argp/argp-fmtstream.c: Likewise.
23278 * argp/argp-fmtstream.h: Likewise.
23279 * argp/argp-help.c: Likewise.
23280 * assert/assert.c: Likewise.
23281 * config.h.in: Likewise.
23282 * config.make.in: Likewise.
23283 * configure: Likewise.
23284 * configure.in: Likewise.
23285 * csu/Versions: Likewise.
23286 * csu/init.c: Likewise.
23287 * elf/tst-audit2.c: Likewise.
23288 * elf/tst-tls10.c: Likewise.
23289 * elf/tst-tls10.h: Likewise.
23290 * elf/tst-tls11.c: Likewise.
23291 * elf/tst-tls12.c: Likewise.
23292 * elf/tst-tls14.c: Likewise.
23293 * elf/tst-tlsmod11.c: Likewise.
23294 * elf/tst-tlsmod12.c: Likewise.
23295 * elf/tst-tlsmod13.c: Likewise.
23296 * elf/tst-tlsmod13a.c: Likewise.
23297 * elf/tst-tlsmod14a.c: Likewise.
23298 * elf/tst-tlsmod15b.c: Likewise.
23299 * elf/tst-tlsmod16a.c: Likewise.
23300 * elf/tst-tlsmod16b.c: Likewise.
23301 * elf/tst-tlsmod7.c: Likewise.
23302 * elf/tst-tlsmod8.c: Likewise.
23303 * elf/tst-tlsmod9.c: Likewise.
23304 * gmon/gmon.c: Likewise.
23305 * grp/fgetgrent_r.c: Likewise.
23306 * grp/putgrent.c: Likewise.
23307 * hurd/fopenport.c: Likewise.
23308 * include/libc-symbols.h: Likewise.
23309 * include/tls.h: Likewise.
23310 * intl/gettextP.h: Likewise.
23311 * intl/loadinfo.h: Likewise.
23312 * locale/global-locale.c: Likewise.
23313 * locale/localeinfo.h: Likewise.
23314 * mach/devstream.c: Likewise.
23315 * malloc/arena.c: Likewise.
23316 * malloc/set-freeres.c: Likewise.
23317 * misc/err.c: Likewise.
23318 * misc/getttyent.c: Likewise.
23319 * misc/mntent_r.c: Likewise.
23320 * posix/getopt.c: Likewise.
23321 * posix/wordexp.c: Likewise.
23322 * pwd/fgetpwent_r.c: Likewise.
23323 * resolv/Versions: Likewise.
23324 * resolv/res_hconf.c: Likewise.
23325 * shadow/fgetspent_r.c: Likewise.
23326 * shadow/putspent.c: Likewise.
23327 * stdio-common/printf_fphex.c: Likewise.
23328 * stdio-common/tmpfile.c: Likewise.
23329 * stdlib/abort.c: Likewise.
23330 * stdlib/fmtmsg.c: Likewise.
23331 * sunrpc/auth_unix.c: Likewise.
23332 * sunrpc/clnt_perr.c: Likewise.
23333 * sunrpc/clnt_tcp.c: Likewise.
23334 * sunrpc/clnt_udp.c: Likewise.
23335 * sunrpc/clnt_unix.c: Likewise.
23336 * sunrpc/openchild.c: Likewise.
23337 * sunrpc/svc_simple.c: Likewise.
23338 * sunrpc/svc_tcp.c: Likewise.
23339 * sunrpc/svc_udp.c: Likewise.
23340 * sunrpc/svc_unix.c: Likewise.
23341 * sunrpc/xdr.c: Likewise.
23342 * sunrpc/xdr_array.c: Likewise.
23343 * sunrpc/xdr_rec.c: Likewise.
23344 * sunrpc/xdr_ref.c: Likewise.
23345 * sunrpc/xdr_stdio.c: Likewise.
23346
1248c1c4
PB
233472011-09-09 Ulrich Drepper <drepper@gmail.com>
23348
23349 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23350
233512011-07-03 Andreas Jaeger <aj@suse.de>
23352
23353 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23354 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23355 regenerate with gen-libm-tests.pl.
23356
233572010-05-12 Petr Baudis <pasky@suse.cz>
23358
23359 [BZ #11589]
23360 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23361 around j0() zero points by switching to j1().
23362 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23363 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23364 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23365 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23366
f22e1074
UD
233672011-09-09 Ulrich Drepper <drepper@gmail.com>
23368
f19009c1
UD
23369 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23370 instead of 0.
23371 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 23372 instead of 0.
f19009c1
UD
23373 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23374 Patch in part by Pavel Roskin <proski@gnu.org>.
23375
3f8cc204
UD
23376 [BZ #13138]
23377 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23378 realloc.
23379 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23380 Free memory block if necessary.
23381
f22e1074
UD
23382 [BZ #12847]
23383 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23384 be NULL. Don't lock in this case.
23385
0a2349f9
RM
233862011-09-09 Roland McGrath <roland@hack.frob.com>
23387
23388 * elf/elf.h (ELFOSABI_GNU): New macro.
23389 (ELFOSABI_LINUX): Define to that.
23390
f3cdd467
DZ
233912011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23392
23393 * string/strncat.c (strncat): Undef the symbol in case it has been
23394 defined in bits/string.h.
23395
74718d13
UD
233962011-09-09 Ulrich Drepper <drepper@gmail.com>
23397
633e9e0f
UD
23398 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23399
0a2349f9 23400 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
23401 link map.
23402
f9924780
AJ
234032011-08-17 Andreas Jaeger <aj@suse.de>
23404
23405 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23406
7f5517aa
PP
234072011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23408 Ian Lance Taylor <iant@google.com>
23409
23410 * math/libm-test.inc (lround_test): New testcase.
23411 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23412
762011fe
UD
234132011-09-08 Ulrich Drepper <drepper@gmail.com>
23414
92963737
UD
23415 * Makefile: Remove support for automatic cvs check-ins.
23416 * Makerules: Likewise.
23417 * config.make.in: Likewise.
23418 * configure.in: Likewise.
23419 * intl/Makefile: Likewise.
23420 * locale/Makefile: Likewise.
23421 * po/Makefile: Likewise.
23422 * posix/Makefile: Likewise.
23423 * sysdeps/gnu/Makefile: Likewise.
23424 * sysdeps/mach/hurd/Makefile: Likewise.
23425 * sysdeps/sparc/sparc32/Makefile: Likewise.
23426
b0727fd8
JS
23427 [BZ #13118]
23428 * posix/Makefile (bug-regex32-ENV): Define.
23429 Patch by John Stanley <jpsinthemix@verizon.net>.
23430
a0f33f99
UD
23431 * misc/Makefile (headers): Add bits/select2.h.
23432 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23433 * misc/bits/select2.h: New file.
23434 * include/bits/select2.h: New file.
23435 * debug/Makefile (routines): Add fdelt_chk.
23436 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23437 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23438 FD_ISSET.
23439 * debug/fdelt_chk.c: New file.
23440
762011fe
UD
23441 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23442 * wcsmbs/test-wmemcmp.c: Likewise.
23443 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 23444 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
23445
234462011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23447
23448 * string/Makefile (strop-tests): Add memcmp.
23449 * string/test-wmemcmp.c: New file.
23450 * string/test-memcmp.c: Add wmemcmp support.
23451
7f513ec8
RM
234522011-09-08 Roland McGrath <roland@hack.frob.com>
23453
0442afb4
RM
23454 [BZ #13153]
23455 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23456 2011-07-19 change.
23457
7f513ec8
RM
23458 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23459 garbage value in a __mach_port_mod_refs call in the cases of the
23460 task-self and thread-self ports.
23461
a12b2239
ST
234622011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23463
23464 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23465
610f9ab4
AS
234662011-09-08 Andreas Schwab <schwab@redhat.com>
23467
7f513ec8 23468 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 23469
48882a1a
LD
234702011-09-07 Ulrich Drepper <drepper@gmail.com>
23471
b49865be
UD
23472 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23473
fdc86bc9
UD
23474 * elf/dl-libc.c (dlerror_run): Pass back error code from
23475 dl_catch_error.
23476
c966526a
UD
23477 [BZ #13123]
23478 * elf/dl-load.c (lose): Free l_origin if it is valid.
23479
48882a1a
LD
23480 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23481 names.
23482 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23483 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23484 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23485 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23486 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23487 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23488
77a2a8b4
AZ
234892011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23490
23491 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23492 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23493 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23494 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23495 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23496 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23497 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23498 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23499 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23500 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23501
24f579d8
AM
235022011-08-15 Alan Modra <amodra@gmail.com>
23503
23504 [BZ #13092]
23505 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23506 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23507 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23508 ppc_mcount to static-only-routines.
23509 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23510 __mcount_internal.
23511 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23512 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23513
3d4837df
UD
235142011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23515
23516 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23517 for finite and infinity parameters.
23518
22700377
WS
235192011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23520
23521 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23522 and add nop instructions for throughput optimization.
23523 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23524
5025581e
WS
235252011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23526
23527 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23528 aligned copy for power7 with vector-scalar instructions.
23529 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23530
08a300c9
L
235312011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23532
23533 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23534 AVX check.
23535
59178ef9
AS
235362011-09-07 Andreas Schwab <schwab@redhat.com>
23537
23538 [BZ #13144]
23539 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23540 last change.
23541
e38ba7ab
UD
235422011-09-07 Ulrich Drepper <drepper@gmail.com>
23543
23544 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23545 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23546 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23547 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23548 clock_gettime.
23549
d53a73ac
UD
235502011-09-06 Ulrich Drepper <drepper@gmail.com>
23551
fc8bffcc
UD
23552 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23553 Forgot to demangle the pointer.
23554
ceaa0c5d
UD
23555 * sysdeps/i386/sysdep.h: Define atom_text_section.
23556 * sysdeps/x86_64/sysdep.h: Likewise.
23557 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23558 section with atom_text_section.
23559 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23560 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23561 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23562 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23563 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23564
a77d3c17
UD
23565 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23566 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23567 already be defined. Change to take two parameters and don't assign
23568 result to variable. Adjust all users.
23569 Define INTERNAL_GETTIME if not already defined.
23570 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23571 call.
23572 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23573 HAVE_CLOCK_GETTIME_VSYSCALL.
23574 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23575
d53a73ac
UD
23576 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23577 gettimeofday vsyscall, just use time.
23578
a8f84144
AS
235792011-09-06 Andreas Schwab <schwab@redhat.com>
23580
23581 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23582 <errno.h>.
23583
ef606249
UD
235842011-09-06 Ulrich Drepper <drepper@gmail.com>
23585
23586 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23587 syscall on x86-64.
23588 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23589 syscall.
23590 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23591 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23592 syscall if possible.
23593
6585cb60
UD
235942011-09-05 Ulrich Drepper <drepper@gmail.com>
23595
23596 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23597 e_ident. Don't pass to find_mapsXX.
23598 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23599
a5f524e4
LD
236002011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23601
23602 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23603 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23604 * sysdeps/x86_64/multiarch/strchr.S: Update.
23605 Check bit_slow_BSF bit.
23606 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23607 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23608 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23609
554881ef
UD
236102011-09-05 Ulrich Drepper <drepper@gmail.com>
23611
d96de963
UD
23612 [BZ #13134]
23613 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23614 before glibc 2.15.
23615 (tryshell): Define.
23616 (__spawni): Change last parameter to be flag. Test
23617 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23618 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23619 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23620 * posix/spawni.c: Likewise.
23621 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23622 * posix/spawnp.c: Likewise. Change normal version to use
23623 SPAWN_XFLAGS_USE_PATH.
23624 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23625 SPAWN_XFLAGS_TRY_SHELL.
23626
d48e5868
UD
23627 [BZ #13150]
23628 * posix/glob.h: Remove gcc 1.x support.
23629
554881ef
UD
23630 [BZ #13068]
23631 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23632
693fb948
LD
236332011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23634
23635 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23636 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23637 strrchr-sse2-bsf
23638 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23639 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23640 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23641 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23642 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23643 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23644
1b48c537
UD
236452011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23646
49d42c37
UD
23647 * sysdeps/x86_64/wcscmp.S: New file.
23648
1b48c537
UD
23649 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23650 wcscmp-c wcscmp-sse2
23651 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23652 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23653 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23654 * wcsmbs/wcscmp.c: Allow renaming.
23655
15c95c5d
DM
236562011-09-05 David S. Miller <davem@davemloft.net>
23657
23658 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23659 stack slot, rather than the struct return pointer slot.
23660 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23661 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23663 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23664
2f0ad8f3
UD
236652011-09-05 Ulrich Drepper <drepper@gmail.com>
23666
d88ae418
UD
23667 * po/ja.po: Update from translation team.
23668
2f0ad8f3
UD
23669 [BZ #13144]
23670 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23671 kernel in 64-bit binaries.
23672
5f4318d1
DM
236732011-09-01 David S. Miller <davem@davemloft.net>
23674
23675 * elf/elf.h (HWCAP_SPARC_*): Move to..
23676 * sysdeps/sparc/sysdep.h: this new file and add new values.
23677 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23678 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23679 _DL_HWCAP_COUNT to 24.
23680 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23681 entries.
23682 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23683 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23684 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23685 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23686 instead of magic constants.
23687 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23688
3ba57516
DM
236892011-08-31 David S. Miller <davem@davemloft.net>
23690
23691 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23692 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23693 Reimplement to do errno handling inline.
23694 (SYSCALL_ERROR_HANDLER): New macro.
23695 (__SYSCALL_STRING): Do not do errno handling in asm.
23696 (__CLONE_SYSCALL_STRING): Delete.
23697 (__INTERNAL_SYSCALL_STRING): Delete.
23698 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23699 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23700 (PSEUDO): Reimplement to do errno handling inline.
23701 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23702 (SYSCALL_ERROR_HANDLER): New macro.
23703 (__SYSCALL_STRING): Do not do errno handling in asm.
23704 (__CLONE_SYSCALL_STRING): Delete.
23705 (__INTERNAL_SYSCALL_STRING): Delete.
23706 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23707 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23708 i386.
23709 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23710 (inline_syscall*): Add 'err' argument.
23711 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23712 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23713 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23714 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23715
23716 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23717 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23718
2bc17433
AS
237192011-08-30 Andreas Schwab <schwab@redhat.com>
23720
23721 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23722
fbeb5f4d
JO
237232011-08-29 Jiri Olsa <jolsa@redhat.com>
23724
23725 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23726 directive.
23727
ad69cc26
DM
237282011-08-24 David S. Miller <davem@davemloft.net>
23729
23730 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23731
39dd69df
AS
237322011-08-24 Andreas Schwab <schwab@redhat.com>
23733
23734 * elf/Makefile: Add rules to build and run unload8 test.
23735 * elf/unload8.c: New file.
23736 * elf/unload8mod1.c: New file.
23737 * elf/unload8mod1x.c: New file.
23738 * elf/unload8mod2.c: New file.
23739 * elf/unload8mod3.c: New file.
23740
23741 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23742 it wasn't used.
23743
2c0b250a
DM
237442011-08-23 David S. Miller <davem@davemloft.net>
23745
23746 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23747 subtract stack bias.
23748 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23749 %sp not %fp in calculations.
23750 (_JMPBUF_UNWINDS_ADJ): Likewise.
23751
22044b48
DM
23752 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23753 (aio_suspend): Call it to force an exception region around the
23754 AIO_MISC_WAIT() invocation.
23755
2cae4995
AS
237562011-08-23 Andreas Schwab <schwab@redhat.com>
23757
23758 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23759 backslash.
23760
873a772e
AJ
237612011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23762
23763 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23764 protection macro.
23765 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23766 and <dl-machine.h>.
23767 (Elf64_FuncDesc): Remove.
23768
25ad0df1
DM
237692011-08-22 David S. Miller <davem@davemloft.net>
23770
23771 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23772 sigaltstack check, add missing cfi directives.
23773 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23774 missing cfi directives, and sigaltstack handling.
23775
e888bcbe
AS
237762011-08-16 Andreas Schwab <schwab@redhat.com>
23777
23778 [BZ #11724]
23779 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23780 object is seen twice.
23781 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23782
23783 * elf/Makefile (distribute): Add tst-initorder2.c.
23784 (tests): Add tst-initorder2.
23785 (modules-names): Add tst-initorder2a tst-initorder2b
23786 tst-initorder2c tst-initorder2d. Add rules to build them.
23787 ($(objpfx)tst-initorder2.out): New rule.
23788 * elf/tst-initorder2.c: New file.
23789 * elf/tst-initorder2.exp: New file.
23790
87162f46
AS
237912011-08-22 Andreas Schwab <schwab@redhat.com>
23792
70538b7f
AS
23793 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23794
f55ffe58
AS
23795 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23796 dependencies back to end of function.
23797
87162f46
AS
23798 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23799 $(elfobjdir)/ld.so.
23800
91b392a4
UD
238012011-08-21 Ulrich Drepper <drepper@gmail.com>
23802
23803 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23804 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23805 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23806 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23807 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23808 of __vdso_gettimeofday.
23809 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23810 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23811 attribute_hidden.
23812 (_libc_vdso_platform_setup): Remove initialization of
23813 __vdso_gettimeofday and __vdso_time.
23814
5c43483f
UD
238152011-08-20 Ulrich Drepper <drepper@gmail.com>
23816
775a77e7
UD
23817 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23818 and fgetc_unlocked.
23819 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23820 getc_unlocked.
89f447ed 23821
49c74ba9
UD
23822 * elf/dl-open.c (add_to_global): Report additions to the global scope
23823 for LD_DEBUG=scopes.
23824 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 23825 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 23826
5c43483f
UD
23827 [BZ #13114]
23828 * stdio-common/Makefile (tests): Add bug24.
23829 * stdio-common/bug24.c: New file.
23830
a101b025
AJ
238312011-08-19 Andreas Jaeger <aj@suse.de>
23832
23833 [BZ #13114]
23834 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23835 non-existant file when using close-on-exec mode.
23836
c88f1766
UD
238372011-08-20 Ulrich Drepper <drepper@gmail.com>
23838
0276a718
UD
23839 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23840 the very first instruction.
23841
c88f1766
UD
23842 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23843 the CFI state in the end.
23844 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23845 inclusion of dl-trampoline.h.
23846 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23847
51ccffa0
AS
238482011-08-19 Andreas Schwab <schwab@redhat.com>
23849
94d7165f
AS
23850 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23851 expectations for long double.
23852
51ccffa0
AS
23853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23854 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23855
fd708658 238562011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
23857
23858 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23859 artificual limit depends upon the system page size.
23860
44f0a71e
UD
238612011-08-17 Ulrich Drepper <drepper@gmail.com>
23862
23863 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23864 * resolv/Makefile: Define CFLAGS-libresolv.
23865
8de79a24
AS
238662011-08-17 Andreas Schwab <schwab@redhat.com>
23867
23868 * nss/makedb.c (compute_tables): Make variables used in nested
23869 function static.
23870
27724598
UD
238712011-08-17 Ulrich Drepper <drepper@gmail.com>
23872
c5305d88
UD
23873 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23874 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23875 if buffer was too small.
23876
27724598
UD
23877 * elf/pldd.c (main): Attach to all threads in the process.
23878 Rewrite /proc handling to use *at functions.
23879
076fe015
UD
238802011-08-16 Ulrich Drepper <drepper@gmail.com>
23881
174baab3
UD
23882 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23883 specifies first scope to show.
23884 (dl_open_worker): Update callers. Move printing scope of new
23885 object to before the relocation.
44f0a71e 23886 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
23887 * sysdeps/generic/ldsodefs.h: Update declaration.
23888
076fe015
UD
23889 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23890 string for the scope number.
23891
a60df2c3
UD
238922011-08-14 Ulrich Drepper <drepper@gmail.com>
23893
23894 * nscd/servicescache.c (cache_addserv): Make sure written is always
23895 initialized.
23896
5e4287d1
RM
238972011-08-14 Roland McGrath <roland@hack.frob.com>
23898
85ae0589
RM
23899 * sysdeps/i386/i486/bits/atomic.h
23900 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23901 statement expression, so as to suppress "set but not used" warning.
23902 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23903
69f63097
RM
23904 * string/strncat.c (STRNCAT): Use prototype definition.
23905
675456ef
RM
23906 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23907 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23908 -Iprograms here.
23909 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23910 (localedef-modules): Add localedef.
23911 (locale-modules): Add locale.
23912
5e4287d1
RM
23913 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23914 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23915 to avoid a warning.
23916
9c96ff23
DM
239172011-08-14 David S. Miller <davem@davemloft.net>
23918
23919 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23920 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23921
f9ddf089
UD
239222011-08-13 Ulrich Drepper <drepper@gmail.com>
23923
44f0a71e 23924 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
23925 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23926 * elf/rtld.c (dl_main): Set l_name of vDSO.
23927 Call _dl_show_scope when DL_DEBUG_SCOPES.
23928 (process_dl_debug): Recognize scopes flag and also set it for all.
23929 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23930 Declare _dl_show_scope.
23931
1dc27704
UD
23932 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23933 (do_dlopen): Pass caller_dlopen to dl_open.
23934 (__libc_dlopen_mode): Initialize caller_dlopen.
23935
f9ddf089
UD
23936 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23937 of libc. Make tolower call locale-independent. Optimize a bit by
23938 using isdigit instead of isalnum.
23939 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23940
9ac533d3
UD
239412011-08-12 Ulrich Drepper <drepper@gmail.com>
23942
23943 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23944 was a dependency or dynamically loaded.
23945
89edf2e9
UD
239462011-08-11 Ulrich Drepper <drepper@gmail.com>
23947
8e999d29
UD
23948 * intl/l10nflist.c: Allow architecture-specific pop function.
23949 * sysdeps/x86_64/l10nflist.c: New file.
23950
89edf2e9
UD
23951 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23952 classification.
23953
14d96785
AS
239542011-08-10 Andreas Schwab <schwab@redhat.com>
23955
23956 * include/dirent.h: Add libc_hidden_proto for scandirat and
23957 scandirat64. Don't declare __scandirat64.
23958 * dirent/scandirat.c: Add libc_hidden_def.
23959 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23960 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23961
6761ac04
DM
239622011-08-10 David S. Miller <davem@davemloft.net>
23963
23964 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23965 enum.
23966 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23967 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23968 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23969
c55fbd1e
UD
239702011-08-09 Ulrich Drepper <drepper@gmail.com>
23971
23972 * Versions.def [libc]: Add GLIBC_2.15.
23973 * dirent/Makefile (routines): Add scandirat and scandirat64.
23974 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23975 GLIBC_2.15.
23976 * dirent/dirent.h: Declare scandirat and scandirat64.
23977 * dirent/scandirat.c: New file.
23978 * dirent/scandirat64.c: New file.
23979 * sysdeps/wordsize-64/scandirat.c: New file.
23980 * sysdeps/wordsize-64/scandirat64.c: New file.
23981 * dirent/opendir.c: Define opendirat.
23982 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23983 using scandirat.
23984 * dirent/scandir64.c: Adjust for scandir.c change.
23985 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23986 __scandirat64, and __scandir_cancel_handler.
23987 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23988 additional parameter and use openat instead of open (outside of ld.so).
23989 Add new __opendir as wrapper around __opendirat.
23990 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23991 here without requiring old scandirat implementation.
23992
879165f2
UD
239932011-08-08 Ulrich Drepper <drepper@gmail.com>
23994
23995 * dirent/scandir.c (cancel_handler): Renamed to
23996 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
23997 defined. Adjust users.
23998 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
23999 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24000
cb7e923b
UD
240012011-08-04 Ulrich Drepper <drepper@gmail.com>
24002
16292edd
UD
24003 * string/test-string.h (IMPL): Use __STRING to expand name and then
24004 stringify it.
24005
cb7e923b
UD
24006 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24007 of cleanups.
24008
cff82933
LD
240092011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24010
24011 * string/Makefile: Update.
24012 (strop-tests): Append strncat.
24013 * string/test-wcscmp.c: New file.
24014 New comprehensive test for wcscmp.
24015 * string/test-strcmp.c: Update.
24016 (WIDE): New define.
24017
9be9bfcc
AS
240182011-07-22 Andreas Schwab <schwab@redhat.com>
24019
24020 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24021 line.
24022
2e96f1c7
AS
240232011-07-26 Andreas Schwab <schwab@redhat.com>
24024
24025 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24026 encoding to ACE if AI_IDN.
24027
85188888
JJ
240282011-08-01 Jakub Jelinek <jakub@redhat.com>
24029
24030 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24031 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24032
5fa16e9b
LD
240332011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24034
24035 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24036 Fix overflow bug in strncat.
24037 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24038
24039 * string/test-strncat.c: Update.
24040 Add new tests for checking overflow bugs.
24041
240422011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24043
24044 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24045 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24046 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24047 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24048 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24049 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24050 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24051 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24052 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24053
24054 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24055 (USE_AS_STRCAT): Define.
24056 Add strcat and strncat support.
24057 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24058
8c1a459f
AS
240592011-07-25 Andreas Schwab <schwab@redhat.com>
24060
24061 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24062 __n bigger than INT_MAX+1.
24063 (__strncmp_g): Likewise.
24064
bba33c28
UD
240652011-07-23 Ulrich Drepper <drepper@gmail.com>
24066
798be72d
UD
24067 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24068 * libio/stido.h: Likewise.
24069
8accd4dc
UD
24070 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24071 (AF_NFC): Define.
24072 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24073 (AF_NFC): Define.
24074
cbff0d96
UD
24075 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24076 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24077 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24078 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24079 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24080
9191c04a
UD
24081 [BZ #13021]
24082 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24083 installed.
24084
bba33c28
UD
24085 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24086 typo.
24087 (_dl_x86_64_save_sse): Likewise.
24088
90f139dd
UD
240892011-07-22 Ulrich Drepper <drepper@gmail.com>
24090
1aae088a
UD
24091 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24092 OSXSAVE.
24093 (_dl_x86_64_save_sse): Likewise.
24094
8e2045f5
UD
24095 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24096
90f139dd
UD
24097 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24098
1d002f25
AS
240992011-07-21 Andreas Schwab <schwab@redhat.com>
24100
24101 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24102 change.
24103 (_dl_x86_64_save_sse): Use correct AVX check.
24104
21137f89
UD
241052011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24106
24107 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24108 bug in strncpy/strncat.
24109 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24110
a65c0b7a
UD
241112011-07-21 Ulrich Drepper <drepper@gmail.com>
24112
24113 * string/tester.c (test_strcat): Add tests for different alignments
24114 of source and destination.
24115 (test_strncat): Likewise.
24116
6986b98a
UD
241172011-07-20 Ulrich Drepper <drepper@gmail.com>
24118
90bb2039
UD
24119 [BZ #12852]
24120 * posix/glob.c (glob): Check passed in values before using them in
24121 expressions to avoid some overflows.
24122 (glob_in_dir): Likewise.
24123
5644ef54
UD
24124 [BZ #13007]
24125 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24126 check for AVX enablement so that we don't crash with old kernels and
24127 new hardware.
24128 * elf/tst-audit4.c: Add same checks here.
24129 * elf/tst-audit6.c: Likewise.
24130
24131 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 24132
bfc9dc9b
AS
241332011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24134
24135 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24136
702e64bb
UD
241372011-07-20 Ulrich Drepper <drepper@gmail.com>
24138
24139 * po/cs.po: Update from translation team.
24140 * po/bg.po: Likewise.
24141
295e904f
MP
241422011-07-12 Marek Polacek <mpolacek@redhat.com>
24143
24144 * misc/sys/cdefs.h: Add support for const attribute.
24145 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24146 to gnu_dev_{major,minor,makedev} functions.
24147
3ff94596
MP
241482011-07-20 Marek Polacek <mpolacek@redhat.com>
24149
24150 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24151
28b59fca
AS
241522011-07-20 Andreas Schwab <schwab@redhat.com>
24153
24154 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24155 strlen results.
24156
19df733e
AK
241572011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24158
24159 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24160 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24161 register in order to avoid conflicts with the soft frame pointer
24162 being held in r11 when necessary.
24163 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24164 (INTERNAL_VSYSCALL_NCS): Likewise.
24165
c8835729
MP
241662011-07-14 Marek Polacek <mpolacek@redhat.com>
24167
24168 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24169 * elf/dl-fini.c (_dl_fini): Adjust caller.
24170 * elf/dl-close.c (_dl_close_worker): Likewise.
24171 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24172
b902330c
MP
241732011-07-15 Marek Polacek <mpolacek@redhat.com>
24174
8991e135
MP
24175 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24176 "aux_cache->nlibs < 0".
24177
b902330c
MP
24178 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24179 in the reload-count case.
24180
99710781
LD
241812011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24182
24183 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24184 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24185 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24186 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24187 * sysdeps/x86_64/multiarch/strcat.S: New file.
24188 * sysdeps/x86_64/multiarch/strncat.S: New file.
24189 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24190 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24191 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24192 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24193 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24194 (USE_AS_STRCAT): Define.
24195 Add strcat and strncat support.
24196 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24197 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24198 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24199 * string/strncat.c: Update.
24200 (USE_AS_STRNCAT): Define.
24201 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24202 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24203 and i7.
24204 * sysdeps/x86_64/multiarch/init-arch.h
24205 (bit_Prefer_PMINUB_for_stringop): New.
24206 (index_Prefer_PMINUB_for_stringop): Likewise.
24207 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24208 bit_Prefer_PMINUB_for_stringop.
24209
7dc6bd90
UD
242102011-07-19 Ulrich Drepper <drepper@gmail.com>
24211
24212 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24213 buffer64.
24214 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24215 of casting of buffer.
24216 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24217 buffer32 and buffer64.
24218 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24219 writes instead of casting of buffer.
24220 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24221 buffer32.
24222 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24223 casting of buffer.
24224
e0e72284
AS
242252011-07-19 Andreas Schwab <schwab@redhat.com>
24226
24227 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24228
feb1eb0b
UD
242292011-07-19 Ulrich Drepper <drepper@gmail.com>
24230
24231 * nscd/nscd.c (termination_handler): Don't do anything for a database
24232 if it has not yet been initialized.
24233
298711ff
UD
242342011-07-18 Ulrich Drepper <drepper@gmail.com>
24235
24236 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24237
242382011-07-15 Marek Polacek <mpolacek@redhat.com>
24239
24240 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24241
f9d68389
UD
242422011-07-18 Ulrich Drepper <drepper@gmail.com>
24243
24244 * po/nl.po: Update from translation team.
24245 * po/sv.po: Likewise.
24246
db290cf5
RM
242472011-07-16 Roland McGrath <roland@hack.frob.com>
24248
24249 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24250 now disallowed by GCC.
5c550700 24251
fd5e21c7
RM
24252 * configure.in (use-default-link): Default to yes if a test -shared
24253 link meets our qualifications.
24254 * configure: Regenerated.
24255
5c550700
RM
24256 * config.make.in (output-format): New variable.
24257 * configure.in: Check for ld --print-output-format support.
24258 * configure: Regenerated.
24259 * Makerules ($(common-objpfx)format.lds)
24260 [$(output-format) != unknown]: Just use $(output-format),
24261 instead of the linker-script munging.
24262
9fa2c032
RM
242632011-07-14 Roland McGrath <roland@hack.frob.com>
24264
a6928d51
RM
24265 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24266 of $(common-objpfx)shlib.lds.
24267 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24268
661607b3
RM
24269 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24270 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24271
9fa2c032
RM
24272 * configure.in (-z relro check): Adjust test code to add a large
24273 writable data section after it.
24274 * configure: Regenerated.
24275
defe9061
RM
242762011-07-11 Roland McGrath <roland@hack.frob.com>
24277
24278 * configure.in (-z relro check): Fix test code to make the variable
24279 truly const.
24280 * configure: Regenerated.
24281
319b9ad4
UD
242822011-07-11 Ulrich Drepper <drepper@gmail.com>
24283
24284 * nscd/nscd.h (struct traced_file): Define.
24285 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24286 elements. Add traced_files.
24287 (inotify_fd): Declare.
24288 (register_traced_file): Declare.
24289 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24290 (inotify_fd): Export.
24291 (resolv_conf_descr): Remove.
24292 (nscd_init): Move inotify descriptor creation to main.
24293 Don't register files for notification here.
24294 (register_traced_file): New function.
24295 (invalidate_cache): Don't use reset_res to determine whether to call
24296 res_init, go through the list of registered files.
24297 (main_loop_poll): The inotify descriptors are now stored in the
24298 structures for the traced files.
24299 (main_loop_epoll): Likewise
24300 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24301 to __nss_disable_nscd.
24302 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24303 for a database anymore. Check the records for all the registered
24304 files instead.
24305 * nss/Makefile (libnss_files-routines): Add files-init.
24306 (libnss_db-routines): Add db-init.
24307 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24308 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24309 * nss/nss_db/db-init.c: New file.
24310 * nss/nss_files/files-init.c: New file.
24311 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24312 __nss_lookup_function.
24313 (__nss_lookup_function): Call nss_load_library.
24314 (nss_load_all_libraries): New function.
24315 (__nss_disable_nscd): Take parameter with callback function for files
24316 to register. Set is_nscd. Load all the DSOs for the NSS modules
24317 used for the cached services.
24318 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24319 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24320 options for features to all the files in nscd.
24321
24322 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24323
23bee3e8
RM
243242011-07-10 Roland McGrath <roland@hack.frob.com>
24325
24326 * csu/elf-init.c (__libc_csu_init): Comment typo.
24327
46a5b7f0
UD
243282011-07-09 Ulrich Drepper <drepper@gmail.com>
24329
24330 * po/pl.po: Update from translation team.
24331 * po/ja.po: Likewise.
24332 * po/ru.po: Likewise.
24333 * po/ko.po: Likewise.
24334 * po/fr.po: Likewise.
24335
d30cf5bb
RM
243362011-07-09 Roland McGrath <roland@hack.frob.com>
24337
113ddea4
RM
24338 * configure.in (.ctors/.dtors header and trailer check):
24339 Use an empirical test on a built program.
24340 * configure: Regenerated.
24341
574920b4
RM
24342 * configure.in (-z relro check): Use an empirical test on a built DSO.
24343 Detect, but do not require, on ia64.
24344 * configure: Regenerated.
24345
d30cf5bb
RM
24346 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24347 Update tests that use readelf to use $READELF instead.
24348 * configure: Regenerated.
24349
8538fdb3
UD
243502011-07-08 Ulrich Drepper <drepper@gmail.com>
24351
24352 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24353 if the result is not used.
24354
04d08991
AJ
243552011-07-05 Andreas Jaeger <aj@suse.de>
24356
24357 [BZ#9696]
24358 * stdlib/tst-strtod.c: Add testcase.
24359
de283087
AD
243602011-07-07 Ulrich Drepper <drepper@gmail.com>
24361
4e5f31c8 24362 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 24363 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
24364 The latter has a higher limit. Take additional parameter to pass to
24365 the new function.
24366 (__pathconf): Pass file to __statfs_link_max.
24367 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24368 __statfs_link_max.
24369 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24370 __statfs_link_max.
24371
de283087
AD
24372 [BZ #12868]
24373 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24374 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24375 Handle Lustre.
24376 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24377 (__statfs_filesize_max): Likewise.
24378 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24379
c75fa153
AJ
243802011-07-05 Andreas Jaeger <aj@suse.de>
24381
24382 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24383
1a544854
UD
243842011-07-06 Marek Polacek <mpolacek@redhat.com>
24385
24386 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24387 `status' variable.
24388 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24389 Likewise.
24390
6f0eec67
UD
243912011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24392
24393 * Makefile (strop-tests): Add strncat.
24394 * string/test-strncat.c: New file.
24395
aae30307
UD
243962011-06-30 Marek Polacek <mpolacek@redhat.com>
24397
24398 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24399
c0cfb5eb
UD
244002011-06-21 Andreas Jaeger <aj@suse.de>
24401
24402 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24403 Copy rule from iconvdata/Makefile.
24404
01636b21
UD
244052011-07-06 Ulrich Drepper <drepper@gmail.com>
24406
24407 [BZ #12922]
24408 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24409 but no long options are defined, just return 'W'.
24410
9895c8bc
UD
244112011-06-22 Marek Polacek <mpolacek@redhat.com>
24412
24413 [BZ #9696]
24414 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24415
5d4cf042
UD
244162011-07-06 Ulrich Drepper <drepper@gmail.com>
24417
24418 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24419 netgroups to read.
960e5535 24420 (innetgr): Likewise.
5d4cf042 24421
751eb97e
RM
244222011-07-05 Roland McGrath <roland@hack.frob.com>
24423
24424 * config.make.in (install_root): Default to $(DESTDIR).
24425
f15f1e45
UD
244262011-07-05 Ulrich Drepper <drepper@gmail.com>
24427
24428 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24429
4e34ac6a
RM
244302011-07-02 Roland McGrath <roland@hack.frob.com>
24431
5e9b6af4
RM
24432 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24433
84f9ea0f
RM
24434 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24435 containing directory rather than embedding absolute directory names.
24436
ea5ee9f7
RM
24437 * scripts/check-local-headers.sh: Rewritten using awk.
24438 Match by word, not by line. Print error messages for matches.
24439 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24440
1b74661a
RM
24441 * Makerules [shlib-lds-flags empty]:
24442 ($(common-objpfx)libc_pic.opts): New target.
24443 ($(common-objpfx)libc_pic.os.clean): New target.
24444 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24445
24446 * config.make.in (OBJCOPY): New variable.
24447 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24448 * configure: Regenerated.
24449
f781ef40
RM
24450 * config.make.in (use-default-link): New variable.
24451 * configure.in (use_default_link): Grok --with-default-link to set it.
24452 * configure: Regenerated.
24453 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24454 (shlib-lds, shlib-lds-flags): Define to empty.
24455
2d4fa81e
RM
24456 * Makerules (shlib-lds): New variable.
24457 (shlib-lds-flags): New variable.
24458 (build-shlib, build-moduile, build-module-asneeded): Use it.
24459 ($(common-objpfx)libc.so): Use $(shlib-lds).
24460 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24461 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24462
31fffa6b
RM
24463 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24464 DT_FLAGS/DT_FLAGS_1 with zero flags.
24465
4e34ac6a
RM
24466 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24467 linker script munging.
24468
fcfc776b
UD
244692011-07-02 Ulrich Drepper <drepper@gmail.com>
24470
24471 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24472 as 128-bit value.
24473 * crypt/sha512.c (sha512_process_block): Perform total addition using
24474 128-bit if possible.
24475 (__sha512_finish_ctx): Likewise.
24476 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24477 as 64-bit value.
24478 * crypt/sha256.c (SWAP64): Define.
24479 (sha256_process_block): Perform total addition using 64-bit if
24480 possible.
24481 (__sha256_finish_ctx): Likewise.
24482
99231d9a
UD
244832011-07-01 Ulrich Drepper <drepper@gmail.com>
24484
24485 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24486 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24487 * nscd/hstcache.c (cache_addhst): Likewise.
24488 * nscd/grpcache.c (cache_addgr): Likewise.
24489 * nscd/aicache.c (addhstaiX): Likewise
24490 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24491
445b4a53
TK
244922011-07-01 Thorsten Kukuk <kukuk@suse.de>
24493
24494 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24495 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24496 * nscd/hstcache.c (cache_addhst): Likewise.
24497 * nscd/grpcache.c (cache_addgr): Likewise.
24498 * nscd/aicache.c (addhstaiX): Likewise
24499
6d4d8e8e
AS
245002011-07-01 Andreas Schwab <schwab@redhat.com>
24501
24502 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24503 domain only when needed.
24504
89f654c5
AS
245052011-06-30 Andreas Schwab <schwab@redhat.com>
24506
24507 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24508 is always restored.
24509
cf3b23ff
UD
245102011-06-29 Ulrich Drepper <drepper@gmail.com>
24511
24512 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24513 are re-adding the entry.
24514 * nscd/servicescache.c (cache_addserv): Likewise.
24515
751626f9
AJ
245162011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24517
24518 * sysdeps/generic/dl-irel.h: fix protection against multiple
24519 inclusions.
24520 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24521
9113ea1f
UD
245222011-06-28 Ulrich Drepper <drepper@gmail.com>
24523
5c0b8d90
UD
24524 [BZ #12935]
24525 * malloc/memusage.sh: Fix quoting in message.
24526 * debug/xtrace.sh: Likewise.
24527
9113ea1f
UD
24528 * configure.in: Remove support for --experimental-malloc option, make
24529 it the default.
24530 * config.make.in: Likewise.
24531 * malloc/Makefile: Likewise.
24532
a4172181
AS
245332011-06-27 Andreas Schwab <schwab@redhat.com>
24534
24535 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24536 two-byte characters.
24537
78a7eee7
RM
245382011-06-27 Roland McGrath <roland@hack.frob.com>
24539
62bede13
RM
24540 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24541 AC_CACHE_CHECK invocation.
24542 * configure: Regenerated.
24543
78a7eee7
RM
24544 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24545
5ce33a62
UD
245462011-06-27 Ulrich Drepper <drepper@gmail.com>
24547
034807a9
UD
24548 [BZ #12350]
24549 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24550 bit from old_res_options.
24551
4902da17
UD
24552 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24553
5ce33a62
UD
24554 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24555 value type for setfct.
24556
c2344f56
L
245572011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24558
24559 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24560 __gettimeofday instead of gettimeofday.
24561
68468076
UD
245622011-06-26 Ulrich Drepper <drepper@gmail.com>
24563
24564 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24565
acb0d739
L
245662011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24567
24568 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24569
24570 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24571 info.
24572
8912479f
L
245732011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24574
24575 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24576 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24577 strcpy-sse2-unaligned strncpy-sse2-unaligned
24578 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24579 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24580 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24581 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24582 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24583 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24584 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24585 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24586 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24587 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24588 (STRCPY): Support SSE2 and SSSE3 versions.
24589
d5495a11
UD
245902011-06-24 Ulrich Drepper <drepper@gmail.com>
24591
24592 [BZ #12874]
24593 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24594 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24595 kernels which artificially limit size of requests.
24596
0b1cbaae
L
245972011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24598
24599 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24600 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24601 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24602 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24603 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24604 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24605 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24606 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24607 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24608 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24609 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24610 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24611 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24612 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24613 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24614 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24615 Enable unaligned load optimization for Intel Core i3, i5 and i7
24616 processors.
24617 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24618 Define.
24619 (index_Fast_Unaligned_Load): Define.
24620 (HAS_FAST_UNALIGNED_LOAD): Define.
24621
07f494a0
MP
246222011-06-23 Marek Polacek <mpolacek@redhat.com>
24623
24624 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24625
fa3fc0fe
UD
246262011-06-22 Ulrich Drepper <drepper@gmail.com>
24627
24628 [BZ #12907]
24629 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24630 until it is clear that the information is realy needed.
24631 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24632
e12df166
AS
246332011-06-22 Andreas Schwab <schwab@redhat.com>
24634
24635 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24636
852eb34d
UD
246372011-06-22 Ulrich Drepper <drepper@gmail.com>
24638
84e2a551
UD
24639 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24640 /sys/devices/system/cpu/online if it is usable.
24641
852eb34d
UD
24642 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24643 reading the information from the /proc filesystem to once a second.
24644
6e502e19
UD
246452011-06-21 Andreas Jaeger <aj@suse.de>
24646
24647 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24648 NULL after inclusion of kernel headers.
24649
75d39ff2
UD
246502011-06-21 Ulrich Drepper <drepper@gmail.com>
24651
51f9aa6a
UD
24652 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24653 calls to internal_setent.
24654
c0244a9d
UD
24655 [BZ #12885]
24656 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24657 addresses using gethostbyname4_r ignore IPv4 addresses.
24658
c5e3c2ae
UD
24659 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24660 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24661
75d39ff2
UD
24662 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24663
42675c6f
DM
246642011-06-20 David S. Miller <davem@davemloft.net>
24665
24666 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24667 inclusions.
24668 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24669
24670 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24671 (elf_irel): Use it.
24672 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24673 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24674 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24675 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24676 * sysdeps/x86_64/dl-irel.h: Likewise.
24677
24678 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24679 * elf/dl-sym.c: Likewise.
24680
57912a71
UD
246812011-06-15 Ulrich Drepper <drepper@gmail.com>
24682
24683 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24684 need to dereference resplen2.
24685
ee22793d
AS
246862011-06-14 Andreas Schwab <schwab@redhat.com>
24687
24688 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24689
a9e836b0
UD
246902011-06-15 Ulrich Drepper <drepper@gmail.com>
24691
77fb9117
UD
24692 * Makeconfig: Define vardbdir and inst_vardbdir.
24693 * nss/Makefile: Add rules to install db-Makefile.
24694
40c1b22c
UD
24695 * nss/nss_db/db-XXX.c: Cleanup.
24696
9f2da732
UD
24697 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24698 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24699 GLIBC_PRIVATE.
24700 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24701 * nss/makedb.c: Implement -g option to specify that value strings
24702 are generated and should not be added to table iterated over for
24703 get*ent calls.
24704 * nss/nss_db/db-initgroups.c: New file.
24705
82e9a1f7
UD
24706 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24707 interface.
24708
c41af17e
UD
24709 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24710 (internal_getgrouplist): Adjust to name change.
24711 Update use_initgroups_entry if this is not the first call.
24712 * nss/databases.def: Add initgroups entry.
24713
a9e836b0
UD
24714 * nss/makedb.c (compute_tables): Check result of multiple hash table
24715 sizes to minimize maximum chain length.
24716
2666d441
UD
247172011-06-14 Ulrich Drepper <drepper@gmail.com>
24718
24719 * Versions.def: Add entry for libnss_db.
24720 * shlib-versions: Likewise.
24721 * nss/Makefile: Add rules to build libnss_db.
24722 * nss/Versions: Add libnss_db information. Organize libnss_files
24723 entries better.
24724 * nss/db-Makefile: Add gshadow support. Change rules for the new
24725 makedb progra. Some minor improvements to generate smaller files.
24726 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24727 here from...
24728 * nss/makedb.c: ...here.
24729 Improve database format to be smaller and require less memory at
24730 runtime.
24731 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24732 db anymore.
24733 * nss/nss_db/db-netgrp.c: Likewise.
24734 * nss/nss_db/db-open.c: Likewise.
24735 * nss/nss_files/flies-XXX.x: Adjust comments.
24736 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24737 * nss/nss_files/files-grp.c: Likewise.
24738 * nss/nss_files/files-hosts.c: Likewise.
24739 * nss/nss_files/files-network.c: Likewise.
24740 * nss/nss_files/files-proto.c: Likewise.
24741 * nss/nss_files/files-pwd.c: Likewise.
24742 * nss/nss_files/files-rpc.c: Likewise.
24743 * nss/nss_files/files-service.c: Likewise.
24744 * nss/nss_files/files-sgrp.c: Likewise.
24745 * nss/nss_files/files-spwd.c: Likewise.
24746 * nss/nss_db/db-alias.c: Removed.
24747 * nss/nss_db/dummy-db.h: Removed.
24748
9ee76b5a
UD
247492011-06-02 Ulrich Drepper <drepper@gmail.com>
24750
24751 * nss/makedb.c: Rewritten to not use database library.
24752 * nss/Makefile: Update to build new makedb program.
24753
c71ca1f8
AJ
247542011-06-14 Andreas Jaeger <aj@suse.de>
24755
24756 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24757 memset declaration.
24758
3154bfb8
UD
247592011-06-10 Andreas Schwab <schwab@redhat.com>
24760
24761 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24762 tmpbuf.
24763
b350afab
RM
247642011-06-10 Roland McGrath <roland@hack.frob.com>
24765
decd4e50
RM
24766 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24767 * elf/Makefile ($(objpfx)ld.so): Likewise.
24768
5615eaf2
RM
24769 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24770 Don't list ld.so twice in dependencies.
24771
24772 * posix/bug-regex31.c: Include <stdlib.h>.
24773
24774 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24775
24776 * nis/nss_compat/compat-spwd.c
24777 (getspent_next_nss_netgr): Remove unused variable.
24778 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24779
24780 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24781 nonmembers" output to use the right array.
24782
24783 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24784
24785 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24786
24787 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24788 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24789 * catgets/gencat.c (read_input_file): Likewise.
24790 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24791
24792 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24793 variable definition inside #if's controlling its use.
24794
24795 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24796
24797 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24798
24799 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24800
24801 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24802 unreachable code.
24803
24804 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24805
b68e08db
RM
24806 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24807 * configure: Regenerated.
24808
b350afab
RM
24809 * Makerules: Revert last change.
24810 * elf/Makefile: Likewise.
24811
28368601
RM
248122011-06-09 Roland McGrath <roland@hack.frob.com>
24813
24814 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24815 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24816 (reloc-link): Likewise.
24817
11988f8f
UD
248182011-06-09 Ulrich Drepper <drepper@gmail.com>
24819
24820 * elf/Makefile: Add rules to build pldd.
24821 * elf/pldd.c: New file.
24822 * elf/pldd-xx.c: New file.
24823
e80fab37
UD
248242011-06-07 Ulrich Drepper <drepper@gmail.com>
24825
24826 * version.h: Update for 2.15 development version.
24827
9b849836
DM
248282011-06-07 David S. Miller <davem@davemloft.net>
24829
24830 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24831 ifuncs.
24832 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24833 elf_machine_lazy_rel): Likewise.
24834 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24835 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24836 elf_machine_lazy_rel): Likewise.
24837 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24838 dl_hwcap via passed in argument.
24839 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24840 Likewise.
24841
5a31b283
AK
248422011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24843
24844 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24845
069e52f8
RM
248462011-06-06 Roland McGrath <roland@hack.frob.com>
24847
24848 [BZ #12849]
24849 * manual/fdl-1.1.texi: New file, verbatim from:
24850 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24851 * manual/lgpl-2.1.texi: New file, verbatim from:
24852 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24853 * manual/Makefile (licenses): New variable, list those new file names.
24854 (texis): Use it.
24855 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24856
24857 * manual/fdl.texi: File removed.
24858 * manual/lesser.texi: File removed.
24859 * manual/libc.texinfo (Copying, Documentation License):
24860 Use new @include file names, put @appendix directive before @include.
24861
f16846a5
JJ
248622011-06-04 Jakub Jelinek <jakub@redhat.com>
24863
24864 [BZ #12841]
24865 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24866 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24867 (mq_open): Add __NTH.
24868
3d29045b
L
248692011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24870
24871 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24872 Assume Intel Core i3/i5/i7 processor if AVX is available.
24873
8c297311
UD
248742011-05-31 Ulrich Drepper <drepper@gmail.com>
24875
24876 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24877 typo.
24878
c8fc0c91
UD
248792011-05-31 Andreas Schwab <schwab@redhat.com>
24880
24881 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24882 memory. Use alloca_account. Fix memory leak when retrying.
24883
5b27a807
UD
248842011-05-31 Ulrich Drepper <drepper@gmail.com>
24885
356f8bc6
UD
24886 * version.h (RELEASE): Bump for 2.14 release.
24887 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24888
5b27a807
UD
24889 * config.make.in (RANLIB): Remove entry.
24890
01f16ab0
UD
248912011-05-30 Ulrich Drepper <drepper@gmail.com>
24892
41fce8bd
UD
24893 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24894 (libc.pot): Work around missing support for .ksh extension in xgettext.
24895
4769ae77
UD
24896 [BZ #12684]
24897 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24898 if both request failed.
24899 (send_dg): In case of server errors clear resplen or *resplen2.
24900
6b1e7d19
UD
24901 [BZ #12454]
24902 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24903 when there are multiple maps.
24904 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24905 (_dl_fini): Remove test here.
24906
01f16ab0
UD
24907 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24908
b1ebd700
UD
249092011-05-29 Ulrich Drepper <drepper@gmail.com>
24910
7ae22829
UD
24911 [BZ #12350]
24912 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24913 bit from old_res_options.
24914 (gaih_inet): Likewise.
24915
553149f6 24916 [BZ #11099]
18a84741 24917 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
24918 as signed.
24919
652ffab1
UD
24920 * resolv/res_init.c (res_setoptions): Make the code more compact.
24921
16985fd0
UD
24922 [BZ #11558]
24923 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24924 set RES_USEVC.
24925
0464f746
UD
24926 [BZ #11634]
24927 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24928
7d17596c
UD
24929 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24930
cf6bbbd7
UD
24931 [BZ #11781]
24932 * malloc/malloc.h: Declare malloc hook variables as volatile.
24933
13f1ab36
UD
24934 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24935 in last patch.
24936
b1ebd700
UD
24937 [BZ #11799]
24938 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 24939 raise in the comment.
80e2212d
UD
24940 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24941 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24942 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 24943
ce67228d
UD
249442011-05-28 Ulrich Drepper <drepper@gmail.com>
24945
8887a920
UD
24946 [BZ #12811]
24947 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24948 grow the buffers more if it already has to be sufficient.
24949 (build_wcs_upper_buffer): Likewise.
24950 * posix/regexec.c (check_matching): Likewise.
24951 (clean_state_log_if_needed): Likewise.
24952 (extend_buffers): Don't enlarge buffers beyond size of the input
24953 buffer.
24954 Patches mostly by Emil Wojak <emil@wojak.eu>.
24955 * posix/bug-regex32.c: New file.
24956 * posix/Makefile (tests): Add bug-regex32.
24957
4f031072
UD
24958 * locale/findlocale.c (_nl_find_locale): Return right away if
24959 _nl_explode_name failed.
24960 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24961
d0478f0c
UD
24962 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24963
de81b246
UD
24964 * debug/xtrace.sh: Unify messages.
24965 * malloc/memusage.sh: Likewise.
24966
c738465a
UD
24967 [BZ #12813]
24968 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24969 time symbol from vDSO. Substitute with vsyscall if not available.
24970 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24971 __vdso_time.
24972
f1f929d7
UD
24973 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24974 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24975 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24976 Add sendmmsg and internal_sendmmsg.
24977 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24978 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24979 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24980
ce67228d
UD
24981 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24982 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24983 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24984
e57420c6
UD
249852011-05-27 Ulrich Drepper <drepper@gmail.com>
24986
a8509ca5
UD
24987 [BZ #12813]
24988 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24989 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24990 available.
24991 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24992 __vdso_getcpu.
24993
e57420c6
UD
24994 [BZ #12814]
24995 * iconvdata/Makefile (tests): Add bug-iconv9.
24996 * iconvdata/bug-iconv9.c: New file.
24997
4d07db15
AS
249982011-05-27 Andreas Schwab <schwab@redhat.com>
24999
25000 [BZ #12814]
25001 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25002
ea486f69
JJ
250032011-05-25 Jakub Jelinek <jakub@redhat.com>
25004
25005 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25006 (struct user_regs_struct): Change intcs field back to cs.
25007
6f038433
UD
250082011-05-25 Ulrich Drepper <drepper@gmail.com>
25009
25010 * po/ja.po: Update from translation team.
25011
67f86a25
UD
250122011-05-23 Ulrich Drepper <drepper@gmail.com>
25013
25014 [BZ #12795]
25015 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25016 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25017
def7fbd6
AS
250182011-05-20 Andreas Schwab <schwab@redhat.com>
25019
25020 * stdlib/longlong.h: Update from GCC.
25021
f50ef8f1
AS
250222011-05-23 Andreas Schwab <schwab@redhat.com>
25023
25024 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25025 parameter name.
25026 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25027 Add parameter name.
25028 (__sysconf): Pass it down.
25029
de7ce8f1
UD
250302011-05-22 Ulrich Drepper <drepper@gmail.com>
25031
f2962a71
UD
25032 [BZ #12671]
25033 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25034 some situations.
25035 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25036 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25037 add in in __libc_use_alloca calls. Adjust callers.
25038 (glob): Use malloc in some situations.
25039
de7ce8f1
UD
25040 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25041 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25042 pltexit.
25043
aec84f53
UD
250442011-05-21 Ulrich Drepper <drepper@gmail.com>
25045
05bb4a68
UD
25046 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25047 and CLOCK_BOOTTIME_ALARM.
25048
7ea72f99
UD
25049 [BZ #12782]
25050 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25051 is returned.
25052
7e4afad5
UD
25053 * string/_strerror.c (__strerror_r): Print negative errors as signed
25054 numbers.
25055
8e211fec
UD
25056 [BZ #12777]
25057 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25058 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25059 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25060
f7d82dc9
UD
25061 * configure.in: Fix typo in redirection and correct removal of test
25062 files in two cases.
25063
cc9e536d
UD
25064 [BZ #12788]
25065 * locale/setlocale.c (new_composite_name): Fix test to check for
25066 identical name of all categories.
25067
aec84f53
UD
25068 [BZ #12792]
25069 * libio/filedoalloc.c (local_isatty): New function.
25070 (_IO_file_doallocate): Use local_isatty.
25071 * stdio-common/perror.c (perror): In case a new stream is used
25072 forward the stream error.
25073 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25074 error flag.
25075
78e64fdc
RT
250762011-05-20 Ulrich Drepper <drepper@gmail.com>
25077
34a9094f
UD
25078 [BZ #11869]
25079 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25080 alloca.
25081 * include/alloca.h (extend_alloca_account): Define.
25082
78e64fdc
RT
25083 [BZ #11857]
25084 * posix/regex.h: Fix comments with documentation of user-accessible
25085 fields after compilation and describe correct free'ing of pattern
25086 after re_compile_pattern.
25087 Patch by Reuben Thomas <rrt@sc3d.org>.
25088
457bddfc
RA
250892011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25090
25091 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25092 and -mno-altivec to prevent the compiler from using Altivec and/or
25093 VSX instructions when the corresponding registers are not available.
25094
a4527b51
AS
250952011-05-19 Andreas Schwab <schwab@redhat.com>
25096
25097 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25098
ed690b2f
UD
250992011-05-19 Ulrich Drepper <drepper@gmail.com>
25100
25101 * libio/freopen.c (freopen): Use __dup2, not dup2.
25102 * libio/freopen64.c (freopen64): Likewise.
25103
8db73634
L
251042011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25105
25106 [BZ #12775]
25107 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25108 * math/Makefile (tests): Add test-powl.
25109 (CFLAGS-test-powl.c): Define.
25110 * math/test-powl.c: New file.
25111
0a197a9d
L
251122011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25113
25114 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25115
ee30c380
UD
251162011-05-17 Ulrich Drepper <drepper@gmail.com>
25117
25118 [BZ #11837]
25119 * iconvdata/gb18030.c: Update to GB18020-2005.
25120
6ce75379
UD
251212011-05-16 Ulrich Drepper <drepper@gmail.com>
25122
a4b89fd8
AR
25123 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25124 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25125 Patch by Aharon Robbins <arnold@skeeve.com>.
25126
ea389b12
UD
25127 [BZ #11892]
25128 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25129 on the stack.
25130
68a3f91f
UD
25131 [BZ #11895]
25132 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25133 through underflows.
25134
15cc7dd1
UD
25135 [BZ #12766]
25136 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25137 point to strings before performing equality test for error_one_per_line
25138 mode.
25139
f3799213
UD
25140 [BZ #11697]
25141 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25142
d79a9c94
UD
25143 [BZ #11820]
25144 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25145 (struct user_fpregs_struct): Avoid __uint*_t types.
25146
56e5eb46
UD
25147 [BZ #6420]
25148 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25149 symbol info. Use it instead of calling _dl_addr locally.
25150 (lock_and_info): New function.
25151 (tr_freehook): Call lock_and_info and pass symbol info as additional
25152 parameter to tr_where.
25153 (tr_mallochook): Likewise.
25154 (tr_reallochook): Likewise.
25155 (tr_memalignhook): Likewise.
25156
6ce75379
UD
25157 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25158 used and couldn't be at all thread-safe.
25159
f8a3b5bf
UD
251602011-05-15 Ulrich Drepper <drepper@gmail.com>
25161
94b7cc37
UD
25162 * libio/freopen.c (freopen): Don't close old file descriptor
25163 before the new one is opened. Instead dup the new file descriptor
25164 to the old one after the new stream is created.
25165 * libio/freopen64.c (freopen64): Likewise.
25166 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25167 * libio/fileops.c (_IO_new_file_close_it): Handle new
25168 _IO_FLAGS2_NOCLOSE flag.
25169 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25170 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25171 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25172 _IO_FLAGS2_NOCLOSE flag.
25173 * include/unistd.h: Add hidden_proto for dup3.
25174 Define __have_dup3.
25175 * io/dup3.c: Define hidden symbol.
25176 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25177
bd25564e
UD
25178 [BZ #7101]
25179 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25180 when an incomplete long option is used.
25181 * posix/tst-getopt_long1.c: New file.
25182 * posix/Makefile (tests): Add tst-getopt_long1.
25183
c84cfef4
UD
25184 [BZ #10138]
25185 * scripts/config.guess: Update from autoconf-2.68.
25186 * scripts/config.sub: Likewise.
25187
3b85df27
UD
25188 [BZ #10157]
25189 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25190 tests into ...
25191 (has_cpuclock): ...this. New function.
25192 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25193 macro here based on has_cpuclock code.
25194
15a856b1
UD
25195 [BZ #10149]
25196 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25197 First byte (not low byte) is now always NUL.
25198 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25199
05f399e6
UD
25200 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25201 Use non-cancelable interfaces.
25202
10a52685 25203 [BZ #9809]
94ecc67d
UD
25204 * locale/iso-639.def: Add entry for Sorani.
25205
f8a3b5bf
UD
25206 [BZ #11901]
25207 * include/stdlib.h: Move include protection to the right place.
25208 Define abort_msg_s. Declare __abort_msg with it.
25209 * stdlib/abort.c (__abort_msg): Adjust type.
25210 * assert/assert.c (__assert_fail_base): New function. Majority
25211 of code from __assert_fail. Allocate memory for __abort_msg with
25212 mmap.
25213 (__assert_fail): Now call __assert_fail_base.
25214 * assert/assert-perr.c: Remove bulk of implementation. Use
25215 __assert_fail_base.
25216 * include/assert.hL Declare __assert_fail_base.
25217 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25218 mmap.
25219 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25220
1af4e298
UD
252212011-05-14 Ulrich Drepper <drepper@gmail.com>
25222
f8a3b5bf 25223 [BZ #11952]
d26dfc60
MG
25224 [BZ #12453]
25225 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25226 until all modules are registered in the DTV.
25227 * elf/Makefile: Add rules to build and run tst-tls19.
25228 * elf/tst-tls19.c: New file.
25229 * elf/tst-tls19mod1.c: New file.
25230 * elf/tst-tls19mod2.c: New file.
25231 * elf/tst-tls19mod3.c: New file.
25232 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25233
2fc54d6f
UD
25234 [BZ #12083]
25235 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25236 correctly.
25237
98d76b46
UD
25238 [BZ #12601]
25239 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25240 two-byte sequence errors.
25241 * iconvdata/Makefile (tests): Add bug-iconv8.
25242 * iconvdata/bug-iconv8.c: New file.
25243
da3c19ef
UD
25244 [BZ #12626]
25245 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25246 buf2 definition.
25247
ca408c15
UD
25248 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25249
d6f67f7d
UD
25250 [BZ #12432]
25251 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25252 (dummy_getcfa): New function.
25253 (init): Get _Unwind_GetCFA address, use dummy if not found.
25254 (backtrace_helper): In recursion check, also check whether CFA changes.
25255 (__backtrace): Completely initialize arg.
25256
1af4e298 25257 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
25258 storing incomplete byte sequence in state object. Avoid testing for
25259 guaranteed too small input if we know there is enough data available.
1af4e298 25260
da62f81b
AS
252612011-05-11 Andreas Schwab <schwab@redhat.com>
25262
25263 * Makeconfig (+link-pie): Indent.
25264 * Rules (binaries-pie): Define if $(have-fpie) and
25265 $(build-shared).
25266 (binaries-shared): Also filter out $(binaries-pie).
25267 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25268 * nscd/Makefile (others-pie): Add nscd.
25269 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25270 ($(objpfx)nscd): Remove command override.
25271 * login/Makefile (others-pie): Add pt_chown.
25272 ($(objpfx)pt_chown): Remove command override.
25273 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25274 remove command overrides.
25275
fcabc0f8
UD
252762011-05-13 Ulrich Drepper <drepper@gmail.com>
25277
20030ae6
UD
25278 * libio/tst_putwc.c: Fix error messages.
25279
fcabc0f8
UD
25280 [BZ #12724]
25281 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25282 currently writing and seek to current position when not.
25283 * libio/Makefile (tests): Add bug-fclose1.
25284 * libio/bug-fclose1.c: New file.
25285
320a5dc0
PB
252862011-05-12 Ulrich Drepper <drepper@gmail.com>
25287
25288 [BZ #12511]
25289 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25290 don't set DF_1_NODELETE here.
25291 (do_lookup_x): When entering new entry test for copy relocation
25292 and if necessary set DF_1_NODELETE flag.
25293 * elf/tst-unique4.cc: New file.
25294 * elf/tst-unique4.h: New file.
25295 * elf/tst-unique4lib.cc: New file.
25296 * elf/Makefile: Add rules to build and run tst-unique4.
25297 Patch by Piotr Bury <pbury@goahead.com>.
25298
22836f52
UD
252992011-05-11 Ulrich Drepper <drepper@gmail.com>
25300
f574184a
UD
25301 [BZ #12052]
25302 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25303
e1fb097f
UD
25304 [BZ #12625]
25305 * misc/mntent_r.c (addmntent): Flush the stream after the output
25306
22836f52
UD
25307 [BZ #12393]
25308 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25309 (is_trusted_path_normalize): Skip initial colon. Append slash
25310 to empty buffer. Duplicate is_trusted_path code but allow
25311 constructed patch to be prefix.
25312 (is_dst): Allow $ORIGIN followed by /.
25313 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25314 Correct testing of result of is_trusted_path_normalize
25315 (decompose_rpath): Fix warning.
25316
7b3b0b2a
UD
253172011-05-10 Ulrich Drepper <drepper@gmail.com>
25318
25319 [BZ #11257]
25320 * grp/initgroups.c (internal_getgrouplist): When we found the service
25321 list through the initgroups entry in nsswitch.conf do not always
25322 continue on a successful lookup. Don't always use the
eac80ce2 25323 __nss_group_database value if it is set.
7b3b0b2a
UD
25324 * nss/nsswitch.conf (initgroups): Change action for successful db
25325 lookup to continue for compatibility.
25326
2a81eaa5
UD
253272011-05-09 Ulrich Drepper <drepper@gmail.com>
25328
be97a69e
UD
25329 [BZ #11532]
25330 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25331 and CP774 modules.
25332 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25333 and CP774 modules.
25334 * iconvdata/tst-tables.sh: Likewise.
25335 * iconvdata/cp770.c: New file.
25336 * iconvdata/cp771.c: New file.
25337 * iconvdata/cp772.c: New file.
25338 * iconvdata/cp773.c: New file.
25339 * iconvdata/cp774.c: New file.
25340 * iconvdata/testdata/CP770: New file.
25341 * iconvdata/testdata/CP770..UTF8: New file.
25342 * iconvdata/testdata/CP771: New file.
25343 * iconvdata/testdata/CP771..UTF8: New file.
25344 * iconvdata/testdata/CP772: New file.
25345 * iconvdata/testdata/CP772..UTF8: New file.
25346 * iconvdata/testdata/CP773: New file.
25347 * iconvdata/testdata/CP773..UTF8: New file.
25348 * iconvdata/testdata/CP774: New file.
25349 * iconvdata/testdata/CP774..UTF8: New file.
25350
25351 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25352 END CHARMAP line.
25353 * iconvdata/gen-8bit-gap.sh: Likewise.
25354 * iconvdata/gen-8bit.sh: Likewise.
25355
c1e9e399
UD
25356 * locale/iso-639.def: Add ary entry.
25357
24c55fb3 25358 [BZ #11258]
96b4b1b0
UD
25359 * locale/C-translit.h.in: Add U20A1 transliteration.
25360
bdc2f971
KB
25361 [BZ #12178]
25362 * locale/iso-639.def: Add wae entry.
25363 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25364
2952b117
UD
25365 [BZ #12545]
25366 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25367 for n.
25368
2a81eaa5
UD
25369 [BZ #12711]
25370 * locale/C-translit.h.in: Add entry for U20B9.
25371 Patch by pravin.d.s@gmail.com.
25372
28377d1b
UD
253732011-05-08 Ulrich Drepper <drepper@gmail.com>
25374
7fb90fb8
UD
25375 [BZ #12713]
25376 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25377 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
25378 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25379 in rtld. Use *stat64.
7fb90fb8 25380 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 25381 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 25382 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
25383 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25384 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25385 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25386 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25387 __fstatat64 macros.
7fb90fb8
UD
25388 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25389 * dirent/rewinddir.c: Add libc_hidden_def.
25390 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 25391 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 25392
28377d1b
UD
25393 * include/dirent.h (__alloc_dir): Add flags parameter.
25394 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25395 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25396 __alloc_dir.
25397 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25398 from fdopendir if O_CLOEXEC is already set.
25399
66bdbaa4
AM
254002011-03-15 Alan Modra <amodra@gmail.com>
25401
25402 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25403 l_tls_firstbyte_offset non-zero. Save padding offset in
25404 l_tls_firstbyte_offset for later use.
25405 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25406 freeing static tls block.
25407
95721191
JN
254082011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25409
25410 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25411 where #ifdef was intended. The intent is to prevent ARG_MAX from
25412 being defined by the kernel headers.
25413
f87dfb1f
UD
254142011-05-07 Ulrich Drepper <drepper@gmail.com>
25415
25416 [BZ #12734]
25417 * resolv/resolv.h: Define RES_NOTLDQUERY.
25418 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25419 no-tld-query and set RES_NOTLDQUERY.
25420 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25421 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25422 modern BIND to search name as TLD unless forbidden.
25423
47c3cd7a
UD
254242011-05-07 Petr Baudis <pasky@suse.cz>
25425 Ulrich Drepper <drepper@gmail.com>
25426
25427 [BZ #12393]
25428 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25429 (is_trusted_path): ...to here.
c1e9ea35 25430 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 25431 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 25432 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 25433
8a35c912
PP
254342011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25435
25436 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25437 __BEGIN/__END_DECLS.
25438
acd41f47
UD
254392011-05-06 Ulrich Drepper <drepper@gmail.com>
25440
25441 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25442 NSS_STATUS_NOTFOUND if no record was found.
25443
597df647
AS
254442011-05-05 Andreas Schwab <schwab@redhat.com>
25445
25446 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25447 (headers-not-in-tirpc): Remove rpc/netdb.h
25448 * resolv/netdb.h: Revert last change.
25449
b9af1301
PP
254502011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25451
25452 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25453 circular dependency between libgcc.a and libc.a.
25454
4e34d5f5
AS
254552011-05-05 Andreas Schwab <schwab@redhat.com>
25456
25457 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25458 * nis/Makefile: Don't install rpcsvc/*.
25459 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25460 instead of <rpc/types.h>.
25461 (MAXHOSTNAMELEN): Define.
25462
00ee369c
AS
254632011-05-03 Andreas Schwab <schwab@redhat.com>
25464
25465 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25466
0b592a30
MB
254672011-04-28 Maciej Babinski <mbabinski@google.com>
25468
25469 [BZ #12714]
25470 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25471 gethostbyname4_r when IPv6 results are possible.
25472
6e04cbbe
UD
254732011-05-02 Ulrich Drepper <drepper@gmail.com>
25474
25475 [BZ #12723]
25476 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25477 _PC_PIPE_BUF handling.
25478
e4ecafe0
BH
254792011-04-30 Bruno Haible <bruno@clisp.org>
25480
25481 [BZ #12717]
25482 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25483 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25484 to 'int'.
25485 * inet/getnameinfo.c (getnameinfo): Likewise.
25486
125ee683
UD
254872011-04-29 Ulrich Drepper <drepper@gmail.com>
25488
25489 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25490 to groups setting in database lookup.
25491 * nss/nsswitch.conf: Add initgroups entry.
25492
b722481a
EB
254932011-04-22 Ulrich Drepper <drepper@gmail.com>
25494
25495 [BZ #12685]
25496 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25497 mode string.
25498 Patch by Eric Blake <eblake@redhat.com>.
25499
4df46dbd
L
255002011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25501
25502 * sunrpc/Makefile (need-export-routines): Add svc_run.
25503 (routines): Remove svc_run.
25504 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25505 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25506 * sunrpc/svc_run.c (svc_run): Likewise.
25507 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25508
e84142d2
UD
255092011-04-21 Ulrich Drepper <drepper@gmail.com>
25510
25511 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25512 problem in reallocation in last patch.
25513
877175d8
UD
255142011-04-20 Ulrich Drepper <drepper@gmail.com>
25515
25516 * sunrpc/Makefile: Move inclusion of Rules.
25517
ab8eed78
UD
255182011-04-19 Ulrich Drepper <drepper@gmail.com>
25519
25520 * nss/nss_files/files-initgroups.c: New file.
25521 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25522 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25523 _nss_files_initgroups_dyn.
25524
e3d8f584
RS
255252011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25526
25527 * elf/elf.h (R_ARM_IRELATIVE): Define.
25528
af190f45
UD
255292011-04-19 Ulrich Drepper <drepper@gmail.com>
25530
25531 * po/ru.po: Update from translation team.
25532
53cf59ef
UD
255332011-04-17 Ulrich Drepper <drepper@gmail.com>
25534
25535 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25536 dependencies.
25537
4c559bcd
MF
255382011-02-06 Mike Frysinger <vapier@gentoo.org>
25539
25540 [BZ #12653]
25541 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25542 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25543 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25544 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25545 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25546
4420675c
AS
255472011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25548
25549 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25550 differing bytes.
25551 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25552 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25553 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25554
75ea32ab
UD
255552011-04-17 Ulrich Drepper <drepper@gmail.com>
25556
25557 [BZ #12420]
25558 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25559 storing it.
25560 * stdlib/bug-getcontext.c: New file.
25561 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25562
27390476
AK
255632011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25564
25565 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25566 instructions into .machine "z9-109".
25567 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25568 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25569
10442705
AK
255702011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25571
25572 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25573 between environment variables and auxiliary vector.
25574
7b57bfe5
UD
255752011-04-16 Ulrich Drepper <drepper@gmail.com>
25576
25577 * Makefile: Add rules to build linkobj/libc.so.
25578 * include/libc-symbols.h: Define libc_hidden_nolink.
25579 * include/rpc/auth.h: Mark functions which are to be hidden.
25580 * include/rpc/auth_des.h: Likewise.
25581 * include/rpc/auth_unix.h: Likewise.
25582 * include/rpc/clnt.h: Likewise.
25583 * include/rpc/des_crypt.h: Likewise.
25584 * include/rpc/key_prot.h: Likewise.
25585 * include/rpc/pmap_clnt.h: Likewise.
25586 * include/rpc/pmap_prot.h: Likewise.
25587 * include/rpc/pmap_rmt.h: Likewise.
25588 * include/rpc/rpc_msg.h: Likewise.
25589 * include/rpc/svc.h: Likewise.
25590 * include/rpc/svc_auth.h: Likewise.
25591 * include/rpc/xdr.h: Likewise.
25592 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25593 * nss/Makefile: Likewise.
25594 * sunrpc/Makefile: Don't install headers. Build library with normal
25595 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25596 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25597 for the compat linking library. Remove use of INTDEF/INTUSE.
25598 * sunrpc/auth_none.c: Likewise.
25599 * sunrpc/auth_unix.c: Likewise.
25600 * sunrpc/authdes_prot.c: Likewise.
25601 * sunrpc/authuxprot.c: Likewise.
25602 * sunrpc/clnt_gen.c: Likewise.
25603 * sunrpc/clnt_perr.c: Likewise.
25604 * sunrpc/clnt_raw.c: Likewise.
25605 * sunrpc/clnt_simp.c: Likewise.
25606 * sunrpc/clnt_tcp.c: Likewise.
25607 * sunrpc/clnt_udp.c: Likewise.
25608 * sunrpc/clnt_unix.c: Likewise.
25609 * sunrpc/des_crypt.c: Likewise.
25610 * sunrpc/des_soft.c: Likewise.
25611 * sunrpc/get_myaddr.c: Likewise.
25612 * sunrpc/key_call.c: Likewise.
25613 * sunrpc/key_prot.c: Likewise.
25614 * sunrpc/netname.c: Likewise.
25615 * sunrpc/pm_getmaps.c: Likewise.
25616 * sunrpc/pm_getport.c: Likewise.
25617 * sunrpc/pmap_clnt.c: Likewise.
25618 * sunrpc/pmap_prot.c: Likewise.
25619 * sunrpc/pmap_prot2.c: Likewise.
25620 * sunrpc/pmap_rmt.c: Likewise.
25621 * sunrpc/publickey.c: Likewise.
25622 * sunrpc/rpc_cmsg.c: Likewise.
25623 * sunrpc/rpc_common.c: Likewise.
25624 * sunrpc/rpc_dtable.c: Likewise.
25625 * sunrpc/rpc_prot.c: Likewise.
25626 * sunrpc/rpc_thread.c: Likewise.
25627 * sunrpc/rtime.c: Likewise.
25628 * sunrpc/svc.c: Likewise.
25629 * sunrpc/svc_auth.c: Likewise.
25630 * sunrpc/svc_authux.c: Likewise.
25631 * sunrpc/svc_raw.c: Likewise.
25632 * sunrpc/svc_run.c: Likewise.
25633 * sunrpc/svc_simple.c: Likewise.
25634 * sunrpc/svc_tcp.c: Likewise.
25635 * sunrpc/svc_udp.c: Likewise.
25636 * sunrpc/svc_unix.c: Likewise.
25637 * sunrpc/svcauth_des.c: Likewise.
25638 * sunrpc/xcrypt.c: Likewise.
25639 * sunrpc/xdr.c: Likewise.
25640 * sunrpc/xdr_array.c: Likewise.
25641 * sunrpc/xdr_float.c: Likewise.
25642 * sunrpc/xdr_intXX_t.c: Likewise.
25643 * sunrpc/xdr_mem.c: Likewise.
25644 * sunrpc/xdr_rec.c: Likewise.
25645 * sunrpc/xdr_ref.c: Likewise.
25646 * sunrpc/xdr_sizeof.c: Likewise.
25647 * sunrpc/xdr_stdio.c: Likewise.
25648
e6c61494
UD
256492011-04-10 Ulrich Drepper <drepper@gmail.com>
25650
25651 [BZ #12650]
25652 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25653 * sysdeps/ia64/dl-tls.h: Likewise.
25654 * sysdeps/powerpc/dl-tls.h: Likewise.
25655 * sysdeps/s390/dl-tls.h: Likewise.
25656 * sysdeps/sh/dl-tls.h: Likewise.
25657 * sysdeps/sparc/dl-tls.h: Likewise.
25658 * sysdeps/x86_64/dl-tls.h: Likewise.
25659 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25660
34fe483e
AS
256612011-03-14 Andreas Schwab <schwab@redhat.com>
25662
25663 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25664 rpath element also skip the following colon.
25665 (expand_dynamic_string_token): Add is_path parameter and pass
25666 down to DL_DST_REQUIRED and _dl_dst_substitute.
25667 (decompose_rpath): Call expand_dynamic_string_token with
25668 non-zero is_path. Ignore empty rpaths.
25669 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25670 with zero is_path.
25671
f12a32e6
AS
256722011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25673
25674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25675 Make cancelable.
25676
38a7d692
UD
256772011-04-09 Ulrich Drepper <drepper@gmail.com>
25678
25679 [BZ #12655]
25680 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25681 Patch by Filipe David Manana <fdmanana@apache.org>.
25682
e451d22b
AS
256832011-04-07 Andreas Schwab <schwab@redhat.com>
25684
25685 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25686 Maintain aligned stack.
25687 (CHECK_RSP): Remove unused macro.
25688
dedc7c7b
UD
256892011-04-03 Ulrich Drepper <drepper@gmail.com>
25690
25691 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25692 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25693
94521213
UD
256942011-04-02 Ulrich Drepper <drepper@gmail.com>
25695
25696 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25697
8cb700c0 25698 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 25699
0354e355
L
257002011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25701
25702 [BZ #12518]
25703 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25704 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25705 * sysdeps/x86_64/memmove.c: New file.
25706 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25707 (memcpy): Renamed to ...
25708 (__new_memcpy): This.
25709 (memcpy): Provide GLIBC_2_14 memcpy.
25710 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25711 (memcpy): Provide GLIBC_2_2_5 memcpy.
25712
8593482f
UD
257132011-04-01 Ulrich Drepper <drepper@gmail.com>
25714
25715 [BZ #12631]
25716 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25717
81a5726b
AS
257182011-03-30 Andreas Schwab <schwab@redhat.com>
25719
25720 * misc/syncfs.c: New file.
25721 * misc/Makefile (routines): Add syncfs.
25722 * posix/unistd.h: Declare syncfs.
25723 * sysdeps/unix/syscalls.list: Add syncfs.
25724
00e5419f
AS
257252011-04-01 Andreas Schwab <schwab@redhat.com>
25726
25727 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25728 open_by_handle_at.
25729 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25730 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25731 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25732 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25733 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25734 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25735 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25736
748876bf
UD
257372011-04-01 Ulrich Drepper <drepper@gmail.com>
25738
658e451d
UD
25739 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25740 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25741 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25742 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25743 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25744 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25745 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25746
748876bf
UD
25747 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25748 sync_file_range.c with -fexceptions.
25749 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25750 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25751 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25752 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25753 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25754 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25755 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
25756 sync_file_range as cancellation point
25757 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25758 now a wrapper around __call_sync_file_range with cancellation handling.
25759 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25760 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25761 function name to __call_sync_file_range.
25762 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25763 Add call_sync_file_range.
748876bf 25764
6e63d5e1
AS
257652011-04-01 Andreas Schwab <schwab@redhat.com>
25766
25767 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 25768 bits/timex.h.
6e63d5e1 25769
46998f74
UD
257702011-04-01 Ulrich Drepper <drepper@gmail.com>
25771
4c1423ed
UD
25772 * iconv/iconv.h: Fix typo in comment.
25773 * io/fcntl.h: Likewise.
25774 * libio/stdio.h: Likewise.
25775 * posix/spawn.h: Likewise.
25776 * posix/unistd.h: Likewise.
25777 * stdlib/stdlib.h: Likewise.
25778 * time/time.h: Likewise.
25779 * wcsmbs/wchar.h: Likewise.
25780
158648c0
UD
25781 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25782 open_by_handle): Add.
25783 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25784 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25785 Augment a few comments.
25786 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25787 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25788 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25789 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25790 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25791 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25792 open_by_handle.
25793
46998f74
UD
25794 * io/fcntl.h (AT_EMPTY_PATH): Define.
25795
83fe108b
UD
257962011-03-30 Ulrich Drepper <drepper@gmail.com>
25797
25798 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25799 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25800 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25801 to...
25802 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
25803 * Versions.def: Add GLIBC_2.14.
25804 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25805 Export.
83fe108b 25806
bb242059
UD
258072011-03-22 Ulrich Drepper <drepper@gmail.com>
25808
25809 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25810 round counter.
25811 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25812
c97a1282
L
258132011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25814
25815 [BZ #12597]
25816 * string/test-strncmp.c (do_page_test): New function.
25817 (check2): Likewise.
25818 (test_main): Call check2.
25819 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25820
2a115601
UD
258212011-03-20 Ulrich Drepper <drepper@gmail.com>
25822
25823 [BZ #12587]
25824 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25825 Handle cache information in CPU leaf 4.
25826 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25827
8126d904
UD
258282011-03-18 Ulrich Drepper <drepper@gmail.com>
25829
042c49c6 25830 [BZ #12583]
8126d904
UD
25831 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25832 character representation.
25833 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25834
ccfe366e
RA
258352011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25836
25837 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25838 END(__isnan) to END(__isnanf) to match function entry point/label
25839 EALIGN(__isnanf,...).
25840
c6e13027
JJ
258412011-03-10 Jakub Jelinek <jakub@redhat.com>
25842
25843 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25844
33f85a3f
UD
258452011-03-10 Ulrich Drepper <drepper@gmail.com>
25846
028478fa
UD
25847 [BZ #12510]
25848 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25849 copy from the symbol referenced in the relocation to initialize the
25850 used variable.
25851 Patch by Piotr Bury <pbury@goahead.com>.
25852 * elf/Makefile: Add rules to build and tst-unique3.
25853 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25854 * elf/tst-unique3.cc: New file.
25855 * elf/tst-unique3.h: New file.
25856 * elf/tst-unique3lib.cc: New file.
25857 * elf/tst-unique3lib2.cc: New file.
25858
33f85a3f
UD
25859 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25860
03592fc7
MF
258612011-03-10 Mike Frysinger <vapier@gentoo.org>
25862
25863 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25864 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25865 to _start.
03592fc7 25866
6a5ee102
UD
258672011-03-06 Ulrich Drepper <drepper@gmail.com>
25868
25869 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25870 to-be-loaded object along a path to loader is ld.so.
25871
7e4ba49c
HJ
258722011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25873 Ulrich Drepper <drepper@gmail.com>
25874
25875 * sysdeps/x86_64/memset.S: After aligning destination, code
25876 branches to different locations depending on the value of
25877 misalignment, when multiarch is enabled. Fix this.
25878
258792011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25880
25881 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25882 Set _x86_64_preferred_memory_instruction for AMD processsors.
25883 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25884 Set bit_Prefer_SSE_for_memop for AMD processors.
25885
13a804de
UD
258862011-03-04 Ulrich Drepper <drepper@gmail.com>
25887
25888 * libio/fmemopen.c (fmemopen): Optimize a bit.
25889
9d25c392
AS
258902011-03-03 Andreas Schwab <schwab@redhat.com>
25891
25892 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25893
a5543c6a
RM
258942011-03-03 Roland McGrath <roland@redhat.com>
25895
25896 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25897
012d35f7
DM
258982011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25899
7e4ba49c 25900 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
25901 __bzero_ultra1 instead of __memset_ultra1.
25902
4bff6e01
AS
259032011-02-23 Andreas Schwab <schwab@redhat.com>
25904 Ulrich Drepper <drepper@gmail.com>
25905
25906 [BZ #12509]
25907 * include/link.h (struct link_map): Add l_orig_initfini.
25908 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25909 returning unsuccessfully.
25910 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25911 close of a file loaded at startup, restore the original l_initfini
25912 list.
25913 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25914 list, store the pointer.
25915 * elf/Makefile ($(objpfx)noload-mem): New rule.
25916 (noload-ENV): Define.
25917 (tests): Add $(objpfx)noload-mem.
25918 * elf/noload.c: Include <memcheck.h>.
25919 (main): Call mtrace. Close all opened handles.
25920
f2092faf
AS
259212011-02-17 Andreas Schwab <schwab@redhat.com>
25922
25923 [BZ #12454]
25924 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25925 dependencies are missing.
25926
6c8a2e88
ST
259272011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25928
f2092faf 25929 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
25930 Hurd needs munmap.
25931 * sysdeps/mach/hurd/ifreq.h: New file.
25932
84a42118
PB
259332011-01-27 Petr Baudis <pasky@suse.cz>
25934 Ulrich Drepper <drepper@gmail.com>
25935
071f805e 25936 [BZ 12445]#
84a42118
PB
25937 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25938 to extend_alloca().
25939 * stdio-common/bug23.c: New file.
25940 * stdio-common/Makefile (tests): Add bug23.
25941
e23fe25b
AS
259422010-09-28 Andreas Schwab <schwab@redhat.com>
25943 Ulrich Drepper <drepper@gmail.com>
25944
25945 [BZ #12489]
25946 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25947 before performing relro protection. At old place add assertion
25948 to make sure nothing changed.
25949
d3f02e10
NS
259502011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25951 Glauber de Oliveira Costa <glommer@gmail.com>
25952
25953 * elf/elf.h: Add new ARM TLS relocs.
25954
d55fd7a5
RA
259552011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25956
25957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25958 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25959 cast from r3.
25960 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25961 'tests' variable.
25962 * sysdeps/wordsize-64/tst-writev.c: New file.
25963
2206397e
RA
259642011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25965
25966 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25967 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25968 insns in _dl_start to prevent a TOC reference before relocs are
25969 resolved.
25970
e9433893
UD
259712011-02-15 Ulrich Drepper <drepper@gmail.com>
25972
25973 [BZ #12469]
25974 * Makeconfig: Remove RANLIB definition.
25975 * Makerules: Don't use RANLIB.
25976 * aclocal.m4: Remove ranlib test.
25977 * configure.in: No need to check for ranlib.
25978 * elf/rtld-Rules: Don't use RANLIB.
25979
f75286c6
ST
259802011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25981
8e31c82d
ST
25982 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25983 protection macro.
25984 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25985 inclusion protection macro.
25986
f75286c6
ST
25987 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25988 SIGRTMIN and SIGRTMAX and print information in that case only when
25989 SIGRTMIN is defined.
25990
c1d0e639
JJ
259912011-02-11 Jakub Jelinek <jakub@redhat.com>
25992
25993 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25994 arginfo fn returning -1.
25995
25996 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
25997 and thousands string is zero terminated.
25998
edf9294e
AS
259992011-02-03 Andreas Schwab <schwab@redhat.com>
26000
26001 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26002 sysdeps/unix/sysv/linux/bits/socket.h.
26003
2b7e92df
ST
260042011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26005
edf9294e
AS
26006 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26007 (__CPU_COUNT): Remove old macros.
26008 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26009 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26010 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
26011 (__sched_cpualloc, __sched_cpufree): Add declarations.
26012
a4c7ea7b
UD
260132011-02-05 Ulrich Drepper <drepper@gmail.com>
26014
26015 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26016 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26017 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26018 (readdhstai): Return value of addhstaiX call.
26019 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26020 (addgrbyX): Return value returned by cache_addgr.
26021 (readdgrbyname): Return value returned by addgrbyX.
26022 (readdgrbygid): Likewise.
26023 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26024 (addpwbyX): Return value returned by cache_addpw.
26025 (readdpwbyname): Return value returned by addhstbyX.
26026 (readdpwbyuid): Likewise.
26027 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26028 (addservbyX): Return value returned by cache_addserv.
26029 (readdservbyname): Return value returned by addservbyX:
26030 (readdservbyport): Likewise.
26031 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26032 (addhstbyX): Return value returned by cache_addhst.
26033 (readdhstbyname): Return value returned by addhstbyX.
26034 (readdhstbyaddr): Likewise.
26035 (readdhstbynamev6): Likewise.
26036 (readdhstbyaddrv6): Likewise.
26037 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26038 (readdinitgroups): Return value returned by addinitgroupsX.
26039 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26040 (prune_cache): Keep track of timeout value of re-added entries.
26041 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26042 * nscd/nscd.h: Adjust prototypes of readd* functions.
26043
a0bf67cc
RM
260442011-02-04 Roland McGrath <roland@redhat.com>
26045
26046 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26047 (nis_stats): Likewise.
26048 * nis/nis_modify.c (nis_modify): Likewise.
26049 * nis/nis_remove.c (nis_remove): Likewise.
26050 * nis/nis_add.c (nis_add): Likewise.
26051
26052 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26053
26054 * posix/fnmatch_loop.c: Add some consts.
26055
26056 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26057
435b95eb
L
260582011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26059
26060 [BZ #12460]
26061 * config.make.in (config-cflags-novzeroupper): Define.
26062 * configure.in: Substitute libc_cv_cc_novzeroupper.
26063 * elf/Makefile (AVX-CFLAGS): Define.
26064 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26065 (CFLAGS-tst-auditmod4a.c): Likewise.
26066 (CFLAGS-tst-auditmod4b.c): Likewise.
26067 (CFLAGS-tst-auditmod6b.c): Likewise.
26068 (CFLAGS-tst-auditmod6c.c): Likewise.
26069 (CFLAGS-tst-auditmod7b.c): Likewise.
26070 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26071
8517b15e
UD
260722011-02-02 Ulrich Drepper <drepper@gmail.com>
26073
26074 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26075 function to the callback.
26076 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26077
10a656fe
AS
260782011-02-02 Andreas Schwab <schwab@redhat.com>
26079
26080 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26081 of errno.
26082
968dad0a
UD
260832011-01-19 Ulrich Drepper <drepper@gmail.com>
26084
9f94d2ea 26085 [BZ #11724]
968dad0a
UD
26086 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26087 of constructors.
26088 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26089 of destructors.
26090 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26091
26092 [BZ #11724]
26093 * elf/Makefile: Add rules to build and run new test.
26094 * elf/tst-initorder.c: New file.
26095 * elf/tst-initorder.exp: New file.
26096 * elf/tst-initordera1.c: New file.
26097 * elf/tst-initordera2.c: New file.
26098 * elf/tst-initordera3.c: New file.
26099 * elf/tst-initordera4.c: New file.
26100 * elf/tst-initorderb1.c: New file.
26101 * elf/tst-initorderb2.c: New file.
26102 * elf/tst-order-a1.c: New file.
26103 * elf/tst-order-a2.c: New file.
26104 * elf/tst-order-a3.c: New file.
26105 * elf/tst-order-a4.c: New file.
26106 * elf/tst-order-b1.c: New file.
26107 * elf/tst-order-b2.c: New file.
26108 * elf/tst-order-main.c: New file.
26109 New test case by George Gensure <werkt0@gmail.com>.
26110
86e92359
UD
261112010-10-01 Andreas Schwab <schwab@redhat.com>
26112
26113 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26114 decoding ACE if AI_CANONIDN.
26115
5d5732b0
UD
261162011-01-18 Ulrich Drepper <drepper@gmail.com>
26117
26118 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26119
a77e8cbc
UD
261202011-01-17 Ulrich Drepper <drepper@gmail.com>
26121
6392473f
UD
26122 * version.h (RELEASE): Bump for 2.13 release.
26123 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26124
620a0529
UD
26125 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26126
18ba70a5
UD
26127 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26128 MADV_NOHUGEPAGE.
32465c3e
UD
26129 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26130 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26131 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26132 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26133 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26134 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26135
c0dafcf1
UD
26136 * posix/getconf.c: Update copyright year.
26137 * catgets/gencat.c: Likewise.
26138 * csu/version.c: Likewise.
26139 * debug/catchsegv.sh: Likewise.
26140 * debug/xtrace.sh: Likewise.
26141 * elf/ldconfig.c: Likewise.
26142 * elf/ldd.bash.in: Likewise.
26143 * elf/sprof.c (print_version): Likewise.
26144 * iconv/iconv_prog.c: Likewise.
26145 * iconv/iconvconfig.c: Likewise.
26146 * locale/programs/locale.c: Likewise.
26147 * locale/programs/localedef.c: Likewise.
26148 * malloc/memusage.sh: Likewise.
26149 * malloc/mtrace.pl: Likewise.
26150 * nscd/nscd.c (print_version): Likewise.
26151 * nss/getent.c: Likewise.
26152
a77e8cbc
UD
26153 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26154 PF_CAIF, and PF_ALG.
26155 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26156
77e8bddf
AS
261572011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26158
1f20b93a
AS
26159 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26160 (modules-names): Use them.
26161 (ifunc-test-modules, ifunc-pie-tests): Define.
26162 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26163 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26164 (test-extras): Likewise.
26165 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26166 $(compile-command.c).
26167 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26168 (all-built-dso): Define.
26169 (check-textrel.out, check-execstack.out): Depend on it.
26170
77e8bddf
AS
26171 * configure.in: Don't override --enable-multi-arch.
26172
bc425b33
UD
261732011-01-15 Ulrich Drepper <drepper@gmail.com>
26174
26175 [BZ #6812]
26176 * nscd/hstcache.c (tryagain): Define.
26177 (cache_addhst): Return tryagain not notfound for temporary errors.
26178 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26179 failed.
26180
794c3ad3
UD
261812011-01-14 Ulrich Drepper <drepper@gmail.com>
26182
70181fdd
UD
26183 [BZ #10563]
26184 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26185 to make the syscall.
26186 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26187
794c3ad3
UD
26188 [BZ #12378]
26189 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26190 and fall back to matching as normal character if the string ends before
26191 the matching ']' is found. This is what POSIX requires.
26192 * posix/testfnm.c: Adjust test result.
26193 * posix/globtest.sh: Adjust test result. Add new test.
26194 * posix/tst-fnmatch.input: Likewise.
26195 * posix/tst-fnmatch2.c: Add new test.
26196
68dc9497
AS
261972010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26198
26199 * elf/Makefile (check-execstack): Revert last change. Depend on
26200 check-execstack.h.
26201 (check-execstack.h): New target.
26202 (generated): Add check-execstack.h.
26203 * elf/check-execstack.c: Include "check-execstack.h".
26204 (main): Revert last change.
26205 (handle_file): Return zero if GNU_STACK is absent and
26206 DEFAULT_STACK_PERMS doesn't include PF_X.
26207
451f001b
UD
262082011-01-13 Ulrich Drepper <drepper@gmail.com>
26209
cfa28e56
UD
26210 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26211 in child fails because the descriptor is already closed.
8cf8ce17
UD
26212 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26213 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26214 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 26215
1086d70d
UD
26216 [BZ #12397]
26217 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26218 syscall.
26219
451f001b
UD
26220 [BZ #10484]
26221 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26222 temporary buffer used to handle multi lookups locally.
a85b5cb4 26223 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 26224
08769175
UD
262252011-01-12 Ulrich Drepper <drepper@gmail.com>
26226
26227 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26228 loader is ld.so.
26229
5e49c52e
UD
262302011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26231
26232 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26233 alignment for SSE2.
26234
60522a5f
UD
262352011-01-12 Ulrich Drepper <drepper@gmail.com>
26236
26237 [BZ #12394]
26238 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26239 characters. When rounding increased number of integer digits recompute
26240 number of groups.
26241 * stdio-common/tst-grouping.c: New file.
26242 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26243
f257bbd7
UD
262442011-01-09 Ulrich Drepper <drepper@gmail.com>
26245
26246 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26247 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26248
26249 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26250 void.
26251 * bits/select.h: Likewise.
26252
fa9c15cb
UD
262532011-01-08 Ulrich Drepper <drepper@gmail.com>
26254
26255 * po/ja.po: Update from translation team.
26256
16c2895f
DM
262572011-01-04 David S. Miller <davem@sunset.davemloft.net>
26258
26259 [BZ #11155]
26260 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26261 implementation just like for lxstat, fxstatat, et al.
26262
2543fef2
JM
262632010-12-27 Jim Meyering <meyering@redhat.com>
26264
26265 [BZ #12348]
26266 * posix/regexec.c (build_trtable): Return failure indication upon
26267 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26268
98727dbe
UD
262692010-12-25 Ulrich Drepper <drepper@gmail.com>
26270
5bd6dc5c
UD
26271 [BZ #12201]
26272 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26273 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26274 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26275 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26276
97983464
UD
26277 [BZ #12207]
26278 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26279
98727dbe
UD
26280 [BZ #12204]
26281 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26282 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26283
4a531bb0
L
262842010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26285
26286 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26287 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26288 script has SORT_BY_INIT_PRIORITY.
26289 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26290 NO_CTORS_DTORS_SECTIONS is defined.
26291 * elf/soinit.c: Likewise.
26292 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26293 NO_CTORS_DTORS_SECTIONS is defined.
26294 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26295 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26296 * sysdeps/sh/init-first.c: Likewise.
26297 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26298
07eb4b71
UD
262992010-12-24 Ulrich Drepper <drepper@gmail.com>
26300
26301 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26302 always use the slow path.
26303
30950a5f
RA
263042010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26305
26306 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26307 similar rule which adds the sysdep directories to the header search in
26308 order to pick up the correct platform stackinfo.h.
26309 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26310 perform test if it is, otherwise return successfully without testing.
26311 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26312 DEFAULT_STACK_PERMS define in stackinfo.h.
26313 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26314 defined in stackinfo.h.
26315 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26316 DEFAULT_STACK_PERMS defined in stackinfo.h.
26317 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26318 * sysdeps/ia64/stackinfo.h: Likewise.
26319 * sysdeps/s390/stackinfo.h: Likewise.
26320 * sysdeps/sh/stackinfo.h: Likewise.
26321 * sysdeps/sparc/stackinfo.h: Likewise.
26322 * sysdeps/x86_64/stackinfo.h: Likewise.
26323 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26324 PF_X for powerpc64. Retain PF_X for powerpc32.
26325
db753e2c
UD
263262010-12-19 Ulrich Drepper <drepper@gmail.com>
26327
14b697f7
UD
26328 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26329 accurately.
db753e2c
UD
26330 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26331 GETDENTS_64BIT_ALIGNED.
26332
28300719
UD
263332010-12-14 Ulrich Drepper <dreper@gmail.com>
26334
14b697f7 26335 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 26336
4f197237
AS
263372010-12-10 Andreas Schwab <schwab@redhat.com>
26338
dbb0472f
AS
26339 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26340 _GNU_SOURCE.
26341
4f197237
AS
26342 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26343 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26344 Remove __restrict.
26345 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26346 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26347
fb88ac72
UD
263482010-12-09 Ulrich Drepper <drepper@gmail.com>
26349
26350 [BZ #11655]
26351 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26352 are initialized.
26353
42acbb92
JJ
263542010-12-09 Jakub Jelinek <jakub@redhat.com>
26355
26356 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26357
c038d98d
UD
263582010-12-03 Ulrich Drepper <drepper@gmail.com>
26359
26360 * po/it.po: Update from translation team.
26361
3a4a2499
L
263622010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26363
26364 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26365 unused codes.
26366
1e24cf6e
UD
263672010-11-30 Ulrich Drepper <drepper@gmail.com>
26368
26369 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26370
a7690819
AS
263712010-11-24 Andreas Schwab <schwab@redhat.com>
26372
26373 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26374 specially.
26375 (gaih_getanswer_slice): Likewise.
26376
3bf8d1b1
JJ
263772010-10-20 Jakub Jelinek <jakub@redhat.com>
26378
26379 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26380
6db52fbb
PB
263812010-05-31 Petr Baudis <pasky@suse.cz>
26382
26383 [BZ #11149]
26384 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26385 silently even in the chroot mode.
26386
eaca7569
UD
263872010-11-22 Ulrich Drepper <drepper@gmail.com>
26388
26389 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26390 last patch a bit. Pretty printing
26391
3056dcdb
UD
263922010-05-31 Petr Baudis <pasky@suse.cz>
26393
26394 [BZ #10085]
26395 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26396 initialization of skip_initgroups_dyn.
26397
cf7c9078
UD
263982010-11-19 Ulrich Drepper <drepper@gmail.com>
26399
26400 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26401 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26402
a1fb5e3e
UD
264032010-11-16 Ulrich Drepper <drepper@gmail.com>
26404
26405 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26406
3540d66b
AS
264072010-11-11 Andreas Schwab <schwab@redhat.com>
26408
26409 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26410 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26411 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26412 ($(objpfx)tst-fnmatch-mem): New rule.
26413 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26414 * posix/tst-fnmatch.c (main): Call mtrace.
26415
13b69574
L
264162010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26417
26418 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26419 Support Intel processor model 6 and model 0x2c.
26420
da93d214
LM
264212010-11-10 Luis Machado <luisgpm@br.ibm.com>
26422
26423 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26424 signed comparison.
26425
8ca52c6e
L
264262010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26427
26428 [BZ #12205]
26429 * string/test-strncasecmp.c (check_result): New function.
26430 (do_one_test): Use it.
26431 (check1): New function.
26432 (test_main): Use it.
26433 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26434 Support strcasecmp and strncasecmp.
26435
69da074d
UD
264362010-11-08 Ulrich Drepper <drepper@gmail.com>
26437
26438 [BZ #12194]
26439 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26440 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26441
ff02d528
L
264422010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26443
26444 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26445 IFUNC support.
26446 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26447 memset-x86-64.
26448 * sysdeps/x86_64/multiarch/bzero.S: New file.
26449 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26450 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26451 * sysdeps/x86_64/multiarch/memset.S: New file.
26452 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26453 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26454 Set bit_Prefer_SSE_for_memop for Intel processors.
26455 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26456 Define.
26457 (index_Prefer_SSE_for_memop): Define.
26458 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26459
344d0b54
LM
264602010-11-04 Luis Machado <luisgpm@br.ibm.com>
26461
26462 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26463 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26464
c0dde15b
UD
264652010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26466
26467 [BZ #12191]
26468 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26469 (__x86_64_raw_data_cache_size_half): Likewise.
26470 (__x86_64_raw_shared_cache_size): Likewise.
26471 (__x86_64_raw_shared_cache_size_half): Likewise.
26472
26473 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26474 (__x86_64_raw_data_cache_size_half): Likewise.
26475 (__x86_64_raw_shared_cache_size): Likewise.
26476 (__x86_64_raw_shared_cache_size_half): Likewise.
26477 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26478 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26479 and __x86_64_raw_shared_cache_size_half. Round
26480 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26481 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26482 to multiple of 256 bytes.
26483
0e516e0e
MS
264842010-11-03 Ulrich Drepper <drepper@gmail.com>
26485
26486 [BZ #12167]
26487 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26488 of inacessible symlinks. Verify result of symlink before returning it.
26489 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26490 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26491
0e012e87
ER
264922010-10-28 Erich Ritz <erichritz@gmail.com>
26493
26494 * math/math.h (isinf): Fix typo in comment.
26495
de0ff7bc
UD
264962010-11-01 Ulrich Drepper <drepper@gmail.com>
26497
26498 * po/da.po: Update from translation team.
26499
fa41c84d
UD
265002010-10-26 Ulrich Drepper <drepper@gmail.com>
26501
26502 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26503 is added to the list.
26504
f0967738
AK
265052010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26506 Ulrich Drepper <drepper@gmail.com>
26507
26508 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26509 the global list here. Move code to...
26510 (_dl_add_to_namespace_list): ...here. New function.
26511 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26512 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26513 * elf/dl-load.c (lose): Don't remove the element from the list.
26514 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26515 (_dl_map_object): Likewise.
26516
265172010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
26518
26519 [BZ #12159]
26520 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26521 into all bytes of SSE register.
26522 Patch by Richard Li <richardpku@gmail.com>.
26523
f0967738 265242010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
26525
26526 [BZ #12140]
26527 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26528 perturbing.
26529
d0b9e94f
MB
265302010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26531
26532 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26533 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26534 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26535 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26537 submachine.
26538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26539
8e9f92e9
AS
265402010-10-22 Andreas Schwab <schwab@redhat.com>
26541
26542 * include/dlfcn.h (__RTLD_SECURE): Define.
26543 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26544 mode & __RTLD_SECURE instead.
26545 (open_path): Rename preloaded parameter to secure.
26546 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26547 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26548 * elf/dl-deps.c (openaux): Likewise.
26549 * elf/rtld.c (struct map_args): Remove is_preloaded.
26550 (map_doit): Don't use it.
26551 (dl_main): Likewise.
26552 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26553 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26554
bc96fbda
AS
265552010-09-09 Andreas Schwab <schwab@redhat.com>
26556
26557 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26558 (sysd-rules-targets): Remove duplicates.
26559 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26560 rtld-%.$o dependency.
26561
22cd1c9b
AS
265622010-10-18 Andreas Schwab <schwab@redhat.com>
26563
26564 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26565 _dl_map_object do it.
26566
18edac48
UD
265672010-10-19 Ulrich Drepper <drepper@gmail.com>
26568
26569 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26570 fast fma builtins, define the macros in the C99 standard.
26571 (FP_FAST_FMAF): Likewise.
26572 (FP_FAST_FMAL): Likewise.
26573 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26574
26575 * bits/mathdef.h: Update copyright year.
26576 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26577
d2050124
MM
265782010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26579
26580 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26581 builtins, define the macros in the C99 standard.
26582 (FP_FAST_FMAF): Likewise.
26583 (FP_FAST_FMAL): Likewise.
26584 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26585 multiply/add.
26586 (FP_FAST_FMAF): Likewise.
26587
475facd1
JJ
265882010-10-15 Jakub Jelinek <jakub@redhat.com>
26589
26590 [BZ #3268]
26591 * math/libm-test.inc (fma_test): Some new testcases.
26592 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26593 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26594 y and infinite z. Do multiplication by C already in long double.
26595 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26596 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26597 y and infinite z. Do bitwise or of inexact bit into u.d.
26598 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26599 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26600 * sysdeps/i386/fpu/s_fma.S: Removed.
26601 * sysdeps/i386/fpu/s_fmal.S: Removed.
26602
7c08a05c
JJ
266032010-10-16 Jakub Jelinek <jakub@redhat.com>
26604
26605 [BZ #3268]
26606 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26607 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26608 computation is not scheduled after fetestexcept. Fix value
26609 of minimum denormal long double.
26610
f3f7372d
JJ
266112010-10-14 Jakub Jelinek <jakub@redhat.com>
26612
26613 [BZ #3268]
26614 * math/libm-test.inc (fma_test): Add some more tests.
26615 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26616 correctly.
26617
14d43591
AS
266182010-10-15 Andreas Schwab <schwab@redhat.com>
26619
26620 * scripts/data/localplt-s390-linux-gnu.data: New file.
26621 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26622
5e908464
JJ
266232010-10-13 Jakub Jelinek <jakub@redhat.com>
26624
26625 [BZ #3268]
26626 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26627 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26628 instead of dbl-64.
26629 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26630 inlines.
26631 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26632 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26633 if one of x and y is very large and the other is subnormal.
26634 * sysdeps/s390/fpu/s_fmaf.c: New file.
26635 * sysdeps/s390/fpu/s_fma.c: New file.
26636 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26637 * sysdeps/powerpc/fpu/s_fma.S: New file.
26638 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26639 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26640 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26641
266422010-10-12 Jakub Jelinek <jakub@redhat.com>
26643
26644 [BZ #3268]
26645 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26646 fma tests.
26647 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26648 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26649 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26650 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26651 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26652 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26653 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26654
b833d51f
UD
266552010-10-12 Ulrich Drepper <drepper@redhat.com>
26656
26657 [BZ #12078]
26658 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26659 * posix/bug-regex31.input: Add test case.
26660
1751705d
UD
266612010-10-11 Ulrich Drepper <drepper@gmail.com>
26662
e9b9cbf5
UD
26663 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26664 * posix/bug-regex31.input: New file.
26665
26666 [BZ #12078]
26667 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26668 (parse_sub_exp): Fix last change, use postorder.
26669
ef06edbe
UD
26670 * posix/bug-regex31.c: New file.
26671 * posix/Makefile: Add rules to build and run bug-regex31.
26672
a129c80d
UD
26673 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26674
26675 [BZ #12078]
26676 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26677
b76b818e
UD
26678 [BZ #12108]
26679 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26680 to have entries in sys_siglist.
26681
1751705d
UD
26682 [BZ #12093]
26683 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26684 be NULL.
26685
9ff8d36f
JJ
266862010-10-07 Jakub Jelinek <jakub@redhat.com>
26687
26688 [BZ #3268]
26689 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26690 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26691 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26692 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26693 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26694 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26695 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26696 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26697 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26698 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26699 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26700 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26701 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26702 * math/ftestexcept.c (fetestexcept): Likewise.
26703 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26704 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26705 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26706 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26707 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26708 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26709 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26710
af325969
UD
267112010-10-11 Ulrich Drepper <drepper@gmail.com>
26712
c579b202 26713 [BZ #12107]
af325969
UD
26714 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26715 newline.
26716
67a67b95
UD
267172010-10-06 Ulrich Drepper <drepper@gmail.com>
26718
26719 * string/bug-strstr1.c: New file.
26720 * string/Makefile: Add rules to build and run bug-strstr1.
26721
5fb308bc
EB
267222010-10-05 Eric Blake <eblake@redhat.com>
26723
26724 [BZ #12092]
26725 * string/str-two-way.h (two_way_long_needle): Always clear memory
26726 when skipping input due to the shift table.
26727
45db99c7
UD
267282010-10-03 Ulrich Drepper <drepper@gmail.com>
26729
3b111893
UD
26730 [BZ #12005]
26731 * malloc/mcheck.c: Handle large requests.
26732
45db99c7
UD
26733 [BZ #12077]
26734 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26735 for strncmp and strncasecmp.
26736 * string/stratcliff.c: Add tests for strcmp and strncmp.
26737 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26738
cf7a1eb8
NI
267392010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26740
26741 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26742 __set_fpscr.
26743
6484ba5e
AJ
267442010-09-30 Andreas Jaeger <aj@suse.de>
26745
26746 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26747 (CGROUP_SUPER_MAGIC): Define.
26748 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26749 Handle btrfs and cgroup file systems.
26750 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26751 Likewise.
26752
91c42559
LM
267532010-09-27 Luis Machado <luisgpm@br.ibm.com>
26754
26755 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26756 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26757
87a97932
AK
267582010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26759
26760 [BZ #12067]
26761 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26762 trying to locate the ELF header.
26763
c21cc9bc
AS
267642010-09-27 Andreas Schwab <schwab@redhat.com>
26765
26766 [BZ #11611]
26767 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26768 Mask out sign-bit copies when constructing f_fsid.
26769
315970f6
PB
267702010-09-24 Petr Baudis <pasky@suse.cz>
26771
26772 * debug/stack_chk_fail_local.c: Add missing licence exception.
26773 * debug/warning-nop.c: Likewise.
26774
1ac7a2c7
JM
267752010-09-15 Joseph Myers <joseph@codesourcery.com>
26776
26777 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26778 implementing getdents64 using getdents syscall, set d_type if
26779 __ASSUME_GETDENTS32_D_TYPE.
26780
56801c50
AS
267812010-09-16 Andreas Schwab <schwab@redhat.com>
26782
26783 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26784 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26785
dda51327
UD
267862010-09-21 Ulrich Drepper <drepper@redhat.com>
26787
26788 [BZ #12037]
26789 * posix/unistd.h: Undo change of feature selection for ftruncate from
26790 2010-01-11.
26791
8ffcee4a
UD
267922010-09-20 Ulrich Drepper <drepper@redhat.com>
26793
a545ecd9 26794 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
26795 detection.
26796
e24f0a8b
AS
267972010-09-20 Andreas Schwab <schwab@redhat.com>
26798
26799 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26800 fanotify_mark.
26801 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26802
7291c56f
AS
268032010-09-14 Andreas Schwab <schwab@redhat.com>
26804
26805 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26806 variables after CHECK_SP call.
26807 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26808
bc5fb037
AS
268092010-09-13 Andreas Schwab <schwab@redhat.com>
26810 Ulrich Drepper <drepper@redhat.com>
26811
26812 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26813 re-relocationg ld.so.
26814 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26815 _dl_init_paths call.
26816 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26817 here anymore.
26818
e66e7419
UD
268192010-09-14 Ulrich Drepper <drepper@redhat.com>
26820
26821 * resolv/res_init.c (__res_vinit): Count the default server we added.
26822
c044aa75
CLT
268232010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26824 Ulrich Drepper <drepper@redhat.com>
26825
26826 [BZ #11968]
26827 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26828 (____longjmp_chk): Use %ebx for saving value across system call.
26829 Add unwind info.
26830
32cf4069
AS
268312010-09-06 Andreas Schwab <schwab@redhat.com>
26832
26833 * manual/Makefile: Don't mix pattern rules with normal rules.
26834
817328ee
AS
268352010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26836
26837 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26838 operation.
26839 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26840 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26841 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26842 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26843 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26844 Likewise.
26845
29fddf61
UD
268462010-09-04 Ulrich Drepper <drepper@redhat.com>
26847
26848 [BZ #11979]
26849 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26850 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26851
0959ffc9
UD
268522010-09-02 Ulrich Drepper <drepper@redhat.com>
26853
26854 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26855 * sysdeps/x86_64/addmul_1.S: Likewise.
26856 * sysdeps/x86_64/lshift.S: Likewise.
26857 * sysdeps/x86_64/mul_1.S: Likewise.
26858 * sysdeps/x86_64/rshift.S: Likewise.
26859 * sysdeps/x86_64/sub_n.S: Likewise.
26860 * sysdeps/x86_64/submul_1.S: Likewise.
26861
ece29840
ST
268622010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26863
0959ffc9
UD
26864 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26865 Define __sched_param instead of SCHED_* and sched_param when
ece29840 26866 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 26867 * bits/sched.h [__need_schedparam]
ece29840 26868 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
26869 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26870 (__defined_schedparam): Define to 1.
ece29840
ST
26871 (__sched_param): New structure, identical to sched_param.
26872 (__need_schedparam): Undefine.
26873
e53a31fe
MF
268742010-08-31 Mike Frysinger <vapier@gentoo.org>
26875
fdc0c10d
MF
26876 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26877 (epoll_create1): Declare.
26878
e53a31fe
MF
26879 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26880
a726d796
AS
268812010-08-31 Andreas Schwab <schwab@redhat.com>
26882
26883 [BZ #7066]
26884 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26885 shifting retval into place.
26886
2f3e3dc7
UD
268872010-09-01 Ulrich Drepper <drepper@redhat.com>
26888
f2933da9
UD
26889 * nis/rpcsvc/nis.h: Update copyright notice.
26890 * nis/rpcsvc/nis.x: Likewise.
26891 * nis/rpcsvc/nis_callback.h: Likewise.
26892 * nis/rpcsvc/nis_callback.x: Likewise.
26893 * nis/rpcsvc/nis_object.x: Likewise.
26894 * nis/rpcsvc/nis_tags.h: Likewise.
26895 * nis/rpcsvc/yp.h: Likewise.
26896 * nis/rpcsvc/yp.x: Likewise.
26897 * nis/rpcsvc/ypupd.h: Likewise.
26898 * nis/yp_xdr.c: Likewise.
26899 * nis/ypupdate_xdr.c: Likewise.
26900
2f3e3dc7
UD
26901 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26902 mainly the body of pmap_getport. Add parameters to specify timeouts.
26903 (pmap_getport): Use __libc_rpc_getport.
26904 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26905 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26906 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26907
f3dcc2f9
AS
269082010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26909
26910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26911 fanotify_mark.
26912
6d34eb5b
RM
269132010-08-27 Roland McGrath <roland@redhat.com>
26914
26915 * sysdeps/i386/i686/multiarch/Makefile
26916 (CFLAGS-varshift.c): New variable.
26917
9ea3de11
UD
269182010-08-27 Ulrich Drepper <drepper@redhat.com>
26919
c96d23fc
UD
26920 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26921 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26922
9ea3de11
UD
26923 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26924
26925 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26926
623aac7f
L
269272010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26928
26929 * sysdeps/x86_64/strlen.S: Unroll the loop.
26930 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26931 strlen-sse2 strlen-sse2-bsf.
26932 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26933 __strlen_no_bsf if bit_Slow_BSF is set.
26934 (__strlen_sse42): Removed.
26935 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26936 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26937
8b2b7715
RM
269382010-08-25 Roland McGrath <roland@redhat.com>
26939
26940 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26941 * sysdeps/x86_64/multiarch/varshift.c: New file.
26942 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26943 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26944 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26945 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26946
e73015f2
L
269472010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26948
26949 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26950 strlen-sse2 strlen-sse2-bsf.
26951 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26952 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26953 (__strlen_sse2): Removed.
26954 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26955 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26956 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26957 bit_Slow_BSF for Atom.
26958 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26959 (index_Slow_BSF): Define.
26960 (HAS_SLOW_BSF): Define.
26961
df24a73e
UD
269622010-08-25 Ulrich Drepper <drepper@redhat.com>
26963
26964 [BZ #10851]
26965 * resolv/res_init.c (__res_vinit): When no server address at all
26966 is given default to loopback.
26967
f2ac4868
RM
269682010-08-24 Roland McGrath <roland@redhat.com>
26969
09055553
RM
26970 * configure.in: Remove config-name.h generation.
26971 * configure: Regenerated.
26972 * config-name.in: File removed.
26973 * scripts/config-uname.sh: New file.
26974 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26975 ($(objdir)config-name.h): New target.
26976
f2ac4868
RM
26977 * sunrpc/rpc_parse.h: Avoid nested comment.
26978
73f27d5e
RH
269792010-08-24 Richard Henderson <rth@redhat.com>
26980 Ulrich Drepper <drepper@redhat.com>
26981 H.J. Lu <hongjiu.lu@intel.com>
26982
26983 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26984 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26985 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26986 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26987 _mm_alignr_epi8 with _mm_loadu_si128.
26988 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26989 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26990 (__m128i_shift_right): Removed.
26991 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26992 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26993 * sysdeps/x86_64/multiarch/varshift.h: New file.
26994 * sysdeps/x86_64/multiarch/varshift.S: New file.
26995
84b9230c
MF
269962010-08-21 Mike Frysinger <vapier@gentoo.org>
26997
26998 * configure.in: Move assembler checks to before sysdep dir checking.
26999
9bbd0ddc
PB
270002010-08-20 Petr Baudis <pasky@suse.cz>
27001
27002 * LICENSES: Sync the sunrpc license.
27003
9da4bb31
UD
270042010-08-19 Ulrich Drepper <drepper@redhat.com>
27005
a7ab6ec8
UD
27006 * sunrpc/auth_des.c: Update copyright notice once again.
27007 * sunrpc/auth_none.c: Likewise.
27008 * sunrpc/auth_unix.c: Likewise.
27009 * sunrpc/authdes_prot.c: Likewise.
27010 * sunrpc/authuxprot.c: Likewise.
27011 * sunrpc/bindrsvprt.c: Likewise.
27012 * sunrpc/clnt_gen.c: Likewise.
27013 * sunrpc/clnt_perr.c: Likewise.
27014 * sunrpc/clnt_raw.c: Likewise.
27015 * sunrpc/clnt_simp.c: Likewise.
27016 * sunrpc/clnt_tcp.c: Likewise.
27017 * sunrpc/clnt_udp.c: Likewise.
27018 * sunrpc/clnt_unix.c: Likewise.
27019 * sunrpc/des_crypt.c: Likewise.
27020 * sunrpc/des_soft.c: Likewise.
27021 * sunrpc/get_myaddr.c: Likewise.
27022 * sunrpc/getrpcport.c: Likewise.
27023 * sunrpc/key_call.c: Likewise.
27024 * sunrpc/key_prot.c: Likewise.
27025 * sunrpc/openchild.c: Likewise.
27026 * sunrpc/pm_getmaps.c: Likewise.
27027 * sunrpc/pm_getport.c: Likewise.
27028 * sunrpc/pmap_clnt.c: Likewise.
27029 * sunrpc/pmap_prot.c: Likewise.
27030 * sunrpc/pmap_prot2.c: Likewise.
27031 * sunrpc/pmap_rmt.c: Likewise.
27032 * sunrpc/rpc/auth.h: Likewise.
27033 * sunrpc/rpc/auth_unix.h: Likewise.
27034 * sunrpc/rpc/clnt.h: Likewise.
27035 * sunrpc/rpc/des_crypt.h: Likewise.
27036 * sunrpc/rpc/key_prot.h: Likewise.
27037 * sunrpc/rpc/netdb.h: Likewise.
27038 * sunrpc/rpc/pmap_clnt.h: Likewise.
27039 * sunrpc/rpc/pmap_prot.h: Likewise.
27040 * sunrpc/rpc/pmap_rmt.h: Likewise.
27041 * sunrpc/rpc/rpc.h: Likewise.
27042 * sunrpc/rpc/rpc_des.h: Likewise.
27043 * sunrpc/rpc/rpc_msg.h: Likewise.
27044 * sunrpc/rpc/svc.h: Likewise.
27045 * sunrpc/rpc/svc_auth.h: Likewise.
27046 * sunrpc/rpc/types.h: Likewise.
27047 * sunrpc/rpc/xdr.h: Likewise.
27048 * sunrpc/rpc_clntout.c: Likewise.
27049 * sunrpc/rpc_cmsg.c: Likewise.
27050 * sunrpc/rpc_common.c: Likewise.
27051 * sunrpc/rpc_cout.c: Likewise.
27052 * sunrpc/rpc_dtable.c: Likewise.
27053 * sunrpc/rpc_hout.c: Likewise.
27054 * sunrpc/rpc_main.c: Likewise.
27055 * sunrpc/rpc_parse.c: Likewise.
27056 * sunrpc/rpc_parse.h: Likewise.
27057 * sunrpc/rpc_prot.c: Likewise.
27058 * sunrpc/rpc_sample.c: Likewise.
27059 * sunrpc/rpc_scan.c: Likewise.
27060 * sunrpc/rpc_scan.h: Likewise.
27061 * sunrpc/rpc_svcout.c: Likewise.
27062 * sunrpc/rpc_tblout.c: Likewise.
27063 * sunrpc/rpc_util.c: Likewise.
27064 * sunrpc/rpc_util.h: Likewise.
27065 * sunrpc/rpcinfo.c: Likewise.
27066 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27067 * sunrpc/rpcsvc/key_prot.x: Likewise.
27068 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27069 * sunrpc/rpcsvc/mount.x: Likewise.
27070 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27071 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27072 * sunrpc/rpcsvc/rex.x: Likewise.
27073 * sunrpc/rpcsvc/rstat.x: Likewise.
27074 * sunrpc/rpcsvc/rusers.x: Likewise.
27075 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27076 * sunrpc/rpcsvc/spray.x: Likewise.
27077 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27078 * sunrpc/rtime.c: Likewise.
27079 * sunrpc/svc.c: Likewise.
27080 * sunrpc/svc_auth.c: Likewise.
27081 * sunrpc/svc_authux.c: Likewise.
27082 * sunrpc/svc_raw.c: Likewise.
27083 * sunrpc/svc_run.c: Likewise.
27084 * sunrpc/svc_simple.c: Likewise.
27085 * sunrpc/svc_tcp.c: Likewise.
27086 * sunrpc/svc_udp.c: Likewise.
27087 * sunrpc/svc_unix.c: Likewise.
27088 * sunrpc/svcauth_des.c: Likewise.
27089 * sunrpc/xcrypt.c: Likewise.
27090 * sunrpc/xdr.c: Likewise.
27091 * sunrpc/xdr_array.c: Likewise.
27092 * sunrpc/xdr_float.c: Likewise.
27093 * sunrpc/xdr_mem.c: Likewise.
27094 * sunrpc/xdr_rec.c: Likewise.
27095 * sunrpc/xdr_ref.c: Likewise.
27096 * sunrpc/xdr_sizeof.c: Likewise.
27097 * sunrpc/xdr_stdio.c: Likewise.
27098
9da4bb31
UD
27099 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27100 handling.
27101
bdaa77bc
AS
271022010-08-19 Andreas Schwab <schwab@redhat.com>
27103
27104 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27105
fe2f79db
LM
271062010-08-19 Luis Machado <luisgpm@br.ibm.com>
27107
27108 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27109 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27110 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27111 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27112 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27113 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27114 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27115 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27116 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27117 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27118 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27119 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27120 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27121 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27122
b9b42ee0
AB
271232010-07-26 Anton Blanchard <anton@samba.org>
27124
27125 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27126 * malloc/arena.c (heap_trim): Likewise.
27127
1c06ba31
UD
271282010-08-16 Ulrich Drepper <drepper@redhat.com>
27129
27130 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27131 here. Not...
27132 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27133 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27134
f8392f40
L
271352010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27136
27137 * sysdeps/i386/elf/Makefile: New file.
27138
3162f12e
AS
271392010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27140
27141 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27142 from fanotify_init.
27143 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27144 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27145
28c90b2c
UD
271462010-08-15 Ulrich Drepper <drepper@redhat.com>
27147
27148 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27149 of strncasecmp_l.
1feccb6c 27150 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 27151
ca6bb004
UD
271522010-08-14 Ulrich Drepper <drepper@redhat.com>
27153
e9f82e0d
UD
27154 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27155 strncase_l-nonascii.
27156 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27157 Add strncase_l-ssse3.
27158 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27159 * sysdeps/x86_64/strcmp.S: Likewise.
27160 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27161 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27162 * sysdeps/x86_64/strncase.S: New file.
27163 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27164 * sysdeps/x86_64/strncase_l.S: New file.
27165 * string/Makefile (strop-tests): Add strncasecmp.
27166 * string/test-strncasecmp.c: New file.
27167
27168 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27169 warning.
27170
ca6bb004
UD
27171 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27172 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27173
052fa7b3
AS
271742010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27175
27176 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27177
962dba78
UD
271782010-08-12 Ulrich Drepper <drepper@redhat.com>
27179
27180 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27181 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27182 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27183
bebff237
AM
271842010-05-01 Alan Modra <amodra@gmail.com>
27185
27186 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27187 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27188 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27189 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27190 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27191 tidying. Don't tail-call __sigjmp_save for static lib.
27192 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27193 save location.
27194 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27195 (CALL_MCOUNT): Add eh info, and nop after bl.
27196 (TAIL_CALL_SYSCALL_ERROR): New macro.
27197 (PSEUDO_RET): Use it.
27198 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27199 Correct save location of integer regs and cr.
27200 (_dl_profile_resolve): Correct cr save location. Delete nops
27201 after bl when SHARED. Reduce cfi size a little by better
27202 placement of cfi directives.
27203 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27204 make a stack frame. Instead use parm save area as a temp.
27205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27206 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27208 Don't make a stack frame for parent, use parm save area.
27209 Increase child stack frame to 112 bytes. Don't save unused reg,
27210 and adjust reg usage. Set up cfi on error recovery and
27211 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27213 (__makecontext): Add dummy nop after jump to exit.
27214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27215 Use correct parm save area and cr save, reduce stack frame.
27216 Correct cfi for possible PSEUDO_RET frame setup.
27217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27218 Branch to local label emitted by PSEUDO_RET rather than
27219 __syscall_error.
27220
02637374
AS
272212010-08-12 Andreas Schwab <schwab@redhat.com>
27222
27223 [BZ #11904]
27224 * locale/programs/locale.c (print_assignment): New function.
27225 (show_locale_vars): Use it.
27226
c3e2f19b
UD
272272010-08-11 Ulrich Drepper <drepper@redhat.com>
27228
3cdaa6ad
UD
27229 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27230 field.
27231 (struct statfs64): Likewise.
27232 (_STATFS_F_FLAGS): Define.
27233 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27234 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27235 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27236 (ST_VALID): Define locally.
27237 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27238 __statvfs_getflags, use the provided value.
27239 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27240 __ASSUME_STATFS_F_FLAGS.
27241
754f7da3
UD
27242 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27243
10b3bedc
UD
27244 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27245 Add sys/fanotify.h.
27246 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27247 fanotify_mask for GLIBC_2.13.
27248 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27249 fanotify_init and fanotify_mark.
27250 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27251 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27252
c08fb0d7
UD
27253 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27254 Add prlimit.
27255 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27256 prlimit64 for GLIBC_2.13.
27257 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27258 prlimit64.
27259 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27260 syscall.
27261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27262 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27263 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27264 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27265 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27266 add prlimit alias.
27267 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27268
15bac72b
UD
27269 [BZ #11903]
27270 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27271 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27272
c3e2f19b
UD
27273 * nss/Makefile: Add rules to build and run tst-nss-test1.
27274 * shlib-versions: Add entry for libnss_test1.
27275 * nss/nss_test1.c: New file.
27276 * nss/tst-nss-test1.c: New file.
27277
27278 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27279 (__nss_configure_lookup): Set appropriate entry in
27280 __nss_configure_lookup to true.
27281 * nss/nsswitch.h: Define enum with indeces of databases in
27282 databases and __nss_database_custom arrays. Declare
27283 __nss_database_custom.
27284 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27285 to avoid using nscd when custom rules are installed.
27286 * nss/getXXbyYY_r.c: Likewise.
27287 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27288
27289 * nss/nss_files/files-parse.c: Whitespace fixes.
27290
f15ce4d8
UD
272912010-08-09 Ulrich Drepper <drepper@redhat.com>
27292
27293 [BZ #11883]
27294 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27295 * posix/fnmatch_loop.c: Likewise.
27296
d22e4cc9
AK
272972010-07-17 Andi Kleen <ak@linux.intel.com>
27298
27299 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27300 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27301 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27302 * Versions.def [GLIBC_2.13]: Add.
27303
805bc17d
UD
273042010-08-06 Ulrich Drepper <drepper@redhat.com>
27305
27306 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27307 Also fail if tpwd after pwuid call is NULL.
27308
5a42321d
ST
273092010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27310
27311 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27312 when converting to ms.
27313
fd3ebeda
ST
273142010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27315
27316 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27317 EOPNOTSUPP errors with ENOTTY.
27318 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27319 EOPNOTSUPP errors with ENOTTY.
27320
73507d3a
UD
273212010-07-31 Ulrich Drepper <drepper@redhat.com>
27322
27323 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27324 Add strcasecmp_l-ssse3.
27325 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27326 strcasecmp.
27327 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27328 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27329 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27330
fe36dd02
UD
273312010-07-30 Ulrich Drepper <drepper@redhat.com>
27332
66f6765a
UD
27333 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27334
42e08a54
UD
27335 * string/Makefile (strop-tests): Add strcasecmp.
27336 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27337 strcasecmp_l-nonascii.
27338 (gen-as-const-headers): Add locale-defines.sym.
27339 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27340 * sysdeps/x86_64/strcasecmp.S: New file.
27341 * sysdeps/x86_64/strcasecmp_l.S: New file.
27342 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27343 * sysdeps/x86_64/locale-defines.sym: New file.
27344 * string/test-strcasecmp.c: New file.
27345
fe36dd02
UD
27346 * string/test-strcasestr.c: Test both ends of the range of characters.
27347 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27348
48cbc0d6
RM
273492010-07-29 Roland McGrath <roland@redhat.com>
27350
76e6d6bc 27351 [BZ #11856]
48cbc0d6
RM
27352 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27353
880113d9
UD
273542010-07-27 Ulrich Drepper <drepper@redhat.com>
27355
27356 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27357 for ld.so.
27358
deb9cabb
AS
273592010-07-27 Andreas Schwab <schwab@redhat.com>
27360
27361 * manual/memory.texi (Malloc Tunable Parameters): Document
27362 M_PERTURB.
27363
1c7570ff
RM
273642010-07-26 Roland McGrath <roland@redhat.com>
27365
27366 [BZ #11840]
27367 * configure.in (-fgnu89-inline check): Set and substitute
27368 gnu89_inline, not libc_cv_gnu89_inline.
27369 * configure: Regenerated.
27370 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27371
24fb0f88
UD
273722010-07-26 Ulrich Drepper <drepper@redhat.com>
27373
27374 * string/test-strnlen.c: New file.
27375 * string/Makefile (strop-tests): Add strnlen.
27376 * string/tester.c (test_strnlen): Add a few more test cases.
27377 * string/tst-strlen.c: Better error reporting.
27378
27379 * sysdeps/x86_64/strnlen.S: New file.
27380
8e96b93a
UD
273812010-07-24 Ulrich Drepper <drepper@redhat.com>
27382
27383 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27384 lower-latency instructions.
27385
dbc676d4
UD
273862010-07-23 Ulrich Drepper <drepper@redhat.com>
27387
27388 * string/test-strcasestr.c: New file.
27389 * string/test-strstr.c: New file.
27390 * string/Makefile (strop-tests): Add strstr and strcasestr.
27391 * string/str-two-way.h: Don't undefine MAX.
27392 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27393
f6a31e0e
AS
273942010-07-21 Andreas Schwab <schwab@redhat.com>
27395
27396 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27397 strcasestr-nonascii.
27398 (CFLAGS-strcasestr-nonascii.c): Define.
27399 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27400 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27401 Remove unused attribute.
27402
5dbc3b6c
RM
274032010-07-20 Roland McGrath <roland@redhat.com>
27404
27405 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27406 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27407 ld.so.cache was broken. With it, there is no way to disable dsocaps
27408 like LD_HWCAP_MASK can disable hwcaps.
27409
23d101d8
EPM
274102010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27411
27412 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27413
cc9f2e47
UD
274142010-07-16 Ulrich Drepper <drepper@redhat.com>
27415
27416 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27417 call in strcasestr.
27418 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27419 __strcasestr_sse42_nonascii.
27420 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27421 strcasestr-nonascii.c.
27422 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27423
77c1b069
LM
274242010-06-15 Luis Machado <luisgpm@br.ibm.com>
27425
27426 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27427 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27428 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27429 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27430
440566c3
UD
274312010-07-09 Ulrich Drepper <drepper@redhat.com>
27432
27433 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27434 fcntl.
27435
5be9d05d
AS
274362010-07-06 Andreas Schwab <schwab@redhat.com>
27437
c30b7ee2 27438 [BZ #11577]
5be9d05d
AS
27439 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27440 dl_signal_cerror.
27441
8a492a67
UD
274422010-07-06 Ulrich Drepper <drepper@redhat.com>
27443
27444 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27445 _PC_PIPE_BUF using F_GETPIPE_SZ.
27446
713df3d5
RM
274472010-07-05 Roland McGrath <roland@redhat.com>
27448
27449 * manual/arith.texi (Rounding Functions): Fix rint description
27450 implicit in round description.
27451
702e8f14
UD
274522010-07-02 Ulrich Drepper <drepper@redhat.com>
27453
27454 * elf/Makefile: Fix linking for a few tests to make recent linker
27455 happy.
27456
52ed8be9
AS
274572010-06-30 Andreas Schwab <schwab@redhat.com>
27458
27459 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27460 $(common-objpfx)libc_nonshared.a.
27461
f47c9a11
LM
274622010-06-21 Luis Machado <luisgpm@br.ibm.com>
27463
27464 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27465 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27466 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27467 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27468 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27469 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27470 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27471 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27486 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27487 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27488 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27489 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27490 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27491 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27492 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27493 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27494 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27495 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27496 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27497 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27512
6fb8cbcb
L
275132010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27514
27515 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27516 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27517 * string/memmove.c (memmove): Renamed to ...
27518 (MEMMOVE): ...this. Default to memmove.
27519 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27520 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27521 (END_CHK): Define.
27522 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27523 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27524 mempcpy-ssse3-back memmove-ssse3-back.
27525 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27526 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27527 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27528 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27529 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27530 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27531 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27532 * sysdeps/x86_64/multiarch/memmove.c: New file.
27533 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27534 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27535 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27536 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27537 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27538 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27539 Define.
27540 (index_Fast_Copy_Backward): Define.
27541 (HAS_ARCH_FEATURE): Define.
27542 (HAS_FAST_REP_STRING): Define.
27543 (HAS_FAST_COPY_BACKWARD): Define.
27544
4e733bac 275452010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
27546
27547 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27548 Restore proper fallback handling.
27549
63c4ed22
UD
275502010-06-19 Ulrich Drepper <drepper@redhat.com>
27551
ac2b484c
UD
27552 [BZ #11701]
27553 * posix/group_member.c (__group_member): Correct checking loop.
27554
63c4ed22
UD
27555 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27556 OOM in getpwuid_r correctly. Return error number when the caller
27557 should return, otherwise -1.
27558 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27559 call returning > 0 value.
27560 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27561
765ade4b
AS
275622010-06-07 Andreas Schwab <schwab@redhat.com>
27563
27564 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27565 libc_nonshared.a from targets in modules-names.
27566
80da2e09
KS
275672010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27568
27569 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27570 requires it.
27571
158db122
LM
275722010-06-10 Luis Machado <luisgpm@br.ibm.com>
27573
27574 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27575 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27576 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27577 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27578
caa78cf8
AS
275792010-06-02 Andreas Schwab <schwab@redhat.com>
27580
27581 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27582
b2ef2c01
UD
275832010-06-14 Ulrich Drepper <drepper@redhat.com>
27584
27585 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27586 and F_GETPIPE_SZ.
27587 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27588 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27589 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27590 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27591 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27592 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27593
fbd643b6
RM
275942010-06-14 Roland McGrath <roland@redhat.com>
27595
27596 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27597
f32f2869
JJ
275982010-06-07 Jakub Jelinek <jakub@redhat.com>
27599
27600 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27601 __REDIRECT followed by __THROW.
27602 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27603 * posix/getopt.h (getopt): Likewise.
27604
2a50c078
EPM
276052010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27606
27607 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27608 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27609 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27610 in AT_FLAGS.
27611 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27612 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27613
eb5ad2eb
LM
276142010-05-28 Luis Machado <luisgpm@br.ibm.com>
27615
27616 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27617
3c88fe1e
L
276182010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27619
27620 [BZ #11640]
27621 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27622 Properly check family and model.
27623
d2f73151
TY
276242010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27625
27626 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27627
ebd2e13d
LM
276282010-05-24 Luis Machado <luisgpm@br.ibm.com>
27629
27630 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27631
b32b8b45
UD
276322010-05-21 Ulrich Drepper <drepper@redhat.com>
27633
27634 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27635 symbol reference.
27636
9acbe24d
AS
276372010-05-19 Andreas Schwab <schwab@redhat.com>
27638
27639 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27640 symbol reference.
27641
f0ccf6ea
AS
276422010-05-21 Andreas Schwab <schwab@redhat.com>
27643
3d04ff3a
AS
27644 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27645 and internal_recvmmsg.
27646 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27647 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27648 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27649 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27650
f0ccf6ea
AS
27651 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27652 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27653 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27654
5b08ac57
AS
276552010-05-20 Andreas Schwab <schwab@redhat.com>
27656
27657 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27658
4828935d
LM
276592010-05-17 Luis Machado <luisgpm@br.ibm.com>
27660
27661 POWER7 optimizations.
27662 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27663 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27664
373d545e
UD
276652010-05-19 Ulrich Drepper <drepper@redhat.com>
27666
27667 * version.h: Update for 2.13 development version.
27668
21a2b1ae
AS
276692010-05-12 Andrew Stubbs <ams@codesourcery.com>
27670
27671 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27672 exceptions. Return 0.
27673
3f7dcb2b
RM
276742010-05-07 Roland McGrath <roland@redhat.com>
27675
27676 * elf/ldconfig.c (main): Add a const.
27677
5f24d53a 276782010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 27679
a160f8d8
UD
27680 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27681 (args_options): Add no-idn option.
27682 (ahosts_keys_int): Add idn_flags to ai_flags.
27683 (parse_option): Handle 'i' option to clear idn_flags.
27684
5f24d53a
UD
27685 * malloc/malloc.c (_int_free): Possible race in the most recently
27686 added check. Only act on the data if no current modification
27687 happened.
265bb1ce
UD
27688
27689See ChangeLog.17 for earlier changes.