]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update ChangeLog.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
b7a329a5
CD
12013-04-06 Carlos O'Donell <carlos@redhat.com>
2
3 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4 * sysdeps/s390/s390-64/sysdep.h: Likewise.
5
bf0f50df
TS
62013-04-05 Thomas Schwinge <thomas@codesourcery.com>
7
ee091edf
TS
8 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9 (lmsnanval): New variables.
10 (F): Add conversion tests.
11 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
13
a8b792d6
TS
14 * stdio-common/tstdiomisc.c (F): Properly collect individual
15 tests' results.
16
a1cbf437
TS
17 [BZ #14686, #15336]
18 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20 Instead, use input NaN values or generate a qNaN by arithmetic
21 operation. Also fix bugs to comply with the standard.
22 * math/libm-test.inc (remainder_test): Add more tests.
23
8b43a0c9
TS
24 [BZ #15335, #15342]
25 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
26 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27 input NaN values or generate a qNaN by arithmetic operation.
28
d91da4ce
TS
29 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30 unreachable code.
31
bf0f50df
TS
32 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
33 definitions.
34
05e166c8
JM
352013-04-03 Joseph Myers <joseph@codesourcery.com>
36
37 [BZ #14478]
38 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
39 underflowed result.
40 * math/s_cexpf.c (__cexpf): Likewise.
41 * math/s_cexpl.c (__cexpl): Likewise.
42 * math/libm-test.inc (cexp_test): Add more tests.
43
1cef1b19
AS
442013-04-03 Andreas Schwab <schwab@suse.de>
45
46 [BZ #15330]
47 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
48 order arrays from heap if bigger than alloca cutoff.
49
74d87055
TS
502013-04-03 Thomas Schwinge <thomas@codesourcery.com>
51
52 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
53 (SNAN_TESTS_double): Refer to GCC PR56831.
54 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
55 GCC PR56828.
56
d755bba4
SP
572013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
58
90d5d5bb
SP
59 * Rules (bench): Move bench.out after the run is complete.
60
73e0cd5d
SP
61 * Rules (bench): Echo currently running benchmark.
62
64aabd4b
SP
63 * benchtests/Makefile (bench): Add atan and slowatan.
64 * benchtests/atan-inputs: New file.
65 * benchtests/slowatan-inputs: New file.
66 * benchtests/slowatan.c: New file.
67
c871eccd
SP
68 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
69 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
70 its value.
71
d755bba4
SP
72 [BZ #15305]
73 * sysdeps/unix/sysv/linux/kernel-features.h
74 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
75 __ASSUME_XFS_RESTRICTED_CHOWN.
76 * sysdeps/unix/sysv/linux/pathconf.c
77 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
78 Save and restore errno.
79
52ce4860
JM
802013-04-02 Joseph Myers <joseph@codesourcery.com>
81
82 [BZ #15327]
83 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
84 arguments using __kernel_casinh.
85 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
86 arguments using __kernel_casinhf.
87 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
88 arguments using __kernel_casinhl.
89 * math/libm-test.inc (cacosh_test): Add more tests.
90 * sysdeps/i386/fpu/libm-test-ulps: Update.
91 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
92
81f311c2
SP
932013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
94
e7906a47
SP
95 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
96 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
97
92e3664b
SP
98 * bench/Makefile (bench): Add sin and slowsin.
99 * benchtests/sin-inputs: New file.
100 * benchtests/slowsin-inputs: New file.
101 * benchtests/slowsin.c: New file.
102
81f311c2
SP
103 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
104 (bench): Add slowexp and slowpow.
105 (exp-ITER): Increase iterations.
106 (pow-ITER): Likewise.
107 * benchtests/exp-inputs: Change input.
108 * benchtests/pow-inputs: Likewise.
109 * benchtests/slowexp-inputs: New file.
110 * benchtests/slowexp.c: New file.
111 * benchtests/slowpow-inputs: New file.
112 * benchtests/slowpow.c: New file.
113
ab0f1aa9
AZ
1142013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
115
116 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
117 instructions.
118 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
119 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
120 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
121 * benchtests/Makefile: Add rint benchtest.
122 * benchtests/rint-inputs: Input for rint benchtest.
123
57267616
TS
1242013-04-02 Thomas Schwinge <thomas@codesourcery.com>
125
126 * Versions.def (libm): Add GLIBC_2.18.
127 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
128 hidden libm prototypes.
129 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
130 * math/Makefile (libm-calls): Add s_issignaling.
131 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
132 __issignalingf, __issignalingl. Adjust all libm.abilist files.
133 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
134 declaration.
135 * math/math.h [__USE_GNU] (issignaling): New macro.
136 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
137 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
138 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
139 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
140 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
141 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
142 * manual/arith.texi (issignaling): New section.
143 * manual/libm-err-tab.pl (@all_functions): Update comment.
144 * math/gen-libm-test.pl (parse_args): Apply special handling for
145 issignaling.
146 * math/libm-test.inc (print_float, issignaling_test): New
147 functions.
148 (check_float_internal): Add issignaling checks.
149 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
150 default definition.
151 * sysdeps/powerpc/math-tests.h: New file.
152 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
153 tests.
154 * math/test-snan.c (TEST_FUNC): Likewise.
155
6142896d
DM
1562013-03-30 David S. Miller <davem@davemloft.net>
157
158 * po/de.po: Update from translation team.
159
ccc8cadf
JM
1602013-03-30 Joseph Myers <joseph@codesourcery.com>
161
162 [BZ #10357]
163 * math/k_casinh.c (__kernel_casinh): Handle arguments with
164 imaginary part less than 1.0 and real part less than 0.5
165 specially.
166 * math/k_casinhf.c (__kernel_casinhf): Likewise.
167 * math/k_casinhl.c (__kernel_casinhl): Likewise.
168 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
169 (cacos_test): Add more tests.
170 (casin_test): Likewise.
171 (casinh_test): Likewise.
172 * sysdeps/i386/fpu/libm-test-ulps: Update.
173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
174
0f6a8d4b
SP
1752013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
176
0d1029de
SP
177 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
178 ONE with its value.
179
c2d94018
SP
180 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
181 (__pow_mp): Replace ONE and MONE with their values.
182 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
183 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
184 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
185 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
186 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
187 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
188
27ec37f1
SP
189 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
190
a64d7e0e
SP
191 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
192 (__pow_mp): Replace ZERO and MZERO with their values.
193 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
194 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
195 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
196 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
197 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
198 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
199 (__sqr): Likewise.
200
d26dd3eb
SP
201 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
202
0f6a8d4b
SP
203 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
204
e57b0c61
RM
2052013-03-28 Roland McGrath <roland@hack.frob.com>
206
207 * include/stdlib.h [!SHARED] (__call_tls_dtors):
208 Declare with __attribute__ ((weak)).
209 * stdlib/exit.c (__libc_atexit) [!SHARED]:
210 Call __call_tls_dtors only if it's not NULL.
211
356b3480
RM
2122013-03-28 Roland McGrath <roland@hack.frob.com>
213
288f7d79
RM
214 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
215 didn't do it already, then set _dl_phdr and _dl_phnum based on the
216 magic __ehdr_start linker symbol if it's defined.
217 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
218 them up here if it was already done.
219
dc0a0263
RM
220 * elf/dl-support.c (_dl_phdr): Make pointer to const.
221 (_dl_aux_init): Use const in cast when setting it.
222 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
223 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
224 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
225
3d3436ae
RM
226 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
227 Declare them here.
228 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
229 * csu/libc-tls.c: Nor here.
230 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
231
356b3480
RM
232 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
233 (__libc_message): Never call vsyslog.
234
b0f1246a
AM
2352013-03-28 Alan Modra <amodra@gmail.com>
236
237 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
238 Define as empty.
239 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
240 Likewise.
241
fbbe2b9a
AZ
2422013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
243
244 [BZ #15214]
245 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
246 underflow.
247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
248
1728ab37
SP
2492013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
250
7a86be6e
SP
251 [BZ #15304]
252 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
253 Don't add gid passed as argument.
254
1728ab37
SP
255 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
256
3a7182a1
JM
2572013-03-27 Joseph Myers <joseph@codesourcery.com>
258
259 [BZ #15307]
260 * math/k_casinh.c (__kernel_casinh): Handle arguments with
261 imaginary part between 1.0 and 1.5 and real part less than 0.5
262 specially.
263 * math/k_casinhf.c (__kernel_casinhf): Likewise.
264 * math/k_casinhl.c (__kernel_casinhl): Likewise.
265 * math/libm-test.inc (cacos_test): Add more tests.
266 (casin_test): Likewise.
267 (casinh_test): Likewise.
268 * sysdeps/i386/fpu/libm-test-ulps: Update.
269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
270
6f2e90e7
SP
2712013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
272
5739f705
SP
273 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
274 constants.
275 (norm): Likewise.
276 (denorm): Likewise.
277 (__dbl_mp): Likewise.
278 (add_magnitudes): Likewise.
279 (sub_magnitudes): Likewise.
280 (__add): Likewise.
281 (__sub): Likewise.
282 (__mul): Likewise.
283 (__sqr): Likewise.
284 (__inv): Likewise.
285 (__dvd): Likewise.
286
e375e83d
SP
287 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
288 commented code.
289 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
290 (__dubcos): Likewise.
291 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
292 (__ieee754_acos): Likewise.
293 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
294 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
295 (__exp1): Likewise.
296 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
297 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
298 (log1): Likewise.
299 (my_log2): Likewise.
300 (checkint): Likewise.
301 * sysdeps/ieee754/dbl-64/e_remainder.c
302 (__ieee754_remainder): Likewise.
303 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
304 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
305 (bsloww): Likewise.
306 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
307
6f2e90e7
SP
308 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
309 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
310 MANTISSA_STORE_T to store computations on mantissa. Use
311 macros for rounding and division.
312 (denorm): Likewise.
313 (__dbl_mp): Likewise.
314 (add_magnitudes): Likewise.
315 (sub_magnitudes): Likewise.
316 (__mul): Likewise.
317 (__sqr): Likewise.
318 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
319 powers of two in terms of TWOPOW macro.
320 (mp_no): Make type of mantissa as MANTISSA_T.
321 [!RADIXI]: Define RADIXI.
322 [!TWO52]: Define TWO52.
323 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
324
fce14d4e
AZ
3252013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
326
327 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
328 llroundl symbol when building for PPC32.
329
9ad027fb
MW
3302013-03-24 Mark H Weaver <mhw@netris.org>
331
332 * manual/arith.texi (Normalization Functions): Fix prototypes for
333 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
334
e42a38dd
AZ
3352013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
336
337 [BZ #13889]
338 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
339 high value to check if expl overflow.
340 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
341 to check for underflow and overflow.
342 * math/libm-test.inc: Add exp test.
343
2e0fb521
DL
3442013-03-21 Dmitry V. Levin <ldv@altlinux.org>
345
346 [BZ #11120]
347 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
348 with NOT_IN_libc.
349
b5784d95
AZ
3502013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
351
352 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
353 symbol.
354
5aa4a1a1
TS
3552013-03-21 Thomas Schwinge <thomas@codesourcery.com>
356
bdef0be7
TS
357 * math/gen-libm-test.pl (parse_args, special_functions): Properly
358 wrap blocks consisting of several statements.
359
5aa4a1a1
TS
360 * sysdeps/generic/math-tests.h: New file.
361 * sysdeps/i386/fpu/math-tests.h: Likewise.
362 * math/test-snan.c: Include it.
363 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
364
98c48fe5
JM
3652013-03-21 Joseph Myers <joseph@codesourcery.com>
366
367 [BZ #15285]
368 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
369 (__ieee754_j0l): Do not improve calculations using cos of twice
370 input for inputs above LDBL_MAX / 2.0L.
371 (__ieee754_y0l): Likewise.
372 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
373 (__ieee754_j1l): Do not improve calculations using cos of twice
374 input for inputs above LDBL_MAX / 2.0L.
375 (__ieee754_y1l): Likewise.
376 * math/libm-test.inc (j0_test): Add another test.
377 (j1_test): Likewise.
378 (y0_test): Likewise.
379 (y1_test): Likewise.
380 * sysdeps/i386/fpu/libm-test-ulps: Update.
381
3775a8bc
SP
3822013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
383
384 * Rules ($(objpfx)bench-%.c): Include code from a C source
385 file.
386
0a1b2ae6
JM
3872013-03-21 Joseph Myers <joseph@codesourcery.com>
388
389 [BZ #15287]
390 * math/k_casinh.c (__kernel_casinh): Handle arguments with
391 imaginary part 1.0 and real part less than 0.5 specially.
392 * math/k_casinhf.c (__kernel_casinhf): Likewise.
393 * math/k_casinhl.c (__kernel_casinhl): Likewise.
394 * math/libm-test.inc (cacos_test): Add more tests.
395 (casin_test): Likewise.
396 (casinh_test): Likewise.
397 * sysdeps/i386/fpu/libm-test-ulps: Update.
398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
399
b33d4ce4
SP
4002013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
401
402 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
403 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
404
bef0b507
JM
4052013-03-20 Joseph Myers <joseph@codesourcery.com>
406
407 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
408 * config.make.in (config-cflags-sse4): Remove variable.
409 (config-cflags-avx): Likewise.
410 (config-cflags-sse2avx): Likewise.
411 (config-cflags-novzeroupper): Likewise.
412 (config-asflags-i686): Likewise.
413 (have-mfma4): Likewise.
414 (have-as-vis3): Likewise.
415 (MIG): Likewise.
416 * configure.in (MIG): Do not AC_SUBST.
417 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
418 (libc_cv_cc_sse4): Do not AC_SUBST.
419 (libc_cv_cc_avx): Likewise.
420 (libc_cv_cc_sse2avx): Likewise.
421 (libc_cv_cc_novzeroupper): Likewise.
422 (libc_cv_cc_fma4): Likewise.
423 (libc_cv_as_i686): Likewise.
424 (libc_cv_sparc_as_vis3): Likewise.
425 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
426 LIBC_CONFIG_VAR.
427 (config-asflags-i686): Likewise.
428 (config-cflags-avx): Likewise.
429 (config-cflags-sse2avx): Likewise.
430 (have-mfma4): Likewise.
431 (config-cflags-novzeroupper): Likewise.
432 * sysdeps/mach/configure.in (MIG): Likewise.
433 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
434 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
435 LIBC_CONFIG_VAR.
436 (config-cflags-avx): Likewise.
437 (config-cflags-sse2avx): Likewise.
438 (have-mfma4): Likewise.
439 (config-cflags-novzeroupper): Likewise.
440 * configure: Regenerated.
441 * sysdeps/i386/configure: Likewise.
442 * sysdeps/mach/configure: Likewise.
443 * sysdeps/sparc/configure: Likewise.
444 * sysdeps/x86_64/configure: Likewise.
445
912cc4b3
RM
4462013-03-20 Roland McGrath <roland@hack.frob.com>
447
448 [BZ #14812]
449 * locale/programs/localedef.c (options): Put N_ translation marker
450 on argument names, not just descriptions.
451
04eed2b0
MS
4522013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
453
454 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
455
a065ceff
OB
4562013-03-20 Ondřej Bílka <neleai@seznam.cz>
457
9bb2a810 458 [BZ #14176]
a065ceff
OB
459 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
460
a600e5ce
RM
4612013-03-19 Roland McGrath <roland@hack.frob.com>
462
463 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
464 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
465 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
466 [!BEFORE_ABORT] (before_abort): New function.
467 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
468 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
469 (writev_for_fatal): New function.
470 (WRITEV_FOR_FATAL): New macro; call that.
471 (backtrace_and_maps): New function.
472 (BEFORE_ABORT): New macro; call that.
473 (struct str_list): Type removed.
474 (__libc_message, __libc_fatal): Functions removed.
475 Include <sysdeps/posix/libc_fatal.c> instead.
476
6b18bea6
JM
4772013-03-19 Joseph Myers <joseph@codesourcery.com>
478
479 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
480 constants.
481 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
482 double constants.
483
aaa8cb4b
AS
4842013-03-19 Andreas Schwab <schwab@suse.de>
485
44673770
AS
486 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
487 * sysdeps/gnu/configure: Regenerate.
488
aaa8cb4b
AS
489 * configure.in: Substitute libc_cv_rtlddir.
490 * configure: Regenerate.
491 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
492 * Makeconfig (rtlddir, inst_rtlddir): New variables.
493 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
494 * elf/Makefile (install-others, CFLAGS-interp.c)
495 (ldso_install, common-ldd-rewrite): Likewise.
496 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
497 $(inst_slibdir)/$(rtld-installed-name).
498 * scripts/rellns-sh: Add -p option.
499 * Makerules (make-shlib-link): Use rellns-sh to get relative name
500 for source.
501
d3cfc668
SP
5022013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
503
504 * manual/nptl.texi: Renamed to ...
505 * manual/threads.texi: ... this.
506 * manual/Makefile (chapters): Update.
507
0e2b9cdd
RM
5082013-03-18 Roland McGrath <roland@hack.frob.com>
509
510 [BZ #14812]
511 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
512 on argument names, not just descriptions.
0e2b9cdd
RM
513 * malloc/memusagestat.c (options): Likewise.
514 * nss/getent.c (options): Likewise.
63270c24
RM
515
5162013-03-18 Benno Schulenberg <bensberg@justemail.net>
517
518 [BZ #14812]
519 * iconv/iconv_prog.c (options): Put N_ translation marker
520 on argument names, not just descriptions.
521 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 522
b2e1393c
OB
5232013-03-18 Ondrej Bilka <neleai@seznam.cz>
524
525 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
526 implementation which is faster on all x86_64 architectures.
527 Tested on AMD, Intel Nehalem, SNB, IVB.
528 * sysdeps/x86_64/strnlen.S: Likewise.
529
530 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
531 Remove all multiarch strlen and strnlen versions.
532 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
533 Remove strlen and strnlen related parts.
534
535 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
536 Inline strlen part.
537 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
538
539 * sysdeps/x86_64/multiarch/strlen.S: Remove.
540 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
541 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
542 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
543 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
544 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
545
ec4ff04d
CD
5462013-03-17 Carlos O'Donell <carlos@redhat.com>
547
548 * manual/memory.texi (Malloc Tunable Parameters):
549 Sort parameters alphabetically. Add comments for missing entries.
550
cd18e90a
DM
5512013-03-17 David S. Miller <davem@davemloft.net>
552
553 * sysdeps/sparc/fpu/libm-test-ulps: Update.
554
2a185d32
JM
5552013-03-16 Joseph Myers <joseph@codesourcery.com>
556
d2f9799e
JM
557 [BZ #15283]
558 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
559 for arguments at most half maximum finite value.
560 * math/libm-test.inc (j0_test): Add more tests.
561 (j1_test): Likewise.
562 (y0_test): Likewise.
563 (y1_test): Likewise.
564 * sysdeps/i386/fpu/libm-test-ulps: Update.
565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
566
2a185d32
JM
567 [BZ #14155]
568 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
569 1 / x and functions P and Q for arguments above 0x1p256L.
570 (__ieee754_y0l): Likewise.
571 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
572 (__ieee754_y1l): Likewise.
573 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
574 (j1_test): Likewise.
575 (y0_test): Likewise.
576 (y1_test): Likewise.
577
6cbec759
TS
5782013-03-16 Thomas Schwinge <thomas@codesourcery.com>
579
580 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
581 variable.
582
bc16e260
RM
5832013-03-15 Roland McGrath <roland@hack.frob.com>
584
aefc9b8c
RM
585 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
586 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
587 zero since it's initialized to EXEC_PAGESIZE.
588
bc16e260
RM
589 * sysdeps/unix/sysv/linux/ldsodefs.h
590 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
591 * sysdeps/generic/ldsodefs.h: ... here.
592
a57da955
TS
5932013-03-15 Thomas Schwinge <thomas@codesourcery.com>
594
af00a34d
TS
595 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
596
495ded2c
TS
597 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
598 math/test-snan.c.
599 * math/test-snan.c: Renamed from
600 sysdeps/powerpc/fpu/test-powerpc-snan.c.
601 * math/Makefile (tests): Add test-snan.
602 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
603 test-powerpc-snan.
604
777b0332
TS
605 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
606 SUFFIX. Initialize qNaN_var with __builtin_nan family of
607 functions.
608 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
609 __builtin_nan family of functions.
610 * math/libm-test.inc (initialize): Initialize qnan_value with
611 __builtin_nan family of functions.
612 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
613 Remove variables.
614 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
615 Remove functions.
616 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
617 storage class. Initialize qNaN_var and sNaN_var with
618 __builtin_nan and __builtin_nans families of functions,
619 respectively.
620
64d063b8
TS
621 * math/libm-test.inc (acosh_test): Also test with qNaN input.
622 (sqrt_test): Remove duplicate test with qNaN input.
623 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
624 (round_test, signbit_test, significand_test): Note missing +/-Inf
625 as well as qNaN tests.
626
67e971f1
TS
627 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
628 qNaN_var. Fix a few strings, too.
629 * math/libm-test.inc (nan_value): Rename to qnan_value.
630 * math/gen-libm-test.pl (%beautify): Adjust to that.
631 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
632 * math/test-misc.c (main): Likewise.
633 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
634 to __qnan_bytes, and __qnan_union, respectively.
635 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
636 Likewise.
637 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
638 and lqnanval, respectively.
639 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
640 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
641 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
642 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
643
64487e12
TS
644 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
645 * math/test-misc.c (main) [__x86_64__]: Enable test for long
646 doubles.
647
e015e27b
TS
648 * math/test-misc.c (main): Fix copy'n'pastos.
649 * misc/tst-efgcvt.c (special): Likewise.
650
a57da955
TS
651 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
652 Remove declarations.
653
1e380345
SP
6542013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
655
656 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
657 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
658 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
659 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
660
ef26eece
AZ
6612013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
662
663 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
664 macro to return vdso values correctly in IFUNC implementations.
665 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
666 Optimization by using IFUNC.
667
8cfdb7e0
SP
6682013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
669 Richard Henderson <rth@redhat.com>
670 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
671
672 * Makefile.in (bench): New target.
673 * NEWS: Mention the benchmark framework.
674 * Rules (bench): Likewise.
675 (binaries-bench): Generate binaries for functions to
676 benchmark.
677 * benchtests/Makefile: New makefile for benchmark tests.
678 * benchtests/bench-skeleton.c: New skeleton file for benchmark
679 programs.
680 * benchtests/exp-inputs: New input file for EXP function.
681 * benchtests/pow-inputs: New input file for POW function.
682 * scripts/bench.pl: New script to generate source files for
683 benchmark programs.
684
bcda9880
SP
6852013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
686
d22ca8cd
SP
687 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
688 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
689 computations on mantissa. Use macros for rounding and
690 division.
691 (denorm): Likewise.
692 (__dbl_mp): Likewise.
693 (add_magnitudes): Likewise.
694 (sub_magnitudes): Likewise.
695 (__mul): Likewise.
696 (__sqr): Likewise.
697 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
698 powers of two in terms of TWOPOW macro.
699 (mp_no): Make type of mantissa as MANTISSA_T.
700 [!RADIXI]: Define RADIXI.
701 [!TWO52]: Define TWO52.
702 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
703
bcda9880
SP
704 * manual/nptl.texi (cindex): Modify threads to pthreads.
705
06d5adfb
JM
7062013-03-15 Joseph Myers <joseph@codesourcery.com>
707
708 * sysdeps/x86_64/preconfigure: Regenerated.
709
41c7328e
JM
7102013-03-14 Joseph Myers <joseph@codesourcery.com>
711
712 [BZ #14155]
713 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
714 0x1p28 and above.
715 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
716 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
717 0x1p28 and above.
718 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
719 * math/libm-test.inc (j0_test): Do not allow one spurious
720 underflow exception.
721 (y1_test): Likewise.
722
e25cfa60
SP
7232013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
724
0409959c
SP
725 * manual/Makefile (chapters): Add nptl.
726 * manual/debug.texi (Debugging Support): Add link to Threads
727 chapter.
728 * manual/nptl.texi: New file.
729
e25cfa60
SP
730 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
731
58a1335e
PB
7322013-03-14 Petr Baudis <pasky@ucw.cz>
733
734 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
735 for non-NULL pointer before the memory validity test. Pointed
736 out by Holger Brunck <holger.brunck@keymile.com>.
737
9dc7c64f
AS
7382013-03-13 Andreas Schwab <schwab@suse.de>
739
740 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
741 instead of .os.
742
54206aa6
JM
7432013-03-13 Joseph Myers <joseph@codesourcery.com>
744
745 * timezone/zic.c: Update from tzcode 2013b.
746
e98cdb38
CD
7472013-03-12 Carlos O'Donell <carlos@redhat.com>
748
749 * manual/install.texi (Configuring and compiling):
750 Mention i686 and i586.
751 * INSTALL: Regenerate.
752
9967e003
RM
7532013-03-12 Roland McGrath <roland@hack.frob.com>
754
755 * sysdeps/init_array/elf-init.c: New file.
756 * csu/elf-init.c
757 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
758 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
759
760 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
761 __gmon_start__ as global, but as static with a .preinit_array pointer.
762 * sysdeps/init_array/gmon-start.c: New file. Use that.
763 * sysdeps/init_array/crti.S: New file, empty except for comments.
764 * sysdeps/init_array/crtn.S: Likewise.
765
e6b5a293 7662013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
767
768 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
769 definining bcopy.
80f844c9
OB
770 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
771 Remove Prefer_SSE_for_memop.
772 * sysdeps/x86_64/multiarch/init-arch.h: Remove
773 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
774 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
775 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
776 memset-x86-64.
80f844c9 777 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 778 Remove bzero, memset ifunc support.
80f844c9
OB
779 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
780 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
781 * sysdeps/x86_64/multiarch/memset.S: Likewise.
782 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
783
fb6b0fcb
AS
7842013-03-11 Andreas Schwab <schwab@suse.de>
785
786 [BZ #15234]
787 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
788 by SHLIB_COMPAT.
789 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
790 (GLIBC_2.16): Remove pthread_atfork.
791
3e6bd4b1
PP
7922013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
793
794 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
795 (ptestcases.h): Likewise.
796
222d7f00
RM
7972013-03-08 Roland McGrath <roland@hack.frob.com>
798
799 * Makeconfig ($(common-objpfx)config.status): Depend on
800 sysdeps/*/preconfigure{,.in} too.
801
1ba4f030
JM
8022013-03-08 Joseph Myers <joseph@codesourcery.com>
803
a222d91a
JM
804 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
805 (__free_hook): Use void * instead of __malloc_ptr_t.
806 (__malloc_hook): Likewise.
807 (__realloc_hook): Likewise.
808 (__memalign_hook): Likewise.
809 (__after_morecore_hook): Likewise.
810 * malloc/arena.c (save_malloc_hook): Likewise.
811 (save_free_hook): Likewise.
812 * malloc/hooks.c (malloc_hook_ini): Likewise.
813 (realloc_hook_ini): Likewise.
814 (memalign_hook_ini): Likewise.
815 * malloc/malloc.c (malloc_hook_ini): Likewise.
816 (realloc_hook_ini): Likewise.
817 (memalign_hook_ini): Likewise.
818 (__free_hook): Likewise.
819 (__malloc_hook): Likewise.
820 (__realloc_hook): Likewise.
821 (__memalign_hook): Likewise.
822 (__libc_malloc): Likewise.
823 (__libc_free): Likewise.
824 (__libc_realloc): Likewise.
825 (__libc_memalign): Likewise.
826 (__libc_valloc): Likewise.
827 (__libc_pvalloc): Likewise.
828 (__libc_calloc): Likewise.
829 (__posix_memalign): Likewise.
830 * malloc/morecore.c (__sbrk): Likewise.
831 (__default_morecore): Likewise.
832
5cc45e10
JM
833 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
834
dd54b864
JM
835 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
836 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
837 __malloc_ptrdiff_t.
838
1ba4f030
JM
839 * malloc/malloc.h (__malloc_size_t): Remove macro.
840 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
841 __malloc_size_t.
842 (old_memalign_hook): Likewise.
843 (old_realloc_hook): Likewise.
844 (struct hdr): Likewise.
845 (flood): Likewise.
846 (mallochook): Likewise.
847 (memalignhook): Likewise.
848 (reallochook): Likewise.
849 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
850 (tr_old_realloc_hook): Likewise.
851 (tr_old_memalign_hook): Likewise.
852 (tr_mallochook): Likewise.
853 (tr_reallochook): Likewise.
854 (tr_memalignhook): Likewise.
855
edf66e57
AZ
8562013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
857
858 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
859 default_ldbl_pack and using as default implementation.
860 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
861 implementation.
862 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
863 redundant definition.
864 (ldbl_insert_mantissa): Likewise.
865 (ldbl_canonicalize): Likewise.
866 (ldbl_nearbyint): Likewise.
867 (ldbl_pack): Rename to ldbl_pack_ppc.
868 (ldbl_unpack): Rename to ldbl_unpack_ppc.
869 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
870 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
871
6d9145d8
SP
8722013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
873
874 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
875 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
876 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
877 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
878 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
879 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
880 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
881 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
882
4dd4e157
AJ
8832013-03-07 Andreas Jaeger <aj@suse.de>
884
885 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
886 bits/mman-linux.h.
887
adbb8027
SP
8882013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
889
ce544b5b
SP
890 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
891 Include mpa.h and declare __MPEXP.
892 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
893 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
894 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
895 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
896 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
897 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
898 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
899
4cc149fd
SP
900 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
901 (__slowpow): Use long double EXPL and LOGL functions to
902 compute POW.
903 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
904 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
905 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
906 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
907 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
908 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
909
e6ebd4a7
SP
910 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
911 intermediate variable to calculate exponent.
912 (__sqr): Likewise.
913 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
914 Likewise.
915 (__sqr): Likewise.
916
82a9811d
SP
917 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
918 [!NO__SQR]: Define __sqr.
919 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
920 and NO__SQR. Remove all code except __mul and __sqr. Include
921 sysdeps/ieee754/dbl-64/mpa.c.
922 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
923
adbb8027
SP
924 [BZ #12723]
925 * posix/Makefile (tests): Add tst-pathconf.
926 * posix/tst-pathconf.c: New test case.
927 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
928 _PC_PIPE_BUF.
929 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
930
39120df9
PF
9312013-03-06 Patsy Franklin <pfrankli@redhat.com>
932
933 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
934
67525cb8
AJ
9352013-03-06 Andreas Jaeger <aj@suse.de>
936
664a9ce4
AJ
937 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
938 definition via __MAP_ANONYMOUS.
939
8e39047d
AJ
940 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
941 it's not part of Linux headers.
942
67525cb8
AJ
943 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
944 (MAP_HUGE_MASK): Define.
945
946 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
947 Define.
948 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
949 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
950 Define.
951 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
952 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
953 Define.
954 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
955 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
956 Define.
957 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
958
959 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
960 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
961 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
962 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
963 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
964 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
965
966 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
967 Handle f2fs.
968
969 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
970 Handle f2fs and efivarfs.
971
972 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
973 f2fs.
974
975 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
976 (EFIVARFS_MAGIC): Add.
977 (F2FS_LINK_MAX): Add.
978
e1b42695
PP
9792013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
980
981 * stdio-common/vfprintf.c: Replace __builtin_expect with
982 __glibc_unlikely.
983
2d67d91a
JM
9842013-03-06 Joseph Myers <joseph@codesourcery.com>
985
986 [BZ #13550]
987 * sysdeps/generic/bp-sym.h: Remove file.
988 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
989 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
990 <bp-sym.h> and <bp-asm.h>.
991 (__longjmp): Don't use BP_SYM.
992 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
993 and <bp-asm.h>.
994 (memcpy): Don't use BP_SYM.
995 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
996 <bp-sym.h> and <bp-asm.h>.
997 (memcpy): Don't use BP_SYM.
998 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
999 <bp-asm.h>.
1000 (memcpy): Don't use BP_SYM.
1001 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1002 <bp-asm.h>.
1003 (memset): Don't use BP_SYM.
1004 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1005 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1006 (__bzero): Don't use BP_SYM.
1007 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1008 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1009 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1010 <bp-sym.h> and <bp-asm.h>.
1011 (memcmp): Don't use BP_SYM. Remove comment about bounded
1012 pointers.
1013 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1014 <bp-sym.h> and <bp-asm.h>.
1015 (memcpy): Don't use BP_SYM.
1016 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1017 <bp-sym.h> and <bp-asm.h>.
1018 (memset): Don't use BP_SYM.
1019 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1020 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1021 (__bzero): Don't use BP_SYM.
1022 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1023 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1024 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1025 <bp-sym.h> and <bp-asm.h>.
1026 (strncmp): Don't use BP_SYM. Remove comment about bounded
1027 pointers.
1028 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1029 <bp-sym.h> and <bp-asm.h>.
1030 (memcpy): Don't use BP_SYM.
1031 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1032 <bp-sym.h> and <bp-asm.h>.
1033 (memset): Don't use BP_SYM.
1034 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1035 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1036 (__bzero): Don't use BP_SYM.
1037 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1038 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1039 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1040 <bp-sym.h> and <bp-asm.h>.
1041 (__memchr): Don't use BP_SYM.
1042 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1043 <bp-sym.h> and <bp-asm.h>.
1044 (memcmp): Don't use BP_SYM. Remove comment about bounded
1045 pointers.
1046 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1047 <bp-sym.h> and <bp-asm.h>.
1048 (memcpy): Don't use BP_SYM.
1049 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1050 <bp-sym.h> and <bp-asm.h>.
1051 (__mempcpy): Don't use BP_SYM.
1052 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1053 <bp-sym.h> and <bp-asm.h>.
1054 (__memrchr): Don't use BP_SYM.
1055 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1056 <bp-sym.h> and <bp-asm.h>.
1057 (memset): Don't use BP_SYM.
1058 (__bzero): Likewise.
1059 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1060 <bp-sym.h> and <bp-asm.h>.
1061 (__rawmemchr): Don't use BP_SYM.
1062 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1063 <bp-sym.h> and <bp-asm.h>.
1064 (__STRCMP): Don't use BP_SYM.
1065 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1066 <bp-sym.h> and <bp-asm.h>.
1067 (strchr): Don't use BP_SYM.
1068 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1069 <bp-sym.h> and <bp-asm.h>.
1070 (__strchrnul): Don't use BP_SYM.
1071 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1072 <bp-sym.h> and <bp-asm.h>.
1073 (strlen): Don't use BP_SYM.
1074 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1075 <bp-sym.h> and <bp-asm.h>.
1076 (strncmp): Don't use BP_SYM. Remove comment about bounded
1077 pointers.
1078 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1079 <bp-sym.h> and <bp-asm.h>.
1080 (__strnlen): Don't use BP_SYM.
1081 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1082 <bp-sym.h> and <bp-asm.h>.
1083 (__GI__setjmp): Don't use BP_SYM.
1084 (_setjmp): Likewise.
1085 (__sigsetjmp): Likewise.
1086 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1087 (L(start_addresses)): Don't use BP_SYM.
1088 (_start): Likewise.
1089 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1090 <bp-asm.h>.
1091 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1092 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1093 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1094 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1095 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1096 <bp-asm.h>.
1097 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1098 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1099 about bounded pointers.
1100 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1101 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1102 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1103 <bp-asm.h>.
1104 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1105 about bounded pointers. Remove GKM FIXME comments.
1106 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1107 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1108 <bp-asm.h>.
1109 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1110 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1111 Remove GKM FIXME comments.
1112 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1113 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1114 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1115 <bp-asm.h>.
1116 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1117 about bounded pointers. Remove GKM FIXME comment.
1118 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1119 and <bp-asm.h>.
1120 (strncmp): Don't use BP_SYM. Remove comment about bounded
1121 pointers.
1122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1123 <bp-sym.h> and <bp-asm.h>.
1124 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1126 <bp-sym.h> and <bp-asm.h>.
1127 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1128 comment.
1129
cdcf361f
PP
11302013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1131
1132 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1133 call free(NULL).
1134
3c4a2b15
DM
11352013-03-05 David S. Miller <davem@davemloft.net>
1136
1137 * po/es.po: Update from translation team.
1138
cdcf361f 11392013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
1140
1141 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1142 <bits/mman-linux.h>.
1143 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1144 is fine.
1145 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1146 <bits/mman-linux.h> to end of file.
1147 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1148 is fine.
1149 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1150 <bits/mman-linux.h> to end of file.
1151 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1152 is fine.
1153 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1154 <bits/mman-linux.h> to end of file.
1155
1156 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1157 (MCL_CURRENT, MCL_FUTURE): Define here.
1158
5f67c04f
AK
11592013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1160
8a4473cc 1161 [BZ #15232]
5f67c04f
AK
1162 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1163 attribute_hidden.
1164 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1165
c3e94a95
AK
11662013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1167
1168 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1169 fourth parameter needed for rt_sigprocmask syscall.
1170 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1171 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1172 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1173 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1174 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1175 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1176
cfb6382a
JM
11772013-03-04 Joseph Myers <joseph@codesourcery.com>
1178
1179 [BZ #13550]
1180 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1181 comment about bounded pointers.
1182 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1183 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1184
539d8e01
AJ
11852013-03-04 Andreas Jaeger <aj@suse.de>
1186
1187 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1188 common definitions.
1189
1190 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1191 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1192 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1193 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1194 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
1195 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1196
2e167a70 11972013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
1198
1199 [BZ #15055]
1200 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1201 __ieee754_sqrl instead of __sqrl.
1202
68508633
JM
12032013-03-01 Joseph Myers <joseph@codesourcery.com>
1204
1205 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1206 * sysdeps/powerpc/fpu_control.h: ... here.
1207 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1208 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1209 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1210 * sysdeps/powerpc/bits/mathinline.h: ... here.
1211
7775448e
RM
12122013-03-01 Roland McGrath <roland@hack.frob.com>
1213
1214 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1215 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1216 to just [NEED_DL_SYSINFO_DSO].
1217 * elf/dl-support.c: Likewise.
1218 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1219 * elf/rtld.c (dl_main): Likewise.
1220 * elf/setup-vdso.h (setup_vdso): Likewise.
1221 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1222 * sysdeps/unix/sysv/linux/dl-sysdep.c
1223 (_dl_discover_osversion): Likewise.
1224
4e9b5995
CD
12252013-03-01 Carlos O'Donell <carlos@redhat.com>
1226
1227 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1228 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1229
e23872c8
SP
12302013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1231
e5c74c63
SP
1232 * NEWS: Mention libm performance improvements and non-x86 PI
1233 futex support.
1234
e23872c8
SP
1235 * csu/libc-start.c (__pthread_initialize_minimal): Change
1236 function arguments.
1237 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1238
b5510883
JM
12392013-02-28 Joseph Myers <joseph@codesourcery.com>
1240
1241 [BZ #13550]
1242 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1243 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1244 <bp-sym.h> and <bp-asm.h>.
1245 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1246 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1247 and <bp-asm.h>.
1248 (memcpy): Don't use BP_SYM.
1249 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1250 <bp-asm.h>.
1251 (__mpn_add_n): Don't use BP_SYM.
1252 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1253 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1254 and <bp-asm.h>.
1255 (__mpn_addmul_1): Don't use BP_SYM.
1256 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1257 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1258 <bp-sym.h>.
1259 (_setjmp): Don't use BP_SYM.
1260 (__novmx_setjmp): Likewise.
1261 (__GI__setjmp): Likewise.
1262 (__vmx_setjmp): Likewise.
1263 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1264 <bp-sym.h>.
1265 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1266 (__bzero): Don't use BP_SYM.
1267 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1268 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1269 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1270 <bp-sym.h> and <bp-asm.h>.
1271 (memcpy): Don't use BP_SYM.
1272 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1273 <bp-sym.h> and <bp-asm.h>.
1274 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1275 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1276 <bp-sym.h> and <bp-asm.h>.
1277 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1278 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1279 <bp-asm.h>.
1280 (__mpn_lshift): Don't use BP_SYM.
1281 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1282 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1283 <bp-asm.h>.
1284 (memset): Don't use BP_SYM.
1285 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1286 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1287 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1288 <bp-asm.h>.
1289 (__mpn_mul_1): Don't use BP_SYM.
1290 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1291 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1292 <bp-sym.h> and <bp-asm.h>.
1293 (memcmp): Don't use BP_SYM.
1294 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1295 <bp-sym.h> and <bp-asm.h>.
1296 (memcpy): Don't use BP_SYM.
1297 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1298 <bp-sym.h> and <bp-asm.h>.
1299 (memset): Don't use BP_SYM.
1300 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1301 <bp-sym.h> and <bp-asm.h>.
1302 (strncmp): Don't use BP_SYM.
1303 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1304 <bp-sym.h> and <bp-asm.h>.
1305 (memcpy): Don't use BP_SYM.
1306 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1307 <bp-sym.h> and <bp-asm.h>.
1308 (memset): Don't use BP_SYM.
1309 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1310 <bp-sym.h> and <bp-asm.h>.
1311 (__memchr): Don't use BP_SYM.
1312 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1313 <bp-sym.h> and <bp-asm.h>.
1314 (memcmp): Don't use BP_SYM.
1315 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1316 <bp-sym.h> and <bp-asm.h>.
1317 (memcpy): Don't use BP_SYM.
1318 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1319 <bp-sym.h> and <bp-asm.h>.
1320 (__mempcpy): Don't use BP_SYM.
1321 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1322 <bp-sym.h> and <bp-asm.h>.
1323 (__memrchr): Don't use BP_SYM.
1324 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1325 <bp-sym.h> and <bp-asm.h>.
1326 (memset): Don't use BP_SYM.
1327 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1328 <bp-sym.h> and <bp-asm.h>.
1329 (__rawmemchr): Don't use BP_SYM.
1330 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1331 <bp-sym.h> and <bp-asm.h>.
1332 (__STRCMP): Don't use BP_SYM.
1333 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1334 <bp-sym.h> and <bp-asm.h>.
1335 (strchr): Don't use BP_SYM.
1336 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1337 <bp-sym.h> and <bp-asm.h>.
1338 (__strchrnul): Don't use BP_SYM.
1339 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1340 <bp-sym.h> and <bp-asm.h>.
1341 (strlen): Don't use BP_SYM.
1342 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1343 <bp-sym.h> and <bp-asm.h>.
1344 (strncmp): Don't use BP_SYM.
1345 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1346 <bp-sym.h> and <bp-asm.h>.
1347 (__strnlen): Don't use BP_SYM.
1348 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1349 <bp-asm.h>.
1350 (__mpn_rshift): Don't use BP_SYM.
1351 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1352 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1353 <bp-sym.h> and <bp-asm.h>.
1354 (__sigsetjmp): Don't use BP_SYM.
1355 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1356 (L(start_addresses)): Don't use BP_SYM.
1357 (_start): Likewise.
1358 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1359 <bp-asm.h>.
1360 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1361 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1362 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1363 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1364 <bp-asm.h>.
1365 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1366 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1367 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1368 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1369 <bp-asm.h>.
1370 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1371 comments.
1372 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1373 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1374 <bp-asm.h>.
1375 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1376 FIXME comments.
1377 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1378 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1379 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1380 <bp-asm.h>.
1381 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1382 comment.
1383 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1384 and <bp-asm.h>.
1385 (strncmp): Don't use BP_SYM,
1386 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1387 <bp-asm.h>.
1388 (__mpn_sub_n): Don't use BP_SYM.
1389 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1390 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1391 and <bp-asm.h>.
1392 (__mpn_submul_1): Don't use BP_SYM.
1393 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1395 <bp-sym.h> and <bp-asm.h>.
1396 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1398 <bp-sym.h> and <bp-asm.h>.
1399 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1400 comment.
1401
8d19fe64
SP
14022013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1403
1404 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1405 Use ZK to minimize writes to Z.
1406 (sub_magnitudes): Simplify code a bit.
1407 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1408 Use ZK to minimize writes to Z.
1409 (sub_magnitudes): Simplify code a bit.
1410
85bd816a
RM
14112013-02-27 Roland McGrath <roland@hack.frob.com>
1412
1413 * csu/gmon-start.c: Add special exception to license text.
1414
b5977bf2
RH
14152013-02-27 Richard Henderson <rth@redhat.com>
1416
1417 * scripts/config.guess: Update from config.git.
1418 * scripts/config.sub: Likewise.
1419
11d6e2f2
SP
14202013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1421
09c14ed2
SP
1422 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1423
a688864e
SP
1424 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1425
6295157a
SP
1426 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1427
b8de2202
SP
1428 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1429
11d6e2f2
SP
1430 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1431
7e80ddb8
RM
14322013-02-26 Roland McGrath <roland@hack.frob.com>
1433
1434 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1435 [$(build-shared = yes].
7e80ddb8 1436
7da6d9ed
SP
14372013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1438
45f05884
SP
1439 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1440 (__mul): Reduce iterations for calculating mantissa.
1441
2236d359
SP
1442 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1443 MPTWO.
1444 (__mpranred): Likewise.
1445
7da6d9ed
SP
1446 [BZ #15160]
1447 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1448 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1449
b7688c42
PE
14502013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1451
1452 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1453 Define __attribute__.
1454
53a5c423
SP
14552013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1456
1457 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1458 unused.
1459 * posix/regex_internal.h (__attribute): Remove.
1460 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1461 (re_string_context_at): Likewise.
1462 (bitset_not): Use __attribute__ and mark function as possibly
1463 unused.
1464 (bitset_merge): Likewise.
1465 (bitset_mask): Likewise.
1466 (re_string_char_size_at): Likewise.
1467 (re_string_wchar_at): Likewise.
1468 (re_string_elem_size_at): Likewise.
1469
60f5a8b5
SP
14702013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1471
2a983a2e
SP
1472 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1473 code.
1474 (cc32): Likewise.
1475
e69804d1
SP
1476 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1477 (__acr): Likewise.
1478 (__cpy): Likewise.
1479 (norm): Likewise.
1480 (denorm): Likewise.
1481 (__dbl_mp): Likewise.
1482 (add_magnitudes): Likewise.
1483 (sub_magnitudes): Likewise.
1484 (__mul): Likewise.
1485 (__inv): Likewise.
1486
2f22a1e8
SP
1487 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1488 style.
1489
8930ddc7
SP
1490 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1491 style.
1492
dc60cb11
SP
1493 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1494 code.
1495
60f5a8b5
SP
1496 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1497 up changes with default code.
1498 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1499 Likewise.
1500
b4d1fd33
AM
15012013-02-24 Allan McRae <allan@archlinux.org>
1502
faf6f8bc
AM
1503 * manual/socket.texi (The Internet Namespace): Order menu items
1504 to match that in the file.
1505
b4d1fd33
AM
1506 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1507 node listing of the info page menu.
1508
2366713d
JM
15092013-02-21 Joseph Myers <joseph@codesourcery.com>
1510
1511 [BZ #13550]
1512 * sysdeps/i386/bp-asm.h: Remove file.
1513 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1514 (PARMS): Do not use macros from bp-asm.h.
1515 (S1): Likewise.
1516 (S2): Likewise.
1517 (SIZE): Likewise.
1518 (__mpn_add_n): Do not use BP_SYM
1519 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1520 "bp-asm.h".
1521 (PARMS): Do not use macros from bp-asm.h.
1522 (S1): Likewise.
1523 (SIZE): Likewise.
1524 (__mpn_addmul_1): 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/bsd-setjmp.S: Do not include "bp-sym.h" and
1531 "bp-asm.h".
1532 (PARMS): Do not use macros from bp-asm.h.
1533 (SIGMSK): Likewise.
1534 (setjmp): Likewise. Do not use BP_SYM.
1535 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1536 "bp-asm.h".
1537 (PARMS): Do not use macros from bp-asm.h.
1538 (__frexp): Do not use BP_SYM.
1539 (frexp): Likewise.
1540 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1541 "bp-asm.h".
1542 (PARMS): Do not use macros from bp-asm.h.
1543 (__frexpf): Do not use BP_SYM.
1544 (frexpf): Likewise.
1545 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1546 "bp-asm.h".
1547 (PARMS): Do not use macros from bp-asm.h.
1548 (__frexpl): Do not use BP_SYM.
1549 (frexpl): Likewise.
1550 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1551 "bp-asm.h".
1552 (PARMS): Do not use macros from bp-asm.h.
1553 (__remquo): Do not use BP_SYM.
1554 (remquo): Likewise.
1555 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1556 "bp-asm.h".
1557 (PARMS): Do not use macros from bp-asm.h.
1558 (__remquof): Do not use BP_SYM.
1559 (remquof): Likewise.
1560 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1561 "bp-asm.h".
1562 (PARMS): Do not use macros from bp-asm.h.
1563 (__remquol): Do not use BP_SYM.
1564 (remquol): Likewise.
1565 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1566 "bp-asm.h".
1567 (PARMS): Do not use macros from bp-asm.h.
1568 (DEST): Likewise.
1569 (SRC): Likewise.
1570 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1571 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1572 "bp-asm.h".
1573 (PARMS): Do not use macros from bp-asm.h.
1574 (strlen): Do not use BP_SYM.
1575 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1576 "bp-asm.h".
1577 (PARMS): Do not use macros from bp-asm.h.
1578 (S1): Likewise.
1579 (S2): Likewise.
1580 (SIZE): Likewise.
1581 (__mpn_add_n): Do not use BP_SYM.
1582 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1583 "bp-asm.h".
1584 (PARMS): Do not use macros from bp-asm.h.
1585 (S1): Likewise.
1586 (SIZE): Likewise.
1587 (__mpn_addmul_1): Do not use BP_SYM.
1588 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1589 weak_alias.
1590 (bzero): Likewise.
1591 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1592 "bp-asm.h".
1593 (PARMS): Do not use macros from bp-asm.h.
1594 (S): Likewise.
1595 (SIZE): Likewise.
1596 (__mpn_lshift): Do not use BP_SYM.
1597 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1598 "bp-asm.h".
1599 (PARMS): Do not use macros from bp-asm.h.
1600 (DEST): Likewise.
1601 (SRC): Likewise.
1602 (LEN): Likewise.
1603 (memcpy): Likewise. Do not use BP_SYM.
1604 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1605 libc_hidden_def and weak_alias.
1606 (mempcpy): Do not use BP_SYM in weak_alias.
1607 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1608 "bp-asm.h".
1609 (PARMS): Do not use macros from bp-asm.h.
1610 (DEST): Likewise.
1611 (LEN): Likewise.
1612 [!BZERO_P] (CHR): Likewise.
1613 (memset): Likewise. Do not use BP_SYM.
1614 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1615 "bp-asm.h".
1616 (PARMS): Do not use macros from bp-asm.h.
1617 (S1): Likewise.
1618 (SIZE): Likewise.
1619 (__mpn_mul_1): Do not use BP_SYM.
1620 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1621 "bp-asm.h".
1622 (PARMS): Do not use macros from bp-asm.h.
1623 (S): Likewise.
1624 (SIZE): Likewise.
1625 (__mpn_rshift): Do not use BP_SYM.
1626 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1627 "bp-asm.h".
1628 (PARMS): Do not use macros from bp-asm.h.
1629 (STR): Likewise.
1630 (CHR): Likewise.
1631 (strchr): Likewise. Do not use BP_SYM.
1632 (index): Do not use BP_SYM in weak_alias.
1633 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1634 "bp-asm.h".
1635 (PARMS): Do not use macros from bp-asm.h.
1636 (DEST): Likewise.
1637 (SRC): Likewise.
1638 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1639 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1640 "bp-asm.h".
1641 (PARMS): Do not use macros from bp-asm.h.
1642 (strlen): Do not use BP_SYM.
1643 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1644 "bp-asm.h".
1645 (PARMS): Do not use macros from bp-asm.h.
1646 (S1): Likewise.
1647 (S2): Likewise.
1648 (SIZE): Likewise.
1649 (__mpn_sub_n): Do not use BP_SYM.
1650 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1651 "bp-asm.h".
1652 (PARMS): Do not use macros from bp-asm.h.
1653 (S1): Likewise.
1654 (SIZE): Likewise.
1655 (__mpn_submul_1): Do not use BP_SYM.
1656 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1657 "bp-asm.h".
1658 (PARMS): Do not use macros from bp-asm.h.
1659 (S1): Likewise.
1660 (S2): Likewise.
1661 (SIZE): Likewise.
1662 (__mpn_add_n): Do not use BP_SYM.
1663 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1664 weak_alias.
1665 (bzero): Likewise.
1666 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1667 "bp-asm.h".
1668 (PARMS): Do not use macros from bp-asm.h.
1669 (BLK2): Likewise.
1670 (LEN): Likewise.
1671 (memcmp): Do not use BP_SYM.
1672 (bcmp): Do not use BP_SYM in weak_alias.
1673 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1674 "bp-asm.h".
1675 (PARMS): Do not use macros from bp-asm.h.
1676 (DEST): Likewise.
1677 (SRC): Likewise.
1678 (LEN): Likewise.
1679 (memcpy): Likewise. Do not use BP_SYM.
1680 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1681 "bp-asm.h".
1682 (PARMS): Do not use macros from bp-asm.h.
1683 (DEST): Likewise.
1684 (SRC): Likewise.
1685 (LEN): Likewise.
1686 (memmove): Likewise. Do not use BP_SYM.
1687 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1688 "bp-asm.h".
1689 (PARMS): Do not use macros from bp-asm.h.
1690 (DEST): Likewise.
1691 (SRC): Likewise.
1692 (LEN): Likewise.
1693 (__mempcpy): Likewise. Do not use BP_SYM.
1694 (mempcpy): Do not use BP_SYM in weak_alias.
1695 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1696 "bp-asm.h".
1697 (PARMS): Do not use macros from bp-asm.h.
1698 (DEST): Likewise.
1699 (LEN): Likewise.
1700 [!BZERO_P] (CHR): Likewise.
1701 (memset): Likewise. Do not use BP_SYM.
1702 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1703 "bp-asm.h".
1704 (PARMS): Do not use macros from bp-asm.h.
1705 (STR2): Likewise.
1706 (strcmp): Do not use BP_SYM.
1707 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1708 "bp-asm.h".
1709 (PARMS): Do not use macros from bp-asm.h.
1710 (STR): Likewise.
1711 (DELIM): Likewise.
1712 [USE_AS_STRTOK_R] (SAVE): Likewise.
1713 (FUNCTION): Likewise. Do not use BP_SYM.
1714 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1715 aliases.
1716 (strtok_r): Likewise.
1717 (__GI___strtok_r): Likewise.
1718 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1719 (PARMS): Do not use macros from bp-asm.h.
1720 (S): Likewise.
1721 (SIZE): Likewise.
1722 (__mpn_lshift): Do not use BP_SYM.
1723 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1724 (PARMS): Do not use macros from bp-asm.h.
1725 (STR): Likewise.
1726 (CHR): Likewise.
1727 (__memchr): Do not use BP_SYM.
1728 (memchr): Do not use BP_SYM in weak_alias.
1729 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1730 (PARMS): Do not use macros from bp-asm.h.
1731 (BLK2): Likewise.
1732 (LEN): Likewise.
1733 (memcmp): Do not use BP_SYM.
1734 (bcmp): Do not use BP_SYM in weak_alias.
1735 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1736 (PARMS): Do not use macros from bp-asm.h.
1737 (S1): Likewise.
1738 (SIZE): Likewise.
1739 (__mpn_mul_1): Do not use BP_SYM.
1740 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1741 "bp-asm.h".
1742 (PARMS): Do not use macros from bp-asm.h.
1743 (STR): Likewise.
1744 (CHR): Likewise.
1745 (__rawmemchr): Do not use BP_SYM.
1746 (rawmemchr): Do not use BP_SYM in weak_alias.
1747 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1748 (PARMS): Do not use macros from bp-asm.h.
1749 (S): Likewise.
1750 (SIZE): Likewise.
1751 (__mpn_rshift): Do not use BP_SYM.
1752 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1753 (PARMS): Do not use macros from bp-asm.h.
1754 (SIGMSK): Likewise.
1755 (__sigsetjmp): Likewise. Do not use BP_SYM.
1756 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1757 (_start): Do not use BP_SYM.
1758 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1759 (PARMS): Do not use macros from bp-asm.h.
1760 (DEST): Likewise.
1761 (SRC): Likewise.
1762 (__stpcpy): Likewise. Do not use BP_SYM.
1763 (stpcpy): Do not use BP_SYM in weak_alias.
1764 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1765 "bp-asm.h".
1766 (PARMS): Do not use macros from bp-asm.h.
1767 (DEST): Likewise.
1768 (SRC): Likewise.
1769 (LEN): Likewise.
1770 (__stpncpy): Likewise. Do not use BP_SYM.
1771 (stpncpy): Do not use BP_SYM in weak_alias.
1772 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1773 (PARMS): Do not use macros from bp-asm.h.
1774 (STR): Likewise.
1775 (CHR): Likewise.
1776 (strchr): Likewise. Do not use BP_SYM.
1777 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1778 "bp-asm.h".
1779 (PARMS): Do not use macros from bp-asm.h.
1780 (STR): Likewise.
1781 (CHR): Likewise.
1782 (__strchrnul): Likewise. Do not use BP_SYM.
1783 (strchrnul): Do not use BP_SYM in weak_alias.
1784 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1785 "bp-asm.h".
1786 (PARMS): Do not use macros from bp-asm.h.
1787 (STOP): Likewise.
1788 (strcspn): Do not use BP_SYM.
1789 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1790 "bp-asm.h".
1791 (PARMS): Do not use macros from bp-asm.h.
1792 (STR): Likewise.
1793 (STOP): Likewise.
1794 (strpbrk): Likewise. Do not use BP_SYM.
1795 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1796 "bp-asm.h".
1797 (PARMS): Do not use macros from bp-asm.h.
1798 (STR): Likewise.
1799 (CHR): Likewise.
1800 (strrchr): Likewise. Do not use BP_SYM.
1801 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1802 (PARMS): Do not use macros from bp-asm.h.
1803 (SKIP): Likewise.
1804 (strspn): Do not use BP_SYM.
1805 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1806 (PARMS): Do not use macros from bp-asm.h.
1807 (STR): Likewise.
1808 (DELIM): Likewise.
1809 (SAVE): Likewise.
1810 (FUNCTION): Likewise. Do not use BP_SYM.
1811 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1812 aliases.
1813 (strtok_r): Likewise.
1814 (__GI___strtok_r): Likewise.
1815 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1816 (PARMS): Do not use macros from bp-asm.h.
1817 (S1): Likewise.
1818 (S2): Likewise.
1819 (SIZE): Likewise.
1820 (__mpn_sub_n): Do not use BP_SYM.
1821 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1822 "bp-asm.h".
1823 (PARMS): Do not use macros from bp-asm.h.
1824 (S1): Likewise.
1825 (SIZE): Likewise.
1826 (__mpn_submul_1): Do not use BP_SYM.
1827 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1828 <bp-sym.h>.
1829 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1830 and <bp-asm.h>.
1831 (PARMS): Do not use macros from bp-asm.h.
1832 (FLAGS): Likewise.
1833 (PTID): Likewise.
1834 (TLS): Likewise.
1835 (CTID): Likewise.
1836 (__clone): Do not use BP_SYM.
1837 (clone): Do not use BP_SYM in weak_alias.
1838 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1839 and <bp-asm.h>.
1840 (PARMS): Do not use macros from bp-asm.h.
1841 (LEN): Likewise.
1842 (__mmap64): Do not use BP_SYM.
1843 (mmap64): Do not use BP_SYM in weak_alias.
1844 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1845 <bp-sym.h> and <bp-asm.h>.
1846 (PARMS): Do not use macros from bp-asm.h.
1847 (__posix_fadvise64_l64): Do not use BP_SYM.
1848 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1849 (PARMS): Do not use macros from bp-asm.h.
1850 (NSOPS): Likewise.
1851 (semtimedop): Do not use BP_SYM.
1852 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1853 and <bp-asm.h>.
1854
582a3cff
AM
18552013-02-21 Allan McRae <allan@archlinux.org>
1856
1857 * manual/message.texi (Charset conversion in gettext):
1858 Move @end statement to beginning of line.
1859
bab8a695
SP
18602013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1861
80945231
SP
1862 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1863 static.
1864 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1865 Likewise.
1866
bab8a695
SP
1867 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1868 (denorm): Likewise.
1869 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1870 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1871
e21d7aa7
AK
18722013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1873
1874 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1875 tail-call to the resolved function if pltexit isn't needed.
1876
4c7a4263
SP
18772013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1878
1879 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1880 or Y being zero as being unlikely.
1881 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1882 Likewise.
1883
41f49342
CD
18842013-02-20 Carlos O'Donell <carlos@redhat.com>
1885
1886 * manual/nss.texi (System Databases and Name Service Switch):
1887 Remove frobnicate @pxref.
1888
50022a93
TS
18892013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1890
1891 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1892 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1893
08cbd996
PM
18942013-02-20 Petr Machata <pmachata@redhat.com>
1895
1896 * elf/elf.h (R_ARM_TARGET1): New macro.
1897 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1898 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1899 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1900 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1901 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1902 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1903 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1904 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1905 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1906 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1907 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1908 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1909 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1910 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1911 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1912 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1913 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1914 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1915 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1916 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1917 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1918 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1919 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1920 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1921 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1922 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1923 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1924 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1925 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1926 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1927 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1928 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1929 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1930 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1931 (R_ARM_THM_GOT_BREL12): Likewise.
1932 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1933 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1934 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1935 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1936 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1937 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1938 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1939 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1940 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1941
c7b275d6
TS
19422013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1943
1944 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1945 __attribute_used__ to __attribute__ ((unused)).
1946
20cd7fb3
SP
19472013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1948
1949 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1950 powerpc mpa.c.
1951 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1952 comment formatting.
1953 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1954
92945b52
JM
19552013-02-19 Joseph Myers <joseph@codesourcery.com>
1956
1957 [BZ #13550]
1958 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1959 Remove macro.
1960 (ENTER): Remove both macro definitions.
1961 (LEAVE): Likewise.
1962 (CHECK_BOUNDS_LOW): Likewise.
1963 (CHECK_BOUNDS_HIGH): Likewise.
1964 (CHECK_BOUNDS_BOTH): Likewise.
1965 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1966 (RETURN_BOUNDED_POINTER): Likewise.
1967 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1968 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1969 (POP_ERRNO_LOCATION_RETURN): Likewise.
1970 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1971 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1972 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1973 macros.
1974 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1975 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
1976 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
1977 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
1978 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
1979 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
1980 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
1981 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
1982 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
1983 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
1984 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
1985 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
1986 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1987 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
1988 removed macros.
1989 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1990 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
1991 macros.
1992 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1993 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
1994 * sysdeps/i386/i586/memset.S (memset): Likewise.
1995 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
1996 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1997 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
1998 macros.
1999 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2000 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2001 Change uses of L(2) to L(out).
2002 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2003 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2004 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2005 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2006 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2007 removed macros.
2008 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2009 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2010 macros.
2011 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2012 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2013 (RETURN): Do not use macro LEAVE.
2014 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2015 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2016 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2017 * sysdeps/i386/i686/memset.S (memset): Likewise.
2018 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2019 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2020 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2021 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2022 Likewise.
2023 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2024 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2025 L(1_2) and L(1_3) into L(1).
2026 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2027 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2028 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2029 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2030 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2031 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2032 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2033 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2034 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2035 macros.
2036 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2037 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2038 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2039 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2040 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2041 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2042 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2043 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2044 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2045 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2046 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2047 * sysdeps/i386/strspn.S (strspn): Likewise.
2048 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2049 conditional code.
2050 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2051 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2052 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2053 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2054 L(1_3) into L(1_1).
2055 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2056 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2057 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2058 macros.
2059 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2060
2389741a
JJ
20612013-02-19 Jakub Jelinek <jakub@redhat.com>
2062
2063 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2064 macro.
2065
2016b3cd
SP
20662013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2067
e4f22324
SP
2068 * math/atest-exp.c (exp_mpn): Remove ROUND.
2069 * math/atest-exp2.c (exp_mpn): Likewise.
2070 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2071
2016b3cd
SP
2072 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2073 * stdlib/tst-tls-atexit-lib.c: Likewise.
2074 * stdlib/tst-tls-atexit.c: Likewise.
2075
4be9b544
MF
20762013-02-18 Mike Frysinger <vapier@gentoo.org>
2077
2078 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2079 and __attribute_alloc_size__.
2080
2f62b9ee
MF
20812013-02-18 Mike Frysinger <vapier@gentoo.org>
2082
2083 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2084 __attribute_alloc_size__.
2085 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2086 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2087
6ff444c4
MF
20882013-02-18 Mike Frysinger <vapier@gentoo.org>
2089
2090 * include/programs/xmalloc.h: New file.
2091 * catgets/gencat.c: Include it.
2092 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2093 * elf/pldd.c: Likewise.
2094 * iconv/iconv_charmap.c: Likewise.
2095 * iconv/iconvconfig.c: Likewise.
2096 * iconv/strtab.c: Likewise.
2097 * locale/programs/locale.c: Likewise.
2098 * locale/programs/localedef.h: Likewise.
2099 * locale/programs/simple-hash.c: Likewise.
2100 * nscd/nscd.h: Likewise.
2101 * nss/makedb.c: Likewise.
2102 * sysdeps/generic/ldconfig.h: Likewise.
2103
be179c8a
SP
21042013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2105
ba384f6e
SP
2106 * Versions.def: Add GLIBC_2.18.
2107 * include/link.h (struct link_map): New member l_tls_dtor_count.
2108 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2109 (__call_tls_dtors): Likewise.
2110 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2111 __cxa_thread_atexit_impl.
2112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2113 Likewise.
2114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2115 Likewise.
2116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2117 Likewise.
2118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2119 Likewise.
2120 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2122 Likewise.
2123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2124 Likewise.
2125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2127 Likewise.
2128 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2129 (tests): Add test case tst-tls-atexit.
2130 (modules-names): Add shared library for tst-tls-atexit.
2131 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2132 (GLIBC_PRIVATE): Add __call_tls_dtors.
2133 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2134 for libstdc++.
2135 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2136 * stdlib/tst-tls-atexit.c: New test case.
2137 * stdlib/tst-tls-atexit-lib.c: New test case.
2138
ffaa74cf 2139 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 2140
be179c8a
SP
2141 * elf/Versions (ld): Add _dl_find_dso_for_object.
2142 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2143 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2144 (dl_open_worker): Use _dl_find_dso_for_object.
2145 * elf/dl-sym.c (do_sym): Likewise.
2146 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2147
f78b5caa
AK
21482013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2149
2150 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2151 Syntactic changes only.
2152 (_dl_runtime_profile): Do a tail-call to the resolved function.
2153
29691210
JM
21542013-02-17 Joseph Myers <joseph@codesourcery.com>
2155
2156 [BZ #13550]
2157 * sysdeps/x86_64/bp-asm.h: Remove file.
2158 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2159 <bp-sym.h> and <bp-asm.h>.
2160 (__clone): Do not use BP_SYM.
2161 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2162 <bp-sym.h> and <bp-asm.h>.
2163 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2164 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2165 "bp-asm.h".
2166 (_setjmp): Do not use BP_SYM.
2167 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2168 "bp-asm.h".
2169 (setjmp): Do not use BP_SYM.
2170 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2171 libc_hidden_def.
2172 (mempcpy): Do not use BP_SYM in weak_alias.
2173 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2174 "bp-asm.h".
2175 (strchr): Do not use BP_SYM.
2176 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2177 "bp-asm.h".
2178 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2179 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2180 (_start): Do not use BP_SYM.
2181 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2182 "bp-asm.h".
2183 (strcat): Do not use BP_SYM.
2184 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2185 "bp-asm.h".
2186 (STRCMP): Do not use BP_SYM.
2187 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2188 "bp-asm.h".
2189 (STRCPY): Do not use BP_SYM.
2190 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2191 "bp-asm.h".
2192 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2193 "bp-asm.h".
2194 (FUNCTION): Do not use BP_SYM.
2195 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2196 weak_alias.
2197 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2198
f238fd19
AJ
21992013-02-17 Andreas Jaeger <aj@suse.de>
2200
2201 * time/Versions: Sort entries.
2202 * string/Versions: Likewise.
2203 * resolv/Versions: Likewise.
2204 * posix/Versions: Likewise.
2205 * iconv/Versions: Likewise.
2206 * elf/Versions: Likewise.
2207 * wcsmbs/Versions: Likewise.
2208
bd07f23c 22092013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 2210
22af19f9
SP
2211 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2212 loop termination condition.
2213
4709fe76
SP
2214 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2215 variable to calculate EZ.
2216 (__sqr): Likewise.
2d0e0f29
SP
2217
2218 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2219 the lower precision input.
2220
daaa7713
JM
22212013-02-15 Joseph Myers <joseph@codesourcery.com>
2222
2223 [BZ #13550]
2224 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2225 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2226 (run-via-rtld-prefix): Do not handle %-bp tests.
2227 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2228 (all-object-suffixes): Remove .ob.
2229 (bppfx): Remove variable.
2230 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2231 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2232 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2233 [$(build-bounded) = yes] (libtype.ob): Likewise.
2234 * Makerules (elide-routines.ob): Remove variable.
2235 (do-tests-clean): Do not handle *-bp.out.
2236 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2237 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2238 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2239 (tests): Do not include $(tests-bp.out).
2240 (xtests): Do not include $(xtests-bp.out).
2241 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2242 [$(build-bounded) = yes] ($(addprefix
2243 $(objpfx),$(binaries-bounded))): Remove rule.
2244 ($(objpfx)%-bp.out): Remove rule.
2245 * config.make.in (build-bounded): Remove variable.
2246 * crypt/Makefile [$(build-bounded) = yes]
2247 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2248 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2249 append to variable.
2250 [$(build-bounded) = yes] (install-lib): Likewise.
2251 [$(build-bounded) = yes] (generated): Likewise.
2252 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2253 Remove rule.
2254 * intl/Makefile [$(build-bounded) = yes]
2255 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2256 * math/Makefile [$(build-bounded) = yes]
2257 ($(tests:%=$(objpfx)%-bp): Likewise.
2258 * misc/Makefile [$(build-bounded) = yes]
2259 ($(objpfx)tst-tsearch-bp): Likewise.
2260 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2261 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2262 Remove dependency.
2263 * string/Makefile (o-objects.ob): Remove variable.
2264 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2265 (CFLAGS-.ob): Remove variable.
2266 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2267 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2268 both definitions of variable.
2269 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2270 (ASFLAGS-.ob): Remove variable.
2271
e97ed6dd
JM
22722013-02-14 Joseph Myers <joseph@codesourcery.com>
2273
2bdd4ca6
JM
2274 [BZ #13550]
2275 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2276 Remove __BOUNDED_POINTERS__ from condition.
2277 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2278 * string/bits/string2.h [!__NO_STRING_INLINES &&
2279 !__BOUNDED_POINTERS__]: Likewise.
2280 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2281 Likewise.
2282 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2283 Remove conditional code.
2284 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2285 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2286 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2287 condition.
2288
e97ed6dd
JM
2289 [BZ #13550]
2290 * csu/libc-start.c: Do not include <bp-sym.h>.
2291 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2292 * elf/dl-open.c: Do not include <bp-sym.h>.
2293 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2294 * math/fegetenv.c: Do not include <bp-sym.h>.
2295 (fegetenv): Do not use BP_SYM in versioned symbols.
2296 * nptl/sysdeps/pthread/bits/libc-lockP.h
2297 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2298 <bp-sym.h>.
2299 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2300 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2301 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2302 (__pthread_mutex_destroy): Likewise.
2303 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2304 (__pthread_mutex_lock): Likewise.
2305 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2306 (__pthread_mutex_trylock): Likewise.
2307 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2308 (__pthread_mutex_unlock): Likewise.
2309 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2310 (__pthread_mutexattr_init): Likewise.
2311 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2312 (__pthread_mutexattr_destroy): Likewise.
2313 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2314 (__pthread_mutexattr_settype): Likewise.
2315 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2316 (__pthread_rwlock_init): Likewise.
2317 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2318 (__pthread_rwlock_destroy): Likewise.
2319 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2320 (__pthread_rwlock_rdlock): Likewise.
2321 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2322 (__pthread_rwlock_tryrdlock): Likewise.
2323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2324 (__pthread_rwlock_wrlock): Likewise.
2325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2326 (__pthread_rwlock_trywrlock): Likewise.
2327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2328 (__pthread_rwlock_unlock): Likewise.
2329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2330 (__pthread_key_create): Likewise.
2331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2332 (__pthread_setspecific): Likewise.
2333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2334 (__pthread_getspecific): Likewise.
2335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2336 Likewise.
2337 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2338 (_pthread_cleanup_push_defer): Likewise.
2339 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2340 (_pthread_cleanup_pop_restore): Likewise.
2341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2342 (pthread_setcancelstate): Likewise.
2343 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2344 <bp-sym.h>.
2345 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2346 (memchr): Do not use BP_SYM in weak_alias.
2347 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2348 (fegetenv): Do not use BP_SYM in versioned symbols.
2349 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2350 (fesetenv): Do not use BP_SYM in versioned symbols.
2351 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2352 (feupdateenv): Do not use BP_SYM in versioned symbols.
2353 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2354 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2355 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2356 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2357 (open64): Do not use BP_SYM in weak_alias.
2358 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2359 (fegetenv): Do not use BP_SYM in versioned symbols.
2360 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2361 (fesetenv): Do not use BP_SYM in versioned symbols.
2362 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2363 (feupdateenv): Do not use BP_SYM in versioned symbols.
2364 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2365 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2366 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2367 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2368 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2369 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2370 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2371 <bp-sym.h>.
2372 (__libc_start_main): Do not use BP_SYM.
2373
d6752ccd
SP
23742013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2375
cb57ce60
SP
2376 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2377 redundant return line.
2378 (norm): Likewise.
2379 (denorm): Likewise.
2380 (dbl_mp): Likewise.
2381 (sub_magnitudes): Likewise.
2382 (__add): Likewise.
2383 (__sub): Likewise.
2384 (__mul): Likewise.
2385 (__inv): Likewise.
2386 (__dvd): Likewise.
2387 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2388 (norm): Likewise.
2389 (denorm): Likewise.
2390 (dbl_mp): Likewise.
2391 (sub_magnitudes): Likewise.
2392 (__add): Likewise.
2393 (__sub): Likewise.
2394 (__mul): Likewise.
2395 (__inv): Likewise.
2396 (__dvd): Likewise.
2397
f414520d
SP
2398 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2399 instead of __mul.
2400 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2401 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2402 (cc32): Likewise.
2403
d6752ccd
SP
2404 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2405 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2406 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2407 of __mul for squares.
2408 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2409 function
2410 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2411 Likewise.
2412 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2413 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2414
70d9946a
JM
24152013-02-13 Joseph Myers <joseph@codesourcery.com>
2416
2417 [BZ #13550]
2418 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2419 code.
2420 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2421 prototype or function definition. Rename ubp_* variables and
2422 parameters. Remove argv definitions conditional on
2423 [__BOUNDED_POINTERS__].
2424 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2425 * elf/dl-runtime.c (_dl_fixup): Likewise.
2426 * include/set-hooks.h (RUN_HOOK): Likewise.
2427 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2428 definition.
2429 * string/strcpy.c (strcpy): Do not use __unbounded.
2430 * sysdeps/generic/frame.h (struct layout): Likewise.
2431 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2432 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2433 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2434 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2435 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2436 (__backtrace): Likewise.
2437 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2438 use __ptrvalue.
2439 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2440 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2441 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2442 Likewise.
2443 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2444 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2445 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2446 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2447 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2448 Do not use __unbounded.
2449 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2450 Rename __unboundedrlimits parameter to rlimits in prototype.
2451 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2452 Do not use __unbounded.
2453 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2454 not use __ptrvalue.
2455 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2456 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2457 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2458 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2459 __ptrvalue or __unbounded.
2460 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2461 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2462 use __unbounded.
2463 (__new_msgctl): Do not use __ptrvalue.
2464 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2465 __unbounded.
2466 (__libc_msgrcv): Do not use __ptrvalue.
2467 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2468 startup_info): Do not use __unbounded.
2469 (__libc_start_main): Likewise. Rename ubp_* variables and
2470 parameters. Remove argv definitions conditional on
2471 [__BOUNDED_POINTERS__].
2472 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2473 __ptrvalue.
2474 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2475 use __unbounded.
2476 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2477 or __ptrvalue.
2478 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2479 use __unbounded.
2480 (__new_shmctl): Do not use __ptrvalue.
2481 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2482 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2483 Likewise.
2484 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2485 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2486 (__libc_sigaction): Likewise.
2487 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2488 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2489 Likewise.
2490 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2491
cc7834d6
OB
24922013-02-13 Ondřej Bílka <neleai@seznam.cz>
2493
ffb1ec7b 2494 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
2495
2496 * string/mempcpy.c: Implement by calling memcpy.
2497
bdf02814
SP
24982013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2499
c2af38aa
SP
2500 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2501
4e92d59e
SP
2502 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2503 evaluation.
2504
909279a5
SP
2505 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2506 values in the mantissa.
2507
bdf02814
SP
2508 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2509 minimize writes to Z.
2510 (sub_magnitudes): Simplify code a bit.
2511
cd525923
RM
25122013-02-12 Roland McGrath <roland@hack.frob.com>
2513
2514 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2515 from the message. The linker prefixes all warnings with that already.
2516
7e2f0d2d
AS
25172013-02-12 Andreas Schwab <schwab@suse.de>
2518
a445af0b
AS
2519 [BZ #15078]
2520 * posix/regexec.c (extend_buffers): Add parameter min_len.
2521 (check_matching): Pass minimum needed length.
2522 (clean_state_log_if_needed): Likewise.
2523 (get_subexp): Likewise.
2524 * posix/Makefile (tests): Add bug-regex34.
2525 (bug-regex34-ENV): Define.
2526 * posix/bug-regex34.c: New file.
2527
7e2f0d2d
AS
2528 [BZ #11561]
2529 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2530 elements compare against the byte sequence of it, not its name.
2531 * posix/Makefile (tests): Add bug-regex35.
2532 (bug-regex35-ENV): Define.
2533 * posix/bug-regex35.c: New file.
2534
a175b684
TV
25352013-02-11 Tom de Vries <tom@codesourcery.com>
2536
2537 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2538 comment.
2539 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2540 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2541 (CHECK_EOL): Add undef.
2542
310998fe 25432013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
2544
2545 * bits/stdlib-bsearch.h: New file.
2546 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 2547 * stdlib/stdlib.h: Likewise.
41eda41d 2548
8ded91fb
RM
25492013-02-11 Roland McGrath <roland@hack.frob.com>
2550
2551 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2552 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2553 declaration.
2554 * manual/search.texi (Array Search Function): Add missing const in
2555 lfind prototype.
2556 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2557 declaration to use rlim_t.
2558 (Basic Scheduling Functions): Remove erroneous const from
2559 sched_getparam prototype. Remove erroneous * from
2560 sched_get_priority_max and sched_get_priority_min prototypes.
2561 (Resource Usage): Fix summary @comment on vtimes to refer to
2562 sys/vtimes.h rather than vtimes.h.
2563 Add missing *s in vtimes prototype.
2564 (Limits on Resources): Fix ulimit prototype to return long int.
2565 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2566 prototypes to use long int rather than double.
2567 (BSD Random): Fix initstate and setstate to use char *, not void *.
2568 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2569 prototype to make second argument 'struct aiocb64 *const[]'.
2570 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2571 (Status of AIO Operations): Remove erroneous const in aio_return and
2572 aio_return64 prototypes.
2573 (Synchronizing I/O): Fix sync prototype to return void.
2574 * manual/startup.texi (Suboptions): Remove an erroneous const in
2575 getsubopt prototype.
2576 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2577 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2578 use size_t rather than int.
2579 (Scanning All Users): Likewise for getpwent_r.
2580 (Setting Groups): Add missing const to setgroups prototype.
2581 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2582 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2583 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2584 'const void *' rather than 'const char *'.
2585 (Host Address Functions): Likewise for inet_ntop.
2586 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2587 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2588 ssize_t for return value.
2589 (Sending Data): Likewise for send, sendto, sendmsg.
2590 (Socket Option Functions): Add a missing const in setsockopt prototype.
2591 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2592 use wchar_t for the argument.
2593 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2594 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2595 take no arguments.
2596 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2597 double/float/long double for second argument.
2598 Fix return types of significand, significandf, significandl.
2599 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2600 argument in fchmod prototype.
2601 (File Owner): Use uid_t and gid_t in fchown prototype.
2602 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2603 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2604 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2605 use 'const struct dirent **' as argument types to CMP function pointer
2606 argument.
2607 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2608 (File Times): Fix summary magic @comment for struct utimbuf and utime
2609 to refer to utime.h, not time.h.
2610 * manual/string.texi (Argz Functions): Add missing const in
2611 argz_extract and argz_next prototypes.
2612 (Finding Tokens in a String): Likewise for basename.
2613 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2614 (Copying and Concatenation): Fix typo in wmemmove prototype.
2615 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2616 (Signal Stack): Remove erroneous const in sigstack prototype.
2617 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2618 prototype.
2619 (Simple Calendar Time): Likewise for stime.
2620 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2621 prototype.
2622 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2623 say sys/sysctl.h instead.
2624 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2625 and vsyslog prototypes.
2626
fe77fe6d
TV
26272013-02-11 Tom de Vries <tom@codesourcery.com>
2628
2629 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2630 Remove.
2631
3a09b620
RM
26322013-02-11 Roland McGrath <roland@hack.frob.com>
2633
2634 * misc/sys/mman.h: Fix typo in mremap comment.
2635
550a0b89
RM
26362013-02-08 Roland McGrath <roland@hack.frob.com>
2637
2638 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2639 the '\0' terminator.
2640
a2da1673
JM
26412013-02-08 Joseph Myers <joseph@codesourcery.com>
2642
2643 [BZ #13550]
2644 * debug/segfault.c: Don't include <bp-checks.h>.
2645 * sysdeps/generic/bp-checks.h: Remove file.
2646 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2647 (__GETDENTS): Don't use CHECK_N.
2648 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2649 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2650 (__getgroups): Don't use CHECK_N.
2651 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2652 (setgroups): Don't use CHECK_N.
2653 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2654 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2655 (__libc_msgrcv): Don't use CHECK_N.
2656 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2657 (__libc_msgsnd): Don't use CHECK_N.
2658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2659 <bp-checks.h>.
2660 (__libc_pread): Don't use CHECK_N.
2661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2662 include <bp-checks.h>.
2663 (__libc_pread64): Don't use CHECK_N.
2664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2665 include <bp-checks.h>.
2666 (__libc_pwrite): Don't use CHECK_N.
2667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2668 include <bp-checks.h>.
2669 (__libc_pwrite64): Don't use CHECK_N.
2670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2671 <bp-checks.h>.
2672 (__libc_pread): Don't use CHECK_N.
2673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2674 include <bp-checks.h>.
2675 (__libc_pread64): Don't use CHECK_N.
2676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2677 include <bp-checks.h>.
2678 (__libc_pwrite): Don't use CHECK_N.
2679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2680 include <bp-checks.h>.
2681 (__libc_pwrite64): Don't use CHECK_N.
2682 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2683 (do_pread): Don't use CHECK_N.
2684 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2685 (do_pread64): Don't use CHECK_N.
2686 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2687 (do_pwrite): Don't use CHECK_N.
2688 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2689 (do_pwrite64): Don't use CHECK_N.
2690 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2691 (__libc_readv): Don't use CHECK_N.
2692 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2693 (semop): Don't use CHECK_N.
2694 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2695 <bp-checks.h>.
2696 (semtimedop): Don't use CHECK_N.
2697 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2698 (__libc_pread): Don't use CHECK_N.
2699 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2700 <bp-checks.h>.
2701 (__libc_pread64): Don't use CHECK_N.
2702 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2703 <bp-checks.h>.
2704 (__libc_pwrite): Don't use CHECK_N.
2705 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2706 <bp-checks.h>.
2707 (__libc_pwrite64): Don't use CHECK_N.
2708 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2709 <bp-checks.h>.
2710 (__libc_msgrcv): Don't use CHECK_N.
2711 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2712 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2713 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2714 (__libc_writev): Don't use CHECK_N.
2715
b84660a8
RM
27162013-02-08 Roland McGrath <roland@hack.frob.com>
2717
7f3e75f8
RM
2718 * string/strcpy.c: Removed unused variable.
2719
b84660a8
RM
2720 * Makeconfig (+sysdep-includes): Define with := rather than =.
2721 Use an existing include/ subdir of each sysdeps dir before it.
2722
471514d3
CD
27232013-02-08 Carlos O'Donell <carlos@redhat.com>
2724
2725 * nscd/connection.c (register_traced_file): Comment function.
2726 [HAVE_INOTIFY] (union __inev): Define.
2727 [HAVE_INOTIFY] (inotify_check_files): New function.
2728 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2729 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2730 clear_db_cache.
2731 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2732
b2d3c3be
CD
27332013-02-08 Carlos O'Donell <carlos@redhat.com>
2734
2735 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2736 loaded if not already and that a failure is permanent.
2737
b39949d2
CD
27382013-02-08 Carlos O'Donell <carlos@redhat.com>
2739
ddacd1db 2740 [BZ #15006]
b39949d2
CD
2741 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2742 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2743
b2c9eff4
JM
27442013-02-08 Joseph Myers <joseph@codesourcery.com>
2745
f3aae3f3
JM
2746 [BZ #13550]
2747 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2748 (CHECK_1_NULL_OK): Likewise.
2749 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2750 (__fxstat): Do not use CHECK_1.
2751 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2752 <bp-checks.h>.
2753 (___fxstat64): Do not use CHECK_1.
2754 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2755 <bp-checks.h>.
2756 (__fxstatat): Do not use CHECK_1.
2757 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2758 <bp-checks.h>.
2759 (__fxstatat64): Do not use CHECK_1.
2760 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2761 <bp-checks.h>.
2762 (__fxstat): Do not use CHECK_1.
2763 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2764 <bp-checks.h>.
2765 (__fxstatat): Do not use CHECK_1.
2766 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2767 <bp-checks.h>.
2768 (__getresgid): Do not use CHECK_1.
2769 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2770 <bp-checks.h>.
2771 (__getresuid): Do not use CHECK_1.
2772 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2773 <bp-checks.h>.
2774 (__lxstat): Do not use CHECK_1.
2775 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2776 <bp-checks.h>.
2777 (__old_msgctl): Do not use CHECK_1.
2778 (__new_msgctl): Likewise.
2779 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2780 <bp-checks.h>.
2781 (__new_setrlimit): Do not use CHECK_1.
2782 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2783 <bp-checks.h>.
2784 (__old_shmctl): Do not use CHECK_1.
2785 (__new_shmctl): Likewise.
2786 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2787 <bp-checks.h>.
2788 (__xstat): Do not use CHECK_1.
2789 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2790 (__lxstat): Do not use CHECK_1.
2791 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2792 <bp-checks.h>.
2793 (___lxstat64): Do not use CHECK_1.
2794 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2795 (__old_msgctl): Do not use CHECK_1.
2796 (__new_msgctl): Likewise.
2797 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2798 <bp-checks.h>.
2799 (__gettimeofday): Do not use CHECK_1.
2800 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2801 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2802 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2803 <bp-checks.h>.
2804 (__gettimeofday): Do not use CHECK_1.
2805 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2806 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2807 (__new_shmctl): Do not use CHECK_1.
2808 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2809 <bp-checks.h>.
2810 (do_sigtimedwait): Do not use CHECK_1.
2811 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2812 <bp-checks.h>.
2813 (do_sigwaitinfo): Do not use CHECK_1.
2814 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2815 <bp-checks.h>.
2816 (msgctl): Do not use CHECK_1.
2817 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2818 <bp-checks.h>.
2819 (shmctl): Do not use CHECK_1.
2820 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2821 (ustat): Do not use CHECK_1.
2822 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2823 <bp-checks.h>.
2824 (__fxstat): Do not use CHECK_1.
2825 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2826 <bp-checks.h>.
2827 (__fxstatat): Do not use CHECK_1.
2828 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2829 <bp-checks.h>.
2830 (__lxstat): Do not use CHECK_1.
2831 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2832 <bp-checks.h>.
2833 (__xstat): Do not use CHECK_1.
2834 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2835 (__xstat): Do not use CHECK_1.
2836 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2837 (___xstat64): Do not use CHECK_1.
2838
b2c9eff4
JM
2839 [BZ #13550]
2840 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2841 definitions.
2842 (CHECK_BOUNDS_HIGH): Likewise.
2843 * string/strcpy.c: Do not include <bp-checks.h>.
2844 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2845
f1d70dad
RM
28462013-02-07 Roland McGrath <roland@hack.frob.com>
2847
2848 * nscd/nscd-client.h (__nscd_drop_map_ref):
2849 Add __attribute__ ((unused)).
2850 * nis/nss-nisplus.h (niserr2nss): Likewise.
2851
2852 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2853 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2854
2855 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2856 Remove inline keyword.
2857 * include/rounding-mode.h (round_away): Likewise.
2858 * libio/wfileops.c (adjust_wide_data): Likewise.
2859 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2860 (__m128i_strloadu_tolower): Likewise.
2861 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2862 (__m128i_strloadu_tolower): Likewise.
2863 * time/mktime.c (ydhms_diff): Likewise.
2864 * locale/elem-hash.h (elem_hash): Likewise.
2865 * locale/setlocale.c (setdata): Likewise.
2866 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2867 (re_string_wchar_at): Likewise.
2868 (bitset_not, bitset_merge, bitset_mask): Likewise.
2869 [!(__GNUC__ > 3)] (inline): Remove macro.
2870 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2871 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2872 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2873 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2874 * string/memcmp.c (memcmp_bytes): Likewise.
2875 * locale/programs/locarchive.c (compute_hashval): Likewise.
2876 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2877 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2878 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2879 * nss/getent.c (print_rpc, print_protocols): Likewise.
2880 (print_passwd, print_group, print_aliases): Likewise.
2881 * nis/nss-nisplus.h (niserr2nss): Likewise.
2882 * nscd/connections.c (restart_p): Likewise.
2883 Change return type to bool.
2884
eab55bfb
RM
28852013-02-05 Roland McGrath <roland@hack.frob.com>
2886
7bd642f5
RM
2887 * Makeconfig (all-Depend-files): Add existing
2888 $(sorted-subdirs:=/Depend) files.
2889 (all-subdirs): Remove nss.
2890 * sysdeps/unix/inet/Subdirs: Add it here instead.
2891 * hesiod/Depend: New file.
2892
573c29b2
RM
2893 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2894 instead of calling alloca.
2895
b2e25af0
RM
2896 * io/lseek.c (__lseek): Rename to __libc_lseek.
2897 Define __lseek as an alias.
2898
eab55bfb
RM
2899 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2900
9a0d1941
CD
29012013-02-04 Carlos O'Donell <carlos@redhat.com>
2902
2903 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2904 else clause and remove check for non-standard endianness.
2905
b83bbec4
DM
29062013-02-04 David S. Miller <davem@davemloft.net>
2907
2908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2909
6277fdab
JM
29102013-02-04 Joseph Myers <joseph@codesourcery.com>
2911
2912 [BZ #13550]
2913 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2914 (__ubp_memchr): Remove prototype.
2915 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2916 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2917 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2918 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2919 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2920 Remove alias.
2921 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2922 (__ubp_memchr): Likewise.
2923 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2924 (__ubp_memchr): Likewise.
2925 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2926 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2927 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2928 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2929 CHECK_STRING.
2930 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2931 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2932 (__getcwd): Do not use CHECK_STRING.
2933 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2934 <bp-checks.h>.
2935 (__real_chown): Do not use CHECK_STRING.
2936 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2937 <bp-checks.h>.
2938 (fchownat): Do not use CHECK_STRING.
2939 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2940 CHECK_STRING.
2941 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2942 <bp-checks.h>.
2943 (__lchown): Do not use CHECK_STRING.
2944 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2945 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2946 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2947 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2949 include <bp-checks.h>.
2950 (truncate64): Do not use CHECK_STRING.
2951 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2952 <bp-checks.h>.
2953 (__real_chown): Do not use CHECK_STRING.
2954 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2955 <bp-checks.h>.
2956 (__lchown): Do not use CHECK_STRING.
2957 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2958 <bp-checks.h>.
2959 (__chown): Do not use CHECK_STRING.
2960 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2961 <bp-checks.h>.
2962 (truncate64): Do not use CHECK_STRING.
2963 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2964 Likewise.
2965 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2966 (__xmknod): Do not use CHECK_STRING.
2967 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2968 <bp-checks.h>.
2969 (__xmknodat): Do not use CHECK_STRING.
2970 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2971 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2972
903ae060
AS
29732013-02-04 Andreas Schwab <schwab@suse.de>
2974
2975 [BZ #14142]
2976 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
2977 * include/netdb.h: Likewise for h_errno.
2978 * elf/tst-stackguard1.c: Include <tls.h>.
2979
542f9466
JK
29802013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
2981
2982 * elf/link.h (struct link_map): Extend the l_addr comment.
2983 * include/link.h (struct link_map): Likewise.
2984
e782a927
JM
29852013-02-01 Joseph Myers <joseph@codesourcery.com>
2986
2987 [BZ #13550]
2988 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
2989 (BOUNDED_1): Remove macro.
2990 * debug/backtrace.c: Don't include <bp-checks.h>.
2991 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
2992 (__backtrace): Likewise.
2993 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
2994 <bp-checks.h>.
2995 (__backtrace): Don't use BOUNDED_1.
2996 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
2997 <bp-checks.h>.
2998 (__backtrace): Don't use BOUNDED_1.
2999 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3000 (__backtrace): Don't use BOUNDED_1.
3001 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3002 (shmat): Don't use BOUNDED_N.
3003
8cf28c5e
JM
30042013-01-31 Joseph Myers <joseph@codesourcery.com>
3005
3a7ac8a0
JM
3006 [BZ #13550]
3007 * sysdeps/generic/bp-start.h: Remove file.
3008 * csu/libc-start.c: Don't include <bp-start.h>.
3009 (LIBC_START_MAIN): Set up __environ directly instead of using
3010 INIT_ARGV_and_ENVIRON.
3011 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3012 <bp-start.h>.
3013
f3499f95
JM
3014 [BZ #13550]
3015 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3016 definitions.
3017 (CHECK_FCNTL): Likewise.
3018 (CHECK_N_PAGES): Likewise.
3019
32a45bea
JM
3020 [BZ #13550]
3021 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3022 definitions.
3023 (CHECK_SIGSET_NULL_OK): Likewise.
3024 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3025 <bp-checks.h>.
3026 (sigpending): Don't use CHECK_SIGSET.
3027 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3028 <bp-checks.h>.
3029 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3030 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3031 <bp-checks.h>.
3032 (do_sigsuspend): Don't use CHECK_SIGSET.
3033 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3034 use CHECK_SIGSET.
3035 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3036 (do_sigwait): Don't use CHECK_SIGSET.
3037 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3038 use CHECK_SIGSET.
3039 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3040 include <bp-checks.h>.
3041 (sigpending): Don't use CHECK_SIGSET.
3042 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3043 include <bp-checks.h>.
3044 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3045 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3046 <bp-checks.h>.
3047 (sigpending): Don't use CHECK_SIGSET.
3048 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3049 <bp-checks.h>.
3050 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3051
2e8a5c8c
JM
3052 [BZ #13550]
3053 * sysdeps/generic/bp-semctl.h: Remove file.
3054 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3055 <bp-checks.h> and <bp-semctl.h>.
3056 (__old_semctl): Don't use CHECK_SEMCTL.
3057 (__new_semctl): Likewise.
3058 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3059 and <bp-semctl.h>.
3060 (__old_semctl): Don't use CHECK_SEMCTL.
3061 (__new_semctl): Likewise.
3062 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3063 <bp-checks.h> and <bp-semctl.h>.
3064 (__old_semctl): Don't use CHECK_SEMCTL.
3065 (__new_semctl): Likewise.
3066 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3067 <bp-checks.h> and <bp-semctl.h>.
3068 (semctl): Don't use CHECK_SEMCTL.
3069
c2d54929
JM
3070 [BZ #13550]
3071 * Makerules (elide-bp-thunks): Remove variable.
3072 (elide-routines.oS): Don't use $(elide-bp-thunks).
3073 (elide-routines.os): Likewise.
3074 (elide-routines.o): Likewise.
3075 (elide-routines.op): Likewise.
3076 (elide-routines.og): Likewise.
3077 (objects): Don't use $(bp-thunks).
3078 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3079 include.
3080 (common-generated): Do not add s-proto-bp.d.
3081 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3082 (int): Likewise.
3083 (typ): Likewise.
3084 Do not generate makefile rules for bounded-pointer thunks.
3085 * sysdeps/generic/bp-thunks.h: Remove file.
3086 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3087 * sysdeps/unix/s-proto-bp.S: Likewise.
3088
8cf28c5e
JM
3089 [BZ #15062]
3090 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3091 parts of result separately when argument is not close to line from
3092 -i to i and one part of argument is small.
3093 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3094 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3095 * math/libm-test.inc (cacos_test): Add more tests.
3096 (casin_test): Likewise.
3097 (casinh_test): Likewise.
3098 * sysdeps/i386/fpu/libm-test-ulps: Update.
3099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3100
c4e33b8d
DM
31012013-01-31 David S. Miller <davem@davemloft.net>
3102
3103 * po/de.po: Update from translation team.
3104
3b60b421
MK
31052013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3106
3107 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3108
bb931195
TS
31092013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3110
b5a5da23
TS
3111 * configure.in (_AC_PROG_CC_C89): New definition.
3112 * configure: Regenerate.
3113
bb931195
TS
3114 * configure.in (AC_PROG_CPP): New definition.
3115 * configure: Regenerate.
3116
8c53a12c
JM
31172013-01-23 Joseph Myers <joseph@codesourcery.com>
3118
3119 * debug/tst-backtrace.h: New file.
3120 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3121 (ret): Remove variable.
3122 (x): Likewise.
3123 (FAIL): Remove macro.
3124 (NO_INLINE): Likewise.
3125 (fn1): Use match function instead of strstr.
3126 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3127 (ret): Remove variable.
3128 (x): Likewise.
3129 (FAIL): Remove macro.
3130 (NO_INLINE): Likewise.
3131 (fn): Use match function instead of strstr.
3132 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3133 (ret): Remove variable.
3134 (x): Likewise.
3135 (FAIL): Remove macro.
3136 (NO_INLINE): Likewise.
3137 (handle_signal): Use match function instead of strstr.
3138 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3139 (ret): Remove variable.
3140 (x): Likewise.
3141 (FAIL): Remove macro.
3142 (NO_INLINE): Likewise.
3143 (handle_signal): Use match function instead of strstr.
3144
4858fa2a
RM
31452013-01-23 Roland McGrath <roland@hack.frob.com>
3146
3147 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3148
bae8e7f5
DM
31492013-01-23 David S. Miller <davem@davemloft.net>
3150
3151 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3152 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3153 argument of CAS if possible.
3154 * sysdeps/sparc/sparc64/bits/atomic.h
3155 (__arch_compare_and_exchange_val_32_acq): Likewise.
3156 (__arch_compare_and_exchange_val_64_acq): Likewise.
3157
9cbbc4ae
PT
31582013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3159
3160 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3161 * sysdeps/posix/ulimit.c: ... this.
92a601b8 3162 Include <limits.h>.
67b3f58c 3163 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 3164
5655a0b5
AC
31652013-01-23 Adam Conrad <adconrad@0c3.net>
3166
3167 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3168 (LDFLAGS-tst-array5): Likewise.
3169
052aff95
JM
31702013-01-23 Joseph Myers <joseph@codesourcery.com>
3171
3172 [BZ #15036]
3173 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3174 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3175 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3176 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3177
7c1e01aa
DM
31782013-01-21 David S. Miller <davem@davemloft.net>
3179
3180 * sysdeps/sparc/backtrace.c: New file.
3181 * sysdeps/sparc/sparc32/backtrace.h: New file.
3182 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3183 * sysdeps/sparc/sparc64/backtrace.h: New file.
3184 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3185 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3186 -funwind-tables.
3187
ab087e0a
AS
31882013-01-21 Andreas Schwab <schwab@suse.de>
3189
3190 [BZ #15020]
3191 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3192 closed its stdout.
3193
ed689c2f
AS
31942013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3195
3196 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3197 "mpa2.h".
3198 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3199
31d470ac
JM
32002013-01-18 Joseph Myers <joseph@codesourcery.com>
3201 Mark Mitchell <mark@codesourcery.com>
3202 Tom de Vries <tom@codesourcery.com>
3203 Paul Pluzhnikov <ppluzhnikov@google.com>
3204
3205 * debug/tst-backtrace2.c: New file.
3206 * debug/tst-backtrace3.c: Likewise.
3207 * debug/tst-backtrace4.c: Likewise.
3208 * debug/tst-backtrace5.c: Likewise.
3209 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3210 (CFLAGS-tst-backtrace3.c): Likewise.
3211 (CFLAGS-tst-backtrace4.c): Likewise.
3212 (CFLAGS-tst-backtrace5.c): Likewise.
3213 (LDFLAGS-tst-backtrace2): Likewise.
3214 (LDFLAGS-tst-backtrace3): Likewise.
3215 (LDFLAGS-tst-backtrace4): Likewise.
3216 (LDFLAGS-tst-backtrace5): Likewise.
3217 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3218 tst-backtrace4 and tst-backtrace5.
3219
90567f30 32202013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
3221 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3222
3223 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3224 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3225 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3226 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3228 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3229 "+r" and remove output regs list as redundant. Add explicit inline
3230 asm to specify register of return val to work around compiler codegen
3231 bug. Remove (int) cast on return value. Add return type parameter to
3232 use in macro so that this macro does not truncate return value for
3233 64-bit values.
3234 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3235 pass to INTERNAL_VSYSCALL_NCS.
3236 (INLINE_VSYSCALL): Add 'long int' as return type to
3237 INTERNAL_VSYSCALL_NCS macro invocation.
3238 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3239 INTERNAL_VSYSCALL_NCS macro invocation.
3240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3241
d3b9ea61
SP
32422013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3243
0b57daeb
SP
3244 [BZ #14496]
3245 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3246 Fix application of SIMD FP exception mask.
3247
caa99d06
SP
3248 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3249 mp_no from a power of two.
3250 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3251 __mpexp_twomm1. Use __pow_mp.
3252
d3b9ea61
SP
3253 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3254 multiplication.
3255
1dbaee3c
DM
32562013-01-17 David S. Miller <davem@davemloft.net>
3257
3258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3259
728d7b43
JM
32602013-01-17 Joseph Myers <joseph@codesourcery.com>
3261
3262 [BZ #15023]
3263 * include/complex.h: Condition contents on [!_COMPLEX_H].
3264 (__kernel_casinhf): New prototype.
3265 (__kernel_casinh): Likewise.
3266 (__kernel_casinhl): Likewise.
3267 * math/Makefile (libm_calls): Add k_casinh.
3268 * math/k_casinh.c: New file.
3269 * math/k_casinhf.c: Likewise.
3270 * math/k_casinhl.c: Likewise.
3271 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3272 finite nonzero arguments.
3273 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3274 finite nonzero arguments.
3275 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3276 finite nonzero arguments.
3277 * math/s_casinh.c: Do not include <float.h>.
3278 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3279 * math/s_casinhf.c: Do not include <float.h>.
3280 (__casinhf): Move code for finite nonzero arguments to
3281 k_casinhf.c.
3282 * math/s_casinhl.c: Do not include <float.h>.
3283 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3284 redefine.
3285 (__casinhl): Move code for finite nonzero arguments to
3286 k_casinhl.c.
3287 * math/libm-test.inc (cacos_test): Add more tests.
3288 * sysdeps/i386/fpu/libm-test-ulps: Update.
3289 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3290
2a26ef3a
PT
32912013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3292
3293 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3294 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3295 [!HAVE_MREMAP]: Remove [defined linux] case.
3296 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3297
a897655d
SP
32982013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3299
3300 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3301
881ebe89 33022013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
3303
3304 * elf/elf.h (R_386_SIZE32): New relocation.
3305 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3306 R_386_SIZE32.
3307 (elf_machine_rela): Likewise.
3308 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3309 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3310
59981e9b
JM
33112013-01-17 Joseph Myers <joseph@codesourcery.com>
3312
3313 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3314 (FP_FAST_FMA): Do not define.
3315 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3316 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3317 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3318 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3319 !_SOFT_FLOAT]: Likewise.
3320 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3321 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3322 value.
3323 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3324 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3325 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3326 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3327 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3328 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3329 file.
3330
cfa8054f
AS
33312013-01-16 Andreas Schwab <schwab@suse.de>
3332
3333 [BZ #14327]
3334 * include/stdlib.h (__mktemp): Add declaration.
3335 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3336 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3337
dd930cc5
SP
33382013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3339
881ebe89
SP
3340 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3341 definitions.
3342 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3343 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3344 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3345 definitions here.
3346 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3347 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3348 definitions.
3349 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3350 and ONE.
3351 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3352 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3353 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3354 definitions.
3355 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3356 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3357 definitions.
3358 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 3359
dd930cc5
SP
3360 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3361
c19a9f89
DM
33622013-01-15 David S. Miller <davem@davemloft.net>
3363
1aa61767
DM
3364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3365 trunc{,f} to libm-sysdep_routes.
3366 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3368 file.
3369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3371 file.
3372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3373 file.
3374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3376 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3377 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3378 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3379 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3380 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3381 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3382
c42d5e98
DM
3383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3384 nearbyint{,f} to libm-sysdep_routes.
3385 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3387 New file.
3388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3389 file.
3390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3391 New file.
3392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3393 file.
3394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3396 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3397 file.
3398 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3399 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3400 file.
3401 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3402 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3403 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3404
c19a9f89
DM
3405 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3406 libc_feholdexcept and libc_fesetenv.
3407
357679d2
MF
34082013-01-15 Mike Frysinger <vapier@gentoo.org>
3409
3410 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3411
65a82e3d
DM
34122013-01-14 David S. Miller <davem@davemloft.net>
3413
8b954ab9
DM
3414 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3415 (SPARC_ASM_VIS2_IFUNC): Likewise.
3416 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3418 use of 'siam' instruction.
3419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3420 Likewise.
3421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3422 Likewise.
3423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3424 Likewise.
3425 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3426 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3427 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3428 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3430 file.
3431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3432 file.
3433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3434 file.
3435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3436 file.
3437 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3438 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3439 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3440 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3442 new VIS2 routines.
3443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3446 Likewise.
3447 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3448 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3449 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3450 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3452 routines to libm-sysdep_routines.
3453 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3454
65a82e3d
DM
3455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3456 fdim/fdimf to libm-sysdep_routines.
3457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3458 file.
3459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3460 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3461 file.
3462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3463 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3465 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3466 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3467 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3468 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3469
e34ab705
SP
34702013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3471
2a91b573
SP
3472 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3473 to optimize copies.
3474
1066a534
SP
3475 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3476 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3477 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3478
e34ab705
SP
3479 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3480 local variable MPTWO.
3481 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3482 Likewise.
3483
aba5e596
MF
34842013-01-13 Mike Frysinger <vapier@gentoo.org>
3485
3486 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3487 GLOB_NOESCAPE.
3488
e557e9e5
MF
34892013-01-13 Mike Frysinger <vapier@gentoo.org>
3490
3491 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3492
0428cec9
MF
34932013-01-13 Mike Frysinger <vapier@gentoo.org>
3494
3495 * manual/pattern.texi (glob_t): Document gl_flags.
3496 (glob64_t): Likewise.
3497
8794a964
DM
34982013-01-11 David S. Miller <davem@davemloft.net>
3499
66438c3f
RM
3500 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3501 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3502 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
3503 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3504 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3505 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3506 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3507 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3508 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3509 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3510 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3511 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3512 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3513
4ae4244d
DM
3514 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3515 sparc V9 rather than using V8 code.
3516 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3517 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3518
8794a964
DM
3519 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3520 Move to...
3521 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3522 Here.
3523
6270516e
RM
35242013-01-11 Roland McGrath <roland@hack.frob.com>
3525
3526 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3527 not in the main loop.
3528 * configure: Regenerated.
3529
6a57d931
JM
35302013-01-11 Joseph Myers <joseph@codesourcery.com>
3531
3532 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3533 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3534 to just #else.
3535 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3536 [!__GLIBC_HAVE_LONG_LONG] case.
3537 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3538 condition to just #else.
3539 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3540 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3541 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3542 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3543 unconditional.
3544 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3545 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3546 #elif condition to just #else.
3547 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3548 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3549 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3550 #elif condition to just #else.
3551
0e8529e9
SE
35522013-01-11 Steve Ellcey <sellcey@mips.com>
3553
3554 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3555 (EF_MIPS_ARCH_64): Fix value.
3556 (EF_MIPS_ARCH_32R2): New.
3557 (EF_MIPS_ARCH_64R2): New.
3558
740b3dbe
L
35592013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3560
3561 * Makeconfig (+link-pie-before-libc): New.
3562 (+link-pie-after-libc): Likewise.
3563 (+link-pie-tests): Likewise.
3564 (+link-pie): Rewritten.
3565 (link-before-libc): Remove $(config-LDFLAGS).
3566 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3567 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3568 (config-LDFLAGS): Renamed to ...
3569 (rtld-LDFLAGS): This.
3570 (rtld-tests-LDFLAGS): New macro.
3571 (link-libc-rpath-link): Likewise.
3572 (link-libc-tests-rpath-link): Likewise.
3573 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3574 (link-libc): Prepand $(link-libc-rpath-link).
3575 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3576 (test-program-prefix): New macro.
3577 (test-via-rtld-prefix): Likewise.
3578 (test-program-cmd): Likewise.
3579 (host-test-program-cmd): Likewise.
3580 * Makefile ($(common-objpfx)testrun.sh): Replace
3581 $(run-program-prefix) with $(test-program-prefix).
3582 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3583 $(rtld-LDFLAGS).
3584 ($(common-objpfx)shlib.lds): Likewise.
3585 (build-module-helper): Likewise.
3586 ($(common-objpfx)format.lds): Likewise.
3587 * Rules (binaries-pie-tests): New.
3588 (binaries-pie-notests): Likewise.
3589 (binaries-pie): Rewritten.
3590 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3591 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3592 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3593 (make-test-out): Replace $(host-built-program-cmd) with
3594 $(host-test-program-cmd).
3595 * config.make.in (build-hardcoded-path-in-tests): New variable.
3596 * configure.in (--enable-hardcoded-path-in-tests): New configure
3597 option.
3598 (hardcoded_path_in_tests): New AC_SUBST.
3599 * configure: Regenerated.
3600 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3601 $(built-program-cmd) with $(test-program-cmd).
3602 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3603 (test_program_cmd): This.
3604 * elf/Makefile ($(objpfx)order.out): Run test with
3605 $(test-program-prefix).
3606 ($(objpfx)order2.out): Likewise.
3607 ($(objpfx)tst-initorder.out): Likewise.
3608 ($(objpfx)tst-initorder2.out): Likewise.
3609 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3610 $(test-program-cmd).
3611 ($(objpfx)tst-array1-static.out): Likewise.
3612 ($(objpfx)tst-array2.out): Likewise.
3613 ($(objpfx)tst-array3.out): Likewise.
3614 ($(objpfx)tst-array4.out): Likewise.
3615 ($(objpfx)tst-array5.out): Likewise.
3616 ($(objpfx)tst-array5-static.out): Likewise.
3617 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3618 $(test-program-cmd).
3619 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3620 $(run-program-prefix) with $(test-program-prefix).
3621 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3622 (test_program_prefix): This.
3623 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3624 $(run-program-prefix) with $(test-program-prefix).
3625 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3626 (test_program_prefix): This.
3627 * iconvdata/tst-tables.sh: Likewise.
3628 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3629 $(run-program-prefix) with $(test-program-prefix).
3630 ($(objpfx)tst-translit.out): Likewise.
3631 ($(objpfx)tst-gettext2.out): Likewise.
3632 ($(objpfx)tst-gettext4.out): Likewise.
3633 ($(objpfx)tst-gettext6.out): Likewise.
3634 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3635 (test_program_prefix): This.
3636 * intl/tst-gettext2.sh: Likewise.
3637 * intl/tst-gettext4.sh Likewise.
3638 * intl/tst-gettext6.sh: Likewise.
3639 * intl/tst-translit.sh: Likewise.
3640 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3641 with $(test-program-cmd).
3642 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3643 $(run-program-prefix) with $(test-program-prefix).
3644 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3645 (test_program_prefix): This.
3646 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3647 $(run-program-prefix) with $(test-program-prefix).
3648 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3649 (test_program_prefix): This.
3650 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3651 * posix/Makefile ($(objpfx)globtest.out): Replace
3652 $(run-via-rtld-prefix) and $(test-wrapper) with
3653 $(test-program-prefix) and $(test-via-rtld-prefix).
3654 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3655 $(test-program-prefix).
3656 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3657 $(host-test-program-cmd).
3658 (tst-spawn-ARGS): Likewise.
3659 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3660 $(test-program-prefix).
3661 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3662 (test_via_rtld_prefix): This.
3663 (test_wrapper): Renamed to ...
3664 (test_program_prefix): This.
3665 (run_program_prefix): Replaced by test_program_prefix.
3666 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3667 (test_program_prefix): This.
3668 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3669 with $(host-test-program-cmd).
3670 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3671 $(run-program-prefix) with $(test-program-prefix).
3672 ($(objpfx)tst-printf.out): Likewise.
3673 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3674 $(test-program-cmd).
3675 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3676 (test_program_prefix): This.
3677 * stdio-common/tst-unbputc.sh: Likewise.
3678 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3679 $(run-program-prefix) with $(test-program-prefix).
3680 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3681 (test_program_prefix): This.
3682 * string/Makefile ($(objpfx)tst-svc.out): Replace
3683 $(built-program-cmd) with $(test-program-cmd).
3684
c6fe55cf
AJ
36852013-01-11 Andreas Jaeger <aj@suse.de>
3686
3687 [BZ #15003]
3688 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3689 value. Sync with Linux 3.7.
3690
9e6919c8
DM
36912013-01-10 David S. Miller <davem@davemloft.net>
3692
3693 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3694 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3695 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3696
1c9f1a02
RM
36972013-01-10 Roland McGrath <roland@hack.frob.com>
3698
3699 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3700 never set.
3701 * configure: Regenerated.
3702
b9de2dde
DM
37032013-01-10 David S. Miller <davem@davemloft.net>
3704
3705 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3706 sparc V9 rather than using V8 code.
3707 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3708 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3709
e7f68ef4
RM
37102013-01-10 Roland McGrath <roland@hack.frob.com>
3711
3712 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3713 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3714 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3715 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3716 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3717 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3718 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3719 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3720 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3721 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3722 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3723 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3724 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3725 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3726 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3727 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3728 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3729 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3730 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3731 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3732 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3733 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3734 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3735 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3736 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3737 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3738 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3739
5a47cc9c
DM
37402013-01-10 David S. Miller <davem@davemloft.net>
3741
3742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3743
4cf8f209
L
37442013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3745
3746 * posix/Makefile (tests-static): New variable.
3747 (tests): Add $(tests-static).
3748 (tst-exec-static-ARGS): New variable.
3749 (tst-spawn-static-ARGS): Likewise.
3750 * posix/tst-exec-static.c: New file.
3751 * posix/tst-spawn-static.c: Likewise.
3752 * posix/tst-exec.c: Support run directly.
3753 * posix/tst-spawn.c: Likewise.
3754
fed0faa1
JM
37552013-01-10 Joseph Myers <joseph@codesourcery.com>
3756
828beb13
JM
3757 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3758 long.
3759 * math/bits/mathcalls.h (llrint): Likewise.
3760 (llround): Likewise.
3761 * stdlib/stdlib.h (struct drand48_data): Likewise.
3762 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3763 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3764 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3765 Likewise.
3766 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3767 Likewise.
3768 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3769 (elf_greg_t): Likewise.
3770 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3771 (__jmp_buf): Likewise.
3772 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3773 definitions.
3774 (llrint): Likewise, for all definitions.
3775 (llrintl): Likewise.
3776
fed0faa1
JM
3777 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3778 Remove [__GNUC__] condition.
3779 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3780 condition to just [__USE_ISOC99].
3781 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3782
1a20cb20
L
37832013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3784
3785 [BZ #14200]
3786 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3787 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3788 defined.
3789 (_POSIX_V6_ILP32_OFF32): Likewise.
3790 (_XBS5_ILP32_OFF32): Likewise.
3791 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3792 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3793
751b85f7
SP
37942013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3795
7490eb81
SP
3796 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3797
751b85f7
SP
3798 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3799 doubles __mpexp_twomm1. Adjust usage.
3800 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3801 Remove.
3802
988197f0
AS
38032013-01-10 Andreas Schwab <schwab@suse.de>
3804
3805 [BZ #14964]
3806 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3807 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3808
e83d7298
DM
38092013-01-09 David S. Miller <davem@davemloft.net>
3810
034ed64b 3811 [BZ #15003]
e83d7298
DM
3812 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3813 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3814 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3815 TCP_FASTOPEN): Define.
3816 (tcp_repair_opt): New structure.
3817 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3818 enum values.
3819 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3820 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3821 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3822 (tcp_cookie_transactions): New structure.
3823
d5e0b9bd
AB
38242013-01-09 Anton Blanchard <anton@samba.org>
3825
3826 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3827 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3828 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3829 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3830
0c07e3ea
JM
38312013-01-09 Joseph Myers <joseph@codesourcery.com>
3832
3833 * include/features.h (__USE_ANSI): Remove.
3834
232f7002
RM
38352013-01-09 Roland McGrath <roland@hack.frob.com>
3836
ad98e30c
RM
3837 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3838
232f7002
RM
3839 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3840
950c99ca
SP
38412013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3842
b5792741
SP
3843 * sysdeps/s390/fpu/libm-test-ulps: Update.
3844
47cf2278
SP
3845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3846
950c99ca
SP
3847 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3848 (__acr): Likewise.
3849 (__cpy): Likewise.
3850 (norm): Likewise.
3851 (denorm): Likewise.
3852 (__mp_dbl): Likewise.
3853 (__dbl_mp): Likewise.
3854 (add_magnitudes): Likewise.
3855 (sub_magnitudes): Likewise.
3856 (__add): Likewise.
3857 (__sub): Likewise.
3858 (__mul): Likewise.
3859 (__inv): Likewise.
3860 (__dvd): Likewise.
3861 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3862 (__acr): Likewise.
3863 (__cpy): Likewise.
3864 (norm): Likewise.
3865 (denorm): Likewise.
3866 (__mp_dbl): Likewise.
3867 (__dbl_mp): Likewise.
3868 (add_magnitudes): Likewise.
3869 (sub_magnitudes): Likewise.
3870 (__add): Likewise.
3871 (__sub): Likewise.
3872 (__mul): Likewise.
3873 (__inv): Likewise.
3874 (__dvd): Likewise.
3875 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3876 (__acr): Likewise.
3877 (__cpy): Likewise.
3878 (norm): Likewise.
3879 (denorm): Likewise.
3880 (__mp_dbl): Likewise.
3881 (__dbl_mp): Likewise.
3882 (add_magnitudes): Likewise.
3883 (sub_magnitudes): Likewise.
3884 (__add): Likewise.
3885 (__sub): Likewise.
3886 (__mul): Likewise.
3887 (__inv): Likewise.
3888 (__dvd): Likewise.
3889
eede9df9
JM
38902013-01-08 Joseph Myers <joseph@codesourcery.com>
3891
3892 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3893 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3894 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3895 2 && __USE_EXTERN_INLINES]: Likewise.
3896
c40ea3d9
AJ
38972013-01-08 Andreas Jaeger <aj@suse.de>
3898
3899 [BZ# 14985]
3900 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3901 Remove.
3902 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3903 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3904
2ccdea26
AB
39052013-01-07 Anton Blanchard <anton@samba.org>
3906
3907 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3908 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3909 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3910 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3911 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3912 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3913 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3914 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3915 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3916 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3917 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3918 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3919 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3920 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3921 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3922 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3923 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3924 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3925 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3926 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3927 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3928 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3929 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3930 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3931 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3932 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3933 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3934 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3935 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3936 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3937 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3938 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3939 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3940 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3941 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3942 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3943 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3944 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3945 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3946 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3947 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3948 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3949 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3950
a9708fed
JM
39512013-01-07 Joseph Myers <joseph@codesourcery.com>
3952
375607b9
JM
3953 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3954 (__MALLOC_PMT): Likewise.
3955 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3956 [__GNUC__], only on [_LIBC].
3957 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3958 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3959 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3960 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3961 forward declaration.
3962 (realloc_hook_ini): Likewise.
3963 (memalign_hook_ini): Likewise.
3964 (__libc_memalign): Do not use __MALLOC_PMT in variable
3965 declaration.
3966 (__libc_valloc): Likewise.
3967 (__libc_pvalloc): Likewise.
3968 (__libc_calloc): Likewise.
3969 (__posix_memalign): Likewise.
3970
a9708fed
JM
3971 [BZ #14996]
3972 * math/s_casinh.c: Include <float.h>.
3973 (__casinh): Do not do computation with squaring and square root
3974 for large arguments.
3975 * math/s_casinhf.c: Include <float.h>.
3976 (__casinhf): Do not do computation with squaring and square root
3977 for large arguments.
3978 * math/s_casinhl.c: Include <float.h>.
3979 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
3980 (__casinhl): Do not do computation with squaring and square root
3981 for large arguments.
3982 * math/libm-test.inc (casin_test): Add more tests.
3983 (casinh_test): Likewise.
3984 * sysdeps/i386/fpu/libm-test-ulps: Update.
3985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3986
afec409a
L
39872013-01-04 H.J. Lu <hongjiu.lu@intel.com>
3988
3989 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
3990 (__x86_64_raw_data_cache_size): Likewise.
3991 (__x86_64_data_cache_size_half): Likewise.
3992 (__x86_64_raw_data_cache_size_half): Likewise.
3993 (__x86_64_shared_cache_size): Likewise.
3994 (__x86_64_raw_shared_cache_size): Likewise.
3995 (__x86_64_shared_cache_size_half): Likewise.
3996 (__x86_64_raw_shared_cache_size_half): Likewise.
3997 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
3998 to ...
3999 (__x86_data_cache_size): This.
4000 (__x86_64_raw_data_cache_size): Renamed to ...
4001 (__x86_raw_data_cache_size): This.
4002 (__x86_64_data_cache_size_half): Renamed to ...
4003 (__x86_data_cache_size_half): This.
4004 (__x86_64_raw_data_cache_size_half): Renamed to ...
4005 (__x86_raw_data_cache_size_half): This.
4006 (__x86_64_shared_cache_size): Renamed to ...
4007 (__x86_shared_cache_size): This.
4008 (__x86_64_raw_shared_cache_size): Renamed to ...
4009 (__x86_raw_shared_cache_size): This.
4010 (__x86_64_shared_cache_size_half): Renamed to ...
4011 (__x86_shared_cache_size_half): This.
4012 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4013 (__x86_raw_shared_cache_size_half): This.
4014 * sysdeps/x86_64/memcpy.S: Updated.
4015 * sysdeps/x86_64/memset.S: Likewise.
4016 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4017 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4018 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4019
0b3986d0
DM
40202013-01-04 David S. Miller <davem@davemloft.net>
4021
4022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4023
e47686e9
AS
40242013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4025
d643bac1
AS
4026 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4027 1 to avoid redefinition warning.
4028 (__USE_GNU): Don't define.
4029 (init_signaling_nan): Protoize.
4030
e47686e9
AS
4031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4032
b18decba
SP
40332013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4034
fffb407f
SP
4035 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4036 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4037 (__cpymn): Likewise.
4038 (norm): Remove commented code.
4039 (denorm): Likewise.
4040 (__mp_dbl): Likewise.
4041 (__inv): Likewise.
4042 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4043 (__cpymn): Likewise.
4044 (norm): Remove commented code.
4045 (denorm): Likewise.
4046 (__mp_dbl): Likewise.
4047 (__inv): Likewise.
4048
b18decba
SP
4049 * sysdeps/powerpc/powerpc32/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 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4055 mp_no value for 1.0 and 2.0.
4056 (norm): Use RADIXI instead of radixi.d.
4057 (denorm): Likewise.
4058 (__mul): Use 0.0 instead of zero.d.
4059
cdc1c96f
JM
40602013-01-04 Joseph Myers <joseph@codesourcery.com>
4061
4062 [BZ #14994]
4063 * math/s_casinh.c (__casinh): Reduce finite argument to first
4064 quadrant then set signs of results at the end.
4065 * math/s_casinhf.c (__casinhf): Likewise.
4066 * math/s_casinhl.c (__casinhl): Likewise.
4067 * math/libm-test.inc (casin_test): Add more tests.
4068 (casinh_test): Likewise.
4069 * sysdeps/i386/fpu/libm-test-ulps: Update.
4070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4071
302913e1
SP
40722013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4073
6420d207
SP
4074 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4075
a9e48ab4
SP
4076 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4077
b7837264
SP
4078 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4079 declarations.
4080 (denorm): Likewise.
4081 (__mp_dbl): Likewise.
4082 (__inv): Likewise.
4083
f8af25d2
SP
4084 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4085 and adjust the header comment.
4086
302913e1
SP
4087 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4088 variable name from declaration.
4089
5d7dd1ca
L
40902013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4091
4092 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4093 Initialize COMMON_CPUID_INDEX_7 element.
4094 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4095 (CPUID_RTM): Likewise.
4096 (HAS_RTM): Likewise.
4097 (COMMON_CPUID_INDEX_7): New enum.
4098
2f5f40f4
AS
40992013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4100
4101 [BZ #14981]
4102 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4103 size is zero, record memory as freed.
4104
4056f4a0
AJ
41052013-01-03 Andreas Jaeger <aj@suse.de>
4106
4107 * po/ia.po: Add new Interlingua translation.
4108
ab15736f 41092012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
4110
4111 * locale/programs/localedef.c: Fix description of '--posix' flag.
4112
568035b7
JM
41132013-01-02 Joseph Myers <joseph@codesourcery.com>
4114
e6898b8d
JM
4115 * NEWS: Update dates in second copyright notice.
4116 * README: Update copyright dates in example.
4117 * manual/libc.texinfo: Update copyright dates.
4118 * scripts/test-installation.pl: Update copyright date in --version
4119 output.
4120
0e2f9562
JM
4121 * hurd/ctty-input.c: Fix copyright notice formatting.
4122 * hurd/ctty-output.c: Likewise.
4123 * hurd/dtable.c: Likewise.
4124 * hurd/hurd-raise.c: Likewise.
4125 * hurd/hurdprio.c: Likewise.
4126 * hurd/msgportdemux.c: Likewise.
4127 * misc/sys/file.h: Likewise.
4128 * misc/sys/ioctl.h: Likewise.
4129 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4130 * sysdeps/mach/hurd/chdir.c: Likewise.
4131 * sysdeps/mach/hurd/fchdir.c: Likewise.
4132 * sysdeps/mach/hurd/rename.c: Likewise.
4133 * sysdeps/mach/hurd/rmdir.c: Likewise.
4134 * sysdeps/mach/hurd/seekdir.c: Likewise.
4135 * sysdeps/mach/hurd/setsid.c: Likewise.
4136 * sysdeps/posix/wait3.c: Likewise.
4137
568035b7
JM
4138 * All files with FSF copyright notices: Update copyright dates
4139 using scripts/update-copyrights.
4140 * intl/plural.c: Regenerated.
4141 * locale/programs/charmap-kw.h: Likewise.
4142 * locale/programs/locfile-kw.h: Likewise.
4143
da08f647
SP
41442013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4145
0f5477af
SP
4146 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4147 four values.
4148
44e0d4c2
SP
4149 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4150 calculation loop and add branch prediction.
4151
4d55b4e5
SP
4152 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4153 check access beyond bounds of m1np.
4154
da08f647
SP
4155 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4156 MPTWO.
4157 (__inv): Remove local variable MPTWO to use the global
4158 constant.
4159 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4160 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4161 variable MPTWO.
4162 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4163 MP3HALFS static const.
4164
8e051029
DM
41652013-01-01 David S. Miller <davem@davemloft.net>
4166
4167 * po/ca.po: Update from translation team.
4168
f4cf5f2d
JM
41692013-01-01 Joseph Myers <joseph@codesourcery.com>
4170
4171 * scripts/update-copyrights: New file.
4172 * Makeconfig: Reformat copyright notice.
4173 * ctype/ctype.h: Likewise.
4174 * debug/swprintf_chk.c: Likewise.
4175 * elf/dl-cache.c: Likewise.
4176 * elf/dl-debug.c: Likewise.
4177 * elf/dl-object.c: Likewise.
4178 * grp/initgroups.c: Likewise.
4179 * hurd/Makefile: Likewise.
4180 * hurd/hurd/signal.h: Likewise.
4181 * hurd/hurdfault.c: Likewise.
4182 * hurd/hurdioctl.c: Likewise.
4183 * hurd/hurdlookup.c: Likewise.
4184 * hurd/intr-msg.c: Likewise.
4185 * iconv/gconv_open.c: Likewise.
4186 * libio/swprintf.c: Likewise.
4187 * locale/lc-ctype.c: Likewise.
4188 * locale/nl_langinfo.c: Likewise.
4189 * mach/Machrules: Likewise.
4190 * mach/Makefile: Likewise.
4191 * malloc/obstack.h: Likewise.
4192 * manual/Makefile: Likewise.
4193 * manual/tsort.awk: Likewise.
4194 * misc/bits/stab.def: Likewise.
4195 * nis/nis_print_group_entry.c: Likewise.
4196 * nis/nis_table.c: Likewise.
4197 * nis/nss_compat/compat-pwd.c: Likewise.
4198 * nis/nss_compat/compat-spwd.c: Likewise.
4199 * po/Makefile: Likewise.
4200 * posix/fnmatch.c: Likewise.
4201 * posix/regex.h: Likewise.
4202 * resolv/Makefile: Likewise.
4203 * resolv/nss_dns/dns-network.c: Likewise.
4204 * resolv/res_hconf.c: Likewise.
4205 * scripts/gen-sorted.awk: Likewise.
4206 * soft-fp/soft-fp.h: Likewise.
4207 * stdio-common/printf.h: Likewise.
4208 * stdlib/monetary.h: Likewise.
4209 * stdlib/random.c: Likewise.
4210 * stdlib/random_r.c: Likewise.
4211 * sysdeps/generic/Makefile: Likewise.
4212 * sysdeps/gnu/Makefile: Likewise.
4213 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4214 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4215 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4216 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4217 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4218 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4219 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4220 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4221 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4222 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4223 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4224 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4225 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4226 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4227 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4228 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4229 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4230 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4231 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4232 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4233 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4234 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4235 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4236 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4237 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4238 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4239 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4240 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4241 * sysdeps/mach/hurd/errnos.awk: Likewise.
4242 * sysdeps/mach/hurd/fork.c: Likewise.
4243 * sysdeps/mach/hurd/getcwd.c: Likewise.
4244 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4245 * sysdeps/mach/hurd/mmap.c: Likewise.
4246 * sysdeps/mach/hurd/utimes.c: Likewise.
4247 * sysdeps/mach/hurd/xmknod.c: Likewise.
4248 * sysdeps/posix/profil.c: Likewise.
4249 * sysdeps/posix/readdir_r.c: Likewise.
4250 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4251 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4252 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4253 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4254 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4255 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4256 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4257 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4258 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4259 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4260 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4261 * sysdeps/pthread/lio_listio.c: Likewise.
4262 * sysdeps/sparc/dl-procinfo.h: Likewise.
4263 * sysdeps/unix/i386/sysdep.S: Likewise.
4264 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4265 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4266 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4267 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4269 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4270 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4271 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4272 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4273 * sysdeps/wordsize-32/divdi3.c: Likewise.
4274 * time/sys/time.h: Likewise.
4275 * wcsmbs/Makefile: Likewise.
4276
0549fbba
DM
42772013-01-01 David S. Miller <davem@davemloft.net>
4278
a141f1a7
DM
4279 * po/fr.po: Update from translation team.
4280
0549fbba
DM
4281 * catgets/gencat.c: Update copyright year.
4282 * csu/version.c: Likewise.
4283 * debug/catchsegv.sh: Likewise.
4284 * debug/pcprofiledump.c: Likewise.
4285 * debug/xtrace.sh: Likewise.
4286 * elf/ldconfig.c: Likewise.
4287 * elf/ldd.bash.in: Likewise.
4288 * elf/pldd.c: Likewise.
4289 * elf/sotruss.ksh: Likewise.
4290 * elf/sprof.c: Likewise.
4291 * iconv/iconv_prog.c: Likewise.
4292 * iconv/iconvconfig.c: Likewise.
4293 * locale/programs/locale.c: Likewise.
4294 * locale/programs/localedef.c: Likewise.
4295 * login/programs/pt_chown.c: Likewise.
4296 * malloc/memusage.sh: Likewise.
4297 * malloc/memusagestat.c: Likewise.
4298 * malloc/mtrace.pl: Likewise.
4299 * nscd/nscd.c: Likewise.
4300 * nss/getent.c: Likewise.
4301 * nss/makedb.c: Likewise.
4302 * posix/getconf.c: Likewise.
4303
18ea052c
SP
43042012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4305
4306 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4307 numbers.
4308
9c89fca6
MF
43092012-12-30 Mike Frysinger <vapier@gentoo.org>
4310
4311 * math/bits/mathcalls.h (modf): Use __nonnull.
4312
085ec079
SP
43132012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4314
4315 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4316 (split): Use macro CN instead of the bare value.
4317 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4318 could be used.
4319 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4320 instead of the bare value.
4321 (power1): Likewise.
4322
6d9f97e1
SP
43232012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4324
d63f73be
SP
4325 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4326 __ATAN_TWOM.
4327 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4328
6d9f97e1
SP
4329 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4330 their values.
4331 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4332 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4333 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4334 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4335
4c4febf5
AJ
43362012-12-28 Andreas Jaeger <aj@suse.de>
4337
af5843ef
AJ
4338 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4339 values are from Linux 3.7.
4340
4c4febf5
AJ
4341 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4342 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4343
99136f82
SP
43442012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4345
2f216c3c 4346 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
4347 TRUE case.
4348
99136f82
SP
4349 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4350 (norm): Likewise.
4351 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4352 variables with preprocessor constants.
4353 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4354 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4355 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4356
7fffbdff
BH
43572012-12-27 Bruno Haible <bruno@clisp.org>
4358
4359 [BZ #14317]
4360 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4361 only if needed.
4362
b76eb5f0
SP
43632012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4364
31a7fe5c
SP
4365 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4366 and use variable directly.
4367 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4368
b76eb5f0
SP
4369 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4370 MPONE.
4371 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4372 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4373 variable MPONE.
4374 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4375 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4376 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4377 include directive. Remove local variable MPONE.
4378 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4379 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4380 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4381
2c8bfe7d
DM
43822012-12-25 David S. Miller <davem@davemloft.net>
4383
4384 * version.h (RELEASE): Set to "development".
4385 (VERSION): Set to "2.17.90".
4386 * NEWS: Add 2.18 section.
4387
147d03b0
DM
43882012-12-21 David S. Miller <davem@davemloft.net>
4389
4390 * po/hr.po: Update from translation team.
4391
a8ebb2b9
AK
43922012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4393
4394 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4395
95b4f1b6
SE
43962012-12-19 Steve Ellcey <sellcey@mips.com>
4397
b2d94007 4398 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 4399
cedb2a90
MS
44002012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4401
4402 * manual/contrib.texi (Contributors): Spelling correction.
4403
bbf527d6
DM
44042012-12-15 David S. Miller <davem@davemloft.net>
4405
4406 * po/ru.po: Update from translation team.
4407
bc38c906
DM
44082012-12-13 David S. Miller <davem@davemloft.net>
4409
85429b1a
DM
4410 * NEWS: Mention IFUNC testsuite enhancements.
4411
d283e353
DM
4412 * po/pl.po: Update from translation team.
4413 * po/bg.po: Likewise.
4414
bc38c906
DM
4415 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4416 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4417
a181b0d7
DM
44182012-12-11 David S. Miller <davem@davemloft.net>
4419
4641d57e
DM
4420 * po/sv.po: Update from translation team.
4421
f7bc6495
DM
4422 * po/vi.po: Update from translation team.
4423
6fc9048f
DM
4424 * po/cs.po: Update from translation team.
4425
a181b0d7
DM
4426 * po/de.po: Update from translation team.
4427 * po/eo.po: Likewise.
4428 * po/nl.po: Likewise.
4429
f70bfe80
SP
44302012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4431
3c8b4190
SP
4432 [BZ #14246]
4433 * manual/argp.texi (Argp Helper Functions): Move node to follow
4434 Argp Parsing State.
4435
f70bfe80
SP
4436 [BZ #14872]
4437 * manual/conf.texi (Limits on File System Capacity): Mention if
4438 terminating null is included in the max size.
4439
188f0adf
AJ
44402012-12-10 Andreas Jaeger <aj@suse.de>
4441
4442 * po/cs.po: Update from translation team.
4443
56e7d3ad
SP
44442012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4445
4446 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4447 void pointer and cast to uintptr_t.
4448 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4449 path.
4450 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4451 * sysdeps/s390/s390-64/memset.S: Likewise.
4452
76f2d2ea 44532012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
4454
4455 [BZ #14833]
4456 * menual/message.texi (Message Translation): Fix typos.
4457 (Helper programs for gettext): Likewise.
4458
67cbf9a2
AS
44592012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4460
4461 [BZ #14898]
4462 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4463 Change to -1.
4464
682d0e9a
DM
44652012-12-07 David S. Miller <davem@davemloft.net>
4466
4467 * po/libc.pot: Update.
4468
573cd484
RH
44692012-12-07 Richard Henderson <rth@redhat.com>
4470
7e9da188 4471 [BZ #10114]
573cd484
RH
4472 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4473 normal/normal case to before the switch.
4474 (_FP_DIV): Likewise.
4475
e933a943
MF
44762012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4477 Mike Frysinger <vapier@gentoo.org>
4478
4479 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4480 check for __NR_fadvise64_64.
4481
82123268
CM
44822012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4483
4484 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4485 0, not just to plain "0" as a statement.
4486 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4487 with cw.
4488
d9814526
JM
44892012-12-06 Joseph Myers <joseph@codesourcery.com>
4490
4491 * NEWS: Use sourceware.org in Bugzilla URL.
4492
7728c574
SP
44932012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4494
f16946dd
SP
4495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4496 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4497
5704bbcb
SP
4498 * stdio-common/tst-put-error.c (do_test): Add newline to the
4499 padded test to ensure flush.
4500
17aa0516
JL
45012012-12-05 Jeff Law <law@redhat.com>
4502
4503 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4504
363313b5
JM
45052012-12-05 Joseph Myers <joseph@codesourcery.com>
4506
effbd42a
JM
4507 * README: Don't refer to ports add-on as distributed separately.
4508 Mention AArch64 in list of systems supported in the ports add-on.
4509
87600365
JM
4510 * LICENSES: Add more non-FSF copyright and license notices.
4511
a0d7066a
JM
4512 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4513 ((unused)).
4514
66ca5a5b
JM
4515 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4516
363313b5
JM
4517 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4518 10000 as width of padded output.
4519
b37984ad
JM
45202012-12-04 Joseph Myers <joseph@codesourcery.com>
4521
9003570a
JM
4522 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4523
b37984ad
JM
4524 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4525 variable LX with __attribute__ ((unused)).
4526 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4527 Likewise.
4528 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4529 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4530 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4531 with __attribute__ ((unused)).
4532
c8df52ec
DM
45332012-12-04 David S. Miller <davem@abraco.davemloft.net>
4534
4535 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4536
b3b099af
JM
45372012-12-04 Joseph Myers <joseph@codesourcery.com>
4538
c33aa6e3
JM
4539 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4540 (CFLAGS-nldbl-acos.c): New variable.
4541 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4542 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4543 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4544 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4545 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4546 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4547 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4548 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4549 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4550 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4551 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4552 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4553 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4554 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4555 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4556 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4557 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4558 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4559 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4560 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4561 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4562 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4563 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4564 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4565 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4566 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4567 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4568 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4569 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4570 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4571 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4572 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4573 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4574 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4575 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4576 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4577 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4578 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4579 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4580 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4581 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4582 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4583 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4584 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4585 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4586 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4587 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4588 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4589 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4590 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4591 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4592 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4593 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4594 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4595 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4596 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4597 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4598 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4599 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4600 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4601 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4602 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4603 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4604 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4605 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4606 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4607 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4608 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4609 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4610 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4611 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4612 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4613 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4614 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4615 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4616 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4617 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4618 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4619 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4620 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4621 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4622 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4623 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4624 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4625 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4626 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4627 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4628 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4629 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4630 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4631 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4632 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4633 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4634 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4635 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4636 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4637 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4638
20f0018d
JM
4639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4640 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4641
b3b099af
JM
4642 [BZ #14914]
4643 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4644 whole low double instead of just low 47 bits when splitting values
4645 into two parts.
4646
029264d1
AM
46472012-12-03 Allan McRae <allan@archlinux.org>
4648
4649 * manual/stdio.texi (Predefined Printf Handlers): Remove
4650 @hsep and @vsep usage.
4651
c9d6789e
MF
46522012-12-03 Mike Frysinger <vapier@gentoo.org>
4653
4654 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4655 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4656
4b7634a5
JL
46572012-12-03 Jeff Law <law@redhat.com>
4658
4659 * time/sys/time.h (settimeofday): Do not mark TV argument
4660 as __nonnull.
4661
eb6cbd24
MF
46622012-12-01 Mike Frysinger <vapier@gentoo.org>
4663
4664 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4665 when currently writing and seek to current position when not.
4666 * libio/Makefile (tests): Remove bug-fclose1.
4667 * libio/bug-fclose1.c: Delete.
4668
f638872a
JM
46692012-12-01 Joseph Myers <joseph@codesourcery.com>
4670
4671 * manual/arith.texi (feenableexcept): Fix typo.
4672 (fedisableexcept): Likewise.
4673
48085d14
RM
46742012-11-30 Roland McGrath <roland@hack.frob.com>
4675
4676 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4677 second, differently-typed declaration, rather than a cast.
4678
1a538b9f
SP
46792012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4680
4681 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4682 * include/rpc/svc.h: ... here.
4683
d07f2ff1 46842012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
4685
4686 [BZ #13013]
4687 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4688 depending n and resplen2 to catch cases where answer
4689 equals answerp2.
4690
c93ec1f0
CD
46912012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4692
4693 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4694 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4695
37db69de
MF
46962012-11-29 Mike Frysinger <vapier@gentoo.org>
4697
4698 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4699
e10c4e4f
RM
47002012-11-29 Roland McGrath <roland@hack.frob.com>
4701
4702 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4703
2af1b328
JL
47042012-11-28 Jeff Law <law@redhat.com>
4705
4706 [BZ #13761]
4707 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4708 dataset_temporary. Track alloca usage into alloca_used.
4709 If dataset is large allocate and release it via malloc/free.
4710
111db5b1
FW
47112012-06-04 Florian Weimer <fweimer@redhat.com>
4712
f06cc227 4713 [BZ #14197]
111db5b1
FW
4714 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4715
dd694abd
DM
47162012-11-28 David S. Miller <davem@davemloft.net>
4717
4718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4719
9984dd01
JM
47202012-11-28 Joseph Myers <joseph@codesourcery.com>
4721
4722 [BZ #14803]
4723 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4724 of pi/2 rounded to nearest to 64 bits.
4725 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4726 nearest to 64 bits.
4727 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4728 bits.
4729
14bc93a9
JL
47302012-11-28 Jeff Law <law@redhat.com>
4731 Martin Osvald <mosvald@redhat.com>
4732
4733 [BZ #14889]
4734 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4735 * sunrpc/svc.c: Include time.h.
4736 (__svc_accept_failed): New function.
4737 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4738 any reason other than EINTR, call __svc_accept_failed.
4739 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4740 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4741
e3c6aa3a
AS
47422012-11-28 Andreas Schwab <schwab@suse.de>
4743
4744 * scripts/abilist.awk: Also handle indirect functions in .opd
4745 section.
4746
1bead169
JM
47472012-11-28 Joseph Myers <joseph@codesourcery.com>
4748
4749 [BZ #13881]
4750 * sysdeps/x86/fpu/powl_helper.c: New file.
4751 * sysdeps/x86/fpu/Makefile: Likewise.
4752 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4753 (p3): New object.
4754 (__ieee754_powl): Use __powl_helper for finite arguments except
4755 integer exponents below 8.
4756 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4757 (p3): New object.
4758 (__ieee754_powl): Use __powl_helper for finite arguments except
4759 integer exponents below 8.
4760 * math/libm-test.inc (pow_test): Add more tests and enable some
4761 previously disabled tests.
4762 * sysdeps/i386/fpu/libm-test-ulps: Update.
4763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4764
0817d63d
SP
47652012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4766 Carlos O'Donell <carlos_odonell@mentor.com>
4767
4768 * nss/makedb.c (is_prime): Assert that input is odd and greater
4769 than 4. Note that fact in a comment too.
4770 (next_prime): Add 4 to input.
4771
de2fd463
SP
47722012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4773
4774 [BZ #11741]
4775 * libio/Makefile (tests): Add test case tst-fwrite-error.
4776 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4777 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4778 * libio/tst-fwrite-error.c: New test case.
4779
c515fb51
L
47802012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4781
4782 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4783 before casting to void *.
4784 * include/libc-internal.h (__pointer_type): New macro.
4785 (__integer_if_pointer_type_sub): Likewise.
4786 (__integer_if_pointer_type): Likewise.
4787 (cast_to_integer): Likewise.
4788 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4789 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4790 before casting to atomic64_t.
4791 (atomic_exchange_acq): Likewise.
4792 (__arch_exchange_and_add_body): Likewise.
4793 (__arch_add_body): Likewise.
4794 (atomic_add_negative): Likewise.
4795 (atomic_add_zero): Likewise.
4796
4cf77aa9
JM
47972012-11-26 Joseph Myers <joseph@codesourcery.com>
4798
4799 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4800 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4801 (add_fdes): Likewise.
4802 (linear_search_fdes): Likewise.
4803 (binary_search_unencoded_fdes): Likewise.
4804
d260b3b4
AS
48052012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4806
4807 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4808
67060746
AC
48092012-11-24 Adam Conrad <adconrad@0c3.net>
4810
4811 * configure.in: Autodetect C++ header directories.
4812 * configure: Regenerated.
4813
800938a1
MF
48142012-11-23 Mike Frysinger <vapier@gentoo.org>
4815
4816 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4817
4e6e34e6
AS
48182012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4819
4820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4821
7c7feb47
JM
48222012-11-22 Joseph Myers <joseph@codesourcery.com>
4823
7184dcdf
JM
4824 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4825 LDBL_MANT_DIG == 106]: Disable some tests.
4826 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4827 Likewise.
4828 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4829 Likewise.
4830
0a42601f
JM
4831 [BZ #14871]
4832 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4833 input for small inputs. Return +/- pi/2 for large inputs.
4834 * math/libm-test.inc (atan_test): Add more tests.
4835
79c9b9fe
JM
4836 * sysdeps/generic/unwind-dw2-fde-glibc.c
4837 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4838 __attribute__ ((unused)).
4839
c60d3bf2
JM
4840 [BZ #14645]
4841 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4842 x * y if x and y are nonzero and z is zero.
4843
ef1e0867
JM
4844 [BZ #14811]
4845 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4846 nonzero exponents with absolute value below 0x1p-117 to +/-
4847 0x1p-117.
4848
1468ded3
JM
4849 [BZ #14869]
4850 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4851 up arguments below 2**-450, not just those below 2**-500.
4852 * math/libm-test.inc (hypot_test): Add another test.
4853
8e27e3cc
JM
4854 [BZ #14868]
4855 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4856 Return a+b for ratio over 2**120, not 2**60.
4857 * math/libm-test.inc (hypot_test): Add another test.
4858
c9c0279b
JM
4859 * math/libm-test.inc (clog_test): Use
4860 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4861 (clog10_test): Likewise.
4862
7c7feb47
JM
4863 [BZ #6778]
4864 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4865
fff1530e
AS
48662012-11-22 Andreas Schwab <schwab@suse.de>
4867
4868 * sysdeps/i386/fpu/libm-test-ulps: Update.
4869
94558d30
PT
48702012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4871
4872 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4873 printf output with newline.
4874
7e1be741
L
48752012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4876
6bfea974
L
4877 [BZ #14865]
4878 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4879 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4880 -z nodlopen, -z initfirst and -z execstack support.
4881 * configure: Regenerated.
4882
7e1be741
L
4883 * elf/elf.h (DF_1_NODIRECT): New macro.
4884 (DF_1_IGNMULDEF): Likewise.
4885 (DF_1_NOKSYMS): Likewise.
4886 (DF_1_NOHDR): Likewise.
4887 (DF_1_EDITED): Likewise.
4888 (DF_1_NORELOC): Likewise.
4889 (DF_1_SYMINTPOSE): Likewise.
4890 (DF_1_GLOBAUDIT): Likewise.
4891 (DF_1_SINGLETON): Likewise.
4892 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4893 DT_1_SUPPORTED_MASK bits.
4894 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4895
105ce2ce
CD
48962012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4897
4898 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4899
123be9de
TS
49002012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4901
d072f3f7
TS
4902 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4903 macro.
4904
123be9de
TS
4905 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4906 (sendmmsg): Move declarations...
4907 * socket/sys/socket.h: ... here.
4908 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4909 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4910 include it from...
4911 * socket/recvmmsg.c: ... this new file.
4912 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4913 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4914 definition of __sendmmsg hidden.
4915 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4916 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4917 Move ENOSYS stub into and include it from...
4918 * socket/sendmmsg.c: ... this new file.
4919 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4920 (sysdep_routines): Move recvmmsg and sendmmsg...
4921 * socket/Makefile (routines): ... here.
4922 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4923 (GLIBC_PRIVATE): Add __sendmmsg.
4924 * include/sys/socket.h (__sendmmsg): Add declarations.
4925 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4926 sendmmsg.
4927
cf9a5d18
JM
49282012-11-20 Joseph Myers <joseph@codesourcery.com>
4929
4930 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4931 variable I1 with __attribute__ ((unused)).
4932 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4933
ecd4caf9
JM
49342012-11-19 Joseph Myers <joseph@codesourcery.com>
4935
be14d48f
JM
4936 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4937 DUMMY variables with __attribute__ ((unused)).
4938
ecd4caf9
JM
4939 * bits/byteswap.h: Include <bits/types.h>.
4940 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4941
986cab95
PT
49422012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4943
4944 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4945 string_t. Do not manually set errno.
4946 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4947 length with __strnlen. Make sure to both set errno and return it on
4948 failure.
4949
6d33cc9d
DM
49502012-11-19 David S. Miller <davem@davemloft.net>
4951
4952 With help from Joseph Myers.
4953 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4954 very large arguments properly.
4955 * math/libm-test.inc (atan_test): New tests.
4956 (atan2_test): New tests.
4957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4958 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4959
ee663277
JM
49602012-11-19 Joseph Myers <joseph@codesourcery.com>
4961
877f2d8e
JM
4962 [BZ #14856]
4963 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4964 Define to 3.
4965
116fc08a
JM
4966 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4967 [POSIX] (EADDRNOTAVAIL): Likewise.
4968 [POSIX] (EAFNOSUPPORT): Likewise.
4969 [POSIX] (EALREADY): Likewise.
4970 [POSIX] (ECONNABORTED): Likewise.
4971 [POSIX] (ECONNREFUSED): Likewise.
4972 [POSIX] (ECONNRESET): Likewise.
4973 [POSIX] (EDESTADDRREQ): Likewise.
4974 [POSIX] (EDQUOT): Likewise.
4975 [POSIX] (EHOSTUNREACH): Likewise.
4976 [POSIX] (EIDRM): Likewise.
4977 [POSIX] (EISCONN): Likewise.
4978 [POSIX] (ELOOP): Likewise.
4979 [POSIX] (EMULTIHOP): Likewise.
4980 [POSIX] (ENETDOWN): Likewise.
4981 [POSIX] (ENETUNREACH): Likewise.
4982 [POSIX] (ENOBUFS): Likewise.
4983 [POSIX] (ENODATA): Likewise.
4984 [POSIX] (ENOLINK): Likewise.
4985 [POSIX] (ENOMSG): Likewise.
4986 [POSIX] (ENOPROTOOPT): Likewise.
4987 [POSIX] (ENOSR): Likewise.
4988 [POSIX] (ENOSTR): Likewise.
4989 [POSIX] (ENOTCONN): Likewise.
4990 [POSIX] (ENOTSOCK): Likewise.
4991 [POSIX] (EOPNOTSUPP): Likewise.
4992 [POSIX] (EOVERFLOW): Likewise.
4993 [POSIX] (EPROTO): Likewise.
4994 [POSIX] (EPROTONOSUPPORT): Likewise.
4995 [POSIX] (EPROTOTYPE): Likewise.
4996 [POSIX] (ESTALE): Likewise.
4997 [POSIX] (ETIME): Likewise.
4998 [POSIX] (ETXTBSY): Likewise.
4999 [POSIX] (EWOULDBLOCK): Likewise.
5000 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5001 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5002 [POSIX] (SEEK_CUR): Likewise.
5003 [POSIX] (SEEK_END): Likewise.
5004 [POSIX || UNIX98] (mode_t): Do not require.
5005 [POSIX] (off_t): Likewise.
5006 [POSIX] (pid_t): Likewise.
5007 [POSIX] (sys/stat.h): Do not allow header.
5008 [POSIX] (unistd.h): Likewise.
5009 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5010 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5011 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5012 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5013 require.
5014 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5015 sigevent): Specify elements.
5016 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5017 entry.
5018 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5019 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5020
a483863f
JM
5021 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5022 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5023 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5024 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5025 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5026 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5027 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5028 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5029 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5030 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5031 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5032 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5033 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5034 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5035 Likewise.
5036 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5037 Likewise.
5038 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5039 Likewise.
5040 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5041 Likewise.
5042 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5043 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5044 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5045 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5046 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5047 Specify lower bound on value.
5048 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5049 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5050 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5051 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5052 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5053 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5054 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5055 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5056 value.
5057 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5058 as optional.
5059 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5060 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5061 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5062 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5063 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5064 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5065 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5066 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5067 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5068 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5069 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5070 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5071 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5072 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5073 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5074 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5075 entry.
5076 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5077 optional.
5078 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5079 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5080 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5081 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5082 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5083 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5084 Likewise.
5085 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5086 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5087 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5088 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5089 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5090 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5091 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5092 as optional.
5093 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5094 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5095 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5096 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5097 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5098 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5099 specify as optional.
5100 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5101 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5102 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5103 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5104 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5105 [XPG3] (NL_LANGMAX): Likewise.
5106 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5107 [POSIX || XPG3] (NL_NMAX): Likewise.
5108 [POSIX || XPG3] (NL_SETMAX): Likewise.
5109 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5110 [XPG3] (NZERO): Likewise.
5111 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5112 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5113 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5114 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5115 (REG_ERANGE): Expect.
5116 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5117 optional-constant.
5118 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5119 Use (void) in prototype.
5120 [POSIX] (*_t): Allow.
5121 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5122 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5123 (WRDE_BADVAL): Expect.
5124
5ba924e3
JM
5125 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5126 expect.
5127 [XPG3 || XPG4] (O_RSYNC): Likewise.
5128 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5129 Likewise.
5130 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5131 [XPG3 || XPG4] (sigqueue): Likewise.
5132 [XPG3 || XPG4] (sigtimedwait): Likewise.
5133 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5134 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5135 [XPG3 || XPG4] (vsnprintf): Likewise.
5136 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5137 Likewise.
5138 [XPG3 || XPG4] (blksize_t): Likewise.
5139 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5140 Likewise.
5141 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5142 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5143 [XPG3 || XPG4] (struct itimerspec): Likewise.
5144 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5145 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5146 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5147 [XPG3 || XPG4] (clockid_t): Likewise.
5148 [XPG3 || XPG4] (timer_t): Likewise.
5149 [XPG3 || XPG4] (clock_getres): Likewise.
5150 [XPG3 || XPG4] (clock_gettime): Likewise.
5151 [XPG3 || XPG4] (clock_settime): Likewise.
5152 [XPG3 || XPG4] (nanosleep): Likewise.
5153 [XPG3 || XPG4] (timer_create): Likewise.
5154 [XPG3 || XPG4] (timer_delete): Likewise.
5155 [XPG3 || XPG4] (timer_gettime): Likewise.
5156 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5157 [XPG3 || XPG4] (timer_settime): Likewise.
5158 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5159 [XPG3 || XPG4] (getlogin_r): Likewise.
5160 [XPG3 || XPG4] (pread): Likewise.
5161 [XPG3 || XPG4] (pthread_atfork): Likewise.
5162 [XPG3 || XPG4] (pwrite): Likewise.
5163
ee663277
JM
5164 [BZ #14835]
5165 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5166 <bits/siginfo.h>.
5167
942caa16
PT
51682012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5169
e19af380
PT
5170 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5171 finalizing MALLSTREAM.
5172
942caa16
PT
5173 * sysdeps/mach/hurd/syncfs.c: New file.
5174
cfde9b46
SP
51752012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5176
5177 [BZ #14719]
5178 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5179 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5180 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5181 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5182 (_nss_dns_gethostbyname4_r): Likewise.
5183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5184 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5185
f6da27e5
PH
51862012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5187
5188 [BZ #13763]
5189 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5190
6665d4a2
SM
51912012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5192
1f51ee92
SM
5193 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5194 * elf/cache.c (print_entry): Print ",AArch64" for
5195 FLAG_AARCH64_LIB64
5196
6665d4a2
SM
5197 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5198 * elf/cache.c (print_entry): Print ",hard-float" for
5199 FLAG_ARM_LIBHF.
5200
05b227bd
DM
52012012-11-18 David S. Miller <davem@davemloft.net>
5202
5203 With help from Joseph Myers.
5204 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5205 cutoff to 2**-13.
5206 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5207 cutoff to 2**-25.
5208 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5209 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5210 small.
5211 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5212 * math/libm-test.inc (y0_test): New tests.
5213 (y1_test): New tests.
5214 * sysdeps/i386/fpu/libm-test-ulps: Update.
5215 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5217
786b0b67
AS
52182012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5219
5220 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5221 64-bit targets.
5222 * configure: Regenerated.
5223
8e18b86d
DM
52242012-11-17 David S. Miller <davem@davemloft.net>
5225
5226 [BZ #14811]
5227 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5228 nonzero exponents with absolute value below 0x1p-128 to +/-
5229 0x1p-128.
5230
531f1ae0
JM
52312012-11-17 Joseph Myers <joseph@codesourcery.com>
5232
12df29e2
JM
5233 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5234
150dc1a0
JM
5235 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5236
531f1ae0
JM
5237 * posix/getconf-speclist.c: New file.
5238 * posix/posix-envs.def: Likewise.
5239 * posix/confstr.c (START_ENV_GROUP): New macro.
5240 (END_ENV_GROUP): Likewise.
5241 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5242 (KNOWN_PRESENT_ENV_STRING): Likewise.
5243 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5244 (UNKNOWN_ENVIRONMENT): Likewise.
5245 (confstr): Include posix-envs.def instead of handling
5246 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5247 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5248 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5249 (END_ENV_GROUP): Likewise.
5250 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5251 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5252 (UNKNOWN_ENVIRONMENT): Likewise.
5253 (__sysconf): Include posix-envs.def instead of handling associated
5254 cases directly here.
5255 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5256 preprocessing getconf-speclist.c rather than running getconf or
5257 generating empty file.
5258
a93f9cbc
PT
52592012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5260
5261 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5262
d64d9f87
AL
52632012-11-16 Andrej Lajovic <natrij@gmail.com>
5264
5265 [BZ #14672]
5266 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5267
447885eb
DM
52682012-11-16 David S. Miller <davem@davemloft.net>
5269
5270 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5271 smaller than LDBL_EPSILON/2.0L, just return xm1.
5272
bcbf9830
L
52732012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5274
5275 * elf/tst-array1.c (init): Set constructor priority to 1000.
5276 (fini): Set destructor priority to 1000.
5277 * elf/tst-array2dep.c: Likewise.
5278
2b766585
SP
52792012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5280
5281 [BZ #11741]
5282 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5283 (_IO_new_file_xsputn): Also return EOF if none of the input
5284 data was written when overflow failed.
5285 * libio/iopadn.c (_IO_padn): Likewise.
5286 * libio/iowpadn.c (_IO_wpadn): Likewise.
5287 * stdio-common/tst-put-error.c: Add copyright notice.
5288 (do_test): Add case for printing padded string.
5289 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5290 _IO_padn returned error.
5291 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5292 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5293 return EOF.
5294
b1848fde
SP
52952012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5296
5297 * libio/libioP.h: Add comment note that the references to C++
5298 bits are now obsolete.
5299
2fd89785
MS
53002012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5301
5302 * math/libm-test.inc (check_complex): Use asprintf.
5303
e3ea5409
JM
53042012-11-14 Joseph Myers <joseph@codesourcery.com>
5305
5306 * debug/pcprofiledump.c (print_version): Update copyright year.
5307 * malloc/memusagestat.c (print_version): Likewise.
5308
2e64d265
L
53092012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5310
5311 [BZ #14831]
5312 * elf/Makefile (tests): Add tst-audit8.
5313 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5314 ($(objpfx)tst-audit8.out): New target.
5315 (tst-audit8-ENV): New variable.
5316 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5317 audit if l_reloc_result is NULL.
5318 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5319 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5320 * elf/tst-audit8.c: New file.
5321
c485e4d2
MS
53222012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5323
5324 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5325 * misc/Makefile (CFLAGS-select.c): Define.
5326 * posix/Makefile (CFLAGS-pause.c): Define.
5327
3a0d900a
DM
53282012-11-13 David S. Miller <davem@davemloft.net>
5329
5330 * crypt/Makefile: Move test targets after toplevel Rules
5331 inclusion. Grab any necessary sysdep routines when linking.
5332 * crypt/md5.c (md5_process_block): Remove define, we will always
5333 name it __md5_process_block.
5334 (md5_finish_ctx): Update md5_process_block call.
5335 (md5_stream): Likewise.
5336 (md5_process_bytes): Likewise.
5337 (md5_process_block): Rename to __md5_process_block and move to ...
5338 * crypt/md5-block.c: ... here.
5339 * crypt/sha256.c (sha256_process_block): Move to ...
5340 * crypt/sha256-block.c: ... here.
5341 * crypt/sha512.c (sha512_process_block): Move to ...
5342 * crypt/sha512-block.c: ... here.
5343 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5344 path.
5345 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5346 * sysdeps/sparc/sparc64/multiarch/Makefile
5347 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5348 crypt subdir.
5349 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5350 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5351 multiarch changes.
5352 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5353 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5354 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5355 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5356 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5357 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5358 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5359 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5360 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5361 file.
5362 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5363 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5364 file.
5365 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5366
8ca89318
JM
53672012-11-13 Joseph Myers <joseph@codesourcery.com>
5368
e27d476a
JM
5369 * timezone/tzselect.ksh: Update from tzcode git revision
5370 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5371 * timezone/zdump.c: Likewise.
5372 * timezone/zic.c: Likewise.
5373 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5374 in TZVERSION setting, not $(PKGVERSION).
5375 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5376 REPORT_BUGS_TO settings.
5377
8ca89318
JM
5378 [BZ #14838]
5379 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5380 macro.
5381
47594329
MS
53822012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5383
5384 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5385 detection to immediately after _FP_ROUND().
5386 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5387 bits are 0.
5388
640ac3f1
DM
53892012-11-11 David S. Miller <davem@davemloft.net>
5390
5391 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5392 inttypes.h
5393 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5394 __close rather than their public counterparts.
5395
3d2577bb
JM
53962012-11-10 Joseph Myers <joseph@codesourcery.com>
5397
5398 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5399 file.
5400 [UNIX98] (sem_timedwait): Do not expect.
5401 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5402 [XPG4 || UNIX98] (sockatmark): Do not expect.
5403 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5404 (clock_getcpuclockid): Do not expect.
5405 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5406 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5407 Do not expect.
5408 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5409 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5410 [UNIX98] (vwscanf): Likewise.
5411 [UNIX98] (vswscanf): Likewise.
5412
fb1ae1ee
JM
54132012-11-09 Joseph Myers <joseph@codesourcery.com>
5414
9ec6f8bd
JM
5415 * timezone/version.h: Remove file.
5416 * timezone/README: Do not refer to version.h.
5417 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5418 $(objpfx)version.h.
5419 ($(objpfx)zdump.o): Likewise.
c3f81911 5420 ($(objpfx)version.h): New target.
9ec6f8bd 5421
0aa8f8a1
JM
5422 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5423 2012i.
5424 * timezone/README: Don't mention modification to tzselect.ksh.
5425 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5426 work on unmodified tzselect.ksh. Substitute version numbers in
5427 tzselect.ksh.
5428
4e87147f
JM
5429 * Makefile (format-me): Remove.
5430 (INSTALL): Adjust indentation. Use commands directly instead of
5431 using $(format-me).
5432
8b748aed
JM
5433 * aclocal.m4 (ACX_PKGVERSION): New macro.
5434 (ACX_BUGURL): Likewise.
5435 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5436 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5437 (REPORT_BUGS_TO): Likewise.
5438 * configure: Regenerated.
5439 * config.h.in (PKGVERSION): New macro.
5440 (REPORT_BUGS_TO): Likewise.
5441 * config.make.in (PKGVERSION): New variable.
5442 (PKGVERSION_TEXI): Likewise.
5443 (REPORT_BUGS_TO): Likewise.
5444 (REPORT_BUGS_TEXI): Likewise.
5445 * Makefile (format-me): Use -I$(common-objpfx)manual.
5446 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5447 ($(common-objpfx)manual/%): New target.
5448 (manual/%): Remove target.
5449 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5450 (print_version): Use PKGVERSION.
5451 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5452 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5453 and REPORT_BUGS_TO.
5454 ($(objpfx)xtrace): Likewise.
5455 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5456 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5457 (print_version): Use PKGVERSION.
5458 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5459 (do_version): Use PKGVERSION.
5460 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5461 REPORT_BUGS_TO.
5462 (common-ldd-rewrite): Likewise.
5463 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5464 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5465 (print_version): Use PKGVERSION.
5466 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5467 * elf/pldd.c (argp_program_bug_address): Remove variable.
5468 (more_help): New function.
5469 (argp): Use more_help.
5470 (print_version): Use PKGVERSION.
5471 * elf/sln.c (main): Use PKGVERSION.
5472 (usage): Use REPORT_BUGS_TO.
5473 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5474 (top level): Use PKGVERSION.
5475 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5476 (print_version): Use PKGVERSION.
5477 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5478 (print_version): Use PKGVERSION.
5479 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5480 (print_version): Use PKGVERSION.
5481 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5482 (print_version): Use PKGVERSION.
5483 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5484 (print_version): Use PKGVERSION.
5485 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5486 (print_version): Use PKGVERSION.
5487 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5488 and BUGURL.
5489 ($(objpfx)memusage): Likewise.
5490 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5491 (do_version): Use PKGVERSION.
5492 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5493 (print_version): Use PKGVERSION.
5494 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5495 ($PKGVERSION): New variable.
5496 ($REPORT_BUGS_TO): Likewise.
5497 (usage): Use $REPORT_BUGS_TO.
5498 (top level): Use $PKGVERSION.
5499 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5500 ($(objpfx)pkgvers.texi): New rule.
5501 ($(objpfx)stamp-pkgvers): Likewise.
5502 * manual/install.texi: Include pkgvers.texi.
5503 (--with-pkgversion): Document new configure option.
5504 (--with-bugurl): Likewise.
5505 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5506 than necessarily for this particular distribution. Use
5507 REPORT_BUGS_TO for where to report bugs.
5508 * INSTALL: Regenerated.
5509 * manual/libc.texinfo: Include pkgvers.texi.
5510 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5511 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5512 (print_version): Use PKGVERSION.
5513 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5514 (print_version): Use PKGVERSION.
5515 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5516 (print_version): Use PKGVERSION.
5517 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5518 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5519 macro.
5520 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5521 (print_version): Use PKGVERSION.
5522 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5523 (print_version): Use PKGVERSION.
5524 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5525 and PKGVERSION.
5526
92e4b6a9
JM
5527 * timezone/checktab.awk: Update from tzcode 2012i.
5528 * timezone/ialloc.c: Likewise.
5529 * timezone/private.h: Likewise.
5530 * timezone/scheck.c: Likewise.
5531 * timezone/tzfile.h: Likewise.
5532 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5533 (TZVERSION): Hardcode tzcode version number.
5534 * timezone/zdump.c: Update from tzcode 2012i.
5535 * timezone/zic.c: Likewise.
5536 * timezone/version.h: New file.
5537 * timezone/README: Describe version.h. Update upstream location.
5538
9bde902c
JM
5539 [BZ #14824]
5540 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5541 (mktemp): Enable declaration.
5542 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5543 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5544 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5545 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5546 Likewise.
5547 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5548 Likewise.
5549 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5550 Likewise.
5551 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5552 Likewise.
5553 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5554 Likewise.
5555 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5556 Likewise.
5557
fb1ae1ee
JM
5558 [BZ #14821]
5559 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5560 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5561 for copies of such integer values.
5562 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5563 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5564
2c1adbcb
AJ
55652012-11-09 Andreas Jaeger <aj@suse.de>
5566
5567 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5568 definitions and declarations that are provided by
5569 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5570
d0f8457e
AK
55712012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5572
3a235abb 5573 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
5574 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5575 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5576 definition.
5577
57241e26
MS
55782012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5579
5580 * elf/elf.h: Update comment before AArch64 relocations.
5581
60e8270d
DM
55822012-11-07 David S. Miller <davem@davemloft.net>
5583
5584 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5585 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5586 (__start_context): Declare.
5587 (__makecontext_ret): Delete.
5588 (__makecontext): Hook up __start_context instead of
5589 __makecontext_ret.
5590 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5591 (sysdep_routines): Add __start_context when in stdlib.
5592
0fbb0fbc
JM
55932012-11-07 Joseph Myers <joseph@codesourcery.com>
5594
5595 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5596 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5597 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5598 hardcoded "nm".
5599 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5600 (READELF): New variable. Use it instead of hardcoded "readelf".
5601
eb48db7e
L
56022012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5603
5604 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5605 * sysdeps/x86/Makefile: Here.
5606 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5607 * sysdeps/x86/tst-xmmymm.sh: This.
5608
05bcf62a
JM
56092012-11-07 Joseph Myers <joseph@codesourcery.com>
5610
c4b6cf53
JM
5611 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5612 expectations.
5613 [UNIX98] (pthread_barrier_t): Do not expect.
5614 [UNIX98] (pthread_barrierattr_t): Likewise.
5615 [UNIX98] (pthread_spinlock_t): Likewise.
5616 [UNIX98] (pthread_barrier_destroy): Likewise.
5617 [UNIX98] (pthread_barrier_init): Likewise.
5618 [UNIX98] (pthread_barrier_wait): Likewise.
5619 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5620 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5621 [UNIX98] (pthread_barrierattr_init): Likewise.
5622 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5623 [UNIX98] (pthread_getcpuclockid): Likewise.
5624 [UNIX98] (pthread_mutex_timedlock): Likewise.
5625 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5626 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5627 [UNIX98] (pthread_sigmask): Likewise.
5628 [UNIX98] (pthread_spin_destroy): Likewise.
5629 [UNIX98] (pthread_spin_init): Likewise.
5630 [UNIX98] (pthread_spin_lock): Likewise.
5631 [UNIX98] (pthread_spin_trylock): Likewise.
5632 [UNIX98] (pthread_spin_unlock): Likewise.
5633 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5634 Do not expect.
5635 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5636 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5637 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5638 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5639 [XPG3 || XPG4] (pthread_key_t): Likewise.
5640 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5641 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5642 [XPG3 || XPG4] (pthread_once_t): Likewise.
5643 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5644 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5645 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5646 [XPG3 || XPG4] (pthread_t): Likewise.
5647
cbe6e120
JM
5648 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5649 not expect.
5650 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5651
1b126443
JM
5652 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5653 Change function return type to int.
5654
b961a573
JM
5655 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5656 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5657 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5658 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5659 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5660 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5661 [!POSIX] (posix_madvise): Likewise.
5662 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5663 && !UNIX98].
5664 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5665 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5666 (mode_t): Likewise.
5667 (posix_mem_offset): Likewise.
5668 (posix_typed_mem_get_info): Likewise.
5669 (posix_typed_mem_open): Likewise.
5670
9e188909
JM
5671 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5672 Change condition to [XOPEN2K8].
5673
05bcf62a
JM
5674 * conform/conformtest.pl: Preprocess allow-header data with -x c
5675 instead of from stdin.
5676 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5677 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5678 [C99-based standards] (cerfc): Likewise.
5679 [C99-based standards] (cexp2): Likewise.
5680 [C99-based standards] (cexpm1): Likewise.
5681 [C99-based standards] (clog10): Likewise.
5682 [C99-based standards] (clog1p): Likewise.
5683 [C99-based standards] (clog2): Likewise.
5684 [C99-based standards] (clgamma): Likewise.
5685 [C99-based standards] (ctgamma): Likewise.
5686 [C99-based standards] (cerff): Likewise.
5687 [C99-based standards] (cerfcf): Likewise.
5688 [C99-based standards] (cexp2f): Likewise.
5689 [C99-based standards] (cexpm1f): Likewise.
5690 [C99-based standards] (clog10f): Likewise.
5691 [C99-based standards] (clog1pf): Likewise.
5692 [C99-based standards] (clog2f): Likewise.
5693 [C99-based standards] (clgammaf): Likewise.
5694 [C99-based standards] (ctgammaf): Likewise.
5695 [C99-based standards] (cerfl): Likewise.
5696 [C99-based standards] (cerfcl): Likewise.
5697 [C99-based standards] (cexp2l): Likewise.
5698 [C99-based standards] (cexpm1l): Likewise.
5699 [C99-based standards] (clog10l): Likewise.
5700 [C99-based standards] (clog1pl): Likewise.
5701 [C99-based standards] (clog2l): Likewise.
5702 [C99-based standards] (clgammal): Likewise.
5703 [C99-based standards] (ctgammal): Likewise.
5704 * conform/data/inttypes.h-data [C99-based standards]: Include
5705 stdint.h-data. Remove all expectations for stdint.h contents.
5706 [C99-based standards] (PRI*): Do not allow.
5707 [C99-based standards] (SCN*): Likewise.
5708 [C99-based standards] (*_t): Likewise.
5709 [C99-based-standards] (PRId8): Expect macro.
5710 [C99-based-standards] (PRIi8): Likewise.
5711 [C99-based-standards] (PRIo8): Likewise.
5712 [C99-based-standards] (PRIu8): Likewise.
5713 [C99-based-standards] (PRIx8): Likewise.
5714 [C99-based-standards] (PRIX8): Likewise.
5715 [C99-based-standards] (SCNd8): Likewise.
5716 [C99-based-standards] (SCNi8): Likewise.
5717 [C99-based-standards] (SCNo8): Likewise.
5718 [C99-based-standards] (SCNu8): Likewise.
5719 [C99-based-standards] (SCNx8): Likewise.
5720 [C99-based-standards] (PRIdLEAST8): Likewise.
5721 [C99-based-standards] (PRIiLEAST8): Likewise.
5722 [C99-based-standards] (PRIoLEAST8): Likewise.
5723 [C99-based-standards] (PRIuLEAST8): Likewise.
5724 [C99-based-standards] (PRIxLEAST8): Likewise.
5725 [C99-based-standards] (PRIXLEAST8): Likewise.
5726 [C99-based-standards] (SCNdLEAST8): Likewise.
5727 [C99-based-standards] (SCNiLEAST8): Likewise.
5728 [C99-based-standards] (SCNoLEAST8): Likewise.
5729 [C99-based-standards] (SCNuLEAST8): Likewise.
5730 [C99-based-standards] (SCNxLEAST8): Likewise.
5731 [C99-based-standards] (PRIdFAST8): Likewise.
5732 [C99-based-standards] (PRIiFAST8): Likewise.
5733 [C99-based-standards] (PRIoFAST8): Likewise.
5734 [C99-based-standards] (PRIuFAST8): Likewise.
5735 [C99-based-standards] (PRIxFAST8): Likewise.
5736 [C99-based-standards] (PRIXFAST8): Likewise.
5737 [C99-based-standards] (SCNdFAST8): Likewise.
5738 [C99-based-standards] (SCNiFAST8): Likewise.
5739 [C99-based-standards] (SCNoFAST8): Likewise.
5740 [C99-based-standards] (SCNuFAST8): Likewise.
5741 [C99-based-standards] (SCNxFAST8): Likewise.
5742 [C99-based-standards] (PRId16): Likewise.
5743 [C99-based-standards] (PRIi16): Likewise.
5744 [C99-based-standards] (PRIo16): Likewise.
5745 [C99-based-standards] (PRIu16): Likewise.
5746 [C99-based-standards] (PRIx16): Likewise.
5747 [C99-based-standards] (PRIX16): Likewise.
5748 [C99-based-standards] (SCNd16): Likewise.
5749 [C99-based-standards] (SCNi16): Likewise.
5750 [C99-based-standards] (SCNo16): Likewise.
5751 [C99-based-standards] (SCNu16): Likewise.
5752 [C99-based-standards] (SCNx16): Likewise.
5753 [C99-based-standards] (PRIdLEAST16): Likewise.
5754 [C99-based-standards] (PRIiLEAST16): Likewise.
5755 [C99-based-standards] (PRIoLEAST16): Likewise.
5756 [C99-based-standards] (PRIuLEAST16): Likewise.
5757 [C99-based-standards] (PRIxLEAST16): Likewise.
5758 [C99-based-standards] (PRIXLEAST16): Likewise.
5759 [C99-based-standards] (SCNdLEAST16): Likewise.
5760 [C99-based-standards] (SCNiLEAST16): Likewise.
5761 [C99-based-standards] (SCNoLEAST16): Likewise.
5762 [C99-based-standards] (SCNuLEAST16): Likewise.
5763 [C99-based-standards] (SCNxLEAST16): Likewise.
5764 [C99-based-standards] (PRIdFAST16): Likewise.
5765 [C99-based-standards] (PRIiFAST16): Likewise.
5766 [C99-based-standards] (PRIoFAST16): Likewise.
5767 [C99-based-standards] (PRIuFAST16): Likewise.
5768 [C99-based-standards] (PRIxFAST16): Likewise.
5769 [C99-based-standards] (PRIXFAST16): Likewise.
5770 [C99-based-standards] (SCNdFAST16): Likewise.
5771 [C99-based-standards] (SCNiFAST16): Likewise.
5772 [C99-based-standards] (SCNoFAST16): Likewise.
5773 [C99-based-standards] (SCNuFAST16): Likewise.
5774 [C99-based-standards] (SCNxFAST16): Likewise.
5775 [C99-based-standards] (PRId32): Likewise.
5776 [C99-based-standards] (PRIi32): Likewise.
5777 [C99-based-standards] (PRIo32): Likewise.
5778 [C99-based-standards] (PRIu32): Likewise.
5779 [C99-based-standards] (PRIx32): Likewise.
5780 [C99-based-standards] (PRIX32): Likewise.
5781 [C99-based-standards] (SCNd32): Likewise.
5782 [C99-based-standards] (SCNi32): Likewise.
5783 [C99-based-standards] (SCNo32): Likewise.
5784 [C99-based-standards] (SCNu32): Likewise.
5785 [C99-based-standards] (SCNx32): Likewise.
5786 [C99-based-standards] (PRIdLEAST32): Likewise.
5787 [C99-based-standards] (PRIiLEAST32): Likewise.
5788 [C99-based-standards] (PRIoLEAST32): Likewise.
5789 [C99-based-standards] (PRIuLEAST32): Likewise.
5790 [C99-based-standards] (PRIxLEAST32): Likewise.
5791 [C99-based-standards] (PRIXLEAST32): Likewise.
5792 [C99-based-standards] (SCNdLEAST32): Likewise.
5793 [C99-based-standards] (SCNiLEAST32): Likewise.
5794 [C99-based-standards] (SCNoLEAST32): Likewise.
5795 [C99-based-standards] (SCNuLEAST32): Likewise.
5796 [C99-based-standards] (SCNxLEAST32): Likewise.
5797 [C99-based-standards] (PRIdFAST32): Likewise.
5798 [C99-based-standards] (PRIiFAST32): Likewise.
5799 [C99-based-standards] (PRIoFAST32): Likewise.
5800 [C99-based-standards] (PRIuFAST32): Likewise.
5801 [C99-based-standards] (PRIxFAST32): Likewise.
5802 [C99-based-standards] (PRIXFAST32): Likewise.
5803 [C99-based-standards] (SCNdFAST32): Likewise.
5804 [C99-based-standards] (SCNiFAST32): Likewise.
5805 [C99-based-standards] (SCNoFAST32): Likewise.
5806 [C99-based-standards] (SCNuFAST32): Likewise.
5807 [C99-based-standards] (SCNxFAST32): Likewise.
5808 [C99-based-standards] (PRId64): Likewise.
5809 [C99-based-standards] (PRIi64): Likewise.
5810 [C99-based-standards] (PRIo64): Likewise.
5811 [C99-based-standards] (PRIu64): Likewise.
5812 [C99-based-standards] (PRIx64): Likewise.
5813 [C99-based-standards] (PRIX64): Likewise.
5814 [C99-based-standards] (SCNd64): Likewise.
5815 [C99-based-standards] (SCNi64): Likewise.
5816 [C99-based-standards] (SCNo64): Likewise.
5817 [C99-based-standards] (SCNu64): Likewise.
5818 [C99-based-standards] (SCNx64): Likewise.
5819 [C99-based-standards] (PRIdLEAST64): Likewise.
5820 [C99-based-standards] (PRIiLEAST64): Likewise.
5821 [C99-based-standards] (PRIoLEAST64): Likewise.
5822 [C99-based-standards] (PRIuLEAST64): Likewise.
5823 [C99-based-standards] (PRIxLEAST64): Likewise.
5824 [C99-based-standards] (PRIXLEAST64): Likewise.
5825 [C99-based-standards] (SCNdLEAST64): Likewise.
5826 [C99-based-standards] (SCNiLEAST64): Likewise.
5827 [C99-based-standards] (SCNoLEAST64): Likewise.
5828 [C99-based-standards] (SCNuLEAST64): Likewise.
5829 [C99-based-standards] (SCNxLEAST64): Likewise.
5830 [C99-based-standards] (PRIdFAST64): Likewise.
5831 [C99-based-standards] (PRIiFAST64): Likewise.
5832 [C99-based-standards] (PRIoFAST64): Likewise.
5833 [C99-based-standards] (PRIuFAST64): Likewise.
5834 [C99-based-standards] (PRIxFAST64): Likewise.
5835 [C99-based-standards] (PRIXFAST64): Likewise.
5836 [C99-based-standards] (SCNdFAST64): Likewise.
5837 [C99-based-standards] (SCNiFAST64): Likewise.
5838 [C99-based-standards] (SCNoFAST64): Likewise.
5839 [C99-based-standards] (SCNuFAST64): Likewise.
5840 [C99-based-standards] (SCNxFAST64): Likewise.
5841 [C99-based-standards] (PRIdMAX): Likewise.
5842 [C99-based-standards] (PRIiMAX): Likewise.
5843 [C99-based-standards] (PRIoMAX): Likewise.
5844 [C99-based-standards] (PRIuMAX): Likewise.
5845 [C99-based-standards] (PRIxMAX): Likewise.
5846 [C99-based-standards] (PRIXMAX): Likewise.
5847 [C99-based-standards] (SCNdMAX): Likewise.
5848 [C99-based-standards] (SCNiMAX): Likewise.
5849 [C99-based-standards] (SCNoMAX): Likewise.
5850 [C99-based-standards] (SCNuMAX): Likewise.
5851 [C99-based-standards] (SCNxMAX): Likewise.
5852 [C99-based-standards] (PRIdPTR): Likewise.
5853 [C99-based-standards] (PRIiPTR): Likewise.
5854 [C99-based-standards] (PRIoPTR): Likewise.
5855 [C99-based-standards] (PRIuPTR): Likewise.
5856 [C99-based-standards] (PRIxPTR): Likewise.
5857 [C99-based-standards] (PRIXPTR): Likewise.
5858 [C99-based-standards] (SCNdPTR): Likewise.
5859 [C99-based-standards] (SCNiPTR): Likewise.
5860 [C99-based-standards] (SCNoPTR): Likewise.
5861 [C99-based-standards] (SCNuPTR): Likewise.
5862 [C99-based-standards] (SCNxPTR): Likewise.
5863 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5864 allow.
5865 * conform/data/stdint.h-data: Update comments to clarify
5866 requirements.
5867 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5868 type.
5869 [C99-based standards] (INT8_MAX): Likewise.
5870 [C99-based standards] (INT16_MIN): Likewise.
5871 [C99-based standards] (INT16_MAX): Likewise.
5872 [C99-based standards] (INT32_MIN): Likewise.
5873 [C99-based standards] (INT32_MAX): Likewise.
5874 [C99-based standards] (INT64_MIN): Likewise.
5875 [C99-based standards] (INT64_MAX): Likewise.
5876 [C99-based standards] (UINT8_MAX): Likewise.
5877 [C99-based standards] (UINT16_MAX): Likewise.
5878 [C99-based standards] (UINT32_MAX): Likewise.
5879 [C99-based standards] (UINT64_MAX): Likewise.
5880 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5881 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5882 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5883 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5884 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5885 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5886 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5887 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5888 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5889 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5890 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5891 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5892 [C99-based standards] (INT_FAST8_MIN): Likewise.
5893 [C99-based standards] (INT_FAST8_MAX): Likewise.
5894 [C99-based standards] (INT_FAST16_MIN): Likewise.
5895 [C99-based standards] (INT_FAST16_MAX): Likewise.
5896 [C99-based standards] (INT_FAST32_MIN): Likewise.
5897 [C99-based standards] (INT_FAST32_MAX): Likewise.
5898 [C99-based standards] (INT_FAST64_MIN): Likewise.
5899 [C99-based standards] (INT_FAST64_MAX): Likewise.
5900 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5901 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5902 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5903 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5904 [C99-based standards] (INTPTR_MIN): Likewise.
5905 [C99-based standards] (INTPTR_MAX): Likewise.
5906 [C99-based standards] (UINTPTR_MAX): Likewise.
5907 [C99-based standards] (INTMAX_MIN): Likewise.
5908 [C99-based standards] (INTMAX_MAX): Likewise.
5909 [C99-based standards] (UINTMAX_MAX): Likewise.
5910 [C99-based standards] (PTRDIFF_MIN): Likewise.
5911 [C99-based standards] (PTRDIFF_MAX): Likewise.
5912 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5913 [C99-based standards] (SIZE_MAX): Likewise.
5914 [C99-based standards] (WCHAR_MAX): Likewise.
5915 [C99-based standards] (WINT_MAX): Likewise.
5916 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5917 constraint on value.
5918 [C99-based standards] (WCHAR_MIN): Likewise.
5919 [C99-based standards] (WINT_MIN): Likewise.
5920 [C99-based standards] (*_t): Allow.
5921 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5922 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5923 Include math.h-data and complex.h-data. Remove all expectations
5924 of math.h and complex.h contents.
5925 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5926 at end of line.
5927 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5928 (struct tm): Expect tag.
5929 [C99-based-standards] (wcstof): Expect function.
5930 [C99-based-standards] (wcstold): Likewise.
5931 [C99-based-standards] (wcstoll): Likewise.
5932 [C99-based-standards] (wcstoull): Likewise.
5933 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5934 macro-int-constant. Specify type.
5935 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5936 constraint on value.
5937 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5938 Specify type.
5939 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5940 Specify value.
5941 [ISO C standards]: Do not allow headers.
5942 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5943 wcs[abcdefghijklmnopqrstuvwxyz]*.
5944 [ISO C standards] (*_t): Do not allow.
5945 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5946 Expect function.
5947 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5948 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5949 Specify type.
5950 [ISO C standards]: Do not allow headers.
5951 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5952 is[abcdefghijklmnopqrstuvwxyz]*.
5953 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5954 to[abcdefghijklmnopqrstuvwxyz]*.
5955 [ISO C standards] (*_t): Do not allow.
5956 * conform/data/stdalign.h-data: New file.
5957 * conform/data/stdbool.h-data: Likewise.
5958 * conform/data/stdnoreturn.h-data: Likewise.
5959
7514feb8
RM
59602012-11-07 Roland McGrath <roland@hack.frob.com>
5961
5962 [BZ #14815]
5963 * manual/filesys.texi (Directory Entries): Typo fix.
5964 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5965
19b2ecfc
MS
59662012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5967
5968 * elf/elf.h (EM_AARCH64): New macro.
5969 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5970 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5971 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5972 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5973 (R_AARCH64_TLSDESC): Likewise.
5974 (NT_ARM_TLS): Likewise.
5975 (NT_ARM_HW_BREAK): Likewise.
5976 (NT_ARM_HW_WATCH): Likewise.
5977
60e235ee
JM
59782012-11-07 Joseph Myers <joseph@codesourcery.com>
5979
5980 [BZ #14811]
5981 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
5982 (__ieee754_powl): Saturate nonzero exponents with absolute value
5983 below 0x1p-79 to +/- 0x1p-79.
5984 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
5985 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
5986 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
5987 nonzero exponents with absolute value below 0x1p-32 to +/-
5988 0x1p-32.
5989 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
5990 (__ieee754_powl): Saturate nonzero exponents with absolute value
5991 below 0x1p-79 to +/- 0x1p-79.
5992 * math/libm-test.inc (pow_test): Add more tests.
5993
0ab234b7
AK
59942012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5995
5996 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
5997 _dl_s390_cap_flags with kernel. Increase string length.
5998 (_dl_s390_platforms): Add z196 and zEC12.
5999
45832f74
JM
60002012-11-07 Joseph Myers <joseph@codesourcery.com>
6001
6002 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6003 Change XOPEN21K to XOPEN2K.
6004
19218757
MK
60052012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6006
6007 * string/memmove.c: Use memcpy when possible.
6008
c5f45721
AJ
60092012-11-06 Andreas Jaeger <aj@suse.de>
6010
6011 * po/eo.po: Update from translation team.
6012
82477c28
JM
60132012-11-06 Joseph Myers <joseph@codesourcery.com>
6014
6015 [BZ #14793]
6016 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6017 exponent and small x and y exponents, scale x or y up. Increase
6018 by 2 the exponent used in scaling up.
6019 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6020 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6021 * math/libm-test.inc (fma_test): Add more tests.
6022 (fma_test_towardzero): Likewise.
6023 (fma_test_downward): Likewise.
6024 (fma_test_upward): Likewise.
6025
99252c8c
JM
60262012-11-05 Joseph Myers <joseph@codesourcery.com>
6027
acfa885f
JM
6028 [BZ #14805]
6029 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6030 fenv_t *.
6031
99252c8c
JM
6032 [BZ #14801]
6033 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6034 namespace for names of struct fields.
6035 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6036 fenv_t fields.
6037 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6038 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6039
d6d98dea
ST
60402012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6041
6042 [BZ #3665]
6043 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6044
e10bb107
TS
60452012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6046
6047 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6048 PTR_DEMANGLE.
6049
6050 [BZ #5246]
6051 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6052 PTR_DEMANGLE.
6053
a0c2940d
JM
60542012-11-04 Joseph Myers <joseph@codesourcery.com>
6055
6056 [BZ #14797]
6057 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6058 definitely overflow as x * y not x * y + z.
6059 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6060 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6061 * math/libm-test.inc (fma_test): Add more tests.
6062 (fma_test_towardzero): Likewise.
6063 (fma_test_downward): Likewise.
6064 (fma_test_upward): Likewise.
6065
b830319d
TS
60662012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6067
6068 [BZ #157]
6069
6070 * include/stub-tag.h: Remove file.
6071 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6072 '#include' of it.
6073 * manual/maint.texi (Porting): Don't reference it.
6074 * Makerules ($(objpfx)stubs): Likewise.
6075 * dirent/closedir.c: Don't include <stub-tag.h>.
6076 * dirent/dirfd.c: Likewise.
6077 * dirent/fdopendir.c: Likewise.
6078 * dirent/getdents.c: Likewise.
6079 * dirent/getdents64.c: Likewise.
6080 * dirent/opendir.c: Likewise.
6081 * dirent/readdir.c: Likewise.
6082 * dirent/readdir64.c: Likewise.
6083 * dirent/readdir64_r.c: Likewise.
6084 * dirent/readdir_r.c: Likewise.
6085 * dirent/rewinddir.c: Likewise.
6086 * dirent/seekdir.c: Likewise.
6087 * dirent/telldir.c: Likewise.
6088 * gmon/profil.c: Likewise.
6089 * grp/setgroups.c: Likewise.
6090 * inet/if_index.c: Likewise.
6091 * io/access.c: Likewise.
6092 * io/chdir.c: Likewise.
6093 * io/chmod.c: Likewise.
6094 * io/chown.c: Likewise.
6095 * io/close.c: Likewise.
6096 * io/dup.c: Likewise.
6097 * io/dup2.c: Likewise.
6098 * io/dup3.c: Likewise.
6099 * io/euidaccess.c: Likewise.
6100 * io/faccessat.c: Likewise.
6101 * io/fchdir.c: Likewise.
6102 * io/fchmod.c: Likewise.
6103 * io/fchmodat.c: Likewise.
6104 * io/fchown.c: Likewise.
6105 * io/fchownat.c: Likewise.
6106 * io/fcntl.c: Likewise.
6107 * io/flock.c: Likewise.
6108 * io/fstatfs.c: Likewise.
6109 * io/fstatfs64.c: Likewise.
6110 * io/fstatvfs.c: Likewise.
6111 * io/fstatvfs64.c: Likewise.
6112 * io/futimens.c: Likewise.
6113 * io/fxstat.c: Likewise.
6114 * io/fxstat64.c: Likewise.
6115 * io/fxstatat.c: Likewise.
6116 * io/fxstatat64.c: Likewise.
6117 * io/getcwd.c: Likewise.
6118 * io/isatty.c: Likewise.
6119 * io/lchmod.c: Likewise.
6120 * io/lchown.c: Likewise.
6121 * io/link.c: Likewise.
6122 * io/linkat.c: Likewise.
6123 * io/lseek.c: Likewise.
6124 * io/lseek64.c: Likewise.
6125 * io/lxstat64.c: Likewise.
6126 * io/mkdir.c: Likewise.
6127 * io/mkdirat.c: Likewise.
6128 * io/mkfifo.c: Likewise.
6129 * io/mkfifoat.c: Likewise.
6130 * io/open.c: Likewise.
6131 * io/open64.c: Likewise.
6132 * io/openat.c: Likewise.
6133 * io/openat64.c: Likewise.
6134 * io/pipe.c: Likewise.
6135 * io/pipe2.c: Likewise.
6136 * io/poll.c: Likewise.
6137 * io/posix_fadvise.c: Likewise.
6138 * io/posix_fadvise64.c: Likewise.
6139 * io/posix_fallocate.c: Likewise.
6140 * io/posix_fallocate64.c: Likewise.
6141 * io/read.c: Likewise.
6142 * io/readlink.c: Likewise.
6143 * io/readlinkat.c: Likewise.
6144 * io/rmdir.c: Likewise.
6145 * io/sendfile.c: Likewise.
6146 * io/sendfile64.c: Likewise.
6147 * io/statfs.c: Likewise.
6148 * io/statfs64.c: Likewise.
6149 * io/statvfs.c: Likewise.
6150 * io/statvfs64.c: Likewise.
6151 * io/symlink.c: Likewise.
6152 * io/symlinkat.c: Likewise.
6153 * io/ttyname.c: Likewise.
6154 * io/ttyname_r.c: Likewise.
6155 * io/umask.c: Likewise.
6156 * io/unlink.c: Likewise.
6157 * io/unlinkat.c: Likewise.
6158 * io/utime.c: Likewise.
6159 * io/utimensat.c: Likewise.
6160 * io/write.c: Likewise.
6161 * io/xmknod.c: Likewise.
6162 * io/xmknodat.c: Likewise.
6163 * io/xstat.c: Likewise.
6164 * io/xstat64.c: Likewise.
6165 * login/getpt.c: Likewise.
6166 * login/grantpt.c: Likewise.
6167 * login/unlockpt.c: Likewise.
6168 * math/e_acoshl.c: Likewise.
6169 * math/e_acosl.c: Likewise.
6170 * math/e_asinl.c: Likewise.
6171 * math/e_atan2l.c: Likewise.
6172 * math/e_atanhl.c: Likewise.
6173 * math/e_coshl.c: Likewise.
6174 * math/e_expl.c: Likewise.
6175 * math/e_fmodl.c: Likewise.
6176 * math/e_gammal_r.c: Likewise.
6177 * math/e_hypotl.c: Likewise.
6178 * math/e_j0l.c: Likewise.
6179 * math/e_j1l.c: Likewise.
6180 * math/e_jnl.c: Likewise.
6181 * math/e_lgammal_r.c: Likewise.
6182 * math/e_log10l.c: Likewise.
6183 * math/e_log2l.c: Likewise.
6184 * math/e_logl.c: Likewise.
6185 * math/e_powl.c: Likewise.
6186 * math/e_rem_pio2l.c: Likewise.
6187 * math/e_sinhl.c: Likewise.
6188 * math/e_sqrtl.c: Likewise.
6189 * math/fclrexcpt.c: Likewise.
6190 * math/fedisblxcpt.c: Likewise.
6191 * math/feenablxcpt.c: Likewise.
6192 * math/fegetenv.c: Likewise.
6193 * math/fegetexcept.c: Likewise.
6194 * math/fegetround.c: Likewise.
6195 * math/feholdexcpt.c: Likewise.
6196 * math/fesetenv.c: Likewise.
6197 * math/fesetround.c: Likewise.
6198 * math/feupdateenv.c: Likewise.
6199 * math/fgetexcptflg.c: Likewise.
6200 * math/fraiseexcpt.c: Likewise.
6201 * math/fsetexcptflg.c: Likewise.
6202 * math/ftestexcept.c: Likewise.
6203 * math/k_cosl.c: Likewise.
6204 * math/k_rem_pio2l.c: Likewise.
6205 * math/k_sinl.c: Likewise.
6206 * math/k_tanl.c: Likewise.
6207 * math/s_asinhl.c: Likewise.
6208 * math/s_atanl.c: Likewise.
6209 * math/s_cbrtl.c: Likewise.
6210 * math/s_erfl.c: Likewise.
6211 * math/s_expm1l.c: Likewise.
6212 * math/s_log1pl.c: Likewise.
6213 * math/s_tanhl.c: Likewise.
6214 * misc/acct.c: Likewise.
6215 * misc/brk.c: Likewise.
6216 * misc/chflags.c: Likewise.
6217 * misc/chroot.c: Likewise.
6218 * misc/fchflags.c: Likewise.
6219 * misc/fgetxattr.c: Likewise.
6220 * misc/flistxattr.c: Likewise.
6221 * misc/fremovexattr.c: Likewise.
6222 * misc/fsetxattr.c: Likewise.
6223 * misc/fsync.c: Likewise.
6224 * misc/ftruncate.c: Likewise.
6225 * misc/futimes.c: Likewise.
6226 * misc/futimesat.c: Likewise.
6227 * misc/getdomain.c: Likewise.
6228 * misc/getdtsz.c: Likewise.
6229 * misc/gethostid.c: Likewise.
6230 * misc/gethostname.c: Likewise.
6231 * misc/getloadavg.c: Likewise.
6232 * misc/getpagesize.c: Likewise.
6233 * misc/getsysstats.c: Likewise.
6234 * misc/getxattr.c: Likewise.
6235 * misc/gtty.c: Likewise.
6236 * misc/ioctl.c: Likewise.
6237 * misc/lgetxattr.c: Likewise.
6238 * misc/listxattr.c: Likewise.
6239 * misc/llistxattr.c: Likewise.
6240 * misc/lremovexattr.c: Likewise.
6241 * misc/lsetxattr.c: Likewise.
6242 * misc/lutimes.c: Likewise.
6243 * misc/madvise.c: Likewise.
6244 * misc/mincore.c: Likewise.
6245 * misc/mlock.c: Likewise.
6246 * misc/mlockall.c: Likewise.
6247 * misc/mmap.c: Likewise.
6248 * misc/mprotect.c: Likewise.
6249 * misc/msync.c: Likewise.
6250 * misc/munlock.c: Likewise.
6251 * misc/munlockall.c: Likewise.
6252 * misc/munmap.c: Likewise.
6253 * misc/preadv.c: Likewise.
6254 * misc/preadv64.c: Likewise.
6255 * misc/ptrace.c: Likewise.
6256 * misc/pwritev.c: Likewise.
6257 * misc/pwritev64.c: Likewise.
6258 * misc/readv.c: Likewise.
6259 * misc/reboot.c: Likewise.
6260 * misc/remap_file_pages.c: Likewise.
6261 * misc/removexattr.c: Likewise.
6262 * misc/revoke.c: Likewise.
6263 * misc/select.c: Likewise.
6264 * misc/setdomain.c: Likewise.
6265 * misc/setegid.c: Likewise.
6266 * misc/seteuid.c: Likewise.
6267 * misc/sethostid.c: Likewise.
6268 * misc/sethostname.c: Likewise.
6269 * misc/setregid.c: Likewise.
6270 * misc/setreuid.c: Likewise.
6271 * misc/setxattr.c: Likewise.
6272 * misc/sstk.c: Likewise.
6273 * misc/stty.c: Likewise.
6274 * misc/swapoff.c: Likewise.
6275 * misc/swapon.c: Likewise.
6276 * misc/sync.c: Likewise.
6277 * misc/syncfs.c: Likewise.
6278 * misc/syscall.c: Likewise.
6279 * misc/truncate.c: Likewise.
6280 * misc/ualarm.c: Likewise.
6281 * misc/usleep.c: Likewise.
6282 * misc/ustat.c: Likewise.
6283 * misc/utimes.c: Likewise.
6284 * misc/vhangup.c: Likewise.
6285 * misc/writev.c: Likewise.
6286 * posix/_exit.c: Likewise.
6287 * posix/alarm.c: Likewise.
6288 * posix/execve.c: Likewise.
6289 * posix/fexecve.c: Likewise.
6290 * posix/fork.c: Likewise.
6291 * posix/fpathconf.c: Likewise.
6292 * posix/getaddrinfo.c: Likewise.
6293 * posix/getegid.c: Likewise.
6294 * posix/geteuid.c: Likewise.
6295 * posix/getgid.c: Likewise.
6296 * posix/getgroups.c: Likewise.
6297 * posix/getlogin.c: Likewise.
6298 * posix/getlogin_r.c: Likewise.
6299 * posix/getpgid.c: Likewise.
6300 * posix/getpid.c: Likewise.
6301 * posix/getppid.c: Likewise.
6302 * posix/getresgid.c: Likewise.
6303 * posix/getresuid.c: Likewise.
6304 * posix/getsid.c: Likewise.
6305 * posix/getuid.c: Likewise.
6306 * posix/glob64.c: Likewise.
6307 * posix/nanosleep.c: Likewise.
6308 * posix/pathconf.c: Likewise.
6309 * posix/pause.c: Likewise.
6310 * posix/posix_madvise.c: Likewise.
6311 * posix/pread.c: Likewise.
6312 * posix/pread64.c: Likewise.
6313 * posix/pwrite.c: Likewise.
6314 * posix/pwrite64.c: Likewise.
6315 * posix/sched_getaffinity.c: Likewise.
6316 * posix/sched_getp.c: Likewise.
6317 * posix/sched_gets.c: Likewise.
6318 * posix/sched_primax.c: Likewise.
6319 * posix/sched_primin.c: Likewise.
6320 * posix/sched_rr_gi.c: Likewise.
6321 * posix/sched_setaffinity.c: Likewise.
6322 * posix/sched_setp.c: Likewise.
6323 * posix/sched_sets.c: Likewise.
6324 * posix/sched_yield.c: Likewise.
6325 * posix/setgid.c: Likewise.
6326 * posix/setlogin.c: Likewise.
6327 * posix/setpgid.c: Likewise.
6328 * posix/setresgid.c: Likewise.
6329 * posix/setresuid.c: Likewise.
6330 * posix/setsid.c: Likewise.
6331 * posix/setuid.c: Likewise.
6332 * posix/sleep.c: Likewise.
6333 * posix/spawni.c: Likewise.
6334 * posix/sysconf.c: Likewise.
6335 * posix/times.c: Likewise.
6336 * posix/wait.c: Likewise.
6337 * posix/wait3.c: Likewise.
6338 * posix/wait4.c: Likewise.
6339 * posix/waitpid.c: Likewise.
6340 * resolv/gai_sigqueue.c: Likewise.
6341 * resource/getpriority.c: Likewise.
6342 * resource/getrlimit.c: Likewise.
6343 * resource/getrusage.c: Likewise.
6344 * resource/nice.c: Likewise.
6345 * resource/setpriority.c: Likewise.
6346 * resource/setrlimit.c: Likewise.
6347 * resource/ulimit.c: Likewise.
6348 * rt/aio_cancel.c: Likewise.
6349 * rt/aio_fsync.c: Likewise.
6350 * rt/aio_read.c: Likewise.
6351 * rt/aio_sigqueue.c: Likewise.
6352 * rt/aio_suspend.c: Likewise.
6353 * rt/aio_write.c: Likewise.
6354 * rt/clock_getres.c: Likewise.
6355 * rt/clock_gettime.c: Likewise.
6356 * rt/clock_nanosleep.c: Likewise.
6357 * rt/clock_settime.c: Likewise.
6358 * rt/lio_listio.c: Likewise.
6359 * rt/mq_close.c: Likewise.
6360 * rt/mq_getattr.c: Likewise.
6361 * rt/mq_notify.c: Likewise.
6362 * rt/mq_open.c: Likewise.
6363 * rt/mq_receive.c: Likewise.
6364 * rt/mq_send.c: Likewise.
6365 * rt/mq_setattr.c: Likewise.
6366 * rt/mq_timedreceive.c: Likewise.
6367 * rt/mq_timedsend.c: Likewise.
6368 * rt/mq_unlink.c: Likewise.
6369 * rt/shm_open.c: Likewise.
6370 * rt/shm_unlink.c: Likewise.
6371 * rt/timer_create.c: Likewise.
6372 * rt/timer_delete.c: Likewise.
6373 * rt/timer_getoverr.c: Likewise.
6374 * rt/timer_gettime.c: Likewise.
6375 * rt/timer_settime.c: Likewise.
6376 * setjmp/__longjmp.c: Likewise.
6377 * setjmp/setjmp.c: Likewise.
6378 * signal/kill.c: Likewise.
6379 * signal/killpg.c: Likewise.
6380 * signal/raise.c: Likewise.
6381 * signal/sigaction.c: Likewise.
6382 * signal/sigaltstack.c: Likewise.
6383 * signal/sigblock.c: Likewise.
6384 * signal/sigignore.c: Likewise.
6385 * signal/sigintr.c: Likewise.
6386 * signal/signal.c: Likewise.
6387 * signal/sigpause.c: Likewise.
6388 * signal/sigpending.c: Likewise.
6389 * signal/sigqueue.c: Likewise.
6390 * signal/sigreturn.c: Likewise.
6391 * signal/sigset.c: Likewise.
6392 * signal/sigsetmask.c: Likewise.
6393 * signal/sigstack.c: Likewise.
6394 * signal/sigsuspend.c: Likewise.
6395 * signal/sigtimedwait.c: Likewise.
6396 * signal/sigvec.c: Likewise.
6397 * signal/sigwait.c: Likewise.
6398 * signal/sigwaitinfo.c: Likewise.
6399 * signal/sysv_signal.c: Likewise.
6400 * socket/accept.c: Likewise.
6401 * socket/accept4.c: Likewise.
6402 * socket/bind.c: Likewise.
6403 * socket/connect.c: Likewise.
6404 * socket/getpeername.c: Likewise.
6405 * socket/getsockname.c: Likewise.
6406 * socket/getsockopt.c: Likewise.
6407 * socket/isfdtype.c: Likewise.
6408 * socket/listen.c: Likewise.
6409 * socket/recv.c: Likewise.
6410 * socket/recvfrom.c: Likewise.
6411 * socket/recvmsg.c: Likewise.
6412 * socket/send.c: Likewise.
6413 * socket/sendmsg.c: Likewise.
6414 * socket/sendto.c: Likewise.
6415 * socket/setsockopt.c: Likewise.
6416 * socket/shutdown.c: Likewise.
6417 * socket/sockatmark.c: Likewise.
6418 * socket/socket.c: Likewise.
6419 * socket/socketpair.c: Likewise.
6420 * stdio-common/ctermid.c: Likewise.
6421 * stdio-common/cuserid.c: Likewise.
6422 * stdio-common/remove.c: Likewise.
6423 * stdio-common/rename.c: Likewise.
6424 * stdio-common/renameat.c: Likewise.
6425 * stdio-common/tempname.c: Likewise.
6426 * stdlib/getcontext.c: Likewise.
6427 * stdlib/makecontext.c: Likewise.
6428 * stdlib/setcontext.c: Likewise.
6429 * stdlib/swapcontext.c: Likewise.
6430 * stdlib/system.c: Likewise.
6431 * streams/fattach.c: Likewise.
6432 * streams/fdetach.c: Likewise.
6433 * streams/getmsg.c: Likewise.
6434 * streams/getpmsg.c: Likewise.
6435 * streams/putmsg.c: Likewise.
6436 * streams/putpmsg.c: Likewise.
6437 * sysdeps/unix/bsd/getpt.c: Likewise.
6438 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6439 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6440 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6442 Likewise.
6443 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6444 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6445 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6446 * sysvipc/msgctl.c: Likewise.
6447 * sysvipc/msgget.c: Likewise.
6448 * sysvipc/msgrcv.c: Likewise.
6449 * sysvipc/msgsnd.c: Likewise.
6450 * sysvipc/semctl.c: Likewise.
6451 * sysvipc/semget.c: Likewise.
6452 * sysvipc/semop.c: Likewise.
6453 * sysvipc/semtimedop.c: Likewise.
6454 * sysvipc/shmat.c: Likewise.
6455 * sysvipc/shmctl.c: Likewise.
6456 * sysvipc/shmdt.c: Likewise.
6457 * sysvipc/shmget.c: Likewise.
6458 * termios/tcdrain.c: Likewise.
6459 * termios/tcflow.c: Likewise.
6460 * termios/tcflush.c: Likewise.
6461 * termios/tcgetattr.c: Likewise.
6462 * termios/tcgetpgrp.c: Likewise.
6463 * termios/tcsendbrk.c: Likewise.
6464 * termios/tcsetattr.c: Likewise.
6465 * termios/tcsetpgrp.c: Likewise.
6466 * time/adjtime.c: Likewise.
6467 * time/clock.c: Likewise.
6468 * time/getitimer.c: Likewise.
6469 * time/gettimeofday.c: Likewise.
6470 * time/setitimer.c: Likewise.
6471 * time/settimeofday.c: Likewise.
6472 * time/stime.c: Likewise.
6473 * time/time.c: Likewise.
6474
64752012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 6476
a20492cf
PT
6477 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6478 /usr/old/bin.
6479
72e182e3
PT
6480 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6481 instead of spaces.
6482 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6483
fbeafede
JM
64842012-11-03 Joseph Myers <joseph@codesourcery.com>
6485
5b5b04d6
JM
6486 [BZ #14796]
6487 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6488 FE_TONEAREST before applying Dekker multiplication and Knuth
6489 addition. Clear inexact exceptions and check for exact zero
6490 results afterwards.
6491 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6492 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6493 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6494 * math/libm-test.inc (fma_test): Add more tests.
6495 (fma_test_towardzero): Likewise.
6496 (fma_test_downward): Likewise.
6497 (fma_test_upward): Likewise.
6498 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6499 function.
6500 (libc_fesetround): New macro.
6501 (libc_fesetroundf): Likewise.
6502 (libc_fesetroundl): Likewise.
6503 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6504 function.
6505 (libc_fesetround_387): Likewise.
6506 (libc_fesetroundf): New macro.
6507 (libc_fesetround): Likewise.
6508 (libc_fesetroundl): Likewise.
6509 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6510 function.
6511 (libc_fesetroundf): New macro.
6512 (libc_fesetround): Likewise.
6513 (libc_fesetroundl): Likewise.
6514 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6515 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6516 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6517 libm_hidden_ver.
6518 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6519 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6520 libm_hidden_def.
6521 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6522 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6523 libm_hidden_ver.
6524 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6525 libm_hidden_def.
6526
fbeafede
JM
6527 [BZ #3439]
6528 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6529 integer constant usable in #if and use that to give value to enum
6530 constant.
6531 (FE_DIVBYZERO): Likewise.
6532 (FE_UNDERFLOW): Likewise.
6533 (FE_OVERFLOW): Likewise.
6534 (FE_INVALID): Likewise.
6535 (FE_INVALID_SNAN): Likewise.
6536 (FE_INVALID_ISI): Likewise.
6537 (FE_INVALID_IDI): Likewise.
6538 (FE_INVALID_ZDZ): Likewise.
6539 (FE_INVALID_IMZ): Likewise.
6540 (FE_INVALID_COMPARE): Likewise.
6541 (FE_INVALID_SOFTWARE): Likewise.
6542 (FE_INVALID_SQRT): Likewise.
6543 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6544 (FE_TONEAREST): Likewise.
6545 (FE_TOWARDZERO): Likewise.
6546 (FE_UPWARD): Likewise.
6547 (FE_DOWNWARD): Likewise.
6548 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6549 (FE_DIVBYZERO): Likewise.
6550 (FE_OVERFLOW): Likewise.
6551 (FE_UNDERFLOW): Likewise.
6552 (FE_INEXACT): Likewise.
6553 (FE_TONEAREST): Likewise.
6554 (FE_DOWNWARD): Likewise.
6555 (FE_UPWARD): Likewise.
6556 (FE_TOWARDZERO): Likewise.
6557 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6558 (FE_UNDERFLOW): Likewise.
6559 (FE_OVERFLOW): Likewise.
6560 (FE_DIVBYZERO): Likewise.
6561 (FE_INVALID): Likewise.
6562 (FE_TONEAREST): Likewise.
6563 (FE_TOWARDZERO): Likewise.
6564 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6565 (FE_OVERFLOW): Likewise.
6566 (FE_UNDERFLOW): Likewise.
6567 (FE_DIVBYZERO): Likewise.
6568 (FE_INEXACT): Likewise.
6569 (FE_TONEAREST): Likewise.
6570 (FE_TOWARDZERO): Likewise.
6571 (FE_UPWARD): Likewise.
6572 (FE_DOWNWARD): Likewise.
6573 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6574 (FE_DIVBYZERO): Likewise.
6575 (FE_OVERFLOW): Likewise.
6576 (FE_UNDERFLOW): Likewise.
6577 (FE_INEXACT): Likewise.
6578 (FE_TONEAREST): Likewise.
6579 (FE_DOWNWARD): Likewise.
6580 (FE_UPWARD): Likewise.
6581 (FE_TOWARDZERO): Likewise.
6582
105ca950
CM
65832012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6584
6585 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6586
a542b389
AS
65872012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6588
6589 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6590 commands. Quote $PWD.
6591 (blacklist_exports): Don't use remove_newlines. Replace "declare
6592 -x" by "export".
6593 (remove_newlines): Remove.
6594
f62c8abc
L
65952012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6596
6597 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6598 * stdlib/stdlib.h (atof): Moved to ...
6599 * include/bits/stdlib-float.h: Here. New file.
6600 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6601 * stdlib/bits/stdlib-float.h: New file.
6602 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6603 -mno-sse -mno-mmx.
6604 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6605 <xmmintrin.h>.
6606
0155d5b2
JM
66072012-11-02 Joseph Myers <joseph@codesourcery.com>
6608
a68d0680
JM
6609 * conform/conformtest.pl (@headers): Add fenv.h.
6610 * conform/data/fenv.h-data: New file.
6611 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6612 include of <math/fenv.h>.
6613
caf7f573
JM
6614 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6615 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6616 && !UNIX98]. Enables tests for XOPEN2K8.
6617 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6618 POSIX2008]: Likewise.
6619
6c073ad6
JM
6620 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6621 (struct rusage): Do not expect type or its members.
6622
0155d5b2
JM
6623 [BZ #3439]
6624 * math/math.h (FP_NAN): Define macro to integer constant usable in
6625 #if and use that to give value to enum constant.
6626 (FP_INFINITE): Likewise.
6627 (FP_ZERO): Likewise.
6628 (FP_SUBNORMAL): Likewise.
6629 (FP_NORMAL): Likewise.
6630
b5dcacb4
AS
66312012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6632
6633 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6634 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6635 arguments.
6636
f7934be8
RM
66372012-11-02 Roland McGrath <roland@hack.frob.com>
6638
6639 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6640 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6641 autoconf-time if not.
6642 * configure.in: Remove AC_PREREQ.
6643
d7d08bde
TMQMF
66442012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6645
6646 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6647 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6648 of the internal implementation.
6649
dcdae19a
JM
66502012-11-02 Joseph Myers <joseph@codesourcery.com>
6651
6652 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6653 except include of <misc/sys/syslog.h>.
6654
d6cffd3e
AS
66552012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6656
6657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6658 function returns with a NULL context exit with zero.
6659
b3563932
TMQMF
66602012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6661
6662 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6663
b288a93d
L
66642012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6665
6666 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6667 (run_program_cmd): This.
6668 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6669 (tst_langinfo): New variable. Use it.
6670
a2421a68
SAS
66712012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6672
6673 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6674 floating point opcodes.
6675
6f796e1b
TS
66762012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6677
7402596b
TS
6678 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6679 variable.
6680
d0d4f868
TS
6681 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6682
6f796e1b
TS
6683 * sysdeps/mach/hurd/powerpc: Remove directory.
6684 * sysdeps/mach/powerpc: Likewise.
6685
4da224a2
AS
66862012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6687
6688 * scripts/check-local-headers.sh: Ignore c++ headers.
6689
341dd673
TS
66902012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6691
6692 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6693 __libc_cleanup_region_start argument.
6694
473611b2
JM
66952012-11-01 Joseph Myers <joseph@codesourcery.com>
6696
6697 [BZ #14784]
6698 [BZ #14785]
6699 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6700 x * y using scaling, not as x * y + z.
6701 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6702 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6703 * math/libm-test.inc (fma_test): Add more tests.
6704 (fma_test_towardzero): Likewise.
6705 (fma_test_downward): Likewise.
6706 (fma_test_upward): Likewise.
6707
4078da3d
TS
67082012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6709
6710 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6711
903252aa
JM
67122012-10-31 Joseph Myers <joseph@codesourcery.com>
6713
6714 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6715 New variable.
6716
cbc818d0
TS
67172012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6718
6719 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6720
5a03cb1e
AS
67212012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6722
6723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6724 Fix sort order.
6725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6726 Likewise.
6727
90aff2ff
TMQMF
67282012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6729
6730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6731 Fix the order of the list for glibc 2.17.
6732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6733 Likewise.
6734
1818fcb7
AS
67352012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6736
6737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6738
ef82f4da
JM
67392012-10-31 Joseph Myers <joseph@codesourcery.com>
6740
16a0e2ec
JM
6741 [BZ #14610]
6742 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6743 for low part of x being zero before using __atanl (y).
6744 * math/libm-test.inc (atan2_test): Add another test.
6745
0eb69512
JM
6746 * manual/install.texi (Configuring and compiling): Document
6747 general use of test-wrapper and test-wrapper-env.
6748 * INSTALL: Regenerated.
6749
ef82f4da
JM
6750 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6751 (__fma): Do not extract and scale down low bits on after-rounding
6752 systems when result rounded to normal precision would have normal
6753 exponent.
6754 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6755 (__fmal): Do not extract and scale down low bits on after-rounding
6756 systems when result rounded to normal precision would have normal
6757 exponent.
6758 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6759 (__fmal): Do not extract and scale down low bits on after-rounding
6760 systems when result rounded to normal precision would have normal
6761 exponent.
6762 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6763 macro.
6764 (fma_test): Add more tests.
6765 (fma_test_towardzero): Likewise.
6766 (fma_test_downward): Likewise.
6767 (fma_test_upward): Likewise.
6768
954ef0d9
L
67692012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6770
6771 * sysdeps/i386/tininess.h: Renamed to ...
6772 * sysdeps/x86/tininess.h: This.
6773 * sysdeps/x86_64/tininess.h: Removed.
6774
df61ffb2
JM
67752012-10-30 Joseph Myers <joseph@codesourcery.com>
6776
6777 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6778 input. Use $(build-program-cmd).
6779 ($(objpfx)tst-array1-static.out): Likewise.
6780 ($(objpfx)tst-array2.out): Likewise.
6781 ($(objpfx)tst-array3.out): Likewise.
6782 ($(objpfx)tst-array4.out): Likewise.
6783 ($(objpfx)tst-array5.out): Likewise.
6784 ($(objpfx)tst-array5-static.out): Likewise.
6785
01767843
CM
67862012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6787
47cc1490
CM
6788 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6789 if defined.
6790
01767843
CM
6791 * nss/nsswitch.h (nss_interface_function): Provide new
6792 macro for use with NSS functions.
6793 * grp/initgroups.c: Use new macro.
6794 * nss/getXXbyYY.c: Likewise.
6795 * nss/getXXbyYY_r.c: Likewise.
6796 * nss/getXXent.c: Likewise.
6797 * nss/getXXent_r.c: Likewise.
6798 * sysdeps/posix/getaddrinfo.c: Likewise.
6799
8321aa97
AJ
68002012-10-30 Andreas Jaeger <aj@suse.de>
6801
6802 * po/ru.po: Update Russion translation from translation project.
6803
2a27fd6d
JM
68042012-10-30 Joseph Myers <joseph@codesourcery.com>
6805
8627a232
JM
6806 [BZ #14152]
6807 [BZ #14783]
6808 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6809 result and shift together with sticky bit instead of replicating
6810 round-to-nearest rounding.
6811 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6812 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6813 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6814 missing underflow exceptions.
6815 (fma_test_towardzero): Add more tests.
6816 (fma_test_downward): Likewise.
6817 (fma_test_upward): Likewise.
6818
2a27fd6d
JM
6819 [BZ #14047]
6820 * sysdeps/generic/tininess.h: New file.
6821 * sysdeps/i386/tininess.h: Likewise.
6822 * sysdeps/sh/tininess.h: Likewise.
6823 * sysdeps/x86_64/tininess.h: Likewise.
6824 * stdlib/tst-strtod-underflow.c: Likewise.
6825 * stdlib/tst-tininess.c: Likewise.
6826 * stdlib/strtod_l.c: Include <tininess.h>.
6827 (round_and_return): Do not set errno for exact underflow cases.
6828 Force an underflow exception when setting errno for underflow.
6829 Determine underflow based on rounding to normal precision if
6830 TININESS_AFTER_ROUNDING.
6831 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6832 ERANGE for exact underflow cases.
6833 * stdlib/Makefile (tests): Add tst-tininess and
6834 tst-strtod-underflow.
6835 ($(objpfx)tst-tininess): Use $(link-libm).
6836 ($(objpfx)tst-strtod-underflow): Likewise.
6837
e7170363
AJ
68382012-10-30 Andreas Jaeger <aj@suse.de>
6839
e5088dc6
AJ
6840 [BZ#14767]
6841 * elf/Makefile (tests): Remove conditional for have-initfini-array
6842 since this is now always required and the variable does not exist
6843 anymore.
6844 (tests-static): Likewise.
6845 (modules-names): Likewise.
6846
e7170363 6847 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
6848
6849 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6850 merged with constructor/destructor.
6851 (init_array): Likewise.
6852 * elf/tst-array2dep.c (fini_array): Likewise.
6853 (init_array): Likewise.
6854
60457d8a
MF
68552012-10-29 Mike Frysinger <vapier@gentoo.org>
6856
6857 * manual/message.texi: Delete @cartouche tags.
6858
8bece752
PT
68592012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6860
94ce799f
PT
6861 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6862 EOPNOTSUPP.
6863 * sysdeps/mach/hurd/fsync.c: Likewise.
6864
8bece752
PT
6865 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6866 [_POSIX_REALTIME_SIGNALS]: Change condition to
6867 [_POSIX_REALTIME_SIGNALS > 0].
6868
86ebe6b1
AJ
68692012-10-27 Andreas Jaeger <aj@suse.de>
6870
6871 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6872 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6873 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6874 [__WORDSIZE != 64]: Likewise.
6875
54399c08
L
68762012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6877
6878 * iconvdata/tst-table.sh: Remove ${SHELL}.
6879 * iconvdata/tst-tables.sh: Likewise.
6880
e2211bed
DM
68812012-10-25 David S. Miller <davem@davemloft.net>
6882
6883 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6884 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6885 of strtoull.
6886
f303f97c
DM
6887 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6888 ifunc-impl-list.c
6889 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6890 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6891 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6892 file.
6893
1e9d84cd
RM
68942012-10-25 Roland McGrath <roland@hack.frob.com>
6895
6896 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6897 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6898 __getdirentries.
6899
df381762
JM
69002012-10-25 Joseph Myers <joseph@codesourcery.com>
6901 Jim Blandy <jimb@codesourcery.com>
6902
6903 * scripts/cross-test-ssh.sh: New file.
6904 * manual/install.texi (Configuring and compiling): Document use of
6905 cross-test-ssh.sh.
6906 * INSTALL: Regenerated.
6907
bff64913
PT
69082012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6909
6910 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6911 EOPNOTSUPP.
6912
25fe8932
JM
69132012-10-25 Joseph Myers <joseph@codesourcery.com>
6914
6915 * Makeconfig (run-program-prefix): Fix comment.
6916
cc1290d0
JM
69172012-10-24 Joseph Myers <joseph@codesourcery.com>
6918 Jim Blandy <jimb@codesourcery.com>
6919
6920 * Makeconfig (test-wrapper): New variable,
6921 (test-wrapper-env): Likewise.
6922 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6923 (run-built-tests): Define to yes.
6924 (run-program-prefix): Use $(test-wrapper).
6925 (built-program-cmd): Likewise.
6926 * Rules (make-test-out): Use $(test-wrapper-env) and
6927 $(host-built-program-cmd).
6928 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6929 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6930 tst-pathopt.sh.
6931 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6932 $(test-wrapper-env) to tst-rtld-load-self.sh.
6933 ($(objpfx)order2.out): Use $(test-wrapper).
6934 ($(objpfx)tst-initorder.out): Likewise.
6935 ($(objpfx)tst-initorder2.out): Likewise.
6936 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6937 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6938 (test_wrapper_env): New variable. Use it to run ld.so.
6939 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6940 Use it to run ld.so.
6941 (test_wrapper_env): Likewise.
6942 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6943 $(test-wrapper) to run-iconv-test.sh.
6944 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6945 (ICONV): Use $test_wrapper.
6946 * posix/Makefile ($(objpfx)globtest.out): Pass
6947 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6948 globtest.sh, not $(run-program-prefix).
6949 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6950 (test_wrapper): Likewise.
6951 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6952 set together with run_via_rtld_prefix.
6953 (run_program_prefix): Define in terms of test_wrapper and
6954 run_via_rtld_prefix.
6955
6e6249d0
RM
69562012-10-24 Roland McGrath <roland@hack.frob.com>
6957
6958 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6959 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6960 Targets removed.
6961
6962 [BZ #14743]
6963 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6964 Declare __clock_getres, __clock_gettime, __clock_settime,
6965 __clock_nanosleep, and __clock_getcpuclockid.
6966 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6967 Remove librt_hidden_def (clock_gettime).
6968 * sysdeps/unix/clock_gettime.c: Likewise.
6969 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6970 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6971 * rt/clock_getres.c: Define __clock_getres as an alias.
6972 * sysdeps/posix/clock_getres.c: Likewise.
6973 * rt/clock_settime.c: Define __clock_settime as an alias.
6974 * sysdeps/unix/clock_settime.c: Likewise.
6975 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
6976 * sysdeps/unix/clock_nanosleep.c: Likewise.
6977 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
6978 * rt/clock-compat.c: New file.
6979 * rt/Makefile (librt-routines): Add clock-compat and move
6980 $(clock-routines) to ...
6981 (routines): ... here, new variable.
6982 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
6983 Don't add get_clockfreq here.
6984 * rt/Versions (libc: GLIBC_2.17): New version set.
6985 Add clock_* symbols here.
6986 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
6987 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
6988 (GLIBC_2.17): Add clock_* symbols.
6989 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
6990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
6991 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6993 Likewise.
6994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6995 Likewise.
6996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
6998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
6999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7000 * NEWS: Mention the move.
7001
7002 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7003 Use __open, __read, __close rather than their public counterparts.
7004 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7005 (__get_clockfreq_via_cpuinfo): Likewise.
7006 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7007 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7008
7009 * config.h.in (HAVE_IFUNC): New #undef.
7010 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7011 was successful.
7012 * configure: Regenerated.
7013
0cae3f4b
MF
70142012-10-24 Mike Frysinger <vapier@gentoo.org>
7015
7016 * configure.in: Move READELF check to start of file.
7017 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7018 libc_cv_asm_gnu_indirect_function in the process.
7019 * configure: Regenerated.
7020
8175a253
MF
70212012-10-24 Mike Frysinger <vapier@gentoo.org>
7022
7023 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7024 send the output to /dev/null.
7025 (libc_cv_cc_with_libunwind): Likewise.
7026 (libc_cv_as_noexecstack): Likewise.
7027 * configure: Regenerate.
7028
0708a7d1
JM
70292012-10-24 Joseph Myers <joseph@codesourcery.com>
7030
10b40d85
JM
7031 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7032
0708a7d1
JM
7033 * posix/globtest.sh (TMPDIR): Do not set.
7034 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7035 (testout): Likewise.
7036
9fddec1a
AJ
70372012-10-24 Andreas Jaeger <aj@suse.de>
7038
3a8db22f
AJ
7039 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7040 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7041 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7042 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7043 posix_fadvise64, posix_fallocate64.
7044
9fddec1a
AJ
7045 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7046 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7047 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7048 Likewise.
7049 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7050 Likewise.
7051 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7052
7053 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7054 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7055 <bits/fcntl-linux.h>.
7056 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7057
7058 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7059 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7060 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7061 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7062 [__WORDSIZE != 64]: Likewise.
7063
ebfd1bbd
JM
70642012-10-23 Joseph Myers <joseph@codesourcery.com>
7065
03ac099f
JM
7066 * Makeconfig (run-built-tests): New variable.
7067 * Rules [$(cross-compiling) = yes]: Change condition to
7068 [$(run-built-tests) = no].
7069 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7070 to [$(run-built-tests) = yes].
7071 * elf/Makefile [$(cross-compiling) = no]: Likewise
7072 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7073 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7074 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7075 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7076 * io/Makefile [$(cross-compiling) = no]: Likewise.
7077 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7078 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7079 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7080 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7081 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7082 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7083 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7084 * string/Makefile [$(cross-compiling) = no]: Likewise.
7085
ebfd1bbd
JM
7086 * posix/Makefile ($(objpfx)globtest.out): Pass
7087 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7088 $(rtld-installed-name).
7089 * posix/globtest.sh (elf_objpfx): Remove variable.
7090 (rtld_installed_name): Likewise.
7091 (library_path): Likewise.
7092 (run_program_prefix): New variable. Use for running globtest
7093 binary.
7094
166bca24
JB
70952012-10-23 Jim Blandy <jimb@codesourcery.com>
7096 Joseph Myers <joseph@codesourcery.com>
7097
7098 * Makeconfig (host-built-program-cmd): New variable.
7099 * elf/Makefile (tst-stackguard1-ARGS): Use
7100 $(host-built-program-cmd).
7101 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7102 (tst-spawn-ARGS): Likewise.
7103 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7104
88866099
JM
71052012-10-23 Joseph Myers <joseph@codesourcery.com>
7106 Jim Blandy <jimb@codesourcery.com>
7107
7108 * Makeconfig (run-via-rtld-prefix): New variable.
7109 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7110 (built-program-cmd): Likewise.
7111
b4b4c296
AJ
71122012-10-22 Andreas Jaeger <aj@suse.de>
7113
7114 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7115 __O_RSYNC if it exists, otherwise to O_SYNC.
7116
6fb54a22
JB
71172012-10-22 Jim Blandy <jimb@codesourcery.com>
7118 Joseph Myers <joseph@codesourcery.com>
7119
7120 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7121 /dev/null.
7122 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7123 from /dev/null
7124 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7125 /dev/null.
7126
481b90b9
AJ
71272012-10-22 Andreas Jaeger <aj@suse.de>
7128
2a0e2669
AJ
7129 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7130 Define always.
7131 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7132
76e38f9a
AJ
7133 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7134 bits/fcntl-linux.h.
7135
7cd37b43
AJ
7136 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7137 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7138
481b90b9
AJ
7139 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7140 to __O_LARGEFILE.
7141 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7142 to __O_LARGEFILE.
7143
aba75984
JB
71442012-10-21 Jim Blandy <jimb@codesourcery.com>
7145 Joseph Myers <joseph@codesourcery.com>
7146
7147 * config.make.in (NM): New variable.
7148
88d4247f
AJ
71492012-10-21 Andreas Jaeger <aj@suse.de>
7150
7151 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7152 definitions and declarations that are provided by
7153 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7154
f2eed205
L
71552012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7156
7157 [BZ #14683]
7158 * elf/Makefile (tests-static): Add tst-leaks1-static.
7159 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7160 ($(objpfx)tst-leaks1-static): New rule.
7161 ($(objpfx)tst-leaks1-static-mem): Likewise.
7162 (tst-leaks1-static-ENV): New macro.
7163 * elf/dl-open.c (dl_open_worker): Check the main application
7164 only if SHARED is defined.
7165 * elf/tst-leaks1-static.c: New file.
7166
335e6931
AJ
71672012-10-20 Andreas Jaeger <aj@suse.de>
7168
7169 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7170 generic values for Linux.
7171 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7172 and declarations that are provided by <bits/fcntl-linux.h> and
7173 include <bits/fcntl-linux.h>.
7174 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7175 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7176
ac5c94d3
RM
71772012-10-20 Roland McGrath <roland@hack.frob.com>
7178
7179 * io/fcntl.h: Move include of <bits/types.h> to the top and
7180 include it unconditionally.
7181
de54b33a
L
71822012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7183
228cfb01
L
7184 * wcsmbs/Makefile (tests-ifunc): New variable.
7185 (tests): Add $(tests-ifunc).
7186 * wcsmbs/test-wcschr-ifunc.c: New file.
7187 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7188 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7189 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7190 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7191 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7192
69f07e5f
L
7193 * string/Makefile (tests-ifunc): New variable.
7194 (tests): Add $(tests-ifunc).
7195 * string/test-memccpy.c (TEST_NAME): New macro.
7196 * string/test-memchr.c (TEST_NAME): Likewise.
7197 * string/test-memcmp.c (TEST_NAME): Likewise.
7198 * string/test-memcpy.c (TEST_NAME): Likewise.
7199 * string/test-memmem.c (TEST_NAME): Likewise.
7200 * string/test-memmove.c (TEST_NAME): Likewise.
7201 * string/test-memset.c (TEST_NAME): Likewise.
7202 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7203 * string/test-stpcpy.c (TEST_NAME): Likewise.
7204 * string/test-stpncpy.c (TEST_NAME): Likewise.
7205 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7206 * string/test-strcasestr.c (TEST_NAME): Likewise.
7207 * string/test-strcat.c (TEST_NAME): Likewise.
7208 * string/test-strchr.c (TEST_NAME): Likewise.
7209 * string/test-strcmp.c(TEST_NAME): Likewise.
7210 * string/test-strcpy.c (TEST_NAME): Likewise.
7211 * string/test-strcspn.c (TEST_NAME): Likewise.
7212 * string/test-strlen.c (TEST_NAME): Likewise.
7213 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7214 * string/test-strncmp.c (TEST_NAME): Likewise.
7215 * string/test-strncpy.c (TEST_NAME): Likewise.
7216 * string/test-strnlen.c (TEST_NAME): Likewise.
7217 * string/test-strpbrk.c (TEST_NAME): Likewise.
7218 * string/test-strrchr.c (TEST_NAME): Likewise.
7219 * string/test-strspn.c (TEST_NAME): Likewise.
7220 * string/test-strstr.c (TEST_NAME): Likewise.
7221 * string/test-bcopy-ifunc.c: New file.
7222 * string/test-bzero-ifunc.c: Likewise.
7223 * string/test-memccpy-ifunc.c: Likewise.
7224 * string/test-memchr-ifunc.c: Likewise.
7225 * string/test-memcmp-ifunc.c: Likewise.
7226 * string/test-memcpy-ifunc.c: Likewise.
7227 * string/test-memmem-ifunc.c: Likewise.
7228 * string/test-memmove-ifunc.c: Likewise.
7229 * string/test-mempcpy-ifunc.c: Likewise.
7230 * string/test-memset-ifunc.c: Likewise.
7231 * string/test-rawmemchr-ifunc.c: Likewise.
7232 * string/test-stpcpy-ifunc.c: Likewise.
7233 * string/test-stpncpy-ifunc.c: Likewise.
7234 * string/test-strcasecmp-ifunc.c: Likewise.
7235 * string/test-strcasestr-ifunc.c: Likewise.
7236 * string/test-strcat-ifunc.c: Likewise.
7237 * string/test-strchr-ifunc.c: Likewise.
7238 * string/test-strchrnul-ifunc.c: Likewise.
7239 * string/test-strcmp-ifunc.c: Likewise.
7240 * string/test-strcpy-ifunc.c: Likewise.
7241 * string/test-strcspn-ifunc.c: Likewise.
7242 * string/test-strlen-ifunc.c: Likewise.
7243 * string/test-strncasecmp-ifunc.c: Likewise.
7244 * string/test-strncat-ifunc.c: Likewise.
7245 * string/test-strncmp-ifunc.c: Likewise.
7246 * string/test-strncpy-ifunc.c: Likewise.
7247 * string/test-strnlen-ifunc.c: Likewise.
7248 * string/test-strpbrk-ifunc.c: Likewise.
7249 * string/test-strrchr-ifunc.c: Likewise.
7250 * string/test-strspn-ifunc.c: Likewise.
7251 * string/test-strstr-ifunc.c: Likewise.
7252
de54b33a
L
7253 * debug/Makefile (tests-ifunc): New variable.
7254 (tests): Add $(tests-ifunc).
7255 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7256 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7257 * debug/test-stpcpy_chk-ifunc.c: New file.
7258 * debug/test-strcpy_chk-ifunc.c: Likewise.
7259
88481c16
SP
72602012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7261
7262 [BZ #13601]
7263 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7264 header is not read in.
7265
135948bd
JM
72662012-10-19 Joseph Myers <joseph@codesourcery.com>
7267
89f1c388
JM
7268 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7269 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7270 directly. Pass built executable to script as
7271 $(built-program-cmd).
7272 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7273 $testprogram without using LD_LIBRARY_PATH and $ldso.
7274
e40a0d21
JM
7275 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7276 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7277 $(rtld-installed-name).
7278 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7279 (rtld_installed_name): Likewise.
7280 (library_path): Likewise.
7281 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7282 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7283 $(run-program-prefix) to tst-tables.sh.
7284 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7285 it to run tst-table-from and tst-table-to.
7286 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7287 Pass it to tst-table.sh.
7288 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7289 $(run-program-prefix) to tst-gettext.sh.
7290 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7291 tst-translit.sh.
7292 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7293 tst-gettext2.sh.
7294 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7295 to run tst-gettext.
7296 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7297 to run tst-gettext2.
7298 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7299 to run tst-translit.
7300 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7301 $(run-program-prefix) to tst-mtrace.sh.
7302 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7303 to run tst-mtrace.
7304 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7305 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7306 $(rtld-installed-name).
7307 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7308 (rtld_installed_name): Likewise.
7309 (run_program_prefix): New variable. Use it to run wordexp-test.
7310
728e272a
JM
7311 * Makeconfig (ARCH): Remove all definitions.
7312 (machine): Likewise.
7313 [ARCH]: Remove conditional code.
7314 [!objdir]: Give error.
7315 [!objdir] (objpfx): Remove.
7316 [!objdir] (common-objpfx): Likewise.
7317 [!objdir] (common-objdir): Likewise.
7318 * configure.in (config_makefile): Remove. Hardcode Makefile in
7319 AC_CONFIG_FILES call.
7320 * configure: Regenerated.
7321
d528cdcf
JM
7322 [BZ #13888]
7323 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7324 or TMPDIR.
7325 (testout): Likewise.
7326
135948bd
JM
7327 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7328 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7329 $(rtld-installed-name).
7330 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7331 (rtld_installed_name): Likwise.
7332 (runit): Remove function.
7333 (run_getconf): New variable, Use it for running getconf binary.
7334
38c78296
L
73352012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7336
7337 [BZ #14716]
7338 * string/test-memmem.c (check_result): New function.
7339 (do_one_test): Use it.
7340 (check1): New function.
7341 (test_main): Use it.
7342
d077f65f
MT
73432012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7344
7345 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7346
ced52c71
JM
73472012-10-18 Joseph Myers <joseph@codesourcery.com>
7348
7349 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7350 (_G_LSEEK64): Likewise.
7351 (_G_MMAP64): Likewise.
7352 (_G_FSTAT64): Likewise.
7353 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7354 (_G_LSEEK64): Likewise.
7355 (_G_MMAP64): Likewise.
7356 (_G_FSTAT64): Likewise.
7357 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7358 unconditional. Call __mmap64 directly.
7359 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7360 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7361 __lseek64 directly.
7362 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7363 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7364 __mmap64 directly.
7365 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7366 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7367 __lseek64 directly.
7368 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7369 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7370 __lseek64 directly.
7371 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7372 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7373 __lseek64 directly.
7374 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7375 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7376 __fxstat64 directly.
7377 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7378 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7379 unconditional.
7380 (freopen64) [!_G_OPEN64]: Remove conditional code.
7381 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7382 unconditional.
7383 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7384 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7385 unconditional.
7386 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7387 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7388 unconditional.
7389 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7390 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7391 unconditional.
7392 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7393 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7394 unconditional.
7395 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7396 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7397 unconditional.
7398 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7399 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7400 unconditional.
7401 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7402
b741de23
SP
74032012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7404
7405 [BZ #12140]
7406 * manual/memory.texi (Malloc Tunable Parameters): Add note
7407 about free list pointers overwriting some perturb bytes.
7408 Wording suggested by Roland McGrath.
7409
f9b9d9c9
JM
74102012-10-17 Joseph Myers <joseph@codesourcery.com>
7411
7412 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7413 (lgamma_test): Likewise.
7414 (tgamma_test): Likewise.
7415
172a631a
FW
74162012-10-16 Florian Weimer <fweimer@redhat.com>
7417
7418 [BZ #14700]
7419 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7420 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7421
e9f37252
MK
74222012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7423
7424 * NEWS: Mention BZ #14716.
7425 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7426 when removing AVAILABLE1_USES_J macro.
7427
d394eb74
L
74282012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7429
7430 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7431 (__bswap_64): __uint64_t for unsigned 64-bit int.
7432
ca38dc17
AS
74332012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7434
7435 * include/string.h (memmem): Declare libc hidden alias.
7436 * string/memmem.c (memmem): Define libc hidden alias.
7437 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7438 __read, __close instead of open, read, close.
7439
9a387d1f
L
74402012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7441
ac49ecaf
L
7442 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7443 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7444 global and hidden.
7445 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7446 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7447 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7448 Likewise.
7449 (__rawmemchr_sse2): Likewise.
7450 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7451 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7452 (__strchr_sse2): Likewise.
7453 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7454 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7455 (__strcasecmp_sse2): Likewise.
7456 (__strncasecmp_sse2): Likewise.
7457 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7458 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7459 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7460 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7461 (__strrchr_sse2): Likewise.
7462 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7463 ifunc-impl-list.c.
7464 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7465 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7466 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7467 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7468 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7469 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7470 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7471 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7472 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7473 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7474 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7475 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7476 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7477 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7478 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7479 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7480 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7481 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7482 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7483 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7484 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7485 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7486 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7487 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7488 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7489 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7490 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7491 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7492 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7493 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7494
b090e8ea
L
7495 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7496 global and hidden.
7497 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7498 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7499 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7500 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7501 Likewise.
7502 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7503 Likewise.
7504 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7505 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7506 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7507 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7508 ifunc-impl-list.c.
7509 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7510 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7511 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7512 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7513 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7514 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7515 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7516 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7517 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7518 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7519 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7520 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7521 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7522 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7523 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7524 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7525 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7526 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7527 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7528 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7529 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7530 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7531 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7532 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7533 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7534 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7535 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7536 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7537 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7538 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7539 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7540 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7541 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7542 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7543 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7544 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7545 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7546 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7547 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7548 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7549 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7550
11dd4af6
L
7551 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7552 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7553 * include/ifunc-impl-list.h: New file.
7554 * misc/ifunc-impl-list.c: Likewise.
7555 * misc/Makefile (routines): Add ifunc-impl-list.
7556 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7557 * string/test-string.h: Include <ifunc-impl-list.h>.
7558 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7559 impl_array): New variables.
7560 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7561 are defined.
7562 (test_init): Call __libc_ifunc_impl_list to initialize
7563 func_list if TEST_IFUNC and TEST_NAME are defined.
7564
9a387d1f
L
7565 * string/Makefile (strop-tests): Add bcopy and bzero.
7566 * string/test-bcopy.c: New file.
7567 * string/test-bzero.c: Likewise.
7568 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7569 defined.
7570 * string/test-memset.c: Support bzero test if TEST_BZERO is
7571 defined.
7572 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7573 __libc_memmove.
7574 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7575 __libc_memset.
7576 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7577 of memset.
7578
472371b9
JM
75792012-10-10 Joseph Myers <joseph@codesourcery.com>
7580
1e4a9536
JM
7581 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7582 * configure: Regenerated.
7583
d173d12e
JM
7584 * Makeconfig (+link-static-before-libc): Don't include
7585 $(link-static-libc).
7586
472371b9
JM
7587 * libio/libio.h (_IO_pos_t): Remove.
7588
89a3ad0b
AO
75892012-10-10 Alexandre Oliva <aoliva@redhat.com>
7590
7591 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7592 McGrath.
7593
e7451425
AO
75942012-10-10 Alexandre Oliva <aoliva@redhat.com>
7595
7596 * crypt/crypt-entry.c: Include fips-private.h.
7597 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7598 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7599 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7600 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7601
4ba74a35
AO
76022012-10-10 Alexandre Oliva <aoliva@redhat.com>
7603
7604 * crypt/crypt-private.h: Include stdbool.h.
7605 (_ufc_setup_salt_r): Return bool.
7606 * crypt/crypt-entry.c: Include errno.h.
7607 (__crypt_r): Return NULL with EINVAL for bad salt.
7608 * crypt/crypt_util.c (bad_for_salt): New.
7609 (_ufc_setup_salt_r): Check that salt is long enough and within
7610 the specified alphabet.
7611 * crypt/badsalttest.c: New file.
7612 * crypt/Makefile (tests): Add it.
7613 ($(objpfx)badsalttest): New.
7614
f96f1242
MK
76152012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7616
7617 * NEWS: Add entry for BZ #14602.
7618
0e8e0c1c
JM
76192012-10-09 Joseph Myers <joseph@codesourcery.com>
7620
7621 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7622 type-generic.
7623 * math/libm-test.inc: Update comment listing what functions and
7624 macros are tested.
7625 (isgreater_test): New function.
7626 (isgreaterequal_test): Likewise.
7627 (isless_test): Likewise.
7628 (islessequal_test): Likewise.
7629 (islessgreater_test): Likewise.
7630 (isunordered_test): Likewise.
7631 (main): Call the new functions.
7632
273edc5e
RM
76332012-10-09 Roland McGrath <roland@hack.frob.com>
7634
b8493de0
RM
7635 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7636 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7637 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7638 * sysdeps/i386/configure: Regenerated.
7639 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7640 * sysdeps/mach/configure: Regenerated.
7641 * sysdeps/mach/hurd/configure: Regenerated.
7642 * sysdeps/powerpc/configure: Regenerated.
7643 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7644 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7645 * sysdeps/s390/s390-32/configure: Regenerated.
7646 * sysdeps/s390/s390-64/configure: Regenerated.
7647 * sysdeps/sh/configure: Regenerated.
7648 * sysdeps/sparc/configure: Regenerated.
7649 * sysdeps/unix/sysv/linux/configure: Regenerated.
7650 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7651 * sysdeps/x86_64/configure: Regenerated.
7652
273edc5e
RM
7653 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7654 defined. Don't check if MAP is NULL.
7655
c8450f70
JM
76562012-10-09 Joseph Myers <joseph@codesourcery.com>
7657
7658 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7659 (_G_stat64): Likewise.
7660 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7661 (_G_stat64): Likewise.
7662 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7663 instead of struct _G_stat64.
7664 * libio/fileops.c (mmap_remap_check): Likewise.
7665 (decide_maybe_mmap): Likewise.
7666 (_IO_new_file_seekoff): Likewise.
7667 (_IO_file_stat): Likewise.
7668 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7669 _G_off64_t.
7670 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7671 instead of struct _G_stat64.
7672 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7673
57e605ba
MK
76742012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7675
7676 [BZ #14602]
7677 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7678 Replace with ...
7679 (CHECK_EOL): New macro.
7680 (two_way_short_needle): Check beginning of haystack for EOL. Use
7681 CHECK_EOL.
7682 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7683 Replace with CHECK_EOL.
7684 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7685 Replace with CHECK_EOL.
7686
ef1bb361
JM
76872012-10-08 Joseph Myers <joseph@codesourcery.com>
7688
7689 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7690 type-generic.
7691 * math/libm-test.inc: Update comment listing what functions and
7692 macros are tested.
7693 (finite_test): New function.
7694 (isinf_test): Likewise.
7695 (isnan_test): Likewise.
7696 (fpclassify_test): Test subnormal input.
7697 (isfinite_test): Likewise.
7698 (isnormal_test): Likewise.
7699 (main): Call the new functions.
7700
55f11534
JN
77012012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7702
7703 [BZ #14660]
7704 * Makerules (%.dynsym): Force C locale when running
7705 $(OBJDUMP) --dynamic-syms.
7706
1ab29350
AS
77072012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7708
7709 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7710 <stdint.h>.
7711
f1ecb7ef
DM
77122012-10-06 David S. Miller <davem@davemloft.net>
7713
7714 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7715 upper 32-bits of the length value in %o2 since we use branch-on-register
7716 tests which consider the entire 64-bit register.
7717
5d41d91a
L
77182012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7719
7720 * string/test-strstr.c (check2): Add a test for page boundary.
7721
3baddb72
DM
77222012-10-05 David S. Miller <davem@davemloft.net>
7723
7724 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7725 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7726 file.
7727 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7728 sysdep_routines.
7729 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7730 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7731 and bzero when HWCAP_SPARC_CRYPTO is present.
7732
9cee5585
L
77332012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7734
d7e0dab9
L
7735 [BZ #14602]
7736 * string/test-strstr.c (check2): New function.
7737 (test_main): Call check2.
7738
03759f47
L
7739 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7740 and bug-strchr1.
7741 * string/bug-strcasestr1.c (do_test): Moved to ...
7742 * string/test-strcasestr.c (check1): Here. New function.
7743 (do_one_test): Break out result checking code into ...
7744 (check_result): This. New function.
7745 (do_one_test): Call check_result.
7746 (test_main): Call check1.
7747 * string/bug-strchr1.c (do_test): Moved to ...
7748 * string/test-strchr.c (check1): Here. New function.
7749 (do_one_test): Break out result checking code into ...
7750 (check_result): This. New function.
7751 (do_one_test): Call check_result.
7752 (test_main): Call check1.
7753 * string/bug-strstr1.c (main): Moved to ...
046f153e 7754 * string/test-strstr.c (check1): Here. New function.
03759f47
L
7755 (do_one_test): Break out result checking code into ...
7756 (check_result): This. New function.
7757 (do_one_test): Call check_result.
7758 (test_main): Call check1.
7759 * string/bug-strcasestr1.c: Removed.
7760 * string/bug-strchr1.c: Likewise.
7761 * string/bug-strstr1.c: Likewise.
7762
53cea63e
L
7763 * elf/Makefile (dl-routines): Add hwcaps.
7764 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7765 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7766 (_dl_important_hwcaps): Moved to ...
7767 * elf/dl-hwcaps.c: Here. New file.
7768 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7769
9cee5585 7770 [BZ #14557]
bb859b06
L
7771 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7772 if IS_IN_rtld isn't defined.
7773
9cee5585
L
7774 * elf/dl-support.c (_dl_sysinfo_map): New.
7775 Include "get-dynamic-info.h" and "setup-vdso.h".
7776 (_dl_non_dynamic_init): Call setup_vdso.
7777 * elf/dynamic-link.h: Don't include <assert.h>.
7778 (elf_get_dynamic_info): Moved to ...
7779 * elf/get-dynamic-info.h: Here. New file.
7780 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7781 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7782 * elf/setup-vdso.h: Here. New file.
7783 * elf/rtld.c: Include "setup-vdso.h".
7784 (dl_main): Call setup_vdso.
7785
23c31b76
JM
77862012-10-05 Joseph Myers <joseph@codesourcery.com>
7787
28234b07
JM
7788 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7789 creal in comment listing functions tested. List finite, isinf,
7790 isnan, isless, islessequal, isgreater, isgreaterequal,
7791 islessgreater, isunordered, lgamma_r and pow10 as functions and
7792 macros not tested. Mention which functions not tested are aliases
7793 for other functions. Fix typo. Note that signs of NaNs are not
7794 tested.
7795
23c31b76
JM
7796 * scripts/config.guess: Update from config.git.
7797 * scripts/config.sub: Likewise.
7798
9043e228
RM
77992012-10-04 Roland McGrath <roland@hack.frob.com>
7800
7801 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7802 * misc/madvise.c (madvise): Renamed to __madvise.
7803 Make madvise a weak alias.
7804 * include/sys/mman.h: Declare __madvise.
7805 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7806 * sysdeps/unix/syscalls.list
7807 (madvise): Make __madvise the strong name, and madvise a weak alias.
7808 * sysdeps/unix/sysv/linux/syscalls.list
7809 (madvise, mmap): Remove redundant entries.
7810 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7811 * malloc/malloc.c (mtrim): Likewise.
7812 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7813
f57f8055
RM
78142012-10-03 Roland McGrath <roland@hack.frob.com>
7815
7816 * sysdeps/mach/hurd/dl-cache.c: File removed.
7817 * config.h.in (USE_LDCONFIG): New #undef.
7818 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7819 * configure: Regenerated.
7820 * elf/Makefile (dl-routines): Add dl-cache only under
7821 [$(use-ldconfig) = yes].
7822 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7823 cache on [USE_LDCONFIG].
7824 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7825 [USE_LDCONFIG].
7826 * elf/rtld.c (dl_main): Likewise.
7827
5bb0c10a
PT
78282012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7829
7830 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7831 _SC_LEVEL4_CACHE_LINESIZE.
7832
010188c6
RM
78332012-10-03 Roland McGrath <roland@hack.frob.com>
7834
7835 * sysdeps/unix/bsd/confstr.h: File removed.
7836
b6c5ec07
AO
78372012-10-02 Alexandre Oliva <aoliva@redhat.com>
7838
7839 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7840 sys/sdt-config.h.
7841
408223d4
RM
78422012-10-02 Roland McGrath <roland@hack.frob.com>
7843
7844 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7845 Make 'mapoff' field ElfW(Off) rather than off_t.
7846
bb9510dc
DL
78472012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7848
fc997c6e
DL
7849 * nscd/Makefile: Remove nscd-cflags and all its users.
7850 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7851 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7852
bb9510dc
DL
7853 [BZ #10631]
7854 * malloc.c (malloc_printerr): Clarify error message.
7855
05699367
L
78562012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7857
7858 [BZ #14648]
7859 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7860 Set bit_FMA_Usable if FMA is supported.
7861 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7862 macro.
7863 (bit_FMA4_Usable): Updated.
7864 (index_FMA_Usable): New macro.
7865 (CPUID_FMA): Likewise
7866 (HAS_FMA): Defined with bit_FMA_Usable.
7867
51367701
RM
78682012-10-01 Roland McGrath <roland@hack.frob.com>
7869
7870 * bits/types.h (__swblk_t): Type removed.
7871 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7872 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7873 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7874 (__SWBLK_T_TYPE): Likewise.
7875 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7876 (__SWBLK_T_TYPE): Likewise.
7877 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7878 (__SWBLK_T_TYPE): Likewise.
7879 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7880 (__SWBLK_T_TYPE): Likewise.
7881
4d57bf63 78822012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 7883 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
7884
7885 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7886 (xdr_mapname): Use YPMAXMAP as maxsize.
7887 (xdr_peername): Use YPMAXPEER as maxsize.
7888 (xdr_keydat): Use YPAXRECORD as maxsize.
7889 (xdr_valdat): Use YPMAXRECORD as maxsize.
7890
93c65d43
RM
78912012-10-01 Roland McGrath <roland@hack.frob.com>
7892
497a03d6
RM
7893 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7894
93c65d43
RM
7895 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7896 * csu/init-first.c: ... here.
7897 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7898 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7899 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7900 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7901 * sysdeps/i386/init-first.c: File removed.
7902 * sysdeps/sh/init-first.c: File removed.
7903
bec749fd
JM
79042012-10-01 Joseph Myers <joseph@codesourcery.com>
7905
7906 [BZ #14645]
7907 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7908 if x * y might underflow to zero and z is zero.
7909 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7910 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7911 * math/libm-test.inc (min_subnorm_value): New variable.
7912 (fma_test): Add more tests.
7913 (fma_test_towardzero): Likewise.
7914 (fma_test_downward): Likewise
7915 (fma_test_upward): Likewise.
7916 (initialize): Set min_subnorm_value.
7917
8ec5b013
JM
79182012-09-29 Joseph Myers <joseph@codesourcery.com>
7919
7920 [BZ #14638]
7921 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7922 0 + 0.
7923 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7924 mode for addition resulting in exact zero.
7925 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7926 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7927 exact 0 + 0.
7928 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7929 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7930 * math/libm-test.inc (fma_test): Add more tests.
7931 (fma_test_towardzero): New function.
7932 (fma_test_downward): Likewise.
7933 (fma_test_upward): Likewise.
7934 (main): Call the new functions.
7935
b1fa802e
DM
79362012-09-28 David S. Miller <davem@davemloft.net>
7937
7938 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7939
d3b9fd9e
RM
79402012-09-28 Roland McGrath <roland@hack.frob.com>
7941
ea4d37b3
RM
7942 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7943 instead of SIGALRM.
7944
ac51c949
RM
7945 * sysdeps/gnu/_G_config.h: Moved to ...
7946 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7947 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7948 * sysdeps/generic/_G_config.h: ... here.
7949
28c195f7
RM
7950 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7951
848917f9
RM
7952 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7953
6bacf05b
RM
7954 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7955 Conditionalize target on [libnss_test1.so-version].
7956
91363dbb
RM
7957 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7958
cc87f7d8
RM
7959 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7960 (elfobjdir): Move out of conditionals.
7961
b1c608fe
RM
7962 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7963 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7964 (__nss_lookup_function): Conditionalize label remove_from_tree on
7965 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 7966
1d9a6d96
DM
79672012-09-28 David S. Miller <davem@davemloft.net>
7968
7969 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7970 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7971 file.
7972 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7973 sysdep_routines.
7974 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7975 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
7976 when HWCAP_SPARC_CRYPTO is present.
7977
72581615
PT
79782012-09-28 Pino Toscano <toscano.pino@tiscali.it>
7979
7980 * io/tst-mknodat.c: Create a FIFO instead of a socket.
7981
715a900c
JL
79822012-09-28 Andreas Schwab <schwab@linux-m68k.org>
7983
7984 [BZ #6530]
7985 * stdio-common/vfprintf.c (process_string_arg): Revert
7986 2000-07-22 change.
7987
79882011-09-28 Jonathan Nieder <jrnieder@gmail.com>
7989
7990 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
7991 for testcase.
7992 * stdio-common/tst-sprintf.c: Include <locale.h>
7993 (main): Test sprintf's handling of incomplete multibyte
7994 characters.
7995
9bac1d86
L
79962012-09-28 H.J. Lu <hongjiu.lu@intel.com>
7997
7998 * elf/dl-runtime.c (VERSYMIDX): Removed.
7999 * elf/dl-version.c (VERSYMIDX): Likewise.
8000 * elf/do-rel.h (VERSYMIDX): Likewise.
8001 (VALIDX): Likewise.
8002 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8003 * elf/rtld.c (VALIDX): Likewise.
8004 (ADDRIDX): Likewise.
9bac1d86
L
8005 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8006 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8007 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
8008 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8009 (VALIDX): Likewise.
8010 (ADDRIDX): Likewise.
9bac1d86 8011
b31606c0
PT
80122012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8013
8014 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8015
11541177
JL
80162012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8017
8018 [BZ #11438]
8019 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8020 to global scope.
8021 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8022 addresses are in the same scope as 192.0.2/24.
8023 * posix/gai.conf: Document new scope table defaults.
8024
adb26fae
SP
80252012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8026
8027 [BZ #5298]
8028 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8029 for ftell. Compute offsets from write pointers instead.
8030 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8031
4573c6b0
SP
80322012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8033
8034 [BZ #14543]
8035 * libio/Makefile (tests): New test case tst-fseek.
8036 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8037 combination works in wide mode.
8038 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8039 state when the external buffer state changes.
8040
aa9bbfe6
DM
80412012-09-27 David S. Miller <davem@davemloft.net>
8042
8043 [BZ #14376]
8044 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8045 pass reloc->r_addend in as the 'high' argument to
8046 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8047
784421e7
DM
8048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8049
c39bc8b8
PT
80502012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8051
8052 * rt/tst-aio2.c: Include <pthread.h>.
8053 * rt/tst-aio3.c: Likewise.
8054
1ccc2399
SE
80552012-09-27 Steve Ellcey <sellcey@mips.com>
8056
8057 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8058
31ed4153
L
80592012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8060
25f5f885
L
8061 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8062 contents on [SHARED].
31ed4153 8063
b7bfe116
MP
80642012-09-26 Marek Polacek <polacek@redhat.com>
8065
8066 [BZ #14530]
8067 [BZ #13741]
8068 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8069 for C++ and GCC <4.3 as well as for non GCC compilers.
8070
43c4edba
MT
80712012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8072
8073 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8074
6a1bf82f
RM
80752012-09-25 Roland McGrath <roland@hack.frob.com>
8076
8077 * Makefile.in (all, install): Declare with .PHONY.
8078 Reported by Michael Hope <michael.hope@linaro.org>.
8079
8ad11b9a
TMQMF
80802012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8081
8082 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8083 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8084 system header.
8085 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8086 Likewise.
8087 (sydep_routines): Add the new and the internal functions.
8088 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8089 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8091 (GLIBC_2.17): Add the new function.
8092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8093 (GLIBC_2.17): Likewise.
8094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8095 (GLIBC_2.17): Likewise.
8096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8097 (GLIBC_2.17): Likewise.
8098 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8099
7e2fca8d
AM
81002012-09-25 Alan Modra <amodra@gmail.com>
8101
8102 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8103 Add release barrier before setting once_control to say
8104 initialisation is done. Add hints on lwarx. Use macro in
8105 place of isync.
8106 (clear_once_control): Add release barrier.
8107
b87c4b24
JM
81082012-09-25 Joseph Myers <joseph@codesourcery.com>
8109
d032e0d2
JM
8110 [BZ #13629]
8111 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8112 specially.
8113 * math/s_clog10.c (__clog10): Likewise.
8114 * math/s_clog10f.c (__clog10f): Likewise.
8115 * math/s_clog10l.c (__clog10l): Likewise.
8116 * math/s_clogf.c (__clogf): Likewise.
8117 * math/s_clogl.c (__clogl): Likewise.
8118 * math/Makefile (libm-calls): Add x2y2m1.
8119 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8120 (__x2y2m1): Likewise.
8121 (__x2y2m1l): Likewise.
8122 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8123 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8124 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8125 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8126 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8127 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8128 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8129 * sysdeps/i386/fpu/libm-test-ulps: Update.
8130 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8131
b87c4b24
JM
8132 [BZ #14621]
8133 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8134 int as type of variable DEPTH.
8135 (glob): Use size_t instead of int as type of variables NEWCOUNT
8136 and OLD_PATHC.
8137
6d3bf199
LD
81382012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8139
22bf5c17
LD
8140 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8141 Add s_sincosf-sse2.
8142 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8143 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8144 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8145 macros for using routine as __sincosf_ia32.
8146 Use macro for function declaration and weak_alias.
8147 * sysdeps/i386/fpu/libm-test-ulps: Update.
8148
8149 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8150 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8151
8152 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
8153 subnormal argument.
8154 * math/s_cexpf.c (__cexpf): Likewise.
8155 * math/s_csinf.c (__csinf): Likewise.
8156 * math/s_csinhf.c (__csinhf): Likewise.
8157 * math/s_ctanf.c (__ctanf): Likewise.
8158 * math/s_ctanhf.c (__ctanhf): Likewise.
8159 * math/s_ccosh.c (__ccoshf): Likewise.
8160 * math/s_cexp.c (__cexpl): Likewise.
8161 * math/s_csin.c (__csin): Likewise.
8162 * math/s_csinh.c (__csinh): Likewise.
8163 * math/s_ctan.c (__ctan): Likewise.
8164 * math/s_ctanh.c (ctanh): Likewise.
8165 * math/s_ccoshl.c (__ccoshl): Likewise.
8166 * math/s_cexpl.c (__cexpl): Likewise.
8167 * math/s_csinl.c (__csinl): Likewise.
8168 * math/s_csinhl.c (__csinhl): Likewise.
8169 * math/s_ctanl.c (__ctanl): Likewise.
8170 * math/s_ctanhl.c (__ctanhl): Likewise.
8171
203e5603
JM
81722012-09-25 Joseph Myers <joseph@codesourcery.com>
8173
8174 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8175 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8176 (_IO_off_t): Define to __off_t, not _G_off_t.
8177 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8178 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8179 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8180 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8181 type of __dummy and __dummy2 fields.
8182 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8183 (_G_ssize_t): Likewise.
8184 (_G_off_t): Likewise.
8185 (_G_pid_t): Likewise.
8186 (_G_uid_t): Likewise.
8187 (_G_wchar_t): Likewise.
8188 (_G_wint_t): Likewise.
8189 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8190 (_G_ssize_t): Likewise.
8191 (_G_off_t): Likewise.
8192 (_G_pid_t): Likewise.
8193 (_G_uid_t): Likewise.
8194 (_G_wchar_t): Likewise.
8195 (_G_wint_t): Likewise.
8196 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8197 (_G_ssize_t): Likewise.
8198 (_G_off_t): Likewise.
8199 (_G_pid_t): Likewise.
8200 (_G_uid_t): Likewise.
8201 (_G_wchar_t): Likewise.
8202 (_G_wint_t): Likewise.
8203
9fab36eb
SP
82042012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8205
8206 * malloc/arena.c: Include malloc-sysdep.h.
8207 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8208 is sufficient to shrink the heap or an unmap is needed.
8209 * sysdeps/generic/malloc-sysdep.h: New file. Define
8210 new function check_may_shrink_heap.
8211 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8212 new function check_may_shrink_heap.
8213
2b4f00d1
SP
82142012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8215
8216 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8217 comments.
8218
9a9028b1
DL
82192012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8220
57c69bef
DL
8221 * catgets/test-gencat.sh: Add "set -e".
8222 * elf/tst-pathopt.sh: Likewise.
8223 * grp/tst_fgetgrent.sh: Likewise.
8224 * iconvdata/run-iconv-test.sh: Likewise.
8225 * intl/tst-gettext.sh: Likewise.
8226 * intl/tst-gettext2.sh: Likewise.
8227 * intl/tst-gettext4.sh: Likewise.
8228 * intl/tst-gettext6.sh: Likewise.
8229 * intl/tst-translit.sh: Likewise.
8230 * io/ftwtest-sh: Likewise.
8231 * libio/test-freopen.sh: Likewise.
8232 * malloc/tst-mtrace.sh: Likewise.
8233 * posix/globtest.sh: Likewise.
8234 * posix/tst-getconf.sh: Likewise.
8235 * posix/wordexp-tst.sh: Likewise.
8236 * stdio-common/tst-printf.sh: Likewise.
8237 * stdio-common/tst-unbputc.sh: Likewise.
8238 * stdlib/tst-fmtmsg.sh: Likewise.
8239 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8240 * catgets/Makefile: Do not specify -e option when running
8241 testsuite shell scripts.
8242 * elf/Makefile: Likewise.
8243 * grp/Makefile: Likewise.
8244 * iconvdata/Makefile: Likewise.
8245 * intl/Makefile: Likewise.
8246 * io/Makefile: Likewise.
8247 * libio/Makefile: Likewise.
8248 * malloc/Makefile: Likewise.
8249 * posix/Makefile: Likewise.
8250 * stdio-common/Makefile: Likewise.
8251 * stdlib/Makefile: Likewise.
8252 * sysdeps/x86_64/Makefile: Likewise.
8253
9a9028b1
DL
8254 * io/ftwtest-sh: Add copyright header.
8255 * posix/globtest.sh: Likewise.
8256 * posix/tst-getconf.sh: Likewise.
8257 * posix/wordexp-tst.sh: Likewise.
8258 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8259
ced6f16e
L
82602012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8261
94b32c39
L
8262 [BZ #13679]
8263 * Makeconfig (+link): Defined as $(+link-static) if
8264 $(build-shared) isn't yes.
8265 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8266 isn't yes.
8267 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8268
189e935b
L
8269 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8270
ced6f16e
L
8271 [BZ #14562]
8272 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8273 new chunk size with MALLOC_ALIGN_MASK.
8274
a9f8e53a
JM
82752012-09-24 Joseph Myers <joseph@codesourcery.com>
8276
8277 [BZ #5044]
8278 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8279 <rounding-mode.h>.
8280 (__printf_fphex): Determine rounding using get_rounding_mode and
8281 round_away.
8282 * stdio-common/tst-printf-round.c (struct hex_test): New
8283 structure.
8284 (hex_tests): New variable.
8285 (test_hex_in_one_mode): New function.
8286 (do_test): Also run tests for hex float output.
8287
43153109
JM
82882012-09-21 Joseph Myers <joseph@codesourcery.com>
8289
8290 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8291 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8292 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8293 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8294 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8295 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8296 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8297 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8298
8a26625d
JM
82992012-09-20 Joseph Myers <joseph@codesourcery.com>
8300
8301 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8302 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8303 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8304 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8305
f3fd569c
DL
83062012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8307
8308 [BZ #14579]
8309 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8310 mode only.
8311 * elf/tst-rtld-load-self.sh: New test.
8312 * elf/Makefile: Run it.
8313
63bbedd4
JM
83142012-09-18 Joseph Myers <joseph@codesourcery.com>
8315
8316 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8317 (tst-writev-ENV): Remove.
8318 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8319
626f8b6a
CM
83202012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8321
8322 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8323
b7aaa4d6
JM
83242012-09-17 Joseph Myers <joseph@codesourcery.com>
8325
8326 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8327 unconditional.
8328 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8329 Likewise.
8330 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8331 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8332 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8333 Likewise.
8334
65513990
L
83352012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8336
8337 [BZ #14587]
8338 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8339 * config.make.in (have-cpp-asm-debuginfo): Removed.
8340 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8341 * configure: Regenerated.
8342
784761be
JM
83432012-09-14 Joseph Myers <joseph@codesourcery.com>
8344
8345 [BZ #5044]
8346 * stdio-common/printf_fp.c: Include <stdbool.h> and
8347 <rounding-mode.h>.
8348 (___printf_fp): Determine rounding using get_rounding_mode and
8349 round_away.
8350 * stdio-common/tst-printf-round.c: New file.
8351 * stdio-common/Makefile (tests): Add tst-printf-round.
8352 (link-libm): New variable.
8353 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8354
9503345f
L
83552012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8356
8357 [BZ #14576]
8358 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8359 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8360 Likewise.
8361 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8362 Likewise.
8363
ad35fc00
JM
83642012-09-13 Joseph Myers <joseph@codesourcery.com>
8365
8366 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8367 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8368 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8369 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8370
6c9b0f68
JM
83712012-09-12 Joseph Myers <joseph@codesourcery.com>
8372
8373 [BZ #14518]
8374 * include/rounding-mode.h: New file.
8375 * sysdeps/generic/get-rounding-mode.h: Likewise.
8376 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8377 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8378 (MAX_VALUE): New macro.
8379 (MIN_VALUE): Likewise.
8380 (overflow_value): New function.
8381 (underflow_value): Likewise.
8382 (round_and_return): Use overflow_value and underflow_value to
8383 determine return values in overflow and underflow cases. Use
8384 round_away to determine rounding depending on rounding mode.
8385 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8386 determine return values in overflow and underflow cases.
8387 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8388 (struct test_results): New structure.
8389 (struct test): Use struct test_results to store expected results
8390 for all rounding modes.
8391 (TEST): Include expected results for all rounding modes.
8392 (test_in_one_mode): New function.
8393 (do_test): Use test_in_one_mode to compute and check results.
8394 Check results for all rounding modes.
8395 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8396 $(link-libm).
8397
19fcedd5
AM
83982012-12-09 Allan McRae <allan@archlinux.org>
8399
1e9d84cd 8400 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 8401
8bbfd2f1
JM
84022012-09-11 Joseph Myers <joseph@codesourcery.com>
8403
8404 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8405 (_G_int32_t): Likewise.
8406 (_G_uint16_t): Likewise.
8407 (_G_uint32_t): Likewise.
8408 (_G_HAVE_BOOL): Likewise.
8409 (_G_HAVE_ATEXIT): Likewise.
8410 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8411 (_G_HAVE_IO_FILE_OPEN): Likewise.
8412 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8413 (_G_int32_t): Likewise.
8414 (_G_uint16_t): Likewise.
8415 (_G_uint32_t): Likewise.
8416 (_G_HAVE_BOOL): Likewise.
8417 (_G_HAVE_ATEXIT): Likewise.
8418 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8419 (_G_HAVE_IO_FILE_OPEN): Likewise.
8420 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8421 (_G_int32_t): Likewise.
8422 (_G_uint16_t): Likewise.
8423 (_G_uint32_t): Likewise.
8424 (_G_HAVE_BOOL): Likewise.
8425 (_G_HAVE_ATEXIT): Likewise.
8426 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8427 (_G_HAVE_IO_FILE_OPEN): Likewise.
8428
b1dc5912
L
84292012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8430
8431 * csu/libc-tls.c: Update copyright years.
8432
0e886ef9
JM
84332012-09-10 Joseph Myers <joseph@codesourcery.com>
8434
28361c5e
JM
8435 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8436 [!_G_USING_THUNKS]: Remove conditional code.
8437 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8438 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8439
0e886ef9
JM
8440 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8441 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8442 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8443 (_G_VTABLE_LABEL_PREFIX): Likewise.
8444 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8445 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8446 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8447 (_G_VTABLE_LABEL_PREFIX): Likewise.
8448 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8449 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8450 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8451 (_G_VTABLE_LABEL_PREFIX): Likewise.
8452 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8453
bcba7aa2
L
84542012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8455
8456 * libio/Makefile: Include ../Makeconfig before tests.
8457 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8458 only if $(build-shared) is yes.
8459
06585ee8
L
8460 * iconv/gconv_db.c: Update copyright years.
8461
80ccd52c
LD
84622012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8463
8464 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8465 unwind info if defined PIC. Fix special cases description.
8466 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8467
8468 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8469 DP_HI_MASK entry.
8470 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8471
691bc9c1
L
84722012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8473
3d9b46b3
L
8474 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8475
de2139a9
L
8476 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8477 is NULL.
8478
5ca78dd0
L
8479 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8480 (LDLIBS-tst-chk4): This.
8481 (LDFLAGS-tst-chk5): Renamed to ...
8482 (LDLIBS-tst-chk5): This.
8483 (LDFLAGS-tst-chk6): Renamed to ...
8484 (LDLIBS-tst-chk6): This.
8485 (LDFLAGS-tst-lfschk4): Renamed to ...
8486 (LDLIBS-tst-lfschk4): This.
8487 (LDFLAGS-tst-lfschk5): Renamed to ...
8488 (LDLIBS-tst-lfschk5): This.
8489 (LDFLAGS-tst-lfschk6): Renamed to ...
8490 (LDLIBS-tst-lfschk6): This.
8491
691bc9c1
L
8492 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8493 on $(common-objpfx)soversions.mk.
8494
65cafb1c
JM
84952012-09-07 Joseph Myers <joseph@codesourcery.com>
8496
8497 [BZ #10014]
8498 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8499 example host name.
8500
c78ab094
SP
85012012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8502
8503 * malloc/arena.c (arena_get_retry): New function that gets
8504 another arena for the caller to try its request on.
8505 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8506 current arena cannot fulfill the request.
8507 (__libc_memalign): Likewise.
8508 (__libc_memalign): Likewise.
8509 (__libc_pvalloc): Likewise.
8510 (__libc_calloc): Likewise.
8511
01f49f59
JT
85122012-09-05 John Tobey <john.tobey@gmail.com>
8513
8514 [BZ #13542]
8515 * manual/arith.texi (Operations on Complex): Fix description
8516 of carg branch cut.
8517
4c23fed5
JM
85182012-09-06 Joseph Myers <joseph@codesourcery.com>
8519
1d3c8572
JM
8520 [BZ #10014]
8521 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8522 host name.
8523
4c23fed5
JM
8524 [BZ #10038]
8525 * manual/memory.texi (Memory): Make order of menu items match
8526 order of sections.
8527
04570aaa
L
85282012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8529
8530 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8531 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8532 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8533
b80af2f4
L
85342012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8535
8536 * csu/libc-tls.c (static_dtv): Renamed to ...
8537 (_dl_static_dtv): This. Make it global.
8538 (_dl_initial_dtv): Removed.
8539 (__libc_setup_tls): Updated.
8540 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8541 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8542 DL_INITIAL_DTV.
8543
2abe9f15
PM
85442012-09-06 Petr Machata <pmachata@redhat.com>
8545
8546 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8547 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8548 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8549 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8550
0948c3af
L
85512012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8552
8553 [BZ #14545]
8554 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8555 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8556 freeing dtv[-1].
8557
a5055ad1
L
85582012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8559
8560 [BZ #14544]
8561 * Makeconfig (link-static-before-libc): Replace $(+prector)
8562 with $(+prectorT).
8563 (link-static-after-libc): Replace $(+postctor) with
8564 $(+postctorT).
8565 (link-bounded): Replace $(+prector)/$(+postctor) with
8566 $(+prectorT)/$(+postctorT).
8567 (+prectorT): New macro.
8568 (+postctorT): Likewise.
8569
ed8c2ecd
JM
85702012-09-06 Joseph Myers <joseph@codesourcery.com>
8571
8572 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8573 (round_str): Handle values above the maximum for IBM long double
8574 as inexact.
8575 * stdlib/tst-strtod-round.c (tests): Regenerated.
8576
14c996c8
AK
85772012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8578
8579 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8580 assembler flag.
8581 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8582 zarch_nohighgprs around the zarch optimized routines.
8583 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8584 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8585 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8586 for zarch.
8587
430d6ce6
DM
85882012-09-05 David S. Miller <davem@davemloft.net>
8589
8590 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8591
ff04dda4
DM
8592 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8593 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8594 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8595 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8596 entries.
8597
24d4e01b
AO
85982012-09-05 Alexandre Oliva <aoliva@redhat.com>
8599
8600 * malloc/arena.c: Fold copyright years.
8601 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8602
61d58174
AO
86032012-09-05 Alexandre Oliva <aoliva@redhat.com>
8604
8605 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8606
20196a5e
AO
86072012-09-05 Alexandre Oliva <aoliva@redhat.com>
8608
8609 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8610
5c447383
AO
86112012-09-05 Alexandre Oliva <aoliva@redhat.com>
8612
8613 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8614 change internal state upon failure.
8615
fad64255
AO
86162012-09-05 Alexandre Oliva <aoliva@redhat.com>
8617
8618 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8619 * malloc/memusage.c (mmap): Likewise.
8620 (mmap64, mremap): Likewise. Adjust name in comment.
8621
1ffb8c90
SP
86222012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8623
8624 * libio/fileops.c: Fix typos in comments.
8625 * libio/oldfileops.c: Likewise.
8626 * libio/wfileops.c: Likewise.
8627
6ef9cc37
SP
86282012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8629
8630 [BZ #1349]
8631 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8632 (tst-malloc-usable-ENV): Set environment for test case.
8633 * malloc/hooks.c (malloc_check_get_size): New function to get
8634 requested size.
8635 * malloc/malloc.c (musable): Use malloc_check_get_size.
8636 * malloc/tst-malloc-usable.c: New test case.
8637
4d038ae3
AS
86382012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8639
8640 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8641
c4e85184
AM
86422012-09-05 Allan McRae <allan@archlinux.org>
8643
b9dafc56 8644 [BZ #13966]
c4e85184
AM
8645 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8646 determine header location.
8647 * configure: Regenerated.
8648
e1343020
AS
86492012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8650
8651 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8652 float format.
8653 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
8654 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8655 format.
e1343020
AS
8656 (test): Regenerate.
8657
0a9f1987
DM
86582012-09-04 David S. Miller <davem@davemloft.net>
8659
8660 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8661 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8662 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8663
29237804
FW
86642012-09-04 Florian Weimer <fweimer@redhat.com>
8665
8666 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8667 failures.
8668
edb3cb88
FW
8669 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8670
60160d83
JM
86712012-09-04 Joseph Myers <joseph@codesourcery.com>
8672
8673 [BZ #9914]
8674 * libio/iogetdelim.c: Include <limits.h>.
8675 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8676 + len + 1 would overflow.
8677
bcd6c8dc
AJ
86782012-09-03 Andreas Jaeger <aj@suse.de>
8679
8680 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8681 * sysdeps/i386/fpu/libm-test-ulps: Update.
8682
4ffffbd2
LD
86832012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8684
8685 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8686 Add s_sinf-sse2, s_conf-sse2.
8687
8688 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8689 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8690 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8691 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8692
8693 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8694 for using routine as __sinf_ia32.
8695 Use macro for function declaration and weak_alias.
8696 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8697 for using routine as __cosf_ia32.
8698 Use macro for function declaration and weak_alias.
8699
8700 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8701 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8702
8703 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8704 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8705 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8706
8707 * math/libm-test.inc (cos_test): Add more test cases.
8708 (sin_test): Likewise.
8709 (sincos_test): Likewise.
8710
511fa286
AK
87112012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8712
8713 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8714 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8715 hidden.
8716 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8717
5f30cfec
L
87182012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8719
8720 [BZ #14538]
8721 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8722 first element of the GOT.
8723 (elf_machine_load_address): Return the difference between
8724 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8725
0786794f
AM
87262012-09-01 Allan McRae <allan@archlinux.org>
8727
5f30cfec
L
8728 [BZ #13412]
8729 * configure.in (AWK): Require gawk version 3.0 or later.
8730 * configure: Regenerated.
0786794f 8731
26889eac
JM
87322012-09-01 Joseph Myers <joseph@codesourcery.com>
8733
8734 * sysdeps/unix/sysv/linux/kernel-features.h
8735 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8736 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8737 [__NR_clock_getres]: Make code unconditional.
8738 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8739 (clock_getcpuclockid): Remove code left unreachable by removal of
8740 conditionals.
8741 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8742 code unconditional.
8743 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8744 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8745 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8746 Make code unconditional.
8747 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8748 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8749 * sysdeps/unix/sysv/linux/clock_settime.c
8750 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8751 conditional code.
8752 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8753 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8754
d22e28b0
L
87552012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8756
8757 [BZ #14476]
8758 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8759 scripts/test-installation.pl.
8760
8761 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8762 and $ld_so_version if it is set.
8763
050af9c4
SP
87642012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8765
8766 [BZ #14516]
8767 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8768 failure if reading from procfs failed.
8769 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8770
ad845c0b
JM
87712012-08-27 Joseph Myers <joseph@codesourcery.com>
8772
8773 * sysdeps/unix/sysv/linux/kernel-features.h
8774 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8775 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8776 Remove conditional code.
8777 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8778 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8779 Remove conditional code.
8780 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8781 * sysdeps/unix/sysv/linux/i386/fxstat.c
8782 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8783 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8784 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8785 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8786 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8787 * sysdeps/unix/sysv/linux/i386/lxstat.c
8788 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8789 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8790 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8791 Remove conditional code.
8792 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8793 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8794 Remove conditional code.
8795 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8796 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8797 <kernel-features.h>.
8798 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8799 Remove.
8800 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8801 Remove conditional code.
8802 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8803 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8804 Remove conditional.
8805
5dbf56af
MF
88062012-08-27 Mike Frysinger <vapier@gentoo.org>
8807
8808 [BZ #5400]
8809 * NEWS: Add fixed bug number.
8810
d6e70f43
JM
88112012-08-27 Joseph Myers <joseph@codesourcery.com>
8812
7efb4737
JM
8813 [BZ #14519]
8814 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8815 underflowing exponent in case of negative sign.
8816 * stdlib/tst-strtod-round-data: Add more tests.
8817 * stdlib/tst-strtod-round.c (tests): Regenerated.
8818
af92131a
JM
8819 [BZ #3479]
8820 * stdlib/strtod_l.c (NDIG): Remove.
8821 (HEXNDIG): Likewise.
8822 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8823 smallest representable value.
8824 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8825 lie within an exact representation of 1/2 ulp of the result.
8826 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8827 unconditionally.
8828 (TENS_P9_IDX): Define unconditionally.
8829 (TENS_P9_SIZE): Likewise.
8830 (TENS_P10_IDX): Likewise.
8831 (TENS_P10_SIZE): Likewise.
8832 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8833 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8834 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8835 entries for 10^2^13 and 10^2^14.
8836 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8837 (TENS_P13_IDX): Define.
8838 (TENS_P13_SIZE): Likewise.
8839 (TENS_P14_IDX): Likewise.
8840 (TENS_P14_SIZE): Likewise.
8841 (_fpioconst_pow10): Change array size to
8842 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8843 unconditional.
8844 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8845 1024]: Add entries for 10^2^13 and 10^2^14.
8846 [LAST_POW10 > _LAST_POW10]: Remove #error.
8847 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8848 (_fpioconst_pow10): Change array size to
8849 FPIOCONST_POW10_ARRAY_SIZE.
8850 * stdlib/gen-fpioconst.c: New file.
8851 * stdlib/gen-tst-strtod-round.c: Likewise.
8852 * stdlib/tst-strtod-round-data: Likewise.
8853 * stdlib/tst-strtod-round.c: Likewise.
8854 * stdlib/Makefile (tests): Add tst-strtod-round.
8855
d6e70f43
JM
8856 [BZ #14459]
8857 * stdlib/strtod_l.c: Include <stdint.h>.
8858 (NDEBUG): Do not define.
8859 (round_and_return): Change EXPONENT parameter to type intmax_t.
8860 Rearrange calculations to avoid internal overflow possibilities.
8861 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8862 Rearrange calculations to avoid internal overflow possibilities.
8863 Assert that number fits inside MPNSIZE limbs.
8864 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8865 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8866 calculations and add assertions to avoid internal overflow
8867 possibilities. Add casts to avoid signed/unsigned operations.
8868 * stdlib/tst-strtod-overflow.c: New file.
8869 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8870
1f529f7d
MP
88712012-08-25 Marek Polacek <polacek@redhat.com>
8872
8873 * time/time.h: Fix some typos in comments.
8874
59a629f1
RM
88752012-08-23 Roland McGrath <roland@hack.frob.com>
8876
8877 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8878 * posix/tst-rfc3484-2.c: Likewise.
8879 * posix/tst-rfc3484-3.c: Likewise.
8880
d3bafbc9
SM
88812012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8882
8883 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8884 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8885
4efcc022
JM
88862012-08-23 Joseph Myers <joseph@codesourcery.com>
8887
8888 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8889 #include of fxstatat64.c.
8890
3cc3ef96
RM
88912012-08-22 Roland McGrath <roland@hack.frob.com>
8892
f04e2132
RM
8893 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8894 * shadow/getspent_r.c: Likewise.
8895 * shadow/getspnam.c: Likewise.
8896 * shadow/getspnam_r.c: Likewise.
8897 * gshadow/getsgent.c: Likewise.
8898 * gshadow/getsgent_r.c: Likewise.
8899 * gshadow/getsgnam.c: Likewise.
8900 * gshadow/getsgnam_r.c: Likewise.
8901 * inet/getnetbyad.c: Likewise.
8902 * inet/getnetbyad_r.c: Likewise.
8903 * inet/getnetbynm.c: Likewise.
8904 * inet/getnetbynm_r.c: Likewise.
8905 * inet/getnetent.c: Likewise.
8906 * inet/getnetent_r.c: Likewise.
8907 * inet/getproto.c: Likewise.
8908 * inet/getproto_r.c: Likewise.
8909 * inet/getprtent.c: Likewise.
8910 * inet/getprtent_r.c: Likewise.
8911 * inet/getprtname.c: Likewise.
8912 * inet/getprtname_r.c: Likewise.
8913 * inet/getrpcbyname.c: Likewise.
8914 * inet/getrpcbyname_r.c: Likewise.
8915 * inet/getrpcbynumber.c: Likewise.
8916 * inet/getrpcbynumber_r.c: Likewise.
8917 * inet/getrpcent.c: Likewise.
8918 * inet/getrpcent_r.c: Likewise.
8919 * inet/getaliasent.c: Likewise.
8920 * inet/getaliasent_r.c: Likewise.
8921 * inet/getaliasname.c: Likewise.
8922 * inet/getaliasname_r.c: Likewise.
8923 * nscd/getgrgid_r.c: Likewise.
8924 * nscd/getgrnam_r.c: Likewise.
8925 * nscd/gethstbyad_r.c: Likewise.
8926 * nscd/gethstbynm3_r.c: Likewise.
8927 * nscd/getpwnam_r.c: Likewise.
8928 * nscd/getpwuid_r.c: Likewise.
8929 * nscd/getsrvbynm_r.c: Likewise.
8930 * nscd/getsrvbypt_r.c: Likewise.
8931 * nscd/gai.c: Likewise.
8932
c53d909c
RM
8933 * configure.in (build_nscd): New substituted variable, set
8934 by --disable-build-nscd and defaults to $use_nscd.
8935 * configure: Regenerated.
8936 * config.make.in (build-nscd): New substituted variable.
8937 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8938 Change conditional to require [$(build-nscd) = yes] as well.
8939 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8940
3cc3ef96
RM
8941 [BZ# 13696]
8942 * configure.in (use_nscd): New substituted variable, set by
8943 --disable-nscd. If enabled, define USE_NSCD.
8944 * configure: Regenerated.
8945 * config.h.in: Add USE_NSCD.
8946 * config.make.in (use-nscd): New substituted variable.
8947 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8948 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8949 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8950 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8951 (CFLAGS-getgrnam_r.c): Likewise.
8952 (CFLAGS-initgroups.c): Likewise.
8953 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8954 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8955 Variables removed.
8956 * inet/getnetgrent_r.c
8957 (nscd_setnetgrent): New function, broken out of ...
8958 (setnetgrent): ... here. Call it.
8959 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8960 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8961 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8962 * nscd/Makefile (routines, aux): Move definitions after include of
8963 Makeconfig. Conditionalize on [$(use-nscd) != no].
8964 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8965 Conditionalize on [USE_NSCD].
8966 (is_nscd, nscd_init_cb): Likewise.
8967 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8968 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8969 * nss/nss_db/db-init.c: Likewise.
8970 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8971 [USE_NSCD].
8972 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8973 (make_request): Use it.
8974 (cache_valid_p): New function.
8975 (__check_pf): Use it.
8976 * NEWS: Add item for --disable-nscd.
8977
07e51550
DL
89782012-08-22 Dmitry V. Levin <ldv@altlinux.org>
8979
8980 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
8981 to support sed >= 4.2.1-20-ga9bf076.
8982 * configure: Regenerated.
8983
35a5b08b
RM
89842012-08-22 Roland McGrath <roland@hack.frob.com>
8985
8986 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
8987 Conditionalize whole body on [IREL].
8988
8479f23a
JL
89892012-08-22 Jeff Law <law@redhat.com>
8990
8991 [BZ #14505]
8992 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
8993 if the family is PF_UNSPEC.
8994
48da0b21
MF
89952012-08-22 Mike Frysinger <vapier@gentoo.org>
8996
8997 * Makerules (lib-version): Rename from V.
8998 (install-lib-nosubdir): Change V to lib-version.
8999
15d0da8c
WS
90002012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9001
9002 [BZ #14252]
9003 * powerpc32/power6/wcschr.c: New file.
9004 * powerpc32/power6/wcscpy.c: New file.
9005 * powerpc32/power6/wcsrchr.c: New file.
9006 * powerpc64/power6/wcschr.c: New file.
9007 * powerpc64/power6/wcscpy.c: New file.
9008 * powerpc64/power6/wcsrchr.c: New file.
9009
bcca0895
MK
90102012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9011
9012 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9013 (two_way_short_needle): Use it.
5a4aaa33
RM
9014 * string/strstr.c (AVAILABLE1_USES_J): Define.
9015 * string/strcasestr.c: Likewise.
99677e57
MK
9016
9017 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9018 array references.
9019 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9020
400726de
MK
9021 [BZ #11607]
9022 * NEWS: Add an entry.
9023 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9024 define their defaults.
9025 (two_way_short_needle): Detect end-of-string on-the-fly.
9026 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9027 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9028 * string/bug-strcasestr1.c: New test.
9029 * string/Makefile: Run it.
9030
20a71f2c
MK
90312012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9032
9033 [BZ #11607]
9034 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9035 the first character.
9036
21ad0558
RM
90372012-08-21 Roland McGrath <roland@hack.frob.com>
9038
9039 * csu/elf-init.c (__libc_csu_irel): Function removed.
9040 * csu/libc-start.c (apply_irel): New function.
9041 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9042
0e1d9911
JM
90432012-08-21 Joseph Myers <joseph@codesourcery.com>
9044
9045 * sysdeps/unix/sysv/linux/kernel-features.h
9046 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9047 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9048 <kernel-features.h>.
9049 [__NR_fadvise64_64]: Make code unconditional.
9050 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9051 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9052 !__NR_fadvise64_64)]: Likewise.
9053 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9054 !__NR_fadvise64_64))]: Likewise.
9055 [__NR_fadvise64]: Make code unconditional.
9056 [!__NR_fadvise64]: Remove conditional code.
9057 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9058 <kernel-features.h>.
9059 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9060 unconditional.
9061 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9062 conditional code.
9063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9064 not include <kernel-features.h>.
9065 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9066 unconditional.
9067 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9068 conditional code.
9069 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9070 include <kernel-features.h>.
9071 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9072 unconditional.
9073 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9074 conditional code.
9075
14a50c9d
WS
90762012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9077
9078 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9079 slight instruction rearrangements per scrollpipe analysis.
9080 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9081
c0f4faf0
RM
90822012-08-20 Roland McGrath <roland@hack.frob.com>
9083
696da859
RM
9084 * manual/syslog.texi (syslog; vsyslog, closelog):
9085 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9086 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9087
c0f4faf0
RM
9088 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9089 DSOCAPS to match condition on defining it.
9090
348363b2
JM
90912012-08-20 Joseph Myers <joseph@codesourcery.com>
9092
a35cbf28
JM
9093 * sysdeps/unix/sysv/linux/kernel-features.h
9094 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9096 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9097 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9099 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9100 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9102 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9103 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9104
445f7ecd
JM
9105 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9106 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9107
348363b2
JM
9108 * sysdeps/unix/sysv/linux/kernel-features.h
9109 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9110 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9111 unconditional.
9112 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9113 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9114 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9115 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9116 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9117 Make code unconditional.
9118 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9119 (__mmap64) [!__NR_mmap2]: Likewise.
9120 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9121 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9122 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9123 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9124 [__NR_mmap2]: Make code unconditional.
9125 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9126 (__mmap64) [!__NR_mmap2]: Likewise.
9127
bc5bc0e5
AK
91282012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9129
9130 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9131
88d506de
AJ
91322012-08-18 Andreas Jaeger <aj@suse.de>
9133
9134 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9135
493387d2
MF
91362012-08-18 Mike Frysinger <vapier@gentoo.org>
9137
9138 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9139 * include/unistd.h (__have_sock_cloexec): Likewise.
9140 (__have_pipe2): Likewise.
9141 (__have_dup3): Likewise.
9142
a277af22
MF
91432012-08-18 Mike Frysinger <vapier@gentoo.org>
9144
9145 [BZ #9685]
9146 * include/unistd.h (__have_pipe2): Change define into an extern int.
9147 (__have_dup3): Likewise.
9148 * socket/have_sock_cloexec.c: Include fcntl.h.
9149 (__have_pipe2): New variable.
9150 (__have_dup3): Likewise.
9151
fdab8fd3
MF
91522012-08-17 Mike Frysinger <vapier@gentoo.org>
9153
9154 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9155
31035e80
MP
91562012-08-17 Marek Polacek <polacek@redhat.com>
9157
9158 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9159 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9160
3bd9e993
RM
91612012-08-17 Roland McGrath <roland@hack.frob.com>
9162
c91c505f
RM
9163 * configure.in: Add AC_SUBST for sysheaders.
9164 * configure: Regenerated.
9165 * config.make.in (sysheaders): New substituted variable.
9166
7c6f9d53
RM
9167 * sysdeps/unix/mkfifo.c: Moved ...
9168 * sysdeps/posix/mkfifo.c: ... here.
9169 * sysdeps/unix/mkfifoat.c: Moved ...
9170 * sysdeps/posix/mkfifoat.c: ... here.
9171
9172 * sysdeps/unix/utime.c: Moved ...
9173 * sysdeps/posix/utime.c: ... here.
9174
9175 * sysdeps/unix/time.c: Moved ...
9176 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
9177 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9178 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
9179
9180 * sysdeps/unix/nice.c: Moved ...
9181 * sysdeps/posix/nice.c: ... here.
9182
9183 * sysdeps/unix/alarm.c: Moved ...
9184 * sysdeps/posix/alarm.c: ... here.
9185
3bd9e993
RM
9186 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9187
d1f09384
JL
91882012-08-17 Jeff Law <law@redhat.com>
9189
9190 * intl/Makefile (codeset_mo): New variable.
9191 ($(codeset_mo)): New target.
9192 (tst-codeset.out): Depend on that. Remove explicit rule.
9193 (tst-gettext3.out, tst-gettext5.out): Likewise.
9194 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9195 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9196 * intl/tst-codeset.sh: Remove.
9197 * intl/tst-gettext3.sh: Likewise.
9198 * intl/tst-gettext5.sh: Likewise.
9199
2ae1ae5c
RM
92002012-08-17 Roland McGrath <roland@hack.frob.com>
9201
c31fdb83
RM
9202 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9203 * sysdeps/unix/syscalls.list: ... here.
9204
a0844057
RM
9205 * sysdeps/posix/getaddrinfo.c
9206 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9207 (gaiconf_init, gaiconf_reload): Use them.
9208 [!_STATBUF_ST_NSEC]
9209 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9210 Define using time_t rather than struct timespec.
9211
750c1f2a
RM
9212 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9213 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9214 Macros removed.
9215 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9216 [!NO_THREADS].
9217 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9218 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9219 Likewise.
9220
2ae1ae5c
RM
9221 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9222 __libc_cleanup_push argument.
9223
e66a42f5
RM
9224 * bits/param.h: New file.
9225 * misc/sys/param.h: New file.
9226 * include/sys/param.h: New file.
9227 * misc/Makefile (headers): Add bits/param.h.
9228 * sysdeps/generic/sys/param.h: File removed.
9229 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9230 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9231 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 9232 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 9233
b7c08a66
RM
9234 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9235 last change.
9236
b2e1c562
RM
9237 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9238 [_IO_MTSAFE_IO].
9239 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9240 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9241 New macros.
9242
c75ccd4c
RM
9243 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9244 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9245 rather than -D_IO_MTSAFE_IO conditionally.
9246 * stdio-common/Makefile (CPPFLAGS): Likewise.
9247 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9248 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9249 Use $(libio-mtsafe).
9250 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9251 of -D_IO_MTSAFE_IO.
9252 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9253 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9254 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9255 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9256 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9257 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9258 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9259 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9260 (CFLAGS-fread_u_chk.c): Likewise.
9261 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9262 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9263 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9264 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9265 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9266 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9267 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9268 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9269 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9270
9271 * libio/Makefile: Test [$(libc-reentrant) = yes]
9272 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9273
9274 * Makeconfig
9275 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9276 * sysdeps/pthread/configure: File removed.
9277 * sysdeps/pthread/Makeconfig: New file.
9278 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9279 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9280
d9195db8
GB
92812012-08-16 Gary Benson <gbenson@redhat.com>
9282
9283 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9284 unmapping the first object in a namespace.
9285
86466cd9
RM
92862012-08-16 Roland McGrath <roland@hack.frob.com>
9287
9288 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9289 (__internal_setnetgrent): ... this. Add internal_function to
9290 definition. Add libc_hidden_def.
9291 (setnetgrent): Update caller.
9292 (internal_endnetgrent): Renamed to ...
9293 (__internal_endnetgrent): ... this. Add internal_function to
9294 definition. Add libc_hidden_def.
9295 (endnetgrent): Update caller.
9296 (internal_getnetgrent_r): Renamed to ...
9297 (__internal_getnetgrent_r): ... this. Add internal_function to
9298 definition. Add libc_hidden_def.
9299 (__getnetgrent_r): Update caller.
9300 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9301
c3c8283c
JM
93022012-08-16 Joseph Myers <joseph@codesourcery.com>
9303
9304 * stdlib/longlong.h: Update from GCC.
9305
db1ee0a8
RM
93062012-08-16 Roland McGrath <roland@hack.frob.com>
9307
9308 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9309 on _QL, which is set by umul_ppmm but never used.
9310 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9311 variables, which are set by GMP macros but never used.
9312 * stdio-common/_itowa.c (_itowa): Likewise.
9313 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9314 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9315
30f69637
CD
93162012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9317
9318 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9319 struct La_sh_regs is not constant.
9320 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9321 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9322 and struct La_sparc64_regs are not constant.
9323
93a78ac4
JM
93242012-08-16 Joseph Myers <joseph@codesourcery.com>
9325
9326 * sysdeps/unix/sysv/linux/kernel-features.h
9327 (__ASSUME_POSIX_TIMERS): Remove.
9328 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9329 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9330 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9331 Make code unconditional.
9332 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9333 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9334 Make code unconditional.
9335 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9336 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9337 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9338 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9339 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9340 Make code unconditional.
9341 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9342 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9343 (__libc_missing_posix_timers): Remove.
9344
dd924cd7
RM
93452012-08-15 Roland McGrath <roland@hack.frob.com>
9346
4b4f2771
RM
9347 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9348 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9349
601c888b
RM
9350 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9351
176790a7
RM
9352 * elf/dl-sym.c: Include <stdlib.h>.
9353
329bc018
RM
9354 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9355 constants, which avoids warnings in 32-bit builds.
9356
e04e272d
RM
9357 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9358 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9359
952bf94a
RM
9360 * misc/lseek.c: File moved to ...
9361 * io/lseek.c: ... here.
9362
7c99b50a
RM
9363 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9364
dd924cd7
RM
9365 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9366 shifting LEN more than 31 bits at once.
9367
b3f479a8
LD
93682012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9369
9370 [BZ #14195]
8c4ae0d4
RM
9371 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9372 segmentation fault for a case of two empty input strings.
b3f479a8
LD
9373 * string/test-strncasecmp.c (check1): Renamed to...
9374 (bz12205): ...this.
9375 (bz14195): Add new testcase for two empty input strings and N > 0.
9376 (test_main): Call new testcase, adapt for renamed function.
9377
9c55864e
AJ
93782012-08-15 Andreas Jaeger <aj@suse.de>
9379
9380 [BZ #14090]
9381 * crypt/md5test2.c: New test, based on test supplied by Serge
9382 Belyshev <belyshev@depni.sinp.msu.ru>.
9383 * crypt/Makefile (xtests): Add md5test-giant..
9384 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9385
02dcb6c5
PE
93862012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9387
9388 [BZ #14090]
9389 * crypt/md5.c (md5_process_block): Don't assume the buffer
9390 length is less than 2**32.
9391 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9392 length is less than 2**64.
9393
a3f95dcc
RM
93942012-08-15 Roland McGrath <roland@hack.frob.com>
9395
be75d758
RM
9396 * string/str-two-way.h: Include <sys/param.h>.
9397 (MAX): Macro removed.
9398
7312ca90
RM
9399 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9400 Move #define and #undef of memmove to just before and after
9401 including <string.h>.
9402
9a0a5486
RM
9403 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9404 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9405 and after including <string.h>. Move declarations of
9406 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9407 to before #include "string/memmove.c".
9408
67cc348d
RM
9409 * include/dirent.h: Declare __getdirentries.
9410
a3f95dcc
RM
9411 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9412 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9413
ca98e171
MF
94142012-08-14 Mike Frysinger <vapier@gentoo.org>
9415
9416 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9417 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9418 * sysdeps/i386/configure: Regenerated.
9419 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9420 STABS_CURRENT_FILE, and STABS_FUN.
9421 (END): Remove call to STABS_FUN_END.
9422 (STABS_CURRENT_FILE1): Delete.
9423 (STABS_CURRENT_FILE): Likewise.
9424 (STABS_FUN): Likewise.
9425 (STABS_FUN_END): Likewise.
9426 (STABS_FUN2): Likewise.
9427 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9428 * sysdeps/x86_64/configure: Regenerated.
9429
5908bf46
RM
94302012-08-14 Roland McGrath <roland@hack.frob.com>
9431
9432 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 9433 * elf/dl-lookup.c: Likewise.
5908bf46 9434
f2c05b9e
JM
94352012-08-14 Joseph Myers <joseph@codesourcery.com>
9436
9437 * sysdeps/unix/sysv/linux/kernel-features.h
9438 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9439 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9440 unconditionally.
9441 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9442 unconditionally.
9443 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9444 condition on __ASSUME_CLONE_THREAD_FLAGS.
9445
e11f5155
AJ
94462012-08-14 Andreas Jaeger <aj@suse.de>
9447
9448 * sysdeps/i386/fpu/libm-test-ulps: Update.
9449
51a9ba86
MK
94502012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9451
2fdd4f78
AJ
9452 * include/atomic.h (atomic_exchange_and_add): Split into ...
9453 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9454 New atomic macros.
51a9ba86 9455
ba6cba9e
MT
94562012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9457
9458 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9459
42443a47
JL
94602012-08-13 Jeff Law <law@redhat.com>
9461
9462 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9463 null byte in the output string.
9464
121dce05
JM
94652012-08-10 Joseph Myers <joseph@codesourcery.com>
9466
9467 * sysdeps/unix/sysv/linux/kernel-features.h
9468 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9469 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9470 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9471 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9472 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9473 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9474 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9475
bf51f568
JL
94762012-08-09 Jeff Law <law@redhat.com>
9477
9478 [BZ #13939]
9479 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9480 When avoid_arena is set, don't retry in the that arena. Pick the
9481 next one, whatever it might be.
9482 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9483 (arena_lock): Pass in new parameter to arena_get2.
9484 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9485 arena_get2.
9486 (__libc_malloc): Unify retrying after main arena failure with
9487 __libc_memalign version.
9488 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9489
f85fa270
L
94902012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9491
9492 [BZ #14166]
9493 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9494 to __redirect_strstr.
9495 (__strstr_sse42): Use typeof __redirect_strstr.
9496 (__strstr_ia32): Likewise.
9497 (__libc_strstr): New prototype.
9498 (strstr): Renamed to ...
9499 (__libc_strstr): This.
9500 (strstr): New strong alias of __libc_strstr.
9501 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9502 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9503 __redirect_time.
9504 Include <time.h>.
9505 (__libc_time): New prototype.
9506 (time_ifunc): Replace time with __libc_time.
9507 (time): New strong alias and hidden definition of __libc_time.
9508 (__GI_time): Remove strong alias.
9509 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9510 Include <stddef.h>.
9511 (memmove): Redefined to __redirect_memmove.
9512 (__memmove_sse2): Use typeof __redirect_memmove.
9513 (__memmove_ssse3): Likewise.
9514 (__memmove_ssse3_back): Likewise.
9515 (__libc_memmove): New prototype.
9516 (memmove): Renamed to ...
9517 (__libc_memmove): This.
9518 (memmove): New strong alias of __libc_memmove.
9519
33b4a91e
MS
95202012-08-08 Mark Salter <msalter@redhat.com>
9521
9522 * elf/elf.h
9523 (R_MN10300_TLS_GD): Define.
9524 (R_MN10300_TLS_LD): Likewise.
9525 (R_MN10300_TLS_LDO): Likewise.
9526 (R_MN10300_TLS_GOTIE): Likewise.
9527 (R_MN10300_TLS_IE): Likewise.
9528 (R_MN10300_TLS_LE): Likewise.
9529 (R_MN10300_TLS_DTPMOD): Likewise.
9530 (R_MN10300_TLS_DTPOFF): Likewise.
9531 (R_MN10300_TLS_TPOFF): Likewise.
9532 (R_MN10300_SYM_DIFF): Likewise.
9533 (R_MN10300_ALIGN): Likewise.
9534 (R_MN10300_NUM): Update.
9535
b36137f1
JM
95362012-08-08 Joseph Myers <joseph@codesourcery.com>
9537
9538 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9539 Remove.
9540
cdd915fd
RM
95412012-08-08 Roland McGrath <roland@hack.frob.com>
9542
a2433aac
RM
9543 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9544
cdd915fd
RM
9545 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9546 sysdeps/unix -> sysdeps/posix move.
9547 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9548
bf9b740a
AM
95492012-08-07 Allan McRae <allan@archlinux.org>
9550
9551 [BZ #14303]
9552 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9553 (SUNOS_CPP): Likewise.
9554 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9555 not found.
9556 (open_input): Call CPP using execvp.
9557
93df14ee
JM
95582012-08-07 Joseph Myers <joseph@codesourcery.com>
9559
9560 * sysdeps/unix/sysv/linux/kernel-features.h
9561 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9562 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9563 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9564 (__ASSUME_WAITID_SYSCALL): Likewise.
9565 * sysdeps/unix/sysv/linux/dl-execstack.c
9566 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9567 code unconditional.
9568 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9569 conditional code.
9570 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9571 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9572 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9573 code.
9574 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9575 unconditional.
9576 [__ASSUME_WAITID_SYSCALL]: Likewise.
9577 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9578
d34689de
RM
95792012-08-07 Roland McGrath <roland@hack.frob.com>
9580
a281decc
RM
9581 * sysdeps/unix/closedir.c: Renamed to ...
9582 * sysdeps/posix/closedir.c: ... here.
9583 * sysdeps/unix/dirfd.c: Renamed to ...
9584 * sysdeps/posix/dirfd.c: ... here.
9585 * sysdeps/unix/dirstream.h: Renamed to ...
9586 * sysdeps/posix/dirstream.h: ... here.
9587 * sysdeps/unix/fdopendir.c: Renamed to ...
9588 * sysdeps/posix/fdopendir.c: ... here.
9589 * sysdeps/unix/opendir.c: Renamed to ...
9590 * sysdeps/posix/opendir.c: ... here.
9591 * sysdeps/unix/readdir.c: Renamed to ...
9592 * sysdeps/posix/readdir.c: ... here.
9593 * sysdeps/unix/readdir_r.c: Renamed to ...
9594 * sysdeps/posix/readdir_r.c: ... here.
9595 * sysdeps/unix/rewinddir.c: Renamed to ...
9596 * sysdeps/posix/rewinddir.c: ... here.
9597 * sysdeps/unix/seekdir.c: Renamed to ...
9598 * sysdeps/posix/seekdir.c: ... here.
9599 * sysdeps/unix/telldir.c: Renamed to ...
9600 * sysdeps/posix/telldir.c: ... here.
9601 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9602 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9603 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9604 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9605
22895b47
RM
9606 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9607 * bits/fcntl.h: ... here.
9608
707a53b6
RM
9609 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9610 not 0.
9611 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9612 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9613 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9614 (struct flock): Move l_start, l_len to the beginning.
9615 Use __pid_t for l_pid.
9616 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9617 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9618 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9619 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9620 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9621 [__USE_LARGEFILE64] (struct flock64): New type.
9622 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9623
f0bd3e25
RM
9624 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9625 * bits/dirent.h: ... here.
9626
d34689de
RM
9627 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9628 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9629
6dad2c06
JM
96302012-08-07 Joseph Myers <joseph@codesourcery.com>
9631
9632 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9633 Change from 2.6.0 to 2.6.16.
9634 * sysdeps/unix/sysv/linux/configure: Regenerated.
9635 * sysdeps/unix/sysv/linux/kernel-features.h
9636 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9637 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9638 version.
9639 (__ASSUME_UTIMES): Likewise.
9640 (__ASSUME_CLONE_STOPPED): Remove.
9641 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9642 architectures, not kernel version.
9643 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9644 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9645 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9646 (__ASSUME_WAITID_SYSCALL): Likewise.
9647 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9648 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9649 * README: State 2.6.16 as minimum Linux kernel version. Do not
9650 refer to older versions.
9651
03af9520
RM
96522012-08-06 Roland McGrath <roland@hack.frob.com>
9653
8e49df1d
RM
9654 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9655 Define alphasort64 as an alias.
9656 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9657 Define versionsort64 as an alias.
9658 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9659 Define scandir64 as an alias.
9660 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9661 Define scandirat64 as an alias.
9662 * dirent/alphasort64.c (alphasort64):
9663 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9664 * dirent/versionsort64.c: Likewise.
9665 * dirent/scandir64.c: Likewise.
9666 * dirent/scandirat64.c: Likewise.
9667 * sysdeps/wordsize-64/alphasort.c: File removed.
9668 * sysdeps/wordsize-64/alphasort64.c: File removed.
9669 * sysdeps/wordsize-64/scandir.c: File removed.
9670 * sysdeps/wordsize-64/scandir64.c: File removed.
9671 * sysdeps/wordsize-64/scandirat.c: File removed.
9672 * sysdeps/wordsize-64/scandirat64.c: File removed.
9673 * sysdeps/wordsize-64/versionsort.c: File removed.
9674 * sysdeps/wordsize-64/versionsort64.c: File removed.
9675 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9676 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9677 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9678 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9679 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9680 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9681 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9682 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9683
9684 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9685 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9686 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9687 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9688 [defined __arch64__ || defined __sparcv9]
9689 (__INO_T_MATCHES_INO64_T): New macro.
9690 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9691 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9692 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9693 * sysdeps/unix/sysv/linux/bits/dirent.h
9694 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9695 (_DIRENT_MATCHES_DIRENT64): New macro.
9696
03af9520
RM
9697 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9698 Define lockf64 as an alias.
9699 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9700 Define fseeko64 as an alias.
9701 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9702 Define ftello64 as an alias.
9703 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9704 Define _IO_fgetpos64 and fgetpos64 as aliases.
9705 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9706 Define _IO_fsetpos64 and fsetpos64 as aliases.
9707 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9708 Conditionalize body on this.
9709 * libio/fseeko64.c: Likewise.
9710 * libio/ftello64.c: Likewise.
9711 * libio/iofgetpos64.c: Likewise.
9712 * libio/iofsetpos64.c: Likewise.
9713 * sysdeps/wordsize-64/lockf.c: File removed.
9714 * sysdeps/wordsize-64/lockf64.c: File removed.
9715 * sysdeps/wordsize-64/fseeko.c: File removed.
9716 * sysdeps/wordsize-64/fseeko64.c: File removed.
9717 * sysdeps/wordsize-64/ftello.c: File removed.
9718 * sysdeps/wordsize-64/ftello64.c: File removed.
9719 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9720 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9721 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9722 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9723 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9724 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9725 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9726 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9727 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9728 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9729 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9730 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9731 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9732 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9733
9734 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9735 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9736 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9737 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9738 [defined __arch64__ || defined __sparcv9]
9739 (__OFF_T_MATCHES_OFF64_T): New macro.
9740 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9741 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9742 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9743 (__OFF_T_MATCHES_OFF64_T): New macro.
9744
c5757acd
L
97452012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9746
9747 * stdlib/secure-getenv.c (__secure_getenv): Replace
9748 GLIBC_2_16 with GLIBC_2_17.
9749
3a31811e
L
97502012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9751
9752 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9753 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9754
faa2bccb
DM
97552012-08-03 David S. Miller <davem@davemloft.net>
9756
9757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9758
85fe1997
JM
97592012-08-03 Joseph Myers <joseph@codesourcery.com>
9760
9761 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9762 Remove.
9763 (__ASSUME_CORRECT_SI_PID): Likewise.
9764 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9765 (__ASSUME_TMPFS_NAME): Likewise.
9766 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9767 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9768 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9769 (HAVE_AUX_SECURE): Make definition unconditional.
9770 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9771 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9772
4f75b7a0
RM
97732012-08-03 Roland McGrath <roland@hack.frob.com>
9774
9775 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9776 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9777 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9778 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9779 __eloop_threshold instead of SYMLOOP_MAX.
9780
9781 * sysdeps/generic/eloop-threshold.h: New file.
9782 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9783 of MAXSYMLINKS.
9784 * elf/chroot_canon.c (chroot_canon): Likewise.
9785
7aab07e4
JM
97862012-08-03 Joseph Myers <joseph@codesourcery.com>
9787
9788 [BZ #13717]
9789 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9790 Change to 2.6.0 everywhere.
9791 * sysdeps/unix/sysv/linux/configure: Regenerated.
9792 * sysdeps/unix/sysv/linux/kernel-features.h
9793 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9794 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9795 kernel versions.
9796 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9797 (__ASSUME_FUTEX_REQUEUE): Remove.
9798 (__ASSUME_STATFS64): Define unconditionally.
9799 (__ASSUME_AT_SECURE): Likewise.
9800 (__ASSUME_CORRECT_SI_PID): Likewise.
9801 (__ASSUME_TGKILL): Define without depending on kernel version for
9802 i386.
9803 (__ASSUME_UTIMES): Likewise.
9804 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9805 kernel version.
9806 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9807 (__ASSUME_TMPFS_NAME): Likewise.
9808 * README: Update reference to Linux kernel versions.
9809
b67e9372
MP
98102012-08-02 Marek Polacek <polacek@redhat.com>
9811
1f529f7d 9812 [BZ# 14150]
b67e9372
MP
9813 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9814 libc_cv_asm_type_prefix with %.
9815 * configure: Regenerated.
d2441631
RM
9816 * include/libc-symbols.h: Remove comment about
9817 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
9818 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9819 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9820 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9821 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9822 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9823 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9824 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9825 * elf/tst-unique2mod1.c: Likewise.
9826 * elf/tst-unique1mod2.c: Likewise.
9827 * elf/tst-unique1mod1.c: Likewise.
9828 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9829 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9830 Replace ASM_TYPE_DIRECTIVE with .type.
9831 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9832 * sysdeps/i386/sysdep.h: Likewise.
9833 * sysdeps/x86_64/sysdep.h: Likewise.
9834 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
9835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9836 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 9837 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
9838 * sysdeps/powerpc/powerpc32/sysdep.h:
9839 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
9840 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9841 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9842 * sysdeps/i386/fpu/e_powf.S: Likewise.
9843 * sysdeps/i386/fpu/e_expl.S: Likewise.
9844 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9845 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9846 * sysdeps/i386/fpu/e_pow.S: Likewise.
9847 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9848 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9849 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9850 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9851 * sysdeps/i386/fpu/e_log2.S: Likewise.
9852 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9853 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9854 * sysdeps/i386/fpu/e_powl.S: Likewise.
9855 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9856 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9857 * sysdeps/i386/fpu/e_logl.S: Likewise.
9858 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9859 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9860 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9861 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9862 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9863 * sysdeps/i386/fpu/e_log.S: Likewise.
9864 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9865 * sysdeps/i386/fpu/e_logf.S: Likewise.
9866 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9867 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9868 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9869 * sysdeps/i386/fpu/e_log10.S: Likewise.
9870 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9871 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9872 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9873 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9874 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9875 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9876 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9877 * sysdeps/i386/i686/strtok.S: Likewise.
9878 * sysdeps/i386/i386-mcount.S: Likewise.
9879 * sysdeps/i386/strtok.S: Likewise.
9880 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9881 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9882 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9883 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9884 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9885 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9886 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9887 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9888 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9889 * sysdeps/x86_64/_mcount.S: Likewise.
9890 * sysdeps/x86_64/strtok.S: Likewise.
9891 * sysdeps/sh/_mcount.S: Likewise.
9892
2747bf9a
RM
98932012-08-01 Roland McGrath <roland@hack.frob.com>
9894
9895 * libio/iofopen.c: Include <fcntl.h>.
9896 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9897 (_IO_fopen64, fopen64): Define as aliases.
9898 * libio/iofopen64.c: Include <fcntl.h>.
9899 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9900 Conditionalize body on this.
9901 * sysdeps/wordsize-64/iofopen.c: File removed.
9902 * sysdeps/wordsize-64/iofopen64.c: File removed.
9903
3fb791b8
MP
99042012-08-01 Marek Polacek <polacek@redhat.com>
9905
9906 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9907 Use dlfcn directly instead of a variable.
9908 (binfmt-subdir): Do not define.
9909 (dlfcn): Likewise.
9910
a9f1039f
JM
99112012-08-01 Joseph Myers <joseph@codesourcery.com>
9912
23bddc06
JM
9913 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9914 Remove all definitions.
9915 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9916 <kernel-features.h>.
9917 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9918 (miss_F_GETOWN_EX): Remove all definitions.
9919 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9920 macro definition.
9921 [!__ASSUME_FCNTL64]: Remove conditional code.
9922 [__ASSUME_FCNTL64]: Make code unconditional.
9923 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9924 <kernel-features.h>.
9925 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9926 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9927 (lockf64) [__NR_fcntl64]: Make code unconditional.
9928 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9929
a9f1039f
JM
9930 * sysdeps/unix/sysv/linux/kernel-features.h
9931 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9932 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9933 Make code unconditional.
9934 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9935 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9937 [__NR_vfork]: Make code unconditional.
9938 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9939 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9941 [__NR_vfork]: Make code unconditional.
9942 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9943 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9944
09c0ee5f
RM
99452012-08-01 Roland McGrath <roland@hack.frob.com>
9946
48aec5b9
RM
9947 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9948 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9949
cd97c966
RM
9950 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9951 Define mkstemp64 as an alias.
3f55550c
RM
9952 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9953 Define mkstemps64 as an alias.
cd97c966
RM
9954 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9955 Define mkostemp64 as an alias.
b8625cfc
RM
9956 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9957 Define mkostemps64 as an alias.
cd97c966
RM
9958 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9959 Conditionalize body on this.
9960 * misc/mkostemp64.c: Likewise.
b8625cfc 9961 * misc/mkostemps64.c: Likewise.
3f55550c 9962 * misc/mkstemps64.c: Likewise.
cd97c966
RM
9963 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9964 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9965 * sysdeps/wordsize-64/mkostemp.c: File removed.
9966 * sysdeps/wordsize-64/mkstemp.c: File removed.
9967 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9968 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9969 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9970 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9971
09c0ee5f
RM
9972 [BZ #14138]
9973 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
9974 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
9975 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
9976 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
9977
9978 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
9979 compat_symbol macros from <shlib-compat.h> rather than the underlying
9980 default_symbol_version and symbol_version macros, so that DEFAULT
9981 lines in shlib-versions are respected.
9982 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
9983
7e66ee51
FW
99842012-08-01 Florian Weimer <fweimer@redhat.com>
9985
9986 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
9987 Declare with warn_unused_result.
9988 (setgid, setregid, setegid, setresgid): Likewise.
9989 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
9990 Likewise.
9991 * WUR-REPORT: Remove set*id functions.
9992
d2a54255
PT
99932012-07-31 Pino Toscano <toscano.pino@tiscali.it>
9994
9995 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
9996
7ecdb005
RM
99972012-07-31 Roland McGrath <roland@hack.frob.com>
9998
789bd351
RM
9999 * include/sys/socket.h (__libc_accept, __libc_accept4):
10000 Add attribute_hidden.
10001 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10002
40ce302d
RM
10003 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10004 use of PTR_MANGLE.
10005 * inet/getnetgrent_r.c (setup): Likewise.
10006
7ecdb005
RM
10007 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10008
e2eabb2c
DM
100092012-07-31 David S. Miller <davem@davemloft.net>
10010
10011 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10012
d0419dbf
JM
100132012-07-31 Joseph Myers <joseph@codesourcery.com>
10014
10015 [BZ #13629]
10016 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10017 value between 1.0 and 2.0 and smaller part has absolute value less
10018 than 1.0.
10019 * math/s_clog10.c (__clog10): Likewise.
10020 * math/s_clog10f.c (__clog10f): Likewise.
10021 * math/s_clog10l.c (__clog10l): Likewise.
10022 * math/s_clogf.c (__clogf): Likewise.
10023 * math/s_clogl.c (__clogl): Likewise.
10024 * math/libm-test.inc (clog_test): Add more tests.
10025 (clog10_test): Likewise.
10026 * sysdeps/i386/fpu/libm-test-ulps: Update.
10027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10028
2bc13872
FW
100292012-07-31 Florian Weimer <fweimer@redhat.com>
10030
10031 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10032 Exit with zero in case no suitable GID is found, and write a
10033 message to standard error.
10034
bea9b193
RM
100352012-07-30 Roland McGrath <roland@hack.frob.com>
10036
10037 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10038 rather than to 1.
10039 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10040 (MAXPATHLEN): Removed.
10041 (NOGROUP, NODEV): New macros.
10042 (setbit, clrbit, isset, isclr): New macros.
10043 (howmany, roundup, powerof2): New macros.
10044 (DEV_BSIZE): New macro.
10045
10046 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10047 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10048
10049 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10050 definition on [!__NO_LONG_DOUBLE_MATH].
10051
10052 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10053 PTR_MANGLE and PTR_DEMANGLE.
10054
10055 * socket/accept4.c (accept4): Rename to __libc_accept4.
10056 Define accept4 as a weak alias.
10057
10058 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10059 on [_DIRENT_HAVE_D_TYPE].
10060 * io/ftw.c (ftw_dir): Likewise.
10061
10062 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10063
10064 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10065
10066 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10067 Use the BSD numbers rather than the arbitrary ones we had.
10068 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10069 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10070 (SIGXCPU, SIGXFSZ): New macros.
10071 (_NSIG): Now 32.
10072
10073 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10074 initializer on [_LIBC_REENTRANT].
10075
10076 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10077 definitions inside [_POSIX_MAPPED_FILES].
10078
10079 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10080
10081 * dirent/opendir.c: Include <fcntl.h>.
10082
10083 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10084 (__libc_getspecific): Likewise.
10085 (__libc_key_create): Likewise.
10086
10087 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10088 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10089 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10090 (tmpfile64): Define as alias.
10091 * sysdeps/wordsize-64/tmpfile.c: File removed.
10092 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10093 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10094 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10095
10096 * stdio-common/vfscanf.c: Include <stdbool.h>.
10097 * nss/makedb.c: Likewise.
10098 * stdio-common/_i18n_number.h: Likewise.
10099 * argp/argp-help.c: Likewise.
10100 * posix/wordexp.c: Likewise.
10101 * sysdeps/posix/spawni.c: Likewise.
10102 * nss/nss_files/files-initgroups.c: Likewise.
10103 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10104 * nss/nss_files/files-initgroups.c: Likewise.
10105 * nss/nss_db/db-netgrp.c: Likewise.
10106 * nss/nss_db/db-initgroups.c: Likewise.
10107 * io/fchmodat.c: Include <sys/stat.h>.
10108
10109 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10110 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10111
10112 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10113 [HAVE_MMAP].
10114
10115 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10116 Add multiple inclusion protection.
10117
e5abc686
DM
101182012-07-27 David S. Miller <davem@davemloft.net>
10119
10120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10121
815e6fa3
GB
101222012-07-27 Gary Benson <gbenson@redhat.com>
10123
10124 [BZ #14298]
10125 * elf/rtld.c: Include <stap-probe.h>.
10126 (dl_main): Added static probes "init_start" and "init_complete".
10127 * elf/dl-load.c: Include <stap-probe.h>.
10128 (lose): Take new parameter "nsid".
10129 Added static probe "map_failed".
10130 (_dl_map_object_from_fd): Pass namespace id to lose.
10131 Added static probe "map_start".
10132 (open_verify): Pass namespace id to lose.
10133 * elf/dl-open.c: Include <stap-probe.h>.
10134 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10135 and "reloc_complete".
10136 * elf/dl-close.c: Include <stap-probe.h>.
10137 (_dl_close_worker): Added static probes "unmap_start" and
10138 "unmap_complete".
10139 * elf/rtld-debugger-interface.txt: New file documenting the above.
10140
9f98c16c
RM
101412012-07-26 Roland McGrath <roland@hack.frob.com>
10142
10143 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10144 rather than a string variable.
10145 * sunrpc/rpc_main.c (h_output): Likewise.
10146 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10147
f3c22df3
PT
101482012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10149
10150 * inet/check_native.c: New file.
10151
3129cfc6
JM
101522012-07-26 Joseph Myers <joseph@codesourcery.com>
10153
da865e95
JM
10154 [BZ #13629]
10155 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10156 if larger part has absolute value 1.0.
10157 * math/s_clog10.c (__clog10): Likewise.
10158 * math/s_clog10f.c (__clog10f): Likewise.
10159 * math/s_clog10l.c (__clog10l): Likewise.
10160 * math/s_clogf.c (__clogf): Likewise.
10161 * math/s_clogl.c (__clogl): Likewise.
10162 * math/libm-test.inc (clog_test): Add more tests.
10163 (clog10_test): Likewise.
10164 * sysdeps/i386/fpu/libm-test-ulps: Update.
10165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10166
3129cfc6
JM
10167 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10168 (pltexit): Likewise.
10169 (La_regs): Likewise.
10170 (La_retval): Likewise.
10171 (int_retval): Likewise.
10172 Update #error for removed macros to refer only to definitions in
10173 tst-audit.h.
10174 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10175 macro.
10176 (pltexit): Likewise.
10177 (La_regs): Likewise.
10178 (La_retval): Likewise.
10179 (int_retval): Likewise.
10180 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10181 macro.
10182 (pltexit): Likewise.
10183 (La_regs): Likewise.
10184 (La_retval): Likewise.
10185 (int_retval): Likewise.
10186 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10187 macro.
10188 (pltexit): Likewise.
10189 (La_regs): Likewise.
10190 (La_retval): Likewise.
10191 (int_retval): Likewise.
10192 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10193 macro.
10194 (pltexit): Likewise.
10195 (La_regs): Likewise.
10196 (La_retval): Likewise.
10197 (int_retval): Likewise.
10198 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10199 macro.
10200 (pltexit): Likewise.
10201 (La_regs): Likewise.
10202 (La_retval): Likewise.
10203 (int_retval): Likewise.
10204 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10205 macro.
10206 (pltexit): Likewise.
10207 (La_regs): Likewise.
10208 (La_retval): Likewise.
10209 (int_retval): Likewise.
10210 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10211 macro definitions in tst-audit.h.
10212 * sysdeps/i386/tst-audit.h: New file.
10213 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10214 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10215 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10216 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10217 * sysdeps/sh/tst-audit.h: Likewise.
10218 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10219 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10220 * sysdeps/x86_64/tst-audit.h: Likewise.
10221
bfc07087
AJ
102222012-07-26 Andreas Jaeger <aj@suse.de>
10223
b1b2aaf8
AJ
10224 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10225 ptrace.
10226
10227 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10228 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10229 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10230 PTRACE_O_MASK.
10231 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10232 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10233 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10234
bfc07087
AJ
10235 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10236 value.
10237
10238 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10239 _sigsys.
10240 (si_call_addr, si_syscall, si_arch): Define new macro.
10241 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10242 _sigsys.
10243 (si_call_addr, si_syscall, si_arch): Define new marcro.
10244 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10245 _sigsys.
10246 (si_call_addr, si_syscall, si_arch): Define new macro.
10247 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10248 _sigsys.
10249 (si_call_addr, si_syscall, si_arch): Define new macro.
10250
89b4b02f
JM
102512012-07-25 Joseph Myers <joseph@codesourcery.com>
10252
10253 [BZ #13717]
10254 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10255 Change to 2.4.21 where previously 2.4.1.
10256 * sysdeps/unix/sysv/linux/configure: Regenerated.
10257 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10258 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10259 Linux kernel version.
10260 (__ASSUME_STD_AUXV): Remove.
10261 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10262 kernel version.
10263 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10264 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10265 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10266 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10267 (__ASSUME_NETLINK_SUPPORT): Likewise.
10268 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10269 (__no_netlink_support): Remove conditional definition.
10270 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10271 Remove.
10272 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10273 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10274 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10275 (if_nameindex_ioctl): Remove.
10276 (if_nameindex_netlink): Do not handle __no_netlink_support.
10277 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10278 code.
10279 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10280 Remove conditional code.
10281 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10282 code.
10283 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10284 unconditional.
10285 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10286 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10287 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10288 Remove.
10289 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10290 [!__ASSUME_STD_AUXV]: Remove conditional code.
10291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10292 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10293 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10295 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10296 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10297 code.
10298 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10300 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10301 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10302 conditional code.
10303 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10305 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10306 code.
10307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10308 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10309 conditional code.
10310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10311 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10312 code unconditional.
10313 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10314 conditional code.
10315 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10316 unconditional.
10317 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10318 conditional code.
10319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10320 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10321 unconditional.
10322 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10323 conditional code.
10324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10325 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10326 code unconditional.
10327 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10328 conditional code.
10329 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10330 unconditional.
10331 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10332 conditional code.
10333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10334 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10335 code unconditional.
10336 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10337 conditional code.
10338 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10339 unconditional.
10340 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10341 conditional code.
10342
842a39cd
AS
103432012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10344
10345 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10346 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10347 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10348 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10349 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10350 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10351 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10352 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10353 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10354 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10355 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10356 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10357 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10358 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10359 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10360 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10361 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10362 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10363 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10364 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10365 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10366 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10367 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10368
84b3fd84
FW
103692012-07-25 Florian Weimer <fweimer@redhat.com>
10370
10371 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
10372 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10373 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10374 Introduce __libc_secure_getenv.
0c7936d5
FW
10375 * stdlib/Versions (2.17): Add secure_getenv
10376 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10377 * stdlib/secure-getenv.c: Rename __secure_getenv to
10378 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10379 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
10380 * stdlib/tst-secure-getenv.c: New.
10381 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
10382 * manual/startup.texi (Environment Access): Document
10383 secure_getenv.
84b3fd84
FW
10384 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10385 __libc_secure_getenv.
10386 * inet/ruserpass.c (ruserpass): Likewise.
10387 * malloc/mtrace.c (mtrace): Likewise.
10388 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 10389 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
10390 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10391 * sysdeps/posix/tempname.c: Likewise. Evaluate
10392 HAVE_SECURE_GETENV.
10393 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 10394 __secure_getenv to __libc_secure_getenv.
84b3fd84 10395 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
10396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10397 Likewise.
10398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10399 Likewise.
10400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10402 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10404 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10405 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 10407
56e49b71
JM
104082012-07-25 Joseph Myers <joseph@codesourcery.com>
10409
10410 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10411 (struct La_i86_retval): Likewise.
10412 (struct La_x86_64_regs): Likewise.
10413 (struct La_x86_64_retval): Likewise.
10414 (struct La_x32_regs): Likewise.
10415 (struct La_x32_retval): Likewise.
10416 (struct La_ppc32_regs): Likewise.
10417 (struct La_ppc32_retval): Likewise.
10418 (struct La_ppc64_regs): Likewise.
10419 (struct La_ppc64_retval): Likewise.
10420 (struct La_sh_regs): Likewise.
10421 (struct La_sh_retval): Likewise.
10422 (struct La_s390_32_regs): Likewise.
10423 (struct La_s390_32_retval): Likewise.
10424 (struct La_s390_64_regs): Likewise.
10425 (struct La_s390_64_retval): Likewise.
10426 (struct La_sparc32_regs): Likewise.
10427 (struct La_sparc32_retval): Likewise.
10428 (struct La_sparc64_regs): Likewise.
10429 (struct La_sparc64_retval): Likewise.
10430 (struct audit_ifaces): Remove architecture-specific pltenter and
10431 pltexit members.
10432 * sysdeps/i386/ldsodefs.h: New file.
10433 * sysdeps/powerpc/ldsodefs.h: Likewise.
10434 * sysdeps/s390/ldsodefs.h: Likewise.
10435 * sysdeps/sh/ldsodefs.h: Likewise.
10436 * sysdeps/sparc/ldsodefs.h: Likewise.
10437 * sysdeps/x86_64/ldsodefs.h: Likewise.
10438
354691b7
MP
104392012-07-25 Marek Polacek <polacek@redhat.com>
10440
10441 [BZ #6808]
10442 * math/libm-test.inc (yn_test): Add another test.
10443 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10444 to ERANGE when the result is +-Inf.
10445 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10446 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10447 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10448 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10449
bf9e2071
JM
104502012-07-24 Joseph Myers <joseph@codesourcery.com>
10451
10452 * conform/data/time.h-data (NULL): Use macro-constant. Require
10453 equal to 0.
10454 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10455 clock_t.
10456 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10457
57633811
TS
104582012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10459
10460 * configure.in <sysdeps resolving>: Correct printing
10461 Implies_before.
10462 * configure: Regenerate.
10463
c23c33b0
TS
104642012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10465
10466 * math/w_ilogb.c: Include <limits.h>.
10467 * math/w_ilogbl.c: Likewise.
10468
b5982523
JM
104692012-07-20 Joseph Myers <joseph@codesourcery.com>
10470
10471 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10472 va_copy. Document allowing for unavailable va_copy only as
10473 pre-C99 compatibility.
10474 * manual/string.texi (Copying and Concatenation): Use va_copy
10475 instead of __va_copy in concat example.
10476
ac4ea442
PT
104772012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10478
10479 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10480 (__sendto): Use create_address_port. Initialize APORT and deallocate
10481 it if not null.
10482
f98eafbd
PT
10483 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10484 with O_NOLINK passed to __file_name_lookup.
10485
898c7aab
PT
10486 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10487 with O_NOLINK passed to __file_name_lookup.
10488
0ced335a
PT
10489 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10490 negative N or less than NGIDS.
10491
b3404dbd
PT
10492 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10493 type to string_t. Set ERANGE as errno and return it if NAME is not big
10494 enough. Use memcpy instead of strncpy.
10495
0f48659e
JM
104962012-07-20 Joseph Myers <joseph@codesourcery.com>
10497
10498 * elf/Makefile (check-data): Remove.
10499 (localplt.data): New vpath directive.
10500 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10501 instead of $(check-data).
10502 * scripts/data/localplt-generic.data: Move to ...
10503 * sysdeps/generic/localplt.data: ... here.
10504 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10505 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10506 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10508 ... here.
10509 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10511 ... here.
10512 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10514 ... here.
10515 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10517 ... here.
10518 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10519 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10520 ... here.
10521 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10523 ... here.
10524
d37cbdaa
AZ
105252012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10526
10527 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10528 PPC32 and PPC64 files.
10529 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10530 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10531
46f85fc2
AK
105322012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10533
10534 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10535 __makecontext_ret to ...
10536 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10537 ... here and call exit if uc_link is NULL. New file.
10538 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10539 __makecontext_ret.S.
10540 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10541 __makecontext_ret to ...
10542 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10543 ... here and call exit if uc_link is NULL. New file.
10544 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10545 __makecontext_ret.S.
10546
08f43f9b
AK
105472012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10548
10549 * elf/elf.h (R_390_IRELATIVE): New definition.
10550 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10551 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10552 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10553 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10554 (elf_machine_lazy_rel): Likewise.
10555 * sysdeps/s390/dl-irel.h: New file.
10556 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10557 * sysdeps/s390/s390-64/memset.S: New asm code.
10558 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10559 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10560 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10561 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10562 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10563 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10564 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10565 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10566 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10567 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10568 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10569 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10570 * sysdeps/s390/s390-32/memset.S: New asm code.
10571 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10572
3b05db33
MP
105732012-07-17 Marek Polacek <polacek@redhat.com>
10574
10575 [BZ #14349]
10576 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10577 * sysdeps/s390/s390-64/configure.in: Likewise.
10578 * sysdeps/sparc/configure.in: Likewise.
10579 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10580 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10581 * sysdeps/i386/configure.in: Likewise.
10582 * sysdeps/x86_64/configure.in: Likewise.
10583 * sysdeps/sh/configure.in: Likewise.
10584 * sysdeps/s390/s390-32/configure: Regenerated.
10585 * sysdeps/s390/s390-64/configure: Likewise.
10586 * sysdeps/x86_64/configure: Likewise.
10587 * sysdeps/sh/configure: Likewise.
10588 * sysdeps/powerpc/powerpc64/configure: Likewise.
10589 * sysdeps/powerpc/powerpc32/configure: Likewise.
10590 * sysdeps/sparc/configure: Likwise.
10591 * sysdeps/i386/configure: Likewise.
10592
a66877c6
MP
10593 * elf/dl-open.c: Comment fixes.
10594
cfc82fd8
JM
105952012-07-17 Joseph Myers <joseph@codesourcery.com>
10596
bd29910a
JM
10597 * Makefile [CXX] (check-data): Remove.
10598 [CXX] (c++-types.data): New vpath directive.
10599 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10600 vpath. Do not allow for C++ type data being missing.
10601 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10602 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10603 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10604 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10605 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10606 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10607 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10609 ... here.
10610 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10612 ... here.
10613 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10615 ... here.
10616 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10618 ... here.
10619 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10621 ... here.
10622 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10623 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10624 ... here.
10625 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10626 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10627 ... here.
10628 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10630
cfc82fd8
JM
10631 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10632 definitions to architecture-specific files.
10633 (TLS_IE): Likewise.
10634 (TLS_LD): Likewise.
10635 (TLS_GD): Likewise.
10636 * sysdeps/i386/tls-macros.h: New file.
10637 * sysdeps/powerpc/tls-macros.h: Likewise.
10638 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10639 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10640 * sysdeps/sh/tls-macros.h: Likewise.
10641 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10642 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10643 * sysdeps/x86_64/tls-macros.h: Likewise.
10644
f7db3170
TS
106452012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10646
07cbfc23
TS
10647 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10648 zero value for regular exit case.
10649
f7db3170
TS
10650 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10651 (__start_context): Preserve zero value for regular exit case.
10652
dc97c227
TS
106532012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10654 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10655
10656 * manual/setjmp.texi (setcontext): Clarify normal process
10657 termination when uc_link is the null pointer.
10658 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10659 exit call.
10660
d0cd7d02
AS
106612012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10662
10663 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10664 preprocessor. Test for each exception mask separately.
10665
dd318934
AJ
106662012-07-16 Andreas Jaeger <aj@suse.de>
10667
10668 * po/ru.po: Update from translation team.
10669
8048311a
JM
106702012-07-15 Joseph Myers <joseph@codesourcery.com>
10671
10672 * conform/data/string.h-data (NULL): Use macro-constant. Require
10673 equal to 0.
10674 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10675 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10676 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10677 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10678 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10679
b637d46e
AJ
106802012-07-13 Andreas Jaeger <aj@suse.de>
10681
10682 * po/fr.po: Update from translation team.
10683
541428fe
MP
106842012-07-12 Marek Polacek <polacek@redhat.com>
10685
10686 [BZ #14173]
10687 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10688 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10689 loop condition.
10690
ec332e94
JM
106912012-07-12 Joseph Myers <joseph@codesourcery.com>
10692
10693 [BZ #13717]
10694 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10695 Change to 2.4.1 where previously 2.4.0.
10696 * sysdeps/unix/sysv/linux/configure: Regenerated.
10697 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10698 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10699 version.
10700 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10701 (__ASSUME_AT_CLKTCK): Remove.
10702 (__ASSUME_AT_PAGESIZE): Likewise.
10703 (__ASSUME_AT_XID): Likewise.
10704 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10705 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10706 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10707 unconditionally.
10708 (HAVE_AUX_PAGESIZE): Likewise.
10709 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10710 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10711 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10712
7b6e99be
JB
107132012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10714
10715 [BZ #14307]
10716 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10717 the temporary buffer used to invoke __gethostbyname2_r,
10718 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10719 host_data / struct gaih_addrtuple.
10720 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10721 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10722 header file nss/nsswitch.h.
10723 * nss/nsswitch.h (global scope): Add definition of implementation
10724 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10725 resolv/nss_dns/dns-host.c).
10726
608404eb
AJ
107272012-07-11 Andreas Jaeger <aj@suse.de>
10728
10729 * po/fr.po: Update from translation team.
10730
71220aca
AJ
10731 * po/sv.po: Update from translation team
10732 * po/fr.po: Another update from translation team.
10733
28cfe843
AZ
107342012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10735
10736 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10737 for subnormals or multiply small sinh result by itself.
10738 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10740
6b90f981
DM
107412012-07-11 David S. Miller <davem@davemloft.net>
10742
10743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10744
c6825772
AS
107452012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10746
10747 [BZ #14347]
10748 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10749 (INTERNAL_MARK): Shift it here.
10750
7b8e0d49
MP
107512012-07-10 Marek Polacek <polacek@redhat.com>
10752
10753 [BZ #14151]
10754 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10755 libc_cv_asm_global_directive with .globl.
10756 * configure: Regenerated.
10757 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10758 with .globl.
10759 * sysdeps/i386/configure: Regenerated.
10760 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10761 with .globl.
10762 * sysdeps/x86_64/configure: Regenerated.
10763 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10764 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10765 * elf/tst-unique2mod2.c: Likewise.
10766 * elf/tst-unique2mod1.c: Likewise.
10767 * elf/tst-unique1mod2.c: Likewise.
10768 * elf/tst-unique1mod1.c: Likewise.
10769 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10770 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10771 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10772 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10773 * sysdeps/mach/sysdep.h: Likewise.
10774 * sysdeps/i386/sysdep.h: Likewise.
10775 * sysdeps/i386/i386-mcount.S: Likewise.
10776 * sysdeps/x86_64/_mcount.S: Likewise.
10777 * sysdeps/x86_64/sysdep.h: Likewise.
10778 * sysdeps/sh/_mcount.S: Likewise.
10779 * sysdeps/sh/sysdep.h: Likewise.
10780 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10781 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10782 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10783 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10784 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10785 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10786 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10787 * locale/localeinfo.h: Likewise.
10788 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10789 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10790
6c55cda3
RM
107912012-07-09 Roland McGrath <roland@hack.frob.com>
10792
10793 [BZ #14336]
10794 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10795 system".
10796 * manual/message.texi (The Uniforum approach): Likewise.
10797 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10798 (glibc iconv Implementation): Likewise.
10799
638a572e
JM
108002012-07-09 Joseph Myers <joseph@codesourcery.com>
10801
10802 [BZ #14337]
10803 * math/s_clog.c (__clog): Avoid scaling a value down where that
10804 could result in underflow.
10805 * math/s_clog10.c (__clog10): Likewise.
10806 * math/s_clog10f.c (__clog10f): Likewise.
10807 * math/s_clog10l.c (__clog10l): Likewise.
10808 * math/s_clogf.c (__clogf): Likewise.
10809 * math/s_clogl.c (__clogl): Likewise.
10810 * math/libm-test.inc (clog_test): Add more tests.
10811 (clog10_test): Likewise.
10812 * sysdeps/i386/fpu/libm-test-ulps: Update.
10813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10814
261f4859
AS
108152012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10816
0abaf3e4
AS
10817 [BZ #14283]
10818 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10819 by 7 not 8 to examine high bit of fractional part.
10820
261f4859
AS
10821 [BZ #14042]
10822 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10823 for call to __mcount_internal.
10824 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10825 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10826 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10827
f17ac40d
JM
108282012-07-06 Joseph Myers <joseph@codesourcery.com>
10829
9ad63c23
JM
10830 [BZ #14154]
10831 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10832 approximation for values within 0x1p-13f of an odd multiple of
10833 pi/4.
10834 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10835 exception. Add more tests.
10836 * sysdeps/i386/fpu/libm-test-ulps: Update.
10837
f17ac40d
JM
10838 [BZ #6778]
10839 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10840 inputs and return -1 for them. Do not check for +Inf in case not
10841 reachable for +Inf.
10842 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10843 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not 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 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10848 define.
10849 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10850 and return -1 for them. Do not check for +Inf in case not
10851 reachable for +Inf.
10852 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10853 spurious underflow.
10854 * sysdeps/i386/fpu/libm-test-ulps: Update.
10855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10856
fb21f89b
MF
108572012-07-06 Mike Frysinger <vapier@gentoo.org>
10858
10859 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10860
cdfe2c5e
JM
108612012-07-05 Joseph Myers <joseph@codesourcery.com>
10862
10863 [BZ #14157]
10864 [BZ #14331]
10865 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10866 could result in spurious underflow. Scale down values above
10867 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10868 * math/s_csqrtf.c (__csqrtf): Likewise.
10869 * math/s_csqrtl.c (__csqrtl): Likewise.
10870 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10871 spurious underflow.
10872 * sysdeps/i386/fpu/libm-test-ulps: Update.
10873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10874
70d35b67
AS
108752012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10876
704bc459
AS
10877 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10878 xopen-msg.sed.
10879 * catgets/xopen-msg.awk: New file.
10880 * catgets/xopen-msg.sed: Removed.
10881
70d35b67
AS
10882 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10883 po2text.sed.
10884 * intl/po2test.awk: New file.
10885 * intl/po2test.sed: Removed.
10886
ca61cf32
JM
108872012-07-04 Joseph Myers <joseph@codesourcery.com>
10888
10889 [BZ #14328]
10890 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10891 or multiply small sinh result by itself.
10892 * math/s_ctanf.c (__ctanf): Likewise.
10893 * math/s_ctanh.c (__ctanh): Likewise.
10894 * math/s_ctanhf.c (__ctanhf): Likewise.
10895 * math/s_ctanhl.c (__ctanhl): Likewise.
10896 * math/s_ctanl.c (__ctanl): Likewise.
10897 * math/libm-test.inc (ctan_test_tonearest): New function.
10898 (ctan_test_towardzero): Likewise.
10899 (ctan_test_downward): Likewise.
10900 (ctan_test_upward): Likewise.
10901 (ctanh_test_tonearest): Likewise.
10902 (ctanh_test_towardzero): Likewise.
10903 (ctanh_test_downward): Likewise.
10904 (ctanh_test_upward): Likewise.
10905 (main): Call these new functions.
10906 * sysdeps/i386/fpu/libm-test-ulps: Update.
10907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10908
ca48a46a
MF
109092012-07-03 Mike Frysinger <vapier@gentoo.org>
10910
10911 * .gitignore: Delete /ports entry.
10912
9d63d37d
AJ
109132012-07-03 Andreas Jaeger <aj@suse.de>
10914
10915 * po/bg.po: Update from translation team.
10916 * po/cs.po: Likewise.
10917 * po/de.po: Likewise.
10918 * po/hr.po: Likewise.
10919 * po/nl.pl: Likewise.
10920 * po/pl.po: Likewise.
10921 * po/vi.po: Likewise.
10922
370ca3d2
JM
109232012-07-03 Joseph Myers <joseph@codesourcery.com>
10924
95f5a9a8
JM
10925 * Makeconfig [!+link] (+link-before-libc): New variable.
10926 [!+link] (+link-after-libc): Likewise.
10927 [!+link] (+link-tests): Likewise.
10928 [!+link] (+link): Define in terms of $(+link-before-libc) and
10929 $(+link-after-libc).
10930 [!+link-static] (+link-static-before-libc): New variable.
10931 [!+link-static] (+link-static-after-libc): Likewise.
10932 [!+link-static] (+link-static-tests): Likewise.
10933 [!+link-static] (+link-static): Define in terms of
10934 $(+link-static-before-libc) and $(+link-static-after-libc).
10935 [build-shared] (link-libc-before-gnulib): New variable.
10936 [build-shared] (link-libc-tests): Likewise.
10937 [build-shared] (link-libc): Define in terms of
10938 $(link-libc-before-gnulib).
10939 [!build-shared] (link-libc-tests): New variable.
10940 (link-libc-static-tests): New variable.
10941 [!gnulib] (gnulib-arch): New variable.
10942 [!gnulib] (gnulib-tests): Likewise.
10943 [!gnulib] (static-gnulib-arch): Likewise.
10944 [!gnulib] (static-gnulib-tests): Likewise.
10945 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10946 Define with "=" instead of ":=".
10947 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10948 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10949 * Rules (binaries-all-notests): New variable.
10950 (binaries-all-tests): Likewise.
10951 (binaries-static-notests): Likewise.
10952 (binaries-static-tests): Likewise.
10953 (binaries-all): Define using $(binaries-all-notests) and
10954 $(binaries-all-tests).
10955 (binaries-static): Define using $(binaries-static-notests) and
10956 $(binaries-static-tests).
10957 (binaries-shared-tests): New variable.
10958 (binaries-shared-notests): Likewise.
10959 (binaries-shared): Remove variable.
10960 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10961 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10962 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10963 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10964 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10965 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10966 * elf/Makefile (sln-modules): New variable.
10967 (extra-objs): Add $(sln-modules:=.o).
10968 (ldconfig-modules): Add static-stubs.
10969 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10970 * elf/static-stubs.c: New file.
10971
7a845b2c
JM
10972 [BZ #14283]
10973 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
10974 by 7 not 8 to examine high bit of fractional part. Use volatile
10975 variables when splitting into final array of floats if
10976 __FLT_EVAL_METHOD__ != 0.
10977 * math/libm-test.inc (cos_test): Add another test.
10978 (sin_test): Likewise.
10979 * sysdeps/i386/fpu/libm-test-ulps: Update.
10980
e2283f38
JM
10981 [BZ #14273]
10982 * math/libm-test.inc (cosh_test): Add more tests.
10983
370ca3d2
JM
10984 * version.h (RELEASE): Set to "development".
10985 (VERSION): Set to "2.16.90".
10986
ee9247c3
CD
109872012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
10988
10989 * NEWS: Update copyright. Remove last-updated date.
10990 Mention math library bug fixes and timezone data changes.
10991 * README: Mention GNU/Hurd, x32, and HPPA support status.
10992
4648c381
TS
109932012-06-28 Thomas Schwinge <thomas@codesourcery.com>
10994
10995 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
10996
aac78a43
AJ
109972012-06-27 Andreas Jaeger <aj@suse.de>
10998
10999 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11000
ed3dbfad
AJ
110012012-06-25 Andreas Jaeger <aj@suse.de>
11002
11003 * sysdeps/s390/fpu/libm-test-ulps: Update.
11004
4d0ee855
AS
110052012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11006 Thomas Schwinge <thomas@codesourcery.com>
11007
11008 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11009 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11010 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11011 fanotify_mark.
11012
af1bce34
TS
110132012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11014
a9fa33ba
TS
11015 * sysdeps/mach/start.c: Remove file.
11016 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11017 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11018 * sysdeps/sh/init-first.c: Likewise.
11019
58f902b8
TS
11020 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11021 registers for frame unwinding purposes, add CFI directives.
11022 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11023 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11024 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11025 Likewise.
11026
1518f58b
TS
11027 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11028 __fortify_fail returning.
11029 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11030
db9b5059
TS
11031 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11032 sysdeps/sh/____longjmp_chk.S.
11033 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11034 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11035 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11036 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11037
967705fe
TS
11038 * sysdeps/sh/abort-instr.h: New file.
11039 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11040 process in case exit returns.
11041
a9def8c4
TS
11042 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11043 initialize the GOT register before use.
11044
2a649725
TS
11045 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11046 calculation of ARGC > 4.
11047
af1bce34
TS
11048 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11049 meaningful names to some local labels.
11050
d230f50a
KK
110512012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11052 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11053
11054 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11055 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11056 (__arch_compare_and_exchange_val_16_acq): Likewise.
11057 (__arch_compare_and_exchange_val_32_acq): Likewise.
11058 (atomic_exchange_and_add): Fix gUSA sequence.
11059 (atomic_add): Likewise.
11060 (atomic_add_negative): Likewise.
11061 (atomic_add_zero): Likewise.
11062 (atomic_bit_test_set): Likewise.
11063
0479b305
AS
110642012-06-22 Andreas Schwab <schwab@redhat.com>
11065
11066 [BZ #13579]
11067 * include/link.h (struct link_map): Add l_free_initfini.
11068 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11069 l_initfini.
11070 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11071 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11072 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11073 set.
11074
0e3933b9
CD
110752012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11076
11077 * configure.in: Use AC_LANG_SOURCE.
11078 * configure: Regenerate.
11079
4248b1b1
RM
110802012-06-22 Roland McGrath <roland@hack.frob.com>
11081
11082 * configure.in (libc_cv_localstatedir): New substituted variable.
11083 * configure: Regenerated.
11084 * config.make.in (localstatedir): New variable, substituted from
11085 libc_cv_localstatedir.
11086 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11087 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11088 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11089 * sysdeps/gnu/configure: Regenerated.
11090
006dd861
JL
110912012-06-21 Jeff Law <law@redhat.com>
11092
11093 [BZ #14277]
11094 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11095 free. Simplify list management for _LIBC case.
11096
79662d42
JM
110972012-06-21 Joseph Myers <joseph@codesourcery.com>
11098
b7abb4bf
JM
11099 [BZ #14273]
11100 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11101 Clear sign bit of 64-bit integer value before comparing against
11102 overflow value.
11103
79662d42
JM
11104 * sysdeps/mach/configure: Regenerated.
11105
1f150908
L
111062012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11107
11108 [BZ #14278]
11109 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11110
28363bbf
JL
111112012-06-21 Jeff Law <law@redhat.com>
11112
11113 [BZ #13882]
11114 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11115 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 11116 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
11117 * elf/dl-open.c (dl_open_worker): Likewise.
11118
09615db4
CD
111192012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11120
11121 * scripts/list-sources.sh: Scan PORTS for translations.
11122 * po/libc.pot: Regenerated.
11123
2174c6dd
AJ
111242012-06-21 Andreas Jaeger <aj@suse.de>
11125
11126 [BZ #12194]
11127 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11128 warning.
11129 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11130 * bits/byteswap-16.h (__bswap_16): Likewise.
11131 * bits/byteswap.h (__bswap_constant_16): Likewise.
11132
3ee947b1
L
111332012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11134
11135 [BZ #14117]
a2f34833
L
11136 * sysdeps/i386/fpu_control.h: Removed.
11137 * sysdeps/x86_64/fpu_control.h: Moved to ...
11138 * sysdeps/x86/fpu_control.h: Here.
11139
3ee947b1
L
11140 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11141 (_FPU_SETCW): Likewise.
11142
ed1825f8
L
111432012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11144
25f1282a
L
11145 [BZ #14117]
11146 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11147 * sysdeps/x86/fpu/bits/mathinline.h: This.
11148 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11149
ed1825f8
L
11150 [BZ #14050]
11151 [BZ #14117]
11152 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11153 functions if __x86_64__ is defined.
11154
36d54b74
CLT
111552012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11156
11157 * string/endian.h: Add !__ASSEMBLER__ condition for including
11158 conversion interfaces.
11159
10285c21
JM
111602012-06-15 Joseph Myers <joseph@codesourcery.com>
11161
11162 [BZ #14241]
11163 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11164 of ABS(x) in calculating zero to negative powers other than odd
11165 integers.
11166 * math/libm-test.inc (pow_test): Add more tests.
11167
06c5abbd
AJ
111682012-06-15 Andreas Jaeger <aj@suse.de>
11169
11170 * manual/contrib.texi (Contributors): Update entry of Liubov
11171 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11172 Machado Filho.
11173
a3aeac40
CH
111742012-06-15 Cyril Hrubis <metan@ucw.cz>
11175
11176 * string/string.h: Add __wur to GNU version of strerror_r.
11177
49bdf4c1
L
111782012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11179
11180 [BZ #14229]
11181 * string/Makefile (tests): Add tst-strtok_r.
11182 * string/tst-strtok_r.c: New file.
11183 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11184 RAX_LP/RDX_LP on SAVE_PTR.
11185
834f9b8d
RM
111862012-06-14 Roland McGrath <roland@hack.frob.com>
11187
11188 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11189
75fa1921
JM
111902012-06-14 Joseph Myers <joseph@codesourcery.com>
11191
11192 * libm_test.inc (csqrt_test): Allow more spurious underflow
11193 exceptions.
11194 (j0_test): Likewise.
11195 (j1_test): Likewise.
11196 (y0_test): Likewise.
11197 (y1_test): Likewise.
11198
771766df
CD
111992012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11200
11201 * po/Makefile (libc.pot): Use UTF-8 charset.
11202
ceb9e56b
PP
112032012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11204
11205 [BZ #14210]
11206 Suppress sign-conversion warning from FD_SET.
11207 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11208 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11209 not unsigned long int.
11210 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11211
ddb28975
L
112122012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11213
11214 [BZ #14050]
11215 [BZ #14117]
11216 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11217 __extern_always_inline instead of __extern_inline.
11218 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11219 (__signbit): Likewise.
11220 (__signbitl): Support C++ namespace.
11221 (lrintf): New inline function.
11222 (lrint): Likewise.
11223 (llrintf): Likewise.
11224 (llrint): Likewise.
11225 (fmaxf): Likewise.
11226 (fmax): Likewise.
11227 (fminf): Likewise.
11228 (fmin): Likewise.
11229 (rint): Likewise.
11230 (rintf): Likewise.
11231 (ceil): Likewise.
11232 (ceilf): Likewise.
11233 (floor): Likewise.
11234 (floorf): Likewise.
11235 (nearbyint): Likewise.
11236 (nearbyintf): Likewise.
11237
d7b4fb26
TS
112382012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11239
11240 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11241 non-default versions.
11242
eb55f5c2
RM
112432012-06-11 Roland McGrath <roland@hack.frob.com>
11244
11245 [BZ #14218]
11246 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11247
366af02c
TS
112482012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11249
99ff6e5c
TS
11250 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11251 (FE_UPWARD, FE_DOWNWARD): Don't define.
11252 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11253 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11254
366af02c
TS
11255 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11256 reading it.
11257 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11258 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11259
793ea851
KK
112602012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11261
11262 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11263 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11264 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11265 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11266
a728a38f
L
112672012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11268
11269 [BZ #14117]
c08010c7
L
11270 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11271 * sysdeps/i386/fpu/Implies: New file.
11272 * sysdeps/x86_64/fpu/Implies: Likewise.
11273 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11274 * sysdeps/x86/fpu/bits/fenv.h: This.
11275
a728a38f
L
11276 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11277 __SSE_MATH__.
11278
6e230d11
SP
112792012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11280
11281 [BZ #14134]
11282 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11283 character 0xffff that matches the last element of the
11284 conversion table.
11285
1b671feb
AZ
112862012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11287
11288 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11289 fmodl commit.
11290
6043738b
AZ
112912012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11292
11293 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11294 values higher than 25.6283.
11295
34ae0b32
AZ
112962012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11297
11298 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11299 subnormal exponent extraction and add some __builtin_expect.
11300 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11301 Fix for subnormal mantissa calculation.
11302
1214ec8f
MF
113032012-06-04 Mike Frysinger <vapier@gentoo.org>
11304
11305 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11306 cpu2 is -1 and errno is not ENOSYS.
11307
f3d1f93c
L
113082012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11309
11310 [BZ #14117]
0e4a3cd7
L
11311 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11312 * sysdeps/x86/bits/string.h: This.
11313 * sysdeps/x86_64/bits/string.h: Removed.
11314
6704c645
L
11315 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11316 if not compiling for x86-64, but compiling for >= i486.
11317
48495318
L
11318 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11319 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11320
14adcbfc
L
11321 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11322 New macro from Linux kernel 3.4.0.
11323 (FP_XSTATE_MAGIC2): Likewise.
11324 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11325 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11326 (struct _fpx_sw_bytes): New struct.
11327 (struct _xsave_hdr): Likewise.
11328 (struct _ymmh_state): Likewise.
11329 (struct _xstate): Likewise.
11330
68e408ab
L
11331 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11332 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11333 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11334 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11335 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11336 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11337
f3d1f93c
L
11338 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11339 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11340 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11341 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11342 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11343 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11344
d9dc34cd
TMQMF
113452012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11346
11347 [BZ #13743]
11348 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11349 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11350 (sysdep_headers): Include sys/platform/ppc.h.
11351 * sysdeps/powerpc/test-gettimebase.c: Test for
11352 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11353 * manual/Makefile (appendices): Include platform.texi.
11354 * manual/contrib.texi (Contributors): Update @node pointers.
11355 * manual/maint.texi (Maintenance): Likewise.
11356 (Platform): New node.
11357 * manual/platform.texi: New file. Document the new features.
11358
4af3879c
SP
113592012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11360 Jakub Jelinek <jakub@redhat.com>
11361
11362 [BZ #14188]
11363 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11364 where __builtin_expect is unavailable.
11365
2fd6ff13
DM
113662012-06-03 David S. Miller <davem@davemloft.net>
11367
11368 * stdlib/longlong.h: Updated from GCC.
11369
173f7220
AS
113702012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11371
11372 [BZ #14042]
11373 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11374 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11375 __mcount_internal.
11376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11377 (GLIBC_2.16): Likewise.
11378
f34a1c6f
L
113792012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11380
11381 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11382
88a4576f
JM
113832012-06-01 Joseph Myers <joseph@codesourcery.com>
11384
ea32bcdd
JM
11385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11386 (default-abi): New variable.
11387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11388 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11389 variable.
11390 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11391 Likewise.
11392 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11393 Likewise.
11394 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11395 Likewise.
11396
88a4576f
JM
11397 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11398 definition. Document in comment.
11399
402fe938
DM
114002012-06-01 David S. Miller <davem@davemloft.net>
11401
11402 * stdlib/longlong.h: Updated from GCC.
11403
3553723f
L
114042012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11405
11406 [BZ #14117]
3bd872c4
L
11407 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11408 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11409 sys/debugreg.h sys/io.h here.
11410 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11411 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11412 sys/io.h.
11413 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11414 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11415 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11416 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11417 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11418 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11419
3553723f
L
11420 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11421 Define only if __x86_64__ is defined.
11422
4842e4fe
JM
114232012-06-01 Joseph Myers <joseph@codesourcery.com>
11424
c5bfe3d5
JM
11425 [BZ #14048]
11426 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11427 Use int64_t for variable i.
11428 * math/libm-test.inc (fmod_test): Add more tests.
11429
4842e4fe
JM
11430 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11431 z computation is not scheduled after fetestexcept.
11432 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11433 Use math_force_eval instead of asm to ensure calculation scheduled
11434 before exception test.
11435 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11436 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11437
efb73488
AJ
114382012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11439
11440 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11441 computation is not scheduled after fetestexcept.
11442
29bcce7c
L
114432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11444
11445 [BZ #14117]
11446 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11447 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11448
73a68f94
AZ
114492012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11450
11451 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11452 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11453
67b6df78
L
114542012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11455
edf2933a 11456 [BZ #14117]
ebc64a18
L
11457 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11458 <bits/wordsize.h>.
11459 (__WCHAR_MIN): Support __WORDSIZE == 64.
11460 (__WCHAR_MAX): Likewise.
11461
edf2933a
L
11462 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11463 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11464
57c6cf40
L
11465 [BZ #14183]
11466 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11467 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11468
67b6df78 11469 [BZ #14117]
8eb6281e
L
11470 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11471 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11472
aac639f4
L
11473 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11474 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11475
67b6df78
L
11476 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11477 Defined to 1 if __x86_64__ isn't defined.
11478 (_STAT_VER_LINUX_OLD): New.
11479 (st_atime): Remove duplicate.
11480 (st_mtime): Likewise.
11481 (st_ctime): Likewise.
11482
1c2cfe81
DM
114832012-05-31 David S. Miller <davem@davemloft.net>
11484
11485 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11486 entries.
11487
5be8418c
AS
114882012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11489
e7725326
AS
11490 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11491 gen-libm-test.pl.
11492
5be8418c
AS
11493 [BZ #14132]
11494 * elf/dl-reloc.c: Include <_itoa.h>.
11495 (_dl_reloc_bad_type): Remove use of INTUSE.
11496 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11497 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11498 * stdio-common/psiginfo.c (psiginfo): Likewise.
11499 * stdio-common/psignal.c (psignal): Likewise.
11500 * string/strsignal.c (strsignal): Likewise.
11501 * include/signal.h (_sys_siglist): Declare hidden proto.
11502 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11503 INTVARDEF with libc_hidden_data_def.
11504 * stdio-common/itoa-udigits.c: Likewise.
11505 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11506 (_itoa_lower_digits_internal): Remove declaration.
11507 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11508 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11509 (_sys_sigabbrev_internal): Remove aliases.
11510 (_sys_siglist): Define hidden alias.
11511
507352f1
MT
115122012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11513
11514 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11515 bits/sysctl.h.
11516
42bbb1c3
L
115172012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11518
11519 [BZ #14117]
6bd784b6
L
11520 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11521 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11522
8bca20f0
L
11523 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11524 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11525 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11526 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11527 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11528 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11529
f9e890a9
L
11530 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11531 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11532 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11533
471101a1
L
11534 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11535 with __addr.
11536 (insw): Likewise.
11537 (insl): Likewise.
11538 (outsb): Likewise.
11539 (outsw): Likewise.
11540 (outsl): Likewise.
11541
6451c862
L
11542 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11543 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11544 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11545
a254b8c9
L
11546 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11547 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11548 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11549 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11550 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11551 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11552
b8dfdd92
L
11553 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11554 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11555
578cd270
L
11556 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11557 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11558
de662f5f
L
11559 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11560 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11561 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11562
25653439
L
11563 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11564 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11565 to ...
11566 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11567
6bad24a0
L
11568 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11569 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11570 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11571
42bbb1c3
L
11572 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11573 for x86-64.
11574 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11575
2d10d547
JM
115762012-05-31 Joseph Myers <joseph@codesourcery.com>
11577
11578 * math/math.h (M_El): Use two more decimal places.
11579 (M_LOG2El): Likewise.
11580 (M_LOG10El): Likewise.
11581 (M_LN2l): Likewise.
11582 (M_LN10l): Likewise.
11583 (M_PIl): Likewise.
11584 (M_PI_2l): Likewise.
11585 (M_PI_4l): Likewise.
11586 (M_1_PIl): Likewise.
11587 (M_2_PIl): Likewise.
11588 (M_2_SQRTPIl): Likewise.
11589 (M_SQRT2l): Likewise.
11590 (M_SQRT1_2l): Likewise.
11591
f230c29b
DM
115922012-05-31 David S. Miller <davem@davemloft.net>
11593
11594 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11595 values between float registers.
11596 * sysdeps/sparc/sparc64/memset.S: Likewise.
11597 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11598
fed806c3
MF
115992012-05-31 Mike Frysinger <vapier@gentoo.org>
11600
11601 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11602 -D_FORTIFY_SOURCE=1.
11603 (CPPFLAGS-tst-longjmp_chk.c): Define.
11604 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11605 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11606 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11607 CFLAGS-tst-wchar-h.c.
11608
30917259
MP
116092012-05-31 Marek Polacek <polacek@redhat.com>
11610
11611 [BZ #14132]
11612 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11613 __endmntent_internal): Remove declaration.
11614 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11615 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11616 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11617
1c58d5dc
DM
116182012-05-30 David S. Miller <davem@davemloft.net>
11619
11620 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11621 (___Q_simulate_exceptions): Use real FP ops rather than writing
11622 into the %fsr.
11623 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11624 Likewise.
11625
7dc00e0d
L
116262012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11627
11628 [BZ #14117]
0bd53985
L
11629 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11630 * sysdeps/x86/bits/xtitypes.h: This.
11631
3a257e66
L
11632 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11633 * sysdeps/x86/bits/wordsize.h: This.
11634
62f62904
L
11635 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11636 * sysdeps/x86/bits/huge_vall.h: This.
11637
404fe9d9
L
11638 * sysdeps/i386/bits/select.h: Removed.
11639 * sysdeps/x86_64/bits/select.h: Renamed to ...
11640 * sysdeps/x86/bits/select.h: This.
11641
d48d0446
L
11642 * sysdeps/i386/bits/setjmp.h: Removed.
11643 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11644 * sysdeps/x86/bits/setjmp.h: This.
11645
7dc00e0d
L
11646 * sysdeps/i386/bits/mathdef.h: Removed.
11647 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11648 * sysdeps/x86/bits/mathdef.h: This.
11649
03277f8f
AS
116502012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11651
11652 [BZ #14132]
11653 * include/sys/socket.h (__connect_internal)
11654 (__libc_sa_len_internal): Remove declaration.
11655 (__connect, __libc_sa_len): Declare hidden_proto.
11656 (SA_LEN): Remove use of INTUSE.
11657 * socket/connect.c: Add libc_hidden_def.
11658 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11659 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11660 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11661 alias.
11662 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11663 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11664 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11665 of adding _internal alias.
11666
13764867
L
116672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11668
11669 [BZ #14117]
6bd97696
L
11670 * sysdeps/i386/bits/link.h: Removed.
11671 * sysdeps/i386/bits/linkmap.h: Likewise.
11672 * sysdeps/x86_64/bits/link.h: Renamed to ...
11673 * sysdeps/x86/bits/link.h: This.
11674 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11675 * sysdeps/x86/bits/linkmap.h: This.
11676
f726f0bb
L
11677 * sysdeps/i386/bits/endian.h: Removed.
11678 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11679 * sysdeps/x86/bits/endian.h: This.
11680
13764867
L
11681 * sysdeps/i386/bits/byteswap.h: Removed.
11682 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11683 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11684 * sysdeps/x86/bits/byteswap.h: This.
11685 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11686 * sysdeps/x86/bits/byteswap-16.h: This.
11687 * sysdeps/i386/Implies: Add x86.
11688 * sysdeps/x86_64/Implies: Likewise.
11689
ae251b0b
DM
116902012-05-30 David S. Miller <davem@davemloft.net>
11691
11692 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11693 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11694 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11695 (FP_TRAPPING_EXCEPTIONS): Define.
11696 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11697 (FP_TRAPPING_EXCEPTIONS): Define.
11698 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11699 subnormals only when inexact has been signalled or underflow
11700 exceptions are enabled.
11701 (_FP_PACK_CANONICAL): Likewise.
11702
d5c90867
L
117032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11704
11705 [BZ #14183]
11706 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11707 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11708
63f1549e
RH
117092012-05-30 Richard Henderson <rth@twiddle.net>
11710
8d8f2279
RH
11711 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11712 with #ifndef NOT_IN_libc.
11713
63f1549e
RH
11714 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11715 marked to avoid plt entry.
11716
0ab0291b
L
117172012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11718
11719 [BZ #14112]
11720 * Makeconfig (default-abi): New macro.
11721 (abi-includes): Likewise.
11722 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11723 $(abi-$(default-abi)-lib-soname) for soname if defined.
11724 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11725 abi-variants.
11726 * Makefile (installed-stubs): Likewise.
11727 * include/stubs-biarch.h: Removed.
11728 * scripts/lib-names.awk: Only handle one library at a time.
11729 * scripts/soversions.awk: Remove WORDSIZE support.
11730 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11731 entries.
11732 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11733 Removed.
11734 (syscall-list-default-condition): Likewise.
11735 (syscall-list-default-condition): Likewise.
11736 (syscall-list-includes): Likewise.
11737 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11738 syscall-list-* with abi-*. Handle undefined abi-variants.
11739 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11740 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11741 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11742 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11743 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11744 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11745 Removed.
11746 (syscall-list-32-options): Likewise.
11747 (syscall-list-32-condition): Likewise.
11748 (syscall-list-64-options): Likewise.
11749 (syscall-list-64-condition): Likewise.
11750 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11751 macro.
11752 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11753 Renamed to ...
11754 (abi-*): This.
11755 (abi-64-ld-soname): New macro.
11756 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11757 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11758 Renamed to ...
11759 (abi-*): This.
11760 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11761 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11762
4da0431d
JM
117632012-05-30 Joseph Myers <joseph@codesourcery.com>
11764
3a85279c
JM
11765 * sysdeps/unix/sysv/linux/kernel-features.h
11766 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11767 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11768 include <kernel-features.h>.
11769 [!__NR_ftruncate64]: Remove conditional code.
11770 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11771 [__NR_ftruncate64]: Make code unconditional.
11772 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11773 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11774 include <kernel-features.h>.
11775 [!__NR_ftruncate64]: Remove conditional code.
11776 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11777 [__NR_ftruncate64]: Make code unconditional.
11778 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11780 include <kernel-features.h>.
11781 [!__NR_ftruncate64]: Remove conditional code.
11782 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11783 [__NR_ftruncate64]: Make code unconditional.
11784 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11786 include <kernel-features.h>.
11787 [!__NR_ftruncate64]: Remove conditional code.
11788 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11789 [__NR_ftruncate64]: Make code unconditional.
11790 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11791
4da0431d
JM
11792 * configure.in (libc_cv_fpie): Weaken to a compile test using
11793 LIBC_TRY_CC_OPTION.
11794 * configure: Regenerated.
11795
11ef492c
AK
117962012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11797
11798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11799 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11800 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11801 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11802 Refreshed.
11803 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11804 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11806 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11808 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11809 Refreshed.
11810
d66ef399
DM
118112012-05-27 David S. Miller <davem@davemloft.net>
11812
11813 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11814 (___Q_zero): New.
11815 (__Q_simulate_exceptions): Return void. Change to simulate
11816 exceptions by writing into the %fsr.
11817 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11818 (__Qp_handle_exceptions): Likewise.
11819 (numbers): Delete.
11820 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11821 __Qp_handle_exceptions.
11822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11823 __Qp_handle_exceptions.
11824 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11825 as unused and give dummy FP_RND_NEAREST initializer.
11826 (FP_INHIBIT_RESULTS): Define.
11827 (___Q_simulate_exceptions): Update declaration.
11828 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11829 formatting.
11830 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11831 as unused and give dummy FP_RND_NEAREST initializer.
11832 (__Qp_handle_exceptions): Update declaration.
11833 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11834 formatting.
11835
04fb54b5
TS
118362012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11837
11838 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11839 the temporary FPU control word.
11840 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11841 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11842 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11843 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11844 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11845 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11846 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11847 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11848 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11849 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11850 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11851
3f99608f
KK
118522012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11853
11854 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11855 fields.
11856
65a4de4e
CLT
118572012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11858
11859 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11860 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11861 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11862 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11863 Likewise.
11864 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11865 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11866 Likewise.
11867
15749d40
UD
118682012-05-27 Ulrich Drepper <drepper@gmail.com>
11869
11870 * po/h.po: Update from translation team.
11871
25dbcb27
AS
118722012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11873
3d3f8e55
AS
11874 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11875
25dbcb27
AS
11876 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11877 handling of denormals.
11878 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11879 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11880 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11881 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11882 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11883 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11884 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11885 Likewise.
11886
7ad47a80 118872012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
11888
11889 [BZ #14152]
11890 * math/libm-test.inc (fma_test): Don't always expect underflow
11891 exception.
11892
9c6ea9fa
SP
118932012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11894
11895 [BZ #12416]
11896 * elf/tst-execstack.c: Include stackinfo.h.
11897 (do_test): Adjust test case to ensure that pthread_getattr_np
11898 behaviour remains the same after marking stack executable.
11899
a8239222
JM
119002012-05-25 Joseph Myers <joseph@codesourcery.com>
11901
11902 * sysdeps/unix/sysv/linux/kernel-features.h
11903 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11904 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11905 kernel-features.h.
11906 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11907 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11908 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11909 kernel-features.h.
11910 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11911 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11912
918b5606
L
119132012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11914
11915 * configure.in: Define the default includes to being none.
11916 * configure: Regenerated.
11917
3a097cc7
RM
119182012-05-25 Roland McGrath <roland@hack.frob.com>
11919
8422c9a5
RM
11920 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11921 * sysdeps/x86_64/setjmp.S: Likewise.
11922 * sysdeps/i386/bsd-setjmp.S: Likewise.
11923 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11924 * sysdeps/i386/setjmp.S: Likewise.
11925 * sysdeps/i386/__longjmp.S: Likewise.
11926 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11927 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11928
3a097cc7
RM
11929 * include/stap-probe.h: New file.
11930 * configure.in: Handle --enable-systemtap.
11931 * configure: Regenerated.
11932 * config.h.in (USE_STAP_PROBE): New #undef.
11933 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11934 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11935 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11936
21708942
JM
119372012-05-25 Joseph Myers <joseph@codesourcery.com>
11938
11939 [BZ #13717]
11940 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11941 to 2.4.0 where earlier.
11942 * sysdeps/unix/sysv/linux/configure: Regenerated.
11943 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11944 <kernel-features.h>.
11945 [__ASSUME_32BITUIDS]: Make code unconditional.
11946 [!__ASSUME_32BITUIDS]: Remove conditional code.
11947 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11948 <kernel-features.h>.
11949 [__ASSUME_32BITUIDS]: Make code unconditional.
11950 [!__ASSUME_32BITUIDS]: Remove conditional code.
11951 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11952 [__ASSUME_32BITUIDS]: Make code unconditional.
11953 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11954 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11955 <kernel-features.h>.
11956 [__ASSUME_32BITUIDS]: Make code unconditional.
11957 [!__ASSUME_32BITUIDS]: Remove conditional code.
11958 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11959 <kernel-features.h>.
11960 [__ASSUME_32BITUIDS]: Make code unconditional.
11961 [!__ASSUME_32BITUIDS]: Remove conditional code.
11962 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11963 <kernel-features.h>.
11964 [__ASSUME_32BITUIDS]: Make code unconditional.
11965 [!__ASSUME_32BITUIDS]: Remove conditional code.
11966 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11967 <kernel-features.h>.
11968 [__ASSUME_32BITUIDS]: Make code unconditional.
11969 [!__ASSUME_32BITUIDS]: Remove conditional code.
11970 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11971 <kernel-features.h>.
11972 [__ASSUME_32BITUIDS]: Make code unconditional.
11973 [!__ASSUME_32BITUIDS]: Remove conditional code.
11974 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11975 <kernel-features.h>.
11976 [__ASSUME_32BITUIDS]: Make code unconditional.
11977 [!__ASSUME_32BITUIDS]: Remove conditional code.
11978 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
11979 <kernel-features.h>.
11980 [__ASSUME_32BITUIDS]: Make code unconditional.
11981 [!__ASSUME_32BITUIDS]: Remove conditional code.
11982 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11983 <kernel-features.h>.
11984 [__ASSUME_32BITUIDS]: Make code unconditional.
11985 [!__ASSUME_32BITUIDS]: Remove conditional code.
11986 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11987 <kernel-features.h>.
11988 [__ASSUME_32BITUIDS]: Make code unconditional.
11989 [!__ASSUME_32BITUIDS]: Remove conditional code.
11990 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
11991 <kernel-features.h>.
11992 [__ASSUME_32BITUIDS]: Make code unconditional.
11993 [!__ASSUME_32BITUIDS]: Remove conditional code.
11994 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
11995 <kernel-features.h>.
11996 [__NR_setresgid] (__setresgid): Do not declare.
11997 [__ASSUME_32BITUIDS]: Make code unconditional.
11998 [!__ASSUME_32BITUIDS]: Remove conditional code.
11999 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12000 <kernel-features.h>.
12001 [__NR_setresuid] (__setresuid): Do not declare.
12002 [__ASSUME_32BITUIDS]: Make code unconditional.
12003 [!__ASSUME_32BITUIDS]: Remove conditional code.
12004 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12005 <kernel-features.h>.
12006 [__ASSUME_32BITUIDS]: Make code unconditional.
12007 [!__ASSUME_32BITUIDS]: Remove conditional code.
12008 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12009 <kernel-features.h>.
12010 [__ASSUME_32BITUIDS]: Make code unconditional.
12011 [!__ASSUME_32BITUIDS]: Remove conditional code.
12012 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12013 <kernel-features.h>.
12014 [__ASSUME_32BITUIDS]: Make code unconditional.
12015 [!__ASSUME_32BITUIDS]: Remove conditional code.
12016 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12017 <kernel-features.h>.
12018 [__ASSUME_32BITUIDS]: Make code unconditional.
12019 [!__ASSUME_32BITUIDS]: Remove conditional code.
12020 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12021 <kernel-features.h>.
12022 [__ASSUME_32BITUIDS]: Make code unconditional.
12023 [!__ASSUME_32BITUIDS]: Remove conditional code.
12024 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12025 <kernel-features.h>.
12026 [__ASSUME_32BITUIDS]: Make code unconditional.
12027 [!__ASSUME_32BITUIDS]: Remove conditional code.
12028 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12029 <kernel-features.h>.
12030 [__ASSUME_32BITUIDS]: Make code unconditional.
12031 [!__ASSUME_32BITUIDS]: Remove conditional code.
12032 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12033 <kernel-features.h>.
12034 [__ASSUME_32BITUIDS]: Make code unconditional.
12035 [!__ASSUME_32BITUIDS]: Remove conditional code.
12036 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12037 <kernel-features.h>.
12038 [__ASSUME_32BITUIDS]: Make code unconditional.
12039 [!__ASSUME_32BITUIDS]: Remove conditional code.
12040 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12041 <kernel-features.h>.
12042 [__ASSUME_32BITUIDS]: Make code unconditional.
12043 [!__ASSUME_32BITUIDS]: Remove conditional code.
12044 * sysdeps/unix/sysv/linux/kernel-features.h
12045 (__ASSUME_SETRESUID_SYSCALL): Remove.
12046 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12047 (__ASSUME_32BITUIDS): Likewise.
12048 (__ASSUME_LDT_WORKS): Likewise.
12049 (__ASSUME_O_DIRECTORY): Likewise.
12050 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12051 architecture but not kernel version.
12052 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12053 (__ASSUME_MMAP2_SYSCALL): Likewise.
12054 (__ASSUME_STAT64_SYSCALL): Likewise.
12055 (__ASSUME_IPC64): Likewise.
12056 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12057 <kernel-features.h>.
12058 [__ASSUME_32BITUIDS]: Make code unconditional.
12059 [!__ASSUME_32BITUIDS]: Remove conditional code.
12060 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12061 <kernel-features.h>.
12062 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12063 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12064 132096]: Remove conditional code.
12065 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12066 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12067 <kernel-features.h>.
12068 [__ASSUME_32BITUIDS]: Make code unconditional.
12069 [!__ASSUME_32BITUIDS]: Remove conditional code.
12070 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12071 <kernel-features.h>.
12072 [__ASSUME_32BITUIDS]: Make code unconditional.
12073 [!__ASSUME_32BITUIDS]: Remove conditional code.
12074 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12075 <kernel-features.h>.
12076 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12077 unconditional.
12078 (__setresgid): Do not declare.
12079 [__ASSUME_32BITUIDS]: Make code unconditional.
12080 [!__ASSUME_32BITUIDS]: Remove conditional code.
12081 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12082 <kernel-features.h>.
12083 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12084 unconditional.
12085 (__setresuid): Do not declare.
12086 [__ASSUME_32BITUIDS]: Make code unconditional.
12087 [!__ASSUME_32BITUIDS]: Remove conditional code.
12088 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12089 <kernel-features.h>.
12090 [__ASSUME_32BITUIDS]: Make code unconditional.
12091 [!__ASSUME_32BITUIDS]: Remove conditional code.
12092 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12093 <kernel-features.h>.
12094 [__ASSUME_32BITUIDS]: Make code unconditional.
12095 [!__ASSUME_32BITUIDS]: Remove conditional code.
12096
a386f1cc
RH
120972012-05-25 Richard Henderson <rth@twiddle.net>
12098
12099 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12100 dl_hwcap to ifunc resolver.
12101 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12102 elf_ifunc_invoke.
12103 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12104 dl_hwcap to ifunc resolver.
12105 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12106
b6550497
JM
121072012-05-24 Joseph Myers <joseph@codesourcery.com>
12108
12109 [BZ #14153]
12110 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12111 for |x| <= 2**-26, not 2**-57.
12112 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12113 exception.
12114
b0bc23a1
JL
121152012-05-24 Jeff Law <law@redhat.com>
12116
12117 * stdio-common/Makefile (tests): Add bug25.
12118 * stdio-common/bug25.c: New test.
12119
347c92e9
L
121202012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12121
12122 [BZ #13576]
12123 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12124 multiple of MALLOC_ALIGNMENT in size.
12125 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12126
6bcc8b3f
JM
121272012-05-24 Joseph Myers <joseph@codesourcery.com>
12128
12129 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12130 Require >= 256.
12131 (FILENAME_MAX): Use macro-int-constant.
12132 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12133 (_IOFBF): Use macro-int-constant.
12134 (_IOLBF): Likewise.
12135 (_IONBF): Likewise.
12136 (SEEK_CUR): Likewise.
12137 (SEEK_END): Likewise.
12138 (SEEK_SET): Likewise.
12139 (TMP_MAX): Likewise.
12140 (EOF): Use macro-int-constant. Require < 0.
12141 (NULL): Use macro-constant. Require == 0.
12142 (stdin): Require type to be FILE *.
12143 (stdout): Likewise.
12144 (stderr): Likewise.
12145 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12146 macro-int-constant.
12147 (EXIT_SUCCESS): Likewise.
12148 (NULL): Use macro-constant. Require == 0.
12149 (RAND_MAX): Use macro-int-constant.
12150 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12151 [C99-based standards] (strtof): Require function.
12152 [C99-based standards] (strtold): Likewise.
12153 [C99-based standards] (strtoll): Likewise.
12154 [C99-based standards] (strtoull): Likewise.
12155 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12156 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12157 [ISO || ISO99 || ISO11] (math.h): Likewise.
12158 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12159 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12160 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12161
d18ea0c5
AS
121622012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12163
12164 [BZ #14132]
56d25bb8
AS
12165 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12166 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12167 * intl/dgettext.c (DCGETTEXT): Likewise.
12168 * intl/gettext.c (DCGETTEXT): Likewise.
12169 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12170 * posix/regex_internal.h (gettext): Likewise.
12171 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12172 Remove declaration.
12173 * include/argz.h (__argz_count_internal)
12174 (__argz_stringify_internal): Remove declaration.
12175 (__argz_count, __argz_stringify): Declare hidden proto.
12176 * intl/dcgettext.c: Remove use of INTDEF.
12177 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12178 * string/argz-stringify.c: Likewise.
12179 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12180 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12181 Declare hidden proto.
d18ea0c5
AS
12182 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12183 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12184 Declare hidden proto.
12185 * include/stdio.h (__asprintf_internal): Don't declare.
12186 (__asprintf): Don't define as macro. Declare hidden proto.
12187 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12188 (__fsetlocking): Declare hidden proto.
12189 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12190 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12191 hidden proto.
12192 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12193 (_IO_setlinebuf): Remove use of INTUSE.
12194 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12195 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12196 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12197 Remove declaration.
12198 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12199 (_IO_do_flush): Remove use of INTUSE.
12200 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12201 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12202 (_IO_adjust_column, _IO_least_wmarker)
12203 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12204 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12205 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12206 (_IO_default_doallocate, _IO_wdefault_doallocate)
12207 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12208 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12209 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12210 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12211 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12212 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12213 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12214 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12215 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12216 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12217 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12218 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12219 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12220 proto.
12221 (_IO_flush_all_internal, _IO_adjust_column_internal)
12222 (_IO_default_uflow_internal, _IO_default_finish_internal)
12223 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12224 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12225 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12226 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12227 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12228 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12229 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12230 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12231 (_IO_file_close_internal, _IO_file_close_it_internal)
12232 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12233 (_IO_file_init_internal, _IO_file_attach_internal)
12234 (_IO_file_fopen_internal, _IO_file_read_internal)
12235 (_IO_file_sync_internal, _IO_file_seek_internal)
12236 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12237 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12238 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12239 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12240 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12241 (_IO_list_all_internal, _IO_link_in_internal)
12242 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12243 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12244 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12245 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12246 (_IO_do_write_internal, _IO_padn_internal)
12247 (_IO_getline_info_internal, _IO_getline_internal)
12248 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12249 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12250 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12251 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12252 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12253 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12254 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12255 with libc_hidden_ver, remove use of INTUSE.
12256 * libio/genops.c: Likewise.
12257 * libio/freopen.c: Likewise.
12258 * libio/freopen64.c: Likewise.
12259 * libio/iofclose.c: Likewise.
12260 * libio/iofdopen.c: Likewise.
12261 * libio/iofflush.c: Likewise.
12262 * libio/iofflush_u.c: Likewise.
12263 * libio/iofgets.c: Likewise.
12264 * libio/iofgets_u.c: Likewise.
12265 * libio/iofopen.c: Likewise.
12266 * libio/iofopncook.c: Likewise.
12267 * libio/iofread.c: Likewise.
12268 * libio/iofread_u.c: Likewise.
12269 * libio/ioftell.c: Likewise.
12270 * libio/iofwrite.c: Likewise.
12271 * libio/iogetline.c: Likewise.
12272 * libio/iogets.c: Likewise.
12273 * libio/iogetwline.c: Likewise.
12274 * libio/iopadn.c: Likewise.
12275 * libio/iopopen.c: Likewise.
12276 * libio/ioseekoff.c: Likewise.
12277 * libio/ioseekpos.c: Likewise.
12278 * libio/iosetbuffer.c: Likewise.
12279 * libio/iosetvbuf.c: Likewise.
12280 * libio/ioungetc.c: Likewise.
12281 * libio/ioungetwc.c: Likewise.
12282 * libio/iovdprintf.c: Likewise.
12283 * libio/iovsprintf.c: Likewise.
12284 * libio/iovsscanf.c: Likewise.
12285 * libio/memstream.c: Likewise.
12286 * libio/obprintf.c: Likewise.
12287 * libio/oldfileops.c: Likewise.
12288 * libio/oldiofclose.c: Likewise.
12289 * libio/oldiofdopen.c: Likewise.
12290 * libio/oldiofopen.c: Likewise.
12291 * libio/oldiopopen.c: Likewise.
12292 * libio/oldstdfiles.c: Likewise.
12293 * libio/putc.c: Likewise.
12294 * libio/setbuf.c: Likewise.
12295 * libio/setlinebuf.c: Likewise.
12296 * libio/stdfiles.c: Likewise.
12297 * libio/strops.c: Likewise.
12298 * libio/vasprintf.c: Likewise.
12299 * libio/vscanf.c: Likewise.
12300 * libio/vsnprintf.c: Likewise.
12301 * libio/vswprintf.c: Likewise.
12302 * libio/wfiledoalloc.c: Likewise.
12303 * libio/wfileops.c: Likewise.
12304 * libio/wgenops.c: Likewise.
12305 * libio/wmemstream.c: Likewise.
12306 * libio/wstrops.c: Likewise.
12307 * libio/__fpurge.c: Likewise.
12308 * libio/__fsetlocking.c: Likewise.
12309 * assert/assert.c: Likewise.
12310 * debug/fgets_chk.c: Likewise.
12311 * debug/fgets_u_chk.c: Likewise.
12312 * debug/fread_chk.c: Likewise.
12313 * debug/fread_u_chk.c: Likewise.
12314 * debug/gets_chk.c: Likewise.
12315 * debug/obprintf_chk.c: Likewise.
12316 * debug/vasprintf_chk.c: Likewise.
12317 * debug/vdprintf_chk.c: Likewise.
12318 * debug/vsnprintf_chk.c: Likewise.
12319 * debug/vsprintf_chk.c: Likewise.
12320 * malloc/mtrace.c: Likewise.
12321 * misc/error.c: Likewise.
12322 * misc/syslog.c: Likewise.
12323 * stdio-common/asprintf.c: Likewise.
12324 * stdio-common/fxprintf.c: Likewise.
12325 * stdio-common/getw.c: Likewise.
12326 * stdio-common/isoc99_fscanf.c: Likewise.
12327 * stdio-common/isoc99_scanf.c: Likewise.
12328 * stdio-common/isoc99_vfscanf.c: Likewise.
12329 * stdio-common/isoc99_vscanf.c: Likewise.
12330 * stdio-common/isoc99_vsscanf.c: Likewise.
12331 * stdio-common/printf-prs.c: Likewise.
12332 * stdio-common/printf_fp.c: Likewise.
12333 * stdio-common/printf_fphex.c: Likewise.
12334 * stdio-common/printf_size.c: Likewise.
12335 * stdio-common/putw.c: Likewise.
12336 * stdio-common/scanf.c: Likewise.
12337 * stdio-common/sprintf.c: Likewise.
12338 * stdio-common/tmpfile.c: Likewise.
12339 * stdio-common/vfprintf.c: Likewise.
12340 * stdio-common/vfscanf.c: Likewise.
12341 * stdlib/strfmon_l.c: Likewise.
12342 * sunrpc/openchild.c: Likewise.
12343 * sunrpc/xdr_stdio.c: Likewise.
12344 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12345 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12346
d6c33fda
RM
123472012-05-24 Roland McGrath <roland@hack.frob.com>
12348
c1487492
RM
12349 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12350
12351 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12352 in the third column, to generate for the shared library an IFUNC
12353 that uses _dl_vdso_vsym.
12354 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12355 * Makeconfig (object-suffixes-noshared): New variable.
12356
12357 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12358 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12359 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12360 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12361
d6c33fda
RM
12362 [BZ #14132]
12363 * include/sys/time.h (__gettimeofday): Remove macro.
12364 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12365 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12366 Remove INTDEF.
12367 (__gettimeofday): Add libc_hidden_def.
12368 (gettimeofday): Add libc_hidden_weak.
12369 * sysdeps/mach/gettimeofday.c: Likewise.
12370 * sysdeps/posix/gettimeofday.c: Likewise.
12371 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12372 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12373 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12374 (__gettimeofday_internal): Remove strong_alias.
12375 (__gettimeofday): Add libc_hidden_def.
12376 (gettimeofday): Add libc_hidden_weak.
12377 * sysdeps/unix/syscalls.list (gettimeofday):
12378 Remove __gettimeofday_internal alias.
12379
b5a2bbe6
L
123802012-05-24 Daniel Jacobowitz <drow@false.org>
12381 H.J. Lu <hongjiu.lu@intel.com>
12382
12383 [BZ #12495]
12384 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12385 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12386 (largebin_index_32_big): New.
12387 (largebin_index): Use it for 16-byte alignment.
12388 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12389 correction with front_misalign.
12390
cfba4fda
L
123912012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12392
7f907421
L
12393 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12395 Likewise.
12396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12397 Likewise.
12398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12399 Likewise.
12400 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12401 Likewise.
12402 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12403 Likewise.
12404 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12405 Likewise.
12406 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12407 Likewise.
12408 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12409 Likewise.
12410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12411 Likewise.
12412 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12413 Likewise.
12414 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12415 Likewise.
12416 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12417 Likewise.
12418
cfba4fda
L
12419 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12420 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12421
80bad0cc
JM
124222012-05-24 Joseph Myers <joseph@codesourcery.com>
12423
7a25eb06
JM
12424 [BZ #10846]
12425 [BZ #14036]
12426 * math/libm-test.inc (exp_test): Add test from bug 14036.
12427 (pow_test): Add test from bug 10846.
12428
795405f9
JM
12429 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12430 and other flags.
12431 (special_function): Do not include flags in test name.
12432 (parse_args): Likewise.
12433 * sysdeps/i386/fpu/libm-test-ulps: Update.
12434 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12435 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12436 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12438
80bad0cc
JM
12439 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12440 exceptions.
12441 * math/libm-test.inc ("Philosophy"): Update comment about
12442 exception testing.
12443 (UNDERFLOW_EXCEPTION): New macro.
12444 (UNDERFLOW_EXCEPTION_OK): Likewise.
12445 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12446 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12447 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12448 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12449 (INVALID_EXCEPTION_OK): Update value.
12450 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12451 (OVERFLOW_EXCEPTION_OK): Likewise.
12452 (IGNORE_ZERO_INF_SIGN): Likewise.
12453 (test_exceptions): Handle underflow exceptions.
12454 (acos_test): Update for underflow exception expectations.
12455 (cexp_test): Likewise.
12456 (clog_test): Likewise.
12457 (clog10_test): Likewise.
12458 (csqrt_test): Likewise.
12459 (ctan_test): Likewise.
12460 (ctanh_test): Likewise.
12461 (exp_test): Likewise.
12462 (exp10_test): Likewise.
12463 (exp2_test): Likewise.
12464 (expm1_test): Likewise.
12465 (fma_test): Likewise.
12466 (j0_test): Likewise.
12467 (jn_test): Likewise.
12468 (nexttoward_test): Likewise.
12469 (pow_test): Likewise.
12470 (scalbn_test): Likewise.
12471 (scalbln_test): Likewise.
12472 (tan_test): Likewise.
12473 (y1_test): Likewise.
12474 * sysdeps/i386/fpu/libm-test-ulps: Update.
12475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12476
9e0e3d0b
DM
124772012-05-23 David S. Miller <davem@davemloft.net>
12478
12479 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12480 (__libc_sigaction): Remove unused local variables.
12481
ccd0a08f
L
124822012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12483
12484 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12485
62bdf9a6
PE
124862012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12487
f8591f80
PE
12488 mktime: avoid signed integer overflow
12489 * time/mktime.c (__mktime_internal): Do not mishandle the case
12490 where diff == INT_MIN.
12491
94c7d826
PE
12492 mktime: simplify computation of average
12493 * time/mktime.c (ranged_convert): Use new time_t_avg function
12494 instead of rolling our own (probably-slower) code.
12495
ce73d683
PE
12496 mktime: do not assume signed right shift propagates sign bit
12497 * time/mktime.c (isdst_differ): New static function.
12498 (__mktime_internal): No need to normalize tm_isdst now.
12499 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12500 tm_isdst values.
12501
72a22e59
PE
12502 mktime: merge another wrapv change from gnulib
12503 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12504 from some compilers.
12505
68605433
PE
12506 mktime: remove incorrect attempt at unusual arithmetics
12507 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12508 The code didn't really work on such machines anyway.
12509 (TYPE_MINIMUM): Assume two's complement.
12510 (twos_complement_arithmetic): Verify that long_int and time_t
12511 are two's complement (or unsigned, in the latter case).
12512
03cf7fe3
PE
12513 mktime: check signed shifts on long_int and time_t, too
12514 * time/mktime.c (SHR): Check that shifts work as desired
12515 on the types long_int and time_t too, as SHR is used on
12516 such types.
12517
f04dfbc2
PE
12518 mktime: do not assume 'long' is wide enough
12519 * time/mktime.c (verify): Move decl up.
12520 (long_int): New type.
12521 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12522 to remove assumption in the code that 'long' is wide enough to
12523 store year values. This assumption is not true on x32 and on
12524 some non-glibc platforms.
12525
62bdf9a6
PE
12526 mktime: merge wrapv change from gnulib
12527 * time/mktime.c (WRAPV): New macro.
12528 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12529 (guess_time_tm, __mktime_internal): Do not assume that signed
12530 integer overflow wraps around; modern compilers generate code
12531 where this assumption is no longer valid.
12532
5e292e4f
L
125332012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12534
12535 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12536 Replace "jmp L(pseudo_end)" with "ret".
12537 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12538 Likewise.
12539
8caf8c87
AJ
125402012-05-23 Andreas Jaeger <aj@suse.de>
12541
12542 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12543 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12544
1a09dc56
AJ
125452012-05-23 Andreas Jaeger <aj@suse.de>
12546 Maximilian Attems <max@stro.at>
12547
12548 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12549 New macros.
12550
1c87aba0
L
125512012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12552
12553 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12554 code so that pseudo_end is just ret and the stack pointer is
12555 correct also for static library in error case.
12556
40e45bd5
JM
125572012-05-23 Joseph Myers <joseph@codesourcery.com>
12558
c2670533
JM
12559 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12560 move to syscalls.list.
12561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12565
40e45bd5
JM
12566 * manual/install.texi (Running make install): Do not mention Linux
12567 kernel version for which pt_chown is not needed.
12568 (Linux): Do not mention problems with nscd with 2.0 kernels.
12569 * INSTALL: Regenerated.
12570
be08eda5
AJ
125712012-05-23 Andreas Jaeger <aj@suse.de>
12572
12573 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12574 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12575 macro.
12576 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12577 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12578 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12579 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12580 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12581 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12582 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12583 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12584 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12585 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12586 * sysdeps/unix/sysv/linux/bits/in.h
12587 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12588
a6a056bb
RM
125892012-05-22 Roland McGrath <roland@hack.frob.com>
12590
12591 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12592 (PREPARE_VERSION): Just use assert instead, it will be elided
12593 under [NDEBUG] anyway.
12594
c9009328
L
125952012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12596
12597 * sysdeps/unix/sysv/linux/Makefile: Include
12598 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 12599 (sysdep_routines): Remove sysctl.
c9009328
L
12600 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12601 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12602 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12603 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12604 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12605
73338355
AJ
126062012-05-22 Andreas Jaeger <aj@suse.de>
12607
12608 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12609 that pseudo_end is just ret and the stack pointer is correct also
12610 for static library in error case.
12611
d44638b0
PP
126122012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12613
12614 [BZ #14122]
12615 * nss/nsswitch.c (defconfig_entries): New variable.
12616 (__nss_database_lookup): Don't leak defconfig entries.
12617 (nss_parse_service_list): Don't leak on error paths.
12618 (free_database_entries): New function.
12619 (free_defconfig): New function.
12620 (free_mem): Move common code to free_database_entries.
12621
31a39bd8
L
126222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12623
da0331a8
L
12624 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12625 Add arch_prctl.
12626 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12627
31a39bd8
L
12628 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12629 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12630 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12631 New macro.
12632 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12633 (INTERNAL_SYSCALL_TYPES): Likewise.
12634 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12635 (LOAD_REGS_TYPES_[1-6]): Likewise.
12636 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12637 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12638
45470df3
AZ
126392012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12640
12641 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12642 copysignl for GLIBC_2_0.
12643 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12644 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12645 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12646 logbl for GLIBC_2_0.
12647 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12648 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12649
98a61bcb
L
126502012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12651
a4f6e481
L
12652 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12653 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12654
f63d5db6
L
12655 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12656 Use "neg %eax".
12657
98a61bcb
L
12658 * time/mktime.c: Update copyright years.
12659
95770f14
PE
126602012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12661
6226efbd
PE
12662 mktime: merge comment-quoting-style change from gnulib
12663 * time/mktime.c: Quote 'like this' in comments.
12664 The GNU coding standards suggest that we no longer quote `like this',
12665 as "`" and "'" are typically rendered asymmetrically nowadays.
12666 The typical gnulib style is to quote 'like this' when quoting
12667 code, and "like this" when quoting English.
12668
b99e4f78
PE
12669 * time/mktime.c (compile-command): Add "-I.".
12670
643e01e6
PE
12671 mktime: merge mktime-internal.h change from gnulib
12672 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12673
2554247d
PE
12674 mktime: merge time_r change from gnulib
12675 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12676
826dd0ab
PE
12677 mktime: merge DEBUG change from gnulib
12678 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12679 case system <time.h> has a #define.
12680
bd83aabe
PE
12681 mktime: merge <sys/types.h> change from gnulib
12682 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12683 since <time.t> is now guaranteed to define time_t.
12684
95770f14
PE
12685 mktime: merge HAVE_CONFIG_H change from gnulib
12686 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12687
5e1a27a9
L
126882012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12689
0e44a77e
L
12690 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12691 Use "neg %eax".
12692
5e1a27a9
L
12693 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12694 __rlim_t cast.
12695 (struct rusage): Use anonymous union to pad each field to
12696 __syscall_slong_t.
12697
46259bec
DM
126982012-05-21 David S. Miller <davem@davemloft.net>
12699
12700 * Makefules (o-iterator): Remove .s cases.
12701 (compile-command.s): Delete.
12702 (COMPILE.s): Delete.
12703 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12704
59f0c22e
JM
127052012-05-21 Joseph Myers <joseph@codesourcery.com>
12706
12707 * configure.in (libc_cv_predef_stack_protector): Only consider
12708 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12709 * configure: Regenerated.
12710
20c07380
L
127112012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12712
bbb3154b
L
12713 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12714 New macro. Use R*LP on int and pointer.
12715 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
12716 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12717 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
12718 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12719
20c07380
L
12720 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12721 [__WORDSIZE_TIME64_COMPAT32] instead of
12722 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12723 (struct utmp): Likewise.
12724 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12725 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12726 Renamed to ...
12727 (__WORDSIZE_TIME64_COMPAT32): This.
12728 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12729 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12730 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12731 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12732 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12733 (__WORDSIZE_TIME64_COMPAT32): New macro.
12734
d8d1017e
AJ
127352012-05-21 Andreas Jaeger <aj@suse.de>
12736
12737 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12738 only if [SHARED]. Add prototype for __wcschr_ia32.
12739
6c7fb145
RM
127402012-05-21 Roland McGrath <roland@hack.frob.com>
12741
12742 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12743 of %rbp unmolested in the jmp_buf while mangling the low bits.
12744 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12745 unmolested high bits of %rbp while demangling the low bits.
12746 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12747
66274218
AJ
127482012-05-21 Andreas Jaeger <aj@suse.de>
12749
07c58f8f
AJ
12750 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12751 * sunrpc/svc_simple.c: Use it for registerrpc.
12752 * sunrpc/xcrypt.c: Use it for passwd2des.
12753
66274218
AJ
12754 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12755
61f65140
L
127562012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12757
12758 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12759 Don't define if [__SYSCALL_WORDSIZE != 32].
12760 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12761 New macro.
12762
5fefb436
AJ
127632012-05-21 Bruno Haible <bruno@clisp.org>
12764 Andreas Jaeger <aj@suse.de>
12765
12766 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12767 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12768 inptr and inend for must_buffer_ch.
12769 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12770 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12771 * stdio-common/Makefile (tests): Remove bug15.
12772 (bug15-ENV): Remove macro.
12773 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12774 anymore.
12775
d8e272ab
AJ
127762012-05-19 Andreas Jaeger <aj@suse.de>
12777 Roland McGrath <roland@hack.frob.com>
12778
12779 * manual/contrib.texi: Completely rewritten. It contains now an
12780 alphabetical list of contributors and their contributions.
12781
4a56a162
RH
127822012-05-21 Richard Henderson <rth@twiddle.net>
12783
12784 * misc/getauxval.c (__getauxval): Use unsigned long int.
12785 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12786 (getauxval): Use unsigned long int.
12787
d024d23c
L
127882012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12789
12790 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12791
cbc00a03
RM
127922012-05-21 Roland McGrath <roland@hack.frob.com>
12793
12794 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12795 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12796 __alignof__ (long double).
12797
478143fa
AZ
127982012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12799
12800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12801
c7683a6d
RH
128022012-05-20 Richard Henderson <rth@twiddle.net>
12803
12804 * misc/getauxval.c: New file.
12805 * misc/sys/auxv.h: New file.
12806 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12807 (routines): Add getauxval.
12808 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12809 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12810 * elf/dl-sysdep.c (_dl_auxv): Remove.
12811 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12812 * elf/dl-support.c (_dl_auxv): New variable.
12813 (_dl_aux_init): Initialize it.
12814 * manual/startup.texi (Auxiliary Vector): New node.
12815 * sysdeps/generic/bits/hwcap.h: New file.
12816 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12817 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12818 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12819 * sysdeps/sparc/sysdep.h: ... here. Include it.
12820 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12821 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
12822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12823 Update.
c7683a6d
RH
12824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12826 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12827 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12829 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12831 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12832
a6f1845d
AZ
128332012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12834
12835 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12836
cbcbe830
DM
128372012-05-19 David S. Miller <davem@davemloft.net>
12838
12839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12840
e0b16cc2
JM
128412012-05-19 Joseph Myers <joseph@codesourcery.com>
12842
12843 [BZ #14123]
12844 * math/s_ccosh.c: Include <float.h>
12845 (__ccosh): Avoid internal overflow calculating sinh and cosh
12846 values before multiplying by sin and cos values.
12847 * math/s_ccoshf.c: Likewise.
12848 * math/s_ccoshl.c: Likewise.
12849 * math/s_csin.c: Likewise.
12850 * math/s_csinf.c: Likewise.
12851 * math/s_csinl.c: Likewise.
12852 * math/s_csinh.c: Likewise.
12853 * math/s_csinhf.c: Likewise.
12854 * math/s_csinhl.c: Likewise.
12855 * math/libm-test.inc (ccos_test): Add more tests.
12856 (ccosh_test): Likewise.
12857 (csin_test): Likewise.
12858 (csinh_test): Likewise.
12859 * sysdeps/i386/fpu/libm-test-ulps: Update.
12860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12861
6ad13e08
L
128622012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12863
f66f0ce8
L
12864 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12865 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12866
6ad13e08
L
12867 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12868
b1d072a7
JM
128692012-05-19 Joseph Myers <joseph@codesourcery.com>
12870
12871 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12872 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12873 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12874 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12875 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12876 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12877 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12878 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12879 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12880 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12881 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12882 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12883 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12884 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12885 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12886 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12887 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12888 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12889 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12890 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12891 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12892 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12893 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12894 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12895 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12896 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12897 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12898 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12899 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12900 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12901 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12902
9eae47cb
AJ
129032012-05-18 Andreas Jaeger <aj@suse.de>
12904
12905 * csu/.gitignore: Delete.
12906
bb07f69f
L
129072012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12908
12909 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12910 (timex): Use __syscall_slong_t.
12911
e6bdb741
AJ
129122012-05-18 Andreas Jaeger <aj@suse.de>
12913 Carlos O'Donell <carlos_odonell@mentor.com>
12914
12915 * manual/install.texi (Configuring and compiling): Update
12916 description about files modified in the source directory.
d6c33fda 12917 * INSTALL: Regenerated.
e6bdb741 12918
1b74487e
L
129192012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12920
12921 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12922 value. Use "or" to set return value to -1.
12923 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12924 negate return value.
12925
a88b64b9
TMQMF
129262012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12927
12928 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12929 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12930 failure if the compiler has Graphite support disabled.
12931 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12932 Likewise.
12933 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12934 CFLAGS-memmove.c): Likewise.
12935 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12936 Likewise.
12937
3707636e
L
129382012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12939
610b8622
L
12940 * sysdeps/x86_64/x32/_itoa.h: New file.
12941
7cd195df
L
12942 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12943 getdents system call only if kernel and user dirents have the
12944 same d_ino and d_off.
12945
94b07d20
L
12946 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12947 LLONG_MAX != LONG_MAX.
12948 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12949 (_fitoa_word): Likewise.
12950
18298070
L
12951 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12952 years.
12953 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12954 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12955 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12956
553c7ea4
L
12957 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12958 include <bits/wordsize.h>. Check __x86_64__ instead of
12959 __WORDSIZE.
12960 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12961 if __x86_64__ is defined. Use anonymous union on fpstate.
12962
3707636e
L
12963 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12964 anonymous union.
12965
b53ef01a
AS
129662012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12967
37fb1dc0
AS
12968 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12969 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12970 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12971 Refer to _rtld_local_ro instead of _rtld_global_ro.
12972 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12973 Likewise.
12974 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
12975 Likewise.
12976 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
12977 Likewise.
12978 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
12979 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
12980 of _rtld_global, and rtld_progname instead of _dl_argv[0].
12981
b53ef01a
AS
12982 * sysdeps/powerpc/powerpc32/dl-machine.c
12983 (__elf_machine_runtime_setup) [PROF]: Don't reference
12984 _dl_prof_resolve.
12985
7a185db2
AJ
129862012-05-18 Andreas Jaeger <aj@suse.de>
12987
12988 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
12989 function only available for GCCs before 3.4 since GCC 3.4
12990 introduced a builtin.
12991 (lrint): Likewise.
12992 (llrintf): Likewise.
12993 (llrint): Likewise.
12994 (fmaxf): Likewise.
12995 (fmax): Likewise.
12996 (fminf): Likewise.
12997 (fmin): Likewise.
12998 (rint): Likewise.
12999 (rintf): Likewise.
13000 (nearbyint): Likewise.
13001 (nearbyintf): Likewise.
13002 (ceil): Likewise.
13003 (ceilf): Likewise.
13004 (floor): Likewise.
13005 (floorf): Likewise.
13006
3e5aef87
L
130072012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13008
428bd707
L
13009 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13010 on both fields and cast pointer to __syscall_ulong_t.
13011
3e5aef87
L
13012 * bits/types.h (__fsword_t): New type.
13013 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13014 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13015 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13016 (__FSWORD_T_TYPE): Likewise.
13017 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13018 (__FSWORD_T_TYPE): Likewise.
13019 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13020 (__FSWORD_T_TYPE): Likewise.
13021 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13022 (__FSWORD_T_TYPE): Likewise.
13023 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13024 __SWORD_TYPE with __fsword_t.
13025 (statfs64): Likewise.
13026
1ba7c3dc
DM
130272012-05-17 David S. Miller <davem@davemloft.net>
13028
13029 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13030
59910343
AJ
130312012-05-17 Andreas Jaeger <aj@suse.de>
13032
13033 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13034 warning.
13035
2e4c1e9e
L
130362012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13037
13038 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13039
de7f5ce7
AJ
130402012-05-17 Andreas Jaeger <aj@suse.de>
13041
13042 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13043 when it is used.
13044
286abc3d
CM
130452012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13046
13047 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13048
477cc68e
L
130492012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13050
13051 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13052 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13053
1a0994f5
CD
130542012-05-17 Andreas Jaeger <aj@suse.de>
13055 Carlos O'Donell <carlos_odonell@mentor.com>
13056
13057 [BZ #14059]
13058 * sysdeps/x86_64/multiarch/init-arch.h
13059 (bit_YMM_Usable): Rename to...
13060 (bit_AVX_Usable): ... this.
13061 (bit_FMA4_Usable): New macro.
13062 (bit_XMM_state): New macro.
13063 (bit_YMM_state): New macro.
13064 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13065 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13066 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13067 (CPUID_OSXSAVE): New macro.
13068 (CPUID_AVX): New macro.
13069 (CPUID_FMA4): New macro.
13070 (index_YMM_Usable): Rename to...
13071 (index_AVX_Usable): ... this.
13072 (HAS_AVX): Use HAS_ARCH_FEATURE.
13073 (HAS_FMA4): Likewise.
13074 (HAS_YMM_USABLE): Remove.
13075 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13076 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13077 are present.
13078 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13079 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13080 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13081 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13082 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13083
0af797de
CM
130842012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13085
13086 * math/libm-test.c: Support platforms without multiple rounding modes.
13087 * math/bug-nextafter.c: Support platforms without FP exceptions.
13088 * math/bug-nexttoward.c: Likewise.
13089 * math/test-fenv.c: Likewise.
13090 * math/test-misc.c: Likewise.
13091 * stdlib/bug-getcontext.c: Likewise.
13092
e39745ff
AJ
130932012-05-17 Andreas Jaeger <aj@suse.de>
13094
13095 * manual/examples/search.c (critter_cmp): Change signature to
13096 avoid warnings.
13097 * manual/string.texi (Collation Functions): Likewise.
13098
48970aba
L
130992012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13100
13101 * bits/types.h: Fold copyright years.
13102 * bits/typesizes.h: Likewise.
13103 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13104 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13105 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13106 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13107 * time/time.h: Likewise.
13108
bedee953
PP
131092012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13110
13111 [BZ #208]
13112 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13113 in instead of returning them. Return void.
13114 (__libc_mallinfo): Accumulate over all arenas.
13115 (__malloc_stats): Adjust for change in int_mallinfo interface.
13116
61653dfb
RM
131172012-05-16 Roland McGrath <roland@hack.frob.com>
13118
30b99d79
RM
13119 [BZ #10375]
13120 * configure.in (NM): Add AC_CHECK_TOOL for it.
13121 (libc_extra_cflags): New substituted variable.
13122 Check for -fstack-protector being used implicitly.
13123 * configure: Regenerated.
13124 * config.make.in (config-extra-cflags): New variable,
13125 gets @libc_extra_cflags@.
13126 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13127
61653dfb
RM
13128 [BZ #10375]
13129 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13130 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13131 * configure: Regenerated.
13132 * config.make.in (CPPUNDEFS): New substituted variable.
13133 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13134 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13135 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13136
661768bb
L
131372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13138
13139 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13140 (mq_attr): Use __syscall_slong_t.
13141
d4261567
L
131422012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13143
13144 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13145 Check __x86_64__ instead of __WORDSIZE.
13146 (_STAT_VER_LINUX): Likewise.
13147 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13148 __syscall_ulong_t and __syscall_slong_t.
13149 (stat64): Likewise.
13150
cf3ff365
L
131512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13152
13153 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13154
76cf3e4d
L
131552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13156
13157 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13158
a637753a
L
131592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13160
13161 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13162 __syscall_ulong_t.
13163
d5e05119
L
13164 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13165 include <bits/wordsize.h>. Check __x86_64__ instead of
13166 __WORDSIZE.
13167 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13168 defined.
13169 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13170
f62ee380
L
13171 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13172 include <bits/wordsize.h>. Check __x86_64__ instead of
13173 __WORDSIZE.
13174 (user_regs_struct): Use "__extension__ unsigned long long"
13175 instead of "unsigned long" if __x86_64__ is defined.
13176 (user): Likewise. Pad after pointer field if __ILP32__ is
13177 defined.
13178
4e124ced
JM
131792012-05-16 Joseph Myers <joseph@codesourcery.com>
13180
6a3951a0
JM
13181 * configure.in (makeinfo): Require version 4.5 or later. Allow
13182 versions 5 to 9.
13183 * configure: Regenerated.
13184 * manual/install.texi (texinfo): Increase version requirement to
13185 4.5 or later.
13186 * INSTALL: Regenerated.
13187
4e124ced
JM
13188 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13189
953ca31a
L
131902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13191
13192 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13193
617aca05
L
13194 * sysdeps/x86_64/x32/ffs.c: New file.
13195
5762f7ae
L
13196 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13197 __syscall_ulong_t.
13198 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13199 defined. Use __syscall_ulong_t.
13200 (shminfo): Use __syscall_ulong_t.
13201 (shm_info): Likewise.
13202
a26b6856
L
13203 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13204 __syscall_ulong_t.
13205
cb2b9ef7
L
13206 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13207 <bits/wordsize.h>.
13208 (msgqnum_t): Use __syscall_ulong_t.
13209 (msglen_t): Likewise.
13210 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13211 __syscall_ulong_t.
13212
34683bb0
L
13213 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13214 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13215
84a68786
L
13216 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13217
48baa5f1
L
13218 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13219 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13220
180be88b
L
13221 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13222 __syscall_slong_t.
13223
5e90c8ad
L
13224 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13225 include <bits/wordsize.h>. Check __x86_64__ instead of
13226 __WORDSIZE.
13227
23dfb58b
L
13228 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13229 "unsigned long long int" if __x86_64__ is defined.
13230 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13231
ce5d54b0
L
13232 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13233 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13234 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13235
13dc9eac
L
13236 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13237 <stdint.h>.
13238 (GET_PC): Cast to uintptr_t first.
13239 (GET_FRAME): Likewise.
13240 (GET_STACK): Likewise.
13241
a7895d15
L
13242 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13243 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13244 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13245 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13246 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13247 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13248 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13249 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13250 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13251 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13252 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13253 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13254 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13255 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13256 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13257 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13258 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13259 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13260 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13261 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13262 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13263 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13264 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13265 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13266 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13267 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13268 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13269 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13270 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13271
656416c9
AS
132722012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13273
5bd66283
AS
13274 * Makerules (+depfiles): Also collect depfiles from .oS in
13275 $(extra-objs).
13276 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13277 .oS, $(libnldbl-routines)).
13278
656416c9
AS
13279 * Makerules (native-compile-mkdep-flags): Define.
13280 * sunrpc/Makefile (extra-objs): Add $(addprefix
13281 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13282 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13283 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13284 calling $(make-target-directory).
13285
a46f2169
L
132862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13287
13288 * bits/types.h (__snseconds_t): Removed.
13289 * time/time.h (struct timespec): Replace __snseconds_t with
13290 __syscall_slong_t.
13291 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13292 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13293 Likewise.
13294 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13295 (__SNSECONDS_T_TYPE): Likewise.
13296 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13297 (__SNSECONDS_T_TYPE): Likewise.
13298 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13299 (__SNSECONDS_T_TYPE): Likewise.
13300
6af6528b
L
133012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13302
13303 * sysdeps/mach/hurd/bits/typesizes.h
13304 (__SYSCALL_SLONG_TYPE): New macro.
13305 (__SYSCALL_ULONG_TYPE): Likewise.
13306
de986b56
L
133072012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13308
13309 * bits/types.h (__syscall_slong_t): New type.
13310 (__syscall_ulong_t): Likewise.
13311
13312 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13313 (__SYSCALL_ULONG_TYPE): Likewise.
13314 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13315 (__SYSCALL_SLONG_TYPE): Likewise.
13316 (__SYSCALL_ULONG_TYPE): Likewise.
13317 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13318 (__SYSCALL_SLONG_TYPE): Likewise.
13319 (__SYSCALL_ULONG_TYPE): Likewise.
13320 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13321 (__SYSCALL_SLONG_TYPE): Likewise.
13322 (__SYSCALL_ULONG_TYPE): Likewise.
13323
85736dc7
L
133242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13325
13326 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13327 Add sigaltstack-offsets.sym.
13328 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13329 <sigaltstack-offsets.h>.
13330 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13331 longjmp_msg pointer.
13332 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13333 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13334 signal stack.
13335 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13336
cc03b296
JM
133372012-05-15 Joseph Myers <joseph@codesourcery.com>
13338
a9538892
JM
13339 * elf/stackguard-macros.h: Remove file.
13340 * sysdeps/generic/stackguard-macros.h: New file.
13341 * sysdeps/i386/stackguard-macros.h: Likewise.
13342 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13343 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13344 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13345 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13346 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13347 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13348 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13349 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13350 <elf/stackguard-macros.h>.
13351
cc03b296
JM
13352 [BZ #14109]
13353 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13354 __aligned__ in attribute.
13355 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13356 (gregset_t): Likewise.
13357
93171016
L
133582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13359
13360 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13361 * sysdeps/x86_64/64/Implies-after: Here. New file.
13362 * sysdeps/x86_64/x32/Implies-after: New file.
13363
d86813a0
L
133642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13365
13366 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13367 and access return value for _dl_profile_fixup. Use R10_LP to
13368 load frame size.
13369
2953ec75
L
133702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13371
13372 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13373
3b550e9e
L
133742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13375
13376 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13377 * sysdeps/x86_64/x32/sysdep.h: New file.
13378
eda41706
L
133792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13380
13381 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13382 * sysdeps/x86_64/setjmp.S: Likewise.
13383
9ea01d93
AZ
133842012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13385
13386 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13387 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13388 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13389 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13390 remove unused global constant.
13391
02a91938
CM
133922012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13393
13394 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13395 include of <not-cancel.h>.
13396
6540185f
RM
133972012-05-15 Roland McGrath <roland@hack.frob.com>
13398
13399 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13400
509072a0
AJ
134012012-05-15 Jeff Law <law@redhat.com>
13402 Andreas Jaeger <aj@suse.de>
13403
13404 [BZ #13594]
13405 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13406 out from...
13407 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13408 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13409 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13410 code changing __hst_map_handle.map.
13411
ba75122d
RM
134122012-05-15 Roland McGrath <roland@hack.frob.com>
13413
13414 * configure.in (sysnames): Look for Implies-before and Implies-after
13415 files.
13416 * configure: Regenerated.
13417
890d8bd8
L
134182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13419
13420 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13421 8-byte data alignment with LP_SIZE alignment.
13422
f6ee6623
L
134232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13424
13425 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13426 into R10_LP.
13427
ea2626f6
L
134282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13429
13430 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13431
085f715e
L
134322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13433
13434 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13435 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13436 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13437 Likewise.
13438 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13439
be8498fc
L
134402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13441
13442 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13443 (stackinfo_sub_sp): Likewise.
13444
70bc83b9
L
134452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13446
13447 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13448 RAX_LP.
13449
9bc0b730
L
134502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13451
13452 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13453 into R*_LP.
13454
6d2850e7
L
134552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13456
13457 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13458 sizes into R*_LP.
13459
3cb84561
L
134602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13461
13462 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13463
54e2ed81
L
134642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13465
13466 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13467 into R11_LP and load __x86_64_shared_cache_size_half into
13468 R8_LP.
13469
8a17f349
L
134702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13471
13472 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13473 R8_LP.
13474
777b1eea
AZ
134752012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13476
13477 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13478 logb for POWER7.
13479 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13480 logbf for POWER7.
13481 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13482 logbl for POWER7.
13483 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13484 powerpc32/power7/fpu/s_logb.c via #include.
13485 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13486 powerpc32/power7/fpu/s_logbf.c via #include.
13487 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13488 powerpc32/power7/fpu/s_logbl.c via #include.
13489
d20d4ac2
JM
134902012-05-15 Joseph Myers <joseph@codesourcery.com>
13491
13492 * README.libm: Remove file.
13493
6cdef1ab
L
134942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13495
13496 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13497 count for x32. Use R*_LP and omit operand-size suffix.
13498
0b254d8f
L
134992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13500
13501 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13502 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13503 * sysdeps/x86_64/x32/shlib-versions: New file.
13504
ceb809dc
RM
135052012-05-14 Roland McGrath <roland@hack.frob.com>
13506
13507 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13508 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13509 Use _dl_fatal_printf instead.
13510
37f1abd4
JM
135112012-05-14 Joseph Myers <joseph@codesourcery.com>
13512
13513 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13514 set if not set by the user. Do not allow for being unset.
13515 * sysdeps/unix/sysv/linux/configure: Regenerated.
13516
11de3a33
L
135172012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13518
13519 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13520 the `q' suffix from lea and replace .quad with ASM_ADDR.
13521
e02f153a
L
135222012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13523
13524 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13525 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13526 instead of $17.
13527 (PTR_DEMANGLE): Likewise.
13528
520ae0fd
L
135292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13530
13531 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13532 (LP_OP): Likewise.
13533 (ASM_ADDR): Likewise.
13534 (RAX_LP): Likewise.
13535 (RBP_LP): Likewise.
13536 (RBX_LP): Likewise.
13537 (RCX_LP): Likewise.
13538 (RDI_LP): Likewise.
13539 (RSI_LP): Likewise.
13540 (RSP_LP): Likewise.
13541 (R8_LP): Likewise.
13542 (R9_LP): Likewise.
13543 (R10_LP): Likewise.
13544 (R10_LP): Likewise.
13545 (R11_LP): Likewise.
13546 (R12_LP): Likewise.
13547 (R13_LP): Likewise.
13548 (R14_LP): Likewise.
13549 (R15_LP): Likewise.
13550
b985be81
L
135512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13552
13553 * sysdeps/x86_64/x32/dl-machine.h: New file.
13554
6a4888ff
AJ
135552012-05-14 Andreas Jaeger <aj@suse.de>
13556
13557 * manual/Makefile (subdir): Remove export of subdir.
13558 (all): Remove target.
13559 (.PHONY): Remove all from list.
13560 (mkinstalldirs): Remove.
13561 (.PHONY): Remove installdirs from list.
13562 ($(inst_infodir)/libc.info): Use make-target-directory.
13563 (installdirs): Remove.
13564 (subdir_%): Remove.
13565 (glibc-targets): Remove.
13566 (lib): Remove.
13567 (stubs): Remove.
13568 ($(objpfx)stubs ../po/manual.pot): Remove.
13569 ($(objpfx)stamp%): Remove.
13570 (make-target-directory): Remove.
13571 (subdir_install): Remove.
13572 (routines): Remove.
13573 (aux): Remove.
13574 (sources): Remove.
13575 (objects): Remove.
13576 (headers): Remove.
13577
13578 [BZ #13750]
13579 * manual/.gitignore: Remove, it's not needed anymore.
13580 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13581 all files in it.
13582 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13583 directory.
13584 (texis): Renamed to $(objpfx)texis.
13585 (texis-path): New, contains path to generated files.
13586 (chapters.%): Use texis-path for complete path, add extra argument
13587 libc-texinfo.sh.
13588 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13589 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13590 (summary,texi, stamp-summary): Use complete path of
13591 files. Generate files in build dir.
13592 (dir-add.texi): Build in build dir.
13593 (libm-err.texi,stamp-libm-err): Likewise.
13594 (version.texi, stamp-version): Likewise.
13595 (.%c.texi): Likewise.
13596 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13597 (mostlyclean): Remove target.
13598 (realclean): Remove target.
13599 (generated): Add new variable with contents from mostlyclean and
13600 realclean, remove entries duplicated in common-mostlyclean, add
13601 stamp-libm-err and stamp-version.
13602 (generated-dirs): Add libc directory.
13603 ($(inst_infodir)/libc.info): Install files from build dir.
13604
13605 * manual/install.texi (Configuring and compiling): Adjust since
13606 the info files are not part of the tar ball anymore.
13607
7ac77294
AJ
136082012-05-14 Andreas Jaeger <aj@suse.de>
13609
13610 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13611 variable.
13612
ffb7875d
JM
136132012-05-14 Joseph Myers <joseph@codesourcery.com>
13614
13615 [BZ #13717]
13616 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13617 to 2.2.0 where earlier.
13618 * sysdeps/unix/sysv/linux/configure: Regenerated.
13619 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13620 Remove conditional code.
13621 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13622 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13623 Remove conditional code.
13624 [!__NR_lchown]: Likewise.
13625 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13626 [__NR_lchown]: Likewise.
13627 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13628 comment referencing __ASSUME_LCHOWN_SYSCALL.
13629 * sysdeps/unix/sysv/linux/i386/sigaction.c
13630 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13631 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13632 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13633 Remove conditional code.
13634 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13635 (__protocol_available): Remove #if 0 code.
13636 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13637 conditional code.
13638 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13639 * sysdeps/unix/sysv/linux/kernel-features.h
13640 (__ASSUME_GETCWD_SYSCALL): Don't define.
13641 (__ASSUME_REALTIME_SIGNALS): Likewise.
13642 (__ASSUME_PREAD_SYSCALL): Likewise.
13643 (__ASSUME_PWRITE_SYSCALL): Likewise.
13644 (__ASSUME_POLL_SYSCALL): Likewise.
13645 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13646 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13647 non-SPARC.
13648 (__ASSUME_SIOCGIFNAME): Don't define.
13649 (__ASSUME_MSG_NOSIGNAL): Likewise.
13650 (__ASSUME_SENDFILE): Define unconditionally.
13651 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13652 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13653 conditional code.
13654 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13655 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13656 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13657 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13658 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13659 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13660 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13662 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13663 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13665 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13666 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13668 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13669 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13671 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13672 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13674 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13675 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13677 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13678 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13680 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13681 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13683 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13684 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13685 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13686 Remove conditional code.
13687 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13688 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13689 Remove conditional code.
13690 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13691 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13692 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13693 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13694 Remove conditional code.
13695 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13696 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13697 Remove conditional code.
13698 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13699 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13700 Remove conditional code.
13701 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13702 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13703 Remove conditional code.
13704 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13705 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13706 Remove conditional code.
13707 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13708 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13709 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13710 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13711 * sysdeps/unix/sysv/linux/sigaction.c
13712 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13713 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13714 * sysdeps/unix/sysv/linux/sigpending.c
13715 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13716 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13717 * sysdeps/unix/sysv/linux/sigprocmask.c
13718 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13719 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13720 * sysdeps/unix/sysv/linux/sigsuspend.c
13721 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13722 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13723 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13724 (__libc_missing_rt_sigs): Remove.
13725 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13726 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13727 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13728 Remove conditional code.
13729 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13730 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13731 return 1.
13732 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13733 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13734 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13735 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13736
1bfb7291
AJ
137372012-05-14 Andreas Jaeger <aj@suse.de>
13738
caae5a81
AJ
13739 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13740 it's not used in glibc.
13741 (__coshm1): Likewise.
13742 (__acosh1p): Likewise.
13743 (__sgn): Likewise.
13744
1bfb7291
AJ
13745 * manual/string.texi (Copying and Concatenation): Add missing
13746 variable in concat example.
13747 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13748
c044d724
L
137492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13750
144c5467 13751 [BZ #14103]
c044d724
L
13752 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13753 __builtin_clzl with __builtin_clzll.
13754
2523c62b
L
137552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13756
13757 [BZ #14104]
13758 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13759 libc_freeres_ptr.
13760
d7bb4c42
LD
137612012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13762
13763 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13764 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13765 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13766 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13767
9dc4e1fb
MF
137682012-05-14 Mike Frysinger <vapier@gentoo.org>
13769
13770 * NEWS: Update ia64 info.
13771
c7df0112
AS
137722012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13773
13774 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13775 used as bcopy.
13776
dc70356c
TS
137772012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13778
13779 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13780 * sysdeps/unix/syscalls.list (dup3): Likewise.
13781 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13782 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13783
9fb1a21f
L
137842012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13785
13786 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13787 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13788
4822a2a5
L
137892012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13790
13791 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13792 thread pointer.
13793 (TLS_IE): Use mov/add instead of movq/addq to load thread
13794 pointer.
13795 (TLS_GD_PREFIX): New.
13796 (TLS_GD): Use it.
13797
842b81d6
DM
137982012-05-11 David S. Miller <davem@davemloft.net>
13799
13800 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13801 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13802 (_FPU_SETCW): Likewise.
13803
1cf463cd
L
138042012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13805
13806 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13807 is 32-byte aligned.
13808
60cc4a18
AS
138092012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13810
13811 [BZ #11837]
13812 * iconvdata/gb18030.c: Update tables.
13813 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13814 characters specially.
13815 (BODY for TO_LOOP): Add encoding of missing ranges.
13816
febb44a4
TS
138172012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13818
13819 [BZ #13673]
13820 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13821 * sysdeps/mach/hurd/dup3.c: Likewise.
13822 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13823 * sysdeps/powerpc/memmove.c:: Likewise.
13824
0a10fb9e
L
138252012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13826
13827 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13828 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13829
df8a552f
L
138302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13831
13832 * elf/elf.h (R_X86_64_RELATIVE64): New.
13833 (R_X86_64_NUM): Updated.
13834 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13835 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13836 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13837 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13838 tst-quad1pie tst-quad2pie
13839 (modules-names): Add tst-quadmod1 tst-quadmod2.
13840 ($(objpfx)tst-quad1): New dependency.
13841 ($(objpfx)tst-quad2): Likewise.
13842 ($(objpfx)tst-quad1pie): Likewise.
13843 ($(objpfx)tst-quad2pie): Likewise.
13844 * sysdeps/x86_64/tst-quad1.c: New file.
13845 * sysdeps/x86_64/tst-quad1pie.c: New file.
13846 * sysdeps/x86_64/tst-quad2.c: Likewise.
13847 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13848 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13849 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13850 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13851 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13852
f34d6f84
ST
138532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13854
f42d41d1
ST
13855 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13856 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13857 * streams/stropts.h (t_scalar_t): Define type.
13858
3c3571fc
ST
13859 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13860 (_PATH_PRESERVE): Set to "/var/lib".
13861 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13862
61f06bd3
ST
13863 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13864 instead of int.
13865
918d4d71
ST
13866 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13867 if __dir_mkfile succeeded.
13868
f34d6f84
ST
13869 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13870 checking for _hurd_dtablesize. Unlock it right after having
13871 finished _hurd_dtable allocation.
13872
10589b4a
TS
138732012-05-10 Thomas Schwinge <thomas@schwinge.name>
13874
674cdbc7
TS
13875 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13876 * sysdeps/mach/hurd/configure: Regenerated.
13877 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13878 special-casing to...
13879 * sysdeps/gnu/configure.in: ... this new file.
13880 * sysdeps/unix/sysv/linux/configure: Regenerated.
13881 * sysdeps/gnu/configure: New generated file.
13882
8e41b99f
TS
13883 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13884 for Linux: use nsec instead of usec, as well as:
13885 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13886 members of type struct timespec.
13887 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13888 New macros.
13889 (struct stat64): Likewise.
13890 (_STATBUF_ST_NSEC): New macro.
13891 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13892
10589b4a
TS
13893 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13894 __strtoul_internal rather than strtoul.
13895
63643c85
PT
138962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13897
13898 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13899 and reject them.
13900
3faebe6a
ST
139012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13902
13903 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13904 which preserves existing values.
13905 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13906
c6474b07
PT
139072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13908
13909 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13910 TIMEOUT values. Return EINVAL for NFDS values either negative or
13911 greater than FD_SETSIZE.
13912
1043890b
ST
139132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13914
13915 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13916 allocated, call __vm_protect to finish enabling the existing space, and
13917 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13918 allocate the remainder.
13919
37ed8b9b
PT
139202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13921
13922 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13923 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13924
db653660
ST
139252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13926
37ed8b9b
PT
13927 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13928 sysdeps/mach/hurd/readlink.c.
b29d4053 13929
db653660
ST
13930 * posix/tst-sysconf.c (posix_options): Only use
13931 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13932 _POSIX_SYNCHRONIZED_IO when they are defined
13933 * sysdeps/mach/hurd/bits/posix_opt.h:
13934 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13935 (_XOPEN_REALTIME): Undefine macro.
13936 (_XOPEN_REALTIME_THREADS): Undefine macro.
13937 (_XOPEN_SHM): Undefine macro.
13938 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13939 macro to -1.
13940 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13941 macro to -1.
13942 (_POSIX_ASYNC_IO): Undefine macro.
13943 (_POSIX_PRIORITIZED_IO): Undefine macro.
13944 (_POSIX_SPIN_LOCKS): Define macro to -1.
13945
ee16e894
ST
13946 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13947 SA_NODEFER, SA_RESETHAND.
13948 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13949 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13950 F_DUPFD_CLOEXEC.
13951
6103ae3b
TS
139522012-05-10 Thomas Schwinge <thomas@schwinge.name>
13953
13954 * elf/Makefile (pldd-modules): Define unconditionally.
13955
80b4e5f3
TS
139562012-05-10 Thomas Schwinge <thomas@schwinge.name>
13957
13958 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13959
edadcbd6
ST
139602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13961
13962 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13963 Return ENOENT when name is empty.
13964 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13965
80694780
TS
139662012-05-10 Thomas Schwinge <thomas@schwinge.name>
13967
1792c087
TS
13968 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13969
80694780
TS
13970 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13971
6b645f0d
ST
139722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13973
80694780
TS
13974 Fix mlock in all cases except non-readable pages.
13975 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
13976 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 13977
6b645f0d
ST
13978 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
13979 (__mkdir): When path is `/', just fail with EEXIST.
13980 * sysdeps/mach/hurd/mkdirat.c: Likewise.
13981
e468f8a3
TS
139822012-05-10 Thomas Schwinge <thomas@schwinge.name>
13983
13984 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
13985 <sys/uio.h> (for writev).
13986 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
13987 and <sys/param.h> (for MIN).
13988
a4186cff
PT
139892012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13990
13991 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
13992 REQUESTED_TIME. Properly set the remaining time and return EINTR
13993 if interrupted.
13994
510bbf14
TS
139952012-05-10 Thomas Schwinge <thomas@schwinge.name>
13996
13997 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
13998 Depend on against $(link-rpcuserlibs).
13999
5d5722e8
ST
140002012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14001
a4186cff
PT
14002 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14003 (__libc_stack_end): Do not use attribute_relro.
14004 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14005 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 14006 to libthread-provided value.
a4186cff
PT
14007 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14008 attribute_relro.
5d5722e8 14009
37233df9
TS
140102012-05-10 Thomas Schwinge <thomas@schwinge.name>
14011
be971a2b
TS
14012 [BZ #3748]
14013 * bits/libc-lock.h (__libc_once_get): New macro.
14014 * sysdeps/mach/bits/libc-lock.h: Likewise.
14015 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14016 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14017 instead of using implementation details.
14018
37233df9
TS
14019 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14020 * libio/freopen.c: Likewise.
14021 * libio/freopen64.c: Likewise.
14022 * misc/syslog.c: Likewise.
14023 * nscd/connections.c: Likewise.
14024 * nscd/netgroupcache.c: Likewise.
14025 * sysdeps/posix/getcwd.c: Likewise.
14026
38de94a5
RM
140272012-05-10 Roland McGrath <roland@hack.frob.com>
14028
14029 * math/w_ilogbf.c: Add #include <limits.h>.
14030
67530489
ST
140312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14032
a4186cff 14033 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
14034 path instead of returning without unlocking.
14035
67530489
ST
14036 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14037 immediate-write ioctls.
14038 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14039
5aa3a74a
TS
140402012-05-10 Thomas Schwinge <thomas@schwinge.name>
14041
18bad2ae
TS
14042 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14043 __builtin_frame_address instead of making assumptions about the
14044 location of the return address relative to DATA. Force early load of
14045 the return address.
14046 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14047 __builtin_frame_address.
14048
5aa3a74a
TS
14049 dup3 for GNU Hurd.
14050 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14051 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14052 implement dup3 and do some further code clean-ups.
14053 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14054 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14055
ecd0de9a
ST
140562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14057
cd9fa985
ST
14058 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14059
a4186cff
PT
14060 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14061 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14062 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14063 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14064 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14065 d->port.lock.
802ca5a5 14066
a4186cff
PT
14067 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14068 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14069 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 14070
bcf55240
TS
140712012-05-10 Thomas Schwinge <thomas@schwinge.name>
14072
6960eb42
TS
14073 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14074 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14075 definitions.
14076
eb43375f
TS
14077 accept4 for GNU Hurd.
14078 * include/sys/socket.h (__libc_accept4): New prototype.
14079 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14080 to implement __libc_accept4.
14081 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14082 __libc_accept4.
14083 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14084
bcf55240
TS
14085 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14086 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14087 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14088 signal-defines.sym.
14089
6178c55b
ST
140902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14091
a4186cff 14092 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 14093
6f080c2f
TS
140942012-05-10 Thomas Schwinge <thomas@schwinge.name>
14095
14096 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14097 assertion on O_CLOEXEC flag.
14098 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14099 * hurd/intern-fd.c: Likewise.
14100 * hurd/port2fd.c: Likewise.
14101
bcfe3a54
ST
141022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14103
14104 [BZ #3906]
14105 * bits/in.h (IPV6_PKTINFO): Define new macro.
14106 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14107
89c9aa49
AZ
141082012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14109
14110 [BZ #13954]
14111 [BZ #13955]
14112 [BZ #13956]
14113 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14114 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14115 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14116 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14117 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14118 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14119 * math/libm-test.inc (logb_test) : Additional logb tests.
14120
021db4be
AJ
141212012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14122 Andreas Jaeger <aj@suse.de>
14123
14124 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14125 * configure: Regenerated.
14126 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14127 * config.make.in (link-obsolete-rpc): New substituted variable.
14128 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14129 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14130 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14131 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14132 so that libc.a contains the symbols.
14133 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14134 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14135 * sunrpc/auth_none.c: Likewise.
14136 * sunrpc/auth_unix.c: Likewise.
14137 * sunrpc/authdes_prot.c: Likewise.
14138 * sunrpc/authuxprot.c: Likewise.
14139 * sunrpc/clnt_gen.c: Likewise.
14140 * sunrpc/clnt_perr.c: Likewise.
14141 * sunrpc/clnt_raw.c: Likewise.
14142 * sunrpc/clnt_simp.c: Likewise.
14143 * sunrpc/clnt_tcp.c: Likewise.
14144 * sunrpc/clnt_udp.c: Likewise.
14145 * sunrpc/clnt_unix.c: Likewise.
14146 * sunrpc/des_crypt.c: Likewise.
14147 * sunrpc/des_soft.c: Likewise.
14148 * sunrpc/get_myaddr.c: Likewise.
14149 * sunrpc/key_call.c: Likewise.
14150 * sunrpc/key_prot.c: Likewise.
14151 * sunrpc/netname.c: Likewise.
14152 * sunrpc/pm_getmaps.c: Likewise.
14153 * sunrpc/pm_getport.c: Likewise.
14154 * sunrpc/pmap_clnt.c: Likewise.
14155 * sunrpc/pmap_prot.c: Likewise.
14156 * sunrpc/pmap_prot2.c: Likewise.
14157 * sunrpc/pmap_rmt.c: Likewise.
14158 * sunrpc/publickey.c: Likewise.
14159 * sunrpc/rpc_cmsg.c: Likewise.
14160 * sunrpc/rpc_common.c: Likewise.
14161 * sunrpc/rpc_dtable.c: Likewise.
14162 * sunrpc/rpc_prot.c: Likewise.
14163 * sunrpc/rpc_thread.c: Likewise.
14164 * sunrpc/rtime.c: Likewise.
14165 * sunrpc/svc.c: Likewise.
14166 * sunrpc/svc_auth.c: Likewise.
14167 * sunrpc/svc_raw.c: Likewise.
14168 * sunrpc/svc_run.c: Likewise.
14169 * sunrpc/svc_tcp.c: Likewise.
14170 * sunrpc/svc_udp.c: Likewise.
14171 * sunrpc/svc_unix.c: Likewise.
14172 * sunrpc/svcauth_des.c: Likewise.
14173 * sunrpc/xcrypt.c: Likewise.
14174 * sunrpc/xdr.c: Likewise.
14175 * sunrpc/xdr_array.c: Likewise.
14176 * sunrpc/xdr_float.c: Likewise.
14177 * sunrpc/xdr_intXX_t.c: Likewise.
14178 * sunrpc/xdr_mem.c: Likewise.
14179 * sunrpc/xdr_rec.c: Likewise.
14180 * sunrpc/xdr_ref.c: Likewise.
14181 * sunrpc/xdr_sizeof.c: Likewise.
14182 * sunrpc/xdr_stdio.c: Likewise.
14183
b5c086a2
RM
141842012-05-10 Roland McGrath <roland@hack.frob.com>
14185
14186 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14187 change. Update copyright years.
14188
6d74dd09
JM
141892012-05-10 Joseph Myers <joseph@codesourcery.com>
14190
14191 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14192
28e72501
MK
141932012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14194 Joseph Myers <joseph@codesourcery.com>
14195 Paul Pluzhnikov <ppluzhnikov@google.com>
14196
14197 [BZ #14012]
14198 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14199 requiring rpcgen.
14200 [cross-compiling] (extra-libs): Likewise.
14201 [cross-compiling] (extra-libs-others): Likewise.
14202 [cross-compiling] (librpcsvc-routines): Likewise.
14203 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14204 [cross-compiling] (omit-deps): Likewise.
14205 (sunrpc-CPPFLAGS): New variable.
14206 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14207 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14208 (cross-rpcgen-objs): New variable.
14209 (extra-objs): Append $(cross-rpcgen-objs).
14210 ($(cross-rpcgen-objs)): New rule.
14211 ($(objpfx)cross-rpcgen): Likewise.
14212 (rpcgen-cmd): Define to use $(built-program-file). Expand
14213 comment.
14214 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14215 ($(objpfx)x%.stmp): Likewise.
14216 * sunrpc/proto.h [IS_IN_build] (_): Define.
14217 [IS_IN_build] (_libc_intl_domainname): Likewise.
14218
c8c59454
L
142192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14220
14221 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14222 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14223 and R_X86_64_TPOFF64.
14224
6f27cd16
JM
142252012-05-10 Joseph Myers <joseph@codesourcery.com>
14226
14227 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14228 sysdeps/unix/sysv/syscalls.list.
14229 (stime): Likewise.
14230 (utime): Likewise.
14231 * sysdeps/unix/sysv/syscalls.list: Remove file.
14232
02467e1c
PE
142332012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14234
14235 [BZ #3440]
14236 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14237 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14238 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14239 (__LC_IDENTIFICATION): Make these macros useful in #if
14240 expressions, as required by C99.
14241
da392631
AS
142422012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14243
14244 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14245 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14246 after this.
14247
8115f29b
L
142482012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14249
14250 * stdlib/longlong.h: Updated from GCC.
14251
bdd74070
AJ
142522012-05-09 Andreas Jaeger <aj@suse.de>
14253
edfe0dbe
AJ
14254 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14255 default is first entry.
14256 (run_mode): Set type.
14257 (main): Remove informal message about syslog.
14258 (options): Fix typo.
14259
bcfe3a54
ST
14260 [BZ #14053]
14261 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 14262 to asm.
bcfe3a54
ST
14263 (lrint): Likewise.
14264 (llrintf): Likewise.
14265 (llrint): Likewise.
14266 (rint): Likewise.
14267 (rintf): Likewise.
14268 (nearbyint): Likewise.
14269 (nearbyintf): Likewise.
bdd74070 14270
91d8d69e
AJ
142712012-05-09 Andreas Jaeger <aj@suse.de>
14272 Pedro Alves <palves@redhat.com>
14273
14274 * nscd/nscd.c (run_mode): Use enum.
14275 (main): Cleanup coding style issue.
14276
bb90b80b
AJ
142772012-05-09 Alexandre Oliva <aoliva@redhat.com>
14278 Andreas Jaeger <aj@suse.de>
14279
bcfe3a54
ST
14280 * nscd/nscd.c (go_background): Replaced with...
14281 (run_mode): ... this.
bb90b80b 14282 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
14283 (options): Add -F --foreground.
14284 (main): Implement it.
14285 (parse_opt): Parse it.
bb90b80b 14286
1a4b75a1
AJ
142872012-05-09 Andreas Jaeger <aj@suse.de>
14288
14289 [BZ #14083]
14290 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14291 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14292 -Wconversion warning.
14293 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14294 Likewise.
14295
b1cc2472
JM
142962012-05-09 Joseph Myers <joseph@codesourcery.com>
14297
14298 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14299 == 0.
14300 (LC_ALL): Use macro-int-constant.
14301 (LC_COLLATE): Likewise.
14302 (LC_CTYPE): Likewise.
14303 (LC_MESSAGES): Likewise.
14304 (LC_MONETARY): Likewise.
14305 (LC_NUMERIC): Likewise.
14306 (LC_TIME): Likewise.
14307 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14308 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14309 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14310 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14311 Specify type.
14312 [C99-based standards] (float_t): Expect type.
14313 [C99-based standards] (double_t): Expect type.
14314 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14315 type.
14316 [C99-based standards] (HUGE_VALL): Likewise.
14317 [C99-based standards] (INFINITY): Likewise.
14318 [C99-based standards] (NAN): Likewise.
14319 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14320 [C99-based standards] (FP_NAN): Likewise.
14321 [C99-based standards] (FP_NORMAL): Likewise.
14322 [C99-based standards] (FP_SUBNORMAL): Likewise.
14323 [C99-based standards] (FP_ZERO): Likewise.
14324 [C99-based standards] (FP_FAST_FMA): Use
14325 optional-macro-int-constant. Specify type. Require == 1.
14326 [C99-based standards] (FP_FAST_FMAF): Likewise.
14327 [C99-based standards] (FP_FAST_FMAL): Likewise.
14328 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14329 [C99-based standards] (FP_ILOGBNAN): Likewise.
14330 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14331 Specify type.
14332 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14333 [C99-based standards] (math_errhandling): Specify type.
14334 [ISO99 || ISO11] (signgam): Do not allow.
14335 [non-C99-based standards] (copysignf): Do not allow.
14336 [non-C99-based standards] (exp2f): Likewise.
14337 [non-C99-based standards] (log2f): Likewise.
14338 [non-C99-based standards] (modff): Allow.
14339 [non-C99-based standards] (erff): Do not allow.
14340 [non-C99-based standards] (erfcf): Likewise.
14341 [non-C99-based standards] (gammaf): Likewise.
14342 [non-C99-based standards] (hypotf): Likewise.
14343 [non-C99-based standards] (j0f): Likewise.
14344 [non-C99-based standards] (j1f): Likewise.
14345 [non-C99-based standards] (jnf): Likewise.
14346 [non-C99-based standards] (lgammaf): Likewise.
14347 [non-C99-based standards] (tgammaf): Likewise.
14348 [non-C99-based standards] (y0f): Likewise.
14349 [non-C99-based standards] (y1f): Likewise.
14350 [non-C99-based standards] (ynf): Likewise.
14351 [non-C99-based standards] (isnanf): Likewise.
14352 [non-C99-based standards] (acoshf): Likewise.
14353 [non-C99-based standards] (asinhf): Likewise.
14354 [non-C99-based standards] (atanhf): Likewise.
14355 [non-C99-based standards] (cbrtf): Likewise.
14356 [non-C99-based standards] (expm1f): Likewise.
14357 [non-C99-based standards] (ilogbf): Likewise.
14358 [non-C99-based standards] (log1pf): Likewise.
14359 [non-C99-based standards] (logbf): Likewise.
14360 [non-C99-based standards] (nextafterf): Likewise.
14361 [non-C99-based standards] (remainderf): Likewise.
14362 [non-C99-based standards] (rintf): Likewise.
14363 [non-C99-based standards] (scalbf): Likewise.
14364 [non-C99-based standards] (copysignl): Likewise.
14365 [non-C99-based standards] (exp2l): Likewise.
14366 [non-C99-based standards] (log2l): Likewise.
14367 [non-C99-based standards] (modfl): Allow.
14368 [non-C99-based standards] (erfl): Do not allow.
14369 [non-C99-based standards] (erfcl): Likewise.
14370 [non-C99-based standards] (gammal): Likewise.
14371 [non-C99-based standards] (hypotl): Likewise.
14372 [non-C99-based standards] (j0l): Likewise.
14373 [non-C99-based standards] (j1l): Likewise.
14374 [non-C99-based standards] (jnl): Likewise.
14375 [non-C99-based standards] (lgammal): Likewise.
14376 [non-C99-based standards] (tgammal): Likewise.
14377 [non-C99-based standards] (y0l): Likewise.
14378 [non-C99-based standards] (y1l): Likewise.
14379 [non-C99-based standards] (ynl): Likewise.
14380 [non-C99-based standards] (isnanl): Likewise.
14381 [non-C99-based standards] (acoshl): Likewise.
14382 [non-C99-based standards] (asinhl): Likewise.
14383 [non-C99-based standards] (atanhl): Likewise.
14384 [non-C99-based standards] (cbrtl): Likewise.
14385 [non-C99-based standards] (expm1l): Likewise.
14386 [non-C99-based standards] (ilogbl): Likewise.
14387 [non-C99-based standards] (log1pl): Likewise.
14388 [non-C99-based standards] (logbl): Likewise.
14389 [non-C99-based standards] (nextafterl): Likewise.
14390 [non-C99-based standards] (remainderl): Likewise.
14391 [non-C99-based standards] (rintl): Likewise.
14392 [non-C99-based standards] (scalbl): Likewise.
14393 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14394 [non-C99-based standards] (FP_*): Do not allow.
14395 [C99-based standards] (FP_*): Change to
14396 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14397 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14398 allow.
14399 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14400 (SIG_ERR): Likewise.
14401 [X/Open-based standards] (SIG_HOLD): Likewise.
14402 (SIG_IGN): Likewise.
14403 (SIGABRT): Use macro-int-constant. Specify type. Require
14404 positive value.
14405 (SIGFPE): Likewise.
14406 (SIGILL): Likewise.
14407 (SIGINT): Likewise.
14408 (SIGSEGV): Likewise.
14409 (SIGTER): Likewise.
14410 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14411 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14412 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14413 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14414 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14415 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14416 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14417 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14418 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14419 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14420 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14421 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14422 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14423 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14424 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14425 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14426 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14427 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14428 [X/Open-based standards] (SIGTRAP): Likewise.
14429 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14430 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14431 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14432 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14433 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14434 allow.
14435
b9f1922d
IW
144362012-05-08 Ian Wienand <ianw@vmware.com>
14437
14438 [BZ #14080]
14439 * time/tzset.c (__tzset_parse_tz): Update default rules for
14440 daylight time changes in the Energy Policy Act of 2005.
14441
1db86e88
AJ
144422012-05-09 Andreas Jaeger <aj@suse.de>
14443
14444 [BZ #13983]
14445 * elf/ldconfig.c (parse_conf): Change string to make clear that
14446 ldconfig only issued a warning if ld.so.conf does not exist.
14447
dee4a4e3
DM
144482012-05-08 David S. Miller <davem@davemloft.net>
14449
ee0db190
DM
14450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14451 movxtod instead of popping the value on the stack.
14452
dee4a4e3
DM
14453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14454
6a43ec98
CD
144552012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14456
14457 * config.h.in: Add HAVE_ARM_PCS_VFP.
14458
05c2c961
RMG
144592012-05-08 Roland Mc Grath <roland@hack.frob.com>
14460
bcfe3a54
ST
14461 [BZ #13979]
14462 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14463 checking but the checks are disabled for any reason.
05c2c961 14464
4b30f61a
L
144652012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14466
14467 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14468 and ELF64_R_TYPE with ELFW(R_TYPE).
14469
eee2bc67
JM
144702012-05-08 Joseph Myers <joseph@codesourcery.com>
14471
7ea5391a
JM
14472 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14473 (ulimit): Likewise.
14474
eee2bc67
JM
14475 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14476 (settimeofday): Likewise.
14477
abb66a67
MF
144782012-05-08 Mike Frysinger <vapier@gentoo.org>
14479
14480 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14481 a struct th_u2 inside the union, and move tu_block/tu_code into
14482 a new th_u3 union of tu_block/tu_code inside of that. Move
14483 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14484 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14485 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14486 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14487 (th_stuff): Change to th_u1.tu_stuff.
14488 (th_data): Define.
14489 (th_msg): Change to th_u1.th_u2.tu_data.
14490
7f18b530
DM
144912012-05-07 David S. Miller <davem@davemloft.net>
14492
05760585
DM
14493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14494
7f18b530
DM
14495 [BZ #14074]
14496 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14497 (SETUP_PIC_REG): Use it.
14498 (SETUP_PIC_REG_LEAF): Use it.
14499
495fd99f
JM
145002012-05-07 Joseph Myers <joseph@codesourcery.com>
14501
14502 [BZ #13885]
14503 [BZ #13923]
14504 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14505 USE_AS_EXPM1L.
14506 (EXPL_FINITE): Likewise.
14507 (FLDLOG): Likewise.
14508 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14509 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14510 e_expl.S.
14511 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14512 USE_AS_EXPM1L.
14513 (EXPL_FINITE): Likewise.
14514 (FLDLOG): Likewise.
14515 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14516 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14517 e_expl.S.
14518 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14519 test of -max_value argument for long double.
14520 * sysdeps/i386/fpu/libm-test-ulps: Update.
14521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14522
6693d694
DM
145232012-05-06 David S. Miller <davem@davemloft.net>
14524
14525 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14526 quad soft-float symbols whose references which are compiler
14527 generated.
14528 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14529
6c23e11c
JM
145302012-05-06 Joseph Myers <joseph@codesourcery.com>
14531
d8b82cad
JM
14532 [BZ #13884]
14533 [BZ #13914]
14534 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14535 USE_AS_EXP10L.
14536 (EXPL_FINITE): Likewise.
14537 (FLDLOG): Likewise.
14538 (c0): Likewise.
14539 (c1): Likewise.
14540 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14541 Adjust comments for base varying.
14542 (__expl_finite): Change alias to EXPL_FINITE.
14543 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14544 e_expl.S.
14545 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14546 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14547 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14548 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14549 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14550 USE_AS_EXP10L.
14551 (EXPL_FINITE): Likewise.
14552 (FLDLOG): Likewise.
14553 (c0): Likewise.
14554 (c1): Likewise.
14555 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14556 Adjust comments for base varying.
14557 (__expl_finite): Change alias to EXPL_FINITE.
14558 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14559 tests for bugs.
14560 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14561
6c23e11c
JM
14562 [BZ #14064]
14563 * math/libm-test.inc (check_float_internal): Correct ulp
14564 calculation for subnormal expected results.
14565
29ba805c
AJ
145662012-05-06 Andreas Jaeger <aj@suse.de>
14567
14568 * Makeconfig (+math-flags): New, set to -frounding-math.
14569 (+cflags): Add +math-flags so that all of glibc gets compiled with
14570 it.
14571
14572 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14573
7b17aeda
JM
145742012-05-05 Joseph Myers <joseph@codesourcery.com>
14575
5779f134
JM
14576 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14577 Disable one test.
14578
41498f4d
JM
14579 [BZ #13787]
14580 [BZ #13922]
14581 [BZ #14036]
14582 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14583 (__ieee754_expl): Allow for and saturate large arguments.
14584 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14585 (u_threshold): Likewise.
14586 (__exp): Call __ieee754_exp before checking for overflow and
14587 underflow.
14588 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14589 (u_threshold): Likewise.
14590 (__expf): Call __ieee754_expf before checking for overflow and
14591 underflow.
14592 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14593 (u_threshold): Likewise.
14594 (__expl): Call __ieee754_expl before checking for overflow and
14595 underflow.
14596 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14597 (__ieee754_expl): Allow for and saturate large arguments.
14598 * math/libm-test.inc (exp_test): Add another test. Do not allow
14599 missing overflow exception on overflow.
14600 (expm1_test): Do not allow missing overflow exception on overflow.
14601
6698b8bf
JM
14602 * sysdeps/i386/fpu/e_expl.c: Move to ...
14603 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14604 rather than using inline asm.
14605 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14606 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14607 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14608
7b17aeda
JM
14609 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14610 (nice): Likewise.
14611 (poll): Likewise.
14612 (signal): Likewise.
14613 (time): Likewise.
14614 (times): Likewise.
14615
f7c85819
JM
146162012-05-04 Joseph Myers <joseph@codesourcery.com>
14617
14618 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14619 sysdeps/unix/common/syscalls.list.
14620 (fchmod): Likewise.
14621 (fchown): Likewise.
14622 (ftruncate): Likewise.
14623 (getrusage): Likewise.
14624 (gettimeofday): Likewise.
14625 (setpgid): Likewise.
14626 (setregid): Likewise.
14627 (setreuid): Likewise.
14628 (sigaction): Likewise.
14629 (truncate): Likewise.
14630 (vhangup): Likewise.
14631 * sysdeps/unix/common/syscalls.list: Remove file.
14632 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14633 * sysdeps/unix/sysv/linux/Implies: Likewise.
14634
336270d0
L
146352012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14636
14637 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14638 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14639 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14640 Moved to ...
14641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14642 Here.
14643 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14644 to ...
14645 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14646 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14647 to ...
14648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14649 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14650 to ...
14651 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14652 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14653 to ...
14654 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14655 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14656 to ...
14657 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14658 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14659 to ...
14660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14661 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14662 to ...
14663 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14664 Here.
14665 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14666 to ...
14667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14668 Here.
14669 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14670 to ...
14671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14672 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14673 Moved to ...
14674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14675 Here.
14676 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14677 to ...
14678 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14679
d128e450
JM
146802012-05-04 Joseph Myers <joseph@codesourcery.com>
14681
fa8ee516
JM
14682 * sysdeps/unix/common/bits/dirent.h: Remove file.
14683 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14684
d128e450
JM
14685 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14686 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14687 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14688 * sysdeps/unix/bsd/isatty.c: Likewise.
14689 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14690 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14691 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14692
ff8faaf0 146932012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 14694
62881be4 14695 [BZ #13563]
31dc8730
AZ
14696 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14697 long double comparison inaccuracies.
14698 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14699 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14700
6fef930c
AS
147012012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14702
14703 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14704 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14705
8f203e6c
JM
147062012-05-04 Joseph Myers <joseph@codesourcery.com>
14707
14708 [BZ #14049]
14709 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14710 nonzero digits before rounding a hex value.
14711 * stdlib/tst-strtod.c (tests): Add another test.
14712
5197d9c2
AK
147132012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14714
14715 * sysdeps/s390/fpu/libm-test-ulps: Update.
14716
f0c1dedf
AJ
147172012-05-03 Andreas Jaeger <aj@suse.de>
14718
14719 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14720 does not get optimized out.
14721 (malloc_opt_barrier): New.
14722
a65ef2ae 147232012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 14724 Roland McGrath <roland@hack.frob.com>
a65ef2ae 14725
2b942cb7 14726 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 14727 intermediate file deletion.
2b942cb7 14728 (generated): Add .symlist files.
a65ef2ae 14729
54b71e02
JM
147302012-05-03 Joseph Myers <joseph@codesourcery.com>
14731
14732 [BZ #13775]
14733 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14734 Redirect under this condition.
14735 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14736 [__USE_GNU] (__dprintf_chk): Not under this condition.
14737 [__USE_GNU] (__vdprintf_chk): Likewise.
14738 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14739 under this condition.
14740 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14741 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14742 [__USE_XOPEN2K8] (vdprintf): Likewise.
14743 [__USE_GNU] (__dprintf_chk): Not under this condition.
14744 [__USE_GNU] (__vdprintf_chk): Likewise.
14745 [__USE_GNU] (dprintf): Likewise.
14746 [__USE_GNU] (vdprintf): Likewise.
14747
d3dfcc41
RM
147482012-05-03 Roland McGrath <roland@hack.frob.com>
14749
14750 * elf/Makefile (common-generated): Set this instead of generated for
14751 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14752 $(all-built-dso)-derived lists.
14753
7ac30cc5
AJ
147542012-05-03 Andreas Jaeger <aj@suse.de>
14755
0c51e550
AJ
14756 * sysdeps/i386/fpu/libm-test-ulps: Update.
14757
7ac30cc5
AJ
14758 * FAQ: Removed.
14759 * FAQ.in: Likewise.
14760 * scripts/gen-FAQ.pl: Likewise.
14761 * manual/install.texi (Installation): Point to online location of
14762 FAQ.
14763 * Makefile (files-for-dist): Remove FAQ.
14764 (FAQ): Remove.
14765
d4c2917f
AM
147662012-05-02 Allan McRae <allan@archlinux.org>
14767
14768 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14769 (LDFLAGS-reldepmod5.so): Likewise.
14770 (LDFLAGS-reldep6mod1.so): Likewise.
14771 (LDFLAGS-reldep6mod4.so): Likewise.
14772 (LDFLAGS-reldep8mod3.so): Likewise.
14773 (LDFLAGS-unload4mod1.so): Likewise.
14774 (LDFLAGS-unload4mod2.so): Likewise.
14775 (LDFLAGS-tst-initorder): Likewise.
14776 (LDFLAGS-tst-initordera2.so): Likewise.
14777 (LDFLAGS-tst-initordera3.so): Likewise.
14778 (LDFLAGS-tst-initordera4.so): Likewise.
14779 (LDFLAGS-tst-initorderb2.so): Likewise.
14780 (LDFLAGS-noload): Likewise.
14781 (LDFLAGS-next): Likewise.
14782 (LDFLAGS-order2mod1.so): Likewise.
14783 (LDFLAGS-order2mod2.so): Likewise.
14784 (LDFLAGS-tst-initorder2): Likewise.
14785 (LDFLAGS-tst-initorder2a.so): Likewise.
14786 (LDFLAGS-tst-initorder2b.so): Likewise.
14787 (LDFLAGS-tst-initorder2c.so): Likewise.
14788 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14789
d77f993f
DM
147902012-05-02 David S. Miller <davem@davemloft.net>
14791
14792 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14793
171a70b4
PP
147942012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14795
14796 [BZ #14055]
14797 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14798
0be196ad
AJ
147992012-05-02 Andreas Jaeger <aj@suse.de>
14800
14801 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14802 since we manipulate rounding mode.
14803 (CPPFLAGS-test-idouble.c): Likewise.
14804 (CPPFLAGS-test-ifloat.c): Likewise.
14805 (CFLAGS-test-ldouble.c): Likewise.
14806 (CFLAGS-test-double.c): Likewise.
14807 (CFLAGS-test-float.c): Likewise.
14808 (CFLAGS-test-misc.c): Likewise.
14809 (CFLAGS-test-test-fenv.c): Likewise.
14810
4f9d04aa
AZ
148112012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14812
2b942cb7
RM
14813 [BZ #2550]
14814 [BZ #2570]
14815 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14816 comparisons to determine direction to adjust input.
4f9d04aa 14817
82a79e7d
RM
148182012-05-01 Roland McGrath <roland@hack.frob.com>
14819
f5a01ca9
RM
14820 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14821 output to the target.
14822
90fe4186
RM
14823 * scripts/localplt.awk: New file.
14824 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14825 (check-localplt-CFLAGS): Variable removed.
14826 ($(all-built-dso:=.jmprel)): New static pattern rule.
14827 (generated): Add those targets.
14828 (localplt-built-dso): New variable.
14829 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14830
14831 * elf/check-localplt.c: File removed.
14832
82397ed6
RM
14833 * scripts/check-execstack.awk: New file.
14834 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14835 (check-execstack-CFLAGS): Variable removed.
14836 ($(objpfx)check-execstack.h): Target removed.
14837 ($(objpfx)execstack-default): New target.
14838 (generated): Add that instead of check-execstack.h.
14839 ($(all-built-dso:=.phdr)): New static pattern rule.
14840 (generated): Add those targets.
14841 * elf/check-execstack.c: File removed.
14842
82a79e7d
RM
14843 * scripts/check-textrel.awk: New file.
14844 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14845 (check-textrel-CFLAGS): Variable removed.
14846 (all-built-dso): Use := to define.o
14847 ($(all-built-dso:=.dyn)): New static pattern rule.
14848 (generated): Add those targets.
14849 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14850 * config.make.in (READELF): New substituted variable.
14851 * elf/check-textrel.c: File removed.
14852
62fde54f 148532012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 14854
615605c9
JM
14855 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14856 allow.
14857 * conform/data/ctype.h-data [C99-based standards] (isblank):
14858 Expect function.
14859 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14860 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14861 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14862 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14863 Specify type. Require positive value.
14864 (EILSEQ): Likewise.
14865 (ERANGE): Likewise.
14866 [ISO || POSIX] (EILSEQ): Do not expect.
14867 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14868 Specify type. Require positive value.
14869 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14870 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14871 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14872 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14873 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14874 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14875 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14876 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14877 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14878 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14879 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14880 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14881 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14882 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14883 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14884 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14885 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14886 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14887 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14888 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14889 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14890 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14891 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14892 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14893 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14894 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14895 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14896 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14897 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14898 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14899 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14900 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14901 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14902 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14903 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14904 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14905 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14906 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14907 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14908 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14909 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14910 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14911 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14912 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14913 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14914 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14915 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14916 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14917 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14918 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14919 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14920 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14921 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14922 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14923 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14924 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14925 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14926 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14927 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14928 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14929 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14930 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14931 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14932 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14933 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14934 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14935 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14936 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14937 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14938 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14939 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14940 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14941 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14942 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14943 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14944 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14945 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14946 Require >= 2.
14947 (FLT_ROUNDS): Expect as macro, not constant.
14948 (FLT_MANT_DIG): Use macro-int-constant.
14949 (DBL_MANT_DIG): Likewise.
14950 (LDBL_MANT_DIG): Likewise.
14951 (FLT_DIG): Likewise.
14952 (DBL_DIG): Likewise.
14953 (LDBL_DIG): Likewise.
14954 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14955 (DBL_MIN_EXP): Likewise.
14956 (LDBL_MIN_EXP): Likewise.
14957 (FLT_MAX_EXP): Use macro-int-constant.
14958 (DBL_MAX_EXP): Likewise.
14959 (LDBL_MAX_EXP): Likewise.
14960 (FLT_MAX_10_EXP): Likewise.
14961 (DBL_MAX_10_EXP): Likewise.
14962 (LDBL_MAX_10_EXP): Likewise.
14963 (FLT_MAX): Use macro-constant.
14964 (DBL_MAX): Likewise.
14965 (LDBL_MAX): Likewise.
14966 (FLT_EPSILON): Use macro-constant. Give upper bound.
14967 (DBL_EPSILON): Likewise.
14968 (LDBL_EPSILON): Likewise.
14969 (FLT_MIN): Likewise.
14970 (DBL_MIN): Likewise.
14971 (LDBL_MIN): Likewise.
14972 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14973 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
14974 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
14975 [ISO11] (FLT_HAS_SUBNORM): Likewise.
14976 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
14977 [ISO11] (DBL_DECIMAL_DIG): Likewise.
14978 [ISO11] (FLT_DECIMAL_DIG): Likewise.
14979 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
14980 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
14981 [ISO11] (FLT_TRUE_MIN): Likewise.
14982 [ISO11] (LDBL_TRUE_MIN): Likewise.
14983 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14984 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
14985 (SCHAR_MIN): Use macro-int-constant. Specify type.
14986 (SCHAR_MAX): Likewise.
14987 (UCHAR_MAX): Likewise.
14988 (CHAR_MIN): Likewise.
14989 (CHAR_MAX): Likewise.
14990 (MB_LEN_MAX): Use macro-int-constant.
14991 (SHRT_MIN): Use macro-int-constant. Specify type.
14992 (SHRT_MAX): Likewise.
14993 (USHRT_MAX): Likewise.
14994 (INT_MAX): Likewise.
14995 (INT_MIN): Use macro-int-constant. Specify type. Make upper
14996 bound negative.
14997 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
14998 bound with "U".
14999 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15000 bound with "L".
15001 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15002 bound negative. Suffix upper bound with "L".
15003 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15004 bound with "UL".
15005 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15006 Specify type.
15007 [C99-based standards] (LLONG_MAX): Likewise.
15008 [C99-based standards] (ULLONG_MAX): Likewise.
15009 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15010 == 0.
15011 [ISO11] (max_align_t): Require type.
15012 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15013
c9140a62
JM
15014 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15015 from $CFLAGS, without defining away __attribute__ calls.
15016 (checknamespace): Use $CFLAGS_namespace.
15017
9af0bf29
JM
15018 * conform/conformtest.pl (@keywords): Only include C99 keywords
15019 for standards based on C99 or C11.
15020
343222a2
JM
15021 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15022 Disable tests.
15023 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15024 UNIX98]: Likewise.
15025
661f8cf0
JM
15026 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15027 usability of symbols in #if.
15028
ee74b9cb
JM
15029 * conform/conformtest.pl: If macro or constant types start
15030 "promoted:", expect the symbol to be of the following type
15031 promoted by the integer promotions.
62fde54f 15032
aafc49b3
JM
15033 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15034 in one place. Also handle "macro-constant".
15035
fefdf574
JM
15036 * conform/conformtest.pl: Only accept expected macro values with
15037 "==". Parse all "macro" lines in one place.
15038 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15039
f2d922fe
JM
15040 * conform/conformtest.pl: Handle braced types on "constant" lines
15041 instead of handling "typed-constant".
15042 * conform/data/signal.h-data: Use "constant" instead of
15043 "typed-constant".
15044
d22956c9
JM
15045 * conform/conformtest.pl: Handle "optional-" at start of lines in
15046 one place rather than duplicating several cases. Handle each
15047 format of "macro" line with initial "optional-".
15048
028e2e38
JM
15049 * conform/conformtest.pl: Only accept expected constant or
15050 optional-constant values with "==". Parse all "constant" lines in
15051 one place. Parse all "optional-constant" lines in one place.
15052 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15053 * conform/data/fmtmsg.h-data: Likewise.
15054 * conform/data/netinet/in.h-data: Likewise.
15055 * conform/data/tar.h-data: Likewise.
15056 * conform/data/limits.h-data: Use "==" form on "constant" and
15057 "optional-constant" lines.
15058
1b8f2850
JM
15059 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15060 Use -std=c99 for XOPEN2K.
15061 (@knownproblems): Remove.
15062 (newtoken): Don't check %isknown.
15063
a05a144b
JM
15064 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15065 Do not expect macro.
15066 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15067 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15068 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15069 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15070 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15071 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15072 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15073 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15074 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15075 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15076 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15077 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15078 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15079 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15080 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15081 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15082 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15083 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15084 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15085 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15086 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15087 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15088 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15089 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15090 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15091 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15092 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15093 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15094 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15095 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15096 [XPG3] (acosh): Likewise.
15097 [XPG3] (asinh): Likewise.
15098 [XPG3] (atanh): Likewise.
15099 [XPG3] (cbrt): Likewise.
15100 [XPG3] (expm1): Likewise.
15101 [XPG3] (ilogb): Likewise.
15102 [XPG3] (log1p): Likewise.
15103 [XPG3] (logb): Likewise.
15104 [XPG3] (nextafter): Likewise.
15105 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15106 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15107 [XPG3] (remainder): Likewise.
15108 [XPG3] (rint): Likewise.
15109 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15110 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15111 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15112 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15113 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15114 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15115 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15116 [UNIX98 || XOPEN2K] (scalb): Expect.
15117 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15118 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15119 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15120 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15121 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15122 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15123 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15124 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15125 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15126 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15127 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15128 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15129 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15130 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15131 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15132 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15133 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15134 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15135 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15136 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15137 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15138 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15139 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15140 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15141 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15142 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15143 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15144 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15145 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15146 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15147 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15148 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15149 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15150 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15151 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15152 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15153 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15154 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15155 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15156 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15157 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15158 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15159 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15160 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15161 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15162 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15163 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15164 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15165 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15166 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15167 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15168 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15169 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15170 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15171 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15172 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15173 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15174 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15175 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15176 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15177 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15178 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15179 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15180 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15181 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15182 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15183 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15184 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15185 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15186 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15187 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15188 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15189 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15190 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15191 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15192 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15193 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15194 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15195 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15196 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15197 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15198 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15199 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15200 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15201 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15202 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15203 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15204 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15205 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15206 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15207 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15208 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15209 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15210 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15211 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15212 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15213 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15214 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15215 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15216 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15217 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15218 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15219 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15220 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15221 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15222 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15223 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15224 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15225 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15226 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15227 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15228 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15229 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15230 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15231 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15232 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15233 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15234 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15235 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15236 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15237 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15238 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15239 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15240 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15241 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15242 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15243 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15244 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15245 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15246 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15247 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15248 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15249 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15250 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15251 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15252 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15253 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15254
73c5ebe3
JM
15255 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15256 _XOPEN_SOURCE_EXTENDED for XPG4.
15257
39c33b6c
JM
15258 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15259
62fde54f
JM
15260 * Makeconfig (localtime): Remove variable.
15261 (inst_localtime-file): Likewise.
15262
0741d64c
AS
152632012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15264
15265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15266 Update.
15267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15268 Update.
15269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15270 Update.
15271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15272 Update.
15273 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15274 Update.
15275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15276 Update.
15277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15278 Update.
15279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15280 Update.
15281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15282 Update.
15283
7cb029ee
JM
152842012-05-01 Joseph Myers <joseph@codesourcery.com>
15285
15286 [BZ #2550]
15287 [BZ #2570]
15288 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15289 comparisons to determine direction to adjust input.
15290 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15291 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15292 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15293 Likewise.
15294 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15295 Likewise.
15296 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15297 Likewise.
15298 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15299 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15300 Likewise.
15301 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15302 Likewise.
15303 * math/libm-test.inc (nexttoward_test): Add more tests.
15304
412bd966
AS
153052012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15306
15307 [BZ #14040]
15308 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15309 in version GLIBC_2.1, not GLIBC_2.0.
15310 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15311 Likewise.
15312
9568c0c2
JM
153132012-04-30 Joseph Myers <joseph@codesourcery.com>
15314
adfbc8ac
JM
15315 [BZ #13942]
15316 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15317 (1 - x) * (1 + x).
15318 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15319 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15320 * math/libm-test.inc (acos_test): Add more tests.
15321 (asin_test): Likewise.
15322 * sysdeps/i386/fpu/libm-test-ulps: Update.
15323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15324
5ba3cc69
JM
15325 [BZ #14034]
15326 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15327 of square root.
15328 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15329 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15330 * math/libm-test.inc (acos_test_tonearest): New function.
15331 (acos_test_towardzero): Likewise.
15332 (acos_test_downward): Likewise.
15333 (acos_test_upward): Likewise.
15334 (asin_test_tonearest): Likewise.
15335 (asin_test_towardzero): Likewise.
15336 (asin_test_downward): Likewise.
15337 (asin_test_upward): Likewise.
15338 (main): Call the new functions.
15339 * sysdeps/i386/fpu/libm-test-ulps: Update.
15340 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15341
9568c0c2
JM
15342 [BZ #13884]
15343 [BZ #13924]
15344 * math/e_exp10.c: Include <float.h>.
15345 (__ieee754_exp10): Handle underflow here rather than multiplying
15346 large negative argument by M_LN10.
15347 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15348 of __ieee754_expf.
15349 * math/e_exp10l.c: Include <float.h>.
15350 (__ieee754_exp10l): Handle underflow here rather than multiplying
15351 large negative argument by M_LN10l.
15352 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15353 spurious overflow exception on underflow.
15354
5ac3ea17
MP
153552012-04-29 Marek Polacek <polacek@redhat.com>
15356
15357 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15358 (__fortify_function): New macro.
15359 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15360 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15361 __extern_always_inline.
15362 * libio/bits/stdio2.h: Likewise.
15363 * libio/bits/stdio.h: Likewise.
15364 * string/string.h: Likewise.
15365 * string/bits/string3.h: Likewise.
15366 * include/stdio.h: Likewise.
15367 * stdlib/bits/stdlib.h: Likewise.
15368 * stdlib/stdlib.h: Likewise.
15369 * rt/bits/mqueue2.h: Likewise.
15370 * rt/mqueue.h: Likewise.
15371 * posix/bits/unistd.h: Likewise.
15372 * posix/unistd.h: Likewise.
15373 * io/bits/poll2.h: Likewise.
15374 * io/bits/fcntl2.h: Likewise.
15375 * io/fcntl.h: Likewise.
15376 * io/sys/poll.h: Likewise.
15377 * misc/bits/syslog.h: Likewise.
15378 * misc/bits/syslog-ldbl.h: Likewise.
15379 * misc/sys/syslog.h: Likewise.
15380 * socket/bits/socket2.h: Likewise.
15381 * socket/sys/socket.h: Likewise.
15382 * debug/tst-chk1.c: Likewise.
15383 * wcsmbs/bits/wchar2.h: Likewise.
15384 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15385 * wcsmbs/wchar.h: Likewise.
15386
ecf0ebfb
AJ
153872012-04-29 Andreas Jaeger <aj@suse.de>
15388
15389 * Makerules (tests): Remove enable-check-abi protection.
15390 (check-abi-warn): Remove.
15391 (check-abi-%): Remove check-abi-warn usage.
15392
15393 * configure.in: Remove check-abi configure option.
15394 * configure: Regenerated.
15395 * config.make.in (enable-check-abi): Remove.
15396
6d5c57fa
AS
153972012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15398
24c5d07e 15399 [BZ #14033]
ded5180a
AS
15400 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15401 double functions to double *_finite functions.
15402
7e0d315d
AS
15403 [BZ #13941]
15404 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15405 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15406 LDBL_MIN_EXP.
15407 * stdio-common/Makefile (tests): Add tst-sprintf3.
15408 * stdio-common/tst-sprintf3.c: New file.
15409
6d5c57fa
AS
15410 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15411 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15412
0749ff8b
JM
154132012-04-28 Joseph Myers <joseph@codesourcery.com>
15414
15415 * conform/conformtest.pl: Remove duplicate typed-constant
15416 handling.
15417
8dbd5d7b
DM
154182012-04-28 David S. Miller <davem@davemloft.net>
15419
15420 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15421 (check-abi-%): Remove AWK script prerequisite and explicit
15422 abilist directory.
15423 (check-abi): Rewrite to just diff the symlist with the abilist.
15424 (config-tls, config-abi-config): Delete, no longer used.
15425 (update-abi-%): Remove AWK script and explicit abilist directory.
15426 (update-abi): Rewrite to simply compare and conditionally copy the
15427 symlist and the sysdep abilist file. Remove update-abi-config
15428 checks.
15429 * abilist/ld.abilist: Remove.
15430 * abilist/libBrokenLocale.abilist: Remove.
15431 * abilist/libanl.abilist: Remove.
15432 * abilist/libcrypt.abilist: Remove.
15433 * abilist/libdl.abilist: Remove.
15434 * abilist/librt.abilist: Remove.
15435 * abilist/libthread_db.abilist: Remove.
15436 * abilist/libutil.abilist: Remove.
15437 * scripts/extract-abilist.awk: Remove.
15438 * scripts/merge-abilist.awk: Remove.
15439 * sysdeps/generic/libcidn.abilist: New file.
15440 * sysdeps/generic/libnss_compat.abilist: New file.
15441 * sysdeps/generic/libnss_db.abilist: New file.
15442 * sysdeps/generic/libnss_dns.abilist: New file.
15443 * sysdeps/generic/libnss_files.abilist: New file.
15444 * sysdeps/generic/libnss_hesiod.abilist: New file.
15445 * sysdeps/generic/libnss_nis.abilist: New file.
15446 * sysdeps/generic/libnss_nisplus.abilist: New file.
15447 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15448 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15449 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15450 file.
15451 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15452 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15453 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15454 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15455 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15456 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15457 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15458 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15459 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15460 file.
15461 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15462 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15463 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15464 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15465 file.
15466 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15467 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15468 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15469 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15470 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15471 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15472 file.
15473 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15474 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15475 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15476 file.
15477 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15478 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15479 New file.
15480 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15481 New file.
15482 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15483 New file.
15484 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15485 New file.
15486 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15487 New file.
15488 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15489 New file.
15490 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15491 New file.
15492 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15493 New file.
15494 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15495 New file.
15496 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15497 New file.
15498 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15499 New file.
15500 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15501 New file.
15502 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15503 New file.
15504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15505 file.
15506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15507 New file.
15508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15509 New file.
15510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15511 file.
15512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15513 New file.
15514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15515 New file.
15516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15517 file.
15518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15519 New file.
15520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15521 New file.
15522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15523 New file.
15524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15525 New file.
15526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15527 New file.
15528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15529 New file.
15530 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15532 file.
15533 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15534 New file.
15535 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15536 file.
15537 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15538 file.
15539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15540 file.
15541 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15542 file.
15543 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15544 file.
15545 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15546 New file.
15547 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15548 file.
15549 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15550 file.
15551 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15552 New file.
15553 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15554 file.
15555 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15556 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15557 file.
15558 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15559 New file.
15560 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15561 file.
15562 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15563 file.
15564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15565 file.
15566 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15567 file.
15568 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15569 file.
15570 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15571 New file.
15572 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15573 file.
15574 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15575 file.
15576 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15577 New file.
15578 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15579 file.
15580 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15581 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15582 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15583 file.
15584 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15585 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15586 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15587 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15588 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15589 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15590 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15591 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15592 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15593 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15594 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15595 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15596 file.
15597 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15598 New file.
15599 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15600 file.
15601 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15602 file.
15603 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15604 file.
15605 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15606 file.
15607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15608 file.
15609 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15610 New file.
15611 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15612 New file.
15613 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15614 file.
15615 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15616 New file.
15617 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15618 file.
15619 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15620 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15621 file.
15622 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15623 New file.
15624 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15625 file.
15626 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15627 file.
15628 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15629 file.
15630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15631 file.
15632 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15633 file.
15634 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15635 New file.
15636 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15637 New file.
15638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15639 file.
15640 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15641 New file.
15642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15643 file.
15644
41d73a1b
JM
156452012-04-28 Joseph Myers <joseph@codesourcery.com>
15646
15647 * conform/conformtest.pl: Fix typo in handling typed-constant from
15648 allow-header.
15649
28aeeda4
JM
156502012-04-27 Joseph Myers <joseph@codesourcery.com>
15651
adae8f5e
JM
15652 * README: Cut down references to pre-2.6 Linux kernels and
15653 Linuxthreads. Update lists of configurations in libc and ports
15654 and sort alphabetically. Say "or newer" with Linux kernel version
15655 requirements.
15656
28aeeda4
JM
15657 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15658
a462cb63
RA
156592012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15660
15661 [BZ #887]
15662 * math/libm-test.inc (logb_test_downward): New test to expose
15663 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15664 rounding mode.
15665
6ad3493e
JM
156662012-04-27 Joseph Myers <joseph@codesourcery.com>
15667
15668 [BZ #14027]
15669 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15670 to be done.
15671 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15672 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15673
2ce4f015
JM
156742012-04-26 Joseph Myers <joseph@codesourcery.com>
15675
5aeb141a
JM
15676 * sysdeps/unix/i386/brk.S: Remove file.
15677 * sysdeps/unix/i386/dl-brk.S: Likewise.
15678 * sysdeps/unix/i386/pipe.S: Likewise.
15679 * sysdeps/unix/i386/sigreturn.S: Likewise.
15680 * sysdeps/unix/i386/syscall.S: Likewise.
15681 * sysdeps/unix/i386/vfork.S: Likewise.
15682 * sysdeps/unix/i386/wait.S: Likewise.
15683
7143acae
JM
15684 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15685 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15686
2ce4f015
JM
15687 * configure.in (arm*-none*): Do not allow without
15688 --enable-hacker-mode.
15689 (netbsd*): Remove case setting base_os.
15690 (386bsd*): Likewise.
15691 (freebsd*): Likewise.
15692 (bsdi*): Likewise.
15693 (osf*): Likewise.
15694 (sunos*): Likewise.
15695 (ultrix*): Likewise.
15696 (newsos*): Likewise.
15697 (dynix*): Likewise.
15698 (*bsd*): Likewise.
15699 (sysv*): Likewise.
15700 (isc*): Likewise.
15701 (esix*): Likewise.
15702 (sco*): Likewise.
15703 (minix*): Likewise.
15704 (irix4*): Likewise.
15705 (irix6*): Likewise.
15706 (solaris[2-9]*): Likewise.
15707 (none): Likewise.
15708 * configure: Regenerated.
15709
0ac229c8
AZ
157102012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15711
15712 [BZ #11521]
15713 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15714 overflow or cancellation in calculating denominator.
15715 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15716 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15717 down expression to avoid unexpected rounding in newer GCCs.
15718 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15719
33f244f4
DM
157202012-04-26 David S. Miller <davem@davemloft.net>
15721
15722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15723 long-double compat symbols.
15724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15731 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15732 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15733 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15734 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15735 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15737
cfa1f3e8
DM
157382012-04-25 David S. Miller <davem@davemloft.net>
15739
15740 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15741 HWCAP_* values only after the memory barriers have been defined.
15742 (atomic_full_barrier): Define.
15743 (atomic_read_barrier): Define.
15744 (atomic_write_barrier): Define.
15745
6e236b92
SP
157462012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15747
15748 * shlib-versions: Add libgcc_s version information.
15749 * sysdeps/generic/libgcc_s.h: Remove.
15750 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15751 libgcc_s.h.
15752 * sysdeps/gnu/unwind-resume.c: Likewise.
15753 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15754
aab39a09
DM
157552012-04-25 David S. Miller <davem@davemloft.net>
15756
15757 * sysdeps/unix/sparc/brk.S: Delete.
15758 * sysdeps/unix/sparc/dl-brk.S: Delete.
15759 * sysdeps/unix/sparc/pipe.S: Delete.
15760 * sysdeps/unix/sparc/sysdep.S: Delete.
15761 * sysdeps/unix/sparc/sysdep.h: Delete.
15762 * sysdeps/unix/sparc/vfork.S: Delete.
15763 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15764 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15765 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15766 ret_ERRVAL, r0, r1, MOVE): Define.
15767 (JUMPTARGET): Remove.
15768 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15769 sysdeps/unix/sparc/sysdep.h
15770 (ENTRY, END): Remove.
15771 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15772
a3cc4f48
JM
157732012-04-25 Joseph Myers <joseph@codesourcery.com>
15774
2ed8cda2
JM
15775 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15776 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15777 -DIS_IN_build.
15778
35d76d59
JM
15779 * timezone/README: Update upstream location and email address for
15780 tzcode and tzdata.
15781 * timezone/zdump.c: Update from tzcode 2012b.
15782 * timezone/zic.c: Likewise.
15783
a3cc4f48
JM
15784 * configure.in (libc_cv_as_needed): Remove test.
15785 * configure: Regenerated.
15786 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15787 conditional definition.
15788 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15789 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15790 * config.make.in (have-as-needed): Remove variable.
15791
ceab42c3
SP
157922012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15793 Paul Pluzhnikov <ppluzhnikov@google.com>
15794
15795 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15796 strings correctly.
15797
3ce2865f
CLT
157982012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15799
15800 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15801 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15802 * sysdeps/sh/strlen.S: Likewise.
15803
f37e0d68
JM
158042012-04-24 Joseph Myers <joseph@codesourcery.com>
15805
ae186e9a
JM
15806 * sysdeps/unix/fork.S: Remove file.
15807 * sysdeps/unix/i386/fork.S: Likewise.
15808 * sysdeps/unix/sparc/fork.S: Likewise.
15809
b96914af
JM
15810 * sysdeps/unix/system.c: Remove file.
15811 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15812
f37e0d68
JM
15813 * sysdeps/unix/getegid.S: Remove file.
15814 * sysdeps/unix/geteuid.S: Likewise.
15815
87ef29ca
RM
158162012-04-24 Roland McGrath <roland@hack.frob.com>
15817
83bcd236
RM
15818 * scripts/check-localplt.awk: New file.
15819 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15820 of diff.
15821 * scripts/data/localplt-generic.data: Add a comment.
15822
87ef29ca
RM
15823 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15824 NODE when __dir_mkfile failed.
15825 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15826 Reported by Ludovic Courtès <ludo@gnu.org>.
15827
e5a6e567
AJ
158282012-04-24 Andreas Jaeger <aj@suse.de>
15829
15830 * Makerules (common-clean): Also remove gen-as-const-headers
15831 files.
15832
c1820385
JM
158332012-04-24 Joseph Myers <joseph@codesourcery.com>
15834
15835 * Makerules (native-compile): Do not change working directory for
15836 build. Use $(OUTPUT_OPTION) in command.
15837 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15838
94e02fc4
AZ
158392012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15840
15841 [BZ #13886]
15842 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15843 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15844 * math/libm-test.inc (floor_test): Add more tests.
15845 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15846
3a533ca3
JM
158472012-04-24 Joseph Myers <joseph@codesourcery.com>
15848
940ab4b3
JM
15849 * sysdeps/unix/getdents.c: Remove file.
15850 * sysdeps/unix/sysv/getdents.c: Likewise.
15851 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15852
90e037bd
JM
15853 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15854 sysdeps/unix/mman/syscalls.list.
15855 (mmap): Likewise.
15856 (mprotect): Likewise.
15857 (msync): Likewise.
15858 (munmap): Likewise.
15859 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15860 * sysdeps/unix/mman/syscalls.list: Remove.
15861 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15862
3a533ca3
JM
15863 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15864 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15865 * configure: Regenerated.
15866 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15867 $(libgcc_s_suffix).
15868 * config.make.in (libgcc_s_suffix): Remove variable.
15869
1ad743de
JM
158702012-04-23 Joseph Myers <joseph@codesourcery.com>
15871
4ad451e2
JM
15872 * sysdeps/unix/sysv/gethostname.c: Move to ...
15873 * sysdeps/posix/gethostname.c: ... here.
15874
5e37ce39
JM
15875 * sysdeps/unix/execve.S: Remove file.
15876
1ad743de
JM
15877 * sysdeps/unix/_exit.S: Remove file.
15878
4e681b5b
AJ
158792012-04-23 Andreas Jaeger <aj@suse.de>
15880
15881 [BZ #13739]
15882 * manual/Makefile: Remove make dist support, there's no
15883 need for a stand-alone documentation tar ball.
15884 (TEXI2DVI): Define always, it's not in Makeconfig.
15885 (dist): Removed.
15886 (tar-it): Removed.
15887 (edition): Removed.
15888 (glibc-doc-$(edition).tar): Removed
15889 (%.Z): Removed.
15890 (%.gz): Removed.
15891 (%.uu): Removed.
15892 (ETAGS): Remove, it's in Makeconfig.
15893 (move-if-change): Remove, it's in Makeconfig.
15894
38686a03 158952012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
15896
15897 [BZ #13970]
15898 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15899 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15900 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15901 (strtod_l, strtof_l, strtold_l): Remove __wur.
15902 It is not necessarily an error to ignore strtol's return value.
15903 One can reliably look at the stored endptr to decide whether
15904 the number had valid syntax.
15905
7c0616fa
AJ
159062012-04-21 Andreas Jaeger <aj@suse.de>
15907
803cb6b7 15908 [BZ #13739]
7c0616fa
AJ
15909 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15910
b0fe253f
JM
159112012-04-21 Joseph Myers <joseph@codesourcery.com>
15912
15913 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15914 * sysdeps/unix/sysv/Versions: Remove file.
15915
8280f22d
MT
159162012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15917
15918 [BZ #13927]
15919 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15920
75ce411f 159212012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
15922
15923 [BZ #7064]
15924 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15925 version from __vm86.
15926
097d59fa
JM
159272012-04-20 Joseph Myers <joseph@codesourcery.com>
15928
a90f3bcb
JM
15929 * sysdeps/unix/common/lxstat.c: Remove file.
15930 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15931
edc7ea78
JM
15932 * sysdeps/unix/sysv/Makefile: Remove file.
15933
cb78c221
JM
15934 * sysdeps/unix/sysv/direct.h: Remove file.
15935
efa6a45f
JM
15936 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15937 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15938 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15939 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15940 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15941 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15942 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15943
9c9f2d0c
JM
15944 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15945
4541c83b
JM
15946 * sysdeps/unix/xmknod.c: Remove file.
15947 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15948
f5d153a0
JM
15949 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15950
aa746595
JM
15951 * sysdeps/unix/sysv/i386/time.S: Remove file.
15952
cce5905e
JM
15953 * sysdeps/unix/fxstat.c: Remove file.
15954 * sysdeps/unix/xstat.c: Likewise.
15955 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15956
37fa3841
JM
15957 * sysdeps/unix/sysv/sigaction.c: Remove file.
15958
ff1962a3
JM
15959 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15960 (sysdep_headers): Remove variable.
15961 [termio.h not in sysdep_headers] (generated): Likewise.
15962 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15963 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15964 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15965 * sysdeps/unix/sysv/tcflow.c: Likewise.
15966 * sysdeps/unix/sysv/tcflush.c: Likewise.
15967 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15968 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15969 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15970 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15971 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15972
e7740d31
JM
15973 * sysdeps/unix/siglist.c: Remove file.
15974
ee06f18b
JM
15975 * sysdeps/unix/getppid.S: Remove file.
15976
097d59fa
JM
15977 * sysdeps/unix/mkdir.c: Remove file.
15978 * sysdeps/unix/rmdir.c: Likewise.
15979
ff3d51ec
AS
159802012-04-19 Andreas Schwab <schwab@linux-m68k.org>
15981
15982 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
15983 ERR_MAX value.
15984 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
15985 errlist-compat value.
15986
50f81fd7
DM
159872012-04-18 David S. Miller <davem@davemloft.net>
15988
15989 * sysdeps/generic/memcopy.h (reg_char): Delete.
15990 * debug/strcat_chk.c: Use char, not reg_char.
15991 * debug/strcpy_chk.c: Likewise.
15992 * debug/strncat_chk.c: Likewise.
15993 * debug/strncpy_chk.c: Likewise.
15994 * string/memchr.c: Likewise.
15995 * string/memrchr.c: Likewise.
15996 * string/rawmemchr.c: Likewise.
15997 * string/strcat.c: Likewise.
15998 * string/strchr.c: Likewise.
15999 * string/strchrnul.c: Likewise.
16000 * string/strcmp.c: Likewise.
16001 * string/strcpy.c: Likewise.
16002 * string/strncat.c: Likewise.
16003 * string/strncmp.c: Likewise.
16004 * string/strncpy.c: Likewise.
16005
8ff41c46
WS
160062012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16007
16008 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16009 __builtin_memcopy is called when src and dest ranges are known to not
16010 overlap.
16011
6b652f46
WS
160122012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16013
16014 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16015 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16016 fwd_align_merge macro call.
16017 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16018 bwd_align_merge macro call.
16019 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16020
b282631e
WS
160212012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16022
16023 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16024 bwd_align_merge macros.
16025 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16026 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16027 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16028
95aa737c
DM
160292012-04-18 David S. Miller <davem@davemloft.net>
16030
16031 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16032
7a99a614
AJ
160332012-04-18 Andreas Jaeger <aj@suse.de>
16034
16035 [BZ# 6794]
16036 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16037 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16038 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16039
16040 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16041 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16042 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16043
16044 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16045 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16046 Adjust for changed ldbl-128 files.
16047
16048 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16049 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16050 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16051
e5270c23
DM
160522012-04-17 David S. Miller <davem@davemloft.net>
16053
16054 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16055
fb5e92c9
AS
160562012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16057
16058 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16059 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16060 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16061 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16062 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16063 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16064
76da7265
AZ
160652012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16066
16067 [BZ #6794]
16068 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16069 * math/libm-test.inc: Add ilogb errno and exception tests.
16070 * math/w_ilogb.c: New file: ilogb wrapper.
16071 * math/w_ilogbf.c: New file: ilogbf wrapper.
16072 * math/w_ilogbl.c: New file: ilogbl wrapper.
16073 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16074 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16075 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16076 exception being thrown with 0.0 as argument.
16077 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16078 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16079 exception being thrown with 0.0 as argument.
16080 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16081 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16082 exception being thrown with 0.0 as argument.
16083 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16084 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16085 exception being thrown with 0.0 as argument.
16086 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16087 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 16088 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
16089 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16090 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16091 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16092 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16093 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16094 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16095
0396e69d
PB
160962012-04-17 Petr Baudis <pasky@ucw.cz>
16097
16098 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16099 with altivec.
16100
750b5926
MP
161012012-04-16 Marek Polacek <polacek@redhat.com>
16102
16103 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16104
751728a1
MP
161052012-04-16 Marek Polacek <polacek@redhat.com>
16106
16107 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16108 operands of fdivp instruction.
16109
34a27407
L
161102012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16111
16112 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16113 * elf/tst-auditmod3b.c: Likewise.
16114 * elf/tst-auditmod4b.c: Likewise.
16115 * elf/tst-auditmod5b.c: Likewise.
16116 * elf/tst-auditmod6b.c: Likewise.
16117 * elf/tst-auditmod6c.c: Likewise.
16118 * elf/tst-auditmod7b.c: Likewise.
16119 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16120 * sysdeps/x86_64/preconfigure.in: Likewise.
16121 * sysdeps/x86_64/preconfigure: Regenerated.
16122
7e73e17d
L
161232012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16124
16125 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16126 __ILP32__.
16127
c7a6ab72
AB
161282012-04-13 Antoine Balestrat <merkil33@gmail.com>
16129
16130 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16131 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16132
a9e8e0e0
CL
161332012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16134
16135 [BZ #13973]
16136 * locale/iso-639.def: Fix gl language name. Spotted by
16137 Yaron Shahrabani.
16138
ec98af7d
RM
161392012-04-12 Roland McGrath <roland@hack.frob.com>
16140
16141 [BZ #2074]
16142 * libio/libio.h (__io_write_fn): Update comment.
16143
247c3ede
PB
161442012-04-12 Petr Baudis <pasky@ucw.cz>
16145
16146 [BZ #2074]
16147 * stdio.texi (Hook Functions): The user provided writer function
16148 is not allowed to return -1.
16149
55939d6d
DM
161502012-04-11 David S. Miller <davem@davemloft.net>
16151
16152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16153
90020f5a
MF
161542012-04-11 Mike Frysinger <vapier@gentoo.org>
16155
16156 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16157 Add a leading slash to rtkaio.
16158
288f9098
JM
161592012-04-11 Jim Meyering <meyering@redhat.com>
16160
90020f5a
MF
16161 [BZ #11959]
16162 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16163 It is not necessarily an error to ignore fwrite's return
16164 value. One can reliably use ferror to test for errors after
16165 the fact.
288f9098 16166
4be2b570
L
161672012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16168
16169 * bits/types.h (__snseconds_t): New type.
16170 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16171
16172 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16173 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16174 (__SNSECONDS_T_TYPE): Likewise.
16175 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16176 (__SNSECONDS_T_TYPE): Likewise.
16177 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16178 (__SNSECONDS_T_TYPE): Likewise.
16179
288f9098 161802012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
16181
16182 [BZ #2636]
16183 * manual/time.texi (Processor Time): Return type of times is
16184 elapsed real time since an arbitrary point in the past.
16185 (CPU Time): Move CLK_TCK from here...
16186 (Processor Time): ...to here. Correct description.
16187 * manual/conf.texi (Constants for Sysconf): Correct description of
16188 _SC_CLK_TCK.
16189
d7dd4413
DM
161902012-04-10 David S. Miller <davem@davemloft.net>
16191
16192 [BZ #13967]
16193 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16194 where the is a gap between DT_REL(A) and DT_JMPREL.
16195
b46068fc
L
161962012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16197
16198 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16199 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16200 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16201
73d65cc3
SP
162022012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16203
16204 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16205 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16206 (dl_main): Handle --inhibit-cache.
16207 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16208 _dl_inhibit_cache.
16209 * elf/dl-load.c (_dl_map_object): Use it.
16210 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16211
bcc8d661
JM
162122012-04-09 Joseph Myers <joseph@codesourcery.com>
16213
8f9a2fae
JM
16214 [BZ #13872]
16215 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16216 (__ieee754_powl): Saturate large exponents rather than testing for
16217 overflow of y*log2(x).
16218 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16219 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16220 exceptions.
16221
bcc8d661
JM
16222 [BZ #11521]
16223 * math/s_ctan.c: Include <float.h>.
16224 (__ctan): Avoid internal overflow or cancellation in calculating
16225 denominator.
16226 * math/s_ctanf.c: Likewise.
16227 * math/s_ctanl.c: Likewise.
16228 * math/s_ctanh.c: Likewise.
16229 * math/s_ctanhf.c: Likewise.
16230 * math/s_ctanhl.c: Likewise.
16231 * math/libm-test.inc (ctan_test): Add more tests.
16232 (ctanh_test): Likewise.
16233 * sysdeps/i386/fpu/libm-test-ulps: Update.
16234 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16235
823fbbb4
AJ
162362012-04-09 Andreas Jaeger <aj@suse.de>
16237
03879793
AJ
16238 [BZ #6894]
16239 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16240 is an optional BSD extension.
16241
823fbbb4
AJ
16242 [BZ #10254]
16243 * manual/stdio.texi (Opening Streams): Document additional fopen
16244 parameters.
16245
8de131cb
RM
162462012-04-09 Roland McGrath <roland@hack.frob.com>
16247
16248 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16249 %eax without telling the compiler.
16250
c0ed9d7d
CD
162512012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16252
16253 [BZ # 13963]
16254 * manual/install.texi: Use sourceware.org.
16255
c483f6b4
JM
162562012-04-09 Joseph Myers <joseph@codesourcery.com>
16257
d7dd9453
JM
16258 [BZ #13873]
16259 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16260 (__ieee754_pow): Generate overflow and underflow using huge*huge
16261 and tiny*tiny rather than just returning constant infinity or zero
16262 for large exponents.
16263 * math/libm-test.inc (pow_test): Require overflow exceptions for
16264 applicable cases of large exponents.
16265
c483f6b4
JM
16266 [BZ #706]
16267 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16268 (__ieee754_pow): Use iterative multiplication algorithm only for
16269 integer exponents with absolute value below 1024. Check for odd
16270 integer exponents when using algorithm for real exponents.
16271 * math/libm-test.inc (pow_test): Add more tests.
16272 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16273
d2de7579
JM
162742012-04-08 Joseph Myers <joseph@codesourcery.com>
16275
16276 [BZ #13705]
16277 * math/libm-test.inc (exp_test): Do not allow overflow exception
16278 on underflow test.
16279
f77f1232
AJ
162802012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16281
16282 [BZ #13705]
16283 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16284 instead of __kernel_standard_f.
16285
3884932b
MF
162862012-04-08 Mike Frysinger <vapier@gentoo.org>
16287
16288 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16289 * sysdeps/x86_64/memset_chk.S: Likewise.
16290
54472e9c
AJ
162912012-04-08 Andreas Jaeger <aj@suse.de>
16292
6ab0fbfc
AJ
16293 [BZ #10153]
16294 * manual/startup.texi (Environment Access): Describe return value
16295 for putenv and setenv.
16296
61efba8c
AJ
16297 [BZ #6895]
16298 * manual/filesys.texi (Directory Entries): Add description for
16299 DT_LNK.
16300
95c3f29a
AJ
16301 [BZ #6890]
16302 * manual/filesys.texi (Directory Entries): Clarify that it's file
16303 system not operating system in the description of DT_UNKNOWN.
16304
54472e9c
AJ
16305 [BZ #6578]
16306 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16307
624254b1
SC
163082012-04-08 Stephen Compall <s11@member.fsf.org>
16309
16310 [BZ #6649]
16311 * manual/llio.texi (Opening and Closing Files): Add cross
16312 reference to explain mode argument.
16313
1e4920e0
MF
163142012-04-07 Mike Frysinger <vapier@gentoo.org>
16315
16316 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16317 * sysdeps/x86_64/memset_chk.S: Likewise.
16318
5ed848f3
DM
163192012-04-07 David S. Miller <davem@davemloft.net>
16320
16321 * elf/elf.h (R_SPARC_WDISP10): Define.
16322 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16323 R_SPARC_SIZE32.
16324 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16325 R_SPARC_SIZE64 and R_SPARC_H34.
16326
96154cd8
CD
163272012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16328
16329 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16330 conditions and remove no longer applicable assertion.
16331
9904dc47
L
163322012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16333
16334 * bits/byteswap.h: Include <features.h>.
16335 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16336 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16337
f8887d0a
L
163382012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16339
16340 * bits/byteswap.h (__bswap_16): Removed.
16341 Include <bits/byteswap-16.h> to get __bswap_16.
16342 * sysdeps/i386/bits/byteswap.h: Likewise.
16343 * sysdeps/s390/bits/byteswap.h: Likewise.
16344 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16345 * bits/byteswap-16.h: New file.
16346 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16347 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16348 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16349 * string/Makefile (headers): Add bits/byteswap-16.h.
16350
62470f60
PP
163512012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16352
16353 [BZ #13895]
16354 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16355 extra indirection.
16356 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16357 * nss/tst-nss-static.c: New.
16358
4dad7bab
RM
163592012-04-06 Robert Millan <rmh@gnu.org>
16360
16361 [BZ #6486]
16362 * manual/llio.texi (File Position Primitive): lseek
16363 refers to WHENCE when it really means OFFSET.
16364
e9142a17
AJ
163652012-04-06 Andreas Jaeger <aj@suse.de>
16366
2c040eff
AJ
16367 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16368 strncmp declarations.
16369
e9142a17
AJ
16370 * abilist/libc.abilist: Add __poll and __ppoll.
16371
ff9f1c5f
DM
163722012-04-05 David S. Miller <davem@davemloft.net>
16373
dcd2ae90
DM
16374 * scripts/check-local-headers.sh: Accept a host triplet in the
16375 path matched by the exclude regexp.
16376
993eb054
DM
16377 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16378 definition.
16379 * sysdeps/powerpc/powerpc32/dl-machine.h
16380 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16381 * sysdeps/s390/s390-32/dl-machine.h
16382 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16383 * sysdeps/sparc/sparc32/dl-machine.h
16384 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16385 * sysdeps/sparc/sparc64/dl-machine.h
16386 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16387
ff9f1c5f
DM
16388 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16389 lazy binding.
48e2e132 16390 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
16391 undefined symbol errors.
16392
48e2e132 16393 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
16394 DT_NEEDED entries.
16395
e80d6f94
MM
163962012-04-05 Michael Matz <matz@suse.de>
16397
16398 [BZ #13592]
16399 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16400
349fa79f
AJ
164012012-04-05 Andreas Jaeger <aj@suse.de>
16402
16403 [BZ #13908]
16404 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16405 comment.
16406
f402708f
KK
164072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16408
16409 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16410 which ROUND is no valid rounding mode.
16411
2ecccfc9
KK
164122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16413
16414 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16415 read again.
16416 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16417
8a53f50f
KK
164182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16419
16420 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16421 an exception using FPU order intentionally.
16422
164232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16424
16425 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16426 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16427 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16428 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16429
d653abb7
SJ
164302012-04-05 Simon Josefsson <simon@josefsson.org>
16431
16432 [BZ #12340]
16433 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16434 EINVAL when BUFLEN is too smal.
16435
c3b1bf7d
TS
164362012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16437
16438 [BZ #13553]
16439 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16440 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16441
b1aa60f3
AJ
164422012-04-03 Andreas Jaeger <aj@suse.de>
16443
c3b1bf7d 16444 [BZ #13938]
67f60a26
AJ
16445 * manual/setjmp.texi (System V contexts): Fix sentence.
16446
b1aa60f3
AJ
16447 [BZ #13926]
16448 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16449 New macro for this case.
16450 [!__GNUC__] (__bswap_64): New inline function for this case.
16451 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16452 * bits/byteswap.h: Likewise.
16453 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16454 ull, guard with __GLIBC_HAVE_LONG_LONG.
16455
16456 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16457 __GLIBC_HAVE_LONG_LONG.
16458
16459 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16460 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16461
39c59c35
TMQMF
164622012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16463
16464 [BZ #13691]
16465 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16466 inptr and inend, rather than using last_ch.
16467
135ffda8
DM
164682012-04-02 David S. Miller <davem@davemloft.net>
16469
16470 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16471 * stdio-common/printf-parse.h (read_int): Change return type to
16472 'int', return -1 on INT_MAX overflow.
16473 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16474 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16475 overflows INT_MAX. Check for overflow of in-format-string precision
16476 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16477 SIZE_MAX not INT_MAX for integer overflow test.
16478 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16479 skip the construct in the format string but do not record anything.
16480 * stdio-common/bug22.c: Adjust to test both width/prevision
16481 INT_MAX overflow as well as total length INT_MAX overflow. Check
16482 explicitly for proper errno values.
16483
228c019e
TS
164842012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16485
302cadd3
TS
16486 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16487 CHAR_MAX.
16488 * string/test-strcmp.c [! WIDE]: Likewise.
16489 * time/tst-mktime2.c: Likewise for INT_MAX.
16490 * string/test-string.h: #include <sys/param.h> for MIN.
16491
228c019e
TS
16492 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16493 * sysdeps/i386/init-first.c (init): Likewise.
16494 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16495 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16496 * sysdeps/sh/init-first.c (init): Likewise.
16497
cfa633f5
UD
164982012-04-01 Ulrich Drepper <drepper@gmail.com>
16499
16500 * po/ru.po: Update from translation team.
d1635ef8 16501 * po/vi.po: Likewise.
cfa633f5 16502
6cd0a5ea
SP
165032012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16504
16505 * resolv/nss_dns/dns-host.c: Merge copyright years.
16506
4b43400f
LD
165072012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16508
16509 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16510 Optimize memcpy with prefetch if
16511 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16512 src, dst pointers have unequal 16 byte alignments.
16513
48c41d04
SP
165142012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16515
16516 [BZ #13928]
16517 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16518 from a CNAME entry and return the minimum ttl for the query.
16519 (gaih_getanswer_slice): Likewise.
16520
b8dc394d
JL
165212012-03-30 Jeff Law <law@redhat.com>
16522
16523 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16524 due to long keys.
16525 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16526 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16527
2f5a5ed0
JL
16528 * resolv/nss_dns/dns-host.c: Update copyright year.
16529
1d39e359
UD
165302012-03-30 Ulrich Drepper <drepper@gmail.com>
16531
c030f70c 16532 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 16533 requests to save a system call. Fix check that all bytes are sent.
c030f70c 16534
1d39e359
UD
16535 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16536 comments for sendmmsg.
16537
165382012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
16539
16540 [BZ #13691]
16541 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16542 with only 1 character between 0x0041 and 0x01b0.
16543 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16544 * wcsmbs/tst-mbsnrtowcs.c: New file.
16545
20fde227
DM
165462012-03-29 David S. Miller <davem@davemloft.net>
16547
16548 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16549 small copies by hand.
16550
984a4237
JL
165512012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16552
16553 [BZ #13761]
16554 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16555 _nss_compat_initgroups_dyn): Fall back to malloc/free
16556 for large group memberships.
16557
18c9d62b
DM
165582012-03-28 David S. Miller <davem@davemloft.net>
16559
88d85d4f
DM
16560 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16561 that branches into memcpy.
16562 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16563 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16564 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16565 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16566 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16567 bits.
16568 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16569 implementation too.
16570 * sysdeps/sparc/mempcpy.S: New file.
16571
e5aa83e1
DM
16572 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16573 the IFUNC routine in the libc case.
16574 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16575
88570753
DM
16576 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16577 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16578 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16579 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16580 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16581 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16582 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16583 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16584
249d7567
DM
16585 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16586 loop to 256 bytes instead of 64 bytes and fix test signedness.
16587
18c9d62b
DM
16588 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16589 * sysdeps/sparc/sparc32/Makefile: rather than here...
16590 * sysdeps/sparc/sparc64/Makefile: and here.
16591
05f3d1f6
UD
165922012-03-28 Ulrich Drepper <drepper@gmail.com>
16593
16594 * malloc/mallocbug.c: Avoid warnings about unused variables.
16595
86ae07a8
JL
165962012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16597
16598 [BZ #13760]
16599 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16600 in the right place. Discard and retry query if response is
16601 larger than input buffer size.
16602
41bf21a1
JM
166032012-03-28 Joseph Myers <joseph@codesourcery.com>
16604
d6270972
JM
16605 [BZ #369]
16606 [BZ #2678]
16607 [BZ #3866]
16608 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16609 x for large integer exponent.
16610 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16611 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16612 sign of result as needed afterwards.
16613 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16614 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16615 result for underflowing pow the same as for overflow.
16616 (__kernel_standard_l): Handle powl overflow and underflow here
16617 rather than calling __kernel_standard.
16618 * math/libm-test.inc (pow_test): Add more tests.
16619
414fca03 16620 [BZ #3868]
41bf21a1
JM
16621 [BZ #13879]
16622 [BZ #13910]
16623 [BZ #13911]
16624 [BZ #13912]
16625 [BZ #13913]
16626 [BZ #13915]
16627 [BZ #13916]
16628 [BZ #13917]
16629 [BZ #13918]
16630 [BZ #13919]
16631 [BZ #13920]
16632 [BZ #13921]
16633 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16634 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16635 (__kernel_standard_l): New function.
16636 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16637 __kernel_standard.
16638 * math/w_acosl.c (__acosl): Likewise.
16639 * math/w_asinl.c (__asinl): Likewise.
16640 * math/w_atan2l.c (__atan2l): Likewise.
16641 * math/w_atanhl.c (__atanhl): Likewise.
16642 * math/w_coshl.c (__coshl): Likewise.
16643 * math/w_exp10l.c (__exp10l): Likewise.
16644 * math/w_exp2l.c (__exp2l): Likewise.
16645 * math/w_fmodl.c (__fmodl): Likewise.
16646 * math/w_hypotl.c (__hypotl): Likewise.
16647 * math/w_j0l.c (__j0l, __y0l): Likewise.
16648 * math/w_j1l.c (__j1l, __y1l): Likewise.
16649 * math/w_jnl.c (__jnl, __ynl): Likewise.
16650 * math/w_lgammal.c (__lgammal): Likewise.
16651 * math/w_log10l.c (__log10l): Likewise.
16652 * math/w_log2l.c (__log2l): Likewise.
16653 * math/w_logl.c (__logl): Likewise.
16654 * math/w_powl.c (__powl): Likewise.
16655 * math/w_remainderl.c (__remainderl): Likewise.
16656 * math/w_scalbl.c (sysv_scalbl): Likewise.
16657 * math/w_sinhl.c (__sinhl): Likewise.
16658 * math/w_sqrtl.c (__sqrtl): Likewise.
16659 * math/w_tgammal.c (__tgammal): Likewise.
16660 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16661 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16662 * math/libm-test.inc (acos_test): Add more tests.
16663 (acosh_test): Likewise.
16664 (asin_test): Likewise.
16665 (atanh_test): Likewise.
16666 (exp_test): Likewise.
16667 (exp10_test): Likewise.
16668 (exp2_test): Likewise.
16669 (expm1_test): Likewise.
16670 (lgamma_test): Likewise.
16671 (log_test): Likewise.
16672 (log10_test): Likewise.
16673 (log1p_test): Likewise.
16674 (log2_test): Likewise.
16675 (pow_test): Do not allow some spurious overflow exceptions.
16676 (sqrt_test): Add more tests.
16677 (tgamma_test): Likewise.
16678 (y0_test): Likewise.
16679 (y1_test): Likewise.
16680 (yn_test): Likewise.
16681
dd62fda6
AB
166822012-03-27 Anton Blanchard <anton@samba.org>
16683
16684 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16685 MAP_HUGETLB.
16686 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16687 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16688 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16689
1e3cdfda
AJ
166902012-03-27 David S. Miller <davem@davemloft.net>
16691
b855ab85
DM
16692 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16693
1e3cdfda
AJ
16694 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16695 have-as-vis3 check.
16696
166972012-03-27 Andreas Jaeger <aj@suse.de>
16698
16699 * sysdeps/x86_64/elf/configure.in: Moved to ...
16700 * sysdeps/x86_64/configure.in: ... here.
16701 * sysdeps/x86_64/elf/start.S: Moved to ...
16702 * sysdeps/x86_64/start.S: ... here.
16703 * sysdeps/x86_64/elf/configure: Delete.
16704
16705 * sysdeps/x86_64/configure.in: Merge contents from
16706 sysdeps/i386/configure.in (without i686 check).
16707
16708 * sysdeps/i386/elf/Versions: Merge into ...
16709 * sysdeps/i386/Versions: ... this.
16710 * sysdeps/i386/elf/Versions: Delete file.
16711 * sysdeps/i386/elf/start.S: Moved to ...
16712 * sysdeps/i386/start.S: ...here.
16713 * sysdeps/i386/elf/configure.in: Merge into...
16714 * sysdeps/i386/configure.in: ...here.
16715 * sysdeps/i386/elf/configure.in: Delete file.
16716 * sysdeps/i386/elf/configure: Delete file.
16717
16718 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16719 * debug/backtracesyms.c: ... here.
16720 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16721 * debug/backtracesymsfd.c: ... here.
16722 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16723 * sysdeps/generic/ifunc-sel.h: ... here.
16724
16725 * sysdeps/unix/i386/start.c: Delete file.
16726 * sysdeps/unix/sparc/start.c: Delete file.
16727 * sysdeps/unix/start.c: Delete file.
16728
16729 * sysdeps/sh/elf/configure.in: Moved to ...
16730 * sysdeps/sh/configure.in: ... here.
16731 * sysdeps/sh/elf/start.S: Moved to ...
16732 * sysdeps/sh/start.S: ... here.
16733 * sysdeps/sh/elf/configure: Delete file.
16734
16735 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16736 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16737 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16738 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16739 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16740 * sysdeps/powerpc/powerpc64/start.S: here.
16741 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16742 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16743 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16744 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16745 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16746
16747 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16748 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16749 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16750 * sysdeps/powerpc/powerpc32/start.S: ... here.
16751 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16752 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16753 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16754
16755 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16756 * sysdeps/powerpc/ifunc-sel.h: ... here.
16757 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16758 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16759
16760 * sysdeps/sparc/elf/configure.in: Moved to ...
16761 * sysdeps/sparc/configure.in: ... here.
16762 * sysdeps/sparc/elf/configure: Delete file.
16763 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16764 * sysdeps/sparc/sparc32/start.S: ... here.
16765 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16766 * sysdeps/sparc/sparc64/start.S: ... here.
16767 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16768 * sysdeps/sparc/sparc32/Makefile: ... this.
16769 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16770 * sysdeps/sparc/sparc64/Makefile: ... this.
16771
16772 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16773 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16774 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16775 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16776 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16777 * sysdeps/s390/s390-32/setjmp.S: ... here.
16778 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16779 * sysdeps/s390/s390-32/configure.in: ... here.
16780 * sysdeps/s390/s390-32/elf/configure: Delete file.
16781 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16782 * sysdeps/s390/s390-32/start.S: ... here.
16783
16784 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16785 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16786 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16787 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16788 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16789 * sysdeps/s390/s390-64/setjmp.S: ... here.
16790 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16791 * sysdeps/s390/s390-64/configure.in: ... here
16792 * sysdeps/s390/s390-64/elf/configure: Delete file.
16793 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16794 * sysdeps/s390/s390-64/start.S: ... here.
16795 * sysdeps/s390/s390-64/elf/configure: Delete.
16796
16797 * configure.in: Remove support for elf directories in sysdeps.
16798
16799 * configure: Regenerated.
16800 * sysdeps/i386/configure: Regenerated.
16801 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16802 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16803 * sysdeps/s390/s390-32/configure: Regenerated.
16804 * sysdeps/s390/s390-64/configure: Regenerated.
16805 * sysdeps/sh/configure: Regenerated.
16806 * sysdeps/sparc/configure: Regenerated.
16807 * sysdeps/x86_64/configure: Regenerated.
16808
a3f61311
AS
168092012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16810
c876e002
AS
16811 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16812
a3f61311
AS
16813 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16814 denormal result into account.
16815
ac4c54f0
RM
168162012-03-25 Roland McGrath <roland@hack.frob.com>
16817
16818 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16819 Reported by Allan McRae <allan@archlinux.org>.
16820
6a9b9c02
JL
168212012-03-23 Jeff Law <law@redhat.com>
16822
16823 * nss/getnssent.c (__nss_getent): Fix typo.
16824
4c42a0c1
DM
168252012-03-23 David S. Miller <davem@davemloft.net>
16826
16827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16828
1532c7ac
L
168292012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16830
16831 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16832 to pad to uint64_t for each field.
16833 (dl_tls_index): Replace unsigned long with uint64_t.
16834
3ff42526
PP
168352012-03-23 Daniel Jacobowitz <dmj@google.com>
16836 Paul Pluzhnikov <ppluzhnikov@google.com>
16837
16838 [BZ #6528]
16839 * grp/Makefile (otherlibs): Don't set it.
16840 * inet/Makefile (otherlibs): Likewise.
16841 * login/Makefile (otherlibs): Likewise.
16842 * nscd/Makefile (otherlibs): Likewise.
16843 * posix/Makefile (otherlibs): Likewise.
16844 * pwd/Makefile (otherlibs): Likewise.
16845 * rt/Makefile (otherlibs): Likewise.
16846 * sunrpc/Makefile (otherlibs): Likewise.
16847 * nss/Makefile (otherlibs): Likewise.
16848 Add libnss_files to routines and static-only-routines.
16849 ($(objpfx)getent): Remove rule.
16850 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16851 static-only-routines.
16852
7c69cd14
JM
168532012-03-22 Joseph Myers <joseph@codesourcery.com>
16854
16855 [BZ #13892]
16856 * math/s_cexp.c: Include <float.h>.
16857 (__cexp): Handle exp result overflowing not necessarily
16858 overflowing both real and imaginary parts of result.
16859 * math/s_cexpf.c: Likewise.
16860 * math/s_cexpl.c: Likewise.
16861 * math/libm-test.inc (cexp_test): Add more tests.
16862 * sysdeps/i386/fpu/libm-test-ulps: Update.
16863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16864
81b035fe
L
168652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16866
16867 * include/link.h (ELFW): New macro.
16868 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16869 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16870
1da7940c
L
168712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16872
16873 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16874 with uint64_t.
16875
b749dbb9
L
168762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16877
16878 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16879 declaration.
16880 (struct La_x32_retval): Likewise.
16881
2ff87f3f
L
168822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16883
16884 * sysdeps/x86_64/preconfigure.in: New file.
16885 * sysdeps/x86_64/preconfigure: New generated file.
16886
c0df8e69
JM
168872012-03-22 Joseph Myers <joseph@codesourcery.com>
16888
48e44791
JM
16889 [BZ #13824]
16890 * math/e_exp2l.c: Include <float.h>.
16891 (__ieee754_exp2l): Handle overflow and underflow cases
16892 separately. Only pass fractional part of argument to
16893 __ieee754_expl.
16894 * math/libm-test.inc (exp2_test): Add more tests.
16895
c0df8e69
JM
16896 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16897 negating x to take absolute value.
16898 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16899 Likewise.
16900 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16901 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16902 Likewise.
16903 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16904 computing low part if x was negated.
16905 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16906
c8e43ba7
L
169072012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16908
16909 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16910 la_x32_gnu_pltexit.
16911 (pltexit): Cast int_retval to ptrdiff_t.
16912 * elf/tst-auditmod3b.c: Likewise.
16913 * elf/tst-auditmod4b.c: Likewise.
16914 * elf/tst-auditmod5b.c: Likewise.
16915 * elf/tst-auditmod6b.c: Likewise.
16916 * elf/tst-auditmod6c.c: Likewise.
16917 * elf/tst-auditmod7b.c: Likewise.
16918
16919 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16920 and x32_gnu_pltexit.
16921
16922 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16923 __ELF_NATIVE_CLASS.
16924 (La_x32_regs): New macro.
16925 (La_x32_retval): Likewise.
16926 (la_x32_gnu_pltenter): New function prototype.
16927 (la_x32_gnu_pltexit): Likewise.
16928
7998fa78
AS
169292012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16930
dcb33988
AS
16931 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16932 exponent.
16933
233fc563
AS
16934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16935
7998fa78
AS
16936 * configure.in (libc_cv_cc_nofma): Check for option to disable
16937 generation of FMA instructions.
16938 * configure: Regenerate.
16939 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16940 * sysdeps/ieee754/dbl-64/Makefile: New file.
16941 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16942 Remove brandred-fma4.
16943 (CFLAGS-brandred-fma4.c): Remove.
16944 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16945 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16946 define.
16947 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16948 define.
16949
8e95c99a
L
169502012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16951
16952 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16953 LLONG_MAX != LONG_MAX.
16954 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16955 (_fitoa_word): Likewise.
16956 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16957 LLONG_MAX != LONG_MAX.
16958 * stdio-common/_itowa.h: Include <_itoa.h>.
16959 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16960 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16961 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16962 only if not defined.
16963 (_ITOA_WORD_TYPE): Likewise.
16964 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16965 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16966
6f4db457
DM
169672012-03-21 David S. Miller <davem@davemloft.net>
16968
16969 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16970
7785fe5a
L
169712012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16972
16973 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
16974 of x86_64 when setting libc_cv_slibdir, libdir and
16975 libc_cv_localedir.
16976 * sysdeps/unix/sysv/linux/configure: Regenerated.
16977
4535cd55
JM
169782012-03-21 Joseph Myers <joseph@codesourcery.com>
16979
16980 * manual/lang.texi (Old Varargs): Remove section.
16981 (How Variadic): Update menu.
16982 (va_start): Do not mention varargs.h.
16983
17228132
TS
169842012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16985 Joseph Myers <joseph@codesourcery.com>
16986
16987 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
16988 link test.
16989 * configure: Regenerated.
16990
8149f976
TS
169912012-03-21 Thomas Schwinge <thomas@codesourcery.com>
16992
05f3d1f6
UD
16993 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
16994 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
16995 conformtest.pl
8149f976 16996
1a4ac776
JM
169972012-03-21 Joseph Myers <joseph@codesourcery.com>
16998
be22ce65
JM
16999 * NOTES: Remove.
17000 * Makefile (files-for-dist): Remove NOTES.
17001 (NOTES): Remove rule.
17002 * README: Don't refer to NOTES.
17003 * manual/creature.texi: Don't include macros.texi.
17004 * manual/intro.texi (creature.texi): Remove comment referring to
17005 NOTES.
17006
40b601fb
JM
17007 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17008 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17009 * configure: Regenerated.
17010 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17011 LIBC_TRY_CC_OPTION.
17012 (libc_cv_as_i686): Likewise.
17013 (libc_cv_cc_avx): Likewise.
17014 (libc_cv_cc_sse2avx): Likewise.
17015 (libc_cv_cc_fma4): Likewise.
17016 (libc_cv_cc_novzeroupper): Likewise.
17017 * sysdeps/i386/configure: Regenerated.
17018
1a4ac776
JM
17019 [BZ #13883]
17020 * sysdeps/i386/fpu/s_cexp.S: Remove.
17021 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17022 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17023 * math/libm-test.inc (cexp_test): Add more tests.
17024 * sysdeps/i386/fpu/libm-test-ulps: Update.
17025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17026
a458e7fe
AM
170272012-03-21 Allan McRae <allan@archlinux.org>
17028
17029 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17030
0cb7efc5
JM
170312012-03-21 Joseph Myers <joseph@codesourcery.com>
17032
17033 [BZ #13871]
17034 * math/w_exp2.c: Do not include <float.h>.
17035 (o_threshold, u_threshold): Remove.
17036 (__exp2): Calculate result before checking finiteness and calling
17037 __kernel_standard.
17038 * math/w_exp2f.c: Likewise.
17039 * math/w_exp2l.c: Likewise.
17040 * math/libm-test.inc (exp2_test): Require overflow exception for
17041 1e6 input.
2460d3aa
JM
17042
17043 [BZ #3866]
17044 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17045 range of signed 64-bit integers before using fistpll. Remove
17046 checks for whether integers fit in mantissa bits.
17047 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17048 the range of signed 32-bit integers before using fistpl. Remove
17049 checks for whether integers fit in mantissa bits.
17050 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17051 (__ieee754_powl): Test for y outside the range of signed 64-bit
17052 integers before using fistpll. Reduce 64-bit values to 63-bit
17053 ones as needed.
17054 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17055 divide-by-zero is raised for zero to large negative powers.
17056 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17057 (__ieee754_powl): Test for y outside the range of signed 64-bit
17058 integers before using fistpll. Reduce 64-bit values to 63-bit
17059 ones as needed.
17060 * math/libm-test.inc (pow_test): Add more tests.
17061
eb96ffb0
L
170622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17063
17064 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17065 <stdio-common/_itoa.h>.
17066 * debug/segfault.c: Likewise.
17067 * elf/dl-cache.c: Likewise.
17068 * elf/dl-minimal.c: Likewise.
17069 * elf/dl-misc.c: Likewise.
17070 * elf/dl-sysdep.c: Likewise.
17071 * elf/dl-version.c: Likewise.
17072 * elf/rtld.c: Likewise.
17073 * hurd/hurdsock.c: Likewise.
17074 * hurd/lookup-retry.c: Likewise.
17075 * malloc/malloc.c: Likewise.
17076 * malloc/mtrace.c: Likewise.
17077 * nscd/nscd_getgr_r.c: Likewise.
17078 * nscd/nscd_getpw_r.c: Likewise.
17079 * nscd/nscd_getserv_r.c: Likewise.
17080 * posix/getopt_init.c: Likewise.
17081 * posix/wordexp.c: Likewise.
17082 * stdio-common/_itoa.c: Likewise.
17083 * stdio-common/printf_fphex.c: Likewise.
17084 * stdio-common/vfprintf.c: Likewise.
17085 * string/_strerror.c: Likewise.
17086 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17087 * sysdeps/i386/i686/hp-timing.h: Likewise.
17088 * sysdeps/mach/_strerror.c: Likewise.
17089 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17090 * sysdeps/mach/hurd/sethostid.c: Likewise.
17091 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17092 * sysdeps/mach/xpg-strerror.c: Likewise.
17093 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17094 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17095 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17096 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17097 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17098 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17099 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17100 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17101 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17102 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17103 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17104 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17105 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17106 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17107 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17108 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17109 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17110 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17111 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17112 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17113 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17114
17115 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17116
17117 * stdio-common/_itoa.h: Moved to ...
17118 * sysdeps/generic/_itoa.h: Here.
17119
17120 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17121
17122 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17123 instead of "_itoa.h" and "_itowa.h".
17124 * stdio-common/vfprintf.: Likewise.
17125
d1af992d
L
171262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17127
17128 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17129 <bits/wordsize.h>.
17130 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17131 (__signbit): Likwise.
17132 (llrintf): Likwise.
17133 (llrint): Likwise.
17134
114883e0
L
171352012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17136
17137 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17138 __WORDSIZE != 64.
17139
c135cc1b
JM
171402012-03-20 Joseph Myers <joseph@codesourcery.com>
17141
17142 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17143 OVERFLOW_EXCEPTION_OK.
17144 * math/libm-test.inc ("Philosophy"): Update comment about
17145 exception testing.
17146 (OVERFLOW_EXCEPTION): Define.
17147 (OVERFLOW_EXCEPTION_OK): Likewise.
17148 (INVALID_EXCEPTION_OK): Renumber.
17149 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17150 (IGNORE_ZERO_INF_SIGN): Likewise.
17151 (test_exceptions): Handle FE_OVERFLOW.
17152 (exp10_test): Expect overflow exceptions.
17153 (exp2_test): Likewise.
17154 (expm1_test): Likewise.
17155 (nextafter_test): Likewise.
17156 (pow_test): Likewise.
17157 (scalbn_test): Likewise.
17158 (scalbln_test): Likewise.
17159
95443d88
L
171602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17161
17162 * sysdeps/x86_64/bits/atomic.h
17163 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17164 64bit integer.
17165 (atomic_exchange_acq): Likewise.
17166 (__arch_exchange_and_add_body): Likewise.
17167 (__arch_add_body): Likewise.
17168 (atomic_add_negative): Likewise.
17169 (atomic_add_zero): Likewise.
17170
490df6c4
L
171712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17172
c2722551 17173 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
17174 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17175
5e52b189
L
171762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17177
17178 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17179 Check __x86_64__ instead of __WORDSIZE.
17180
a9879d4c
L
171812012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17182
17183 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17184
5df98260
DM
171852012-03-19 David S. Miller <davem@davemloft.net>
17186
e1497744
DM
17187 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17188
5df98260
DM
17189 * sysdeps/sparc/fpu/fenv_private.h: New file.
17190 * sysdeps/sparc/fpu/math_private.h: Use it.
17191 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17192 Remove.
17193 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17194 (libc_feholdexcept_setroundl): Remove.
17195 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17196 Remove.
17197 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17198 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17199
b4c35121
L
172002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17201
17202 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17203 int64_t instead of long int.
17204 (INSERT_WORDS64): Likwise.
17205
56965fd7
L
172062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17207
17208 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17209 _Unwind_GetCFA return to _Unwind_Ptr first.
17210
83d1aec8
JM
172112012-03-19 Joseph Myers <joseph@codesourcery.com>
17212
1897ad44
JM
17213 [BZ #13629]
17214 * math/s_clog.c: Include <float.h>.
17215 (__clog): Scale large or subnormal inputs.
17216 * math/s_clogf.c: Likewise.
17217 * math/s_clogl.c: Likewise.
17218 * math/s_clog10.c: Include <float.h>.
17219 (M_LOG10_2): Define.
17220 (__clog10): Scale large or subnormal inputs.
17221 * math/s_clog10f.c: Likewise.
17222 * math/s_clog10l.c: Likewise.
17223 * math/libm-test.inc (clog_test): Add more tests.
17224 (clog10_test): Likewise.
17225 * sysdeps/i386/fpu/libm-test-ulps: Update.
17226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17227
7726d6a9
JM
17228 [BZ #11451]
17229 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17230 x and y.
17231 * math/libm-test.inc (atan2_test): Add another test.
17232
83d1aec8
JM
17233 * Makerules (common-objdir-compile): Remove.
17234 * sysdeps/unix/Makefile (config-generated): Do not add
17235 $(unix-generated) to variable.
17236 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17237 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17238 Remove rule.
17239 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17240 Likewise.
17241 [generic bits/local_lim.h] (before-compile): Do not append to
17242 variable.
17243 [generic bits/local_lim.h] (common-generated): Likewise.
17244 [generic sys/param.h] (before-compile): Do not append to variable.
17245 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17246 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17247 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17248 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17249 include.
17250 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17251 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17252 [generic sys/param.h] ($(addprefix
17253 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17254 [generic sys/param.h] (common-generated): Do not append to
17255 variable.
17256 [generic sys/param.h] (sysdep_headers): Likewise.
17257 [generic bits/errno.h] (before-compile): Do not append to
17258 variable.
17259 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17260 rule.
17261 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17262 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17263 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17264 [generic bits/errno.h] (common-generated): Do not append to
17265 variable.
17266 [generic bits/ioctls.h] (before-compile): Do not append to
17267 variable.
17268 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17269 rule.
17270 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17271 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17272 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17273 rule.
17274 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17275 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17276 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17277 [generic bits/ioctls.h] (common-generated): Do not append to
17278 variable.
17279 [generic sys/syscall.h] (syscall.h): Remove variable.
17280 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17281 rule.
17282 [generic sys/syscall.h] (before-compile): Do not append to
17283 variable.
17284 [generic sys/syscall.h] (common-generated): Likewise.
17285 * sysdeps/unix/errnos-tmpl.c: Remove file.
17286 * sysdeps/unix/errnos.awk: Likewise.
17287 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17288 * sysdeps/unix/ioctls.awk: Likewise.
17289 * sysdeps/unix/mk-local_lim.c: Likewise.
17290 * sysdeps/unix/snarf-ioctls: Likewise.
17291
4851a949
RH
172922012-03-19 Richard Henderson <rth@twiddle.net>
17293
bd37f2ee
RH
17294 * sysdeps/i386/fpu/fenv_private.h: New file.
17295 * sysdeps/i386/fpu/math_private.h: Use it.
17296 (math_opt_barrier, math_force_eval): Remove.
17297 (libc_feholdexcept_setround_53bit): Remove.
17298 (libc_feupdateenv_53bit): Remove.
17299 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17300 (math_opt_barrier, math_force_eval): Remove.
17301 (libc_feholdexcept): Remove.
17302 (libc_feholdexcept_setround): Remove.
17303 (libc_fetestexcept, libc_fesetenv): Remove.
17304 (libc_feupdateenv_test): Remove.
17305 (libc_feupdateenv, libc_feholdsetround): Remove.
17306 (libc_feresetround): Remove.
17307
d0adc922
RH
17308 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17309 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17310
0fe0f1f8
RH
17311 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17312 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17313 (libc_feupdateenv_testl): New.
17314 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17315 (libc_feupdateenv_testf): New.
17316 (libc_feupdateenv): Use libc_feupdateenv_test.
17317 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17318 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17319
eb92c487
RH
17320 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17321 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17322 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17323 (libc_feresetround_noex): New.
17324 (libc_feresetround_noexf): New.
17325 (libc_feresetround_noexl): New.
17326 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17327 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17328 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17329 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17330 SET_RESTORE_ROUND.
17331 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17332 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17333 (__cos): Likewise.
17334 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17335 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17336 SET_RESTORE_ROUND_NOEX.
17337 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17338 SET_RESTORE_ROUND_NOEXF.
17339 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17340 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17341 (libc_feholdsetroundf): New.
17342 (libc_feresetround, libc_feresetroundf): New.
17343
7d2e8012
RH
17344 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17345 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17346 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17347
b4dabbb4
RH
17348 * sysdeps/generic/math_private.h: Include <fenv.h>.
17349 (default_libc_feholdexcept): New.
17350 (default_libc_feholdexcept_setround): New.
17351 (default_libc_fesetenv, default_libc_feupdateenv): New.
17352 (libc_feholdexcept): Only define if undefined.
17353 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17354 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17355 (libc_feholdexcept_setroundl): Likewise.
17356 (libc_feholdexcept_setround_53bit): Likewise.
17357 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17358 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17359 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17360 (libc_feupdateenv_53bit): Likewise.
17361 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17362 (libc_feholdexcept): Convert from macro to inline function.
17363 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17364 (libc_fesetenv, libc_feupdateenv): Likewise.
17365
4851a949
RH
17366 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17367 not previously defined.
17368 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17369 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17370 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17371 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17372 * sysdeps/ieee754/flt-32/math_private.h: New file.
17373 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17374 math_private.h below SET_FLOAT_WORD.
17375 (__isnan, __isinf_ns, __finite): Remove.
17376 (__isnanf, __isinf_nsf, __finitef): Remove.
17377
e79d442e
AS
173782012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17379
17380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17381
90b80344
DM
173822012-03-17 David S. Miller <davem@davemloft.net>
17383
17384 [BZ #6471]
17385 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17386 for 2.16.
17387
edc21804
DM
173882012-03-16 David S. Miller <davem@davemloft.net>
17389
77e927af
DM
17390 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17391 warnings.
17392
374976dd
DM
17393 [BZ #6471]
17394 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17395 properly.
17396 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17397 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17398 sysdep_routines when subdir is sysvipc.
17399 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17400 __getshmlba helper.
17401
edc21804
DM
17402 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17403
473c3ef3
L
174042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17405
17406 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17407 [__LP64__].
17408
eb0f39b6
L
174092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17410
17411 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17412 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17413 (__lround): Renamed to ...
17414 (__llround): This. Replace long int with long long int.
17415 Define lround functions as aliases of llround functions.
17416 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17417
6b6cd74b
L
174182012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17419
17420 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17421 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17422 adresses to uintptr_t. Replace "long int" and "unsigned long
17423 int" with "greg_t" on va_arg.
17424
f1a77b01
L
174252012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17426
17427 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17428 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17429
17430 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17431 Move e_machine check before EI_CLASS check. Handle x32
17432 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17433 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17434 SKIP_EM_IA_64 and include
17435 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17436
17437 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17438 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17439 (add_system_dir): New macro.
17440
17441 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17442 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17443
11b90b9f
JM
174442012-03-16 Joseph Myers <joseph@codesourcery.com>
17445
c36e1d23
JM
17446 [BZ #2551]
17447 [BZ #2552]
17448 [BZ #2553]
17449 [BZ #2554]
17450 [BZ #2562]
17451 [BZ #2563]
17452 [BZ #2565]
17453 [BZ #2566]
17454 [BZ #2576]
17455 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17456 (y0): Likewise.
17457 * math/w_j0f.c (j0f): Likewise.
17458 (y0f): Likewise.
17459 * math/w_j0l.c (__j0l): Likewise.
17460 (__y0l): Likewise.
17461 * math/w_j1.c (j1): Likewise.
17462 (y1): Likewise.
17463 * math/w_j1f.c (j1f): Likewise.
17464 (y1f): Likewise.
17465 * math/w_j1l.c (__j1l): Likewise.
17466 (__y1l): Likewise.
17467 * math/w_jn.c (jn): Likewise.
17468 (yn): Likewise.
17469 * math/w_jnf.c (jnf): Likewise.
17470 (ynf): Likewise.
17471 * math/w_jnl.c (__jnl): Likewise.
17472 (__ynl): Likewise.
17473 * math/libm-test.inc (j0_test): Add more tests.
17474 (j1_test): Likewise.
17475 (jn_test): Likewise. Add trailing semicolon to existing test.
17476 (y0_test): Likewise.
17477 (y1_test): Likewise.
17478 * sysdeps/i386/fpu/libm-test-ulps: Update.
17479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17480
11b90b9f
JM
17481 [BZ #13851]
17482 [BZ #13854]
17483 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17484 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17485 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17486 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17487 (__tanl): Set errno for infinite argument.
17488 * sysdeps/i386/fpu/mptan.c: Remove.
17489 * sysdeps/i386/fpu/s_tan.S: Likewise.
17490 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17491 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17492 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17493 * math/libm-test.inc (tan_test): Add more tests and enable more
17494 tests for double and long double.
17495 * sysdeps/i386/fpu/libm-test-ulps: Update.
17496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17497
6a1bd2a1
JK
174982012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17499
17500 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17501 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17502
10a803e0
RM
175032012-03-16 Roland McGrath <roland@hack.frob.com>
17504
17505 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17506 * configure.in: Use it for both main tree and add-ons.
17507 * configure: Regenerated.
17508
f196c7f7
L
175092012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17510
17511 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17512
8848d99d
JM
175132012-03-16 Joseph Myers <joseph@codesourcery.com>
17514
96cbe7f4
JM
17515 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17516 in comment.
17517
8848d99d
JM
17518 [BZ #13851]
17519 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17520 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17521 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17522 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17523 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17524 infinite argument.
17525 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17526 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17527 != 0 for prec == 2.
17528 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17529 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17530 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17531 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17532 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17533 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17534 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17535 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17536 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17537 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17538 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17539 * math/libm-test.inc (cos_test): Add more tests and enable more
17540 tests for long double.
17541 (sin_test): Likewise.
17542 (sincos_test): Likewise.
17543 * sysdeps/i386/fpu/libm-test-ulps: Update.
17544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17545
dd7f4703
DM
175462012-03-16 David S. Miller <davem@davemloft.net>
17547
17548 * sysdeps/sparc/fpu/math_private.h: New file.
17549
006f1daa
DM
175502012-03-15 David S. Miller <davem@davemloft.net>
17551
c0c83bc8
DM
17552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17553 file.
e6a62e18 17554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
17555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17556 file.
e6a62e18
DM
17557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17558 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17559 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17560 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17561 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17562 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17563 sysdep routines.
17564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17565
88cb87d9
DM
17566 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17567 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17568
006f1daa 17569 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
17570 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17571 sparc-ifunc.h
006f1daa 17572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
17573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17574 Likewise.
17575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17576 Likewise.
006f1daa
DM
17577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
17580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17581 Likewise.
006f1daa
DM
17582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
17586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17587 Likewise.
17588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17589 Likewise.
006f1daa
DM
17590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17594 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17595 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17596 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17597 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17598 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17599 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17600 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17601 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17602 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17603 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17604 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17605 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17606 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17607 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17608 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17609 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17610 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17611 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17612 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17613 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17614
11e0098e
AS
176152012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17616
17617 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17618 scaling.
17619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17620
e85b09d0
AJ
176212012-03-15 Andreas Jaeger <aj@suse.de>
17622
17623 [BZ #13852]
17624 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17625 ieee754/flt-32 implementation for sin, cos and sincos.
17626 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17627 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17628 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17629 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17630 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17631 ieee754/flt-32 implementation for tan.
17632
17633 * math/libm-test.inc (cos_test): Enable some large input tests for
17634 float as well
17635 (sin_test): Likewise.
17636 (sincos_test): Likewise.
17637 (tan_test): Add tests for large input.
17638
17639 * sysdeps/i386/fpu/libm-test-ulps: Update.
17640
81c64153
AJ
176412012-03-15 Andreas Jaeger <aj@suse.de>
17642
17643 [BZ #13658]
17644 * math/libm-test.inc (cos_test): Add more test cases.
17645 (sin_test): Likewise.
17646 (sincos_test): Likewise.
17647
7bbfa5c6
AJ
176482012-03-15 Andreas Jaeger <aj@suse.de>
17649
17650 [BZ #13837]
17651 * math/libm-test.inc (cos_test): Add a test case for large input
17652 value.
17653 (sin_test): Likewise.
17654 (sincos_test): Likewise.
17655
176562012-03-15 Andreas Jaeger <aj@suse.de>,
17657 Joseph Myers <joseph@codesourcery.com>
17658
17659 [BZ #13658]
0671f479 17660 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
17661 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17662 * sysdeps/i386/fpu/branred.c: Likewise.
17663 * sysdeps/i386/fpu/dosincos.c: Likewise.
17664 * sysdeps/i386/fpu/mpa.c: Likewise.
17665 * sysdeps/i386/fpu/s_cos.S: Likewise.
17666 * sysdeps/i386/fpu/s_sin.S: Likewise.
17667 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17668 * sysdeps/i386/fpu/sincos32.c: Likewise.
17669
17670 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17671 Define.
17672 (libc_feupdateenv_53bit): Define.
17673 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17674 Define.
17675 (libc_feupdateenv_53bit): Define.
17676
17677 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17678 53 bit (without extend i386 double precision).
17679
17680 * math/libm-test.inc (sincos_test): Add tests for large input.
17681 (sin): Likewise.
17682 (cos): Likewise.
17683
17684 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17685
9cad04ea
AS
176862012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17687
17688 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17689
f7062b9a
DM
176902012-03-15 David S. Miller <davem@davemloft.net>
17691
17692 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17693 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17694 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17695 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17696 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17700 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17701 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17702 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17703 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17704 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17705 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17706 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
17707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17708 file.
f7062b9a 17709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
17710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17711 file.
f7062b9a 17712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
17713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17714 file.
f7062b9a 17715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
17716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17717 file.
f7062b9a
DM
17718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17719 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17720 fmin/fmax sysdep routines.
17721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17722
7bd951ff
DM
177232012-03-14 David S. Miller <davem@davemloft.net>
17724
559398ab
DM
17725 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17726 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17727 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17728 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17729 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17730 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17731 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17732 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17733 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17734 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17735 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17736 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17737 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17738 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17739 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17740 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17741 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17742 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17743 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17744 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17745 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17746 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17747 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17748 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17749 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17750 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17751 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17752 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17753 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17754 routines.
17755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17756 file.
559398ab 17757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
17758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17759 file.
559398ab 17760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
17761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17762 file.
559398ab 17763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
17764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17765 file.
559398ab 17766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
17767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17768 file.
559398ab 17769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
17770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17771 file.
17772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17773 file.
17774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17775 file.
17776 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17777 file.
17778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17779 New file.
17780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17781 file.
17782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17783 file.
559398ab 17784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
17785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17786 file.
559398ab 17787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17789 file.
559398ab 17790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
17791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17792 file.
559398ab 17793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
17794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17795 VIS3 routines.
559398ab
DM
17796
17797 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17798 New file.
17799
5a1c1e32
DM
17800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17801
eae47a36
DM
17802 * sysdeps/sparc/configure.in: New file.
17803 * sysdeps/sparc/configure: Generate.
17804 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17805 * configure: Regenerate.
17806 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17807 * config.make.in (have-as-vis3): New.
17808 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17809 available use -Av9d instead of -Av9a.
17810 * sysdeps/sparc/sparc64/Makefile: Likewise.
17811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
17812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17813 New file.
17814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17815 file.
17816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17817 New file.
17818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17819 file.
eae47a36
DM
17820 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17821 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17822 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17823 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17824 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17825
c0c83bc8
DM
17826 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17827 fzeros/fnegs to load 0x80000000 into a float register instead of
17828 using the stack.
7bd951ff
DM
17829 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17830
bd951ccb
JM
178312012-03-14 Joseph Myers <joseph@codesourcery.com>
17832
17833 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17834 bits/syscall.h.
17835 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17836 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17837 ($(inst_includedir)/bits/syscall.h): Remove rule.
17838 ($(objpfx)bits/syscall.d): Include instead of
17839 $(objpfx)syscall-list.d.
17840 (generated): Change syscall-list.h and syscall-list.d to
17841 bits/syscall.h and bits/syscall.d.
17842
bb4e6db2
RM
178432012-03-14 Roland McGrath <roland@hack.frob.com>
17844
17845 [BZ #13846]
17846 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17847
aa4a2ae1
JM
178482012-03-14 Joseph Myers <joseph@codesourcery.com>
17849
e456826d
JM
17850 [BZ #13841]
17851 * math/s_csqrt.c: Include <float.h>.
17852 (__csqrt): Scale large or subnormal inputs.
17853 * math/s_csqrtf.c: Likewise.
17854 * math/s_csqrtl.c: Likewise.
17855 * math/libm-test.inc (csqrt_test): Add more tests.
17856 * sysdeps/i386/fpu/libm-test-ulps: Update.
17857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17858
aa4a2ae1
JM
17859 [BZ #13840]
17860 * math/libm-test.inc (hypot_test): Add more tests.
17861
7c10fd35
DM
178622012-03-13 David S. Miller <davem@davemloft.net>
17863
17864 [BZ #13840]
17865 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17866 double-precision for the calculation instead of scaling.
17867
f453b98b
JM
178682012-03-13 Joseph Myers <joseph@codesourcery.com>
17869
17870 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17871 manipulate bits before adding and subtracting TWO52[sx].
17872 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17873 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17874 Likewise.
17875 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17876
09a3453f
DM
178772012-03-13 David S. Miller <davem@davemloft.net>
17878
8e59da90
DM
17879 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17880 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17881 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17882 rtld-global-offsets.h
17883 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17884
2a8ab7f2
DM
17885 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17886 large parameters.
17887
10f62770
DM
17888 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17889
5f0bdb18
DM
17890 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17891 'err' in the ifdef scope in which it is actually used.
17892
09a3453f
DM
17893 * nss/nss_db/db-init.c: Include string.h
17894
b4b2eb5e
DM
178952012-03-12 David S. Miller <davem@davemloft.net>
17896
98bb2f1c
DM
17897 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17898 masking out of the most significant byte of random value used.
17899 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17900 Fix coding style in previous change.
17901
b4b2eb5e
DM
17902 * sysdeps/unix/sysv/linux/kernel-features.h
17903 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17904 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17905 expression.
17906 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17907 later.
17908
6e226b09
DM
179092012-03-11 David S. Miller <davem@davemloft.net>
17910
a1bcbd40
DM
17911 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17912 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17913 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17914 for 'resultvar' otherwise things get truncated on 64-bit.
17915
cb9d6174
DM
17916 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17917 Fix masking out of the most significant byte of random value used.
17918
6e226b09
DM
17919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17920
058c132d
AS
179212012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17922
17923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17924
2d2cd515
DM
179252012-03-09 David S. Miller <davem@davemloft.net>
17926
17927 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17928 variables with appropriate CPP guards.
17929 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17930 frame pointer, not the stack pointer. Correct layout comments. Fix test
17931 on resulting framesize and the management of the outregs buffer for pltexit.
17932 Preserve floating point return values across _dl_call_pltexit call.
17933 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17934 framesize and the management of the outregs buffer for pltexit.
17935 Preserve floating point return values across _dl_call_pltexit
17936 call.
17937 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17938 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17939 (print_exit): Fix format string for return register value.
17940
9a07f9d0
JM
179412012-03-10 Joseph Myers <joseph@codesourcery.com>
17942
17943 * sunrpc/Makefile (others): Add rpcgen.
17944 ($(objpfx)rpcgen): Remove special build rule and dependency on
17945 libc.
17946 * sunrpc/rpcgen.c: New file.
17947
547b5e30
PE
179482012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17949
c524201a
PE
17950 [BZ #13673]
17951 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17952 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17953 * sysdeps/i386/crti.S: Likewise.
17954 * sysdeps/i386/crtn.S: Likewise.
17955 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17956 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17957 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17958 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17959 * sysdeps/sh/crti.S: Likewise.
17960 * sysdeps/sh/crtn.S: Likewise.
17961 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17962
7b6235f2
PE
17963 [BZ #13673]
17964 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17965 with URL.
17966 * locale/programs/locfile-kw.gperf: Likewise.
17967 * locale/programs/charmap-kw.h: Regenerated.
17968 * locale/programs/locfile-kw.h: Likewise.
17969
547b5e30
PE
17970 [BZ #13673]
17971 * intl/plural.y: Replace FSF snail mail address with URL.
17972 * intl/plural.c: Regenerated.
17973
5f0a5dae
RH
179742012-03-09 Richard Henderson <rth@twiddle.net>
17975
17976 * include/math_private.h: Remove file.
17977 * math/math_private.h: Move file ...
17978 * sysdeps/generic/math_private.h: ... here.
17979
b8c03620
RH
17980 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
17981 * sysdeps/powerpc/fpu/math_private.h: Likewise.
17982 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17983
4e234f5d 17984 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
17985 and <math_private.h>.
17986 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
17987 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
17988 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
17989 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
17990 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
17991 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
17992 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17993 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17994 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
17995 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17996 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17997 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
17998 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
17999 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18000 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18001 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18002 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18003 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18004 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18005 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18006 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18007 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18008 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18009 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18010 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18011 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18012 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18013 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18014 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18015 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18016 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18017 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18018 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18019 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18020 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18021 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18022 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18023 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18024 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18025 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18026 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18027 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18028 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18029 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18030 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18031 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18032 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18033 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18034 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18035 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18036 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18037 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18038 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18039 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18040 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18041 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18042 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18043 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18044 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18045 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18046 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18047 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18048 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18049 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18050 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18051 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18052 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18053 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18054 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18055 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18056 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18057 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18058 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18059 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18060 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18061 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18062 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18063 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18064 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18065 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18066 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18067 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18068 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18069 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18070 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18071 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18072 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18073 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18074 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18075 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18076 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18077 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18078 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18079 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18080 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18081 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18082 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18083 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18084 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18085 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18086 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18087 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18088 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18089 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18090 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18091 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18092 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18093 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18094 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18095 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18096 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18097 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18098 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18099 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18100 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18101 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18102 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18103 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18104 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18105 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18106 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18107 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18108 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18109 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18110 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18111 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18112 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18113 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18114 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18115 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18116 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18117 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18118 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18119 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18120 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18121 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18122 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18123 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18124 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18125 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18126 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18127 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18128 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18129 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18130 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18131 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18132 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18133 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18134 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18135 * sysdeps/ieee754/k_standard.c: Likewise.
18136 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18137 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18138 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18139 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18140 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18141 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18142 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18143 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18144 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18145 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18146 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18147 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18148 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18149 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18150 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18151 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18152 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18153 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18154 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18155 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18156 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18157 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18158 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18159 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18160 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18161 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18162 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18163 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18164 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18165 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18166 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18167 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18168 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18169 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18170 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18171 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18172 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18173 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18174 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18175 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18176 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18177 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18178 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18179 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18180 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18181 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18182 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18183 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18184 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18185 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18186 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18187 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18188 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18189 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18190 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18191 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18192 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18193 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18194 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18195 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18196 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18197 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18198 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18199 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18200 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18201 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18202 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18203 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18204 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18205 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18206 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18207 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18208 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18209 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18210 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18211 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18212 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18213 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18214 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18215 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18216 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18217 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18218 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18219 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18220 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18221 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18222 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18223 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18224 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18225 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18226 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18227 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18228 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18229 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18230 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18231 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18232 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18233 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18234 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18235 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18236 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18237 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18238 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18239 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18240 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18241 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18242 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18243 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18244 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18245 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18246 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18247 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18248 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18249 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18250 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18251 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18252 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18253 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18254 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18255 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18256 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18257 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18258 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18259 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18260 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18261 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18262 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18263 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18264 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18265 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18266 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18267 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18268 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18269 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18270 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18271 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18272 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18273 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18274 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18275 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18276 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18277 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18278 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18279 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18280 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18281 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18282 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18283 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18284 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18285 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18286 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18287 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18288 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18289 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18290 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18291 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18292 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18293 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18294 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18295 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18296 * sysdeps/ieee754/s_lib_version.c: Likewise.
18297 * sysdeps/ieee754/s_matherr.c: Likewise.
18298 * sysdeps/ieee754/s_signgam.c: Likewise.
18299 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18300 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18301 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18302 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18303 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18304 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18305 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18306 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18307 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18308 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18309 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18310 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18311 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18312 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18313 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18314 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18315 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18316 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18317 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18318 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18319 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 18320
1991fa03
JM
183212012-03-09 Joseph Myers <joseph@codesourcery.com>
18322
18323 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18324 * sunrpc/rpc_main.c: Likewise.
18325 * sunrpc/rpc_svcout.c: Likewise.
18326
60d6f5a6
DM
183272012-03-09 David S. Miller <davem@davemloft.net>
18328
18329 * include/math_private.h: New file.
18330
4962050e
JM
183312012-03-09 Joseph Myers <joseph@codesourcery.com>
18332
02a6f887
JM
18333 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18334 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18335 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18336 from <bits/socket_type.h>.
18337 (enum __socket_type): Don't define here.
18338 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18339 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18340 bits/socket_type.h.
18341
c6e013c1
JM
18342 [BZ #13566]
18343 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18344 checking __USE_GNU.
18345
4962050e
JM
18346 * Makerules ($(inst_includedir)/%.h): New rule.
18347 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18348 (install-others): Remove variable setting.
18349 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18350
38842f45
RH
183512012-03-08 Richard Henderson <rth@twiddle.net>
18352
67bb6da6
RH
18353 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18354 from macro to inline function; merge with the
18355 !__LIBC_INTERNAL_MATH_INLINES version.
18356 (__ieee754_sqrtf): Likewise.
18357
15194b4b
RH
18358 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18359 to inline function.
18360 (__rintf, __floor, __floorf): Likewise.
18361
64e21ede
RH
18362 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18363 macro to inline function.
18364 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18365
38842f45
RH
18366 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18367 not <math/math_private.h>.
18368
c64bf5fe
DM
183692012-03-08 David S. Miller <davem@davemloft.net>
18370
18371 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18372 copyright year.
18373 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18374
82d86f28
TS
183752012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18376
18377 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18378 normalization.
18379 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18380 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18381
aea5d727
UD
183822012-03-08 Ulrich Drepper <drepper@gmail.com>
18383
18384 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18385 be defined individually, they must be defined as a block. Define
18386 S for printing a string instead of hidint the different by using a
18387 macro for adding the 'l'.
18388 * stdio-common/tst-fphex-wide.c: Adjust.
18389
70bca0a3
MP
183902012-03-07 Marek Polacek <polacek@redhat.com>
18391
18392 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18393
65b81130
MP
183942012-03-08 Marek Polacek <polacek@redhat.com>
18395
18396 [BZ #13806]
18397 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18398 * stdio-common/tst-fphex.c: Define a few macros to make the
18399 test reusable. Use them.
18400 * stdio-common/tst-fphex-wide.c: New file.
18401
07037eeb
JM
184022012-03-08 Joseph Myers <joseph@codesourcery.com>
18403
a7a93d50
JM
18404 [BZ #6911]
18405 * manual/macros.texi (gnusystems): New macro.
18406 (nongnusystems): Likewise.
18407 (gnulinuxhurdsystems): Likewise.
18408 (gnuhurdsystems): Likewise..
18409 (gnulinuxsystems): Likewise.
18410 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18411 variants of the GNU system, not "GNU system".
18412 * manual/conf.texi: Likewise.
18413 * manual/errno.texi: Likewise. Update example of errno macro
18414 expansion.
18415 * manual/filesys.texi: Likewise.
18416 (getumask): Document as specific to GNU/Hurd.
18417 * manual/install.texi: Likewise. Reword some references to
18418 GNU/Linux.
18419 * manual/intro.texi: Likewise.
18420 * manual/io.texi: Likewise.
18421 (File Name Portability): Detail which constraints are inapplicable
18422 to all GNU systems and which are only inapplicable to GNU/Hurd.
18423 * manual/job.texi: Likewise.
18424 * manual/llio.texi: Likewise.
18425 (O_NOCTTY): Document as present on GNU/Linux.
18426 * manual/maint.texi: Likewise.
18427 * manual/memory.texi: Likewise.
18428 * manual/pattern.texi: Likewise.
18429 * manual/pipe.texi: Likewise.
18430 * manual/process.texi: Likewise.
18431 * manual/resource.texi: Likewise.
18432 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18433 child on GNU/Hurd.
18434 * manual/setjmp.texi: Likewise.
18435 * manual/signal.texi: Likewise.
18436 * manual/startup.texi: Likewise.
18437 * manual/stdio.texi: Likewise.
18438 * manual/terminal.texi: Likewise.
18439 (ONLCR): Document as POSIX.
18440 (OXTABS): Document availability on GNU/Linux as XTABS.
18441 (ONOEOT): Document availability separately from other bits.
18442 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18443 * manual/time.texi: Likewise.
18444 * manual/users.texi: Likewise.
18445 * INSTALL: Regenerated.
18446 * sysdeps/gnu/errlist.c: Regenerated.
18447
07037eeb
JM
18448 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18449 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18450 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18451 puts.
18452 * configure: Regenerated.
18453
d1d3431a
JM
184542012-03-07 Joseph Myers <joseph@codesourcery.com>
18455
af6a1e37
JM
18456 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18457 default includes instead of AC_HEADER_CHECK.
18458 * sysdeps/i386/configure: Regenerated.
18459
d1d3431a
JM
18460 [BZ #10716]
18461 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18462 * math/s_cacoshf.c (__cacoshf): Likewise.
18463 * math/s_cacoshl.c (__cacoshl): Likewise.
18464 * math/s_casinh.c (__casinh): Set signs of result from argument.
18465 * math/s_casinhf.c (__casinhf): Likewise.
18466 * math/s_casinhl.c (__casinhl): Likewise.
18467 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18468 (casinh_test): Add more tests.
18469 * sysdeps/i386/fpu/libm-test-ulps: Update.
18470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18471
482ff4da
UD
184722012-03-07 Ulrich Drepper <drepper@gmail.com>
18473
872fda05
UD
18474 * po/zh_TW.po: Update from translation team.
18475
a4300c7a
UD
18476 * login/Makefile (distribute): Remove variable.
18477 * catgets/Makefile: Likewise.
18478 * mach/Makefile: Likewise.
18479 * malloc/Makefile: Likewise.
18480 * misc/Makefile: Likewise.
18481 * iconv/Makefile: Likewise.
18482 * nscd/Makefile: Likewise.
18483 * hurd/Makefile: Likewise.
18484 * manual/Makefile: Likewise.
18485 * locale/Makefile: Likewise.
18486 * intl/Makefile: Likewise.
18487 * conform/Makefile: Likewise.
18488 * nss/Makefile: Likewise.
18489 * time/Makefile: Likewise.
18490 * soft-fp/Makefile: Likewise.
18491 * dirent/Makefile: Likewise.
18492 * gmon/Makefile: Likewise.
18493 * po/Makefile: Likewise.
18494 * rt/Makefile: Likewise.
18495 * socket/Makefile: Likewise.
18496 * math/Makefile: Likewise.
18497 * signal/Makefile: Likewise.
18498 * debug/Makefile: Likewise.
18499 * elf/Makefile: Likewise.
18500 * timezone/Makefile: Likewise.
18501 * stdlib/Makefile: Likewise.
18502 * iconvdata/Makefile: Likewise.
18503 * sunrpc/Makefile: Likewise.
18504 * io/Makefile: Likewise.
18505 * argp/Makefile: Likewise.
18506 * inet/Makefile: Likewise.
18507 * hesiod/Makefile: Likewise.
18508 * grp/Makefile: Likewise.
18509 * csu/Makefile: Likewise.
18510 * wctype/Makefile: Likewise.
18511 * crypt/Makefile: Likewise.
18512 * libio/Makefile: Likewise.
18513 * string/Makefile: Likewise.
18514 * nis/Makefile: Likewise.
18515 * resolv/Makefile: Likewise.
18516 * stdio-common/Makefile: Likewise.
18517 * wcsmbs/Makefile: Likewise.
18518 * dlfcn/Makefile: Likewise.
18519 * posix/Makefile: Likewise.
18520
3b7c4e74 18521 [BZ #6959]
482ff4da
UD
18522 * timezone/Makefile: Don't install timezone files, just the programs
18523 and scripts.
18524
f72ed77d
UD
185252012-03-06 Ulrich Drepper <drepper@gmail.com>
18526
a000466f
UD
18527 * nss/databases.def: Add missing gshadow entry.
18528
f72ed77d
UD
18529 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18530
a53b7a4e
MP
185312012-03-06 Marek Polacek <polacek@redhat.com>
18532
18533 [BZ #13726]
18534 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18535 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18536 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18537 * stdio-common/tst-long-dbl-fphex.c: New file.
18538
e9258400
DM
185392012-03-06 David S. Miller <davem@davemloft.net>
18540
18541 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18542 (set_obp_int): New function.
18543 (get_obp_int): New function.
18544 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
18545 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18546 Avoid unused variable warnings on 'val' and use builtin_expect.
18547 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18548 __builtin_expect.
e9258400
DM
18549 (INLINE_CLONE_SYSCALL): Likewise.
18550
3bd2c723
DM
185512012-03-05 David S. Miller <davem@davemloft.net>
18552
18553 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18554
bbb78d03
AS
185552012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18556
884c5db4
AS
18557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18558
bbb78d03
AS
18559 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18560 only for |x| >= 40.
18561 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18562
1c9f702a 185632012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
18564
18565 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18566 Replace gettimeofday with __vdso_gettimeofday.
18567
7be16f82
RM
18568 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18569 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18570 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
18571
18572 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18573 time with __vdso_time.
18574
ed58a00f
JM
185752012-03-05 Joseph Myers <joseph@codesourcery.com>
18576
18577 * manual/lang.texi (size_t): Note types to which size_t may be
18578 equivalent with the GNU C Library, but do not describe when
18579 differences between them are significant.
18580
30ee4ced
AJ
185812012-03-05 Andreas Jaeger <aj@suse.de>
18582
18583 * sysdeps/i386/fpu/libm-test-ulps: Update.
18584
b7cd39e8
JM
185852012-03-05 Joseph Myers <joseph@codesourcery.com>
18586
18587 [BZ #3976]
18588 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18589 (__ieee754_pow): Save and restore rounding mode and use
18590 round-to-nearest for main computations.
18591 * math/libm-test.inc (pow_test_tonearest): New function.
18592 (pow_test_towardzero): Likewise.
18593 (pow_test_downward): Likewise.
18594 (pow_test_upward): Likewise.
18595 (main): Call the new functions.
18596 * sysdeps/i386/fpu/libm-test-ulps: Update.
18597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
18598
18599 [BZ #3976]
18600 * math/libm-test.inc (cosh_test_tonearest): New function.
18601 (cosh_test_towardzero): Likewise.
18602 (cosh_test_downward): Likewise.
18603 (cosh_test_upward): Likewise.
18604 (sinh_test_tonearest): Likewise.
18605 (sinh_test_towardzero): Likewise.
18606 (sinh_test_downward): Likewise.
18607 (sinh_test_upward): Likewise.
18608 (main): Call the new functions.
18609 * sysdeps/i386/fpu/libm-test-ulps: Update.
18610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18611
6c6a98c9
TV
186122012-03-05 Tom de Vries <tom@codesourcery.com>
18613
18614 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18615 default stack guard is set in last bytes.
18616 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18617
21bb2d2e 186182012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 18619
21bb2d2e 18620 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 18621
21bb2d2e
AJ
18622 [BZ #13656]
18623 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18624 possibly allocate from heap instead of stack.
18625 * stdio-common/bug-vfprintf-nargs.c: New file.
18626 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 18627
c6922934
AS
186282012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18629
18630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18631
bc957d53
MP
186322012-03-03 Marek Polacek <polacek@redhat.com>
18633
18634 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18635 * math/math_private.h: Likewise.
18636 * stdlib/tst-strtod.c: Likewise.
18637 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18638 * sysdeps/x86_64/bits/atomic.h: Likewise.
18639
6358490d
DM
186402012-03-02 David S. Miller <davem@davemloft.net>
18641
18642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18646 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18647 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18648 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18649 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18650
01ae168d
RM
186512012-03-02 Roland McGrath <roland@hack.frob.com>
18652
d9a17c07
RM
18653 [BZ #13792]
18654 * manual/examples/README: New file, says the example source files
18655 can be used under GPL>=2.
18656 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18657 line containing just "*/".
18658 * manual/examples/add.c: Add copyright header (GPL>=2).
18659 * manual/examples/argp-ex1.c: Likewise.
18660 * manual/examples/argp-ex2.c: Likewise.
18661 * manual/examples/argp-ex3.c: Likewise.
18662 * manual/examples/argp-ex4.c: Likewise.
18663 * manual/examples/atexit.c: Likewise.
18664 * manual/examples/db.c: Likewise.
18665 * manual/examples/dir.c: Likewise.
18666 * manual/examples/dir2.c: Likewise.
18667 * manual/examples/execinfo.c: Likewise.
18668 * manual/examples/filecli.c: Likewise.
18669 * manual/examples/filesrv.c: Likewise.
18670 * manual/examples/fmtmsgexpl.c: Likewise.
18671 * manual/examples/genpass.c: Likewise.
18672 * manual/examples/inetcli.c: Likewise.
18673 * manual/examples/inetsrv.c: Likewise.
18674 * manual/examples/isockad.c: Likewise.
18675 * manual/examples/longopt.c: Likewise.
18676 * manual/examples/memopen.c: Likewise.
18677 * manual/examples/memstrm.c: Likewise.
18678 * manual/examples/mkfsock.c: Likewise.
18679 * manual/examples/mkisock.c: Likewise.
18680 * manual/examples/mygetpass.c: Likewise.
18681 * manual/examples/pipe.c: Likewise.
18682 * manual/examples/popen.c: Likewise.
18683 * manual/examples/rprintf.c: Likewise.
18684 * manual/examples/search.c: Likewise.
18685 * manual/examples/select.c: Likewise.
18686 * manual/examples/setjmp.c: Likewise.
18687 * manual/examples/sigh1.c: Likewise.
18688 * manual/examples/sigusr.c: Likewise.
18689 * manual/examples/stpcpy.c: Likewise.
18690 * manual/examples/strdupa.c: Likewise.
18691 * manual/examples/strftim.c: Likewise.
18692 * manual/examples/strncat.c: Likewise.
18693 * manual/examples/subopt.c: Likewise.
18694 * manual/examples/swapcontext.c: Likewise.
18695 * manual/examples/termios.c: Likewise.
18696 * manual/examples/testopt.c: Likewise.
18697 * manual/examples/testpass.c: Likewise.
18698 * manual/examples/timeval_subtract.c: Likewise.
18699
01ae168d
RM
18700 [BZ #13792]
18701 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18702 function to ...
18703 * manual/timeval_subtract.c.texi: ... here, new file.
18704
49efa33d
DM
187052012-03-02 David S. Miller <davem@davemloft.net>
18706
18707 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18708
28afd92d
JM
187092012-03-02 Joseph Myers <joseph@codesourcery.com>
18710
804360ed
JM
18711 [BZ #3976]
18712 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18713 (__sin): Save and restore rounding mode and use round-to-nearest
18714 for all computations.
18715 (__cos): Save and restore rounding mode and use round-to-nearest
18716 for all computations.
18717 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18718 <fenv.h>.
18719 (tan): Save and restore rounding mode and use round-to-nearest for
18720 all computations.
18721 * math/libm-test.inc (cos_test_tonearest): New function.
18722 (cos_test_towardzero): Likewise.
18723 (cos_test_downward): Likewise.
18724 (cos_test_upward): Likewise.
18725 (sin_test_tonearest): Likewise.
18726 (sin_test_towardzero): Likewise.
18727 (sin_test_downward): Likewise.
18728 (sin_test_upward): Likewise.
18729 (tan_test_tonearest): Likewise.
18730 (tan_test_towardzero): Likewise.
18731 (tan_test_downward): Likewise.
18732 (tan_test_upward): Likewise.
18733 (main): Call the new functions.
18734 * sysdeps/i386/fpu/libm-test-ulps: Update.
18735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18736
a6d06d7b
JM
18737 [BZ #10135]
18738 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18739 small n, then large n, before computing and testing k+n.
18740 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18741 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18742 Likewise.
18743 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18744 Likewise.
18745 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18746 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18747 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18748 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18749 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18750 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18751 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18752 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18753 * math/libm-test.inc (scalbn_test): Add more tests.
18754 (scalbln_test): Likewise.
18755
07e12bb3
JM
18756 * manual/filesys.texi (mode_t): Describe constraints on size and
18757 signedness, not exact equivalence to a particular type.
18758 (ino_t): Likewise.
18759 (ino64_t): Likewise.
18760 (dev_t): Likewise.
18761 (nlink_t): Likewise.
18762 (blkcnt_t): Likewise.
18763 (blkcnt64_t): Likewise.
18764 * manual/llio.texi (off_t): Likewise.
18765
28afd92d
JM
18766 [BZ #3976]
18767 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18768 (__ieee754_exp): Save and restore rounding mode and use
18769 round-to-nearest for all computations.
18770 * math/libm-test.inc (exp_test_tonearest): New function.
18771 (exp_test_towardzero): Likewise.
18772 (exp_test_downward): Likewise.
18773 (exp_test_upward): Likewise.
18774 (main): Call the new functions.
18775 * sysdeps/i386/fpu/libm-test-ulps: Update.
18776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18777
b1eeb65d
CD
187782012-03-01 Chris Demetriou <cgd@google.com>
18779
18780 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18781 have predictable order.
18782
53362a4b
DM
187832012-03-01 David S. Miller <davem@davemloft.net>
18784
3c969083
DM
18785 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18786
759707de
DM
18787 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18788 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18789 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18790 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18791
dfdb8ff2
DM
18792 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18793 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18794 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18795 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18796 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18797 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18798 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18799 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18800 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18801
ead89f96
DM
18802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18803
7f66bd07
DM
18804 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18805 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18806 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18807
53362a4b
DM
18808 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18809 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18810 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18811 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18812 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18813 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18814 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18815 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18816 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18817 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18818 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18819 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18820 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18821 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18822 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18823 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18824 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18825 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18826 * sysdeps/sparc/elf/configure: Regenerated.
18827
7b1902cb
JM
188282012-03-01 Joseph Myers <joseph@codesourcery.com>
18829
bec039bc
JM
18830 * configure.in (AS, LD): Require binutils 2.20 or later.
18831 * configure: Regenerated.
18832 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18833 as required minimum version.
18834 * INSTALL: Regenerated.
18835
7b1902cb
JM
18836 [BZ #2541]
18837 [BZ #4108]
18838 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18839 before squaring exponent.
18840 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18841 bottom long double and 27 bits of top long double before squaring
18842 exponent.
18843 * math/libm-test.inc (erfc_test): Add more tests.
18844 * sysdeps/i386/fpu/libm-test-ulps: Update.
18845 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18847
f775c276
KT
188482012-03-01 Kai Tietz <ktietz@redhat.com>
18849
18850 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18851 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18852 containing bit-fields.
18853 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18854 * soft-fp/single.h (_FP_UNION_S): Likewise.
18855 * soft-fp/double.h (_FP_UNION_D): Likewise.
18856
5b8a4d4a
JM
188572012-02-29 Joseph Myers <joseph@codesourcery.com>
18858
0bab47b6
JM
18859 [BZ #13786]
18860 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18861 not include ../strcmp.S.
18862 [USE_AS_STRNCASECMP_L]: Likewise.
18863 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18864 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18865 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18866 (__strncasecmp_l_ia32): Define as alias to
18867 __strncasecmp_l_nonascii.
18868
0fcad3e2
JM
18869 [BZ #5794]
18870 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18871 * sysdeps/i386/fpu/libm-test-ulps: Update.
18872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18873
5b8a4d4a
JM
18874 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18876
8fdceb2e
JL
188772012-02-29 Jeff Law <law@redhat.com>
18878
18879 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18880 out of bounds read.
18881
1f393a11
MP
188822012-02-29 Marek Polacek <polacek@redhat.com>
18883
18884 [BZ #13706]
18885 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18886 * elf/Makefile: Add rules to run tst-unused-dep.out.
18887
8847f037
DM
188882012-02-28 David S. Miller <davem@davemloft.net>
18889
18890 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18891 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18892 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18893 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18894 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18895 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18896
169d7f11
JM
188972012-02-29 Joseph Myers <joseph@codesourcery.com>
18898
18899 * math/libm-test.inc (llround_test): Move one test from
18900 lround_test. Use TEST_f_L in moved test.
18901 (lround_test): Move misplaced test to llround_test. Add testcase
18902 from bug 2561.
18903
39adf059
UD
189042012-02-28 Ulrich Drepper <drepper@gmail.com>
18905
18906 * sysdeps/x86_64/fpu/e_expf.S: New file.
18907 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18908
71b5d1c5
SB
189092012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18910
18911 [BZ #13637]
18912 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18913 of remain_len that may cause incomplete multi-byte character and
18914 false match.
18915 * posix/bug-regex33.c: New file.
18916 * posix/Makefile (tests): Add bug-regex33.
18917
1f77f049
JM
189182012-02-28 Joseph Myers <joseph@codesourcery.com>
18919
18920 * manual/macros.texi: New file.
18921 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18922 * manual/libc.texinfo: Include macros.texi.
18923 * manual/creatute.texi: Likewise.
18924 * manual/install.texi: Likewise.
18925 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18926 @glibcadj{} in references to the GNU C Library.
18927 * manual/charset.texi: Likewise.
18928 * manual/conf.texi: Likewise.
18929 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18930 when not using those macros.
18931 * manual/creature.texi: Likewise.
18932 * manual/crypt.texi: Likewise.
18933 * manual/errno.texi: Likewise.
18934 * manual/filesys.texi: Likewise.
18935 * manual/header.texi: Likewise.
18936 * manual/install.texi: Likewise.
18937 * manual/intro.texi: Likewise.
18938 * manual/io.texi: Likewise.
18939 * manual/job.texi: Likewise.
18940 * manual/lang.texi: Likewise.
18941 * manual/libc.texiinfo: Likewise.
18942 * manual/llio.texi: Likewise.
18943 * manual/locale.texi: Likewise.
18944 * manual/maint.texi: Likewise.
18945 * manual/math.texi: Likewise.
18946 * manual/memory.texi: Likewise.
18947 * manual/message.texi: Likewise.
18948 * manual/nss.texi: Likewise.
18949 * manual/pattern.texi: Likewise.
18950 * manual/process.texi: Likewise.
18951 * manual/resource.texi: Likewise.
18952 * manual/search.texi: Likewise.
18953 * manual/setjmp.texi: Likewise.
18954 * manual/signal.texi: Likewise.
18955 * manual/socket.texi: Likewise.
18956 * manual/startup.texi: Likewise.
18957 * manual/stdio.texi: Likewise.
18958 * manual/string.texi: Likewise.
18959 * manual/sysinfo.texi: Likewise.
18960 * manual/syslog.texi: Likewise.
18961 * manual/terminal.texi: Likewise.
18962 * manual/time.texi: Likewise.
18963 * manual/users.texi: Likewise.
18964 * INSTALL: Regenerated.
18965 * NOTES: Regenerated.
d40c5d54 18966 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 18967
450bf206
AS
189682012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18969
18970 * include/dirent.h: Include <dirstream.h> before
18971 <dirent/dirent.h>.
18972
741a235b
DM
189732012-02-28 David S. Miller <davem@davemloft.net>
18974
18975 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
18976 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
18977 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
18978 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
18979
d6b5aa58
DM
189802012-02-27 David S. Miller <davem@davemloft.net>
18981
1aff59a3
DM
18982 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
18983 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
18984 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
18985 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
18986
d6b5aa58
DM
18987 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
18988 frame pointer instead of stack pointer relative arg slot.
18989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18990 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18991 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18992
433f48bf
CD
189932012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
18994
18995 [BZ #3992]
18996 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
18997
d674b76d
DM
189982012-02-27 David S. Miller <davem@davemloft.net>
18999
19000 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19001 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19002 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19003 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19004 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19005 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19006 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19007 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19008
0e7727f7
JM
190092012-02-27 Joseph Myers <joseph@codesourcery.com>
19010
19011 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19012 later. Allow versions 5-9.
43be4ca2 19013 * configure: Regenerated.
0e7727f7
JM
19014 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19015 required minimum version and 4.6 as recommended version. Do not
19016 mention bugs in GCC 2.7 and 2.8.
43be4ca2 19017 * INSTALL: Regenerated.
0e7727f7 19018
a78bc654
DM
190192012-02-27 David S. Miller <davem@davemloft.net>
19020
428d5830
DM
19021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19025 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19026 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19027 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19028 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19029
a78bc654
DM
19030 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19031 manipulate bits before adding and subtracting TWO112[sx].
19032 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19033
4579f81c
RM
190342012-02-27 Roland McGrath <roland@hack.frob.com>
19035
36c8acb4
RM
19036 [BZ #13775]
19037 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19038 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19039 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19040 being in POSIX, because they are in 1003.1-2008.
19041
84ad622b
RM
19042 * rt/tst-aio.c: Include <fcntl.h>.
19043 * rt/tst-aio7.c: Likewise.
19044 * rt/tst-aio64.c: Likewise.
19045
4579f81c
RM
19046 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19047
abd923db
JM
190482012-02-27 Joseph Myers <joseph@codesourcery.com>
19049
19050 * manual/install.texi (--with-headers): Describe headers as
19051 interface headers, not private headers.
19052 (Specific advice for GNU/Linux systems): Describe use of headers
19053 from "make headers_install", not private headers from older
19054 kernels.
43be4ca2 19055 * INSTALL: Regenerated.
abd923db
JM
19056 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19057 Change to 2.6.19.
19058 * sysdeps/unix/sysv/linux/configure: Regenerated.
19059
6664049b
JM
19060 * manual/llio.texi (fclean): Remove documentation.
19061
bb8b6697
JM
19062 * manual/Makefile (libc-texi-generated): New variable. Include
19063 version.texi.
19064 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19065 $(libc-texi-generated), not duplicated list of files.
19066 (version.texi, stamp-version): New rules.
19067 (realclean): Remove $(libc-texi-generated), not individual files
19068 from that list. Do not remove dir-add.texinfo.
19069 * manual/libc.texinfo: Comment out uses of edition numbers and
19070 references to printed manual. Remove last-updated dates.
19071 (EDITION): Comment out.
19072 (ISBN): Likewise.
19073 (VERSION, UPDATED): Remove.
19074 (version.texi): Include.
19075
12e5c3b9
AS
190762012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19077
19078 * sysdeps/posix/spawni.c: Include <signal.h>.
19079 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19080 * sysdeps/pthread/aio_fsync.c: Likewise.
19081
4efeffc1 190822012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 19083
ba63ba08
UD
19084 * conform/Makefile (tests): Run only when not cross-compiling and
19085 when fast-check is not defined.
19086
d94a4670
UD
19087 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19088 * conform/data/limits.h-data: Fixes for POSIX2008.
19089 * conform/run-conformtest.sh: Run all tests.
19090 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19091 headers.
19092 * include/bits/dlfcn.h: Likewise.
19093 * include/langinfo.h: Likewise.
19094 * include/monetary.h: Likewise.
19095 * include/sys/poll.h: Likewise.
19096
19097 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19098 for __USE_GNU.
19099 * posix/spawn.h: Define __need_sigset_t.
19100 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19101 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19102 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19103 to get sigevent_t only.
19104 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19105 only for __USE_GNU.
19106 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19107 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19108 process_vm_writev only for __USE_GNU.
19109 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
19110
19111 * conform/Makefile: For now ignore errors from run-conformtest.
19112 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19113 POSIX to avoid namespace pollution. Don't prepend headers.
19114 * conform/data/aio.h-data: Fixes for POSIX testing.
19115 * conform/data/fcntl.h-data: Likewise.
19116 * conform/data/glob.h-data: Likewise.
19117 * conform/data/grp.h-data: Likewise.
19118 * conform/data/pthread.h-data: Likewise.
19119 * conform/data/pwd.h-data: Likewise.
19120 * conform/data/signal.h-data: Likewise.
19121 * conform/data/spawn.h-data: Likewise.
19122 * conform/data/stdio.h-data: Likewise.
19123 * conform/data/stdlib.h-data: Likewise.
19124 * conform/data/stropts.h-data: Likewise.
19125 * conform/data/sys/mman.h-data: Likewise.
19126 * conform/data/sys/stat.h-data: Likewise.
19127 * conform/data/sys/types.h-data: Likewise.
19128 * conform/data/sys/wait.h-data: Likewise.
19129 * conform/data/time.h-data: Likewise.
19130 * conform/data/unistd.h-data: Likewise.
19131 * conform/data/utime.h-data: Likewise.
19132
19133 * io/sys/stat.h: fchmod was always in POSIX.
19134 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19135 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19136 * rt/aio.h: Define __need_timespec before including <time.h>.
19137 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19138 struct. Add forward declaration of pthread_attr_t and use it in
19139 sigevent.
19140 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19141 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19142 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19143 always remove CLK_TCK definition.
19144
c20105c3
AS
191452012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19146
19147 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19148
7a270350
UD
191492012-02-25 Ulrich Drepper <drepper@gmail.com>
19150
31341567
UD
19151 * conform/run-conformtest.sh: New file.
19152 * conform/Makefile: Run run-conformtest for tests.
19153 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19154 support.
19155
19156 * conform/data/uchar.h-data: New file.
19157 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19158 * conform/data/arpa/inet.h-data: Likewise.
19159 * conform/data/assert.h-data: Likewise.
19160 * conform/data/complex.h-data: Likewise.
19161 * conform/data/cpio.h-data: Likewise.
19162 * conform/data/ctype.h-data: Likewise.
19163 * conform/data/dirent.h-data: Likewise.
19164 * conform/data/dlfcn.h-data: Likewise.
19165 * conform/data/errno.h-data: Likewise.
19166 * conform/data/fcntl.h-data: Likewise.
19167 * conform/data/float.h-data: Likewise.
19168 * conform/data/fmtmsg.h-data: Likewise.
19169 * conform/data/fnmatch.h-data: Likewise.
19170 * conform/data/ftw.h-data: Likewise.
19171 * conform/data/glob.h-data: Likewise.
19172 * conform/data/grp.h-data: Likewise.
19173 * conform/data/iconv.h-data: Likewise.
19174 * conform/data/inttypes.h-data: Likewise.
19175 * conform/data/langinfo.h-data: Likewise.
19176 * conform/data/libgen.h-data: Likewise.
19177 * conform/data/limits.h-data: Likewise.
19178 * conform/data/locale.h-data: Likewise.
19179 * conform/data/math.h-data: Likewise.
19180 * conform/data/monetary.h-data: Likewise.
19181 * conform/data/mqueue.h-data: Likewise.
19182 * conform/data/ndbm.h-data: Likewise.
19183 * conform/data/net/if.h-data: Likewise.
19184 * conform/data/netdb.h-data: Likewise.
19185 * conform/data/netinet/in.h-data: Likewise.
19186 * conform/data/nl_types.h-data: Likewise.
19187 * conform/data/poll.h-data: Likewise.
19188 * conform/data/pthread.h-data: Likewise.
19189 * conform/data/pwd.h-data: Likewise.
19190 * conform/data/regex.h-data: Likewise.
19191 * conform/data/sched.h-data: Likewise.
19192 * conform/data/search.h-data: Likewise.
19193 * conform/data/semaphore.h-data: Likewise.
19194 * conform/data/setjmp.h-data: Likewise.
19195 * conform/data/signal.h-data: Likewise.
19196 * conform/data/spawn.h-data: Likewise.
19197 * conform/data/stdarg.h-data: Likewise.
19198 * conform/data/stdio.h-data: Likewise.
19199 * conform/data/stdlib.h-data: Likewise.
19200 * conform/data/string.h-data: Likewise.
19201 * conform/data/strings.h-data: Likewise.
19202 * conform/data/stropts.h-data: Likewise.
19203 * conform/data/sys/ipc.h-data: Likewise.
19204 * conform/data/sys/mman.h-data: Likewise.
19205 * conform/data/sys/msg.h-data: Likewise.
19206 * conform/data/sys/resource.h-data: Likewise.
19207 * conform/data/sys/select.h-data: Likewise.
19208 * conform/data/sys/sem.h-data: Likewise.
19209 * conform/data/sys/shm.h-data: Likewise.
19210 * conform/data/sys/socket.h-data: Likewise.
19211 * conform/data/sys/stat.h-data: Likewise.
19212 * conform/data/sys/statvfs.h-data: Likewise.
19213 * conform/data/sys/time.h-data: Likewise.
19214 * conform/data/sys/timeb.h-data: Likewise.
19215 * conform/data/sys/times.h-data: Likewise.
19216 * conform/data/sys/types.h-data: Likewise.
19217 * conform/data/sys/uio.h-data: Likewise.
19218 * conform/data/sys/un.h-data: Likewise.
19219 * conform/data/sys/utsname.h-data: Likewise.
19220 * conform/data/sys/wait.h-data: Likewise.
19221 * conform/data/syslog.h-data: Likewise.
19222 * conform/data/tar.h-data: Likewise.
19223 * conform/data/termios.h-data: Likewise.
19224 * conform/data/utime.h-data: Likewise.
19225 * conform/data/utmpx.h-data: Likewise.
19226 * conform/data/varargs.h-data: Likewise.
19227 * conform/data/wchar.h-data: Likewise.
19228 * conform/data/wctype.h-data: Likewise.
19229 * conform/data/wordexp.h-data: Likewise.
19230
19231 * include/stropts.h: New file.
19232 * include/uchar.h: New file.
19233 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19234 * include/assert.h: Likewise.
19235 * include/ctype.h: Likewise.
19236 * include/dirent.h: Likewise.
19237 * include/dlfcn.h: Likewise.
19238 * include/fcntl.h: Likewise.
19239 * include/fnmatch.h: Likewise.
19240 * include/glob.h: Likewise.
19241 * include/grp.h: Likewise.
19242 * include/libio.h: Likewise.
19243 * include/locale.h: Likewise.
19244 * include/math.h: Likewise.
19245 * include/net/if.h: Likewise.
19246 * include/netdb.h: Likewise.
19247 * include/netinet/in.h: Likewise.
19248 * include/pthread.h: Likewise.
19249 * include/pwd.h: Likewise.
19250 * include/regex.h: Likewise.
19251 * include/sched.h: Likewise.
19252 * include/search.h: Likewise.
19253 * include/setjmp.h: Likewise.
19254 * include/signal.h: Likewise.
19255 * include/stdio.h: Likewise.
19256 * include/stdlib.h: Likewise.
19257 * include/string.h: Likewise.
19258 * include/sys/cdefs.h: Likewise.
19259 * include/sys/mman.h: Likewise.
19260 * include/sys/msg.h: Likewise.
19261 * include/sys/resource.h: Likewise.
19262 * include/sys/select.h: Likewise.
19263 * include/sys/socket.h: Likewise.
19264 * include/sys/stat.h: Likewise.
19265 * include/sys/statvfs.h: Likewise.
19266 * include/sys/time.h: Likewise.
19267 * include/sys/times.h: Likewise.
19268 * include/sys/uio.h: Likewise.
19269 * include/sys/utsname.h: Likewise.
19270 * include/sys/wait.h: Likewise.
19271 * include/termios.h: Likewise.
19272 * include/time.h: Likewise.
19273 * include/ulimit.h: Likewise.
19274 * include/unistd.h: Likewise.
19275 * include/utime.h: Likewise.
19276 * include/wchar.h: Likewise.
19277 * include/wctype.h: Likewise.
19278 * include/wordexp.h: Likewise.
19279
19280 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19281
7a270350
UD
19282 * time/time.h: TIME_UTC must be a macro.
19283 Make timespec_get available for ISO C11 only as well.
19284
7724defc
UD
192852012-02-24 Ulrich Drepper <drepper@gmail.com>
19286
19287 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19288 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19289
6b1d1d46
JM
192902012-02-24 Joseph Myers <joseph@codesourcery.com>
19291
19292 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 19293
0f8bbd69
JM
192942012-02-24 Joseph Myers <joseph@codesourcery.com>
19295
19296 * manual/texinfo.tex: Update to version 2012-01-19.16.
19297
66ab80bc
JM
192982012-02-24 Joseph Myers <joseph@codesourcery.com>
19299
19300 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19301
74981cc5
RM
193022012-02-24 Roland McGrath <roland@hack.frob.com>
19303
ee968201
RM
19304 [BZ #13738]
19305 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19306 * manual/fdl-1.3.texi: New file.
19307 * manual/fdl-1.1.texi: File removed.
19308
74981cc5
RM
19309 [BZ #13738]
19310 * manual/libc.texinfo (FDL_VERSION): New @set.
19311 Use it for mention of FDL in cover text.
19312 (Documentation License): Use it in @include file name.
19313
7bb764bc
JM
193142012-02-22 Joseph Myers <joseph@codesourcery.com>
19315 Roland McGrath <roland@hack.frob.com>
19316
19317 [BZ #5461]
19318 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19319 not LONG_LONG_MAX and LONG_LONG_MIN.
19320 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19321 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19322 name.
19323 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19324
6cbeae47
JM
193252012-02-22 Joseph Myers <joseph@codesourcery.com>
19326
19327 [BZ #2547]
19328 [BZ #11365]
19329 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19330 manipulate bits before adding and subtracting TWO23[sx].
19331 * math/libm-test.inc (nearbyint_test): Add more tests.
19332
fe45ce09
JM
193332012-02-22 Joseph Myers <joseph@codesourcery.com>
19334
19335 [BZ #2548]
19336 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19337 bits before adding and subtracting TWO23[sx].
19338 * math/libm-test.inc (rint_test): Add more tests.
19339 (rint_test_tonearest): Likewise.
19340 (rint_test_towardzero): Likewise.
19341 (rint_test_downward): Likewise.
19342 (rint_test_upward: Likewise.
19343
ff3b3d82
JM
193442012-02-22 Joseph Myers <joseph@codesourcery.com>
19345
19346 [BZ #10110]
19347 * include/stdc-predef.h: New file. Extracted from features.h.
19348 * include/features.h: Include stdc-predef.h.
19349 * Makefile (headers): Add stdc-predef.h.
19350 * CONFORMANCE (Compiler limitations): Update.
19351
ef0aab35
JM
193522012-02-22 Joseph Myers <joseph@codesourcery.com>
19353
19354 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19355
58639409
DM
193562012-02-21 David S. Miller <davem@davemloft.net>
19357
19358 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19359 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19360
c0e70b25
DM
193612012-02-20 David S. Miller <davem@davemloft.net>
19362
19363 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19364 using a normal save/restore sequence, rather than allocating a
19365 dummy stack frame just to store a frame pointer and restore.
19366 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19367
fb06851d
JM
193682012-02-21 Joseph Myers <joseph@codesourcery.com>
19369
19370 * manual/install.texi: Fix stray word in line-wrapped comment.
19371
7a8b71c3
DM
193722012-02-20 David S. Miller <davem@davemloft.net>
19373
d510c123
DM
19374 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19375 both binutils and gcc support GOTDATA.
19376
0722d7c2
DM
19377 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19378 "rd %pc" in the PIC register setup sequences.
19379
3d2b3019
DM
19380 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19381 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19382 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19383 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19384 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19385 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19386 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19387 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19388 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19389 (SYSCALL_ERROR_HANDLER): Likewise.
19390 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19391 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19392 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19393 (SYSCALL_ERROR_HANDLER): Likewise.
19394
c80098a9
DM
19395 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19396 (HAVE_GCC_GOTDATA): New.
19397 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19398 relocation support in both binutils and gcc.
19399 * sysdeps/sparc/elf/configure: Regenerate.
19400
3a2545a0
DM
19401 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19402 * sysdeps/sparc/sparc32/elf/configure: Delete.
19403 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19404 * sysdeps/sparc/sparc64/elf/configure: Delete.
19405 * sysdeps/sparc/elf/configure.in: New file.
19406 * sysdeps/sparc/elf/configure: Generate.
19407
7a8b71c3
DM
19408 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19409 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19410 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19411 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19412 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19413
f1e86fca
JM
194142012-02-21 Joseph Myers <joseph@codesourcery.com>
19415
19416 * manual/install.texi: Do not mention specific glibc version
19417 numbers.
19418 * manual/libc.texinfo (VERSION, UPDATED): Update.
19419 (@copying): Use @copyright{} and range of years.
19420
0e7dfaef
JM
194212012-02-21 Joseph Myers <joseph@codesourcery.com>
19422
19423 [BZ #13695]
19424 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19425 [crti.S not in sysdirs] (generated): Do not append.
19426 [crti.S not in sysdirs] (omit-deps): Likewise.
19427 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19428 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19429 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19430 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19431 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19432 Likewise.
19433 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19434 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19435 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19436 * csu/defs.awk: Remove file.
19437 * sysdeps/generic/initfini.c: Likewise.
19438 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19439 variable.
19440 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19441 Likewise.
19442
599af3ca
JM
194432012-02-20 Joseph Myers <joseph@codesourcery.com>
19444
19445 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19446 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19447 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19448 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19449 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19450 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19451 <bits/epoll.h>.
19452 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19453 (__EPOLL_PACKED): Define to empty if not defined by
19454 <bits/epoll.h>.
19455 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19457 bits/epoll.h.
19458
0e499750
JM
194592012-02-20 Joseph Myers <joseph@codesourcery.com>
19460
19461 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19462 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19463 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19464 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19465 <bits/timerfd.h>.
19466 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19467 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19468 bits/timerfd.h.
19469
5ad91f6e
JM
194702012-02-20 Joseph Myers <joseph@codesourcery.com>
19471
19472 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19473 in C locale.
19474 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19475 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19476 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19478
06b99b02
AJ
194792012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19480
19481 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19482 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19483
7638c0fd
AS
194842012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19485
19486 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19487 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19488 defined.
19489 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19490 Likewise.
19491 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19492 entry for 2.16.
19493
92221550
AJ
194942012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19495
19496 * math/w_acos.c: Use non-signaling floating-point comparisons.
19497 * math/w_acosf.c: Likewise.
19498 * math/w_acosh.c: Likewise.
19499 * math/w_acoshf.c: Likewise.
19500 * math/w_acoshl.c: Likewise.
19501 * math/w_acosl.c: Likewise.
19502 * math/w_asin.c: Likewise.
19503 * math/w_asinf.c: Likewise.
19504 * math/w_asinl.c: Likewise.
19505 * math/w_atanh.c: Likewise.
19506 * math/w_atanhf.c: Likewise.
19507 * math/w_atanhl.c: Likewise.
19508 * math/w_exp2.c: Likewise.
19509 * math/w_exp2f.c: Likewise.
19510 * math/w_exp2l.c: Likewise.
19511 * math/w_j0.c: Likewise.
19512 * math/w_j0f.c: Likewise.
19513 * math/w_j0l.c: Likewise.
19514 * math/w_j1.c: Likewise.
19515 * math/w_j1f.c: Likewise.
19516 * math/w_j1l.c: Likewise.
19517 * math/w_jn.c: Likewise.
19518 * math/w_jnf.c: Likewise.
19519 * math/w_log.c: Likewise.
19520 * math/w_log10.c: Likewise.
19521 * math/w_log10f.c: Likewise.
19522 * math/w_log10l.c: Likewise.
19523 * math/w_log2.c: Likewise.
19524 * math/w_log2f.c: Likewise.
19525 * math/w_log2l.c: Likewise.
19526 * math/w_logf.c: Likewise.
19527 * math/w_logl.c: Likewise.
19528 * math/w_sqrt.c: Likewise.
19529 * math/w_sqrtf.c: Likewise.
19530 * math/w_sqrtl.c: Likewise.
19531 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19532 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19533 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19534 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19535 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19536
ebaf36eb
JM
195372012-02-19 Joseph Myers <joseph@codesourcery.com>
19538
19539 [BZ #9739]
19540 * manual/string.texi (strnlen): Use correct parameter name in
19541 equivalent expression.
19542
71c254a6
JM
195432012-02-19 Joseph Myers <joseph@codesourcery.com>
19544
19545 [BZ #11174]
19546 * manual/users.texi (seteuid): Consistently use neweuid for
19547 argument name.
19548
16d2c631
JM
195492012-02-19 Joseph Myers <joseph@codesourcery.com>
19550
19551 [BZ #13704]
19552 * manual/nss.texi (Services in the NSS configuration): Correct
19553 list of services in example configuration file.
19554
cd837b09
NB
195552012-02-19 Nick Bowler <nbowler@draconx.ca>
19556
19557 [BZ #11322]
19558 * manual/arith.texi: Remove statements about negative zero
19559 behaving identically to zero.
19560
02c4bbad
JM
195612012-02-18 Joseph Myers <joseph@codesourcery.com>
19562
19563 [BZ #5993]
19564 * manual/install.texi: Do not document upgrading from libc5.
19565
366842e7
JM
195662012-02-18 Joseph Myers <joseph@codesourcery.com>
19567
19568 [BZ #4596]
19569 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19570
dd54084d
DM
195712012-02-18 David S. Miller <davem@davemloft.net>
19572
19573 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19574 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19575 %o7 across the call.
19576 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19577 instead.
19578 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19579 SETUP_PIC_REG_LEAF.
19580 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19581 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19582 * sysdeps/sparc/crtn.S: Likewise.
19583
2bcc53a3
UD
195842012-02-17 Ulrich Drepper <drepper@gmail.com>
19585
19586 * aout/Makefile: Remove.
19587
09c093b5
RK
195882012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19589
19590 [BZ #13058]
19591 * manual/examples/argp-ex1.c (main): Format definition in GNU
19592 style.
19593 * manual/examples/argp-ex2.c (main): Likewise.
19594 * manual/examples/argp-ex3.c (main): Likewise.
19595 * manual/examples/argp-ex4.c (main): Likewise.
19596 * manual/examples/longopt.c (main): Use new-style prototype
19597 definition.
19598 * manual/examples/strncat.c (main): Specify return type and use
19599 (void) for arguments.
19600 * manual/examples/subopt.c (main): Use char **argv argument.
19601
2ee633a2
JM
196022012-02-17 Joseph Myers <joseph@codesourcery.com>
19603
19604 [BZ #5077]
19605 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19606 rounding modes.
19607
0520adde
FB
196082012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19609
19610 [BZ #6907]
19611 * manual/string.texi (strchr): Change when strchrnul is
19612 recommended.
19613
3f4081cd
DGM
196142012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19615
19616 [BZ #174]
19617 * manual/locale.texi (setlocale): Document LOCPATH.
19618
d1b10e78
JM
196192012-02-17 Joseph Myers <joseph@codesourcery.com>
19620
19621 [BZ #10210]
19622 * manual/process.texi (execle): Move @dots{} before last argument.
19623
79c6869c
PB
196242012-02-17 Paul Bolle <pebolle@tiscali.nl>
19625
19626 [BZ #12047]
19627 * manual/charset.texi (Generic Charset Conversion): Fix typo
19628 (LC_TYPE -> LC_CTYPE).
19629
cc6e48bc
NB
196302012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19631
19632 [BZ #5805]
19633 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19634 (scalbnf): Likewise.
19635 (scalbnl): Likewise.
19636 (scalbln): Likewise.
19637 (scalblnf): Likewise.
19638 (scalblnl): Likewise.
19639 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19640 (vwarnx): Likewise.
19641 (verr): Likewise.
19642 (verrx): Likewise.
19643 * manual/filesys.texi (telldir): Use braces around return type.
19644 * manual/llio.texi (mmap): Add space after comma.
19645 (mmap64): Likewise.
19646 * manual/math.texi (jn): Use @var{} on parameter names.
19647 (jnf): Likewise.
19648 (jnl): Likewise.
19649 (yn): Likewise.
19650 (ynf): Likewise.
19651 (ynl): Likewise.
19652 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19653 line.
19654 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19655 "...".
19656 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19657 (sched_get_priority_max): Likewise.
19658 * manual/signal.texi (sigvec): Add space after comma.
19659 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19660 names.
19661 (if_indextoname): Likewise.
19662 (if_freenameindex): Likewise.
19663 (sendto): Use ',' instead of '.' in prototype.
19664 * manual/startup.texi (syscall): Use @dots{} instead of literal
19665 "...".
19666 * manual/stdio.texi (__fpending): Separate initial words of
19667 paragraph from @deftypefun line.
19668 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19669 "...".
19670 (vsyslog): Use @var{} on parameter names.
19671 * manual/terminal.texi (stty): Use @var{} on parameter names.
19672 * manual/users.texi (getutmp): Use @var{} on parameter names.
19673 (getutmpx): Likewise.
19674
5b23062f
JM
196752012-02-17 Joseph Myers <joseph@codesourcery.com>
19676
19677 [BZ #6884]
19678 * manual/stdio.texi (fopen): Fix typos in description of
19679 ",ccs=STRING".
19680
8dee4833
AJ
196812012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19682
19683 [BZ #4026]
19684 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19685 get clock_id definition.
19686
9078ce93
TS
196872012-02-17 Thomas Schwinge <thomas@schwinge.name>
19688
19689 [BZ #4822]
19690 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19691 (madvise): Cast every argument to void on its own.
19692
3835c55f
JM
196932012-02-17 Joseph Myers <joseph@codesourcery.com>
19694
19695 [BZ #9902]
19696 * manual/startup.texi (Exit Status): Fix typo.
19697
35c47e37
JM
196982012-02-17 Joseph Myers <joseph@codesourcery.com>
19699
19700 [BZ #10140]
19701 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19702 * manual/examples/argp-ex2.c: Likewise.
19703 * manual/examples/argp-ex3.c: Likewise.
19704
e3b69ca7
RH
197052012-02-16 Richard Henderson <rth@redhat.com>
19706
19707 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19708 * sysdeps/s390/s390-32/initfini.c: Remove.
19709 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19710 * sysdeps/s390/s390-64/initfini.c: Remove.
19711
df83af67
KK
197122012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19713
19714 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19715 compiler output for sysdeps/generic/initfini.c.
19716 * sysdeps/sh/elf/initfini.c: Remove file.
19717
f63f3380
DM
197182012-02-16 David S. Miller <davem@davemloft.net>
19719
fb59b3a4
DM
19720 [BZ #11494]
19721 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19722
f63f3380
DM
19723 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19724 * sysdeps/sparc/crti.S: New file.
19725 * sysdeps/sparc/crtn.S: New file.
19726 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19727 * sysdeps/sparc/sparc64/Makefile: Likewise.
19728
df6a4a4a
MF
197292012-02-15 Mike Frysinger <vapier@gentoo.org>
19730
6dd8f3dc 19731 [BZ #3335]
df6a4a4a
MF
19732 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19733
1cac7236
RM
197342012-02-15 Roland McGrath <roland@hack.frob.com>
19735
d2c736f8
RM
19736 [BZ #4822]
19737 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19738
1cac7236
RM
19739 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19740 (write, read, close): Likewise.
19741 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19742
8e475601
JM
197432012-02-15 Joseph Myers <joseph@codesourcery.com>
19744
19745 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19746 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19747 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19748 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19749 <bits/signalfd.h>.
19750 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19751 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19752 bits/signalfd.h.
19753
ed656b40
MP
197542012-02-14 Marek Polacek <polacek@redhat.com>
19755
19756 * sysdeps/x86_64/crti.S: New file.
19757 * sysdeps/x86_64/crtn.S: New file.
19758 * sysdeps/x86_64/elf/initfini.c: Remove file.
19759
2a979d3a
JM
197602012-02-13 Joseph Myers <joseph@codesourcery.com>
19761
19762 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19763 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19764 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19765 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19766 <bits/inotify.h>.
19767 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19768 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19769 bits/inotify.h.
19770
2a418ac3
JM
197712012-02-13 Joseph Myers <joseph@codesourcery.com>
19772
19773 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19774 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19775 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19776 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19777 <bits/eventfd.h>.
19778 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19779 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19780 bits/eventfd.h.
19781
fb779be7
TS
197822012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19783
e19e83c5
RM
19784 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19785 __feraiseexcept instead of feraiseexcept.
7c35ffed 19786
fb779be7
TS
19787 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19788 nanosleep invocations.
19789 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19790 strings, and add error checking for a nanosleep invocations.
19791
59ba27a6
PE
197922012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19793
19794 Replace FSF snail mail address with URLs, as per GNU coding standards.
19795 Most of the snail mail addresses were wrong anyway, and omitting
19796 them makes the source code easier to maintain. Almost all of the
19797 changes are to license notices and to locale LC_IDENTIFICATION
19798 addresses, except for this one:
19799 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19800 not its snail mail address.
19801
57b957eb
RH
198022012-02-09 Richard Henderson <rth@twiddle.net>
19803
af850b1c
RH
19804 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19805 of kernel-features.h.
19806
57b957eb
RH
19807 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19808
6b73181a
MP
198092012-02-08 Marek Polacek <polacek@redhat.com>
19810
19811 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19812 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19813 * sysdeps/gnu/_G_config.h: Likewise.
19814 * sysdeps/generic/_G_config.h: Likewise.
19815
26ecc33a
AS
198162012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19817
6c6dbc63
AS
19818 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19819 tests.
19820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19821
e216c012
AS
19822 * sysdeps/powerpc/powerpc32/crti.S: New file.
19823 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19824 * sysdeps/powerpc/powerpc64/crti.S: New file.
19825 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19826
26ecc33a
AS
19827 * Makeconfig (have-initfini): Don't set.
19828 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19829 * configure.in (nopic_initfini): Don't substitute.
19830 * config.h.in (HAVE_INITFINI): Don't #undef.
19831 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19832 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19833
3add8e13
JM
198342012-02-08 Joseph Myers <joseph@codesourcery.com>
19835
19836 Support crti.S and crtn.S provided directly by architectures.
19837 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19838 [crti.S in sysdirs] (omit-deps): Likewise.
19839 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19840 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19841 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19842 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19843 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19844 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19845 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19846 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19847 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19848 compiler output for sysdeps/generic/initfini.c.
19849 * sysdeps/i386/elf/Makefile: Remove file.
19850 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19851
a22f12b4
MP
198522012-02-07 Marek Polacek <polacek@redhat.com>
19853
19854 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19855 * sysdeps/gnu/_G_config.h: Likewise.
19856 * sysdeps/mach/hurd/_G_config.h: Likewise.
19857
148cf100
MP
198582012-02-07 Marek Polacek <polacek@redhat.com>
19859
19860 * math/Makefile (tests): Add tst-CMPLX2.
19861 * math/tst-CMPLX2.c: New file.
19862
cfdc0dd7
AS
198632012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19864
84ba42c4
AS
19865 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19866
cfdc0dd7
AS
19867 * math/libm-test.inc (jn_test): Add missing L suffix.
19868
622c86f4
MP
198692012-02-06 Marek Polacek <polacek@redhat.com>
19870
19871 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19872 * sysdeps/i386/fpu/e_powf.S: Likewise.
19873 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19874 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19875 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19876 * sysdeps/i386/fpu/e_pow.S: Likewise.
19877 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19878 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19879 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19880 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19881 * sysdeps/i386/fpu/e_log2.S: Likewise.
19882 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19883 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19884 * sysdeps/i386/fpu/e_powl.S: Likewise.
19885 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19886 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19887 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19888 * sysdeps/i386/fpu/e_logl.S: Likewise.
19889 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19890 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19891 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19892 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19893 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19894 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19895 * sysdeps/i386/fpu/e_log.S: Likewise.
19896 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19897 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19898 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19899 * sysdeps/i386/fpu/e_logf.S: Likewise.
19900 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19901 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19902 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19903 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19904 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19905 * sysdeps/i386/fpu/e_log10.S: Likewise.
19906 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19907 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19908 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19909 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19910 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19911 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19912 * sysdeps/i386/asm-syntax.h: Likewise.
19913 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19914 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19915 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19916 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19917 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19918 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19919 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19920 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19921 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19922 * sysdeps/powerpc/sysdep.h: Likewise.
19923 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19924 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19925
d4a54ac6
JM
199262012-02-06 Joseph Myers <joseph@codesourcery.com>
19927
19928 [BZ #411]
19929 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19930
314054ea
JM
199312012-02-06 Joseph Myers <joseph@codesourcery.com>
19932
19933 * sysdeps/i386/sysdep.h: Include <features.h>.
19934 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19935 version.
19936
d8e0ca50
JM
199372012-02-05 Joseph Myers <joseph@codesourcery.com>
19938
19939 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19940 Define.
19941 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19942 LOAD_PIC_REG_STR.
19943
b1da7dd9
JM
199442012-02-03 Joseph Myers <joseph@codesourcery.com>
19945
19946 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19947 (SETUP_PIC_REG): Use GET_PC_THUNK.
19948 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19949 macro.
19950
9a1d9254
JM
199512012-02-03 Joseph Myers <joseph@codesourcery.com>
19952
19953 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19954 for non-PIC compilation.
19955 (SETUP_PIC_REG): Add .p2align directive.
19956 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19957 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19958 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19959 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19960 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19961 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19962 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19963 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19964 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19965 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19966 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19967 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19968 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19969 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19970 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19971 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19972 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19973 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19974 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19975 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19976 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19977 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
19978 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19979 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19980 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
19981 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
19982 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19983 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
19984 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19985 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19986 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19987 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19988 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19989 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19990 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19991 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19992 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19993 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19994 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19995 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19996 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19997
65dc3b75
JM
199982012-02-03 Joseph Myers <joseph@codesourcery.com>
19999
20000 * math/tst-CMPLX.c: Include <stdio.h>.
20001
d55bf177
JM
200022012-01-31 Joseph Myers <joseph@codesourcery.com>
20003
20004 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20005 float.
20006 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20007 * sysdeps/sparc/bits/mathdef.h: Likewise.
20008
69db4f8f
MP
200092012-01-31 Marek Polacek <polacek@redhat.com>
20010
20011 * libio/libio.h: Don't define _PARAMS.
20012 * locale/programs/config.h: Don't define PARAMS.
20013 * stdlib/strtol_l.c: Likewise.
20014 (__strtol_l): Remove PARAMS from the prototype.
20015
41b81892
UD
200162012-01-31 Ulrich Drepper <drepper@gmail.com>
20017
3b49edc0
UD
20018 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20019 names. Just use the correct names. Remove unnecessary wrapper
20020 functions.
20021 * malloc/arena.c: Likewise.
20022 * malloc/hooks.c: Likewise.
20023
41b81892
UD
20024 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20025 ARENA_TEST says not to. Simplify test for creation of a new arena.
20026 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20027
27a25b6e
UD
200282012-01-30 Ulrich Drepper <drepper@gmail.com>
20029
20030 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20031 into tail calls.
20032 (update_get_addr): New function.
20033 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20034 GET_ADDR_MODULE parameter.
20035
c8a89e7d
JM
200362012-01-30 Joseph Myers <joseph@codesourcery.com>
20037
20038 * crypt/cert.c: Remove __STDC__ conditionals.
20039 * crypt/crypt-entry.c: Likewise.
20040 * crypt/crypt_util.c: Likewise.
20041 * libio/filedoalloc.c: Likewise.
20042 * libio/fileops.c: Likewise.
20043 * libio/genops.c: Likewise.
20044 * libio/iofclose.c: Likewise.
20045 * libio/iofdopen.c: Likewise.
20046 * libio/iofopen.c: Likewise.
20047 * libio/iofopen64.c: Likewise.
20048 * libio/iogetdelim.c: Likewise.
20049 * libio/iopopen.c: Likewise.
20050 * libio/obprintf.c: Likewise.
20051 * libio/oldfileops.c: Likewise.
20052 * libio/oldiofclose.c: Likewise.
20053 * libio/oldiofdopen.c: Likewise.
20054 * libio/oldiofopen.c: Likewise.
20055 * libio/oldiopopen.c: Likewise.
20056 * libio/wfiledoalloc.c: Likewise.
20057 * libio/wgenops.c: Likewise.
20058 * locale/programs/xmalloc.c: Likewise.
20059 * misc/syslog.c: Likewise.
20060 * stdio-common/xbug.c: Likewise.
20061 * string/memchr.c: Likewise.
20062 * string/memcmp.c: Likewise.
20063 * string/memrchr.c: Likewise.
20064 * string/rawmemchr.c: Likewise.
20065 * sysdeps/posix/getcwd.c: Likewise.
20066 * time/strftime_l.c: Likewise.
20067
3b100462
JM
200682012-01-30 Joseph Myers <joseph@codesourcery.com>
20069
20070 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
20071 * config.make.in (config-cflags-sse2avx): Define.
20072 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20073 Fix typo.
20074
607998af
CM
200752012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20076
20077 * scripts/config.guess: Update from upstream config git repository.
20078 * scripts/config.sub: Likewise.
20079
3601428f
CM
200802012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20081
3ac8b282
CM
20082 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20083 (EM_NUM): Update.
20084 (R_TILEPRO_*, R_TILEGX_*): New macros.
20085
e034841e
CM
20086 * scripts/firstversions.awk: Fix bug in version range handling.
20087
540d7568
CM
20088 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20089
3601428f
CM
20090 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20091
463de862
CM
20092 * include/sys/epoll.h: New file.
20093 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20094 libc_hidden_def.
20095
73139a76
UD
200962012-01-28 Ulrich Drepper <drepper@gmail.com>
20097
96bc5b45
UD
20098 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20099 Avoid unnecessary __WORDSIZE == 64 test.
20100 (fmaxf): Use VEX format if possible.
20101 (fmax): Likewise.
20102 (fminf): Likewise.
20103 (fmin): Likewise.
20104
56f6f6a2
UD
20105 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20106 * math/math_private.h: Remove libc_fegetround* and
20107 libc_fesetround*.
20108 * sysdeps/i386/configure.in: Check for -msse2avx.
20109 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20110 also if SSE2AVX is defined.
20111 Remove libc_fegetround* and libc_fesetround*.
20112 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20113 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20114 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20115 of HAS_YMM_USABLE.
20116 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20117 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20118 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20119 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20120 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20121
73139a76
UD
20122 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20123
d73f93a4
AZ
201242012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20125
20126 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20127 size is not set.
20128 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20129
6ee65ed6
UD
201302012-01-27 Ulrich Drepper <drepper@gmail.com>
20131
20132 [BZ #13618]
20133 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20134 relocation.
20135 * Makeconfig (libm): Define.
20136 * elf/Makefile: Add rules to build and run tst-relsort1.
20137 * elf/tst-relsort1.c: New file.
20138 * elf/tst-relsort1mod1.c: New file.
20139 * elf/tst-relsort1mod2.c: New file.
20140
8db21882
JM
201412012-01-27 Joseph Myers <joseph@codesourcery.com>
20142
20143 * math/s_ldexp.c: Remove __STDC__ conditionals.
20144 * math/s_ldexpf.c: Likewise.
20145 * math/s_ldexpl.c: Likewise.
20146 * math/s_nextafter.c: Likewise.
20147 * math/s_nexttowardf.c: Likewise.
20148 * math/s_significand.c: Likewise.
20149 * math/s_significandf.c: Likewise.
20150 * math/s_significandl.c: Likewise.
20151 * math/w_jnl.c: Likewise.
20152 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20153 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20154 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20155 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20156 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20157 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20158 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20159 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20160 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20161 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20162 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20163 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20164 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20165 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20166 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20167 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20168 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20169 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20170 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20171 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20172 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20173 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20174 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20175 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20176 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20177 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20178 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20179 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20180 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20181 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20182 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20183 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20184 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20185 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20186 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20187 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20188 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20189 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20190 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20191 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20192 * sysdeps/ieee754/k_standard.c: Likewise.
20193 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20194 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20195 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20196 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20197 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20198 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20199 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20200 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20201 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20202 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20203 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20204 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20205 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20206 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20207 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20208 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20209 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20210 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20211 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20212 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20213 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20214 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20215 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20216 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20217 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20218 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20219 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20220 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20221 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20222 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20223 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20224 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20225 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20226 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20227 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20228 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20229 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20230 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20231 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20232 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20233 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20234 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20235 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20236 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20237 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20238 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20239 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20240 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20241 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20242 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20243 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20244 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20245 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20246 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20247 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20248 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20249 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20250 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20251 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20252 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20253 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20254 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20255 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20256 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20257 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20258 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20259 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20260 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20261 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20262 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20263 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20264 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20265 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20266 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20267 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20268 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20269 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20270 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20271 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20272 * sysdeps/ieee754/s_matherr.c: Likewise.
20273 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20274 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20275 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20276 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20277
965a54a4
JM
202782012-01-26 Joseph Myers <joseph@codesourcery.com>
20279
20280 * crypt/md5.h: Remove __STDC__ conditionals.
20281 * libio/libioP.h: Likewise.
20282 * locale/programs/config.h: Likewise.
20283 * sysdeps/generic/sysdep.h: Likewise.
20284 * sysdeps/i386/asm-syntax.h: Likewise.
20285 * sysdeps/s390/asm-syntax.h: Likewise.
20286 * sysdeps/unix/sysdep.h: Likewise.
20287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20289
7071ad79
JM
202902012-01-26 Joseph Myers <joseph@codesourcery.com>
20291
20292 * libio/libio.h: Remove __STDC__ conditionals.
20293 * malloc/obstack.h: Likewise.
20294 * math/complex.h: Likewise.
20295 * math/math.h: Likewise.
20296 * sysdeps/generic/_G_config.h: Likewise.
20297 * sysdeps/gnu/_G_config.h: Likewise.
20298 * sysdeps/mach/hurd/_G_config.h: Likewise.
20299 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20300 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20301 * sysdeps/sparc/bits/mathdef.h: Likewise.
20302
afc5ed09
UD
203032012-01-26 Ulrich Drepper <drepper@gmail.com>
20304
20305 [BZ #13583]
20306 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 20307 Clean up HAS_* macros.
afc5ed09 20308 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
20309 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20310 possible.
20311 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20312 HAS_AVX.
20313 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20314 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20315 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20316 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20317 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 20318
bdb6de1d
JM
203192012-01-25 Joseph Myers <joseph@codesourcery.com>
20320
20321 * elf/tst-unique3.cc (gets): Remove declaration.
20322 * elf/tst-unique3lib.cc (gets): Likewise.
20323 * elf/tst-unique3lib2.cc (gets): Likewise.
20324 * elf/tst-unique4.cc (gets): Likewise.
20325
b15549e6
UD
203262012-01-24 Ulrich Drepper <drepper@gmail.com>
20327
20328 * include/stdio.h: Add C++ protection. Add gets declarations and
20329 definitions.
20330 * debug/tst-chk1.c: Don't declare gets here.
20331 * stdio-common/tst-gets.c: Likewise.
20332
a037381f
JM
203332012-01-24 Joseph Myers <joseph@codesourcery.com>
20334
20335 * posix/glob: Remove directory.
20336
f1d4aa75
JM
203372012-01-24 Joseph Myers <joseph@codesourcery.com>
20338
20339 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20340
81c0c964
PT
203412012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20342
20343 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20344 of the non-standard EPFNOSUPPORT.
20345
0ea698ae
ST
203462011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20347
20348 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20349 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20350 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20351
d220b117
UD
203522012-01-21 Ulrich Drepper <drepper@gmail.com>
20353
20354 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20355
3e1aa84e
UD
203562012-01-20 Ulrich Drepper <drepper@gmail.com>
20357
20358 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20359 transient errors.
20360 * nscd/grpcache.c (cache_addgr): Likewise.
20361 * nscd/hstcache.c (cache_addhst): Likewise.
20362 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20363 * nscd/pwdcache.c (cache_addpw): Likewise.
20364 * nscd/servicescache.c (cache_addserv): Likewise.
20365
400aa020
UD
203662012-01-16 Ulrich Drepper <drepper@gmail.com>
20367
d77e7869
UD
20368 * malloc/malloc.c: Various cleanups.
20369 * malloc/hooks.c: Likewise.
20370
400aa020
UD
20371 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20372 * stdlib/bug-fmtmsg1.c: New file.
20373
20374 * stdlib/fmtmsg.c (init): Add missing unlock.
20375 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20376
e0a309cf
MP
203772012-01-12 Marek Polacek <polacek@redhat.com>
20378
20379 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20380 and _GNU_SOURCE.
20381
929d11c7
WS
203822012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20383
20384 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20385 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20386 macro to ensure uniqueness of label name.
20387 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20388 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20389
41d0e869
UD
203902012-01-11 Ulrich Drepper <drepper@gmail.com>
20391
0cc5ed3b
UD
20392 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20393
41d0e869
UD
20394 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20395 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20396 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20397 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20398
a47a831a
UD
203992012-01-10 Ulrich Drepper <drepper@gmail.com>
20400
daa891c0
UD
20401 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20402
20403 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20404 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20405 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20406
e58ef0f2
UD
20407 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20408
a47a831a 20409 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
20410 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20411 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 20412 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
20413
20414 * math/bits/math-finite.h: Add ldexp support.
20415
a0bfc9c7
MP
204162012-01-10 Marek Polacek <polacek@redhat.com>
20417
20418 * locale/programs/localedef.h (show_archive_content): Add noreturn
20419 attribute.
20420
d6e97a1d
UD
204212012-01-09 Ulrich Drepper <drepper@gmail.com>
20422
20423 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20424
d5835c26
UD
204252012-01-08 Ulrich Drepper <drepper@gmail.com>
20426
e5f484c6
UD
20427 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20428
d5835c26
UD
20429 * io/Makefile (headers): Add bits/poll2.h.
20430
d1f741e9
WS
204312011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20432
20433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20434 typo #include statement.
20435
ec09c1c4
UD
204362012-01-08 Ulrich Drepper <drepper@gmail.com>
20437
20438 * include/sys/cdefs.h: Define __attribute_alloc_size.
20439 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20440 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20441 * elf/pldd.c: Likewise.
20442 * iconv/iconv_charmap.c: Likewise.
20443 * iconv/iconvconfig.c: Likewise.
20444 * iconv/strtab.c: Likewise.
20445 * locale/programs/locale.c: Likewise.
20446 * locale/programs/localedef.h: Likewise.
20447 * locale/programs/simple-hash.c: Likewise.
20448 * nscd/nscd.h: Likewise.
20449 * nss/makedb.c: Likewise.
20450 * sysdeps/generic/ldconfig.h: Likewise.
20451 * locale/programs/localedef.c: Remove xmalloc prototype.
20452 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20453
20b38e03
PP
204542012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20455
20456 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20457 appropriate.
20458
a0da5fe1
UD
204592012-01-08 Ulrich Drepper <drepper@gmail.com>
20460
1d5a644a 20461 * math/Makefile (tests): Add tst-CMPLX.
669704fd 20462 * math/tst-CMPLX.c: New file.
1d5a644a 20463
8784a6db
UD
20464 * math/complex.h (CMPLXL): Fix typo.
20465
d9a216c0
UD
20466 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20467 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20468 GLIBC_2.16.
20469 * debug/tst-chk1.c: Add poll and ppoll tests.
20470 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20471 * include/sys/poll.h: Add hidden proto for ppoll.
20472 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20473 * sysdeps/mach/hurd/ppoll.c: Likewise.
20474 * io/ppoll.c: Likewise.
20475 * debug/poll_chk.c: New file.
20476 * debug/ppoll_chk.c: New file.
20477 * include/bits/poll2.h: New file.
20478 * io/bits/poll2.h: New file.
20479
ac097f5c
UD
20480 [BZ #1350]
20481 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20482
2119dcfa
UD
20483 * configure.in: static is always set to yes. Remove.
20484 * config.make.in: Don't set build-static.
20485 * Makeconfig: Remove use of build-static.
20486 * dlfcn/Makefile: Likewise.
20487 * elf/Makefile: Likewise.
20488 * math/Makefile: Likewise.
20489 * misc/Makefile: Likewise.
20490 * nptl/Makefile: Likewise.
20491 * sysdeps/mach/hurd/Makefile: Likewise.
20492
121766a9
UD
20493 * configure.in: PWD_P is not used anymore.
20494 * config.make.in: Remove PWD_P entry.
20495
51a1d39c 20496 * configure.in: Remove last remnants of RANLIB.
8720d066 20497 No need to check for signed size_t anymore.
215f4bdc
UD
20498 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20499 and IA-64.
3857022a 20500 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
20501 * aclocal.m4: Likewise.
20502
d3ed7225
UD
20503 * wcsmbs/mbrtoc16.c: Implement using towc function.
20504 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20505 * wcsmbs/wcsmbsload.c: Likewise.
20506 * iconv/gconv_simple.c: Likewise.
20507 * iconv/gconv_int.h: Likewise.
20508 * iconv/gconv_builtin.h: Likewise.
20509 * iconv/iconv_prog.c: Remove CHAR16 handling.
20510
20511 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20512
20513 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20514
a0da5fe1
UD
20515 * configure.in: Remove --with-elf and --enable-bounded options.
20516 Dont set base_machine for ia64. More non-ELF conditions removed.
20517 Remove testing and setting of leading underscore information.
20518 * config.make.in (build-bounded): Set to no.
20519 * config.h.in: Remove NO_UNDERSCORES entry.
20520 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20521 them.
20522 * csu/start.c: Remove !NO_UNDERSCORE code.
20523 * locale/localeinfo.h: Likewise.
20524 * sysdeps/generic/machine-gmon.h: Likewise.
20525 * sysdeps/generic/sysdep.h: Likewise.
20526 * sysdeps/i386/sysdep.h: Likewise.
20527 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20528 * sysdeps/mach/sysdep.h: Likewise.
20529 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20530 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20531 * sysdeps/sh/sysdep.h: Likewise.
20532 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20533 * sysdeps/unix/i386/sysdep.S: Likewise.
20534 * sysdeps/unix/sparc/start.c: Likewise.
20535 * sysdeps/unix/sparc/sysdep.S: Likewise.
20536 * sysdeps/unix/sparc/sysdep.h: Likewise.
20537 * sysdeps/unix/start.c: Likewise.
20538 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20539 * sysdeps/x86_64/sysdep.h: Likewise.
20540
df78418a
UD
205412012-01-07 Ulrich Drepper <drepper@gmail.com>
20542
a784e502
UD
20543 [BZ #13553]
20544 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20545 for non-gcc.
20546 * argp/argp-fmtstream.h: Use const instead __const.
20547 * argp/argp.h: Likewise.
20548 * assert/assert.h: Likewise.
20549 * bits/fenv.h: Likewise.
20550 * bits/sched.h: Likewise.
20551 * bits/sigset.h: Likewise.
20552 * bits/sigthread.h: Likewise.
20553 * catgets/nl_types.h: Likewise.
20554 * conform/data/pthread.h-data: Likewise.
20555 * crypt/crypt-private.h: Likewise.
20556 * crypt/crypt.h: Likewise.
20557 * crypt/crypt_util.c: Likewise.
20558 * ctype/ctype.h: Likewise.
20559 * debug/execinfo.h: Likewise.
20560 * debug/mbsnrtowcs_chk.c: Likewise.
20561 * debug/mbsrtowcs_chk.c: Likewise.
20562 * debug/wcsnrtombs_chk.c: Likewise.
20563 * debug/wcsrtombs_chk.c: Likewise.
20564 * debug/wcstombs_chk.c: Likewise.
20565 * dirent/dirent.h: Likewise.
20566 * dlfcn/dlfcn.h: Likewise.
20567 * elf/neededtest4.c: Likewise.
20568 * grp/grp.h: Likewise.
20569 * gshadow/gshadow.h: Likewise.
20570 * iconv/gconv.h: Likewise.
20571 * iconv/gconv_int.h: Likewise.
20572 * iconv/gconv_simple.c: Likewise.
20573 * iconv/iconv.h: Likewise.
20574 * iconv/loop.c: Likewise.
20575 * iconv/skeleton.c: Likewise.
20576 * include/aio.h: Likewise.
20577 * include/aliases.h: Likewise.
20578 * include/argz.h: Likewise.
20579 * include/arpa/inet.h: Likewise.
20580 * include/assert.h: Likewise.
20581 * include/dirent.h: Likewise.
20582 * include/dlfcn.h: Likewise.
20583 * include/execinfo.h: Likewise.
20584 * include/fcntl.h: Likewise.
20585 * include/fenv.h: Likewise.
20586 * include/glob.h: Likewise.
20587 * include/grp.h: Likewise.
20588 * include/libintl.h: Likewise.
20589 * include/mntent.h: Likewise.
20590 * include/netdb.h: Likewise.
20591 * include/pwd.h: Likewise.
20592 * include/rpc/netdb.h: Likewise.
20593 * include/sched.h: Likewise.
20594 * include/search.h: Likewise.
20595 * include/shadow.h: Likewise.
20596 * include/signal.h: Likewise.
20597 * include/stdio.h: Likewise.
20598 * include/stdlib.h: Likewise.
20599 * include/string.h: Likewise.
20600 * include/sys/socket.h: Likewise.
20601 * include/sys/stat.h: Likewise.
20602 * include/sys/statfs.h: Likewise.
20603 * include/sys/statvfs.h: Likewise.
20604 * include/sys/syslog.h: Likewise.
20605 * include/sys/time.h: Likewise.
20606 * include/sys/uio.h: Likewise.
20607 * include/time.h: Likewise.
20608 * include/unistd.h: Likewise.
20609 * include/utmp.h: Likewise.
20610 * include/wchar.h: Likewise.
20611 * include/wctype.h: Likewise.
20612 * inet/aliases.h: Likewise.
20613 * inet/arpa/inet.h: Likewise.
20614 * inet/netinet/ether.h: Likewise.
20615 * inet/netinet/in.h: Likewise.
20616 * intl/libintl.h: Likewise.
20617 * io/bits/fcntl2.h: Likewise.
20618 * io/fcntl.h: Likewise.
20619 * io/ftw.h: Likewise.
20620 * io/sys/poll.h: Likewise.
20621 * io/sys/stat.h: Likewise.
20622 * io/sys/statfs.h: Likewise.
20623 * io/sys/statvfs.h: Likewise.
20624 * io/utime.h: Likewise.
20625 * libio/bits/stdio.h: Likewise.
20626 * libio/bits/stdio2.h: Likewise.
20627 * libio/libio.h: Likewise.
20628 * libio/libioP.h: Likewise.
20629 * libio/stdio.h: Likewise.
20630 * locale/lc-ctype.c: Likewise.
20631 * locale/locale.h: Likewise.
20632 * login/utmp.h: Likewise.
20633 * malloc/arena.c: Likewise.
20634 * malloc/malloc.c: Likewise.
20635 * malloc/malloc.h: Likewise.
20636 * malloc/mcheck.c: Likewise.
20637 * malloc/mtrace.c: Likewise.
20638 * math/bits/mathcalls.h: Likewise.
20639 * math/fenv.h: Likewise.
20640 * math/math_private.h: Likewise.
20641 * misc/bits/error.h: Likewise.
20642 * misc/bits/syslog.h: Likewise.
20643 * misc/err.h: Likewise.
20644 * misc/error.h: Likewise.
20645 * misc/fstab.h: Likewise.
20646 * misc/mntent.h: Likewise.
20647 * misc/regexp.h: Likewise.
20648 * misc/search.h: Likewise.
20649 * misc/sgtty.h: Likewise.
20650 * misc/sys/mman.h: Likewise.
20651 * misc/sys/syslog.h: Likewise.
20652 * misc/sys/uio.h: Likewise.
20653 * misc/sys/xattr.h: Likewise.
20654 * misc/ttyent.h: Likewise.
20655 * nis/rpcsvc/ypclnt.h: Likewise.
20656 * nss/nss.h: Likewise.
20657 * posix/bits/unistd.h: Likewise.
20658 * posix/fnmatch.h: Likewise.
20659 * posix/glob.h: Likewise.
20660 * posix/sched.h: Likewise.
20661 * posix/spawn.h: Likewise.
20662 * posix/sys/wait.h: Likewise.
20663 * posix/unistd.h: Likewise.
20664 * posix/wordexp.h: Likewise.
20665 * pwd/pwd.h: Likewise.
20666 * resolv/netdb.h: Likewise.
20667 * resource/sys/resource.h: Likewise.
20668 * rt/aio.h: Likewise.
20669 * rt/bits/mqueue2.h: Likewise.
20670 * rt/mqueue.h: Likewise.
20671 * shadow/shadow.h: Likewise.
20672 * signal/signal.h: Likewise.
20673 * socket/send.c: Likewise.
20674 * socket/sendto.c: Likewise.
20675 * socket/sys/socket.h: Likewise.
20676 * stdio-common/printf.h: Likewise.
20677 * stdlib/bits/stdlib.h: Likewise.
20678 * stdlib/fmtmsg.h: Likewise.
20679 * stdlib/monetary.h: Likewise.
20680 * stdlib/stdlib.h: Likewise.
20681 * stdlib/ucontext.h: Likewise.
20682 * streams/stropts.h: Likewise.
20683 * string/argz.h: Likewise.
20684 * string/bits/string2.h: Likewise.
20685 * string/string.h: Likewise.
20686 * string/strings.h: Likewise.
20687 * sunrpc/rpc/auth.h: Likewise.
20688 * sunrpc/rpc/auth_des.h: Likewise.
20689 * sunrpc/rpc/clnt.h: Likewise.
20690 * sunrpc/rpc/netdb.h: Likewise.
20691 * sunrpc/rpc/pmap_clnt.h: Likewise.
20692 * sunrpc/rpc/xdr.h: Likewise.
20693 * sysdeps/generic/inttypes.h: Likewise.
20694 * sysdeps/generic/net/if.h: Likewise.
20695 * sysdeps/generic/sys/swap.h: Likewise.
20696 * sysdeps/gnu/net/if.h: Likewise.
20697 * sysdeps/gnu/utmpx.h: Likewise.
20698 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20699 * sysdeps/i386/i486/bits/string.h: Likewise.
20700 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20701 * sysdeps/s390/bits/string.h: Likewise.
20702 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20703 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20704 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20705 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20706 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20707 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20708 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20709 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20710 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20711 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20712 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20713 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20714 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20715 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20716 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20717 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20718 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20719 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20720 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20721 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20722 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20723 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20724 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20725 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20726 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20727 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20728 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20729 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20730 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20731 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20732 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20733 * sysvipc/sys/ipc.h: Likewise.
20734 * sysvipc/sys/msg.h: Likewise.
20735 * sysvipc/sys/sem.h: Likewise.
20736 * sysvipc/sys/shm.h: Likewise.
20737 * termios/termios.h: Likewise.
20738 * time/sys/time.h: Likewise.
20739 * time/time.h: Likewise.
20740 * wcsmbs/bits/wchar2.h: Likewise.
20741 * wcsmbs/uchar.h: Likewise.
20742 * wcsmbs/wchar.h: Likewise.
20743 * wctype/wctype.h: Likewise.
20744
0269750c
UD
20745 [BZ #13551]
20746 * Makeconfig: Remove all but ELF support including AIX support.
20747 * Makerules: Likewise.
20748 * config.h.in: Likewise.
20749 * config.make.in: Likewise.
20750 * configure: Likewise.
20751 * configure.in: Likewise.
20752 * csu/Makefile: Likewise.
20753 * csu/version.c: Likewise.
20754 * debug/Makefile: Likewise.
20755 * dlfcn/Makefile: Likewise.
20756 * elf/Makefile: Likewise.
20757 * extra-lib.mk: Likewise.
20758 * iconv/Makefile: Likewise.
20759 * include/libc-symbols.h: Likewise.
20760 * include/shlib-compat.h: Likewise.
20761 * resolv/Makefile: Likewise.
20762 * resolv/res_libc.c: Likewise.
20763 * rt/Makefile: Likewise.
20764 * sysdeps/i386/asm-syntax.h: Likewise.
20765 * sysdeps/i386/sysdep.h: Likewise.
20766 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20767 * sysdeps/mach/sysdep.h: Likewise.
20768 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20769 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20770 * sysdeps/s390/asm-syntax.h: Likewise.
20771 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20772 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20773 * sysdeps/sh/sysdep.h: Likewise.
20774 * sysdeps/unix/sparc/sysdep.h: Likewise.
20775 * sysdeps/wordsize-32/divdi3.c: Likewise.
20776 * sysdeps/x86_64/sysdep.h: Likewise.
20777
00bbd29b
UD
20778 * argp/Versions: Remove _argp_unlock_xxx.
20779
20780 [BZ #13559]
20781 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20782 * abilist/libBrokenLocale.abilist: Likewise.
20783 * abilist/libanl.abilist: Likewise.
20784 * abilist/libc.abilist: Likewise.
20785 * abilist/libcrypt.abilist: Likewise.
20786 * abilist/libdl.abilist: Likewise.
20787 * abilist/libm.abilist: Likewise.
20788 * abilist/libnsl.abilist: Likewise.
20789 * abilist/libpthread.abilist: Likewise.
20790 * abilist/libresolv.abilist: Likewise.
20791 * abilist/librt.abilist: Likewise.
20792 * abilist/libthread_db.abilist: Likewise.
20793 * abilist/libutil.abilist: Likewise.
20794 * abilist/libnss_db.abilist: New file.
20795
20796 * scripts/abilist.awk: Add support for indirect functions.
20797
a2693a0e
UD
20798 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20799
3f05895f
UD
20800 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20801
ecb6fb48
UD
20802 * shlib-versions: Remove entries for ports architectures.
20803
664f8cb9
UD
20804 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20805 files in ports.
20806 * elf/stackguard-macros.h: Remove support for IA-64.
20807 * elf/tst-auditmod1.c: Likewise.
20808 * sysdeps/generic/ldsodefs.h: Likewise.
20809
7ae81d88
UD
20810 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20811 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20812 configure files.
20813
bdeba135
UD
20814 [BZ #13552]
20815 * configure.in: Remove --enable-omitfp support.
20816 * FAQ.in: Adjust.
20817 * config.make.in: Likewise.
20818 * Makeconfig: Likewise.
20819 * manual/install.texi: Likewise.
20820
d75a0a62
UD
20821 In case anyone cares, the IA-64 architecture could move to ports.
20822 * sysdeps/ia64/*: Removed.
20823 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 20824 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 20825
dcc9756b
UD
20826 [BZ #13555]
20827 * configure.in: Remove entries for unsupported architectures.
20828
d3761ebc 20829 [BZ #13533]
9954432e
UD
20830 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20831 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20832 routines.
20833 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20834 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20835 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20836 fall back to using wcrtomb.
20837 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20838 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20839 renaming.
20840 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20841 * wcsmbs/tst-c16c32-1.c: New file.
20842
20843 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20844 local variable.
20845
c3a87236
UD
20846 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20847
28926a1b
UD
20848 * elf/tst-unique3.cc: Add explicit declaration of gets.
20849 * elf/tst-unique3lib.cc: Likewise.
20850 * elf/tst-unique3lib2.cc: Likewise.
20851 * elf/tst-unique4.cc: Likewise.
20852
df78418a
UD
20853 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20854
8ecd6b2a
JM
208552012-01-06 Joseph Myers <joseph@codesourcery.com>
20856
20857 [BZ #13566]
20858 * assert/assert.h (static_assert): Don't define for C++.
20859 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20860 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20861
9f115170
UD
208622012-01-03 Ulrich Drepper <drepper@gmail.com>
20863
5e0d0300
UD
20864 * iconv/loop.c (single loop): Fix assertion in storing of
20865 remaining bytes.
20866
9f115170
UD
20867 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20868
81fb02b0
UD
208692012-01-01 Ulrich Drepper <drepper@gmail.com>
20870
20871 * posix/getconf.c: Update copyright year.
20872 * nss/getent.c: Likewise.
a316c1f6 20873 * nss/makedb.c: Likewise.
81fb02b0
UD
20874 * iconv/iconvconfig.c: Likewise.
20875 * iconv/iconv_prog.c: Likewise.
20876 * elf/ldconfig.c: Likewise.
a316c1f6
UD
20877 * elf/pldd.c: Likewise.
20878 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
20879 * catgets/gencat.c: Likewise.
20880 * csu/version.c: Likewise.
20881 * elf/ldd.bash.in: Likewise.
20882 * elf/sprof.c (print_version): Likewise.
20883 * locale/programs/locale.c: Likewise.
20884 * locale/programs/localedef.c: Likewise.
a316c1f6 20885 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
20886 * nscd/nscd.c (print_version): Likewise.
20887 * debug/xtrace.sh: Likewise.
20888 * malloc/memusage.sh: Likewise.
20889 * malloc/mtrace.pl: Likewise.
20890 * debug/catchsegv.sh: Likewise.
20891
2ba92745
JJ
208922011-12-30 Jakub Jelinek <jakub@redhat.com>
20893
20894 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20895 pure attribute.
20896
dadebdae
UD
208972011-12-24 Ulrich Drepper <drepper@gmail.com>
20898
d3761ebc 20899 [BZ #13533]
db6af3eb
UD
20900 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20901 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20902 transformations.
20903 * iconv/gconv_int.h: Likewise.
20904 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20905 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20906 from libc for GLIBC_2.16.
20907 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20908 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20909 * wcsmbs/uchar.h: Really define mbstate_t.
20910 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20911 * wcsmbs/c16rtomb.c: New file.
20912 * wcsmbs/mbrtoc16.c: New file.
20913 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20914 for C/POSIX locale.
20915 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20916 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20917
dadebdae
UD
20918 * wcsmbs/wchar.h: Add missing __restrict.
20919
67371b56
UD
209202011-12-23 Ulrich Drepper <drepper@gmail.com>
20921
74033a25
UD
20922 [BZ #13532]
20923 * time/Makefile (routines): Add timespec_get.
20924 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20925 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20926 timespec for ISO C11.
20927 * time/timespec_get.c: New file.
20928 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20929 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20930
380d7e87
UD
20931 [BZ #13531]
20932 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20933 * stdlib/stdlib.h: Declare aligned_alloc.
20934 * Versions.def: Add GLIBC_2.16 for libc.
20935 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20936
4e9e7a35
UD
20937 [BZ 13527]
20938 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20939 ISO C11.
20940
380d7e87 20941 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
20942 code.
20943
03a71829
UD
20944 [BZ #13528]
20945 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20946
839e283e
UD
20947 [BZ #13529]
20948 * assert/assert.h (static_assert): Define.
20949
ce5294e2 20950 * version.h: Update for 2.16 development version.
90fa7312 20951
8d44e150 20952 [BZ #13526]
d7809905
UD
20953 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20954 _ISOC11_SOURCE.
20955
c0da14cd
UD
20956 * version.h (RELEASE): Bump for 2.15 release.
20957 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20958
530a3249
MP
20959 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20960 Patch by Marek Polacek <mpolacek@redhat.com>.
20961
67371b56
UD
20962 * bits/byteswap.h: Protect long long constants with __extension__.
20963 * sysdeps/i386/bits/byteswap.h: Likewise.
20964 * sysdeps/ia64/bits/byteswap.h: Likewise.
20965 * sysdeps/s390/bits/byteswap.h: Likewise.
20966 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20967
15db4de1
LD
209682011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20969
20970 [BZ #13540]
bbe315ea
LD
20971 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20972 destination buffer.
15db4de1
LD
20973 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
20974
2b2596b1
MP
209752011-12-23 Marek Polacek <polacek@redhat.com>
20976
20977 * elf/dl-addr.c (determine_info): Add inline keyword.
20978 * elf/tst-auditmod4b.c (check_avx): Likewise.
20979 * elf/tst-auditmod6b.c (check_avx): Likewise.
20980 * elf/tst-auditmod6c.c (check_avx): Likewise.
20981 * elf/tst-auditmod7b.c (check_avx): Likewise.
20982
70c6c246
UD
209832011-12-23 Ulrich Drepper <drepper@gmail.com>
20984
20985 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
20986 !__SSE_MATH__.
20987
c044cf14
LD
209882011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20989
15db4de1 20990 [BZ #13540]
c044cf14
LD
20991 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
20992 processing for last bytes.
20993
6b13d9d9
BH
209942011-08-06 Bruno Haible <bruno@clisp.org>
20995
d455f537
BH
20996 [BZ #13061]
20997 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
20998 U+0385, not to U+1FEE.
20999
6b13d9d9
BH
21000 [BZ #13062]
21001 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21002 entry for U+00A5 U+0301.
21003
db910efd
UD
210042011-12-22 Ulrich Drepper <drepper@gmail.com>
21005
27deeafc
UD
21006 [BZ #13166]
21007 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21008 buffer for the output is too small.
21009
aed9d171
UD
21010 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21011 optimization.
21012
db910efd
UD
21013 [BZ #13185]
21014 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21015 SSE flags if possible.
21016
2bd779ae
LD
210172011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21018
e7f9dac3 21019 [BZ #13540]
2bd779ae
LD
21020 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21021 processing for last bytes.
21022
154bfc16
JM
210232011-12-22 Joseph Myers <joseph@codesourcery.com>
21024
21025 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21026 (syscall-list-default-options, syscall-list-default-condition)
21027 (syscall-list-includes): Define.
21028 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21029 list of ABIs and options and #if conditions for each ABI. Do not
21030 handle common syscalls between ABIs specially.
21031 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21032 Remove.
21033 (syscall-list-variants, syscall-list-32bit-options)
21034 (syscall-list-32bit-condition, syscall-list-64bit-options)
21035 (syscall-list-64bit-condition): Define.
21036 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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/sparc/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 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21046 Remove.
21047 (syscall-list-variants, syscall-list-32bit-options)
21048 (syscall-list-32bit-condition, syscall-list-64bit-options)
21049 (syscall-list-64bit-condition): Define.
21050
21eaf3a5
UD
210512011-12-22 Ulrich Drepper <drepper@gmail.com>
21052
16c6f992
UD
21053 * locale/iso-639.def: Add brx entry.
21054
41043168
UD
21055 [BZ #13328]
21056 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21057 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21058
21eaf3a5
UD
21059 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21060 __feraiseexcept_renamed.
21061
e3a851a2
UD
210622011-12-21 Ulrich Drepper <drepper@gmail.com>
21063
4920765e
UD
21064 [BZ #13538]
21065 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21066 EPOLLET with unsigned values.
21067 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21068 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21069
e3a851a2
UD
21070 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21071 to large cancellation.
21072 * math/s_cacoshf.c: Likewise.
21073 * math/s_cacoshl.c: Likewise.
21074
b27e24b8
RK
210752011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21076
21077 [BZ #13305]
aebefeee 21078 [BZ #12786]
b27e24b8
RK
21079 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21080 * math/s_cacoshf.c: Likewise.
21081 * math/s_cacoshl.c: Likewise.
21082
ee190f67
UD
210832011-12-21 Ulrich Drepper <drepper@gmail.com>
21084
21085 [BZ #13439]
21086 * iconv/gconv.h: Define __GCONV_SWAP.
21087 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21088 * iconvdata/utf-16.c: Likewise.
21089 * iconvdata/utf-32.c: Likewise.
21090
707f25df
AS
210912011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21092
21093 [BZ #13524]
21094 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21095 numerator after shifting it by one limb.
21096
d2daaa1e
RÁE
210972011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21098
21099 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21100 under [__USE_EXTERN_INLINES].
21101
a4647e72
UD
211022011-12-17 Ulrich Drepper <drepper@gmail.com>
21103
21104 [BZ #13446]
21105 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21106
f0b264f1
AZ
211072011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21108
21109 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21110 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21111 optimized code.
21112 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21113 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21114 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21115 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21116 for strncasecmp/strncasecmp_l compilation.
21117 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21118 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21119
8ef4f244
MP
211202011-12-08 Marek Polacek <mpolacek@redhat.com>
21121
21122 [BZ #13484]
21123 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21124 of __asm__.
21125
97ac2654
UD
211262011-12-17 Ulrich Drepper <drepper@gmail.com>
21127
21128 [BZ #13506]
21129 * time/tzfile.c (__tzfile_read): Check values from file header.
21130
91d2a845
WS
211312011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21132
21133 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21134 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21135 * powerpc/powerpc32/dl-start.S: Likewise.
21136 * powerpc/powerpc32/elf/start.S: Likewise.
21137 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21138 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21139 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21140 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21141 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21142 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21143 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21144 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21145 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21146 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21147 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21148 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21149 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21150 * powerpc/powerpc32/memset.S: Likewise.
21151 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21152 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21153 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21154 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21155 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21156 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21157 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21158 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21159 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21160 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21161 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21162 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21163 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21164
a1267ba1
AZ
211652011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21166
21167 * math/libm-test.inc: Added more nearbyint tests.
21168 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21169 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21170 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21171 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21172
ad8ac1bd
RL
211732011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21174
21175 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21176 FD_CLOEXEC.
21177
1d3e4b61
UD
211782011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21179
21180 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21181 Add wcscpy-ssse3 wcscpy-c.
21182 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21183 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21184 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21185 * sysdeps/x86_64/wcschr.S: New file.
21186 * sysdeps/x86_64/wcsrchr.S: New file.
21187 * string/test-strcmp.c: Remove checking of wcscmp function for
21188 wrong alignments.
21189 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21190 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21191 wcsrchr-sse2 wcsrchr-c.
21192 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21193 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21194 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21195 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21196 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21197 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21198 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21199 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21200 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21201 * wcsmbc/wcschr.c (WCSCHR): New macro.
21202
5b330a2d
UD
212032011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21204
21205 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21206 * wcsmbs/test-wcsrchr.c: New file.
21207 * string/test-strrchr.c: Add wcsrchr support.
21208 (WIDE): New macro.
21209 * wcsmbs/test-wcscpy.c: New file.
21210 * string/test-strcpy.c: Add wcscpy support.
21211 (WIDE): New macro.
26428b7c 21212
f039c043
UD
212132011-12-10 Ulrich Drepper <drepper@gmail.com>
21214
21215 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21216 the inner loop.
21217
850fb039
AS
212182011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21219
21220 [BZ #13472]
21221 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21222
4efbd5cb
UD
212232011-12-04 Ulrich Drepper <drepper@gmail.com>
21224
52ff5dd0 21225 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 21226 Minor optimizations.
52ff5dd0 21227
4efbd5cb
UD
21228 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21229 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21230 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21231
8a426e12
UD
212322011-12-03 Ulrich Drepper <drepper@gmail.com>
21233
aff2453d
UD
21234 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21235 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21236 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21237 for gcc to avoid warnings.
21238 * inet/Makefile (tests): Add tst-checks.
21239 * inet/tst-checks.c: New file.
21240
21241 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21242 warning.
21243
21244 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21245 __wmemcmp_sse2.
21246
21247 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21248 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21249
8a426e12
UD
21250 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21251
9bea3473
UD
212522011-12-02 Ulrich Drepper <drepper@gmail.com>
21253
3a965496
UD
21254 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21255 problem.
21256
9bea3473
UD
21257 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21258
f101631b
UD
212592011-11-29 Joseph Myers <joseph@codesourcery.com>
21260
21261 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21262 conditional on GCC version.
21263 (__arch_compare_and_exchange_val_8_acq)
21264 (__arch_compare_and_exchange_val_16_acq)
21265 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21266 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21267 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21268
a98275aa
UD
212692011-12-02 Joseph Myers <joseph@codesourcery.com>
21270
21271 * sysdeps/sh/backtrace.c: New file.
21272
d4cc29a2
AS
212732011-12-02 Andreas Schwab <schwab@redhat.com>
21274
21275 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21276 parenthesis.
21277
6257af2d
AS
212782011-12-01 Andreas Schwab <schwab@redhat.com>
21279
21280 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21281 falling back to utime.
21282
b5f44c1a
AS
212832011-11-30 Andreas Schwab <schwab@redhat.com>
21284
21285 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21286 expectations for float.
21287
f3a6cc0a
AS
212882011-11-29 Andreas Schwab <schwab@redhat.com>
21289
21290 * locale/weight.h (findidx): Add parameter len.
21291 * locale/weightwc.h (findidx): Likewise.
21292 * posix/fnmatch_loop.c (FCT): Adjust caller.
21293 * posix/regcomp.c (build_equiv_class): Likewise.
21294 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21295 * posix/regexec.c (check_node_accept_bytes): Likewise.
21296 * string/strcoll_l.c (STRCOLL): Likewise.
21297 * string/strxfrm_l.c (STRXFRM): Likewise.
21298
9d65ea3a
UD
212992011-11-17 Ulrich Drepper <drepper@gmail.com>
21300
21301 * Makefile.in: Remove CVSOPT handling.
21302 * configure.in: Remove use of AC_REVISION.
21303 * iconvdata/Makefile (distribute): No need to filter out CVS.
21304 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21305 handling.
21306
5583a086
AS
213072011-11-16 Andreas Schwab <schwab@redhat.com>
21308
21309 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21310 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21311 [USE_AS_STRNCASECMP_L]: Likewise.
21312 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21313 NO_TLS_DIRECT_SEG_REFS.
21314 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21315 Fix argument offsets for non-PIC.
21316 [USE_AS_STRNCASECMP_L]: Likewise.
21317 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21318 NO_TLS_DIRECT_SEG_REFS.
21319
d62a8200
UD
213202011-11-15 Ulrich Drepper <drepper@gmail.com>
21321
9d65ea3a 21322 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
21323 O_CLOEXEC.
21324 * locale/loadlocale.c (_nl_load_locale): Likewise.
21325
09f93bd3
AS
213262011-11-15 Andreas Schwab <schwab@redhat.com>
21327
446514f9
AS
21328 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21329 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21330 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21331 (SYSCALL_GETTIME): Set errno on error.
21332
09f93bd3
AS
21333 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21334 count references to noai6ai_cached.
21335
312be3f9
UD
213362011-11-15 Ulrich Drepper <drepper@gmail.com>
21337
21338 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21339
21340 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21341 FD_CLOEXEC for /proc/self/maps.
21342
21343 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21344 FD_CLOEXEC for /proc/meminfo.
21345
21346 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21347 gai.conf.
21348
21349 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21350 FD_CLOEXEC for given file.
21351
21352 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21353
21354 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21355 FD_CLOEXEC for /etc/hosts.
21356 (_gethtent): Likewise.
21357
21358 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21359
21360 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21361 cancellation and set FD_CLOEXEC for /etc/netgroup.
21362
21363 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21364 reading /etc/publickey.
21365
21366 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21367 allow cancellation when reading /etc/group.
21368
21369 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21370 cancellation.
21371 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21372
21373 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21374 when using data file.
21375
21376 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21377
21378 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21379 (write_nis_obj): Use "c" and "e" in fopen.
21380
21381 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21382
21383 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21384
21385 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21386
21387 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21388
21389 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21390 locale.alias.
21391
21392 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21393
21394 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21395
21396 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21397
21398 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21399 file parsing and set FD_CLOEXEC.
21400
82af0fa8
UD
214012011-11-14 Ulrich Drepper <drepper@gmail.com>
21402
21403 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21404
a5fb313c
AS
214052011-11-14 Andreas Schwab <schwab@redhat.com>
21406
21407 * malloc/arena.c (arena_get2): Don't call reused_arena when
21408 _int_new_arena failed.
21409
6abf3465
UD
214102011-11-14 Ulrich Drepper <drepper@gmail.com>
21411
21412 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21413 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21414 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21415 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21416 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21417 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21418 to compile strcasecmp and strncasecmp.
21419 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21420 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21421
21422 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21423
76e3966e
UD
214242011-11-13 Ulrich Drepper <drepper@gmail.com>
21425
21426 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21427 locale-defines.sym to gen-as-const-headers.
21428 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21429 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21430 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21431 to compile strcasecmp and strncasecmp.
21432 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21433 strcasecmp_l and strncasecmp_l.
21434 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21435 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21436 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21437 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21438 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21439 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21440 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21441 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21442 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21443 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21444 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21445
ab26144e
UD
214462011-11-12 Ulrich Drepper <drepper@gmail.com>
21447
7edb22ef
UD
21448 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21449 result of SYSDEP_GETTIME_CPU to retval.
21450 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21451 parameter list to macro. Remove trailing semicolon. Adjust users.
21452
9694fc44
UD
21453 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21454 variable.
21455
8ad89ef8
UD
21456 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21457 mantissa words.
21458 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21459
0c822ef9
UD
21460 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21461 from unused variable.
21462
874e0564
UD
21463 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21464 DWARF definitions.
21465 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21466 for assembling.
21467
3a2edc79
UD
21468 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21469 over namespaces.
21470
f3c2577f
UD
21471 * sunrpc/rpc_prot.c (rejected): Fix case value.
21472
294ce126
UD
21473 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21474 unsigned long long int to avoid warnings in shift.
21475
5e2b63c6
UD
21476 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21477 of use of trans.
21478 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21479 variable tmp.
21480
e7f4b08e
UD
21481 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21482 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21483 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21484
ab26144e
UD
21485 * nis/nis_table.c (nis_list): Use variable of correct type for
21486 result of __follow_path call.
21487
8a6d5255
AZ
214882011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21489
21490 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21491 of math functions ceil, trunc, floor, round, and sqrt, when
21492 avaliable on the platform.
21493 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21494 name clash.
21495 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21496 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21497 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21498
aaddc98c
MP
214992011-10-30 Marek Polacek <mpolacek@redhat.com>
21500
21501 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21502 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21503
95b7042b
RM
215042011-11-11 Roland McGrath <roland@hack.frob.com>
21505
21506 * include/unistd.h: Fix __readlink return type.
21507 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21508
57769839
UD
215092011-11-11 Ulrich Drepper <drepper@gmail.com>
21510
21511 * stdlib/ucontext.h: Undo last change for makecontext.
21512
edc5984d
AS
215132011-11-11 Andreas Schwab <schwab@redhat.com>
21514
98591e58
AS
21515 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21516
edc5984d
AS
21517 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21518 * setjmp/setjmp.h: Mark functions as non-leaf.
21519 * setjmp/bits/setjmp2.h: Likewise.
21520 * stdlib/ucontext.h: Likewise.
21521
77cdc054
AS
215222011-11-10 Andreas Schwab <schwab@redhat.com>
21523
21524 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21525 (reused_arena): Don't check arena limit.
21526 (arena_get2): Atomically check arena limit.
21527
fe72eebd
UD
215282011-11-08 Ulrich Drepper <drepper@gmail.com>
21529
5f078c32
UD
21530 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21531 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21532
fe72eebd
UD
21533 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21534 instructions.
21535
ae1bc2fa
AS
215362011-11-07 Andreas Schwab <schwab@redhat.com>
21537
7583a88d
AS
21538 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21539 handler when locking.
21540
ae1bc2fa
AS
21541 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21542 Fix size of allocated buffer.
21543
10fb0bfa
AS
215442011-11-04 Andreas Schwab <schwab@redhat.com>
21545
998832a4
AS
21546 [BZ #10103]
21547 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21548 declarations for long double functions.
21549 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21550
10fb0bfa
AS
21551 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21552
3d7ba52b
AS
215532011-11-03 Andreas Schwab <schwab@redhat.com>
21554
a9ae54a1
AS
21555 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21556 installed.
21557
3d7ba52b
AS
21558 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21559 is disabled.
21560
bc8db248
ST
215612011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21562
21563 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21564
45b96dd6
AS
215652011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21566
647776f6
AS
21567 * include/alloca.h (stackinfo_alloca_round): Define.
21568 (extend_alloca): Use it.
21569 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21570 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21571 here.
21572
d91a8b93
AS
21573 * scripts/check-local-headers.sh: Ignore libaudit.h.
21574
45b96dd6
AS
21575 * nscd/Makefile (extra-objs): Make recursively expanded.
21576
432d41ce
UD
215772011-11-01 Ulrich Drepper <drepper@gmail.com>
21578
34372fc6
UD
21579 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21580 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21581
fadb59f8
UD
21582 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21583 * posix/tst-rfc3484-2.c: Likewise.
21584 * posix/tst-rfc3484-3.c: Likewise.
21585
78239589
UD
21586 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21587 process_vm_writev.
21588 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21589 process_vm_writev.
21590 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21591 process_vm_writev from libc using GLIBC_2.15 version.
21592
432d41ce
UD
21593 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21594
02f9c6cf
PP
215952011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21596
21597 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21598 stack usage.
21599
3a2c0242
UD
216002011-10-31 Ulrich Drepper <drepper@gmail.com>
21601
f4ec4833
UD
21602 [BZ #13367]
21603 * nss/getent.c (initgroups_keys): Show error message in case no group
21604 names are given.
21605
3a2c0242
UD
21606 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21607 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21608 __bump_nl_timestamp.
21609 * nscd/connections (nscd_init): When host database is served open
21610 netlink socket and request notification about configuration changes.
21611 (main_loop_poll): Track netlink file descriptor and bump timestamp
21612 in case data becomes available.
21613 (main_loop_epoll): Likewise.
21614 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21615 (database_pers_head): Add extra_data fileds.
21616 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21617 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21618 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21619 Adjust caller.
21620 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21621 in6ai data, call __free_in6ai.
21622 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21623 Add -DHAVE_NETLINK.
21624 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21625 interface information. Reuse previous data if netlink timestamp
21626 is not changed.
21627 (__bump_nl_timestamp): New function.
21628 (__free_in6ai): New function.
21629
636064eb
UD
216302011-10-30 Ulrich Drepper <drepper@gmail.com>
21631
21632 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21633 close_not_cancel_no_status here.
21634 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21635
9beb2334
UD
216362011-10-29 Ulrich Drepper <drepper@gmail.com>
21637
6ef76f3b
UD
21638 [BZ #13276]
21639 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21640 return value.
21641
0ffc4f3e 21642 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
21643 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21644 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21645
cb95113e
UD
216462011-07-03 Andreas Jaeger <aj@suse.de>
21647
21648 [BZ #10709]
21649 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21650 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21651 * math/libm-test.inc (sin_test): Add test case.
21652
a1b560ff
UD
216532011-10-29 Ulrich Drepper <drepper@gmail.com>
21654
c9aaface
UD
21655 [BZ #13337]
21656 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21657 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21658
d272e7f1
UD
21659 * elf/chroot_canon.c (chroot_canon): Cleanups.
21660
1bc33071
UD
21661 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21662
1760874d
TJ
21663 [BZ #13335]
21664 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21665 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21666
51d91b18
UD
21667 * string/test-strchr.c: Make usable for strchrnul testing.
21668 * string/test-strchrnul.c: New file.
21669 * string/Makefile (strop-tests): Add strchrnul.
21670
a1b560ff 21671 * po/it.po: Update from translation team.
b611fb81 21672 * po/es.po: Likewise.
a1b560ff 21673
a5b81e1f
UD
216742011-10-28 Ulrich Drepper <drepper@gmail.com>
21675
fd52bc6d
UD
21676 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21677 the three constants needed as parameters. Drop the others.
21678 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21679 __m128i_strloadu_tolower.
52e4b9eb
UD
21680 Create and initialize variable zero and use it in all the places
21681 where _mm_setzero_si128 was used.
fd52bc6d 21682
a5b81e1f
UD
21683 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21684 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21685 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21686 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21687 anymore.
21688 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21689 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21690 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21691 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21692 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21693 __mpranred, __mptan.
21694 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21695 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21696 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21697 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21698 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21699 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21700 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21701 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21702 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21703
b4343346
AS
217042011-10-28 Andreas Schwab <schwab@redhat.com>
21705
0c92d8a8
AS
21706 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21707 redefine if SHARED.
21708 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21709
b4343346
AS
21710 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21711 wide char related routines to wcsmbs subdir.
21712
3871f58f
AS
217132011-10-27 Andreas Schwab <schwab@redhat.com>
21714
21715 [BZ #13344]
21716 * misc/sys/cdefs.h (__THROWNL): Define.
21717 * posix/unistd.h: Use __THREADNL instead of __THREAD
21718 for memory synchronization functions.
21719
94d44d9f
RM
217202011-10-26 Roland McGrath <roland@hack.frob.com>
21721
21b64b15 21722 [BZ #13349]
94d44d9f
RM
21723 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21724 doesn't exist.
21725 * manual/stdio.texi (Obstack Streams): Node removed.
21726
f6ce9294
AS
217272011-10-26 Andreas Schwab <schwab@redhat.com>
21728
80479147
AS
21729 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21730 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21731 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21732
f6ce9294
AS
21733 * math/math_private.h (math_force_eval): Allow non-addressable
21734 arguments.
21735 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21736
618280a1
UD
217372011-10-25 Ulrich Drepper <drepper@gmail.com>
21738
e0016b11
UD
21739 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21740 file is not needed.
21741
21742 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21743 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21744 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21745 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21746 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21747 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21748 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21749 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21750 Add AVX variants.
21751 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21752 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21753 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21754 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21755 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21756 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21757 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21758 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21759 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21760 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21761 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21762 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21763 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21764 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21765 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21766 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21767 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21768 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21769 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21770
21771 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21772 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21773
618280a1
UD
21774 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21775 place. Use VEX encoding when compiling for AVX.
21776
37822576
AS
217772011-10-25 Andreas Schwab <schwab@redhat.com>
21778
1f1e1947
AS
21779 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21780 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21781
37822576
AS
21782 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21783
31ea014d
UD
217842011-10-25 Ulrich Drepper <drepper@gmail.com>
21785
d7826aa1 21786 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 21787 useless if() expression.
d7826aa1
UD
21788 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21789 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21790 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21791 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21792 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21793 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21794 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21795 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21796 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21797 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21798 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21799 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21800 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21801 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21802 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21803 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21804 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21805 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21806 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21807
31ea014d
UD
21808 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21809
16437fec
AS
218102011-10-25 Andreas Schwab <schwab@redhat.com>
21811
21812 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21813 condition.
21814 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21815
31d3cc00
UD
218162011-10-25 Ulrich Drepper <drepper@gmail.com>
21817
21818 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21819 .text section. Avoid duplicate constants.
21820 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21821 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21822 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21823 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21824 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21825 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21826 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21827 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21828 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21829 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21830 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21831 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21832 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21833 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21834 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21835 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21836 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21837 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21838 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21839 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21840 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21841 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21842 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21843 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21844 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21845 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21846 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21847 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21848 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21849 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21850 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21851 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21852 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21853 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21854 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21855 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21856 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21857 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21858 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21859 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21860 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21861 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21862 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21863 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21864 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21865
58985aa9
UD
218662011-10-24 Ulrich Drepper <drepper@gmail.com>
21867
202c9deb
UD
21868 * sysdeps/x86_64/dla.h: Move to ...
21869 * sysdeps/x86_64/fpu/dla.h: ...here.
21870 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21871 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 21872
af968f62
UD
21873 * config.make.in: Add have-mfma4 entry.
21874 * configure.in: Substitute libc_cv_cc_fma4.
21875 * math/Makefile (dbl-only-routines): Add sincostab.
21876 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21877 Use __sincostab not sincos.
21878 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21879 name is a macro.
21880 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21881 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21882 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21883 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21884 using __copysign.
21885 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21886 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21887 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21888 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21889 and __inv.
21890 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21891 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21892 __copysign.
21893 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21894 define aliases when function name is a macro.
21895 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21896 sysdeps/ieee754/dbl-64/sincos.tbl.
21897 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21898 fma4-enabled routines.
21899 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21900 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21901 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21902 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21903 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21904 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21905 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21906 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21907 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21908 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21909 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21910 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21911 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21912 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21913 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21914 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21915 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21916 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21917 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21918 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21919 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21920 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21921 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21922 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21923 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21924 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21925 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21926 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21927 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21928 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21929
58985aa9
UD
21930 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21931 rename.
21932 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21933 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21934 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21935 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21936 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21937 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21938 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21939 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21940
a201fbcf
AS
219412011-10-24 Andreas Schwab <schwab@redhat.com>
21942
21943 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21944
fc2ee42a
LD
219452011-10-23 Ulrich Drepper <drepper@gmail.com>
21946
bb3129bd
UD
21947 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21948
0275fff8
UD
21949 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21950 prediction.
21951 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21952
2fa2ae85
UD
21953 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21954 Remove unused variable magic_bits.
21955 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21956
fc2ee42a
LD
21957 * string/strnlen.c: Define and use STRNLEN macro.
21958 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21959 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21960 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21961 * wcsmbs/wcslen.c: Define and use WCSLEN.
21962 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21963 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21964 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21965 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21966 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21967 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21968 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21969
ce7dd29f
LD
219702011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21971
21972 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21973 strnlen-sse2-no-bsf.
21974 Rename strlen-no-bsf to strlen-sse2-no-bsf.
21975 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
21976 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
21977 Add strnlen support.
21978 (USE_AS_STRNLEN): New macro.
21979 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
21980 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
21981 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
21982 * sysdeps/x86_64/wcslen.S: New file.
21983
979c70a3
MZ
219842011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
21985
21986 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21987 XMM-moves are used for copying on small sizes.
21988
2d09f82f
LD
219892011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21990
21991 * wcsmbs/Makefile (strop-tests): Add wcschr.
21992 * wcsmbs/test-wcschr.c: New file.
21993 * string/test-strchr.c: Update.
21994 Add wcschr support.
21995 (WIDE): New macro.
21996
619fccca
LD
219972011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21998
2d09f82f 21999 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
22000 * wcsmbs/test-wcslen.c: New file.
22001 * string/test-strlen.c: Update.
22002 Add wcslen support.
22003 (WIDE): New macro.
22004
09f699ea
UD
220052011-10-23 Ulrich Drepper <drepper@gmail.com>
22006
22007 * po/it.po: Update from translation team.
22008
95584d3b
LD
220092011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22010
22011 * sysdeps/x86_64/wcscmp.S: Update.
22012 Fix wrong comparison semantics.
22013 wcscmp shall use signed comparison not unsigned.
22014 Don't use substraction to avoid overflow bug.
22015 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22016 * wcsmbc/wcscmp.c: Likewise.
22017 * string/test-strcmp.c: Likewise.
22018 Add new tests to check cases with negative values.
22019
c8b3296b
UD
220202011-10-23 Ulrich Drepper <drepper@gmail.com>
22021
22022 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22023 * sysdeps/x86_64/dla.h: ...here. New file.
22024 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22025 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22026 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22027 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22028 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22029 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22030 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22031 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22032 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22033
246ad57a
AS
220342011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22035
22036 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22037 __ynl_finite aliases.
22038
a1a87169
UD
220392011-10-22 Ulrich Drepper <drepper@gmail.com>
22040
0d355eb7
UD
22041 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22042
a1a87169
UD
22043 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22044 define DLA_FMA.
22045 [DLA_FMA] (EMULV): Use DLA_FMA.
22046 [DLA_FMA] (MUL12): Use EMULV.
22047 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22048 that are not needed.
22049 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22050 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22051 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22052 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22053 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22054 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22055 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22056
ee2aafe0
AS
220572011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22058
22059 * math/s_nan.c: Undef __nan.
22060 * math/s_nanf.c: Undef __nanf.
22061 * math/s_nanl.c: Undef __nanl.
22062 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22063 "math_private.h".
22064
bc62c2fb
UD
220652011-10-22 Ulrich Drepper <drepper@gmail.com>
22066
77425c63
UD
22067 * math/s_catan.c: Add branch predictions.
22068 * math/s_catanf.c: Likewise.
22069 * math/s_catanh.c: Likewise.
22070 * math/s_catanhf.c: Likewise.
22071 * math/s_catanhl.c: Likewise.
22072 * math/s_catanl.c: Likewise.
22073 * math/s_cexp.c: Likewise.
22074 * math/s_cexpf.c: Likewise.
22075 * math/s_cexpl.c: Likewise.
22076 * math/s_clog.c: Likewise.
22077 * math/s_clog10.c: Likewise.
22078 * math/s_clog10f.c: Likewise.
22079 * math/s_clog10l.c: Likewise.
22080 * math/s_clogf.c: Likewise.
22081 * math/s_clogl.c: Likewise.
22082 * math/s_csqrt.c: Likewise.
22083 * math/s_csqrtf.c: Likewise.
22084 * math/s_csqrtl.c: Likewise.
22085 * math/s_ctanf.c: Likewise.
22086 * math/s_ctanh.c: Likewise.
22087 * math/s_ctanhf.c: Likewise.
22088 * math/s_ctanhl.c: Likewise.
22089 * math/s_ctanl.c: Likewise.
22090
bc62c2fb
UD
22091 * math/math_private.h: Define __nan, __nanf, __nanl.
22092 * math/s_cacosh.c: Include <math_private.h>.
22093 * math/s_cacoshl.c: Likewise.
22094 * math/s_casinh.c: Likewise.
22095 * math/s_casinhf.c: Likewise.
22096 * math/s_casinhl.c: Likewise.
22097 * math/s_ccos.c: Rely entire on ccosh.
22098 * math/s_ccosf.c: Rely entire on ccoshf.
22099 * math/s_ccosl.c: Rely entirely on ccoshl.
22100 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22101 Remove tests for FE_INVALID.
22102 * math/s_ccoshf.c: Likewise.
22103 * math/s_ccoshl.c: Likewise.
22104 * math/s_csin.c: Likewise.
22105 * math/s_csinf.c: Likewise.
22106 * math/s_csinh.c Likewise.
22107 * math/s_csinhf.c: Likewise.
22108 * math/s_csinhl.c: Likewise.
22109 * math/s_csinl.c: Likewise.
22110 * math/s_ctan.c: Likewise.
22111 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22112 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22113 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22114
8ec250a4
UD
221152011-10-21 Ulrich Drepper <drepper@gmail.com>
22116
c196fed8
UD
22117 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22118 compilation problems.
22119
8ec250a4
UD
22120 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22121 __builtin_expect.
22122
8d4f46c6
UD
221232011-10-20 Ulrich Drepper <drepper@gmail.com>
22124
ed72b654
UD
22125 * sysdeps/i386/configure.in: Test for -mfma4 option.
22126 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22127 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22128 COMMON_CPUID_INDEX_80000001.
22129 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22130 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22131 use it if FMA3 is not supported.
22132 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22133
8d4f46c6
UD
22134 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22135 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22136
d45c60c2
AS
221372011-10-20 Andreas Schwab <schwab@redhat.com>
22138
22139 [BZ #12892]
22140 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22141 it would create a cycle with a link time dependency.
22142
d9a4d2ab
UD
221432011-10-19 Ulrich Drepper <drepper@gmail.com>
22144
855d1560
UD
22145 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22146 instruction.
22147 * string/Makefile (strop-tests): Add rawmemchr.
22148 * string/test-rawmemchr.c: New file.
22149
d9a4d2ab
UD
22150 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22151 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22152 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22153 when compiling str{,n}casecmp and when AVX is available. Hook up
22154 new optimized code in initializers.
22155
8f3b1ffe
AS
221562011-10-19 Andreas Schwab <schwab@redhat.com>
22157
22158 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22159 __feraiseexcept instead of feraiseexcept.
22160
d38f1dba
UD
221612011-10-18 Ulrich Drepper <drepper@gmail.com>
22162
d9a8d0ab
UD
22163 * math/math_private.h: Define defaults for libc_fetestexcept and
22164 libc_feupdateenv.
22165 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22166 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22167 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22168 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22169 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22170 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22171 libc_fetestexcept and libc_feupdateenv.
22172
4855e3dd
UD
22173 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22174 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22175 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22176 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22177 libc_feholdexcept_setround.
22178
581d30e3
UD
22179 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22180 Add s_nearbyint-c and s_nearbyintf-c.
22181 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22182 nearbyintf inlines.
22183 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22184 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22185 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22186 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22187
d38f1dba
UD
22188 * math/math_private.h: Define defaults for libc_fegetround,
22189 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22190 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22191 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22192 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22193 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22194 standard functions.
22195 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22196 Remove comments and hacks for old compiler versions.
22197 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22198 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22199 libc_feholdexceptl.
22200
caa6c9d8
AS
222012011-10-18 Andreas Schwab <schwab@redhat.com>
22202
22203 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
22204 (__feraiseexcept_renamed): Add __NTH.
22205 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
22206 namespace violations.
22207
97c066e6
UD
222082011-10-17 Ulrich Drepper <drepper@gmail.com>
22209
99ce7b04
UD
22210 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22211
1004d182
UD
22212 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22213
228a984d
UD
22214 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22215 recently added interfaces.
22216 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22217
c8553a6a
UD
22218 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22219 about macro parameter expansion.
22220
ed22dcf6
UD
22221 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22222 __NO_MATH_INLINES is defined. Cleanups.
22223
22224 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22225 and __floorf is target has SSE4.1.
22226 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22227 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22228 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22229 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22230
b171c137
UD
22231 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22232 name.
22233 (floorf): Likewise.
22234
97c066e6
UD
22235 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22236
629f62ef
AS
222372011-10-17 Andreas Schwab <schwab@redhat.com>
22238
49a43d80
AS
22239 * misc/sys/cdefs.h: Fix last change.
22240
629f62ef
AS
22241 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22242 database lookup.
22243
e453f6cd
UD
222442011-10-16 Ulrich Drepper <drepper@gmail.com>
22245
aa78043a
UD
22246 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22247
ad0f5cad
UD
22248 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22249 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22250 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22251 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22252 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22253 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22254 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22255 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22256 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22257 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22258 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22259 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22260 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22261 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22262 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22263 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22264 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22265 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22266 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22267 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22268 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22269 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22270
22271 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22272 ceil, ceilf, floor, floorf.
22273
22274 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22275 Perform IRELATIVE relocations last.
22276
e453f6cd
UD
22277 * elf/do-rel.h: Add another parameter nrelative, replacing the
22278 local variable with the same name. Change name of the function
22279 to end in Rel or Rela (uppercase).
22280 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22281 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22282 elf_dynamic_do_##reloc function.
22283
fd5bdc09
UD
222842011-10-15 Ulrich Drepper <drepper@gmail.com>
22285
79b195b5
UD
22286 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22287 is sufficient, at least on modern CPUs.
22288
d4a28569
UD
22289 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22290
b61099b5
UD
22291 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22292 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22293
bcf01e6d
UD
22294 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22295 __expl_finite.
22296 * math/bits/math-finite.h: Add entries for exp.
22297 * math/e_expl.c: Add __*_finite alias.
22298 * sysdeps/i386/fpu/e_exp.S: Likewise.
22299 * sysdeps/i386/fpu/e_expf.S: Likewise.
22300 * sysdeps/i386/fpu/e_expl.c: Likewise.
22301 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22302 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22303 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22304 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22305 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22306 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22307 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22308
ba1a0d59
UD
22309 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22310 is sufficient, at least on modern CPUs.
22311
fd5bdc09
UD
22312 * ctype/ctype-info.c (__ctype_init): Define.
22313 * include/ctype.h (__ctype_init): Declare.
22314 (__ctype_b_loc): The variable is always initialized.
22315 (__ctype_toupper_loc): Likewise.
22316 (__ctype_tolower_loc): Likewise.
22317 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22318 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22319
7872cfb0
AS
223202011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22321
b468825a
AS
22322 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22323
7872cfb0
AS
22324 * configure.in: Also look in $cxxmachine/include for C++ system
22325 headers.
22326
be13f7bf
LD
223272011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22328
22329 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22330 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22331 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22332 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22333 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22334 (USE_AS_WMEMCMP): New macro.
22335 Fixing indents.
22336 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22337 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22338 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22339 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22340 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22341 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22342 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22343 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22344 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22345 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22346 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22347 (USE_AS_WMEMCMP): New macro.
22348 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22349 * sysdeps/string/test-memcmp.c: Update.
22350 Fix simple_wmemcmp.
22351 Add new tests.
22352 * wcsmbs/wmemcmp.c: Update.
22353 (WMEMCMP): New macro.
22354 Fix overflow bug.
22355
556a2007
AJ
223562011-10-12 Andreas Jaeger <aj@suse.de>
22357
22358 [BZ #13268]
22359 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22360
538faaa7
UD
223612011-10-15 Ulrich Drepper <drepper@gmail.com>
22362
ab6737ff
UD
22363 * libio/iofwide.c (do_length): Avoid warning.
22364
538faaa7
UD
22365 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22366
396a21b1
UD
223672011-10-14 Ulrich Drepper <drepper@gmail.com>
22368
cdf2901f
UD
22369 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22370
38ad40ce
UD
22371 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22372 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22373 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22374 * sysdeps/i386/i686/fpu/e_log.S: New file.
22375 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22376 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22377
396a21b1
UD
22378 * ctype/ctype.h: Add support for inlined isXXX functions when
22379 compiling C++ code.
22380
6b1f68c9
AS
223812011-10-14 Andreas Schwab <schwab@redhat.com>
22382
349290c0
AS
22383 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22384
6b1f68c9
AS
22385 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22386
f2282d42
RM
223872011-10-13 Roland McGrath <roland@hack.frob.com>
22388
22389 [BZ #13291]
22390 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22391
5298ffa8
AS
223922011-10-13 Andreas Schwab <schwab@redhat.com>
22393
714fad23
AS
22394 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22395 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22396 feraiseexcept.
22397
81dcc7fb
AS
22398 * sysdeps/x86_64/memrchr.S: Check for zero size.
22399
5298ffa8
AS
22400 * string/stratcliff.c: Add memrchr tests.
22401
951fbcec
LD
224022011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22403
22404 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22405 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22406 rawmemchr-sse2 rawmemchr-sse2-bsf.
22407 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22408 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22409 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22410 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22411 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22412 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22413 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22414 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22415 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22416 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22417 * string/memrchr.c (MEMRCHR): New macro.
22418
0ac5ae23
UD
224192011-10-12 Ulrich Drepper <drepper@gmail.com>
22420
22421 Add integration with gcc's -ffinite-math-only and optimize wrapper
22422 functions in libm.
22423 * Versions.def: Define GLIBC_2.15 version for libm.
22424 * math/Makefile (headers): Add bits/math-finite.h.
22425 * math/bits/math-finite.h: New file.
22426 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22427 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22428 * math/e_acoshl.c: Add __*_finite alias.
22429 * math/e_acosl.c: Likewise.
22430 * math/e_asinl.c: Likewise.
22431 * math/e_atan2l.c: Likewise.
22432 * math/e_atanhl.c: Likewise.
22433 * math/e_coshl.c: Likewise.
22434 * math/e_exp10.c: Likewise.
22435 * math/e_exp10f.c: Likewise.
22436 * math/e_exp10l.c: Likewise.
22437 * math/e_exp2l.c: Likewise.
22438 * math/e_fmodl.c: Likewise.
22439 * math/e_gammal_r.c: Likewise.
22440 * math/e_hypotl.c: Likewise.
22441 * math/e_j0l.c: Likewise.
22442 * math/e_j1l.c: Likewise.
22443 * math/e_jnl.c: Likewise.
22444 * math/e_lgammal_r.c: Likewise.
22445 * math/e_log10l.c: Likewise.
22446 * math/e_log2l.c: Likewise.
22447 * math/e_logl.c: Likewise.
22448 * math/e_powl.c: Likewise.
22449 * math/e_sinhl.c: Likewise.
22450 * math/e_sqrtl.c: Likewise.
22451 * math/e_scalb.c: Completely rewritten and optimized.
22452 * math/e_scalbf.c: Likewise.
22453 * math/e_scalbl.c: Likewise.
22454 * math/w_acos.c: Likewise.
22455 * math/w_acosf.c: Likewise.
22456 * math/w_acosl.c: Likewise.
22457 * math/w_acosh.c: Likewise.
22458 * math/w_acoshf.c: Likewise.
22459 * math/w_acoshl.c: Likewise.
22460 * math/w_asin.c: Likewise.
22461 * math/w_asinf.c: Likewise.
22462 * math/w_asinl.c: Likewise.
22463 * math/w_atan2.c: Likewise.
22464 * math/w_atan2f.c: Likewise.
22465 * math/w_atan2l.c: Likewise.
22466 * math/w_atanh.c: Likewise.
22467 * math/w_atanhf.c: Likewise.
22468 * math/w_atanhl.c: Likewise.
22469 * math/w_exp10.c: Likewise.
22470 * math/w_exp10f.c: Likewise.
22471 * math/w_exp10l.c: Likewise.
22472 * math/w_fmod.c: Likewise.
22473 * math/w_fmodf.c: Likewise.
22474 * math/w_fmodl.c: Likewise.
22475 * math/w_j0.c: Likewise.
22476 * math/w_j0f.c: Likewise.
22477 * math/w_j0l.c: Likewise.
22478 * math/w_j1.c: Likewise.
22479 * math/w_j1f.c: Likewise.
22480 * math/w_j1l.c: Likewise.
22481 * math/w_jn.c: Likewise.
22482 * math/w_jnf.c: Likewise.
22483 * math/w_log.c: Likewise.
22484 * math/w_logf.c: Likewise.
22485 * math/w_logl.c: Likewise.
22486 * math/w_log10.c: Likewise.
22487 * math/w_log10f.c: Likewise.
22488 * math/w_log10l.c: Likewise.
22489 * math/w_log2.c: Likewise.
22490 * math/w_log2f.c: Likewise.
22491 * math/w_log2l.c: Likewise.
22492 * math/w_pow.c: Likewise.
22493 * math/w_powf.c: Likewise.
22494 * math/w_powl.c: Likewise.
22495 * math/w_remainder.c: Likewise.
22496 * math/w_remainderf.c: Likewise.
22497 * math/w_remainderl.c: Likewise.
22498 * math/w_scalb.c: Likewise.
22499 * math/w_scalbf.c: Likewise.
22500 * math/w_scalbl.c: Likewise.
22501 * math/w_sqrt.c: Likewise.
22502 * math/w_sqrtf.c: Likewise.
22503 * math/w_sqrtl.c: Likewise.
22504 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22505 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22506 used.
22507 * math/math_private.h: Declare __kernel_standard_f.
22508 * math/w_cosh.c: Remove cruft and optimize a bit.
22509 * math/w_coshf.c: Likewise.
22510 * math/w_coshl.c: Likewise.
22511 * math/w_exp2.c: Likewise.
22512 * math/w_exp2f.c: Likewise.
22513 * math/w_exp2l.c: Likewise.
22514 * math/w_hypot.c: Likewise.
22515 * math/w_hypotf.c: Likewise.
22516 * math/w_hypotl.c: Likewise.
22517 * math/w_lgamma.c: Likewise.
22518 * math/w_lgamma_r.c: Likewise.
22519 * math/w_lgammaf.c: Likewise.
22520 * math/w_lgammaf_r.c: Likewise.
22521 * math/w_lgammal.c: Likewise.
22522 * math/w_lgammal_r.c: Likewise.
22523 * math/w_sinh.c: Likewise.
22524 * math/w_sinhf.c: Likewise.
22525 * math/w_sinhl.c: Likewise.
22526 * math/w_tgamma.c: Likewise.
22527 * math/w_tgammaf.c: Likewise.
22528 * math/w_tgammal.c: Likewise.
22529 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22530 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22531 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22532 Minor optimizations. Pretty printing. Remove cruft.
22533 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22534 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22535 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22536 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22537 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22538 * sysdeps/i386/fpu/e_asin.S: Likewise.
22539 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22540 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22541 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22542 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22543 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22544 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22545 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22546 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22547 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22548 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22549 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22550 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22551 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22552 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22553 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22554 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22555 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22556 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22557 * sysdeps/i386/fpu/e_log.S: Likewise.
22558 * sysdeps/i386/fpu/e_log10.S: Likewise.
22559 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22560 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22561 * sysdeps/i386/fpu/e_log2.S: Likewise.
22562 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22563 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22564 * sysdeps/i386/fpu/e_logf.S: Likewise.
22565 * sysdeps/i386/fpu/e_logl.S: Likewise.
22566 * sysdeps/i386/fpu/e_pow.S: Likewise.
22567 * sysdeps/i386/fpu/e_powf.S: Likewise.
22568 * sysdeps/i386/fpu/e_powl.S: Likewise.
22569 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22570 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22571 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22572 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22573 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22574 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22575 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22576 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22577 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22578 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22579 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22580 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22581 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22582 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22583 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22584 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22585 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22586 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22587 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22588 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22589 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22590 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22591 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22592 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22593 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22594 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22595 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22596 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22597 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22598 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22599 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22600 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22601 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22602 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22603 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22604 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22605 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22606 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22607 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22608 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22609 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22610 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22611 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22612 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22613 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22614 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22615 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22616 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22617 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22618 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22619 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22620 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22621 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22622 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22623 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22624 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22625 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22626 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22627 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22628 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22629 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22630 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22631 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22632 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22633 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22634 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22635 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22636 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22637 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22638 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22639 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22640 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22641 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22642 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22643 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22644 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22645 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22646 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22647 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22648 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22649 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22650 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22651 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22652 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22653 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22654 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22655 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22656 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22657 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22658 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22659 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22660 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22661 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22662 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22663 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22664 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22665 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22666 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22667 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22668 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22669 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22670 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22671 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22672 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22673 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22674 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22675 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22676 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22677 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22678 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22679 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22680 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22681 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22682 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22683 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22684 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22685 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22686 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22687 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22688 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22689 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22690 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22691 (__isnanf): Likewise.
22692 (__isinf_ns): Likewise.
22693 (__isinf_nsf): Likewise.
22694 (__finite): Likewise.
22695 (__finitef): Likewise.
22696 (__ieee754_sqrt): Define as macro.
22697 (__ieee754_sqrtf): Define as macro.
22698 (__ieee754_sqrtl): Define as macro.
22699 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22700 inlined copy.
22701 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22702 __FINITE_MATH_ONLY__ consistent.
22703 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22704
12cc2fcd
AS
227052011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22706
a843a204
AS
22707 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22708 of rawmemchr.
22709
12cc2fcd
AS
22710 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22711
c853acd5
UD
227122011-10-09 Ulrich Drepper <drepper@gmail.com>
22713
22714 * po/ja.po: Update from translation team.
22715
c658d255
RM
227162011-10-08 Roland McGrath <roland@hack.frob.com>
22717
110946e4
RM
22718 * locale/programs/locarchive.c (prepare_address_space): New function.
22719 (create_archive, enlarge_archive, open_archive): Use it.
22720
50604220
RM
22721 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22722 inside [SHARED], where it is used.
22723
c658d255
RM
22724 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22725
22726 * nss/getent.c (netgroup_keys): Remove unused variable.
22727 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22728
6a621eb7
UD
227292011-10-08 Ulrich Drepper <drepper@gmail.com>
22730
7edb55ce
UD
22731 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22732 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22733 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22734 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22735 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22736 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22737 * math/Makefile (libm-calls): Add s_isinf_ns.
22738 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22739 * math/multc3.c: Likewise.
22740 * math/s_casin.c: Likewise.
22741 * math/s_casinf.c: Likewise.
22742 * math/s_casinl.c: Likewise.
22743 * math/s_ccos.c: Likewise.
22744 * math/s_ccosf.c: Likewise.
22745 * math/s_ccosl.c: Likewise.
22746 * math/s_ctan.c: Likewise.
22747 * math/s_ctanf.c: Likewise.
22748 * math/s_ctanh.c: Likewise.
22749 * math/s_ctanhf.c: Likewise.
22750 * math/s_ctanhl.c: Likewise.
22751 * math/s_ctanl.c: Likewise.
22752 * math/w_fmod.c: Likewise.
22753 * math/w_fmodf.c: Likewise.
22754 * math/w_fmodl.c: Likewise.
22755 * math/w_remainder.c: Likewise.
22756 * math/w_remainderf.c: Likewise.
22757 * math/w_remainderl.c: Likewise.
22758 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22759 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22760 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22761 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22762 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22763 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22764 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22765 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22766
187da0ae
UD
22767 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22768 of the number.
22769 * stdio-common/printf_fphex.c: Likewise.
22770 * stdio-common/printf_size.c: Likewise.
22771
9277c064
UD
22772 * math/e_exp10.c: Include math_private.h using <...> not "...".
22773 * math/e_exp10f.c: Likewise.
22774 * math/e_exp10l.c: Likewise.
22775 * math/e_exp2l.c: Likewise.
22776 * math/e_j0l.c: Likewise.
22777 * math/e_j1l.c: Likewise.
22778 * math/e_jnl.c: Likewise.
22779 * math/e_lgammal_r.c: Likewise.
22780 * math/e_rem_pio2l.c: Likewise.
22781 * math/e_scalb.c: Likewise.
22782 * math/e_scalbf.c: Likewise.
22783 * math/e_scalbl.c: Likewise.
22784 * math/k_cosl.c: Likewise.
22785 * math/k_sinl.c: Likewise.
22786 * math/k_tanl.c: Likewise.
22787 * math/s_cacoshf.c: Likewise.
22788 * math/s_catan.c: Likewise.
22789 * math/s_catanf.c: Likewise.
22790 * math/s_catanh.c: Likewise.
22791 * math/s_catanhf.c: Likewise.
22792 * math/s_catanhl.c: Likewise.
22793 * math/s_catanl.c: Likewise.
22794 * math/s_ccosh.c: Likewise.
22795 * math/s_ccoshf.c: Likewise.
22796 * math/s_ccoshl.c: Likewise.
22797 * math/s_cexp.c: Likewise.
22798 * math/s_cexpf.c: Likewise.
22799 * math/s_cexpl.c: Likewise.
22800 * math/s_clog.c: Likewise.
22801 * math/s_clog10.c: Likewise.
22802 * math/s_clog10f.c: Likewise.
22803 * math/s_clog10l.c: Likewise.
22804 * math/s_clogf.c: Likewise.
22805 * math/s_clogl.c: Likewise.
22806 * math/s_csin.c: Likewise.
22807 * math/s_csinf.c: Likewise.
22808 * math/s_csinh.c: Likewise.
22809 * math/s_csinhf.c: Likewise.
22810 * math/s_csinhl.c: Likewise.
22811 * math/s_csinl.c: Likewise.
22812 * math/s_csqrt.c: Likewise.
22813 * math/s_csqrtf.c: Likewise.
22814 * math/s_csqrtl.c: Likewise.
22815 * math/s_ctan.c: Likewise.
22816 * math/s_ctanf.c: Likewise.
22817 * math/s_ctanh.c: Likewise.
22818 * math/s_ctanhf.c: Likewise.
22819 * math/s_ctanhl.c: Likewise.
22820 * math/s_ctanl.c: Likewise.
22821 * math/s_ldexp.c: Likewise.
22822 * math/s_ldexpf.c: Likewise.
22823 * math/s_ldexpl.c: Likewise.
22824 * math/s_significand.c: Likewise.
22825 * math/s_significandf.c: Likewise.
22826 * math/s_significandl.c: Likewise.
22827 * math/w_acos.c: Likewise.
22828 * math/w_acosf.c: Likewise.
22829 * math/w_acosh.c: Likewise.
22830 * math/w_acoshf.c: Likewise.
22831 * math/w_acoshl.c: Likewise.
22832 * math/w_acosl.c: Likewise.
22833 * math/w_asin.c: Likewise.
22834 * math/w_asinf.c: Likewise.
22835 * math/w_asinl.c: Likewise.
22836 * math/w_atan2.c: Likewise.
22837 * math/w_atan2f.c: Likewise.
22838 * math/w_atan2l.c: Likewise.
22839 * math/w_atanh.c: Likewise.
22840 * math/w_atanhf.c: Likewise.
22841 * math/w_atanhl.c: Likewise.
22842 * math/w_cosh.c: Likewise.
22843 * math/w_coshf.c: Likewise.
22844 * math/w_coshl.c: Likewise.
22845 * math/w_dremf.c: Likewise.
22846 * math/w_exp10.c: Likewise.
22847 * math/w_exp10f.c: Likewise.
22848 * math/w_exp10l.c: Likewise.
22849 * math/w_exp2.c: Likewise.
22850 * math/w_exp2f.c: Likewise.
22851 * math/w_fmod.c: Likewise.
22852 * math/w_fmodf.c: Likewise.
22853 * math/w_fmodl.c: Likewise.
22854 * math/w_hypot.c: Likewise.
22855 * math/w_hypotf.c: Likewise.
22856 * math/w_hypotl.c: Likewise.
22857 * math/w_j0.c: Likewise.
22858 * math/w_j0f.c: Likewise.
22859 * math/w_j0l.c: Likewise.
22860 * math/w_j1.c: Likewise.
22861 * math/w_j1f.c: Likewise.
22862 * math/w_j1l.c: Likewise.
22863 * math/w_jn.c: Likewise.
22864 * math/w_jnf.c: Likewise.
22865 * math/w_jnl.c: Likewise.
22866 * math/w_lgamma.c: Likewise.
22867 * math/w_lgamma_r.c: Likewise.
22868 * math/w_lgammaf.c: Likewise.
22869 * math/w_lgammaf_r.c: Likewise.
22870 * math/w_lgammal.c: Likewise.
22871 * math/w_lgammal_r.c: Likewise.
22872 * math/w_log.c: Likewise.
22873 * math/w_log10.c: Likewise.
22874 * math/w_log10f.c: Likewise.
22875 * math/w_log10l.c: Likewise.
22876 * math/w_log2.c: Likewise.
22877 * math/w_log2f.c: Likewise.
22878 * math/w_log2l.c: Likewise.
22879 * math/w_logf.c: Likewise.
22880 * math/w_logl.c: Likewise.
22881 * math/w_pow.c: Likewise.
22882 * math/w_powf.c: Likewise.
22883 * math/w_powl.c: Likewise.
22884 * math/w_remainder.c: Likewise.
22885 * math/w_remainderf.c: Likewise.
22886 * math/w_remainderl.c: Likewise.
22887 * math/w_scalb.c: Likewise.
22888 * math/w_scalbf.c: Likewise.
22889 * math/w_scalbl.c: Likewise.
22890 * math/w_sinh.c: Likewise.
22891 * math/w_sinhf.c: Likewise.
22892 * math/w_sinhl.c: Likewise.
22893 * math/w_sqrt.c: Likewise.
22894 * math/w_sqrtf.c: Likewise.
22895 * math/w_sqrtl.c: Likewise.
22896 * math/w_tgamma.c: Likewise.
22897 * math/w_tgammaf.c: Likewise.
22898 * math/w_tgammal.c: Likewise.
22899
6a621eb7
UD
22900 * po/ja.po: Update from translation team.
22901
bf582445
AJ
229022011-09-29 Andreas Jaeger <aj@suse.de>
22903
f9efbf3a
AJ
22904 [BZ #13179]
22905 * sunrpc/netname.c (netname2host): Fix logic.
22906
bf582445
AJ
22907 [BZ #6779]
22908 [BZ #6783]
22909 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22910 correctly.
22911 * math/w_remainder.c (__remainder): Likewise.
22912 * math/w_remainderf.c (__remainderf): Likewise.
22913 * math/libm-test.inc (remainder_test): Add test cases.
22914
48693bea
AK
229152011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22916
22917 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22918 sdiv_qrnnd.
22919
42622229
LD
229202011-10-07 Ulrich Drepper <drepper@gmail.com>
22921
22922 * string/test-memcmp.c: Avoid unncessary #defines.
22923 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22924
093ecf92
LD
229252011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22926
22927 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22928 Use new sse2 version for core i3 - i7 as it's faster
22929 than sse42 version.
22930 (bit_Prefer_PMINUB_for_stringop): New.
22931 * sysdeps/x86_64/rawmemchr.S: Update.
22932 Replace with faster SSE2 version.
22933 * sysdeps/x86_64/memrchr.S: New file.
22934 * sysdeps/x86_64/memchr.S: Update.
22935 Replace with faster SSE2 version.
22936
fde56e5c
MP
229372011-09-12 Marek Polacek <mpolacek@redhat.com>
22938
22939 * elf/dl-load.c (lose): Add cast to avoid warning.
22940
21fd49a9
UD
229412011-10-07 Ulrich Drepper <drepper@gmail.com>
22942
5a06e643
UD
22943 * po/ca.po: Update from translation team.
22944
684ae515
UD
22945 * inet/getnetgrent_r.c: Hook up nscd.
22946 * nscd/Makefile (routines): Add nscd_netgroup.
22947 (nscd-modules): Add netgroupcache.
22948 (CFLAGS-netgroupcache.c): Define.
22949 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22950 (cache_search): Add const to second parameter.
22951 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22952 INNETGR.
22953 (dbs): Add netgrdb entry.
22954 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22955 (verify_persistent_db): Handle netgrdb.
22956 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22957 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22958 GETFDNETGR.
22959 (netgroup_response_header): Define.
22960 (innetgroup_response_header): Define.
22961 (datahead): Add netgroup_response_header and innetgroup_response_header
22962 elements.
22963 * nscd/nscd.conf: Add entries for netgroup cache.
22964 * nscd/nscd.h (dbtype): Add netgrdb.
22965 (_PATH_NSCD_NETGROUP_DB): Define.
22966 (netgroup_iov_disabled): Declare.
22967 (xmalloc, xcalloc, xrealloc): Move declarations here.
22968 (cache_search): Adjust prototype.
22969 Add netgroup-related prototypes.
22970 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22971 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22972 (__nscd_innetgr): Declare.
22973 * nscd/selinux.c (perms): Use access_vector_t as element type and
22974 add netgroup-related initializers.
22975 * nscd/netgroupcache.c: New file.
22976 * nscd/nscd_netgroup.c: New file.
22977 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
22978 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
22979 For four parameters use innetgr.
22980 * nss/nss_files/files-init.c: Add definition and callback for netgr.
22981 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
22982 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
22983 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
22984
21fd49a9
UD
22985 * nscd/connections.c (register_traced_file): Don't register file
22986 for disabled databases.
22987
054c0457
UD
229882011-10-06 Ulrich Drepper <drepper@gmail.com>
22989
32b63198
UD
22990 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
22991
054c0457
UD
22992 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
22993 from tree and freeing node.
22994
64031225
JO
229952011-09-25 Jiri Olsa <jolsa@redhat.com>
22996
22997 * nss/nsswitch.c (__nss_database_lookup): Handle
22998 nss_parse_service_list out of memory case.
22999
0490345c
JO
230002011-09-15 Jiri Olsa <jolsa@redhat.com>
23001
23002 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23003 out of memory case.
23004
3a62d00d
AS
230052011-10-04 Andreas Schwab <schwab@redhat.com>
23006
23007 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23008 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23009 pass it down.
23010 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23011 elf_machine_rela, elf_machine_lazy_rel.
23012 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23013 (ELF_DYNAMIC_DO_REL): Likewise.
23014 (ELF_DYNAMIC_DO_RELA): Likewise.
23015 (ELF_DYNAMIC_RELOCATE): Likewise.
23016 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23017 to ELF_DYNAMIC_DO_REL.
23018 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23019 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23020 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23021 elf_machine_rela.
23022 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23023 skip_ifunc, don't call ifunc function if non-zero.
23024 (elf_machine_rela): Likewise.
23025 (elf_machine_lazy_rel): Likewise.
23026 (elf_machine_lazy_rela): Likewise.
23027 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23028 (elf_machine_lazy_rel): Likewise.
23029 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23030 Likewise.
23031 (elf_machine_lazy_rel): Likewise.
23032 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23033 Likewise.
23034 (elf_machine_lazy_rel): Likewise.
23035 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23036 (elf_machine_lazy_rel): Likewise.
23037 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23038 (elf_machine_lazy_rel): Likewise.
23039 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23040 (elf_machine_lazy_rel): Likewise.
23041 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23042 (elf_machine_lazy_rel): Likewise.
23043 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23044 (elf_machine_lazy_rel): Likewise.
23045 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23046 (elf_machine_lazy_rel): Likewise.
23047
68577918
UD
230482011-09-28 Ulrich Drepper <drepper@gmail.com>
23049
23050 * nss/nss_files/files-init.c (_nss_files_init): Use static
23051 initialization for all the *_traced_file variables.
23052
68822d74
AS
230532011-09-28 Andreas Schwab <schwab@redhat.com>
23054
23055 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23056
2056100b
RM
230572011-09-27 Roland McGrath <roland@hack.frob.com>
23058
23059 [BZ #13226]
23060 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23061
32c76b63
AS
230622011-09-27 Andreas Schwab <schwab@redhat.com>
23063
23064 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23065 Reread the line before reparsing it.
23066
bf972c9d
AS
230672011-09-26 Andreas Schwab <schwab@redhat.com>
23068
23069 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23070
e057a1b5
JM
230712011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23072 Maxim Kuvyrkov <maxim@codesourcery.com>
23073 Joseph Myers <joseph@codesourcery.com>
23074
23075 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23076 if needed for __stack_chk_guard.
23077
bc7e1c36
RM
230782011-09-19 Roland McGrath <roland@hack.frob.com>
23079
ecb1482f
RM
23080 * sysdeps/posix/spawni.c (script_execute): Always define it.
23081 It will be optimized away if unused.
23082 (maybe_script_execute): New function.
23083 (__spawni): Call it.
23084
bc7e1c36
RM
23085 * Makerules: Don't include tls.make.
23086 (config-tls): Always set to thread.
23087 * tls.make.c: File removed.
23088
1c3b002b
MF
230892011-09-19 Mike Frysinger <vapier@gentoo.org>
23090
23091 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23092 * config.make.in (CPPFLAGS-config): New substituted variable.
23093
2840865d
UD
230942011-09-15 Ulrich Drepper <drepper@gmail.com>
23095
88738eb6
UD
23096 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23097
cbf645a6 23098 [BZ #13192]
2840865d
UD
23099 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23100 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23101
b402e91a
RM
231022011-09-15 Roland McGrath <roland@hack.frob.com>
23103
23104 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23105 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23106 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23107 (CALL_FAIL): Likewise.
23108 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23109 (CALL_FAIL): Macro removed.
23110 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23111
4c1a1f71
UD
231122011-09-15 Ulrich Drepper <drepper@gmail.com>
23113
23114 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23115 for __FINITE_MATH_ONLY__ == 1.
23116
edc121be
AS
231172011-09-15 Andreas Schwab <schwab@redhat.com>
23118
23119 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23120 __ieee754_sqrt instead of sqrt.
23121 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23122 __ieee754_sqrtf instead of sqrtf.
23123 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23124 __floorf instead of floorf.
23125 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23126 __floorf, __truncf instead of floorf, truncf.
23127
cd205654
UD
231282011-09-14 Ulrich Drepper <drepper@gmail.com>
23129
ee4d0315
UD
23130 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23131
cd205654
UD
23132 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23133 __extern_always_inline.
23134 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23135 32-bit.
23136
48b67d71
AS
231372011-09-14 Andreas Schwab <schwab@redhat.com>
23138
23139 * elf/rtld.c (dl_main): Also relocate in dependency order when
23140 doing symbol dependency testing.
23141
1ae12c75
AS
231422011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23143
23144 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23145 Always define `refsym'.
23146
995a80df
AS
231472011-09-13 Andreas Schwab <schwab@redhat.com>
23148
e529793b
AS
23149 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23150 (__FD_ELT): Renamed from __FDELT.
23151 * misc/bits/select2.h (__FD_ELT): Likewise.
23152 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23153 __FD_MASK instead of __FDELT, __FDMASK.
23154 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23155 Likewise.
23156 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23157 Likewise.
23158
52d4fef8
AS
23159 * elf/Makefile (gen-ldd): Fix pattern.
23160
995a80df
AS
23161 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23162 (init_tls): Likewise.
23163
8682f8b0
UD
231642011-09-12 Ulrich Drepper <drepper@gmail.com>
23165
23166 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23167
de82006d
AS
231682011-09-12 Andreas Schwab <schwab@redhat.com>
23169
a7c8e6a1
AS
23170 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23171 `struct cmsghdr *' instead of `void *'.
23172 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23173 Likewise.
23174
0f31fe77
AS
231752011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23176
23177 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23178 if non-absolute.
23179 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23180 ldd_rewrite_script.
0f31fe77 23181
32b4c839
UD
231822011-09-11 Ulrich Drepper <drepper@gmail.com>
23183
83cd1420
UD
23184 * configure.in: Remove --with-tls option.
23185 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23186 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23187 out in case it is missing.
23188 * sysdeps/ia64/elf/configure.in: Likewise.
23189 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23190 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23191 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23192 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23193 * sysdeps/sh/elf/configure.in: Likewise.
23194 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23195 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23196 * sysdeps/x86_64/elf/configure.in: Likewise.
23197 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23198 * sysdeps/mach/hurd/tls.h: Likewise.
23199
633f745d
UD
23200 [BZ #13067]
23201 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23202
f318beb8
UD
23203 [BZ #13090]
23204 * configure.in: Fix use of AC_INIT.
23205
32b4c839
UD
23206 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23207
3ce1f295
UD
232082011-09-10 Ulrich Drepper <drepper@gmail.com>
23209
bb016596
UD
23210 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23211 __set_errno.
8e58439c
UD
23212 * malloc/hooks.c: Likewise.
23213
aebae053 23214 [BZ #11929]
02d46fc4
UD
23215 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23216 variables statically.
23217 (narenas): Initialize.
23218 (list_lock): Initialize.
bb016596
UD
23219 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23220 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
23221 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23222 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23223 Add initializers to main_arena and mp_.
23224 (malloc_state): Remove pagesize member. Change all users to use
23225 GLRO(dl_pagesize).
23226
23227 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23228 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23229 is always initialized.
23230
22a89187
UD
23231 * malloc/malloc.c: Removed unused configurations and dead code.
23232 * malloc/arena.c: Likewise.
23233 * malloc/hooks.c: Likewise.
02d46fc4 23234 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 23235
d063d164
UD
23236 * include/tls.h: Removed. USE___THREAD must always be defined.
23237 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23238 * elf/dl-libc.c: Likewise.
23239 * elf/dl-tsd.c: Likewise.
23240 * include/errno.h: Likewise.
23241 * include/netdb.h: Likewise.
23242 * include/resolv.h: Likewise.
23243 * inet/herrno-loc.c: Likewise.
23244 * inet/herrno.c: Likewise.
23245 * malloc/arena.c: Likewise.
23246 * malloc/hooks.c: Likewise.
23247 * malloc/malloc.c: Likewise.
23248 * resolv/res-state.c: Likewise.
23249 * resolv/res_libc.c: Likewise.
23250 * sysdeps/i386/dl-machine.h: Likewise.
23251 * sysdeps/ia64/dl-machine.h: Likewise.
23252 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23253 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23254 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23255 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23256 * sysdeps/sh/dl-machine.h: Likewise.
23257 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23258 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23259 * sysdeps/unix/i386/sysdep.S: Likewise.
23260 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23261 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23262 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23263 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23264 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23265 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23266 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23267 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23268 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23269 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23270 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23271 * sysdeps/x86_64/dl-machine.h: Likewise.
23272 * tls.make.c: Likewise.
23273
3ce1f295
UD
23274 * configure.in: Remove --with-__thread option. Make tests for
23275 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23276 tls_model attribute fail if no support is available. Remove
23277 USE_IN_LIBIO.
23278 * Makeconfig: Adjust for dropped configure option. All features are
23279 now mandatory.
23280 * Makerules: Likewise.
23281 * Versions.def: Likewise.
23282 * argp/argp-fmtstream.c: Likewise.
23283 * argp/argp-fmtstream.h: Likewise.
23284 * argp/argp-help.c: Likewise.
23285 * assert/assert.c: Likewise.
23286 * config.h.in: Likewise.
23287 * config.make.in: Likewise.
23288 * configure: Likewise.
23289 * configure.in: Likewise.
23290 * csu/Versions: Likewise.
23291 * csu/init.c: Likewise.
23292 * elf/tst-audit2.c: Likewise.
23293 * elf/tst-tls10.c: Likewise.
23294 * elf/tst-tls10.h: Likewise.
23295 * elf/tst-tls11.c: Likewise.
23296 * elf/tst-tls12.c: Likewise.
23297 * elf/tst-tls14.c: Likewise.
23298 * elf/tst-tlsmod11.c: Likewise.
23299 * elf/tst-tlsmod12.c: Likewise.
23300 * elf/tst-tlsmod13.c: Likewise.
23301 * elf/tst-tlsmod13a.c: Likewise.
23302 * elf/tst-tlsmod14a.c: Likewise.
23303 * elf/tst-tlsmod15b.c: Likewise.
23304 * elf/tst-tlsmod16a.c: Likewise.
23305 * elf/tst-tlsmod16b.c: Likewise.
23306 * elf/tst-tlsmod7.c: Likewise.
23307 * elf/tst-tlsmod8.c: Likewise.
23308 * elf/tst-tlsmod9.c: Likewise.
23309 * gmon/gmon.c: Likewise.
23310 * grp/fgetgrent_r.c: Likewise.
23311 * grp/putgrent.c: Likewise.
23312 * hurd/fopenport.c: Likewise.
23313 * include/libc-symbols.h: Likewise.
23314 * include/tls.h: Likewise.
23315 * intl/gettextP.h: Likewise.
23316 * intl/loadinfo.h: Likewise.
23317 * locale/global-locale.c: Likewise.
23318 * locale/localeinfo.h: Likewise.
23319 * mach/devstream.c: Likewise.
23320 * malloc/arena.c: Likewise.
23321 * malloc/set-freeres.c: Likewise.
23322 * misc/err.c: Likewise.
23323 * misc/getttyent.c: Likewise.
23324 * misc/mntent_r.c: Likewise.
23325 * posix/getopt.c: Likewise.
23326 * posix/wordexp.c: Likewise.
23327 * pwd/fgetpwent_r.c: Likewise.
23328 * resolv/Versions: Likewise.
23329 * resolv/res_hconf.c: Likewise.
23330 * shadow/fgetspent_r.c: Likewise.
23331 * shadow/putspent.c: Likewise.
23332 * stdio-common/printf_fphex.c: Likewise.
23333 * stdio-common/tmpfile.c: Likewise.
23334 * stdlib/abort.c: Likewise.
23335 * stdlib/fmtmsg.c: Likewise.
23336 * sunrpc/auth_unix.c: Likewise.
23337 * sunrpc/clnt_perr.c: Likewise.
23338 * sunrpc/clnt_tcp.c: Likewise.
23339 * sunrpc/clnt_udp.c: Likewise.
23340 * sunrpc/clnt_unix.c: Likewise.
23341 * sunrpc/openchild.c: Likewise.
23342 * sunrpc/svc_simple.c: Likewise.
23343 * sunrpc/svc_tcp.c: Likewise.
23344 * sunrpc/svc_udp.c: Likewise.
23345 * sunrpc/svc_unix.c: Likewise.
23346 * sunrpc/xdr.c: Likewise.
23347 * sunrpc/xdr_array.c: Likewise.
23348 * sunrpc/xdr_rec.c: Likewise.
23349 * sunrpc/xdr_ref.c: Likewise.
23350 * sunrpc/xdr_stdio.c: Likewise.
23351
1248c1c4
PB
233522011-09-09 Ulrich Drepper <drepper@gmail.com>
23353
23354 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23355
233562011-07-03 Andreas Jaeger <aj@suse.de>
23357
23358 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23359 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23360 regenerate with gen-libm-tests.pl.
23361
233622010-05-12 Petr Baudis <pasky@suse.cz>
23363
23364 [BZ #11589]
23365 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23366 around j0() zero points by switching to j1().
23367 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23368 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23369 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23370 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23371
f22e1074
UD
233722011-09-09 Ulrich Drepper <drepper@gmail.com>
23373
f19009c1
UD
23374 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23375 instead of 0.
23376 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 23377 instead of 0.
f19009c1
UD
23378 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23379 Patch in part by Pavel Roskin <proski@gnu.org>.
23380
3f8cc204
UD
23381 [BZ #13138]
23382 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23383 realloc.
23384 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23385 Free memory block if necessary.
23386
f22e1074
UD
23387 [BZ #12847]
23388 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23389 be NULL. Don't lock in this case.
23390
0a2349f9
RM
233912011-09-09 Roland McGrath <roland@hack.frob.com>
23392
23393 * elf/elf.h (ELFOSABI_GNU): New macro.
23394 (ELFOSABI_LINUX): Define to that.
23395
f3cdd467
DZ
233962011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23397
23398 * string/strncat.c (strncat): Undef the symbol in case it has been
23399 defined in bits/string.h.
23400
74718d13
UD
234012011-09-09 Ulrich Drepper <drepper@gmail.com>
23402
633e9e0f
UD
23403 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23404
0a2349f9 23405 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
23406 link map.
23407
f9924780
AJ
234082011-08-17 Andreas Jaeger <aj@suse.de>
23409
23410 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23411
7f5517aa
PP
234122011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23413 Ian Lance Taylor <iant@google.com>
23414
23415 * math/libm-test.inc (lround_test): New testcase.
23416 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23417
762011fe
UD
234182011-09-08 Ulrich Drepper <drepper@gmail.com>
23419
92963737
UD
23420 * Makefile: Remove support for automatic cvs check-ins.
23421 * Makerules: Likewise.
23422 * config.make.in: Likewise.
23423 * configure.in: Likewise.
23424 * intl/Makefile: Likewise.
23425 * locale/Makefile: Likewise.
23426 * po/Makefile: Likewise.
23427 * posix/Makefile: Likewise.
23428 * sysdeps/gnu/Makefile: Likewise.
23429 * sysdeps/mach/hurd/Makefile: Likewise.
23430 * sysdeps/sparc/sparc32/Makefile: Likewise.
23431
b0727fd8
JS
23432 [BZ #13118]
23433 * posix/Makefile (bug-regex32-ENV): Define.
23434 Patch by John Stanley <jpsinthemix@verizon.net>.
23435
a0f33f99
UD
23436 * misc/Makefile (headers): Add bits/select2.h.
23437 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23438 * misc/bits/select2.h: New file.
23439 * include/bits/select2.h: New file.
23440 * debug/Makefile (routines): Add fdelt_chk.
23441 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23442 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23443 FD_ISSET.
23444 * debug/fdelt_chk.c: New file.
23445
762011fe
UD
23446 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23447 * wcsmbs/test-wmemcmp.c: Likewise.
23448 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 23449 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
23450
234512011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23452
23453 * string/Makefile (strop-tests): Add memcmp.
23454 * string/test-wmemcmp.c: New file.
23455 * string/test-memcmp.c: Add wmemcmp support.
23456
7f513ec8
RM
234572011-09-08 Roland McGrath <roland@hack.frob.com>
23458
0442afb4
RM
23459 [BZ #13153]
23460 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23461 2011-07-19 change.
23462
7f513ec8
RM
23463 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23464 garbage value in a __mach_port_mod_refs call in the cases of the
23465 task-self and thread-self ports.
23466
a12b2239
ST
234672011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23468
23469 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23470
610f9ab4
AS
234712011-09-08 Andreas Schwab <schwab@redhat.com>
23472
7f513ec8 23473 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 23474
48882a1a
LD
234752011-09-07 Ulrich Drepper <drepper@gmail.com>
23476
b49865be
UD
23477 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23478
fdc86bc9
UD
23479 * elf/dl-libc.c (dlerror_run): Pass back error code from
23480 dl_catch_error.
23481
c966526a
UD
23482 [BZ #13123]
23483 * elf/dl-load.c (lose): Free l_origin if it is valid.
23484
48882a1a
LD
23485 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23486 names.
23487 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23488 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23489 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23490 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23491 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23492 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23493
77a2a8b4
AZ
234942011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23495
23496 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23497 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23498 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23499 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23500 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23501 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23502 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23503 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23504 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23505 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23506
24f579d8
AM
235072011-08-15 Alan Modra <amodra@gmail.com>
23508
23509 [BZ #13092]
23510 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23511 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23512 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23513 ppc_mcount to static-only-routines.
23514 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23515 __mcount_internal.
23516 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23517 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23518
3d4837df
UD
235192011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23520
23521 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23522 for finite and infinity parameters.
23523
22700377
WS
235242011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23525
23526 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23527 and add nop instructions for throughput optimization.
23528 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23529
5025581e
WS
235302011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23531
23532 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23533 aligned copy for power7 with vector-scalar instructions.
23534 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23535
08a300c9
L
235362011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23537
23538 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23539 AVX check.
23540
59178ef9
AS
235412011-09-07 Andreas Schwab <schwab@redhat.com>
23542
23543 [BZ #13144]
23544 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23545 last change.
23546
e38ba7ab
UD
235472011-09-07 Ulrich Drepper <drepper@gmail.com>
23548
23549 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23550 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23551 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23552 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23553 clock_gettime.
23554
d53a73ac
UD
235552011-09-06 Ulrich Drepper <drepper@gmail.com>
23556
fc8bffcc
UD
23557 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23558 Forgot to demangle the pointer.
23559
ceaa0c5d
UD
23560 * sysdeps/i386/sysdep.h: Define atom_text_section.
23561 * sysdeps/x86_64/sysdep.h: Likewise.
23562 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23563 section with atom_text_section.
23564 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23565 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23566 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23567 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23568 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23569
a77d3c17
UD
23570 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23571 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23572 already be defined. Change to take two parameters and don't assign
23573 result to variable. Adjust all users.
23574 Define INTERNAL_GETTIME if not already defined.
23575 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23576 call.
23577 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23578 HAVE_CLOCK_GETTIME_VSYSCALL.
23579 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23580
d53a73ac
UD
23581 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23582 gettimeofday vsyscall, just use time.
23583
a8f84144
AS
235842011-09-06 Andreas Schwab <schwab@redhat.com>
23585
23586 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23587 <errno.h>.
23588
ef606249
UD
235892011-09-06 Ulrich Drepper <drepper@gmail.com>
23590
23591 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23592 syscall on x86-64.
23593 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23594 syscall.
23595 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23596 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23597 syscall if possible.
23598
6585cb60
UD
235992011-09-05 Ulrich Drepper <drepper@gmail.com>
23600
23601 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23602 e_ident. Don't pass to find_mapsXX.
23603 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23604
a5f524e4
LD
236052011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23606
23607 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23608 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23609 * sysdeps/x86_64/multiarch/strchr.S: Update.
23610 Check bit_slow_BSF bit.
23611 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23612 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23613 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23614
554881ef
UD
236152011-09-05 Ulrich Drepper <drepper@gmail.com>
23616
d96de963
UD
23617 [BZ #13134]
23618 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23619 before glibc 2.15.
23620 (tryshell): Define.
23621 (__spawni): Change last parameter to be flag. Test
23622 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23623 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23624 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23625 * posix/spawni.c: Likewise.
23626 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23627 * posix/spawnp.c: Likewise. Change normal version to use
23628 SPAWN_XFLAGS_USE_PATH.
23629 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23630 SPAWN_XFLAGS_TRY_SHELL.
23631
d48e5868
UD
23632 [BZ #13150]
23633 * posix/glob.h: Remove gcc 1.x support.
23634
554881ef
UD
23635 [BZ #13068]
23636 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23637
693fb948
LD
236382011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23639
23640 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23641 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23642 strrchr-sse2-bsf
23643 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23644 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23645 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23646 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23647 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23648 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23649
1b48c537
UD
236502011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23651
49d42c37
UD
23652 * sysdeps/x86_64/wcscmp.S: New file.
23653
1b48c537
UD
23654 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23655 wcscmp-c wcscmp-sse2
23656 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23657 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23658 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23659 * wcsmbs/wcscmp.c: Allow renaming.
23660
15c95c5d
DM
236612011-09-05 David S. Miller <davem@davemloft.net>
23662
23663 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23664 stack slot, rather than the struct return pointer slot.
23665 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23666 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23668 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23669
2f0ad8f3
UD
236702011-09-05 Ulrich Drepper <drepper@gmail.com>
23671
d88ae418
UD
23672 * po/ja.po: Update from translation team.
23673
2f0ad8f3
UD
23674 [BZ #13144]
23675 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23676 kernel in 64-bit binaries.
23677
5f4318d1
DM
236782011-09-01 David S. Miller <davem@davemloft.net>
23679
23680 * elf/elf.h (HWCAP_SPARC_*): Move to..
23681 * sysdeps/sparc/sysdep.h: this new file and add new values.
23682 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23683 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23684 _DL_HWCAP_COUNT to 24.
23685 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23686 entries.
23687 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23688 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23689 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23690 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23691 instead of magic constants.
23692 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23693
3ba57516
DM
236942011-08-31 David S. Miller <davem@davemloft.net>
23695
23696 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23697 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23698 Reimplement to do errno handling inline.
23699 (SYSCALL_ERROR_HANDLER): New macro.
23700 (__SYSCALL_STRING): Do not do errno handling in asm.
23701 (__CLONE_SYSCALL_STRING): Delete.
23702 (__INTERNAL_SYSCALL_STRING): Delete.
23703 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23704 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23705 (PSEUDO): Reimplement to do errno handling inline.
23706 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23707 (SYSCALL_ERROR_HANDLER): New macro.
23708 (__SYSCALL_STRING): Do not do errno handling in asm.
23709 (__CLONE_SYSCALL_STRING): Delete.
23710 (__INTERNAL_SYSCALL_STRING): Delete.
23711 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23712 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23713 i386.
23714 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23715 (inline_syscall*): Add 'err' argument.
23716 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23717 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23718 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23719 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23720
23721 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23722 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23723
2bc17433
AS
237242011-08-30 Andreas Schwab <schwab@redhat.com>
23725
23726 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23727
fbeb5f4d
JO
237282011-08-29 Jiri Olsa <jolsa@redhat.com>
23729
23730 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23731 directive.
23732
ad69cc26
DM
237332011-08-24 David S. Miller <davem@davemloft.net>
23734
23735 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23736
39dd69df
AS
237372011-08-24 Andreas Schwab <schwab@redhat.com>
23738
23739 * elf/Makefile: Add rules to build and run unload8 test.
23740 * elf/unload8.c: New file.
23741 * elf/unload8mod1.c: New file.
23742 * elf/unload8mod1x.c: New file.
23743 * elf/unload8mod2.c: New file.
23744 * elf/unload8mod3.c: New file.
23745
23746 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23747 it wasn't used.
23748
2c0b250a
DM
237492011-08-23 David S. Miller <davem@davemloft.net>
23750
23751 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23752 subtract stack bias.
23753 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23754 %sp not %fp in calculations.
23755 (_JMPBUF_UNWINDS_ADJ): Likewise.
23756
22044b48
DM
23757 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23758 (aio_suspend): Call it to force an exception region around the
23759 AIO_MISC_WAIT() invocation.
23760
2cae4995
AS
237612011-08-23 Andreas Schwab <schwab@redhat.com>
23762
23763 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23764 backslash.
23765
873a772e
AJ
237662011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23767
23768 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23769 protection macro.
23770 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23771 and <dl-machine.h>.
23772 (Elf64_FuncDesc): Remove.
23773
25ad0df1
DM
237742011-08-22 David S. Miller <davem@davemloft.net>
23775
23776 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23777 sigaltstack check, add missing cfi directives.
23778 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23779 missing cfi directives, and sigaltstack handling.
23780
e888bcbe
AS
237812011-08-16 Andreas Schwab <schwab@redhat.com>
23782
23783 [BZ #11724]
23784 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23785 object is seen twice.
23786 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23787
23788 * elf/Makefile (distribute): Add tst-initorder2.c.
23789 (tests): Add tst-initorder2.
23790 (modules-names): Add tst-initorder2a tst-initorder2b
23791 tst-initorder2c tst-initorder2d. Add rules to build them.
23792 ($(objpfx)tst-initorder2.out): New rule.
23793 * elf/tst-initorder2.c: New file.
23794 * elf/tst-initorder2.exp: New file.
23795
87162f46
AS
237962011-08-22 Andreas Schwab <schwab@redhat.com>
23797
70538b7f
AS
23798 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23799
f55ffe58
AS
23800 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23801 dependencies back to end of function.
23802
87162f46
AS
23803 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23804 $(elfobjdir)/ld.so.
23805
91b392a4
UD
238062011-08-21 Ulrich Drepper <drepper@gmail.com>
23807
23808 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23809 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23810 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23811 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23812 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23813 of __vdso_gettimeofday.
23814 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23815 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23816 attribute_hidden.
23817 (_libc_vdso_platform_setup): Remove initialization of
23818 __vdso_gettimeofday and __vdso_time.
23819
5c43483f
UD
238202011-08-20 Ulrich Drepper <drepper@gmail.com>
23821
775a77e7
UD
23822 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23823 and fgetc_unlocked.
23824 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23825 getc_unlocked.
89f447ed 23826
49c74ba9
UD
23827 * elf/dl-open.c (add_to_global): Report additions to the global scope
23828 for LD_DEBUG=scopes.
23829 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 23830 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 23831
5c43483f
UD
23832 [BZ #13114]
23833 * stdio-common/Makefile (tests): Add bug24.
23834 * stdio-common/bug24.c: New file.
23835
a101b025
AJ
238362011-08-19 Andreas Jaeger <aj@suse.de>
23837
23838 [BZ #13114]
23839 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23840 non-existant file when using close-on-exec mode.
23841
c88f1766
UD
238422011-08-20 Ulrich Drepper <drepper@gmail.com>
23843
0276a718
UD
23844 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23845 the very first instruction.
23846
c88f1766
UD
23847 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23848 the CFI state in the end.
23849 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23850 inclusion of dl-trampoline.h.
23851 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23852
51ccffa0
AS
238532011-08-19 Andreas Schwab <schwab@redhat.com>
23854
94d7165f
AS
23855 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23856 expectations for long double.
23857
51ccffa0
AS
23858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23859 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23860
fd708658 238612011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
23862
23863 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23864 artificual limit depends upon the system page size.
23865
44f0a71e
UD
238662011-08-17 Ulrich Drepper <drepper@gmail.com>
23867
23868 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23869 * resolv/Makefile: Define CFLAGS-libresolv.
23870
8de79a24
AS
238712011-08-17 Andreas Schwab <schwab@redhat.com>
23872
23873 * nss/makedb.c (compute_tables): Make variables used in nested
23874 function static.
23875
27724598
UD
238762011-08-17 Ulrich Drepper <drepper@gmail.com>
23877
c5305d88
UD
23878 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23879 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23880 if buffer was too small.
23881
27724598
UD
23882 * elf/pldd.c (main): Attach to all threads in the process.
23883 Rewrite /proc handling to use *at functions.
23884
076fe015
UD
238852011-08-16 Ulrich Drepper <drepper@gmail.com>
23886
174baab3
UD
23887 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23888 specifies first scope to show.
23889 (dl_open_worker): Update callers. Move printing scope of new
23890 object to before the relocation.
44f0a71e 23891 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
23892 * sysdeps/generic/ldsodefs.h: Update declaration.
23893
076fe015
UD
23894 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23895 string for the scope number.
23896
a60df2c3
UD
238972011-08-14 Ulrich Drepper <drepper@gmail.com>
23898
23899 * nscd/servicescache.c (cache_addserv): Make sure written is always
23900 initialized.
23901
5e4287d1
RM
239022011-08-14 Roland McGrath <roland@hack.frob.com>
23903
85ae0589
RM
23904 * sysdeps/i386/i486/bits/atomic.h
23905 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23906 statement expression, so as to suppress "set but not used" warning.
23907 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23908
69f63097
RM
23909 * string/strncat.c (STRNCAT): Use prototype definition.
23910
675456ef
RM
23911 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23912 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23913 -Iprograms here.
23914 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23915 (localedef-modules): Add localedef.
23916 (locale-modules): Add locale.
23917
5e4287d1
RM
23918 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23919 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23920 to avoid a warning.
23921
9c96ff23
DM
239222011-08-14 David S. Miller <davem@davemloft.net>
23923
23924 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23925 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23926
f9ddf089
UD
239272011-08-13 Ulrich Drepper <drepper@gmail.com>
23928
44f0a71e 23929 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
23930 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23931 * elf/rtld.c (dl_main): Set l_name of vDSO.
23932 Call _dl_show_scope when DL_DEBUG_SCOPES.
23933 (process_dl_debug): Recognize scopes flag and also set it for all.
23934 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23935 Declare _dl_show_scope.
23936
1dc27704
UD
23937 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23938 (do_dlopen): Pass caller_dlopen to dl_open.
23939 (__libc_dlopen_mode): Initialize caller_dlopen.
23940
f9ddf089
UD
23941 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23942 of libc. Make tolower call locale-independent. Optimize a bit by
23943 using isdigit instead of isalnum.
23944 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23945
9ac533d3
UD
239462011-08-12 Ulrich Drepper <drepper@gmail.com>
23947
23948 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23949 was a dependency or dynamically loaded.
23950
89edf2e9
UD
239512011-08-11 Ulrich Drepper <drepper@gmail.com>
23952
8e999d29
UD
23953 * intl/l10nflist.c: Allow architecture-specific pop function.
23954 * sysdeps/x86_64/l10nflist.c: New file.
23955
89edf2e9
UD
23956 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23957 classification.
23958
14d96785
AS
239592011-08-10 Andreas Schwab <schwab@redhat.com>
23960
23961 * include/dirent.h: Add libc_hidden_proto for scandirat and
23962 scandirat64. Don't declare __scandirat64.
23963 * dirent/scandirat.c: Add libc_hidden_def.
23964 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23965 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23966
6761ac04
DM
239672011-08-10 David S. Miller <davem@davemloft.net>
23968
23969 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23970 enum.
23971 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23972 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23973 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23974
c55fbd1e
UD
239752011-08-09 Ulrich Drepper <drepper@gmail.com>
23976
23977 * Versions.def [libc]: Add GLIBC_2.15.
23978 * dirent/Makefile (routines): Add scandirat and scandirat64.
23979 * dirent/Versions [libc]: Export scandirat and scandirat64 for
23980 GLIBC_2.15.
23981 * dirent/dirent.h: Declare scandirat and scandirat64.
23982 * dirent/scandirat.c: New file.
23983 * dirent/scandirat64.c: New file.
23984 * sysdeps/wordsize-64/scandirat.c: New file.
23985 * sysdeps/wordsize-64/scandirat64.c: New file.
23986 * dirent/opendir.c: Define opendirat.
23987 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
23988 using scandirat.
23989 * dirent/scandir64.c: Adjust for scandir.c change.
23990 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
23991 __scandirat64, and __scandir_cancel_handler.
23992 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
23993 additional parameter and use openat instead of open (outside of ld.so).
23994 Add new __opendir as wrapper around __opendirat.
23995 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
23996 here without requiring old scandirat implementation.
23997
879165f2
UD
239982011-08-08 Ulrich Drepper <drepper@gmail.com>
23999
24000 * dirent/scandir.c (cancel_handler): Renamed to
24001 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24002 defined. Adjust users.
24003 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24004 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24005
cb7e923b
UD
240062011-08-04 Ulrich Drepper <drepper@gmail.com>
24007
16292edd
UD
24008 * string/test-string.h (IMPL): Use __STRING to expand name and then
24009 stringify it.
24010
cb7e923b
UD
24011 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24012 of cleanups.
24013
cff82933
LD
240142011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24015
24016 * string/Makefile: Update.
24017 (strop-tests): Append strncat.
24018 * string/test-wcscmp.c: New file.
24019 New comprehensive test for wcscmp.
24020 * string/test-strcmp.c: Update.
24021 (WIDE): New define.
24022
9be9bfcc
AS
240232011-07-22 Andreas Schwab <schwab@redhat.com>
24024
24025 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24026 line.
24027
2e96f1c7
AS
240282011-07-26 Andreas Schwab <schwab@redhat.com>
24029
24030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24031 encoding to ACE if AI_IDN.
24032
85188888
JJ
240332011-08-01 Jakub Jelinek <jakub@redhat.com>
24034
24035 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24036 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24037
5fa16e9b
LD
240382011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24039
24040 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24041 Fix overflow bug in strncat.
24042 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24043
24044 * string/test-strncat.c: Update.
24045 Add new tests for checking overflow bugs.
24046
240472011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24048
24049 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24050 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24051 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24052 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24053 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24054 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24055 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24056 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24057 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24058
24059 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24060 (USE_AS_STRCAT): Define.
24061 Add strcat and strncat support.
24062 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24063
8c1a459f
AS
240642011-07-25 Andreas Schwab <schwab@redhat.com>
24065
24066 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24067 __n bigger than INT_MAX+1.
24068 (__strncmp_g): Likewise.
24069
bba33c28
UD
240702011-07-23 Ulrich Drepper <drepper@gmail.com>
24071
798be72d
UD
24072 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24073 * libio/stido.h: Likewise.
24074
8accd4dc
UD
24075 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24076 (AF_NFC): Define.
24077 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24078 (AF_NFC): Define.
24079
cbff0d96
UD
24080 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24081 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24082 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24083 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24084 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24085
9191c04a
UD
24086 [BZ #13021]
24087 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24088 installed.
24089
bba33c28
UD
24090 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24091 typo.
24092 (_dl_x86_64_save_sse): Likewise.
24093
90f139dd
UD
240942011-07-22 Ulrich Drepper <drepper@gmail.com>
24095
1aae088a
UD
24096 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24097 OSXSAVE.
24098 (_dl_x86_64_save_sse): Likewise.
24099
8e2045f5
UD
24100 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24101
90f139dd
UD
24102 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24103
1d002f25
AS
241042011-07-21 Andreas Schwab <schwab@redhat.com>
24105
24106 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24107 change.
24108 (_dl_x86_64_save_sse): Use correct AVX check.
24109
21137f89
UD
241102011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24111
24112 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24113 bug in strncpy/strncat.
24114 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24115
a65c0b7a
UD
241162011-07-21 Ulrich Drepper <drepper@gmail.com>
24117
24118 * string/tester.c (test_strcat): Add tests for different alignments
24119 of source and destination.
24120 (test_strncat): Likewise.
24121
6986b98a
UD
241222011-07-20 Ulrich Drepper <drepper@gmail.com>
24123
90bb2039
UD
24124 [BZ #12852]
24125 * posix/glob.c (glob): Check passed in values before using them in
24126 expressions to avoid some overflows.
24127 (glob_in_dir): Likewise.
24128
5644ef54
UD
24129 [BZ #13007]
24130 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24131 check for AVX enablement so that we don't crash with old kernels and
24132 new hardware.
24133 * elf/tst-audit4.c: Add same checks here.
24134 * elf/tst-audit6.c: Likewise.
24135
24136 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 24137
bfc9dc9b
AS
241382011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24139
24140 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24141
702e64bb
UD
241422011-07-20 Ulrich Drepper <drepper@gmail.com>
24143
24144 * po/cs.po: Update from translation team.
24145 * po/bg.po: Likewise.
24146
295e904f
MP
241472011-07-12 Marek Polacek <mpolacek@redhat.com>
24148
24149 * misc/sys/cdefs.h: Add support for const attribute.
24150 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24151 to gnu_dev_{major,minor,makedev} functions.
24152
3ff94596
MP
241532011-07-20 Marek Polacek <mpolacek@redhat.com>
24154
24155 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24156
28b59fca
AS
241572011-07-20 Andreas Schwab <schwab@redhat.com>
24158
24159 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24160 strlen results.
24161
19df733e
AK
241622011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24163
24164 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24165 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24166 register in order to avoid conflicts with the soft frame pointer
24167 being held in r11 when necessary.
24168 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24169 (INTERNAL_VSYSCALL_NCS): Likewise.
24170
c8835729
MP
241712011-07-14 Marek Polacek <mpolacek@redhat.com>
24172
24173 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24174 * elf/dl-fini.c (_dl_fini): Adjust caller.
24175 * elf/dl-close.c (_dl_close_worker): Likewise.
24176 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24177
b902330c
MP
241782011-07-15 Marek Polacek <mpolacek@redhat.com>
24179
8991e135
MP
24180 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24181 "aux_cache->nlibs < 0".
24182
b902330c
MP
24183 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24184 in the reload-count case.
24185
99710781
LD
241862011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24187
24188 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24189 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24190 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24191 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24192 * sysdeps/x86_64/multiarch/strcat.S: New file.
24193 * sysdeps/x86_64/multiarch/strncat.S: New file.
24194 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24195 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24196 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24197 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24198 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24199 (USE_AS_STRCAT): Define.
24200 Add strcat and strncat support.
24201 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24202 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24203 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24204 * string/strncat.c: Update.
24205 (USE_AS_STRNCAT): Define.
24206 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24207 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24208 and i7.
24209 * sysdeps/x86_64/multiarch/init-arch.h
24210 (bit_Prefer_PMINUB_for_stringop): New.
24211 (index_Prefer_PMINUB_for_stringop): Likewise.
24212 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24213 bit_Prefer_PMINUB_for_stringop.
24214
7dc6bd90
UD
242152011-07-19 Ulrich Drepper <drepper@gmail.com>
24216
24217 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24218 buffer64.
24219 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24220 of casting of buffer.
24221 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24222 buffer32 and buffer64.
24223 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24224 writes instead of casting of buffer.
24225 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24226 buffer32.
24227 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24228 casting of buffer.
24229
e0e72284
AS
242302011-07-19 Andreas Schwab <schwab@redhat.com>
24231
24232 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24233
feb1eb0b
UD
242342011-07-19 Ulrich Drepper <drepper@gmail.com>
24235
24236 * nscd/nscd.c (termination_handler): Don't do anything for a database
24237 if it has not yet been initialized.
24238
298711ff
UD
242392011-07-18 Ulrich Drepper <drepper@gmail.com>
24240
24241 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24242
242432011-07-15 Marek Polacek <mpolacek@redhat.com>
24244
24245 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24246
f9d68389
UD
242472011-07-18 Ulrich Drepper <drepper@gmail.com>
24248
24249 * po/nl.po: Update from translation team.
24250 * po/sv.po: Likewise.
24251
db290cf5
RM
242522011-07-16 Roland McGrath <roland@hack.frob.com>
24253
24254 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24255 now disallowed by GCC.
5c550700 24256
fd5e21c7
RM
24257 * configure.in (use-default-link): Default to yes if a test -shared
24258 link meets our qualifications.
24259 * configure: Regenerated.
24260
5c550700
RM
24261 * config.make.in (output-format): New variable.
24262 * configure.in: Check for ld --print-output-format support.
24263 * configure: Regenerated.
24264 * Makerules ($(common-objpfx)format.lds)
24265 [$(output-format) != unknown]: Just use $(output-format),
24266 instead of the linker-script munging.
24267
9fa2c032
RM
242682011-07-14 Roland McGrath <roland@hack.frob.com>
24269
a6928d51
RM
24270 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24271 of $(common-objpfx)shlib.lds.
24272 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24273
661607b3
RM
24274 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24275 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24276
9fa2c032
RM
24277 * configure.in (-z relro check): Adjust test code to add a large
24278 writable data section after it.
24279 * configure: Regenerated.
24280
defe9061
RM
242812011-07-11 Roland McGrath <roland@hack.frob.com>
24282
24283 * configure.in (-z relro check): Fix test code to make the variable
24284 truly const.
24285 * configure: Regenerated.
24286
319b9ad4
UD
242872011-07-11 Ulrich Drepper <drepper@gmail.com>
24288
24289 * nscd/nscd.h (struct traced_file): Define.
24290 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24291 elements. Add traced_files.
24292 (inotify_fd): Declare.
24293 (register_traced_file): Declare.
24294 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24295 (inotify_fd): Export.
24296 (resolv_conf_descr): Remove.
24297 (nscd_init): Move inotify descriptor creation to main.
24298 Don't register files for notification here.
24299 (register_traced_file): New function.
24300 (invalidate_cache): Don't use reset_res to determine whether to call
24301 res_init, go through the list of registered files.
24302 (main_loop_poll): The inotify descriptors are now stored in the
24303 structures for the traced files.
24304 (main_loop_epoll): Likewise
24305 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24306 to __nss_disable_nscd.
24307 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24308 for a database anymore. Check the records for all the registered
24309 files instead.
24310 * nss/Makefile (libnss_files-routines): Add files-init.
24311 (libnss_db-routines): Add db-init.
24312 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24313 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24314 * nss/nss_db/db-init.c: New file.
24315 * nss/nss_files/files-init.c: New file.
24316 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24317 __nss_lookup_function.
24318 (__nss_lookup_function): Call nss_load_library.
24319 (nss_load_all_libraries): New function.
24320 (__nss_disable_nscd): Take parameter with callback function for files
24321 to register. Set is_nscd. Load all the DSOs for the NSS modules
24322 used for the cached services.
24323 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24324 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24325 options for features to all the files in nscd.
24326
24327 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24328
23bee3e8
RM
243292011-07-10 Roland McGrath <roland@hack.frob.com>
24330
24331 * csu/elf-init.c (__libc_csu_init): Comment typo.
24332
46a5b7f0
UD
243332011-07-09 Ulrich Drepper <drepper@gmail.com>
24334
24335 * po/pl.po: Update from translation team.
24336 * po/ja.po: Likewise.
24337 * po/ru.po: Likewise.
24338 * po/ko.po: Likewise.
24339 * po/fr.po: Likewise.
24340
d30cf5bb
RM
243412011-07-09 Roland McGrath <roland@hack.frob.com>
24342
113ddea4
RM
24343 * configure.in (.ctors/.dtors header and trailer check):
24344 Use an empirical test on a built program.
24345 * configure: Regenerated.
24346
574920b4
RM
24347 * configure.in (-z relro check): Use an empirical test on a built DSO.
24348 Detect, but do not require, on ia64.
24349 * configure: Regenerated.
24350
d30cf5bb
RM
24351 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24352 Update tests that use readelf to use $READELF instead.
24353 * configure: Regenerated.
24354
8538fdb3
UD
243552011-07-08 Ulrich Drepper <drepper@gmail.com>
24356
24357 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24358 if the result is not used.
24359
04d08991
AJ
243602011-07-05 Andreas Jaeger <aj@suse.de>
24361
24362 [BZ#9696]
24363 * stdlib/tst-strtod.c: Add testcase.
24364
de283087
AD
243652011-07-07 Ulrich Drepper <drepper@gmail.com>
24366
4e5f31c8 24367 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 24368 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
24369 The latter has a higher limit. Take additional parameter to pass to
24370 the new function.
24371 (__pathconf): Pass file to __statfs_link_max.
24372 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24373 __statfs_link_max.
24374 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24375 __statfs_link_max.
24376
de283087
AD
24377 [BZ #12868]
24378 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24379 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24380 Handle Lustre.
24381 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24382 (__statfs_filesize_max): Likewise.
24383 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24384
c75fa153
AJ
243852011-07-05 Andreas Jaeger <aj@suse.de>
24386
24387 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24388
1a544854
UD
243892011-07-06 Marek Polacek <mpolacek@redhat.com>
24390
24391 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24392 `status' variable.
24393 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24394 Likewise.
24395
6f0eec67
UD
243962011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24397
24398 * Makefile (strop-tests): Add strncat.
24399 * string/test-strncat.c: New file.
24400
aae30307
UD
244012011-06-30 Marek Polacek <mpolacek@redhat.com>
24402
24403 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24404
c0cfb5eb
UD
244052011-06-21 Andreas Jaeger <aj@suse.de>
24406
24407 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24408 Copy rule from iconvdata/Makefile.
24409
01636b21
UD
244102011-07-06 Ulrich Drepper <drepper@gmail.com>
24411
24412 [BZ #12922]
24413 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24414 but no long options are defined, just return 'W'.
24415
9895c8bc
UD
244162011-06-22 Marek Polacek <mpolacek@redhat.com>
24417
24418 [BZ #9696]
24419 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24420
5d4cf042
UD
244212011-07-06 Ulrich Drepper <drepper@gmail.com>
24422
24423 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24424 netgroups to read.
960e5535 24425 (innetgr): Likewise.
5d4cf042 24426
751eb97e
RM
244272011-07-05 Roland McGrath <roland@hack.frob.com>
24428
24429 * config.make.in (install_root): Default to $(DESTDIR).
24430
f15f1e45
UD
244312011-07-05 Ulrich Drepper <drepper@gmail.com>
24432
24433 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24434
4e34ac6a
RM
244352011-07-02 Roland McGrath <roland@hack.frob.com>
24436
5e9b6af4
RM
24437 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24438
84f9ea0f
RM
24439 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24440 containing directory rather than embedding absolute directory names.
24441
ea5ee9f7
RM
24442 * scripts/check-local-headers.sh: Rewritten using awk.
24443 Match by word, not by line. Print error messages for matches.
24444 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24445
1b74661a
RM
24446 * Makerules [shlib-lds-flags empty]:
24447 ($(common-objpfx)libc_pic.opts): New target.
24448 ($(common-objpfx)libc_pic.os.clean): New target.
24449 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24450
24451 * config.make.in (OBJCOPY): New variable.
24452 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24453 * configure: Regenerated.
24454
f781ef40
RM
24455 * config.make.in (use-default-link): New variable.
24456 * configure.in (use_default_link): Grok --with-default-link to set it.
24457 * configure: Regenerated.
24458 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24459 (shlib-lds, shlib-lds-flags): Define to empty.
24460
2d4fa81e
RM
24461 * Makerules (shlib-lds): New variable.
24462 (shlib-lds-flags): New variable.
24463 (build-shlib, build-moduile, build-module-asneeded): Use it.
24464 ($(common-objpfx)libc.so): Use $(shlib-lds).
24465 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24466 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24467
31fffa6b
RM
24468 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24469 DT_FLAGS/DT_FLAGS_1 with zero flags.
24470
4e34ac6a
RM
24471 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24472 linker script munging.
24473
fcfc776b
UD
244742011-07-02 Ulrich Drepper <drepper@gmail.com>
24475
24476 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24477 as 128-bit value.
24478 * crypt/sha512.c (sha512_process_block): Perform total addition using
24479 128-bit if possible.
24480 (__sha512_finish_ctx): Likewise.
24481 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24482 as 64-bit value.
24483 * crypt/sha256.c (SWAP64): Define.
24484 (sha256_process_block): Perform total addition using 64-bit if
24485 possible.
24486 (__sha256_finish_ctx): Likewise.
24487
99231d9a
UD
244882011-07-01 Ulrich Drepper <drepper@gmail.com>
24489
24490 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24491 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24492 * nscd/hstcache.c (cache_addhst): Likewise.
24493 * nscd/grpcache.c (cache_addgr): Likewise.
24494 * nscd/aicache.c (addhstaiX): Likewise
24495 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24496
445b4a53
TK
244972011-07-01 Thorsten Kukuk <kukuk@suse.de>
24498
24499 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24500 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24501 * nscd/hstcache.c (cache_addhst): Likewise.
24502 * nscd/grpcache.c (cache_addgr): Likewise.
24503 * nscd/aicache.c (addhstaiX): Likewise
24504
6d4d8e8e
AS
245052011-07-01 Andreas Schwab <schwab@redhat.com>
24506
24507 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24508 domain only when needed.
24509
89f654c5
AS
245102011-06-30 Andreas Schwab <schwab@redhat.com>
24511
24512 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24513 is always restored.
24514
cf3b23ff
UD
245152011-06-29 Ulrich Drepper <drepper@gmail.com>
24516
24517 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24518 are re-adding the entry.
24519 * nscd/servicescache.c (cache_addserv): Likewise.
24520
751626f9
AJ
245212011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24522
24523 * sysdeps/generic/dl-irel.h: fix protection against multiple
24524 inclusions.
24525 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24526
9113ea1f
UD
245272011-06-28 Ulrich Drepper <drepper@gmail.com>
24528
5c0b8d90
UD
24529 [BZ #12935]
24530 * malloc/memusage.sh: Fix quoting in message.
24531 * debug/xtrace.sh: Likewise.
24532
9113ea1f
UD
24533 * configure.in: Remove support for --experimental-malloc option, make
24534 it the default.
24535 * config.make.in: Likewise.
24536 * malloc/Makefile: Likewise.
24537
a4172181
AS
245382011-06-27 Andreas Schwab <schwab@redhat.com>
24539
24540 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24541 two-byte characters.
24542
78a7eee7
RM
245432011-06-27 Roland McGrath <roland@hack.frob.com>
24544
62bede13
RM
24545 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24546 AC_CACHE_CHECK invocation.
24547 * configure: Regenerated.
24548
78a7eee7
RM
24549 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24550
5ce33a62
UD
245512011-06-27 Ulrich Drepper <drepper@gmail.com>
24552
034807a9
UD
24553 [BZ #12350]
24554 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24555 bit from old_res_options.
24556
4902da17
UD
24557 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24558
5ce33a62
UD
24559 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24560 value type for setfct.
24561
c2344f56
L
245622011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24563
24564 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24565 __gettimeofday instead of gettimeofday.
24566
68468076
UD
245672011-06-26 Ulrich Drepper <drepper@gmail.com>
24568
24569 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24570
acb0d739
L
245712011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24572
24573 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24574
24575 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24576 info.
24577
8912479f
L
245782011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24579
24580 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24581 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24582 strcpy-sse2-unaligned strncpy-sse2-unaligned
24583 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24584 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24585 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24586 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24587 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24588 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24589 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24590 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24591 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24592 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24593 (STRCPY): Support SSE2 and SSSE3 versions.
24594
d5495a11
UD
245952011-06-24 Ulrich Drepper <drepper@gmail.com>
24596
24597 [BZ #12874]
24598 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24599 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24600 kernels which artificially limit size of requests.
24601
0b1cbaae
L
246022011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24603
24604 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24605 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24606 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24607 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24608 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24609 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24610 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24611 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24612 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24613 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24614 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24615 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24616 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24617 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24618 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24619 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24620 Enable unaligned load optimization for Intel Core i3, i5 and i7
24621 processors.
24622 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24623 Define.
24624 (index_Fast_Unaligned_Load): Define.
24625 (HAS_FAST_UNALIGNED_LOAD): Define.
24626
07f494a0
MP
246272011-06-23 Marek Polacek <mpolacek@redhat.com>
24628
24629 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24630
fa3fc0fe
UD
246312011-06-22 Ulrich Drepper <drepper@gmail.com>
24632
24633 [BZ #12907]
24634 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24635 until it is clear that the information is realy needed.
24636 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24637
e12df166
AS
246382011-06-22 Andreas Schwab <schwab@redhat.com>
24639
24640 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24641
852eb34d
UD
246422011-06-22 Ulrich Drepper <drepper@gmail.com>
24643
84e2a551
UD
24644 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24645 /sys/devices/system/cpu/online if it is usable.
24646
852eb34d
UD
24647 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24648 reading the information from the /proc filesystem to once a second.
24649
6e502e19
UD
246502011-06-21 Andreas Jaeger <aj@suse.de>
24651
24652 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24653 NULL after inclusion of kernel headers.
24654
75d39ff2
UD
246552011-06-21 Ulrich Drepper <drepper@gmail.com>
24656
51f9aa6a
UD
24657 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24658 calls to internal_setent.
24659
c0244a9d
UD
24660 [BZ #12885]
24661 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24662 addresses using gethostbyname4_r ignore IPv4 addresses.
24663
c5e3c2ae
UD
24664 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24665 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24666
75d39ff2
UD
24667 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24668
42675c6f
DM
246692011-06-20 David S. Miller <davem@davemloft.net>
24670
24671 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24672 inclusions.
24673 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24674
24675 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24676 (elf_irel): Use it.
24677 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24678 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24679 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24680 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24681 * sysdeps/x86_64/dl-irel.h: Likewise.
24682
24683 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24684 * elf/dl-sym.c: Likewise.
24685
57912a71
UD
246862011-06-15 Ulrich Drepper <drepper@gmail.com>
24687
24688 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24689 need to dereference resplen2.
24690
ee22793d
AS
246912011-06-14 Andreas Schwab <schwab@redhat.com>
24692
24693 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24694
a9e836b0
UD
246952011-06-15 Ulrich Drepper <drepper@gmail.com>
24696
77fb9117
UD
24697 * Makeconfig: Define vardbdir and inst_vardbdir.
24698 * nss/Makefile: Add rules to install db-Makefile.
24699
40c1b22c
UD
24700 * nss/nss_db/db-XXX.c: Cleanup.
24701
9f2da732
UD
24702 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24703 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24704 GLIBC_PRIVATE.
24705 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24706 * nss/makedb.c: Implement -g option to specify that value strings
24707 are generated and should not be added to table iterated over for
24708 get*ent calls.
24709 * nss/nss_db/db-initgroups.c: New file.
24710
82e9a1f7
UD
24711 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24712 interface.
24713
c41af17e
UD
24714 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24715 (internal_getgrouplist): Adjust to name change.
24716 Update use_initgroups_entry if this is not the first call.
24717 * nss/databases.def: Add initgroups entry.
24718
a9e836b0
UD
24719 * nss/makedb.c (compute_tables): Check result of multiple hash table
24720 sizes to minimize maximum chain length.
24721
2666d441
UD
247222011-06-14 Ulrich Drepper <drepper@gmail.com>
24723
24724 * Versions.def: Add entry for libnss_db.
24725 * shlib-versions: Likewise.
24726 * nss/Makefile: Add rules to build libnss_db.
24727 * nss/Versions: Add libnss_db information. Organize libnss_files
24728 entries better.
24729 * nss/db-Makefile: Add gshadow support. Change rules for the new
24730 makedb progra. Some minor improvements to generate smaller files.
24731 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24732 here from...
24733 * nss/makedb.c: ...here.
24734 Improve database format to be smaller and require less memory at
24735 runtime.
24736 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24737 db anymore.
24738 * nss/nss_db/db-netgrp.c: Likewise.
24739 * nss/nss_db/db-open.c: Likewise.
24740 * nss/nss_files/flies-XXX.x: Adjust comments.
24741 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24742 * nss/nss_files/files-grp.c: Likewise.
24743 * nss/nss_files/files-hosts.c: Likewise.
24744 * nss/nss_files/files-network.c: Likewise.
24745 * nss/nss_files/files-proto.c: Likewise.
24746 * nss/nss_files/files-pwd.c: Likewise.
24747 * nss/nss_files/files-rpc.c: Likewise.
24748 * nss/nss_files/files-service.c: Likewise.
24749 * nss/nss_files/files-sgrp.c: Likewise.
24750 * nss/nss_files/files-spwd.c: Likewise.
24751 * nss/nss_db/db-alias.c: Removed.
24752 * nss/nss_db/dummy-db.h: Removed.
24753
9ee76b5a
UD
247542011-06-02 Ulrich Drepper <drepper@gmail.com>
24755
24756 * nss/makedb.c: Rewritten to not use database library.
24757 * nss/Makefile: Update to build new makedb program.
24758
c71ca1f8
AJ
247592011-06-14 Andreas Jaeger <aj@suse.de>
24760
24761 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24762 memset declaration.
24763
3154bfb8
UD
247642011-06-10 Andreas Schwab <schwab@redhat.com>
24765
24766 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24767 tmpbuf.
24768
b350afab
RM
247692011-06-10 Roland McGrath <roland@hack.frob.com>
24770
decd4e50
RM
24771 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24772 * elf/Makefile ($(objpfx)ld.so): Likewise.
24773
5615eaf2
RM
24774 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24775 Don't list ld.so twice in dependencies.
24776
24777 * posix/bug-regex31.c: Include <stdlib.h>.
24778
24779 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24780
24781 * nis/nss_compat/compat-spwd.c
24782 (getspent_next_nss_netgr): Remove unused variable.
24783 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24784
24785 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24786 nonmembers" output to use the right array.
24787
24788 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24789
24790 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24791
24792 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24793 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24794 * catgets/gencat.c (read_input_file): Likewise.
24795 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24796
24797 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24798 variable definition inside #if's controlling its use.
24799
24800 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24801
24802 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24803
24804 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24805
24806 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24807 unreachable code.
24808
24809 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24810
b68e08db
RM
24811 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24812 * configure: Regenerated.
24813
b350afab
RM
24814 * Makerules: Revert last change.
24815 * elf/Makefile: Likewise.
24816
28368601
RM
248172011-06-09 Roland McGrath <roland@hack.frob.com>
24818
24819 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24820 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24821 (reloc-link): Likewise.
24822
11988f8f
UD
248232011-06-09 Ulrich Drepper <drepper@gmail.com>
24824
24825 * elf/Makefile: Add rules to build pldd.
24826 * elf/pldd.c: New file.
24827 * elf/pldd-xx.c: New file.
24828
e80fab37
UD
248292011-06-07 Ulrich Drepper <drepper@gmail.com>
24830
24831 * version.h: Update for 2.15 development version.
24832
9b849836
DM
248332011-06-07 David S. Miller <davem@davemloft.net>
24834
24835 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24836 ifuncs.
24837 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24838 elf_machine_lazy_rel): Likewise.
24839 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24840 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24841 elf_machine_lazy_rel): Likewise.
24842 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24843 dl_hwcap via passed in argument.
24844 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24845 Likewise.
24846
5a31b283
AK
248472011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24848
24849 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24850
069e52f8
RM
248512011-06-06 Roland McGrath <roland@hack.frob.com>
24852
24853 [BZ #12849]
24854 * manual/fdl-1.1.texi: New file, verbatim from:
24855 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24856 * manual/lgpl-2.1.texi: New file, verbatim from:
24857 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24858 * manual/Makefile (licenses): New variable, list those new file names.
24859 (texis): Use it.
24860 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24861
24862 * manual/fdl.texi: File removed.
24863 * manual/lesser.texi: File removed.
24864 * manual/libc.texinfo (Copying, Documentation License):
24865 Use new @include file names, put @appendix directive before @include.
24866
f16846a5
JJ
248672011-06-04 Jakub Jelinek <jakub@redhat.com>
24868
24869 [BZ #12841]
24870 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24871 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24872 (mq_open): Add __NTH.
24873
3d29045b
L
248742011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24875
24876 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24877 Assume Intel Core i3/i5/i7 processor if AVX is available.
24878
8c297311
UD
248792011-05-31 Ulrich Drepper <drepper@gmail.com>
24880
24881 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24882 typo.
24883
c8fc0c91
UD
248842011-05-31 Andreas Schwab <schwab@redhat.com>
24885
24886 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24887 memory. Use alloca_account. Fix memory leak when retrying.
24888
5b27a807
UD
248892011-05-31 Ulrich Drepper <drepper@gmail.com>
24890
356f8bc6
UD
24891 * version.h (RELEASE): Bump for 2.14 release.
24892 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24893
5b27a807
UD
24894 * config.make.in (RANLIB): Remove entry.
24895
01f16ab0
UD
248962011-05-30 Ulrich Drepper <drepper@gmail.com>
24897
41fce8bd
UD
24898 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24899 (libc.pot): Work around missing support for .ksh extension in xgettext.
24900
4769ae77
UD
24901 [BZ #12684]
24902 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24903 if both request failed.
24904 (send_dg): In case of server errors clear resplen or *resplen2.
24905
6b1e7d19
UD
24906 [BZ #12454]
24907 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24908 when there are multiple maps.
24909 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24910 (_dl_fini): Remove test here.
24911
01f16ab0
UD
24912 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24913
b1ebd700
UD
249142011-05-29 Ulrich Drepper <drepper@gmail.com>
24915
7ae22829
UD
24916 [BZ #12350]
24917 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24918 bit from old_res_options.
24919 (gaih_inet): Likewise.
24920
553149f6 24921 [BZ #11099]
18a84741 24922 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
24923 as signed.
24924
652ffab1
UD
24925 * resolv/res_init.c (res_setoptions): Make the code more compact.
24926
16985fd0
UD
24927 [BZ #11558]
24928 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24929 set RES_USEVC.
24930
0464f746
UD
24931 [BZ #11634]
24932 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24933
7d17596c
UD
24934 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24935
cf6bbbd7
UD
24936 [BZ #11781]
24937 * malloc/malloc.h: Declare malloc hook variables as volatile.
24938
13f1ab36
UD
24939 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24940 in last patch.
24941
b1ebd700
UD
24942 [BZ #11799]
24943 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 24944 raise in the comment.
80e2212d
UD
24945 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24946 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24947 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 24948
ce67228d
UD
249492011-05-28 Ulrich Drepper <drepper@gmail.com>
24950
8887a920
UD
24951 [BZ #12811]
24952 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24953 grow the buffers more if it already has to be sufficient.
24954 (build_wcs_upper_buffer): Likewise.
24955 * posix/regexec.c (check_matching): Likewise.
24956 (clean_state_log_if_needed): Likewise.
24957 (extend_buffers): Don't enlarge buffers beyond size of the input
24958 buffer.
24959 Patches mostly by Emil Wojak <emil@wojak.eu>.
24960 * posix/bug-regex32.c: New file.
24961 * posix/Makefile (tests): Add bug-regex32.
24962
4f031072
UD
24963 * locale/findlocale.c (_nl_find_locale): Return right away if
24964 _nl_explode_name failed.
24965 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24966
d0478f0c
UD
24967 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24968
de81b246
UD
24969 * debug/xtrace.sh: Unify messages.
24970 * malloc/memusage.sh: Likewise.
24971
c738465a
UD
24972 [BZ #12813]
24973 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
24974 time symbol from vDSO. Substitute with vsyscall if not available.
24975 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
24976 __vdso_time.
24977
f1f929d7
UD
24978 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
24979 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
24980 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
24981 Add sendmmsg and internal_sendmmsg.
24982 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
24983 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
24984 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
24985
ce67228d
UD
24986 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
24987 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
24988 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
24989
e57420c6
UD
249902011-05-27 Ulrich Drepper <drepper@gmail.com>
24991
a8509ca5
UD
24992 [BZ #12813]
24993 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
24994 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
24995 available.
24996 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
24997 __vdso_getcpu.
24998
e57420c6
UD
24999 [BZ #12814]
25000 * iconvdata/Makefile (tests): Add bug-iconv9.
25001 * iconvdata/bug-iconv9.c: New file.
25002
4d07db15
AS
250032011-05-27 Andreas Schwab <schwab@redhat.com>
25004
25005 [BZ #12814]
25006 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25007
ea486f69
JJ
250082011-05-25 Jakub Jelinek <jakub@redhat.com>
25009
25010 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25011 (struct user_regs_struct): Change intcs field back to cs.
25012
6f038433
UD
250132011-05-25 Ulrich Drepper <drepper@gmail.com>
25014
25015 * po/ja.po: Update from translation team.
25016
67f86a25
UD
250172011-05-23 Ulrich Drepper <drepper@gmail.com>
25018
25019 [BZ #12795]
25020 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25021 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25022
def7fbd6
AS
250232011-05-20 Andreas Schwab <schwab@redhat.com>
25024
25025 * stdlib/longlong.h: Update from GCC.
25026
f50ef8f1
AS
250272011-05-23 Andreas Schwab <schwab@redhat.com>
25028
25029 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25030 parameter name.
25031 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25032 Add parameter name.
25033 (__sysconf): Pass it down.
25034
de7ce8f1
UD
250352011-05-22 Ulrich Drepper <drepper@gmail.com>
25036
f2962a71
UD
25037 [BZ #12671]
25038 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25039 some situations.
25040 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25041 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25042 add in in __libc_use_alloca calls. Adjust callers.
25043 (glob): Use malloc in some situations.
25044
de7ce8f1
UD
25045 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25046 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25047 pltexit.
25048
aec84f53
UD
250492011-05-21 Ulrich Drepper <drepper@gmail.com>
25050
05bb4a68
UD
25051 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25052 and CLOCK_BOOTTIME_ALARM.
25053
7ea72f99
UD
25054 [BZ #12782]
25055 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25056 is returned.
25057
7e4afad5
UD
25058 * string/_strerror.c (__strerror_r): Print negative errors as signed
25059 numbers.
25060
8e211fec
UD
25061 [BZ #12777]
25062 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25063 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25064 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25065
f7d82dc9
UD
25066 * configure.in: Fix typo in redirection and correct removal of test
25067 files in two cases.
25068
cc9e536d
UD
25069 [BZ #12788]
25070 * locale/setlocale.c (new_composite_name): Fix test to check for
25071 identical name of all categories.
25072
aec84f53
UD
25073 [BZ #12792]
25074 * libio/filedoalloc.c (local_isatty): New function.
25075 (_IO_file_doallocate): Use local_isatty.
25076 * stdio-common/perror.c (perror): In case a new stream is used
25077 forward the stream error.
25078 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25079 error flag.
25080
78e64fdc
RT
250812011-05-20 Ulrich Drepper <drepper@gmail.com>
25082
34a9094f
UD
25083 [BZ #11869]
25084 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25085 alloca.
25086 * include/alloca.h (extend_alloca_account): Define.
25087
78e64fdc
RT
25088 [BZ #11857]
25089 * posix/regex.h: Fix comments with documentation of user-accessible
25090 fields after compilation and describe correct free'ing of pattern
25091 after re_compile_pattern.
25092 Patch by Reuben Thomas <rrt@sc3d.org>.
25093
457bddfc
RA
250942011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25095
25096 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25097 and -mno-altivec to prevent the compiler from using Altivec and/or
25098 VSX instructions when the corresponding registers are not available.
25099
a4527b51
AS
251002011-05-19 Andreas Schwab <schwab@redhat.com>
25101
25102 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25103
ed690b2f
UD
251042011-05-19 Ulrich Drepper <drepper@gmail.com>
25105
25106 * libio/freopen.c (freopen): Use __dup2, not dup2.
25107 * libio/freopen64.c (freopen64): Likewise.
25108
8db73634
L
251092011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25110
25111 [BZ #12775]
25112 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25113 * math/Makefile (tests): Add test-powl.
25114 (CFLAGS-test-powl.c): Define.
25115 * math/test-powl.c: New file.
25116
0a197a9d
L
251172011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25118
25119 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25120
ee30c380
UD
251212011-05-17 Ulrich Drepper <drepper@gmail.com>
25122
25123 [BZ #11837]
25124 * iconvdata/gb18030.c: Update to GB18020-2005.
25125
6ce75379
UD
251262011-05-16 Ulrich Drepper <drepper@gmail.com>
25127
a4b89fd8
AR
25128 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25129 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25130 Patch by Aharon Robbins <arnold@skeeve.com>.
25131
ea389b12
UD
25132 [BZ #11892]
25133 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25134 on the stack.
25135
68a3f91f
UD
25136 [BZ #11895]
25137 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25138 through underflows.
25139
15cc7dd1
UD
25140 [BZ #12766]
25141 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25142 point to strings before performing equality test for error_one_per_line
25143 mode.
25144
f3799213
UD
25145 [BZ #11697]
25146 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25147
d79a9c94
UD
25148 [BZ #11820]
25149 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25150 (struct user_fpregs_struct): Avoid __uint*_t types.
25151
56e5eb46
UD
25152 [BZ #6420]
25153 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25154 symbol info. Use it instead of calling _dl_addr locally.
25155 (lock_and_info): New function.
25156 (tr_freehook): Call lock_and_info and pass symbol info as additional
25157 parameter to tr_where.
25158 (tr_mallochook): Likewise.
25159 (tr_reallochook): Likewise.
25160 (tr_memalignhook): Likewise.
25161
6ce75379
UD
25162 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25163 used and couldn't be at all thread-safe.
25164
f8a3b5bf
UD
251652011-05-15 Ulrich Drepper <drepper@gmail.com>
25166
94b7cc37
UD
25167 * libio/freopen.c (freopen): Don't close old file descriptor
25168 before the new one is opened. Instead dup the new file descriptor
25169 to the old one after the new stream is created.
25170 * libio/freopen64.c (freopen64): Likewise.
25171 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25172 * libio/fileops.c (_IO_new_file_close_it): Handle new
25173 _IO_FLAGS2_NOCLOSE flag.
25174 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25175 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25176 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25177 _IO_FLAGS2_NOCLOSE flag.
25178 * include/unistd.h: Add hidden_proto for dup3.
25179 Define __have_dup3.
25180 * io/dup3.c: Define hidden symbol.
25181 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25182
bd25564e
UD
25183 [BZ #7101]
25184 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25185 when an incomplete long option is used.
25186 * posix/tst-getopt_long1.c: New file.
25187 * posix/Makefile (tests): Add tst-getopt_long1.
25188
c84cfef4
UD
25189 [BZ #10138]
25190 * scripts/config.guess: Update from autoconf-2.68.
25191 * scripts/config.sub: Likewise.
25192
3b85df27
UD
25193 [BZ #10157]
25194 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25195 tests into ...
25196 (has_cpuclock): ...this. New function.
25197 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25198 macro here based on has_cpuclock code.
25199
15a856b1
UD
25200 [BZ #10149]
25201 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25202 First byte (not low byte) is now always NUL.
25203 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25204
05f399e6
UD
25205 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25206 Use non-cancelable interfaces.
25207
10a52685 25208 [BZ #9809]
94ecc67d
UD
25209 * locale/iso-639.def: Add entry for Sorani.
25210
f8a3b5bf
UD
25211 [BZ #11901]
25212 * include/stdlib.h: Move include protection to the right place.
25213 Define abort_msg_s. Declare __abort_msg with it.
25214 * stdlib/abort.c (__abort_msg): Adjust type.
25215 * assert/assert.c (__assert_fail_base): New function. Majority
25216 of code from __assert_fail. Allocate memory for __abort_msg with
25217 mmap.
25218 (__assert_fail): Now call __assert_fail_base.
25219 * assert/assert-perr.c: Remove bulk of implementation. Use
25220 __assert_fail_base.
25221 * include/assert.hL Declare __assert_fail_base.
25222 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25223 mmap.
25224 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25225
1af4e298
UD
252262011-05-14 Ulrich Drepper <drepper@gmail.com>
25227
f8a3b5bf 25228 [BZ #11952]
d26dfc60
MG
25229 [BZ #12453]
25230 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25231 until all modules are registered in the DTV.
25232 * elf/Makefile: Add rules to build and run tst-tls19.
25233 * elf/tst-tls19.c: New file.
25234 * elf/tst-tls19mod1.c: New file.
25235 * elf/tst-tls19mod2.c: New file.
25236 * elf/tst-tls19mod3.c: New file.
25237 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25238
2fc54d6f
UD
25239 [BZ #12083]
25240 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25241 correctly.
25242
98d76b46
UD
25243 [BZ #12601]
25244 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25245 two-byte sequence errors.
25246 * iconvdata/Makefile (tests): Add bug-iconv8.
25247 * iconvdata/bug-iconv8.c: New file.
25248
da3c19ef
UD
25249 [BZ #12626]
25250 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25251 buf2 definition.
25252
ca408c15
UD
25253 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25254
d6f67f7d
UD
25255 [BZ #12432]
25256 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25257 (dummy_getcfa): New function.
25258 (init): Get _Unwind_GetCFA address, use dummy if not found.
25259 (backtrace_helper): In recursion check, also check whether CFA changes.
25260 (__backtrace): Completely initialize arg.
25261
1af4e298 25262 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
25263 storing incomplete byte sequence in state object. Avoid testing for
25264 guaranteed too small input if we know there is enough data available.
1af4e298 25265
da62f81b
AS
252662011-05-11 Andreas Schwab <schwab@redhat.com>
25267
25268 * Makeconfig (+link-pie): Indent.
25269 * Rules (binaries-pie): Define if $(have-fpie) and
25270 $(build-shared).
25271 (binaries-shared): Also filter out $(binaries-pie).
25272 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25273 * nscd/Makefile (others-pie): Add nscd.
25274 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25275 ($(objpfx)nscd): Remove command override.
25276 * login/Makefile (others-pie): Add pt_chown.
25277 ($(objpfx)pt_chown): Remove command override.
25278 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25279 remove command overrides.
25280
fcabc0f8
UD
252812011-05-13 Ulrich Drepper <drepper@gmail.com>
25282
20030ae6
UD
25283 * libio/tst_putwc.c: Fix error messages.
25284
fcabc0f8
UD
25285 [BZ #12724]
25286 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25287 currently writing and seek to current position when not.
25288 * libio/Makefile (tests): Add bug-fclose1.
25289 * libio/bug-fclose1.c: New file.
25290
320a5dc0
PB
252912011-05-12 Ulrich Drepper <drepper@gmail.com>
25292
25293 [BZ #12511]
25294 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25295 don't set DF_1_NODELETE here.
25296 (do_lookup_x): When entering new entry test for copy relocation
25297 and if necessary set DF_1_NODELETE flag.
25298 * elf/tst-unique4.cc: New file.
25299 * elf/tst-unique4.h: New file.
25300 * elf/tst-unique4lib.cc: New file.
25301 * elf/Makefile: Add rules to build and run tst-unique4.
25302 Patch by Piotr Bury <pbury@goahead.com>.
25303
22836f52
UD
253042011-05-11 Ulrich Drepper <drepper@gmail.com>
25305
f574184a
UD
25306 [BZ #12052]
25307 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25308
e1fb097f
UD
25309 [BZ #12625]
25310 * misc/mntent_r.c (addmntent): Flush the stream after the output
25311
22836f52
UD
25312 [BZ #12393]
25313 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25314 (is_trusted_path_normalize): Skip initial colon. Append slash
25315 to empty buffer. Duplicate is_trusted_path code but allow
25316 constructed patch to be prefix.
25317 (is_dst): Allow $ORIGIN followed by /.
25318 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25319 Correct testing of result of is_trusted_path_normalize
25320 (decompose_rpath): Fix warning.
25321
7b3b0b2a
UD
253222011-05-10 Ulrich Drepper <drepper@gmail.com>
25323
25324 [BZ #11257]
25325 * grp/initgroups.c (internal_getgrouplist): When we found the service
25326 list through the initgroups entry in nsswitch.conf do not always
25327 continue on a successful lookup. Don't always use the
eac80ce2 25328 __nss_group_database value if it is set.
7b3b0b2a
UD
25329 * nss/nsswitch.conf (initgroups): Change action for successful db
25330 lookup to continue for compatibility.
25331
2a81eaa5
UD
253322011-05-09 Ulrich Drepper <drepper@gmail.com>
25333
be97a69e
UD
25334 [BZ #11532]
25335 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25336 and CP774 modules.
25337 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25338 and CP774 modules.
25339 * iconvdata/tst-tables.sh: Likewise.
25340 * iconvdata/cp770.c: New file.
25341 * iconvdata/cp771.c: New file.
25342 * iconvdata/cp772.c: New file.
25343 * iconvdata/cp773.c: New file.
25344 * iconvdata/cp774.c: New file.
25345 * iconvdata/testdata/CP770: New file.
25346 * iconvdata/testdata/CP770..UTF8: New file.
25347 * iconvdata/testdata/CP771: New file.
25348 * iconvdata/testdata/CP771..UTF8: New file.
25349 * iconvdata/testdata/CP772: New file.
25350 * iconvdata/testdata/CP772..UTF8: New file.
25351 * iconvdata/testdata/CP773: New file.
25352 * iconvdata/testdata/CP773..UTF8: New file.
25353 * iconvdata/testdata/CP774: New file.
25354 * iconvdata/testdata/CP774..UTF8: New file.
25355
25356 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25357 END CHARMAP line.
25358 * iconvdata/gen-8bit-gap.sh: Likewise.
25359 * iconvdata/gen-8bit.sh: Likewise.
25360
c1e9e399
UD
25361 * locale/iso-639.def: Add ary entry.
25362
24c55fb3 25363 [BZ #11258]
96b4b1b0
UD
25364 * locale/C-translit.h.in: Add U20A1 transliteration.
25365
bdc2f971
KB
25366 [BZ #12178]
25367 * locale/iso-639.def: Add wae entry.
25368 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25369
2952b117
UD
25370 [BZ #12545]
25371 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25372 for n.
25373
2a81eaa5
UD
25374 [BZ #12711]
25375 * locale/C-translit.h.in: Add entry for U20B9.
25376 Patch by pravin.d.s@gmail.com.
25377
28377d1b
UD
253782011-05-08 Ulrich Drepper <drepper@gmail.com>
25379
7fb90fb8
UD
25380 [BZ #12713]
25381 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25382 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
25383 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25384 in rtld. Use *stat64.
7fb90fb8 25385 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 25386 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 25387 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
25388 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25389 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25390 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25391 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25392 __fstatat64 macros.
7fb90fb8
UD
25393 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25394 * dirent/rewinddir.c: Add libc_hidden_def.
25395 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 25396 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 25397
28377d1b
UD
25398 * include/dirent.h (__alloc_dir): Add flags parameter.
25399 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25400 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25401 __alloc_dir.
25402 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25403 from fdopendir if O_CLOEXEC is already set.
25404
66bdbaa4
AM
254052011-03-15 Alan Modra <amodra@gmail.com>
25406
25407 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25408 l_tls_firstbyte_offset non-zero. Save padding offset in
25409 l_tls_firstbyte_offset for later use.
25410 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25411 freeing static tls block.
25412
95721191
JN
254132011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25414
25415 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25416 where #ifdef was intended. The intent is to prevent ARG_MAX from
25417 being defined by the kernel headers.
25418
f87dfb1f
UD
254192011-05-07 Ulrich Drepper <drepper@gmail.com>
25420
25421 [BZ #12734]
25422 * resolv/resolv.h: Define RES_NOTLDQUERY.
25423 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25424 no-tld-query and set RES_NOTLDQUERY.
25425 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25426 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25427 modern BIND to search name as TLD unless forbidden.
25428
47c3cd7a
UD
254292011-05-07 Petr Baudis <pasky@suse.cz>
25430 Ulrich Drepper <drepper@gmail.com>
25431
25432 [BZ #12393]
25433 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25434 (is_trusted_path): ...to here.
c1e9ea35 25435 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 25436 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 25437 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 25438
8a35c912
PP
254392011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25440
25441 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25442 __BEGIN/__END_DECLS.
25443
acd41f47
UD
254442011-05-06 Ulrich Drepper <drepper@gmail.com>
25445
25446 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25447 NSS_STATUS_NOTFOUND if no record was found.
25448
597df647
AS
254492011-05-05 Andreas Schwab <schwab@redhat.com>
25450
25451 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25452 (headers-not-in-tirpc): Remove rpc/netdb.h
25453 * resolv/netdb.h: Revert last change.
25454
b9af1301
PP
254552011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25456
25457 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25458 circular dependency between libgcc.a and libc.a.
25459
4e34d5f5
AS
254602011-05-05 Andreas Schwab <schwab@redhat.com>
25461
25462 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25463 * nis/Makefile: Don't install rpcsvc/*.
25464 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25465 instead of <rpc/types.h>.
25466 (MAXHOSTNAMELEN): Define.
25467
00ee369c
AS
254682011-05-03 Andreas Schwab <schwab@redhat.com>
25469
25470 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25471
0b592a30
MB
254722011-04-28 Maciej Babinski <mbabinski@google.com>
25473
25474 [BZ #12714]
25475 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25476 gethostbyname4_r when IPv6 results are possible.
25477
6e04cbbe
UD
254782011-05-02 Ulrich Drepper <drepper@gmail.com>
25479
25480 [BZ #12723]
25481 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25482 _PC_PIPE_BUF handling.
25483
e4ecafe0
BH
254842011-04-30 Bruno Haible <bruno@clisp.org>
25485
25486 [BZ #12717]
25487 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25488 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25489 to 'int'.
25490 * inet/getnameinfo.c (getnameinfo): Likewise.
25491
125ee683
UD
254922011-04-29 Ulrich Drepper <drepper@gmail.com>
25493
25494 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25495 to groups setting in database lookup.
25496 * nss/nsswitch.conf: Add initgroups entry.
25497
b722481a
EB
254982011-04-22 Ulrich Drepper <drepper@gmail.com>
25499
25500 [BZ #12685]
25501 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25502 mode string.
25503 Patch by Eric Blake <eblake@redhat.com>.
25504
4df46dbd
L
255052011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25506
25507 * sunrpc/Makefile (need-export-routines): Add svc_run.
25508 (routines): Remove svc_run.
25509 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25510 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25511 * sunrpc/svc_run.c (svc_run): Likewise.
25512 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25513
e84142d2
UD
255142011-04-21 Ulrich Drepper <drepper@gmail.com>
25515
25516 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25517 problem in reallocation in last patch.
25518
877175d8
UD
255192011-04-20 Ulrich Drepper <drepper@gmail.com>
25520
25521 * sunrpc/Makefile: Move inclusion of Rules.
25522
ab8eed78
UD
255232011-04-19 Ulrich Drepper <drepper@gmail.com>
25524
25525 * nss/nss_files/files-initgroups.c: New file.
25526 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25527 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25528 _nss_files_initgroups_dyn.
25529
e3d8f584
RS
255302011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25531
25532 * elf/elf.h (R_ARM_IRELATIVE): Define.
25533
af190f45
UD
255342011-04-19 Ulrich Drepper <drepper@gmail.com>
25535
25536 * po/ru.po: Update from translation team.
25537
53cf59ef
UD
255382011-04-17 Ulrich Drepper <drepper@gmail.com>
25539
25540 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25541 dependencies.
25542
4c559bcd
MF
255432011-02-06 Mike Frysinger <vapier@gentoo.org>
25544
25545 [BZ #12653]
25546 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25547 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25548 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25549 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25550 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25551
4420675c
AS
255522011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25553
25554 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25555 differing bytes.
25556 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25557 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25558 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25559
75ea32ab
UD
255602011-04-17 Ulrich Drepper <drepper@gmail.com>
25561
25562 [BZ #12420]
25563 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25564 storing it.
25565 * stdlib/bug-getcontext.c: New file.
25566 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25567
27390476
AK
255682011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25569
25570 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25571 instructions into .machine "z9-109".
25572 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25573 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25574
10442705
AK
255752011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25576
25577 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25578 between environment variables and auxiliary vector.
25579
7b57bfe5
UD
255802011-04-16 Ulrich Drepper <drepper@gmail.com>
25581
25582 * Makefile: Add rules to build linkobj/libc.so.
25583 * include/libc-symbols.h: Define libc_hidden_nolink.
25584 * include/rpc/auth.h: Mark functions which are to be hidden.
25585 * include/rpc/auth_des.h: Likewise.
25586 * include/rpc/auth_unix.h: Likewise.
25587 * include/rpc/clnt.h: Likewise.
25588 * include/rpc/des_crypt.h: Likewise.
25589 * include/rpc/key_prot.h: Likewise.
25590 * include/rpc/pmap_clnt.h: Likewise.
25591 * include/rpc/pmap_prot.h: Likewise.
25592 * include/rpc/pmap_rmt.h: Likewise.
25593 * include/rpc/rpc_msg.h: Likewise.
25594 * include/rpc/svc.h: Likewise.
25595 * include/rpc/svc_auth.h: Likewise.
25596 * include/rpc/xdr.h: Likewise.
25597 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25598 * nss/Makefile: Likewise.
25599 * sunrpc/Makefile: Don't install headers. Build library with normal
25600 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25601 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25602 for the compat linking library. Remove use of INTDEF/INTUSE.
25603 * sunrpc/auth_none.c: Likewise.
25604 * sunrpc/auth_unix.c: Likewise.
25605 * sunrpc/authdes_prot.c: Likewise.
25606 * sunrpc/authuxprot.c: Likewise.
25607 * sunrpc/clnt_gen.c: Likewise.
25608 * sunrpc/clnt_perr.c: Likewise.
25609 * sunrpc/clnt_raw.c: Likewise.
25610 * sunrpc/clnt_simp.c: Likewise.
25611 * sunrpc/clnt_tcp.c: Likewise.
25612 * sunrpc/clnt_udp.c: Likewise.
25613 * sunrpc/clnt_unix.c: Likewise.
25614 * sunrpc/des_crypt.c: Likewise.
25615 * sunrpc/des_soft.c: Likewise.
25616 * sunrpc/get_myaddr.c: Likewise.
25617 * sunrpc/key_call.c: Likewise.
25618 * sunrpc/key_prot.c: Likewise.
25619 * sunrpc/netname.c: Likewise.
25620 * sunrpc/pm_getmaps.c: Likewise.
25621 * sunrpc/pm_getport.c: Likewise.
25622 * sunrpc/pmap_clnt.c: Likewise.
25623 * sunrpc/pmap_prot.c: Likewise.
25624 * sunrpc/pmap_prot2.c: Likewise.
25625 * sunrpc/pmap_rmt.c: Likewise.
25626 * sunrpc/publickey.c: Likewise.
25627 * sunrpc/rpc_cmsg.c: Likewise.
25628 * sunrpc/rpc_common.c: Likewise.
25629 * sunrpc/rpc_dtable.c: Likewise.
25630 * sunrpc/rpc_prot.c: Likewise.
25631 * sunrpc/rpc_thread.c: Likewise.
25632 * sunrpc/rtime.c: Likewise.
25633 * sunrpc/svc.c: Likewise.
25634 * sunrpc/svc_auth.c: Likewise.
25635 * sunrpc/svc_authux.c: Likewise.
25636 * sunrpc/svc_raw.c: Likewise.
25637 * sunrpc/svc_run.c: Likewise.
25638 * sunrpc/svc_simple.c: Likewise.
25639 * sunrpc/svc_tcp.c: Likewise.
25640 * sunrpc/svc_udp.c: Likewise.
25641 * sunrpc/svc_unix.c: Likewise.
25642 * sunrpc/svcauth_des.c: Likewise.
25643 * sunrpc/xcrypt.c: Likewise.
25644 * sunrpc/xdr.c: Likewise.
25645 * sunrpc/xdr_array.c: Likewise.
25646 * sunrpc/xdr_float.c: Likewise.
25647 * sunrpc/xdr_intXX_t.c: Likewise.
25648 * sunrpc/xdr_mem.c: Likewise.
25649 * sunrpc/xdr_rec.c: Likewise.
25650 * sunrpc/xdr_ref.c: Likewise.
25651 * sunrpc/xdr_sizeof.c: Likewise.
25652 * sunrpc/xdr_stdio.c: Likewise.
25653
e6c61494
UD
256542011-04-10 Ulrich Drepper <drepper@gmail.com>
25655
25656 [BZ #12650]
25657 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25658 * sysdeps/ia64/dl-tls.h: Likewise.
25659 * sysdeps/powerpc/dl-tls.h: Likewise.
25660 * sysdeps/s390/dl-tls.h: Likewise.
25661 * sysdeps/sh/dl-tls.h: Likewise.
25662 * sysdeps/sparc/dl-tls.h: Likewise.
25663 * sysdeps/x86_64/dl-tls.h: Likewise.
25664 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25665
34fe483e
AS
256662011-03-14 Andreas Schwab <schwab@redhat.com>
25667
25668 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25669 rpath element also skip the following colon.
25670 (expand_dynamic_string_token): Add is_path parameter and pass
25671 down to DL_DST_REQUIRED and _dl_dst_substitute.
25672 (decompose_rpath): Call expand_dynamic_string_token with
25673 non-zero is_path. Ignore empty rpaths.
25674 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25675 with zero is_path.
25676
f12a32e6
AS
256772011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25678
25679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25680 Make cancelable.
25681
38a7d692
UD
256822011-04-09 Ulrich Drepper <drepper@gmail.com>
25683
25684 [BZ #12655]
25685 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25686 Patch by Filipe David Manana <fdmanana@apache.org>.
25687
e451d22b
AS
256882011-04-07 Andreas Schwab <schwab@redhat.com>
25689
25690 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25691 Maintain aligned stack.
25692 (CHECK_RSP): Remove unused macro.
25693
dedc7c7b
UD
256942011-04-03 Ulrich Drepper <drepper@gmail.com>
25695
25696 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25697 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25698
94521213
UD
256992011-04-02 Ulrich Drepper <drepper@gmail.com>
25700
25701 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25702
8cb700c0 25703 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 25704
0354e355
L
257052011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25706
25707 [BZ #12518]
25708 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25709 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25710 * sysdeps/x86_64/memmove.c: New file.
25711 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25712 (memcpy): Renamed to ...
25713 (__new_memcpy): This.
25714 (memcpy): Provide GLIBC_2_14 memcpy.
25715 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25716 (memcpy): Provide GLIBC_2_2_5 memcpy.
25717
8593482f
UD
257182011-04-01 Ulrich Drepper <drepper@gmail.com>
25719
25720 [BZ #12631]
25721 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25722
81a5726b
AS
257232011-03-30 Andreas Schwab <schwab@redhat.com>
25724
25725 * misc/syncfs.c: New file.
25726 * misc/Makefile (routines): Add syncfs.
25727 * posix/unistd.h: Declare syncfs.
25728 * sysdeps/unix/syscalls.list: Add syncfs.
25729
00e5419f
AS
257302011-04-01 Andreas Schwab <schwab@redhat.com>
25731
25732 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25733 open_by_handle_at.
25734 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25735 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25736 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25737 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25738 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25739 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25740 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25741
748876bf
UD
257422011-04-01 Ulrich Drepper <drepper@gmail.com>
25743
658e451d
UD
25744 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25745 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25746 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25747 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25748 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25749 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25750 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25751
748876bf
UD
25752 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25753 sync_file_range.c with -fexceptions.
25754 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25755 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25756 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25757 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25758 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25759 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25760 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
25761 sync_file_range as cancellation point
25762 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25763 now a wrapper around __call_sync_file_range with cancellation handling.
25764 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25765 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25766 function name to __call_sync_file_range.
25767 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25768 Add call_sync_file_range.
748876bf 25769
6e63d5e1
AS
257702011-04-01 Andreas Schwab <schwab@redhat.com>
25771
25772 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 25773 bits/timex.h.
6e63d5e1 25774
46998f74
UD
257752011-04-01 Ulrich Drepper <drepper@gmail.com>
25776
4c1423ed
UD
25777 * iconv/iconv.h: Fix typo in comment.
25778 * io/fcntl.h: Likewise.
25779 * libio/stdio.h: Likewise.
25780 * posix/spawn.h: Likewise.
25781 * posix/unistd.h: Likewise.
25782 * stdlib/stdlib.h: Likewise.
25783 * time/time.h: Likewise.
25784 * wcsmbs/wchar.h: Likewise.
25785
158648c0
UD
25786 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25787 open_by_handle): Add.
25788 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25789 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25790 Augment a few comments.
25791 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25792 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25793 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25794 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25795 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25796 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25797 open_by_handle.
25798
46998f74
UD
25799 * io/fcntl.h (AT_EMPTY_PATH): Define.
25800
83fe108b
UD
258012011-03-30 Ulrich Drepper <drepper@gmail.com>
25802
25803 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25804 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25805 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25806 to...
25807 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
25808 * Versions.def: Add GLIBC_2.14.
25809 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25810 Export.
83fe108b 25811
bb242059
UD
258122011-03-22 Ulrich Drepper <drepper@gmail.com>
25813
25814 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25815 round counter.
25816 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25817
c97a1282
L
258182011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25819
25820 [BZ #12597]
25821 * string/test-strncmp.c (do_page_test): New function.
25822 (check2): Likewise.
25823 (test_main): Call check2.
25824 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25825
2a115601
UD
258262011-03-20 Ulrich Drepper <drepper@gmail.com>
25827
25828 [BZ #12587]
25829 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25830 Handle cache information in CPU leaf 4.
25831 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25832
8126d904
UD
258332011-03-18 Ulrich Drepper <drepper@gmail.com>
25834
042c49c6 25835 [BZ #12583]
8126d904
UD
25836 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25837 character representation.
25838 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25839
ccfe366e
RA
258402011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25841
25842 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25843 END(__isnan) to END(__isnanf) to match function entry point/label
25844 EALIGN(__isnanf,...).
25845
c6e13027
JJ
258462011-03-10 Jakub Jelinek <jakub@redhat.com>
25847
25848 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25849
33f85a3f
UD
258502011-03-10 Ulrich Drepper <drepper@gmail.com>
25851
028478fa
UD
25852 [BZ #12510]
25853 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25854 copy from the symbol referenced in the relocation to initialize the
25855 used variable.
25856 Patch by Piotr Bury <pbury@goahead.com>.
25857 * elf/Makefile: Add rules to build and tst-unique3.
25858 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25859 * elf/tst-unique3.cc: New file.
25860 * elf/tst-unique3.h: New file.
25861 * elf/tst-unique3lib.cc: New file.
25862 * elf/tst-unique3lib2.cc: New file.
25863
33f85a3f
UD
25864 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25865
03592fc7
MF
258662011-03-10 Mike Frysinger <vapier@gentoo.org>
25867
25868 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25869 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25870 to _start.
03592fc7 25871
6a5ee102
UD
258722011-03-06 Ulrich Drepper <drepper@gmail.com>
25873
25874 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25875 to-be-loaded object along a path to loader is ld.so.
25876
7e4ba49c
HJ
258772011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25878 Ulrich Drepper <drepper@gmail.com>
25879
25880 * sysdeps/x86_64/memset.S: After aligning destination, code
25881 branches to different locations depending on the value of
25882 misalignment, when multiarch is enabled. Fix this.
25883
258842011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25885
25886 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25887 Set _x86_64_preferred_memory_instruction for AMD processsors.
25888 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25889 Set bit_Prefer_SSE_for_memop for AMD processors.
25890
13a804de
UD
258912011-03-04 Ulrich Drepper <drepper@gmail.com>
25892
25893 * libio/fmemopen.c (fmemopen): Optimize a bit.
25894
9d25c392
AS
258952011-03-03 Andreas Schwab <schwab@redhat.com>
25896
25897 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25898
a5543c6a
RM
258992011-03-03 Roland McGrath <roland@redhat.com>
25900
25901 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25902
012d35f7
DM
259032011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25904
7e4ba49c 25905 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
25906 __bzero_ultra1 instead of __memset_ultra1.
25907
4bff6e01
AS
259082011-02-23 Andreas Schwab <schwab@redhat.com>
25909 Ulrich Drepper <drepper@gmail.com>
25910
25911 [BZ #12509]
25912 * include/link.h (struct link_map): Add l_orig_initfini.
25913 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25914 returning unsuccessfully.
25915 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25916 close of a file loaded at startup, restore the original l_initfini
25917 list.
25918 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25919 list, store the pointer.
25920 * elf/Makefile ($(objpfx)noload-mem): New rule.
25921 (noload-ENV): Define.
25922 (tests): Add $(objpfx)noload-mem.
25923 * elf/noload.c: Include <memcheck.h>.
25924 (main): Call mtrace. Close all opened handles.
25925
f2092faf
AS
259262011-02-17 Andreas Schwab <schwab@redhat.com>
25927
25928 [BZ #12454]
25929 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25930 dependencies are missing.
25931
6c8a2e88
ST
259322011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25933
f2092faf 25934 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
25935 Hurd needs munmap.
25936 * sysdeps/mach/hurd/ifreq.h: New file.
25937
84a42118
PB
259382011-01-27 Petr Baudis <pasky@suse.cz>
25939 Ulrich Drepper <drepper@gmail.com>
25940
071f805e 25941 [BZ 12445]#
84a42118
PB
25942 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25943 to extend_alloca().
25944 * stdio-common/bug23.c: New file.
25945 * stdio-common/Makefile (tests): Add bug23.
25946
e23fe25b
AS
259472010-09-28 Andreas Schwab <schwab@redhat.com>
25948 Ulrich Drepper <drepper@gmail.com>
25949
25950 [BZ #12489]
25951 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25952 before performing relro protection. At old place add assertion
25953 to make sure nothing changed.
25954
d3f02e10
NS
259552011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25956 Glauber de Oliveira Costa <glommer@gmail.com>
25957
25958 * elf/elf.h: Add new ARM TLS relocs.
25959
d55fd7a5
RA
259602011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25961
25962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25963 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25964 cast from r3.
25965 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25966 'tests' variable.
25967 * sysdeps/wordsize-64/tst-writev.c: New file.
25968
2206397e
RA
259692011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25970
25971 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25972 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25973 insns in _dl_start to prevent a TOC reference before relocs are
25974 resolved.
25975
e9433893
UD
259762011-02-15 Ulrich Drepper <drepper@gmail.com>
25977
25978 [BZ #12469]
25979 * Makeconfig: Remove RANLIB definition.
25980 * Makerules: Don't use RANLIB.
25981 * aclocal.m4: Remove ranlib test.
25982 * configure.in: No need to check for ranlib.
25983 * elf/rtld-Rules: Don't use RANLIB.
25984
f75286c6
ST
259852011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
25986
8e31c82d
ST
25987 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
25988 protection macro.
25989 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
25990 inclusion protection macro.
25991
f75286c6
ST
25992 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
25993 SIGRTMIN and SIGRTMAX and print information in that case only when
25994 SIGRTMIN is defined.
25995
c1d0e639
JJ
259962011-02-11 Jakub Jelinek <jakub@redhat.com>
25997
25998 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
25999 arginfo fn returning -1.
26000
26001 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26002 and thousands string is zero terminated.
26003
edf9294e
AS
260042011-02-03 Andreas Schwab <schwab@redhat.com>
26005
26006 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26007 sysdeps/unix/sysv/linux/bits/socket.h.
26008
2b7e92df
ST
260092011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26010
edf9294e
AS
26011 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26012 (__CPU_COUNT): Remove old macros.
26013 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26014 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26015 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
26016 (__sched_cpualloc, __sched_cpufree): Add declarations.
26017
a4c7ea7b
UD
260182011-02-05 Ulrich Drepper <drepper@gmail.com>
26019
26020 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26021 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26022 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26023 (readdhstai): Return value of addhstaiX call.
26024 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26025 (addgrbyX): Return value returned by cache_addgr.
26026 (readdgrbyname): Return value returned by addgrbyX.
26027 (readdgrbygid): Likewise.
26028 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26029 (addpwbyX): Return value returned by cache_addpw.
26030 (readdpwbyname): Return value returned by addhstbyX.
26031 (readdpwbyuid): Likewise.
26032 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26033 (addservbyX): Return value returned by cache_addserv.
26034 (readdservbyname): Return value returned by addservbyX:
26035 (readdservbyport): Likewise.
26036 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26037 (addhstbyX): Return value returned by cache_addhst.
26038 (readdhstbyname): Return value returned by addhstbyX.
26039 (readdhstbyaddr): Likewise.
26040 (readdhstbynamev6): Likewise.
26041 (readdhstbyaddrv6): Likewise.
26042 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26043 (readdinitgroups): Return value returned by addinitgroupsX.
26044 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26045 (prune_cache): Keep track of timeout value of re-added entries.
26046 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26047 * nscd/nscd.h: Adjust prototypes of readd* functions.
26048
a0bf67cc
RM
260492011-02-04 Roland McGrath <roland@redhat.com>
26050
26051 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26052 (nis_stats): Likewise.
26053 * nis/nis_modify.c (nis_modify): Likewise.
26054 * nis/nis_remove.c (nis_remove): Likewise.
26055 * nis/nis_add.c (nis_add): Likewise.
26056
26057 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26058
26059 * posix/fnmatch_loop.c: Add some consts.
26060
26061 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26062
435b95eb
L
260632011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26064
26065 [BZ #12460]
26066 * config.make.in (config-cflags-novzeroupper): Define.
26067 * configure.in: Substitute libc_cv_cc_novzeroupper.
26068 * elf/Makefile (AVX-CFLAGS): Define.
26069 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26070 (CFLAGS-tst-auditmod4a.c): Likewise.
26071 (CFLAGS-tst-auditmod4b.c): Likewise.
26072 (CFLAGS-tst-auditmod6b.c): Likewise.
26073 (CFLAGS-tst-auditmod6c.c): Likewise.
26074 (CFLAGS-tst-auditmod7b.c): Likewise.
26075 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26076
8517b15e
UD
260772011-02-02 Ulrich Drepper <drepper@gmail.com>
26078
26079 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26080 function to the callback.
26081 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26082
10a656fe
AS
260832011-02-02 Andreas Schwab <schwab@redhat.com>
26084
26085 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26086 of errno.
26087
968dad0a
UD
260882011-01-19 Ulrich Drepper <drepper@gmail.com>
26089
9f94d2ea 26090 [BZ #11724]
968dad0a
UD
26091 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26092 of constructors.
26093 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26094 of destructors.
26095 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26096
26097 [BZ #11724]
26098 * elf/Makefile: Add rules to build and run new test.
26099 * elf/tst-initorder.c: New file.
26100 * elf/tst-initorder.exp: New file.
26101 * elf/tst-initordera1.c: New file.
26102 * elf/tst-initordera2.c: New file.
26103 * elf/tst-initordera3.c: New file.
26104 * elf/tst-initordera4.c: New file.
26105 * elf/tst-initorderb1.c: New file.
26106 * elf/tst-initorderb2.c: New file.
26107 * elf/tst-order-a1.c: New file.
26108 * elf/tst-order-a2.c: New file.
26109 * elf/tst-order-a3.c: New file.
26110 * elf/tst-order-a4.c: New file.
26111 * elf/tst-order-b1.c: New file.
26112 * elf/tst-order-b2.c: New file.
26113 * elf/tst-order-main.c: New file.
26114 New test case by George Gensure <werkt0@gmail.com>.
26115
86e92359
UD
261162010-10-01 Andreas Schwab <schwab@redhat.com>
26117
26118 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26119 decoding ACE if AI_CANONIDN.
26120
5d5732b0
UD
261212011-01-18 Ulrich Drepper <drepper@gmail.com>
26122
26123 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26124
a77e8cbc
UD
261252011-01-17 Ulrich Drepper <drepper@gmail.com>
26126
6392473f
UD
26127 * version.h (RELEASE): Bump for 2.13 release.
26128 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26129
620a0529
UD
26130 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26131
18ba70a5
UD
26132 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26133 MADV_NOHUGEPAGE.
32465c3e
UD
26134 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26135 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26136 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26137 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26138 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26139 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26140
c0dafcf1
UD
26141 * posix/getconf.c: Update copyright year.
26142 * catgets/gencat.c: Likewise.
26143 * csu/version.c: Likewise.
26144 * debug/catchsegv.sh: Likewise.
26145 * debug/xtrace.sh: Likewise.
26146 * elf/ldconfig.c: Likewise.
26147 * elf/ldd.bash.in: Likewise.
26148 * elf/sprof.c (print_version): Likewise.
26149 * iconv/iconv_prog.c: Likewise.
26150 * iconv/iconvconfig.c: Likewise.
26151 * locale/programs/locale.c: Likewise.
26152 * locale/programs/localedef.c: Likewise.
26153 * malloc/memusage.sh: Likewise.
26154 * malloc/mtrace.pl: Likewise.
26155 * nscd/nscd.c (print_version): Likewise.
26156 * nss/getent.c: Likewise.
26157
a77e8cbc
UD
26158 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26159 PF_CAIF, and PF_ALG.
26160 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26161
77e8bddf
AS
261622011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26163
1f20b93a
AS
26164 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26165 (modules-names): Use them.
26166 (ifunc-test-modules, ifunc-pie-tests): Define.
26167 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26168 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26169 (test-extras): Likewise.
26170 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26171 $(compile-command.c).
26172 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26173 (all-built-dso): Define.
26174 (check-textrel.out, check-execstack.out): Depend on it.
26175
77e8bddf
AS
26176 * configure.in: Don't override --enable-multi-arch.
26177
bc425b33
UD
261782011-01-15 Ulrich Drepper <drepper@gmail.com>
26179
26180 [BZ #6812]
26181 * nscd/hstcache.c (tryagain): Define.
26182 (cache_addhst): Return tryagain not notfound for temporary errors.
26183 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26184 failed.
26185
794c3ad3
UD
261862011-01-14 Ulrich Drepper <drepper@gmail.com>
26187
70181fdd
UD
26188 [BZ #10563]
26189 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26190 to make the syscall.
26191 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26192
794c3ad3
UD
26193 [BZ #12378]
26194 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26195 and fall back to matching as normal character if the string ends before
26196 the matching ']' is found. This is what POSIX requires.
26197 * posix/testfnm.c: Adjust test result.
26198 * posix/globtest.sh: Adjust test result. Add new test.
26199 * posix/tst-fnmatch.input: Likewise.
26200 * posix/tst-fnmatch2.c: Add new test.
26201
68dc9497
AS
262022010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26203
26204 * elf/Makefile (check-execstack): Revert last change. Depend on
26205 check-execstack.h.
26206 (check-execstack.h): New target.
26207 (generated): Add check-execstack.h.
26208 * elf/check-execstack.c: Include "check-execstack.h".
26209 (main): Revert last change.
26210 (handle_file): Return zero if GNU_STACK is absent and
26211 DEFAULT_STACK_PERMS doesn't include PF_X.
26212
451f001b
UD
262132011-01-13 Ulrich Drepper <drepper@gmail.com>
26214
cfa28e56
UD
26215 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26216 in child fails because the descriptor is already closed.
8cf8ce17
UD
26217 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26218 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26219 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 26220
1086d70d
UD
26221 [BZ #12397]
26222 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26223 syscall.
26224
451f001b
UD
26225 [BZ #10484]
26226 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26227 temporary buffer used to handle multi lookups locally.
a85b5cb4 26228 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 26229
08769175
UD
262302011-01-12 Ulrich Drepper <drepper@gmail.com>
26231
26232 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26233 loader is ld.so.
26234
5e49c52e
UD
262352011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26236
26237 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26238 alignment for SSE2.
26239
60522a5f
UD
262402011-01-12 Ulrich Drepper <drepper@gmail.com>
26241
26242 [BZ #12394]
26243 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26244 characters. When rounding increased number of integer digits recompute
26245 number of groups.
26246 * stdio-common/tst-grouping.c: New file.
26247 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26248
f257bbd7
UD
262492011-01-09 Ulrich Drepper <drepper@gmail.com>
26250
26251 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26252 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26253
26254 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26255 void.
26256 * bits/select.h: Likewise.
26257
fa9c15cb
UD
262582011-01-08 Ulrich Drepper <drepper@gmail.com>
26259
26260 * po/ja.po: Update from translation team.
26261
16c2895f
DM
262622011-01-04 David S. Miller <davem@sunset.davemloft.net>
26263
26264 [BZ #11155]
26265 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26266 implementation just like for lxstat, fxstatat, et al.
26267
2543fef2
JM
262682010-12-27 Jim Meyering <meyering@redhat.com>
26269
26270 [BZ #12348]
26271 * posix/regexec.c (build_trtable): Return failure indication upon
26272 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26273
98727dbe
UD
262742010-12-25 Ulrich Drepper <drepper@gmail.com>
26275
5bd6dc5c
UD
26276 [BZ #12201]
26277 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26278 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26279 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26280 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26281
97983464
UD
26282 [BZ #12207]
26283 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26284
98727dbe
UD
26285 [BZ #12204]
26286 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26287 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26288
4a531bb0
L
262892010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26290
26291 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26292 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26293 script has SORT_BY_INIT_PRIORITY.
26294 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26295 NO_CTORS_DTORS_SECTIONS is defined.
26296 * elf/soinit.c: Likewise.
26297 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26298 NO_CTORS_DTORS_SECTIONS is defined.
26299 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26300 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26301 * sysdeps/sh/init-first.c: Likewise.
26302 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26303
07eb4b71
UD
263042010-12-24 Ulrich Drepper <drepper@gmail.com>
26305
26306 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26307 always use the slow path.
26308
30950a5f
RA
263092010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26310
26311 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26312 similar rule which adds the sysdep directories to the header search in
26313 order to pick up the correct platform stackinfo.h.
26314 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26315 perform test if it is, otherwise return successfully without testing.
26316 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26317 DEFAULT_STACK_PERMS define in stackinfo.h.
26318 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26319 defined in stackinfo.h.
26320 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26321 DEFAULT_STACK_PERMS defined in stackinfo.h.
26322 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26323 * sysdeps/ia64/stackinfo.h: Likewise.
26324 * sysdeps/s390/stackinfo.h: Likewise.
26325 * sysdeps/sh/stackinfo.h: Likewise.
26326 * sysdeps/sparc/stackinfo.h: Likewise.
26327 * sysdeps/x86_64/stackinfo.h: Likewise.
26328 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26329 PF_X for powerpc64. Retain PF_X for powerpc32.
26330
db753e2c
UD
263312010-12-19 Ulrich Drepper <drepper@gmail.com>
26332
14b697f7
UD
26333 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26334 accurately.
db753e2c
UD
26335 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26336 GETDENTS_64BIT_ALIGNED.
26337
28300719
UD
263382010-12-14 Ulrich Drepper <dreper@gmail.com>
26339
14b697f7 26340 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 26341
4f197237
AS
263422010-12-10 Andreas Schwab <schwab@redhat.com>
26343
dbb0472f
AS
26344 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26345 _GNU_SOURCE.
26346
4f197237
AS
26347 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26348 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26349 Remove __restrict.
26350 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26351 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26352
fb88ac72
UD
263532010-12-09 Ulrich Drepper <drepper@gmail.com>
26354
26355 [BZ #11655]
26356 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26357 are initialized.
26358
42acbb92
JJ
263592010-12-09 Jakub Jelinek <jakub@redhat.com>
26360
26361 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26362
c038d98d
UD
263632010-12-03 Ulrich Drepper <drepper@gmail.com>
26364
26365 * po/it.po: Update from translation team.
26366
3a4a2499
L
263672010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26368
26369 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26370 unused codes.
26371
1e24cf6e
UD
263722010-11-30 Ulrich Drepper <drepper@gmail.com>
26373
26374 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26375
a7690819
AS
263762010-11-24 Andreas Schwab <schwab@redhat.com>
26377
26378 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26379 specially.
26380 (gaih_getanswer_slice): Likewise.
26381
3bf8d1b1
JJ
263822010-10-20 Jakub Jelinek <jakub@redhat.com>
26383
26384 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26385
6db52fbb
PB
263862010-05-31 Petr Baudis <pasky@suse.cz>
26387
26388 [BZ #11149]
26389 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26390 silently even in the chroot mode.
26391
eaca7569
UD
263922010-11-22 Ulrich Drepper <drepper@gmail.com>
26393
26394 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26395 last patch a bit. Pretty printing
26396
3056dcdb
UD
263972010-05-31 Petr Baudis <pasky@suse.cz>
26398
26399 [BZ #10085]
26400 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26401 initialization of skip_initgroups_dyn.
26402
cf7c9078
UD
264032010-11-19 Ulrich Drepper <drepper@gmail.com>
26404
26405 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26406 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26407
a1fb5e3e
UD
264082010-11-16 Ulrich Drepper <drepper@gmail.com>
26409
26410 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26411
3540d66b
AS
264122010-11-11 Andreas Schwab <schwab@redhat.com>
26413
26414 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26415 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26416 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26417 ($(objpfx)tst-fnmatch-mem): New rule.
26418 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26419 * posix/tst-fnmatch.c (main): Call mtrace.
26420
13b69574
L
264212010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26422
26423 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26424 Support Intel processor model 6 and model 0x2c.
26425
da93d214
LM
264262010-11-10 Luis Machado <luisgpm@br.ibm.com>
26427
26428 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26429 signed comparison.
26430
8ca52c6e
L
264312010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26432
26433 [BZ #12205]
26434 * string/test-strncasecmp.c (check_result): New function.
26435 (do_one_test): Use it.
26436 (check1): New function.
26437 (test_main): Use it.
26438 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26439 Support strcasecmp and strncasecmp.
26440
69da074d
UD
264412010-11-08 Ulrich Drepper <drepper@gmail.com>
26442
26443 [BZ #12194]
26444 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26445 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26446
ff02d528
L
264472010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26448
26449 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26450 IFUNC support.
26451 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26452 memset-x86-64.
26453 * sysdeps/x86_64/multiarch/bzero.S: New file.
26454 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26455 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26456 * sysdeps/x86_64/multiarch/memset.S: New file.
26457 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26459 Set bit_Prefer_SSE_for_memop for Intel processors.
26460 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26461 Define.
26462 (index_Prefer_SSE_for_memop): Define.
26463 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26464
344d0b54
LM
264652010-11-04 Luis Machado <luisgpm@br.ibm.com>
26466
26467 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26468 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26469
c0dde15b
UD
264702010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26471
26472 [BZ #12191]
26473 * sysdeps/i386/i686/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
26478 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26479 (__x86_64_raw_data_cache_size_half): Likewise.
26480 (__x86_64_raw_shared_cache_size): Likewise.
26481 (__x86_64_raw_shared_cache_size_half): Likewise.
26482 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26483 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26484 and __x86_64_raw_shared_cache_size_half. Round
26485 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26486 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26487 to multiple of 256 bytes.
26488
0e516e0e
MS
264892010-11-03 Ulrich Drepper <drepper@gmail.com>
26490
26491 [BZ #12167]
26492 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26493 of inacessible symlinks. Verify result of symlink before returning it.
26494 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26495 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26496
0e012e87
ER
264972010-10-28 Erich Ritz <erichritz@gmail.com>
26498
26499 * math/math.h (isinf): Fix typo in comment.
26500
de0ff7bc
UD
265012010-11-01 Ulrich Drepper <drepper@gmail.com>
26502
26503 * po/da.po: Update from translation team.
26504
fa41c84d
UD
265052010-10-26 Ulrich Drepper <drepper@gmail.com>
26506
26507 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26508 is added to the list.
26509
f0967738
AK
265102010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26511 Ulrich Drepper <drepper@gmail.com>
26512
26513 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26514 the global list here. Move code to...
26515 (_dl_add_to_namespace_list): ...here. New function.
26516 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26517 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26518 * elf/dl-load.c (lose): Don't remove the element from the list.
26519 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26520 (_dl_map_object): Likewise.
26521
265222010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
26523
26524 [BZ #12159]
26525 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26526 into all bytes of SSE register.
26527 Patch by Richard Li <richardpku@gmail.com>.
26528
f0967738 265292010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
26530
26531 [BZ #12140]
26532 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26533 perturbing.
26534
d0b9e94f
MB
265352010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26536
26537 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26538 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26539 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26540 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26542 submachine.
26543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26544
8e9f92e9
AS
265452010-10-22 Andreas Schwab <schwab@redhat.com>
26546
26547 * include/dlfcn.h (__RTLD_SECURE): Define.
26548 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26549 mode & __RTLD_SECURE instead.
26550 (open_path): Rename preloaded parameter to secure.
26551 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26552 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26553 * elf/dl-deps.c (openaux): Likewise.
26554 * elf/rtld.c (struct map_args): Remove is_preloaded.
26555 (map_doit): Don't use it.
26556 (dl_main): Likewise.
26557 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26558 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26559
bc96fbda
AS
265602010-09-09 Andreas Schwab <schwab@redhat.com>
26561
26562 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26563 (sysd-rules-targets): Remove duplicates.
26564 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26565 rtld-%.$o dependency.
26566
22cd1c9b
AS
265672010-10-18 Andreas Schwab <schwab@redhat.com>
26568
26569 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26570 _dl_map_object do it.
26571
18edac48
UD
265722010-10-19 Ulrich Drepper <drepper@gmail.com>
26573
26574 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26575 fast fma builtins, define the macros in the C99 standard.
26576 (FP_FAST_FMAF): Likewise.
26577 (FP_FAST_FMAL): Likewise.
26578 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26579
26580 * bits/mathdef.h: Update copyright year.
26581 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26582
d2050124
MM
265832010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26584
26585 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26586 builtins, define the macros in the C99 standard.
26587 (FP_FAST_FMAF): Likewise.
26588 (FP_FAST_FMAL): Likewise.
26589 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26590 multiply/add.
26591 (FP_FAST_FMAF): Likewise.
26592
475facd1
JJ
265932010-10-15 Jakub Jelinek <jakub@redhat.com>
26594
26595 [BZ #3268]
26596 * math/libm-test.inc (fma_test): Some new testcases.
26597 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26598 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26599 y and infinite z. Do multiplication by C already in long double.
26600 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26601 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26602 y and infinite z. Do bitwise or of inexact bit into u.d.
26603 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26604 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26605 * sysdeps/i386/fpu/s_fma.S: Removed.
26606 * sysdeps/i386/fpu/s_fmal.S: Removed.
26607
7c08a05c
JJ
266082010-10-16 Jakub Jelinek <jakub@redhat.com>
26609
26610 [BZ #3268]
26611 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26612 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26613 computation is not scheduled after fetestexcept. Fix value
26614 of minimum denormal long double.
26615
f3f7372d
JJ
266162010-10-14 Jakub Jelinek <jakub@redhat.com>
26617
26618 [BZ #3268]
26619 * math/libm-test.inc (fma_test): Add some more tests.
26620 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26621 correctly.
26622
14d43591
AS
266232010-10-15 Andreas Schwab <schwab@redhat.com>
26624
26625 * scripts/data/localplt-s390-linux-gnu.data: New file.
26626 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26627
5e908464
JJ
266282010-10-13 Jakub Jelinek <jakub@redhat.com>
26629
26630 [BZ #3268]
26631 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26632 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26633 instead of dbl-64.
26634 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26635 inlines.
26636 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26637 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26638 if one of x and y is very large and the other is subnormal.
26639 * sysdeps/s390/fpu/s_fmaf.c: New file.
26640 * sysdeps/s390/fpu/s_fma.c: New file.
26641 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26642 * sysdeps/powerpc/fpu/s_fma.S: New file.
26643 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26644 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26645 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26646
266472010-10-12 Jakub Jelinek <jakub@redhat.com>
26648
26649 [BZ #3268]
26650 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26651 fma tests.
26652 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26653 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26654 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26655 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26656 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26657 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26658 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26659
b833d51f
UD
266602010-10-12 Ulrich Drepper <drepper@redhat.com>
26661
26662 [BZ #12078]
26663 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26664 * posix/bug-regex31.input: Add test case.
26665
1751705d
UD
266662010-10-11 Ulrich Drepper <drepper@gmail.com>
26667
e9b9cbf5
UD
26668 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26669 * posix/bug-regex31.input: New file.
26670
26671 [BZ #12078]
26672 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26673 (parse_sub_exp): Fix last change, use postorder.
26674
ef06edbe
UD
26675 * posix/bug-regex31.c: New file.
26676 * posix/Makefile: Add rules to build and run bug-regex31.
26677
a129c80d
UD
26678 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26679
26680 [BZ #12078]
26681 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26682
b76b818e
UD
26683 [BZ #12108]
26684 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26685 to have entries in sys_siglist.
26686
1751705d
UD
26687 [BZ #12093]
26688 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26689 be NULL.
26690
9ff8d36f
JJ
266912010-10-07 Jakub Jelinek <jakub@redhat.com>
26692
26693 [BZ #3268]
26694 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26695 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26696 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26697 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26698 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26699 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26700 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26701 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26702 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26703 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26704 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26705 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26706 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26707 * math/ftestexcept.c (fetestexcept): Likewise.
26708 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26709 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26710 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26711 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26712 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26713 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26714 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26715
af325969
UD
267162010-10-11 Ulrich Drepper <drepper@gmail.com>
26717
c579b202 26718 [BZ #12107]
af325969
UD
26719 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26720 newline.
26721
67a67b95
UD
267222010-10-06 Ulrich Drepper <drepper@gmail.com>
26723
26724 * string/bug-strstr1.c: New file.
26725 * string/Makefile: Add rules to build and run bug-strstr1.
26726
5fb308bc
EB
267272010-10-05 Eric Blake <eblake@redhat.com>
26728
26729 [BZ #12092]
26730 * string/str-two-way.h (two_way_long_needle): Always clear memory
26731 when skipping input due to the shift table.
26732
45db99c7
UD
267332010-10-03 Ulrich Drepper <drepper@gmail.com>
26734
3b111893
UD
26735 [BZ #12005]
26736 * malloc/mcheck.c: Handle large requests.
26737
45db99c7
UD
26738 [BZ #12077]
26739 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26740 for strncmp and strncasecmp.
26741 * string/stratcliff.c: Add tests for strcmp and strncmp.
26742 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26743
cf7a1eb8
NI
267442010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26745
26746 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26747 __set_fpscr.
26748
6484ba5e
AJ
267492010-09-30 Andreas Jaeger <aj@suse.de>
26750
26751 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26752 (CGROUP_SUPER_MAGIC): Define.
26753 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26754 Handle btrfs and cgroup file systems.
26755 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26756 Likewise.
26757
91c42559
LM
267582010-09-27 Luis Machado <luisgpm@br.ibm.com>
26759
26760 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26761 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26762
87a97932
AK
267632010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26764
26765 [BZ #12067]
26766 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26767 trying to locate the ELF header.
26768
c21cc9bc
AS
267692010-09-27 Andreas Schwab <schwab@redhat.com>
26770
26771 [BZ #11611]
26772 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26773 Mask out sign-bit copies when constructing f_fsid.
26774
315970f6
PB
267752010-09-24 Petr Baudis <pasky@suse.cz>
26776
26777 * debug/stack_chk_fail_local.c: Add missing licence exception.
26778 * debug/warning-nop.c: Likewise.
26779
1ac7a2c7
JM
267802010-09-15 Joseph Myers <joseph@codesourcery.com>
26781
26782 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26783 implementing getdents64 using getdents syscall, set d_type if
26784 __ASSUME_GETDENTS32_D_TYPE.
26785
56801c50
AS
267862010-09-16 Andreas Schwab <schwab@redhat.com>
26787
26788 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26789 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26790
dda51327
UD
267912010-09-21 Ulrich Drepper <drepper@redhat.com>
26792
26793 [BZ #12037]
26794 * posix/unistd.h: Undo change of feature selection for ftruncate from
26795 2010-01-11.
26796
8ffcee4a
UD
267972010-09-20 Ulrich Drepper <drepper@redhat.com>
26798
a545ecd9 26799 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
26800 detection.
26801
e24f0a8b
AS
268022010-09-20 Andreas Schwab <schwab@redhat.com>
26803
26804 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26805 fanotify_mark.
26806 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26807
7291c56f
AS
268082010-09-14 Andreas Schwab <schwab@redhat.com>
26809
26810 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26811 variables after CHECK_SP call.
26812 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26813
bc5fb037
AS
268142010-09-13 Andreas Schwab <schwab@redhat.com>
26815 Ulrich Drepper <drepper@redhat.com>
26816
26817 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26818 re-relocationg ld.so.
26819 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26820 _dl_init_paths call.
26821 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26822 here anymore.
26823
e66e7419
UD
268242010-09-14 Ulrich Drepper <drepper@redhat.com>
26825
26826 * resolv/res_init.c (__res_vinit): Count the default server we added.
26827
c044aa75
CLT
268282010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26829 Ulrich Drepper <drepper@redhat.com>
26830
26831 [BZ #11968]
26832 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26833 (____longjmp_chk): Use %ebx for saving value across system call.
26834 Add unwind info.
26835
32cf4069
AS
268362010-09-06 Andreas Schwab <schwab@redhat.com>
26837
26838 * manual/Makefile: Don't mix pattern rules with normal rules.
26839
817328ee
AS
268402010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26841
26842 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26843 operation.
26844 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26845 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26846 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26847 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26848 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26849 Likewise.
26850
29fddf61
UD
268512010-09-04 Ulrich Drepper <drepper@redhat.com>
26852
26853 [BZ #11979]
26854 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26855 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26856
0959ffc9
UD
268572010-09-02 Ulrich Drepper <drepper@redhat.com>
26858
26859 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26860 * sysdeps/x86_64/addmul_1.S: Likewise.
26861 * sysdeps/x86_64/lshift.S: Likewise.
26862 * sysdeps/x86_64/mul_1.S: Likewise.
26863 * sysdeps/x86_64/rshift.S: Likewise.
26864 * sysdeps/x86_64/sub_n.S: Likewise.
26865 * sysdeps/x86_64/submul_1.S: Likewise.
26866
ece29840
ST
268672010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26868
0959ffc9
UD
26869 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26870 Define __sched_param instead of SCHED_* and sched_param when
ece29840 26871 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 26872 * bits/sched.h [__need_schedparam]
ece29840 26873 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
26874 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26875 (__defined_schedparam): Define to 1.
ece29840
ST
26876 (__sched_param): New structure, identical to sched_param.
26877 (__need_schedparam): Undefine.
26878
e53a31fe
MF
268792010-08-31 Mike Frysinger <vapier@gentoo.org>
26880
fdc0c10d
MF
26881 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26882 (epoll_create1): Declare.
26883
e53a31fe
MF
26884 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26885
a726d796
AS
268862010-08-31 Andreas Schwab <schwab@redhat.com>
26887
26888 [BZ #7066]
26889 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26890 shifting retval into place.
26891
2f3e3dc7
UD
268922010-09-01 Ulrich Drepper <drepper@redhat.com>
26893
f2933da9
UD
26894 * nis/rpcsvc/nis.h: Update copyright notice.
26895 * nis/rpcsvc/nis.x: Likewise.
26896 * nis/rpcsvc/nis_callback.h: Likewise.
26897 * nis/rpcsvc/nis_callback.x: Likewise.
26898 * nis/rpcsvc/nis_object.x: Likewise.
26899 * nis/rpcsvc/nis_tags.h: Likewise.
26900 * nis/rpcsvc/yp.h: Likewise.
26901 * nis/rpcsvc/yp.x: Likewise.
26902 * nis/rpcsvc/ypupd.h: Likewise.
26903 * nis/yp_xdr.c: Likewise.
26904 * nis/ypupdate_xdr.c: Likewise.
26905
2f3e3dc7
UD
26906 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26907 mainly the body of pmap_getport. Add parameters to specify timeouts.
26908 (pmap_getport): Use __libc_rpc_getport.
26909 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26910 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26911 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26912
f3dcc2f9
AS
269132010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26914
26915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26916 fanotify_mark.
26917
6d34eb5b
RM
269182010-08-27 Roland McGrath <roland@redhat.com>
26919
26920 * sysdeps/i386/i686/multiarch/Makefile
26921 (CFLAGS-varshift.c): New variable.
26922
9ea3de11
UD
269232010-08-27 Ulrich Drepper <drepper@redhat.com>
26924
c96d23fc
UD
26925 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26926 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26927
9ea3de11
UD
26928 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26929
26930 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26931
623aac7f
L
269322010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26933
26934 * sysdeps/x86_64/strlen.S: Unroll the loop.
26935 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26936 strlen-sse2 strlen-sse2-bsf.
26937 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26938 __strlen_no_bsf if bit_Slow_BSF is set.
26939 (__strlen_sse42): Removed.
26940 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26941 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26942
8b2b7715
RM
269432010-08-25 Roland McGrath <roland@redhat.com>
26944
26945 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26946 * sysdeps/x86_64/multiarch/varshift.c: New file.
26947 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26948 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26949 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26950 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26951
e73015f2
L
269522010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26953
26954 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26955 strlen-sse2 strlen-sse2-bsf.
26956 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26957 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26958 (__strlen_sse2): Removed.
26959 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26960 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26961 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26962 bit_Slow_BSF for Atom.
26963 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26964 (index_Slow_BSF): Define.
26965 (HAS_SLOW_BSF): Define.
26966
df24a73e
UD
269672010-08-25 Ulrich Drepper <drepper@redhat.com>
26968
26969 [BZ #10851]
26970 * resolv/res_init.c (__res_vinit): When no server address at all
26971 is given default to loopback.
26972
f2ac4868
RM
269732010-08-24 Roland McGrath <roland@redhat.com>
26974
09055553
RM
26975 * configure.in: Remove config-name.h generation.
26976 * configure: Regenerated.
26977 * config-name.in: File removed.
26978 * scripts/config-uname.sh: New file.
26979 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
26980 ($(objdir)config-name.h): New target.
26981
f2ac4868
RM
26982 * sunrpc/rpc_parse.h: Avoid nested comment.
26983
73f27d5e
RH
269842010-08-24 Richard Henderson <rth@redhat.com>
26985 Ulrich Drepper <drepper@redhat.com>
26986 H.J. Lu <hongjiu.lu@intel.com>
26987
26988 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
26989 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
26990 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
26991 Replace _mm_srli_si128 with __m128i_shift_right. Replace
26992 _mm_alignr_epi8 with _mm_loadu_si128.
26993 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
26994 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
26995 (__m128i_shift_right): Removed.
26996 * sysdeps/i386/i686/multiarch/varshift.h: New file.
26997 * sysdeps/i386/i686/multiarch/varshift.S: New file.
26998 * sysdeps/x86_64/multiarch/varshift.h: New file.
26999 * sysdeps/x86_64/multiarch/varshift.S: New file.
27000
84b9230c
MF
270012010-08-21 Mike Frysinger <vapier@gentoo.org>
27002
27003 * configure.in: Move assembler checks to before sysdep dir checking.
27004
9bbd0ddc
PB
270052010-08-20 Petr Baudis <pasky@suse.cz>
27006
27007 * LICENSES: Sync the sunrpc license.
27008
9da4bb31
UD
270092010-08-19 Ulrich Drepper <drepper@redhat.com>
27010
a7ab6ec8
UD
27011 * sunrpc/auth_des.c: Update copyright notice once again.
27012 * sunrpc/auth_none.c: Likewise.
27013 * sunrpc/auth_unix.c: Likewise.
27014 * sunrpc/authdes_prot.c: Likewise.
27015 * sunrpc/authuxprot.c: Likewise.
27016 * sunrpc/bindrsvprt.c: Likewise.
27017 * sunrpc/clnt_gen.c: Likewise.
27018 * sunrpc/clnt_perr.c: Likewise.
27019 * sunrpc/clnt_raw.c: Likewise.
27020 * sunrpc/clnt_simp.c: Likewise.
27021 * sunrpc/clnt_tcp.c: Likewise.
27022 * sunrpc/clnt_udp.c: Likewise.
27023 * sunrpc/clnt_unix.c: Likewise.
27024 * sunrpc/des_crypt.c: Likewise.
27025 * sunrpc/des_soft.c: Likewise.
27026 * sunrpc/get_myaddr.c: Likewise.
27027 * sunrpc/getrpcport.c: Likewise.
27028 * sunrpc/key_call.c: Likewise.
27029 * sunrpc/key_prot.c: Likewise.
27030 * sunrpc/openchild.c: Likewise.
27031 * sunrpc/pm_getmaps.c: Likewise.
27032 * sunrpc/pm_getport.c: Likewise.
27033 * sunrpc/pmap_clnt.c: Likewise.
27034 * sunrpc/pmap_prot.c: Likewise.
27035 * sunrpc/pmap_prot2.c: Likewise.
27036 * sunrpc/pmap_rmt.c: Likewise.
27037 * sunrpc/rpc/auth.h: Likewise.
27038 * sunrpc/rpc/auth_unix.h: Likewise.
27039 * sunrpc/rpc/clnt.h: Likewise.
27040 * sunrpc/rpc/des_crypt.h: Likewise.
27041 * sunrpc/rpc/key_prot.h: Likewise.
27042 * sunrpc/rpc/netdb.h: Likewise.
27043 * sunrpc/rpc/pmap_clnt.h: Likewise.
27044 * sunrpc/rpc/pmap_prot.h: Likewise.
27045 * sunrpc/rpc/pmap_rmt.h: Likewise.
27046 * sunrpc/rpc/rpc.h: Likewise.
27047 * sunrpc/rpc/rpc_des.h: Likewise.
27048 * sunrpc/rpc/rpc_msg.h: Likewise.
27049 * sunrpc/rpc/svc.h: Likewise.
27050 * sunrpc/rpc/svc_auth.h: Likewise.
27051 * sunrpc/rpc/types.h: Likewise.
27052 * sunrpc/rpc/xdr.h: Likewise.
27053 * sunrpc/rpc_clntout.c: Likewise.
27054 * sunrpc/rpc_cmsg.c: Likewise.
27055 * sunrpc/rpc_common.c: Likewise.
27056 * sunrpc/rpc_cout.c: Likewise.
27057 * sunrpc/rpc_dtable.c: Likewise.
27058 * sunrpc/rpc_hout.c: Likewise.
27059 * sunrpc/rpc_main.c: Likewise.
27060 * sunrpc/rpc_parse.c: Likewise.
27061 * sunrpc/rpc_parse.h: Likewise.
27062 * sunrpc/rpc_prot.c: Likewise.
27063 * sunrpc/rpc_sample.c: Likewise.
27064 * sunrpc/rpc_scan.c: Likewise.
27065 * sunrpc/rpc_scan.h: Likewise.
27066 * sunrpc/rpc_svcout.c: Likewise.
27067 * sunrpc/rpc_tblout.c: Likewise.
27068 * sunrpc/rpc_util.c: Likewise.
27069 * sunrpc/rpc_util.h: Likewise.
27070 * sunrpc/rpcinfo.c: Likewise.
27071 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27072 * sunrpc/rpcsvc/key_prot.x: Likewise.
27073 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27074 * sunrpc/rpcsvc/mount.x: Likewise.
27075 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27076 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27077 * sunrpc/rpcsvc/rex.x: Likewise.
27078 * sunrpc/rpcsvc/rstat.x: Likewise.
27079 * sunrpc/rpcsvc/rusers.x: Likewise.
27080 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27081 * sunrpc/rpcsvc/spray.x: Likewise.
27082 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27083 * sunrpc/rtime.c: Likewise.
27084 * sunrpc/svc.c: Likewise.
27085 * sunrpc/svc_auth.c: Likewise.
27086 * sunrpc/svc_authux.c: Likewise.
27087 * sunrpc/svc_raw.c: Likewise.
27088 * sunrpc/svc_run.c: Likewise.
27089 * sunrpc/svc_simple.c: Likewise.
27090 * sunrpc/svc_tcp.c: Likewise.
27091 * sunrpc/svc_udp.c: Likewise.
27092 * sunrpc/svc_unix.c: Likewise.
27093 * sunrpc/svcauth_des.c: Likewise.
27094 * sunrpc/xcrypt.c: Likewise.
27095 * sunrpc/xdr.c: Likewise.
27096 * sunrpc/xdr_array.c: Likewise.
27097 * sunrpc/xdr_float.c: Likewise.
27098 * sunrpc/xdr_mem.c: Likewise.
27099 * sunrpc/xdr_rec.c: Likewise.
27100 * sunrpc/xdr_ref.c: Likewise.
27101 * sunrpc/xdr_sizeof.c: Likewise.
27102 * sunrpc/xdr_stdio.c: Likewise.
27103
9da4bb31
UD
27104 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27105 handling.
27106
bdaa77bc
AS
271072010-08-19 Andreas Schwab <schwab@redhat.com>
27108
27109 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27110
fe2f79db
LM
271112010-08-19 Luis Machado <luisgpm@br.ibm.com>
27112
27113 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27114 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27115 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27116 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27117 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27118 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27119 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27120 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27121 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27122 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27123 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27124 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27125 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27126 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27127
b9b42ee0
AB
271282010-07-26 Anton Blanchard <anton@samba.org>
27129
27130 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27131 * malloc/arena.c (heap_trim): Likewise.
27132
1c06ba31
UD
271332010-08-16 Ulrich Drepper <drepper@redhat.com>
27134
27135 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27136 here. Not...
27137 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27138 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27139
f8392f40
L
271402010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27141
27142 * sysdeps/i386/elf/Makefile: New file.
27143
3162f12e
AS
271442010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27145
27146 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27147 from fanotify_init.
27148 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27149 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27150
28c90b2c
UD
271512010-08-15 Ulrich Drepper <drepper@redhat.com>
27152
27153 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27154 of strncasecmp_l.
1feccb6c 27155 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 27156
ca6bb004
UD
271572010-08-14 Ulrich Drepper <drepper@redhat.com>
27158
e9f82e0d
UD
27159 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27160 strncase_l-nonascii.
27161 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27162 Add strncase_l-ssse3.
27163 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27164 * sysdeps/x86_64/strcmp.S: Likewise.
27165 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27166 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27167 * sysdeps/x86_64/strncase.S: New file.
27168 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27169 * sysdeps/x86_64/strncase_l.S: New file.
27170 * string/Makefile (strop-tests): Add strncasecmp.
27171 * string/test-strncasecmp.c: New file.
27172
27173 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27174 warning.
27175
ca6bb004
UD
27176 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27177 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27178
052fa7b3
AS
271792010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27180
27181 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27182
962dba78
UD
271832010-08-12 Ulrich Drepper <drepper@redhat.com>
27184
27185 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27186 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27187 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27188
bebff237
AM
271892010-05-01 Alan Modra <amodra@gmail.com>
27190
27191 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27192 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27193 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27194 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27195 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27196 tidying. Don't tail-call __sigjmp_save for static lib.
27197 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27198 save location.
27199 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27200 (CALL_MCOUNT): Add eh info, and nop after bl.
27201 (TAIL_CALL_SYSCALL_ERROR): New macro.
27202 (PSEUDO_RET): Use it.
27203 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27204 Correct save location of integer regs and cr.
27205 (_dl_profile_resolve): Correct cr save location. Delete nops
27206 after bl when SHARED. Reduce cfi size a little by better
27207 placement of cfi directives.
27208 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27209 make a stack frame. Instead use parm save area as a temp.
27210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27211 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27213 Don't make a stack frame for parent, use parm save area.
27214 Increase child stack frame to 112 bytes. Don't save unused reg,
27215 and adjust reg usage. Set up cfi on error recovery and
27216 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27218 (__makecontext): Add dummy nop after jump to exit.
27219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27220 Use correct parm save area and cr save, reduce stack frame.
27221 Correct cfi for possible PSEUDO_RET frame setup.
27222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27223 Branch to local label emitted by PSEUDO_RET rather than
27224 __syscall_error.
27225
02637374
AS
272262010-08-12 Andreas Schwab <schwab@redhat.com>
27227
27228 [BZ #11904]
27229 * locale/programs/locale.c (print_assignment): New function.
27230 (show_locale_vars): Use it.
27231
c3e2f19b
UD
272322010-08-11 Ulrich Drepper <drepper@redhat.com>
27233
3cdaa6ad
UD
27234 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27235 field.
27236 (struct statfs64): Likewise.
27237 (_STATFS_F_FLAGS): Define.
27238 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27239 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27240 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27241 (ST_VALID): Define locally.
27242 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27243 __statvfs_getflags, use the provided value.
27244 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27245 __ASSUME_STATFS_F_FLAGS.
27246
754f7da3
UD
27247 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27248
10b3bedc
UD
27249 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27250 Add sys/fanotify.h.
27251 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27252 fanotify_mask for GLIBC_2.13.
27253 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27254 fanotify_init and fanotify_mark.
27255 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27256 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27257
c08fb0d7
UD
27258 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27259 Add prlimit.
27260 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27261 prlimit64 for GLIBC_2.13.
27262 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27263 prlimit64.
27264 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27265 syscall.
27266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27267 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27268 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27269 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27270 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27271 add prlimit alias.
27272 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27273
15bac72b
UD
27274 [BZ #11903]
27275 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27276 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27277
c3e2f19b
UD
27278 * nss/Makefile: Add rules to build and run tst-nss-test1.
27279 * shlib-versions: Add entry for libnss_test1.
27280 * nss/nss_test1.c: New file.
27281 * nss/tst-nss-test1.c: New file.
27282
27283 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27284 (__nss_configure_lookup): Set appropriate entry in
27285 __nss_configure_lookup to true.
27286 * nss/nsswitch.h: Define enum with indeces of databases in
27287 databases and __nss_database_custom arrays. Declare
27288 __nss_database_custom.
27289 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27290 to avoid using nscd when custom rules are installed.
27291 * nss/getXXbyYY_r.c: Likewise.
27292 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27293
27294 * nss/nss_files/files-parse.c: Whitespace fixes.
27295
f15ce4d8
UD
272962010-08-09 Ulrich Drepper <drepper@redhat.com>
27297
27298 [BZ #11883]
27299 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27300 * posix/fnmatch_loop.c: Likewise.
27301
d22e4cc9
AK
273022010-07-17 Andi Kleen <ak@linux.intel.com>
27303
27304 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27305 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27306 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27307 * Versions.def [GLIBC_2.13]: Add.
27308
805bc17d
UD
273092010-08-06 Ulrich Drepper <drepper@redhat.com>
27310
27311 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27312 Also fail if tpwd after pwuid call is NULL.
27313
5a42321d
ST
273142010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27315
27316 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27317 when converting to ms.
27318
fd3ebeda
ST
273192010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27320
27321 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27322 EOPNOTSUPP errors with ENOTTY.
27323 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27324 EOPNOTSUPP errors with ENOTTY.
27325
73507d3a
UD
273262010-07-31 Ulrich Drepper <drepper@redhat.com>
27327
27328 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27329 Add strcasecmp_l-ssse3.
27330 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27331 strcasecmp.
27332 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27333 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27334 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27335
fe36dd02
UD
273362010-07-30 Ulrich Drepper <drepper@redhat.com>
27337
66f6765a
UD
27338 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27339
42e08a54
UD
27340 * string/Makefile (strop-tests): Add strcasecmp.
27341 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27342 strcasecmp_l-nonascii.
27343 (gen-as-const-headers): Add locale-defines.sym.
27344 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27345 * sysdeps/x86_64/strcasecmp.S: New file.
27346 * sysdeps/x86_64/strcasecmp_l.S: New file.
27347 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27348 * sysdeps/x86_64/locale-defines.sym: New file.
27349 * string/test-strcasecmp.c: New file.
27350
fe36dd02
UD
27351 * string/test-strcasestr.c: Test both ends of the range of characters.
27352 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27353
48cbc0d6
RM
273542010-07-29 Roland McGrath <roland@redhat.com>
27355
76e6d6bc 27356 [BZ #11856]
48cbc0d6
RM
27357 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27358
880113d9
UD
273592010-07-27 Ulrich Drepper <drepper@redhat.com>
27360
27361 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27362 for ld.so.
27363
deb9cabb
AS
273642010-07-27 Andreas Schwab <schwab@redhat.com>
27365
27366 * manual/memory.texi (Malloc Tunable Parameters): Document
27367 M_PERTURB.
27368
1c7570ff
RM
273692010-07-26 Roland McGrath <roland@redhat.com>
27370
27371 [BZ #11840]
27372 * configure.in (-fgnu89-inline check): Set and substitute
27373 gnu89_inline, not libc_cv_gnu89_inline.
27374 * configure: Regenerated.
27375 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27376
24fb0f88
UD
273772010-07-26 Ulrich Drepper <drepper@redhat.com>
27378
27379 * string/test-strnlen.c: New file.
27380 * string/Makefile (strop-tests): Add strnlen.
27381 * string/tester.c (test_strnlen): Add a few more test cases.
27382 * string/tst-strlen.c: Better error reporting.
27383
27384 * sysdeps/x86_64/strnlen.S: New file.
27385
8e96b93a
UD
273862010-07-24 Ulrich Drepper <drepper@redhat.com>
27387
27388 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27389 lower-latency instructions.
27390
dbc676d4
UD
273912010-07-23 Ulrich Drepper <drepper@redhat.com>
27392
27393 * string/test-strcasestr.c: New file.
27394 * string/test-strstr.c: New file.
27395 * string/Makefile (strop-tests): Add strstr and strcasestr.
27396 * string/str-two-way.h: Don't undefine MAX.
27397 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27398
f6a31e0e
AS
273992010-07-21 Andreas Schwab <schwab@redhat.com>
27400
27401 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27402 strcasestr-nonascii.
27403 (CFLAGS-strcasestr-nonascii.c): Define.
27404 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27405 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27406 Remove unused attribute.
27407
5dbc3b6c
RM
274082010-07-20 Roland McGrath <roland@redhat.com>
27409
27410 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27411 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27412 ld.so.cache was broken. With it, there is no way to disable dsocaps
27413 like LD_HWCAP_MASK can disable hwcaps.
27414
23d101d8
EPM
274152010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27416
27417 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27418
cc9f2e47
UD
274192010-07-16 Ulrich Drepper <drepper@redhat.com>
27420
27421 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27422 call in strcasestr.
27423 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27424 __strcasestr_sse42_nonascii.
27425 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27426 strcasestr-nonascii.c.
27427 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27428
77c1b069
LM
274292010-06-15 Luis Machado <luisgpm@br.ibm.com>
27430
27431 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27432 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27433 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27434 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27435
440566c3
UD
274362010-07-09 Ulrich Drepper <drepper@redhat.com>
27437
27438 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27439 fcntl.
27440
5be9d05d
AS
274412010-07-06 Andreas Schwab <schwab@redhat.com>
27442
c30b7ee2 27443 [BZ #11577]
5be9d05d
AS
27444 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27445 dl_signal_cerror.
27446
8a492a67
UD
274472010-07-06 Ulrich Drepper <drepper@redhat.com>
27448
27449 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27450 _PC_PIPE_BUF using F_GETPIPE_SZ.
27451
713df3d5
RM
274522010-07-05 Roland McGrath <roland@redhat.com>
27453
27454 * manual/arith.texi (Rounding Functions): Fix rint description
27455 implicit in round description.
27456
702e8f14
UD
274572010-07-02 Ulrich Drepper <drepper@redhat.com>
27458
27459 * elf/Makefile: Fix linking for a few tests to make recent linker
27460 happy.
27461
52ed8be9
AS
274622010-06-30 Andreas Schwab <schwab@redhat.com>
27463
27464 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27465 $(common-objpfx)libc_nonshared.a.
27466
f47c9a11
LM
274672010-06-21 Luis Machado <luisgpm@br.ibm.com>
27468
27469 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27470 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27471 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27472 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27473 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27474 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27475 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27476 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27491 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27492 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27493 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27494 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27495 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27496 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27497 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27498 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27499 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27500 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27501 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27502 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27517
6fb8cbcb
L
275182010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27519
27520 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27521 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27522 * string/memmove.c (memmove): Renamed to ...
27523 (MEMMOVE): ...this. Default to memmove.
27524 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27525 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27526 (END_CHK): Define.
27527 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27528 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27529 mempcpy-ssse3-back memmove-ssse3-back.
27530 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27531 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27532 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27533 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27534 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27535 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27536 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27537 * sysdeps/x86_64/multiarch/memmove.c: New file.
27538 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27539 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27540 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27541 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27542 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27543 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27544 Define.
27545 (index_Fast_Copy_Backward): Define.
27546 (HAS_ARCH_FEATURE): Define.
27547 (HAS_FAST_REP_STRING): Define.
27548 (HAS_FAST_COPY_BACKWARD): Define.
27549
4e733bac 275502010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
27551
27552 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27553 Restore proper fallback handling.
27554
63c4ed22
UD
275552010-06-19 Ulrich Drepper <drepper@redhat.com>
27556
ac2b484c
UD
27557 [BZ #11701]
27558 * posix/group_member.c (__group_member): Correct checking loop.
27559
63c4ed22
UD
27560 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27561 OOM in getpwuid_r correctly. Return error number when the caller
27562 should return, otherwise -1.
27563 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27564 call returning > 0 value.
27565 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27566
765ade4b
AS
275672010-06-07 Andreas Schwab <schwab@redhat.com>
27568
27569 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27570 libc_nonshared.a from targets in modules-names.
27571
80da2e09
KS
275722010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27573
27574 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27575 requires it.
27576
158db122
LM
275772010-06-10 Luis Machado <luisgpm@br.ibm.com>
27578
27579 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27580 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27581 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27582 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27583
caa78cf8
AS
275842010-06-02 Andreas Schwab <schwab@redhat.com>
27585
27586 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27587
b2ef2c01
UD
275882010-06-14 Ulrich Drepper <drepper@redhat.com>
27589
27590 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27591 and F_GETPIPE_SZ.
27592 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27593 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27594 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27595 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27596 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27597 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27598
fbd643b6
RM
275992010-06-14 Roland McGrath <roland@redhat.com>
27600
27601 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27602
f32f2869
JJ
276032010-06-07 Jakub Jelinek <jakub@redhat.com>
27604
27605 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27606 __REDIRECT followed by __THROW.
27607 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27608 * posix/getopt.h (getopt): Likewise.
27609
2a50c078
EPM
276102010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27611
27612 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27613 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27614 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27615 in AT_FLAGS.
27616 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27617 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27618
eb5ad2eb
LM
276192010-05-28 Luis Machado <luisgpm@br.ibm.com>
27620
27621 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27622
3c88fe1e
L
276232010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27624
27625 [BZ #11640]
27626 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27627 Properly check family and model.
27628
d2f73151
TY
276292010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27630
27631 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27632
ebd2e13d
LM
276332010-05-24 Luis Machado <luisgpm@br.ibm.com>
27634
27635 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27636
b32b8b45
UD
276372010-05-21 Ulrich Drepper <drepper@redhat.com>
27638
27639 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27640 symbol reference.
27641
9acbe24d
AS
276422010-05-19 Andreas Schwab <schwab@redhat.com>
27643
27644 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27645 symbol reference.
27646
f0ccf6ea
AS
276472010-05-21 Andreas Schwab <schwab@redhat.com>
27648
3d04ff3a
AS
27649 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27650 and internal_recvmmsg.
27651 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27652 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27653 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27654 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27655
f0ccf6ea
AS
27656 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27657 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27658 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27659
5b08ac57
AS
276602010-05-20 Andreas Schwab <schwab@redhat.com>
27661
27662 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27663
4828935d
LM
276642010-05-17 Luis Machado <luisgpm@br.ibm.com>
27665
27666 POWER7 optimizations.
27667 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27668 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27669
373d545e
UD
276702010-05-19 Ulrich Drepper <drepper@redhat.com>
27671
27672 * version.h: Update for 2.13 development version.
27673
21a2b1ae
AS
276742010-05-12 Andrew Stubbs <ams@codesourcery.com>
27675
27676 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27677 exceptions. Return 0.
27678
3f7dcb2b
RM
276792010-05-07 Roland McGrath <roland@redhat.com>
27680
27681 * elf/ldconfig.c (main): Add a const.
27682
5f24d53a 276832010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 27684
a160f8d8
UD
27685 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27686 (args_options): Add no-idn option.
27687 (ahosts_keys_int): Add idn_flags to ai_flags.
27688 (parse_option): Handle 'i' option to clear idn_flags.
27689
5f24d53a
UD
27690 * malloc/malloc.c (_int_free): Possible race in the most recently
27691 added check. Only act on the data if no current modification
27692 happened.
265bb1ce
UD
27693
27694See ChangeLog.17 for earlier changes.