]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
New Makefile target `regen-ulps'.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
26510bdd
CD
12013-04-06 Carlos O'Donell <carlos@redhat.com>
2
3 * Makefile.in (regen-ulps): New target.
4 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
5 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
6 [ifneq (no,$(PERL)] (regen-ulps): New target.
7 [ifeq (no,$(PERL)] (regen-ulps): New target.
8 * math/libm-test.inc (ulps_file_name): Define.
9 (output_dir): New variable.
10 (options): Add "output-dir" option.
11 (parse_opt): Handle 'o' case.
12 (main): If output_dir is non-NULL use it as a prefix
13 otherwise use "".
14 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15
a01f19c8
CD
162013-04-06 Carlos O'Donell <carlos@redhat.com>
17
18 [BZ #10060, #10062]
19 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
21 fail configure if __sync_val_compare_and_swap is not inlined.
22 * sysdeps/i386/configure: Regenerate.
23 * configure.in: Build for i686 when configured for i386.
24 * configure: Regenerate.
25 * README: Remove i386 reference.
26
b7a329a5
CD
272013-04-06 Carlos O'Donell <carlos@redhat.com>
28
29 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30 * sysdeps/s390/s390-64/sysdep.h: Likewise.
31
bf0f50df
TS
322013-04-05 Thomas Schwinge <thomas@codesourcery.com>
33
ee091edf
TS
34 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
35 (lmsnanval): New variables.
36 (F): Add conversion tests.
37 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
38 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
39
a8b792d6
TS
40 * stdio-common/tstdiomisc.c (F): Properly collect individual
41 tests' results.
42
a1cbf437
TS
43 [BZ #14686, #15336]
44 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
45 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
46 Instead, use input NaN values or generate a qNaN by arithmetic
47 operation. Also fix bugs to comply with the standard.
48 * math/libm-test.inc (remainder_test): Add more tests.
49
8b43a0c9
TS
50 [BZ #15335, #15342]
51 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
52 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
53 input NaN values or generate a qNaN by arithmetic operation.
54
d91da4ce
TS
55 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
56 unreachable code.
57
bf0f50df
TS
58 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
59 definitions.
60
05e166c8
JM
612013-04-03 Joseph Myers <joseph@codesourcery.com>
62
63 [BZ #14478]
64 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
65 underflowed result.
66 * math/s_cexpf.c (__cexpf): Likewise.
67 * math/s_cexpl.c (__cexpl): Likewise.
68 * math/libm-test.inc (cexp_test): Add more tests.
69
1cef1b19
AS
702013-04-03 Andreas Schwab <schwab@suse.de>
71
72 [BZ #15330]
73 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
74 order arrays from heap if bigger than alloca cutoff.
75
74d87055
TS
762013-04-03 Thomas Schwinge <thomas@codesourcery.com>
77
78 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
79 (SNAN_TESTS_double): Refer to GCC PR56831.
80 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
81 GCC PR56828.
82
d755bba4
SP
832013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
84
90d5d5bb
SP
85 * Rules (bench): Move bench.out after the run is complete.
86
73e0cd5d
SP
87 * Rules (bench): Echo currently running benchmark.
88
64aabd4b
SP
89 * benchtests/Makefile (bench): Add atan and slowatan.
90 * benchtests/atan-inputs: New file.
91 * benchtests/slowatan-inputs: New file.
92 * benchtests/slowatan.c: New file.
93
c871eccd
SP
94 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
95 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
96 its value.
97
d755bba4
SP
98 [BZ #15305]
99 * sysdeps/unix/sysv/linux/kernel-features.h
100 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
101 __ASSUME_XFS_RESTRICTED_CHOWN.
102 * sysdeps/unix/sysv/linux/pathconf.c
103 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
104 Save and restore errno.
105
52ce4860
JM
1062013-04-02 Joseph Myers <joseph@codesourcery.com>
107
108 [BZ #15327]
109 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
110 arguments using __kernel_casinh.
111 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
112 arguments using __kernel_casinhf.
113 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
114 arguments using __kernel_casinhl.
115 * math/libm-test.inc (cacosh_test): Add more tests.
116 * sysdeps/i386/fpu/libm-test-ulps: Update.
117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
118
81f311c2
SP
1192013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
120
e7906a47
SP
121 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
122 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
123
92e3664b
SP
124 * bench/Makefile (bench): Add sin and slowsin.
125 * benchtests/sin-inputs: New file.
126 * benchtests/slowsin-inputs: New file.
127 * benchtests/slowsin.c: New file.
128
81f311c2
SP
129 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
130 (bench): Add slowexp and slowpow.
131 (exp-ITER): Increase iterations.
132 (pow-ITER): Likewise.
133 * benchtests/exp-inputs: Change input.
134 * benchtests/pow-inputs: Likewise.
135 * benchtests/slowexp-inputs: New file.
136 * benchtests/slowexp.c: New file.
137 * benchtests/slowpow-inputs: New file.
138 * benchtests/slowpow.c: New file.
139
ab0f1aa9
AZ
1402013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
141
142 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
143 instructions.
144 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
145 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
146 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
147 * benchtests/Makefile: Add rint benchtest.
148 * benchtests/rint-inputs: Input for rint benchtest.
149
57267616
TS
1502013-04-02 Thomas Schwinge <thomas@codesourcery.com>
151
152 * Versions.def (libm): Add GLIBC_2.18.
153 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
154 hidden libm prototypes.
155 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
156 * math/Makefile (libm-calls): Add s_issignaling.
157 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
158 __issignalingf, __issignalingl. Adjust all libm.abilist files.
159 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
160 declaration.
161 * math/math.h [__USE_GNU] (issignaling): New macro.
162 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
163 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
164 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
165 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
166 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
167 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
168 * manual/arith.texi (issignaling): New section.
169 * manual/libm-err-tab.pl (@all_functions): Update comment.
170 * math/gen-libm-test.pl (parse_args): Apply special handling for
171 issignaling.
172 * math/libm-test.inc (print_float, issignaling_test): New
173 functions.
174 (check_float_internal): Add issignaling checks.
175 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
176 default definition.
177 * sysdeps/powerpc/math-tests.h: New file.
178 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
179 tests.
180 * math/test-snan.c (TEST_FUNC): Likewise.
181
6142896d
DM
1822013-03-30 David S. Miller <davem@davemloft.net>
183
184 * po/de.po: Update from translation team.
185
ccc8cadf
JM
1862013-03-30 Joseph Myers <joseph@codesourcery.com>
187
188 [BZ #10357]
189 * math/k_casinh.c (__kernel_casinh): Handle arguments with
190 imaginary part less than 1.0 and real part less than 0.5
191 specially.
192 * math/k_casinhf.c (__kernel_casinhf): Likewise.
193 * math/k_casinhl.c (__kernel_casinhl): Likewise.
194 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
195 (cacos_test): Add more tests.
196 (casin_test): Likewise.
197 (casinh_test): Likewise.
198 * sysdeps/i386/fpu/libm-test-ulps: Update.
199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
200
0f6a8d4b
SP
2012013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
202
0d1029de
SP
203 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
204 ONE with its value.
205
c2d94018
SP
206 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
207 (__pow_mp): Replace ONE and MONE with their values.
208 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
209 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
210 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
211 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
212 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
213 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
214
27ec37f1
SP
215 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
216
a64d7e0e
SP
217 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
218 (__pow_mp): Replace ZERO and MZERO with their values.
219 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
220 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
221 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
222 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
223 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
224 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
225 (__sqr): Likewise.
226
d26dd3eb
SP
227 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
228
0f6a8d4b
SP
229 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
230
e57b0c61
RM
2312013-03-28 Roland McGrath <roland@hack.frob.com>
232
233 * include/stdlib.h [!SHARED] (__call_tls_dtors):
234 Declare with __attribute__ ((weak)).
235 * stdlib/exit.c (__libc_atexit) [!SHARED]:
236 Call __call_tls_dtors only if it's not NULL.
237
356b3480
RM
2382013-03-28 Roland McGrath <roland@hack.frob.com>
239
288f7d79
RM
240 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
241 didn't do it already, then set _dl_phdr and _dl_phnum based on the
242 magic __ehdr_start linker symbol if it's defined.
243 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
244 them up here if it was already done.
245
dc0a0263
RM
246 * elf/dl-support.c (_dl_phdr): Make pointer to const.
247 (_dl_aux_init): Use const in cast when setting it.
248 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
249 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
250 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
251
3d3436ae
RM
252 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
253 Declare them here.
254 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
255 * csu/libc-tls.c: Nor here.
256 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
257
356b3480
RM
258 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
259 (__libc_message): Never call vsyslog.
260
b0f1246a
AM
2612013-03-28 Alan Modra <amodra@gmail.com>
262
263 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
264 Define as empty.
265 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
266 Likewise.
267
fbbe2b9a
AZ
2682013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
269
270 [BZ #15214]
271 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
272 underflow.
273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
274
1728ab37
SP
2752013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
276
7a86be6e
SP
277 [BZ #15304]
278 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
279 Don't add gid passed as argument.
280
1728ab37
SP
281 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
282
3a7182a1
JM
2832013-03-27 Joseph Myers <joseph@codesourcery.com>
284
285 [BZ #15307]
286 * math/k_casinh.c (__kernel_casinh): Handle arguments with
287 imaginary part between 1.0 and 1.5 and real part less than 0.5
288 specially.
289 * math/k_casinhf.c (__kernel_casinhf): Likewise.
290 * math/k_casinhl.c (__kernel_casinhl): Likewise.
291 * math/libm-test.inc (cacos_test): Add more tests.
292 (casin_test): Likewise.
293 (casinh_test): Likewise.
294 * sysdeps/i386/fpu/libm-test-ulps: Update.
295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
296
6f2e90e7
SP
2972013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
298
5739f705
SP
299 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
300 constants.
301 (norm): Likewise.
302 (denorm): Likewise.
303 (__dbl_mp): Likewise.
304 (add_magnitudes): Likewise.
305 (sub_magnitudes): Likewise.
306 (__add): Likewise.
307 (__sub): Likewise.
308 (__mul): Likewise.
309 (__sqr): Likewise.
310 (__inv): Likewise.
311 (__dvd): Likewise.
312
e375e83d
SP
313 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
314 commented code.
315 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
316 (__dubcos): Likewise.
317 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
318 (__ieee754_acos): Likewise.
319 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
320 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
321 (__exp1): Likewise.
322 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
323 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
324 (log1): Likewise.
325 (my_log2): Likewise.
326 (checkint): Likewise.
327 * sysdeps/ieee754/dbl-64/e_remainder.c
328 (__ieee754_remainder): Likewise.
329 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
330 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
331 (bsloww): Likewise.
332 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
333
6f2e90e7
SP
334 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
335 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
336 MANTISSA_STORE_T to store computations on mantissa. Use
337 macros for rounding and division.
338 (denorm): Likewise.
339 (__dbl_mp): Likewise.
340 (add_magnitudes): Likewise.
341 (sub_magnitudes): Likewise.
342 (__mul): Likewise.
343 (__sqr): Likewise.
344 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
345 powers of two in terms of TWOPOW macro.
346 (mp_no): Make type of mantissa as MANTISSA_T.
347 [!RADIXI]: Define RADIXI.
348 [!TWO52]: Define TWO52.
349 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
350
fce14d4e
AZ
3512013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
352
353 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
354 llroundl symbol when building for PPC32.
355
9ad027fb
MW
3562013-03-24 Mark H Weaver <mhw@netris.org>
357
358 * manual/arith.texi (Normalization Functions): Fix prototypes for
359 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
360
e42a38dd
AZ
3612013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
362
363 [BZ #13889]
364 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
365 high value to check if expl overflow.
366 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
367 to check for underflow and overflow.
368 * math/libm-test.inc: Add exp test.
369
2e0fb521
DL
3702013-03-21 Dmitry V. Levin <ldv@altlinux.org>
371
372 [BZ #11120]
373 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
374 with NOT_IN_libc.
375
b5784d95
AZ
3762013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
377
378 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
379 symbol.
380
5aa4a1a1
TS
3812013-03-21 Thomas Schwinge <thomas@codesourcery.com>
382
bdef0be7
TS
383 * math/gen-libm-test.pl (parse_args, special_functions): Properly
384 wrap blocks consisting of several statements.
385
5aa4a1a1
TS
386 * sysdeps/generic/math-tests.h: New file.
387 * sysdeps/i386/fpu/math-tests.h: Likewise.
388 * math/test-snan.c: Include it.
389 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
390
98c48fe5
JM
3912013-03-21 Joseph Myers <joseph@codesourcery.com>
392
393 [BZ #15285]
394 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
395 (__ieee754_j0l): Do not improve calculations using cos of twice
396 input for inputs above LDBL_MAX / 2.0L.
397 (__ieee754_y0l): Likewise.
398 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
399 (__ieee754_j1l): Do not improve calculations using cos of twice
400 input for inputs above LDBL_MAX / 2.0L.
401 (__ieee754_y1l): Likewise.
402 * math/libm-test.inc (j0_test): Add another test.
403 (j1_test): Likewise.
404 (y0_test): Likewise.
405 (y1_test): Likewise.
406 * sysdeps/i386/fpu/libm-test-ulps: Update.
407
3775a8bc
SP
4082013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
409
410 * Rules ($(objpfx)bench-%.c): Include code from a C source
411 file.
412
0a1b2ae6
JM
4132013-03-21 Joseph Myers <joseph@codesourcery.com>
414
415 [BZ #15287]
416 * math/k_casinh.c (__kernel_casinh): Handle arguments with
417 imaginary part 1.0 and real part less than 0.5 specially.
418 * math/k_casinhf.c (__kernel_casinhf): Likewise.
419 * math/k_casinhl.c (__kernel_casinhl): Likewise.
420 * math/libm-test.inc (cacos_test): Add more tests.
421 (casin_test): Likewise.
422 (casinh_test): Likewise.
423 * sysdeps/i386/fpu/libm-test-ulps: Update.
424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
425
b33d4ce4
SP
4262013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
427
428 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
429 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
430
bef0b507
JM
4312013-03-20 Joseph Myers <joseph@codesourcery.com>
432
433 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
434 * config.make.in (config-cflags-sse4): Remove variable.
435 (config-cflags-avx): Likewise.
436 (config-cflags-sse2avx): Likewise.
437 (config-cflags-novzeroupper): Likewise.
438 (config-asflags-i686): Likewise.
439 (have-mfma4): Likewise.
440 (have-as-vis3): Likewise.
441 (MIG): Likewise.
442 * configure.in (MIG): Do not AC_SUBST.
443 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
444 (libc_cv_cc_sse4): Do not AC_SUBST.
445 (libc_cv_cc_avx): Likewise.
446 (libc_cv_cc_sse2avx): Likewise.
447 (libc_cv_cc_novzeroupper): Likewise.
448 (libc_cv_cc_fma4): Likewise.
449 (libc_cv_as_i686): Likewise.
450 (libc_cv_sparc_as_vis3): Likewise.
451 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
452 LIBC_CONFIG_VAR.
453 (config-asflags-i686): Likewise.
454 (config-cflags-avx): Likewise.
455 (config-cflags-sse2avx): Likewise.
456 (have-mfma4): Likewise.
457 (config-cflags-novzeroupper): Likewise.
458 * sysdeps/mach/configure.in (MIG): Likewise.
459 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
460 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
461 LIBC_CONFIG_VAR.
462 (config-cflags-avx): Likewise.
463 (config-cflags-sse2avx): Likewise.
464 (have-mfma4): Likewise.
465 (config-cflags-novzeroupper): Likewise.
466 * configure: Regenerated.
467 * sysdeps/i386/configure: Likewise.
468 * sysdeps/mach/configure: Likewise.
469 * sysdeps/sparc/configure: Likewise.
470 * sysdeps/x86_64/configure: Likewise.
471
912cc4b3
RM
4722013-03-20 Roland McGrath <roland@hack.frob.com>
473
474 [BZ #14812]
475 * locale/programs/localedef.c (options): Put N_ translation marker
476 on argument names, not just descriptions.
477
04eed2b0
MS
4782013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
479
480 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
481
a065ceff
OB
4822013-03-20 Ondřej Bílka <neleai@seznam.cz>
483
9bb2a810 484 [BZ #14176]
a065ceff
OB
485 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
486
a600e5ce
RM
4872013-03-19 Roland McGrath <roland@hack.frob.com>
488
489 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
490 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
491 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
492 [!BEFORE_ABORT] (before_abort): New function.
493 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
494 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
495 (writev_for_fatal): New function.
496 (WRITEV_FOR_FATAL): New macro; call that.
497 (backtrace_and_maps): New function.
498 (BEFORE_ABORT): New macro; call that.
499 (struct str_list): Type removed.
500 (__libc_message, __libc_fatal): Functions removed.
501 Include <sysdeps/posix/libc_fatal.c> instead.
502
6b18bea6
JM
5032013-03-19 Joseph Myers <joseph@codesourcery.com>
504
505 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
506 constants.
507 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
508 double constants.
509
aaa8cb4b
AS
5102013-03-19 Andreas Schwab <schwab@suse.de>
511
44673770
AS
512 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
513 * sysdeps/gnu/configure: Regenerate.
514
aaa8cb4b
AS
515 * configure.in: Substitute libc_cv_rtlddir.
516 * configure: Regenerate.
517 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
518 * Makeconfig (rtlddir, inst_rtlddir): New variables.
519 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
520 * elf/Makefile (install-others, CFLAGS-interp.c)
521 (ldso_install, common-ldd-rewrite): Likewise.
522 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
523 $(inst_slibdir)/$(rtld-installed-name).
524 * scripts/rellns-sh: Add -p option.
525 * Makerules (make-shlib-link): Use rellns-sh to get relative name
526 for source.
527
d3cfc668
SP
5282013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
529
530 * manual/nptl.texi: Renamed to ...
531 * manual/threads.texi: ... this.
532 * manual/Makefile (chapters): Update.
533
0e2b9cdd
RM
5342013-03-18 Roland McGrath <roland@hack.frob.com>
535
536 [BZ #14812]
537 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
538 on argument names, not just descriptions.
0e2b9cdd
RM
539 * malloc/memusagestat.c (options): Likewise.
540 * nss/getent.c (options): Likewise.
63270c24
RM
541
5422013-03-18 Benno Schulenberg <bensberg@justemail.net>
543
544 [BZ #14812]
545 * iconv/iconv_prog.c (options): Put N_ translation marker
546 on argument names, not just descriptions.
547 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 548
b2e1393c
OB
5492013-03-18 Ondrej Bilka <neleai@seznam.cz>
550
551 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
552 implementation which is faster on all x86_64 architectures.
553 Tested on AMD, Intel Nehalem, SNB, IVB.
554 * sysdeps/x86_64/strnlen.S: Likewise.
555
556 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
557 Remove all multiarch strlen and strnlen versions.
558 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
559 Remove strlen and strnlen related parts.
560
561 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
562 Inline strlen part.
563 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
564
565 * sysdeps/x86_64/multiarch/strlen.S: Remove.
566 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
567 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
568 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
569 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
570 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
571
ec4ff04d
CD
5722013-03-17 Carlos O'Donell <carlos@redhat.com>
573
574 * manual/memory.texi (Malloc Tunable Parameters):
575 Sort parameters alphabetically. Add comments for missing entries.
576
cd18e90a
DM
5772013-03-17 David S. Miller <davem@davemloft.net>
578
579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
580
2a185d32
JM
5812013-03-16 Joseph Myers <joseph@codesourcery.com>
582
d2f9799e
JM
583 [BZ #15283]
584 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
585 for arguments at most half maximum finite value.
586 * math/libm-test.inc (j0_test): Add more tests.
587 (j1_test): Likewise.
588 (y0_test): Likewise.
589 (y1_test): Likewise.
590 * sysdeps/i386/fpu/libm-test-ulps: Update.
591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
592
2a185d32
JM
593 [BZ #14155]
594 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
595 1 / x and functions P and Q for arguments above 0x1p256L.
596 (__ieee754_y0l): Likewise.
597 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
598 (__ieee754_y1l): Likewise.
599 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
600 (j1_test): Likewise.
601 (y0_test): Likewise.
602 (y1_test): Likewise.
603
6cbec759
TS
6042013-03-16 Thomas Schwinge <thomas@codesourcery.com>
605
606 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
607 variable.
608
bc16e260
RM
6092013-03-15 Roland McGrath <roland@hack.frob.com>
610
aefc9b8c
RM
611 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
612 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
613 zero since it's initialized to EXEC_PAGESIZE.
614
bc16e260
RM
615 * sysdeps/unix/sysv/linux/ldsodefs.h
616 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
617 * sysdeps/generic/ldsodefs.h: ... here.
618
a57da955
TS
6192013-03-15 Thomas Schwinge <thomas@codesourcery.com>
620
af00a34d
TS
621 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
622
495ded2c
TS
623 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
624 math/test-snan.c.
625 * math/test-snan.c: Renamed from
626 sysdeps/powerpc/fpu/test-powerpc-snan.c.
627 * math/Makefile (tests): Add test-snan.
628 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
629 test-powerpc-snan.
630
777b0332
TS
631 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
632 SUFFIX. Initialize qNaN_var with __builtin_nan family of
633 functions.
634 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
635 __builtin_nan family of functions.
636 * math/libm-test.inc (initialize): Initialize qnan_value with
637 __builtin_nan family of functions.
638 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
639 Remove variables.
640 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
641 Remove functions.
642 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
643 storage class. Initialize qNaN_var and sNaN_var with
644 __builtin_nan and __builtin_nans families of functions,
645 respectively.
646
64d063b8
TS
647 * math/libm-test.inc (acosh_test): Also test with qNaN input.
648 (sqrt_test): Remove duplicate test with qNaN input.
649 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
650 (round_test, signbit_test, significand_test): Note missing +/-Inf
651 as well as qNaN tests.
652
67e971f1
TS
653 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
654 qNaN_var. Fix a few strings, too.
655 * math/libm-test.inc (nan_value): Rename to qnan_value.
656 * math/gen-libm-test.pl (%beautify): Adjust to that.
657 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
658 * math/test-misc.c (main): Likewise.
659 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
660 to __qnan_bytes, and __qnan_union, respectively.
661 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
662 Likewise.
663 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
664 and lqnanval, respectively.
665 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
666 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
667 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
668 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
669
64487e12
TS
670 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
671 * math/test-misc.c (main) [__x86_64__]: Enable test for long
672 doubles.
673
e015e27b
TS
674 * math/test-misc.c (main): Fix copy'n'pastos.
675 * misc/tst-efgcvt.c (special): Likewise.
676
a57da955
TS
677 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
678 Remove declarations.
679
1e380345
SP
6802013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
681
682 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
683 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
684 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
685 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
686
ef26eece
AZ
6872013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
688
689 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
690 macro to return vdso values correctly in IFUNC implementations.
691 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
692 Optimization by using IFUNC.
693
8cfdb7e0
SP
6942013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
695 Richard Henderson <rth@redhat.com>
696 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
697
698 * Makefile.in (bench): New target.
699 * NEWS: Mention the benchmark framework.
700 * Rules (bench): Likewise.
701 (binaries-bench): Generate binaries for functions to
702 benchmark.
703 * benchtests/Makefile: New makefile for benchmark tests.
704 * benchtests/bench-skeleton.c: New skeleton file for benchmark
705 programs.
706 * benchtests/exp-inputs: New input file for EXP function.
707 * benchtests/pow-inputs: New input file for POW function.
708 * scripts/bench.pl: New script to generate source files for
709 benchmark programs.
710
bcda9880
SP
7112013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
712
d22ca8cd
SP
713 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
714 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
715 computations on mantissa. Use macros for rounding and
716 division.
717 (denorm): Likewise.
718 (__dbl_mp): Likewise.
719 (add_magnitudes): Likewise.
720 (sub_magnitudes): Likewise.
721 (__mul): Likewise.
722 (__sqr): Likewise.
723 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
724 powers of two in terms of TWOPOW macro.
725 (mp_no): Make type of mantissa as MANTISSA_T.
726 [!RADIXI]: Define RADIXI.
727 [!TWO52]: Define TWO52.
728 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
729
bcda9880
SP
730 * manual/nptl.texi (cindex): Modify threads to pthreads.
731
06d5adfb
JM
7322013-03-15 Joseph Myers <joseph@codesourcery.com>
733
734 * sysdeps/x86_64/preconfigure: Regenerated.
735
41c7328e
JM
7362013-03-14 Joseph Myers <joseph@codesourcery.com>
737
738 [BZ #14155]
739 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
740 0x1p28 and above.
741 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
742 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
743 0x1p28 and above.
744 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
745 * math/libm-test.inc (j0_test): Do not allow one spurious
746 underflow exception.
747 (y1_test): Likewise.
748
e25cfa60
SP
7492013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
750
0409959c
SP
751 * manual/Makefile (chapters): Add nptl.
752 * manual/debug.texi (Debugging Support): Add link to Threads
753 chapter.
754 * manual/nptl.texi: New file.
755
e25cfa60
SP
756 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
757
58a1335e
PB
7582013-03-14 Petr Baudis <pasky@ucw.cz>
759
760 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
761 for non-NULL pointer before the memory validity test. Pointed
762 out by Holger Brunck <holger.brunck@keymile.com>.
763
9dc7c64f
AS
7642013-03-13 Andreas Schwab <schwab@suse.de>
765
766 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
767 instead of .os.
768
54206aa6
JM
7692013-03-13 Joseph Myers <joseph@codesourcery.com>
770
771 * timezone/zic.c: Update from tzcode 2013b.
772
e98cdb38
CD
7732013-03-12 Carlos O'Donell <carlos@redhat.com>
774
775 * manual/install.texi (Configuring and compiling):
776 Mention i686 and i586.
777 * INSTALL: Regenerate.
778
9967e003
RM
7792013-03-12 Roland McGrath <roland@hack.frob.com>
780
781 * sysdeps/init_array/elf-init.c: New file.
782 * csu/elf-init.c
783 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
784 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
785
786 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
787 __gmon_start__ as global, but as static with a .preinit_array pointer.
788 * sysdeps/init_array/gmon-start.c: New file. Use that.
789 * sysdeps/init_array/crti.S: New file, empty except for comments.
790 * sysdeps/init_array/crtn.S: Likewise.
791
e6b5a293 7922013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
793
794 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
795 definining bcopy.
80f844c9
OB
796 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
797 Remove Prefer_SSE_for_memop.
798 * sysdeps/x86_64/multiarch/init-arch.h: Remove
799 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
800 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
801 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
802 memset-x86-64.
80f844c9 803 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 804 Remove bzero, memset ifunc support.
80f844c9
OB
805 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
806 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
807 * sysdeps/x86_64/multiarch/memset.S: Likewise.
808 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
809
fb6b0fcb
AS
8102013-03-11 Andreas Schwab <schwab@suse.de>
811
812 [BZ #15234]
813 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
814 by SHLIB_COMPAT.
815 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
816 (GLIBC_2.16): Remove pthread_atfork.
817
3e6bd4b1
PP
8182013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
819
820 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
821 (ptestcases.h): Likewise.
822
222d7f00
RM
8232013-03-08 Roland McGrath <roland@hack.frob.com>
824
825 * Makeconfig ($(common-objpfx)config.status): Depend on
826 sysdeps/*/preconfigure{,.in} too.
827
1ba4f030
JM
8282013-03-08 Joseph Myers <joseph@codesourcery.com>
829
a222d91a
JM
830 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
831 (__free_hook): Use void * instead of __malloc_ptr_t.
832 (__malloc_hook): Likewise.
833 (__realloc_hook): Likewise.
834 (__memalign_hook): Likewise.
835 (__after_morecore_hook): Likewise.
836 * malloc/arena.c (save_malloc_hook): Likewise.
837 (save_free_hook): Likewise.
838 * malloc/hooks.c (malloc_hook_ini): Likewise.
839 (realloc_hook_ini): Likewise.
840 (memalign_hook_ini): Likewise.
841 * malloc/malloc.c (malloc_hook_ini): Likewise.
842 (realloc_hook_ini): Likewise.
843 (memalign_hook_ini): Likewise.
844 (__free_hook): Likewise.
845 (__malloc_hook): Likewise.
846 (__realloc_hook): Likewise.
847 (__memalign_hook): Likewise.
848 (__libc_malloc): Likewise.
849 (__libc_free): Likewise.
850 (__libc_realloc): Likewise.
851 (__libc_memalign): Likewise.
852 (__libc_valloc): Likewise.
853 (__libc_pvalloc): Likewise.
854 (__libc_calloc): Likewise.
855 (__posix_memalign): Likewise.
856 * malloc/morecore.c (__sbrk): Likewise.
857 (__default_morecore): Likewise.
858
5cc45e10
JM
859 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
860
dd54b864
JM
861 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
862 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
863 __malloc_ptrdiff_t.
864
1ba4f030
JM
865 * malloc/malloc.h (__malloc_size_t): Remove macro.
866 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
867 __malloc_size_t.
868 (old_memalign_hook): Likewise.
869 (old_realloc_hook): Likewise.
870 (struct hdr): Likewise.
871 (flood): Likewise.
872 (mallochook): Likewise.
873 (memalignhook): Likewise.
874 (reallochook): Likewise.
875 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
876 (tr_old_realloc_hook): Likewise.
877 (tr_old_memalign_hook): Likewise.
878 (tr_mallochook): Likewise.
879 (tr_reallochook): Likewise.
880 (tr_memalignhook): Likewise.
881
edf66e57
AZ
8822013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
883
884 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
885 default_ldbl_pack and using as default implementation.
886 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
887 implementation.
888 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
889 redundant definition.
890 (ldbl_insert_mantissa): Likewise.
891 (ldbl_canonicalize): Likewise.
892 (ldbl_nearbyint): Likewise.
893 (ldbl_pack): Rename to ldbl_pack_ppc.
894 (ldbl_unpack): Rename to ldbl_unpack_ppc.
895 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
896 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
897
6d9145d8
SP
8982013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
899
900 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
901 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
902 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
903 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
904 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
905 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
906 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
907 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
908
4dd4e157
AJ
9092013-03-07 Andreas Jaeger <aj@suse.de>
910
911 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
912 bits/mman-linux.h.
913
adbb8027
SP
9142013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
915
ce544b5b
SP
916 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
917 Include mpa.h and declare __MPEXP.
918 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
919 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
920 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
921 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
922 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
923 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
924 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
925
4cc149fd
SP
926 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
927 (__slowpow): Use long double EXPL and LOGL functions to
928 compute POW.
929 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
930 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
931 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
932 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
933 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
934 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
935
e6ebd4a7
SP
936 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
937 intermediate variable to calculate exponent.
938 (__sqr): Likewise.
939 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
940 Likewise.
941 (__sqr): Likewise.
942
82a9811d
SP
943 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
944 [!NO__SQR]: Define __sqr.
945 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
946 and NO__SQR. Remove all code except __mul and __sqr. Include
947 sysdeps/ieee754/dbl-64/mpa.c.
948 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
949
adbb8027
SP
950 [BZ #12723]
951 * posix/Makefile (tests): Add tst-pathconf.
952 * posix/tst-pathconf.c: New test case.
953 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
954 _PC_PIPE_BUF.
955 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
956
39120df9
PF
9572013-03-06 Patsy Franklin <pfrankli@redhat.com>
958
959 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
960
67525cb8
AJ
9612013-03-06 Andreas Jaeger <aj@suse.de>
962
664a9ce4
AJ
963 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
964 definition via __MAP_ANONYMOUS.
965
8e39047d
AJ
966 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
967 it's not part of Linux headers.
968
67525cb8
AJ
969 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
970 (MAP_HUGE_MASK): Define.
971
972 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
973 Define.
974 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
975 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
976 Define.
977 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
978 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
979 Define.
980 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
981 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
982 Define.
983 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
984
985 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
986 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
987 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
988 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
989 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
990 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
991
992 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
993 Handle f2fs.
994
995 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
996 Handle f2fs and efivarfs.
997
998 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
999 f2fs.
1000
1001 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1002 (EFIVARFS_MAGIC): Add.
1003 (F2FS_LINK_MAX): Add.
1004
e1b42695
PP
10052013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1006
1007 * stdio-common/vfprintf.c: Replace __builtin_expect with
1008 __glibc_unlikely.
1009
2d67d91a
JM
10102013-03-06 Joseph Myers <joseph@codesourcery.com>
1011
1012 [BZ #13550]
1013 * sysdeps/generic/bp-sym.h: Remove file.
1014 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1015 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1016 <bp-sym.h> and <bp-asm.h>.
1017 (__longjmp): Don't use BP_SYM.
1018 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1019 and <bp-asm.h>.
1020 (memcpy): Don't use BP_SYM.
1021 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1022 <bp-sym.h> and <bp-asm.h>.
1023 (memcpy): Don't use BP_SYM.
1024 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1025 <bp-asm.h>.
1026 (memcpy): Don't use BP_SYM.
1027 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1028 <bp-asm.h>.
1029 (memset): Don't use BP_SYM.
1030 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1031 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1032 (__bzero): Don't use BP_SYM.
1033 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1034 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1035 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1036 <bp-sym.h> and <bp-asm.h>.
1037 (memcmp): Don't use BP_SYM. Remove comment about bounded
1038 pointers.
1039 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1040 <bp-sym.h> and <bp-asm.h>.
1041 (memcpy): Don't use BP_SYM.
1042 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1043 <bp-sym.h> and <bp-asm.h>.
1044 (memset): Don't use BP_SYM.
1045 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1046 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1047 (__bzero): Don't use BP_SYM.
1048 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1049 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1050 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1051 <bp-sym.h> and <bp-asm.h>.
1052 (strncmp): Don't use BP_SYM. Remove comment about bounded
1053 pointers.
1054 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1055 <bp-sym.h> and <bp-asm.h>.
1056 (memcpy): Don't use BP_SYM.
1057 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1058 <bp-sym.h> and <bp-asm.h>.
1059 (memset): Don't use BP_SYM.
1060 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1061 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1062 (__bzero): Don't use BP_SYM.
1063 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1064 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1065 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1066 <bp-sym.h> and <bp-asm.h>.
1067 (__memchr): Don't use BP_SYM.
1068 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1069 <bp-sym.h> and <bp-asm.h>.
1070 (memcmp): Don't use BP_SYM. Remove comment about bounded
1071 pointers.
1072 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1073 <bp-sym.h> and <bp-asm.h>.
1074 (memcpy): Don't use BP_SYM.
1075 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1076 <bp-sym.h> and <bp-asm.h>.
1077 (__mempcpy): Don't use BP_SYM.
1078 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1079 <bp-sym.h> and <bp-asm.h>.
1080 (__memrchr): Don't use BP_SYM.
1081 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1082 <bp-sym.h> and <bp-asm.h>.
1083 (memset): Don't use BP_SYM.
1084 (__bzero): Likewise.
1085 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1086 <bp-sym.h> and <bp-asm.h>.
1087 (__rawmemchr): Don't use BP_SYM.
1088 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1089 <bp-sym.h> and <bp-asm.h>.
1090 (__STRCMP): Don't use BP_SYM.
1091 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1092 <bp-sym.h> and <bp-asm.h>.
1093 (strchr): Don't use BP_SYM.
1094 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1095 <bp-sym.h> and <bp-asm.h>.
1096 (__strchrnul): Don't use BP_SYM.
1097 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1098 <bp-sym.h> and <bp-asm.h>.
1099 (strlen): Don't use BP_SYM.
1100 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1101 <bp-sym.h> and <bp-asm.h>.
1102 (strncmp): Don't use BP_SYM. Remove comment about bounded
1103 pointers.
1104 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1105 <bp-sym.h> and <bp-asm.h>.
1106 (__strnlen): Don't use BP_SYM.
1107 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1108 <bp-sym.h> and <bp-asm.h>.
1109 (__GI__setjmp): Don't use BP_SYM.
1110 (_setjmp): Likewise.
1111 (__sigsetjmp): Likewise.
1112 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1113 (L(start_addresses)): Don't use BP_SYM.
1114 (_start): Likewise.
1115 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1116 <bp-asm.h>.
1117 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1118 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1119 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1120 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1121 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1122 <bp-asm.h>.
1123 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1124 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1125 about bounded pointers.
1126 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1127 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1128 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1129 <bp-asm.h>.
1130 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1131 about bounded pointers. Remove GKM FIXME comments.
1132 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1133 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1134 <bp-asm.h>.
1135 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1136 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1137 Remove GKM FIXME comments.
1138 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1139 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1140 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1141 <bp-asm.h>.
1142 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1143 about bounded pointers. Remove GKM FIXME comment.
1144 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1145 and <bp-asm.h>.
1146 (strncmp): Don't use BP_SYM. Remove comment about bounded
1147 pointers.
1148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1149 <bp-sym.h> and <bp-asm.h>.
1150 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1152 <bp-sym.h> and <bp-asm.h>.
1153 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1154 comment.
1155
cdcf361f
PP
11562013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1157
1158 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1159 call free(NULL).
1160
3c4a2b15
DM
11612013-03-05 David S. Miller <davem@davemloft.net>
1162
1163 * po/es.po: Update from translation team.
1164
cdcf361f 11652013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
1166
1167 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1168 <bits/mman-linux.h>.
1169 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1170 is fine.
1171 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1172 <bits/mman-linux.h> to end of file.
1173 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1174 is fine.
1175 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1176 <bits/mman-linux.h> to end of file.
1177 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1178 is fine.
1179 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1180 <bits/mman-linux.h> to end of file.
1181
1182 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1183 (MCL_CURRENT, MCL_FUTURE): Define here.
1184
5f67c04f
AK
11852013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1186
8a4473cc 1187 [BZ #15232]
5f67c04f
AK
1188 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1189 attribute_hidden.
1190 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1191
c3e94a95
AK
11922013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1193
1194 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1195 fourth parameter needed for rt_sigprocmask syscall.
1196 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1197 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1198 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1199 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1200 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1201 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1202
cfb6382a
JM
12032013-03-04 Joseph Myers <joseph@codesourcery.com>
1204
1205 [BZ #13550]
1206 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1207 comment about bounded pointers.
1208 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1209 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1210
539d8e01
AJ
12112013-03-04 Andreas Jaeger <aj@suse.de>
1212
1213 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1214 common definitions.
1215
1216 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1217 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1218 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1219 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1220 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
1221 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1222
2e167a70 12232013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
1224
1225 [BZ #15055]
1226 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1227 __ieee754_sqrl instead of __sqrl.
1228
68508633
JM
12292013-03-01 Joseph Myers <joseph@codesourcery.com>
1230
1231 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1232 * sysdeps/powerpc/fpu_control.h: ... here.
1233 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1234 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1235 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1236 * sysdeps/powerpc/bits/mathinline.h: ... here.
1237
7775448e
RM
12382013-03-01 Roland McGrath <roland@hack.frob.com>
1239
1240 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1241 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1242 to just [NEED_DL_SYSINFO_DSO].
1243 * elf/dl-support.c: Likewise.
1244 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1245 * elf/rtld.c (dl_main): Likewise.
1246 * elf/setup-vdso.h (setup_vdso): Likewise.
1247 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1248 * sysdeps/unix/sysv/linux/dl-sysdep.c
1249 (_dl_discover_osversion): Likewise.
1250
4e9b5995
CD
12512013-03-01 Carlos O'Donell <carlos@redhat.com>
1252
1253 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1254 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1255
e23872c8
SP
12562013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1257
e5c74c63
SP
1258 * NEWS: Mention libm performance improvements and non-x86 PI
1259 futex support.
1260
e23872c8
SP
1261 * csu/libc-start.c (__pthread_initialize_minimal): Change
1262 function arguments.
1263 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1264
b5510883
JM
12652013-02-28 Joseph Myers <joseph@codesourcery.com>
1266
1267 [BZ #13550]
1268 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1269 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1270 <bp-sym.h> and <bp-asm.h>.
1271 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1272 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1273 and <bp-asm.h>.
1274 (memcpy): Don't use BP_SYM.
1275 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1276 <bp-asm.h>.
1277 (__mpn_add_n): Don't use BP_SYM.
1278 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1279 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1280 and <bp-asm.h>.
1281 (__mpn_addmul_1): Don't use BP_SYM.
1282 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1283 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1284 <bp-sym.h>.
1285 (_setjmp): Don't use BP_SYM.
1286 (__novmx_setjmp): Likewise.
1287 (__GI__setjmp): Likewise.
1288 (__vmx_setjmp): Likewise.
1289 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1290 <bp-sym.h>.
1291 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1292 (__bzero): Don't use BP_SYM.
1293 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1294 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1295 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1296 <bp-sym.h> and <bp-asm.h>.
1297 (memcpy): Don't use BP_SYM.
1298 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1299 <bp-sym.h> and <bp-asm.h>.
1300 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1301 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1302 <bp-sym.h> and <bp-asm.h>.
1303 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1304 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1305 <bp-asm.h>.
1306 (__mpn_lshift): Don't use BP_SYM.
1307 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1308 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1309 <bp-asm.h>.
1310 (memset): Don't use BP_SYM.
1311 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1312 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1313 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1314 <bp-asm.h>.
1315 (__mpn_mul_1): Don't use BP_SYM.
1316 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1317 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1318 <bp-sym.h> and <bp-asm.h>.
1319 (memcmp): Don't use BP_SYM.
1320 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1321 <bp-sym.h> and <bp-asm.h>.
1322 (memcpy): Don't use BP_SYM.
1323 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1324 <bp-sym.h> and <bp-asm.h>.
1325 (memset): Don't use BP_SYM.
1326 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1327 <bp-sym.h> and <bp-asm.h>.
1328 (strncmp): Don't use BP_SYM.
1329 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1330 <bp-sym.h> and <bp-asm.h>.
1331 (memcpy): Don't use BP_SYM.
1332 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1333 <bp-sym.h> and <bp-asm.h>.
1334 (memset): Don't use BP_SYM.
1335 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1336 <bp-sym.h> and <bp-asm.h>.
1337 (__memchr): Don't use BP_SYM.
1338 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1339 <bp-sym.h> and <bp-asm.h>.
1340 (memcmp): Don't use BP_SYM.
1341 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1342 <bp-sym.h> and <bp-asm.h>.
1343 (memcpy): Don't use BP_SYM.
1344 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1345 <bp-sym.h> and <bp-asm.h>.
1346 (__mempcpy): Don't use BP_SYM.
1347 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1348 <bp-sym.h> and <bp-asm.h>.
1349 (__memrchr): Don't use BP_SYM.
1350 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1351 <bp-sym.h> and <bp-asm.h>.
1352 (memset): Don't use BP_SYM.
1353 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1354 <bp-sym.h> and <bp-asm.h>.
1355 (__rawmemchr): Don't use BP_SYM.
1356 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1357 <bp-sym.h> and <bp-asm.h>.
1358 (__STRCMP): Don't use BP_SYM.
1359 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1360 <bp-sym.h> and <bp-asm.h>.
1361 (strchr): Don't use BP_SYM.
1362 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1363 <bp-sym.h> and <bp-asm.h>.
1364 (__strchrnul): Don't use BP_SYM.
1365 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1366 <bp-sym.h> and <bp-asm.h>.
1367 (strlen): Don't use BP_SYM.
1368 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1369 <bp-sym.h> and <bp-asm.h>.
1370 (strncmp): Don't use BP_SYM.
1371 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1372 <bp-sym.h> and <bp-asm.h>.
1373 (__strnlen): Don't use BP_SYM.
1374 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1375 <bp-asm.h>.
1376 (__mpn_rshift): Don't use BP_SYM.
1377 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1378 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1379 <bp-sym.h> and <bp-asm.h>.
1380 (__sigsetjmp): Don't use BP_SYM.
1381 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1382 (L(start_addresses)): Don't use BP_SYM.
1383 (_start): Likewise.
1384 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1385 <bp-asm.h>.
1386 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1387 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1388 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1389 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1390 <bp-asm.h>.
1391 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1392 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1393 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1394 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1395 <bp-asm.h>.
1396 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1397 comments.
1398 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1399 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1400 <bp-asm.h>.
1401 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1402 FIXME comments.
1403 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1404 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1405 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1406 <bp-asm.h>.
1407 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1408 comment.
1409 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1410 and <bp-asm.h>.
1411 (strncmp): Don't use BP_SYM,
1412 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1413 <bp-asm.h>.
1414 (__mpn_sub_n): Don't use BP_SYM.
1415 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1416 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1417 and <bp-asm.h>.
1418 (__mpn_submul_1): Don't use BP_SYM.
1419 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1421 <bp-sym.h> and <bp-asm.h>.
1422 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1424 <bp-sym.h> and <bp-asm.h>.
1425 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1426 comment.
1427
8d19fe64
SP
14282013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1429
1430 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1431 Use ZK to minimize writes to Z.
1432 (sub_magnitudes): Simplify code a bit.
1433 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1434 Use ZK to minimize writes to Z.
1435 (sub_magnitudes): Simplify code a bit.
1436
85bd816a
RM
14372013-02-27 Roland McGrath <roland@hack.frob.com>
1438
1439 * csu/gmon-start.c: Add special exception to license text.
1440
b5977bf2
RH
14412013-02-27 Richard Henderson <rth@redhat.com>
1442
1443 * scripts/config.guess: Update from config.git.
1444 * scripts/config.sub: Likewise.
1445
11d6e2f2
SP
14462013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1447
09c14ed2
SP
1448 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1449
a688864e
SP
1450 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1451
6295157a
SP
1452 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1453
b8de2202
SP
1454 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1455
11d6e2f2
SP
1456 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1457
7e80ddb8
RM
14582013-02-26 Roland McGrath <roland@hack.frob.com>
1459
1460 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1461 [$(build-shared = yes].
7e80ddb8 1462
7da6d9ed
SP
14632013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1464
45f05884
SP
1465 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1466 (__mul): Reduce iterations for calculating mantissa.
1467
2236d359
SP
1468 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1469 MPTWO.
1470 (__mpranred): Likewise.
1471
7da6d9ed
SP
1472 [BZ #15160]
1473 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1474 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1475
b7688c42
PE
14762013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1477
1478 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1479 Define __attribute__.
1480
53a5c423
SP
14812013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1482
1483 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1484 unused.
1485 * posix/regex_internal.h (__attribute): Remove.
1486 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1487 (re_string_context_at): Likewise.
1488 (bitset_not): Use __attribute__ and mark function as possibly
1489 unused.
1490 (bitset_merge): Likewise.
1491 (bitset_mask): Likewise.
1492 (re_string_char_size_at): Likewise.
1493 (re_string_wchar_at): Likewise.
1494 (re_string_elem_size_at): Likewise.
1495
60f5a8b5
SP
14962013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1497
2a983a2e
SP
1498 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1499 code.
1500 (cc32): Likewise.
1501
e69804d1
SP
1502 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1503 (__acr): Likewise.
1504 (__cpy): Likewise.
1505 (norm): Likewise.
1506 (denorm): Likewise.
1507 (__dbl_mp): Likewise.
1508 (add_magnitudes): Likewise.
1509 (sub_magnitudes): Likewise.
1510 (__mul): Likewise.
1511 (__inv): Likewise.
1512
2f22a1e8
SP
1513 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1514 style.
1515
8930ddc7
SP
1516 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1517 style.
1518
dc60cb11
SP
1519 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1520 code.
1521
60f5a8b5
SP
1522 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1523 up changes with default code.
1524 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1525 Likewise.
1526
b4d1fd33
AM
15272013-02-24 Allan McRae <allan@archlinux.org>
1528
faf6f8bc
AM
1529 * manual/socket.texi (The Internet Namespace): Order menu items
1530 to match that in the file.
1531
b4d1fd33
AM
1532 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1533 node listing of the info page menu.
1534
2366713d
JM
15352013-02-21 Joseph Myers <joseph@codesourcery.com>
1536
1537 [BZ #13550]
1538 * sysdeps/i386/bp-asm.h: Remove file.
1539 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1540 (PARMS): Do not use macros from bp-asm.h.
1541 (S1): Likewise.
1542 (S2): Likewise.
1543 (SIZE): Likewise.
1544 (__mpn_add_n): Do not use BP_SYM
1545 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1546 "bp-asm.h".
1547 (PARMS): Do not use macros from bp-asm.h.
1548 (S1): Likewise.
1549 (SIZE): Likewise.
1550 (__mpn_addmul_1): Do not use BP_SYM
1551 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1552 "bp-asm.h".
1553 (PARMS): Do not use macros from bp-asm.h.
1554 (SIGMSK): Likewise.
1555 (_setjmp): Likewise. Do not use BP_SYM.
1556 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1557 "bp-asm.h".
1558 (PARMS): Do not use macros from bp-asm.h.
1559 (SIGMSK): Likewise.
1560 (setjmp): Likewise. Do not use BP_SYM.
1561 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1562 "bp-asm.h".
1563 (PARMS): Do not use macros from bp-asm.h.
1564 (__frexp): Do not use BP_SYM.
1565 (frexp): Likewise.
1566 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1567 "bp-asm.h".
1568 (PARMS): Do not use macros from bp-asm.h.
1569 (__frexpf): Do not use BP_SYM.
1570 (frexpf): Likewise.
1571 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1572 "bp-asm.h".
1573 (PARMS): Do not use macros from bp-asm.h.
1574 (__frexpl): Do not use BP_SYM.
1575 (frexpl): Likewise.
1576 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1577 "bp-asm.h".
1578 (PARMS): Do not use macros from bp-asm.h.
1579 (__remquo): Do not use BP_SYM.
1580 (remquo): Likewise.
1581 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1582 "bp-asm.h".
1583 (PARMS): Do not use macros from bp-asm.h.
1584 (__remquof): Do not use BP_SYM.
1585 (remquof): Likewise.
1586 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1587 "bp-asm.h".
1588 (PARMS): Do not use macros from bp-asm.h.
1589 (__remquol): Do not use BP_SYM.
1590 (remquol): Likewise.
1591 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1592 "bp-asm.h".
1593 (PARMS): Do not use macros from bp-asm.h.
1594 (DEST): Likewise.
1595 (SRC): Likewise.
1596 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1597 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1598 "bp-asm.h".
1599 (PARMS): Do not use macros from bp-asm.h.
1600 (strlen): Do not use BP_SYM.
1601 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1602 "bp-asm.h".
1603 (PARMS): Do not use macros from bp-asm.h.
1604 (S1): Likewise.
1605 (S2): Likewise.
1606 (SIZE): Likewise.
1607 (__mpn_add_n): Do not use BP_SYM.
1608 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1609 "bp-asm.h".
1610 (PARMS): Do not use macros from bp-asm.h.
1611 (S1): Likewise.
1612 (SIZE): Likewise.
1613 (__mpn_addmul_1): Do not use BP_SYM.
1614 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1615 weak_alias.
1616 (bzero): Likewise.
1617 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1618 "bp-asm.h".
1619 (PARMS): Do not use macros from bp-asm.h.
1620 (S): Likewise.
1621 (SIZE): Likewise.
1622 (__mpn_lshift): Do not use BP_SYM.
1623 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1624 "bp-asm.h".
1625 (PARMS): Do not use macros from bp-asm.h.
1626 (DEST): Likewise.
1627 (SRC): Likewise.
1628 (LEN): Likewise.
1629 (memcpy): Likewise. Do not use BP_SYM.
1630 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1631 libc_hidden_def and weak_alias.
1632 (mempcpy): Do not use BP_SYM in weak_alias.
1633 * sysdeps/i386/i586/memset.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 (LEN): Likewise.
1638 [!BZERO_P] (CHR): Likewise.
1639 (memset): Likewise. Do not use BP_SYM.
1640 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1641 "bp-asm.h".
1642 (PARMS): Do not use macros from bp-asm.h.
1643 (S1): Likewise.
1644 (SIZE): Likewise.
1645 (__mpn_mul_1): Do not use BP_SYM.
1646 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1647 "bp-asm.h".
1648 (PARMS): Do not use macros from bp-asm.h.
1649 (S): Likewise.
1650 (SIZE): Likewise.
1651 (__mpn_rshift): Do not use BP_SYM.
1652 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1653 "bp-asm.h".
1654 (PARMS): Do not use macros from bp-asm.h.
1655 (STR): Likewise.
1656 (CHR): Likewise.
1657 (strchr): Likewise. Do not use BP_SYM.
1658 (index): Do not use BP_SYM in weak_alias.
1659 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1660 "bp-asm.h".
1661 (PARMS): Do not use macros from bp-asm.h.
1662 (DEST): Likewise.
1663 (SRC): Likewise.
1664 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1665 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1666 "bp-asm.h".
1667 (PARMS): Do not use macros from bp-asm.h.
1668 (strlen): Do not use BP_SYM.
1669 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1670 "bp-asm.h".
1671 (PARMS): Do not use macros from bp-asm.h.
1672 (S1): Likewise.
1673 (S2): Likewise.
1674 (SIZE): Likewise.
1675 (__mpn_sub_n): Do not use BP_SYM.
1676 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1677 "bp-asm.h".
1678 (PARMS): Do not use macros from bp-asm.h.
1679 (S1): Likewise.
1680 (SIZE): Likewise.
1681 (__mpn_submul_1): Do not use BP_SYM.
1682 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1683 "bp-asm.h".
1684 (PARMS): Do not use macros from bp-asm.h.
1685 (S1): Likewise.
1686 (S2): Likewise.
1687 (SIZE): Likewise.
1688 (__mpn_add_n): Do not use BP_SYM.
1689 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1690 weak_alias.
1691 (bzero): Likewise.
1692 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1693 "bp-asm.h".
1694 (PARMS): Do not use macros from bp-asm.h.
1695 (BLK2): Likewise.
1696 (LEN): Likewise.
1697 (memcmp): Do not use BP_SYM.
1698 (bcmp): Do not use BP_SYM in weak_alias.
1699 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1700 "bp-asm.h".
1701 (PARMS): Do not use macros from bp-asm.h.
1702 (DEST): Likewise.
1703 (SRC): Likewise.
1704 (LEN): Likewise.
1705 (memcpy): Likewise. Do not use BP_SYM.
1706 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1707 "bp-asm.h".
1708 (PARMS): Do not use macros from bp-asm.h.
1709 (DEST): Likewise.
1710 (SRC): Likewise.
1711 (LEN): Likewise.
1712 (memmove): Likewise. Do not use BP_SYM.
1713 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1714 "bp-asm.h".
1715 (PARMS): Do not use macros from bp-asm.h.
1716 (DEST): Likewise.
1717 (SRC): Likewise.
1718 (LEN): Likewise.
1719 (__mempcpy): Likewise. Do not use BP_SYM.
1720 (mempcpy): Do not use BP_SYM in weak_alias.
1721 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1722 "bp-asm.h".
1723 (PARMS): Do not use macros from bp-asm.h.
1724 (DEST): Likewise.
1725 (LEN): Likewise.
1726 [!BZERO_P] (CHR): Likewise.
1727 (memset): Likewise. Do not use BP_SYM.
1728 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1729 "bp-asm.h".
1730 (PARMS): Do not use macros from bp-asm.h.
1731 (STR2): Likewise.
1732 (strcmp): Do not use BP_SYM.
1733 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1734 "bp-asm.h".
1735 (PARMS): Do not use macros from bp-asm.h.
1736 (STR): Likewise.
1737 (DELIM): Likewise.
1738 [USE_AS_STRTOK_R] (SAVE): Likewise.
1739 (FUNCTION): Likewise. Do not use BP_SYM.
1740 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1741 aliases.
1742 (strtok_r): Likewise.
1743 (__GI___strtok_r): Likewise.
1744 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1745 (PARMS): Do not use macros from bp-asm.h.
1746 (S): Likewise.
1747 (SIZE): Likewise.
1748 (__mpn_lshift): Do not use BP_SYM.
1749 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1750 (PARMS): Do not use macros from bp-asm.h.
1751 (STR): Likewise.
1752 (CHR): Likewise.
1753 (__memchr): Do not use BP_SYM.
1754 (memchr): Do not use BP_SYM in weak_alias.
1755 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1756 (PARMS): Do not use macros from bp-asm.h.
1757 (BLK2): Likewise.
1758 (LEN): Likewise.
1759 (memcmp): Do not use BP_SYM.
1760 (bcmp): Do not use BP_SYM in weak_alias.
1761 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1762 (PARMS): Do not use macros from bp-asm.h.
1763 (S1): Likewise.
1764 (SIZE): Likewise.
1765 (__mpn_mul_1): Do not use BP_SYM.
1766 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1767 "bp-asm.h".
1768 (PARMS): Do not use macros from bp-asm.h.
1769 (STR): Likewise.
1770 (CHR): Likewise.
1771 (__rawmemchr): Do not use BP_SYM.
1772 (rawmemchr): Do not use BP_SYM in weak_alias.
1773 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1774 (PARMS): Do not use macros from bp-asm.h.
1775 (S): Likewise.
1776 (SIZE): Likewise.
1777 (__mpn_rshift): Do not use BP_SYM.
1778 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1779 (PARMS): Do not use macros from bp-asm.h.
1780 (SIGMSK): Likewise.
1781 (__sigsetjmp): Likewise. Do not use BP_SYM.
1782 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1783 (_start): Do not use BP_SYM.
1784 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1785 (PARMS): Do not use macros from bp-asm.h.
1786 (DEST): Likewise.
1787 (SRC): Likewise.
1788 (__stpcpy): Likewise. Do not use BP_SYM.
1789 (stpcpy): Do not use BP_SYM in weak_alias.
1790 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1791 "bp-asm.h".
1792 (PARMS): Do not use macros from bp-asm.h.
1793 (DEST): Likewise.
1794 (SRC): Likewise.
1795 (LEN): Likewise.
1796 (__stpncpy): Likewise. Do not use BP_SYM.
1797 (stpncpy): Do not use BP_SYM in weak_alias.
1798 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1799 (PARMS): Do not use macros from bp-asm.h.
1800 (STR): Likewise.
1801 (CHR): Likewise.
1802 (strchr): Likewise. Do not use BP_SYM.
1803 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1804 "bp-asm.h".
1805 (PARMS): Do not use macros from bp-asm.h.
1806 (STR): Likewise.
1807 (CHR): Likewise.
1808 (__strchrnul): Likewise. Do not use BP_SYM.
1809 (strchrnul): Do not use BP_SYM in weak_alias.
1810 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1811 "bp-asm.h".
1812 (PARMS): Do not use macros from bp-asm.h.
1813 (STOP): Likewise.
1814 (strcspn): Do not use BP_SYM.
1815 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1816 "bp-asm.h".
1817 (PARMS): Do not use macros from bp-asm.h.
1818 (STR): Likewise.
1819 (STOP): Likewise.
1820 (strpbrk): Likewise. Do not use BP_SYM.
1821 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1822 "bp-asm.h".
1823 (PARMS): Do not use macros from bp-asm.h.
1824 (STR): Likewise.
1825 (CHR): Likewise.
1826 (strrchr): Likewise. Do not use BP_SYM.
1827 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1828 (PARMS): Do not use macros from bp-asm.h.
1829 (SKIP): Likewise.
1830 (strspn): Do not use BP_SYM.
1831 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1832 (PARMS): Do not use macros from bp-asm.h.
1833 (STR): Likewise.
1834 (DELIM): Likewise.
1835 (SAVE): Likewise.
1836 (FUNCTION): Likewise. Do not use BP_SYM.
1837 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1838 aliases.
1839 (strtok_r): Likewise.
1840 (__GI___strtok_r): Likewise.
1841 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1842 (PARMS): Do not use macros from bp-asm.h.
1843 (S1): Likewise.
1844 (S2): Likewise.
1845 (SIZE): Likewise.
1846 (__mpn_sub_n): Do not use BP_SYM.
1847 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1848 "bp-asm.h".
1849 (PARMS): Do not use macros from bp-asm.h.
1850 (S1): Likewise.
1851 (SIZE): Likewise.
1852 (__mpn_submul_1): Do not use BP_SYM.
1853 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1854 <bp-sym.h>.
1855 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1856 and <bp-asm.h>.
1857 (PARMS): Do not use macros from bp-asm.h.
1858 (FLAGS): Likewise.
1859 (PTID): Likewise.
1860 (TLS): Likewise.
1861 (CTID): Likewise.
1862 (__clone): Do not use BP_SYM.
1863 (clone): Do not use BP_SYM in weak_alias.
1864 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1865 and <bp-asm.h>.
1866 (PARMS): Do not use macros from bp-asm.h.
1867 (LEN): Likewise.
1868 (__mmap64): Do not use BP_SYM.
1869 (mmap64): Do not use BP_SYM in weak_alias.
1870 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1871 <bp-sym.h> and <bp-asm.h>.
1872 (PARMS): Do not use macros from bp-asm.h.
1873 (__posix_fadvise64_l64): Do not use BP_SYM.
1874 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1875 (PARMS): Do not use macros from bp-asm.h.
1876 (NSOPS): Likewise.
1877 (semtimedop): Do not use BP_SYM.
1878 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1879 and <bp-asm.h>.
1880
582a3cff
AM
18812013-02-21 Allan McRae <allan@archlinux.org>
1882
1883 * manual/message.texi (Charset conversion in gettext):
1884 Move @end statement to beginning of line.
1885
bab8a695
SP
18862013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1887
80945231
SP
1888 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1889 static.
1890 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1891 Likewise.
1892
bab8a695
SP
1893 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1894 (denorm): Likewise.
1895 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1896 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1897
e21d7aa7
AK
18982013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1899
1900 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1901 tail-call to the resolved function if pltexit isn't needed.
1902
4c7a4263
SP
19032013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1904
1905 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1906 or Y being zero as being unlikely.
1907 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1908 Likewise.
1909
41f49342
CD
19102013-02-20 Carlos O'Donell <carlos@redhat.com>
1911
1912 * manual/nss.texi (System Databases and Name Service Switch):
1913 Remove frobnicate @pxref.
1914
50022a93
TS
19152013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1916
1917 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1918 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1919
08cbd996
PM
19202013-02-20 Petr Machata <pmachata@redhat.com>
1921
1922 * elf/elf.h (R_ARM_TARGET1): New macro.
1923 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1924 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1925 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1926 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1927 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1928 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1929 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1930 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1931 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1932 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1933 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1934 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1935 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1936 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1937 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1938 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1939 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1940 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1941 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1942 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1943 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1944 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1945 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1946 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1947 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1948 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1949 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1950 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1951 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1952 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1953 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1954 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1955 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1956 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1957 (R_ARM_THM_GOT_BREL12): Likewise.
1958 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1959 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1960 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1961 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1962 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1963 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1964 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1965 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1966 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1967
c7b275d6
TS
19682013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1969
1970 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1971 __attribute_used__ to __attribute__ ((unused)).
1972
20cd7fb3
SP
19732013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1974
1975 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1976 powerpc mpa.c.
1977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1978 comment formatting.
1979 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1980
92945b52
JM
19812013-02-19 Joseph Myers <joseph@codesourcery.com>
1982
1983 [BZ #13550]
1984 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
1985 Remove macro.
1986 (ENTER): Remove both macro definitions.
1987 (LEAVE): Likewise.
1988 (CHECK_BOUNDS_LOW): Likewise.
1989 (CHECK_BOUNDS_HIGH): Likewise.
1990 (CHECK_BOUNDS_BOTH): Likewise.
1991 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
1992 (RETURN_BOUNDED_POINTER): Likewise.
1993 (RETURN_NULL_BOUNDED_POINTER): Likewise.
1994 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
1995 (POP_ERRNO_LOCATION_RETURN): Likewise.
1996 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
1997 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1998 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
1999 macros.
2000 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2001 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2002 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2003 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2004 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2005 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2006 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2007 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2008 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2009 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2010 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2011 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2012 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2013 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2014 removed macros.
2015 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2016 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2017 macros.
2018 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2019 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2020 * sysdeps/i386/i586/memset.S (memset): Likewise.
2021 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2022 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2023 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2024 macros.
2025 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2026 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2027 Change uses of L(2) to L(out).
2028 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2029 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2030 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2031 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2032 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2033 removed macros.
2034 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2035 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2036 macros.
2037 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2038 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2039 (RETURN): Do not use macro LEAVE.
2040 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2041 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2042 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2043 * sysdeps/i386/i686/memset.S (memset): Likewise.
2044 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2045 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2046 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2047 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2048 Likewise.
2049 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2050 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2051 L(1_2) and L(1_3) into L(1).
2052 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2053 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2054 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2055 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2056 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2057 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2058 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2059 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2060 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2061 macros.
2062 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2063 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2064 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2065 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2066 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2067 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2068 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2069 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2070 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2071 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2072 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2073 * sysdeps/i386/strspn.S (strspn): Likewise.
2074 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2075 conditional code.
2076 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2077 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2078 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2079 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2080 L(1_3) into L(1_1).
2081 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2082 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2083 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2084 macros.
2085 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2086
2389741a
JJ
20872013-02-19 Jakub Jelinek <jakub@redhat.com>
2088
2089 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2090 macro.
2091
2016b3cd
SP
20922013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2093
e4f22324
SP
2094 * math/atest-exp.c (exp_mpn): Remove ROUND.
2095 * math/atest-exp2.c (exp_mpn): Likewise.
2096 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2097
2016b3cd
SP
2098 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2099 * stdlib/tst-tls-atexit-lib.c: Likewise.
2100 * stdlib/tst-tls-atexit.c: Likewise.
2101
4be9b544
MF
21022013-02-18 Mike Frysinger <vapier@gentoo.org>
2103
2104 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2105 and __attribute_alloc_size__.
2106
2f62b9ee
MF
21072013-02-18 Mike Frysinger <vapier@gentoo.org>
2108
2109 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2110 __attribute_alloc_size__.
2111 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2112 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2113
6ff444c4
MF
21142013-02-18 Mike Frysinger <vapier@gentoo.org>
2115
2116 * include/programs/xmalloc.h: New file.
2117 * catgets/gencat.c: Include it.
2118 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2119 * elf/pldd.c: Likewise.
2120 * iconv/iconv_charmap.c: Likewise.
2121 * iconv/iconvconfig.c: Likewise.
2122 * iconv/strtab.c: Likewise.
2123 * locale/programs/locale.c: Likewise.
2124 * locale/programs/localedef.h: Likewise.
2125 * locale/programs/simple-hash.c: Likewise.
2126 * nscd/nscd.h: Likewise.
2127 * nss/makedb.c: Likewise.
2128 * sysdeps/generic/ldconfig.h: Likewise.
2129
be179c8a
SP
21302013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2131
ba384f6e
SP
2132 * Versions.def: Add GLIBC_2.18.
2133 * include/link.h (struct link_map): New member l_tls_dtor_count.
2134 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2135 (__call_tls_dtors): Likewise.
2136 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2137 __cxa_thread_atexit_impl.
2138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2139 Likewise.
2140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2141 Likewise.
2142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2143 Likewise.
2144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2145 Likewise.
2146 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2148 Likewise.
2149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2150 Likewise.
2151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2153 Likewise.
2154 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2155 (tests): Add test case tst-tls-atexit.
2156 (modules-names): Add shared library for tst-tls-atexit.
2157 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2158 (GLIBC_PRIVATE): Add __call_tls_dtors.
2159 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2160 for libstdc++.
2161 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2162 * stdlib/tst-tls-atexit.c: New test case.
2163 * stdlib/tst-tls-atexit-lib.c: New test case.
2164
ffaa74cf 2165 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 2166
be179c8a
SP
2167 * elf/Versions (ld): Add _dl_find_dso_for_object.
2168 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2169 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2170 (dl_open_worker): Use _dl_find_dso_for_object.
2171 * elf/dl-sym.c (do_sym): Likewise.
2172 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2173
f78b5caa
AK
21742013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2175
2176 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2177 Syntactic changes only.
2178 (_dl_runtime_profile): Do a tail-call to the resolved function.
2179
29691210
JM
21802013-02-17 Joseph Myers <joseph@codesourcery.com>
2181
2182 [BZ #13550]
2183 * sysdeps/x86_64/bp-asm.h: Remove file.
2184 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2185 <bp-sym.h> and <bp-asm.h>.
2186 (__clone): Do not use BP_SYM.
2187 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2188 <bp-sym.h> and <bp-asm.h>.
2189 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2190 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2191 "bp-asm.h".
2192 (_setjmp): Do not use BP_SYM.
2193 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2194 "bp-asm.h".
2195 (setjmp): Do not use BP_SYM.
2196 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2197 libc_hidden_def.
2198 (mempcpy): Do not use BP_SYM in weak_alias.
2199 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2200 "bp-asm.h".
2201 (strchr): Do not use BP_SYM.
2202 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2203 "bp-asm.h".
2204 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2205 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2206 (_start): Do not use BP_SYM.
2207 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2208 "bp-asm.h".
2209 (strcat): Do not use BP_SYM.
2210 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2211 "bp-asm.h".
2212 (STRCMP): Do not use BP_SYM.
2213 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2214 "bp-asm.h".
2215 (STRCPY): Do not use BP_SYM.
2216 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2217 "bp-asm.h".
2218 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2219 "bp-asm.h".
2220 (FUNCTION): Do not use BP_SYM.
2221 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2222 weak_alias.
2223 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2224
f238fd19
AJ
22252013-02-17 Andreas Jaeger <aj@suse.de>
2226
2227 * time/Versions: Sort entries.
2228 * string/Versions: Likewise.
2229 * resolv/Versions: Likewise.
2230 * posix/Versions: Likewise.
2231 * iconv/Versions: Likewise.
2232 * elf/Versions: Likewise.
2233 * wcsmbs/Versions: Likewise.
2234
bd07f23c 22352013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 2236
22af19f9
SP
2237 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2238 loop termination condition.
2239
4709fe76
SP
2240 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2241 variable to calculate EZ.
2242 (__sqr): Likewise.
2d0e0f29
SP
2243
2244 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2245 the lower precision input.
2246
daaa7713
JM
22472013-02-15 Joseph Myers <joseph@codesourcery.com>
2248
2249 [BZ #13550]
2250 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2251 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2252 (run-via-rtld-prefix): Do not handle %-bp tests.
2253 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2254 (all-object-suffixes): Remove .ob.
2255 (bppfx): Remove variable.
2256 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2257 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2258 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2259 [$(build-bounded) = yes] (libtype.ob): Likewise.
2260 * Makerules (elide-routines.ob): Remove variable.
2261 (do-tests-clean): Do not handle *-bp.out.
2262 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2263 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2264 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2265 (tests): Do not include $(tests-bp.out).
2266 (xtests): Do not include $(xtests-bp.out).
2267 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2268 [$(build-bounded) = yes] ($(addprefix
2269 $(objpfx),$(binaries-bounded))): Remove rule.
2270 ($(objpfx)%-bp.out): Remove rule.
2271 * config.make.in (build-bounded): Remove variable.
2272 * crypt/Makefile [$(build-bounded) = yes]
2273 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2274 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2275 append to variable.
2276 [$(build-bounded) = yes] (install-lib): Likewise.
2277 [$(build-bounded) = yes] (generated): Likewise.
2278 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2279 Remove rule.
2280 * intl/Makefile [$(build-bounded) = yes]
2281 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2282 * math/Makefile [$(build-bounded) = yes]
2283 ($(tests:%=$(objpfx)%-bp): Likewise.
2284 * misc/Makefile [$(build-bounded) = yes]
2285 ($(objpfx)tst-tsearch-bp): Likewise.
2286 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2287 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2288 Remove dependency.
2289 * string/Makefile (o-objects.ob): Remove variable.
2290 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2291 (CFLAGS-.ob): Remove variable.
2292 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2293 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2294 both definitions of variable.
2295 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2296 (ASFLAGS-.ob): Remove variable.
2297
e97ed6dd
JM
22982013-02-14 Joseph Myers <joseph@codesourcery.com>
2299
2bdd4ca6
JM
2300 [BZ #13550]
2301 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2302 Remove __BOUNDED_POINTERS__ from condition.
2303 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2304 * string/bits/string2.h [!__NO_STRING_INLINES &&
2305 !__BOUNDED_POINTERS__]: Likewise.
2306 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2307 Likewise.
2308 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2309 Remove conditional code.
2310 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2311 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2312 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2313 condition.
2314
e97ed6dd
JM
2315 [BZ #13550]
2316 * csu/libc-start.c: Do not include <bp-sym.h>.
2317 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2318 * elf/dl-open.c: Do not include <bp-sym.h>.
2319 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2320 * math/fegetenv.c: Do not include <bp-sym.h>.
2321 (fegetenv): Do not use BP_SYM in versioned symbols.
2322 * nptl/sysdeps/pthread/bits/libc-lockP.h
2323 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2324 <bp-sym.h>.
2325 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2326 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2327 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2328 (__pthread_mutex_destroy): Likewise.
2329 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2330 (__pthread_mutex_lock): Likewise.
2331 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2332 (__pthread_mutex_trylock): Likewise.
2333 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2334 (__pthread_mutex_unlock): Likewise.
2335 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2336 (__pthread_mutexattr_init): Likewise.
2337 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2338 (__pthread_mutexattr_destroy): Likewise.
2339 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2340 (__pthread_mutexattr_settype): Likewise.
2341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2342 (__pthread_rwlock_init): Likewise.
2343 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2344 (__pthread_rwlock_destroy): Likewise.
2345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2346 (__pthread_rwlock_rdlock): Likewise.
2347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2348 (__pthread_rwlock_tryrdlock): Likewise.
2349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2350 (__pthread_rwlock_wrlock): Likewise.
2351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2352 (__pthread_rwlock_trywrlock): Likewise.
2353 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2354 (__pthread_rwlock_unlock): Likewise.
2355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2356 (__pthread_key_create): Likewise.
2357 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2358 (__pthread_setspecific): Likewise.
2359 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2360 (__pthread_getspecific): Likewise.
2361 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2362 Likewise.
2363 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2364 (_pthread_cleanup_push_defer): Likewise.
2365 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2366 (_pthread_cleanup_pop_restore): Likewise.
2367 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2368 (pthread_setcancelstate): Likewise.
2369 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2370 <bp-sym.h>.
2371 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2372 (memchr): Do not use BP_SYM in weak_alias.
2373 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2374 (fegetenv): Do not use BP_SYM in versioned symbols.
2375 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2376 (fesetenv): Do not use BP_SYM in versioned symbols.
2377 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2378 (feupdateenv): Do not use BP_SYM in versioned symbols.
2379 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2380 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2381 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2382 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2383 (open64): Do not use BP_SYM in weak_alias.
2384 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2385 (fegetenv): Do not use BP_SYM in versioned symbols.
2386 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2387 (fesetenv): Do not use BP_SYM in versioned symbols.
2388 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2389 (feupdateenv): Do not use BP_SYM in versioned symbols.
2390 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2391 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2392 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2393 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2394 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2395 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2396 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2397 <bp-sym.h>.
2398 (__libc_start_main): Do not use BP_SYM.
2399
d6752ccd
SP
24002013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2401
cb57ce60
SP
2402 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2403 redundant return line.
2404 (norm): Likewise.
2405 (denorm): Likewise.
2406 (dbl_mp): Likewise.
2407 (sub_magnitudes): Likewise.
2408 (__add): Likewise.
2409 (__sub): Likewise.
2410 (__mul): Likewise.
2411 (__inv): Likewise.
2412 (__dvd): Likewise.
2413 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2414 (norm): Likewise.
2415 (denorm): Likewise.
2416 (dbl_mp): Likewise.
2417 (sub_magnitudes): Likewise.
2418 (__add): Likewise.
2419 (__sub): Likewise.
2420 (__mul): Likewise.
2421 (__inv): Likewise.
2422 (__dvd): Likewise.
2423
f414520d
SP
2424 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2425 instead of __mul.
2426 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2427 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2428 (cc32): Likewise.
2429
d6752ccd
SP
2430 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2431 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2432 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2433 of __mul for squares.
2434 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2435 function
2436 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2437 Likewise.
2438 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2439 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2440
70d9946a
JM
24412013-02-13 Joseph Myers <joseph@codesourcery.com>
2442
2443 [BZ #13550]
2444 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2445 code.
2446 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2447 prototype or function definition. Rename ubp_* variables and
2448 parameters. Remove argv definitions conditional on
2449 [__BOUNDED_POINTERS__].
2450 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2451 * elf/dl-runtime.c (_dl_fixup): Likewise.
2452 * include/set-hooks.h (RUN_HOOK): Likewise.
2453 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2454 definition.
2455 * string/strcpy.c (strcpy): Do not use __unbounded.
2456 * sysdeps/generic/frame.h (struct layout): Likewise.
2457 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2458 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2459 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2460 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2461 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2462 (__backtrace): Likewise.
2463 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2464 use __ptrvalue.
2465 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2466 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2467 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2468 Likewise.
2469 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2470 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2471 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2472 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2473 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2474 Do not use __unbounded.
2475 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2476 Rename __unboundedrlimits parameter to rlimits in prototype.
2477 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2478 Do not use __unbounded.
2479 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2480 not use __ptrvalue.
2481 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2482 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2483 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2484 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2485 __ptrvalue or __unbounded.
2486 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2487 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2488 use __unbounded.
2489 (__new_msgctl): Do not use __ptrvalue.
2490 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2491 __unbounded.
2492 (__libc_msgrcv): Do not use __ptrvalue.
2493 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2494 startup_info): Do not use __unbounded.
2495 (__libc_start_main): Likewise. Rename ubp_* variables and
2496 parameters. Remove argv definitions conditional on
2497 [__BOUNDED_POINTERS__].
2498 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2499 __ptrvalue.
2500 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2501 use __unbounded.
2502 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2503 or __ptrvalue.
2504 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2505 use __unbounded.
2506 (__new_shmctl): Do not use __ptrvalue.
2507 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2508 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2509 Likewise.
2510 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2511 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2512 (__libc_sigaction): Likewise.
2513 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2514 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2515 Likewise.
2516 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2517
cc7834d6
OB
25182013-02-13 Ondřej Bílka <neleai@seznam.cz>
2519
ffb1ec7b 2520 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
2521
2522 * string/mempcpy.c: Implement by calling memcpy.
2523
bdf02814
SP
25242013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2525
c2af38aa
SP
2526 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2527
4e92d59e
SP
2528 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2529 evaluation.
2530
909279a5
SP
2531 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2532 values in the mantissa.
2533
bdf02814
SP
2534 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2535 minimize writes to Z.
2536 (sub_magnitudes): Simplify code a bit.
2537
cd525923
RM
25382013-02-12 Roland McGrath <roland@hack.frob.com>
2539
2540 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2541 from the message. The linker prefixes all warnings with that already.
2542
7e2f0d2d
AS
25432013-02-12 Andreas Schwab <schwab@suse.de>
2544
a445af0b
AS
2545 [BZ #15078]
2546 * posix/regexec.c (extend_buffers): Add parameter min_len.
2547 (check_matching): Pass minimum needed length.
2548 (clean_state_log_if_needed): Likewise.
2549 (get_subexp): Likewise.
2550 * posix/Makefile (tests): Add bug-regex34.
2551 (bug-regex34-ENV): Define.
2552 * posix/bug-regex34.c: New file.
2553
7e2f0d2d
AS
2554 [BZ #11561]
2555 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2556 elements compare against the byte sequence of it, not its name.
2557 * posix/Makefile (tests): Add bug-regex35.
2558 (bug-regex35-ENV): Define.
2559 * posix/bug-regex35.c: New file.
2560
a175b684
TV
25612013-02-11 Tom de Vries <tom@codesourcery.com>
2562
2563 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2564 comment.
2565 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2566 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2567 (CHECK_EOL): Add undef.
2568
310998fe 25692013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
2570
2571 * bits/stdlib-bsearch.h: New file.
2572 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 2573 * stdlib/stdlib.h: Likewise.
41eda41d 2574
8ded91fb
RM
25752013-02-11 Roland McGrath <roland@hack.frob.com>
2576
2577 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2578 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2579 declaration.
2580 * manual/search.texi (Array Search Function): Add missing const in
2581 lfind prototype.
2582 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2583 declaration to use rlim_t.
2584 (Basic Scheduling Functions): Remove erroneous const from
2585 sched_getparam prototype. Remove erroneous * from
2586 sched_get_priority_max and sched_get_priority_min prototypes.
2587 (Resource Usage): Fix summary @comment on vtimes to refer to
2588 sys/vtimes.h rather than vtimes.h.
2589 Add missing *s in vtimes prototype.
2590 (Limits on Resources): Fix ulimit prototype to return long int.
2591 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2592 prototypes to use long int rather than double.
2593 (BSD Random): Fix initstate and setstate to use char *, not void *.
2594 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2595 prototype to make second argument 'struct aiocb64 *const[]'.
2596 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2597 (Status of AIO Operations): Remove erroneous const in aio_return and
2598 aio_return64 prototypes.
2599 (Synchronizing I/O): Fix sync prototype to return void.
2600 * manual/startup.texi (Suboptions): Remove an erroneous const in
2601 getsubopt prototype.
2602 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2603 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2604 use size_t rather than int.
2605 (Scanning All Users): Likewise for getpwent_r.
2606 (Setting Groups): Add missing const to setgroups prototype.
2607 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2608 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2609 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2610 'const void *' rather than 'const char *'.
2611 (Host Address Functions): Likewise for inet_ntop.
2612 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2613 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2614 ssize_t for return value.
2615 (Sending Data): Likewise for send, sendto, sendmsg.
2616 (Socket Option Functions): Add a missing const in setsockopt prototype.
2617 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2618 use wchar_t for the argument.
2619 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2620 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2621 take no arguments.
2622 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2623 double/float/long double for second argument.
2624 Fix return types of significand, significandf, significandl.
2625 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2626 argument in fchmod prototype.
2627 (File Owner): Use uid_t and gid_t in fchown prototype.
2628 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2629 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2630 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2631 use 'const struct dirent **' as argument types to CMP function pointer
2632 argument.
2633 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2634 (File Times): Fix summary magic @comment for struct utimbuf and utime
2635 to refer to utime.h, not time.h.
2636 * manual/string.texi (Argz Functions): Add missing const in
2637 argz_extract and argz_next prototypes.
2638 (Finding Tokens in a String): Likewise for basename.
2639 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2640 (Copying and Concatenation): Fix typo in wmemmove prototype.
2641 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2642 (Signal Stack): Remove erroneous const in sigstack prototype.
2643 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2644 prototype.
2645 (Simple Calendar Time): Likewise for stime.
2646 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2647 prototype.
2648 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2649 say sys/sysctl.h instead.
2650 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2651 and vsyslog prototypes.
2652
fe77fe6d
TV
26532013-02-11 Tom de Vries <tom@codesourcery.com>
2654
2655 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2656 Remove.
2657
3a09b620
RM
26582013-02-11 Roland McGrath <roland@hack.frob.com>
2659
2660 * misc/sys/mman.h: Fix typo in mremap comment.
2661
550a0b89
RM
26622013-02-08 Roland McGrath <roland@hack.frob.com>
2663
2664 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2665 the '\0' terminator.
2666
a2da1673
JM
26672013-02-08 Joseph Myers <joseph@codesourcery.com>
2668
2669 [BZ #13550]
2670 * debug/segfault.c: Don't include <bp-checks.h>.
2671 * sysdeps/generic/bp-checks.h: Remove file.
2672 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2673 (__GETDENTS): Don't use CHECK_N.
2674 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2675 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2676 (__getgroups): Don't use CHECK_N.
2677 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2678 (setgroups): Don't use CHECK_N.
2679 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2680 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2681 (__libc_msgrcv): Don't use CHECK_N.
2682 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2683 (__libc_msgsnd): Don't use CHECK_N.
2684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2685 <bp-checks.h>.
2686 (__libc_pread): Don't use CHECK_N.
2687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2688 include <bp-checks.h>.
2689 (__libc_pread64): Don't use CHECK_N.
2690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2691 include <bp-checks.h>.
2692 (__libc_pwrite): Don't use CHECK_N.
2693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2694 include <bp-checks.h>.
2695 (__libc_pwrite64): Don't use CHECK_N.
2696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2697 <bp-checks.h>.
2698 (__libc_pread): Don't use CHECK_N.
2699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2700 include <bp-checks.h>.
2701 (__libc_pread64): Don't use CHECK_N.
2702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2703 include <bp-checks.h>.
2704 (__libc_pwrite): Don't use CHECK_N.
2705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2706 include <bp-checks.h>.
2707 (__libc_pwrite64): Don't use CHECK_N.
2708 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2709 (do_pread): Don't use CHECK_N.
2710 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2711 (do_pread64): Don't use CHECK_N.
2712 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2713 (do_pwrite): Don't use CHECK_N.
2714 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2715 (do_pwrite64): Don't use CHECK_N.
2716 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2717 (__libc_readv): Don't use CHECK_N.
2718 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2719 (semop): Don't use CHECK_N.
2720 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2721 <bp-checks.h>.
2722 (semtimedop): Don't use CHECK_N.
2723 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2724 (__libc_pread): Don't use CHECK_N.
2725 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2726 <bp-checks.h>.
2727 (__libc_pread64): Don't use CHECK_N.
2728 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2729 <bp-checks.h>.
2730 (__libc_pwrite): Don't use CHECK_N.
2731 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2732 <bp-checks.h>.
2733 (__libc_pwrite64): Don't use CHECK_N.
2734 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2735 <bp-checks.h>.
2736 (__libc_msgrcv): Don't use CHECK_N.
2737 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2738 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2739 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2740 (__libc_writev): Don't use CHECK_N.
2741
b84660a8
RM
27422013-02-08 Roland McGrath <roland@hack.frob.com>
2743
7f3e75f8
RM
2744 * string/strcpy.c: Removed unused variable.
2745
b84660a8
RM
2746 * Makeconfig (+sysdep-includes): Define with := rather than =.
2747 Use an existing include/ subdir of each sysdeps dir before it.
2748
471514d3
CD
27492013-02-08 Carlos O'Donell <carlos@redhat.com>
2750
2751 * nscd/connection.c (register_traced_file): Comment function.
2752 [HAVE_INOTIFY] (union __inev): Define.
2753 [HAVE_INOTIFY] (inotify_check_files): New function.
2754 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2755 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2756 clear_db_cache.
2757 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2758
b2d3c3be
CD
27592013-02-08 Carlos O'Donell <carlos@redhat.com>
2760
2761 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2762 loaded if not already and that a failure is permanent.
2763
b39949d2
CD
27642013-02-08 Carlos O'Donell <carlos@redhat.com>
2765
ddacd1db 2766 [BZ #15006]
b39949d2
CD
2767 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2768 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2769
b2c9eff4
JM
27702013-02-08 Joseph Myers <joseph@codesourcery.com>
2771
f3aae3f3
JM
2772 [BZ #13550]
2773 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2774 (CHECK_1_NULL_OK): Likewise.
2775 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2776 (__fxstat): Do not use CHECK_1.
2777 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2778 <bp-checks.h>.
2779 (___fxstat64): Do not use CHECK_1.
2780 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2781 <bp-checks.h>.
2782 (__fxstatat): Do not use CHECK_1.
2783 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2784 <bp-checks.h>.
2785 (__fxstatat64): Do not use CHECK_1.
2786 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2787 <bp-checks.h>.
2788 (__fxstat): Do not use CHECK_1.
2789 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2790 <bp-checks.h>.
2791 (__fxstatat): Do not use CHECK_1.
2792 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2793 <bp-checks.h>.
2794 (__getresgid): Do not use CHECK_1.
2795 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2796 <bp-checks.h>.
2797 (__getresuid): Do not use CHECK_1.
2798 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2799 <bp-checks.h>.
2800 (__lxstat): Do not use CHECK_1.
2801 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2802 <bp-checks.h>.
2803 (__old_msgctl): Do not use CHECK_1.
2804 (__new_msgctl): Likewise.
2805 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2806 <bp-checks.h>.
2807 (__new_setrlimit): Do not use CHECK_1.
2808 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2809 <bp-checks.h>.
2810 (__old_shmctl): Do not use CHECK_1.
2811 (__new_shmctl): Likewise.
2812 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2813 <bp-checks.h>.
2814 (__xstat): Do not use CHECK_1.
2815 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2816 (__lxstat): Do not use CHECK_1.
2817 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2818 <bp-checks.h>.
2819 (___lxstat64): Do not use CHECK_1.
2820 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2821 (__old_msgctl): Do not use CHECK_1.
2822 (__new_msgctl): Likewise.
2823 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2824 <bp-checks.h>.
2825 (__gettimeofday): Do not use CHECK_1.
2826 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2827 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2828 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2829 <bp-checks.h>.
2830 (__gettimeofday): Do not use CHECK_1.
2831 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2832 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2833 (__new_shmctl): Do not use CHECK_1.
2834 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2835 <bp-checks.h>.
2836 (do_sigtimedwait): Do not use CHECK_1.
2837 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2838 <bp-checks.h>.
2839 (do_sigwaitinfo): Do not use CHECK_1.
2840 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2841 <bp-checks.h>.
2842 (msgctl): Do not use CHECK_1.
2843 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2844 <bp-checks.h>.
2845 (shmctl): Do not use CHECK_1.
2846 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2847 (ustat): Do not use CHECK_1.
2848 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2849 <bp-checks.h>.
2850 (__fxstat): Do not use CHECK_1.
2851 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2852 <bp-checks.h>.
2853 (__fxstatat): Do not use CHECK_1.
2854 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2855 <bp-checks.h>.
2856 (__lxstat): Do not use CHECK_1.
2857 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2858 <bp-checks.h>.
2859 (__xstat): Do not use CHECK_1.
2860 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2861 (__xstat): Do not use CHECK_1.
2862 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2863 (___xstat64): Do not use CHECK_1.
2864
b2c9eff4
JM
2865 [BZ #13550]
2866 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2867 definitions.
2868 (CHECK_BOUNDS_HIGH): Likewise.
2869 * string/strcpy.c: Do not include <bp-checks.h>.
2870 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2871
f1d70dad
RM
28722013-02-07 Roland McGrath <roland@hack.frob.com>
2873
2874 * nscd/nscd-client.h (__nscd_drop_map_ref):
2875 Add __attribute__ ((unused)).
2876 * nis/nss-nisplus.h (niserr2nss): Likewise.
2877
2878 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2879 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2880
2881 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2882 Remove inline keyword.
2883 * include/rounding-mode.h (round_away): Likewise.
2884 * libio/wfileops.c (adjust_wide_data): Likewise.
2885 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2886 (__m128i_strloadu_tolower): Likewise.
2887 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2888 (__m128i_strloadu_tolower): Likewise.
2889 * time/mktime.c (ydhms_diff): Likewise.
2890 * locale/elem-hash.h (elem_hash): Likewise.
2891 * locale/setlocale.c (setdata): Likewise.
2892 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2893 (re_string_wchar_at): Likewise.
2894 (bitset_not, bitset_merge, bitset_mask): Likewise.
2895 [!(__GNUC__ > 3)] (inline): Remove macro.
2896 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2897 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2898 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2899 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2900 * string/memcmp.c (memcmp_bytes): Likewise.
2901 * locale/programs/locarchive.c (compute_hashval): Likewise.
2902 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2903 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2904 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2905 * nss/getent.c (print_rpc, print_protocols): Likewise.
2906 (print_passwd, print_group, print_aliases): Likewise.
2907 * nis/nss-nisplus.h (niserr2nss): Likewise.
2908 * nscd/connections.c (restart_p): Likewise.
2909 Change return type to bool.
2910
eab55bfb
RM
29112013-02-05 Roland McGrath <roland@hack.frob.com>
2912
7bd642f5
RM
2913 * Makeconfig (all-Depend-files): Add existing
2914 $(sorted-subdirs:=/Depend) files.
2915 (all-subdirs): Remove nss.
2916 * sysdeps/unix/inet/Subdirs: Add it here instead.
2917 * hesiod/Depend: New file.
2918
573c29b2
RM
2919 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2920 instead of calling alloca.
2921
b2e25af0
RM
2922 * io/lseek.c (__lseek): Rename to __libc_lseek.
2923 Define __lseek as an alias.
2924
eab55bfb
RM
2925 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2926
9a0d1941
CD
29272013-02-04 Carlos O'Donell <carlos@redhat.com>
2928
2929 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2930 else clause and remove check for non-standard endianness.
2931
b83bbec4
DM
29322013-02-04 David S. Miller <davem@davemloft.net>
2933
2934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2935
6277fdab
JM
29362013-02-04 Joseph Myers <joseph@codesourcery.com>
2937
2938 [BZ #13550]
2939 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2940 (__ubp_memchr): Remove prototype.
2941 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2942 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2943 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2944 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2945 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2946 Remove alias.
2947 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2948 (__ubp_memchr): Likewise.
2949 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2950 (__ubp_memchr): Likewise.
2951 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2952 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2953 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2954 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2955 CHECK_STRING.
2956 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2957 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2958 (__getcwd): Do not use CHECK_STRING.
2959 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2960 <bp-checks.h>.
2961 (__real_chown): Do not use CHECK_STRING.
2962 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2963 <bp-checks.h>.
2964 (fchownat): Do not use CHECK_STRING.
2965 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2966 CHECK_STRING.
2967 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2968 <bp-checks.h>.
2969 (__lchown): Do not use CHECK_STRING.
2970 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2971 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2972 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2973 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2975 include <bp-checks.h>.
2976 (truncate64): Do not use CHECK_STRING.
2977 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2978 <bp-checks.h>.
2979 (__real_chown): Do not use CHECK_STRING.
2980 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2981 <bp-checks.h>.
2982 (__lchown): Do not use CHECK_STRING.
2983 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2984 <bp-checks.h>.
2985 (__chown): Do not use CHECK_STRING.
2986 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
2987 <bp-checks.h>.
2988 (truncate64): Do not use CHECK_STRING.
2989 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
2990 Likewise.
2991 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
2992 (__xmknod): Do not use CHECK_STRING.
2993 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
2994 <bp-checks.h>.
2995 (__xmknodat): Do not use CHECK_STRING.
2996 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2997 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
2998
903ae060
AS
29992013-02-04 Andreas Schwab <schwab@suse.de>
3000
3001 [BZ #14142]
3002 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3003 * include/netdb.h: Likewise for h_errno.
3004 * elf/tst-stackguard1.c: Include <tls.h>.
3005
542f9466
JK
30062013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3007
3008 * elf/link.h (struct link_map): Extend the l_addr comment.
3009 * include/link.h (struct link_map): Likewise.
3010
e782a927
JM
30112013-02-01 Joseph Myers <joseph@codesourcery.com>
3012
3013 [BZ #13550]
3014 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3015 (BOUNDED_1): Remove macro.
3016 * debug/backtrace.c: Don't include <bp-checks.h>.
3017 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3018 (__backtrace): Likewise.
3019 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3020 <bp-checks.h>.
3021 (__backtrace): Don't use BOUNDED_1.
3022 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3023 <bp-checks.h>.
3024 (__backtrace): Don't use BOUNDED_1.
3025 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3026 (__backtrace): Don't use BOUNDED_1.
3027 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3028 (shmat): Don't use BOUNDED_N.
3029
8cf28c5e
JM
30302013-01-31 Joseph Myers <joseph@codesourcery.com>
3031
3a7ac8a0
JM
3032 [BZ #13550]
3033 * sysdeps/generic/bp-start.h: Remove file.
3034 * csu/libc-start.c: Don't include <bp-start.h>.
3035 (LIBC_START_MAIN): Set up __environ directly instead of using
3036 INIT_ARGV_and_ENVIRON.
3037 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3038 <bp-start.h>.
3039
f3499f95
JM
3040 [BZ #13550]
3041 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3042 definitions.
3043 (CHECK_FCNTL): Likewise.
3044 (CHECK_N_PAGES): Likewise.
3045
32a45bea
JM
3046 [BZ #13550]
3047 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3048 definitions.
3049 (CHECK_SIGSET_NULL_OK): Likewise.
3050 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3051 <bp-checks.h>.
3052 (sigpending): Don't use CHECK_SIGSET.
3053 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3054 <bp-checks.h>.
3055 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3056 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3057 <bp-checks.h>.
3058 (do_sigsuspend): Don't use CHECK_SIGSET.
3059 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3060 use CHECK_SIGSET.
3061 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3062 (do_sigwait): Don't use CHECK_SIGSET.
3063 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3064 use CHECK_SIGSET.
3065 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3066 include <bp-checks.h>.
3067 (sigpending): Don't use CHECK_SIGSET.
3068 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3069 include <bp-checks.h>.
3070 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3071 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3072 <bp-checks.h>.
3073 (sigpending): Don't use CHECK_SIGSET.
3074 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3075 <bp-checks.h>.
3076 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3077
2e8a5c8c
JM
3078 [BZ #13550]
3079 * sysdeps/generic/bp-semctl.h: Remove file.
3080 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3081 <bp-checks.h> and <bp-semctl.h>.
3082 (__old_semctl): Don't use CHECK_SEMCTL.
3083 (__new_semctl): Likewise.
3084 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3085 and <bp-semctl.h>.
3086 (__old_semctl): Don't use CHECK_SEMCTL.
3087 (__new_semctl): Likewise.
3088 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3089 <bp-checks.h> and <bp-semctl.h>.
3090 (__old_semctl): Don't use CHECK_SEMCTL.
3091 (__new_semctl): Likewise.
3092 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3093 <bp-checks.h> and <bp-semctl.h>.
3094 (semctl): Don't use CHECK_SEMCTL.
3095
c2d54929
JM
3096 [BZ #13550]
3097 * Makerules (elide-bp-thunks): Remove variable.
3098 (elide-routines.oS): Don't use $(elide-bp-thunks).
3099 (elide-routines.os): Likewise.
3100 (elide-routines.o): Likewise.
3101 (elide-routines.op): Likewise.
3102 (elide-routines.og): Likewise.
3103 (objects): Don't use $(bp-thunks).
3104 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3105 include.
3106 (common-generated): Do not add s-proto-bp.d.
3107 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3108 (int): Likewise.
3109 (typ): Likewise.
3110 Do not generate makefile rules for bounded-pointer thunks.
3111 * sysdeps/generic/bp-thunks.h: Remove file.
3112 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3113 * sysdeps/unix/s-proto-bp.S: Likewise.
3114
8cf28c5e
JM
3115 [BZ #15062]
3116 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3117 parts of result separately when argument is not close to line from
3118 -i to i and one part of argument is small.
3119 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3120 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3121 * math/libm-test.inc (cacos_test): Add more tests.
3122 (casin_test): Likewise.
3123 (casinh_test): Likewise.
3124 * sysdeps/i386/fpu/libm-test-ulps: Update.
3125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3126
c4e33b8d
DM
31272013-01-31 David S. Miller <davem@davemloft.net>
3128
3129 * po/de.po: Update from translation team.
3130
3b60b421
MK
31312013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3132
3133 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3134
bb931195
TS
31352013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3136
b5a5da23
TS
3137 * configure.in (_AC_PROG_CC_C89): New definition.
3138 * configure: Regenerate.
3139
bb931195
TS
3140 * configure.in (AC_PROG_CPP): New definition.
3141 * configure: Regenerate.
3142
8c53a12c
JM
31432013-01-23 Joseph Myers <joseph@codesourcery.com>
3144
3145 * debug/tst-backtrace.h: New file.
3146 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3147 (ret): Remove variable.
3148 (x): Likewise.
3149 (FAIL): Remove macro.
3150 (NO_INLINE): Likewise.
3151 (fn1): Use match function instead of strstr.
3152 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3153 (ret): Remove variable.
3154 (x): Likewise.
3155 (FAIL): Remove macro.
3156 (NO_INLINE): Likewise.
3157 (fn): Use match function instead of strstr.
3158 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3159 (ret): Remove variable.
3160 (x): Likewise.
3161 (FAIL): Remove macro.
3162 (NO_INLINE): Likewise.
3163 (handle_signal): Use match function instead of strstr.
3164 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3165 (ret): Remove variable.
3166 (x): Likewise.
3167 (FAIL): Remove macro.
3168 (NO_INLINE): Likewise.
3169 (handle_signal): Use match function instead of strstr.
3170
4858fa2a
RM
31712013-01-23 Roland McGrath <roland@hack.frob.com>
3172
3173 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3174
bae8e7f5
DM
31752013-01-23 David S. Miller <davem@davemloft.net>
3176
3177 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3178 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3179 argument of CAS if possible.
3180 * sysdeps/sparc/sparc64/bits/atomic.h
3181 (__arch_compare_and_exchange_val_32_acq): Likewise.
3182 (__arch_compare_and_exchange_val_64_acq): Likewise.
3183
9cbbc4ae
PT
31842013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3185
3186 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3187 * sysdeps/posix/ulimit.c: ... this.
92a601b8 3188 Include <limits.h>.
67b3f58c 3189 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 3190
5655a0b5
AC
31912013-01-23 Adam Conrad <adconrad@0c3.net>
3192
3193 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3194 (LDFLAGS-tst-array5): Likewise.
3195
052aff95
JM
31962013-01-23 Joseph Myers <joseph@codesourcery.com>
3197
3198 [BZ #15036]
3199 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3200 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3201 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3202 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3203
7c1e01aa
DM
32042013-01-21 David S. Miller <davem@davemloft.net>
3205
3206 * sysdeps/sparc/backtrace.c: New file.
3207 * sysdeps/sparc/sparc32/backtrace.h: New file.
3208 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3209 * sysdeps/sparc/sparc64/backtrace.h: New file.
3210 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3211 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3212 -funwind-tables.
3213
ab087e0a
AS
32142013-01-21 Andreas Schwab <schwab@suse.de>
3215
3216 [BZ #15020]
3217 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3218 closed its stdout.
3219
ed689c2f
AS
32202013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3221
3222 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3223 "mpa2.h".
3224 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3225
31d470ac
JM
32262013-01-18 Joseph Myers <joseph@codesourcery.com>
3227 Mark Mitchell <mark@codesourcery.com>
3228 Tom de Vries <tom@codesourcery.com>
3229 Paul Pluzhnikov <ppluzhnikov@google.com>
3230
3231 * debug/tst-backtrace2.c: New file.
3232 * debug/tst-backtrace3.c: Likewise.
3233 * debug/tst-backtrace4.c: Likewise.
3234 * debug/tst-backtrace5.c: Likewise.
3235 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3236 (CFLAGS-tst-backtrace3.c): Likewise.
3237 (CFLAGS-tst-backtrace4.c): Likewise.
3238 (CFLAGS-tst-backtrace5.c): Likewise.
3239 (LDFLAGS-tst-backtrace2): Likewise.
3240 (LDFLAGS-tst-backtrace3): Likewise.
3241 (LDFLAGS-tst-backtrace4): Likewise.
3242 (LDFLAGS-tst-backtrace5): Likewise.
3243 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3244 tst-backtrace4 and tst-backtrace5.
3245
90567f30 32462013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
3247 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3248
3249 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3250 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3251 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3252 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3254 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3255 "+r" and remove output regs list as redundant. Add explicit inline
3256 asm to specify register of return val to work around compiler codegen
3257 bug. Remove (int) cast on return value. Add return type parameter to
3258 use in macro so that this macro does not truncate return value for
3259 64-bit values.
3260 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3261 pass to INTERNAL_VSYSCALL_NCS.
3262 (INLINE_VSYSCALL): Add 'long int' as return type to
3263 INTERNAL_VSYSCALL_NCS macro invocation.
3264 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3265 INTERNAL_VSYSCALL_NCS macro invocation.
3266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3267
d3b9ea61
SP
32682013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3269
0b57daeb
SP
3270 [BZ #14496]
3271 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3272 Fix application of SIMD FP exception mask.
3273
caa99d06
SP
3274 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3275 mp_no from a power of two.
3276 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3277 __mpexp_twomm1. Use __pow_mp.
3278
d3b9ea61
SP
3279 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3280 multiplication.
3281
1dbaee3c
DM
32822013-01-17 David S. Miller <davem@davemloft.net>
3283
3284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3285
728d7b43
JM
32862013-01-17 Joseph Myers <joseph@codesourcery.com>
3287
3288 [BZ #15023]
3289 * include/complex.h: Condition contents on [!_COMPLEX_H].
3290 (__kernel_casinhf): New prototype.
3291 (__kernel_casinh): Likewise.
3292 (__kernel_casinhl): Likewise.
3293 * math/Makefile (libm_calls): Add k_casinh.
3294 * math/k_casinh.c: New file.
3295 * math/k_casinhf.c: Likewise.
3296 * math/k_casinhl.c: Likewise.
3297 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3298 finite nonzero arguments.
3299 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3300 finite nonzero arguments.
3301 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3302 finite nonzero arguments.
3303 * math/s_casinh.c: Do not include <float.h>.
3304 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3305 * math/s_casinhf.c: Do not include <float.h>.
3306 (__casinhf): Move code for finite nonzero arguments to
3307 k_casinhf.c.
3308 * math/s_casinhl.c: Do not include <float.h>.
3309 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3310 redefine.
3311 (__casinhl): Move code for finite nonzero arguments to
3312 k_casinhl.c.
3313 * math/libm-test.inc (cacos_test): Add more tests.
3314 * sysdeps/i386/fpu/libm-test-ulps: Update.
3315 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3316
2a26ef3a
PT
33172013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3318
3319 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3320 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3321 [!HAVE_MREMAP]: Remove [defined linux] case.
3322 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3323
a897655d
SP
33242013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3325
3326 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3327
881ebe89 33282013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
3329
3330 * elf/elf.h (R_386_SIZE32): New relocation.
3331 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3332 R_386_SIZE32.
3333 (elf_machine_rela): Likewise.
3334 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3335 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3336
59981e9b
JM
33372013-01-17 Joseph Myers <joseph@codesourcery.com>
3338
3339 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3340 (FP_FAST_FMA): Do not define.
3341 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3342 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3343 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3344 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3345 !_SOFT_FLOAT]: Likewise.
3346 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3347 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3348 value.
3349 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3350 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3351 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3352 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3353 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3354 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3355 file.
3356
cfa8054f
AS
33572013-01-16 Andreas Schwab <schwab@suse.de>
3358
3359 [BZ #14327]
3360 * include/stdlib.h (__mktemp): Add declaration.
3361 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3362 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3363
dd930cc5
SP
33642013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3365
881ebe89
SP
3366 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3367 definitions.
3368 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3369 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3370 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3371 definitions here.
3372 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3373 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3374 definitions.
3375 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3376 and ONE.
3377 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3378 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3379 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3380 definitions.
3381 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3382 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3383 definitions.
3384 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 3385
dd930cc5
SP
3386 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3387
c19a9f89
DM
33882013-01-15 David S. Miller <davem@davemloft.net>
3389
1aa61767
DM
3390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3391 trunc{,f} to libm-sysdep_routes.
3392 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3394 file.
3395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3397 file.
3398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3399 file.
3400 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3402 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3403 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3404 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3405 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3406 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3407 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3408
c42d5e98
DM
3409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3410 nearbyint{,f} to libm-sysdep_routes.
3411 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3413 New file.
3414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3415 file.
3416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3417 New file.
3418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3419 file.
3420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3421 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3422 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3423 file.
3424 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3425 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3426 file.
3427 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3428 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3429 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3430
c19a9f89
DM
3431 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3432 libc_feholdexcept and libc_fesetenv.
3433
357679d2
MF
34342013-01-15 Mike Frysinger <vapier@gentoo.org>
3435
3436 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3437
65a82e3d
DM
34382013-01-14 David S. Miller <davem@davemloft.net>
3439
8b954ab9
DM
3440 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3441 (SPARC_ASM_VIS2_IFUNC): Likewise.
3442 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3444 use of 'siam' instruction.
3445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3446 Likewise.
3447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3448 Likewise.
3449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3450 Likewise.
3451 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3452 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3453 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3454 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3455 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3456 file.
3457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3458 file.
3459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3460 file.
3461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3462 file.
3463 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3464 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3465 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3466 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3468 new VIS2 routines.
3469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3472 Likewise.
3473 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3474 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3475 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3476 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3478 routines to libm-sysdep_routines.
3479 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3480
65a82e3d
DM
3481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3482 fdim/fdimf to libm-sysdep_routines.
3483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3484 file.
3485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3487 file.
3488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3491 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3492 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3493 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3494 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3495
e34ab705
SP
34962013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3497
2a91b573
SP
3498 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3499 to optimize copies.
3500
1066a534
SP
3501 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3502 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3503 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3504
e34ab705
SP
3505 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3506 local variable MPTWO.
3507 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3508 Likewise.
3509
aba5e596
MF
35102013-01-13 Mike Frysinger <vapier@gentoo.org>
3511
3512 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3513 GLOB_NOESCAPE.
3514
e557e9e5
MF
35152013-01-13 Mike Frysinger <vapier@gentoo.org>
3516
3517 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3518
0428cec9
MF
35192013-01-13 Mike Frysinger <vapier@gentoo.org>
3520
3521 * manual/pattern.texi (glob_t): Document gl_flags.
3522 (glob64_t): Likewise.
3523
8794a964
DM
35242013-01-11 David S. Miller <davem@davemloft.net>
3525
66438c3f
RM
3526 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3527 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3528 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
3529 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3530 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3531 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3532 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3533 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3534 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3535 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3536 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3537 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3538 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3539
4ae4244d
DM
3540 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3541 sparc V9 rather than using V8 code.
3542 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3543 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3544
8794a964
DM
3545 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3546 Move to...
3547 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3548 Here.
3549
6270516e
RM
35502013-01-11 Roland McGrath <roland@hack.frob.com>
3551
3552 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3553 not in the main loop.
3554 * configure: Regenerated.
3555
6a57d931
JM
35562013-01-11 Joseph Myers <joseph@codesourcery.com>
3557
3558 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3559 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3560 to just #else.
3561 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3562 [!__GLIBC_HAVE_LONG_LONG] case.
3563 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3564 condition to just #else.
3565 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3566 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3567 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3568 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3569 unconditional.
3570 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3571 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3572 #elif condition to just #else.
3573 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3574 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3575 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3576 #elif condition to just #else.
3577
0e8529e9
SE
35782013-01-11 Steve Ellcey <sellcey@mips.com>
3579
3580 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3581 (EF_MIPS_ARCH_64): Fix value.
3582 (EF_MIPS_ARCH_32R2): New.
3583 (EF_MIPS_ARCH_64R2): New.
3584
740b3dbe
L
35852013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3586
3587 * Makeconfig (+link-pie-before-libc): New.
3588 (+link-pie-after-libc): Likewise.
3589 (+link-pie-tests): Likewise.
3590 (+link-pie): Rewritten.
3591 (link-before-libc): Remove $(config-LDFLAGS).
3592 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3593 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3594 (config-LDFLAGS): Renamed to ...
3595 (rtld-LDFLAGS): This.
3596 (rtld-tests-LDFLAGS): New macro.
3597 (link-libc-rpath-link): Likewise.
3598 (link-libc-tests-rpath-link): Likewise.
3599 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3600 (link-libc): Prepand $(link-libc-rpath-link).
3601 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3602 (test-program-prefix): New macro.
3603 (test-via-rtld-prefix): Likewise.
3604 (test-program-cmd): Likewise.
3605 (host-test-program-cmd): Likewise.
3606 * Makefile ($(common-objpfx)testrun.sh): Replace
3607 $(run-program-prefix) with $(test-program-prefix).
3608 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3609 $(rtld-LDFLAGS).
3610 ($(common-objpfx)shlib.lds): Likewise.
3611 (build-module-helper): Likewise.
3612 ($(common-objpfx)format.lds): Likewise.
3613 * Rules (binaries-pie-tests): New.
3614 (binaries-pie-notests): Likewise.
3615 (binaries-pie): Rewritten.
3616 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3617 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3618 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3619 (make-test-out): Replace $(host-built-program-cmd) with
3620 $(host-test-program-cmd).
3621 * config.make.in (build-hardcoded-path-in-tests): New variable.
3622 * configure.in (--enable-hardcoded-path-in-tests): New configure
3623 option.
3624 (hardcoded_path_in_tests): New AC_SUBST.
3625 * configure: Regenerated.
3626 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3627 $(built-program-cmd) with $(test-program-cmd).
3628 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3629 (test_program_cmd): This.
3630 * elf/Makefile ($(objpfx)order.out): Run test with
3631 $(test-program-prefix).
3632 ($(objpfx)order2.out): Likewise.
3633 ($(objpfx)tst-initorder.out): Likewise.
3634 ($(objpfx)tst-initorder2.out): Likewise.
3635 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3636 $(test-program-cmd).
3637 ($(objpfx)tst-array1-static.out): Likewise.
3638 ($(objpfx)tst-array2.out): Likewise.
3639 ($(objpfx)tst-array3.out): Likewise.
3640 ($(objpfx)tst-array4.out): Likewise.
3641 ($(objpfx)tst-array5.out): Likewise.
3642 ($(objpfx)tst-array5-static.out): Likewise.
3643 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3644 $(test-program-cmd).
3645 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3646 $(run-program-prefix) with $(test-program-prefix).
3647 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3648 (test_program_prefix): This.
3649 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3650 $(run-program-prefix) with $(test-program-prefix).
3651 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3652 (test_program_prefix): This.
3653 * iconvdata/tst-tables.sh: Likewise.
3654 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3655 $(run-program-prefix) with $(test-program-prefix).
3656 ($(objpfx)tst-translit.out): Likewise.
3657 ($(objpfx)tst-gettext2.out): Likewise.
3658 ($(objpfx)tst-gettext4.out): Likewise.
3659 ($(objpfx)tst-gettext6.out): Likewise.
3660 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3661 (test_program_prefix): This.
3662 * intl/tst-gettext2.sh: Likewise.
3663 * intl/tst-gettext4.sh Likewise.
3664 * intl/tst-gettext6.sh: Likewise.
3665 * intl/tst-translit.sh: Likewise.
3666 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3667 with $(test-program-cmd).
3668 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3669 $(run-program-prefix) with $(test-program-prefix).
3670 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3671 (test_program_prefix): This.
3672 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3673 $(run-program-prefix) with $(test-program-prefix).
3674 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3675 (test_program_prefix): This.
3676 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3677 * posix/Makefile ($(objpfx)globtest.out): Replace
3678 $(run-via-rtld-prefix) and $(test-wrapper) with
3679 $(test-program-prefix) and $(test-via-rtld-prefix).
3680 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3681 $(test-program-prefix).
3682 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3683 $(host-test-program-cmd).
3684 (tst-spawn-ARGS): Likewise.
3685 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3686 $(test-program-prefix).
3687 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3688 (test_via_rtld_prefix): This.
3689 (test_wrapper): Renamed to ...
3690 (test_program_prefix): This.
3691 (run_program_prefix): Replaced by test_program_prefix.
3692 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3693 (test_program_prefix): This.
3694 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3695 with $(host-test-program-cmd).
3696 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3697 $(run-program-prefix) with $(test-program-prefix).
3698 ($(objpfx)tst-printf.out): Likewise.
3699 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3700 $(test-program-cmd).
3701 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3702 (test_program_prefix): This.
3703 * stdio-common/tst-unbputc.sh: Likewise.
3704 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3705 $(run-program-prefix) with $(test-program-prefix).
3706 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3707 (test_program_prefix): This.
3708 * string/Makefile ($(objpfx)tst-svc.out): Replace
3709 $(built-program-cmd) with $(test-program-cmd).
3710
c6fe55cf
AJ
37112013-01-11 Andreas Jaeger <aj@suse.de>
3712
3713 [BZ #15003]
3714 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3715 value. Sync with Linux 3.7.
3716
9e6919c8
DM
37172013-01-10 David S. Miller <davem@davemloft.net>
3718
3719 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3720 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3721 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3722
1c9f1a02
RM
37232013-01-10 Roland McGrath <roland@hack.frob.com>
3724
3725 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3726 never set.
3727 * configure: Regenerated.
3728
b9de2dde
DM
37292013-01-10 David S. Miller <davem@davemloft.net>
3730
3731 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3732 sparc V9 rather than using V8 code.
3733 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3734 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3735
e7f68ef4
RM
37362013-01-10 Roland McGrath <roland@hack.frob.com>
3737
3738 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3739 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3740 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3741 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3742 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3743 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3744 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3745 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3746 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3747 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3748 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3749 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3750 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3751 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3752 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3753 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3754 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3755 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3756 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3757 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3758 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3759 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3760 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3761 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3762 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3763 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3764 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3765
5a47cc9c
DM
37662013-01-10 David S. Miller <davem@davemloft.net>
3767
3768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3769
4cf8f209
L
37702013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3771
3772 * posix/Makefile (tests-static): New variable.
3773 (tests): Add $(tests-static).
3774 (tst-exec-static-ARGS): New variable.
3775 (tst-spawn-static-ARGS): Likewise.
3776 * posix/tst-exec-static.c: New file.
3777 * posix/tst-spawn-static.c: Likewise.
3778 * posix/tst-exec.c: Support run directly.
3779 * posix/tst-spawn.c: Likewise.
3780
fed0faa1
JM
37812013-01-10 Joseph Myers <joseph@codesourcery.com>
3782
828beb13
JM
3783 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3784 long.
3785 * math/bits/mathcalls.h (llrint): Likewise.
3786 (llround): Likewise.
3787 * stdlib/stdlib.h (struct drand48_data): Likewise.
3788 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3789 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3790 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3791 Likewise.
3792 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3793 Likewise.
3794 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3795 (elf_greg_t): Likewise.
3796 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3797 (__jmp_buf): Likewise.
3798 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3799 definitions.
3800 (llrint): Likewise, for all definitions.
3801 (llrintl): Likewise.
3802
fed0faa1
JM
3803 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3804 Remove [__GNUC__] condition.
3805 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3806 condition to just [__USE_ISOC99].
3807 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3808
1a20cb20
L
38092013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3810
3811 [BZ #14200]
3812 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3813 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3814 defined.
3815 (_POSIX_V6_ILP32_OFF32): Likewise.
3816 (_XBS5_ILP32_OFF32): Likewise.
3817 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3818 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3819
751b85f7
SP
38202013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3821
7490eb81
SP
3822 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3823
751b85f7
SP
3824 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3825 doubles __mpexp_twomm1. Adjust usage.
3826 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3827 Remove.
3828
988197f0
AS
38292013-01-10 Andreas Schwab <schwab@suse.de>
3830
3831 [BZ #14964]
3832 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3833 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3834
e83d7298
DM
38352013-01-09 David S. Miller <davem@davemloft.net>
3836
034ed64b 3837 [BZ #15003]
e83d7298
DM
3838 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3839 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3840 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3841 TCP_FASTOPEN): Define.
3842 (tcp_repair_opt): New structure.
3843 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3844 enum values.
3845 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3846 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3847 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3848 (tcp_cookie_transactions): New structure.
3849
d5e0b9bd
AB
38502013-01-09 Anton Blanchard <anton@samba.org>
3851
3852 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3853 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3854 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3855 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3856
0c07e3ea
JM
38572013-01-09 Joseph Myers <joseph@codesourcery.com>
3858
3859 * include/features.h (__USE_ANSI): Remove.
3860
232f7002
RM
38612013-01-09 Roland McGrath <roland@hack.frob.com>
3862
ad98e30c
RM
3863 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3864
232f7002
RM
3865 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3866
950c99ca
SP
38672013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3868
b5792741
SP
3869 * sysdeps/s390/fpu/libm-test-ulps: Update.
3870
47cf2278
SP
3871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3872
950c99ca
SP
3873 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3874 (__acr): Likewise.
3875 (__cpy): Likewise.
3876 (norm): Likewise.
3877 (denorm): Likewise.
3878 (__mp_dbl): Likewise.
3879 (__dbl_mp): Likewise.
3880 (add_magnitudes): Likewise.
3881 (sub_magnitudes): Likewise.
3882 (__add): Likewise.
3883 (__sub): Likewise.
3884 (__mul): Likewise.
3885 (__inv): Likewise.
3886 (__dvd): Likewise.
3887 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3888 (__acr): Likewise.
3889 (__cpy): Likewise.
3890 (norm): Likewise.
3891 (denorm): Likewise.
3892 (__mp_dbl): Likewise.
3893 (__dbl_mp): Likewise.
3894 (add_magnitudes): Likewise.
3895 (sub_magnitudes): Likewise.
3896 (__add): Likewise.
3897 (__sub): Likewise.
3898 (__mul): Likewise.
3899 (__inv): Likewise.
3900 (__dvd): Likewise.
3901 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3902 (__acr): Likewise.
3903 (__cpy): Likewise.
3904 (norm): Likewise.
3905 (denorm): Likewise.
3906 (__mp_dbl): Likewise.
3907 (__dbl_mp): Likewise.
3908 (add_magnitudes): Likewise.
3909 (sub_magnitudes): Likewise.
3910 (__add): Likewise.
3911 (__sub): Likewise.
3912 (__mul): Likewise.
3913 (__inv): Likewise.
3914 (__dvd): Likewise.
3915
eede9df9
JM
39162013-01-08 Joseph Myers <joseph@codesourcery.com>
3917
3918 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3919 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3920 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3921 2 && __USE_EXTERN_INLINES]: Likewise.
3922
c40ea3d9
AJ
39232013-01-08 Andreas Jaeger <aj@suse.de>
3924
3925 [BZ# 14985]
3926 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3927 Remove.
3928 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3929 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3930
2ccdea26
AB
39312013-01-07 Anton Blanchard <anton@samba.org>
3932
3933 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3934 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3935 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3936 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3937 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3938 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3939 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3940 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3941 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3942 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3943 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3944 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3945 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3946 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3947 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3948 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3949 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3950 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3951 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3952 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3953 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3954 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3955 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3956 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3957 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3958 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3959 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3960 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3961 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3962 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3963 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3964 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3965 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3966 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3967 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3968 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3969 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3970 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3971 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3972 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3973 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3974 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3975 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3976
a9708fed
JM
39772013-01-07 Joseph Myers <joseph@codesourcery.com>
3978
375607b9
JM
3979 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3980 (__MALLOC_PMT): Likewise.
3981 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
3982 [__GNUC__], only on [_LIBC].
3983 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3984 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
3985 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
3986 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
3987 forward declaration.
3988 (realloc_hook_ini): Likewise.
3989 (memalign_hook_ini): Likewise.
3990 (__libc_memalign): Do not use __MALLOC_PMT in variable
3991 declaration.
3992 (__libc_valloc): Likewise.
3993 (__libc_pvalloc): Likewise.
3994 (__libc_calloc): Likewise.
3995 (__posix_memalign): Likewise.
3996
a9708fed
JM
3997 [BZ #14996]
3998 * math/s_casinh.c: Include <float.h>.
3999 (__casinh): Do not do computation with squaring and square root
4000 for large arguments.
4001 * math/s_casinhf.c: Include <float.h>.
4002 (__casinhf): Do not do computation with squaring and square root
4003 for large arguments.
4004 * math/s_casinhl.c: Include <float.h>.
4005 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4006 (__casinhl): Do not do computation with squaring and square root
4007 for large arguments.
4008 * math/libm-test.inc (casin_test): Add more tests.
4009 (casinh_test): Likewise.
4010 * sysdeps/i386/fpu/libm-test-ulps: Update.
4011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4012
afec409a
L
40132013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4014
4015 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4016 (__x86_64_raw_data_cache_size): Likewise.
4017 (__x86_64_data_cache_size_half): Likewise.
4018 (__x86_64_raw_data_cache_size_half): Likewise.
4019 (__x86_64_shared_cache_size): Likewise.
4020 (__x86_64_raw_shared_cache_size): Likewise.
4021 (__x86_64_shared_cache_size_half): Likewise.
4022 (__x86_64_raw_shared_cache_size_half): Likewise.
4023 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4024 to ...
4025 (__x86_data_cache_size): This.
4026 (__x86_64_raw_data_cache_size): Renamed to ...
4027 (__x86_raw_data_cache_size): This.
4028 (__x86_64_data_cache_size_half): Renamed to ...
4029 (__x86_data_cache_size_half): This.
4030 (__x86_64_raw_data_cache_size_half): Renamed to ...
4031 (__x86_raw_data_cache_size_half): This.
4032 (__x86_64_shared_cache_size): Renamed to ...
4033 (__x86_shared_cache_size): This.
4034 (__x86_64_raw_shared_cache_size): Renamed to ...
4035 (__x86_raw_shared_cache_size): This.
4036 (__x86_64_shared_cache_size_half): Renamed to ...
4037 (__x86_shared_cache_size_half): This.
4038 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4039 (__x86_raw_shared_cache_size_half): This.
4040 * sysdeps/x86_64/memcpy.S: Updated.
4041 * sysdeps/x86_64/memset.S: Likewise.
4042 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4043 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4044 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4045
0b3986d0
DM
40462013-01-04 David S. Miller <davem@davemloft.net>
4047
4048 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4049
e47686e9
AS
40502013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4051
d643bac1
AS
4052 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4053 1 to avoid redefinition warning.
4054 (__USE_GNU): Don't define.
4055 (init_signaling_nan): Protoize.
4056
e47686e9
AS
4057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4058
b18decba
SP
40592013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4060
fffb407f
SP
4061 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4062 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4063 (__cpymn): Likewise.
4064 (norm): Remove commented code.
4065 (denorm): Likewise.
4066 (__mp_dbl): Likewise.
4067 (__inv): Likewise.
4068 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4069 (__cpymn): Likewise.
4070 (norm): Remove commented code.
4071 (denorm): Likewise.
4072 (__mp_dbl): Likewise.
4073 (__inv): Likewise.
4074
b18decba
SP
4075 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4076 mp_no value for 1.0 and 2.0.
4077 (norm): Use RADIXI instead of radixi.d.
4078 (denorm): Likewise.
4079 (__mul): Use 0.0 instead of zero.d.
4080 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4081 mp_no value for 1.0 and 2.0.
4082 (norm): Use RADIXI instead of radixi.d.
4083 (denorm): Likewise.
4084 (__mul): Use 0.0 instead of zero.d.
4085
cdc1c96f
JM
40862013-01-04 Joseph Myers <joseph@codesourcery.com>
4087
4088 [BZ #14994]
4089 * math/s_casinh.c (__casinh): Reduce finite argument to first
4090 quadrant then set signs of results at the end.
4091 * math/s_casinhf.c (__casinhf): Likewise.
4092 * math/s_casinhl.c (__casinhl): Likewise.
4093 * math/libm-test.inc (casin_test): Add more tests.
4094 (casinh_test): Likewise.
4095 * sysdeps/i386/fpu/libm-test-ulps: Update.
4096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4097
302913e1
SP
40982013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4099
6420d207
SP
4100 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4101
a9e48ab4
SP
4102 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4103
b7837264
SP
4104 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4105 declarations.
4106 (denorm): Likewise.
4107 (__mp_dbl): Likewise.
4108 (__inv): Likewise.
4109
f8af25d2
SP
4110 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4111 and adjust the header comment.
4112
302913e1
SP
4113 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4114 variable name from declaration.
4115
5d7dd1ca
L
41162013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4117
4118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4119 Initialize COMMON_CPUID_INDEX_7 element.
4120 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4121 (CPUID_RTM): Likewise.
4122 (HAS_RTM): Likewise.
4123 (COMMON_CPUID_INDEX_7): New enum.
4124
2f5f40f4
AS
41252013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4126
4127 [BZ #14981]
4128 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4129 size is zero, record memory as freed.
4130
4056f4a0
AJ
41312013-01-03 Andreas Jaeger <aj@suse.de>
4132
4133 * po/ia.po: Add new Interlingua translation.
4134
ab15736f 41352012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
4136
4137 * locale/programs/localedef.c: Fix description of '--posix' flag.
4138
568035b7
JM
41392013-01-02 Joseph Myers <joseph@codesourcery.com>
4140
e6898b8d
JM
4141 * NEWS: Update dates in second copyright notice.
4142 * README: Update copyright dates in example.
4143 * manual/libc.texinfo: Update copyright dates.
4144 * scripts/test-installation.pl: Update copyright date in --version
4145 output.
4146
0e2f9562
JM
4147 * hurd/ctty-input.c: Fix copyright notice formatting.
4148 * hurd/ctty-output.c: Likewise.
4149 * hurd/dtable.c: Likewise.
4150 * hurd/hurd-raise.c: Likewise.
4151 * hurd/hurdprio.c: Likewise.
4152 * hurd/msgportdemux.c: Likewise.
4153 * misc/sys/file.h: Likewise.
4154 * misc/sys/ioctl.h: Likewise.
4155 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4156 * sysdeps/mach/hurd/chdir.c: Likewise.
4157 * sysdeps/mach/hurd/fchdir.c: Likewise.
4158 * sysdeps/mach/hurd/rename.c: Likewise.
4159 * sysdeps/mach/hurd/rmdir.c: Likewise.
4160 * sysdeps/mach/hurd/seekdir.c: Likewise.
4161 * sysdeps/mach/hurd/setsid.c: Likewise.
4162 * sysdeps/posix/wait3.c: Likewise.
4163
568035b7
JM
4164 * All files with FSF copyright notices: Update copyright dates
4165 using scripts/update-copyrights.
4166 * intl/plural.c: Regenerated.
4167 * locale/programs/charmap-kw.h: Likewise.
4168 * locale/programs/locfile-kw.h: Likewise.
4169
da08f647
SP
41702013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4171
0f5477af
SP
4172 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4173 four values.
4174
44e0d4c2
SP
4175 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4176 calculation loop and add branch prediction.
4177
4d55b4e5
SP
4178 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4179 check access beyond bounds of m1np.
4180
da08f647
SP
4181 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4182 MPTWO.
4183 (__inv): Remove local variable MPTWO to use the global
4184 constant.
4185 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4186 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4187 variable MPTWO.
4188 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4189 MP3HALFS static const.
4190
8e051029
DM
41912013-01-01 David S. Miller <davem@davemloft.net>
4192
4193 * po/ca.po: Update from translation team.
4194
f4cf5f2d
JM
41952013-01-01 Joseph Myers <joseph@codesourcery.com>
4196
4197 * scripts/update-copyrights: New file.
4198 * Makeconfig: Reformat copyright notice.
4199 * ctype/ctype.h: Likewise.
4200 * debug/swprintf_chk.c: Likewise.
4201 * elf/dl-cache.c: Likewise.
4202 * elf/dl-debug.c: Likewise.
4203 * elf/dl-object.c: Likewise.
4204 * grp/initgroups.c: Likewise.
4205 * hurd/Makefile: Likewise.
4206 * hurd/hurd/signal.h: Likewise.
4207 * hurd/hurdfault.c: Likewise.
4208 * hurd/hurdioctl.c: Likewise.
4209 * hurd/hurdlookup.c: Likewise.
4210 * hurd/intr-msg.c: Likewise.
4211 * iconv/gconv_open.c: Likewise.
4212 * libio/swprintf.c: Likewise.
4213 * locale/lc-ctype.c: Likewise.
4214 * locale/nl_langinfo.c: Likewise.
4215 * mach/Machrules: Likewise.
4216 * mach/Makefile: Likewise.
4217 * malloc/obstack.h: Likewise.
4218 * manual/Makefile: Likewise.
4219 * manual/tsort.awk: Likewise.
4220 * misc/bits/stab.def: Likewise.
4221 * nis/nis_print_group_entry.c: Likewise.
4222 * nis/nis_table.c: Likewise.
4223 * nis/nss_compat/compat-pwd.c: Likewise.
4224 * nis/nss_compat/compat-spwd.c: Likewise.
4225 * po/Makefile: Likewise.
4226 * posix/fnmatch.c: Likewise.
4227 * posix/regex.h: Likewise.
4228 * resolv/Makefile: Likewise.
4229 * resolv/nss_dns/dns-network.c: Likewise.
4230 * resolv/res_hconf.c: Likewise.
4231 * scripts/gen-sorted.awk: Likewise.
4232 * soft-fp/soft-fp.h: Likewise.
4233 * stdio-common/printf.h: Likewise.
4234 * stdlib/monetary.h: Likewise.
4235 * stdlib/random.c: Likewise.
4236 * stdlib/random_r.c: Likewise.
4237 * sysdeps/generic/Makefile: Likewise.
4238 * sysdeps/gnu/Makefile: Likewise.
4239 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4240 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4241 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4242 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4243 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4244 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4245 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4246 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4247 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4248 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4249 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4250 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4251 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4252 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4253 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4254 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4255 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4256 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4257 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4258 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4259 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4260 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4261 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4262 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4263 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4264 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4265 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4266 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4267 * sysdeps/mach/hurd/errnos.awk: Likewise.
4268 * sysdeps/mach/hurd/fork.c: Likewise.
4269 * sysdeps/mach/hurd/getcwd.c: Likewise.
4270 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4271 * sysdeps/mach/hurd/mmap.c: Likewise.
4272 * sysdeps/mach/hurd/utimes.c: Likewise.
4273 * sysdeps/mach/hurd/xmknod.c: Likewise.
4274 * sysdeps/posix/profil.c: Likewise.
4275 * sysdeps/posix/readdir_r.c: Likewise.
4276 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4277 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4278 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4279 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4280 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4281 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4282 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4283 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4284 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4285 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4286 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4287 * sysdeps/pthread/lio_listio.c: Likewise.
4288 * sysdeps/sparc/dl-procinfo.h: Likewise.
4289 * sysdeps/unix/i386/sysdep.S: Likewise.
4290 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4291 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4292 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4293 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4295 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4296 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4297 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4298 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4299 * sysdeps/wordsize-32/divdi3.c: Likewise.
4300 * time/sys/time.h: Likewise.
4301 * wcsmbs/Makefile: Likewise.
4302
0549fbba
DM
43032013-01-01 David S. Miller <davem@davemloft.net>
4304
a141f1a7
DM
4305 * po/fr.po: Update from translation team.
4306
0549fbba
DM
4307 * catgets/gencat.c: Update copyright year.
4308 * csu/version.c: Likewise.
4309 * debug/catchsegv.sh: Likewise.
4310 * debug/pcprofiledump.c: Likewise.
4311 * debug/xtrace.sh: Likewise.
4312 * elf/ldconfig.c: Likewise.
4313 * elf/ldd.bash.in: Likewise.
4314 * elf/pldd.c: Likewise.
4315 * elf/sotruss.ksh: Likewise.
4316 * elf/sprof.c: Likewise.
4317 * iconv/iconv_prog.c: Likewise.
4318 * iconv/iconvconfig.c: Likewise.
4319 * locale/programs/locale.c: Likewise.
4320 * locale/programs/localedef.c: Likewise.
4321 * login/programs/pt_chown.c: Likewise.
4322 * malloc/memusage.sh: Likewise.
4323 * malloc/memusagestat.c: Likewise.
4324 * malloc/mtrace.pl: Likewise.
4325 * nscd/nscd.c: Likewise.
4326 * nss/getent.c: Likewise.
4327 * nss/makedb.c: Likewise.
4328 * posix/getconf.c: Likewise.
4329
18ea052c
SP
43302012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4331
4332 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4333 numbers.
4334
9c89fca6
MF
43352012-12-30 Mike Frysinger <vapier@gentoo.org>
4336
4337 * math/bits/mathcalls.h (modf): Use __nonnull.
4338
085ec079
SP
43392012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4340
4341 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4342 (split): Use macro CN instead of the bare value.
4343 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4344 could be used.
4345 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4346 instead of the bare value.
4347 (power1): Likewise.
4348
6d9f97e1
SP
43492012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4350
d63f73be
SP
4351 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4352 __ATAN_TWOM.
4353 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4354
6d9f97e1
SP
4355 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4356 their values.
4357 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4358 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4359 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4360 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4361
4c4febf5
AJ
43622012-12-28 Andreas Jaeger <aj@suse.de>
4363
af5843ef
AJ
4364 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4365 values are from Linux 3.7.
4366
4c4febf5
AJ
4367 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4368 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4369
99136f82
SP
43702012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4371
2f216c3c 4372 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
4373 TRUE case.
4374
99136f82
SP
4375 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4376 (norm): Likewise.
4377 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4378 variables with preprocessor constants.
4379 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4380 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4381 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4382
7fffbdff
BH
43832012-12-27 Bruno Haible <bruno@clisp.org>
4384
4385 [BZ #14317]
4386 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4387 only if needed.
4388
b76eb5f0
SP
43892012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4390
31a7fe5c
SP
4391 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4392 and use variable directly.
4393 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4394
b76eb5f0
SP
4395 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4396 MPONE.
4397 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4398 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4399 variable MPONE.
4400 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4401 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4402 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4403 include directive. Remove local variable MPONE.
4404 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4405 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4406 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4407
2c8bfe7d
DM
44082012-12-25 David S. Miller <davem@davemloft.net>
4409
4410 * version.h (RELEASE): Set to "development".
4411 (VERSION): Set to "2.17.90".
4412 * NEWS: Add 2.18 section.
4413
147d03b0
DM
44142012-12-21 David S. Miller <davem@davemloft.net>
4415
4416 * po/hr.po: Update from translation team.
4417
a8ebb2b9
AK
44182012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4419
4420 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4421
95b4f1b6
SE
44222012-12-19 Steve Ellcey <sellcey@mips.com>
4423
b2d94007 4424 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 4425
cedb2a90
MS
44262012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4427
4428 * manual/contrib.texi (Contributors): Spelling correction.
4429
bbf527d6
DM
44302012-12-15 David S. Miller <davem@davemloft.net>
4431
4432 * po/ru.po: Update from translation team.
4433
bc38c906
DM
44342012-12-13 David S. Miller <davem@davemloft.net>
4435
85429b1a
DM
4436 * NEWS: Mention IFUNC testsuite enhancements.
4437
d283e353
DM
4438 * po/pl.po: Update from translation team.
4439 * po/bg.po: Likewise.
4440
bc38c906
DM
4441 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4442 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4443
a181b0d7
DM
44442012-12-11 David S. Miller <davem@davemloft.net>
4445
4641d57e
DM
4446 * po/sv.po: Update from translation team.
4447
f7bc6495
DM
4448 * po/vi.po: Update from translation team.
4449
6fc9048f
DM
4450 * po/cs.po: Update from translation team.
4451
a181b0d7
DM
4452 * po/de.po: Update from translation team.
4453 * po/eo.po: Likewise.
4454 * po/nl.po: Likewise.
4455
f70bfe80
SP
44562012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4457
3c8b4190
SP
4458 [BZ #14246]
4459 * manual/argp.texi (Argp Helper Functions): Move node to follow
4460 Argp Parsing State.
4461
f70bfe80
SP
4462 [BZ #14872]
4463 * manual/conf.texi (Limits on File System Capacity): Mention if
4464 terminating null is included in the max size.
4465
188f0adf
AJ
44662012-12-10 Andreas Jaeger <aj@suse.de>
4467
4468 * po/cs.po: Update from translation team.
4469
56e7d3ad
SP
44702012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4471
4472 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4473 void pointer and cast to uintptr_t.
4474 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4475 path.
4476 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4477 * sysdeps/s390/s390-64/memset.S: Likewise.
4478
76f2d2ea 44792012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
4480
4481 [BZ #14833]
4482 * menual/message.texi (Message Translation): Fix typos.
4483 (Helper programs for gettext): Likewise.
4484
67cbf9a2
AS
44852012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4486
4487 [BZ #14898]
4488 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4489 Change to -1.
4490
682d0e9a
DM
44912012-12-07 David S. Miller <davem@davemloft.net>
4492
4493 * po/libc.pot: Update.
4494
573cd484
RH
44952012-12-07 Richard Henderson <rth@redhat.com>
4496
7e9da188 4497 [BZ #10114]
573cd484
RH
4498 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4499 normal/normal case to before the switch.
4500 (_FP_DIV): Likewise.
4501
e933a943
MF
45022012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4503 Mike Frysinger <vapier@gentoo.org>
4504
4505 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4506 check for __NR_fadvise64_64.
4507
82123268
CM
45082012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4509
4510 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4511 0, not just to plain "0" as a statement.
4512 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4513 with cw.
4514
d9814526
JM
45152012-12-06 Joseph Myers <joseph@codesourcery.com>
4516
4517 * NEWS: Use sourceware.org in Bugzilla URL.
4518
7728c574
SP
45192012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4520
f16946dd
SP
4521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4522 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4523
5704bbcb
SP
4524 * stdio-common/tst-put-error.c (do_test): Add newline to the
4525 padded test to ensure flush.
4526
17aa0516
JL
45272012-12-05 Jeff Law <law@redhat.com>
4528
4529 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4530
363313b5
JM
45312012-12-05 Joseph Myers <joseph@codesourcery.com>
4532
effbd42a
JM
4533 * README: Don't refer to ports add-on as distributed separately.
4534 Mention AArch64 in list of systems supported in the ports add-on.
4535
87600365
JM
4536 * LICENSES: Add more non-FSF copyright and license notices.
4537
a0d7066a
JM
4538 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4539 ((unused)).
4540
66ca5a5b
JM
4541 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4542
363313b5
JM
4543 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4544 10000 as width of padded output.
4545
b37984ad
JM
45462012-12-04 Joseph Myers <joseph@codesourcery.com>
4547
9003570a
JM
4548 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4549
b37984ad
JM
4550 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4551 variable LX with __attribute__ ((unused)).
4552 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4553 Likewise.
4554 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4555 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4556 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4557 with __attribute__ ((unused)).
4558
c8df52ec
DM
45592012-12-04 David S. Miller <davem@abraco.davemloft.net>
4560
4561 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4562
b3b099af
JM
45632012-12-04 Joseph Myers <joseph@codesourcery.com>
4564
c33aa6e3
JM
4565 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4566 (CFLAGS-nldbl-acos.c): New variable.
4567 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4568 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4569 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4570 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4571 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4572 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4573 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4574 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4575 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4576 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4577 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4578 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4579 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4580 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4581 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4582 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4583 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4584 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4585 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4586 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4587 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4588 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4589 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4590 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4591 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4592 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4593 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4594 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4595 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4596 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4597 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4598 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4599 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4600 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4601 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4602 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4603 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4604 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4605 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4606 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4607 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4608 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4609 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4610 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4611 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4612 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4613 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4614 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4615 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4616 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4617 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4618 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4619 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4620 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4621 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4622 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4623 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4624 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4625 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4626 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4627 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4628 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4629 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4630 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4631 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4632 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4633 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4634 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4635 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4636 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4637 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4638 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4639 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4640 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4641 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4642 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4643 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4644 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4645 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4646 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4647 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4648 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4649 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4650 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4651 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4652 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4653 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4654 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4655 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4656 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4657 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4658 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4659 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4660 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4661 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4662 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4663 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4664
20f0018d
JM
4665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4666 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4667
b3b099af
JM
4668 [BZ #14914]
4669 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4670 whole low double instead of just low 47 bits when splitting values
4671 into two parts.
4672
029264d1
AM
46732012-12-03 Allan McRae <allan@archlinux.org>
4674
4675 * manual/stdio.texi (Predefined Printf Handlers): Remove
4676 @hsep and @vsep usage.
4677
c9d6789e
MF
46782012-12-03 Mike Frysinger <vapier@gentoo.org>
4679
4680 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4681 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4682
4b7634a5
JL
46832012-12-03 Jeff Law <law@redhat.com>
4684
4685 * time/sys/time.h (settimeofday): Do not mark TV argument
4686 as __nonnull.
4687
eb6cbd24
MF
46882012-12-01 Mike Frysinger <vapier@gentoo.org>
4689
4690 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4691 when currently writing and seek to current position when not.
4692 * libio/Makefile (tests): Remove bug-fclose1.
4693 * libio/bug-fclose1.c: Delete.
4694
f638872a
JM
46952012-12-01 Joseph Myers <joseph@codesourcery.com>
4696
4697 * manual/arith.texi (feenableexcept): Fix typo.
4698 (fedisableexcept): Likewise.
4699
48085d14
RM
47002012-11-30 Roland McGrath <roland@hack.frob.com>
4701
4702 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4703 second, differently-typed declaration, rather than a cast.
4704
1a538b9f
SP
47052012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4706
4707 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4708 * include/rpc/svc.h: ... here.
4709
d07f2ff1 47102012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
4711
4712 [BZ #13013]
4713 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4714 depending n and resplen2 to catch cases where answer
4715 equals answerp2.
4716
c93ec1f0
CD
47172012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4718
4719 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4720 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4721
37db69de
MF
47222012-11-29 Mike Frysinger <vapier@gentoo.org>
4723
4724 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4725
e10c4e4f
RM
47262012-11-29 Roland McGrath <roland@hack.frob.com>
4727
4728 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4729
2af1b328
JL
47302012-11-28 Jeff Law <law@redhat.com>
4731
4732 [BZ #13761]
4733 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4734 dataset_temporary. Track alloca usage into alloca_used.
4735 If dataset is large allocate and release it via malloc/free.
4736
111db5b1
FW
47372012-06-04 Florian Weimer <fweimer@redhat.com>
4738
f06cc227 4739 [BZ #14197]
111db5b1
FW
4740 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4741
dd694abd
DM
47422012-11-28 David S. Miller <davem@davemloft.net>
4743
4744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4745
9984dd01
JM
47462012-11-28 Joseph Myers <joseph@codesourcery.com>
4747
4748 [BZ #14803]
4749 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4750 of pi/2 rounded to nearest to 64 bits.
4751 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4752 nearest to 64 bits.
4753 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4754 bits.
4755
14bc93a9
JL
47562012-11-28 Jeff Law <law@redhat.com>
4757 Martin Osvald <mosvald@redhat.com>
4758
4759 [BZ #14889]
4760 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4761 * sunrpc/svc.c: Include time.h.
4762 (__svc_accept_failed): New function.
4763 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4764 any reason other than EINTR, call __svc_accept_failed.
4765 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4766 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4767
e3c6aa3a
AS
47682012-11-28 Andreas Schwab <schwab@suse.de>
4769
4770 * scripts/abilist.awk: Also handle indirect functions in .opd
4771 section.
4772
1bead169
JM
47732012-11-28 Joseph Myers <joseph@codesourcery.com>
4774
4775 [BZ #13881]
4776 * sysdeps/x86/fpu/powl_helper.c: New file.
4777 * sysdeps/x86/fpu/Makefile: Likewise.
4778 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4779 (p3): New object.
4780 (__ieee754_powl): Use __powl_helper for finite arguments except
4781 integer exponents below 8.
4782 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4783 (p3): New object.
4784 (__ieee754_powl): Use __powl_helper for finite arguments except
4785 integer exponents below 8.
4786 * math/libm-test.inc (pow_test): Add more tests and enable some
4787 previously disabled tests.
4788 * sysdeps/i386/fpu/libm-test-ulps: Update.
4789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4790
0817d63d
SP
47912012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4792 Carlos O'Donell <carlos_odonell@mentor.com>
4793
4794 * nss/makedb.c (is_prime): Assert that input is odd and greater
4795 than 4. Note that fact in a comment too.
4796 (next_prime): Add 4 to input.
4797
de2fd463
SP
47982012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4799
4800 [BZ #11741]
4801 * libio/Makefile (tests): Add test case tst-fwrite-error.
4802 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4803 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4804 * libio/tst-fwrite-error.c: New test case.
4805
c515fb51
L
48062012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4807
4808 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4809 before casting to void *.
4810 * include/libc-internal.h (__pointer_type): New macro.
4811 (__integer_if_pointer_type_sub): Likewise.
4812 (__integer_if_pointer_type): Likewise.
4813 (cast_to_integer): Likewise.
4814 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4815 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4816 before casting to atomic64_t.
4817 (atomic_exchange_acq): Likewise.
4818 (__arch_exchange_and_add_body): Likewise.
4819 (__arch_add_body): Likewise.
4820 (atomic_add_negative): Likewise.
4821 (atomic_add_zero): Likewise.
4822
4cf77aa9
JM
48232012-11-26 Joseph Myers <joseph@codesourcery.com>
4824
4825 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4826 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4827 (add_fdes): Likewise.
4828 (linear_search_fdes): Likewise.
4829 (binary_search_unencoded_fdes): Likewise.
4830
d260b3b4
AS
48312012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4832
4833 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4834
67060746
AC
48352012-11-24 Adam Conrad <adconrad@0c3.net>
4836
4837 * configure.in: Autodetect C++ header directories.
4838 * configure: Regenerated.
4839
800938a1
MF
48402012-11-23 Mike Frysinger <vapier@gentoo.org>
4841
4842 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4843
4e6e34e6
AS
48442012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4845
4846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4847
7c7feb47
JM
48482012-11-22 Joseph Myers <joseph@codesourcery.com>
4849
7184dcdf
JM
4850 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4851 LDBL_MANT_DIG == 106]: Disable some tests.
4852 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4853 Likewise.
4854 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4855 Likewise.
4856
0a42601f
JM
4857 [BZ #14871]
4858 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4859 input for small inputs. Return +/- pi/2 for large inputs.
4860 * math/libm-test.inc (atan_test): Add more tests.
4861
79c9b9fe
JM
4862 * sysdeps/generic/unwind-dw2-fde-glibc.c
4863 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4864 __attribute__ ((unused)).
4865
c60d3bf2
JM
4866 [BZ #14645]
4867 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4868 x * y if x and y are nonzero and z is zero.
4869
ef1e0867
JM
4870 [BZ #14811]
4871 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4872 nonzero exponents with absolute value below 0x1p-117 to +/-
4873 0x1p-117.
4874
1468ded3
JM
4875 [BZ #14869]
4876 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4877 up arguments below 2**-450, not just those below 2**-500.
4878 * math/libm-test.inc (hypot_test): Add another test.
4879
8e27e3cc
JM
4880 [BZ #14868]
4881 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4882 Return a+b for ratio over 2**120, not 2**60.
4883 * math/libm-test.inc (hypot_test): Add another test.
4884
c9c0279b
JM
4885 * math/libm-test.inc (clog_test): Use
4886 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4887 (clog10_test): Likewise.
4888
7c7feb47
JM
4889 [BZ #6778]
4890 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4891
fff1530e
AS
48922012-11-22 Andreas Schwab <schwab@suse.de>
4893
4894 * sysdeps/i386/fpu/libm-test-ulps: Update.
4895
94558d30
PT
48962012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4897
4898 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4899 printf output with newline.
4900
7e1be741
L
49012012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4902
6bfea974
L
4903 [BZ #14865]
4904 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4905 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4906 -z nodlopen, -z initfirst and -z execstack support.
4907 * configure: Regenerated.
4908
7e1be741
L
4909 * elf/elf.h (DF_1_NODIRECT): New macro.
4910 (DF_1_IGNMULDEF): Likewise.
4911 (DF_1_NOKSYMS): Likewise.
4912 (DF_1_NOHDR): Likewise.
4913 (DF_1_EDITED): Likewise.
4914 (DF_1_NORELOC): Likewise.
4915 (DF_1_SYMINTPOSE): Likewise.
4916 (DF_1_GLOBAUDIT): Likewise.
4917 (DF_1_SINGLETON): Likewise.
4918 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4919 DT_1_SUPPORTED_MASK bits.
4920 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4921
105ce2ce
CD
49222012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4923
4924 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4925
123be9de
TS
49262012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4927
d072f3f7
TS
4928 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4929 macro.
4930
123be9de
TS
4931 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4932 (sendmmsg): Move declarations...
4933 * socket/sys/socket.h: ... here.
4934 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4935 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4936 include it from...
4937 * socket/recvmmsg.c: ... this new file.
4938 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4939 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4940 definition of __sendmmsg hidden.
4941 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4942 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4943 Move ENOSYS stub into and include it from...
4944 * socket/sendmmsg.c: ... this new file.
4945 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4946 (sysdep_routines): Move recvmmsg and sendmmsg...
4947 * socket/Makefile (routines): ... here.
4948 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4949 (GLIBC_PRIVATE): Add __sendmmsg.
4950 * include/sys/socket.h (__sendmmsg): Add declarations.
4951 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4952 sendmmsg.
4953
cf9a5d18
JM
49542012-11-20 Joseph Myers <joseph@codesourcery.com>
4955
4956 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4957 variable I1 with __attribute__ ((unused)).
4958 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4959
ecd4caf9
JM
49602012-11-19 Joseph Myers <joseph@codesourcery.com>
4961
be14d48f
JM
4962 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4963 DUMMY variables with __attribute__ ((unused)).
4964
ecd4caf9
JM
4965 * bits/byteswap.h: Include <bits/types.h>.
4966 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4967
986cab95
PT
49682012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4969
4970 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4971 string_t. Do not manually set errno.
4972 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4973 length with __strnlen. Make sure to both set errno and return it on
4974 failure.
4975
6d33cc9d
DM
49762012-11-19 David S. Miller <davem@davemloft.net>
4977
4978 With help from Joseph Myers.
4979 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4980 very large arguments properly.
4981 * math/libm-test.inc (atan_test): New tests.
4982 (atan2_test): New tests.
4983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4984 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4985
ee663277
JM
49862012-11-19 Joseph Myers <joseph@codesourcery.com>
4987
877f2d8e
JM
4988 [BZ #14856]
4989 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
4990 Define to 3.
4991
116fc08a
JM
4992 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
4993 [POSIX] (EADDRNOTAVAIL): Likewise.
4994 [POSIX] (EAFNOSUPPORT): Likewise.
4995 [POSIX] (EALREADY): Likewise.
4996 [POSIX] (ECONNABORTED): Likewise.
4997 [POSIX] (ECONNREFUSED): Likewise.
4998 [POSIX] (ECONNRESET): Likewise.
4999 [POSIX] (EDESTADDRREQ): Likewise.
5000 [POSIX] (EDQUOT): Likewise.
5001 [POSIX] (EHOSTUNREACH): Likewise.
5002 [POSIX] (EIDRM): Likewise.
5003 [POSIX] (EISCONN): Likewise.
5004 [POSIX] (ELOOP): Likewise.
5005 [POSIX] (EMULTIHOP): Likewise.
5006 [POSIX] (ENETDOWN): Likewise.
5007 [POSIX] (ENETUNREACH): Likewise.
5008 [POSIX] (ENOBUFS): Likewise.
5009 [POSIX] (ENODATA): Likewise.
5010 [POSIX] (ENOLINK): Likewise.
5011 [POSIX] (ENOMSG): Likewise.
5012 [POSIX] (ENOPROTOOPT): Likewise.
5013 [POSIX] (ENOSR): Likewise.
5014 [POSIX] (ENOSTR): Likewise.
5015 [POSIX] (ENOTCONN): Likewise.
5016 [POSIX] (ENOTSOCK): Likewise.
5017 [POSIX] (EOPNOTSUPP): Likewise.
5018 [POSIX] (EOVERFLOW): Likewise.
5019 [POSIX] (EPROTO): Likewise.
5020 [POSIX] (EPROTONOSUPPORT): Likewise.
5021 [POSIX] (EPROTOTYPE): Likewise.
5022 [POSIX] (ESTALE): Likewise.
5023 [POSIX] (ETIME): Likewise.
5024 [POSIX] (ETXTBSY): Likewise.
5025 [POSIX] (EWOULDBLOCK): Likewise.
5026 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5027 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5028 [POSIX] (SEEK_CUR): Likewise.
5029 [POSIX] (SEEK_END): Likewise.
5030 [POSIX || UNIX98] (mode_t): Do not require.
5031 [POSIX] (off_t): Likewise.
5032 [POSIX] (pid_t): Likewise.
5033 [POSIX] (sys/stat.h): Do not allow header.
5034 [POSIX] (unistd.h): Likewise.
5035 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5036 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5037 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5038 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5039 require.
5040 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5041 sigevent): Specify elements.
5042 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5043 entry.
5044 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5045 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5046
a483863f
JM
5047 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5048 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5049 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5050 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5051 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5052 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5053 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5054 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5055 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5056 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5057 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5058 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5059 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5060 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5061 Likewise.
5062 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5063 Likewise.
5064 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5065 Likewise.
5066 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5067 Likewise.
5068 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5069 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5070 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5071 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5072 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5073 Specify lower bound on value.
5074 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5075 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5076 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5077 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5078 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5079 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5080 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5081 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5082 value.
5083 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5084 as optional.
5085 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5086 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5087 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5088 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5089 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5090 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5091 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5092 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5093 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5094 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5095 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5096 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5097 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5098 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5099 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5100 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5101 entry.
5102 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5103 optional.
5104 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5105 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5106 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5107 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5108 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5109 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5110 Likewise.
5111 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5112 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5113 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5114 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5115 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5116 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5117 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5118 as optional.
5119 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5120 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5121 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5122 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5123 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5124 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5125 specify as optional.
5126 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5127 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5128 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5129 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5130 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5131 [XPG3] (NL_LANGMAX): Likewise.
5132 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5133 [POSIX || XPG3] (NL_NMAX): Likewise.
5134 [POSIX || XPG3] (NL_SETMAX): Likewise.
5135 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5136 [XPG3] (NZERO): Likewise.
5137 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5138 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5139 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5140 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5141 (REG_ERANGE): Expect.
5142 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5143 optional-constant.
5144 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5145 Use (void) in prototype.
5146 [POSIX] (*_t): Allow.
5147 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5148 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5149 (WRDE_BADVAL): Expect.
5150
5ba924e3
JM
5151 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5152 expect.
5153 [XPG3 || XPG4] (O_RSYNC): Likewise.
5154 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5155 Likewise.
5156 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5157 [XPG3 || XPG4] (sigqueue): Likewise.
5158 [XPG3 || XPG4] (sigtimedwait): Likewise.
5159 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5160 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5161 [XPG3 || XPG4] (vsnprintf): Likewise.
5162 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5163 Likewise.
5164 [XPG3 || XPG4] (blksize_t): Likewise.
5165 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5166 Likewise.
5167 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5168 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5169 [XPG3 || XPG4] (struct itimerspec): Likewise.
5170 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5171 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5172 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5173 [XPG3 || XPG4] (clockid_t): Likewise.
5174 [XPG3 || XPG4] (timer_t): Likewise.
5175 [XPG3 || XPG4] (clock_getres): Likewise.
5176 [XPG3 || XPG4] (clock_gettime): Likewise.
5177 [XPG3 || XPG4] (clock_settime): Likewise.
5178 [XPG3 || XPG4] (nanosleep): Likewise.
5179 [XPG3 || XPG4] (timer_create): Likewise.
5180 [XPG3 || XPG4] (timer_delete): Likewise.
5181 [XPG3 || XPG4] (timer_gettime): Likewise.
5182 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5183 [XPG3 || XPG4] (timer_settime): Likewise.
5184 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5185 [XPG3 || XPG4] (getlogin_r): Likewise.
5186 [XPG3 || XPG4] (pread): Likewise.
5187 [XPG3 || XPG4] (pthread_atfork): Likewise.
5188 [XPG3 || XPG4] (pwrite): Likewise.
5189
ee663277
JM
5190 [BZ #14835]
5191 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5192 <bits/siginfo.h>.
5193
942caa16
PT
51942012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5195
e19af380
PT
5196 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5197 finalizing MALLSTREAM.
5198
942caa16
PT
5199 * sysdeps/mach/hurd/syncfs.c: New file.
5200
cfde9b46
SP
52012012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5202
5203 [BZ #14719]
5204 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5205 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5206 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5207 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5208 (_nss_dns_gethostbyname4_r): Likewise.
5209 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5210 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5211
f6da27e5
PH
52122012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5213
5214 [BZ #13763]
5215 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5216
6665d4a2
SM
52172012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5218
1f51ee92
SM
5219 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5220 * elf/cache.c (print_entry): Print ",AArch64" for
5221 FLAG_AARCH64_LIB64
5222
6665d4a2
SM
5223 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5224 * elf/cache.c (print_entry): Print ",hard-float" for
5225 FLAG_ARM_LIBHF.
5226
05b227bd
DM
52272012-11-18 David S. Miller <davem@davemloft.net>
5228
5229 With help from Joseph Myers.
5230 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5231 cutoff to 2**-13.
5232 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5233 cutoff to 2**-25.
5234 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5235 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5236 small.
5237 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5238 * math/libm-test.inc (y0_test): New tests.
5239 (y1_test): New tests.
5240 * sysdeps/i386/fpu/libm-test-ulps: Update.
5241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5242 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5243
786b0b67
AS
52442012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5245
5246 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5247 64-bit targets.
5248 * configure: Regenerated.
5249
8e18b86d
DM
52502012-11-17 David S. Miller <davem@davemloft.net>
5251
5252 [BZ #14811]
5253 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5254 nonzero exponents with absolute value below 0x1p-128 to +/-
5255 0x1p-128.
5256
531f1ae0
JM
52572012-11-17 Joseph Myers <joseph@codesourcery.com>
5258
12df29e2
JM
5259 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5260
150dc1a0
JM
5261 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5262
531f1ae0
JM
5263 * posix/getconf-speclist.c: New file.
5264 * posix/posix-envs.def: Likewise.
5265 * posix/confstr.c (START_ENV_GROUP): New macro.
5266 (END_ENV_GROUP): Likewise.
5267 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5268 (KNOWN_PRESENT_ENV_STRING): Likewise.
5269 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5270 (UNKNOWN_ENVIRONMENT): Likewise.
5271 (confstr): Include posix-envs.def instead of handling
5272 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5273 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5274 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5275 (END_ENV_GROUP): Likewise.
5276 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5277 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5278 (UNKNOWN_ENVIRONMENT): Likewise.
5279 (__sysconf): Include posix-envs.def instead of handling associated
5280 cases directly here.
5281 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5282 preprocessing getconf-speclist.c rather than running getconf or
5283 generating empty file.
5284
a93f9cbc
PT
52852012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5286
5287 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5288
d64d9f87
AL
52892012-11-16 Andrej Lajovic <natrij@gmail.com>
5290
5291 [BZ #14672]
5292 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5293
447885eb
DM
52942012-11-16 David S. Miller <davem@davemloft.net>
5295
5296 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5297 smaller than LDBL_EPSILON/2.0L, just return xm1.
5298
bcbf9830
L
52992012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5300
5301 * elf/tst-array1.c (init): Set constructor priority to 1000.
5302 (fini): Set destructor priority to 1000.
5303 * elf/tst-array2dep.c: Likewise.
5304
2b766585
SP
53052012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5306
5307 [BZ #11741]
5308 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5309 (_IO_new_file_xsputn): Also return EOF if none of the input
5310 data was written when overflow failed.
5311 * libio/iopadn.c (_IO_padn): Likewise.
5312 * libio/iowpadn.c (_IO_wpadn): Likewise.
5313 * stdio-common/tst-put-error.c: Add copyright notice.
5314 (do_test): Add case for printing padded string.
5315 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5316 _IO_padn returned error.
5317 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5318 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5319 return EOF.
5320
b1848fde
SP
53212012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5322
5323 * libio/libioP.h: Add comment note that the references to C++
5324 bits are now obsolete.
5325
2fd89785
MS
53262012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5327
5328 * math/libm-test.inc (check_complex): Use asprintf.
5329
e3ea5409
JM
53302012-11-14 Joseph Myers <joseph@codesourcery.com>
5331
5332 * debug/pcprofiledump.c (print_version): Update copyright year.
5333 * malloc/memusagestat.c (print_version): Likewise.
5334
2e64d265
L
53352012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5336
5337 [BZ #14831]
5338 * elf/Makefile (tests): Add tst-audit8.
5339 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5340 ($(objpfx)tst-audit8.out): New target.
5341 (tst-audit8-ENV): New variable.
5342 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5343 audit if l_reloc_result is NULL.
5344 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5345 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5346 * elf/tst-audit8.c: New file.
5347
c485e4d2
MS
53482012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5349
5350 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5351 * misc/Makefile (CFLAGS-select.c): Define.
5352 * posix/Makefile (CFLAGS-pause.c): Define.
5353
3a0d900a
DM
53542012-11-13 David S. Miller <davem@davemloft.net>
5355
5356 * crypt/Makefile: Move test targets after toplevel Rules
5357 inclusion. Grab any necessary sysdep routines when linking.
5358 * crypt/md5.c (md5_process_block): Remove define, we will always
5359 name it __md5_process_block.
5360 (md5_finish_ctx): Update md5_process_block call.
5361 (md5_stream): Likewise.
5362 (md5_process_bytes): Likewise.
5363 (md5_process_block): Rename to __md5_process_block and move to ...
5364 * crypt/md5-block.c: ... here.
5365 * crypt/sha256.c (sha256_process_block): Move to ...
5366 * crypt/sha256-block.c: ... here.
5367 * crypt/sha512.c (sha512_process_block): Move to ...
5368 * crypt/sha512-block.c: ... here.
5369 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5370 path.
5371 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5372 * sysdeps/sparc/sparc64/multiarch/Makefile
5373 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5374 crypt subdir.
5375 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5376 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5377 multiarch changes.
5378 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5379 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5380 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5381 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5382 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5383 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5384 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5385 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5386 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5387 file.
5388 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5389 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5390 file.
5391 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5392
8ca89318
JM
53932012-11-13 Joseph Myers <joseph@codesourcery.com>
5394
e27d476a
JM
5395 * timezone/tzselect.ksh: Update from tzcode git revision
5396 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5397 * timezone/zdump.c: Likewise.
5398 * timezone/zic.c: Likewise.
5399 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5400 in TZVERSION setting, not $(PKGVERSION).
5401 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5402 REPORT_BUGS_TO settings.
5403
8ca89318
JM
5404 [BZ #14838]
5405 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5406 macro.
5407
47594329
MS
54082012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5409
5410 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5411 detection to immediately after _FP_ROUND().
5412 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5413 bits are 0.
5414
640ac3f1
DM
54152012-11-11 David S. Miller <davem@davemloft.net>
5416
5417 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5418 inttypes.h
5419 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5420 __close rather than their public counterparts.
5421
3d2577bb
JM
54222012-11-10 Joseph Myers <joseph@codesourcery.com>
5423
5424 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5425 file.
5426 [UNIX98] (sem_timedwait): Do not expect.
5427 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5428 [XPG4 || UNIX98] (sockatmark): Do not expect.
5429 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5430 (clock_getcpuclockid): Do not expect.
5431 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5432 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5433 Do not expect.
5434 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5435 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5436 [UNIX98] (vwscanf): Likewise.
5437 [UNIX98] (vswscanf): Likewise.
5438
fb1ae1ee
JM
54392012-11-09 Joseph Myers <joseph@codesourcery.com>
5440
9ec6f8bd
JM
5441 * timezone/version.h: Remove file.
5442 * timezone/README: Do not refer to version.h.
5443 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5444 $(objpfx)version.h.
5445 ($(objpfx)zdump.o): Likewise.
c3f81911 5446 ($(objpfx)version.h): New target.
9ec6f8bd 5447
0aa8f8a1
JM
5448 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5449 2012i.
5450 * timezone/README: Don't mention modification to tzselect.ksh.
5451 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5452 work on unmodified tzselect.ksh. Substitute version numbers in
5453 tzselect.ksh.
5454
4e87147f
JM
5455 * Makefile (format-me): Remove.
5456 (INSTALL): Adjust indentation. Use commands directly instead of
5457 using $(format-me).
5458
8b748aed
JM
5459 * aclocal.m4 (ACX_PKGVERSION): New macro.
5460 (ACX_BUGURL): Likewise.
5461 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5462 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5463 (REPORT_BUGS_TO): Likewise.
5464 * configure: Regenerated.
5465 * config.h.in (PKGVERSION): New macro.
5466 (REPORT_BUGS_TO): Likewise.
5467 * config.make.in (PKGVERSION): New variable.
5468 (PKGVERSION_TEXI): Likewise.
5469 (REPORT_BUGS_TO): Likewise.
5470 (REPORT_BUGS_TEXI): Likewise.
5471 * Makefile (format-me): Use -I$(common-objpfx)manual.
5472 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5473 ($(common-objpfx)manual/%): New target.
5474 (manual/%): Remove target.
5475 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5476 (print_version): Use PKGVERSION.
5477 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5478 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5479 and REPORT_BUGS_TO.
5480 ($(objpfx)xtrace): Likewise.
5481 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5482 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5483 (print_version): Use PKGVERSION.
5484 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5485 (do_version): Use PKGVERSION.
5486 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5487 REPORT_BUGS_TO.
5488 (common-ldd-rewrite): Likewise.
5489 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5490 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5491 (print_version): Use PKGVERSION.
5492 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5493 * elf/pldd.c (argp_program_bug_address): Remove variable.
5494 (more_help): New function.
5495 (argp): Use more_help.
5496 (print_version): Use PKGVERSION.
5497 * elf/sln.c (main): Use PKGVERSION.
5498 (usage): Use REPORT_BUGS_TO.
5499 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5500 (top level): Use PKGVERSION.
5501 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5502 (print_version): Use PKGVERSION.
5503 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5504 (print_version): Use PKGVERSION.
5505 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5506 (print_version): Use PKGVERSION.
5507 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5508 (print_version): Use PKGVERSION.
5509 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5510 (print_version): Use PKGVERSION.
5511 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5512 (print_version): Use PKGVERSION.
5513 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5514 and BUGURL.
5515 ($(objpfx)memusage): Likewise.
5516 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5517 (do_version): Use PKGVERSION.
5518 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5519 (print_version): Use PKGVERSION.
5520 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5521 ($PKGVERSION): New variable.
5522 ($REPORT_BUGS_TO): Likewise.
5523 (usage): Use $REPORT_BUGS_TO.
5524 (top level): Use $PKGVERSION.
5525 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5526 ($(objpfx)pkgvers.texi): New rule.
5527 ($(objpfx)stamp-pkgvers): Likewise.
5528 * manual/install.texi: Include pkgvers.texi.
5529 (--with-pkgversion): Document new configure option.
5530 (--with-bugurl): Likewise.
5531 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5532 than necessarily for this particular distribution. Use
5533 REPORT_BUGS_TO for where to report bugs.
5534 * INSTALL: Regenerated.
5535 * manual/libc.texinfo: Include pkgvers.texi.
5536 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5537 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5538 (print_version): Use PKGVERSION.
5539 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5540 (print_version): Use PKGVERSION.
5541 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5542 (print_version): Use PKGVERSION.
5543 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5544 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5545 macro.
5546 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5547 (print_version): Use PKGVERSION.
5548 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5549 (print_version): Use PKGVERSION.
5550 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5551 and PKGVERSION.
5552
92e4b6a9
JM
5553 * timezone/checktab.awk: Update from tzcode 2012i.
5554 * timezone/ialloc.c: Likewise.
5555 * timezone/private.h: Likewise.
5556 * timezone/scheck.c: Likewise.
5557 * timezone/tzfile.h: Likewise.
5558 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5559 (TZVERSION): Hardcode tzcode version number.
5560 * timezone/zdump.c: Update from tzcode 2012i.
5561 * timezone/zic.c: Likewise.
5562 * timezone/version.h: New file.
5563 * timezone/README: Describe version.h. Update upstream location.
5564
9bde902c
JM
5565 [BZ #14824]
5566 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5567 (mktemp): Enable declaration.
5568 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5569 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5570 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5571 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5572 Likewise.
5573 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5574 Likewise.
5575 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5576 Likewise.
5577 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5578 Likewise.
5579 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5580 Likewise.
5581 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5582 Likewise.
5583
fb1ae1ee
JM
5584 [BZ #14821]
5585 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5586 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5587 for copies of such integer values.
5588 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5589 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5590
2c1adbcb
AJ
55912012-11-09 Andreas Jaeger <aj@suse.de>
5592
5593 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5594 definitions and declarations that are provided by
5595 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5596
d0f8457e
AK
55972012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5598
3a235abb 5599 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
5600 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5601 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5602 definition.
5603
57241e26
MS
56042012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5605
5606 * elf/elf.h: Update comment before AArch64 relocations.
5607
60e8270d
DM
56082012-11-07 David S. Miller <davem@davemloft.net>
5609
5610 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5611 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5612 (__start_context): Declare.
5613 (__makecontext_ret): Delete.
5614 (__makecontext): Hook up __start_context instead of
5615 __makecontext_ret.
5616 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5617 (sysdep_routines): Add __start_context when in stdlib.
5618
0fbb0fbc
JM
56192012-11-07 Joseph Myers <joseph@codesourcery.com>
5620
5621 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5622 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5623 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5624 hardcoded "nm".
5625 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5626 (READELF): New variable. Use it instead of hardcoded "readelf".
5627
eb48db7e
L
56282012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5629
5630 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5631 * sysdeps/x86/Makefile: Here.
5632 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5633 * sysdeps/x86/tst-xmmymm.sh: This.
5634
05bcf62a
JM
56352012-11-07 Joseph Myers <joseph@codesourcery.com>
5636
c4b6cf53
JM
5637 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5638 expectations.
5639 [UNIX98] (pthread_barrier_t): Do not expect.
5640 [UNIX98] (pthread_barrierattr_t): Likewise.
5641 [UNIX98] (pthread_spinlock_t): Likewise.
5642 [UNIX98] (pthread_barrier_destroy): Likewise.
5643 [UNIX98] (pthread_barrier_init): Likewise.
5644 [UNIX98] (pthread_barrier_wait): Likewise.
5645 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5646 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5647 [UNIX98] (pthread_barrierattr_init): Likewise.
5648 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5649 [UNIX98] (pthread_getcpuclockid): Likewise.
5650 [UNIX98] (pthread_mutex_timedlock): Likewise.
5651 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5652 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5653 [UNIX98] (pthread_sigmask): Likewise.
5654 [UNIX98] (pthread_spin_destroy): Likewise.
5655 [UNIX98] (pthread_spin_init): Likewise.
5656 [UNIX98] (pthread_spin_lock): Likewise.
5657 [UNIX98] (pthread_spin_trylock): Likewise.
5658 [UNIX98] (pthread_spin_unlock): Likewise.
5659 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5660 Do not expect.
5661 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5662 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5663 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5664 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5665 [XPG3 || XPG4] (pthread_key_t): Likewise.
5666 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5667 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5668 [XPG3 || XPG4] (pthread_once_t): Likewise.
5669 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5670 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5671 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5672 [XPG3 || XPG4] (pthread_t): Likewise.
5673
cbe6e120
JM
5674 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5675 not expect.
5676 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5677
1b126443
JM
5678 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5679 Change function return type to int.
5680
b961a573
JM
5681 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5682 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5683 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5684 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5685 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5686 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5687 [!POSIX] (posix_madvise): Likewise.
5688 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5689 && !UNIX98].
5690 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5691 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5692 (mode_t): Likewise.
5693 (posix_mem_offset): Likewise.
5694 (posix_typed_mem_get_info): Likewise.
5695 (posix_typed_mem_open): Likewise.
5696
9e188909
JM
5697 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5698 Change condition to [XOPEN2K8].
5699
05bcf62a
JM
5700 * conform/conformtest.pl: Preprocess allow-header data with -x c
5701 instead of from stdin.
5702 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5703 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5704 [C99-based standards] (cerfc): Likewise.
5705 [C99-based standards] (cexp2): Likewise.
5706 [C99-based standards] (cexpm1): Likewise.
5707 [C99-based standards] (clog10): Likewise.
5708 [C99-based standards] (clog1p): Likewise.
5709 [C99-based standards] (clog2): Likewise.
5710 [C99-based standards] (clgamma): Likewise.
5711 [C99-based standards] (ctgamma): Likewise.
5712 [C99-based standards] (cerff): Likewise.
5713 [C99-based standards] (cerfcf): Likewise.
5714 [C99-based standards] (cexp2f): Likewise.
5715 [C99-based standards] (cexpm1f): Likewise.
5716 [C99-based standards] (clog10f): Likewise.
5717 [C99-based standards] (clog1pf): Likewise.
5718 [C99-based standards] (clog2f): Likewise.
5719 [C99-based standards] (clgammaf): Likewise.
5720 [C99-based standards] (ctgammaf): Likewise.
5721 [C99-based standards] (cerfl): Likewise.
5722 [C99-based standards] (cerfcl): Likewise.
5723 [C99-based standards] (cexp2l): Likewise.
5724 [C99-based standards] (cexpm1l): Likewise.
5725 [C99-based standards] (clog10l): Likewise.
5726 [C99-based standards] (clog1pl): Likewise.
5727 [C99-based standards] (clog2l): Likewise.
5728 [C99-based standards] (clgammal): Likewise.
5729 [C99-based standards] (ctgammal): Likewise.
5730 * conform/data/inttypes.h-data [C99-based standards]: Include
5731 stdint.h-data. Remove all expectations for stdint.h contents.
5732 [C99-based standards] (PRI*): Do not allow.
5733 [C99-based standards] (SCN*): Likewise.
5734 [C99-based standards] (*_t): Likewise.
5735 [C99-based-standards] (PRId8): Expect macro.
5736 [C99-based-standards] (PRIi8): Likewise.
5737 [C99-based-standards] (PRIo8): Likewise.
5738 [C99-based-standards] (PRIu8): Likewise.
5739 [C99-based-standards] (PRIx8): Likewise.
5740 [C99-based-standards] (PRIX8): Likewise.
5741 [C99-based-standards] (SCNd8): Likewise.
5742 [C99-based-standards] (SCNi8): Likewise.
5743 [C99-based-standards] (SCNo8): Likewise.
5744 [C99-based-standards] (SCNu8): Likewise.
5745 [C99-based-standards] (SCNx8): Likewise.
5746 [C99-based-standards] (PRIdLEAST8): Likewise.
5747 [C99-based-standards] (PRIiLEAST8): Likewise.
5748 [C99-based-standards] (PRIoLEAST8): Likewise.
5749 [C99-based-standards] (PRIuLEAST8): Likewise.
5750 [C99-based-standards] (PRIxLEAST8): Likewise.
5751 [C99-based-standards] (PRIXLEAST8): Likewise.
5752 [C99-based-standards] (SCNdLEAST8): Likewise.
5753 [C99-based-standards] (SCNiLEAST8): Likewise.
5754 [C99-based-standards] (SCNoLEAST8): Likewise.
5755 [C99-based-standards] (SCNuLEAST8): Likewise.
5756 [C99-based-standards] (SCNxLEAST8): Likewise.
5757 [C99-based-standards] (PRIdFAST8): Likewise.
5758 [C99-based-standards] (PRIiFAST8): Likewise.
5759 [C99-based-standards] (PRIoFAST8): Likewise.
5760 [C99-based-standards] (PRIuFAST8): Likewise.
5761 [C99-based-standards] (PRIxFAST8): Likewise.
5762 [C99-based-standards] (PRIXFAST8): Likewise.
5763 [C99-based-standards] (SCNdFAST8): Likewise.
5764 [C99-based-standards] (SCNiFAST8): Likewise.
5765 [C99-based-standards] (SCNoFAST8): Likewise.
5766 [C99-based-standards] (SCNuFAST8): Likewise.
5767 [C99-based-standards] (SCNxFAST8): Likewise.
5768 [C99-based-standards] (PRId16): Likewise.
5769 [C99-based-standards] (PRIi16): Likewise.
5770 [C99-based-standards] (PRIo16): Likewise.
5771 [C99-based-standards] (PRIu16): Likewise.
5772 [C99-based-standards] (PRIx16): Likewise.
5773 [C99-based-standards] (PRIX16): Likewise.
5774 [C99-based-standards] (SCNd16): Likewise.
5775 [C99-based-standards] (SCNi16): Likewise.
5776 [C99-based-standards] (SCNo16): Likewise.
5777 [C99-based-standards] (SCNu16): Likewise.
5778 [C99-based-standards] (SCNx16): Likewise.
5779 [C99-based-standards] (PRIdLEAST16): Likewise.
5780 [C99-based-standards] (PRIiLEAST16): Likewise.
5781 [C99-based-standards] (PRIoLEAST16): Likewise.
5782 [C99-based-standards] (PRIuLEAST16): Likewise.
5783 [C99-based-standards] (PRIxLEAST16): Likewise.
5784 [C99-based-standards] (PRIXLEAST16): Likewise.
5785 [C99-based-standards] (SCNdLEAST16): Likewise.
5786 [C99-based-standards] (SCNiLEAST16): Likewise.
5787 [C99-based-standards] (SCNoLEAST16): Likewise.
5788 [C99-based-standards] (SCNuLEAST16): Likewise.
5789 [C99-based-standards] (SCNxLEAST16): Likewise.
5790 [C99-based-standards] (PRIdFAST16): Likewise.
5791 [C99-based-standards] (PRIiFAST16): Likewise.
5792 [C99-based-standards] (PRIoFAST16): Likewise.
5793 [C99-based-standards] (PRIuFAST16): Likewise.
5794 [C99-based-standards] (PRIxFAST16): Likewise.
5795 [C99-based-standards] (PRIXFAST16): Likewise.
5796 [C99-based-standards] (SCNdFAST16): Likewise.
5797 [C99-based-standards] (SCNiFAST16): Likewise.
5798 [C99-based-standards] (SCNoFAST16): Likewise.
5799 [C99-based-standards] (SCNuFAST16): Likewise.
5800 [C99-based-standards] (SCNxFAST16): Likewise.
5801 [C99-based-standards] (PRId32): Likewise.
5802 [C99-based-standards] (PRIi32): Likewise.
5803 [C99-based-standards] (PRIo32): Likewise.
5804 [C99-based-standards] (PRIu32): Likewise.
5805 [C99-based-standards] (PRIx32): Likewise.
5806 [C99-based-standards] (PRIX32): Likewise.
5807 [C99-based-standards] (SCNd32): Likewise.
5808 [C99-based-standards] (SCNi32): Likewise.
5809 [C99-based-standards] (SCNo32): Likewise.
5810 [C99-based-standards] (SCNu32): Likewise.
5811 [C99-based-standards] (SCNx32): Likewise.
5812 [C99-based-standards] (PRIdLEAST32): Likewise.
5813 [C99-based-standards] (PRIiLEAST32): Likewise.
5814 [C99-based-standards] (PRIoLEAST32): Likewise.
5815 [C99-based-standards] (PRIuLEAST32): Likewise.
5816 [C99-based-standards] (PRIxLEAST32): Likewise.
5817 [C99-based-standards] (PRIXLEAST32): Likewise.
5818 [C99-based-standards] (SCNdLEAST32): Likewise.
5819 [C99-based-standards] (SCNiLEAST32): Likewise.
5820 [C99-based-standards] (SCNoLEAST32): Likewise.
5821 [C99-based-standards] (SCNuLEAST32): Likewise.
5822 [C99-based-standards] (SCNxLEAST32): Likewise.
5823 [C99-based-standards] (PRIdFAST32): Likewise.
5824 [C99-based-standards] (PRIiFAST32): Likewise.
5825 [C99-based-standards] (PRIoFAST32): Likewise.
5826 [C99-based-standards] (PRIuFAST32): Likewise.
5827 [C99-based-standards] (PRIxFAST32): Likewise.
5828 [C99-based-standards] (PRIXFAST32): Likewise.
5829 [C99-based-standards] (SCNdFAST32): Likewise.
5830 [C99-based-standards] (SCNiFAST32): Likewise.
5831 [C99-based-standards] (SCNoFAST32): Likewise.
5832 [C99-based-standards] (SCNuFAST32): Likewise.
5833 [C99-based-standards] (SCNxFAST32): Likewise.
5834 [C99-based-standards] (PRId64): Likewise.
5835 [C99-based-standards] (PRIi64): Likewise.
5836 [C99-based-standards] (PRIo64): Likewise.
5837 [C99-based-standards] (PRIu64): Likewise.
5838 [C99-based-standards] (PRIx64): Likewise.
5839 [C99-based-standards] (PRIX64): Likewise.
5840 [C99-based-standards] (SCNd64): Likewise.
5841 [C99-based-standards] (SCNi64): Likewise.
5842 [C99-based-standards] (SCNo64): Likewise.
5843 [C99-based-standards] (SCNu64): Likewise.
5844 [C99-based-standards] (SCNx64): Likewise.
5845 [C99-based-standards] (PRIdLEAST64): Likewise.
5846 [C99-based-standards] (PRIiLEAST64): Likewise.
5847 [C99-based-standards] (PRIoLEAST64): Likewise.
5848 [C99-based-standards] (PRIuLEAST64): Likewise.
5849 [C99-based-standards] (PRIxLEAST64): Likewise.
5850 [C99-based-standards] (PRIXLEAST64): Likewise.
5851 [C99-based-standards] (SCNdLEAST64): Likewise.
5852 [C99-based-standards] (SCNiLEAST64): Likewise.
5853 [C99-based-standards] (SCNoLEAST64): Likewise.
5854 [C99-based-standards] (SCNuLEAST64): Likewise.
5855 [C99-based-standards] (SCNxLEAST64): Likewise.
5856 [C99-based-standards] (PRIdFAST64): Likewise.
5857 [C99-based-standards] (PRIiFAST64): Likewise.
5858 [C99-based-standards] (PRIoFAST64): Likewise.
5859 [C99-based-standards] (PRIuFAST64): Likewise.
5860 [C99-based-standards] (PRIxFAST64): Likewise.
5861 [C99-based-standards] (PRIXFAST64): Likewise.
5862 [C99-based-standards] (SCNdFAST64): Likewise.
5863 [C99-based-standards] (SCNiFAST64): Likewise.
5864 [C99-based-standards] (SCNoFAST64): Likewise.
5865 [C99-based-standards] (SCNuFAST64): Likewise.
5866 [C99-based-standards] (SCNxFAST64): Likewise.
5867 [C99-based-standards] (PRIdMAX): Likewise.
5868 [C99-based-standards] (PRIiMAX): Likewise.
5869 [C99-based-standards] (PRIoMAX): Likewise.
5870 [C99-based-standards] (PRIuMAX): Likewise.
5871 [C99-based-standards] (PRIxMAX): Likewise.
5872 [C99-based-standards] (PRIXMAX): Likewise.
5873 [C99-based-standards] (SCNdMAX): Likewise.
5874 [C99-based-standards] (SCNiMAX): Likewise.
5875 [C99-based-standards] (SCNoMAX): Likewise.
5876 [C99-based-standards] (SCNuMAX): Likewise.
5877 [C99-based-standards] (SCNxMAX): Likewise.
5878 [C99-based-standards] (PRIdPTR): Likewise.
5879 [C99-based-standards] (PRIiPTR): Likewise.
5880 [C99-based-standards] (PRIoPTR): Likewise.
5881 [C99-based-standards] (PRIuPTR): Likewise.
5882 [C99-based-standards] (PRIxPTR): Likewise.
5883 [C99-based-standards] (PRIXPTR): Likewise.
5884 [C99-based-standards] (SCNdPTR): Likewise.
5885 [C99-based-standards] (SCNiPTR): Likewise.
5886 [C99-based-standards] (SCNoPTR): Likewise.
5887 [C99-based-standards] (SCNuPTR): Likewise.
5888 [C99-based-standards] (SCNxPTR): Likewise.
5889 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5890 allow.
5891 * conform/data/stdint.h-data: Update comments to clarify
5892 requirements.
5893 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5894 type.
5895 [C99-based standards] (INT8_MAX): Likewise.
5896 [C99-based standards] (INT16_MIN): Likewise.
5897 [C99-based standards] (INT16_MAX): Likewise.
5898 [C99-based standards] (INT32_MIN): Likewise.
5899 [C99-based standards] (INT32_MAX): Likewise.
5900 [C99-based standards] (INT64_MIN): Likewise.
5901 [C99-based standards] (INT64_MAX): Likewise.
5902 [C99-based standards] (UINT8_MAX): Likewise.
5903 [C99-based standards] (UINT16_MAX): Likewise.
5904 [C99-based standards] (UINT32_MAX): Likewise.
5905 [C99-based standards] (UINT64_MAX): Likewise.
5906 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5907 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5908 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5909 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5910 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5911 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5912 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5913 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5914 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5915 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5916 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5917 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5918 [C99-based standards] (INT_FAST8_MIN): Likewise.
5919 [C99-based standards] (INT_FAST8_MAX): Likewise.
5920 [C99-based standards] (INT_FAST16_MIN): Likewise.
5921 [C99-based standards] (INT_FAST16_MAX): Likewise.
5922 [C99-based standards] (INT_FAST32_MIN): Likewise.
5923 [C99-based standards] (INT_FAST32_MAX): Likewise.
5924 [C99-based standards] (INT_FAST64_MIN): Likewise.
5925 [C99-based standards] (INT_FAST64_MAX): Likewise.
5926 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5927 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5928 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5929 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5930 [C99-based standards] (INTPTR_MIN): Likewise.
5931 [C99-based standards] (INTPTR_MAX): Likewise.
5932 [C99-based standards] (UINTPTR_MAX): Likewise.
5933 [C99-based standards] (INTMAX_MIN): Likewise.
5934 [C99-based standards] (INTMAX_MAX): Likewise.
5935 [C99-based standards] (UINTMAX_MAX): Likewise.
5936 [C99-based standards] (PTRDIFF_MIN): Likewise.
5937 [C99-based standards] (PTRDIFF_MAX): Likewise.
5938 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5939 [C99-based standards] (SIZE_MAX): Likewise.
5940 [C99-based standards] (WCHAR_MAX): Likewise.
5941 [C99-based standards] (WINT_MAX): Likewise.
5942 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5943 constraint on value.
5944 [C99-based standards] (WCHAR_MIN): Likewise.
5945 [C99-based standards] (WINT_MIN): Likewise.
5946 [C99-based standards] (*_t): Allow.
5947 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5948 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5949 Include math.h-data and complex.h-data. Remove all expectations
5950 of math.h and complex.h contents.
5951 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5952 at end of line.
5953 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5954 (struct tm): Expect tag.
5955 [C99-based-standards] (wcstof): Expect function.
5956 [C99-based-standards] (wcstold): Likewise.
5957 [C99-based-standards] (wcstoll): Likewise.
5958 [C99-based-standards] (wcstoull): Likewise.
5959 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5960 macro-int-constant. Specify type.
5961 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5962 constraint on value.
5963 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5964 Specify type.
5965 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5966 Specify value.
5967 [ISO C standards]: Do not allow headers.
5968 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5969 wcs[abcdefghijklmnopqrstuvwxyz]*.
5970 [ISO C standards] (*_t): Do not allow.
5971 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5972 Expect function.
5973 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5974 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5975 Specify type.
5976 [ISO C standards]: Do not allow headers.
5977 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5978 is[abcdefghijklmnopqrstuvwxyz]*.
5979 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5980 to[abcdefghijklmnopqrstuvwxyz]*.
5981 [ISO C standards] (*_t): Do not allow.
5982 * conform/data/stdalign.h-data: New file.
5983 * conform/data/stdbool.h-data: Likewise.
5984 * conform/data/stdnoreturn.h-data: Likewise.
5985
7514feb8
RM
59862012-11-07 Roland McGrath <roland@hack.frob.com>
5987
5988 [BZ #14815]
5989 * manual/filesys.texi (Directory Entries): Typo fix.
5990 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
5991
19b2ecfc
MS
59922012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5993
5994 * elf/elf.h (EM_AARCH64): New macro.
5995 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
5996 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
5997 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
5998 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
5999 (R_AARCH64_TLSDESC): Likewise.
6000 (NT_ARM_TLS): Likewise.
6001 (NT_ARM_HW_BREAK): Likewise.
6002 (NT_ARM_HW_WATCH): Likewise.
6003
60e235ee
JM
60042012-11-07 Joseph Myers <joseph@codesourcery.com>
6005
6006 [BZ #14811]
6007 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6008 (__ieee754_powl): Saturate nonzero exponents with absolute value
6009 below 0x1p-79 to +/- 0x1p-79.
6010 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6011 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6012 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6013 nonzero exponents with absolute value below 0x1p-32 to +/-
6014 0x1p-32.
6015 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6016 (__ieee754_powl): Saturate nonzero exponents with absolute value
6017 below 0x1p-79 to +/- 0x1p-79.
6018 * math/libm-test.inc (pow_test): Add more tests.
6019
0ab234b7
AK
60202012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6021
6022 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6023 _dl_s390_cap_flags with kernel. Increase string length.
6024 (_dl_s390_platforms): Add z196 and zEC12.
6025
45832f74
JM
60262012-11-07 Joseph Myers <joseph@codesourcery.com>
6027
6028 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6029 Change XOPEN21K to XOPEN2K.
6030
19218757
MK
60312012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6032
6033 * string/memmove.c: Use memcpy when possible.
6034
c5f45721
AJ
60352012-11-06 Andreas Jaeger <aj@suse.de>
6036
6037 * po/eo.po: Update from translation team.
6038
82477c28
JM
60392012-11-06 Joseph Myers <joseph@codesourcery.com>
6040
6041 [BZ #14793]
6042 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6043 exponent and small x and y exponents, scale x or y up. Increase
6044 by 2 the exponent used in scaling up.
6045 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6046 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6047 * math/libm-test.inc (fma_test): Add more tests.
6048 (fma_test_towardzero): Likewise.
6049 (fma_test_downward): Likewise.
6050 (fma_test_upward): Likewise.
6051
99252c8c
JM
60522012-11-05 Joseph Myers <joseph@codesourcery.com>
6053
acfa885f
JM
6054 [BZ #14805]
6055 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6056 fenv_t *.
6057
99252c8c
JM
6058 [BZ #14801]
6059 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6060 namespace for names of struct fields.
6061 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6062 fenv_t fields.
6063 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6064 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6065
d6d98dea
ST
60662012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6067
6068 [BZ #3665]
6069 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6070
e10bb107
TS
60712012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6072
6073 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6074 PTR_DEMANGLE.
6075
6076 [BZ #5246]
6077 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6078 PTR_DEMANGLE.
6079
a0c2940d
JM
60802012-11-04 Joseph Myers <joseph@codesourcery.com>
6081
6082 [BZ #14797]
6083 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6084 definitely overflow as x * y not x * y + z.
6085 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6086 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6087 * math/libm-test.inc (fma_test): Add more tests.
6088 (fma_test_towardzero): Likewise.
6089 (fma_test_downward): Likewise.
6090 (fma_test_upward): Likewise.
6091
b830319d
TS
60922012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6093
6094 [BZ #157]
6095
6096 * include/stub-tag.h: Remove file.
6097 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6098 '#include' of it.
6099 * manual/maint.texi (Porting): Don't reference it.
6100 * Makerules ($(objpfx)stubs): Likewise.
6101 * dirent/closedir.c: Don't include <stub-tag.h>.
6102 * dirent/dirfd.c: Likewise.
6103 * dirent/fdopendir.c: Likewise.
6104 * dirent/getdents.c: Likewise.
6105 * dirent/getdents64.c: Likewise.
6106 * dirent/opendir.c: Likewise.
6107 * dirent/readdir.c: Likewise.
6108 * dirent/readdir64.c: Likewise.
6109 * dirent/readdir64_r.c: Likewise.
6110 * dirent/readdir_r.c: Likewise.
6111 * dirent/rewinddir.c: Likewise.
6112 * dirent/seekdir.c: Likewise.
6113 * dirent/telldir.c: Likewise.
6114 * gmon/profil.c: Likewise.
6115 * grp/setgroups.c: Likewise.
6116 * inet/if_index.c: Likewise.
6117 * io/access.c: Likewise.
6118 * io/chdir.c: Likewise.
6119 * io/chmod.c: Likewise.
6120 * io/chown.c: Likewise.
6121 * io/close.c: Likewise.
6122 * io/dup.c: Likewise.
6123 * io/dup2.c: Likewise.
6124 * io/dup3.c: Likewise.
6125 * io/euidaccess.c: Likewise.
6126 * io/faccessat.c: Likewise.
6127 * io/fchdir.c: Likewise.
6128 * io/fchmod.c: Likewise.
6129 * io/fchmodat.c: Likewise.
6130 * io/fchown.c: Likewise.
6131 * io/fchownat.c: Likewise.
6132 * io/fcntl.c: Likewise.
6133 * io/flock.c: Likewise.
6134 * io/fstatfs.c: Likewise.
6135 * io/fstatfs64.c: Likewise.
6136 * io/fstatvfs.c: Likewise.
6137 * io/fstatvfs64.c: Likewise.
6138 * io/futimens.c: Likewise.
6139 * io/fxstat.c: Likewise.
6140 * io/fxstat64.c: Likewise.
6141 * io/fxstatat.c: Likewise.
6142 * io/fxstatat64.c: Likewise.
6143 * io/getcwd.c: Likewise.
6144 * io/isatty.c: Likewise.
6145 * io/lchmod.c: Likewise.
6146 * io/lchown.c: Likewise.
6147 * io/link.c: Likewise.
6148 * io/linkat.c: Likewise.
6149 * io/lseek.c: Likewise.
6150 * io/lseek64.c: Likewise.
6151 * io/lxstat64.c: Likewise.
6152 * io/mkdir.c: Likewise.
6153 * io/mkdirat.c: Likewise.
6154 * io/mkfifo.c: Likewise.
6155 * io/mkfifoat.c: Likewise.
6156 * io/open.c: Likewise.
6157 * io/open64.c: Likewise.
6158 * io/openat.c: Likewise.
6159 * io/openat64.c: Likewise.
6160 * io/pipe.c: Likewise.
6161 * io/pipe2.c: Likewise.
6162 * io/poll.c: Likewise.
6163 * io/posix_fadvise.c: Likewise.
6164 * io/posix_fadvise64.c: Likewise.
6165 * io/posix_fallocate.c: Likewise.
6166 * io/posix_fallocate64.c: Likewise.
6167 * io/read.c: Likewise.
6168 * io/readlink.c: Likewise.
6169 * io/readlinkat.c: Likewise.
6170 * io/rmdir.c: Likewise.
6171 * io/sendfile.c: Likewise.
6172 * io/sendfile64.c: Likewise.
6173 * io/statfs.c: Likewise.
6174 * io/statfs64.c: Likewise.
6175 * io/statvfs.c: Likewise.
6176 * io/statvfs64.c: Likewise.
6177 * io/symlink.c: Likewise.
6178 * io/symlinkat.c: Likewise.
6179 * io/ttyname.c: Likewise.
6180 * io/ttyname_r.c: Likewise.
6181 * io/umask.c: Likewise.
6182 * io/unlink.c: Likewise.
6183 * io/unlinkat.c: Likewise.
6184 * io/utime.c: Likewise.
6185 * io/utimensat.c: Likewise.
6186 * io/write.c: Likewise.
6187 * io/xmknod.c: Likewise.
6188 * io/xmknodat.c: Likewise.
6189 * io/xstat.c: Likewise.
6190 * io/xstat64.c: Likewise.
6191 * login/getpt.c: Likewise.
6192 * login/grantpt.c: Likewise.
6193 * login/unlockpt.c: Likewise.
6194 * math/e_acoshl.c: Likewise.
6195 * math/e_acosl.c: Likewise.
6196 * math/e_asinl.c: Likewise.
6197 * math/e_atan2l.c: Likewise.
6198 * math/e_atanhl.c: Likewise.
6199 * math/e_coshl.c: Likewise.
6200 * math/e_expl.c: Likewise.
6201 * math/e_fmodl.c: Likewise.
6202 * math/e_gammal_r.c: Likewise.
6203 * math/e_hypotl.c: Likewise.
6204 * math/e_j0l.c: Likewise.
6205 * math/e_j1l.c: Likewise.
6206 * math/e_jnl.c: Likewise.
6207 * math/e_lgammal_r.c: Likewise.
6208 * math/e_log10l.c: Likewise.
6209 * math/e_log2l.c: Likewise.
6210 * math/e_logl.c: Likewise.
6211 * math/e_powl.c: Likewise.
6212 * math/e_rem_pio2l.c: Likewise.
6213 * math/e_sinhl.c: Likewise.
6214 * math/e_sqrtl.c: Likewise.
6215 * math/fclrexcpt.c: Likewise.
6216 * math/fedisblxcpt.c: Likewise.
6217 * math/feenablxcpt.c: Likewise.
6218 * math/fegetenv.c: Likewise.
6219 * math/fegetexcept.c: Likewise.
6220 * math/fegetround.c: Likewise.
6221 * math/feholdexcpt.c: Likewise.
6222 * math/fesetenv.c: Likewise.
6223 * math/fesetround.c: Likewise.
6224 * math/feupdateenv.c: Likewise.
6225 * math/fgetexcptflg.c: Likewise.
6226 * math/fraiseexcpt.c: Likewise.
6227 * math/fsetexcptflg.c: Likewise.
6228 * math/ftestexcept.c: Likewise.
6229 * math/k_cosl.c: Likewise.
6230 * math/k_rem_pio2l.c: Likewise.
6231 * math/k_sinl.c: Likewise.
6232 * math/k_tanl.c: Likewise.
6233 * math/s_asinhl.c: Likewise.
6234 * math/s_atanl.c: Likewise.
6235 * math/s_cbrtl.c: Likewise.
6236 * math/s_erfl.c: Likewise.
6237 * math/s_expm1l.c: Likewise.
6238 * math/s_log1pl.c: Likewise.
6239 * math/s_tanhl.c: Likewise.
6240 * misc/acct.c: Likewise.
6241 * misc/brk.c: Likewise.
6242 * misc/chflags.c: Likewise.
6243 * misc/chroot.c: Likewise.
6244 * misc/fchflags.c: Likewise.
6245 * misc/fgetxattr.c: Likewise.
6246 * misc/flistxattr.c: Likewise.
6247 * misc/fremovexattr.c: Likewise.
6248 * misc/fsetxattr.c: Likewise.
6249 * misc/fsync.c: Likewise.
6250 * misc/ftruncate.c: Likewise.
6251 * misc/futimes.c: Likewise.
6252 * misc/futimesat.c: Likewise.
6253 * misc/getdomain.c: Likewise.
6254 * misc/getdtsz.c: Likewise.
6255 * misc/gethostid.c: Likewise.
6256 * misc/gethostname.c: Likewise.
6257 * misc/getloadavg.c: Likewise.
6258 * misc/getpagesize.c: Likewise.
6259 * misc/getsysstats.c: Likewise.
6260 * misc/getxattr.c: Likewise.
6261 * misc/gtty.c: Likewise.
6262 * misc/ioctl.c: Likewise.
6263 * misc/lgetxattr.c: Likewise.
6264 * misc/listxattr.c: Likewise.
6265 * misc/llistxattr.c: Likewise.
6266 * misc/lremovexattr.c: Likewise.
6267 * misc/lsetxattr.c: Likewise.
6268 * misc/lutimes.c: Likewise.
6269 * misc/madvise.c: Likewise.
6270 * misc/mincore.c: Likewise.
6271 * misc/mlock.c: Likewise.
6272 * misc/mlockall.c: Likewise.
6273 * misc/mmap.c: Likewise.
6274 * misc/mprotect.c: Likewise.
6275 * misc/msync.c: Likewise.
6276 * misc/munlock.c: Likewise.
6277 * misc/munlockall.c: Likewise.
6278 * misc/munmap.c: Likewise.
6279 * misc/preadv.c: Likewise.
6280 * misc/preadv64.c: Likewise.
6281 * misc/ptrace.c: Likewise.
6282 * misc/pwritev.c: Likewise.
6283 * misc/pwritev64.c: Likewise.
6284 * misc/readv.c: Likewise.
6285 * misc/reboot.c: Likewise.
6286 * misc/remap_file_pages.c: Likewise.
6287 * misc/removexattr.c: Likewise.
6288 * misc/revoke.c: Likewise.
6289 * misc/select.c: Likewise.
6290 * misc/setdomain.c: Likewise.
6291 * misc/setegid.c: Likewise.
6292 * misc/seteuid.c: Likewise.
6293 * misc/sethostid.c: Likewise.
6294 * misc/sethostname.c: Likewise.
6295 * misc/setregid.c: Likewise.
6296 * misc/setreuid.c: Likewise.
6297 * misc/setxattr.c: Likewise.
6298 * misc/sstk.c: Likewise.
6299 * misc/stty.c: Likewise.
6300 * misc/swapoff.c: Likewise.
6301 * misc/swapon.c: Likewise.
6302 * misc/sync.c: Likewise.
6303 * misc/syncfs.c: Likewise.
6304 * misc/syscall.c: Likewise.
6305 * misc/truncate.c: Likewise.
6306 * misc/ualarm.c: Likewise.
6307 * misc/usleep.c: Likewise.
6308 * misc/ustat.c: Likewise.
6309 * misc/utimes.c: Likewise.
6310 * misc/vhangup.c: Likewise.
6311 * misc/writev.c: Likewise.
6312 * posix/_exit.c: Likewise.
6313 * posix/alarm.c: Likewise.
6314 * posix/execve.c: Likewise.
6315 * posix/fexecve.c: Likewise.
6316 * posix/fork.c: Likewise.
6317 * posix/fpathconf.c: Likewise.
6318 * posix/getaddrinfo.c: Likewise.
6319 * posix/getegid.c: Likewise.
6320 * posix/geteuid.c: Likewise.
6321 * posix/getgid.c: Likewise.
6322 * posix/getgroups.c: Likewise.
6323 * posix/getlogin.c: Likewise.
6324 * posix/getlogin_r.c: Likewise.
6325 * posix/getpgid.c: Likewise.
6326 * posix/getpid.c: Likewise.
6327 * posix/getppid.c: Likewise.
6328 * posix/getresgid.c: Likewise.
6329 * posix/getresuid.c: Likewise.
6330 * posix/getsid.c: Likewise.
6331 * posix/getuid.c: Likewise.
6332 * posix/glob64.c: Likewise.
6333 * posix/nanosleep.c: Likewise.
6334 * posix/pathconf.c: Likewise.
6335 * posix/pause.c: Likewise.
6336 * posix/posix_madvise.c: Likewise.
6337 * posix/pread.c: Likewise.
6338 * posix/pread64.c: Likewise.
6339 * posix/pwrite.c: Likewise.
6340 * posix/pwrite64.c: Likewise.
6341 * posix/sched_getaffinity.c: Likewise.
6342 * posix/sched_getp.c: Likewise.
6343 * posix/sched_gets.c: Likewise.
6344 * posix/sched_primax.c: Likewise.
6345 * posix/sched_primin.c: Likewise.
6346 * posix/sched_rr_gi.c: Likewise.
6347 * posix/sched_setaffinity.c: Likewise.
6348 * posix/sched_setp.c: Likewise.
6349 * posix/sched_sets.c: Likewise.
6350 * posix/sched_yield.c: Likewise.
6351 * posix/setgid.c: Likewise.
6352 * posix/setlogin.c: Likewise.
6353 * posix/setpgid.c: Likewise.
6354 * posix/setresgid.c: Likewise.
6355 * posix/setresuid.c: Likewise.
6356 * posix/setsid.c: Likewise.
6357 * posix/setuid.c: Likewise.
6358 * posix/sleep.c: Likewise.
6359 * posix/spawni.c: Likewise.
6360 * posix/sysconf.c: Likewise.
6361 * posix/times.c: Likewise.
6362 * posix/wait.c: Likewise.
6363 * posix/wait3.c: Likewise.
6364 * posix/wait4.c: Likewise.
6365 * posix/waitpid.c: Likewise.
6366 * resolv/gai_sigqueue.c: Likewise.
6367 * resource/getpriority.c: Likewise.
6368 * resource/getrlimit.c: Likewise.
6369 * resource/getrusage.c: Likewise.
6370 * resource/nice.c: Likewise.
6371 * resource/setpriority.c: Likewise.
6372 * resource/setrlimit.c: Likewise.
6373 * resource/ulimit.c: Likewise.
6374 * rt/aio_cancel.c: Likewise.
6375 * rt/aio_fsync.c: Likewise.
6376 * rt/aio_read.c: Likewise.
6377 * rt/aio_sigqueue.c: Likewise.
6378 * rt/aio_suspend.c: Likewise.
6379 * rt/aio_write.c: Likewise.
6380 * rt/clock_getres.c: Likewise.
6381 * rt/clock_gettime.c: Likewise.
6382 * rt/clock_nanosleep.c: Likewise.
6383 * rt/clock_settime.c: Likewise.
6384 * rt/lio_listio.c: Likewise.
6385 * rt/mq_close.c: Likewise.
6386 * rt/mq_getattr.c: Likewise.
6387 * rt/mq_notify.c: Likewise.
6388 * rt/mq_open.c: Likewise.
6389 * rt/mq_receive.c: Likewise.
6390 * rt/mq_send.c: Likewise.
6391 * rt/mq_setattr.c: Likewise.
6392 * rt/mq_timedreceive.c: Likewise.
6393 * rt/mq_timedsend.c: Likewise.
6394 * rt/mq_unlink.c: Likewise.
6395 * rt/shm_open.c: Likewise.
6396 * rt/shm_unlink.c: Likewise.
6397 * rt/timer_create.c: Likewise.
6398 * rt/timer_delete.c: Likewise.
6399 * rt/timer_getoverr.c: Likewise.
6400 * rt/timer_gettime.c: Likewise.
6401 * rt/timer_settime.c: Likewise.
6402 * setjmp/__longjmp.c: Likewise.
6403 * setjmp/setjmp.c: Likewise.
6404 * signal/kill.c: Likewise.
6405 * signal/killpg.c: Likewise.
6406 * signal/raise.c: Likewise.
6407 * signal/sigaction.c: Likewise.
6408 * signal/sigaltstack.c: Likewise.
6409 * signal/sigblock.c: Likewise.
6410 * signal/sigignore.c: Likewise.
6411 * signal/sigintr.c: Likewise.
6412 * signal/signal.c: Likewise.
6413 * signal/sigpause.c: Likewise.
6414 * signal/sigpending.c: Likewise.
6415 * signal/sigqueue.c: Likewise.
6416 * signal/sigreturn.c: Likewise.
6417 * signal/sigset.c: Likewise.
6418 * signal/sigsetmask.c: Likewise.
6419 * signal/sigstack.c: Likewise.
6420 * signal/sigsuspend.c: Likewise.
6421 * signal/sigtimedwait.c: Likewise.
6422 * signal/sigvec.c: Likewise.
6423 * signal/sigwait.c: Likewise.
6424 * signal/sigwaitinfo.c: Likewise.
6425 * signal/sysv_signal.c: Likewise.
6426 * socket/accept.c: Likewise.
6427 * socket/accept4.c: Likewise.
6428 * socket/bind.c: Likewise.
6429 * socket/connect.c: Likewise.
6430 * socket/getpeername.c: Likewise.
6431 * socket/getsockname.c: Likewise.
6432 * socket/getsockopt.c: Likewise.
6433 * socket/isfdtype.c: Likewise.
6434 * socket/listen.c: Likewise.
6435 * socket/recv.c: Likewise.
6436 * socket/recvfrom.c: Likewise.
6437 * socket/recvmsg.c: Likewise.
6438 * socket/send.c: Likewise.
6439 * socket/sendmsg.c: Likewise.
6440 * socket/sendto.c: Likewise.
6441 * socket/setsockopt.c: Likewise.
6442 * socket/shutdown.c: Likewise.
6443 * socket/sockatmark.c: Likewise.
6444 * socket/socket.c: Likewise.
6445 * socket/socketpair.c: Likewise.
6446 * stdio-common/ctermid.c: Likewise.
6447 * stdio-common/cuserid.c: Likewise.
6448 * stdio-common/remove.c: Likewise.
6449 * stdio-common/rename.c: Likewise.
6450 * stdio-common/renameat.c: Likewise.
6451 * stdio-common/tempname.c: Likewise.
6452 * stdlib/getcontext.c: Likewise.
6453 * stdlib/makecontext.c: Likewise.
6454 * stdlib/setcontext.c: Likewise.
6455 * stdlib/swapcontext.c: Likewise.
6456 * stdlib/system.c: Likewise.
6457 * streams/fattach.c: Likewise.
6458 * streams/fdetach.c: Likewise.
6459 * streams/getmsg.c: Likewise.
6460 * streams/getpmsg.c: Likewise.
6461 * streams/putmsg.c: Likewise.
6462 * streams/putpmsg.c: Likewise.
6463 * sysdeps/unix/bsd/getpt.c: Likewise.
6464 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6465 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6466 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6468 Likewise.
6469 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6470 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6471 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6472 * sysvipc/msgctl.c: Likewise.
6473 * sysvipc/msgget.c: Likewise.
6474 * sysvipc/msgrcv.c: Likewise.
6475 * sysvipc/msgsnd.c: Likewise.
6476 * sysvipc/semctl.c: Likewise.
6477 * sysvipc/semget.c: Likewise.
6478 * sysvipc/semop.c: Likewise.
6479 * sysvipc/semtimedop.c: Likewise.
6480 * sysvipc/shmat.c: Likewise.
6481 * sysvipc/shmctl.c: Likewise.
6482 * sysvipc/shmdt.c: Likewise.
6483 * sysvipc/shmget.c: Likewise.
6484 * termios/tcdrain.c: Likewise.
6485 * termios/tcflow.c: Likewise.
6486 * termios/tcflush.c: Likewise.
6487 * termios/tcgetattr.c: Likewise.
6488 * termios/tcgetpgrp.c: Likewise.
6489 * termios/tcsendbrk.c: Likewise.
6490 * termios/tcsetattr.c: Likewise.
6491 * termios/tcsetpgrp.c: Likewise.
6492 * time/adjtime.c: Likewise.
6493 * time/clock.c: Likewise.
6494 * time/getitimer.c: Likewise.
6495 * time/gettimeofday.c: Likewise.
6496 * time/setitimer.c: Likewise.
6497 * time/settimeofday.c: Likewise.
6498 * time/stime.c: Likewise.
6499 * time/time.c: Likewise.
6500
65012012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 6502
a20492cf
PT
6503 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6504 /usr/old/bin.
6505
72e182e3
PT
6506 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6507 instead of spaces.
6508 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6509
fbeafede
JM
65102012-11-03 Joseph Myers <joseph@codesourcery.com>
6511
5b5b04d6
JM
6512 [BZ #14796]
6513 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6514 FE_TONEAREST before applying Dekker multiplication and Knuth
6515 addition. Clear inexact exceptions and check for exact zero
6516 results afterwards.
6517 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6518 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6519 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6520 * math/libm-test.inc (fma_test): Add more tests.
6521 (fma_test_towardzero): Likewise.
6522 (fma_test_downward): Likewise.
6523 (fma_test_upward): Likewise.
6524 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6525 function.
6526 (libc_fesetround): New macro.
6527 (libc_fesetroundf): Likewise.
6528 (libc_fesetroundl): Likewise.
6529 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6530 function.
6531 (libc_fesetround_387): Likewise.
6532 (libc_fesetroundf): New macro.
6533 (libc_fesetround): Likewise.
6534 (libc_fesetroundl): Likewise.
6535 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6536 function.
6537 (libc_fesetroundf): New macro.
6538 (libc_fesetround): Likewise.
6539 (libc_fesetroundl): Likewise.
6540 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6541 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6542 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6543 libm_hidden_ver.
6544 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6545 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6546 libm_hidden_def.
6547 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6548 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6549 libm_hidden_ver.
6550 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6551 libm_hidden_def.
6552
fbeafede
JM
6553 [BZ #3439]
6554 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6555 integer constant usable in #if and use that to give value to enum
6556 constant.
6557 (FE_DIVBYZERO): Likewise.
6558 (FE_UNDERFLOW): Likewise.
6559 (FE_OVERFLOW): Likewise.
6560 (FE_INVALID): Likewise.
6561 (FE_INVALID_SNAN): Likewise.
6562 (FE_INVALID_ISI): Likewise.
6563 (FE_INVALID_IDI): Likewise.
6564 (FE_INVALID_ZDZ): Likewise.
6565 (FE_INVALID_IMZ): Likewise.
6566 (FE_INVALID_COMPARE): Likewise.
6567 (FE_INVALID_SOFTWARE): Likewise.
6568 (FE_INVALID_SQRT): Likewise.
6569 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6570 (FE_TONEAREST): Likewise.
6571 (FE_TOWARDZERO): Likewise.
6572 (FE_UPWARD): Likewise.
6573 (FE_DOWNWARD): Likewise.
6574 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6575 (FE_DIVBYZERO): Likewise.
6576 (FE_OVERFLOW): Likewise.
6577 (FE_UNDERFLOW): Likewise.
6578 (FE_INEXACT): Likewise.
6579 (FE_TONEAREST): Likewise.
6580 (FE_DOWNWARD): Likewise.
6581 (FE_UPWARD): Likewise.
6582 (FE_TOWARDZERO): Likewise.
6583 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6584 (FE_UNDERFLOW): Likewise.
6585 (FE_OVERFLOW): Likewise.
6586 (FE_DIVBYZERO): Likewise.
6587 (FE_INVALID): Likewise.
6588 (FE_TONEAREST): Likewise.
6589 (FE_TOWARDZERO): Likewise.
6590 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6591 (FE_OVERFLOW): Likewise.
6592 (FE_UNDERFLOW): Likewise.
6593 (FE_DIVBYZERO): Likewise.
6594 (FE_INEXACT): Likewise.
6595 (FE_TONEAREST): Likewise.
6596 (FE_TOWARDZERO): Likewise.
6597 (FE_UPWARD): Likewise.
6598 (FE_DOWNWARD): Likewise.
6599 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6600 (FE_DIVBYZERO): Likewise.
6601 (FE_OVERFLOW): Likewise.
6602 (FE_UNDERFLOW): Likewise.
6603 (FE_INEXACT): Likewise.
6604 (FE_TONEAREST): Likewise.
6605 (FE_DOWNWARD): Likewise.
6606 (FE_UPWARD): Likewise.
6607 (FE_TOWARDZERO): Likewise.
6608
105ca950
CM
66092012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6610
6611 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6612
a542b389
AS
66132012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6614
6615 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6616 commands. Quote $PWD.
6617 (blacklist_exports): Don't use remove_newlines. Replace "declare
6618 -x" by "export".
6619 (remove_newlines): Remove.
6620
f62c8abc
L
66212012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6622
6623 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6624 * stdlib/stdlib.h (atof): Moved to ...
6625 * include/bits/stdlib-float.h: Here. New file.
6626 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6627 * stdlib/bits/stdlib-float.h: New file.
6628 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6629 -mno-sse -mno-mmx.
6630 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6631 <xmmintrin.h>.
6632
0155d5b2
JM
66332012-11-02 Joseph Myers <joseph@codesourcery.com>
6634
a68d0680
JM
6635 * conform/conformtest.pl (@headers): Add fenv.h.
6636 * conform/data/fenv.h-data: New file.
6637 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6638 include of <math/fenv.h>.
6639
caf7f573
JM
6640 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6641 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6642 && !UNIX98]. Enables tests for XOPEN2K8.
6643 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6644 POSIX2008]: Likewise.
6645
6c073ad6
JM
6646 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6647 (struct rusage): Do not expect type or its members.
6648
0155d5b2
JM
6649 [BZ #3439]
6650 * math/math.h (FP_NAN): Define macro to integer constant usable in
6651 #if and use that to give value to enum constant.
6652 (FP_INFINITE): Likewise.
6653 (FP_ZERO): Likewise.
6654 (FP_SUBNORMAL): Likewise.
6655 (FP_NORMAL): Likewise.
6656
b5dcacb4
AS
66572012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6658
6659 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6660 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6661 arguments.
6662
f7934be8
RM
66632012-11-02 Roland McGrath <roland@hack.frob.com>
6664
6665 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6666 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6667 autoconf-time if not.
6668 * configure.in: Remove AC_PREREQ.
6669
d7d08bde
TMQMF
66702012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6671
6672 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6673 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6674 of the internal implementation.
6675
dcdae19a
JM
66762012-11-02 Joseph Myers <joseph@codesourcery.com>
6677
6678 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6679 except include of <misc/sys/syslog.h>.
6680
d6cffd3e
AS
66812012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6682
6683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6684 function returns with a NULL context exit with zero.
6685
b3563932
TMQMF
66862012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6687
6688 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6689
b288a93d
L
66902012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6691
6692 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6693 (run_program_cmd): This.
6694 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6695 (tst_langinfo): New variable. Use it.
6696
a2421a68
SAS
66972012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6698
6699 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6700 floating point opcodes.
6701
6f796e1b
TS
67022012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6703
7402596b
TS
6704 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6705 variable.
6706
d0d4f868
TS
6707 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6708
6f796e1b
TS
6709 * sysdeps/mach/hurd/powerpc: Remove directory.
6710 * sysdeps/mach/powerpc: Likewise.
6711
4da224a2
AS
67122012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6713
6714 * scripts/check-local-headers.sh: Ignore c++ headers.
6715
341dd673
TS
67162012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6717
6718 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6719 __libc_cleanup_region_start argument.
6720
473611b2
JM
67212012-11-01 Joseph Myers <joseph@codesourcery.com>
6722
6723 [BZ #14784]
6724 [BZ #14785]
6725 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6726 x * y using scaling, not as x * y + z.
6727 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6728 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6729 * math/libm-test.inc (fma_test): Add more tests.
6730 (fma_test_towardzero): Likewise.
6731 (fma_test_downward): Likewise.
6732 (fma_test_upward): Likewise.
6733
4078da3d
TS
67342012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6735
6736 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6737
903252aa
JM
67382012-10-31 Joseph Myers <joseph@codesourcery.com>
6739
6740 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6741 New variable.
6742
cbc818d0
TS
67432012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6744
6745 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6746
5a03cb1e
AS
67472012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6748
6749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6750 Fix sort order.
6751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6752 Likewise.
6753
90aff2ff
TMQMF
67542012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6755
6756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6757 Fix the order of the list for glibc 2.17.
6758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6759 Likewise.
6760
1818fcb7
AS
67612012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6762
6763 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6764
ef82f4da
JM
67652012-10-31 Joseph Myers <joseph@codesourcery.com>
6766
16a0e2ec
JM
6767 [BZ #14610]
6768 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6769 for low part of x being zero before using __atanl (y).
6770 * math/libm-test.inc (atan2_test): Add another test.
6771
0eb69512
JM
6772 * manual/install.texi (Configuring and compiling): Document
6773 general use of test-wrapper and test-wrapper-env.
6774 * INSTALL: Regenerated.
6775
ef82f4da
JM
6776 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6777 (__fma): Do not extract and scale down low bits on after-rounding
6778 systems when result rounded to normal precision would have normal
6779 exponent.
6780 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6781 (__fmal): Do not extract and scale down low bits on after-rounding
6782 systems when result rounded to normal precision would have normal
6783 exponent.
6784 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6785 (__fmal): Do not extract and scale down low bits on after-rounding
6786 systems when result rounded to normal precision would have normal
6787 exponent.
6788 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6789 macro.
6790 (fma_test): Add more tests.
6791 (fma_test_towardzero): Likewise.
6792 (fma_test_downward): Likewise.
6793 (fma_test_upward): Likewise.
6794
954ef0d9
L
67952012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6796
6797 * sysdeps/i386/tininess.h: Renamed to ...
6798 * sysdeps/x86/tininess.h: This.
6799 * sysdeps/x86_64/tininess.h: Removed.
6800
df61ffb2
JM
68012012-10-30 Joseph Myers <joseph@codesourcery.com>
6802
6803 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6804 input. Use $(build-program-cmd).
6805 ($(objpfx)tst-array1-static.out): Likewise.
6806 ($(objpfx)tst-array2.out): Likewise.
6807 ($(objpfx)tst-array3.out): Likewise.
6808 ($(objpfx)tst-array4.out): Likewise.
6809 ($(objpfx)tst-array5.out): Likewise.
6810 ($(objpfx)tst-array5-static.out): Likewise.
6811
01767843
CM
68122012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6813
47cc1490
CM
6814 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6815 if defined.
6816
01767843
CM
6817 * nss/nsswitch.h (nss_interface_function): Provide new
6818 macro for use with NSS functions.
6819 * grp/initgroups.c: Use new macro.
6820 * nss/getXXbyYY.c: Likewise.
6821 * nss/getXXbyYY_r.c: Likewise.
6822 * nss/getXXent.c: Likewise.
6823 * nss/getXXent_r.c: Likewise.
6824 * sysdeps/posix/getaddrinfo.c: Likewise.
6825
8321aa97
AJ
68262012-10-30 Andreas Jaeger <aj@suse.de>
6827
6828 * po/ru.po: Update Russion translation from translation project.
6829
2a27fd6d
JM
68302012-10-30 Joseph Myers <joseph@codesourcery.com>
6831
8627a232
JM
6832 [BZ #14152]
6833 [BZ #14783]
6834 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6835 result and shift together with sticky bit instead of replicating
6836 round-to-nearest rounding.
6837 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6838 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6839 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6840 missing underflow exceptions.
6841 (fma_test_towardzero): Add more tests.
6842 (fma_test_downward): Likewise.
6843 (fma_test_upward): Likewise.
6844
2a27fd6d
JM
6845 [BZ #14047]
6846 * sysdeps/generic/tininess.h: New file.
6847 * sysdeps/i386/tininess.h: Likewise.
6848 * sysdeps/sh/tininess.h: Likewise.
6849 * sysdeps/x86_64/tininess.h: Likewise.
6850 * stdlib/tst-strtod-underflow.c: Likewise.
6851 * stdlib/tst-tininess.c: Likewise.
6852 * stdlib/strtod_l.c: Include <tininess.h>.
6853 (round_and_return): Do not set errno for exact underflow cases.
6854 Force an underflow exception when setting errno for underflow.
6855 Determine underflow based on rounding to normal precision if
6856 TININESS_AFTER_ROUNDING.
6857 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6858 ERANGE for exact underflow cases.
6859 * stdlib/Makefile (tests): Add tst-tininess and
6860 tst-strtod-underflow.
6861 ($(objpfx)tst-tininess): Use $(link-libm).
6862 ($(objpfx)tst-strtod-underflow): Likewise.
6863
e7170363
AJ
68642012-10-30 Andreas Jaeger <aj@suse.de>
6865
e5088dc6
AJ
6866 [BZ#14767]
6867 * elf/Makefile (tests): Remove conditional for have-initfini-array
6868 since this is now always required and the variable does not exist
6869 anymore.
6870 (tests-static): Likewise.
6871 (modules-names): Likewise.
6872
e7170363 6873 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
6874
6875 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6876 merged with constructor/destructor.
6877 (init_array): Likewise.
6878 * elf/tst-array2dep.c (fini_array): Likewise.
6879 (init_array): Likewise.
6880
60457d8a
MF
68812012-10-29 Mike Frysinger <vapier@gentoo.org>
6882
6883 * manual/message.texi: Delete @cartouche tags.
6884
8bece752
PT
68852012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6886
94ce799f
PT
6887 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6888 EOPNOTSUPP.
6889 * sysdeps/mach/hurd/fsync.c: Likewise.
6890
8bece752
PT
6891 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6892 [_POSIX_REALTIME_SIGNALS]: Change condition to
6893 [_POSIX_REALTIME_SIGNALS > 0].
6894
86ebe6b1
AJ
68952012-10-27 Andreas Jaeger <aj@suse.de>
6896
6897 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6898 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6899 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6900 [__WORDSIZE != 64]: Likewise.
6901
54399c08
L
69022012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6903
6904 * iconvdata/tst-table.sh: Remove ${SHELL}.
6905 * iconvdata/tst-tables.sh: Likewise.
6906
e2211bed
DM
69072012-10-25 David S. Miller <davem@davemloft.net>
6908
6909 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6910 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6911 of strtoull.
6912
f303f97c
DM
6913 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6914 ifunc-impl-list.c
6915 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6916 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6917 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6918 file.
6919
1e9d84cd
RM
69202012-10-25 Roland McGrath <roland@hack.frob.com>
6921
6922 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6923 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6924 __getdirentries.
6925
df381762
JM
69262012-10-25 Joseph Myers <joseph@codesourcery.com>
6927 Jim Blandy <jimb@codesourcery.com>
6928
6929 * scripts/cross-test-ssh.sh: New file.
6930 * manual/install.texi (Configuring and compiling): Document use of
6931 cross-test-ssh.sh.
6932 * INSTALL: Regenerated.
6933
bff64913
PT
69342012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6935
6936 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6937 EOPNOTSUPP.
6938
25fe8932
JM
69392012-10-25 Joseph Myers <joseph@codesourcery.com>
6940
6941 * Makeconfig (run-program-prefix): Fix comment.
6942
cc1290d0
JM
69432012-10-24 Joseph Myers <joseph@codesourcery.com>
6944 Jim Blandy <jimb@codesourcery.com>
6945
6946 * Makeconfig (test-wrapper): New variable,
6947 (test-wrapper-env): Likewise.
6948 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6949 (run-built-tests): Define to yes.
6950 (run-program-prefix): Use $(test-wrapper).
6951 (built-program-cmd): Likewise.
6952 * Rules (make-test-out): Use $(test-wrapper-env) and
6953 $(host-built-program-cmd).
6954 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6955 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6956 tst-pathopt.sh.
6957 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6958 $(test-wrapper-env) to tst-rtld-load-self.sh.
6959 ($(objpfx)order2.out): Use $(test-wrapper).
6960 ($(objpfx)tst-initorder.out): Likewise.
6961 ($(objpfx)tst-initorder2.out): Likewise.
6962 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6963 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6964 (test_wrapper_env): New variable. Use it to run ld.so.
6965 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6966 Use it to run ld.so.
6967 (test_wrapper_env): Likewise.
6968 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6969 $(test-wrapper) to run-iconv-test.sh.
6970 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6971 (ICONV): Use $test_wrapper.
6972 * posix/Makefile ($(objpfx)globtest.out): Pass
6973 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6974 globtest.sh, not $(run-program-prefix).
6975 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6976 (test_wrapper): Likewise.
6977 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6978 set together with run_via_rtld_prefix.
6979 (run_program_prefix): Define in terms of test_wrapper and
6980 run_via_rtld_prefix.
6981
6e6249d0
RM
69822012-10-24 Roland McGrath <roland@hack.frob.com>
6983
6984 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
6985 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
6986 Targets removed.
6987
6988 [BZ #14743]
6989 * include/time.h: Remove librt_hidden_proto (clock_gettime).
6990 Declare __clock_getres, __clock_gettime, __clock_settime,
6991 __clock_nanosleep, and __clock_getcpuclockid.
6992 * rt/clock_gettime.c: Define __clock_gettime as an alias.
6993 Remove librt_hidden_def (clock_gettime).
6994 * sysdeps/unix/clock_gettime.c: Likewise.
6995 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
6996 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
6997 * rt/clock_getres.c: Define __clock_getres as an alias.
6998 * sysdeps/posix/clock_getres.c: Likewise.
6999 * rt/clock_settime.c: Define __clock_settime as an alias.
7000 * sysdeps/unix/clock_settime.c: Likewise.
7001 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7002 * sysdeps/unix/clock_nanosleep.c: Likewise.
7003 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7004 * rt/clock-compat.c: New file.
7005 * rt/Makefile (librt-routines): Add clock-compat and move
7006 $(clock-routines) to ...
7007 (routines): ... here, new variable.
7008 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7009 Don't add get_clockfreq here.
7010 * rt/Versions (libc: GLIBC_2.17): New version set.
7011 Add clock_* symbols here.
7012 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7013 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7014 (GLIBC_2.17): Add clock_* symbols.
7015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7017 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7019 Likewise.
7020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7021 Likewise.
7022 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7023 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7026 * NEWS: Mention the move.
7027
7028 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7029 Use __open, __read, __close rather than their public counterparts.
7030 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7031 (__get_clockfreq_via_cpuinfo): Likewise.
7032 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7033 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7034
7035 * config.h.in (HAVE_IFUNC): New #undef.
7036 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7037 was successful.
7038 * configure: Regenerated.
7039
0cae3f4b
MF
70402012-10-24 Mike Frysinger <vapier@gentoo.org>
7041
7042 * configure.in: Move READELF check to start of file.
7043 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7044 libc_cv_asm_gnu_indirect_function in the process.
7045 * configure: Regenerated.
7046
8175a253
MF
70472012-10-24 Mike Frysinger <vapier@gentoo.org>
7048
7049 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7050 send the output to /dev/null.
7051 (libc_cv_cc_with_libunwind): Likewise.
7052 (libc_cv_as_noexecstack): Likewise.
7053 * configure: Regenerate.
7054
0708a7d1
JM
70552012-10-24 Joseph Myers <joseph@codesourcery.com>
7056
10b40d85
JM
7057 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7058
0708a7d1
JM
7059 * posix/globtest.sh (TMPDIR): Do not set.
7060 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7061 (testout): Likewise.
7062
9fddec1a
AJ
70632012-10-24 Andreas Jaeger <aj@suse.de>
7064
3a8db22f
AJ
7065 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7066 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7067 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7068 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7069 posix_fadvise64, posix_fallocate64.
7070
9fddec1a
AJ
7071 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7072 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7073 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7074 Likewise.
7075 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7076 Likewise.
7077 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7078
7079 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7080 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7081 <bits/fcntl-linux.h>.
7082 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7083
7084 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7085 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7086 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7087 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7088 [__WORDSIZE != 64]: Likewise.
7089
ebfd1bbd
JM
70902012-10-23 Joseph Myers <joseph@codesourcery.com>
7091
03ac099f
JM
7092 * Makeconfig (run-built-tests): New variable.
7093 * Rules [$(cross-compiling) = yes]: Change condition to
7094 [$(run-built-tests) = no].
7095 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7096 to [$(run-built-tests) = yes].
7097 * elf/Makefile [$(cross-compiling) = no]: Likewise
7098 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7099 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7100 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7101 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7102 * io/Makefile [$(cross-compiling) = no]: Likewise.
7103 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7104 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7105 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7106 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7107 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7108 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7109 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7110 * string/Makefile [$(cross-compiling) = no]: Likewise.
7111
ebfd1bbd
JM
7112 * posix/Makefile ($(objpfx)globtest.out): Pass
7113 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7114 $(rtld-installed-name).
7115 * posix/globtest.sh (elf_objpfx): Remove variable.
7116 (rtld_installed_name): Likewise.
7117 (library_path): Likewise.
7118 (run_program_prefix): New variable. Use for running globtest
7119 binary.
7120
166bca24
JB
71212012-10-23 Jim Blandy <jimb@codesourcery.com>
7122 Joseph Myers <joseph@codesourcery.com>
7123
7124 * Makeconfig (host-built-program-cmd): New variable.
7125 * elf/Makefile (tst-stackguard1-ARGS): Use
7126 $(host-built-program-cmd).
7127 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7128 (tst-spawn-ARGS): Likewise.
7129 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7130
88866099
JM
71312012-10-23 Joseph Myers <joseph@codesourcery.com>
7132 Jim Blandy <jimb@codesourcery.com>
7133
7134 * Makeconfig (run-via-rtld-prefix): New variable.
7135 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7136 (built-program-cmd): Likewise.
7137
b4b4c296
AJ
71382012-10-22 Andreas Jaeger <aj@suse.de>
7139
7140 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7141 __O_RSYNC if it exists, otherwise to O_SYNC.
7142
6fb54a22
JB
71432012-10-22 Jim Blandy <jimb@codesourcery.com>
7144 Joseph Myers <joseph@codesourcery.com>
7145
7146 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7147 /dev/null.
7148 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7149 from /dev/null
7150 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7151 /dev/null.
7152
481b90b9
AJ
71532012-10-22 Andreas Jaeger <aj@suse.de>
7154
2a0e2669
AJ
7155 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7156 Define always.
7157 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7158
76e38f9a
AJ
7159 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7160 bits/fcntl-linux.h.
7161
7cd37b43
AJ
7162 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7163 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7164
481b90b9
AJ
7165 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7166 to __O_LARGEFILE.
7167 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7168 to __O_LARGEFILE.
7169
aba75984
JB
71702012-10-21 Jim Blandy <jimb@codesourcery.com>
7171 Joseph Myers <joseph@codesourcery.com>
7172
7173 * config.make.in (NM): New variable.
7174
88d4247f
AJ
71752012-10-21 Andreas Jaeger <aj@suse.de>
7176
7177 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7178 definitions and declarations that are provided by
7179 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7180
f2eed205
L
71812012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7182
7183 [BZ #14683]
7184 * elf/Makefile (tests-static): Add tst-leaks1-static.
7185 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7186 ($(objpfx)tst-leaks1-static): New rule.
7187 ($(objpfx)tst-leaks1-static-mem): Likewise.
7188 (tst-leaks1-static-ENV): New macro.
7189 * elf/dl-open.c (dl_open_worker): Check the main application
7190 only if SHARED is defined.
7191 * elf/tst-leaks1-static.c: New file.
7192
335e6931
AJ
71932012-10-20 Andreas Jaeger <aj@suse.de>
7194
7195 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7196 generic values for Linux.
7197 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7198 and declarations that are provided by <bits/fcntl-linux.h> and
7199 include <bits/fcntl-linux.h>.
7200 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7201 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7202
ac5c94d3
RM
72032012-10-20 Roland McGrath <roland@hack.frob.com>
7204
7205 * io/fcntl.h: Move include of <bits/types.h> to the top and
7206 include it unconditionally.
7207
de54b33a
L
72082012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7209
228cfb01
L
7210 * wcsmbs/Makefile (tests-ifunc): New variable.
7211 (tests): Add $(tests-ifunc).
7212 * wcsmbs/test-wcschr-ifunc.c: New file.
7213 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7214 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7215 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7216 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7217 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7218
69f07e5f
L
7219 * string/Makefile (tests-ifunc): New variable.
7220 (tests): Add $(tests-ifunc).
7221 * string/test-memccpy.c (TEST_NAME): New macro.
7222 * string/test-memchr.c (TEST_NAME): Likewise.
7223 * string/test-memcmp.c (TEST_NAME): Likewise.
7224 * string/test-memcpy.c (TEST_NAME): Likewise.
7225 * string/test-memmem.c (TEST_NAME): Likewise.
7226 * string/test-memmove.c (TEST_NAME): Likewise.
7227 * string/test-memset.c (TEST_NAME): Likewise.
7228 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7229 * string/test-stpcpy.c (TEST_NAME): Likewise.
7230 * string/test-stpncpy.c (TEST_NAME): Likewise.
7231 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7232 * string/test-strcasestr.c (TEST_NAME): Likewise.
7233 * string/test-strcat.c (TEST_NAME): Likewise.
7234 * string/test-strchr.c (TEST_NAME): Likewise.
7235 * string/test-strcmp.c(TEST_NAME): Likewise.
7236 * string/test-strcpy.c (TEST_NAME): Likewise.
7237 * string/test-strcspn.c (TEST_NAME): Likewise.
7238 * string/test-strlen.c (TEST_NAME): Likewise.
7239 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7240 * string/test-strncmp.c (TEST_NAME): Likewise.
7241 * string/test-strncpy.c (TEST_NAME): Likewise.
7242 * string/test-strnlen.c (TEST_NAME): Likewise.
7243 * string/test-strpbrk.c (TEST_NAME): Likewise.
7244 * string/test-strrchr.c (TEST_NAME): Likewise.
7245 * string/test-strspn.c (TEST_NAME): Likewise.
7246 * string/test-strstr.c (TEST_NAME): Likewise.
7247 * string/test-bcopy-ifunc.c: New file.
7248 * string/test-bzero-ifunc.c: Likewise.
7249 * string/test-memccpy-ifunc.c: Likewise.
7250 * string/test-memchr-ifunc.c: Likewise.
7251 * string/test-memcmp-ifunc.c: Likewise.
7252 * string/test-memcpy-ifunc.c: Likewise.
7253 * string/test-memmem-ifunc.c: Likewise.
7254 * string/test-memmove-ifunc.c: Likewise.
7255 * string/test-mempcpy-ifunc.c: Likewise.
7256 * string/test-memset-ifunc.c: Likewise.
7257 * string/test-rawmemchr-ifunc.c: Likewise.
7258 * string/test-stpcpy-ifunc.c: Likewise.
7259 * string/test-stpncpy-ifunc.c: Likewise.
7260 * string/test-strcasecmp-ifunc.c: Likewise.
7261 * string/test-strcasestr-ifunc.c: Likewise.
7262 * string/test-strcat-ifunc.c: Likewise.
7263 * string/test-strchr-ifunc.c: Likewise.
7264 * string/test-strchrnul-ifunc.c: Likewise.
7265 * string/test-strcmp-ifunc.c: Likewise.
7266 * string/test-strcpy-ifunc.c: Likewise.
7267 * string/test-strcspn-ifunc.c: Likewise.
7268 * string/test-strlen-ifunc.c: Likewise.
7269 * string/test-strncasecmp-ifunc.c: Likewise.
7270 * string/test-strncat-ifunc.c: Likewise.
7271 * string/test-strncmp-ifunc.c: Likewise.
7272 * string/test-strncpy-ifunc.c: Likewise.
7273 * string/test-strnlen-ifunc.c: Likewise.
7274 * string/test-strpbrk-ifunc.c: Likewise.
7275 * string/test-strrchr-ifunc.c: Likewise.
7276 * string/test-strspn-ifunc.c: Likewise.
7277 * string/test-strstr-ifunc.c: Likewise.
7278
de54b33a
L
7279 * debug/Makefile (tests-ifunc): New variable.
7280 (tests): Add $(tests-ifunc).
7281 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7282 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7283 * debug/test-stpcpy_chk-ifunc.c: New file.
7284 * debug/test-strcpy_chk-ifunc.c: Likewise.
7285
88481c16
SP
72862012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7287
7288 [BZ #13601]
7289 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7290 header is not read in.
7291
135948bd
JM
72922012-10-19 Joseph Myers <joseph@codesourcery.com>
7293
89f1c388
JM
7294 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7295 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7296 directly. Pass built executable to script as
7297 $(built-program-cmd).
7298 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7299 $testprogram without using LD_LIBRARY_PATH and $ldso.
7300
e40a0d21
JM
7301 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7302 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7303 $(rtld-installed-name).
7304 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7305 (rtld_installed_name): Likewise.
7306 (library_path): Likewise.
7307 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7308 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7309 $(run-program-prefix) to tst-tables.sh.
7310 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7311 it to run tst-table-from and tst-table-to.
7312 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7313 Pass it to tst-table.sh.
7314 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7315 $(run-program-prefix) to tst-gettext.sh.
7316 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7317 tst-translit.sh.
7318 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7319 tst-gettext2.sh.
7320 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7321 to run tst-gettext.
7322 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7323 to run tst-gettext2.
7324 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7325 to run tst-translit.
7326 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7327 $(run-program-prefix) to tst-mtrace.sh.
7328 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7329 to run tst-mtrace.
7330 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7331 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7332 $(rtld-installed-name).
7333 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7334 (rtld_installed_name): Likewise.
7335 (run_program_prefix): New variable. Use it to run wordexp-test.
7336
728e272a
JM
7337 * Makeconfig (ARCH): Remove all definitions.
7338 (machine): Likewise.
7339 [ARCH]: Remove conditional code.
7340 [!objdir]: Give error.
7341 [!objdir] (objpfx): Remove.
7342 [!objdir] (common-objpfx): Likewise.
7343 [!objdir] (common-objdir): Likewise.
7344 * configure.in (config_makefile): Remove. Hardcode Makefile in
7345 AC_CONFIG_FILES call.
7346 * configure: Regenerated.
7347
d528cdcf
JM
7348 [BZ #13888]
7349 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7350 or TMPDIR.
7351 (testout): Likewise.
7352
135948bd
JM
7353 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7354 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7355 $(rtld-installed-name).
7356 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7357 (rtld_installed_name): Likwise.
7358 (runit): Remove function.
7359 (run_getconf): New variable, Use it for running getconf binary.
7360
38c78296
L
73612012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7362
7363 [BZ #14716]
7364 * string/test-memmem.c (check_result): New function.
7365 (do_one_test): Use it.
7366 (check1): New function.
7367 (test_main): Use it.
7368
d077f65f
MT
73692012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7370
7371 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7372
ced52c71
JM
73732012-10-18 Joseph Myers <joseph@codesourcery.com>
7374
7375 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7376 (_G_LSEEK64): Likewise.
7377 (_G_MMAP64): Likewise.
7378 (_G_FSTAT64): Likewise.
7379 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7380 (_G_LSEEK64): Likewise.
7381 (_G_MMAP64): Likewise.
7382 (_G_FSTAT64): Likewise.
7383 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7384 unconditional. Call __mmap64 directly.
7385 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7386 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7387 __lseek64 directly.
7388 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7389 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7390 __mmap64 directly.
7391 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7392 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7393 __lseek64 directly.
7394 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7395 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7396 __lseek64 directly.
7397 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7398 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7399 __lseek64 directly.
7400 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7401 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7402 __fxstat64 directly.
7403 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7404 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7405 unconditional.
7406 (freopen64) [!_G_OPEN64]: Remove conditional code.
7407 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7408 unconditional.
7409 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7410 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7411 unconditional.
7412 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7413 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7414 unconditional.
7415 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7416 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7417 unconditional.
7418 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7419 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7420 unconditional.
7421 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7422 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7423 unconditional.
7424 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7425 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7426 unconditional.
7427 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7428
b741de23
SP
74292012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7430
7431 [BZ #12140]
7432 * manual/memory.texi (Malloc Tunable Parameters): Add note
7433 about free list pointers overwriting some perturb bytes.
7434 Wording suggested by Roland McGrath.
7435
f9b9d9c9
JM
74362012-10-17 Joseph Myers <joseph@codesourcery.com>
7437
7438 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7439 (lgamma_test): Likewise.
7440 (tgamma_test): Likewise.
7441
172a631a
FW
74422012-10-16 Florian Weimer <fweimer@redhat.com>
7443
7444 [BZ #14700]
7445 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7446 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7447
e9f37252
MK
74482012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7449
7450 * NEWS: Mention BZ #14716.
7451 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7452 when removing AVAILABLE1_USES_J macro.
7453
d394eb74
L
74542012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7455
7456 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7457 (__bswap_64): __uint64_t for unsigned 64-bit int.
7458
ca38dc17
AS
74592012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7460
7461 * include/string.h (memmem): Declare libc hidden alias.
7462 * string/memmem.c (memmem): Define libc hidden alias.
7463 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7464 __read, __close instead of open, read, close.
7465
9a387d1f
L
74662012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7467
ac49ecaf
L
7468 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7469 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7470 global and hidden.
7471 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7472 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7473 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7474 Likewise.
7475 (__rawmemchr_sse2): Likewise.
7476 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7477 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7478 (__strchr_sse2): Likewise.
7479 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7480 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7481 (__strcasecmp_sse2): Likewise.
7482 (__strncasecmp_sse2): Likewise.
7483 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7484 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7485 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7486 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7487 (__strrchr_sse2): Likewise.
7488 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7489 ifunc-impl-list.c.
7490 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7491 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7492 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7493 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7494 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7495 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7496 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7497 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7498 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7499 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7500 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7501 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7502 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7503 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7504 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7505 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7506 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7507 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7508 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7509 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7510 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7511 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7512 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7513 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7514 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7515 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7516 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7517 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7518 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7519 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7520
b090e8ea
L
7521 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7522 global and hidden.
7523 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7524 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7525 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7526 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7527 Likewise.
7528 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7529 Likewise.
7530 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7531 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7532 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7533 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7534 ifunc-impl-list.c.
7535 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7536 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7537 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7538 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7539 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7540 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7541 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7542 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7543 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7544 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7545 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7546 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7547 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7548 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7549 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7550 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7551 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7552 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7553 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7554 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7555 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7556 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7557 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7558 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7559 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7560 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7561 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7562 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7563 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7564 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7565 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7566 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7567 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7568 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7569 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7570 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7571 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7572 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7573 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7574 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7575 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7576
11dd4af6
L
7577 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7578 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7579 * include/ifunc-impl-list.h: New file.
7580 * misc/ifunc-impl-list.c: Likewise.
7581 * misc/Makefile (routines): Add ifunc-impl-list.
7582 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7583 * string/test-string.h: Include <ifunc-impl-list.h>.
7584 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7585 impl_array): New variables.
7586 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7587 are defined.
7588 (test_init): Call __libc_ifunc_impl_list to initialize
7589 func_list if TEST_IFUNC and TEST_NAME are defined.
7590
9a387d1f
L
7591 * string/Makefile (strop-tests): Add bcopy and bzero.
7592 * string/test-bcopy.c: New file.
7593 * string/test-bzero.c: Likewise.
7594 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7595 defined.
7596 * string/test-memset.c: Support bzero test if TEST_BZERO is
7597 defined.
7598 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7599 __libc_memmove.
7600 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7601 __libc_memset.
7602 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7603 of memset.
7604
472371b9
JM
76052012-10-10 Joseph Myers <joseph@codesourcery.com>
7606
1e4a9536
JM
7607 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7608 * configure: Regenerated.
7609
d173d12e
JM
7610 * Makeconfig (+link-static-before-libc): Don't include
7611 $(link-static-libc).
7612
472371b9
JM
7613 * libio/libio.h (_IO_pos_t): Remove.
7614
89a3ad0b
AO
76152012-10-10 Alexandre Oliva <aoliva@redhat.com>
7616
7617 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7618 McGrath.
7619
e7451425
AO
76202012-10-10 Alexandre Oliva <aoliva@redhat.com>
7621
7622 * crypt/crypt-entry.c: Include fips-private.h.
7623 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7624 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7625 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7626 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7627
4ba74a35
AO
76282012-10-10 Alexandre Oliva <aoliva@redhat.com>
7629
7630 * crypt/crypt-private.h: Include stdbool.h.
7631 (_ufc_setup_salt_r): Return bool.
7632 * crypt/crypt-entry.c: Include errno.h.
7633 (__crypt_r): Return NULL with EINVAL for bad salt.
7634 * crypt/crypt_util.c (bad_for_salt): New.
7635 (_ufc_setup_salt_r): Check that salt is long enough and within
7636 the specified alphabet.
7637 * crypt/badsalttest.c: New file.
7638 * crypt/Makefile (tests): Add it.
7639 ($(objpfx)badsalttest): New.
7640
f96f1242
MK
76412012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7642
7643 * NEWS: Add entry for BZ #14602.
7644
0e8e0c1c
JM
76452012-10-09 Joseph Myers <joseph@codesourcery.com>
7646
7647 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7648 type-generic.
7649 * math/libm-test.inc: Update comment listing what functions and
7650 macros are tested.
7651 (isgreater_test): New function.
7652 (isgreaterequal_test): Likewise.
7653 (isless_test): Likewise.
7654 (islessequal_test): Likewise.
7655 (islessgreater_test): Likewise.
7656 (isunordered_test): Likewise.
7657 (main): Call the new functions.
7658
273edc5e
RM
76592012-10-09 Roland McGrath <roland@hack.frob.com>
7660
b8493de0
RM
7661 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7662 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7663 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7664 * sysdeps/i386/configure: Regenerated.
7665 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7666 * sysdeps/mach/configure: Regenerated.
7667 * sysdeps/mach/hurd/configure: Regenerated.
7668 * sysdeps/powerpc/configure: Regenerated.
7669 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7670 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7671 * sysdeps/s390/s390-32/configure: Regenerated.
7672 * sysdeps/s390/s390-64/configure: Regenerated.
7673 * sysdeps/sh/configure: Regenerated.
7674 * sysdeps/sparc/configure: Regenerated.
7675 * sysdeps/unix/sysv/linux/configure: Regenerated.
7676 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7677 * sysdeps/x86_64/configure: Regenerated.
7678
273edc5e
RM
7679 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7680 defined. Don't check if MAP is NULL.
7681
c8450f70
JM
76822012-10-09 Joseph Myers <joseph@codesourcery.com>
7683
7684 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7685 (_G_stat64): Likewise.
7686 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7687 (_G_stat64): Likewise.
7688 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7689 instead of struct _G_stat64.
7690 * libio/fileops.c (mmap_remap_check): Likewise.
7691 (decide_maybe_mmap): Likewise.
7692 (_IO_new_file_seekoff): Likewise.
7693 (_IO_file_stat): Likewise.
7694 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7695 _G_off64_t.
7696 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7697 instead of struct _G_stat64.
7698 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7699
57e605ba
MK
77002012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7701
7702 [BZ #14602]
7703 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7704 Replace with ...
7705 (CHECK_EOL): New macro.
7706 (two_way_short_needle): Check beginning of haystack for EOL. Use
7707 CHECK_EOL.
7708 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7709 Replace with CHECK_EOL.
7710 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7711 Replace with CHECK_EOL.
7712
ef1bb361
JM
77132012-10-08 Joseph Myers <joseph@codesourcery.com>
7714
7715 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7716 type-generic.
7717 * math/libm-test.inc: Update comment listing what functions and
7718 macros are tested.
7719 (finite_test): New function.
7720 (isinf_test): Likewise.
7721 (isnan_test): Likewise.
7722 (fpclassify_test): Test subnormal input.
7723 (isfinite_test): Likewise.
7724 (isnormal_test): Likewise.
7725 (main): Call the new functions.
7726
55f11534
JN
77272012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7728
7729 [BZ #14660]
7730 * Makerules (%.dynsym): Force C locale when running
7731 $(OBJDUMP) --dynamic-syms.
7732
1ab29350
AS
77332012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7734
7735 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7736 <stdint.h>.
7737
f1ecb7ef
DM
77382012-10-06 David S. Miller <davem@davemloft.net>
7739
7740 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7741 upper 32-bits of the length value in %o2 since we use branch-on-register
7742 tests which consider the entire 64-bit register.
7743
5d41d91a
L
77442012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7745
7746 * string/test-strstr.c (check2): Add a test for page boundary.
7747
3baddb72
DM
77482012-10-05 David S. Miller <davem@davemloft.net>
7749
7750 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7751 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7752 file.
7753 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7754 sysdep_routines.
7755 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7756 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7757 and bzero when HWCAP_SPARC_CRYPTO is present.
7758
9cee5585
L
77592012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7760
d7e0dab9
L
7761 [BZ #14602]
7762 * string/test-strstr.c (check2): New function.
7763 (test_main): Call check2.
7764
03759f47
L
7765 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7766 and bug-strchr1.
7767 * string/bug-strcasestr1.c (do_test): Moved to ...
7768 * string/test-strcasestr.c (check1): Here. New function.
7769 (do_one_test): Break out result checking code into ...
7770 (check_result): This. New function.
7771 (do_one_test): Call check_result.
7772 (test_main): Call check1.
7773 * string/bug-strchr1.c (do_test): Moved to ...
7774 * string/test-strchr.c (check1): Here. New function.
7775 (do_one_test): Break out result checking code into ...
7776 (check_result): This. New function.
7777 (do_one_test): Call check_result.
7778 (test_main): Call check1.
7779 * string/bug-strstr1.c (main): Moved to ...
046f153e 7780 * string/test-strstr.c (check1): Here. New function.
03759f47
L
7781 (do_one_test): Break out result checking code into ...
7782 (check_result): This. New function.
7783 (do_one_test): Call check_result.
7784 (test_main): Call check1.
7785 * string/bug-strcasestr1.c: Removed.
7786 * string/bug-strchr1.c: Likewise.
7787 * string/bug-strstr1.c: Likewise.
7788
53cea63e
L
7789 * elf/Makefile (dl-routines): Add hwcaps.
7790 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7791 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7792 (_dl_important_hwcaps): Moved to ...
7793 * elf/dl-hwcaps.c: Here. New file.
7794 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7795
9cee5585 7796 [BZ #14557]
bb859b06
L
7797 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7798 if IS_IN_rtld isn't defined.
7799
9cee5585
L
7800 * elf/dl-support.c (_dl_sysinfo_map): New.
7801 Include "get-dynamic-info.h" and "setup-vdso.h".
7802 (_dl_non_dynamic_init): Call setup_vdso.
7803 * elf/dynamic-link.h: Don't include <assert.h>.
7804 (elf_get_dynamic_info): Moved to ...
7805 * elf/get-dynamic-info.h: Here. New file.
7806 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7807 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7808 * elf/setup-vdso.h: Here. New file.
7809 * elf/rtld.c: Include "setup-vdso.h".
7810 (dl_main): Call setup_vdso.
7811
23c31b76
JM
78122012-10-05 Joseph Myers <joseph@codesourcery.com>
7813
28234b07
JM
7814 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7815 creal in comment listing functions tested. List finite, isinf,
7816 isnan, isless, islessequal, isgreater, isgreaterequal,
7817 islessgreater, isunordered, lgamma_r and pow10 as functions and
7818 macros not tested. Mention which functions not tested are aliases
7819 for other functions. Fix typo. Note that signs of NaNs are not
7820 tested.
7821
23c31b76
JM
7822 * scripts/config.guess: Update from config.git.
7823 * scripts/config.sub: Likewise.
7824
9043e228
RM
78252012-10-04 Roland McGrath <roland@hack.frob.com>
7826
7827 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7828 * misc/madvise.c (madvise): Renamed to __madvise.
7829 Make madvise a weak alias.
7830 * include/sys/mman.h: Declare __madvise.
7831 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7832 * sysdeps/unix/syscalls.list
7833 (madvise): Make __madvise the strong name, and madvise a weak alias.
7834 * sysdeps/unix/sysv/linux/syscalls.list
7835 (madvise, mmap): Remove redundant entries.
7836 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7837 * malloc/malloc.c (mtrim): Likewise.
7838 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7839
f57f8055
RM
78402012-10-03 Roland McGrath <roland@hack.frob.com>
7841
7842 * sysdeps/mach/hurd/dl-cache.c: File removed.
7843 * config.h.in (USE_LDCONFIG): New #undef.
7844 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7845 * configure: Regenerated.
7846 * elf/Makefile (dl-routines): Add dl-cache only under
7847 [$(use-ldconfig) = yes].
7848 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7849 cache on [USE_LDCONFIG].
7850 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7851 [USE_LDCONFIG].
7852 * elf/rtld.c (dl_main): Likewise.
7853
5bb0c10a
PT
78542012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7855
7856 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7857 _SC_LEVEL4_CACHE_LINESIZE.
7858
010188c6
RM
78592012-10-03 Roland McGrath <roland@hack.frob.com>
7860
7861 * sysdeps/unix/bsd/confstr.h: File removed.
7862
b6c5ec07
AO
78632012-10-02 Alexandre Oliva <aoliva@redhat.com>
7864
7865 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7866 sys/sdt-config.h.
7867
408223d4
RM
78682012-10-02 Roland McGrath <roland@hack.frob.com>
7869
7870 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7871 Make 'mapoff' field ElfW(Off) rather than off_t.
7872
bb9510dc
DL
78732012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7874
fc997c6e
DL
7875 * nscd/Makefile: Remove nscd-cflags and all its users.
7876 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7877 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7878
bb9510dc
DL
7879 [BZ #10631]
7880 * malloc.c (malloc_printerr): Clarify error message.
7881
05699367
L
78822012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7883
7884 [BZ #14648]
7885 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7886 Set bit_FMA_Usable if FMA is supported.
7887 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7888 macro.
7889 (bit_FMA4_Usable): Updated.
7890 (index_FMA_Usable): New macro.
7891 (CPUID_FMA): Likewise
7892 (HAS_FMA): Defined with bit_FMA_Usable.
7893
51367701
RM
78942012-10-01 Roland McGrath <roland@hack.frob.com>
7895
7896 * bits/types.h (__swblk_t): Type removed.
7897 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7898 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7899 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7900 (__SWBLK_T_TYPE): Likewise.
7901 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7902 (__SWBLK_T_TYPE): Likewise.
7903 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7904 (__SWBLK_T_TYPE): Likewise.
7905 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7906 (__SWBLK_T_TYPE): Likewise.
7907
4d57bf63 79082012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 7909 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
7910
7911 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7912 (xdr_mapname): Use YPMAXMAP as maxsize.
7913 (xdr_peername): Use YPMAXPEER as maxsize.
7914 (xdr_keydat): Use YPAXRECORD as maxsize.
7915 (xdr_valdat): Use YPMAXRECORD as maxsize.
7916
93c65d43
RM
79172012-10-01 Roland McGrath <roland@hack.frob.com>
7918
497a03d6
RM
7919 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7920
93c65d43
RM
7921 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7922 * csu/init-first.c: ... here.
7923 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7924 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7925 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7926 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7927 * sysdeps/i386/init-first.c: File removed.
7928 * sysdeps/sh/init-first.c: File removed.
7929
bec749fd
JM
79302012-10-01 Joseph Myers <joseph@codesourcery.com>
7931
7932 [BZ #14645]
7933 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7934 if x * y might underflow to zero and z is zero.
7935 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7936 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7937 * math/libm-test.inc (min_subnorm_value): New variable.
7938 (fma_test): Add more tests.
7939 (fma_test_towardzero): Likewise.
7940 (fma_test_downward): Likewise
7941 (fma_test_upward): Likewise.
7942 (initialize): Set min_subnorm_value.
7943
8ec5b013
JM
79442012-09-29 Joseph Myers <joseph@codesourcery.com>
7945
7946 [BZ #14638]
7947 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7948 0 + 0.
7949 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7950 mode for addition resulting in exact zero.
7951 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7952 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7953 exact 0 + 0.
7954 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7955 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7956 * math/libm-test.inc (fma_test): Add more tests.
7957 (fma_test_towardzero): New function.
7958 (fma_test_downward): Likewise.
7959 (fma_test_upward): Likewise.
7960 (main): Call the new functions.
7961
b1fa802e
DM
79622012-09-28 David S. Miller <davem@davemloft.net>
7963
7964 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7965
d3b9fd9e
RM
79662012-09-28 Roland McGrath <roland@hack.frob.com>
7967
ea4d37b3
RM
7968 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7969 instead of SIGALRM.
7970
ac51c949
RM
7971 * sysdeps/gnu/_G_config.h: Moved to ...
7972 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7973 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7974 * sysdeps/generic/_G_config.h: ... here.
7975
28c195f7
RM
7976 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7977
848917f9
RM
7978 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7979
6bacf05b
RM
7980 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
7981 Conditionalize target on [libnss_test1.so-version].
7982
91363dbb
RM
7983 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
7984
cc87f7d8
RM
7985 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
7986 (elfobjdir): Move out of conditionals.
7987
b1c608fe
RM
7988 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
7989 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
7990 (__nss_lookup_function): Conditionalize label remove_from_tree on
7991 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 7992
1d9a6d96
DM
79932012-09-28 David S. Miller <davem@davemloft.net>
7994
7995 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
7996 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
7997 file.
7998 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7999 sysdep_routines.
8000 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8001 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8002 when HWCAP_SPARC_CRYPTO is present.
8003
72581615
PT
80042012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8005
8006 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8007
715a900c
JL
80082012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8009
8010 [BZ #6530]
8011 * stdio-common/vfprintf.c (process_string_arg): Revert
8012 2000-07-22 change.
8013
80142011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8015
8016 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8017 for testcase.
8018 * stdio-common/tst-sprintf.c: Include <locale.h>
8019 (main): Test sprintf's handling of incomplete multibyte
8020 characters.
8021
9bac1d86
L
80222012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8023
8024 * elf/dl-runtime.c (VERSYMIDX): Removed.
8025 * elf/dl-version.c (VERSYMIDX): Likewise.
8026 * elf/do-rel.h (VERSYMIDX): Likewise.
8027 (VALIDX): Likewise.
8028 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8029 * elf/rtld.c (VALIDX): Likewise.
8030 (ADDRIDX): Likewise.
9bac1d86
L
8031 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8032 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8033 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
8034 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8035 (VALIDX): Likewise.
8036 (ADDRIDX): Likewise.
9bac1d86 8037
b31606c0
PT
80382012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8039
8040 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8041
11541177
JL
80422012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8043
8044 [BZ #11438]
8045 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8046 to global scope.
8047 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8048 addresses are in the same scope as 192.0.2/24.
8049 * posix/gai.conf: Document new scope table defaults.
8050
adb26fae
SP
80512012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8052
8053 [BZ #5298]
8054 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8055 for ftell. Compute offsets from write pointers instead.
8056 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8057
4573c6b0
SP
80582012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8059
8060 [BZ #14543]
8061 * libio/Makefile (tests): New test case tst-fseek.
8062 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8063 combination works in wide mode.
8064 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8065 state when the external buffer state changes.
8066
aa9bbfe6
DM
80672012-09-27 David S. Miller <davem@davemloft.net>
8068
8069 [BZ #14376]
8070 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8071 pass reloc->r_addend in as the 'high' argument to
8072 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8073
784421e7
DM
8074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8075
c39bc8b8
PT
80762012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8077
8078 * rt/tst-aio2.c: Include <pthread.h>.
8079 * rt/tst-aio3.c: Likewise.
8080
1ccc2399
SE
80812012-09-27 Steve Ellcey <sellcey@mips.com>
8082
8083 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8084
31ed4153
L
80852012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8086
25f5f885
L
8087 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8088 contents on [SHARED].
31ed4153 8089
b7bfe116
MP
80902012-09-26 Marek Polacek <polacek@redhat.com>
8091
8092 [BZ #14530]
8093 [BZ #13741]
8094 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8095 for C++ and GCC <4.3 as well as for non GCC compilers.
8096
43c4edba
MT
80972012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8098
8099 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8100
6a1bf82f
RM
81012012-09-25 Roland McGrath <roland@hack.frob.com>
8102
8103 * Makefile.in (all, install): Declare with .PHONY.
8104 Reported by Michael Hope <michael.hope@linaro.org>.
8105
8ad11b9a
TMQMF
81062012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8107
8108 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8109 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8110 system header.
8111 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8112 Likewise.
8113 (sydep_routines): Add the new and the internal functions.
8114 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8115 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8117 (GLIBC_2.17): Add the new function.
8118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8119 (GLIBC_2.17): Likewise.
8120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8121 (GLIBC_2.17): Likewise.
8122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8123 (GLIBC_2.17): Likewise.
8124 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8125
7e2fca8d
AM
81262012-09-25 Alan Modra <amodra@gmail.com>
8127
8128 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8129 Add release barrier before setting once_control to say
8130 initialisation is done. Add hints on lwarx. Use macro in
8131 place of isync.
8132 (clear_once_control): Add release barrier.
8133
b87c4b24
JM
81342012-09-25 Joseph Myers <joseph@codesourcery.com>
8135
d032e0d2
JM
8136 [BZ #13629]
8137 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8138 specially.
8139 * math/s_clog10.c (__clog10): Likewise.
8140 * math/s_clog10f.c (__clog10f): Likewise.
8141 * math/s_clog10l.c (__clog10l): Likewise.
8142 * math/s_clogf.c (__clogf): Likewise.
8143 * math/s_clogl.c (__clogl): Likewise.
8144 * math/Makefile (libm-calls): Add x2y2m1.
8145 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8146 (__x2y2m1): Likewise.
8147 (__x2y2m1l): Likewise.
8148 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8149 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8150 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8151 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8152 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8153 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8154 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8155 * sysdeps/i386/fpu/libm-test-ulps: Update.
8156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8157
b87c4b24
JM
8158 [BZ #14621]
8159 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8160 int as type of variable DEPTH.
8161 (glob): Use size_t instead of int as type of variables NEWCOUNT
8162 and OLD_PATHC.
8163
6d3bf199
LD
81642012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8165
22bf5c17
LD
8166 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8167 Add s_sincosf-sse2.
8168 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8169 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8170 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8171 macros for using routine as __sincosf_ia32.
8172 Use macro for function declaration and weak_alias.
8173 * sysdeps/i386/fpu/libm-test-ulps: Update.
8174
8175 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8176 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8177
8178 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
8179 subnormal argument.
8180 * math/s_cexpf.c (__cexpf): Likewise.
8181 * math/s_csinf.c (__csinf): Likewise.
8182 * math/s_csinhf.c (__csinhf): Likewise.
8183 * math/s_ctanf.c (__ctanf): Likewise.
8184 * math/s_ctanhf.c (__ctanhf): Likewise.
8185 * math/s_ccosh.c (__ccoshf): Likewise.
8186 * math/s_cexp.c (__cexpl): Likewise.
8187 * math/s_csin.c (__csin): Likewise.
8188 * math/s_csinh.c (__csinh): Likewise.
8189 * math/s_ctan.c (__ctan): Likewise.
8190 * math/s_ctanh.c (ctanh): Likewise.
8191 * math/s_ccoshl.c (__ccoshl): Likewise.
8192 * math/s_cexpl.c (__cexpl): Likewise.
8193 * math/s_csinl.c (__csinl): Likewise.
8194 * math/s_csinhl.c (__csinhl): Likewise.
8195 * math/s_ctanl.c (__ctanl): Likewise.
8196 * math/s_ctanhl.c (__ctanhl): Likewise.
8197
203e5603
JM
81982012-09-25 Joseph Myers <joseph@codesourcery.com>
8199
8200 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8201 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8202 (_IO_off_t): Define to __off_t, not _G_off_t.
8203 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8204 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8205 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8206 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8207 type of __dummy and __dummy2 fields.
8208 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8209 (_G_ssize_t): Likewise.
8210 (_G_off_t): Likewise.
8211 (_G_pid_t): Likewise.
8212 (_G_uid_t): Likewise.
8213 (_G_wchar_t): Likewise.
8214 (_G_wint_t): Likewise.
8215 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8216 (_G_ssize_t): Likewise.
8217 (_G_off_t): Likewise.
8218 (_G_pid_t): Likewise.
8219 (_G_uid_t): Likewise.
8220 (_G_wchar_t): Likewise.
8221 (_G_wint_t): Likewise.
8222 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8223 (_G_ssize_t): Likewise.
8224 (_G_off_t): Likewise.
8225 (_G_pid_t): Likewise.
8226 (_G_uid_t): Likewise.
8227 (_G_wchar_t): Likewise.
8228 (_G_wint_t): Likewise.
8229
9fab36eb
SP
82302012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8231
8232 * malloc/arena.c: Include malloc-sysdep.h.
8233 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8234 is sufficient to shrink the heap or an unmap is needed.
8235 * sysdeps/generic/malloc-sysdep.h: New file. Define
8236 new function check_may_shrink_heap.
8237 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8238 new function check_may_shrink_heap.
8239
2b4f00d1
SP
82402012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8241
8242 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8243 comments.
8244
9a9028b1
DL
82452012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8246
57c69bef
DL
8247 * catgets/test-gencat.sh: Add "set -e".
8248 * elf/tst-pathopt.sh: Likewise.
8249 * grp/tst_fgetgrent.sh: Likewise.
8250 * iconvdata/run-iconv-test.sh: Likewise.
8251 * intl/tst-gettext.sh: Likewise.
8252 * intl/tst-gettext2.sh: Likewise.
8253 * intl/tst-gettext4.sh: Likewise.
8254 * intl/tst-gettext6.sh: Likewise.
8255 * intl/tst-translit.sh: Likewise.
8256 * io/ftwtest-sh: Likewise.
8257 * libio/test-freopen.sh: Likewise.
8258 * malloc/tst-mtrace.sh: Likewise.
8259 * posix/globtest.sh: Likewise.
8260 * posix/tst-getconf.sh: Likewise.
8261 * posix/wordexp-tst.sh: Likewise.
8262 * stdio-common/tst-printf.sh: Likewise.
8263 * stdio-common/tst-unbputc.sh: Likewise.
8264 * stdlib/tst-fmtmsg.sh: Likewise.
8265 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8266 * catgets/Makefile: Do not specify -e option when running
8267 testsuite shell scripts.
8268 * elf/Makefile: Likewise.
8269 * grp/Makefile: Likewise.
8270 * iconvdata/Makefile: Likewise.
8271 * intl/Makefile: Likewise.
8272 * io/Makefile: Likewise.
8273 * libio/Makefile: Likewise.
8274 * malloc/Makefile: Likewise.
8275 * posix/Makefile: Likewise.
8276 * stdio-common/Makefile: Likewise.
8277 * stdlib/Makefile: Likewise.
8278 * sysdeps/x86_64/Makefile: Likewise.
8279
9a9028b1
DL
8280 * io/ftwtest-sh: Add copyright header.
8281 * posix/globtest.sh: Likewise.
8282 * posix/tst-getconf.sh: Likewise.
8283 * posix/wordexp-tst.sh: Likewise.
8284 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8285
ced6f16e
L
82862012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8287
94b32c39
L
8288 [BZ #13679]
8289 * Makeconfig (+link): Defined as $(+link-static) if
8290 $(build-shared) isn't yes.
8291 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8292 isn't yes.
8293 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8294
189e935b
L
8295 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8296
ced6f16e
L
8297 [BZ #14562]
8298 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8299 new chunk size with MALLOC_ALIGN_MASK.
8300
a9f8e53a
JM
83012012-09-24 Joseph Myers <joseph@codesourcery.com>
8302
8303 [BZ #5044]
8304 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8305 <rounding-mode.h>.
8306 (__printf_fphex): Determine rounding using get_rounding_mode and
8307 round_away.
8308 * stdio-common/tst-printf-round.c (struct hex_test): New
8309 structure.
8310 (hex_tests): New variable.
8311 (test_hex_in_one_mode): New function.
8312 (do_test): Also run tests for hex float output.
8313
43153109
JM
83142012-09-21 Joseph Myers <joseph@codesourcery.com>
8315
8316 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8317 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8318 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8319 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8320 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8321 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8322 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8323 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8324
8a26625d
JM
83252012-09-20 Joseph Myers <joseph@codesourcery.com>
8326
8327 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8328 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8329 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8330 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8331
f3fd569c
DL
83322012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8333
8334 [BZ #14579]
8335 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8336 mode only.
8337 * elf/tst-rtld-load-self.sh: New test.
8338 * elf/Makefile: Run it.
8339
63bbedd4
JM
83402012-09-18 Joseph Myers <joseph@codesourcery.com>
8341
8342 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8343 (tst-writev-ENV): Remove.
8344 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8345
626f8b6a
CM
83462012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8347
8348 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8349
b7aaa4d6
JM
83502012-09-17 Joseph Myers <joseph@codesourcery.com>
8351
8352 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8353 unconditional.
8354 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8355 Likewise.
8356 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8357 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8358 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8359 Likewise.
8360
65513990
L
83612012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8362
8363 [BZ #14587]
8364 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8365 * config.make.in (have-cpp-asm-debuginfo): Removed.
8366 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8367 * configure: Regenerated.
8368
784761be
JM
83692012-09-14 Joseph Myers <joseph@codesourcery.com>
8370
8371 [BZ #5044]
8372 * stdio-common/printf_fp.c: Include <stdbool.h> and
8373 <rounding-mode.h>.
8374 (___printf_fp): Determine rounding using get_rounding_mode and
8375 round_away.
8376 * stdio-common/tst-printf-round.c: New file.
8377 * stdio-common/Makefile (tests): Add tst-printf-round.
8378 (link-libm): New variable.
8379 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8380
9503345f
L
83812012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8382
8383 [BZ #14576]
8384 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8385 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8386 Likewise.
8387 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8388 Likewise.
8389
ad35fc00
JM
83902012-09-13 Joseph Myers <joseph@codesourcery.com>
8391
8392 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8393 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8394 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8395 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8396
6c9b0f68
JM
83972012-09-12 Joseph Myers <joseph@codesourcery.com>
8398
8399 [BZ #14518]
8400 * include/rounding-mode.h: New file.
8401 * sysdeps/generic/get-rounding-mode.h: Likewise.
8402 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8403 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8404 (MAX_VALUE): New macro.
8405 (MIN_VALUE): Likewise.
8406 (overflow_value): New function.
8407 (underflow_value): Likewise.
8408 (round_and_return): Use overflow_value and underflow_value to
8409 determine return values in overflow and underflow cases. Use
8410 round_away to determine rounding depending on rounding mode.
8411 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8412 determine return values in overflow and underflow cases.
8413 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8414 (struct test_results): New structure.
8415 (struct test): Use struct test_results to store expected results
8416 for all rounding modes.
8417 (TEST): Include expected results for all rounding modes.
8418 (test_in_one_mode): New function.
8419 (do_test): Use test_in_one_mode to compute and check results.
8420 Check results for all rounding modes.
8421 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8422 $(link-libm).
8423
19fcedd5
AM
84242012-12-09 Allan McRae <allan@archlinux.org>
8425
1e9d84cd 8426 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 8427
8bbfd2f1
JM
84282012-09-11 Joseph Myers <joseph@codesourcery.com>
8429
8430 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8431 (_G_int32_t): Likewise.
8432 (_G_uint16_t): Likewise.
8433 (_G_uint32_t): Likewise.
8434 (_G_HAVE_BOOL): Likewise.
8435 (_G_HAVE_ATEXIT): Likewise.
8436 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8437 (_G_HAVE_IO_FILE_OPEN): Likewise.
8438 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8439 (_G_int32_t): Likewise.
8440 (_G_uint16_t): Likewise.
8441 (_G_uint32_t): Likewise.
8442 (_G_HAVE_BOOL): Likewise.
8443 (_G_HAVE_ATEXIT): Likewise.
8444 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8445 (_G_HAVE_IO_FILE_OPEN): Likewise.
8446 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8447 (_G_int32_t): Likewise.
8448 (_G_uint16_t): Likewise.
8449 (_G_uint32_t): Likewise.
8450 (_G_HAVE_BOOL): Likewise.
8451 (_G_HAVE_ATEXIT): Likewise.
8452 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8453 (_G_HAVE_IO_FILE_OPEN): Likewise.
8454
b1dc5912
L
84552012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8456
8457 * csu/libc-tls.c: Update copyright years.
8458
0e886ef9
JM
84592012-09-10 Joseph Myers <joseph@codesourcery.com>
8460
28361c5e
JM
8461 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8462 [!_G_USING_THUNKS]: Remove conditional code.
8463 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8464 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8465
0e886ef9
JM
8466 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8467 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8468 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8469 (_G_VTABLE_LABEL_PREFIX): Likewise.
8470 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8471 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8472 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8473 (_G_VTABLE_LABEL_PREFIX): Likewise.
8474 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8475 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8476 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8477 (_G_VTABLE_LABEL_PREFIX): Likewise.
8478 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8479
bcba7aa2
L
84802012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8481
8482 * libio/Makefile: Include ../Makeconfig before tests.
8483 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8484 only if $(build-shared) is yes.
8485
06585ee8
L
8486 * iconv/gconv_db.c: Update copyright years.
8487
80ccd52c
LD
84882012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8489
8490 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8491 unwind info if defined PIC. Fix special cases description.
8492 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8493
8494 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8495 DP_HI_MASK entry.
8496 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8497
691bc9c1
L
84982012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8499
3d9b46b3
L
8500 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8501
de2139a9
L
8502 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8503 is NULL.
8504
5ca78dd0
L
8505 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8506 (LDLIBS-tst-chk4): This.
8507 (LDFLAGS-tst-chk5): Renamed to ...
8508 (LDLIBS-tst-chk5): This.
8509 (LDFLAGS-tst-chk6): Renamed to ...
8510 (LDLIBS-tst-chk6): This.
8511 (LDFLAGS-tst-lfschk4): Renamed to ...
8512 (LDLIBS-tst-lfschk4): This.
8513 (LDFLAGS-tst-lfschk5): Renamed to ...
8514 (LDLIBS-tst-lfschk5): This.
8515 (LDFLAGS-tst-lfschk6): Renamed to ...
8516 (LDLIBS-tst-lfschk6): This.
8517
691bc9c1
L
8518 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8519 on $(common-objpfx)soversions.mk.
8520
65cafb1c
JM
85212012-09-07 Joseph Myers <joseph@codesourcery.com>
8522
8523 [BZ #10014]
8524 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8525 example host name.
8526
c78ab094
SP
85272012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8528
8529 * malloc/arena.c (arena_get_retry): New function that gets
8530 another arena for the caller to try its request on.
8531 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8532 current arena cannot fulfill the request.
8533 (__libc_memalign): Likewise.
8534 (__libc_memalign): Likewise.
8535 (__libc_pvalloc): Likewise.
8536 (__libc_calloc): Likewise.
8537
01f49f59
JT
85382012-09-05 John Tobey <john.tobey@gmail.com>
8539
8540 [BZ #13542]
8541 * manual/arith.texi (Operations on Complex): Fix description
8542 of carg branch cut.
8543
4c23fed5
JM
85442012-09-06 Joseph Myers <joseph@codesourcery.com>
8545
1d3c8572
JM
8546 [BZ #10014]
8547 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8548 host name.
8549
4c23fed5
JM
8550 [BZ #10038]
8551 * manual/memory.texi (Memory): Make order of menu items match
8552 order of sections.
8553
04570aaa
L
85542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8555
8556 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8557 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8558 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8559
b80af2f4
L
85602012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8561
8562 * csu/libc-tls.c (static_dtv): Renamed to ...
8563 (_dl_static_dtv): This. Make it global.
8564 (_dl_initial_dtv): Removed.
8565 (__libc_setup_tls): Updated.
8566 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8567 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8568 DL_INITIAL_DTV.
8569
2abe9f15
PM
85702012-09-06 Petr Machata <pmachata@redhat.com>
8571
8572 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8573 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8574 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8575 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8576
0948c3af
L
85772012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8578
8579 [BZ #14545]
8580 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8581 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8582 freeing dtv[-1].
8583
a5055ad1
L
85842012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8585
8586 [BZ #14544]
8587 * Makeconfig (link-static-before-libc): Replace $(+prector)
8588 with $(+prectorT).
8589 (link-static-after-libc): Replace $(+postctor) with
8590 $(+postctorT).
8591 (link-bounded): Replace $(+prector)/$(+postctor) with
8592 $(+prectorT)/$(+postctorT).
8593 (+prectorT): New macro.
8594 (+postctorT): Likewise.
8595
ed8c2ecd
JM
85962012-09-06 Joseph Myers <joseph@codesourcery.com>
8597
8598 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8599 (round_str): Handle values above the maximum for IBM long double
8600 as inexact.
8601 * stdlib/tst-strtod-round.c (tests): Regenerated.
8602
14c996c8
AK
86032012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8604
8605 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8606 assembler flag.
8607 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8608 zarch_nohighgprs around the zarch optimized routines.
8609 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8610 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8611 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8612 for zarch.
8613
430d6ce6
DM
86142012-09-05 David S. Miller <davem@davemloft.net>
8615
8616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8617
ff04dda4
DM
8618 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8619 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8620 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8621 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8622 entries.
8623
24d4e01b
AO
86242012-09-05 Alexandre Oliva <aoliva@redhat.com>
8625
8626 * malloc/arena.c: Fold copyright years.
8627 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8628
61d58174
AO
86292012-09-05 Alexandre Oliva <aoliva@redhat.com>
8630
8631 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8632
20196a5e
AO
86332012-09-05 Alexandre Oliva <aoliva@redhat.com>
8634
8635 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8636
5c447383
AO
86372012-09-05 Alexandre Oliva <aoliva@redhat.com>
8638
8639 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8640 change internal state upon failure.
8641
fad64255
AO
86422012-09-05 Alexandre Oliva <aoliva@redhat.com>
8643
8644 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8645 * malloc/memusage.c (mmap): Likewise.
8646 (mmap64, mremap): Likewise. Adjust name in comment.
8647
1ffb8c90
SP
86482012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8649
8650 * libio/fileops.c: Fix typos in comments.
8651 * libio/oldfileops.c: Likewise.
8652 * libio/wfileops.c: Likewise.
8653
6ef9cc37
SP
86542012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8655
8656 [BZ #1349]
8657 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8658 (tst-malloc-usable-ENV): Set environment for test case.
8659 * malloc/hooks.c (malloc_check_get_size): New function to get
8660 requested size.
8661 * malloc/malloc.c (musable): Use malloc_check_get_size.
8662 * malloc/tst-malloc-usable.c: New test case.
8663
4d038ae3
AS
86642012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8665
8666 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8667
c4e85184
AM
86682012-09-05 Allan McRae <allan@archlinux.org>
8669
b9dafc56 8670 [BZ #13966]
c4e85184
AM
8671 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8672 determine header location.
8673 * configure: Regenerated.
8674
e1343020
AS
86752012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8676
8677 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8678 float format.
8679 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
8680 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8681 format.
e1343020
AS
8682 (test): Regenerate.
8683
0a9f1987
DM
86842012-09-04 David S. Miller <davem@davemloft.net>
8685
8686 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8687 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8688 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8689
29237804
FW
86902012-09-04 Florian Weimer <fweimer@redhat.com>
8691
8692 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8693 failures.
8694
edb3cb88
FW
8695 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8696
60160d83
JM
86972012-09-04 Joseph Myers <joseph@codesourcery.com>
8698
8699 [BZ #9914]
8700 * libio/iogetdelim.c: Include <limits.h>.
8701 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8702 + len + 1 would overflow.
8703
bcd6c8dc
AJ
87042012-09-03 Andreas Jaeger <aj@suse.de>
8705
8706 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8707 * sysdeps/i386/fpu/libm-test-ulps: Update.
8708
4ffffbd2
LD
87092012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8710
8711 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8712 Add s_sinf-sse2, s_conf-sse2.
8713
8714 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8715 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8716 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8717 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8718
8719 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8720 for using routine as __sinf_ia32.
8721 Use macro for function declaration and weak_alias.
8722 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8723 for using routine as __cosf_ia32.
8724 Use macro for function declaration and weak_alias.
8725
8726 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8727 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8728
8729 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8730 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8731 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8732
8733 * math/libm-test.inc (cos_test): Add more test cases.
8734 (sin_test): Likewise.
8735 (sincos_test): Likewise.
8736
511fa286
AK
87372012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8738
8739 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8740 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8741 hidden.
8742 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8743
5f30cfec
L
87442012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8745
8746 [BZ #14538]
8747 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8748 first element of the GOT.
8749 (elf_machine_load_address): Return the difference between
8750 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8751
0786794f
AM
87522012-09-01 Allan McRae <allan@archlinux.org>
8753
5f30cfec
L
8754 [BZ #13412]
8755 * configure.in (AWK): Require gawk version 3.0 or later.
8756 * configure: Regenerated.
0786794f 8757
26889eac
JM
87582012-09-01 Joseph Myers <joseph@codesourcery.com>
8759
8760 * sysdeps/unix/sysv/linux/kernel-features.h
8761 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8762 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8763 [__NR_clock_getres]: Make code unconditional.
8764 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8765 (clock_getcpuclockid): Remove code left unreachable by removal of
8766 conditionals.
8767 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8768 code unconditional.
8769 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8770 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8771 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8772 Make code unconditional.
8773 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8774 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8775 * sysdeps/unix/sysv/linux/clock_settime.c
8776 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8777 conditional code.
8778 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8779 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8780
d22e28b0
L
87812012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8782
8783 [BZ #14476]
8784 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8785 scripts/test-installation.pl.
8786
8787 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8788 and $ld_so_version if it is set.
8789
050af9c4
SP
87902012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8791
8792 [BZ #14516]
8793 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8794 failure if reading from procfs failed.
8795 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8796
ad845c0b
JM
87972012-08-27 Joseph Myers <joseph@codesourcery.com>
8798
8799 * sysdeps/unix/sysv/linux/kernel-features.h
8800 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8801 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8802 Remove conditional code.
8803 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8804 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8805 Remove conditional code.
8806 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8807 * sysdeps/unix/sysv/linux/i386/fxstat.c
8808 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8809 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8810 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8811 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8812 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8813 * sysdeps/unix/sysv/linux/i386/lxstat.c
8814 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8815 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8816 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8817 Remove conditional code.
8818 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8819 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8820 Remove conditional code.
8821 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8822 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8823 <kernel-features.h>.
8824 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8825 Remove.
8826 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8827 Remove conditional code.
8828 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8829 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8830 Remove conditional.
8831
5dbf56af
MF
88322012-08-27 Mike Frysinger <vapier@gentoo.org>
8833
8834 [BZ #5400]
8835 * NEWS: Add fixed bug number.
8836
d6e70f43
JM
88372012-08-27 Joseph Myers <joseph@codesourcery.com>
8838
7efb4737
JM
8839 [BZ #14519]
8840 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8841 underflowing exponent in case of negative sign.
8842 * stdlib/tst-strtod-round-data: Add more tests.
8843 * stdlib/tst-strtod-round.c (tests): Regenerated.
8844
af92131a
JM
8845 [BZ #3479]
8846 * stdlib/strtod_l.c (NDIG): Remove.
8847 (HEXNDIG): Likewise.
8848 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8849 smallest representable value.
8850 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8851 lie within an exact representation of 1/2 ulp of the result.
8852 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8853 unconditionally.
8854 (TENS_P9_IDX): Define unconditionally.
8855 (TENS_P9_SIZE): Likewise.
8856 (TENS_P10_IDX): Likewise.
8857 (TENS_P10_SIZE): Likewise.
8858 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8859 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8860 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8861 entries for 10^2^13 and 10^2^14.
8862 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8863 (TENS_P13_IDX): Define.
8864 (TENS_P13_SIZE): Likewise.
8865 (TENS_P14_IDX): Likewise.
8866 (TENS_P14_SIZE): Likewise.
8867 (_fpioconst_pow10): Change array size to
8868 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8869 unconditional.
8870 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8871 1024]: Add entries for 10^2^13 and 10^2^14.
8872 [LAST_POW10 > _LAST_POW10]: Remove #error.
8873 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8874 (_fpioconst_pow10): Change array size to
8875 FPIOCONST_POW10_ARRAY_SIZE.
8876 * stdlib/gen-fpioconst.c: New file.
8877 * stdlib/gen-tst-strtod-round.c: Likewise.
8878 * stdlib/tst-strtod-round-data: Likewise.
8879 * stdlib/tst-strtod-round.c: Likewise.
8880 * stdlib/Makefile (tests): Add tst-strtod-round.
8881
d6e70f43
JM
8882 [BZ #14459]
8883 * stdlib/strtod_l.c: Include <stdint.h>.
8884 (NDEBUG): Do not define.
8885 (round_and_return): Change EXPONENT parameter to type intmax_t.
8886 Rearrange calculations to avoid internal overflow possibilities.
8887 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8888 Rearrange calculations to avoid internal overflow possibilities.
8889 Assert that number fits inside MPNSIZE limbs.
8890 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8891 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8892 calculations and add assertions to avoid internal overflow
8893 possibilities. Add casts to avoid signed/unsigned operations.
8894 * stdlib/tst-strtod-overflow.c: New file.
8895 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8896
1f529f7d
MP
88972012-08-25 Marek Polacek <polacek@redhat.com>
8898
8899 * time/time.h: Fix some typos in comments.
8900
59a629f1
RM
89012012-08-23 Roland McGrath <roland@hack.frob.com>
8902
8903 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8904 * posix/tst-rfc3484-2.c: Likewise.
8905 * posix/tst-rfc3484-3.c: Likewise.
8906
d3bafbc9
SM
89072012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8908
8909 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8910 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8911
4efcc022
JM
89122012-08-23 Joseph Myers <joseph@codesourcery.com>
8913
8914 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8915 #include of fxstatat64.c.
8916
3cc3ef96
RM
89172012-08-22 Roland McGrath <roland@hack.frob.com>
8918
f04e2132
RM
8919 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8920 * shadow/getspent_r.c: Likewise.
8921 * shadow/getspnam.c: Likewise.
8922 * shadow/getspnam_r.c: Likewise.
8923 * gshadow/getsgent.c: Likewise.
8924 * gshadow/getsgent_r.c: Likewise.
8925 * gshadow/getsgnam.c: Likewise.
8926 * gshadow/getsgnam_r.c: Likewise.
8927 * inet/getnetbyad.c: Likewise.
8928 * inet/getnetbyad_r.c: Likewise.
8929 * inet/getnetbynm.c: Likewise.
8930 * inet/getnetbynm_r.c: Likewise.
8931 * inet/getnetent.c: Likewise.
8932 * inet/getnetent_r.c: Likewise.
8933 * inet/getproto.c: Likewise.
8934 * inet/getproto_r.c: Likewise.
8935 * inet/getprtent.c: Likewise.
8936 * inet/getprtent_r.c: Likewise.
8937 * inet/getprtname.c: Likewise.
8938 * inet/getprtname_r.c: Likewise.
8939 * inet/getrpcbyname.c: Likewise.
8940 * inet/getrpcbyname_r.c: Likewise.
8941 * inet/getrpcbynumber.c: Likewise.
8942 * inet/getrpcbynumber_r.c: Likewise.
8943 * inet/getrpcent.c: Likewise.
8944 * inet/getrpcent_r.c: Likewise.
8945 * inet/getaliasent.c: Likewise.
8946 * inet/getaliasent_r.c: Likewise.
8947 * inet/getaliasname.c: Likewise.
8948 * inet/getaliasname_r.c: Likewise.
8949 * nscd/getgrgid_r.c: Likewise.
8950 * nscd/getgrnam_r.c: Likewise.
8951 * nscd/gethstbyad_r.c: Likewise.
8952 * nscd/gethstbynm3_r.c: Likewise.
8953 * nscd/getpwnam_r.c: Likewise.
8954 * nscd/getpwuid_r.c: Likewise.
8955 * nscd/getsrvbynm_r.c: Likewise.
8956 * nscd/getsrvbypt_r.c: Likewise.
8957 * nscd/gai.c: Likewise.
8958
c53d909c
RM
8959 * configure.in (build_nscd): New substituted variable, set
8960 by --disable-build-nscd and defaults to $use_nscd.
8961 * configure: Regenerated.
8962 * config.make.in (build-nscd): New substituted variable.
8963 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8964 Change conditional to require [$(build-nscd) = yes] as well.
8965 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8966
3cc3ef96
RM
8967 [BZ# 13696]
8968 * configure.in (use_nscd): New substituted variable, set by
8969 --disable-nscd. If enabled, define USE_NSCD.
8970 * configure: Regenerated.
8971 * config.h.in: Add USE_NSCD.
8972 * config.make.in (use-nscd): New substituted variable.
8973 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8974 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8975 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8976 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8977 (CFLAGS-getgrnam_r.c): Likewise.
8978 (CFLAGS-initgroups.c): Likewise.
8979 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8980 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
8981 Variables removed.
8982 * inet/getnetgrent_r.c
8983 (nscd_setnetgrent): New function, broken out of ...
8984 (setnetgrent): ... here. Call it.
8985 (innetgr): Conditionalize nscd bits on [USE_NSCD].
8986 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
8987 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
8988 * nscd/Makefile (routines, aux): Move definitions after include of
8989 Makeconfig. Conditionalize on [$(use-nscd) != no].
8990 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
8991 Conditionalize on [USE_NSCD].
8992 (is_nscd, nscd_init_cb): Likewise.
8993 (nss_load_library): Conditionalize init callback on [USE_NSCD].
8994 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
8995 * nss/nss_db/db-init.c: Likewise.
8996 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
8997 [USE_NSCD].
8998 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
8999 (make_request): Use it.
9000 (cache_valid_p): New function.
9001 (__check_pf): Use it.
9002 * NEWS: Add item for --disable-nscd.
9003
07e51550
DL
90042012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9005
9006 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9007 to support sed >= 4.2.1-20-ga9bf076.
9008 * configure: Regenerated.
9009
35a5b08b
RM
90102012-08-22 Roland McGrath <roland@hack.frob.com>
9011
9012 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9013 Conditionalize whole body on [IREL].
9014
8479f23a
JL
90152012-08-22 Jeff Law <law@redhat.com>
9016
9017 [BZ #14505]
9018 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9019 if the family is PF_UNSPEC.
9020
48da0b21
MF
90212012-08-22 Mike Frysinger <vapier@gentoo.org>
9022
9023 * Makerules (lib-version): Rename from V.
9024 (install-lib-nosubdir): Change V to lib-version.
9025
15d0da8c
WS
90262012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9027
9028 [BZ #14252]
9029 * powerpc32/power6/wcschr.c: New file.
9030 * powerpc32/power6/wcscpy.c: New file.
9031 * powerpc32/power6/wcsrchr.c: New file.
9032 * powerpc64/power6/wcschr.c: New file.
9033 * powerpc64/power6/wcscpy.c: New file.
9034 * powerpc64/power6/wcsrchr.c: New file.
9035
bcca0895
MK
90362012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9037
9038 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9039 (two_way_short_needle): Use it.
5a4aaa33
RM
9040 * string/strstr.c (AVAILABLE1_USES_J): Define.
9041 * string/strcasestr.c: Likewise.
99677e57
MK
9042
9043 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9044 array references.
9045 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9046
400726de
MK
9047 [BZ #11607]
9048 * NEWS: Add an entry.
9049 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9050 define their defaults.
9051 (two_way_short_needle): Detect end-of-string on-the-fly.
9052 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9053 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9054 * string/bug-strcasestr1.c: New test.
9055 * string/Makefile: Run it.
9056
20a71f2c
MK
90572012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9058
9059 [BZ #11607]
9060 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9061 the first character.
9062
21ad0558
RM
90632012-08-21 Roland McGrath <roland@hack.frob.com>
9064
9065 * csu/elf-init.c (__libc_csu_irel): Function removed.
9066 * csu/libc-start.c (apply_irel): New function.
9067 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9068
0e1d9911
JM
90692012-08-21 Joseph Myers <joseph@codesourcery.com>
9070
9071 * sysdeps/unix/sysv/linux/kernel-features.h
9072 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9073 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9074 <kernel-features.h>.
9075 [__NR_fadvise64_64]: Make code unconditional.
9076 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9077 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9078 !__NR_fadvise64_64)]: Likewise.
9079 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9080 !__NR_fadvise64_64))]: Likewise.
9081 [__NR_fadvise64]: Make code unconditional.
9082 [!__NR_fadvise64]: Remove conditional code.
9083 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9084 <kernel-features.h>.
9085 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9086 unconditional.
9087 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9088 conditional code.
9089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9090 not include <kernel-features.h>.
9091 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9092 unconditional.
9093 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9094 conditional code.
9095 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9096 include <kernel-features.h>.
9097 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9098 unconditional.
9099 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9100 conditional code.
9101
14a50c9d
WS
91022012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9103
9104 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9105 slight instruction rearrangements per scrollpipe analysis.
9106 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9107
c0f4faf0
RM
91082012-08-20 Roland McGrath <roland@hack.frob.com>
9109
696da859
RM
9110 * manual/syslog.texi (syslog; vsyslog, closelog):
9111 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9112 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9113
c0f4faf0
RM
9114 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9115 DSOCAPS to match condition on defining it.
9116
348363b2
JM
91172012-08-20 Joseph Myers <joseph@codesourcery.com>
9118
a35cbf28
JM
9119 * sysdeps/unix/sysv/linux/kernel-features.h
9120 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9122 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9123 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9125 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9126 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9128 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9129 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9130
445f7ecd
JM
9131 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9132 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9133
348363b2
JM
9134 * sysdeps/unix/sysv/linux/kernel-features.h
9135 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9136 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9137 unconditional.
9138 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9139 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9140 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9141 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9142 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9143 Make code unconditional.
9144 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9145 (__mmap64) [!__NR_mmap2]: Likewise.
9146 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9147 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9148 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9149 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9150 [__NR_mmap2]: Make code unconditional.
9151 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9152 (__mmap64) [!__NR_mmap2]: Likewise.
9153
bc5bc0e5
AK
91542012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9155
9156 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9157
88d506de
AJ
91582012-08-18 Andreas Jaeger <aj@suse.de>
9159
9160 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9161
493387d2
MF
91622012-08-18 Mike Frysinger <vapier@gentoo.org>
9163
9164 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9165 * include/unistd.h (__have_sock_cloexec): Likewise.
9166 (__have_pipe2): Likewise.
9167 (__have_dup3): Likewise.
9168
a277af22
MF
91692012-08-18 Mike Frysinger <vapier@gentoo.org>
9170
9171 [BZ #9685]
9172 * include/unistd.h (__have_pipe2): Change define into an extern int.
9173 (__have_dup3): Likewise.
9174 * socket/have_sock_cloexec.c: Include fcntl.h.
9175 (__have_pipe2): New variable.
9176 (__have_dup3): Likewise.
9177
fdab8fd3
MF
91782012-08-17 Mike Frysinger <vapier@gentoo.org>
9179
9180 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9181
31035e80
MP
91822012-08-17 Marek Polacek <polacek@redhat.com>
9183
9184 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9185 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9186
3bd9e993
RM
91872012-08-17 Roland McGrath <roland@hack.frob.com>
9188
c91c505f
RM
9189 * configure.in: Add AC_SUBST for sysheaders.
9190 * configure: Regenerated.
9191 * config.make.in (sysheaders): New substituted variable.
9192
7c6f9d53
RM
9193 * sysdeps/unix/mkfifo.c: Moved ...
9194 * sysdeps/posix/mkfifo.c: ... here.
9195 * sysdeps/unix/mkfifoat.c: Moved ...
9196 * sysdeps/posix/mkfifoat.c: ... here.
9197
9198 * sysdeps/unix/utime.c: Moved ...
9199 * sysdeps/posix/utime.c: ... here.
9200
9201 * sysdeps/unix/time.c: Moved ...
9202 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
9203 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9204 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
9205
9206 * sysdeps/unix/nice.c: Moved ...
9207 * sysdeps/posix/nice.c: ... here.
9208
9209 * sysdeps/unix/alarm.c: Moved ...
9210 * sysdeps/posix/alarm.c: ... here.
9211
3bd9e993
RM
9212 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9213
d1f09384
JL
92142012-08-17 Jeff Law <law@redhat.com>
9215
9216 * intl/Makefile (codeset_mo): New variable.
9217 ($(codeset_mo)): New target.
9218 (tst-codeset.out): Depend on that. Remove explicit rule.
9219 (tst-gettext3.out, tst-gettext5.out): Likewise.
9220 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9221 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9222 * intl/tst-codeset.sh: Remove.
9223 * intl/tst-gettext3.sh: Likewise.
9224 * intl/tst-gettext5.sh: Likewise.
9225
2ae1ae5c
RM
92262012-08-17 Roland McGrath <roland@hack.frob.com>
9227
c31fdb83
RM
9228 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9229 * sysdeps/unix/syscalls.list: ... here.
9230
a0844057
RM
9231 * sysdeps/posix/getaddrinfo.c
9232 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9233 (gaiconf_init, gaiconf_reload): Use them.
9234 [!_STATBUF_ST_NSEC]
9235 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9236 Define using time_t rather than struct timespec.
9237
750c1f2a
RM
9238 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9239 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9240 Macros removed.
9241 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9242 [!NO_THREADS].
9243 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9244 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9245 Likewise.
9246
2ae1ae5c
RM
9247 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9248 __libc_cleanup_push argument.
9249
e66a42f5
RM
9250 * bits/param.h: New file.
9251 * misc/sys/param.h: New file.
9252 * include/sys/param.h: New file.
9253 * misc/Makefile (headers): Add bits/param.h.
9254 * sysdeps/generic/sys/param.h: File removed.
9255 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9256 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9257 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 9258 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 9259
b7c08a66
RM
9260 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9261 last change.
9262
b2e1c562
RM
9263 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9264 [_IO_MTSAFE_IO].
9265 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9266 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9267 New macros.
9268
c75ccd4c
RM
9269 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9270 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9271 rather than -D_IO_MTSAFE_IO conditionally.
9272 * stdio-common/Makefile (CPPFLAGS): Likewise.
9273 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9274 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9275 Use $(libio-mtsafe).
9276 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9277 of -D_IO_MTSAFE_IO.
9278 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9279 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9280 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9281 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9282 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9283 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9284 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9285 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9286 (CFLAGS-fread_u_chk.c): Likewise.
9287 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9288 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9289 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9290 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9291 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9292 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9293 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9294 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9295 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9296
9297 * libio/Makefile: Test [$(libc-reentrant) = yes]
9298 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9299
9300 * Makeconfig
9301 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9302 * sysdeps/pthread/configure: File removed.
9303 * sysdeps/pthread/Makeconfig: New file.
9304 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9305 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9306
d9195db8
GB
93072012-08-16 Gary Benson <gbenson@redhat.com>
9308
9309 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9310 unmapping the first object in a namespace.
9311
86466cd9
RM
93122012-08-16 Roland McGrath <roland@hack.frob.com>
9313
9314 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9315 (__internal_setnetgrent): ... this. Add internal_function to
9316 definition. Add libc_hidden_def.
9317 (setnetgrent): Update caller.
9318 (internal_endnetgrent): Renamed to ...
9319 (__internal_endnetgrent): ... this. Add internal_function to
9320 definition. Add libc_hidden_def.
9321 (endnetgrent): Update caller.
9322 (internal_getnetgrent_r): Renamed to ...
9323 (__internal_getnetgrent_r): ... this. Add internal_function to
9324 definition. Add libc_hidden_def.
9325 (__getnetgrent_r): Update caller.
9326 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9327
c3c8283c
JM
93282012-08-16 Joseph Myers <joseph@codesourcery.com>
9329
9330 * stdlib/longlong.h: Update from GCC.
9331
db1ee0a8
RM
93322012-08-16 Roland McGrath <roland@hack.frob.com>
9333
9334 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9335 on _QL, which is set by umul_ppmm but never used.
9336 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9337 variables, which are set by GMP macros but never used.
9338 * stdio-common/_itowa.c (_itowa): Likewise.
9339 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9340 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9341
30f69637
CD
93422012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9343
9344 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9345 struct La_sh_regs is not constant.
9346 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9347 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9348 and struct La_sparc64_regs are not constant.
9349
93a78ac4
JM
93502012-08-16 Joseph Myers <joseph@codesourcery.com>
9351
9352 * sysdeps/unix/sysv/linux/kernel-features.h
9353 (__ASSUME_POSIX_TIMERS): Remove.
9354 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9355 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9356 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9357 Make code unconditional.
9358 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9359 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9360 Make code unconditional.
9361 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9362 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9363 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9364 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9365 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9366 Make code unconditional.
9367 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9368 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9369 (__libc_missing_posix_timers): Remove.
9370
dd924cd7
RM
93712012-08-15 Roland McGrath <roland@hack.frob.com>
9372
4b4f2771
RM
9373 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9374 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9375
601c888b
RM
9376 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9377
176790a7
RM
9378 * elf/dl-sym.c: Include <stdlib.h>.
9379
329bc018
RM
9380 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9381 constants, which avoids warnings in 32-bit builds.
9382
e04e272d
RM
9383 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9384 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9385
952bf94a
RM
9386 * misc/lseek.c: File moved to ...
9387 * io/lseek.c: ... here.
9388
7c99b50a
RM
9389 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9390
dd924cd7
RM
9391 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9392 shifting LEN more than 31 bits at once.
9393
b3f479a8
LD
93942012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9395
9396 [BZ #14195]
8c4ae0d4
RM
9397 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9398 segmentation fault for a case of two empty input strings.
b3f479a8
LD
9399 * string/test-strncasecmp.c (check1): Renamed to...
9400 (bz12205): ...this.
9401 (bz14195): Add new testcase for two empty input strings and N > 0.
9402 (test_main): Call new testcase, adapt for renamed function.
9403
9c55864e
AJ
94042012-08-15 Andreas Jaeger <aj@suse.de>
9405
9406 [BZ #14090]
9407 * crypt/md5test2.c: New test, based on test supplied by Serge
9408 Belyshev <belyshev@depni.sinp.msu.ru>.
9409 * crypt/Makefile (xtests): Add md5test-giant..
9410 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9411
02dcb6c5
PE
94122012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9413
9414 [BZ #14090]
9415 * crypt/md5.c (md5_process_block): Don't assume the buffer
9416 length is less than 2**32.
9417 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9418 length is less than 2**64.
9419
a3f95dcc
RM
94202012-08-15 Roland McGrath <roland@hack.frob.com>
9421
be75d758
RM
9422 * string/str-two-way.h: Include <sys/param.h>.
9423 (MAX): Macro removed.
9424
7312ca90
RM
9425 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9426 Move #define and #undef of memmove to just before and after
9427 including <string.h>.
9428
9a0a5486
RM
9429 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9430 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9431 and after including <string.h>. Move declarations of
9432 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9433 to before #include "string/memmove.c".
9434
67cc348d
RM
9435 * include/dirent.h: Declare __getdirentries.
9436
a3f95dcc
RM
9437 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9438 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9439
ca98e171
MF
94402012-08-14 Mike Frysinger <vapier@gentoo.org>
9441
9442 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9443 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9444 * sysdeps/i386/configure: Regenerated.
9445 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9446 STABS_CURRENT_FILE, and STABS_FUN.
9447 (END): Remove call to STABS_FUN_END.
9448 (STABS_CURRENT_FILE1): Delete.
9449 (STABS_CURRENT_FILE): Likewise.
9450 (STABS_FUN): Likewise.
9451 (STABS_FUN_END): Likewise.
9452 (STABS_FUN2): Likewise.
9453 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9454 * sysdeps/x86_64/configure: Regenerated.
9455
5908bf46
RM
94562012-08-14 Roland McGrath <roland@hack.frob.com>
9457
9458 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 9459 * elf/dl-lookup.c: Likewise.
5908bf46 9460
f2c05b9e
JM
94612012-08-14 Joseph Myers <joseph@codesourcery.com>
9462
9463 * sysdeps/unix/sysv/linux/kernel-features.h
9464 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9465 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9466 unconditionally.
9467 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9468 unconditionally.
9469 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9470 condition on __ASSUME_CLONE_THREAD_FLAGS.
9471
e11f5155
AJ
94722012-08-14 Andreas Jaeger <aj@suse.de>
9473
9474 * sysdeps/i386/fpu/libm-test-ulps: Update.
9475
51a9ba86
MK
94762012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9477
2fdd4f78
AJ
9478 * include/atomic.h (atomic_exchange_and_add): Split into ...
9479 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9480 New atomic macros.
51a9ba86 9481
ba6cba9e
MT
94822012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9483
9484 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9485
42443a47
JL
94862012-08-13 Jeff Law <law@redhat.com>
9487
9488 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9489 null byte in the output string.
9490
121dce05
JM
94912012-08-10 Joseph Myers <joseph@codesourcery.com>
9492
9493 * sysdeps/unix/sysv/linux/kernel-features.h
9494 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9495 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9496 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9497 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9498 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9499 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9500 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9501
bf51f568
JL
95022012-08-09 Jeff Law <law@redhat.com>
9503
9504 [BZ #13939]
9505 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9506 When avoid_arena is set, don't retry in the that arena. Pick the
9507 next one, whatever it might be.
9508 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9509 (arena_lock): Pass in new parameter to arena_get2.
9510 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9511 arena_get2.
9512 (__libc_malloc): Unify retrying after main arena failure with
9513 __libc_memalign version.
9514 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9515
f85fa270
L
95162012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9517
9518 [BZ #14166]
9519 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9520 to __redirect_strstr.
9521 (__strstr_sse42): Use typeof __redirect_strstr.
9522 (__strstr_ia32): Likewise.
9523 (__libc_strstr): New prototype.
9524 (strstr): Renamed to ...
9525 (__libc_strstr): This.
9526 (strstr): New strong alias of __libc_strstr.
9527 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9528 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9529 __redirect_time.
9530 Include <time.h>.
9531 (__libc_time): New prototype.
9532 (time_ifunc): Replace time with __libc_time.
9533 (time): New strong alias and hidden definition of __libc_time.
9534 (__GI_time): Remove strong alias.
9535 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9536 Include <stddef.h>.
9537 (memmove): Redefined to __redirect_memmove.
9538 (__memmove_sse2): Use typeof __redirect_memmove.
9539 (__memmove_ssse3): Likewise.
9540 (__memmove_ssse3_back): Likewise.
9541 (__libc_memmove): New prototype.
9542 (memmove): Renamed to ...
9543 (__libc_memmove): This.
9544 (memmove): New strong alias of __libc_memmove.
9545
33b4a91e
MS
95462012-08-08 Mark Salter <msalter@redhat.com>
9547
9548 * elf/elf.h
9549 (R_MN10300_TLS_GD): Define.
9550 (R_MN10300_TLS_LD): Likewise.
9551 (R_MN10300_TLS_LDO): Likewise.
9552 (R_MN10300_TLS_GOTIE): Likewise.
9553 (R_MN10300_TLS_IE): Likewise.
9554 (R_MN10300_TLS_LE): Likewise.
9555 (R_MN10300_TLS_DTPMOD): Likewise.
9556 (R_MN10300_TLS_DTPOFF): Likewise.
9557 (R_MN10300_TLS_TPOFF): Likewise.
9558 (R_MN10300_SYM_DIFF): Likewise.
9559 (R_MN10300_ALIGN): Likewise.
9560 (R_MN10300_NUM): Update.
9561
b36137f1
JM
95622012-08-08 Joseph Myers <joseph@codesourcery.com>
9563
9564 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9565 Remove.
9566
cdd915fd
RM
95672012-08-08 Roland McGrath <roland@hack.frob.com>
9568
a2433aac
RM
9569 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9570
cdd915fd
RM
9571 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9572 sysdeps/unix -> sysdeps/posix move.
9573 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9574
bf9b740a
AM
95752012-08-07 Allan McRae <allan@archlinux.org>
9576
9577 [BZ #14303]
9578 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9579 (SUNOS_CPP): Likewise.
9580 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9581 not found.
9582 (open_input): Call CPP using execvp.
9583
93df14ee
JM
95842012-08-07 Joseph Myers <joseph@codesourcery.com>
9585
9586 * sysdeps/unix/sysv/linux/kernel-features.h
9587 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9588 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9589 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9590 (__ASSUME_WAITID_SYSCALL): Likewise.
9591 * sysdeps/unix/sysv/linux/dl-execstack.c
9592 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9593 code unconditional.
9594 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9595 conditional code.
9596 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9597 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9598 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9599 code.
9600 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9601 unconditional.
9602 [__ASSUME_WAITID_SYSCALL]: Likewise.
9603 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9604
d34689de
RM
96052012-08-07 Roland McGrath <roland@hack.frob.com>
9606
a281decc
RM
9607 * sysdeps/unix/closedir.c: Renamed to ...
9608 * sysdeps/posix/closedir.c: ... here.
9609 * sysdeps/unix/dirfd.c: Renamed to ...
9610 * sysdeps/posix/dirfd.c: ... here.
9611 * sysdeps/unix/dirstream.h: Renamed to ...
9612 * sysdeps/posix/dirstream.h: ... here.
9613 * sysdeps/unix/fdopendir.c: Renamed to ...
9614 * sysdeps/posix/fdopendir.c: ... here.
9615 * sysdeps/unix/opendir.c: Renamed to ...
9616 * sysdeps/posix/opendir.c: ... here.
9617 * sysdeps/unix/readdir.c: Renamed to ...
9618 * sysdeps/posix/readdir.c: ... here.
9619 * sysdeps/unix/readdir_r.c: Renamed to ...
9620 * sysdeps/posix/readdir_r.c: ... here.
9621 * sysdeps/unix/rewinddir.c: Renamed to ...
9622 * sysdeps/posix/rewinddir.c: ... here.
9623 * sysdeps/unix/seekdir.c: Renamed to ...
9624 * sysdeps/posix/seekdir.c: ... here.
9625 * sysdeps/unix/telldir.c: Renamed to ...
9626 * sysdeps/posix/telldir.c: ... here.
9627 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9628 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9629 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9630 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9631
22895b47
RM
9632 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9633 * bits/fcntl.h: ... here.
9634
707a53b6
RM
9635 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9636 not 0.
9637 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9638 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9639 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9640 (struct flock): Move l_start, l_len to the beginning.
9641 Use __pid_t for l_pid.
9642 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9643 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9644 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9645 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9646 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9647 [__USE_LARGEFILE64] (struct flock64): New type.
9648 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9649
f0bd3e25
RM
9650 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9651 * bits/dirent.h: ... here.
9652
d34689de
RM
9653 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9654 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9655
6dad2c06
JM
96562012-08-07 Joseph Myers <joseph@codesourcery.com>
9657
9658 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9659 Change from 2.6.0 to 2.6.16.
9660 * sysdeps/unix/sysv/linux/configure: Regenerated.
9661 * sysdeps/unix/sysv/linux/kernel-features.h
9662 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9663 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9664 version.
9665 (__ASSUME_UTIMES): Likewise.
9666 (__ASSUME_CLONE_STOPPED): Remove.
9667 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9668 architectures, not kernel version.
9669 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9670 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9671 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9672 (__ASSUME_WAITID_SYSCALL): Likewise.
9673 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9674 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9675 * README: State 2.6.16 as minimum Linux kernel version. Do not
9676 refer to older versions.
9677
03af9520
RM
96782012-08-06 Roland McGrath <roland@hack.frob.com>
9679
8e49df1d
RM
9680 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9681 Define alphasort64 as an alias.
9682 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9683 Define versionsort64 as an alias.
9684 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9685 Define scandir64 as an alias.
9686 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9687 Define scandirat64 as an alias.
9688 * dirent/alphasort64.c (alphasort64):
9689 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9690 * dirent/versionsort64.c: Likewise.
9691 * dirent/scandir64.c: Likewise.
9692 * dirent/scandirat64.c: Likewise.
9693 * sysdeps/wordsize-64/alphasort.c: File removed.
9694 * sysdeps/wordsize-64/alphasort64.c: File removed.
9695 * sysdeps/wordsize-64/scandir.c: File removed.
9696 * sysdeps/wordsize-64/scandir64.c: File removed.
9697 * sysdeps/wordsize-64/scandirat.c: File removed.
9698 * sysdeps/wordsize-64/scandirat64.c: File removed.
9699 * sysdeps/wordsize-64/versionsort.c: File removed.
9700 * sysdeps/wordsize-64/versionsort64.c: File removed.
9701 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9702 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9703 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9704 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9705 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9706 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9707 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9708 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9709
9710 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9711 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9712 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9713 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9714 [defined __arch64__ || defined __sparcv9]
9715 (__INO_T_MATCHES_INO64_T): New macro.
9716 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9717 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9718 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9719 * sysdeps/unix/sysv/linux/bits/dirent.h
9720 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9721 (_DIRENT_MATCHES_DIRENT64): New macro.
9722
03af9520
RM
9723 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9724 Define lockf64 as an alias.
9725 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9726 Define fseeko64 as an alias.
9727 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9728 Define ftello64 as an alias.
9729 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9730 Define _IO_fgetpos64 and fgetpos64 as aliases.
9731 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9732 Define _IO_fsetpos64 and fsetpos64 as aliases.
9733 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9734 Conditionalize body on this.
9735 * libio/fseeko64.c: Likewise.
9736 * libio/ftello64.c: Likewise.
9737 * libio/iofgetpos64.c: Likewise.
9738 * libio/iofsetpos64.c: Likewise.
9739 * sysdeps/wordsize-64/lockf.c: File removed.
9740 * sysdeps/wordsize-64/lockf64.c: File removed.
9741 * sysdeps/wordsize-64/fseeko.c: File removed.
9742 * sysdeps/wordsize-64/fseeko64.c: File removed.
9743 * sysdeps/wordsize-64/ftello.c: File removed.
9744 * sysdeps/wordsize-64/ftello64.c: File removed.
9745 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9746 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9747 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9748 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9749 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9750 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9751 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9752 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9753 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9754 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9755 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9756 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9757 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9758 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9759
9760 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9761 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9762 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9763 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9764 [defined __arch64__ || defined __sparcv9]
9765 (__OFF_T_MATCHES_OFF64_T): New macro.
9766 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9767 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9768 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9769 (__OFF_T_MATCHES_OFF64_T): New macro.
9770
c5757acd
L
97712012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9772
9773 * stdlib/secure-getenv.c (__secure_getenv): Replace
9774 GLIBC_2_16 with GLIBC_2_17.
9775
3a31811e
L
97762012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9777
9778 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9779 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9780
faa2bccb
DM
97812012-08-03 David S. Miller <davem@davemloft.net>
9782
9783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9784
85fe1997
JM
97852012-08-03 Joseph Myers <joseph@codesourcery.com>
9786
9787 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9788 Remove.
9789 (__ASSUME_CORRECT_SI_PID): Likewise.
9790 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9791 (__ASSUME_TMPFS_NAME): Likewise.
9792 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9793 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9794 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9795 (HAVE_AUX_SECURE): Make definition unconditional.
9796 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9797 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9798
4f75b7a0
RM
97992012-08-03 Roland McGrath <roland@hack.frob.com>
9800
9801 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9802 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9803 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9804 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9805 __eloop_threshold instead of SYMLOOP_MAX.
9806
9807 * sysdeps/generic/eloop-threshold.h: New file.
9808 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9809 of MAXSYMLINKS.
9810 * elf/chroot_canon.c (chroot_canon): Likewise.
9811
7aab07e4
JM
98122012-08-03 Joseph Myers <joseph@codesourcery.com>
9813
9814 [BZ #13717]
9815 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9816 Change to 2.6.0 everywhere.
9817 * sysdeps/unix/sysv/linux/configure: Regenerated.
9818 * sysdeps/unix/sysv/linux/kernel-features.h
9819 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9820 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9821 kernel versions.
9822 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9823 (__ASSUME_FUTEX_REQUEUE): Remove.
9824 (__ASSUME_STATFS64): Define unconditionally.
9825 (__ASSUME_AT_SECURE): Likewise.
9826 (__ASSUME_CORRECT_SI_PID): Likewise.
9827 (__ASSUME_TGKILL): Define without depending on kernel version for
9828 i386.
9829 (__ASSUME_UTIMES): Likewise.
9830 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9831 kernel version.
9832 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9833 (__ASSUME_TMPFS_NAME): Likewise.
9834 * README: Update reference to Linux kernel versions.
9835
b67e9372
MP
98362012-08-02 Marek Polacek <polacek@redhat.com>
9837
1f529f7d 9838 [BZ# 14150]
b67e9372
MP
9839 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9840 libc_cv_asm_type_prefix with %.
9841 * configure: Regenerated.
d2441631
RM
9842 * include/libc-symbols.h: Remove comment about
9843 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
9844 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9845 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9846 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9847 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9848 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9849 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9850 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9851 * elf/tst-unique2mod1.c: Likewise.
9852 * elf/tst-unique1mod2.c: Likewise.
9853 * elf/tst-unique1mod1.c: Likewise.
9854 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9855 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9856 Replace ASM_TYPE_DIRECTIVE with .type.
9857 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9858 * sysdeps/i386/sysdep.h: Likewise.
9859 * sysdeps/x86_64/sysdep.h: Likewise.
9860 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
9861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9862 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 9863 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
9864 * sysdeps/powerpc/powerpc32/sysdep.h:
9865 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
9866 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9867 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9868 * sysdeps/i386/fpu/e_powf.S: Likewise.
9869 * sysdeps/i386/fpu/e_expl.S: Likewise.
9870 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9871 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9872 * sysdeps/i386/fpu/e_pow.S: Likewise.
9873 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9874 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9875 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9876 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9877 * sysdeps/i386/fpu/e_log2.S: Likewise.
9878 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9879 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9880 * sysdeps/i386/fpu/e_powl.S: Likewise.
9881 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9882 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9883 * sysdeps/i386/fpu/e_logl.S: Likewise.
9884 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9885 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9886 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9887 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9888 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9889 * sysdeps/i386/fpu/e_log.S: Likewise.
9890 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9891 * sysdeps/i386/fpu/e_logf.S: Likewise.
9892 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9893 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9894 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9895 * sysdeps/i386/fpu/e_log10.S: Likewise.
9896 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9897 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9898 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9899 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9900 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9901 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9902 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9903 * sysdeps/i386/i686/strtok.S: Likewise.
9904 * sysdeps/i386/i386-mcount.S: Likewise.
9905 * sysdeps/i386/strtok.S: Likewise.
9906 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9907 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9908 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9909 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9910 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9911 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9912 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9913 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9914 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9915 * sysdeps/x86_64/_mcount.S: Likewise.
9916 * sysdeps/x86_64/strtok.S: Likewise.
9917 * sysdeps/sh/_mcount.S: Likewise.
9918
2747bf9a
RM
99192012-08-01 Roland McGrath <roland@hack.frob.com>
9920
9921 * libio/iofopen.c: Include <fcntl.h>.
9922 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9923 (_IO_fopen64, fopen64): Define as aliases.
9924 * libio/iofopen64.c: Include <fcntl.h>.
9925 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9926 Conditionalize body on this.
9927 * sysdeps/wordsize-64/iofopen.c: File removed.
9928 * sysdeps/wordsize-64/iofopen64.c: File removed.
9929
3fb791b8
MP
99302012-08-01 Marek Polacek <polacek@redhat.com>
9931
9932 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9933 Use dlfcn directly instead of a variable.
9934 (binfmt-subdir): Do not define.
9935 (dlfcn): Likewise.
9936
a9f1039f
JM
99372012-08-01 Joseph Myers <joseph@codesourcery.com>
9938
23bddc06
JM
9939 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9940 Remove all definitions.
9941 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9942 <kernel-features.h>.
9943 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9944 (miss_F_GETOWN_EX): Remove all definitions.
9945 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9946 macro definition.
9947 [!__ASSUME_FCNTL64]: Remove conditional code.
9948 [__ASSUME_FCNTL64]: Make code unconditional.
9949 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9950 <kernel-features.h>.
9951 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9952 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9953 (lockf64) [__NR_fcntl64]: Make code unconditional.
9954 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9955
a9f1039f
JM
9956 * sysdeps/unix/sysv/linux/kernel-features.h
9957 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9958 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9959 Make code unconditional.
9960 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9961 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9963 [__NR_vfork]: Make code unconditional.
9964 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9965 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9967 [__NR_vfork]: Make code unconditional.
9968 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9969 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9970
09c0ee5f
RM
99712012-08-01 Roland McGrath <roland@hack.frob.com>
9972
48aec5b9
RM
9973 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9974 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9975
cd97c966
RM
9976 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9977 Define mkstemp64 as an alias.
3f55550c
RM
9978 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9979 Define mkstemps64 as an alias.
cd97c966
RM
9980 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9981 Define mkostemp64 as an alias.
b8625cfc
RM
9982 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9983 Define mkostemps64 as an alias.
cd97c966
RM
9984 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
9985 Conditionalize body on this.
9986 * misc/mkostemp64.c: Likewise.
b8625cfc 9987 * misc/mkostemps64.c: Likewise.
3f55550c 9988 * misc/mkstemps64.c: Likewise.
cd97c966
RM
9989 * sysdeps/wordsize-64/mkstemp64.c: File removed.
9990 * sysdeps/wordsize-64/mkostemp64.c: File removed.
9991 * sysdeps/wordsize-64/mkostemp.c: File removed.
9992 * sysdeps/wordsize-64/mkstemp.c: File removed.
9993 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
9994 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
9995 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
9996 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
9997
09c0ee5f
RM
9998 [BZ #14138]
9999 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10000 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10001 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10002 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10003
10004 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10005 compat_symbol macros from <shlib-compat.h> rather than the underlying
10006 default_symbol_version and symbol_version macros, so that DEFAULT
10007 lines in shlib-versions are respected.
10008 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10009
7e66ee51
FW
100102012-08-01 Florian Weimer <fweimer@redhat.com>
10011
10012 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10013 Declare with warn_unused_result.
10014 (setgid, setregid, setegid, setresgid): Likewise.
10015 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10016 Likewise.
10017 * WUR-REPORT: Remove set*id functions.
10018
d2a54255
PT
100192012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10020
10021 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10022
7ecdb005
RM
100232012-07-31 Roland McGrath <roland@hack.frob.com>
10024
789bd351
RM
10025 * include/sys/socket.h (__libc_accept, __libc_accept4):
10026 Add attribute_hidden.
10027 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10028
40ce302d
RM
10029 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10030 use of PTR_MANGLE.
10031 * inet/getnetgrent_r.c (setup): Likewise.
10032
7ecdb005
RM
10033 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10034
e2eabb2c
DM
100352012-07-31 David S. Miller <davem@davemloft.net>
10036
10037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10038
d0419dbf
JM
100392012-07-31 Joseph Myers <joseph@codesourcery.com>
10040
10041 [BZ #13629]
10042 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10043 value between 1.0 and 2.0 and smaller part has absolute value less
10044 than 1.0.
10045 * math/s_clog10.c (__clog10): Likewise.
10046 * math/s_clog10f.c (__clog10f): Likewise.
10047 * math/s_clog10l.c (__clog10l): Likewise.
10048 * math/s_clogf.c (__clogf): Likewise.
10049 * math/s_clogl.c (__clogl): Likewise.
10050 * math/libm-test.inc (clog_test): Add more tests.
10051 (clog10_test): Likewise.
10052 * sysdeps/i386/fpu/libm-test-ulps: Update.
10053 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10054
2bc13872
FW
100552012-07-31 Florian Weimer <fweimer@redhat.com>
10056
10057 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10058 Exit with zero in case no suitable GID is found, and write a
10059 message to standard error.
10060
bea9b193
RM
100612012-07-30 Roland McGrath <roland@hack.frob.com>
10062
10063 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10064 rather than to 1.
10065 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10066 (MAXPATHLEN): Removed.
10067 (NOGROUP, NODEV): New macros.
10068 (setbit, clrbit, isset, isclr): New macros.
10069 (howmany, roundup, powerof2): New macros.
10070 (DEV_BSIZE): New macro.
10071
10072 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10073 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10074
10075 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10076 definition on [!__NO_LONG_DOUBLE_MATH].
10077
10078 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10079 PTR_MANGLE and PTR_DEMANGLE.
10080
10081 * socket/accept4.c (accept4): Rename to __libc_accept4.
10082 Define accept4 as a weak alias.
10083
10084 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10085 on [_DIRENT_HAVE_D_TYPE].
10086 * io/ftw.c (ftw_dir): Likewise.
10087
10088 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10089
10090 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10091
10092 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10093 Use the BSD numbers rather than the arbitrary ones we had.
10094 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10095 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10096 (SIGXCPU, SIGXFSZ): New macros.
10097 (_NSIG): Now 32.
10098
10099 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10100 initializer on [_LIBC_REENTRANT].
10101
10102 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10103 definitions inside [_POSIX_MAPPED_FILES].
10104
10105 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10106
10107 * dirent/opendir.c: Include <fcntl.h>.
10108
10109 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10110 (__libc_getspecific): Likewise.
10111 (__libc_key_create): Likewise.
10112
10113 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10114 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10115 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10116 (tmpfile64): Define as alias.
10117 * sysdeps/wordsize-64/tmpfile.c: File removed.
10118 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10119 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10120 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10121
10122 * stdio-common/vfscanf.c: Include <stdbool.h>.
10123 * nss/makedb.c: Likewise.
10124 * stdio-common/_i18n_number.h: Likewise.
10125 * argp/argp-help.c: Likewise.
10126 * posix/wordexp.c: Likewise.
10127 * sysdeps/posix/spawni.c: Likewise.
10128 * nss/nss_files/files-initgroups.c: Likewise.
10129 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10130 * nss/nss_files/files-initgroups.c: Likewise.
10131 * nss/nss_db/db-netgrp.c: Likewise.
10132 * nss/nss_db/db-initgroups.c: Likewise.
10133 * io/fchmodat.c: Include <sys/stat.h>.
10134
10135 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10136 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10137
10138 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10139 [HAVE_MMAP].
10140
10141 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10142 Add multiple inclusion protection.
10143
e5abc686
DM
101442012-07-27 David S. Miller <davem@davemloft.net>
10145
10146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10147
815e6fa3
GB
101482012-07-27 Gary Benson <gbenson@redhat.com>
10149
10150 [BZ #14298]
10151 * elf/rtld.c: Include <stap-probe.h>.
10152 (dl_main): Added static probes "init_start" and "init_complete".
10153 * elf/dl-load.c: Include <stap-probe.h>.
10154 (lose): Take new parameter "nsid".
10155 Added static probe "map_failed".
10156 (_dl_map_object_from_fd): Pass namespace id to lose.
10157 Added static probe "map_start".
10158 (open_verify): Pass namespace id to lose.
10159 * elf/dl-open.c: Include <stap-probe.h>.
10160 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10161 and "reloc_complete".
10162 * elf/dl-close.c: Include <stap-probe.h>.
10163 (_dl_close_worker): Added static probes "unmap_start" and
10164 "unmap_complete".
10165 * elf/rtld-debugger-interface.txt: New file documenting the above.
10166
9f98c16c
RM
101672012-07-26 Roland McGrath <roland@hack.frob.com>
10168
10169 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10170 rather than a string variable.
10171 * sunrpc/rpc_main.c (h_output): Likewise.
10172 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10173
f3c22df3
PT
101742012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10175
10176 * inet/check_native.c: New file.
10177
3129cfc6
JM
101782012-07-26 Joseph Myers <joseph@codesourcery.com>
10179
da865e95
JM
10180 [BZ #13629]
10181 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10182 if larger part has absolute value 1.0.
10183 * math/s_clog10.c (__clog10): Likewise.
10184 * math/s_clog10f.c (__clog10f): Likewise.
10185 * math/s_clog10l.c (__clog10l): Likewise.
10186 * math/s_clogf.c (__clogf): Likewise.
10187 * math/s_clogl.c (__clogl): Likewise.
10188 * math/libm-test.inc (clog_test): Add more tests.
10189 (clog10_test): Likewise.
10190 * sysdeps/i386/fpu/libm-test-ulps: Update.
10191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10192
3129cfc6
JM
10193 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10194 (pltexit): Likewise.
10195 (La_regs): Likewise.
10196 (La_retval): Likewise.
10197 (int_retval): Likewise.
10198 Update #error for removed macros to refer only to definitions in
10199 tst-audit.h.
10200 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10201 macro.
10202 (pltexit): Likewise.
10203 (La_regs): Likewise.
10204 (La_retval): Likewise.
10205 (int_retval): Likewise.
10206 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10207 macro.
10208 (pltexit): Likewise.
10209 (La_regs): Likewise.
10210 (La_retval): Likewise.
10211 (int_retval): Likewise.
10212 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10213 macro.
10214 (pltexit): Likewise.
10215 (La_regs): Likewise.
10216 (La_retval): Likewise.
10217 (int_retval): Likewise.
10218 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10219 macro.
10220 (pltexit): Likewise.
10221 (La_regs): Likewise.
10222 (La_retval): Likewise.
10223 (int_retval): Likewise.
10224 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10225 macro.
10226 (pltexit): Likewise.
10227 (La_regs): Likewise.
10228 (La_retval): Likewise.
10229 (int_retval): Likewise.
10230 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10231 macro.
10232 (pltexit): Likewise.
10233 (La_regs): Likewise.
10234 (La_retval): Likewise.
10235 (int_retval): Likewise.
10236 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10237 macro definitions in tst-audit.h.
10238 * sysdeps/i386/tst-audit.h: New file.
10239 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10240 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10241 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10242 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10243 * sysdeps/sh/tst-audit.h: Likewise.
10244 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10245 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10246 * sysdeps/x86_64/tst-audit.h: Likewise.
10247
bfc07087
AJ
102482012-07-26 Andreas Jaeger <aj@suse.de>
10249
b1b2aaf8
AJ
10250 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10251 ptrace.
10252
10253 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10254 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10255 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10256 PTRACE_O_MASK.
10257 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10258 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10259 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10260
bfc07087
AJ
10261 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10262 value.
10263
10264 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10265 _sigsys.
10266 (si_call_addr, si_syscall, si_arch): Define new macro.
10267 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10268 _sigsys.
10269 (si_call_addr, si_syscall, si_arch): Define new marcro.
10270 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10271 _sigsys.
10272 (si_call_addr, si_syscall, si_arch): Define new macro.
10273 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10274 _sigsys.
10275 (si_call_addr, si_syscall, si_arch): Define new macro.
10276
89b4b02f
JM
102772012-07-25 Joseph Myers <joseph@codesourcery.com>
10278
10279 [BZ #13717]
10280 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10281 Change to 2.4.21 where previously 2.4.1.
10282 * sysdeps/unix/sysv/linux/configure: Regenerated.
10283 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10284 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10285 Linux kernel version.
10286 (__ASSUME_STD_AUXV): Remove.
10287 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10288 kernel version.
10289 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10290 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10291 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10292 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10293 (__ASSUME_NETLINK_SUPPORT): Likewise.
10294 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10295 (__no_netlink_support): Remove conditional definition.
10296 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10297 Remove.
10298 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10299 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10300 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10301 (if_nameindex_ioctl): Remove.
10302 (if_nameindex_netlink): Do not handle __no_netlink_support.
10303 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10304 code.
10305 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10306 Remove conditional code.
10307 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10308 code.
10309 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10310 unconditional.
10311 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10312 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10313 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10314 Remove.
10315 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10316 [!__ASSUME_STD_AUXV]: Remove conditional code.
10317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10318 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10319 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10321 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10322 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10323 code.
10324 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10326 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10327 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10328 conditional code.
10329 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10331 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10332 code.
10333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10334 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10335 conditional code.
10336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10337 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10338 code unconditional.
10339 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10340 conditional code.
10341 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10342 unconditional.
10343 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10344 conditional code.
10345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10346 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10347 unconditional.
10348 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10349 conditional code.
10350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10351 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10352 code unconditional.
10353 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10354 conditional code.
10355 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10356 unconditional.
10357 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10358 conditional code.
10359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10360 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10361 code unconditional.
10362 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10363 conditional code.
10364 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10365 unconditional.
10366 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10367 conditional code.
10368
842a39cd
AS
103692012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10370
10371 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10372 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10373 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10374 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10375 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10376 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10377 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10378 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10379 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10380 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10381 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10382 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10383 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10384 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10385 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10386 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10387 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10388 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10389 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10390 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10391 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10392 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10393 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10394
84b3fd84
FW
103952012-07-25 Florian Weimer <fweimer@redhat.com>
10396
10397 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
10398 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10399 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10400 Introduce __libc_secure_getenv.
0c7936d5
FW
10401 * stdlib/Versions (2.17): Add secure_getenv
10402 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10403 * stdlib/secure-getenv.c: Rename __secure_getenv to
10404 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10405 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
10406 * stdlib/tst-secure-getenv.c: New.
10407 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
10408 * manual/startup.texi (Environment Access): Document
10409 secure_getenv.
84b3fd84
FW
10410 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10411 __libc_secure_getenv.
10412 * inet/ruserpass.c (ruserpass): Likewise.
10413 * malloc/mtrace.c (mtrace): Likewise.
10414 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 10415 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
10416 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10417 * sysdeps/posix/tempname.c: Likewise. Evaluate
10418 HAVE_SECURE_GETENV.
10419 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 10420 __secure_getenv to __libc_secure_getenv.
84b3fd84 10421 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
10422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10423 Likewise.
10424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10425 Likewise.
10426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10428 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10431 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 10433
56e49b71
JM
104342012-07-25 Joseph Myers <joseph@codesourcery.com>
10435
10436 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10437 (struct La_i86_retval): Likewise.
10438 (struct La_x86_64_regs): Likewise.
10439 (struct La_x86_64_retval): Likewise.
10440 (struct La_x32_regs): Likewise.
10441 (struct La_x32_retval): Likewise.
10442 (struct La_ppc32_regs): Likewise.
10443 (struct La_ppc32_retval): Likewise.
10444 (struct La_ppc64_regs): Likewise.
10445 (struct La_ppc64_retval): Likewise.
10446 (struct La_sh_regs): Likewise.
10447 (struct La_sh_retval): Likewise.
10448 (struct La_s390_32_regs): Likewise.
10449 (struct La_s390_32_retval): Likewise.
10450 (struct La_s390_64_regs): Likewise.
10451 (struct La_s390_64_retval): Likewise.
10452 (struct La_sparc32_regs): Likewise.
10453 (struct La_sparc32_retval): Likewise.
10454 (struct La_sparc64_regs): Likewise.
10455 (struct La_sparc64_retval): Likewise.
10456 (struct audit_ifaces): Remove architecture-specific pltenter and
10457 pltexit members.
10458 * sysdeps/i386/ldsodefs.h: New file.
10459 * sysdeps/powerpc/ldsodefs.h: Likewise.
10460 * sysdeps/s390/ldsodefs.h: Likewise.
10461 * sysdeps/sh/ldsodefs.h: Likewise.
10462 * sysdeps/sparc/ldsodefs.h: Likewise.
10463 * sysdeps/x86_64/ldsodefs.h: Likewise.
10464
354691b7
MP
104652012-07-25 Marek Polacek <polacek@redhat.com>
10466
10467 [BZ #6808]
10468 * math/libm-test.inc (yn_test): Add another test.
10469 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10470 to ERANGE when the result is +-Inf.
10471 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10472 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10473 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10474 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10475
bf9e2071
JM
104762012-07-24 Joseph Myers <joseph@codesourcery.com>
10477
10478 * conform/data/time.h-data (NULL): Use macro-constant. Require
10479 equal to 0.
10480 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10481 clock_t.
10482 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10483
57633811
TS
104842012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10485
10486 * configure.in <sysdeps resolving>: Correct printing
10487 Implies_before.
10488 * configure: Regenerate.
10489
c23c33b0
TS
104902012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10491
10492 * math/w_ilogb.c: Include <limits.h>.
10493 * math/w_ilogbl.c: Likewise.
10494
b5982523
JM
104952012-07-20 Joseph Myers <joseph@codesourcery.com>
10496
10497 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10498 va_copy. Document allowing for unavailable va_copy only as
10499 pre-C99 compatibility.
10500 * manual/string.texi (Copying and Concatenation): Use va_copy
10501 instead of __va_copy in concat example.
10502
ac4ea442
PT
105032012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10504
10505 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10506 (__sendto): Use create_address_port. Initialize APORT and deallocate
10507 it if not null.
10508
f98eafbd
PT
10509 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10510 with O_NOLINK passed to __file_name_lookup.
10511
898c7aab
PT
10512 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10513 with O_NOLINK passed to __file_name_lookup.
10514
0ced335a
PT
10515 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10516 negative N or less than NGIDS.
10517
b3404dbd
PT
10518 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10519 type to string_t. Set ERANGE as errno and return it if NAME is not big
10520 enough. Use memcpy instead of strncpy.
10521
0f48659e
JM
105222012-07-20 Joseph Myers <joseph@codesourcery.com>
10523
10524 * elf/Makefile (check-data): Remove.
10525 (localplt.data): New vpath directive.
10526 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10527 instead of $(check-data).
10528 * scripts/data/localplt-generic.data: Move to ...
10529 * sysdeps/generic/localplt.data: ... here.
10530 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10531 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10532 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10534 ... here.
10535 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10537 ... here.
10538 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10539 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10540 ... here.
10541 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10543 ... here.
10544 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10546 ... here.
10547 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10548 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10549 ... here.
10550
d37cbdaa
AZ
105512012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10552
10553 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10554 PPC32 and PPC64 files.
10555 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10556 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10557
46f85fc2
AK
105582012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10559
10560 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10561 __makecontext_ret to ...
10562 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10563 ... here and call exit if uc_link is NULL. New file.
10564 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10565 __makecontext_ret.S.
10566 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10567 __makecontext_ret to ...
10568 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10569 ... here and call exit if uc_link is NULL. New file.
10570 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10571 __makecontext_ret.S.
10572
08f43f9b
AK
105732012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10574
10575 * elf/elf.h (R_390_IRELATIVE): New definition.
10576 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10577 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10578 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10579 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10580 (elf_machine_lazy_rel): Likewise.
10581 * sysdeps/s390/dl-irel.h: New file.
10582 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10583 * sysdeps/s390/s390-64/memset.S: New asm code.
10584 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10585 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10586 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10587 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10588 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10589 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10590 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10591 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10592 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10593 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10594 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10595 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10596 * sysdeps/s390/s390-32/memset.S: New asm code.
10597 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10598
3b05db33
MP
105992012-07-17 Marek Polacek <polacek@redhat.com>
10600
10601 [BZ #14349]
10602 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10603 * sysdeps/s390/s390-64/configure.in: Likewise.
10604 * sysdeps/sparc/configure.in: Likewise.
10605 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10606 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10607 * sysdeps/i386/configure.in: Likewise.
10608 * sysdeps/x86_64/configure.in: Likewise.
10609 * sysdeps/sh/configure.in: Likewise.
10610 * sysdeps/s390/s390-32/configure: Regenerated.
10611 * sysdeps/s390/s390-64/configure: Likewise.
10612 * sysdeps/x86_64/configure: Likewise.
10613 * sysdeps/sh/configure: Likewise.
10614 * sysdeps/powerpc/powerpc64/configure: Likewise.
10615 * sysdeps/powerpc/powerpc32/configure: Likewise.
10616 * sysdeps/sparc/configure: Likwise.
10617 * sysdeps/i386/configure: Likewise.
10618
a66877c6
MP
10619 * elf/dl-open.c: Comment fixes.
10620
cfc82fd8
JM
106212012-07-17 Joseph Myers <joseph@codesourcery.com>
10622
bd29910a
JM
10623 * Makefile [CXX] (check-data): Remove.
10624 [CXX] (c++-types.data): New vpath directive.
10625 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10626 vpath. Do not allow for C++ type data being missing.
10627 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10628 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10629 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10630 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10631 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10632 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10633 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10635 ... here.
10636 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10638 ... here.
10639 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10640 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10641 ... here.
10642 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10644 ... here.
10645 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10647 ... here.
10648 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10649 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10650 ... here.
10651 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10652 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10653 ... here.
10654 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10655 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10656
cfc82fd8
JM
10657 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10658 definitions to architecture-specific files.
10659 (TLS_IE): Likewise.
10660 (TLS_LD): Likewise.
10661 (TLS_GD): Likewise.
10662 * sysdeps/i386/tls-macros.h: New file.
10663 * sysdeps/powerpc/tls-macros.h: Likewise.
10664 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10665 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10666 * sysdeps/sh/tls-macros.h: Likewise.
10667 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10668 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10669 * sysdeps/x86_64/tls-macros.h: Likewise.
10670
f7db3170
TS
106712012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10672
07cbfc23
TS
10673 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10674 zero value for regular exit case.
10675
f7db3170
TS
10676 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10677 (__start_context): Preserve zero value for regular exit case.
10678
dc97c227
TS
106792012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10680 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10681
10682 * manual/setjmp.texi (setcontext): Clarify normal process
10683 termination when uc_link is the null pointer.
10684 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10685 exit call.
10686
d0cd7d02
AS
106872012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10688
10689 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10690 preprocessor. Test for each exception mask separately.
10691
dd318934
AJ
106922012-07-16 Andreas Jaeger <aj@suse.de>
10693
10694 * po/ru.po: Update from translation team.
10695
8048311a
JM
106962012-07-15 Joseph Myers <joseph@codesourcery.com>
10697
10698 * conform/data/string.h-data (NULL): Use macro-constant. Require
10699 equal to 0.
10700 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10701 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10702 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10703 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10704 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10705
b637d46e
AJ
107062012-07-13 Andreas Jaeger <aj@suse.de>
10707
10708 * po/fr.po: Update from translation team.
10709
541428fe
MP
107102012-07-12 Marek Polacek <polacek@redhat.com>
10711
10712 [BZ #14173]
10713 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10714 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10715 loop condition.
10716
ec332e94
JM
107172012-07-12 Joseph Myers <joseph@codesourcery.com>
10718
10719 [BZ #13717]
10720 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10721 Change to 2.4.1 where previously 2.4.0.
10722 * sysdeps/unix/sysv/linux/configure: Regenerated.
10723 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10724 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10725 version.
10726 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10727 (__ASSUME_AT_CLKTCK): Remove.
10728 (__ASSUME_AT_PAGESIZE): Likewise.
10729 (__ASSUME_AT_XID): Likewise.
10730 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10731 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10732 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10733 unconditionally.
10734 (HAVE_AUX_PAGESIZE): Likewise.
10735 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10736 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10737 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10738
7b6e99be
JB
107392012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10740
10741 [BZ #14307]
10742 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10743 the temporary buffer used to invoke __gethostbyname2_r,
10744 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10745 host_data / struct gaih_addrtuple.
10746 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10747 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10748 header file nss/nsswitch.h.
10749 * nss/nsswitch.h (global scope): Add definition of implementation
10750 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10751 resolv/nss_dns/dns-host.c).
10752
608404eb
AJ
107532012-07-11 Andreas Jaeger <aj@suse.de>
10754
10755 * po/fr.po: Update from translation team.
10756
71220aca
AJ
10757 * po/sv.po: Update from translation team
10758 * po/fr.po: Another update from translation team.
10759
28cfe843
AZ
107602012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10761
10762 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10763 for subnormals or multiply small sinh result by itself.
10764 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10766
6b90f981
DM
107672012-07-11 David S. Miller <davem@davemloft.net>
10768
10769 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10770
c6825772
AS
107712012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10772
10773 [BZ #14347]
10774 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10775 (INTERNAL_MARK): Shift it here.
10776
7b8e0d49
MP
107772012-07-10 Marek Polacek <polacek@redhat.com>
10778
10779 [BZ #14151]
10780 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10781 libc_cv_asm_global_directive with .globl.
10782 * configure: Regenerated.
10783 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10784 with .globl.
10785 * sysdeps/i386/configure: Regenerated.
10786 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10787 with .globl.
10788 * sysdeps/x86_64/configure: Regenerated.
10789 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10790 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10791 * elf/tst-unique2mod2.c: Likewise.
10792 * elf/tst-unique2mod1.c: Likewise.
10793 * elf/tst-unique1mod2.c: Likewise.
10794 * elf/tst-unique1mod1.c: Likewise.
10795 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10796 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10797 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10798 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10799 * sysdeps/mach/sysdep.h: Likewise.
10800 * sysdeps/i386/sysdep.h: Likewise.
10801 * sysdeps/i386/i386-mcount.S: Likewise.
10802 * sysdeps/x86_64/_mcount.S: Likewise.
10803 * sysdeps/x86_64/sysdep.h: Likewise.
10804 * sysdeps/sh/_mcount.S: Likewise.
10805 * sysdeps/sh/sysdep.h: Likewise.
10806 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10807 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10808 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10809 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10810 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10811 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10812 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10813 * locale/localeinfo.h: Likewise.
10814 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10815 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10816
6c55cda3
RM
108172012-07-09 Roland McGrath <roland@hack.frob.com>
10818
10819 [BZ #14336]
10820 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10821 system".
10822 * manual/message.texi (The Uniforum approach): Likewise.
10823 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10824 (glibc iconv Implementation): Likewise.
10825
638a572e
JM
108262012-07-09 Joseph Myers <joseph@codesourcery.com>
10827
10828 [BZ #14337]
10829 * math/s_clog.c (__clog): Avoid scaling a value down where that
10830 could result in underflow.
10831 * math/s_clog10.c (__clog10): Likewise.
10832 * math/s_clog10f.c (__clog10f): Likewise.
10833 * math/s_clog10l.c (__clog10l): Likewise.
10834 * math/s_clogf.c (__clogf): Likewise.
10835 * math/s_clogl.c (__clogl): Likewise.
10836 * math/libm-test.inc (clog_test): Add more tests.
10837 (clog10_test): Likewise.
10838 * sysdeps/i386/fpu/libm-test-ulps: Update.
10839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10840
261f4859
AS
108412012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10842
0abaf3e4
AS
10843 [BZ #14283]
10844 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10845 by 7 not 8 to examine high bit of fractional part.
10846
261f4859
AS
10847 [BZ #14042]
10848 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10849 for call to __mcount_internal.
10850 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10851 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10852 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10853
f17ac40d
JM
108542012-07-06 Joseph Myers <joseph@codesourcery.com>
10855
9ad63c23
JM
10856 [BZ #14154]
10857 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10858 approximation for values within 0x1p-13f of an odd multiple of
10859 pi/4.
10860 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10861 exception. Add more tests.
10862 * sysdeps/i386/fpu/libm-test-ulps: Update.
10863
f17ac40d
JM
10864 [BZ #6778]
10865 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10866 inputs and return -1 for them. Do not check for +Inf in case not
10867 reachable for +Inf.
10868 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10869 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10870 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10871 and return -1 for them. Do not check for +Inf in case not
10872 reachable for +Inf.
10873 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10874 define.
10875 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10876 and return -1 for them. Do not check for +Inf in case not
10877 reachable for +Inf.
10878 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10879 spurious underflow.
10880 * sysdeps/i386/fpu/libm-test-ulps: Update.
10881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10882
fb21f89b
MF
108832012-07-06 Mike Frysinger <vapier@gentoo.org>
10884
10885 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10886
cdfe2c5e
JM
108872012-07-05 Joseph Myers <joseph@codesourcery.com>
10888
10889 [BZ #14157]
10890 [BZ #14331]
10891 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10892 could result in spurious underflow. Scale down values above
10893 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10894 * math/s_csqrtf.c (__csqrtf): Likewise.
10895 * math/s_csqrtl.c (__csqrtl): Likewise.
10896 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10897 spurious underflow.
10898 * sysdeps/i386/fpu/libm-test-ulps: Update.
10899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10900
70d35b67
AS
109012012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10902
704bc459
AS
10903 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10904 xopen-msg.sed.
10905 * catgets/xopen-msg.awk: New file.
10906 * catgets/xopen-msg.sed: Removed.
10907
70d35b67
AS
10908 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10909 po2text.sed.
10910 * intl/po2test.awk: New file.
10911 * intl/po2test.sed: Removed.
10912
ca61cf32
JM
109132012-07-04 Joseph Myers <joseph@codesourcery.com>
10914
10915 [BZ #14328]
10916 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10917 or multiply small sinh result by itself.
10918 * math/s_ctanf.c (__ctanf): Likewise.
10919 * math/s_ctanh.c (__ctanh): Likewise.
10920 * math/s_ctanhf.c (__ctanhf): Likewise.
10921 * math/s_ctanhl.c (__ctanhl): Likewise.
10922 * math/s_ctanl.c (__ctanl): Likewise.
10923 * math/libm-test.inc (ctan_test_tonearest): New function.
10924 (ctan_test_towardzero): Likewise.
10925 (ctan_test_downward): Likewise.
10926 (ctan_test_upward): Likewise.
10927 (ctanh_test_tonearest): Likewise.
10928 (ctanh_test_towardzero): Likewise.
10929 (ctanh_test_downward): Likewise.
10930 (ctanh_test_upward): Likewise.
10931 (main): Call these new functions.
10932 * sysdeps/i386/fpu/libm-test-ulps: Update.
10933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10934
ca48a46a
MF
109352012-07-03 Mike Frysinger <vapier@gentoo.org>
10936
10937 * .gitignore: Delete /ports entry.
10938
9d63d37d
AJ
109392012-07-03 Andreas Jaeger <aj@suse.de>
10940
10941 * po/bg.po: Update from translation team.
10942 * po/cs.po: Likewise.
10943 * po/de.po: Likewise.
10944 * po/hr.po: Likewise.
10945 * po/nl.pl: Likewise.
10946 * po/pl.po: Likewise.
10947 * po/vi.po: Likewise.
10948
370ca3d2
JM
109492012-07-03 Joseph Myers <joseph@codesourcery.com>
10950
95f5a9a8
JM
10951 * Makeconfig [!+link] (+link-before-libc): New variable.
10952 [!+link] (+link-after-libc): Likewise.
10953 [!+link] (+link-tests): Likewise.
10954 [!+link] (+link): Define in terms of $(+link-before-libc) and
10955 $(+link-after-libc).
10956 [!+link-static] (+link-static-before-libc): New variable.
10957 [!+link-static] (+link-static-after-libc): Likewise.
10958 [!+link-static] (+link-static-tests): Likewise.
10959 [!+link-static] (+link-static): Define in terms of
10960 $(+link-static-before-libc) and $(+link-static-after-libc).
10961 [build-shared] (link-libc-before-gnulib): New variable.
10962 [build-shared] (link-libc-tests): Likewise.
10963 [build-shared] (link-libc): Define in terms of
10964 $(link-libc-before-gnulib).
10965 [!build-shared] (link-libc-tests): New variable.
10966 (link-libc-static-tests): New variable.
10967 [!gnulib] (gnulib-arch): New variable.
10968 [!gnulib] (gnulib-tests): Likewise.
10969 [!gnulib] (static-gnulib-arch): Likewise.
10970 [!gnulib] (static-gnulib-tests): Likewise.
10971 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10972 Define with "=" instead of ":=".
10973 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10974 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10975 * Rules (binaries-all-notests): New variable.
10976 (binaries-all-tests): Likewise.
10977 (binaries-static-notests): Likewise.
10978 (binaries-static-tests): Likewise.
10979 (binaries-all): Define using $(binaries-all-notests) and
10980 $(binaries-all-tests).
10981 (binaries-static): Define using $(binaries-static-notests) and
10982 $(binaries-static-tests).
10983 (binaries-shared-tests): New variable.
10984 (binaries-shared-notests): Likewise.
10985 (binaries-shared): Remove variable.
10986 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
10987 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
10988 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
10989 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
10990 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
10991 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
10992 * elf/Makefile (sln-modules): New variable.
10993 (extra-objs): Add $(sln-modules:=.o).
10994 (ldconfig-modules): Add static-stubs.
10995 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
10996 * elf/static-stubs.c: New file.
10997
7a845b2c
JM
10998 [BZ #14283]
10999 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11000 by 7 not 8 to examine high bit of fractional part. Use volatile
11001 variables when splitting into final array of floats if
11002 __FLT_EVAL_METHOD__ != 0.
11003 * math/libm-test.inc (cos_test): Add another test.
11004 (sin_test): Likewise.
11005 * sysdeps/i386/fpu/libm-test-ulps: Update.
11006
e2283f38
JM
11007 [BZ #14273]
11008 * math/libm-test.inc (cosh_test): Add more tests.
11009
370ca3d2
JM
11010 * version.h (RELEASE): Set to "development".
11011 (VERSION): Set to "2.16.90".
11012
ee9247c3
CD
110132012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11014
11015 * NEWS: Update copyright. Remove last-updated date.
11016 Mention math library bug fixes and timezone data changes.
11017 * README: Mention GNU/Hurd, x32, and HPPA support status.
11018
4648c381
TS
110192012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11020
11021 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11022
aac78a43
AJ
110232012-06-27 Andreas Jaeger <aj@suse.de>
11024
11025 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11026
ed3dbfad
AJ
110272012-06-25 Andreas Jaeger <aj@suse.de>
11028
11029 * sysdeps/s390/fpu/libm-test-ulps: Update.
11030
4d0ee855
AS
110312012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11032 Thomas Schwinge <thomas@codesourcery.com>
11033
11034 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11035 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11036 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11037 fanotify_mark.
11038
af1bce34
TS
110392012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11040
a9fa33ba
TS
11041 * sysdeps/mach/start.c: Remove file.
11042 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11043 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11044 * sysdeps/sh/init-first.c: Likewise.
11045
58f902b8
TS
11046 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11047 registers for frame unwinding purposes, add CFI directives.
11048 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11049 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11050 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11051 Likewise.
11052
1518f58b
TS
11053 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11054 __fortify_fail returning.
11055 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11056
db9b5059
TS
11057 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11058 sysdeps/sh/____longjmp_chk.S.
11059 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11060 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11061 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11062 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11063
967705fe
TS
11064 * sysdeps/sh/abort-instr.h: New file.
11065 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11066 process in case exit returns.
11067
a9def8c4
TS
11068 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11069 initialize the GOT register before use.
11070
2a649725
TS
11071 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11072 calculation of ARGC > 4.
11073
af1bce34
TS
11074 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11075 meaningful names to some local labels.
11076
d230f50a
KK
110772012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11078 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11079
11080 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11081 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11082 (__arch_compare_and_exchange_val_16_acq): Likewise.
11083 (__arch_compare_and_exchange_val_32_acq): Likewise.
11084 (atomic_exchange_and_add): Fix gUSA sequence.
11085 (atomic_add): Likewise.
11086 (atomic_add_negative): Likewise.
11087 (atomic_add_zero): Likewise.
11088 (atomic_bit_test_set): Likewise.
11089
0479b305
AS
110902012-06-22 Andreas Schwab <schwab@redhat.com>
11091
11092 [BZ #13579]
11093 * include/link.h (struct link_map): Add l_free_initfini.
11094 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11095 l_initfini.
11096 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11097 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11098 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11099 set.
11100
0e3933b9
CD
111012012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11102
11103 * configure.in: Use AC_LANG_SOURCE.
11104 * configure: Regenerate.
11105
4248b1b1
RM
111062012-06-22 Roland McGrath <roland@hack.frob.com>
11107
11108 * configure.in (libc_cv_localstatedir): New substituted variable.
11109 * configure: Regenerated.
11110 * config.make.in (localstatedir): New variable, substituted from
11111 libc_cv_localstatedir.
11112 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11113 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11114 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11115 * sysdeps/gnu/configure: Regenerated.
11116
006dd861
JL
111172012-06-21 Jeff Law <law@redhat.com>
11118
11119 [BZ #14277]
11120 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11121 free. Simplify list management for _LIBC case.
11122
79662d42
JM
111232012-06-21 Joseph Myers <joseph@codesourcery.com>
11124
b7abb4bf
JM
11125 [BZ #14273]
11126 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11127 Clear sign bit of 64-bit integer value before comparing against
11128 overflow value.
11129
79662d42
JM
11130 * sysdeps/mach/configure: Regenerated.
11131
1f150908
L
111322012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11133
11134 [BZ #14278]
11135 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11136
28363bbf
JL
111372012-06-21 Jeff Law <law@redhat.com>
11138
11139 [BZ #13882]
11140 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11141 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 11142 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
11143 * elf/dl-open.c (dl_open_worker): Likewise.
11144
09615db4
CD
111452012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11146
11147 * scripts/list-sources.sh: Scan PORTS for translations.
11148 * po/libc.pot: Regenerated.
11149
2174c6dd
AJ
111502012-06-21 Andreas Jaeger <aj@suse.de>
11151
11152 [BZ #12194]
11153 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11154 warning.
11155 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11156 * bits/byteswap-16.h (__bswap_16): Likewise.
11157 * bits/byteswap.h (__bswap_constant_16): Likewise.
11158
3ee947b1
L
111592012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11160
11161 [BZ #14117]
a2f34833
L
11162 * sysdeps/i386/fpu_control.h: Removed.
11163 * sysdeps/x86_64/fpu_control.h: Moved to ...
11164 * sysdeps/x86/fpu_control.h: Here.
11165
3ee947b1
L
11166 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11167 (_FPU_SETCW): Likewise.
11168
ed1825f8
L
111692012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11170
25f1282a
L
11171 [BZ #14117]
11172 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11173 * sysdeps/x86/fpu/bits/mathinline.h: This.
11174 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11175
ed1825f8
L
11176 [BZ #14050]
11177 [BZ #14117]
11178 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11179 functions if __x86_64__ is defined.
11180
36d54b74
CLT
111812012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11182
11183 * string/endian.h: Add !__ASSEMBLER__ condition for including
11184 conversion interfaces.
11185
10285c21
JM
111862012-06-15 Joseph Myers <joseph@codesourcery.com>
11187
11188 [BZ #14241]
11189 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11190 of ABS(x) in calculating zero to negative powers other than odd
11191 integers.
11192 * math/libm-test.inc (pow_test): Add more tests.
11193
06c5abbd
AJ
111942012-06-15 Andreas Jaeger <aj@suse.de>
11195
11196 * manual/contrib.texi (Contributors): Update entry of Liubov
11197 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11198 Machado Filho.
11199
a3aeac40
CH
112002012-06-15 Cyril Hrubis <metan@ucw.cz>
11201
11202 * string/string.h: Add __wur to GNU version of strerror_r.
11203
49bdf4c1
L
112042012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11205
11206 [BZ #14229]
11207 * string/Makefile (tests): Add tst-strtok_r.
11208 * string/tst-strtok_r.c: New file.
11209 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11210 RAX_LP/RDX_LP on SAVE_PTR.
11211
834f9b8d
RM
112122012-06-14 Roland McGrath <roland@hack.frob.com>
11213
11214 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11215
75fa1921
JM
112162012-06-14 Joseph Myers <joseph@codesourcery.com>
11217
11218 * libm_test.inc (csqrt_test): Allow more spurious underflow
11219 exceptions.
11220 (j0_test): Likewise.
11221 (j1_test): Likewise.
11222 (y0_test): Likewise.
11223 (y1_test): Likewise.
11224
771766df
CD
112252012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11226
11227 * po/Makefile (libc.pot): Use UTF-8 charset.
11228
ceb9e56b
PP
112292012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11230
11231 [BZ #14210]
11232 Suppress sign-conversion warning from FD_SET.
11233 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11234 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11235 not unsigned long int.
11236 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11237
ddb28975
L
112382012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11239
11240 [BZ #14050]
11241 [BZ #14117]
11242 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11243 __extern_always_inline instead of __extern_inline.
11244 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11245 (__signbit): Likewise.
11246 (__signbitl): Support C++ namespace.
11247 (lrintf): New inline function.
11248 (lrint): Likewise.
11249 (llrintf): Likewise.
11250 (llrint): Likewise.
11251 (fmaxf): Likewise.
11252 (fmax): Likewise.
11253 (fminf): Likewise.
11254 (fmin): Likewise.
11255 (rint): Likewise.
11256 (rintf): Likewise.
11257 (ceil): Likewise.
11258 (ceilf): Likewise.
11259 (floor): Likewise.
11260 (floorf): Likewise.
11261 (nearbyint): Likewise.
11262 (nearbyintf): Likewise.
11263
d7b4fb26
TS
112642012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11265
11266 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11267 non-default versions.
11268
eb55f5c2
RM
112692012-06-11 Roland McGrath <roland@hack.frob.com>
11270
11271 [BZ #14218]
11272 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11273
366af02c
TS
112742012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11275
99ff6e5c
TS
11276 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11277 (FE_UPWARD, FE_DOWNWARD): Don't define.
11278 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11279 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11280
366af02c
TS
11281 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11282 reading it.
11283 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11284 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11285
793ea851
KK
112862012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11287
11288 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11289 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11290 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11291 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11292
a728a38f
L
112932012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11294
11295 [BZ #14117]
c08010c7
L
11296 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11297 * sysdeps/i386/fpu/Implies: New file.
11298 * sysdeps/x86_64/fpu/Implies: Likewise.
11299 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11300 * sysdeps/x86/fpu/bits/fenv.h: This.
11301
a728a38f
L
11302 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11303 __SSE_MATH__.
11304
6e230d11
SP
113052012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11306
11307 [BZ #14134]
11308 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11309 character 0xffff that matches the last element of the
11310 conversion table.
11311
1b671feb
AZ
113122012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11313
11314 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11315 fmodl commit.
11316
6043738b
AZ
113172012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11318
11319 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11320 values higher than 25.6283.
11321
34ae0b32
AZ
113222012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11323
11324 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11325 subnormal exponent extraction and add some __builtin_expect.
11326 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11327 Fix for subnormal mantissa calculation.
11328
1214ec8f
MF
113292012-06-04 Mike Frysinger <vapier@gentoo.org>
11330
11331 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11332 cpu2 is -1 and errno is not ENOSYS.
11333
f3d1f93c
L
113342012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11335
11336 [BZ #14117]
0e4a3cd7
L
11337 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11338 * sysdeps/x86/bits/string.h: This.
11339 * sysdeps/x86_64/bits/string.h: Removed.
11340
6704c645
L
11341 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11342 if not compiling for x86-64, but compiling for >= i486.
11343
48495318
L
11344 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11345 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11346
14adcbfc
L
11347 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11348 New macro from Linux kernel 3.4.0.
11349 (FP_XSTATE_MAGIC2): Likewise.
11350 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11351 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11352 (struct _fpx_sw_bytes): New struct.
11353 (struct _xsave_hdr): Likewise.
11354 (struct _ymmh_state): Likewise.
11355 (struct _xstate): Likewise.
11356
68e408ab
L
11357 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11358 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11359 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11360 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11361 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11362 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11363
f3d1f93c
L
11364 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11365 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11366 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11367 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11368 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11369 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11370
d9dc34cd
TMQMF
113712012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11372
11373 [BZ #13743]
11374 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11375 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11376 (sysdep_headers): Include sys/platform/ppc.h.
11377 * sysdeps/powerpc/test-gettimebase.c: Test for
11378 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11379 * manual/Makefile (appendices): Include platform.texi.
11380 * manual/contrib.texi (Contributors): Update @node pointers.
11381 * manual/maint.texi (Maintenance): Likewise.
11382 (Platform): New node.
11383 * manual/platform.texi: New file. Document the new features.
11384
4af3879c
SP
113852012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11386 Jakub Jelinek <jakub@redhat.com>
11387
11388 [BZ #14188]
11389 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11390 where __builtin_expect is unavailable.
11391
2fd6ff13
DM
113922012-06-03 David S. Miller <davem@davemloft.net>
11393
11394 * stdlib/longlong.h: Updated from GCC.
11395
173f7220
AS
113962012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11397
11398 [BZ #14042]
11399 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11400 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11401 __mcount_internal.
11402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11403 (GLIBC_2.16): Likewise.
11404
f34a1c6f
L
114052012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11406
11407 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11408
88a4576f
JM
114092012-06-01 Joseph Myers <joseph@codesourcery.com>
11410
ea32bcdd
JM
11411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11412 (default-abi): New variable.
11413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11414 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11415 variable.
11416 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11417 Likewise.
11418 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11419 Likewise.
11420 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11421 Likewise.
11422
88a4576f
JM
11423 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11424 definition. Document in comment.
11425
402fe938
DM
114262012-06-01 David S. Miller <davem@davemloft.net>
11427
11428 * stdlib/longlong.h: Updated from GCC.
11429
3553723f
L
114302012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11431
11432 [BZ #14117]
3bd872c4
L
11433 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11434 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11435 sys/debugreg.h sys/io.h here.
11436 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11437 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11438 sys/io.h.
11439 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11440 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11441 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11442 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11443 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11444 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11445
3553723f
L
11446 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11447 Define only if __x86_64__ is defined.
11448
4842e4fe
JM
114492012-06-01 Joseph Myers <joseph@codesourcery.com>
11450
c5bfe3d5
JM
11451 [BZ #14048]
11452 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11453 Use int64_t for variable i.
11454 * math/libm-test.inc (fmod_test): Add more tests.
11455
4842e4fe
JM
11456 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11457 z computation is not scheduled after fetestexcept.
11458 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11459 Use math_force_eval instead of asm to ensure calculation scheduled
11460 before exception test.
11461 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11462 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11463
efb73488
AJ
114642012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11465
11466 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11467 computation is not scheduled after fetestexcept.
11468
29bcce7c
L
114692012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11470
11471 [BZ #14117]
11472 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11473 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11474
73a68f94
AZ
114752012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11476
11477 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11478 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11479
67b6df78
L
114802012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11481
edf2933a 11482 [BZ #14117]
ebc64a18
L
11483 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11484 <bits/wordsize.h>.
11485 (__WCHAR_MIN): Support __WORDSIZE == 64.
11486 (__WCHAR_MAX): Likewise.
11487
edf2933a
L
11488 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11489 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11490
57c6cf40
L
11491 [BZ #14183]
11492 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11493 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11494
67b6df78 11495 [BZ #14117]
8eb6281e
L
11496 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11497 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11498
aac639f4
L
11499 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11500 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11501
67b6df78
L
11502 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11503 Defined to 1 if __x86_64__ isn't defined.
11504 (_STAT_VER_LINUX_OLD): New.
11505 (st_atime): Remove duplicate.
11506 (st_mtime): Likewise.
11507 (st_ctime): Likewise.
11508
1c2cfe81
DM
115092012-05-31 David S. Miller <davem@davemloft.net>
11510
11511 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11512 entries.
11513
5be8418c
AS
115142012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11515
e7725326
AS
11516 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11517 gen-libm-test.pl.
11518
5be8418c
AS
11519 [BZ #14132]
11520 * elf/dl-reloc.c: Include <_itoa.h>.
11521 (_dl_reloc_bad_type): Remove use of INTUSE.
11522 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11523 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11524 * stdio-common/psiginfo.c (psiginfo): Likewise.
11525 * stdio-common/psignal.c (psignal): Likewise.
11526 * string/strsignal.c (strsignal): Likewise.
11527 * include/signal.h (_sys_siglist): Declare hidden proto.
11528 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11529 INTVARDEF with libc_hidden_data_def.
11530 * stdio-common/itoa-udigits.c: Likewise.
11531 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11532 (_itoa_lower_digits_internal): Remove declaration.
11533 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11534 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11535 (_sys_sigabbrev_internal): Remove aliases.
11536 (_sys_siglist): Define hidden alias.
11537
507352f1
MT
115382012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11539
11540 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11541 bits/sysctl.h.
11542
42bbb1c3
L
115432012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11544
11545 [BZ #14117]
6bd784b6
L
11546 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11547 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11548
8bca20f0
L
11549 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11550 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11551 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11552 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11553 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11554 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11555
f9e890a9
L
11556 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11557 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11558 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11559
471101a1
L
11560 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11561 with __addr.
11562 (insw): Likewise.
11563 (insl): Likewise.
11564 (outsb): Likewise.
11565 (outsw): Likewise.
11566 (outsl): Likewise.
11567
6451c862
L
11568 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11569 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11570 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11571
a254b8c9
L
11572 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11573 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11574 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11575 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11576 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11577 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11578
b8dfdd92
L
11579 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11580 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11581
578cd270
L
11582 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11583 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11584
de662f5f
L
11585 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11586 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11587 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11588
25653439
L
11589 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11590 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11591 to ...
11592 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11593
6bad24a0
L
11594 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11595 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11596 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11597
42bbb1c3
L
11598 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11599 for x86-64.
11600 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11601
2d10d547
JM
116022012-05-31 Joseph Myers <joseph@codesourcery.com>
11603
11604 * math/math.h (M_El): Use two more decimal places.
11605 (M_LOG2El): Likewise.
11606 (M_LOG10El): Likewise.
11607 (M_LN2l): Likewise.
11608 (M_LN10l): Likewise.
11609 (M_PIl): Likewise.
11610 (M_PI_2l): Likewise.
11611 (M_PI_4l): Likewise.
11612 (M_1_PIl): Likewise.
11613 (M_2_PIl): Likewise.
11614 (M_2_SQRTPIl): Likewise.
11615 (M_SQRT2l): Likewise.
11616 (M_SQRT1_2l): Likewise.
11617
f230c29b
DM
116182012-05-31 David S. Miller <davem@davemloft.net>
11619
11620 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11621 values between float registers.
11622 * sysdeps/sparc/sparc64/memset.S: Likewise.
11623 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11624
fed806c3
MF
116252012-05-31 Mike Frysinger <vapier@gentoo.org>
11626
11627 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11628 -D_FORTIFY_SOURCE=1.
11629 (CPPFLAGS-tst-longjmp_chk.c): Define.
11630 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11631 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11632 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11633 CFLAGS-tst-wchar-h.c.
11634
30917259
MP
116352012-05-31 Marek Polacek <polacek@redhat.com>
11636
11637 [BZ #14132]
11638 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11639 __endmntent_internal): Remove declaration.
11640 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11641 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11642 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11643
1c58d5dc
DM
116442012-05-30 David S. Miller <davem@davemloft.net>
11645
11646 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11647 (___Q_simulate_exceptions): Use real FP ops rather than writing
11648 into the %fsr.
11649 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11650 Likewise.
11651
7dc00e0d
L
116522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11653
11654 [BZ #14117]
0bd53985
L
11655 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11656 * sysdeps/x86/bits/xtitypes.h: This.
11657
3a257e66
L
11658 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11659 * sysdeps/x86/bits/wordsize.h: This.
11660
62f62904
L
11661 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11662 * sysdeps/x86/bits/huge_vall.h: This.
11663
404fe9d9
L
11664 * sysdeps/i386/bits/select.h: Removed.
11665 * sysdeps/x86_64/bits/select.h: Renamed to ...
11666 * sysdeps/x86/bits/select.h: This.
11667
d48d0446
L
11668 * sysdeps/i386/bits/setjmp.h: Removed.
11669 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11670 * sysdeps/x86/bits/setjmp.h: This.
11671
7dc00e0d
L
11672 * sysdeps/i386/bits/mathdef.h: Removed.
11673 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11674 * sysdeps/x86/bits/mathdef.h: This.
11675
03277f8f
AS
116762012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11677
11678 [BZ #14132]
11679 * include/sys/socket.h (__connect_internal)
11680 (__libc_sa_len_internal): Remove declaration.
11681 (__connect, __libc_sa_len): Declare hidden_proto.
11682 (SA_LEN): Remove use of INTUSE.
11683 * socket/connect.c: Add libc_hidden_def.
11684 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11685 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11686 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11687 alias.
11688 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11689 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11690 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11691 of adding _internal alias.
11692
13764867
L
116932012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11694
11695 [BZ #14117]
6bd97696
L
11696 * sysdeps/i386/bits/link.h: Removed.
11697 * sysdeps/i386/bits/linkmap.h: Likewise.
11698 * sysdeps/x86_64/bits/link.h: Renamed to ...
11699 * sysdeps/x86/bits/link.h: This.
11700 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11701 * sysdeps/x86/bits/linkmap.h: This.
11702
f726f0bb
L
11703 * sysdeps/i386/bits/endian.h: Removed.
11704 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11705 * sysdeps/x86/bits/endian.h: This.
11706
13764867
L
11707 * sysdeps/i386/bits/byteswap.h: Removed.
11708 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11709 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11710 * sysdeps/x86/bits/byteswap.h: This.
11711 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11712 * sysdeps/x86/bits/byteswap-16.h: This.
11713 * sysdeps/i386/Implies: Add x86.
11714 * sysdeps/x86_64/Implies: Likewise.
11715
ae251b0b
DM
117162012-05-30 David S. Miller <davem@davemloft.net>
11717
11718 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11719 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11720 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11721 (FP_TRAPPING_EXCEPTIONS): Define.
11722 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11723 (FP_TRAPPING_EXCEPTIONS): Define.
11724 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11725 subnormals only when inexact has been signalled or underflow
11726 exceptions are enabled.
11727 (_FP_PACK_CANONICAL): Likewise.
11728
d5c90867
L
117292012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11730
11731 [BZ #14183]
11732 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11733 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11734
63f1549e
RH
117352012-05-30 Richard Henderson <rth@twiddle.net>
11736
8d8f2279
RH
11737 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11738 with #ifndef NOT_IN_libc.
11739
63f1549e
RH
11740 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11741 marked to avoid plt entry.
11742
0ab0291b
L
117432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11744
11745 [BZ #14112]
11746 * Makeconfig (default-abi): New macro.
11747 (abi-includes): Likewise.
11748 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11749 $(abi-$(default-abi)-lib-soname) for soname if defined.
11750 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11751 abi-variants.
11752 * Makefile (installed-stubs): Likewise.
11753 * include/stubs-biarch.h: Removed.
11754 * scripts/lib-names.awk: Only handle one library at a time.
11755 * scripts/soversions.awk: Remove WORDSIZE support.
11756 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11757 entries.
11758 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11759 Removed.
11760 (syscall-list-default-condition): Likewise.
11761 (syscall-list-default-condition): Likewise.
11762 (syscall-list-includes): Likewise.
11763 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11764 syscall-list-* with abi-*. Handle undefined abi-variants.
11765 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11766 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11767 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11768 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11769 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11770 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11771 Removed.
11772 (syscall-list-32-options): Likewise.
11773 (syscall-list-32-condition): Likewise.
11774 (syscall-list-64-options): Likewise.
11775 (syscall-list-64-condition): Likewise.
11776 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11777 macro.
11778 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11779 Renamed to ...
11780 (abi-*): This.
11781 (abi-64-ld-soname): New macro.
11782 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11783 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11784 Renamed to ...
11785 (abi-*): This.
11786 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11787 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11788
4da0431d
JM
117892012-05-30 Joseph Myers <joseph@codesourcery.com>
11790
3a85279c
JM
11791 * sysdeps/unix/sysv/linux/kernel-features.h
11792 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11793 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11794 include <kernel-features.h>.
11795 [!__NR_ftruncate64]: Remove conditional code.
11796 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11797 [__NR_ftruncate64]: Make code unconditional.
11798 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11799 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11800 include <kernel-features.h>.
11801 [!__NR_ftruncate64]: Remove conditional code.
11802 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11803 [__NR_ftruncate64]: Make code unconditional.
11804 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11806 include <kernel-features.h>.
11807 [!__NR_ftruncate64]: Remove conditional code.
11808 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11809 [__NR_ftruncate64]: Make code unconditional.
11810 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11812 include <kernel-features.h>.
11813 [!__NR_ftruncate64]: Remove conditional code.
11814 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11815 [__NR_ftruncate64]: Make code unconditional.
11816 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11817
4da0431d
JM
11818 * configure.in (libc_cv_fpie): Weaken to a compile test using
11819 LIBC_TRY_CC_OPTION.
11820 * configure: Regenerated.
11821
11ef492c
AK
118222012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11823
11824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11825 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11826 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11827 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11828 Refreshed.
11829 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11830 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11831 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11833 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11834 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11835 Refreshed.
11836
d66ef399
DM
118372012-05-27 David S. Miller <davem@davemloft.net>
11838
11839 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11840 (___Q_zero): New.
11841 (__Q_simulate_exceptions): Return void. Change to simulate
11842 exceptions by writing into the %fsr.
11843 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11844 (__Qp_handle_exceptions): Likewise.
11845 (numbers): Delete.
11846 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11847 __Qp_handle_exceptions.
11848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11849 __Qp_handle_exceptions.
11850 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11851 as unused and give dummy FP_RND_NEAREST initializer.
11852 (FP_INHIBIT_RESULTS): Define.
11853 (___Q_simulate_exceptions): Update declaration.
11854 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11855 formatting.
11856 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11857 as unused and give dummy FP_RND_NEAREST initializer.
11858 (__Qp_handle_exceptions): Update declaration.
11859 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11860 formatting.
11861
04fb54b5
TS
118622012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11863
11864 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11865 the temporary FPU control word.
11866 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11867 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11868 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11869 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11870 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11871 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11872 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11873 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11874 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11875 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11876 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11877
3f99608f
KK
118782012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11879
11880 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11881 fields.
11882
65a4de4e
CLT
118832012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11884
11885 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11886 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11887 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11888 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11889 Likewise.
11890 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11891 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11892 Likewise.
11893
15749d40
UD
118942012-05-27 Ulrich Drepper <drepper@gmail.com>
11895
11896 * po/h.po: Update from translation team.
11897
25dbcb27
AS
118982012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11899
3d3f8e55
AS
11900 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11901
25dbcb27
AS
11902 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11903 handling of denormals.
11904 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11905 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11906 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11907 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11908 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11909 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11910 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11911 Likewise.
11912
7ad47a80 119132012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
11914
11915 [BZ #14152]
11916 * math/libm-test.inc (fma_test): Don't always expect underflow
11917 exception.
11918
9c6ea9fa
SP
119192012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11920
11921 [BZ #12416]
11922 * elf/tst-execstack.c: Include stackinfo.h.
11923 (do_test): Adjust test case to ensure that pthread_getattr_np
11924 behaviour remains the same after marking stack executable.
11925
a8239222
JM
119262012-05-25 Joseph Myers <joseph@codesourcery.com>
11927
11928 * sysdeps/unix/sysv/linux/kernel-features.h
11929 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11930 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11931 kernel-features.h.
11932 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11933 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11934 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11935 kernel-features.h.
11936 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11937 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11938
918b5606
L
119392012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11940
11941 * configure.in: Define the default includes to being none.
11942 * configure: Regenerated.
11943
3a097cc7
RM
119442012-05-25 Roland McGrath <roland@hack.frob.com>
11945
8422c9a5
RM
11946 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11947 * sysdeps/x86_64/setjmp.S: Likewise.
11948 * sysdeps/i386/bsd-setjmp.S: Likewise.
11949 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11950 * sysdeps/i386/setjmp.S: Likewise.
11951 * sysdeps/i386/__longjmp.S: Likewise.
11952 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11953 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11954
3a097cc7
RM
11955 * include/stap-probe.h: New file.
11956 * configure.in: Handle --enable-systemtap.
11957 * configure: Regenerated.
11958 * config.h.in (USE_STAP_PROBE): New #undef.
11959 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11960 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11961 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11962
21708942
JM
119632012-05-25 Joseph Myers <joseph@codesourcery.com>
11964
11965 [BZ #13717]
11966 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11967 to 2.4.0 where earlier.
11968 * sysdeps/unix/sysv/linux/configure: Regenerated.
11969 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11970 <kernel-features.h>.
11971 [__ASSUME_32BITUIDS]: Make code unconditional.
11972 [!__ASSUME_32BITUIDS]: Remove conditional code.
11973 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
11974 <kernel-features.h>.
11975 [__ASSUME_32BITUIDS]: Make code unconditional.
11976 [!__ASSUME_32BITUIDS]: Remove conditional code.
11977 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
11978 [__ASSUME_32BITUIDS]: Make code unconditional.
11979 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11980 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
11981 <kernel-features.h>.
11982 [__ASSUME_32BITUIDS]: Make code unconditional.
11983 [!__ASSUME_32BITUIDS]: Remove conditional code.
11984 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
11985 <kernel-features.h>.
11986 [__ASSUME_32BITUIDS]: Make code unconditional.
11987 [!__ASSUME_32BITUIDS]: Remove conditional code.
11988 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
11989 <kernel-features.h>.
11990 [__ASSUME_32BITUIDS]: Make code unconditional.
11991 [!__ASSUME_32BITUIDS]: Remove conditional code.
11992 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
11993 <kernel-features.h>.
11994 [__ASSUME_32BITUIDS]: Make code unconditional.
11995 [!__ASSUME_32BITUIDS]: Remove conditional code.
11996 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11997 <kernel-features.h>.
11998 [__ASSUME_32BITUIDS]: Make code unconditional.
11999 [!__ASSUME_32BITUIDS]: Remove conditional code.
12000 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12001 <kernel-features.h>.
12002 [__ASSUME_32BITUIDS]: Make code unconditional.
12003 [!__ASSUME_32BITUIDS]: Remove conditional code.
12004 * sysdeps/unix/sysv/linux/i386/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
12021 <kernel-features.h>.
12022 [__NR_setresgid] (__setresgid): Do not declare.
12023 [__ASSUME_32BITUIDS]: Make code unconditional.
12024 [!__ASSUME_32BITUIDS]: Remove conditional code.
12025 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12026 <kernel-features.h>.
12027 [__NR_setresuid] (__setresuid): Do not declare.
12028 [__ASSUME_32BITUIDS]: Make code unconditional.
12029 [!__ASSUME_32BITUIDS]: Remove conditional code.
12030 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12031 <kernel-features.h>.
12032 [__ASSUME_32BITUIDS]: Make code unconditional.
12033 [!__ASSUME_32BITUIDS]: Remove conditional code.
12034 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12035 <kernel-features.h>.
12036 [__ASSUME_32BITUIDS]: Make code unconditional.
12037 [!__ASSUME_32BITUIDS]: Remove conditional code.
12038 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12039 <kernel-features.h>.
12040 [__ASSUME_32BITUIDS]: Make code unconditional.
12041 [!__ASSUME_32BITUIDS]: Remove conditional code.
12042 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12043 <kernel-features.h>.
12044 [__ASSUME_32BITUIDS]: Make code unconditional.
12045 [!__ASSUME_32BITUIDS]: Remove conditional code.
12046 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12047 <kernel-features.h>.
12048 [__ASSUME_32BITUIDS]: Make code unconditional.
12049 [!__ASSUME_32BITUIDS]: Remove conditional code.
12050 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12051 <kernel-features.h>.
12052 [__ASSUME_32BITUIDS]: Make code unconditional.
12053 [!__ASSUME_32BITUIDS]: Remove conditional code.
12054 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12055 <kernel-features.h>.
12056 [__ASSUME_32BITUIDS]: Make code unconditional.
12057 [!__ASSUME_32BITUIDS]: Remove conditional code.
12058 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12059 <kernel-features.h>.
12060 [__ASSUME_32BITUIDS]: Make code unconditional.
12061 [!__ASSUME_32BITUIDS]: Remove conditional code.
12062 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12063 <kernel-features.h>.
12064 [__ASSUME_32BITUIDS]: Make code unconditional.
12065 [!__ASSUME_32BITUIDS]: Remove conditional code.
12066 * sysdeps/unix/sysv/linux/i386/shmctl.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/kernel-features.h
12071 (__ASSUME_SETRESUID_SYSCALL): Remove.
12072 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12073 (__ASSUME_32BITUIDS): Likewise.
12074 (__ASSUME_LDT_WORKS): Likewise.
12075 (__ASSUME_O_DIRECTORY): Likewise.
12076 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12077 architecture but not kernel version.
12078 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12079 (__ASSUME_MMAP2_SYSCALL): Likewise.
12080 (__ASSUME_STAT64_SYSCALL): Likewise.
12081 (__ASSUME_IPC64): Likewise.
12082 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12083 <kernel-features.h>.
12084 [__ASSUME_32BITUIDS]: Make code unconditional.
12085 [!__ASSUME_32BITUIDS]: Remove conditional code.
12086 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12087 <kernel-features.h>.
12088 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12089 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12090 132096]: Remove conditional code.
12091 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12092 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12093 <kernel-features.h>.
12094 [__ASSUME_32BITUIDS]: Make code unconditional.
12095 [!__ASSUME_32BITUIDS]: Remove conditional code.
12096 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12097 <kernel-features.h>.
12098 [__ASSUME_32BITUIDS]: Make code unconditional.
12099 [!__ASSUME_32BITUIDS]: Remove conditional code.
12100 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12101 <kernel-features.h>.
12102 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12103 unconditional.
12104 (__setresgid): Do not declare.
12105 [__ASSUME_32BITUIDS]: Make code unconditional.
12106 [!__ASSUME_32BITUIDS]: Remove conditional code.
12107 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12108 <kernel-features.h>.
12109 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12110 unconditional.
12111 (__setresuid): Do not declare.
12112 [__ASSUME_32BITUIDS]: Make code unconditional.
12113 [!__ASSUME_32BITUIDS]: Remove conditional code.
12114 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12115 <kernel-features.h>.
12116 [__ASSUME_32BITUIDS]: Make code unconditional.
12117 [!__ASSUME_32BITUIDS]: Remove conditional code.
12118 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12119 <kernel-features.h>.
12120 [__ASSUME_32BITUIDS]: Make code unconditional.
12121 [!__ASSUME_32BITUIDS]: Remove conditional code.
12122
a386f1cc
RH
121232012-05-25 Richard Henderson <rth@twiddle.net>
12124
12125 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12126 dl_hwcap to ifunc resolver.
12127 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12128 elf_ifunc_invoke.
12129 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12130 dl_hwcap to ifunc resolver.
12131 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12132
b6550497
JM
121332012-05-24 Joseph Myers <joseph@codesourcery.com>
12134
12135 [BZ #14153]
12136 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12137 for |x| <= 2**-26, not 2**-57.
12138 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12139 exception.
12140
b0bc23a1
JL
121412012-05-24 Jeff Law <law@redhat.com>
12142
12143 * stdio-common/Makefile (tests): Add bug25.
12144 * stdio-common/bug25.c: New test.
12145
347c92e9
L
121462012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12147
12148 [BZ #13576]
12149 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12150 multiple of MALLOC_ALIGNMENT in size.
12151 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12152
6bcc8b3f
JM
121532012-05-24 Joseph Myers <joseph@codesourcery.com>
12154
12155 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12156 Require >= 256.
12157 (FILENAME_MAX): Use macro-int-constant.
12158 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12159 (_IOFBF): Use macro-int-constant.
12160 (_IOLBF): Likewise.
12161 (_IONBF): Likewise.
12162 (SEEK_CUR): Likewise.
12163 (SEEK_END): Likewise.
12164 (SEEK_SET): Likewise.
12165 (TMP_MAX): Likewise.
12166 (EOF): Use macro-int-constant. Require < 0.
12167 (NULL): Use macro-constant. Require == 0.
12168 (stdin): Require type to be FILE *.
12169 (stdout): Likewise.
12170 (stderr): Likewise.
12171 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12172 macro-int-constant.
12173 (EXIT_SUCCESS): Likewise.
12174 (NULL): Use macro-constant. Require == 0.
12175 (RAND_MAX): Use macro-int-constant.
12176 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12177 [C99-based standards] (strtof): Require function.
12178 [C99-based standards] (strtold): Likewise.
12179 [C99-based standards] (strtoll): Likewise.
12180 [C99-based standards] (strtoull): Likewise.
12181 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12182 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12183 [ISO || ISO99 || ISO11] (math.h): Likewise.
12184 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12185 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12186 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12187
d18ea0c5
AS
121882012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12189
12190 [BZ #14132]
56d25bb8
AS
12191 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12192 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12193 * intl/dgettext.c (DCGETTEXT): Likewise.
12194 * intl/gettext.c (DCGETTEXT): Likewise.
12195 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12196 * posix/regex_internal.h (gettext): Likewise.
12197 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12198 Remove declaration.
12199 * include/argz.h (__argz_count_internal)
12200 (__argz_stringify_internal): Remove declaration.
12201 (__argz_count, __argz_stringify): Declare hidden proto.
12202 * intl/dcgettext.c: Remove use of INTDEF.
12203 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12204 * string/argz-stringify.c: Likewise.
12205 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12206 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12207 Declare hidden proto.
d18ea0c5
AS
12208 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12209 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12210 Declare hidden proto.
12211 * include/stdio.h (__asprintf_internal): Don't declare.
12212 (__asprintf): Don't define as macro. Declare hidden proto.
12213 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12214 (__fsetlocking): Declare hidden proto.
12215 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12216 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12217 hidden proto.
12218 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12219 (_IO_setlinebuf): Remove use of INTUSE.
12220 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12221 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12222 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12223 Remove declaration.
12224 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12225 (_IO_do_flush): Remove use of INTUSE.
12226 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12227 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12228 (_IO_adjust_column, _IO_least_wmarker)
12229 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12230 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12231 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12232 (_IO_default_doallocate, _IO_wdefault_doallocate)
12233 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12234 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12235 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12236 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12237 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12238 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12239 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12240 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12241 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12242 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12243 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12244 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12245 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12246 proto.
12247 (_IO_flush_all_internal, _IO_adjust_column_internal)
12248 (_IO_default_uflow_internal, _IO_default_finish_internal)
12249 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12250 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12251 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12252 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12253 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12254 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12255 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12256 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12257 (_IO_file_close_internal, _IO_file_close_it_internal)
12258 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12259 (_IO_file_init_internal, _IO_file_attach_internal)
12260 (_IO_file_fopen_internal, _IO_file_read_internal)
12261 (_IO_file_sync_internal, _IO_file_seek_internal)
12262 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12263 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12264 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12265 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12266 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12267 (_IO_list_all_internal, _IO_link_in_internal)
12268 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12269 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12270 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12271 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12272 (_IO_do_write_internal, _IO_padn_internal)
12273 (_IO_getline_info_internal, _IO_getline_internal)
12274 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12275 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12276 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12277 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12278 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12279 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12280 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12281 with libc_hidden_ver, remove use of INTUSE.
12282 * libio/genops.c: Likewise.
12283 * libio/freopen.c: Likewise.
12284 * libio/freopen64.c: Likewise.
12285 * libio/iofclose.c: Likewise.
12286 * libio/iofdopen.c: Likewise.
12287 * libio/iofflush.c: Likewise.
12288 * libio/iofflush_u.c: Likewise.
12289 * libio/iofgets.c: Likewise.
12290 * libio/iofgets_u.c: Likewise.
12291 * libio/iofopen.c: Likewise.
12292 * libio/iofopncook.c: Likewise.
12293 * libio/iofread.c: Likewise.
12294 * libio/iofread_u.c: Likewise.
12295 * libio/ioftell.c: Likewise.
12296 * libio/iofwrite.c: Likewise.
12297 * libio/iogetline.c: Likewise.
12298 * libio/iogets.c: Likewise.
12299 * libio/iogetwline.c: Likewise.
12300 * libio/iopadn.c: Likewise.
12301 * libio/iopopen.c: Likewise.
12302 * libio/ioseekoff.c: Likewise.
12303 * libio/ioseekpos.c: Likewise.
12304 * libio/iosetbuffer.c: Likewise.
12305 * libio/iosetvbuf.c: Likewise.
12306 * libio/ioungetc.c: Likewise.
12307 * libio/ioungetwc.c: Likewise.
12308 * libio/iovdprintf.c: Likewise.
12309 * libio/iovsprintf.c: Likewise.
12310 * libio/iovsscanf.c: Likewise.
12311 * libio/memstream.c: Likewise.
12312 * libio/obprintf.c: Likewise.
12313 * libio/oldfileops.c: Likewise.
12314 * libio/oldiofclose.c: Likewise.
12315 * libio/oldiofdopen.c: Likewise.
12316 * libio/oldiofopen.c: Likewise.
12317 * libio/oldiopopen.c: Likewise.
12318 * libio/oldstdfiles.c: Likewise.
12319 * libio/putc.c: Likewise.
12320 * libio/setbuf.c: Likewise.
12321 * libio/setlinebuf.c: Likewise.
12322 * libio/stdfiles.c: Likewise.
12323 * libio/strops.c: Likewise.
12324 * libio/vasprintf.c: Likewise.
12325 * libio/vscanf.c: Likewise.
12326 * libio/vsnprintf.c: Likewise.
12327 * libio/vswprintf.c: Likewise.
12328 * libio/wfiledoalloc.c: Likewise.
12329 * libio/wfileops.c: Likewise.
12330 * libio/wgenops.c: Likewise.
12331 * libio/wmemstream.c: Likewise.
12332 * libio/wstrops.c: Likewise.
12333 * libio/__fpurge.c: Likewise.
12334 * libio/__fsetlocking.c: Likewise.
12335 * assert/assert.c: Likewise.
12336 * debug/fgets_chk.c: Likewise.
12337 * debug/fgets_u_chk.c: Likewise.
12338 * debug/fread_chk.c: Likewise.
12339 * debug/fread_u_chk.c: Likewise.
12340 * debug/gets_chk.c: Likewise.
12341 * debug/obprintf_chk.c: Likewise.
12342 * debug/vasprintf_chk.c: Likewise.
12343 * debug/vdprintf_chk.c: Likewise.
12344 * debug/vsnprintf_chk.c: Likewise.
12345 * debug/vsprintf_chk.c: Likewise.
12346 * malloc/mtrace.c: Likewise.
12347 * misc/error.c: Likewise.
12348 * misc/syslog.c: Likewise.
12349 * stdio-common/asprintf.c: Likewise.
12350 * stdio-common/fxprintf.c: Likewise.
12351 * stdio-common/getw.c: Likewise.
12352 * stdio-common/isoc99_fscanf.c: Likewise.
12353 * stdio-common/isoc99_scanf.c: Likewise.
12354 * stdio-common/isoc99_vfscanf.c: Likewise.
12355 * stdio-common/isoc99_vscanf.c: Likewise.
12356 * stdio-common/isoc99_vsscanf.c: Likewise.
12357 * stdio-common/printf-prs.c: Likewise.
12358 * stdio-common/printf_fp.c: Likewise.
12359 * stdio-common/printf_fphex.c: Likewise.
12360 * stdio-common/printf_size.c: Likewise.
12361 * stdio-common/putw.c: Likewise.
12362 * stdio-common/scanf.c: Likewise.
12363 * stdio-common/sprintf.c: Likewise.
12364 * stdio-common/tmpfile.c: Likewise.
12365 * stdio-common/vfprintf.c: Likewise.
12366 * stdio-common/vfscanf.c: Likewise.
12367 * stdlib/strfmon_l.c: Likewise.
12368 * sunrpc/openchild.c: Likewise.
12369 * sunrpc/xdr_stdio.c: Likewise.
12370 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12371 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12372
d6c33fda
RM
123732012-05-24 Roland McGrath <roland@hack.frob.com>
12374
c1487492
RM
12375 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12376
12377 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12378 in the third column, to generate for the shared library an IFUNC
12379 that uses _dl_vdso_vsym.
12380 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12381 * Makeconfig (object-suffixes-noshared): New variable.
12382
12383 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12384 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12385 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12386 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12387
d6c33fda
RM
12388 [BZ #14132]
12389 * include/sys/time.h (__gettimeofday): Remove macro.
12390 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12391 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12392 Remove INTDEF.
12393 (__gettimeofday): Add libc_hidden_def.
12394 (gettimeofday): Add libc_hidden_weak.
12395 * sysdeps/mach/gettimeofday.c: Likewise.
12396 * sysdeps/posix/gettimeofday.c: Likewise.
12397 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12398 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12399 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12400 (__gettimeofday_internal): Remove strong_alias.
12401 (__gettimeofday): Add libc_hidden_def.
12402 (gettimeofday): Add libc_hidden_weak.
12403 * sysdeps/unix/syscalls.list (gettimeofday):
12404 Remove __gettimeofday_internal alias.
12405
b5a2bbe6
L
124062012-05-24 Daniel Jacobowitz <drow@false.org>
12407 H.J. Lu <hongjiu.lu@intel.com>
12408
12409 [BZ #12495]
12410 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12411 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12412 (largebin_index_32_big): New.
12413 (largebin_index): Use it for 16-byte alignment.
12414 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12415 correction with front_misalign.
12416
cfba4fda
L
124172012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12418
7f907421
L
12419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12420 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12421 Likewise.
12422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12423 Likewise.
12424 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12425 Likewise.
12426 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12427 Likewise.
12428 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12429 Likewise.
12430 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12431 Likewise.
12432 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12433 Likewise.
12434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12435 Likewise.
12436 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12437 Likewise.
12438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12439 Likewise.
12440 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12441 Likewise.
12442 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12443 Likewise.
12444
cfba4fda
L
12445 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12446 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12447
80bad0cc
JM
124482012-05-24 Joseph Myers <joseph@codesourcery.com>
12449
7a25eb06
JM
12450 [BZ #10846]
12451 [BZ #14036]
12452 * math/libm-test.inc (exp_test): Add test from bug 14036.
12453 (pow_test): Add test from bug 10846.
12454
795405f9
JM
12455 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12456 and other flags.
12457 (special_function): Do not include flags in test name.
12458 (parse_args): Likewise.
12459 * sysdeps/i386/fpu/libm-test-ulps: Update.
12460 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12461 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12462 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12464
80bad0cc
JM
12465 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12466 exceptions.
12467 * math/libm-test.inc ("Philosophy"): Update comment about
12468 exception testing.
12469 (UNDERFLOW_EXCEPTION): New macro.
12470 (UNDERFLOW_EXCEPTION_OK): Likewise.
12471 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12472 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12473 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12474 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12475 (INVALID_EXCEPTION_OK): Update value.
12476 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12477 (OVERFLOW_EXCEPTION_OK): Likewise.
12478 (IGNORE_ZERO_INF_SIGN): Likewise.
12479 (test_exceptions): Handle underflow exceptions.
12480 (acos_test): Update for underflow exception expectations.
12481 (cexp_test): Likewise.
12482 (clog_test): Likewise.
12483 (clog10_test): Likewise.
12484 (csqrt_test): Likewise.
12485 (ctan_test): Likewise.
12486 (ctanh_test): Likewise.
12487 (exp_test): Likewise.
12488 (exp10_test): Likewise.
12489 (exp2_test): Likewise.
12490 (expm1_test): Likewise.
12491 (fma_test): Likewise.
12492 (j0_test): Likewise.
12493 (jn_test): Likewise.
12494 (nexttoward_test): Likewise.
12495 (pow_test): Likewise.
12496 (scalbn_test): Likewise.
12497 (scalbln_test): Likewise.
12498 (tan_test): Likewise.
12499 (y1_test): Likewise.
12500 * sysdeps/i386/fpu/libm-test-ulps: Update.
12501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12502
9e0e3d0b
DM
125032012-05-23 David S. Miller <davem@davemloft.net>
12504
12505 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12506 (__libc_sigaction): Remove unused local variables.
12507
ccd0a08f
L
125082012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12509
12510 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12511
62bdf9a6
PE
125122012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12513
f8591f80
PE
12514 mktime: avoid signed integer overflow
12515 * time/mktime.c (__mktime_internal): Do not mishandle the case
12516 where diff == INT_MIN.
12517
94c7d826
PE
12518 mktime: simplify computation of average
12519 * time/mktime.c (ranged_convert): Use new time_t_avg function
12520 instead of rolling our own (probably-slower) code.
12521
ce73d683
PE
12522 mktime: do not assume signed right shift propagates sign bit
12523 * time/mktime.c (isdst_differ): New static function.
12524 (__mktime_internal): No need to normalize tm_isdst now.
12525 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12526 tm_isdst values.
12527
72a22e59
PE
12528 mktime: merge another wrapv change from gnulib
12529 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12530 from some compilers.
12531
68605433
PE
12532 mktime: remove incorrect attempt at unusual arithmetics
12533 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12534 The code didn't really work on such machines anyway.
12535 (TYPE_MINIMUM): Assume two's complement.
12536 (twos_complement_arithmetic): Verify that long_int and time_t
12537 are two's complement (or unsigned, in the latter case).
12538
03cf7fe3
PE
12539 mktime: check signed shifts on long_int and time_t, too
12540 * time/mktime.c (SHR): Check that shifts work as desired
12541 on the types long_int and time_t too, as SHR is used on
12542 such types.
12543
f04dfbc2
PE
12544 mktime: do not assume 'long' is wide enough
12545 * time/mktime.c (verify): Move decl up.
12546 (long_int): New type.
12547 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12548 to remove assumption in the code that 'long' is wide enough to
12549 store year values. This assumption is not true on x32 and on
12550 some non-glibc platforms.
12551
62bdf9a6
PE
12552 mktime: merge wrapv change from gnulib
12553 * time/mktime.c (WRAPV): New macro.
12554 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12555 (guess_time_tm, __mktime_internal): Do not assume that signed
12556 integer overflow wraps around; modern compilers generate code
12557 where this assumption is no longer valid.
12558
5e292e4f
L
125592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12560
12561 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12562 Replace "jmp L(pseudo_end)" with "ret".
12563 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12564 Likewise.
12565
8caf8c87
AJ
125662012-05-23 Andreas Jaeger <aj@suse.de>
12567
12568 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12569 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12570
1a09dc56
AJ
125712012-05-23 Andreas Jaeger <aj@suse.de>
12572 Maximilian Attems <max@stro.at>
12573
12574 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12575 New macros.
12576
1c87aba0
L
125772012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12578
12579 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12580 code so that pseudo_end is just ret and the stack pointer is
12581 correct also for static library in error case.
12582
40e45bd5
JM
125832012-05-23 Joseph Myers <joseph@codesourcery.com>
12584
c2670533
JM
12585 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12586 move to syscalls.list.
12587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12591
40e45bd5
JM
12592 * manual/install.texi (Running make install): Do not mention Linux
12593 kernel version for which pt_chown is not needed.
12594 (Linux): Do not mention problems with nscd with 2.0 kernels.
12595 * INSTALL: Regenerated.
12596
be08eda5
AJ
125972012-05-23 Andreas Jaeger <aj@suse.de>
12598
12599 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12600 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12601 macro.
12602 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12603 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12604 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12605 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12606 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12607 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12608 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12609 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12610 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12611 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12612 * sysdeps/unix/sysv/linux/bits/in.h
12613 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12614
a6a056bb
RM
126152012-05-22 Roland McGrath <roland@hack.frob.com>
12616
12617 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12618 (PREPARE_VERSION): Just use assert instead, it will be elided
12619 under [NDEBUG] anyway.
12620
c9009328
L
126212012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12622
12623 * sysdeps/unix/sysv/linux/Makefile: Include
12624 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 12625 (sysdep_routines): Remove sysctl.
c9009328
L
12626 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12627 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12628 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12629 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12630 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12631
73338355
AJ
126322012-05-22 Andreas Jaeger <aj@suse.de>
12633
12634 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12635 that pseudo_end is just ret and the stack pointer is correct also
12636 for static library in error case.
12637
d44638b0
PP
126382012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12639
12640 [BZ #14122]
12641 * nss/nsswitch.c (defconfig_entries): New variable.
12642 (__nss_database_lookup): Don't leak defconfig entries.
12643 (nss_parse_service_list): Don't leak on error paths.
12644 (free_database_entries): New function.
12645 (free_defconfig): New function.
12646 (free_mem): Move common code to free_database_entries.
12647
31a39bd8
L
126482012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12649
da0331a8
L
12650 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12651 Add arch_prctl.
12652 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12653
31a39bd8
L
12654 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12655 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12656 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12657 New macro.
12658 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12659 (INTERNAL_SYSCALL_TYPES): Likewise.
12660 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12661 (LOAD_REGS_TYPES_[1-6]): Likewise.
12662 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12663 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12664
45470df3
AZ
126652012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12666
12667 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12668 copysignl for GLIBC_2_0.
12669 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12670 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12671 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12672 logbl for GLIBC_2_0.
12673 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12674 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12675
98a61bcb
L
126762012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12677
a4f6e481
L
12678 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12679 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12680
f63d5db6
L
12681 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12682 Use "neg %eax".
12683
98a61bcb
L
12684 * time/mktime.c: Update copyright years.
12685
95770f14
PE
126862012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12687
6226efbd
PE
12688 mktime: merge comment-quoting-style change from gnulib
12689 * time/mktime.c: Quote 'like this' in comments.
12690 The GNU coding standards suggest that we no longer quote `like this',
12691 as "`" and "'" are typically rendered asymmetrically nowadays.
12692 The typical gnulib style is to quote 'like this' when quoting
12693 code, and "like this" when quoting English.
12694
b99e4f78
PE
12695 * time/mktime.c (compile-command): Add "-I.".
12696
643e01e6
PE
12697 mktime: merge mktime-internal.h change from gnulib
12698 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12699
2554247d
PE
12700 mktime: merge time_r change from gnulib
12701 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12702
826dd0ab
PE
12703 mktime: merge DEBUG change from gnulib
12704 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12705 case system <time.h> has a #define.
12706
bd83aabe
PE
12707 mktime: merge <sys/types.h> change from gnulib
12708 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12709 since <time.t> is now guaranteed to define time_t.
12710
95770f14
PE
12711 mktime: merge HAVE_CONFIG_H change from gnulib
12712 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12713
5e1a27a9
L
127142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12715
0e44a77e
L
12716 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12717 Use "neg %eax".
12718
5e1a27a9
L
12719 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12720 __rlim_t cast.
12721 (struct rusage): Use anonymous union to pad each field to
12722 __syscall_slong_t.
12723
46259bec
DM
127242012-05-21 David S. Miller <davem@davemloft.net>
12725
12726 * Makefules (o-iterator): Remove .s cases.
12727 (compile-command.s): Delete.
12728 (COMPILE.s): Delete.
12729 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12730
59f0c22e
JM
127312012-05-21 Joseph Myers <joseph@codesourcery.com>
12732
12733 * configure.in (libc_cv_predef_stack_protector): Only consider
12734 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12735 * configure: Regenerated.
12736
20c07380
L
127372012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12738
bbb3154b
L
12739 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12740 New macro. Use R*LP on int and pointer.
12741 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
12742 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12743 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
12744 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12745
20c07380
L
12746 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12747 [__WORDSIZE_TIME64_COMPAT32] instead of
12748 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12749 (struct utmp): Likewise.
12750 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12751 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12752 Renamed to ...
12753 (__WORDSIZE_TIME64_COMPAT32): This.
12754 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12755 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12756 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12757 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12758 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12759 (__WORDSIZE_TIME64_COMPAT32): New macro.
12760
d8d1017e
AJ
127612012-05-21 Andreas Jaeger <aj@suse.de>
12762
12763 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12764 only if [SHARED]. Add prototype for __wcschr_ia32.
12765
6c7fb145
RM
127662012-05-21 Roland McGrath <roland@hack.frob.com>
12767
12768 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12769 of %rbp unmolested in the jmp_buf while mangling the low bits.
12770 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12771 unmolested high bits of %rbp while demangling the low bits.
12772 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12773
66274218
AJ
127742012-05-21 Andreas Jaeger <aj@suse.de>
12775
07c58f8f
AJ
12776 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12777 * sunrpc/svc_simple.c: Use it for registerrpc.
12778 * sunrpc/xcrypt.c: Use it for passwd2des.
12779
66274218
AJ
12780 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12781
61f65140
L
127822012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12783
12784 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12785 Don't define if [__SYSCALL_WORDSIZE != 32].
12786 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12787 New macro.
12788
5fefb436
AJ
127892012-05-21 Bruno Haible <bruno@clisp.org>
12790 Andreas Jaeger <aj@suse.de>
12791
12792 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12793 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12794 inptr and inend for must_buffer_ch.
12795 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12796 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12797 * stdio-common/Makefile (tests): Remove bug15.
12798 (bug15-ENV): Remove macro.
12799 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12800 anymore.
12801
d8e272ab
AJ
128022012-05-19 Andreas Jaeger <aj@suse.de>
12803 Roland McGrath <roland@hack.frob.com>
12804
12805 * manual/contrib.texi: Completely rewritten. It contains now an
12806 alphabetical list of contributors and their contributions.
12807
4a56a162
RH
128082012-05-21 Richard Henderson <rth@twiddle.net>
12809
12810 * misc/getauxval.c (__getauxval): Use unsigned long int.
12811 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12812 (getauxval): Use unsigned long int.
12813
d024d23c
L
128142012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12815
12816 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12817
cbc00a03
RM
128182012-05-21 Roland McGrath <roland@hack.frob.com>
12819
12820 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12821 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12822 __alignof__ (long double).
12823
478143fa
AZ
128242012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12825
12826 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12827
c7683a6d
RH
128282012-05-20 Richard Henderson <rth@twiddle.net>
12829
12830 * misc/getauxval.c: New file.
12831 * misc/sys/auxv.h: New file.
12832 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12833 (routines): Add getauxval.
12834 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12835 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12836 * elf/dl-sysdep.c (_dl_auxv): Remove.
12837 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12838 * elf/dl-support.c (_dl_auxv): New variable.
12839 (_dl_aux_init): Initialize it.
12840 * manual/startup.texi (Auxiliary Vector): New node.
12841 * sysdeps/generic/bits/hwcap.h: New file.
12842 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12843 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12844 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12845 * sysdeps/sparc/sysdep.h: ... here. Include it.
12846 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12847 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
12848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12849 Update.
c7683a6d
RH
12850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12851 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12853 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12855 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12856 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12858
a6f1845d
AZ
128592012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12860
12861 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12862
cbcbe830
DM
128632012-05-19 David S. Miller <davem@davemloft.net>
12864
12865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12866
e0b16cc2
JM
128672012-05-19 Joseph Myers <joseph@codesourcery.com>
12868
12869 [BZ #14123]
12870 * math/s_ccosh.c: Include <float.h>
12871 (__ccosh): Avoid internal overflow calculating sinh and cosh
12872 values before multiplying by sin and cos values.
12873 * math/s_ccoshf.c: Likewise.
12874 * math/s_ccoshl.c: Likewise.
12875 * math/s_csin.c: Likewise.
12876 * math/s_csinf.c: Likewise.
12877 * math/s_csinl.c: Likewise.
12878 * math/s_csinh.c: Likewise.
12879 * math/s_csinhf.c: Likewise.
12880 * math/s_csinhl.c: Likewise.
12881 * math/libm-test.inc (ccos_test): Add more tests.
12882 (ccosh_test): Likewise.
12883 (csin_test): Likewise.
12884 (csinh_test): Likewise.
12885 * sysdeps/i386/fpu/libm-test-ulps: Update.
12886 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12887
6ad13e08
L
128882012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12889
f66f0ce8
L
12890 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12891 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12892
6ad13e08
L
12893 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12894
b1d072a7
JM
128952012-05-19 Joseph Myers <joseph@codesourcery.com>
12896
12897 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12898 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12899 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12900 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12901 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12902 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12903 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12904 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12905 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12906 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12907 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12908 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12909 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12910 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12911 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12912 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12913 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12914 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12915 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12916 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12917 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12918 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12919 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12920 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12921 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12922 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12923 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12924 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12925 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12926 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12927 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12928
9eae47cb
AJ
129292012-05-18 Andreas Jaeger <aj@suse.de>
12930
12931 * csu/.gitignore: Delete.
12932
bb07f69f
L
129332012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12934
12935 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12936 (timex): Use __syscall_slong_t.
12937
e6bdb741
AJ
129382012-05-18 Andreas Jaeger <aj@suse.de>
12939 Carlos O'Donell <carlos_odonell@mentor.com>
12940
12941 * manual/install.texi (Configuring and compiling): Update
12942 description about files modified in the source directory.
d6c33fda 12943 * INSTALL: Regenerated.
e6bdb741 12944
1b74487e
L
129452012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12946
12947 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12948 value. Use "or" to set return value to -1.
12949 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12950 negate return value.
12951
a88b64b9
TMQMF
129522012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12953
12954 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12955 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12956 failure if the compiler has Graphite support disabled.
12957 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12958 Likewise.
12959 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12960 CFLAGS-memmove.c): Likewise.
12961 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12962 Likewise.
12963
3707636e
L
129642012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12965
610b8622
L
12966 * sysdeps/x86_64/x32/_itoa.h: New file.
12967
7cd195df
L
12968 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12969 getdents system call only if kernel and user dirents have the
12970 same d_ino and d_off.
12971
94b07d20
L
12972 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12973 LLONG_MAX != LONG_MAX.
12974 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12975 (_fitoa_word): Likewise.
12976
18298070
L
12977 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12978 years.
12979 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12980 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
12981 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
12982
553c7ea4
L
12983 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
12984 include <bits/wordsize.h>. Check __x86_64__ instead of
12985 __WORDSIZE.
12986 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
12987 if __x86_64__ is defined. Use anonymous union on fpstate.
12988
3707636e
L
12989 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
12990 anonymous union.
12991
b53ef01a
AS
129922012-05-18 Andreas Schwab <schwab@linux-m68k.org>
12993
37fb1dc0
AS
12994 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
12995 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
12996 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
12997 Refer to _rtld_local_ro instead of _rtld_global_ro.
12998 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
12999 Likewise.
13000 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13001 Likewise.
13002 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13003 Likewise.
13004 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13005 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13006 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13007
b53ef01a
AS
13008 * sysdeps/powerpc/powerpc32/dl-machine.c
13009 (__elf_machine_runtime_setup) [PROF]: Don't reference
13010 _dl_prof_resolve.
13011
7a185db2
AJ
130122012-05-18 Andreas Jaeger <aj@suse.de>
13013
13014 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13015 function only available for GCCs before 3.4 since GCC 3.4
13016 introduced a builtin.
13017 (lrint): Likewise.
13018 (llrintf): Likewise.
13019 (llrint): Likewise.
13020 (fmaxf): Likewise.
13021 (fmax): Likewise.
13022 (fminf): Likewise.
13023 (fmin): Likewise.
13024 (rint): Likewise.
13025 (rintf): Likewise.
13026 (nearbyint): Likewise.
13027 (nearbyintf): Likewise.
13028 (ceil): Likewise.
13029 (ceilf): Likewise.
13030 (floor): Likewise.
13031 (floorf): Likewise.
13032
3e5aef87
L
130332012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13034
428bd707
L
13035 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13036 on both fields and cast pointer to __syscall_ulong_t.
13037
3e5aef87
L
13038 * bits/types.h (__fsword_t): New type.
13039 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13040 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13041 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13042 (__FSWORD_T_TYPE): Likewise.
13043 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13044 (__FSWORD_T_TYPE): Likewise.
13045 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13046 (__FSWORD_T_TYPE): Likewise.
13047 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13048 (__FSWORD_T_TYPE): Likewise.
13049 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13050 __SWORD_TYPE with __fsword_t.
13051 (statfs64): Likewise.
13052
1ba7c3dc
DM
130532012-05-17 David S. Miller <davem@davemloft.net>
13054
13055 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13056
59910343
AJ
130572012-05-17 Andreas Jaeger <aj@suse.de>
13058
13059 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13060 warning.
13061
2e4c1e9e
L
130622012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13063
13064 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13065
de7f5ce7
AJ
130662012-05-17 Andreas Jaeger <aj@suse.de>
13067
13068 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13069 when it is used.
13070
286abc3d
CM
130712012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13072
13073 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13074
477cc68e
L
130752012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13076
13077 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13078 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13079
1a0994f5
CD
130802012-05-17 Andreas Jaeger <aj@suse.de>
13081 Carlos O'Donell <carlos_odonell@mentor.com>
13082
13083 [BZ #14059]
13084 * sysdeps/x86_64/multiarch/init-arch.h
13085 (bit_YMM_Usable): Rename to...
13086 (bit_AVX_Usable): ... this.
13087 (bit_FMA4_Usable): New macro.
13088 (bit_XMM_state): New macro.
13089 (bit_YMM_state): New macro.
13090 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13091 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13092 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13093 (CPUID_OSXSAVE): New macro.
13094 (CPUID_AVX): New macro.
13095 (CPUID_FMA4): New macro.
13096 (index_YMM_Usable): Rename to...
13097 (index_AVX_Usable): ... this.
13098 (HAS_AVX): Use HAS_ARCH_FEATURE.
13099 (HAS_FMA4): Likewise.
13100 (HAS_YMM_USABLE): Remove.
13101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13102 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13103 are present.
13104 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13105 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13106 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13107 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13108 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13109
0af797de
CM
131102012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13111
13112 * math/libm-test.c: Support platforms without multiple rounding modes.
13113 * math/bug-nextafter.c: Support platforms without FP exceptions.
13114 * math/bug-nexttoward.c: Likewise.
13115 * math/test-fenv.c: Likewise.
13116 * math/test-misc.c: Likewise.
13117 * stdlib/bug-getcontext.c: Likewise.
13118
e39745ff
AJ
131192012-05-17 Andreas Jaeger <aj@suse.de>
13120
13121 * manual/examples/search.c (critter_cmp): Change signature to
13122 avoid warnings.
13123 * manual/string.texi (Collation Functions): Likewise.
13124
48970aba
L
131252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13126
13127 * bits/types.h: Fold copyright years.
13128 * bits/typesizes.h: Likewise.
13129 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13130 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13131 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13132 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13133 * time/time.h: Likewise.
13134
bedee953
PP
131352012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13136
13137 [BZ #208]
13138 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13139 in instead of returning them. Return void.
13140 (__libc_mallinfo): Accumulate over all arenas.
13141 (__malloc_stats): Adjust for change in int_mallinfo interface.
13142
61653dfb
RM
131432012-05-16 Roland McGrath <roland@hack.frob.com>
13144
30b99d79
RM
13145 [BZ #10375]
13146 * configure.in (NM): Add AC_CHECK_TOOL for it.
13147 (libc_extra_cflags): New substituted variable.
13148 Check for -fstack-protector being used implicitly.
13149 * configure: Regenerated.
13150 * config.make.in (config-extra-cflags): New variable,
13151 gets @libc_extra_cflags@.
13152 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13153
61653dfb
RM
13154 [BZ #10375]
13155 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13156 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13157 * configure: Regenerated.
13158 * config.make.in (CPPUNDEFS): New substituted variable.
13159 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13160 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13161 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13162
661768bb
L
131632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13164
13165 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13166 (mq_attr): Use __syscall_slong_t.
13167
d4261567
L
131682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13169
13170 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13171 Check __x86_64__ instead of __WORDSIZE.
13172 (_STAT_VER_LINUX): Likewise.
13173 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13174 __syscall_ulong_t and __syscall_slong_t.
13175 (stat64): Likewise.
13176
cf3ff365
L
131772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13178
13179 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13180
76cf3e4d
L
131812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13182
13183 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13184
a637753a
L
131852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13186
13187 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13188 __syscall_ulong_t.
13189
d5e05119
L
13190 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13191 include <bits/wordsize.h>. Check __x86_64__ instead of
13192 __WORDSIZE.
13193 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13194 defined.
13195 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13196
f62ee380
L
13197 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13198 include <bits/wordsize.h>. Check __x86_64__ instead of
13199 __WORDSIZE.
13200 (user_regs_struct): Use "__extension__ unsigned long long"
13201 instead of "unsigned long" if __x86_64__ is defined.
13202 (user): Likewise. Pad after pointer field if __ILP32__ is
13203 defined.
13204
4e124ced
JM
132052012-05-16 Joseph Myers <joseph@codesourcery.com>
13206
6a3951a0
JM
13207 * configure.in (makeinfo): Require version 4.5 or later. Allow
13208 versions 5 to 9.
13209 * configure: Regenerated.
13210 * manual/install.texi (texinfo): Increase version requirement to
13211 4.5 or later.
13212 * INSTALL: Regenerated.
13213
4e124ced
JM
13214 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13215
953ca31a
L
132162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13217
13218 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13219
617aca05
L
13220 * sysdeps/x86_64/x32/ffs.c: New file.
13221
5762f7ae
L
13222 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13223 __syscall_ulong_t.
13224 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13225 defined. Use __syscall_ulong_t.
13226 (shminfo): Use __syscall_ulong_t.
13227 (shm_info): Likewise.
13228
a26b6856
L
13229 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13230 __syscall_ulong_t.
13231
cb2b9ef7
L
13232 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13233 <bits/wordsize.h>.
13234 (msgqnum_t): Use __syscall_ulong_t.
13235 (msglen_t): Likewise.
13236 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13237 __syscall_ulong_t.
13238
34683bb0
L
13239 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13240 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13241
84a68786
L
13242 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13243
48baa5f1
L
13244 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13245 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13246
180be88b
L
13247 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13248 __syscall_slong_t.
13249
5e90c8ad
L
13250 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13251 include <bits/wordsize.h>. Check __x86_64__ instead of
13252 __WORDSIZE.
13253
23dfb58b
L
13254 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13255 "unsigned long long int" if __x86_64__ is defined.
13256 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13257
ce5d54b0
L
13258 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13259 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13260 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13261
13dc9eac
L
13262 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13263 <stdint.h>.
13264 (GET_PC): Cast to uintptr_t first.
13265 (GET_FRAME): Likewise.
13266 (GET_STACK): Likewise.
13267
a7895d15
L
13268 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13269 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13270 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13271 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13272 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13273 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13274 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13275 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13276 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13277 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13278 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13279 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13280 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13281 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13282 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13283 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13284 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13285 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13286 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13287 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13288 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13289 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13290 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13291 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13292 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13293 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13294 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13295 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13296 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13297
656416c9
AS
132982012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13299
5bd66283
AS
13300 * Makerules (+depfiles): Also collect depfiles from .oS in
13301 $(extra-objs).
13302 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13303 .oS, $(libnldbl-routines)).
13304
656416c9
AS
13305 * Makerules (native-compile-mkdep-flags): Define.
13306 * sunrpc/Makefile (extra-objs): Add $(addprefix
13307 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13308 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13309 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13310 calling $(make-target-directory).
13311
a46f2169
L
133122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13313
13314 * bits/types.h (__snseconds_t): Removed.
13315 * time/time.h (struct timespec): Replace __snseconds_t with
13316 __syscall_slong_t.
13317 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13318 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13319 Likewise.
13320 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13321 (__SNSECONDS_T_TYPE): Likewise.
13322 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13323 (__SNSECONDS_T_TYPE): Likewise.
13324 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13325 (__SNSECONDS_T_TYPE): Likewise.
13326
6af6528b
L
133272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13328
13329 * sysdeps/mach/hurd/bits/typesizes.h
13330 (__SYSCALL_SLONG_TYPE): New macro.
13331 (__SYSCALL_ULONG_TYPE): Likewise.
13332
de986b56
L
133332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13334
13335 * bits/types.h (__syscall_slong_t): New type.
13336 (__syscall_ulong_t): Likewise.
13337
13338 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13339 (__SYSCALL_ULONG_TYPE): Likewise.
13340 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13341 (__SYSCALL_SLONG_TYPE): Likewise.
13342 (__SYSCALL_ULONG_TYPE): Likewise.
13343 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13344 (__SYSCALL_SLONG_TYPE): Likewise.
13345 (__SYSCALL_ULONG_TYPE): Likewise.
13346 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13347 (__SYSCALL_SLONG_TYPE): Likewise.
13348 (__SYSCALL_ULONG_TYPE): Likewise.
13349
85736dc7
L
133502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13351
13352 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13353 Add sigaltstack-offsets.sym.
13354 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13355 <sigaltstack-offsets.h>.
13356 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13357 longjmp_msg pointer.
13358 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13359 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13360 signal stack.
13361 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13362
cc03b296
JM
133632012-05-15 Joseph Myers <joseph@codesourcery.com>
13364
a9538892
JM
13365 * elf/stackguard-macros.h: Remove file.
13366 * sysdeps/generic/stackguard-macros.h: New file.
13367 * sysdeps/i386/stackguard-macros.h: Likewise.
13368 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13369 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13370 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13371 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13372 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13373 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13374 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13375 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13376 <elf/stackguard-macros.h>.
13377
cc03b296
JM
13378 [BZ #14109]
13379 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13380 __aligned__ in attribute.
13381 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13382 (gregset_t): Likewise.
13383
93171016
L
133842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13385
13386 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13387 * sysdeps/x86_64/64/Implies-after: Here. New file.
13388 * sysdeps/x86_64/x32/Implies-after: New file.
13389
d86813a0
L
133902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13391
13392 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13393 and access return value for _dl_profile_fixup. Use R10_LP to
13394 load frame size.
13395
2953ec75
L
133962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13397
13398 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13399
3b550e9e
L
134002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13401
13402 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13403 * sysdeps/x86_64/x32/sysdep.h: New file.
13404
eda41706
L
134052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13406
13407 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13408 * sysdeps/x86_64/setjmp.S: Likewise.
13409
9ea01d93
AZ
134102012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13411
13412 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13413 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13414 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13415 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13416 remove unused global constant.
13417
02a91938
CM
134182012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13419
13420 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13421 include of <not-cancel.h>.
13422
6540185f
RM
134232012-05-15 Roland McGrath <roland@hack.frob.com>
13424
13425 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13426
509072a0
AJ
134272012-05-15 Jeff Law <law@redhat.com>
13428 Andreas Jaeger <aj@suse.de>
13429
13430 [BZ #13594]
13431 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13432 out from...
13433 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13434 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13435 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13436 code changing __hst_map_handle.map.
13437
ba75122d
RM
134382012-05-15 Roland McGrath <roland@hack.frob.com>
13439
13440 * configure.in (sysnames): Look for Implies-before and Implies-after
13441 files.
13442 * configure: Regenerated.
13443
890d8bd8
L
134442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13445
13446 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13447 8-byte data alignment with LP_SIZE alignment.
13448
f6ee6623
L
134492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13450
13451 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13452 into R10_LP.
13453
ea2626f6
L
134542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13455
13456 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13457
085f715e
L
134582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13459
13460 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13461 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13462 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13463 Likewise.
13464 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13465
be8498fc
L
134662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13467
13468 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13469 (stackinfo_sub_sp): Likewise.
13470
70bc83b9
L
134712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13472
13473 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13474 RAX_LP.
13475
9bc0b730
L
134762012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13477
13478 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13479 into R*_LP.
13480
6d2850e7
L
134812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13482
13483 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13484 sizes into R*_LP.
13485
3cb84561
L
134862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13487
13488 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13489
54e2ed81
L
134902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13491
13492 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13493 into R11_LP and load __x86_64_shared_cache_size_half into
13494 R8_LP.
13495
8a17f349
L
134962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13497
13498 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13499 R8_LP.
13500
777b1eea
AZ
135012012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13502
13503 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13504 logb for POWER7.
13505 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13506 logbf for POWER7.
13507 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13508 logbl for POWER7.
13509 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13510 powerpc32/power7/fpu/s_logb.c via #include.
13511 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13512 powerpc32/power7/fpu/s_logbf.c via #include.
13513 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13514 powerpc32/power7/fpu/s_logbl.c via #include.
13515
d20d4ac2
JM
135162012-05-15 Joseph Myers <joseph@codesourcery.com>
13517
13518 * README.libm: Remove file.
13519
6cdef1ab
L
135202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13521
13522 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13523 count for x32. Use R*_LP and omit operand-size suffix.
13524
0b254d8f
L
135252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13526
13527 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13528 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13529 * sysdeps/x86_64/x32/shlib-versions: New file.
13530
ceb809dc
RM
135312012-05-14 Roland McGrath <roland@hack.frob.com>
13532
13533 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13534 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13535 Use _dl_fatal_printf instead.
13536
37f1abd4
JM
135372012-05-14 Joseph Myers <joseph@codesourcery.com>
13538
13539 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13540 set if not set by the user. Do not allow for being unset.
13541 * sysdeps/unix/sysv/linux/configure: Regenerated.
13542
11de3a33
L
135432012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13544
13545 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13546 the `q' suffix from lea and replace .quad with ASM_ADDR.
13547
e02f153a
L
135482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13549
13550 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13551 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13552 instead of $17.
13553 (PTR_DEMANGLE): Likewise.
13554
520ae0fd
L
135552012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13556
13557 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13558 (LP_OP): Likewise.
13559 (ASM_ADDR): Likewise.
13560 (RAX_LP): Likewise.
13561 (RBP_LP): Likewise.
13562 (RBX_LP): Likewise.
13563 (RCX_LP): Likewise.
13564 (RDI_LP): Likewise.
13565 (RSI_LP): Likewise.
13566 (RSP_LP): Likewise.
13567 (R8_LP): Likewise.
13568 (R9_LP): Likewise.
13569 (R10_LP): Likewise.
13570 (R10_LP): Likewise.
13571 (R11_LP): Likewise.
13572 (R12_LP): Likewise.
13573 (R13_LP): Likewise.
13574 (R14_LP): Likewise.
13575 (R15_LP): Likewise.
13576
b985be81
L
135772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13578
13579 * sysdeps/x86_64/x32/dl-machine.h: New file.
13580
6a4888ff
AJ
135812012-05-14 Andreas Jaeger <aj@suse.de>
13582
13583 * manual/Makefile (subdir): Remove export of subdir.
13584 (all): Remove target.
13585 (.PHONY): Remove all from list.
13586 (mkinstalldirs): Remove.
13587 (.PHONY): Remove installdirs from list.
13588 ($(inst_infodir)/libc.info): Use make-target-directory.
13589 (installdirs): Remove.
13590 (subdir_%): Remove.
13591 (glibc-targets): Remove.
13592 (lib): Remove.
13593 (stubs): Remove.
13594 ($(objpfx)stubs ../po/manual.pot): Remove.
13595 ($(objpfx)stamp%): Remove.
13596 (make-target-directory): Remove.
13597 (subdir_install): Remove.
13598 (routines): Remove.
13599 (aux): Remove.
13600 (sources): Remove.
13601 (objects): Remove.
13602 (headers): Remove.
13603
13604 [BZ #13750]
13605 * manual/.gitignore: Remove, it's not needed anymore.
13606 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13607 all files in it.
13608 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13609 directory.
13610 (texis): Renamed to $(objpfx)texis.
13611 (texis-path): New, contains path to generated files.
13612 (chapters.%): Use texis-path for complete path, add extra argument
13613 libc-texinfo.sh.
13614 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13615 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13616 (summary,texi, stamp-summary): Use complete path of
13617 files. Generate files in build dir.
13618 (dir-add.texi): Build in build dir.
13619 (libm-err.texi,stamp-libm-err): Likewise.
13620 (version.texi, stamp-version): Likewise.
13621 (.%c.texi): Likewise.
13622 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13623 (mostlyclean): Remove target.
13624 (realclean): Remove target.
13625 (generated): Add new variable with contents from mostlyclean and
13626 realclean, remove entries duplicated in common-mostlyclean, add
13627 stamp-libm-err and stamp-version.
13628 (generated-dirs): Add libc directory.
13629 ($(inst_infodir)/libc.info): Install files from build dir.
13630
13631 * manual/install.texi (Configuring and compiling): Adjust since
13632 the info files are not part of the tar ball anymore.
13633
7ac77294
AJ
136342012-05-14 Andreas Jaeger <aj@suse.de>
13635
13636 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13637 variable.
13638
ffb7875d
JM
136392012-05-14 Joseph Myers <joseph@codesourcery.com>
13640
13641 [BZ #13717]
13642 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13643 to 2.2.0 where earlier.
13644 * sysdeps/unix/sysv/linux/configure: Regenerated.
13645 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13646 Remove conditional code.
13647 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13648 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13649 Remove conditional code.
13650 [!__NR_lchown]: Likewise.
13651 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13652 [__NR_lchown]: Likewise.
13653 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13654 comment referencing __ASSUME_LCHOWN_SYSCALL.
13655 * sysdeps/unix/sysv/linux/i386/sigaction.c
13656 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13657 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13658 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13659 Remove conditional code.
13660 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13661 (__protocol_available): Remove #if 0 code.
13662 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13663 conditional code.
13664 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13665 * sysdeps/unix/sysv/linux/kernel-features.h
13666 (__ASSUME_GETCWD_SYSCALL): Don't define.
13667 (__ASSUME_REALTIME_SIGNALS): Likewise.
13668 (__ASSUME_PREAD_SYSCALL): Likewise.
13669 (__ASSUME_PWRITE_SYSCALL): Likewise.
13670 (__ASSUME_POLL_SYSCALL): Likewise.
13671 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13672 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13673 non-SPARC.
13674 (__ASSUME_SIOCGIFNAME): Don't define.
13675 (__ASSUME_MSG_NOSIGNAL): Likewise.
13676 (__ASSUME_SENDFILE): Define unconditionally.
13677 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13678 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13679 conditional code.
13680 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13681 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13682 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13683 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13684 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13685 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13686 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13688 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13689 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13691 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13692 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13694 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13695 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13697 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13698 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13700 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13701 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13703 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13704 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13706 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13707 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13709 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13710 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13711 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13712 Remove conditional code.
13713 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13714 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13715 Remove conditional code.
13716 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13717 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13718 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13719 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13720 Remove conditional code.
13721 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13722 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13723 Remove conditional code.
13724 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13725 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13726 Remove conditional code.
13727 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13728 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13729 Remove conditional code.
13730 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13731 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13732 Remove conditional code.
13733 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13734 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13735 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13736 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13737 * sysdeps/unix/sysv/linux/sigaction.c
13738 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13739 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13740 * sysdeps/unix/sysv/linux/sigpending.c
13741 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13742 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13743 * sysdeps/unix/sysv/linux/sigprocmask.c
13744 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13745 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13746 * sysdeps/unix/sysv/linux/sigsuspend.c
13747 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13748 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13749 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13750 (__libc_missing_rt_sigs): Remove.
13751 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13752 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13753 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13754 Remove conditional code.
13755 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13756 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13757 return 1.
13758 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13759 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13760 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13761 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13762
1bfb7291
AJ
137632012-05-14 Andreas Jaeger <aj@suse.de>
13764
caae5a81
AJ
13765 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13766 it's not used in glibc.
13767 (__coshm1): Likewise.
13768 (__acosh1p): Likewise.
13769 (__sgn): Likewise.
13770
1bfb7291
AJ
13771 * manual/string.texi (Copying and Concatenation): Add missing
13772 variable in concat example.
13773 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13774
c044d724
L
137752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13776
144c5467 13777 [BZ #14103]
c044d724
L
13778 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13779 __builtin_clzl with __builtin_clzll.
13780
2523c62b
L
137812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13782
13783 [BZ #14104]
13784 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13785 libc_freeres_ptr.
13786
d7bb4c42
LD
137872012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13788
13789 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13790 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13791 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13792 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13793
9dc4e1fb
MF
137942012-05-14 Mike Frysinger <vapier@gentoo.org>
13795
13796 * NEWS: Update ia64 info.
13797
c7df0112
AS
137982012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13799
13800 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13801 used as bcopy.
13802
dc70356c
TS
138032012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13804
13805 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13806 * sysdeps/unix/syscalls.list (dup3): Likewise.
13807 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13808 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13809
9fb1a21f
L
138102012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13811
13812 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13813 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13814
4822a2a5
L
138152012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13816
13817 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13818 thread pointer.
13819 (TLS_IE): Use mov/add instead of movq/addq to load thread
13820 pointer.
13821 (TLS_GD_PREFIX): New.
13822 (TLS_GD): Use it.
13823
842b81d6
DM
138242012-05-11 David S. Miller <davem@davemloft.net>
13825
13826 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13827 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13828 (_FPU_SETCW): Likewise.
13829
1cf463cd
L
138302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13831
13832 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13833 is 32-byte aligned.
13834
60cc4a18
AS
138352012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13836
13837 [BZ #11837]
13838 * iconvdata/gb18030.c: Update tables.
13839 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13840 characters specially.
13841 (BODY for TO_LOOP): Add encoding of missing ranges.
13842
febb44a4
TS
138432012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13844
13845 [BZ #13673]
13846 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13847 * sysdeps/mach/hurd/dup3.c: Likewise.
13848 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13849 * sysdeps/powerpc/memmove.c:: Likewise.
13850
0a10fb9e
L
138512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13852
13853 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13854 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13855
df8a552f
L
138562012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13857
13858 * elf/elf.h (R_X86_64_RELATIVE64): New.
13859 (R_X86_64_NUM): Updated.
13860 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13861 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13862 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13863 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13864 tst-quad1pie tst-quad2pie
13865 (modules-names): Add tst-quadmod1 tst-quadmod2.
13866 ($(objpfx)tst-quad1): New dependency.
13867 ($(objpfx)tst-quad2): Likewise.
13868 ($(objpfx)tst-quad1pie): Likewise.
13869 ($(objpfx)tst-quad2pie): Likewise.
13870 * sysdeps/x86_64/tst-quad1.c: New file.
13871 * sysdeps/x86_64/tst-quad1pie.c: New file.
13872 * sysdeps/x86_64/tst-quad2.c: Likewise.
13873 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13874 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13875 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13876 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13877 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13878
f34d6f84
ST
138792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13880
f42d41d1
ST
13881 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13882 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13883 * streams/stropts.h (t_scalar_t): Define type.
13884
3c3571fc
ST
13885 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13886 (_PATH_PRESERVE): Set to "/var/lib".
13887 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13888
61f06bd3
ST
13889 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13890 instead of int.
13891
918d4d71
ST
13892 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13893 if __dir_mkfile succeeded.
13894
f34d6f84
ST
13895 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13896 checking for _hurd_dtablesize. Unlock it right after having
13897 finished _hurd_dtable allocation.
13898
10589b4a
TS
138992012-05-10 Thomas Schwinge <thomas@schwinge.name>
13900
674cdbc7
TS
13901 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13902 * sysdeps/mach/hurd/configure: Regenerated.
13903 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13904 special-casing to...
13905 * sysdeps/gnu/configure.in: ... this new file.
13906 * sysdeps/unix/sysv/linux/configure: Regenerated.
13907 * sysdeps/gnu/configure: New generated file.
13908
8e41b99f
TS
13909 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13910 for Linux: use nsec instead of usec, as well as:
13911 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13912 members of type struct timespec.
13913 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13914 New macros.
13915 (struct stat64): Likewise.
13916 (_STATBUF_ST_NSEC): New macro.
13917 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13918
10589b4a
TS
13919 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13920 __strtoul_internal rather than strtoul.
13921
63643c85
PT
139222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13923
13924 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13925 and reject them.
13926
3faebe6a
ST
139272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13928
13929 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13930 which preserves existing values.
13931 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13932
c6474b07
PT
139332012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13934
13935 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13936 TIMEOUT values. Return EINVAL for NFDS values either negative or
13937 greater than FD_SETSIZE.
13938
1043890b
ST
139392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13940
13941 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13942 allocated, call __vm_protect to finish enabling the existing space, and
13943 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13944 allocate the remainder.
13945
37ed8b9b
PT
139462012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13947
13948 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13949 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13950
db653660
ST
139512012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13952
37ed8b9b
PT
13953 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13954 sysdeps/mach/hurd/readlink.c.
b29d4053 13955
db653660
ST
13956 * posix/tst-sysconf.c (posix_options): Only use
13957 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13958 _POSIX_SYNCHRONIZED_IO when they are defined
13959 * sysdeps/mach/hurd/bits/posix_opt.h:
13960 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13961 (_XOPEN_REALTIME): Undefine macro.
13962 (_XOPEN_REALTIME_THREADS): Undefine macro.
13963 (_XOPEN_SHM): Undefine macro.
13964 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13965 macro to -1.
13966 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13967 macro to -1.
13968 (_POSIX_ASYNC_IO): Undefine macro.
13969 (_POSIX_PRIORITIZED_IO): Undefine macro.
13970 (_POSIX_SPIN_LOCKS): Define macro to -1.
13971
ee16e894
ST
13972 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13973 SA_NODEFER, SA_RESETHAND.
13974 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13975 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13976 F_DUPFD_CLOEXEC.
13977
6103ae3b
TS
139782012-05-10 Thomas Schwinge <thomas@schwinge.name>
13979
13980 * elf/Makefile (pldd-modules): Define unconditionally.
13981
80b4e5f3
TS
139822012-05-10 Thomas Schwinge <thomas@schwinge.name>
13983
13984 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
13985
edadcbd6
ST
139862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13987
13988 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
13989 Return ENOENT when name is empty.
13990 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
13991
80694780
TS
139922012-05-10 Thomas Schwinge <thomas@schwinge.name>
13993
1792c087
TS
13994 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
13995
80694780
TS
13996 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
13997
6b645f0d
ST
139982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13999
80694780
TS
14000 Fix mlock in all cases except non-readable pages.
14001 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14002 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 14003
6b645f0d
ST
14004 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14005 (__mkdir): When path is `/', just fail with EEXIST.
14006 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14007
e468f8a3
TS
140082012-05-10 Thomas Schwinge <thomas@schwinge.name>
14009
14010 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14011 <sys/uio.h> (for writev).
14012 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14013 and <sys/param.h> (for MIN).
14014
a4186cff
PT
140152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14016
14017 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14018 REQUESTED_TIME. Properly set the remaining time and return EINTR
14019 if interrupted.
14020
510bbf14
TS
140212012-05-10 Thomas Schwinge <thomas@schwinge.name>
14022
14023 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14024 Depend on against $(link-rpcuserlibs).
14025
5d5722e8
ST
140262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14027
a4186cff
PT
14028 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14029 (__libc_stack_end): Do not use attribute_relro.
14030 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14031 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 14032 to libthread-provided value.
a4186cff
PT
14033 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14034 attribute_relro.
5d5722e8 14035
37233df9
TS
140362012-05-10 Thomas Schwinge <thomas@schwinge.name>
14037
be971a2b
TS
14038 [BZ #3748]
14039 * bits/libc-lock.h (__libc_once_get): New macro.
14040 * sysdeps/mach/bits/libc-lock.h: Likewise.
14041 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14042 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14043 instead of using implementation details.
14044
37233df9
TS
14045 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14046 * libio/freopen.c: Likewise.
14047 * libio/freopen64.c: Likewise.
14048 * misc/syslog.c: Likewise.
14049 * nscd/connections.c: Likewise.
14050 * nscd/netgroupcache.c: Likewise.
14051 * sysdeps/posix/getcwd.c: Likewise.
14052
38de94a5
RM
140532012-05-10 Roland McGrath <roland@hack.frob.com>
14054
14055 * math/w_ilogbf.c: Add #include <limits.h>.
14056
67530489
ST
140572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14058
a4186cff 14059 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
14060 path instead of returning without unlocking.
14061
67530489
ST
14062 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14063 immediate-write ioctls.
14064 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14065
5aa3a74a
TS
140662012-05-10 Thomas Schwinge <thomas@schwinge.name>
14067
18bad2ae
TS
14068 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14069 __builtin_frame_address instead of making assumptions about the
14070 location of the return address relative to DATA. Force early load of
14071 the return address.
14072 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14073 __builtin_frame_address.
14074
5aa3a74a
TS
14075 dup3 for GNU Hurd.
14076 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14077 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14078 implement dup3 and do some further code clean-ups.
14079 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14080 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14081
ecd0de9a
ST
140822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14083
cd9fa985
ST
14084 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14085
a4186cff
PT
14086 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14087 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14088 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14089 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14090 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14091 d->port.lock.
802ca5a5 14092
a4186cff
PT
14093 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14094 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14095 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 14096
bcf55240
TS
140972012-05-10 Thomas Schwinge <thomas@schwinge.name>
14098
6960eb42
TS
14099 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14100 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14101 definitions.
14102
eb43375f
TS
14103 accept4 for GNU Hurd.
14104 * include/sys/socket.h (__libc_accept4): New prototype.
14105 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14106 to implement __libc_accept4.
14107 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14108 __libc_accept4.
14109 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14110
bcf55240
TS
14111 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14112 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14113 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14114 signal-defines.sym.
14115
6178c55b
ST
141162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14117
a4186cff 14118 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 14119
6f080c2f
TS
141202012-05-10 Thomas Schwinge <thomas@schwinge.name>
14121
14122 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14123 assertion on O_CLOEXEC flag.
14124 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14125 * hurd/intern-fd.c: Likewise.
14126 * hurd/port2fd.c: Likewise.
14127
bcfe3a54
ST
141282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14129
14130 [BZ #3906]
14131 * bits/in.h (IPV6_PKTINFO): Define new macro.
14132 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14133
89c9aa49
AZ
141342012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14135
14136 [BZ #13954]
14137 [BZ #13955]
14138 [BZ #13956]
14139 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14140 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14141 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14142 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14143 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14144 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14145 * math/libm-test.inc (logb_test) : Additional logb tests.
14146
021db4be
AJ
141472012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14148 Andreas Jaeger <aj@suse.de>
14149
14150 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14151 * configure: Regenerated.
14152 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14153 * config.make.in (link-obsolete-rpc): New substituted variable.
14154 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14155 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14156 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14157 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14158 so that libc.a contains the symbols.
14159 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14160 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14161 * sunrpc/auth_none.c: Likewise.
14162 * sunrpc/auth_unix.c: Likewise.
14163 * sunrpc/authdes_prot.c: Likewise.
14164 * sunrpc/authuxprot.c: Likewise.
14165 * sunrpc/clnt_gen.c: Likewise.
14166 * sunrpc/clnt_perr.c: Likewise.
14167 * sunrpc/clnt_raw.c: Likewise.
14168 * sunrpc/clnt_simp.c: Likewise.
14169 * sunrpc/clnt_tcp.c: Likewise.
14170 * sunrpc/clnt_udp.c: Likewise.
14171 * sunrpc/clnt_unix.c: Likewise.
14172 * sunrpc/des_crypt.c: Likewise.
14173 * sunrpc/des_soft.c: Likewise.
14174 * sunrpc/get_myaddr.c: Likewise.
14175 * sunrpc/key_call.c: Likewise.
14176 * sunrpc/key_prot.c: Likewise.
14177 * sunrpc/netname.c: Likewise.
14178 * sunrpc/pm_getmaps.c: Likewise.
14179 * sunrpc/pm_getport.c: Likewise.
14180 * sunrpc/pmap_clnt.c: Likewise.
14181 * sunrpc/pmap_prot.c: Likewise.
14182 * sunrpc/pmap_prot2.c: Likewise.
14183 * sunrpc/pmap_rmt.c: Likewise.
14184 * sunrpc/publickey.c: Likewise.
14185 * sunrpc/rpc_cmsg.c: Likewise.
14186 * sunrpc/rpc_common.c: Likewise.
14187 * sunrpc/rpc_dtable.c: Likewise.
14188 * sunrpc/rpc_prot.c: Likewise.
14189 * sunrpc/rpc_thread.c: Likewise.
14190 * sunrpc/rtime.c: Likewise.
14191 * sunrpc/svc.c: Likewise.
14192 * sunrpc/svc_auth.c: Likewise.
14193 * sunrpc/svc_raw.c: Likewise.
14194 * sunrpc/svc_run.c: Likewise.
14195 * sunrpc/svc_tcp.c: Likewise.
14196 * sunrpc/svc_udp.c: Likewise.
14197 * sunrpc/svc_unix.c: Likewise.
14198 * sunrpc/svcauth_des.c: Likewise.
14199 * sunrpc/xcrypt.c: Likewise.
14200 * sunrpc/xdr.c: Likewise.
14201 * sunrpc/xdr_array.c: Likewise.
14202 * sunrpc/xdr_float.c: Likewise.
14203 * sunrpc/xdr_intXX_t.c: Likewise.
14204 * sunrpc/xdr_mem.c: Likewise.
14205 * sunrpc/xdr_rec.c: Likewise.
14206 * sunrpc/xdr_ref.c: Likewise.
14207 * sunrpc/xdr_sizeof.c: Likewise.
14208 * sunrpc/xdr_stdio.c: Likewise.
14209
b5c086a2
RM
142102012-05-10 Roland McGrath <roland@hack.frob.com>
14211
14212 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14213 change. Update copyright years.
14214
6d74dd09
JM
142152012-05-10 Joseph Myers <joseph@codesourcery.com>
14216
14217 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14218
28e72501
MK
142192012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14220 Joseph Myers <joseph@codesourcery.com>
14221 Paul Pluzhnikov <ppluzhnikov@google.com>
14222
14223 [BZ #14012]
14224 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14225 requiring rpcgen.
14226 [cross-compiling] (extra-libs): Likewise.
14227 [cross-compiling] (extra-libs-others): Likewise.
14228 [cross-compiling] (librpcsvc-routines): Likewise.
14229 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14230 [cross-compiling] (omit-deps): Likewise.
14231 (sunrpc-CPPFLAGS): New variable.
14232 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14233 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14234 (cross-rpcgen-objs): New variable.
14235 (extra-objs): Append $(cross-rpcgen-objs).
14236 ($(cross-rpcgen-objs)): New rule.
14237 ($(objpfx)cross-rpcgen): Likewise.
14238 (rpcgen-cmd): Define to use $(built-program-file). Expand
14239 comment.
14240 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14241 ($(objpfx)x%.stmp): Likewise.
14242 * sunrpc/proto.h [IS_IN_build] (_): Define.
14243 [IS_IN_build] (_libc_intl_domainname): Likewise.
14244
c8c59454
L
142452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14246
14247 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14248 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14249 and R_X86_64_TPOFF64.
14250
6f27cd16
JM
142512012-05-10 Joseph Myers <joseph@codesourcery.com>
14252
14253 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14254 sysdeps/unix/sysv/syscalls.list.
14255 (stime): Likewise.
14256 (utime): Likewise.
14257 * sysdeps/unix/sysv/syscalls.list: Remove file.
14258
02467e1c
PE
142592012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14260
14261 [BZ #3440]
14262 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14263 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14264 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14265 (__LC_IDENTIFICATION): Make these macros useful in #if
14266 expressions, as required by C99.
14267
da392631
AS
142682012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14269
14270 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14271 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14272 after this.
14273
8115f29b
L
142742012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14275
14276 * stdlib/longlong.h: Updated from GCC.
14277
bdd74070
AJ
142782012-05-09 Andreas Jaeger <aj@suse.de>
14279
edfe0dbe
AJ
14280 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14281 default is first entry.
14282 (run_mode): Set type.
14283 (main): Remove informal message about syslog.
14284 (options): Fix typo.
14285
bcfe3a54
ST
14286 [BZ #14053]
14287 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 14288 to asm.
bcfe3a54
ST
14289 (lrint): Likewise.
14290 (llrintf): Likewise.
14291 (llrint): Likewise.
14292 (rint): Likewise.
14293 (rintf): Likewise.
14294 (nearbyint): Likewise.
14295 (nearbyintf): Likewise.
bdd74070 14296
91d8d69e
AJ
142972012-05-09 Andreas Jaeger <aj@suse.de>
14298 Pedro Alves <palves@redhat.com>
14299
14300 * nscd/nscd.c (run_mode): Use enum.
14301 (main): Cleanup coding style issue.
14302
bb90b80b
AJ
143032012-05-09 Alexandre Oliva <aoliva@redhat.com>
14304 Andreas Jaeger <aj@suse.de>
14305
bcfe3a54
ST
14306 * nscd/nscd.c (go_background): Replaced with...
14307 (run_mode): ... this.
bb90b80b 14308 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
14309 (options): Add -F --foreground.
14310 (main): Implement it.
14311 (parse_opt): Parse it.
bb90b80b 14312
1a4b75a1
AJ
143132012-05-09 Andreas Jaeger <aj@suse.de>
14314
14315 [BZ #14083]
14316 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14317 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14318 -Wconversion warning.
14319 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14320 Likewise.
14321
b1cc2472
JM
143222012-05-09 Joseph Myers <joseph@codesourcery.com>
14323
14324 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14325 == 0.
14326 (LC_ALL): Use macro-int-constant.
14327 (LC_COLLATE): Likewise.
14328 (LC_CTYPE): Likewise.
14329 (LC_MESSAGES): Likewise.
14330 (LC_MONETARY): Likewise.
14331 (LC_NUMERIC): Likewise.
14332 (LC_TIME): Likewise.
14333 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14334 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14335 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14336 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14337 Specify type.
14338 [C99-based standards] (float_t): Expect type.
14339 [C99-based standards] (double_t): Expect type.
14340 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14341 type.
14342 [C99-based standards] (HUGE_VALL): Likewise.
14343 [C99-based standards] (INFINITY): Likewise.
14344 [C99-based standards] (NAN): Likewise.
14345 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14346 [C99-based standards] (FP_NAN): Likewise.
14347 [C99-based standards] (FP_NORMAL): Likewise.
14348 [C99-based standards] (FP_SUBNORMAL): Likewise.
14349 [C99-based standards] (FP_ZERO): Likewise.
14350 [C99-based standards] (FP_FAST_FMA): Use
14351 optional-macro-int-constant. Specify type. Require == 1.
14352 [C99-based standards] (FP_FAST_FMAF): Likewise.
14353 [C99-based standards] (FP_FAST_FMAL): Likewise.
14354 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14355 [C99-based standards] (FP_ILOGBNAN): Likewise.
14356 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14357 Specify type.
14358 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14359 [C99-based standards] (math_errhandling): Specify type.
14360 [ISO99 || ISO11] (signgam): Do not allow.
14361 [non-C99-based standards] (copysignf): Do not allow.
14362 [non-C99-based standards] (exp2f): Likewise.
14363 [non-C99-based standards] (log2f): Likewise.
14364 [non-C99-based standards] (modff): Allow.
14365 [non-C99-based standards] (erff): Do not allow.
14366 [non-C99-based standards] (erfcf): Likewise.
14367 [non-C99-based standards] (gammaf): Likewise.
14368 [non-C99-based standards] (hypotf): Likewise.
14369 [non-C99-based standards] (j0f): Likewise.
14370 [non-C99-based standards] (j1f): Likewise.
14371 [non-C99-based standards] (jnf): Likewise.
14372 [non-C99-based standards] (lgammaf): Likewise.
14373 [non-C99-based standards] (tgammaf): Likewise.
14374 [non-C99-based standards] (y0f): Likewise.
14375 [non-C99-based standards] (y1f): Likewise.
14376 [non-C99-based standards] (ynf): Likewise.
14377 [non-C99-based standards] (isnanf): Likewise.
14378 [non-C99-based standards] (acoshf): Likewise.
14379 [non-C99-based standards] (asinhf): Likewise.
14380 [non-C99-based standards] (atanhf): Likewise.
14381 [non-C99-based standards] (cbrtf): Likewise.
14382 [non-C99-based standards] (expm1f): Likewise.
14383 [non-C99-based standards] (ilogbf): Likewise.
14384 [non-C99-based standards] (log1pf): Likewise.
14385 [non-C99-based standards] (logbf): Likewise.
14386 [non-C99-based standards] (nextafterf): Likewise.
14387 [non-C99-based standards] (remainderf): Likewise.
14388 [non-C99-based standards] (rintf): Likewise.
14389 [non-C99-based standards] (scalbf): Likewise.
14390 [non-C99-based standards] (copysignl): Likewise.
14391 [non-C99-based standards] (exp2l): Likewise.
14392 [non-C99-based standards] (log2l): Likewise.
14393 [non-C99-based standards] (modfl): Allow.
14394 [non-C99-based standards] (erfl): Do not allow.
14395 [non-C99-based standards] (erfcl): Likewise.
14396 [non-C99-based standards] (gammal): Likewise.
14397 [non-C99-based standards] (hypotl): Likewise.
14398 [non-C99-based standards] (j0l): Likewise.
14399 [non-C99-based standards] (j1l): Likewise.
14400 [non-C99-based standards] (jnl): Likewise.
14401 [non-C99-based standards] (lgammal): Likewise.
14402 [non-C99-based standards] (tgammal): Likewise.
14403 [non-C99-based standards] (y0l): Likewise.
14404 [non-C99-based standards] (y1l): Likewise.
14405 [non-C99-based standards] (ynl): Likewise.
14406 [non-C99-based standards] (isnanl): Likewise.
14407 [non-C99-based standards] (acoshl): Likewise.
14408 [non-C99-based standards] (asinhl): Likewise.
14409 [non-C99-based standards] (atanhl): Likewise.
14410 [non-C99-based standards] (cbrtl): Likewise.
14411 [non-C99-based standards] (expm1l): Likewise.
14412 [non-C99-based standards] (ilogbl): Likewise.
14413 [non-C99-based standards] (log1pl): Likewise.
14414 [non-C99-based standards] (logbl): Likewise.
14415 [non-C99-based standards] (nextafterl): Likewise.
14416 [non-C99-based standards] (remainderl): Likewise.
14417 [non-C99-based standards] (rintl): Likewise.
14418 [non-C99-based standards] (scalbl): Likewise.
14419 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14420 [non-C99-based standards] (FP_*): Do not allow.
14421 [C99-based standards] (FP_*): Change to
14422 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14423 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14424 allow.
14425 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14426 (SIG_ERR): Likewise.
14427 [X/Open-based standards] (SIG_HOLD): Likewise.
14428 (SIG_IGN): Likewise.
14429 (SIGABRT): Use macro-int-constant. Specify type. Require
14430 positive value.
14431 (SIGFPE): Likewise.
14432 (SIGILL): Likewise.
14433 (SIGINT): Likewise.
14434 (SIGSEGV): Likewise.
14435 (SIGTER): Likewise.
14436 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14437 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14438 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14439 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14440 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14441 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14442 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14443 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14444 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14445 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14446 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14447 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14448 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14449 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14450 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14451 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14452 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14453 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14454 [X/Open-based standards] (SIGTRAP): Likewise.
14455 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14456 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14457 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14458 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14459 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14460 allow.
14461
b9f1922d
IW
144622012-05-08 Ian Wienand <ianw@vmware.com>
14463
14464 [BZ #14080]
14465 * time/tzset.c (__tzset_parse_tz): Update default rules for
14466 daylight time changes in the Energy Policy Act of 2005.
14467
1db86e88
AJ
144682012-05-09 Andreas Jaeger <aj@suse.de>
14469
14470 [BZ #13983]
14471 * elf/ldconfig.c (parse_conf): Change string to make clear that
14472 ldconfig only issued a warning if ld.so.conf does not exist.
14473
dee4a4e3
DM
144742012-05-08 David S. Miller <davem@davemloft.net>
14475
ee0db190
DM
14476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14477 movxtod instead of popping the value on the stack.
14478
dee4a4e3
DM
14479 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14480
6a43ec98
CD
144812012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14482
14483 * config.h.in: Add HAVE_ARM_PCS_VFP.
14484
05c2c961
RMG
144852012-05-08 Roland Mc Grath <roland@hack.frob.com>
14486
bcfe3a54
ST
14487 [BZ #13979]
14488 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14489 checking but the checks are disabled for any reason.
05c2c961 14490
4b30f61a
L
144912012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14492
14493 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14494 and ELF64_R_TYPE with ELFW(R_TYPE).
14495
eee2bc67
JM
144962012-05-08 Joseph Myers <joseph@codesourcery.com>
14497
7ea5391a
JM
14498 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14499 (ulimit): Likewise.
14500
eee2bc67
JM
14501 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14502 (settimeofday): Likewise.
14503
abb66a67
MF
145042012-05-08 Mike Frysinger <vapier@gentoo.org>
14505
14506 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14507 a struct th_u2 inside the union, and move tu_block/tu_code into
14508 a new th_u3 union of tu_block/tu_code inside of that. Move
14509 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14510 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14511 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14512 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14513 (th_stuff): Change to th_u1.tu_stuff.
14514 (th_data): Define.
14515 (th_msg): Change to th_u1.th_u2.tu_data.
14516
7f18b530
DM
145172012-05-07 David S. Miller <davem@davemloft.net>
14518
05760585
DM
14519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14520
7f18b530
DM
14521 [BZ #14074]
14522 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14523 (SETUP_PIC_REG): Use it.
14524 (SETUP_PIC_REG_LEAF): Use it.
14525
495fd99f
JM
145262012-05-07 Joseph Myers <joseph@codesourcery.com>
14527
14528 [BZ #13885]
14529 [BZ #13923]
14530 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14531 USE_AS_EXPM1L.
14532 (EXPL_FINITE): Likewise.
14533 (FLDLOG): Likewise.
14534 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14535 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14536 e_expl.S.
14537 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14538 USE_AS_EXPM1L.
14539 (EXPL_FINITE): Likewise.
14540 (FLDLOG): Likewise.
14541 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14542 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14543 e_expl.S.
14544 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14545 test of -max_value argument for long double.
14546 * sysdeps/i386/fpu/libm-test-ulps: Update.
14547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14548
6693d694
DM
145492012-05-06 David S. Miller <davem@davemloft.net>
14550
14551 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14552 quad soft-float symbols whose references which are compiler
14553 generated.
14554 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14555
6c23e11c
JM
145562012-05-06 Joseph Myers <joseph@codesourcery.com>
14557
d8b82cad
JM
14558 [BZ #13884]
14559 [BZ #13914]
14560 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14561 USE_AS_EXP10L.
14562 (EXPL_FINITE): Likewise.
14563 (FLDLOG): Likewise.
14564 (c0): Likewise.
14565 (c1): Likewise.
14566 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14567 Adjust comments for base varying.
14568 (__expl_finite): Change alias to EXPL_FINITE.
14569 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14570 e_expl.S.
14571 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14572 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14573 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14574 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14575 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14576 USE_AS_EXP10L.
14577 (EXPL_FINITE): Likewise.
14578 (FLDLOG): Likewise.
14579 (c0): Likewise.
14580 (c1): Likewise.
14581 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14582 Adjust comments for base varying.
14583 (__expl_finite): Change alias to EXPL_FINITE.
14584 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14585 tests for bugs.
14586 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14587
6c23e11c
JM
14588 [BZ #14064]
14589 * math/libm-test.inc (check_float_internal): Correct ulp
14590 calculation for subnormal expected results.
14591
29ba805c
AJ
145922012-05-06 Andreas Jaeger <aj@suse.de>
14593
14594 * Makeconfig (+math-flags): New, set to -frounding-math.
14595 (+cflags): Add +math-flags so that all of glibc gets compiled with
14596 it.
14597
14598 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14599
7b17aeda
JM
146002012-05-05 Joseph Myers <joseph@codesourcery.com>
14601
5779f134
JM
14602 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14603 Disable one test.
14604
41498f4d
JM
14605 [BZ #13787]
14606 [BZ #13922]
14607 [BZ #14036]
14608 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14609 (__ieee754_expl): Allow for and saturate large arguments.
14610 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14611 (u_threshold): Likewise.
14612 (__exp): Call __ieee754_exp before checking for overflow and
14613 underflow.
14614 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14615 (u_threshold): Likewise.
14616 (__expf): Call __ieee754_expf before checking for overflow and
14617 underflow.
14618 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14619 (u_threshold): Likewise.
14620 (__expl): Call __ieee754_expl before checking for overflow and
14621 underflow.
14622 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14623 (__ieee754_expl): Allow for and saturate large arguments.
14624 * math/libm-test.inc (exp_test): Add another test. Do not allow
14625 missing overflow exception on overflow.
14626 (expm1_test): Do not allow missing overflow exception on overflow.
14627
6698b8bf
JM
14628 * sysdeps/i386/fpu/e_expl.c: Move to ...
14629 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14630 rather than using inline asm.
14631 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14632 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14633 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14634
7b17aeda
JM
14635 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14636 (nice): Likewise.
14637 (poll): Likewise.
14638 (signal): Likewise.
14639 (time): Likewise.
14640 (times): Likewise.
14641
f7c85819
JM
146422012-05-04 Joseph Myers <joseph@codesourcery.com>
14643
14644 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14645 sysdeps/unix/common/syscalls.list.
14646 (fchmod): Likewise.
14647 (fchown): Likewise.
14648 (ftruncate): Likewise.
14649 (getrusage): Likewise.
14650 (gettimeofday): Likewise.
14651 (setpgid): Likewise.
14652 (setregid): Likewise.
14653 (setreuid): Likewise.
14654 (sigaction): Likewise.
14655 (truncate): Likewise.
14656 (vhangup): Likewise.
14657 * sysdeps/unix/common/syscalls.list: Remove file.
14658 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14659 * sysdeps/unix/sysv/linux/Implies: Likewise.
14660
336270d0
L
146612012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14662
14663 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14664 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14665 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14666 Moved to ...
14667 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14668 Here.
14669 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14670 to ...
14671 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14672 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14673 to ...
14674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14675 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14676 to ...
14677 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14678 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14679 to ...
14680 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14681 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14682 to ...
14683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14684 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14685 to ...
14686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14687 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14688 to ...
14689 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14690 Here.
14691 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14692 to ...
14693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14694 Here.
14695 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14696 to ...
14697 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14698 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14699 Moved to ...
14700 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14701 Here.
14702 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14703 to ...
14704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14705
d128e450
JM
147062012-05-04 Joseph Myers <joseph@codesourcery.com>
14707
fa8ee516
JM
14708 * sysdeps/unix/common/bits/dirent.h: Remove file.
14709 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14710
d128e450
JM
14711 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14712 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14713 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14714 * sysdeps/unix/bsd/isatty.c: Likewise.
14715 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14716 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14717 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14718
ff8faaf0 147192012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 14720
62881be4 14721 [BZ #13563]
31dc8730
AZ
14722 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14723 long double comparison inaccuracies.
14724 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14726
6fef930c
AS
147272012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14728
14729 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14730 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14731
8f203e6c
JM
147322012-05-04 Joseph Myers <joseph@codesourcery.com>
14733
14734 [BZ #14049]
14735 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14736 nonzero digits before rounding a hex value.
14737 * stdlib/tst-strtod.c (tests): Add another test.
14738
5197d9c2
AK
147392012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14740
14741 * sysdeps/s390/fpu/libm-test-ulps: Update.
14742
f0c1dedf
AJ
147432012-05-03 Andreas Jaeger <aj@suse.de>
14744
14745 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14746 does not get optimized out.
14747 (malloc_opt_barrier): New.
14748
a65ef2ae 147492012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 14750 Roland McGrath <roland@hack.frob.com>
a65ef2ae 14751
2b942cb7 14752 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 14753 intermediate file deletion.
2b942cb7 14754 (generated): Add .symlist files.
a65ef2ae 14755
54b71e02
JM
147562012-05-03 Joseph Myers <joseph@codesourcery.com>
14757
14758 [BZ #13775]
14759 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14760 Redirect under this condition.
14761 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14762 [__USE_GNU] (__dprintf_chk): Not under this condition.
14763 [__USE_GNU] (__vdprintf_chk): Likewise.
14764 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14765 under this condition.
14766 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14767 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14768 [__USE_XOPEN2K8] (vdprintf): Likewise.
14769 [__USE_GNU] (__dprintf_chk): Not under this condition.
14770 [__USE_GNU] (__vdprintf_chk): Likewise.
14771 [__USE_GNU] (dprintf): Likewise.
14772 [__USE_GNU] (vdprintf): Likewise.
14773
d3dfcc41
RM
147742012-05-03 Roland McGrath <roland@hack.frob.com>
14775
14776 * elf/Makefile (common-generated): Set this instead of generated for
14777 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14778 $(all-built-dso)-derived lists.
14779
7ac30cc5
AJ
147802012-05-03 Andreas Jaeger <aj@suse.de>
14781
0c51e550
AJ
14782 * sysdeps/i386/fpu/libm-test-ulps: Update.
14783
7ac30cc5
AJ
14784 * FAQ: Removed.
14785 * FAQ.in: Likewise.
14786 * scripts/gen-FAQ.pl: Likewise.
14787 * manual/install.texi (Installation): Point to online location of
14788 FAQ.
14789 * Makefile (files-for-dist): Remove FAQ.
14790 (FAQ): Remove.
14791
d4c2917f
AM
147922012-05-02 Allan McRae <allan@archlinux.org>
14793
14794 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14795 (LDFLAGS-reldepmod5.so): Likewise.
14796 (LDFLAGS-reldep6mod1.so): Likewise.
14797 (LDFLAGS-reldep6mod4.so): Likewise.
14798 (LDFLAGS-reldep8mod3.so): Likewise.
14799 (LDFLAGS-unload4mod1.so): Likewise.
14800 (LDFLAGS-unload4mod2.so): Likewise.
14801 (LDFLAGS-tst-initorder): Likewise.
14802 (LDFLAGS-tst-initordera2.so): Likewise.
14803 (LDFLAGS-tst-initordera3.so): Likewise.
14804 (LDFLAGS-tst-initordera4.so): Likewise.
14805 (LDFLAGS-tst-initorderb2.so): Likewise.
14806 (LDFLAGS-noload): Likewise.
14807 (LDFLAGS-next): Likewise.
14808 (LDFLAGS-order2mod1.so): Likewise.
14809 (LDFLAGS-order2mod2.so): Likewise.
14810 (LDFLAGS-tst-initorder2): Likewise.
14811 (LDFLAGS-tst-initorder2a.so): Likewise.
14812 (LDFLAGS-tst-initorder2b.so): Likewise.
14813 (LDFLAGS-tst-initorder2c.so): Likewise.
14814 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14815
d77f993f
DM
148162012-05-02 David S. Miller <davem@davemloft.net>
14817
14818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14819
171a70b4
PP
148202012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14821
14822 [BZ #14055]
14823 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14824
0be196ad
AJ
148252012-05-02 Andreas Jaeger <aj@suse.de>
14826
14827 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14828 since we manipulate rounding mode.
14829 (CPPFLAGS-test-idouble.c): Likewise.
14830 (CPPFLAGS-test-ifloat.c): Likewise.
14831 (CFLAGS-test-ldouble.c): Likewise.
14832 (CFLAGS-test-double.c): Likewise.
14833 (CFLAGS-test-float.c): Likewise.
14834 (CFLAGS-test-misc.c): Likewise.
14835 (CFLAGS-test-test-fenv.c): Likewise.
14836
4f9d04aa
AZ
148372012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14838
2b942cb7
RM
14839 [BZ #2550]
14840 [BZ #2570]
14841 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14842 comparisons to determine direction to adjust input.
4f9d04aa 14843
82a79e7d
RM
148442012-05-01 Roland McGrath <roland@hack.frob.com>
14845
f5a01ca9
RM
14846 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14847 output to the target.
14848
90fe4186
RM
14849 * scripts/localplt.awk: New file.
14850 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14851 (check-localplt-CFLAGS): Variable removed.
14852 ($(all-built-dso:=.jmprel)): New static pattern rule.
14853 (generated): Add those targets.
14854 (localplt-built-dso): New variable.
14855 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14856
14857 * elf/check-localplt.c: File removed.
14858
82397ed6
RM
14859 * scripts/check-execstack.awk: New file.
14860 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14861 (check-execstack-CFLAGS): Variable removed.
14862 ($(objpfx)check-execstack.h): Target removed.
14863 ($(objpfx)execstack-default): New target.
14864 (generated): Add that instead of check-execstack.h.
14865 ($(all-built-dso:=.phdr)): New static pattern rule.
14866 (generated): Add those targets.
14867 * elf/check-execstack.c: File removed.
14868
82a79e7d
RM
14869 * scripts/check-textrel.awk: New file.
14870 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14871 (check-textrel-CFLAGS): Variable removed.
14872 (all-built-dso): Use := to define.o
14873 ($(all-built-dso:=.dyn)): New static pattern rule.
14874 (generated): Add those targets.
14875 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14876 * config.make.in (READELF): New substituted variable.
14877 * elf/check-textrel.c: File removed.
14878
62fde54f 148792012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 14880
615605c9
JM
14881 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14882 allow.
14883 * conform/data/ctype.h-data [C99-based standards] (isblank):
14884 Expect function.
14885 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14886 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14887 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14888 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14889 Specify type. Require positive value.
14890 (EILSEQ): Likewise.
14891 (ERANGE): Likewise.
14892 [ISO || POSIX] (EILSEQ): Do not expect.
14893 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14894 Specify type. Require positive value.
14895 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14896 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14897 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14898 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14899 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14900 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14901 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14902 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14903 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14904 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14905 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14906 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14907 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14908 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14909 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14910 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14911 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14912 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14913 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14914 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14915 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14916 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14917 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14918 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14919 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14920 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14921 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14922 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14923 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14924 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14925 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14926 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14927 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14928 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14929 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14930 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14931 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14932 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14933 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14934 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14935 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14936 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14937 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14938 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14939 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14940 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14941 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14942 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14943 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14944 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14945 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14946 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14947 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14948 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14949 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14950 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14951 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14952 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14953 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14954 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14955 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14956 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14957 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14958 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14959 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14960 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14961 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14962 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14963 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14964 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14965 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14966 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14967 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14968 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14969 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14970 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14971 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14972 Require >= 2.
14973 (FLT_ROUNDS): Expect as macro, not constant.
14974 (FLT_MANT_DIG): Use macro-int-constant.
14975 (DBL_MANT_DIG): Likewise.
14976 (LDBL_MANT_DIG): Likewise.
14977 (FLT_DIG): Likewise.
14978 (DBL_DIG): Likewise.
14979 (LDBL_DIG): Likewise.
14980 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
14981 (DBL_MIN_EXP): Likewise.
14982 (LDBL_MIN_EXP): Likewise.
14983 (FLT_MAX_EXP): Use macro-int-constant.
14984 (DBL_MAX_EXP): Likewise.
14985 (LDBL_MAX_EXP): Likewise.
14986 (FLT_MAX_10_EXP): Likewise.
14987 (DBL_MAX_10_EXP): Likewise.
14988 (LDBL_MAX_10_EXP): Likewise.
14989 (FLT_MAX): Use macro-constant.
14990 (DBL_MAX): Likewise.
14991 (LDBL_MAX): Likewise.
14992 (FLT_EPSILON): Use macro-constant. Give upper bound.
14993 (DBL_EPSILON): Likewise.
14994 (LDBL_EPSILON): Likewise.
14995 (FLT_MIN): Likewise.
14996 (DBL_MIN): Likewise.
14997 (LDBL_MIN): Likewise.
14998 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
14999 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15000 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15001 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15002 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15003 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15004 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15005 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15006 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15007 [ISO11] (FLT_TRUE_MIN): Likewise.
15008 [ISO11] (LDBL_TRUE_MIN): Likewise.
15009 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15010 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15011 (SCHAR_MIN): Use macro-int-constant. Specify type.
15012 (SCHAR_MAX): Likewise.
15013 (UCHAR_MAX): Likewise.
15014 (CHAR_MIN): Likewise.
15015 (CHAR_MAX): Likewise.
15016 (MB_LEN_MAX): Use macro-int-constant.
15017 (SHRT_MIN): Use macro-int-constant. Specify type.
15018 (SHRT_MAX): Likewise.
15019 (USHRT_MAX): Likewise.
15020 (INT_MAX): Likewise.
15021 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15022 bound negative.
15023 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15024 bound with "U".
15025 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15026 bound with "L".
15027 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15028 bound negative. Suffix upper bound with "L".
15029 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15030 bound with "UL".
15031 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15032 Specify type.
15033 [C99-based standards] (LLONG_MAX): Likewise.
15034 [C99-based standards] (ULLONG_MAX): Likewise.
15035 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15036 == 0.
15037 [ISO11] (max_align_t): Require type.
15038 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15039
c9140a62
JM
15040 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15041 from $CFLAGS, without defining away __attribute__ calls.
15042 (checknamespace): Use $CFLAGS_namespace.
15043
9af0bf29
JM
15044 * conform/conformtest.pl (@keywords): Only include C99 keywords
15045 for standards based on C99 or C11.
15046
343222a2
JM
15047 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15048 Disable tests.
15049 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15050 UNIX98]: Likewise.
15051
661f8cf0
JM
15052 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15053 usability of symbols in #if.
15054
ee74b9cb
JM
15055 * conform/conformtest.pl: If macro or constant types start
15056 "promoted:", expect the symbol to be of the following type
15057 promoted by the integer promotions.
62fde54f 15058
aafc49b3
JM
15059 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15060 in one place. Also handle "macro-constant".
15061
fefdf574
JM
15062 * conform/conformtest.pl: Only accept expected macro values with
15063 "==". Parse all "macro" lines in one place.
15064 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15065
f2d922fe
JM
15066 * conform/conformtest.pl: Handle braced types on "constant" lines
15067 instead of handling "typed-constant".
15068 * conform/data/signal.h-data: Use "constant" instead of
15069 "typed-constant".
15070
d22956c9
JM
15071 * conform/conformtest.pl: Handle "optional-" at start of lines in
15072 one place rather than duplicating several cases. Handle each
15073 format of "macro" line with initial "optional-".
15074
028e2e38
JM
15075 * conform/conformtest.pl: Only accept expected constant or
15076 optional-constant values with "==". Parse all "constant" lines in
15077 one place. Parse all "optional-constant" lines in one place.
15078 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15079 * conform/data/fmtmsg.h-data: Likewise.
15080 * conform/data/netinet/in.h-data: Likewise.
15081 * conform/data/tar.h-data: Likewise.
15082 * conform/data/limits.h-data: Use "==" form on "constant" and
15083 "optional-constant" lines.
15084
1b8f2850
JM
15085 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15086 Use -std=c99 for XOPEN2K.
15087 (@knownproblems): Remove.
15088 (newtoken): Don't check %isknown.
15089
a05a144b
JM
15090 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15091 Do not expect macro.
15092 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15093 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15094 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15095 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15096 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15097 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15098 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15099 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15100 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15101 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15102 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15103 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15104 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15105 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15106 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15107 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15108 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15109 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15110 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15111 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15112 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15113 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15114 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15115 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15116 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15117 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15118 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15119 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15120 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15121 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15122 [XPG3] (acosh): Likewise.
15123 [XPG3] (asinh): Likewise.
15124 [XPG3] (atanh): Likewise.
15125 [XPG3] (cbrt): Likewise.
15126 [XPG3] (expm1): Likewise.
15127 [XPG3] (ilogb): Likewise.
15128 [XPG3] (log1p): Likewise.
15129 [XPG3] (logb): Likewise.
15130 [XPG3] (nextafter): Likewise.
15131 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15132 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15133 [XPG3] (remainder): Likewise.
15134 [XPG3] (rint): Likewise.
15135 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15136 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15137 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15138 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15139 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15140 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15141 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15142 [UNIX98 || XOPEN2K] (scalb): Expect.
15143 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15144 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15145 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15146 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15147 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15148 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15149 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15150 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15151 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15152 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15153 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15154 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15155 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15156 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15157 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15158 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15159 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15160 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15161 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15162 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15163 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15164 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15165 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15166 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15167 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15168 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15169 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15170 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15171 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15172 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15173 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15174 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15175 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15176 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15177 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15178 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15179 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15180 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15181 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15182 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15183 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15184 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15185 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15186 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15187 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15188 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15189 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15190 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15191 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15192 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15193 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15194 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15195 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15196 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15197 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15198 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15199 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15200 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15201 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15202 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15203 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15204 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15205 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15206 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15207 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15208 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15209 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15210 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15211 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15212 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15213 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15214 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15215 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15216 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15217 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15218 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15219 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15220 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15221 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15222 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15223 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15224 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15225 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15226 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15227 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15228 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15229 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15230 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15231 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15232 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15233 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15234 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15235 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15236 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15237 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15238 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15239 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15240 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15241 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15242 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15243 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15244 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15245 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15246 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15247 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15248 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15249 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15250 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15251 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15252 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15253 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15254 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15255 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15256 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15257 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15258 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15259 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15260 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15261 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15262 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15263 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15264 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15265 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15266 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15267 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15268 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15269 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15270 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15271 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15272 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15273 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15274 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15275 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15276 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15277 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15278 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15279 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15280
73c5ebe3
JM
15281 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15282 _XOPEN_SOURCE_EXTENDED for XPG4.
15283
39c33b6c
JM
15284 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15285
62fde54f
JM
15286 * Makeconfig (localtime): Remove variable.
15287 (inst_localtime-file): Likewise.
15288
0741d64c
AS
152892012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15290
15291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15292 Update.
15293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15294 Update.
15295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15296 Update.
15297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15298 Update.
15299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15300 Update.
15301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15302 Update.
15303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15304 Update.
15305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15306 Update.
15307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15308 Update.
15309
7cb029ee
JM
153102012-05-01 Joseph Myers <joseph@codesourcery.com>
15311
15312 [BZ #2550]
15313 [BZ #2570]
15314 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15315 comparisons to determine direction to adjust input.
15316 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15317 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15318 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15319 Likewise.
15320 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15321 Likewise.
15322 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15323 Likewise.
15324 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15325 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15326 Likewise.
15327 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15328 Likewise.
15329 * math/libm-test.inc (nexttoward_test): Add more tests.
15330
412bd966
AS
153312012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15332
15333 [BZ #14040]
15334 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15335 in version GLIBC_2.1, not GLIBC_2.0.
15336 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15337 Likewise.
15338
9568c0c2
JM
153392012-04-30 Joseph Myers <joseph@codesourcery.com>
15340
adfbc8ac
JM
15341 [BZ #13942]
15342 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15343 (1 - x) * (1 + x).
15344 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15345 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15346 * math/libm-test.inc (acos_test): Add more tests.
15347 (asin_test): Likewise.
15348 * sysdeps/i386/fpu/libm-test-ulps: Update.
15349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15350
5ba3cc69
JM
15351 [BZ #14034]
15352 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15353 of square root.
15354 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15355 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15356 * math/libm-test.inc (acos_test_tonearest): New function.
15357 (acos_test_towardzero): Likewise.
15358 (acos_test_downward): Likewise.
15359 (acos_test_upward): Likewise.
15360 (asin_test_tonearest): Likewise.
15361 (asin_test_towardzero): Likewise.
15362 (asin_test_downward): Likewise.
15363 (asin_test_upward): Likewise.
15364 (main): Call the new functions.
15365 * sysdeps/i386/fpu/libm-test-ulps: Update.
15366 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15367
9568c0c2
JM
15368 [BZ #13884]
15369 [BZ #13924]
15370 * math/e_exp10.c: Include <float.h>.
15371 (__ieee754_exp10): Handle underflow here rather than multiplying
15372 large negative argument by M_LN10.
15373 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15374 of __ieee754_expf.
15375 * math/e_exp10l.c: Include <float.h>.
15376 (__ieee754_exp10l): Handle underflow here rather than multiplying
15377 large negative argument by M_LN10l.
15378 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15379 spurious overflow exception on underflow.
15380
5ac3ea17
MP
153812012-04-29 Marek Polacek <polacek@redhat.com>
15382
15383 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15384 (__fortify_function): New macro.
15385 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15386 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15387 __extern_always_inline.
15388 * libio/bits/stdio2.h: Likewise.
15389 * libio/bits/stdio.h: Likewise.
15390 * string/string.h: Likewise.
15391 * string/bits/string3.h: Likewise.
15392 * include/stdio.h: Likewise.
15393 * stdlib/bits/stdlib.h: Likewise.
15394 * stdlib/stdlib.h: Likewise.
15395 * rt/bits/mqueue2.h: Likewise.
15396 * rt/mqueue.h: Likewise.
15397 * posix/bits/unistd.h: Likewise.
15398 * posix/unistd.h: Likewise.
15399 * io/bits/poll2.h: Likewise.
15400 * io/bits/fcntl2.h: Likewise.
15401 * io/fcntl.h: Likewise.
15402 * io/sys/poll.h: Likewise.
15403 * misc/bits/syslog.h: Likewise.
15404 * misc/bits/syslog-ldbl.h: Likewise.
15405 * misc/sys/syslog.h: Likewise.
15406 * socket/bits/socket2.h: Likewise.
15407 * socket/sys/socket.h: Likewise.
15408 * debug/tst-chk1.c: Likewise.
15409 * wcsmbs/bits/wchar2.h: Likewise.
15410 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15411 * wcsmbs/wchar.h: Likewise.
15412
ecf0ebfb
AJ
154132012-04-29 Andreas Jaeger <aj@suse.de>
15414
15415 * Makerules (tests): Remove enable-check-abi protection.
15416 (check-abi-warn): Remove.
15417 (check-abi-%): Remove check-abi-warn usage.
15418
15419 * configure.in: Remove check-abi configure option.
15420 * configure: Regenerated.
15421 * config.make.in (enable-check-abi): Remove.
15422
6d5c57fa
AS
154232012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15424
24c5d07e 15425 [BZ #14033]
ded5180a
AS
15426 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15427 double functions to double *_finite functions.
15428
7e0d315d
AS
15429 [BZ #13941]
15430 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15431 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15432 LDBL_MIN_EXP.
15433 * stdio-common/Makefile (tests): Add tst-sprintf3.
15434 * stdio-common/tst-sprintf3.c: New file.
15435
6d5c57fa
AS
15436 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15437 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15438
0749ff8b
JM
154392012-04-28 Joseph Myers <joseph@codesourcery.com>
15440
15441 * conform/conformtest.pl: Remove duplicate typed-constant
15442 handling.
15443
8dbd5d7b
DM
154442012-04-28 David S. Miller <davem@davemloft.net>
15445
15446 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15447 (check-abi-%): Remove AWK script prerequisite and explicit
15448 abilist directory.
15449 (check-abi): Rewrite to just diff the symlist with the abilist.
15450 (config-tls, config-abi-config): Delete, no longer used.
15451 (update-abi-%): Remove AWK script and explicit abilist directory.
15452 (update-abi): Rewrite to simply compare and conditionally copy the
15453 symlist and the sysdep abilist file. Remove update-abi-config
15454 checks.
15455 * abilist/ld.abilist: Remove.
15456 * abilist/libBrokenLocale.abilist: Remove.
15457 * abilist/libanl.abilist: Remove.
15458 * abilist/libcrypt.abilist: Remove.
15459 * abilist/libdl.abilist: Remove.
15460 * abilist/librt.abilist: Remove.
15461 * abilist/libthread_db.abilist: Remove.
15462 * abilist/libutil.abilist: Remove.
15463 * scripts/extract-abilist.awk: Remove.
15464 * scripts/merge-abilist.awk: Remove.
15465 * sysdeps/generic/libcidn.abilist: New file.
15466 * sysdeps/generic/libnss_compat.abilist: New file.
15467 * sysdeps/generic/libnss_db.abilist: New file.
15468 * sysdeps/generic/libnss_dns.abilist: New file.
15469 * sysdeps/generic/libnss_files.abilist: New file.
15470 * sysdeps/generic/libnss_hesiod.abilist: New file.
15471 * sysdeps/generic/libnss_nis.abilist: New file.
15472 * sysdeps/generic/libnss_nisplus.abilist: New file.
15473 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15474 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15475 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15476 file.
15477 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15478 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15479 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15480 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15481 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15482 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15483 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15484 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15485 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15486 file.
15487 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15488 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15489 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15490 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15491 file.
15492 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15493 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15494 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15495 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15496 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15497 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15498 file.
15499 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15500 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15501 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15502 file.
15503 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15504 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15505 New file.
15506 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15507 New file.
15508 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15509 New file.
15510 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15511 New file.
15512 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15513 New file.
15514 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15515 New file.
15516 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15517 New file.
15518 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15519 New file.
15520 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15521 New file.
15522 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15523 New file.
15524 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15525 New file.
15526 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15527 New file.
15528 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15529 New file.
15530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15531 file.
15532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15533 New file.
15534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15535 New file.
15536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15537 file.
15538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15539 New file.
15540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15541 New file.
15542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15543 file.
15544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15545 New file.
15546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15547 New file.
15548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15549 New file.
15550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15551 New file.
15552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15553 New file.
15554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15555 New file.
15556 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15557 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15558 file.
15559 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15560 New file.
15561 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15562 file.
15563 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15564 file.
15565 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15566 file.
15567 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15568 file.
15569 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15570 file.
15571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15572 New file.
15573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15574 file.
15575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15576 file.
15577 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15578 New file.
15579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15580 file.
15581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15583 file.
15584 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15585 New file.
15586 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15587 file.
15588 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15589 file.
15590 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15591 file.
15592 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15593 file.
15594 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15595 file.
15596 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15597 New file.
15598 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15599 file.
15600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15601 file.
15602 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15603 New file.
15604 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15605 file.
15606 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15607 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15608 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15609 file.
15610 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15611 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15612 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15613 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15614 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15615 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15616 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15617 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15618 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15619 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15620 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15621 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15622 file.
15623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15624 New file.
15625 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15626 file.
15627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15628 file.
15629 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15630 file.
15631 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15632 file.
15633 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15634 file.
15635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15636 New file.
15637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15638 New file.
15639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15640 file.
15641 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15642 New file.
15643 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15644 file.
15645 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15646 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15647 file.
15648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15649 New file.
15650 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15651 file.
15652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15653 file.
15654 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15655 file.
15656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15657 file.
15658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15659 file.
15660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15661 New file.
15662 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15663 New file.
15664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15665 file.
15666 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15667 New file.
15668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15669 file.
15670
41d73a1b
JM
156712012-04-28 Joseph Myers <joseph@codesourcery.com>
15672
15673 * conform/conformtest.pl: Fix typo in handling typed-constant from
15674 allow-header.
15675
28aeeda4
JM
156762012-04-27 Joseph Myers <joseph@codesourcery.com>
15677
adae8f5e
JM
15678 * README: Cut down references to pre-2.6 Linux kernels and
15679 Linuxthreads. Update lists of configurations in libc and ports
15680 and sort alphabetically. Say "or newer" with Linux kernel version
15681 requirements.
15682
28aeeda4
JM
15683 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15684
a462cb63
RA
156852012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15686
15687 [BZ #887]
15688 * math/libm-test.inc (logb_test_downward): New test to expose
15689 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15690 rounding mode.
15691
6ad3493e
JM
156922012-04-27 Joseph Myers <joseph@codesourcery.com>
15693
15694 [BZ #14027]
15695 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15696 to be done.
15697 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15698 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15699
2ce4f015
JM
157002012-04-26 Joseph Myers <joseph@codesourcery.com>
15701
5aeb141a
JM
15702 * sysdeps/unix/i386/brk.S: Remove file.
15703 * sysdeps/unix/i386/dl-brk.S: Likewise.
15704 * sysdeps/unix/i386/pipe.S: Likewise.
15705 * sysdeps/unix/i386/sigreturn.S: Likewise.
15706 * sysdeps/unix/i386/syscall.S: Likewise.
15707 * sysdeps/unix/i386/vfork.S: Likewise.
15708 * sysdeps/unix/i386/wait.S: Likewise.
15709
7143acae
JM
15710 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15711 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15712
2ce4f015
JM
15713 * configure.in (arm*-none*): Do not allow without
15714 --enable-hacker-mode.
15715 (netbsd*): Remove case setting base_os.
15716 (386bsd*): Likewise.
15717 (freebsd*): Likewise.
15718 (bsdi*): Likewise.
15719 (osf*): Likewise.
15720 (sunos*): Likewise.
15721 (ultrix*): Likewise.
15722 (newsos*): Likewise.
15723 (dynix*): Likewise.
15724 (*bsd*): Likewise.
15725 (sysv*): Likewise.
15726 (isc*): Likewise.
15727 (esix*): Likewise.
15728 (sco*): Likewise.
15729 (minix*): Likewise.
15730 (irix4*): Likewise.
15731 (irix6*): Likewise.
15732 (solaris[2-9]*): Likewise.
15733 (none): Likewise.
15734 * configure: Regenerated.
15735
0ac229c8
AZ
157362012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15737
15738 [BZ #11521]
15739 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15740 overflow or cancellation in calculating denominator.
15741 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15742 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15743 down expression to avoid unexpected rounding in newer GCCs.
15744 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15745
33f244f4
DM
157462012-04-26 David S. Miller <davem@davemloft.net>
15747
15748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15749 long-double compat symbols.
15750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15755 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15756 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15759 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15760 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15761 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15762 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15763
cfa1f3e8
DM
157642012-04-25 David S. Miller <davem@davemloft.net>
15765
15766 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15767 HWCAP_* values only after the memory barriers have been defined.
15768 (atomic_full_barrier): Define.
15769 (atomic_read_barrier): Define.
15770 (atomic_write_barrier): Define.
15771
6e236b92
SP
157722012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15773
15774 * shlib-versions: Add libgcc_s version information.
15775 * sysdeps/generic/libgcc_s.h: Remove.
15776 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15777 libgcc_s.h.
15778 * sysdeps/gnu/unwind-resume.c: Likewise.
15779 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15780
aab39a09
DM
157812012-04-25 David S. Miller <davem@davemloft.net>
15782
15783 * sysdeps/unix/sparc/brk.S: Delete.
15784 * sysdeps/unix/sparc/dl-brk.S: Delete.
15785 * sysdeps/unix/sparc/pipe.S: Delete.
15786 * sysdeps/unix/sparc/sysdep.S: Delete.
15787 * sysdeps/unix/sparc/sysdep.h: Delete.
15788 * sysdeps/unix/sparc/vfork.S: Delete.
15789 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15790 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15791 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15792 ret_ERRVAL, r0, r1, MOVE): Define.
15793 (JUMPTARGET): Remove.
15794 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15795 sysdeps/unix/sparc/sysdep.h
15796 (ENTRY, END): Remove.
15797 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15798
a3cc4f48
JM
157992012-04-25 Joseph Myers <joseph@codesourcery.com>
15800
2ed8cda2
JM
15801 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15802 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15803 -DIS_IN_build.
15804
35d76d59
JM
15805 * timezone/README: Update upstream location and email address for
15806 tzcode and tzdata.
15807 * timezone/zdump.c: Update from tzcode 2012b.
15808 * timezone/zic.c: Likewise.
15809
a3cc4f48
JM
15810 * configure.in (libc_cv_as_needed): Remove test.
15811 * configure: Regenerated.
15812 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15813 conditional definition.
15814 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15815 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15816 * config.make.in (have-as-needed): Remove variable.
15817
ceab42c3
SP
158182012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15819 Paul Pluzhnikov <ppluzhnikov@google.com>
15820
15821 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15822 strings correctly.
15823
3ce2865f
CLT
158242012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15825
15826 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15827 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15828 * sysdeps/sh/strlen.S: Likewise.
15829
f37e0d68
JM
158302012-04-24 Joseph Myers <joseph@codesourcery.com>
15831
ae186e9a
JM
15832 * sysdeps/unix/fork.S: Remove file.
15833 * sysdeps/unix/i386/fork.S: Likewise.
15834 * sysdeps/unix/sparc/fork.S: Likewise.
15835
b96914af
JM
15836 * sysdeps/unix/system.c: Remove file.
15837 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15838
f37e0d68
JM
15839 * sysdeps/unix/getegid.S: Remove file.
15840 * sysdeps/unix/geteuid.S: Likewise.
15841
87ef29ca
RM
158422012-04-24 Roland McGrath <roland@hack.frob.com>
15843
83bcd236
RM
15844 * scripts/check-localplt.awk: New file.
15845 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15846 of diff.
15847 * scripts/data/localplt-generic.data: Add a comment.
15848
87ef29ca
RM
15849 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15850 NODE when __dir_mkfile failed.
15851 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15852 Reported by Ludovic Courtès <ludo@gnu.org>.
15853
e5a6e567
AJ
158542012-04-24 Andreas Jaeger <aj@suse.de>
15855
15856 * Makerules (common-clean): Also remove gen-as-const-headers
15857 files.
15858
c1820385
JM
158592012-04-24 Joseph Myers <joseph@codesourcery.com>
15860
15861 * Makerules (native-compile): Do not change working directory for
15862 build. Use $(OUTPUT_OPTION) in command.
15863 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15864
94e02fc4
AZ
158652012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15866
15867 [BZ #13886]
15868 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15869 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15870 * math/libm-test.inc (floor_test): Add more tests.
15871 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15872
3a533ca3
JM
158732012-04-24 Joseph Myers <joseph@codesourcery.com>
15874
940ab4b3
JM
15875 * sysdeps/unix/getdents.c: Remove file.
15876 * sysdeps/unix/sysv/getdents.c: Likewise.
15877 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15878
90e037bd
JM
15879 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15880 sysdeps/unix/mman/syscalls.list.
15881 (mmap): Likewise.
15882 (mprotect): Likewise.
15883 (msync): Likewise.
15884 (munmap): Likewise.
15885 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15886 * sysdeps/unix/mman/syscalls.list: Remove.
15887 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15888
3a533ca3
JM
15889 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15890 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15891 * configure: Regenerated.
15892 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15893 $(libgcc_s_suffix).
15894 * config.make.in (libgcc_s_suffix): Remove variable.
15895
1ad743de
JM
158962012-04-23 Joseph Myers <joseph@codesourcery.com>
15897
4ad451e2
JM
15898 * sysdeps/unix/sysv/gethostname.c: Move to ...
15899 * sysdeps/posix/gethostname.c: ... here.
15900
5e37ce39
JM
15901 * sysdeps/unix/execve.S: Remove file.
15902
1ad743de
JM
15903 * sysdeps/unix/_exit.S: Remove file.
15904
4e681b5b
AJ
159052012-04-23 Andreas Jaeger <aj@suse.de>
15906
15907 [BZ #13739]
15908 * manual/Makefile: Remove make dist support, there's no
15909 need for a stand-alone documentation tar ball.
15910 (TEXI2DVI): Define always, it's not in Makeconfig.
15911 (dist): Removed.
15912 (tar-it): Removed.
15913 (edition): Removed.
15914 (glibc-doc-$(edition).tar): Removed
15915 (%.Z): Removed.
15916 (%.gz): Removed.
15917 (%.uu): Removed.
15918 (ETAGS): Remove, it's in Makeconfig.
15919 (move-if-change): Remove, it's in Makeconfig.
15920
38686a03 159212012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
15922
15923 [BZ #13970]
15924 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15925 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15926 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15927 (strtod_l, strtof_l, strtold_l): Remove __wur.
15928 It is not necessarily an error to ignore strtol's return value.
15929 One can reliably look at the stored endptr to decide whether
15930 the number had valid syntax.
15931
7c0616fa
AJ
159322012-04-21 Andreas Jaeger <aj@suse.de>
15933
803cb6b7 15934 [BZ #13739]
7c0616fa
AJ
15935 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15936
b0fe253f
JM
159372012-04-21 Joseph Myers <joseph@codesourcery.com>
15938
15939 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15940 * sysdeps/unix/sysv/Versions: Remove file.
15941
8280f22d
MT
159422012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15943
15944 [BZ #13927]
15945 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15946
75ce411f 159472012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
15948
15949 [BZ #7064]
15950 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15951 version from __vm86.
15952
097d59fa
JM
159532012-04-20 Joseph Myers <joseph@codesourcery.com>
15954
a90f3bcb
JM
15955 * sysdeps/unix/common/lxstat.c: Remove file.
15956 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15957
edc7ea78
JM
15958 * sysdeps/unix/sysv/Makefile: Remove file.
15959
cb78c221
JM
15960 * sysdeps/unix/sysv/direct.h: Remove file.
15961
efa6a45f
JM
15962 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15963 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15964 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15965 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15966 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15967 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15968 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15969
9c9f2d0c
JM
15970 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15971
4541c83b
JM
15972 * sysdeps/unix/xmknod.c: Remove file.
15973 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15974
f5d153a0
JM
15975 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15976
aa746595
JM
15977 * sysdeps/unix/sysv/i386/time.S: Remove file.
15978
cce5905e
JM
15979 * sysdeps/unix/fxstat.c: Remove file.
15980 * sysdeps/unix/xstat.c: Likewise.
15981 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
15982
37fa3841
JM
15983 * sysdeps/unix/sysv/sigaction.c: Remove file.
15984
ff1962a3
JM
15985 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
15986 (sysdep_headers): Remove variable.
15987 [termio.h not in sysdep_headers] (generated): Likewise.
15988 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
15989 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
15990 * sysdeps/unix/sysv/tcdrain.c: Likewise.
15991 * sysdeps/unix/sysv/tcflow.c: Likewise.
15992 * sysdeps/unix/sysv/tcflush.c: Likewise.
15993 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
15994 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
15995 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
15996 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
15997 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
15998
e7740d31
JM
15999 * sysdeps/unix/siglist.c: Remove file.
16000
ee06f18b
JM
16001 * sysdeps/unix/getppid.S: Remove file.
16002
097d59fa
JM
16003 * sysdeps/unix/mkdir.c: Remove file.
16004 * sysdeps/unix/rmdir.c: Likewise.
16005
ff3d51ec
AS
160062012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16007
16008 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16009 ERR_MAX value.
16010 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16011 errlist-compat value.
16012
50f81fd7
DM
160132012-04-18 David S. Miller <davem@davemloft.net>
16014
16015 * sysdeps/generic/memcopy.h (reg_char): Delete.
16016 * debug/strcat_chk.c: Use char, not reg_char.
16017 * debug/strcpy_chk.c: Likewise.
16018 * debug/strncat_chk.c: Likewise.
16019 * debug/strncpy_chk.c: Likewise.
16020 * string/memchr.c: Likewise.
16021 * string/memrchr.c: Likewise.
16022 * string/rawmemchr.c: Likewise.
16023 * string/strcat.c: Likewise.
16024 * string/strchr.c: Likewise.
16025 * string/strchrnul.c: Likewise.
16026 * string/strcmp.c: Likewise.
16027 * string/strcpy.c: Likewise.
16028 * string/strncat.c: Likewise.
16029 * string/strncmp.c: Likewise.
16030 * string/strncpy.c: Likewise.
16031
8ff41c46
WS
160322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16033
16034 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16035 __builtin_memcopy is called when src and dest ranges are known to not
16036 overlap.
16037
6b652f46
WS
160382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16039
16040 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16041 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16042 fwd_align_merge macro call.
16043 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16044 bwd_align_merge macro call.
16045 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16046
b282631e
WS
160472012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16048
16049 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16050 bwd_align_merge macros.
16051 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16052 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16053 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16054
95aa737c
DM
160552012-04-18 David S. Miller <davem@davemloft.net>
16056
16057 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16058
7a99a614
AJ
160592012-04-18 Andreas Jaeger <aj@suse.de>
16060
16061 [BZ# 6794]
16062 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16063 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16064 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16065
16066 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16067 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16068 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16069
16070 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16071 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16072 Adjust for changed ldbl-128 files.
16073
16074 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16075 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16076 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16077
e5270c23
DM
160782012-04-17 David S. Miller <davem@davemloft.net>
16079
16080 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16081
fb5e92c9
AS
160822012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16083
16084 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16085 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16086 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16087 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16088 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16089 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16090
76da7265
AZ
160912012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16092
16093 [BZ #6794]
16094 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16095 * math/libm-test.inc: Add ilogb errno and exception tests.
16096 * math/w_ilogb.c: New file: ilogb wrapper.
16097 * math/w_ilogbf.c: New file: ilogbf wrapper.
16098 * math/w_ilogbl.c: New file: ilogbl wrapper.
16099 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16100 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16101 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16102 exception being thrown with 0.0 as argument.
16103 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16104 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16105 exception being thrown with 0.0 as argument.
16106 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16107 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16108 exception being thrown with 0.0 as argument.
16109 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16110 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16111 exception being thrown with 0.0 as argument.
16112 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16113 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 16114 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
16115 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16116 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16117 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16118 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16119 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16120 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16121
0396e69d
PB
161222012-04-17 Petr Baudis <pasky@ucw.cz>
16123
16124 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16125 with altivec.
16126
750b5926
MP
161272012-04-16 Marek Polacek <polacek@redhat.com>
16128
16129 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16130
751728a1
MP
161312012-04-16 Marek Polacek <polacek@redhat.com>
16132
16133 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16134 operands of fdivp instruction.
16135
34a27407
L
161362012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16137
16138 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16139 * elf/tst-auditmod3b.c: Likewise.
16140 * elf/tst-auditmod4b.c: Likewise.
16141 * elf/tst-auditmod5b.c: Likewise.
16142 * elf/tst-auditmod6b.c: Likewise.
16143 * elf/tst-auditmod6c.c: Likewise.
16144 * elf/tst-auditmod7b.c: Likewise.
16145 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16146 * sysdeps/x86_64/preconfigure.in: Likewise.
16147 * sysdeps/x86_64/preconfigure: Regenerated.
16148
7e73e17d
L
161492012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16150
16151 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16152 __ILP32__.
16153
c7a6ab72
AB
161542012-04-13 Antoine Balestrat <merkil33@gmail.com>
16155
16156 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16157 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16158
a9e8e0e0
CL
161592012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16160
16161 [BZ #13973]
16162 * locale/iso-639.def: Fix gl language name. Spotted by
16163 Yaron Shahrabani.
16164
ec98af7d
RM
161652012-04-12 Roland McGrath <roland@hack.frob.com>
16166
16167 [BZ #2074]
16168 * libio/libio.h (__io_write_fn): Update comment.
16169
247c3ede
PB
161702012-04-12 Petr Baudis <pasky@ucw.cz>
16171
16172 [BZ #2074]
16173 * stdio.texi (Hook Functions): The user provided writer function
16174 is not allowed to return -1.
16175
55939d6d
DM
161762012-04-11 David S. Miller <davem@davemloft.net>
16177
16178 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16179
90020f5a
MF
161802012-04-11 Mike Frysinger <vapier@gentoo.org>
16181
16182 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16183 Add a leading slash to rtkaio.
16184
288f9098
JM
161852012-04-11 Jim Meyering <meyering@redhat.com>
16186
90020f5a
MF
16187 [BZ #11959]
16188 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16189 It is not necessarily an error to ignore fwrite's return
16190 value. One can reliably use ferror to test for errors after
16191 the fact.
288f9098 16192
4be2b570
L
161932012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16194
16195 * bits/types.h (__snseconds_t): New type.
16196 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16197
16198 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16199 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16200 (__SNSECONDS_T_TYPE): Likewise.
16201 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16202 (__SNSECONDS_T_TYPE): Likewise.
16203 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16204 (__SNSECONDS_T_TYPE): Likewise.
16205
288f9098 162062012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
16207
16208 [BZ #2636]
16209 * manual/time.texi (Processor Time): Return type of times is
16210 elapsed real time since an arbitrary point in the past.
16211 (CPU Time): Move CLK_TCK from here...
16212 (Processor Time): ...to here. Correct description.
16213 * manual/conf.texi (Constants for Sysconf): Correct description of
16214 _SC_CLK_TCK.
16215
d7dd4413
DM
162162012-04-10 David S. Miller <davem@davemloft.net>
16217
16218 [BZ #13967]
16219 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16220 where the is a gap between DT_REL(A) and DT_JMPREL.
16221
b46068fc
L
162222012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16223
16224 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16225 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16226 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16227
73d65cc3
SP
162282012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16229
16230 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16231 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16232 (dl_main): Handle --inhibit-cache.
16233 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16234 _dl_inhibit_cache.
16235 * elf/dl-load.c (_dl_map_object): Use it.
16236 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16237
bcc8d661
JM
162382012-04-09 Joseph Myers <joseph@codesourcery.com>
16239
8f9a2fae
JM
16240 [BZ #13872]
16241 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16242 (__ieee754_powl): Saturate large exponents rather than testing for
16243 overflow of y*log2(x).
16244 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16245 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16246 exceptions.
16247
bcc8d661
JM
16248 [BZ #11521]
16249 * math/s_ctan.c: Include <float.h>.
16250 (__ctan): Avoid internal overflow or cancellation in calculating
16251 denominator.
16252 * math/s_ctanf.c: Likewise.
16253 * math/s_ctanl.c: Likewise.
16254 * math/s_ctanh.c: Likewise.
16255 * math/s_ctanhf.c: Likewise.
16256 * math/s_ctanhl.c: Likewise.
16257 * math/libm-test.inc (ctan_test): Add more tests.
16258 (ctanh_test): Likewise.
16259 * sysdeps/i386/fpu/libm-test-ulps: Update.
16260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16261
823fbbb4
AJ
162622012-04-09 Andreas Jaeger <aj@suse.de>
16263
03879793
AJ
16264 [BZ #6894]
16265 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16266 is an optional BSD extension.
16267
823fbbb4
AJ
16268 [BZ #10254]
16269 * manual/stdio.texi (Opening Streams): Document additional fopen
16270 parameters.
16271
8de131cb
RM
162722012-04-09 Roland McGrath <roland@hack.frob.com>
16273
16274 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16275 %eax without telling the compiler.
16276
c0ed9d7d
CD
162772012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16278
16279 [BZ # 13963]
16280 * manual/install.texi: Use sourceware.org.
16281
c483f6b4
JM
162822012-04-09 Joseph Myers <joseph@codesourcery.com>
16283
d7dd9453
JM
16284 [BZ #13873]
16285 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16286 (__ieee754_pow): Generate overflow and underflow using huge*huge
16287 and tiny*tiny rather than just returning constant infinity or zero
16288 for large exponents.
16289 * math/libm-test.inc (pow_test): Require overflow exceptions for
16290 applicable cases of large exponents.
16291
c483f6b4
JM
16292 [BZ #706]
16293 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16294 (__ieee754_pow): Use iterative multiplication algorithm only for
16295 integer exponents with absolute value below 1024. Check for odd
16296 integer exponents when using algorithm for real exponents.
16297 * math/libm-test.inc (pow_test): Add more tests.
16298 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16299
d2de7579
JM
163002012-04-08 Joseph Myers <joseph@codesourcery.com>
16301
16302 [BZ #13705]
16303 * math/libm-test.inc (exp_test): Do not allow overflow exception
16304 on underflow test.
16305
f77f1232
AJ
163062012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16307
16308 [BZ #13705]
16309 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16310 instead of __kernel_standard_f.
16311
3884932b
MF
163122012-04-08 Mike Frysinger <vapier@gentoo.org>
16313
16314 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16315 * sysdeps/x86_64/memset_chk.S: Likewise.
16316
54472e9c
AJ
163172012-04-08 Andreas Jaeger <aj@suse.de>
16318
6ab0fbfc
AJ
16319 [BZ #10153]
16320 * manual/startup.texi (Environment Access): Describe return value
16321 for putenv and setenv.
16322
61efba8c
AJ
16323 [BZ #6895]
16324 * manual/filesys.texi (Directory Entries): Add description for
16325 DT_LNK.
16326
95c3f29a
AJ
16327 [BZ #6890]
16328 * manual/filesys.texi (Directory Entries): Clarify that it's file
16329 system not operating system in the description of DT_UNKNOWN.
16330
54472e9c
AJ
16331 [BZ #6578]
16332 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16333
624254b1
SC
163342012-04-08 Stephen Compall <s11@member.fsf.org>
16335
16336 [BZ #6649]
16337 * manual/llio.texi (Opening and Closing Files): Add cross
16338 reference to explain mode argument.
16339
1e4920e0
MF
163402012-04-07 Mike Frysinger <vapier@gentoo.org>
16341
16342 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16343 * sysdeps/x86_64/memset_chk.S: Likewise.
16344
5ed848f3
DM
163452012-04-07 David S. Miller <davem@davemloft.net>
16346
16347 * elf/elf.h (R_SPARC_WDISP10): Define.
16348 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16349 R_SPARC_SIZE32.
16350 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16351 R_SPARC_SIZE64 and R_SPARC_H34.
16352
96154cd8
CD
163532012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16354
16355 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16356 conditions and remove no longer applicable assertion.
16357
9904dc47
L
163582012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16359
16360 * bits/byteswap.h: Include <features.h>.
16361 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16362 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16363
f8887d0a
L
163642012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16365
16366 * bits/byteswap.h (__bswap_16): Removed.
16367 Include <bits/byteswap-16.h> to get __bswap_16.
16368 * sysdeps/i386/bits/byteswap.h: Likewise.
16369 * sysdeps/s390/bits/byteswap.h: Likewise.
16370 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16371 * bits/byteswap-16.h: New file.
16372 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16373 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16374 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16375 * string/Makefile (headers): Add bits/byteswap-16.h.
16376
62470f60
PP
163772012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16378
16379 [BZ #13895]
16380 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16381 extra indirection.
16382 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16383 * nss/tst-nss-static.c: New.
16384
4dad7bab
RM
163852012-04-06 Robert Millan <rmh@gnu.org>
16386
16387 [BZ #6486]
16388 * manual/llio.texi (File Position Primitive): lseek
16389 refers to WHENCE when it really means OFFSET.
16390
e9142a17
AJ
163912012-04-06 Andreas Jaeger <aj@suse.de>
16392
2c040eff
AJ
16393 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16394 strncmp declarations.
16395
e9142a17
AJ
16396 * abilist/libc.abilist: Add __poll and __ppoll.
16397
ff9f1c5f
DM
163982012-04-05 David S. Miller <davem@davemloft.net>
16399
dcd2ae90
DM
16400 * scripts/check-local-headers.sh: Accept a host triplet in the
16401 path matched by the exclude regexp.
16402
993eb054
DM
16403 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16404 definition.
16405 * sysdeps/powerpc/powerpc32/dl-machine.h
16406 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16407 * sysdeps/s390/s390-32/dl-machine.h
16408 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16409 * sysdeps/sparc/sparc32/dl-machine.h
16410 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16411 * sysdeps/sparc/sparc64/dl-machine.h
16412 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16413
ff9f1c5f
DM
16414 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16415 lazy binding.
48e2e132 16416 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
16417 undefined symbol errors.
16418
48e2e132 16419 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
16420 DT_NEEDED entries.
16421
e80d6f94
MM
164222012-04-05 Michael Matz <matz@suse.de>
16423
16424 [BZ #13592]
16425 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16426
349fa79f
AJ
164272012-04-05 Andreas Jaeger <aj@suse.de>
16428
16429 [BZ #13908]
16430 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16431 comment.
16432
f402708f
KK
164332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16434
16435 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16436 which ROUND is no valid rounding mode.
16437
2ecccfc9
KK
164382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16439
16440 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16441 read again.
16442 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16443
8a53f50f
KK
164442012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16445
16446 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16447 an exception using FPU order intentionally.
16448
164492012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16450
16451 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16452 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16453 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16454 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16455
d653abb7
SJ
164562012-04-05 Simon Josefsson <simon@josefsson.org>
16457
16458 [BZ #12340]
16459 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16460 EINVAL when BUFLEN is too smal.
16461
c3b1bf7d
TS
164622012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16463
16464 [BZ #13553]
16465 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16466 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16467
b1aa60f3
AJ
164682012-04-03 Andreas Jaeger <aj@suse.de>
16469
c3b1bf7d 16470 [BZ #13938]
67f60a26
AJ
16471 * manual/setjmp.texi (System V contexts): Fix sentence.
16472
b1aa60f3
AJ
16473 [BZ #13926]
16474 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16475 New macro for this case.
16476 [!__GNUC__] (__bswap_64): New inline function for this case.
16477 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16478 * bits/byteswap.h: Likewise.
16479 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16480 ull, guard with __GLIBC_HAVE_LONG_LONG.
16481
16482 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16483 __GLIBC_HAVE_LONG_LONG.
16484
16485 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16486 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16487
39c59c35
TMQMF
164882012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16489
16490 [BZ #13691]
16491 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16492 inptr and inend, rather than using last_ch.
16493
135ffda8
DM
164942012-04-02 David S. Miller <davem@davemloft.net>
16495
16496 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16497 * stdio-common/printf-parse.h (read_int): Change return type to
16498 'int', return -1 on INT_MAX overflow.
16499 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16500 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16501 overflows INT_MAX. Check for overflow of in-format-string precision
16502 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16503 SIZE_MAX not INT_MAX for integer overflow test.
16504 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16505 skip the construct in the format string but do not record anything.
16506 * stdio-common/bug22.c: Adjust to test both width/prevision
16507 INT_MAX overflow as well as total length INT_MAX overflow. Check
16508 explicitly for proper errno values.
16509
228c019e
TS
165102012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16511
302cadd3
TS
16512 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16513 CHAR_MAX.
16514 * string/test-strcmp.c [! WIDE]: Likewise.
16515 * time/tst-mktime2.c: Likewise for INT_MAX.
16516 * string/test-string.h: #include <sys/param.h> for MIN.
16517
228c019e
TS
16518 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16519 * sysdeps/i386/init-first.c (init): Likewise.
16520 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16521 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16522 * sysdeps/sh/init-first.c (init): Likewise.
16523
cfa633f5
UD
165242012-04-01 Ulrich Drepper <drepper@gmail.com>
16525
16526 * po/ru.po: Update from translation team.
d1635ef8 16527 * po/vi.po: Likewise.
cfa633f5 16528
6cd0a5ea
SP
165292012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16530
16531 * resolv/nss_dns/dns-host.c: Merge copyright years.
16532
4b43400f
LD
165332012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16534
16535 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16536 Optimize memcpy with prefetch if
16537 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16538 src, dst pointers have unequal 16 byte alignments.
16539
48c41d04
SP
165402012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16541
16542 [BZ #13928]
16543 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16544 from a CNAME entry and return the minimum ttl for the query.
16545 (gaih_getanswer_slice): Likewise.
16546
b8dc394d
JL
165472012-03-30 Jeff Law <law@redhat.com>
16548
16549 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16550 due to long keys.
16551 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16552 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16553
2f5a5ed0
JL
16554 * resolv/nss_dns/dns-host.c: Update copyright year.
16555
1d39e359
UD
165562012-03-30 Ulrich Drepper <drepper@gmail.com>
16557
c030f70c 16558 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 16559 requests to save a system call. Fix check that all bytes are sent.
c030f70c 16560
1d39e359
UD
16561 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16562 comments for sendmmsg.
16563
165642012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
16565
16566 [BZ #13691]
16567 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16568 with only 1 character between 0x0041 and 0x01b0.
16569 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16570 * wcsmbs/tst-mbsnrtowcs.c: New file.
16571
20fde227
DM
165722012-03-29 David S. Miller <davem@davemloft.net>
16573
16574 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16575 small copies by hand.
16576
984a4237
JL
165772012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16578
16579 [BZ #13761]
16580 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16581 _nss_compat_initgroups_dyn): Fall back to malloc/free
16582 for large group memberships.
16583
18c9d62b
DM
165842012-03-28 David S. Miller <davem@davemloft.net>
16585
88d85d4f
DM
16586 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16587 that branches into memcpy.
16588 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16589 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16590 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16591 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16592 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16593 bits.
16594 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16595 implementation too.
16596 * sysdeps/sparc/mempcpy.S: New file.
16597
e5aa83e1
DM
16598 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16599 the IFUNC routine in the libc case.
16600 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16601
88570753
DM
16602 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16603 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16604 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16605 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16606 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16607 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16608 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16609 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16610
249d7567
DM
16611 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16612 loop to 256 bytes instead of 64 bytes and fix test signedness.
16613
18c9d62b
DM
16614 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16615 * sysdeps/sparc/sparc32/Makefile: rather than here...
16616 * sysdeps/sparc/sparc64/Makefile: and here.
16617
05f3d1f6
UD
166182012-03-28 Ulrich Drepper <drepper@gmail.com>
16619
16620 * malloc/mallocbug.c: Avoid warnings about unused variables.
16621
86ae07a8
JL
166222012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16623
16624 [BZ #13760]
16625 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16626 in the right place. Discard and retry query if response is
16627 larger than input buffer size.
16628
41bf21a1
JM
166292012-03-28 Joseph Myers <joseph@codesourcery.com>
16630
d6270972
JM
16631 [BZ #369]
16632 [BZ #2678]
16633 [BZ #3866]
16634 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16635 x for large integer exponent.
16636 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16637 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16638 sign of result as needed afterwards.
16639 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16640 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16641 result for underflowing pow the same as for overflow.
16642 (__kernel_standard_l): Handle powl overflow and underflow here
16643 rather than calling __kernel_standard.
16644 * math/libm-test.inc (pow_test): Add more tests.
16645
414fca03 16646 [BZ #3868]
41bf21a1
JM
16647 [BZ #13879]
16648 [BZ #13910]
16649 [BZ #13911]
16650 [BZ #13912]
16651 [BZ #13913]
16652 [BZ #13915]
16653 [BZ #13916]
16654 [BZ #13917]
16655 [BZ #13918]
16656 [BZ #13919]
16657 [BZ #13920]
16658 [BZ #13921]
16659 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16660 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16661 (__kernel_standard_l): New function.
16662 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16663 __kernel_standard.
16664 * math/w_acosl.c (__acosl): Likewise.
16665 * math/w_asinl.c (__asinl): Likewise.
16666 * math/w_atan2l.c (__atan2l): Likewise.
16667 * math/w_atanhl.c (__atanhl): Likewise.
16668 * math/w_coshl.c (__coshl): Likewise.
16669 * math/w_exp10l.c (__exp10l): Likewise.
16670 * math/w_exp2l.c (__exp2l): Likewise.
16671 * math/w_fmodl.c (__fmodl): Likewise.
16672 * math/w_hypotl.c (__hypotl): Likewise.
16673 * math/w_j0l.c (__j0l, __y0l): Likewise.
16674 * math/w_j1l.c (__j1l, __y1l): Likewise.
16675 * math/w_jnl.c (__jnl, __ynl): Likewise.
16676 * math/w_lgammal.c (__lgammal): Likewise.
16677 * math/w_log10l.c (__log10l): Likewise.
16678 * math/w_log2l.c (__log2l): Likewise.
16679 * math/w_logl.c (__logl): Likewise.
16680 * math/w_powl.c (__powl): Likewise.
16681 * math/w_remainderl.c (__remainderl): Likewise.
16682 * math/w_scalbl.c (sysv_scalbl): Likewise.
16683 * math/w_sinhl.c (__sinhl): Likewise.
16684 * math/w_sqrtl.c (__sqrtl): Likewise.
16685 * math/w_tgammal.c (__tgammal): Likewise.
16686 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16687 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16688 * math/libm-test.inc (acos_test): Add more tests.
16689 (acosh_test): Likewise.
16690 (asin_test): Likewise.
16691 (atanh_test): Likewise.
16692 (exp_test): Likewise.
16693 (exp10_test): Likewise.
16694 (exp2_test): Likewise.
16695 (expm1_test): Likewise.
16696 (lgamma_test): Likewise.
16697 (log_test): Likewise.
16698 (log10_test): Likewise.
16699 (log1p_test): Likewise.
16700 (log2_test): Likewise.
16701 (pow_test): Do not allow some spurious overflow exceptions.
16702 (sqrt_test): Add more tests.
16703 (tgamma_test): Likewise.
16704 (y0_test): Likewise.
16705 (y1_test): Likewise.
16706 (yn_test): Likewise.
16707
dd62fda6
AB
167082012-03-27 Anton Blanchard <anton@samba.org>
16709
16710 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16711 MAP_HUGETLB.
16712 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16713 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16714 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16715
1e3cdfda
AJ
167162012-03-27 David S. Miller <davem@davemloft.net>
16717
b855ab85
DM
16718 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16719
1e3cdfda
AJ
16720 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16721 have-as-vis3 check.
16722
167232012-03-27 Andreas Jaeger <aj@suse.de>
16724
16725 * sysdeps/x86_64/elf/configure.in: Moved to ...
16726 * sysdeps/x86_64/configure.in: ... here.
16727 * sysdeps/x86_64/elf/start.S: Moved to ...
16728 * sysdeps/x86_64/start.S: ... here.
16729 * sysdeps/x86_64/elf/configure: Delete.
16730
16731 * sysdeps/x86_64/configure.in: Merge contents from
16732 sysdeps/i386/configure.in (without i686 check).
16733
16734 * sysdeps/i386/elf/Versions: Merge into ...
16735 * sysdeps/i386/Versions: ... this.
16736 * sysdeps/i386/elf/Versions: Delete file.
16737 * sysdeps/i386/elf/start.S: Moved to ...
16738 * sysdeps/i386/start.S: ...here.
16739 * sysdeps/i386/elf/configure.in: Merge into...
16740 * sysdeps/i386/configure.in: ...here.
16741 * sysdeps/i386/elf/configure.in: Delete file.
16742 * sysdeps/i386/elf/configure: Delete file.
16743
16744 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16745 * debug/backtracesyms.c: ... here.
16746 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16747 * debug/backtracesymsfd.c: ... here.
16748 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16749 * sysdeps/generic/ifunc-sel.h: ... here.
16750
16751 * sysdeps/unix/i386/start.c: Delete file.
16752 * sysdeps/unix/sparc/start.c: Delete file.
16753 * sysdeps/unix/start.c: Delete file.
16754
16755 * sysdeps/sh/elf/configure.in: Moved to ...
16756 * sysdeps/sh/configure.in: ... here.
16757 * sysdeps/sh/elf/start.S: Moved to ...
16758 * sysdeps/sh/start.S: ... here.
16759 * sysdeps/sh/elf/configure: Delete file.
16760
16761 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16762 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16763 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16764 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16765 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16766 * sysdeps/powerpc/powerpc64/start.S: here.
16767 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16768 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16769 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16770 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16771 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16772
16773 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16774 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16775 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16776 * sysdeps/powerpc/powerpc32/start.S: ... here.
16777 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16778 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16779 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16780
16781 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16782 * sysdeps/powerpc/ifunc-sel.h: ... here.
16783 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16784 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16785
16786 * sysdeps/sparc/elf/configure.in: Moved to ...
16787 * sysdeps/sparc/configure.in: ... here.
16788 * sysdeps/sparc/elf/configure: Delete file.
16789 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16790 * sysdeps/sparc/sparc32/start.S: ... here.
16791 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16792 * sysdeps/sparc/sparc64/start.S: ... here.
16793 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16794 * sysdeps/sparc/sparc32/Makefile: ... this.
16795 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16796 * sysdeps/sparc/sparc64/Makefile: ... this.
16797
16798 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16799 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16800 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16801 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16802 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16803 * sysdeps/s390/s390-32/setjmp.S: ... here.
16804 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16805 * sysdeps/s390/s390-32/configure.in: ... here.
16806 * sysdeps/s390/s390-32/elf/configure: Delete file.
16807 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16808 * sysdeps/s390/s390-32/start.S: ... here.
16809
16810 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16811 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16812 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16813 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16814 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16815 * sysdeps/s390/s390-64/setjmp.S: ... here.
16816 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16817 * sysdeps/s390/s390-64/configure.in: ... here
16818 * sysdeps/s390/s390-64/elf/configure: Delete file.
16819 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16820 * sysdeps/s390/s390-64/start.S: ... here.
16821 * sysdeps/s390/s390-64/elf/configure: Delete.
16822
16823 * configure.in: Remove support for elf directories in sysdeps.
16824
16825 * configure: Regenerated.
16826 * sysdeps/i386/configure: Regenerated.
16827 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16828 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16829 * sysdeps/s390/s390-32/configure: Regenerated.
16830 * sysdeps/s390/s390-64/configure: Regenerated.
16831 * sysdeps/sh/configure: Regenerated.
16832 * sysdeps/sparc/configure: Regenerated.
16833 * sysdeps/x86_64/configure: Regenerated.
16834
a3f61311
AS
168352012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16836
c876e002
AS
16837 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16838
a3f61311
AS
16839 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16840 denormal result into account.
16841
ac4c54f0
RM
168422012-03-25 Roland McGrath <roland@hack.frob.com>
16843
16844 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16845 Reported by Allan McRae <allan@archlinux.org>.
16846
6a9b9c02
JL
168472012-03-23 Jeff Law <law@redhat.com>
16848
16849 * nss/getnssent.c (__nss_getent): Fix typo.
16850
4c42a0c1
DM
168512012-03-23 David S. Miller <davem@davemloft.net>
16852
16853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16854
1532c7ac
L
168552012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16856
16857 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16858 to pad to uint64_t for each field.
16859 (dl_tls_index): Replace unsigned long with uint64_t.
16860
3ff42526
PP
168612012-03-23 Daniel Jacobowitz <dmj@google.com>
16862 Paul Pluzhnikov <ppluzhnikov@google.com>
16863
16864 [BZ #6528]
16865 * grp/Makefile (otherlibs): Don't set it.
16866 * inet/Makefile (otherlibs): Likewise.
16867 * login/Makefile (otherlibs): Likewise.
16868 * nscd/Makefile (otherlibs): Likewise.
16869 * posix/Makefile (otherlibs): Likewise.
16870 * pwd/Makefile (otherlibs): Likewise.
16871 * rt/Makefile (otherlibs): Likewise.
16872 * sunrpc/Makefile (otherlibs): Likewise.
16873 * nss/Makefile (otherlibs): Likewise.
16874 Add libnss_files to routines and static-only-routines.
16875 ($(objpfx)getent): Remove rule.
16876 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16877 static-only-routines.
16878
7c69cd14
JM
168792012-03-22 Joseph Myers <joseph@codesourcery.com>
16880
16881 [BZ #13892]
16882 * math/s_cexp.c: Include <float.h>.
16883 (__cexp): Handle exp result overflowing not necessarily
16884 overflowing both real and imaginary parts of result.
16885 * math/s_cexpf.c: Likewise.
16886 * math/s_cexpl.c: Likewise.
16887 * math/libm-test.inc (cexp_test): Add more tests.
16888 * sysdeps/i386/fpu/libm-test-ulps: Update.
16889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16890
81b035fe
L
168912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16892
16893 * include/link.h (ELFW): New macro.
16894 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16895 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16896
1da7940c
L
168972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16898
16899 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16900 with uint64_t.
16901
b749dbb9
L
169022012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16903
16904 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16905 declaration.
16906 (struct La_x32_retval): Likewise.
16907
2ff87f3f
L
169082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16909
16910 * sysdeps/x86_64/preconfigure.in: New file.
16911 * sysdeps/x86_64/preconfigure: New generated file.
16912
c0df8e69
JM
169132012-03-22 Joseph Myers <joseph@codesourcery.com>
16914
48e44791
JM
16915 [BZ #13824]
16916 * math/e_exp2l.c: Include <float.h>.
16917 (__ieee754_exp2l): Handle overflow and underflow cases
16918 separately. Only pass fractional part of argument to
16919 __ieee754_expl.
16920 * math/libm-test.inc (exp2_test): Add more tests.
16921
c0df8e69
JM
16922 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16923 negating x to take absolute value.
16924 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16925 Likewise.
16926 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16927 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16928 Likewise.
16929 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16930 computing low part if x was negated.
16931 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16932
c8e43ba7
L
169332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16934
16935 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16936 la_x32_gnu_pltexit.
16937 (pltexit): Cast int_retval to ptrdiff_t.
16938 * elf/tst-auditmod3b.c: Likewise.
16939 * elf/tst-auditmod4b.c: Likewise.
16940 * elf/tst-auditmod5b.c: Likewise.
16941 * elf/tst-auditmod6b.c: Likewise.
16942 * elf/tst-auditmod6c.c: Likewise.
16943 * elf/tst-auditmod7b.c: Likewise.
16944
16945 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16946 and x32_gnu_pltexit.
16947
16948 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16949 __ELF_NATIVE_CLASS.
16950 (La_x32_regs): New macro.
16951 (La_x32_retval): Likewise.
16952 (la_x32_gnu_pltenter): New function prototype.
16953 (la_x32_gnu_pltexit): Likewise.
16954
7998fa78
AS
169552012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16956
dcb33988
AS
16957 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16958 exponent.
16959
233fc563
AS
16960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16961
7998fa78
AS
16962 * configure.in (libc_cv_cc_nofma): Check for option to disable
16963 generation of FMA instructions.
16964 * configure: Regenerate.
16965 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16966 * sysdeps/ieee754/dbl-64/Makefile: New file.
16967 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16968 Remove brandred-fma4.
16969 (CFLAGS-brandred-fma4.c): Remove.
16970 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16971 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16972 define.
16973 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16974 define.
16975
8e95c99a
L
169762012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16977
16978 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16979 LLONG_MAX != LONG_MAX.
16980 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16981 (_fitoa_word): Likewise.
16982 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
16983 LLONG_MAX != LONG_MAX.
16984 * stdio-common/_itowa.h: Include <_itoa.h>.
16985 (_itowa_word): Use _ITOA_WORD_TYPE on value.
16986 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
16987 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
16988 only if not defined.
16989 (_ITOA_WORD_TYPE): Likewise.
16990 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16991 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
16992
6f4db457
DM
169932012-03-21 David S. Miller <davem@davemloft.net>
16994
16995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16996
7785fe5a
L
169972012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16998
16999 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17000 of x86_64 when setting libc_cv_slibdir, libdir and
17001 libc_cv_localedir.
17002 * sysdeps/unix/sysv/linux/configure: Regenerated.
17003
4535cd55
JM
170042012-03-21 Joseph Myers <joseph@codesourcery.com>
17005
17006 * manual/lang.texi (Old Varargs): Remove section.
17007 (How Variadic): Update menu.
17008 (va_start): Do not mention varargs.h.
17009
17228132
TS
170102012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17011 Joseph Myers <joseph@codesourcery.com>
17012
17013 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17014 link test.
17015 * configure: Regenerated.
17016
8149f976
TS
170172012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17018
05f3d1f6
UD
17019 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17020 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17021 conformtest.pl
8149f976 17022
1a4ac776
JM
170232012-03-21 Joseph Myers <joseph@codesourcery.com>
17024
be22ce65
JM
17025 * NOTES: Remove.
17026 * Makefile (files-for-dist): Remove NOTES.
17027 (NOTES): Remove rule.
17028 * README: Don't refer to NOTES.
17029 * manual/creature.texi: Don't include macros.texi.
17030 * manual/intro.texi (creature.texi): Remove comment referring to
17031 NOTES.
17032
40b601fb
JM
17033 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17034 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17035 * configure: Regenerated.
17036 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17037 LIBC_TRY_CC_OPTION.
17038 (libc_cv_as_i686): Likewise.
17039 (libc_cv_cc_avx): Likewise.
17040 (libc_cv_cc_sse2avx): Likewise.
17041 (libc_cv_cc_fma4): Likewise.
17042 (libc_cv_cc_novzeroupper): Likewise.
17043 * sysdeps/i386/configure: Regenerated.
17044
1a4ac776
JM
17045 [BZ #13883]
17046 * sysdeps/i386/fpu/s_cexp.S: Remove.
17047 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17048 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17049 * math/libm-test.inc (cexp_test): Add more tests.
17050 * sysdeps/i386/fpu/libm-test-ulps: Update.
17051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17052
a458e7fe
AM
170532012-03-21 Allan McRae <allan@archlinux.org>
17054
17055 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17056
0cb7efc5
JM
170572012-03-21 Joseph Myers <joseph@codesourcery.com>
17058
17059 [BZ #13871]
17060 * math/w_exp2.c: Do not include <float.h>.
17061 (o_threshold, u_threshold): Remove.
17062 (__exp2): Calculate result before checking finiteness and calling
17063 __kernel_standard.
17064 * math/w_exp2f.c: Likewise.
17065 * math/w_exp2l.c: Likewise.
17066 * math/libm-test.inc (exp2_test): Require overflow exception for
17067 1e6 input.
2460d3aa
JM
17068
17069 [BZ #3866]
17070 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17071 range of signed 64-bit integers before using fistpll. Remove
17072 checks for whether integers fit in mantissa bits.
17073 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17074 the range of signed 32-bit integers before using fistpl. Remove
17075 checks for whether integers fit in mantissa bits.
17076 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17077 (__ieee754_powl): Test for y outside the range of signed 64-bit
17078 integers before using fistpll. Reduce 64-bit values to 63-bit
17079 ones as needed.
17080 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17081 divide-by-zero is raised for zero to large negative powers.
17082 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17083 (__ieee754_powl): Test for y outside the range of signed 64-bit
17084 integers before using fistpll. Reduce 64-bit values to 63-bit
17085 ones as needed.
17086 * math/libm-test.inc (pow_test): Add more tests.
17087
eb96ffb0
L
170882012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17089
17090 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17091 <stdio-common/_itoa.h>.
17092 * debug/segfault.c: Likewise.
17093 * elf/dl-cache.c: Likewise.
17094 * elf/dl-minimal.c: Likewise.
17095 * elf/dl-misc.c: Likewise.
17096 * elf/dl-sysdep.c: Likewise.
17097 * elf/dl-version.c: Likewise.
17098 * elf/rtld.c: Likewise.
17099 * hurd/hurdsock.c: Likewise.
17100 * hurd/lookup-retry.c: Likewise.
17101 * malloc/malloc.c: Likewise.
17102 * malloc/mtrace.c: Likewise.
17103 * nscd/nscd_getgr_r.c: Likewise.
17104 * nscd/nscd_getpw_r.c: Likewise.
17105 * nscd/nscd_getserv_r.c: Likewise.
17106 * posix/getopt_init.c: Likewise.
17107 * posix/wordexp.c: Likewise.
17108 * stdio-common/_itoa.c: Likewise.
17109 * stdio-common/printf_fphex.c: Likewise.
17110 * stdio-common/vfprintf.c: Likewise.
17111 * string/_strerror.c: Likewise.
17112 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17113 * sysdeps/i386/i686/hp-timing.h: Likewise.
17114 * sysdeps/mach/_strerror.c: Likewise.
17115 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17116 * sysdeps/mach/hurd/sethostid.c: Likewise.
17117 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17118 * sysdeps/mach/xpg-strerror.c: Likewise.
17119 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17120 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17121 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17122 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17123 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17124 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17125 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17126 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17127 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17128 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17129 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17130 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17131 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17132 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17133 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17134 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17135 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17136 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17137 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17138 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17139 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17140
17141 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17142
17143 * stdio-common/_itoa.h: Moved to ...
17144 * sysdeps/generic/_itoa.h: Here.
17145
17146 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17147
17148 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17149 instead of "_itoa.h" and "_itowa.h".
17150 * stdio-common/vfprintf.: Likewise.
17151
d1af992d
L
171522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17153
17154 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17155 <bits/wordsize.h>.
17156 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17157 (__signbit): Likwise.
17158 (llrintf): Likwise.
17159 (llrint): Likwise.
17160
114883e0
L
171612012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17162
17163 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17164 __WORDSIZE != 64.
17165
c135cc1b
JM
171662012-03-20 Joseph Myers <joseph@codesourcery.com>
17167
17168 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17169 OVERFLOW_EXCEPTION_OK.
17170 * math/libm-test.inc ("Philosophy"): Update comment about
17171 exception testing.
17172 (OVERFLOW_EXCEPTION): Define.
17173 (OVERFLOW_EXCEPTION_OK): Likewise.
17174 (INVALID_EXCEPTION_OK): Renumber.
17175 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17176 (IGNORE_ZERO_INF_SIGN): Likewise.
17177 (test_exceptions): Handle FE_OVERFLOW.
17178 (exp10_test): Expect overflow exceptions.
17179 (exp2_test): Likewise.
17180 (expm1_test): Likewise.
17181 (nextafter_test): Likewise.
17182 (pow_test): Likewise.
17183 (scalbn_test): Likewise.
17184 (scalbln_test): Likewise.
17185
95443d88
L
171862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17187
17188 * sysdeps/x86_64/bits/atomic.h
17189 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17190 64bit integer.
17191 (atomic_exchange_acq): Likewise.
17192 (__arch_exchange_and_add_body): Likewise.
17193 (__arch_add_body): Likewise.
17194 (atomic_add_negative): Likewise.
17195 (atomic_add_zero): Likewise.
17196
490df6c4
L
171972012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17198
c2722551 17199 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
17200 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17201
5e52b189
L
172022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17203
17204 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17205 Check __x86_64__ instead of __WORDSIZE.
17206
a9879d4c
L
172072012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17208
17209 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17210
5df98260
DM
172112012-03-19 David S. Miller <davem@davemloft.net>
17212
e1497744
DM
17213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17214
5df98260
DM
17215 * sysdeps/sparc/fpu/fenv_private.h: New file.
17216 * sysdeps/sparc/fpu/math_private.h: Use it.
17217 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17218 Remove.
17219 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17220 (libc_feholdexcept_setroundl): Remove.
17221 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17222 Remove.
17223 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17224 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17225
b4c35121
L
172262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17227
17228 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17229 int64_t instead of long int.
17230 (INSERT_WORDS64): Likwise.
17231
56965fd7
L
172322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17233
17234 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17235 _Unwind_GetCFA return to _Unwind_Ptr first.
17236
83d1aec8
JM
172372012-03-19 Joseph Myers <joseph@codesourcery.com>
17238
1897ad44
JM
17239 [BZ #13629]
17240 * math/s_clog.c: Include <float.h>.
17241 (__clog): Scale large or subnormal inputs.
17242 * math/s_clogf.c: Likewise.
17243 * math/s_clogl.c: Likewise.
17244 * math/s_clog10.c: Include <float.h>.
17245 (M_LOG10_2): Define.
17246 (__clog10): Scale large or subnormal inputs.
17247 * math/s_clog10f.c: Likewise.
17248 * math/s_clog10l.c: Likewise.
17249 * math/libm-test.inc (clog_test): Add more tests.
17250 (clog10_test): Likewise.
17251 * sysdeps/i386/fpu/libm-test-ulps: Update.
17252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17253
7726d6a9
JM
17254 [BZ #11451]
17255 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17256 x and y.
17257 * math/libm-test.inc (atan2_test): Add another test.
17258
83d1aec8
JM
17259 * Makerules (common-objdir-compile): Remove.
17260 * sysdeps/unix/Makefile (config-generated): Do not add
17261 $(unix-generated) to variable.
17262 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17263 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17264 Remove rule.
17265 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17266 Likewise.
17267 [generic bits/local_lim.h] (before-compile): Do not append to
17268 variable.
17269 [generic bits/local_lim.h] (common-generated): Likewise.
17270 [generic sys/param.h] (before-compile): Do not append to variable.
17271 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17272 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17273 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17274 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17275 include.
17276 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17277 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17278 [generic sys/param.h] ($(addprefix
17279 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17280 [generic sys/param.h] (common-generated): Do not append to
17281 variable.
17282 [generic sys/param.h] (sysdep_headers): Likewise.
17283 [generic bits/errno.h] (before-compile): Do not append to
17284 variable.
17285 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17286 rule.
17287 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17288 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17289 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17290 [generic bits/errno.h] (common-generated): Do not append to
17291 variable.
17292 [generic bits/ioctls.h] (before-compile): Do not append to
17293 variable.
17294 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17295 rule.
17296 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17297 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17298 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17299 rule.
17300 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17301 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17302 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17303 [generic bits/ioctls.h] (common-generated): Do not append to
17304 variable.
17305 [generic sys/syscall.h] (syscall.h): Remove variable.
17306 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17307 rule.
17308 [generic sys/syscall.h] (before-compile): Do not append to
17309 variable.
17310 [generic sys/syscall.h] (common-generated): Likewise.
17311 * sysdeps/unix/errnos-tmpl.c: Remove file.
17312 * sysdeps/unix/errnos.awk: Likewise.
17313 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17314 * sysdeps/unix/ioctls.awk: Likewise.
17315 * sysdeps/unix/mk-local_lim.c: Likewise.
17316 * sysdeps/unix/snarf-ioctls: Likewise.
17317
4851a949
RH
173182012-03-19 Richard Henderson <rth@twiddle.net>
17319
bd37f2ee
RH
17320 * sysdeps/i386/fpu/fenv_private.h: New file.
17321 * sysdeps/i386/fpu/math_private.h: Use it.
17322 (math_opt_barrier, math_force_eval): Remove.
17323 (libc_feholdexcept_setround_53bit): Remove.
17324 (libc_feupdateenv_53bit): Remove.
17325 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17326 (math_opt_barrier, math_force_eval): Remove.
17327 (libc_feholdexcept): Remove.
17328 (libc_feholdexcept_setround): Remove.
17329 (libc_fetestexcept, libc_fesetenv): Remove.
17330 (libc_feupdateenv_test): Remove.
17331 (libc_feupdateenv, libc_feholdsetround): Remove.
17332 (libc_feresetround): Remove.
17333
d0adc922
RH
17334 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17335 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17336
0fe0f1f8
RH
17337 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17338 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17339 (libc_feupdateenv_testl): New.
17340 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17341 (libc_feupdateenv_testf): New.
17342 (libc_feupdateenv): Use libc_feupdateenv_test.
17343 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17344 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17345
eb92c487
RH
17346 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17347 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17348 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17349 (libc_feresetround_noex): New.
17350 (libc_feresetround_noexf): New.
17351 (libc_feresetround_noexl): New.
17352 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17353 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17354 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17355 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17356 SET_RESTORE_ROUND.
17357 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17358 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17359 (__cos): Likewise.
17360 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17361 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17362 SET_RESTORE_ROUND_NOEX.
17363 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17364 SET_RESTORE_ROUND_NOEXF.
17365 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17366 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17367 (libc_feholdsetroundf): New.
17368 (libc_feresetround, libc_feresetroundf): New.
17369
7d2e8012
RH
17370 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17371 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17372 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17373
b4dabbb4
RH
17374 * sysdeps/generic/math_private.h: Include <fenv.h>.
17375 (default_libc_feholdexcept): New.
17376 (default_libc_feholdexcept_setround): New.
17377 (default_libc_fesetenv, default_libc_feupdateenv): New.
17378 (libc_feholdexcept): Only define if undefined.
17379 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17380 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17381 (libc_feholdexcept_setroundl): Likewise.
17382 (libc_feholdexcept_setround_53bit): Likewise.
17383 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17384 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17385 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17386 (libc_feupdateenv_53bit): Likewise.
17387 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17388 (libc_feholdexcept): Convert from macro to inline function.
17389 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17390 (libc_fesetenv, libc_feupdateenv): Likewise.
17391
4851a949
RH
17392 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17393 not previously defined.
17394 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17395 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17396 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17397 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17398 * sysdeps/ieee754/flt-32/math_private.h: New file.
17399 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17400 math_private.h below SET_FLOAT_WORD.
17401 (__isnan, __isinf_ns, __finite): Remove.
17402 (__isnanf, __isinf_nsf, __finitef): Remove.
17403
e79d442e
AS
174042012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17405
17406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17407
90b80344
DM
174082012-03-17 David S. Miller <davem@davemloft.net>
17409
17410 [BZ #6471]
17411 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17412 for 2.16.
17413
edc21804
DM
174142012-03-16 David S. Miller <davem@davemloft.net>
17415
77e927af
DM
17416 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17417 warnings.
17418
374976dd
DM
17419 [BZ #6471]
17420 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17421 properly.
17422 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17423 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17424 sysdep_routines when subdir is sysvipc.
17425 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17426 __getshmlba helper.
17427
edc21804
DM
17428 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17429
473c3ef3
L
174302012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17431
17432 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17433 [__LP64__].
17434
eb0f39b6
L
174352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17436
17437 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17438 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17439 (__lround): Renamed to ...
17440 (__llround): This. Replace long int with long long int.
17441 Define lround functions as aliases of llround functions.
17442 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17443
6b6cd74b
L
174442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17445
17446 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17447 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17448 adresses to uintptr_t. Replace "long int" and "unsigned long
17449 int" with "greg_t" on va_arg.
17450
f1a77b01
L
174512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17452
17453 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17454 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17455
17456 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17457 Move e_machine check before EI_CLASS check. Handle x32
17458 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17459 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17460 SKIP_EM_IA_64 and include
17461 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17462
17463 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17464 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17465 (add_system_dir): New macro.
17466
17467 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17468 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17469
11b90b9f
JM
174702012-03-16 Joseph Myers <joseph@codesourcery.com>
17471
c36e1d23
JM
17472 [BZ #2551]
17473 [BZ #2552]
17474 [BZ #2553]
17475 [BZ #2554]
17476 [BZ #2562]
17477 [BZ #2563]
17478 [BZ #2565]
17479 [BZ #2566]
17480 [BZ #2576]
17481 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17482 (y0): Likewise.
17483 * math/w_j0f.c (j0f): Likewise.
17484 (y0f): Likewise.
17485 * math/w_j0l.c (__j0l): Likewise.
17486 (__y0l): Likewise.
17487 * math/w_j1.c (j1): Likewise.
17488 (y1): Likewise.
17489 * math/w_j1f.c (j1f): Likewise.
17490 (y1f): Likewise.
17491 * math/w_j1l.c (__j1l): Likewise.
17492 (__y1l): Likewise.
17493 * math/w_jn.c (jn): Likewise.
17494 (yn): Likewise.
17495 * math/w_jnf.c (jnf): Likewise.
17496 (ynf): Likewise.
17497 * math/w_jnl.c (__jnl): Likewise.
17498 (__ynl): Likewise.
17499 * math/libm-test.inc (j0_test): Add more tests.
17500 (j1_test): Likewise.
17501 (jn_test): Likewise. Add trailing semicolon to existing test.
17502 (y0_test): Likewise.
17503 (y1_test): Likewise.
17504 * sysdeps/i386/fpu/libm-test-ulps: Update.
17505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17506
11b90b9f
JM
17507 [BZ #13851]
17508 [BZ #13854]
17509 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17510 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17511 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17512 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17513 (__tanl): Set errno for infinite argument.
17514 * sysdeps/i386/fpu/mptan.c: Remove.
17515 * sysdeps/i386/fpu/s_tan.S: Likewise.
17516 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17517 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17518 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17519 * math/libm-test.inc (tan_test): Add more tests and enable more
17520 tests for double and long double.
17521 * sysdeps/i386/fpu/libm-test-ulps: Update.
17522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17523
6a1bd2a1
JK
175242012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17525
17526 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17527 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17528
10a803e0
RM
175292012-03-16 Roland McGrath <roland@hack.frob.com>
17530
17531 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17532 * configure.in: Use it for both main tree and add-ons.
17533 * configure: Regenerated.
17534
f196c7f7
L
175352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17536
17537 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17538
8848d99d
JM
175392012-03-16 Joseph Myers <joseph@codesourcery.com>
17540
96cbe7f4
JM
17541 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17542 in comment.
17543
8848d99d
JM
17544 [BZ #13851]
17545 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17546 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17547 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17548 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17549 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17550 infinite argument.
17551 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17552 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17553 != 0 for prec == 2.
17554 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17555 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17556 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17557 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17558 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17559 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17560 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17561 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17562 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17563 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17564 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17565 * math/libm-test.inc (cos_test): Add more tests and enable more
17566 tests for long double.
17567 (sin_test): Likewise.
17568 (sincos_test): Likewise.
17569 * sysdeps/i386/fpu/libm-test-ulps: Update.
17570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17571
dd7f4703
DM
175722012-03-16 David S. Miller <davem@davemloft.net>
17573
17574 * sysdeps/sparc/fpu/math_private.h: New file.
17575
006f1daa
DM
175762012-03-15 David S. Miller <davem@davemloft.net>
17577
c0c83bc8
DM
17578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17579 file.
e6a62e18 17580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
17581 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17582 file.
e6a62e18
DM
17583 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17584 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17585 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17587 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17588 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17589 sysdep routines.
17590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17591
88cb87d9
DM
17592 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17593 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17594
006f1daa 17595 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
17596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17597 sparc-ifunc.h
006f1daa 17598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
17599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17600 Likewise.
17601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17602 Likewise.
006f1daa
DM
17603 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
17606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17607 Likewise.
006f1daa
DM
17608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
17612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17613 Likewise.
17614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17615 Likewise.
006f1daa
DM
17616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17620 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17621 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17622 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17623 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17624 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17625 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17626 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17627 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17628 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17629 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17631 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17634 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17635 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17636 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17637 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17638 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17639 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17640
11e0098e
AS
176412012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17642
17643 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17644 scaling.
17645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17646
e85b09d0
AJ
176472012-03-15 Andreas Jaeger <aj@suse.de>
17648
17649 [BZ #13852]
17650 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17651 ieee754/flt-32 implementation for sin, cos and sincos.
17652 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17653 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17654 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17655 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17656 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17657 ieee754/flt-32 implementation for tan.
17658
17659 * math/libm-test.inc (cos_test): Enable some large input tests for
17660 float as well
17661 (sin_test): Likewise.
17662 (sincos_test): Likewise.
17663 (tan_test): Add tests for large input.
17664
17665 * sysdeps/i386/fpu/libm-test-ulps: Update.
17666
81c64153
AJ
176672012-03-15 Andreas Jaeger <aj@suse.de>
17668
17669 [BZ #13658]
17670 * math/libm-test.inc (cos_test): Add more test cases.
17671 (sin_test): Likewise.
17672 (sincos_test): Likewise.
17673
7bbfa5c6
AJ
176742012-03-15 Andreas Jaeger <aj@suse.de>
17675
17676 [BZ #13837]
17677 * math/libm-test.inc (cos_test): Add a test case for large input
17678 value.
17679 (sin_test): Likewise.
17680 (sincos_test): Likewise.
17681
176822012-03-15 Andreas Jaeger <aj@suse.de>,
17683 Joseph Myers <joseph@codesourcery.com>
17684
17685 [BZ #13658]
0671f479 17686 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
17687 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17688 * sysdeps/i386/fpu/branred.c: Likewise.
17689 * sysdeps/i386/fpu/dosincos.c: Likewise.
17690 * sysdeps/i386/fpu/mpa.c: Likewise.
17691 * sysdeps/i386/fpu/s_cos.S: Likewise.
17692 * sysdeps/i386/fpu/s_sin.S: Likewise.
17693 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17694 * sysdeps/i386/fpu/sincos32.c: Likewise.
17695
17696 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17697 Define.
17698 (libc_feupdateenv_53bit): Define.
17699 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17700 Define.
17701 (libc_feupdateenv_53bit): Define.
17702
17703 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17704 53 bit (without extend i386 double precision).
17705
17706 * math/libm-test.inc (sincos_test): Add tests for large input.
17707 (sin): Likewise.
17708 (cos): Likewise.
17709
17710 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17711
9cad04ea
AS
177122012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17713
17714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17715
f7062b9a
DM
177162012-03-15 David S. Miller <davem@davemloft.net>
17717
17718 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17719 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17720 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17721 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17722 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17725 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17726 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17727 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17728 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17729 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17730 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17731 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17732 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
17733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17734 file.
f7062b9a 17735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
17736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17737 file.
f7062b9a 17738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
17739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17740 file.
f7062b9a 17741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
17742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17743 file.
f7062b9a
DM
17744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17745 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17746 fmin/fmax sysdep routines.
17747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17748
7bd951ff
DM
177492012-03-14 David S. Miller <davem@davemloft.net>
17750
559398ab
DM
17751 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17752 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17753 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17754 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17755 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17756 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17757 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17758 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17759 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17760 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17761 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17762 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17763 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17764 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17765 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17766 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17767 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17768 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17769 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17770 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17771 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17772 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17773 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17774 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17775 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17776 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17777 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17778 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17779 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17780 routines.
17781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17782 file.
559398ab 17783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
17784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17785 file.
559398ab 17786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
17787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17788 file.
559398ab 17789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
17790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17791 file.
559398ab 17792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
17793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17794 file.
559398ab 17795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
17796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17797 file.
17798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17799 file.
17800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17801 file.
17802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17803 file.
17804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17805 New file.
17806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17807 file.
17808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17809 file.
559398ab 17810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
17811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17812 file.
559398ab 17813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17815 file.
559398ab 17816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
17817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17818 file.
559398ab 17819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
17820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17821 VIS3 routines.
559398ab
DM
17822
17823 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17824 New file.
17825
5a1c1e32
DM
17826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17827
eae47a36
DM
17828 * sysdeps/sparc/configure.in: New file.
17829 * sysdeps/sparc/configure: Generate.
17830 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17831 * configure: Regenerate.
17832 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17833 * config.make.in (have-as-vis3): New.
17834 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17835 available use -Av9d instead of -Av9a.
17836 * sysdeps/sparc/sparc64/Makefile: Likewise.
17837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
17838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17839 New file.
17840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17841 file.
17842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17843 New file.
17844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17845 file.
eae47a36
DM
17846 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17847 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17848 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17849 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17850 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17851
c0c83bc8
DM
17852 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17853 fzeros/fnegs to load 0x80000000 into a float register instead of
17854 using the stack.
7bd951ff
DM
17855 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17856
bd951ccb
JM
178572012-03-14 Joseph Myers <joseph@codesourcery.com>
17858
17859 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17860 bits/syscall.h.
17861 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17862 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17863 ($(inst_includedir)/bits/syscall.h): Remove rule.
17864 ($(objpfx)bits/syscall.d): Include instead of
17865 $(objpfx)syscall-list.d.
17866 (generated): Change syscall-list.h and syscall-list.d to
17867 bits/syscall.h and bits/syscall.d.
17868
bb4e6db2
RM
178692012-03-14 Roland McGrath <roland@hack.frob.com>
17870
17871 [BZ #13846]
17872 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17873
aa4a2ae1
JM
178742012-03-14 Joseph Myers <joseph@codesourcery.com>
17875
e456826d
JM
17876 [BZ #13841]
17877 * math/s_csqrt.c: Include <float.h>.
17878 (__csqrt): Scale large or subnormal inputs.
17879 * math/s_csqrtf.c: Likewise.
17880 * math/s_csqrtl.c: Likewise.
17881 * math/libm-test.inc (csqrt_test): Add more tests.
17882 * sysdeps/i386/fpu/libm-test-ulps: Update.
17883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17884
aa4a2ae1
JM
17885 [BZ #13840]
17886 * math/libm-test.inc (hypot_test): Add more tests.
17887
7c10fd35
DM
178882012-03-13 David S. Miller <davem@davemloft.net>
17889
17890 [BZ #13840]
17891 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17892 double-precision for the calculation instead of scaling.
17893
f453b98b
JM
178942012-03-13 Joseph Myers <joseph@codesourcery.com>
17895
17896 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17897 manipulate bits before adding and subtracting TWO52[sx].
17898 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17899 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17900 Likewise.
17901 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17902
09a3453f
DM
179032012-03-13 David S. Miller <davem@davemloft.net>
17904
8e59da90
DM
17905 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17906 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17907 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17908 rtld-global-offsets.h
17909 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17910
2a8ab7f2
DM
17911 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17912 large parameters.
17913
10f62770
DM
17914 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17915
5f0bdb18
DM
17916 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17917 'err' in the ifdef scope in which it is actually used.
17918
09a3453f
DM
17919 * nss/nss_db/db-init.c: Include string.h
17920
b4b2eb5e
DM
179212012-03-12 David S. Miller <davem@davemloft.net>
17922
98bb2f1c
DM
17923 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17924 masking out of the most significant byte of random value used.
17925 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17926 Fix coding style in previous change.
17927
b4b2eb5e
DM
17928 * sysdeps/unix/sysv/linux/kernel-features.h
17929 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17930 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17931 expression.
17932 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17933 later.
17934
6e226b09
DM
179352012-03-11 David S. Miller <davem@davemloft.net>
17936
a1bcbd40
DM
17937 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17938 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17939 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17940 for 'resultvar' otherwise things get truncated on 64-bit.
17941
cb9d6174
DM
17942 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17943 Fix masking out of the most significant byte of random value used.
17944
6e226b09
DM
17945 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17946
058c132d
AS
179472012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17948
17949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17950
2d2cd515
DM
179512012-03-09 David S. Miller <davem@davemloft.net>
17952
17953 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17954 variables with appropriate CPP guards.
17955 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17956 frame pointer, not the stack pointer. Correct layout comments. Fix test
17957 on resulting framesize and the management of the outregs buffer for pltexit.
17958 Preserve floating point return values across _dl_call_pltexit call.
17959 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17960 framesize and the management of the outregs buffer for pltexit.
17961 Preserve floating point return values across _dl_call_pltexit
17962 call.
17963 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17964 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17965 (print_exit): Fix format string for return register value.
17966
9a07f9d0
JM
179672012-03-10 Joseph Myers <joseph@codesourcery.com>
17968
17969 * sunrpc/Makefile (others): Add rpcgen.
17970 ($(objpfx)rpcgen): Remove special build rule and dependency on
17971 libc.
17972 * sunrpc/rpcgen.c: New file.
17973
547b5e30
PE
179742012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17975
c524201a
PE
17976 [BZ #13673]
17977 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17978 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17979 * sysdeps/i386/crti.S: Likewise.
17980 * sysdeps/i386/crtn.S: Likewise.
17981 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
17982 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
17983 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
17984 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
17985 * sysdeps/sh/crti.S: Likewise.
17986 * sysdeps/sh/crtn.S: Likewise.
17987 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17988
7b6235f2
PE
17989 [BZ #13673]
17990 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
17991 with URL.
17992 * locale/programs/locfile-kw.gperf: Likewise.
17993 * locale/programs/charmap-kw.h: Regenerated.
17994 * locale/programs/locfile-kw.h: Likewise.
17995
547b5e30
PE
17996 [BZ #13673]
17997 * intl/plural.y: Replace FSF snail mail address with URL.
17998 * intl/plural.c: Regenerated.
17999
5f0a5dae
RH
180002012-03-09 Richard Henderson <rth@twiddle.net>
18001
18002 * include/math_private.h: Remove file.
18003 * math/math_private.h: Move file ...
18004 * sysdeps/generic/math_private.h: ... here.
18005
b8c03620
RH
18006 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18007 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18008 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18009
4e234f5d 18010 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
18011 and <math_private.h>.
18012 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18013 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18014 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18015 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18016 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18017 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18018 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18019 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18020 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18021 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18022 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18023 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18024 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18025 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18026 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18027 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18028 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18029 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18030 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18031 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18032 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18033 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18034 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18035 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18036 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18037 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18038 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18039 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18040 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18041 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18042 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18043 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18044 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18045 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18046 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18047 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18048 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18049 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18050 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18051 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18052 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18053 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18054 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18055 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18056 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18057 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18058 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18059 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18060 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18061 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18062 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18063 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18064 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18065 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18066 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18067 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18068 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18069 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18070 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18071 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18072 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18073 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18074 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18075 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18076 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18077 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18078 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18079 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18080 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18081 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18082 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18083 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18084 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18085 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18086 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18087 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18088 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18089 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18090 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18091 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18092 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18093 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18094 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18095 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18096 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18097 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18098 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18099 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18100 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18101 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18102 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18103 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18104 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18105 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18106 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18107 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18108 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18109 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18110 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18111 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18112 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18113 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18114 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18115 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18116 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18117 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18118 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18119 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18120 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18121 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18122 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18123 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18124 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18125 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18126 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18127 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18128 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18129 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18130 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18131 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18132 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18133 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18134 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18135 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18136 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18137 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18138 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18139 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18140 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18141 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18142 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18143 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18144 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18145 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18146 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18147 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18148 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18149 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18150 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18151 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18152 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18153 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18154 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18155 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18156 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18157 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18158 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18159 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18160 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18161 * sysdeps/ieee754/k_standard.c: Likewise.
18162 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18163 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18164 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18165 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18166 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18167 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18168 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18169 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18170 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18171 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18172 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18173 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18174 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18175 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18176 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18177 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18178 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18179 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18180 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18181 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18182 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18183 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18184 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18185 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18186 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18187 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18188 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18189 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18190 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18191 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18192 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18193 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18194 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18195 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18196 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18197 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18198 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18199 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18200 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18201 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18202 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18203 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18204 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18205 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18206 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18207 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18208 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18209 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18210 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18211 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18212 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18213 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18214 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18215 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18216 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18217 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18218 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18219 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18220 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18221 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18222 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18223 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18224 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18225 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18226 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18227 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18228 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18229 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18230 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18231 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18232 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18233 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18234 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18235 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18236 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18237 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18238 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18239 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18240 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18241 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18242 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18243 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18244 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18245 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18246 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18247 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18248 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18249 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18250 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18251 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18252 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18253 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18254 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18255 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18256 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18257 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18258 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18259 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18260 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18261 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18262 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18263 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18264 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18265 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18266 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18267 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18268 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18269 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18270 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18271 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18272 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18273 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18274 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18275 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18276 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18277 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18278 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18279 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18280 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18281 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18282 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18283 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18284 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18285 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18286 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18287 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18288 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18289 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18290 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18291 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18292 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18293 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18294 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18295 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18296 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18297 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18298 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18299 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18300 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18301 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18302 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18303 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18304 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18305 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18306 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18307 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18308 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18309 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18310 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18311 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18312 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18313 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18314 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18315 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18316 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18317 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18318 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18319 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18320 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18321 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18322 * sysdeps/ieee754/s_lib_version.c: Likewise.
18323 * sysdeps/ieee754/s_matherr.c: Likewise.
18324 * sysdeps/ieee754/s_signgam.c: Likewise.
18325 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18326 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18327 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18328 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18329 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18330 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18331 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18332 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18333 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18334 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18335 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18336 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18337 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18338 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18339 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18340 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18341 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18342 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18343 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18344 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18345 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 18346
1991fa03
JM
183472012-03-09 Joseph Myers <joseph@codesourcery.com>
18348
18349 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18350 * sunrpc/rpc_main.c: Likewise.
18351 * sunrpc/rpc_svcout.c: Likewise.
18352
60d6f5a6
DM
183532012-03-09 David S. Miller <davem@davemloft.net>
18354
18355 * include/math_private.h: New file.
18356
4962050e
JM
183572012-03-09 Joseph Myers <joseph@codesourcery.com>
18358
02a6f887
JM
18359 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18360 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18361 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18362 from <bits/socket_type.h>.
18363 (enum __socket_type): Don't define here.
18364 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18365 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18366 bits/socket_type.h.
18367
c6e013c1
JM
18368 [BZ #13566]
18369 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18370 checking __USE_GNU.
18371
4962050e
JM
18372 * Makerules ($(inst_includedir)/%.h): New rule.
18373 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18374 (install-others): Remove variable setting.
18375 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18376
38842f45
RH
183772012-03-08 Richard Henderson <rth@twiddle.net>
18378
67bb6da6
RH
18379 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18380 from macro to inline function; merge with the
18381 !__LIBC_INTERNAL_MATH_INLINES version.
18382 (__ieee754_sqrtf): Likewise.
18383
15194b4b
RH
18384 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18385 to inline function.
18386 (__rintf, __floor, __floorf): Likewise.
18387
64e21ede
RH
18388 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18389 macro to inline function.
18390 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18391
38842f45
RH
18392 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18393 not <math/math_private.h>.
18394
c64bf5fe
DM
183952012-03-08 David S. Miller <davem@davemloft.net>
18396
18397 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18398 copyright year.
18399 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18400
82d86f28
TS
184012012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18402
18403 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18404 normalization.
18405 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18406 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18407
aea5d727
UD
184082012-03-08 Ulrich Drepper <drepper@gmail.com>
18409
18410 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18411 be defined individually, they must be defined as a block. Define
18412 S for printing a string instead of hidint the different by using a
18413 macro for adding the 'l'.
18414 * stdio-common/tst-fphex-wide.c: Adjust.
18415
70bca0a3
MP
184162012-03-07 Marek Polacek <polacek@redhat.com>
18417
18418 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18419
65b81130
MP
184202012-03-08 Marek Polacek <polacek@redhat.com>
18421
18422 [BZ #13806]
18423 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18424 * stdio-common/tst-fphex.c: Define a few macros to make the
18425 test reusable. Use them.
18426 * stdio-common/tst-fphex-wide.c: New file.
18427
07037eeb
JM
184282012-03-08 Joseph Myers <joseph@codesourcery.com>
18429
a7a93d50
JM
18430 [BZ #6911]
18431 * manual/macros.texi (gnusystems): New macro.
18432 (nongnusystems): Likewise.
18433 (gnulinuxhurdsystems): Likewise.
18434 (gnuhurdsystems): Likewise..
18435 (gnulinuxsystems): Likewise.
18436 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18437 variants of the GNU system, not "GNU system".
18438 * manual/conf.texi: Likewise.
18439 * manual/errno.texi: Likewise. Update example of errno macro
18440 expansion.
18441 * manual/filesys.texi: Likewise.
18442 (getumask): Document as specific to GNU/Hurd.
18443 * manual/install.texi: Likewise. Reword some references to
18444 GNU/Linux.
18445 * manual/intro.texi: Likewise.
18446 * manual/io.texi: Likewise.
18447 (File Name Portability): Detail which constraints are inapplicable
18448 to all GNU systems and which are only inapplicable to GNU/Hurd.
18449 * manual/job.texi: Likewise.
18450 * manual/llio.texi: Likewise.
18451 (O_NOCTTY): Document as present on GNU/Linux.
18452 * manual/maint.texi: Likewise.
18453 * manual/memory.texi: Likewise.
18454 * manual/pattern.texi: Likewise.
18455 * manual/pipe.texi: Likewise.
18456 * manual/process.texi: Likewise.
18457 * manual/resource.texi: Likewise.
18458 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18459 child on GNU/Hurd.
18460 * manual/setjmp.texi: Likewise.
18461 * manual/signal.texi: Likewise.
18462 * manual/startup.texi: Likewise.
18463 * manual/stdio.texi: Likewise.
18464 * manual/terminal.texi: Likewise.
18465 (ONLCR): Document as POSIX.
18466 (OXTABS): Document availability on GNU/Linux as XTABS.
18467 (ONOEOT): Document availability separately from other bits.
18468 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18469 * manual/time.texi: Likewise.
18470 * manual/users.texi: Likewise.
18471 * INSTALL: Regenerated.
18472 * sysdeps/gnu/errlist.c: Regenerated.
18473
07037eeb
JM
18474 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18475 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18476 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18477 puts.
18478 * configure: Regenerated.
18479
d1d3431a
JM
184802012-03-07 Joseph Myers <joseph@codesourcery.com>
18481
af6a1e37
JM
18482 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18483 default includes instead of AC_HEADER_CHECK.
18484 * sysdeps/i386/configure: Regenerated.
18485
d1d3431a
JM
18486 [BZ #10716]
18487 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18488 * math/s_cacoshf.c (__cacoshf): Likewise.
18489 * math/s_cacoshl.c (__cacoshl): Likewise.
18490 * math/s_casinh.c (__casinh): Set signs of result from argument.
18491 * math/s_casinhf.c (__casinhf): Likewise.
18492 * math/s_casinhl.c (__casinhl): Likewise.
18493 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18494 (casinh_test): Add more tests.
18495 * sysdeps/i386/fpu/libm-test-ulps: Update.
18496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18497
482ff4da
UD
184982012-03-07 Ulrich Drepper <drepper@gmail.com>
18499
872fda05
UD
18500 * po/zh_TW.po: Update from translation team.
18501
a4300c7a
UD
18502 * login/Makefile (distribute): Remove variable.
18503 * catgets/Makefile: Likewise.
18504 * mach/Makefile: Likewise.
18505 * malloc/Makefile: Likewise.
18506 * misc/Makefile: Likewise.
18507 * iconv/Makefile: Likewise.
18508 * nscd/Makefile: Likewise.
18509 * hurd/Makefile: Likewise.
18510 * manual/Makefile: Likewise.
18511 * locale/Makefile: Likewise.
18512 * intl/Makefile: Likewise.
18513 * conform/Makefile: Likewise.
18514 * nss/Makefile: Likewise.
18515 * time/Makefile: Likewise.
18516 * soft-fp/Makefile: Likewise.
18517 * dirent/Makefile: Likewise.
18518 * gmon/Makefile: Likewise.
18519 * po/Makefile: Likewise.
18520 * rt/Makefile: Likewise.
18521 * socket/Makefile: Likewise.
18522 * math/Makefile: Likewise.
18523 * signal/Makefile: Likewise.
18524 * debug/Makefile: Likewise.
18525 * elf/Makefile: Likewise.
18526 * timezone/Makefile: Likewise.
18527 * stdlib/Makefile: Likewise.
18528 * iconvdata/Makefile: Likewise.
18529 * sunrpc/Makefile: Likewise.
18530 * io/Makefile: Likewise.
18531 * argp/Makefile: Likewise.
18532 * inet/Makefile: Likewise.
18533 * hesiod/Makefile: Likewise.
18534 * grp/Makefile: Likewise.
18535 * csu/Makefile: Likewise.
18536 * wctype/Makefile: Likewise.
18537 * crypt/Makefile: Likewise.
18538 * libio/Makefile: Likewise.
18539 * string/Makefile: Likewise.
18540 * nis/Makefile: Likewise.
18541 * resolv/Makefile: Likewise.
18542 * stdio-common/Makefile: Likewise.
18543 * wcsmbs/Makefile: Likewise.
18544 * dlfcn/Makefile: Likewise.
18545 * posix/Makefile: Likewise.
18546
3b7c4e74 18547 [BZ #6959]
482ff4da
UD
18548 * timezone/Makefile: Don't install timezone files, just the programs
18549 and scripts.
18550
f72ed77d
UD
185512012-03-06 Ulrich Drepper <drepper@gmail.com>
18552
a000466f
UD
18553 * nss/databases.def: Add missing gshadow entry.
18554
f72ed77d
UD
18555 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18556
a53b7a4e
MP
185572012-03-06 Marek Polacek <polacek@redhat.com>
18558
18559 [BZ #13726]
18560 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18561 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18562 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18563 * stdio-common/tst-long-dbl-fphex.c: New file.
18564
e9258400
DM
185652012-03-06 David S. Miller <davem@davemloft.net>
18566
18567 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18568 (set_obp_int): New function.
18569 (get_obp_int): New function.
18570 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
18571 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18572 Avoid unused variable warnings on 'val' and use builtin_expect.
18573 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18574 __builtin_expect.
e9258400
DM
18575 (INLINE_CLONE_SYSCALL): Likewise.
18576
3bd2c723
DM
185772012-03-05 David S. Miller <davem@davemloft.net>
18578
18579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18580
bbb78d03
AS
185812012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18582
884c5db4
AS
18583 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18584
bbb78d03
AS
18585 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18586 only for |x| >= 40.
18587 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18588
1c9f702a 185892012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
18590
18591 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18592 Replace gettimeofday with __vdso_gettimeofday.
18593
7be16f82
RM
18594 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18595 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18596 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
18597
18598 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18599 time with __vdso_time.
18600
ed58a00f
JM
186012012-03-05 Joseph Myers <joseph@codesourcery.com>
18602
18603 * manual/lang.texi (size_t): Note types to which size_t may be
18604 equivalent with the GNU C Library, but do not describe when
18605 differences between them are significant.
18606
30ee4ced
AJ
186072012-03-05 Andreas Jaeger <aj@suse.de>
18608
18609 * sysdeps/i386/fpu/libm-test-ulps: Update.
18610
b7cd39e8
JM
186112012-03-05 Joseph Myers <joseph@codesourcery.com>
18612
18613 [BZ #3976]
18614 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18615 (__ieee754_pow): Save and restore rounding mode and use
18616 round-to-nearest for main computations.
18617 * math/libm-test.inc (pow_test_tonearest): New function.
18618 (pow_test_towardzero): Likewise.
18619 (pow_test_downward): Likewise.
18620 (pow_test_upward): Likewise.
18621 (main): Call the new functions.
18622 * sysdeps/i386/fpu/libm-test-ulps: Update.
18623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
18624
18625 [BZ #3976]
18626 * math/libm-test.inc (cosh_test_tonearest): New function.
18627 (cosh_test_towardzero): Likewise.
18628 (cosh_test_downward): Likewise.
18629 (cosh_test_upward): Likewise.
18630 (sinh_test_tonearest): Likewise.
18631 (sinh_test_towardzero): Likewise.
18632 (sinh_test_downward): Likewise.
18633 (sinh_test_upward): Likewise.
18634 (main): Call the new functions.
18635 * sysdeps/i386/fpu/libm-test-ulps: Update.
18636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18637
6c6a98c9
TV
186382012-03-05 Tom de Vries <tom@codesourcery.com>
18639
18640 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18641 default stack guard is set in last bytes.
18642 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18643
21bb2d2e 186442012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 18645
21bb2d2e 18646 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 18647
21bb2d2e
AJ
18648 [BZ #13656]
18649 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18650 possibly allocate from heap instead of stack.
18651 * stdio-common/bug-vfprintf-nargs.c: New file.
18652 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 18653
c6922934
AS
186542012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18655
18656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18657
bc957d53
MP
186582012-03-03 Marek Polacek <polacek@redhat.com>
18659
18660 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18661 * math/math_private.h: Likewise.
18662 * stdlib/tst-strtod.c: Likewise.
18663 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18664 * sysdeps/x86_64/bits/atomic.h: Likewise.
18665
6358490d
DM
186662012-03-02 David S. Miller <davem@davemloft.net>
18667
18668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18670 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18671 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18672 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18673 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18674 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18675 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18676
01ae168d
RM
186772012-03-02 Roland McGrath <roland@hack.frob.com>
18678
d9a17c07
RM
18679 [BZ #13792]
18680 * manual/examples/README: New file, says the example source files
18681 can be used under GPL>=2.
18682 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18683 line containing just "*/".
18684 * manual/examples/add.c: Add copyright header (GPL>=2).
18685 * manual/examples/argp-ex1.c: Likewise.
18686 * manual/examples/argp-ex2.c: Likewise.
18687 * manual/examples/argp-ex3.c: Likewise.
18688 * manual/examples/argp-ex4.c: Likewise.
18689 * manual/examples/atexit.c: Likewise.
18690 * manual/examples/db.c: Likewise.
18691 * manual/examples/dir.c: Likewise.
18692 * manual/examples/dir2.c: Likewise.
18693 * manual/examples/execinfo.c: Likewise.
18694 * manual/examples/filecli.c: Likewise.
18695 * manual/examples/filesrv.c: Likewise.
18696 * manual/examples/fmtmsgexpl.c: Likewise.
18697 * manual/examples/genpass.c: Likewise.
18698 * manual/examples/inetcli.c: Likewise.
18699 * manual/examples/inetsrv.c: Likewise.
18700 * manual/examples/isockad.c: Likewise.
18701 * manual/examples/longopt.c: Likewise.
18702 * manual/examples/memopen.c: Likewise.
18703 * manual/examples/memstrm.c: Likewise.
18704 * manual/examples/mkfsock.c: Likewise.
18705 * manual/examples/mkisock.c: Likewise.
18706 * manual/examples/mygetpass.c: Likewise.
18707 * manual/examples/pipe.c: Likewise.
18708 * manual/examples/popen.c: Likewise.
18709 * manual/examples/rprintf.c: Likewise.
18710 * manual/examples/search.c: Likewise.
18711 * manual/examples/select.c: Likewise.
18712 * manual/examples/setjmp.c: Likewise.
18713 * manual/examples/sigh1.c: Likewise.
18714 * manual/examples/sigusr.c: Likewise.
18715 * manual/examples/stpcpy.c: Likewise.
18716 * manual/examples/strdupa.c: Likewise.
18717 * manual/examples/strftim.c: Likewise.
18718 * manual/examples/strncat.c: Likewise.
18719 * manual/examples/subopt.c: Likewise.
18720 * manual/examples/swapcontext.c: Likewise.
18721 * manual/examples/termios.c: Likewise.
18722 * manual/examples/testopt.c: Likewise.
18723 * manual/examples/testpass.c: Likewise.
18724 * manual/examples/timeval_subtract.c: Likewise.
18725
01ae168d
RM
18726 [BZ #13792]
18727 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18728 function to ...
18729 * manual/timeval_subtract.c.texi: ... here, new file.
18730
49efa33d
DM
187312012-03-02 David S. Miller <davem@davemloft.net>
18732
18733 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18734
28afd92d
JM
187352012-03-02 Joseph Myers <joseph@codesourcery.com>
18736
804360ed
JM
18737 [BZ #3976]
18738 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18739 (__sin): Save and restore rounding mode and use round-to-nearest
18740 for all computations.
18741 (__cos): Save and restore rounding mode and use round-to-nearest
18742 for all computations.
18743 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18744 <fenv.h>.
18745 (tan): Save and restore rounding mode and use round-to-nearest for
18746 all computations.
18747 * math/libm-test.inc (cos_test_tonearest): New function.
18748 (cos_test_towardzero): Likewise.
18749 (cos_test_downward): Likewise.
18750 (cos_test_upward): Likewise.
18751 (sin_test_tonearest): Likewise.
18752 (sin_test_towardzero): Likewise.
18753 (sin_test_downward): Likewise.
18754 (sin_test_upward): Likewise.
18755 (tan_test_tonearest): Likewise.
18756 (tan_test_towardzero): Likewise.
18757 (tan_test_downward): Likewise.
18758 (tan_test_upward): Likewise.
18759 (main): Call the new functions.
18760 * sysdeps/i386/fpu/libm-test-ulps: Update.
18761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18762
a6d06d7b
JM
18763 [BZ #10135]
18764 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18765 small n, then large n, before computing and testing k+n.
18766 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18767 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18768 Likewise.
18769 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18770 Likewise.
18771 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18772 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18773 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18774 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18775 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18776 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18777 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18778 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18779 * math/libm-test.inc (scalbn_test): Add more tests.
18780 (scalbln_test): Likewise.
18781
07e12bb3
JM
18782 * manual/filesys.texi (mode_t): Describe constraints on size and
18783 signedness, not exact equivalence to a particular type.
18784 (ino_t): Likewise.
18785 (ino64_t): Likewise.
18786 (dev_t): Likewise.
18787 (nlink_t): Likewise.
18788 (blkcnt_t): Likewise.
18789 (blkcnt64_t): Likewise.
18790 * manual/llio.texi (off_t): Likewise.
18791
28afd92d
JM
18792 [BZ #3976]
18793 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18794 (__ieee754_exp): Save and restore rounding mode and use
18795 round-to-nearest for all computations.
18796 * math/libm-test.inc (exp_test_tonearest): New function.
18797 (exp_test_towardzero): Likewise.
18798 (exp_test_downward): Likewise.
18799 (exp_test_upward): Likewise.
18800 (main): Call the new functions.
18801 * sysdeps/i386/fpu/libm-test-ulps: Update.
18802 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18803
b1eeb65d
CD
188042012-03-01 Chris Demetriou <cgd@google.com>
18805
18806 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18807 have predictable order.
18808
53362a4b
DM
188092012-03-01 David S. Miller <davem@davemloft.net>
18810
3c969083
DM
18811 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18812
759707de
DM
18813 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18814 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18815 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18816 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18817
dfdb8ff2
DM
18818 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18819 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18820 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18822 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18823 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18824 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18825 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18826 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18827
ead89f96
DM
18828 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18829
7f66bd07
DM
18830 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18831 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18832 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18833
53362a4b
DM
18834 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18835 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18836 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18837 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18838 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18839 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18840 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18841 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18842 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18843 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18844 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18845 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18846 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18847 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18848 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18849 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18850 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18851 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18852 * sysdeps/sparc/elf/configure: Regenerated.
18853
7b1902cb
JM
188542012-03-01 Joseph Myers <joseph@codesourcery.com>
18855
bec039bc
JM
18856 * configure.in (AS, LD): Require binutils 2.20 or later.
18857 * configure: Regenerated.
18858 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18859 as required minimum version.
18860 * INSTALL: Regenerated.
18861
7b1902cb
JM
18862 [BZ #2541]
18863 [BZ #4108]
18864 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18865 before squaring exponent.
18866 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18867 bottom long double and 27 bits of top long double before squaring
18868 exponent.
18869 * math/libm-test.inc (erfc_test): Add more tests.
18870 * sysdeps/i386/fpu/libm-test-ulps: Update.
18871 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18872 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18873
f775c276
KT
188742012-03-01 Kai Tietz <ktietz@redhat.com>
18875
18876 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18877 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18878 containing bit-fields.
18879 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18880 * soft-fp/single.h (_FP_UNION_S): Likewise.
18881 * soft-fp/double.h (_FP_UNION_D): Likewise.
18882
5b8a4d4a
JM
188832012-02-29 Joseph Myers <joseph@codesourcery.com>
18884
0bab47b6
JM
18885 [BZ #13786]
18886 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18887 not include ../strcmp.S.
18888 [USE_AS_STRNCASECMP_L]: Likewise.
18889 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18890 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18891 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18892 (__strncasecmp_l_ia32): Define as alias to
18893 __strncasecmp_l_nonascii.
18894
0fcad3e2
JM
18895 [BZ #5794]
18896 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18897 * sysdeps/i386/fpu/libm-test-ulps: Update.
18898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18899
5b8a4d4a
JM
18900 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18902
8fdceb2e
JL
189032012-02-29 Jeff Law <law@redhat.com>
18904
18905 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18906 out of bounds read.
18907
1f393a11
MP
189082012-02-29 Marek Polacek <polacek@redhat.com>
18909
18910 [BZ #13706]
18911 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18912 * elf/Makefile: Add rules to run tst-unused-dep.out.
18913
8847f037
DM
189142012-02-28 David S. Miller <davem@davemloft.net>
18915
18916 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18917 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18918 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18919 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18920 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18921 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18922
169d7f11
JM
189232012-02-29 Joseph Myers <joseph@codesourcery.com>
18924
18925 * math/libm-test.inc (llround_test): Move one test from
18926 lround_test. Use TEST_f_L in moved test.
18927 (lround_test): Move misplaced test to llround_test. Add testcase
18928 from bug 2561.
18929
39adf059
UD
189302012-02-28 Ulrich Drepper <drepper@gmail.com>
18931
18932 * sysdeps/x86_64/fpu/e_expf.S: New file.
18933 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18934
71b5d1c5
SB
189352012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18936
18937 [BZ #13637]
18938 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18939 of remain_len that may cause incomplete multi-byte character and
18940 false match.
18941 * posix/bug-regex33.c: New file.
18942 * posix/Makefile (tests): Add bug-regex33.
18943
1f77f049
JM
189442012-02-28 Joseph Myers <joseph@codesourcery.com>
18945
18946 * manual/macros.texi: New file.
18947 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18948 * manual/libc.texinfo: Include macros.texi.
18949 * manual/creatute.texi: Likewise.
18950 * manual/install.texi: Likewise.
18951 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18952 @glibcadj{} in references to the GNU C Library.
18953 * manual/charset.texi: Likewise.
18954 * manual/conf.texi: Likewise.
18955 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18956 when not using those macros.
18957 * manual/creature.texi: Likewise.
18958 * manual/crypt.texi: Likewise.
18959 * manual/errno.texi: Likewise.
18960 * manual/filesys.texi: Likewise.
18961 * manual/header.texi: Likewise.
18962 * manual/install.texi: Likewise.
18963 * manual/intro.texi: Likewise.
18964 * manual/io.texi: Likewise.
18965 * manual/job.texi: Likewise.
18966 * manual/lang.texi: Likewise.
18967 * manual/libc.texiinfo: Likewise.
18968 * manual/llio.texi: Likewise.
18969 * manual/locale.texi: Likewise.
18970 * manual/maint.texi: Likewise.
18971 * manual/math.texi: Likewise.
18972 * manual/memory.texi: Likewise.
18973 * manual/message.texi: Likewise.
18974 * manual/nss.texi: Likewise.
18975 * manual/pattern.texi: Likewise.
18976 * manual/process.texi: Likewise.
18977 * manual/resource.texi: Likewise.
18978 * manual/search.texi: Likewise.
18979 * manual/setjmp.texi: Likewise.
18980 * manual/signal.texi: Likewise.
18981 * manual/socket.texi: Likewise.
18982 * manual/startup.texi: Likewise.
18983 * manual/stdio.texi: Likewise.
18984 * manual/string.texi: Likewise.
18985 * manual/sysinfo.texi: Likewise.
18986 * manual/syslog.texi: Likewise.
18987 * manual/terminal.texi: Likewise.
18988 * manual/time.texi: Likewise.
18989 * manual/users.texi: Likewise.
18990 * INSTALL: Regenerated.
18991 * NOTES: Regenerated.
d40c5d54 18992 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 18993
450bf206
AS
189942012-02-28 Andreas Schwab <schwab@linux-m68k.org>
18995
18996 * include/dirent.h: Include <dirstream.h> before
18997 <dirent/dirent.h>.
18998
741a235b
DM
189992012-02-28 David S. Miller <davem@davemloft.net>
19000
19001 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19002 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19003 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19004 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19005
d6b5aa58
DM
190062012-02-27 David S. Miller <davem@davemloft.net>
19007
1aff59a3
DM
19008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19010 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19011 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19012
d6b5aa58
DM
19013 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19014 frame pointer instead of stack pointer relative arg slot.
19015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19016 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19017 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19018
433f48bf
CD
190192012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19020
19021 [BZ #3992]
19022 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19023
d674b76d
DM
190242012-02-27 David S. Miller <davem@davemloft.net>
19025
19026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19030 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19031 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19032 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19033 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19034
0e7727f7
JM
190352012-02-27 Joseph Myers <joseph@codesourcery.com>
19036
19037 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19038 later. Allow versions 5-9.
43be4ca2 19039 * configure: Regenerated.
0e7727f7
JM
19040 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19041 required minimum version and 4.6 as recommended version. Do not
19042 mention bugs in GCC 2.7 and 2.8.
43be4ca2 19043 * INSTALL: Regenerated.
0e7727f7 19044
a78bc654
DM
190452012-02-27 David S. Miller <davem@davemloft.net>
19046
428d5830
DM
19047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19049 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19050 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19051 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19052 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19053 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19054 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19055
a78bc654
DM
19056 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19057 manipulate bits before adding and subtracting TWO112[sx].
19058 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19059
4579f81c
RM
190602012-02-27 Roland McGrath <roland@hack.frob.com>
19061
36c8acb4
RM
19062 [BZ #13775]
19063 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19064 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19065 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19066 being in POSIX, because they are in 1003.1-2008.
19067
84ad622b
RM
19068 * rt/tst-aio.c: Include <fcntl.h>.
19069 * rt/tst-aio7.c: Likewise.
19070 * rt/tst-aio64.c: Likewise.
19071
4579f81c
RM
19072 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19073
abd923db
JM
190742012-02-27 Joseph Myers <joseph@codesourcery.com>
19075
19076 * manual/install.texi (--with-headers): Describe headers as
19077 interface headers, not private headers.
19078 (Specific advice for GNU/Linux systems): Describe use of headers
19079 from "make headers_install", not private headers from older
19080 kernels.
43be4ca2 19081 * INSTALL: Regenerated.
abd923db
JM
19082 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19083 Change to 2.6.19.
19084 * sysdeps/unix/sysv/linux/configure: Regenerated.
19085
6664049b
JM
19086 * manual/llio.texi (fclean): Remove documentation.
19087
bb8b6697
JM
19088 * manual/Makefile (libc-texi-generated): New variable. Include
19089 version.texi.
19090 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19091 $(libc-texi-generated), not duplicated list of files.
19092 (version.texi, stamp-version): New rules.
19093 (realclean): Remove $(libc-texi-generated), not individual files
19094 from that list. Do not remove dir-add.texinfo.
19095 * manual/libc.texinfo: Comment out uses of edition numbers and
19096 references to printed manual. Remove last-updated dates.
19097 (EDITION): Comment out.
19098 (ISBN): Likewise.
19099 (VERSION, UPDATED): Remove.
19100 (version.texi): Include.
19101
12e5c3b9
AS
191022012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19103
19104 * sysdeps/posix/spawni.c: Include <signal.h>.
19105 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19106 * sysdeps/pthread/aio_fsync.c: Likewise.
19107
4efeffc1 191082012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 19109
ba63ba08
UD
19110 * conform/Makefile (tests): Run only when not cross-compiling and
19111 when fast-check is not defined.
19112
d94a4670
UD
19113 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19114 * conform/data/limits.h-data: Fixes for POSIX2008.
19115 * conform/run-conformtest.sh: Run all tests.
19116 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19117 headers.
19118 * include/bits/dlfcn.h: Likewise.
19119 * include/langinfo.h: Likewise.
19120 * include/monetary.h: Likewise.
19121 * include/sys/poll.h: Likewise.
19122
19123 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19124 for __USE_GNU.
19125 * posix/spawn.h: Define __need_sigset_t.
19126 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19127 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19128 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19129 to get sigevent_t only.
19130 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19131 only for __USE_GNU.
19132 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19133 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19134 process_vm_writev only for __USE_GNU.
19135 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
19136
19137 * conform/Makefile: For now ignore errors from run-conformtest.
19138 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19139 POSIX to avoid namespace pollution. Don't prepend headers.
19140 * conform/data/aio.h-data: Fixes for POSIX testing.
19141 * conform/data/fcntl.h-data: Likewise.
19142 * conform/data/glob.h-data: Likewise.
19143 * conform/data/grp.h-data: Likewise.
19144 * conform/data/pthread.h-data: Likewise.
19145 * conform/data/pwd.h-data: Likewise.
19146 * conform/data/signal.h-data: Likewise.
19147 * conform/data/spawn.h-data: Likewise.
19148 * conform/data/stdio.h-data: Likewise.
19149 * conform/data/stdlib.h-data: Likewise.
19150 * conform/data/stropts.h-data: Likewise.
19151 * conform/data/sys/mman.h-data: Likewise.
19152 * conform/data/sys/stat.h-data: Likewise.
19153 * conform/data/sys/types.h-data: Likewise.
19154 * conform/data/sys/wait.h-data: Likewise.
19155 * conform/data/time.h-data: Likewise.
19156 * conform/data/unistd.h-data: Likewise.
19157 * conform/data/utime.h-data: Likewise.
19158
19159 * io/sys/stat.h: fchmod was always in POSIX.
19160 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19161 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19162 * rt/aio.h: Define __need_timespec before including <time.h>.
19163 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19164 struct. Add forward declaration of pthread_attr_t and use it in
19165 sigevent.
19166 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19167 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19168 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19169 always remove CLK_TCK definition.
19170
c20105c3
AS
191712012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19172
19173 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19174
7a270350
UD
191752012-02-25 Ulrich Drepper <drepper@gmail.com>
19176
31341567
UD
19177 * conform/run-conformtest.sh: New file.
19178 * conform/Makefile: Run run-conformtest for tests.
19179 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19180 support.
19181
19182 * conform/data/uchar.h-data: New file.
19183 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19184 * conform/data/arpa/inet.h-data: Likewise.
19185 * conform/data/assert.h-data: Likewise.
19186 * conform/data/complex.h-data: Likewise.
19187 * conform/data/cpio.h-data: Likewise.
19188 * conform/data/ctype.h-data: Likewise.
19189 * conform/data/dirent.h-data: Likewise.
19190 * conform/data/dlfcn.h-data: Likewise.
19191 * conform/data/errno.h-data: Likewise.
19192 * conform/data/fcntl.h-data: Likewise.
19193 * conform/data/float.h-data: Likewise.
19194 * conform/data/fmtmsg.h-data: Likewise.
19195 * conform/data/fnmatch.h-data: Likewise.
19196 * conform/data/ftw.h-data: Likewise.
19197 * conform/data/glob.h-data: Likewise.
19198 * conform/data/grp.h-data: Likewise.
19199 * conform/data/iconv.h-data: Likewise.
19200 * conform/data/inttypes.h-data: Likewise.
19201 * conform/data/langinfo.h-data: Likewise.
19202 * conform/data/libgen.h-data: Likewise.
19203 * conform/data/limits.h-data: Likewise.
19204 * conform/data/locale.h-data: Likewise.
19205 * conform/data/math.h-data: Likewise.
19206 * conform/data/monetary.h-data: Likewise.
19207 * conform/data/mqueue.h-data: Likewise.
19208 * conform/data/ndbm.h-data: Likewise.
19209 * conform/data/net/if.h-data: Likewise.
19210 * conform/data/netdb.h-data: Likewise.
19211 * conform/data/netinet/in.h-data: Likewise.
19212 * conform/data/nl_types.h-data: Likewise.
19213 * conform/data/poll.h-data: Likewise.
19214 * conform/data/pthread.h-data: Likewise.
19215 * conform/data/pwd.h-data: Likewise.
19216 * conform/data/regex.h-data: Likewise.
19217 * conform/data/sched.h-data: Likewise.
19218 * conform/data/search.h-data: Likewise.
19219 * conform/data/semaphore.h-data: Likewise.
19220 * conform/data/setjmp.h-data: Likewise.
19221 * conform/data/signal.h-data: Likewise.
19222 * conform/data/spawn.h-data: Likewise.
19223 * conform/data/stdarg.h-data: Likewise.
19224 * conform/data/stdio.h-data: Likewise.
19225 * conform/data/stdlib.h-data: Likewise.
19226 * conform/data/string.h-data: Likewise.
19227 * conform/data/strings.h-data: Likewise.
19228 * conform/data/stropts.h-data: Likewise.
19229 * conform/data/sys/ipc.h-data: Likewise.
19230 * conform/data/sys/mman.h-data: Likewise.
19231 * conform/data/sys/msg.h-data: Likewise.
19232 * conform/data/sys/resource.h-data: Likewise.
19233 * conform/data/sys/select.h-data: Likewise.
19234 * conform/data/sys/sem.h-data: Likewise.
19235 * conform/data/sys/shm.h-data: Likewise.
19236 * conform/data/sys/socket.h-data: Likewise.
19237 * conform/data/sys/stat.h-data: Likewise.
19238 * conform/data/sys/statvfs.h-data: Likewise.
19239 * conform/data/sys/time.h-data: Likewise.
19240 * conform/data/sys/timeb.h-data: Likewise.
19241 * conform/data/sys/times.h-data: Likewise.
19242 * conform/data/sys/types.h-data: Likewise.
19243 * conform/data/sys/uio.h-data: Likewise.
19244 * conform/data/sys/un.h-data: Likewise.
19245 * conform/data/sys/utsname.h-data: Likewise.
19246 * conform/data/sys/wait.h-data: Likewise.
19247 * conform/data/syslog.h-data: Likewise.
19248 * conform/data/tar.h-data: Likewise.
19249 * conform/data/termios.h-data: Likewise.
19250 * conform/data/utime.h-data: Likewise.
19251 * conform/data/utmpx.h-data: Likewise.
19252 * conform/data/varargs.h-data: Likewise.
19253 * conform/data/wchar.h-data: Likewise.
19254 * conform/data/wctype.h-data: Likewise.
19255 * conform/data/wordexp.h-data: Likewise.
19256
19257 * include/stropts.h: New file.
19258 * include/uchar.h: New file.
19259 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19260 * include/assert.h: Likewise.
19261 * include/ctype.h: Likewise.
19262 * include/dirent.h: Likewise.
19263 * include/dlfcn.h: Likewise.
19264 * include/fcntl.h: Likewise.
19265 * include/fnmatch.h: Likewise.
19266 * include/glob.h: Likewise.
19267 * include/grp.h: Likewise.
19268 * include/libio.h: Likewise.
19269 * include/locale.h: Likewise.
19270 * include/math.h: Likewise.
19271 * include/net/if.h: Likewise.
19272 * include/netdb.h: Likewise.
19273 * include/netinet/in.h: Likewise.
19274 * include/pthread.h: Likewise.
19275 * include/pwd.h: Likewise.
19276 * include/regex.h: Likewise.
19277 * include/sched.h: Likewise.
19278 * include/search.h: Likewise.
19279 * include/setjmp.h: Likewise.
19280 * include/signal.h: Likewise.
19281 * include/stdio.h: Likewise.
19282 * include/stdlib.h: Likewise.
19283 * include/string.h: Likewise.
19284 * include/sys/cdefs.h: Likewise.
19285 * include/sys/mman.h: Likewise.
19286 * include/sys/msg.h: Likewise.
19287 * include/sys/resource.h: Likewise.
19288 * include/sys/select.h: Likewise.
19289 * include/sys/socket.h: Likewise.
19290 * include/sys/stat.h: Likewise.
19291 * include/sys/statvfs.h: Likewise.
19292 * include/sys/time.h: Likewise.
19293 * include/sys/times.h: Likewise.
19294 * include/sys/uio.h: Likewise.
19295 * include/sys/utsname.h: Likewise.
19296 * include/sys/wait.h: Likewise.
19297 * include/termios.h: Likewise.
19298 * include/time.h: Likewise.
19299 * include/ulimit.h: Likewise.
19300 * include/unistd.h: Likewise.
19301 * include/utime.h: Likewise.
19302 * include/wchar.h: Likewise.
19303 * include/wctype.h: Likewise.
19304 * include/wordexp.h: Likewise.
19305
19306 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19307
7a270350
UD
19308 * time/time.h: TIME_UTC must be a macro.
19309 Make timespec_get available for ISO C11 only as well.
19310
7724defc
UD
193112012-02-24 Ulrich Drepper <drepper@gmail.com>
19312
19313 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19314 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19315
6b1d1d46
JM
193162012-02-24 Joseph Myers <joseph@codesourcery.com>
19317
19318 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 19319
0f8bbd69
JM
193202012-02-24 Joseph Myers <joseph@codesourcery.com>
19321
19322 * manual/texinfo.tex: Update to version 2012-01-19.16.
19323
66ab80bc
JM
193242012-02-24 Joseph Myers <joseph@codesourcery.com>
19325
19326 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19327
74981cc5
RM
193282012-02-24 Roland McGrath <roland@hack.frob.com>
19329
ee968201
RM
19330 [BZ #13738]
19331 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19332 * manual/fdl-1.3.texi: New file.
19333 * manual/fdl-1.1.texi: File removed.
19334
74981cc5
RM
19335 [BZ #13738]
19336 * manual/libc.texinfo (FDL_VERSION): New @set.
19337 Use it for mention of FDL in cover text.
19338 (Documentation License): Use it in @include file name.
19339
7bb764bc
JM
193402012-02-22 Joseph Myers <joseph@codesourcery.com>
19341 Roland McGrath <roland@hack.frob.com>
19342
19343 [BZ #5461]
19344 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19345 not LONG_LONG_MAX and LONG_LONG_MIN.
19346 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19347 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19348 name.
19349 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19350
6cbeae47
JM
193512012-02-22 Joseph Myers <joseph@codesourcery.com>
19352
19353 [BZ #2547]
19354 [BZ #11365]
19355 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19356 manipulate bits before adding and subtracting TWO23[sx].
19357 * math/libm-test.inc (nearbyint_test): Add more tests.
19358
fe45ce09
JM
193592012-02-22 Joseph Myers <joseph@codesourcery.com>
19360
19361 [BZ #2548]
19362 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19363 bits before adding and subtracting TWO23[sx].
19364 * math/libm-test.inc (rint_test): Add more tests.
19365 (rint_test_tonearest): Likewise.
19366 (rint_test_towardzero): Likewise.
19367 (rint_test_downward): Likewise.
19368 (rint_test_upward: Likewise.
19369
ff3b3d82
JM
193702012-02-22 Joseph Myers <joseph@codesourcery.com>
19371
19372 [BZ #10110]
19373 * include/stdc-predef.h: New file. Extracted from features.h.
19374 * include/features.h: Include stdc-predef.h.
19375 * Makefile (headers): Add stdc-predef.h.
19376 * CONFORMANCE (Compiler limitations): Update.
19377
ef0aab35
JM
193782012-02-22 Joseph Myers <joseph@codesourcery.com>
19379
19380 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19381
58639409
DM
193822012-02-21 David S. Miller <davem@davemloft.net>
19383
19384 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19385 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19386
c0e70b25
DM
193872012-02-20 David S. Miller <davem@davemloft.net>
19388
19389 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19390 using a normal save/restore sequence, rather than allocating a
19391 dummy stack frame just to store a frame pointer and restore.
19392 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19393
fb06851d
JM
193942012-02-21 Joseph Myers <joseph@codesourcery.com>
19395
19396 * manual/install.texi: Fix stray word in line-wrapped comment.
19397
7a8b71c3
DM
193982012-02-20 David S. Miller <davem@davemloft.net>
19399
d510c123
DM
19400 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19401 both binutils and gcc support GOTDATA.
19402
0722d7c2
DM
19403 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19404 "rd %pc" in the PIC register setup sequences.
19405
3d2b3019
DM
19406 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19407 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19408 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19409 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19410 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19411 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19412 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19413 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19414 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19415 (SYSCALL_ERROR_HANDLER): Likewise.
19416 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19417 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19418 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19419 (SYSCALL_ERROR_HANDLER): Likewise.
19420
c80098a9
DM
19421 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19422 (HAVE_GCC_GOTDATA): New.
19423 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19424 relocation support in both binutils and gcc.
19425 * sysdeps/sparc/elf/configure: Regenerate.
19426
3a2545a0
DM
19427 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19428 * sysdeps/sparc/sparc32/elf/configure: Delete.
19429 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19430 * sysdeps/sparc/sparc64/elf/configure: Delete.
19431 * sysdeps/sparc/elf/configure.in: New file.
19432 * sysdeps/sparc/elf/configure: Generate.
19433
7a8b71c3
DM
19434 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19435 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19436 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19437 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19438 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19439
f1e86fca
JM
194402012-02-21 Joseph Myers <joseph@codesourcery.com>
19441
19442 * manual/install.texi: Do not mention specific glibc version
19443 numbers.
19444 * manual/libc.texinfo (VERSION, UPDATED): Update.
19445 (@copying): Use @copyright{} and range of years.
19446
0e7dfaef
JM
194472012-02-21 Joseph Myers <joseph@codesourcery.com>
19448
19449 [BZ #13695]
19450 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19451 [crti.S not in sysdirs] (generated): Do not append.
19452 [crti.S not in sysdirs] (omit-deps): Likewise.
19453 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19454 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19455 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19456 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19457 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19458 Likewise.
19459 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19460 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19461 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19462 * csu/defs.awk: Remove file.
19463 * sysdeps/generic/initfini.c: Likewise.
19464 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19465 variable.
19466 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19467 Likewise.
19468
599af3ca
JM
194692012-02-20 Joseph Myers <joseph@codesourcery.com>
19470
19471 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19472 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19473 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19474 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19475 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19476 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19477 <bits/epoll.h>.
19478 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19479 (__EPOLL_PACKED): Define to empty if not defined by
19480 <bits/epoll.h>.
19481 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19482 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19483 bits/epoll.h.
19484
0e499750
JM
194852012-02-20 Joseph Myers <joseph@codesourcery.com>
19486
19487 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19488 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19489 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19490 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19491 <bits/timerfd.h>.
19492 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19493 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19494 bits/timerfd.h.
19495
5ad91f6e
JM
194962012-02-20 Joseph Myers <joseph@codesourcery.com>
19497
19498 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19499 in C locale.
19500 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19501 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19502 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19504
06b99b02
AJ
195052012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19506
19507 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19508 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19509
7638c0fd
AS
195102012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19511
19512 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19513 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19514 defined.
19515 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19516 Likewise.
19517 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19518 entry for 2.16.
19519
92221550
AJ
195202012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19521
19522 * math/w_acos.c: Use non-signaling floating-point comparisons.
19523 * math/w_acosf.c: Likewise.
19524 * math/w_acosh.c: Likewise.
19525 * math/w_acoshf.c: Likewise.
19526 * math/w_acoshl.c: Likewise.
19527 * math/w_acosl.c: Likewise.
19528 * math/w_asin.c: Likewise.
19529 * math/w_asinf.c: Likewise.
19530 * math/w_asinl.c: Likewise.
19531 * math/w_atanh.c: Likewise.
19532 * math/w_atanhf.c: Likewise.
19533 * math/w_atanhl.c: Likewise.
19534 * math/w_exp2.c: Likewise.
19535 * math/w_exp2f.c: Likewise.
19536 * math/w_exp2l.c: Likewise.
19537 * math/w_j0.c: Likewise.
19538 * math/w_j0f.c: Likewise.
19539 * math/w_j0l.c: Likewise.
19540 * math/w_j1.c: Likewise.
19541 * math/w_j1f.c: Likewise.
19542 * math/w_j1l.c: Likewise.
19543 * math/w_jn.c: Likewise.
19544 * math/w_jnf.c: Likewise.
19545 * math/w_log.c: Likewise.
19546 * math/w_log10.c: Likewise.
19547 * math/w_log10f.c: Likewise.
19548 * math/w_log10l.c: Likewise.
19549 * math/w_log2.c: Likewise.
19550 * math/w_log2f.c: Likewise.
19551 * math/w_log2l.c: Likewise.
19552 * math/w_logf.c: Likewise.
19553 * math/w_logl.c: Likewise.
19554 * math/w_sqrt.c: Likewise.
19555 * math/w_sqrtf.c: Likewise.
19556 * math/w_sqrtl.c: Likewise.
19557 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19558 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19559 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19560 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19561 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19562
ebaf36eb
JM
195632012-02-19 Joseph Myers <joseph@codesourcery.com>
19564
19565 [BZ #9739]
19566 * manual/string.texi (strnlen): Use correct parameter name in
19567 equivalent expression.
19568
71c254a6
JM
195692012-02-19 Joseph Myers <joseph@codesourcery.com>
19570
19571 [BZ #11174]
19572 * manual/users.texi (seteuid): Consistently use neweuid for
19573 argument name.
19574
16d2c631
JM
195752012-02-19 Joseph Myers <joseph@codesourcery.com>
19576
19577 [BZ #13704]
19578 * manual/nss.texi (Services in the NSS configuration): Correct
19579 list of services in example configuration file.
19580
cd837b09
NB
195812012-02-19 Nick Bowler <nbowler@draconx.ca>
19582
19583 [BZ #11322]
19584 * manual/arith.texi: Remove statements about negative zero
19585 behaving identically to zero.
19586
02c4bbad
JM
195872012-02-18 Joseph Myers <joseph@codesourcery.com>
19588
19589 [BZ #5993]
19590 * manual/install.texi: Do not document upgrading from libc5.
19591
366842e7
JM
195922012-02-18 Joseph Myers <joseph@codesourcery.com>
19593
19594 [BZ #4596]
19595 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19596
dd54084d
DM
195972012-02-18 David S. Miller <davem@davemloft.net>
19598
19599 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19600 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19601 %o7 across the call.
19602 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19603 instead.
19604 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19605 SETUP_PIC_REG_LEAF.
19606 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19607 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19608 * sysdeps/sparc/crtn.S: Likewise.
19609
2bcc53a3
UD
196102012-02-17 Ulrich Drepper <drepper@gmail.com>
19611
19612 * aout/Makefile: Remove.
19613
09c093b5
RK
196142012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19615
19616 [BZ #13058]
19617 * manual/examples/argp-ex1.c (main): Format definition in GNU
19618 style.
19619 * manual/examples/argp-ex2.c (main): Likewise.
19620 * manual/examples/argp-ex3.c (main): Likewise.
19621 * manual/examples/argp-ex4.c (main): Likewise.
19622 * manual/examples/longopt.c (main): Use new-style prototype
19623 definition.
19624 * manual/examples/strncat.c (main): Specify return type and use
19625 (void) for arguments.
19626 * manual/examples/subopt.c (main): Use char **argv argument.
19627
2ee633a2
JM
196282012-02-17 Joseph Myers <joseph@codesourcery.com>
19629
19630 [BZ #5077]
19631 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19632 rounding modes.
19633
0520adde
FB
196342012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19635
19636 [BZ #6907]
19637 * manual/string.texi (strchr): Change when strchrnul is
19638 recommended.
19639
3f4081cd
DGM
196402012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19641
19642 [BZ #174]
19643 * manual/locale.texi (setlocale): Document LOCPATH.
19644
d1b10e78
JM
196452012-02-17 Joseph Myers <joseph@codesourcery.com>
19646
19647 [BZ #10210]
19648 * manual/process.texi (execle): Move @dots{} before last argument.
19649
79c6869c
PB
196502012-02-17 Paul Bolle <pebolle@tiscali.nl>
19651
19652 [BZ #12047]
19653 * manual/charset.texi (Generic Charset Conversion): Fix typo
19654 (LC_TYPE -> LC_CTYPE).
19655
cc6e48bc
NB
196562012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19657
19658 [BZ #5805]
19659 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19660 (scalbnf): Likewise.
19661 (scalbnl): Likewise.
19662 (scalbln): Likewise.
19663 (scalblnf): Likewise.
19664 (scalblnl): Likewise.
19665 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19666 (vwarnx): Likewise.
19667 (verr): Likewise.
19668 (verrx): Likewise.
19669 * manual/filesys.texi (telldir): Use braces around return type.
19670 * manual/llio.texi (mmap): Add space after comma.
19671 (mmap64): Likewise.
19672 * manual/math.texi (jn): Use @var{} on parameter names.
19673 (jnf): Likewise.
19674 (jnl): Likewise.
19675 (yn): Likewise.
19676 (ynf): Likewise.
19677 (ynl): Likewise.
19678 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19679 line.
19680 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19681 "...".
19682 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19683 (sched_get_priority_max): Likewise.
19684 * manual/signal.texi (sigvec): Add space after comma.
19685 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19686 names.
19687 (if_indextoname): Likewise.
19688 (if_freenameindex): Likewise.
19689 (sendto): Use ',' instead of '.' in prototype.
19690 * manual/startup.texi (syscall): Use @dots{} instead of literal
19691 "...".
19692 * manual/stdio.texi (__fpending): Separate initial words of
19693 paragraph from @deftypefun line.
19694 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19695 "...".
19696 (vsyslog): Use @var{} on parameter names.
19697 * manual/terminal.texi (stty): Use @var{} on parameter names.
19698 * manual/users.texi (getutmp): Use @var{} on parameter names.
19699 (getutmpx): Likewise.
19700
5b23062f
JM
197012012-02-17 Joseph Myers <joseph@codesourcery.com>
19702
19703 [BZ #6884]
19704 * manual/stdio.texi (fopen): Fix typos in description of
19705 ",ccs=STRING".
19706
8dee4833
AJ
197072012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19708
19709 [BZ #4026]
19710 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19711 get clock_id definition.
19712
9078ce93
TS
197132012-02-17 Thomas Schwinge <thomas@schwinge.name>
19714
19715 [BZ #4822]
19716 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19717 (madvise): Cast every argument to void on its own.
19718
3835c55f
JM
197192012-02-17 Joseph Myers <joseph@codesourcery.com>
19720
19721 [BZ #9902]
19722 * manual/startup.texi (Exit Status): Fix typo.
19723
35c47e37
JM
197242012-02-17 Joseph Myers <joseph@codesourcery.com>
19725
19726 [BZ #10140]
19727 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19728 * manual/examples/argp-ex2.c: Likewise.
19729 * manual/examples/argp-ex3.c: Likewise.
19730
e3b69ca7
RH
197312012-02-16 Richard Henderson <rth@redhat.com>
19732
19733 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19734 * sysdeps/s390/s390-32/initfini.c: Remove.
19735 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19736 * sysdeps/s390/s390-64/initfini.c: Remove.
19737
df83af67
KK
197382012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19739
19740 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19741 compiler output for sysdeps/generic/initfini.c.
19742 * sysdeps/sh/elf/initfini.c: Remove file.
19743
f63f3380
DM
197442012-02-16 David S. Miller <davem@davemloft.net>
19745
fb59b3a4
DM
19746 [BZ #11494]
19747 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19748
f63f3380
DM
19749 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19750 * sysdeps/sparc/crti.S: New file.
19751 * sysdeps/sparc/crtn.S: New file.
19752 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19753 * sysdeps/sparc/sparc64/Makefile: Likewise.
19754
df6a4a4a
MF
197552012-02-15 Mike Frysinger <vapier@gentoo.org>
19756
6dd8f3dc 19757 [BZ #3335]
df6a4a4a
MF
19758 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19759
1cac7236
RM
197602012-02-15 Roland McGrath <roland@hack.frob.com>
19761
d2c736f8
RM
19762 [BZ #4822]
19763 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19764
1cac7236
RM
19765 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19766 (write, read, close): Likewise.
19767 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19768
8e475601
JM
197692012-02-15 Joseph Myers <joseph@codesourcery.com>
19770
19771 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19772 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19773 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19774 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19775 <bits/signalfd.h>.
19776 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19777 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19778 bits/signalfd.h.
19779
ed656b40
MP
197802012-02-14 Marek Polacek <polacek@redhat.com>
19781
19782 * sysdeps/x86_64/crti.S: New file.
19783 * sysdeps/x86_64/crtn.S: New file.
19784 * sysdeps/x86_64/elf/initfini.c: Remove file.
19785
2a979d3a
JM
197862012-02-13 Joseph Myers <joseph@codesourcery.com>
19787
19788 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19789 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19790 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19791 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19792 <bits/inotify.h>.
19793 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19794 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19795 bits/inotify.h.
19796
2a418ac3
JM
197972012-02-13 Joseph Myers <joseph@codesourcery.com>
19798
19799 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19800 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19801 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19802 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19803 <bits/eventfd.h>.
19804 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19805 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19806 bits/eventfd.h.
19807
fb779be7
TS
198082012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19809
e19e83c5
RM
19810 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19811 __feraiseexcept instead of feraiseexcept.
7c35ffed 19812
fb779be7
TS
19813 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19814 nanosleep invocations.
19815 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19816 strings, and add error checking for a nanosleep invocations.
19817
59ba27a6
PE
198182012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19819
19820 Replace FSF snail mail address with URLs, as per GNU coding standards.
19821 Most of the snail mail addresses were wrong anyway, and omitting
19822 them makes the source code easier to maintain. Almost all of the
19823 changes are to license notices and to locale LC_IDENTIFICATION
19824 addresses, except for this one:
19825 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19826 not its snail mail address.
19827
57b957eb
RH
198282012-02-09 Richard Henderson <rth@twiddle.net>
19829
af850b1c
RH
19830 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19831 of kernel-features.h.
19832
57b957eb
RH
19833 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19834
6b73181a
MP
198352012-02-08 Marek Polacek <polacek@redhat.com>
19836
19837 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19838 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19839 * sysdeps/gnu/_G_config.h: Likewise.
19840 * sysdeps/generic/_G_config.h: Likewise.
19841
26ecc33a
AS
198422012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19843
6c6dbc63
AS
19844 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19845 tests.
19846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19847
e216c012
AS
19848 * sysdeps/powerpc/powerpc32/crti.S: New file.
19849 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19850 * sysdeps/powerpc/powerpc64/crti.S: New file.
19851 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19852
26ecc33a
AS
19853 * Makeconfig (have-initfini): Don't set.
19854 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19855 * configure.in (nopic_initfini): Don't substitute.
19856 * config.h.in (HAVE_INITFINI): Don't #undef.
19857 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19858 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19859
3add8e13
JM
198602012-02-08 Joseph Myers <joseph@codesourcery.com>
19861
19862 Support crti.S and crtn.S provided directly by architectures.
19863 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19864 [crti.S in sysdirs] (omit-deps): Likewise.
19865 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19866 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19867 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19868 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19869 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19870 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19871 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19872 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19873 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19874 compiler output for sysdeps/generic/initfini.c.
19875 * sysdeps/i386/elf/Makefile: Remove file.
19876 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19877
a22f12b4
MP
198782012-02-07 Marek Polacek <polacek@redhat.com>
19879
19880 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19881 * sysdeps/gnu/_G_config.h: Likewise.
19882 * sysdeps/mach/hurd/_G_config.h: Likewise.
19883
148cf100
MP
198842012-02-07 Marek Polacek <polacek@redhat.com>
19885
19886 * math/Makefile (tests): Add tst-CMPLX2.
19887 * math/tst-CMPLX2.c: New file.
19888
cfdc0dd7
AS
198892012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19890
84ba42c4
AS
19891 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19892
cfdc0dd7
AS
19893 * math/libm-test.inc (jn_test): Add missing L suffix.
19894
622c86f4
MP
198952012-02-06 Marek Polacek <polacek@redhat.com>
19896
19897 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19898 * sysdeps/i386/fpu/e_powf.S: Likewise.
19899 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19900 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19901 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19902 * sysdeps/i386/fpu/e_pow.S: Likewise.
19903 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19904 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19905 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19906 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19907 * sysdeps/i386/fpu/e_log2.S: Likewise.
19908 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19909 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19910 * sysdeps/i386/fpu/e_powl.S: Likewise.
19911 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19912 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19913 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19914 * sysdeps/i386/fpu/e_logl.S: Likewise.
19915 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19916 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19917 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19918 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19919 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19920 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19921 * sysdeps/i386/fpu/e_log.S: Likewise.
19922 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19923 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19924 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19925 * sysdeps/i386/fpu/e_logf.S: Likewise.
19926 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19927 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19928 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19929 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19930 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19931 * sysdeps/i386/fpu/e_log10.S: Likewise.
19932 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19933 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19934 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19935 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19936 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19937 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19938 * sysdeps/i386/asm-syntax.h: Likewise.
19939 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19940 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19941 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19942 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19943 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19944 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19945 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19946 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19947 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19948 * sysdeps/powerpc/sysdep.h: Likewise.
19949 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19950 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19951
d4a54ac6
JM
199522012-02-06 Joseph Myers <joseph@codesourcery.com>
19953
19954 [BZ #411]
19955 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19956
314054ea
JM
199572012-02-06 Joseph Myers <joseph@codesourcery.com>
19958
19959 * sysdeps/i386/sysdep.h: Include <features.h>.
19960 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19961 version.
19962
d8e0ca50
JM
199632012-02-05 Joseph Myers <joseph@codesourcery.com>
19964
19965 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19966 Define.
19967 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19968 LOAD_PIC_REG_STR.
19969
b1da7dd9
JM
199702012-02-03 Joseph Myers <joseph@codesourcery.com>
19971
19972 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19973 (SETUP_PIC_REG): Use GET_PC_THUNK.
19974 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19975 macro.
19976
9a1d9254
JM
199772012-02-03 Joseph Myers <joseph@codesourcery.com>
19978
19979 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19980 for non-PIC compilation.
19981 (SETUP_PIC_REG): Add .p2align directive.
19982 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
19983 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
19984 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19985 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19986 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
19987 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19988 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
19989 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
19990 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19991 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19992 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19993 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19994 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19995 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19996 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19997 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
19998 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
19999 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20000 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20001 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20002 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20003 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20004 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20005 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20006 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20007 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20008 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20009 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20010 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20011 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20012 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20013 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20014 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20015 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20016 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20017 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20018 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20019 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20020 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20021 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20022 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20023
65dc3b75
JM
200242012-02-03 Joseph Myers <joseph@codesourcery.com>
20025
20026 * math/tst-CMPLX.c: Include <stdio.h>.
20027
d55bf177
JM
200282012-01-31 Joseph Myers <joseph@codesourcery.com>
20029
20030 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20031 float.
20032 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20033 * sysdeps/sparc/bits/mathdef.h: Likewise.
20034
69db4f8f
MP
200352012-01-31 Marek Polacek <polacek@redhat.com>
20036
20037 * libio/libio.h: Don't define _PARAMS.
20038 * locale/programs/config.h: Don't define PARAMS.
20039 * stdlib/strtol_l.c: Likewise.
20040 (__strtol_l): Remove PARAMS from the prototype.
20041
41b81892
UD
200422012-01-31 Ulrich Drepper <drepper@gmail.com>
20043
3b49edc0
UD
20044 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20045 names. Just use the correct names. Remove unnecessary wrapper
20046 functions.
20047 * malloc/arena.c: Likewise.
20048 * malloc/hooks.c: Likewise.
20049
41b81892
UD
20050 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20051 ARENA_TEST says not to. Simplify test for creation of a new arena.
20052 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20053
27a25b6e
UD
200542012-01-30 Ulrich Drepper <drepper@gmail.com>
20055
20056 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20057 into tail calls.
20058 (update_get_addr): New function.
20059 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20060 GET_ADDR_MODULE parameter.
20061
c8a89e7d
JM
200622012-01-30 Joseph Myers <joseph@codesourcery.com>
20063
20064 * crypt/cert.c: Remove __STDC__ conditionals.
20065 * crypt/crypt-entry.c: Likewise.
20066 * crypt/crypt_util.c: Likewise.
20067 * libio/filedoalloc.c: Likewise.
20068 * libio/fileops.c: Likewise.
20069 * libio/genops.c: Likewise.
20070 * libio/iofclose.c: Likewise.
20071 * libio/iofdopen.c: Likewise.
20072 * libio/iofopen.c: Likewise.
20073 * libio/iofopen64.c: Likewise.
20074 * libio/iogetdelim.c: Likewise.
20075 * libio/iopopen.c: Likewise.
20076 * libio/obprintf.c: Likewise.
20077 * libio/oldfileops.c: Likewise.
20078 * libio/oldiofclose.c: Likewise.
20079 * libio/oldiofdopen.c: Likewise.
20080 * libio/oldiofopen.c: Likewise.
20081 * libio/oldiopopen.c: Likewise.
20082 * libio/wfiledoalloc.c: Likewise.
20083 * libio/wgenops.c: Likewise.
20084 * locale/programs/xmalloc.c: Likewise.
20085 * misc/syslog.c: Likewise.
20086 * stdio-common/xbug.c: Likewise.
20087 * string/memchr.c: Likewise.
20088 * string/memcmp.c: Likewise.
20089 * string/memrchr.c: Likewise.
20090 * string/rawmemchr.c: Likewise.
20091 * sysdeps/posix/getcwd.c: Likewise.
20092 * time/strftime_l.c: Likewise.
20093
3b100462
JM
200942012-01-30 Joseph Myers <joseph@codesourcery.com>
20095
20096 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
20097 * config.make.in (config-cflags-sse2avx): Define.
20098 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20099 Fix typo.
20100
607998af
CM
201012012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20102
20103 * scripts/config.guess: Update from upstream config git repository.
20104 * scripts/config.sub: Likewise.
20105
3601428f
CM
201062012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20107
3ac8b282
CM
20108 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20109 (EM_NUM): Update.
20110 (R_TILEPRO_*, R_TILEGX_*): New macros.
20111
e034841e
CM
20112 * scripts/firstversions.awk: Fix bug in version range handling.
20113
540d7568
CM
20114 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20115
3601428f
CM
20116 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20117
463de862
CM
20118 * include/sys/epoll.h: New file.
20119 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20120 libc_hidden_def.
20121
73139a76
UD
201222012-01-28 Ulrich Drepper <drepper@gmail.com>
20123
96bc5b45
UD
20124 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20125 Avoid unnecessary __WORDSIZE == 64 test.
20126 (fmaxf): Use VEX format if possible.
20127 (fmax): Likewise.
20128 (fminf): Likewise.
20129 (fmin): Likewise.
20130
56f6f6a2
UD
20131 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20132 * math/math_private.h: Remove libc_fegetround* and
20133 libc_fesetround*.
20134 * sysdeps/i386/configure.in: Check for -msse2avx.
20135 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20136 also if SSE2AVX is defined.
20137 Remove libc_fegetround* and libc_fesetround*.
20138 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20139 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20140 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20141 of HAS_YMM_USABLE.
20142 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20143 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20144 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20145 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20146 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20147
73139a76
UD
20148 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20149
d73f93a4
AZ
201502012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20151
20152 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20153 size is not set.
20154 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20155
6ee65ed6
UD
201562012-01-27 Ulrich Drepper <drepper@gmail.com>
20157
20158 [BZ #13618]
20159 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20160 relocation.
20161 * Makeconfig (libm): Define.
20162 * elf/Makefile: Add rules to build and run tst-relsort1.
20163 * elf/tst-relsort1.c: New file.
20164 * elf/tst-relsort1mod1.c: New file.
20165 * elf/tst-relsort1mod2.c: New file.
20166
8db21882
JM
201672012-01-27 Joseph Myers <joseph@codesourcery.com>
20168
20169 * math/s_ldexp.c: Remove __STDC__ conditionals.
20170 * math/s_ldexpf.c: Likewise.
20171 * math/s_ldexpl.c: Likewise.
20172 * math/s_nextafter.c: Likewise.
20173 * math/s_nexttowardf.c: Likewise.
20174 * math/s_significand.c: Likewise.
20175 * math/s_significandf.c: Likewise.
20176 * math/s_significandl.c: Likewise.
20177 * math/w_jnl.c: Likewise.
20178 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20179 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20180 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20181 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20182 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20183 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20184 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20185 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20186 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20187 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20188 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20189 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20190 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20191 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20192 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20193 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20194 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20195 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20196 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20197 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20198 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20199 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20200 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20201 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20202 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20203 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20204 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20205 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20206 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20207 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20208 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20209 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20210 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20211 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20212 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20213 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20214 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20215 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20216 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20217 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20218 * sysdeps/ieee754/k_standard.c: Likewise.
20219 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20220 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20221 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20222 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20223 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20224 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20225 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20226 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20227 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20228 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20229 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20230 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20231 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20232 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20233 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20234 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20235 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20236 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20237 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20238 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20239 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20240 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20241 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20242 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20243 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20244 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20245 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20246 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20247 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20248 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20249 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20250 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20251 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20252 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20253 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20254 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20255 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20256 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20257 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20258 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20259 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20260 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20261 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20262 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20263 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20264 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20265 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20266 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20267 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20268 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20269 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20270 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20271 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20272 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20273 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20274 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20275 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20276 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20277 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20278 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20279 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20280 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20281 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20282 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20283 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20284 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20285 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20286 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20287 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20288 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20289 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20290 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20291 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20292 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20293 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20294 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20295 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20296 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20297 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20298 * sysdeps/ieee754/s_matherr.c: Likewise.
20299 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20300 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20301 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20302 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20303
965a54a4
JM
203042012-01-26 Joseph Myers <joseph@codesourcery.com>
20305
20306 * crypt/md5.h: Remove __STDC__ conditionals.
20307 * libio/libioP.h: Likewise.
20308 * locale/programs/config.h: Likewise.
20309 * sysdeps/generic/sysdep.h: Likewise.
20310 * sysdeps/i386/asm-syntax.h: Likewise.
20311 * sysdeps/s390/asm-syntax.h: Likewise.
20312 * sysdeps/unix/sysdep.h: Likewise.
20313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20315
7071ad79
JM
203162012-01-26 Joseph Myers <joseph@codesourcery.com>
20317
20318 * libio/libio.h: Remove __STDC__ conditionals.
20319 * malloc/obstack.h: Likewise.
20320 * math/complex.h: Likewise.
20321 * math/math.h: Likewise.
20322 * sysdeps/generic/_G_config.h: Likewise.
20323 * sysdeps/gnu/_G_config.h: Likewise.
20324 * sysdeps/mach/hurd/_G_config.h: Likewise.
20325 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20326 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20327 * sysdeps/sparc/bits/mathdef.h: Likewise.
20328
afc5ed09
UD
203292012-01-26 Ulrich Drepper <drepper@gmail.com>
20330
20331 [BZ #13583]
20332 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 20333 Clean up HAS_* macros.
afc5ed09 20334 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
20335 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20336 possible.
20337 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20338 HAS_AVX.
20339 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20340 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20341 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20342 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20343 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 20344
bdb6de1d
JM
203452012-01-25 Joseph Myers <joseph@codesourcery.com>
20346
20347 * elf/tst-unique3.cc (gets): Remove declaration.
20348 * elf/tst-unique3lib.cc (gets): Likewise.
20349 * elf/tst-unique3lib2.cc (gets): Likewise.
20350 * elf/tst-unique4.cc (gets): Likewise.
20351
b15549e6
UD
203522012-01-24 Ulrich Drepper <drepper@gmail.com>
20353
20354 * include/stdio.h: Add C++ protection. Add gets declarations and
20355 definitions.
20356 * debug/tst-chk1.c: Don't declare gets here.
20357 * stdio-common/tst-gets.c: Likewise.
20358
a037381f
JM
203592012-01-24 Joseph Myers <joseph@codesourcery.com>
20360
20361 * posix/glob: Remove directory.
20362
f1d4aa75
JM
203632012-01-24 Joseph Myers <joseph@codesourcery.com>
20364
20365 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20366
81c0c964
PT
203672012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20368
20369 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20370 of the non-standard EPFNOSUPPORT.
20371
0ea698ae
ST
203722011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20373
20374 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20375 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20376 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20377
d220b117
UD
203782012-01-21 Ulrich Drepper <drepper@gmail.com>
20379
20380 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20381
3e1aa84e
UD
203822012-01-20 Ulrich Drepper <drepper@gmail.com>
20383
20384 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20385 transient errors.
20386 * nscd/grpcache.c (cache_addgr): Likewise.
20387 * nscd/hstcache.c (cache_addhst): Likewise.
20388 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20389 * nscd/pwdcache.c (cache_addpw): Likewise.
20390 * nscd/servicescache.c (cache_addserv): Likewise.
20391
400aa020
UD
203922012-01-16 Ulrich Drepper <drepper@gmail.com>
20393
d77e7869
UD
20394 * malloc/malloc.c: Various cleanups.
20395 * malloc/hooks.c: Likewise.
20396
400aa020
UD
20397 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20398 * stdlib/bug-fmtmsg1.c: New file.
20399
20400 * stdlib/fmtmsg.c (init): Add missing unlock.
20401 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20402
e0a309cf
MP
204032012-01-12 Marek Polacek <polacek@redhat.com>
20404
20405 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20406 and _GNU_SOURCE.
20407
929d11c7
WS
204082012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20409
20410 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20411 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20412 macro to ensure uniqueness of label name.
20413 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20414 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20415
41d0e869
UD
204162012-01-11 Ulrich Drepper <drepper@gmail.com>
20417
0cc5ed3b
UD
20418 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20419
41d0e869
UD
20420 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20421 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20422 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20423 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20424
a47a831a
UD
204252012-01-10 Ulrich Drepper <drepper@gmail.com>
20426
daa891c0
UD
20427 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20428
20429 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20430 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20431 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20432
e58ef0f2
UD
20433 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20434
a47a831a 20435 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
20436 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20437 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 20438 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
20439
20440 * math/bits/math-finite.h: Add ldexp support.
20441
a0bfc9c7
MP
204422012-01-10 Marek Polacek <polacek@redhat.com>
20443
20444 * locale/programs/localedef.h (show_archive_content): Add noreturn
20445 attribute.
20446
d6e97a1d
UD
204472012-01-09 Ulrich Drepper <drepper@gmail.com>
20448
20449 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20450
d5835c26
UD
204512012-01-08 Ulrich Drepper <drepper@gmail.com>
20452
e5f484c6
UD
20453 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20454
d5835c26
UD
20455 * io/Makefile (headers): Add bits/poll2.h.
20456
d1f741e9
WS
204572011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20458
20459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20460 typo #include statement.
20461
ec09c1c4
UD
204622012-01-08 Ulrich Drepper <drepper@gmail.com>
20463
20464 * include/sys/cdefs.h: Define __attribute_alloc_size.
20465 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20466 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20467 * elf/pldd.c: Likewise.
20468 * iconv/iconv_charmap.c: Likewise.
20469 * iconv/iconvconfig.c: Likewise.
20470 * iconv/strtab.c: Likewise.
20471 * locale/programs/locale.c: Likewise.
20472 * locale/programs/localedef.h: Likewise.
20473 * locale/programs/simple-hash.c: Likewise.
20474 * nscd/nscd.h: Likewise.
20475 * nss/makedb.c: Likewise.
20476 * sysdeps/generic/ldconfig.h: Likewise.
20477 * locale/programs/localedef.c: Remove xmalloc prototype.
20478 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20479
20b38e03
PP
204802012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20481
20482 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20483 appropriate.
20484
a0da5fe1
UD
204852012-01-08 Ulrich Drepper <drepper@gmail.com>
20486
1d5a644a 20487 * math/Makefile (tests): Add tst-CMPLX.
669704fd 20488 * math/tst-CMPLX.c: New file.
1d5a644a 20489
8784a6db
UD
20490 * math/complex.h (CMPLXL): Fix typo.
20491
d9a216c0
UD
20492 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20493 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20494 GLIBC_2.16.
20495 * debug/tst-chk1.c: Add poll and ppoll tests.
20496 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20497 * include/sys/poll.h: Add hidden proto for ppoll.
20498 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20499 * sysdeps/mach/hurd/ppoll.c: Likewise.
20500 * io/ppoll.c: Likewise.
20501 * debug/poll_chk.c: New file.
20502 * debug/ppoll_chk.c: New file.
20503 * include/bits/poll2.h: New file.
20504 * io/bits/poll2.h: New file.
20505
ac097f5c
UD
20506 [BZ #1350]
20507 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20508
2119dcfa
UD
20509 * configure.in: static is always set to yes. Remove.
20510 * config.make.in: Don't set build-static.
20511 * Makeconfig: Remove use of build-static.
20512 * dlfcn/Makefile: Likewise.
20513 * elf/Makefile: Likewise.
20514 * math/Makefile: Likewise.
20515 * misc/Makefile: Likewise.
20516 * nptl/Makefile: Likewise.
20517 * sysdeps/mach/hurd/Makefile: Likewise.
20518
121766a9
UD
20519 * configure.in: PWD_P is not used anymore.
20520 * config.make.in: Remove PWD_P entry.
20521
51a1d39c 20522 * configure.in: Remove last remnants of RANLIB.
8720d066 20523 No need to check for signed size_t anymore.
215f4bdc
UD
20524 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20525 and IA-64.
3857022a 20526 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
20527 * aclocal.m4: Likewise.
20528
d3ed7225
UD
20529 * wcsmbs/mbrtoc16.c: Implement using towc function.
20530 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20531 * wcsmbs/wcsmbsload.c: Likewise.
20532 * iconv/gconv_simple.c: Likewise.
20533 * iconv/gconv_int.h: Likewise.
20534 * iconv/gconv_builtin.h: Likewise.
20535 * iconv/iconv_prog.c: Remove CHAR16 handling.
20536
20537 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20538
20539 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20540
a0da5fe1
UD
20541 * configure.in: Remove --with-elf and --enable-bounded options.
20542 Dont set base_machine for ia64. More non-ELF conditions removed.
20543 Remove testing and setting of leading underscore information.
20544 * config.make.in (build-bounded): Set to no.
20545 * config.h.in: Remove NO_UNDERSCORES entry.
20546 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20547 them.
20548 * csu/start.c: Remove !NO_UNDERSCORE code.
20549 * locale/localeinfo.h: Likewise.
20550 * sysdeps/generic/machine-gmon.h: Likewise.
20551 * sysdeps/generic/sysdep.h: Likewise.
20552 * sysdeps/i386/sysdep.h: Likewise.
20553 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20554 * sysdeps/mach/sysdep.h: Likewise.
20555 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20556 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20557 * sysdeps/sh/sysdep.h: Likewise.
20558 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20559 * sysdeps/unix/i386/sysdep.S: Likewise.
20560 * sysdeps/unix/sparc/start.c: Likewise.
20561 * sysdeps/unix/sparc/sysdep.S: Likewise.
20562 * sysdeps/unix/sparc/sysdep.h: Likewise.
20563 * sysdeps/unix/start.c: Likewise.
20564 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20565 * sysdeps/x86_64/sysdep.h: Likewise.
20566
df78418a
UD
205672012-01-07 Ulrich Drepper <drepper@gmail.com>
20568
a784e502
UD
20569 [BZ #13553]
20570 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20571 for non-gcc.
20572 * argp/argp-fmtstream.h: Use const instead __const.
20573 * argp/argp.h: Likewise.
20574 * assert/assert.h: Likewise.
20575 * bits/fenv.h: Likewise.
20576 * bits/sched.h: Likewise.
20577 * bits/sigset.h: Likewise.
20578 * bits/sigthread.h: Likewise.
20579 * catgets/nl_types.h: Likewise.
20580 * conform/data/pthread.h-data: Likewise.
20581 * crypt/crypt-private.h: Likewise.
20582 * crypt/crypt.h: Likewise.
20583 * crypt/crypt_util.c: Likewise.
20584 * ctype/ctype.h: Likewise.
20585 * debug/execinfo.h: Likewise.
20586 * debug/mbsnrtowcs_chk.c: Likewise.
20587 * debug/mbsrtowcs_chk.c: Likewise.
20588 * debug/wcsnrtombs_chk.c: Likewise.
20589 * debug/wcsrtombs_chk.c: Likewise.
20590 * debug/wcstombs_chk.c: Likewise.
20591 * dirent/dirent.h: Likewise.
20592 * dlfcn/dlfcn.h: Likewise.
20593 * elf/neededtest4.c: Likewise.
20594 * grp/grp.h: Likewise.
20595 * gshadow/gshadow.h: Likewise.
20596 * iconv/gconv.h: Likewise.
20597 * iconv/gconv_int.h: Likewise.
20598 * iconv/gconv_simple.c: Likewise.
20599 * iconv/iconv.h: Likewise.
20600 * iconv/loop.c: Likewise.
20601 * iconv/skeleton.c: Likewise.
20602 * include/aio.h: Likewise.
20603 * include/aliases.h: Likewise.
20604 * include/argz.h: Likewise.
20605 * include/arpa/inet.h: Likewise.
20606 * include/assert.h: Likewise.
20607 * include/dirent.h: Likewise.
20608 * include/dlfcn.h: Likewise.
20609 * include/execinfo.h: Likewise.
20610 * include/fcntl.h: Likewise.
20611 * include/fenv.h: Likewise.
20612 * include/glob.h: Likewise.
20613 * include/grp.h: Likewise.
20614 * include/libintl.h: Likewise.
20615 * include/mntent.h: Likewise.
20616 * include/netdb.h: Likewise.
20617 * include/pwd.h: Likewise.
20618 * include/rpc/netdb.h: Likewise.
20619 * include/sched.h: Likewise.
20620 * include/search.h: Likewise.
20621 * include/shadow.h: Likewise.
20622 * include/signal.h: Likewise.
20623 * include/stdio.h: Likewise.
20624 * include/stdlib.h: Likewise.
20625 * include/string.h: Likewise.
20626 * include/sys/socket.h: Likewise.
20627 * include/sys/stat.h: Likewise.
20628 * include/sys/statfs.h: Likewise.
20629 * include/sys/statvfs.h: Likewise.
20630 * include/sys/syslog.h: Likewise.
20631 * include/sys/time.h: Likewise.
20632 * include/sys/uio.h: Likewise.
20633 * include/time.h: Likewise.
20634 * include/unistd.h: Likewise.
20635 * include/utmp.h: Likewise.
20636 * include/wchar.h: Likewise.
20637 * include/wctype.h: Likewise.
20638 * inet/aliases.h: Likewise.
20639 * inet/arpa/inet.h: Likewise.
20640 * inet/netinet/ether.h: Likewise.
20641 * inet/netinet/in.h: Likewise.
20642 * intl/libintl.h: Likewise.
20643 * io/bits/fcntl2.h: Likewise.
20644 * io/fcntl.h: Likewise.
20645 * io/ftw.h: Likewise.
20646 * io/sys/poll.h: Likewise.
20647 * io/sys/stat.h: Likewise.
20648 * io/sys/statfs.h: Likewise.
20649 * io/sys/statvfs.h: Likewise.
20650 * io/utime.h: Likewise.
20651 * libio/bits/stdio.h: Likewise.
20652 * libio/bits/stdio2.h: Likewise.
20653 * libio/libio.h: Likewise.
20654 * libio/libioP.h: Likewise.
20655 * libio/stdio.h: Likewise.
20656 * locale/lc-ctype.c: Likewise.
20657 * locale/locale.h: Likewise.
20658 * login/utmp.h: Likewise.
20659 * malloc/arena.c: Likewise.
20660 * malloc/malloc.c: Likewise.
20661 * malloc/malloc.h: Likewise.
20662 * malloc/mcheck.c: Likewise.
20663 * malloc/mtrace.c: Likewise.
20664 * math/bits/mathcalls.h: Likewise.
20665 * math/fenv.h: Likewise.
20666 * math/math_private.h: Likewise.
20667 * misc/bits/error.h: Likewise.
20668 * misc/bits/syslog.h: Likewise.
20669 * misc/err.h: Likewise.
20670 * misc/error.h: Likewise.
20671 * misc/fstab.h: Likewise.
20672 * misc/mntent.h: Likewise.
20673 * misc/regexp.h: Likewise.
20674 * misc/search.h: Likewise.
20675 * misc/sgtty.h: Likewise.
20676 * misc/sys/mman.h: Likewise.
20677 * misc/sys/syslog.h: Likewise.
20678 * misc/sys/uio.h: Likewise.
20679 * misc/sys/xattr.h: Likewise.
20680 * misc/ttyent.h: Likewise.
20681 * nis/rpcsvc/ypclnt.h: Likewise.
20682 * nss/nss.h: Likewise.
20683 * posix/bits/unistd.h: Likewise.
20684 * posix/fnmatch.h: Likewise.
20685 * posix/glob.h: Likewise.
20686 * posix/sched.h: Likewise.
20687 * posix/spawn.h: Likewise.
20688 * posix/sys/wait.h: Likewise.
20689 * posix/unistd.h: Likewise.
20690 * posix/wordexp.h: Likewise.
20691 * pwd/pwd.h: Likewise.
20692 * resolv/netdb.h: Likewise.
20693 * resource/sys/resource.h: Likewise.
20694 * rt/aio.h: Likewise.
20695 * rt/bits/mqueue2.h: Likewise.
20696 * rt/mqueue.h: Likewise.
20697 * shadow/shadow.h: Likewise.
20698 * signal/signal.h: Likewise.
20699 * socket/send.c: Likewise.
20700 * socket/sendto.c: Likewise.
20701 * socket/sys/socket.h: Likewise.
20702 * stdio-common/printf.h: Likewise.
20703 * stdlib/bits/stdlib.h: Likewise.
20704 * stdlib/fmtmsg.h: Likewise.
20705 * stdlib/monetary.h: Likewise.
20706 * stdlib/stdlib.h: Likewise.
20707 * stdlib/ucontext.h: Likewise.
20708 * streams/stropts.h: Likewise.
20709 * string/argz.h: Likewise.
20710 * string/bits/string2.h: Likewise.
20711 * string/string.h: Likewise.
20712 * string/strings.h: Likewise.
20713 * sunrpc/rpc/auth.h: Likewise.
20714 * sunrpc/rpc/auth_des.h: Likewise.
20715 * sunrpc/rpc/clnt.h: Likewise.
20716 * sunrpc/rpc/netdb.h: Likewise.
20717 * sunrpc/rpc/pmap_clnt.h: Likewise.
20718 * sunrpc/rpc/xdr.h: Likewise.
20719 * sysdeps/generic/inttypes.h: Likewise.
20720 * sysdeps/generic/net/if.h: Likewise.
20721 * sysdeps/generic/sys/swap.h: Likewise.
20722 * sysdeps/gnu/net/if.h: Likewise.
20723 * sysdeps/gnu/utmpx.h: Likewise.
20724 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20725 * sysdeps/i386/i486/bits/string.h: Likewise.
20726 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20727 * sysdeps/s390/bits/string.h: Likewise.
20728 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20729 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20730 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20731 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20732 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20733 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20734 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20735 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20736 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20737 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20738 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20739 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20740 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20741 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20742 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20743 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20744 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20745 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20746 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20747 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20748 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20749 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20750 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20751 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20752 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20753 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20754 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20755 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20756 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20757 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20758 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20759 * sysvipc/sys/ipc.h: Likewise.
20760 * sysvipc/sys/msg.h: Likewise.
20761 * sysvipc/sys/sem.h: Likewise.
20762 * sysvipc/sys/shm.h: Likewise.
20763 * termios/termios.h: Likewise.
20764 * time/sys/time.h: Likewise.
20765 * time/time.h: Likewise.
20766 * wcsmbs/bits/wchar2.h: Likewise.
20767 * wcsmbs/uchar.h: Likewise.
20768 * wcsmbs/wchar.h: Likewise.
20769 * wctype/wctype.h: Likewise.
20770
0269750c
UD
20771 [BZ #13551]
20772 * Makeconfig: Remove all but ELF support including AIX support.
20773 * Makerules: Likewise.
20774 * config.h.in: Likewise.
20775 * config.make.in: Likewise.
20776 * configure: Likewise.
20777 * configure.in: Likewise.
20778 * csu/Makefile: Likewise.
20779 * csu/version.c: Likewise.
20780 * debug/Makefile: Likewise.
20781 * dlfcn/Makefile: Likewise.
20782 * elf/Makefile: Likewise.
20783 * extra-lib.mk: Likewise.
20784 * iconv/Makefile: Likewise.
20785 * include/libc-symbols.h: Likewise.
20786 * include/shlib-compat.h: Likewise.
20787 * resolv/Makefile: Likewise.
20788 * resolv/res_libc.c: Likewise.
20789 * rt/Makefile: Likewise.
20790 * sysdeps/i386/asm-syntax.h: Likewise.
20791 * sysdeps/i386/sysdep.h: Likewise.
20792 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20793 * sysdeps/mach/sysdep.h: Likewise.
20794 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20795 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20796 * sysdeps/s390/asm-syntax.h: Likewise.
20797 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20798 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20799 * sysdeps/sh/sysdep.h: Likewise.
20800 * sysdeps/unix/sparc/sysdep.h: Likewise.
20801 * sysdeps/wordsize-32/divdi3.c: Likewise.
20802 * sysdeps/x86_64/sysdep.h: Likewise.
20803
00bbd29b
UD
20804 * argp/Versions: Remove _argp_unlock_xxx.
20805
20806 [BZ #13559]
20807 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20808 * abilist/libBrokenLocale.abilist: Likewise.
20809 * abilist/libanl.abilist: Likewise.
20810 * abilist/libc.abilist: Likewise.
20811 * abilist/libcrypt.abilist: Likewise.
20812 * abilist/libdl.abilist: Likewise.
20813 * abilist/libm.abilist: Likewise.
20814 * abilist/libnsl.abilist: Likewise.
20815 * abilist/libpthread.abilist: Likewise.
20816 * abilist/libresolv.abilist: Likewise.
20817 * abilist/librt.abilist: Likewise.
20818 * abilist/libthread_db.abilist: Likewise.
20819 * abilist/libutil.abilist: Likewise.
20820 * abilist/libnss_db.abilist: New file.
20821
20822 * scripts/abilist.awk: Add support for indirect functions.
20823
a2693a0e
UD
20824 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20825
3f05895f
UD
20826 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20827
ecb6fb48
UD
20828 * shlib-versions: Remove entries for ports architectures.
20829
664f8cb9
UD
20830 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20831 files in ports.
20832 * elf/stackguard-macros.h: Remove support for IA-64.
20833 * elf/tst-auditmod1.c: Likewise.
20834 * sysdeps/generic/ldsodefs.h: Likewise.
20835
7ae81d88
UD
20836 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20837 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20838 configure files.
20839
bdeba135
UD
20840 [BZ #13552]
20841 * configure.in: Remove --enable-omitfp support.
20842 * FAQ.in: Adjust.
20843 * config.make.in: Likewise.
20844 * Makeconfig: Likewise.
20845 * manual/install.texi: Likewise.
20846
d75a0a62
UD
20847 In case anyone cares, the IA-64 architecture could move to ports.
20848 * sysdeps/ia64/*: Removed.
20849 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 20850 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 20851
dcc9756b
UD
20852 [BZ #13555]
20853 * configure.in: Remove entries for unsupported architectures.
20854
d3761ebc 20855 [BZ #13533]
9954432e
UD
20856 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20857 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20858 routines.
20859 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20860 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20861 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20862 fall back to using wcrtomb.
20863 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20864 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20865 renaming.
20866 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20867 * wcsmbs/tst-c16c32-1.c: New file.
20868
20869 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20870 local variable.
20871
c3a87236
UD
20872 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20873
28926a1b
UD
20874 * elf/tst-unique3.cc: Add explicit declaration of gets.
20875 * elf/tst-unique3lib.cc: Likewise.
20876 * elf/tst-unique3lib2.cc: Likewise.
20877 * elf/tst-unique4.cc: Likewise.
20878
df78418a
UD
20879 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20880
8ecd6b2a
JM
208812012-01-06 Joseph Myers <joseph@codesourcery.com>
20882
20883 [BZ #13566]
20884 * assert/assert.h (static_assert): Don't define for C++.
20885 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20886 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20887
9f115170
UD
208882012-01-03 Ulrich Drepper <drepper@gmail.com>
20889
5e0d0300
UD
20890 * iconv/loop.c (single loop): Fix assertion in storing of
20891 remaining bytes.
20892
9f115170
UD
20893 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20894
81fb02b0
UD
208952012-01-01 Ulrich Drepper <drepper@gmail.com>
20896
20897 * posix/getconf.c: Update copyright year.
20898 * nss/getent.c: Likewise.
a316c1f6 20899 * nss/makedb.c: Likewise.
81fb02b0
UD
20900 * iconv/iconvconfig.c: Likewise.
20901 * iconv/iconv_prog.c: Likewise.
20902 * elf/ldconfig.c: Likewise.
a316c1f6
UD
20903 * elf/pldd.c: Likewise.
20904 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
20905 * catgets/gencat.c: Likewise.
20906 * csu/version.c: Likewise.
20907 * elf/ldd.bash.in: Likewise.
20908 * elf/sprof.c (print_version): Likewise.
20909 * locale/programs/locale.c: Likewise.
20910 * locale/programs/localedef.c: Likewise.
a316c1f6 20911 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
20912 * nscd/nscd.c (print_version): Likewise.
20913 * debug/xtrace.sh: Likewise.
20914 * malloc/memusage.sh: Likewise.
20915 * malloc/mtrace.pl: Likewise.
20916 * debug/catchsegv.sh: Likewise.
20917
2ba92745
JJ
209182011-12-30 Jakub Jelinek <jakub@redhat.com>
20919
20920 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20921 pure attribute.
20922
dadebdae
UD
209232011-12-24 Ulrich Drepper <drepper@gmail.com>
20924
d3761ebc 20925 [BZ #13533]
db6af3eb
UD
20926 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20927 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20928 transformations.
20929 * iconv/gconv_int.h: Likewise.
20930 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20931 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20932 from libc for GLIBC_2.16.
20933 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20934 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20935 * wcsmbs/uchar.h: Really define mbstate_t.
20936 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20937 * wcsmbs/c16rtomb.c: New file.
20938 * wcsmbs/mbrtoc16.c: New file.
20939 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20940 for C/POSIX locale.
20941 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20942 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20943
dadebdae
UD
20944 * wcsmbs/wchar.h: Add missing __restrict.
20945
67371b56
UD
209462011-12-23 Ulrich Drepper <drepper@gmail.com>
20947
74033a25
UD
20948 [BZ #13532]
20949 * time/Makefile (routines): Add timespec_get.
20950 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20951 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20952 timespec for ISO C11.
20953 * time/timespec_get.c: New file.
20954 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20955 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20956
380d7e87
UD
20957 [BZ #13531]
20958 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20959 * stdlib/stdlib.h: Declare aligned_alloc.
20960 * Versions.def: Add GLIBC_2.16 for libc.
20961 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20962
4e9e7a35
UD
20963 [BZ 13527]
20964 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20965 ISO C11.
20966
380d7e87 20967 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
20968 code.
20969
03a71829
UD
20970 [BZ #13528]
20971 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20972
839e283e
UD
20973 [BZ #13529]
20974 * assert/assert.h (static_assert): Define.
20975
ce5294e2 20976 * version.h: Update for 2.16 development version.
90fa7312 20977
8d44e150 20978 [BZ #13526]
d7809905
UD
20979 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20980 _ISOC11_SOURCE.
20981
c0da14cd
UD
20982 * version.h (RELEASE): Bump for 2.15 release.
20983 * include/features.h (__GLIBC_MINOR__): Bump to 15.
20984
530a3249
MP
20985 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
20986 Patch by Marek Polacek <mpolacek@redhat.com>.
20987
67371b56
UD
20988 * bits/byteswap.h: Protect long long constants with __extension__.
20989 * sysdeps/i386/bits/byteswap.h: Likewise.
20990 * sysdeps/ia64/bits/byteswap.h: Likewise.
20991 * sysdeps/s390/bits/byteswap.h: Likewise.
20992 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20993
15db4de1
LD
209942011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20995
20996 [BZ #13540]
bbe315ea
LD
20997 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
20998 destination buffer.
15db4de1
LD
20999 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21000
2b2596b1
MP
210012011-12-23 Marek Polacek <polacek@redhat.com>
21002
21003 * elf/dl-addr.c (determine_info): Add inline keyword.
21004 * elf/tst-auditmod4b.c (check_avx): Likewise.
21005 * elf/tst-auditmod6b.c (check_avx): Likewise.
21006 * elf/tst-auditmod6c.c (check_avx): Likewise.
21007 * elf/tst-auditmod7b.c (check_avx): Likewise.
21008
70c6c246
UD
210092011-12-23 Ulrich Drepper <drepper@gmail.com>
21010
21011 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21012 !__SSE_MATH__.
21013
c044cf14
LD
210142011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21015
15db4de1 21016 [BZ #13540]
c044cf14
LD
21017 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21018 processing for last bytes.
21019
6b13d9d9
BH
210202011-08-06 Bruno Haible <bruno@clisp.org>
21021
d455f537
BH
21022 [BZ #13061]
21023 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21024 U+0385, not to U+1FEE.
21025
6b13d9d9
BH
21026 [BZ #13062]
21027 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21028 entry for U+00A5 U+0301.
21029
db910efd
UD
210302011-12-22 Ulrich Drepper <drepper@gmail.com>
21031
27deeafc
UD
21032 [BZ #13166]
21033 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21034 buffer for the output is too small.
21035
aed9d171
UD
21036 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21037 optimization.
21038
db910efd
UD
21039 [BZ #13185]
21040 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21041 SSE flags if possible.
21042
2bd779ae
LD
210432011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21044
e7f9dac3 21045 [BZ #13540]
2bd779ae
LD
21046 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21047 processing for last bytes.
21048
154bfc16
JM
210492011-12-22 Joseph Myers <joseph@codesourcery.com>
21050
21051 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21052 (syscall-list-default-options, syscall-list-default-condition)
21053 (syscall-list-includes): Define.
21054 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21055 list of ABIs and options and #if conditions for each ABI. Do not
21056 handle common syscalls between ABIs specially.
21057 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21058 Remove.
21059 (syscall-list-variants, syscall-list-32bit-options)
21060 (syscall-list-32bit-condition, syscall-list-64bit-options)
21061 (syscall-list-64bit-condition): Define.
21062 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21063 (syscall-list-variants, syscall-list-32bit-options)
21064 (syscall-list-32bit-condition, syscall-list-64bit-options)
21065 (syscall-list-64bit-condition): Define.
21066 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21067 Remove.
21068 (syscall-list-variants, syscall-list-32bit-options)
21069 (syscall-list-32bit-condition, syscall-list-64bit-options)
21070 (syscall-list-64bit-condition): Define.
21071 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21072 Remove.
21073 (syscall-list-variants, syscall-list-32bit-options)
21074 (syscall-list-32bit-condition, syscall-list-64bit-options)
21075 (syscall-list-64bit-condition): Define.
21076
21eaf3a5
UD
210772011-12-22 Ulrich Drepper <drepper@gmail.com>
21078
16c6f992
UD
21079 * locale/iso-639.def: Add brx entry.
21080
41043168
UD
21081 [BZ #13328]
21082 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21083 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21084
21eaf3a5
UD
21085 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21086 __feraiseexcept_renamed.
21087
e3a851a2
UD
210882011-12-21 Ulrich Drepper <drepper@gmail.com>
21089
4920765e
UD
21090 [BZ #13538]
21091 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21092 EPOLLET with unsigned values.
21093 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21094 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21095
e3a851a2
UD
21096 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21097 to large cancellation.
21098 * math/s_cacoshf.c: Likewise.
21099 * math/s_cacoshl.c: Likewise.
21100
b27e24b8
RK
211012011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21102
21103 [BZ #13305]
aebefeee 21104 [BZ #12786]
b27e24b8
RK
21105 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21106 * math/s_cacoshf.c: Likewise.
21107 * math/s_cacoshl.c: Likewise.
21108
ee190f67
UD
211092011-12-21 Ulrich Drepper <drepper@gmail.com>
21110
21111 [BZ #13439]
21112 * iconv/gconv.h: Define __GCONV_SWAP.
21113 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21114 * iconvdata/utf-16.c: Likewise.
21115 * iconvdata/utf-32.c: Likewise.
21116
707f25df
AS
211172011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21118
21119 [BZ #13524]
21120 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21121 numerator after shifting it by one limb.
21122
d2daaa1e
RÁE
211232011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21124
21125 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21126 under [__USE_EXTERN_INLINES].
21127
a4647e72
UD
211282011-12-17 Ulrich Drepper <drepper@gmail.com>
21129
21130 [BZ #13446]
21131 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21132
f0b264f1
AZ
211332011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21134
21135 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21136 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21137 optimized code.
21138 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21139 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21140 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21141 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21142 for strncasecmp/strncasecmp_l compilation.
21143 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21144 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21145
8ef4f244
MP
211462011-12-08 Marek Polacek <mpolacek@redhat.com>
21147
21148 [BZ #13484]
21149 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21150 of __asm__.
21151
97ac2654
UD
211522011-12-17 Ulrich Drepper <drepper@gmail.com>
21153
21154 [BZ #13506]
21155 * time/tzfile.c (__tzfile_read): Check values from file header.
21156
91d2a845
WS
211572011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21158
21159 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21160 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21161 * powerpc/powerpc32/dl-start.S: Likewise.
21162 * powerpc/powerpc32/elf/start.S: Likewise.
21163 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21164 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21165 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21166 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21167 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21168 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21169 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21170 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21171 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21172 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21173 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21174 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21175 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21176 * powerpc/powerpc32/memset.S: Likewise.
21177 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21178 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21179 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21180 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21181 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21182 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21183 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21184 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21185 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21186 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21187 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21188 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21189 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21190
a1267ba1
AZ
211912011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21192
21193 * math/libm-test.inc: Added more nearbyint tests.
21194 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21195 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21196 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21197 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21198
ad8ac1bd
RL
211992011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21200
21201 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21202 FD_CLOEXEC.
21203
1d3e4b61
UD
212042011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21205
21206 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21207 Add wcscpy-ssse3 wcscpy-c.
21208 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21209 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21210 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21211 * sysdeps/x86_64/wcschr.S: New file.
21212 * sysdeps/x86_64/wcsrchr.S: New file.
21213 * string/test-strcmp.c: Remove checking of wcscmp function for
21214 wrong alignments.
21215 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21216 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21217 wcsrchr-sse2 wcsrchr-c.
21218 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21219 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21220 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21221 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21222 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21223 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21224 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21225 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21226 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21227 * wcsmbc/wcschr.c (WCSCHR): New macro.
21228
5b330a2d
UD
212292011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21230
21231 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21232 * wcsmbs/test-wcsrchr.c: New file.
21233 * string/test-strrchr.c: Add wcsrchr support.
21234 (WIDE): New macro.
21235 * wcsmbs/test-wcscpy.c: New file.
21236 * string/test-strcpy.c: Add wcscpy support.
21237 (WIDE): New macro.
26428b7c 21238
f039c043
UD
212392011-12-10 Ulrich Drepper <drepper@gmail.com>
21240
21241 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21242 the inner loop.
21243
850fb039
AS
212442011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21245
21246 [BZ #13472]
21247 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21248
4efbd5cb
UD
212492011-12-04 Ulrich Drepper <drepper@gmail.com>
21250
52ff5dd0 21251 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 21252 Minor optimizations.
52ff5dd0 21253
4efbd5cb
UD
21254 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21255 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21256 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21257
8a426e12
UD
212582011-12-03 Ulrich Drepper <drepper@gmail.com>
21259
aff2453d
UD
21260 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21261 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21262 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21263 for gcc to avoid warnings.
21264 * inet/Makefile (tests): Add tst-checks.
21265 * inet/tst-checks.c: New file.
21266
21267 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21268 warning.
21269
21270 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21271 __wmemcmp_sse2.
21272
21273 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21274 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21275
8a426e12
UD
21276 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21277
9bea3473
UD
212782011-12-02 Ulrich Drepper <drepper@gmail.com>
21279
3a965496
UD
21280 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21281 problem.
21282
9bea3473
UD
21283 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21284
f101631b
UD
212852011-11-29 Joseph Myers <joseph@codesourcery.com>
21286
21287 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21288 conditional on GCC version.
21289 (__arch_compare_and_exchange_val_8_acq)
21290 (__arch_compare_and_exchange_val_16_acq)
21291 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21292 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21293 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21294
a98275aa
UD
212952011-12-02 Joseph Myers <joseph@codesourcery.com>
21296
21297 * sysdeps/sh/backtrace.c: New file.
21298
d4cc29a2
AS
212992011-12-02 Andreas Schwab <schwab@redhat.com>
21300
21301 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21302 parenthesis.
21303
6257af2d
AS
213042011-12-01 Andreas Schwab <schwab@redhat.com>
21305
21306 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21307 falling back to utime.
21308
b5f44c1a
AS
213092011-11-30 Andreas Schwab <schwab@redhat.com>
21310
21311 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21312 expectations for float.
21313
f3a6cc0a
AS
213142011-11-29 Andreas Schwab <schwab@redhat.com>
21315
21316 * locale/weight.h (findidx): Add parameter len.
21317 * locale/weightwc.h (findidx): Likewise.
21318 * posix/fnmatch_loop.c (FCT): Adjust caller.
21319 * posix/regcomp.c (build_equiv_class): Likewise.
21320 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21321 * posix/regexec.c (check_node_accept_bytes): Likewise.
21322 * string/strcoll_l.c (STRCOLL): Likewise.
21323 * string/strxfrm_l.c (STRXFRM): Likewise.
21324
9d65ea3a
UD
213252011-11-17 Ulrich Drepper <drepper@gmail.com>
21326
21327 * Makefile.in: Remove CVSOPT handling.
21328 * configure.in: Remove use of AC_REVISION.
21329 * iconvdata/Makefile (distribute): No need to filter out CVS.
21330 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21331 handling.
21332
5583a086
AS
213332011-11-16 Andreas Schwab <schwab@redhat.com>
21334
21335 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21336 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21337 [USE_AS_STRNCASECMP_L]: Likewise.
21338 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21339 NO_TLS_DIRECT_SEG_REFS.
21340 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21341 Fix argument offsets for non-PIC.
21342 [USE_AS_STRNCASECMP_L]: Likewise.
21343 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21344 NO_TLS_DIRECT_SEG_REFS.
21345
d62a8200
UD
213462011-11-15 Ulrich Drepper <drepper@gmail.com>
21347
9d65ea3a 21348 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
21349 O_CLOEXEC.
21350 * locale/loadlocale.c (_nl_load_locale): Likewise.
21351
09f93bd3
AS
213522011-11-15 Andreas Schwab <schwab@redhat.com>
21353
446514f9
AS
21354 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21355 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21356 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21357 (SYSCALL_GETTIME): Set errno on error.
21358
09f93bd3
AS
21359 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21360 count references to noai6ai_cached.
21361
312be3f9
UD
213622011-11-15 Ulrich Drepper <drepper@gmail.com>
21363
21364 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21365
21366 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21367 FD_CLOEXEC for /proc/self/maps.
21368
21369 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21370 FD_CLOEXEC for /proc/meminfo.
21371
21372 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21373 gai.conf.
21374
21375 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21376 FD_CLOEXEC for given file.
21377
21378 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21379
21380 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21381 FD_CLOEXEC for /etc/hosts.
21382 (_gethtent): Likewise.
21383
21384 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21385
21386 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21387 cancellation and set FD_CLOEXEC for /etc/netgroup.
21388
21389 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21390 reading /etc/publickey.
21391
21392 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21393 allow cancellation when reading /etc/group.
21394
21395 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21396 cancellation.
21397 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21398
21399 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21400 when using data file.
21401
21402 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21403
21404 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21405 (write_nis_obj): Use "c" and "e" in fopen.
21406
21407 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21408
21409 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21410
21411 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21412
21413 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21414
21415 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21416 locale.alias.
21417
21418 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21419
21420 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21421
21422 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21423
21424 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21425 file parsing and set FD_CLOEXEC.
21426
82af0fa8
UD
214272011-11-14 Ulrich Drepper <drepper@gmail.com>
21428
21429 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21430
a5fb313c
AS
214312011-11-14 Andreas Schwab <schwab@redhat.com>
21432
21433 * malloc/arena.c (arena_get2): Don't call reused_arena when
21434 _int_new_arena failed.
21435
6abf3465
UD
214362011-11-14 Ulrich Drepper <drepper@gmail.com>
21437
21438 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21439 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21440 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21441 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21442 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21443 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21444 to compile strcasecmp and strncasecmp.
21445 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21446 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21447
21448 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21449
76e3966e
UD
214502011-11-13 Ulrich Drepper <drepper@gmail.com>
21451
21452 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21453 locale-defines.sym to gen-as-const-headers.
21454 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21455 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21456 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21457 to compile strcasecmp and strncasecmp.
21458 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21459 strcasecmp_l and strncasecmp_l.
21460 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21461 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21462 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21463 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21464 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21465 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21466 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21467 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21468 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21469 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21470 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21471
ab26144e
UD
214722011-11-12 Ulrich Drepper <drepper@gmail.com>
21473
7edb22ef
UD
21474 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21475 result of SYSDEP_GETTIME_CPU to retval.
21476 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21477 parameter list to macro. Remove trailing semicolon. Adjust users.
21478
9694fc44
UD
21479 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21480 variable.
21481
8ad89ef8
UD
21482 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21483 mantissa words.
21484 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21485
0c822ef9
UD
21486 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21487 from unused variable.
21488
874e0564
UD
21489 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21490 DWARF definitions.
21491 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21492 for assembling.
21493
3a2edc79
UD
21494 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21495 over namespaces.
21496
f3c2577f
UD
21497 * sunrpc/rpc_prot.c (rejected): Fix case value.
21498
294ce126
UD
21499 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21500 unsigned long long int to avoid warnings in shift.
21501
5e2b63c6
UD
21502 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21503 of use of trans.
21504 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21505 variable tmp.
21506
e7f4b08e
UD
21507 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21508 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21509 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21510
ab26144e
UD
21511 * nis/nis_table.c (nis_list): Use variable of correct type for
21512 result of __follow_path call.
21513
8a6d5255
AZ
215142011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21515
21516 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21517 of math functions ceil, trunc, floor, round, and sqrt, when
21518 avaliable on the platform.
21519 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21520 name clash.
21521 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21522 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21523 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21524
aaddc98c
MP
215252011-10-30 Marek Polacek <mpolacek@redhat.com>
21526
21527 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21528 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21529
95b7042b
RM
215302011-11-11 Roland McGrath <roland@hack.frob.com>
21531
21532 * include/unistd.h: Fix __readlink return type.
21533 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21534
57769839
UD
215352011-11-11 Ulrich Drepper <drepper@gmail.com>
21536
21537 * stdlib/ucontext.h: Undo last change for makecontext.
21538
edc5984d
AS
215392011-11-11 Andreas Schwab <schwab@redhat.com>
21540
98591e58
AS
21541 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21542
edc5984d
AS
21543 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21544 * setjmp/setjmp.h: Mark functions as non-leaf.
21545 * setjmp/bits/setjmp2.h: Likewise.
21546 * stdlib/ucontext.h: Likewise.
21547
77cdc054
AS
215482011-11-10 Andreas Schwab <schwab@redhat.com>
21549
21550 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21551 (reused_arena): Don't check arena limit.
21552 (arena_get2): Atomically check arena limit.
21553
fe72eebd
UD
215542011-11-08 Ulrich Drepper <drepper@gmail.com>
21555
5f078c32
UD
21556 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21557 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21558
fe72eebd
UD
21559 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21560 instructions.
21561
ae1bc2fa
AS
215622011-11-07 Andreas Schwab <schwab@redhat.com>
21563
7583a88d
AS
21564 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21565 handler when locking.
21566
ae1bc2fa
AS
21567 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21568 Fix size of allocated buffer.
21569
10fb0bfa
AS
215702011-11-04 Andreas Schwab <schwab@redhat.com>
21571
998832a4
AS
21572 [BZ #10103]
21573 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21574 declarations for long double functions.
21575 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21576
10fb0bfa
AS
21577 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21578
3d7ba52b
AS
215792011-11-03 Andreas Schwab <schwab@redhat.com>
21580
a9ae54a1
AS
21581 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21582 installed.
21583
3d7ba52b
AS
21584 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21585 is disabled.
21586
bc8db248
ST
215872011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21588
21589 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21590
45b96dd6
AS
215912011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21592
647776f6
AS
21593 * include/alloca.h (stackinfo_alloca_round): Define.
21594 (extend_alloca): Use it.
21595 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21596 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21597 here.
21598
d91a8b93
AS
21599 * scripts/check-local-headers.sh: Ignore libaudit.h.
21600
45b96dd6
AS
21601 * nscd/Makefile (extra-objs): Make recursively expanded.
21602
432d41ce
UD
216032011-11-01 Ulrich Drepper <drepper@gmail.com>
21604
34372fc6
UD
21605 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21606 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21607
fadb59f8
UD
21608 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21609 * posix/tst-rfc3484-2.c: Likewise.
21610 * posix/tst-rfc3484-3.c: Likewise.
21611
78239589
UD
21612 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21613 process_vm_writev.
21614 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21615 process_vm_writev.
21616 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21617 process_vm_writev from libc using GLIBC_2.15 version.
21618
432d41ce
UD
21619 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21620
02f9c6cf
PP
216212011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21622
21623 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21624 stack usage.
21625
3a2c0242
UD
216262011-10-31 Ulrich Drepper <drepper@gmail.com>
21627
f4ec4833
UD
21628 [BZ #13367]
21629 * nss/getent.c (initgroups_keys): Show error message in case no group
21630 names are given.
21631
3a2c0242
UD
21632 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21633 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21634 __bump_nl_timestamp.
21635 * nscd/connections (nscd_init): When host database is served open
21636 netlink socket and request notification about configuration changes.
21637 (main_loop_poll): Track netlink file descriptor and bump timestamp
21638 in case data becomes available.
21639 (main_loop_epoll): Likewise.
21640 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21641 (database_pers_head): Add extra_data fileds.
21642 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21643 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21644 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21645 Adjust caller.
21646 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21647 in6ai data, call __free_in6ai.
21648 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21649 Add -DHAVE_NETLINK.
21650 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21651 interface information. Reuse previous data if netlink timestamp
21652 is not changed.
21653 (__bump_nl_timestamp): New function.
21654 (__free_in6ai): New function.
21655
636064eb
UD
216562011-10-30 Ulrich Drepper <drepper@gmail.com>
21657
21658 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21659 close_not_cancel_no_status here.
21660 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21661
9beb2334
UD
216622011-10-29 Ulrich Drepper <drepper@gmail.com>
21663
6ef76f3b
UD
21664 [BZ #13276]
21665 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21666 return value.
21667
0ffc4f3e 21668 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
21669 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21670 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21671
cb95113e
UD
216722011-07-03 Andreas Jaeger <aj@suse.de>
21673
21674 [BZ #10709]
21675 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21676 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21677 * math/libm-test.inc (sin_test): Add test case.
21678
a1b560ff
UD
216792011-10-29 Ulrich Drepper <drepper@gmail.com>
21680
c9aaface
UD
21681 [BZ #13337]
21682 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21683 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21684
d272e7f1
UD
21685 * elf/chroot_canon.c (chroot_canon): Cleanups.
21686
1bc33071
UD
21687 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21688
1760874d
TJ
21689 [BZ #13335]
21690 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21691 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21692
51d91b18
UD
21693 * string/test-strchr.c: Make usable for strchrnul testing.
21694 * string/test-strchrnul.c: New file.
21695 * string/Makefile (strop-tests): Add strchrnul.
21696
a1b560ff 21697 * po/it.po: Update from translation team.
b611fb81 21698 * po/es.po: Likewise.
a1b560ff 21699
a5b81e1f
UD
217002011-10-28 Ulrich Drepper <drepper@gmail.com>
21701
fd52bc6d
UD
21702 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21703 the three constants needed as parameters. Drop the others.
21704 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21705 __m128i_strloadu_tolower.
52e4b9eb
UD
21706 Create and initialize variable zero and use it in all the places
21707 where _mm_setzero_si128 was used.
fd52bc6d 21708
a5b81e1f
UD
21709 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21710 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21711 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21712 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21713 anymore.
21714 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21715 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21716 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21717 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21718 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21719 __mpranred, __mptan.
21720 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21721 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21722 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21723 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21724 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21725 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21726 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21727 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21728 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21729
b4343346
AS
217302011-10-28 Andreas Schwab <schwab@redhat.com>
21731
0c92d8a8
AS
21732 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21733 redefine if SHARED.
21734 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21735
b4343346
AS
21736 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21737 wide char related routines to wcsmbs subdir.
21738
3871f58f
AS
217392011-10-27 Andreas Schwab <schwab@redhat.com>
21740
21741 [BZ #13344]
21742 * misc/sys/cdefs.h (__THROWNL): Define.
21743 * posix/unistd.h: Use __THREADNL instead of __THREAD
21744 for memory synchronization functions.
21745
94d44d9f
RM
217462011-10-26 Roland McGrath <roland@hack.frob.com>
21747
21b64b15 21748 [BZ #13349]
94d44d9f
RM
21749 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21750 doesn't exist.
21751 * manual/stdio.texi (Obstack Streams): Node removed.
21752
f6ce9294
AS
217532011-10-26 Andreas Schwab <schwab@redhat.com>
21754
80479147
AS
21755 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21756 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21757 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21758
f6ce9294
AS
21759 * math/math_private.h (math_force_eval): Allow non-addressable
21760 arguments.
21761 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21762
618280a1
UD
217632011-10-25 Ulrich Drepper <drepper@gmail.com>
21764
e0016b11
UD
21765 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21766 file is not needed.
21767
21768 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21769 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21770 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21771 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21772 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21773 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21774 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21775 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21776 Add AVX variants.
21777 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21778 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21779 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21780 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21781 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21782 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21783 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21784 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21785 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21786 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21787 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21788 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21789 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21790 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21791 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21792 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21793 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21794 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21795 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21796
21797 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21798 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21799
618280a1
UD
21800 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21801 place. Use VEX encoding when compiling for AVX.
21802
37822576
AS
218032011-10-25 Andreas Schwab <schwab@redhat.com>
21804
1f1e1947
AS
21805 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21806 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21807
37822576
AS
21808 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21809
31ea014d
UD
218102011-10-25 Ulrich Drepper <drepper@gmail.com>
21811
d7826aa1 21812 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 21813 useless if() expression.
d7826aa1
UD
21814 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21815 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21816 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21817 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21818 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21819 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21820 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21821 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21822 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21823 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21824 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21825 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21826 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21827 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21828 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21829 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21830 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21831 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21832 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21833
31ea014d
UD
21834 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21835
16437fec
AS
218362011-10-25 Andreas Schwab <schwab@redhat.com>
21837
21838 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21839 condition.
21840 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21841
31d3cc00
UD
218422011-10-25 Ulrich Drepper <drepper@gmail.com>
21843
21844 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21845 .text section. Avoid duplicate constants.
21846 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21847 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21848 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21849 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21850 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21851 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21852 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21853 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21854 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21855 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21856 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21857 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21858 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21859 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21860 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21861 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21862 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21863 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21864 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21865 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21866 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21867 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21868 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21869 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21870 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21871 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21872 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21873 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21874 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21875 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21876 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21877 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21878 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21879 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21880 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21881 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21882 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21883 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21884 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21885 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21886 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21887 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21888 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21889 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21890 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21891
58985aa9
UD
218922011-10-24 Ulrich Drepper <drepper@gmail.com>
21893
202c9deb
UD
21894 * sysdeps/x86_64/dla.h: Move to ...
21895 * sysdeps/x86_64/fpu/dla.h: ...here.
21896 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21897 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 21898
af968f62
UD
21899 * config.make.in: Add have-mfma4 entry.
21900 * configure.in: Substitute libc_cv_cc_fma4.
21901 * math/Makefile (dbl-only-routines): Add sincostab.
21902 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21903 Use __sincostab not sincos.
21904 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21905 name is a macro.
21906 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21907 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21908 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21909 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21910 using __copysign.
21911 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21912 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21913 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21914 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21915 and __inv.
21916 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21917 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21918 __copysign.
21919 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21920 define aliases when function name is a macro.
21921 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21922 sysdeps/ieee754/dbl-64/sincos.tbl.
21923 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21924 fma4-enabled routines.
21925 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21926 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21927 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21928 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21929 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21930 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21931 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21932 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21933 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21934 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21935 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21936 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21937 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21938 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21939 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21940 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21941 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21942 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21943 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21944 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21945 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21946 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21947 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21948 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21949 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21950 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21951 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21952 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21953 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21954 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21955
58985aa9
UD
21956 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21957 rename.
21958 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21959 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21960 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21961 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21962 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21963 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21964 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21965 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21966
a201fbcf
AS
219672011-10-24 Andreas Schwab <schwab@redhat.com>
21968
21969 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21970
fc2ee42a
LD
219712011-10-23 Ulrich Drepper <drepper@gmail.com>
21972
bb3129bd
UD
21973 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21974
0275fff8
UD
21975 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21976 prediction.
21977 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21978
2fa2ae85
UD
21979 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21980 Remove unused variable magic_bits.
21981 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
21982
fc2ee42a
LD
21983 * string/strnlen.c: Define and use STRNLEN macro.
21984 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
21985 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
21986 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
21987 * wcsmbs/wcslen.c: Define and use WCSLEN.
21988 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
21989 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
21990 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
21991 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
21992 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
21993 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
21994 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
21995
ce7dd29f
LD
219962011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21997
21998 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
21999 strnlen-sse2-no-bsf.
22000 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22001 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22002 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22003 Add strnlen support.
22004 (USE_AS_STRNLEN): New macro.
22005 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22006 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22007 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22008 * sysdeps/x86_64/wcslen.S: New file.
22009
979c70a3
MZ
220102011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22011
22012 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22013 XMM-moves are used for copying on small sizes.
22014
2d09f82f
LD
220152011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22016
22017 * wcsmbs/Makefile (strop-tests): Add wcschr.
22018 * wcsmbs/test-wcschr.c: New file.
22019 * string/test-strchr.c: Update.
22020 Add wcschr support.
22021 (WIDE): New macro.
22022
619fccca
LD
220232011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22024
2d09f82f 22025 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
22026 * wcsmbs/test-wcslen.c: New file.
22027 * string/test-strlen.c: Update.
22028 Add wcslen support.
22029 (WIDE): New macro.
22030
09f699ea
UD
220312011-10-23 Ulrich Drepper <drepper@gmail.com>
22032
22033 * po/it.po: Update from translation team.
22034
95584d3b
LD
220352011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22036
22037 * sysdeps/x86_64/wcscmp.S: Update.
22038 Fix wrong comparison semantics.
22039 wcscmp shall use signed comparison not unsigned.
22040 Don't use substraction to avoid overflow bug.
22041 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22042 * wcsmbc/wcscmp.c: Likewise.
22043 * string/test-strcmp.c: Likewise.
22044 Add new tests to check cases with negative values.
22045
c8b3296b
UD
220462011-10-23 Ulrich Drepper <drepper@gmail.com>
22047
22048 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22049 * sysdeps/x86_64/dla.h: ...here. New file.
22050 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22051 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22052 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22053 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22054 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22055 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22056 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22057 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22058 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22059
246ad57a
AS
220602011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22061
22062 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22063 __ynl_finite aliases.
22064
a1a87169
UD
220652011-10-22 Ulrich Drepper <drepper@gmail.com>
22066
0d355eb7
UD
22067 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22068
a1a87169
UD
22069 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22070 define DLA_FMA.
22071 [DLA_FMA] (EMULV): Use DLA_FMA.
22072 [DLA_FMA] (MUL12): Use EMULV.
22073 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22074 that are not needed.
22075 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22076 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22077 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22078 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22079 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22080 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22081 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22082
ee2aafe0
AS
220832011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22084
22085 * math/s_nan.c: Undef __nan.
22086 * math/s_nanf.c: Undef __nanf.
22087 * math/s_nanl.c: Undef __nanl.
22088 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22089 "math_private.h".
22090
bc62c2fb
UD
220912011-10-22 Ulrich Drepper <drepper@gmail.com>
22092
77425c63
UD
22093 * math/s_catan.c: Add branch predictions.
22094 * math/s_catanf.c: Likewise.
22095 * math/s_catanh.c: Likewise.
22096 * math/s_catanhf.c: Likewise.
22097 * math/s_catanhl.c: Likewise.
22098 * math/s_catanl.c: Likewise.
22099 * math/s_cexp.c: Likewise.
22100 * math/s_cexpf.c: Likewise.
22101 * math/s_cexpl.c: Likewise.
22102 * math/s_clog.c: Likewise.
22103 * math/s_clog10.c: Likewise.
22104 * math/s_clog10f.c: Likewise.
22105 * math/s_clog10l.c: Likewise.
22106 * math/s_clogf.c: Likewise.
22107 * math/s_clogl.c: Likewise.
22108 * math/s_csqrt.c: Likewise.
22109 * math/s_csqrtf.c: Likewise.
22110 * math/s_csqrtl.c: Likewise.
22111 * math/s_ctanf.c: Likewise.
22112 * math/s_ctanh.c: Likewise.
22113 * math/s_ctanhf.c: Likewise.
22114 * math/s_ctanhl.c: Likewise.
22115 * math/s_ctanl.c: Likewise.
22116
bc62c2fb
UD
22117 * math/math_private.h: Define __nan, __nanf, __nanl.
22118 * math/s_cacosh.c: Include <math_private.h>.
22119 * math/s_cacoshl.c: Likewise.
22120 * math/s_casinh.c: Likewise.
22121 * math/s_casinhf.c: Likewise.
22122 * math/s_casinhl.c: Likewise.
22123 * math/s_ccos.c: Rely entire on ccosh.
22124 * math/s_ccosf.c: Rely entire on ccoshf.
22125 * math/s_ccosl.c: Rely entirely on ccoshl.
22126 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22127 Remove tests for FE_INVALID.
22128 * math/s_ccoshf.c: Likewise.
22129 * math/s_ccoshl.c: Likewise.
22130 * math/s_csin.c: Likewise.
22131 * math/s_csinf.c: Likewise.
22132 * math/s_csinh.c Likewise.
22133 * math/s_csinhf.c: Likewise.
22134 * math/s_csinhl.c: Likewise.
22135 * math/s_csinl.c: Likewise.
22136 * math/s_ctan.c: Likewise.
22137 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22138 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22139 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22140
8ec250a4
UD
221412011-10-21 Ulrich Drepper <drepper@gmail.com>
22142
c196fed8
UD
22143 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22144 compilation problems.
22145
8ec250a4
UD
22146 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22147 __builtin_expect.
22148
8d4f46c6
UD
221492011-10-20 Ulrich Drepper <drepper@gmail.com>
22150
ed72b654
UD
22151 * sysdeps/i386/configure.in: Test for -mfma4 option.
22152 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22153 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22154 COMMON_CPUID_INDEX_80000001.
22155 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22156 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22157 use it if FMA3 is not supported.
22158 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22159
8d4f46c6
UD
22160 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22161 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22162
d45c60c2
AS
221632011-10-20 Andreas Schwab <schwab@redhat.com>
22164
22165 [BZ #12892]
22166 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22167 it would create a cycle with a link time dependency.
22168
d9a4d2ab
UD
221692011-10-19 Ulrich Drepper <drepper@gmail.com>
22170
855d1560
UD
22171 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22172 instruction.
22173 * string/Makefile (strop-tests): Add rawmemchr.
22174 * string/test-rawmemchr.c: New file.
22175
d9a4d2ab
UD
22176 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22177 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22178 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22179 when compiling str{,n}casecmp and when AVX is available. Hook up
22180 new optimized code in initializers.
22181
8f3b1ffe
AS
221822011-10-19 Andreas Schwab <schwab@redhat.com>
22183
22184 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22185 __feraiseexcept instead of feraiseexcept.
22186
d38f1dba
UD
221872011-10-18 Ulrich Drepper <drepper@gmail.com>
22188
d9a8d0ab
UD
22189 * math/math_private.h: Define defaults for libc_fetestexcept and
22190 libc_feupdateenv.
22191 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22192 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22193 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22194 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22195 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22196 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22197 libc_fetestexcept and libc_feupdateenv.
22198
4855e3dd
UD
22199 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22200 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22201 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22202 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22203 libc_feholdexcept_setround.
22204
581d30e3
UD
22205 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22206 Add s_nearbyint-c and s_nearbyintf-c.
22207 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22208 nearbyintf inlines.
22209 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22210 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22211 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22212 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22213
d38f1dba
UD
22214 * math/math_private.h: Define defaults for libc_fegetround,
22215 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22216 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22217 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22218 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22219 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22220 standard functions.
22221 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22222 Remove comments and hacks for old compiler versions.
22223 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22224 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22225 libc_feholdexceptl.
22226
caa6c9d8
AS
222272011-10-18 Andreas Schwab <schwab@redhat.com>
22228
22229 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
22230 (__feraiseexcept_renamed): Add __NTH.
22231 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
22232 namespace violations.
22233
97c066e6
UD
222342011-10-17 Ulrich Drepper <drepper@gmail.com>
22235
99ce7b04
UD
22236 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22237
1004d182
UD
22238 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22239
228a984d
UD
22240 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22241 recently added interfaces.
22242 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22243
c8553a6a
UD
22244 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22245 about macro parameter expansion.
22246
ed22dcf6
UD
22247 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22248 __NO_MATH_INLINES is defined. Cleanups.
22249
22250 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22251 and __floorf is target has SSE4.1.
22252 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22253 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22254 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22255 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22256
b171c137
UD
22257 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22258 name.
22259 (floorf): Likewise.
22260
97c066e6
UD
22261 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22262
629f62ef
AS
222632011-10-17 Andreas Schwab <schwab@redhat.com>
22264
49a43d80
AS
22265 * misc/sys/cdefs.h: Fix last change.
22266
629f62ef
AS
22267 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22268 database lookup.
22269
e453f6cd
UD
222702011-10-16 Ulrich Drepper <drepper@gmail.com>
22271
aa78043a
UD
22272 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22273
ad0f5cad
UD
22274 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22275 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22276 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22277 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22278 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22279 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22280 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22281 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22282 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22283 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22284 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22285 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22286 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22287 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22288 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22289 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22290 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22291 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22292 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22293 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22294 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22295 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22296
22297 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22298 ceil, ceilf, floor, floorf.
22299
22300 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22301 Perform IRELATIVE relocations last.
22302
e453f6cd
UD
22303 * elf/do-rel.h: Add another parameter nrelative, replacing the
22304 local variable with the same name. Change name of the function
22305 to end in Rel or Rela (uppercase).
22306 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22307 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22308 elf_dynamic_do_##reloc function.
22309
fd5bdc09
UD
223102011-10-15 Ulrich Drepper <drepper@gmail.com>
22311
79b195b5
UD
22312 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22313 is sufficient, at least on modern CPUs.
22314
d4a28569
UD
22315 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22316
b61099b5
UD
22317 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22318 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22319
bcf01e6d
UD
22320 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22321 __expl_finite.
22322 * math/bits/math-finite.h: Add entries for exp.
22323 * math/e_expl.c: Add __*_finite alias.
22324 * sysdeps/i386/fpu/e_exp.S: Likewise.
22325 * sysdeps/i386/fpu/e_expf.S: Likewise.
22326 * sysdeps/i386/fpu/e_expl.c: Likewise.
22327 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22328 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22329 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22330 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22331 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22332 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22333 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22334
ba1a0d59
UD
22335 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22336 is sufficient, at least on modern CPUs.
22337
fd5bdc09
UD
22338 * ctype/ctype-info.c (__ctype_init): Define.
22339 * include/ctype.h (__ctype_init): Declare.
22340 (__ctype_b_loc): The variable is always initialized.
22341 (__ctype_toupper_loc): Likewise.
22342 (__ctype_tolower_loc): Likewise.
22343 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22344 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22345
7872cfb0
AS
223462011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22347
b468825a
AS
22348 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22349
7872cfb0
AS
22350 * configure.in: Also look in $cxxmachine/include for C++ system
22351 headers.
22352
be13f7bf
LD
223532011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22354
22355 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22356 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22357 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22358 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22359 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22360 (USE_AS_WMEMCMP): New macro.
22361 Fixing indents.
22362 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22363 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22364 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22365 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22366 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22367 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22368 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22369 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22370 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22371 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22372 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22373 (USE_AS_WMEMCMP): New macro.
22374 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22375 * sysdeps/string/test-memcmp.c: Update.
22376 Fix simple_wmemcmp.
22377 Add new tests.
22378 * wcsmbs/wmemcmp.c: Update.
22379 (WMEMCMP): New macro.
22380 Fix overflow bug.
22381
556a2007
AJ
223822011-10-12 Andreas Jaeger <aj@suse.de>
22383
22384 [BZ #13268]
22385 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22386
538faaa7
UD
223872011-10-15 Ulrich Drepper <drepper@gmail.com>
22388
ab6737ff
UD
22389 * libio/iofwide.c (do_length): Avoid warning.
22390
538faaa7
UD
22391 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22392
396a21b1
UD
223932011-10-14 Ulrich Drepper <drepper@gmail.com>
22394
cdf2901f
UD
22395 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22396
38ad40ce
UD
22397 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22398 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22399 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22400 * sysdeps/i386/i686/fpu/e_log.S: New file.
22401 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22402 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22403
396a21b1
UD
22404 * ctype/ctype.h: Add support for inlined isXXX functions when
22405 compiling C++ code.
22406
6b1f68c9
AS
224072011-10-14 Andreas Schwab <schwab@redhat.com>
22408
349290c0
AS
22409 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22410
6b1f68c9
AS
22411 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22412
f2282d42
RM
224132011-10-13 Roland McGrath <roland@hack.frob.com>
22414
22415 [BZ #13291]
22416 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22417
5298ffa8
AS
224182011-10-13 Andreas Schwab <schwab@redhat.com>
22419
714fad23
AS
22420 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22421 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22422 feraiseexcept.
22423
81dcc7fb
AS
22424 * sysdeps/x86_64/memrchr.S: Check for zero size.
22425
5298ffa8
AS
22426 * string/stratcliff.c: Add memrchr tests.
22427
951fbcec
LD
224282011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22429
22430 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22431 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22432 rawmemchr-sse2 rawmemchr-sse2-bsf.
22433 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22434 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22435 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22436 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22437 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22438 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22439 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22440 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22441 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22442 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22443 * string/memrchr.c (MEMRCHR): New macro.
22444
0ac5ae23
UD
224452011-10-12 Ulrich Drepper <drepper@gmail.com>
22446
22447 Add integration with gcc's -ffinite-math-only and optimize wrapper
22448 functions in libm.
22449 * Versions.def: Define GLIBC_2.15 version for libm.
22450 * math/Makefile (headers): Add bits/math-finite.h.
22451 * math/bits/math-finite.h: New file.
22452 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22453 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22454 * math/e_acoshl.c: Add __*_finite alias.
22455 * math/e_acosl.c: Likewise.
22456 * math/e_asinl.c: Likewise.
22457 * math/e_atan2l.c: Likewise.
22458 * math/e_atanhl.c: Likewise.
22459 * math/e_coshl.c: Likewise.
22460 * math/e_exp10.c: Likewise.
22461 * math/e_exp10f.c: Likewise.
22462 * math/e_exp10l.c: Likewise.
22463 * math/e_exp2l.c: Likewise.
22464 * math/e_fmodl.c: Likewise.
22465 * math/e_gammal_r.c: Likewise.
22466 * math/e_hypotl.c: Likewise.
22467 * math/e_j0l.c: Likewise.
22468 * math/e_j1l.c: Likewise.
22469 * math/e_jnl.c: Likewise.
22470 * math/e_lgammal_r.c: Likewise.
22471 * math/e_log10l.c: Likewise.
22472 * math/e_log2l.c: Likewise.
22473 * math/e_logl.c: Likewise.
22474 * math/e_powl.c: Likewise.
22475 * math/e_sinhl.c: Likewise.
22476 * math/e_sqrtl.c: Likewise.
22477 * math/e_scalb.c: Completely rewritten and optimized.
22478 * math/e_scalbf.c: Likewise.
22479 * math/e_scalbl.c: Likewise.
22480 * math/w_acos.c: Likewise.
22481 * math/w_acosf.c: Likewise.
22482 * math/w_acosl.c: Likewise.
22483 * math/w_acosh.c: Likewise.
22484 * math/w_acoshf.c: Likewise.
22485 * math/w_acoshl.c: Likewise.
22486 * math/w_asin.c: Likewise.
22487 * math/w_asinf.c: Likewise.
22488 * math/w_asinl.c: Likewise.
22489 * math/w_atan2.c: Likewise.
22490 * math/w_atan2f.c: Likewise.
22491 * math/w_atan2l.c: Likewise.
22492 * math/w_atanh.c: Likewise.
22493 * math/w_atanhf.c: Likewise.
22494 * math/w_atanhl.c: Likewise.
22495 * math/w_exp10.c: Likewise.
22496 * math/w_exp10f.c: Likewise.
22497 * math/w_exp10l.c: Likewise.
22498 * math/w_fmod.c: Likewise.
22499 * math/w_fmodf.c: Likewise.
22500 * math/w_fmodl.c: Likewise.
22501 * math/w_j0.c: Likewise.
22502 * math/w_j0f.c: Likewise.
22503 * math/w_j0l.c: Likewise.
22504 * math/w_j1.c: Likewise.
22505 * math/w_j1f.c: Likewise.
22506 * math/w_j1l.c: Likewise.
22507 * math/w_jn.c: Likewise.
22508 * math/w_jnf.c: Likewise.
22509 * math/w_log.c: Likewise.
22510 * math/w_logf.c: Likewise.
22511 * math/w_logl.c: Likewise.
22512 * math/w_log10.c: Likewise.
22513 * math/w_log10f.c: Likewise.
22514 * math/w_log10l.c: Likewise.
22515 * math/w_log2.c: Likewise.
22516 * math/w_log2f.c: Likewise.
22517 * math/w_log2l.c: Likewise.
22518 * math/w_pow.c: Likewise.
22519 * math/w_powf.c: Likewise.
22520 * math/w_powl.c: Likewise.
22521 * math/w_remainder.c: Likewise.
22522 * math/w_remainderf.c: Likewise.
22523 * math/w_remainderl.c: Likewise.
22524 * math/w_scalb.c: Likewise.
22525 * math/w_scalbf.c: Likewise.
22526 * math/w_scalbl.c: Likewise.
22527 * math/w_sqrt.c: Likewise.
22528 * math/w_sqrtf.c: Likewise.
22529 * math/w_sqrtl.c: Likewise.
22530 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22531 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22532 used.
22533 * math/math_private.h: Declare __kernel_standard_f.
22534 * math/w_cosh.c: Remove cruft and optimize a bit.
22535 * math/w_coshf.c: Likewise.
22536 * math/w_coshl.c: Likewise.
22537 * math/w_exp2.c: Likewise.
22538 * math/w_exp2f.c: Likewise.
22539 * math/w_exp2l.c: Likewise.
22540 * math/w_hypot.c: Likewise.
22541 * math/w_hypotf.c: Likewise.
22542 * math/w_hypotl.c: Likewise.
22543 * math/w_lgamma.c: Likewise.
22544 * math/w_lgamma_r.c: Likewise.
22545 * math/w_lgammaf.c: Likewise.
22546 * math/w_lgammaf_r.c: Likewise.
22547 * math/w_lgammal.c: Likewise.
22548 * math/w_lgammal_r.c: Likewise.
22549 * math/w_sinh.c: Likewise.
22550 * math/w_sinhf.c: Likewise.
22551 * math/w_sinhl.c: Likewise.
22552 * math/w_tgamma.c: Likewise.
22553 * math/w_tgammaf.c: Likewise.
22554 * math/w_tgammal.c: Likewise.
22555 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22556 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22557 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22558 Minor optimizations. Pretty printing. Remove cruft.
22559 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22560 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22561 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22562 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22563 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22564 * sysdeps/i386/fpu/e_asin.S: Likewise.
22565 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22566 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22567 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22568 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22569 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22570 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22571 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22572 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22573 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22574 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22575 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22576 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22577 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22578 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22579 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22580 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22581 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22582 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22583 * sysdeps/i386/fpu/e_log.S: Likewise.
22584 * sysdeps/i386/fpu/e_log10.S: Likewise.
22585 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22586 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22587 * sysdeps/i386/fpu/e_log2.S: Likewise.
22588 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22589 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22590 * sysdeps/i386/fpu/e_logf.S: Likewise.
22591 * sysdeps/i386/fpu/e_logl.S: Likewise.
22592 * sysdeps/i386/fpu/e_pow.S: Likewise.
22593 * sysdeps/i386/fpu/e_powf.S: Likewise.
22594 * sysdeps/i386/fpu/e_powl.S: Likewise.
22595 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22596 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22597 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22598 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22599 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22600 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22601 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22602 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22603 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22604 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22605 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22606 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22607 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22608 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22609 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22610 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22611 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22612 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22613 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22614 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22615 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22616 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22617 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22618 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22619 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22620 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22621 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22622 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22623 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22624 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22625 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22626 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22627 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22628 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22629 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22630 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22631 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22632 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22633 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22634 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22635 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22636 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22637 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22638 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22639 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22640 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22641 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22642 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22643 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22644 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22645 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22646 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22647 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22648 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22649 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22650 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22651 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22652 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22653 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22654 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22655 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22656 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22657 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22658 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22659 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22660 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22661 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22662 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22663 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22664 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22665 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22666 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22667 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22668 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22669 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22670 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22671 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22672 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22673 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22674 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22675 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22676 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22677 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22678 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22679 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22680 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22681 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22682 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22683 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22684 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22685 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22686 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22687 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22688 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22689 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22690 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22691 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22692 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22693 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22694 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22695 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22696 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22697 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22698 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22699 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22700 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22701 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22702 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22703 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22704 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22705 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22706 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22707 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22708 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22709 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22710 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22711 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22712 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22713 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22714 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22715 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22716 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22717 (__isnanf): Likewise.
22718 (__isinf_ns): Likewise.
22719 (__isinf_nsf): Likewise.
22720 (__finite): Likewise.
22721 (__finitef): Likewise.
22722 (__ieee754_sqrt): Define as macro.
22723 (__ieee754_sqrtf): Define as macro.
22724 (__ieee754_sqrtl): Define as macro.
22725 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22726 inlined copy.
22727 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22728 __FINITE_MATH_ONLY__ consistent.
22729 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22730
12cc2fcd
AS
227312011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22732
a843a204
AS
22733 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22734 of rawmemchr.
22735
12cc2fcd
AS
22736 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22737
c853acd5
UD
227382011-10-09 Ulrich Drepper <drepper@gmail.com>
22739
22740 * po/ja.po: Update from translation team.
22741
c658d255
RM
227422011-10-08 Roland McGrath <roland@hack.frob.com>
22743
110946e4
RM
22744 * locale/programs/locarchive.c (prepare_address_space): New function.
22745 (create_archive, enlarge_archive, open_archive): Use it.
22746
50604220
RM
22747 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22748 inside [SHARED], where it is used.
22749
c658d255
RM
22750 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22751
22752 * nss/getent.c (netgroup_keys): Remove unused variable.
22753 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22754
6a621eb7
UD
227552011-10-08 Ulrich Drepper <drepper@gmail.com>
22756
7edb55ce
UD
22757 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22758 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22759 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22760 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22761 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22762 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22763 * math/Makefile (libm-calls): Add s_isinf_ns.
22764 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22765 * math/multc3.c: Likewise.
22766 * math/s_casin.c: Likewise.
22767 * math/s_casinf.c: Likewise.
22768 * math/s_casinl.c: Likewise.
22769 * math/s_ccos.c: Likewise.
22770 * math/s_ccosf.c: Likewise.
22771 * math/s_ccosl.c: Likewise.
22772 * math/s_ctan.c: Likewise.
22773 * math/s_ctanf.c: Likewise.
22774 * math/s_ctanh.c: Likewise.
22775 * math/s_ctanhf.c: Likewise.
22776 * math/s_ctanhl.c: Likewise.
22777 * math/s_ctanl.c: Likewise.
22778 * math/w_fmod.c: Likewise.
22779 * math/w_fmodf.c: Likewise.
22780 * math/w_fmodl.c: Likewise.
22781 * math/w_remainder.c: Likewise.
22782 * math/w_remainderf.c: Likewise.
22783 * math/w_remainderl.c: Likewise.
22784 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22785 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22786 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22787 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22788 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22789 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22790 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22791 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22792
187da0ae
UD
22793 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22794 of the number.
22795 * stdio-common/printf_fphex.c: Likewise.
22796 * stdio-common/printf_size.c: Likewise.
22797
9277c064
UD
22798 * math/e_exp10.c: Include math_private.h using <...> not "...".
22799 * math/e_exp10f.c: Likewise.
22800 * math/e_exp10l.c: Likewise.
22801 * math/e_exp2l.c: Likewise.
22802 * math/e_j0l.c: Likewise.
22803 * math/e_j1l.c: Likewise.
22804 * math/e_jnl.c: Likewise.
22805 * math/e_lgammal_r.c: Likewise.
22806 * math/e_rem_pio2l.c: Likewise.
22807 * math/e_scalb.c: Likewise.
22808 * math/e_scalbf.c: Likewise.
22809 * math/e_scalbl.c: Likewise.
22810 * math/k_cosl.c: Likewise.
22811 * math/k_sinl.c: Likewise.
22812 * math/k_tanl.c: Likewise.
22813 * math/s_cacoshf.c: Likewise.
22814 * math/s_catan.c: Likewise.
22815 * math/s_catanf.c: Likewise.
22816 * math/s_catanh.c: Likewise.
22817 * math/s_catanhf.c: Likewise.
22818 * math/s_catanhl.c: Likewise.
22819 * math/s_catanl.c: Likewise.
22820 * math/s_ccosh.c: Likewise.
22821 * math/s_ccoshf.c: Likewise.
22822 * math/s_ccoshl.c: Likewise.
22823 * math/s_cexp.c: Likewise.
22824 * math/s_cexpf.c: Likewise.
22825 * math/s_cexpl.c: Likewise.
22826 * math/s_clog.c: Likewise.
22827 * math/s_clog10.c: Likewise.
22828 * math/s_clog10f.c: Likewise.
22829 * math/s_clog10l.c: Likewise.
22830 * math/s_clogf.c: Likewise.
22831 * math/s_clogl.c: Likewise.
22832 * math/s_csin.c: Likewise.
22833 * math/s_csinf.c: Likewise.
22834 * math/s_csinh.c: Likewise.
22835 * math/s_csinhf.c: Likewise.
22836 * math/s_csinhl.c: Likewise.
22837 * math/s_csinl.c: Likewise.
22838 * math/s_csqrt.c: Likewise.
22839 * math/s_csqrtf.c: Likewise.
22840 * math/s_csqrtl.c: Likewise.
22841 * math/s_ctan.c: Likewise.
22842 * math/s_ctanf.c: Likewise.
22843 * math/s_ctanh.c: Likewise.
22844 * math/s_ctanhf.c: Likewise.
22845 * math/s_ctanhl.c: Likewise.
22846 * math/s_ctanl.c: Likewise.
22847 * math/s_ldexp.c: Likewise.
22848 * math/s_ldexpf.c: Likewise.
22849 * math/s_ldexpl.c: Likewise.
22850 * math/s_significand.c: Likewise.
22851 * math/s_significandf.c: Likewise.
22852 * math/s_significandl.c: Likewise.
22853 * math/w_acos.c: Likewise.
22854 * math/w_acosf.c: Likewise.
22855 * math/w_acosh.c: Likewise.
22856 * math/w_acoshf.c: Likewise.
22857 * math/w_acoshl.c: Likewise.
22858 * math/w_acosl.c: Likewise.
22859 * math/w_asin.c: Likewise.
22860 * math/w_asinf.c: Likewise.
22861 * math/w_asinl.c: Likewise.
22862 * math/w_atan2.c: Likewise.
22863 * math/w_atan2f.c: Likewise.
22864 * math/w_atan2l.c: Likewise.
22865 * math/w_atanh.c: Likewise.
22866 * math/w_atanhf.c: Likewise.
22867 * math/w_atanhl.c: Likewise.
22868 * math/w_cosh.c: Likewise.
22869 * math/w_coshf.c: Likewise.
22870 * math/w_coshl.c: Likewise.
22871 * math/w_dremf.c: Likewise.
22872 * math/w_exp10.c: Likewise.
22873 * math/w_exp10f.c: Likewise.
22874 * math/w_exp10l.c: Likewise.
22875 * math/w_exp2.c: Likewise.
22876 * math/w_exp2f.c: Likewise.
22877 * math/w_fmod.c: Likewise.
22878 * math/w_fmodf.c: Likewise.
22879 * math/w_fmodl.c: Likewise.
22880 * math/w_hypot.c: Likewise.
22881 * math/w_hypotf.c: Likewise.
22882 * math/w_hypotl.c: Likewise.
22883 * math/w_j0.c: Likewise.
22884 * math/w_j0f.c: Likewise.
22885 * math/w_j0l.c: Likewise.
22886 * math/w_j1.c: Likewise.
22887 * math/w_j1f.c: Likewise.
22888 * math/w_j1l.c: Likewise.
22889 * math/w_jn.c: Likewise.
22890 * math/w_jnf.c: Likewise.
22891 * math/w_jnl.c: Likewise.
22892 * math/w_lgamma.c: Likewise.
22893 * math/w_lgamma_r.c: Likewise.
22894 * math/w_lgammaf.c: Likewise.
22895 * math/w_lgammaf_r.c: Likewise.
22896 * math/w_lgammal.c: Likewise.
22897 * math/w_lgammal_r.c: Likewise.
22898 * math/w_log.c: Likewise.
22899 * math/w_log10.c: Likewise.
22900 * math/w_log10f.c: Likewise.
22901 * math/w_log10l.c: Likewise.
22902 * math/w_log2.c: Likewise.
22903 * math/w_log2f.c: Likewise.
22904 * math/w_log2l.c: Likewise.
22905 * math/w_logf.c: Likewise.
22906 * math/w_logl.c: Likewise.
22907 * math/w_pow.c: Likewise.
22908 * math/w_powf.c: Likewise.
22909 * math/w_powl.c: Likewise.
22910 * math/w_remainder.c: Likewise.
22911 * math/w_remainderf.c: Likewise.
22912 * math/w_remainderl.c: Likewise.
22913 * math/w_scalb.c: Likewise.
22914 * math/w_scalbf.c: Likewise.
22915 * math/w_scalbl.c: Likewise.
22916 * math/w_sinh.c: Likewise.
22917 * math/w_sinhf.c: Likewise.
22918 * math/w_sinhl.c: Likewise.
22919 * math/w_sqrt.c: Likewise.
22920 * math/w_sqrtf.c: Likewise.
22921 * math/w_sqrtl.c: Likewise.
22922 * math/w_tgamma.c: Likewise.
22923 * math/w_tgammaf.c: Likewise.
22924 * math/w_tgammal.c: Likewise.
22925
6a621eb7
UD
22926 * po/ja.po: Update from translation team.
22927
bf582445
AJ
229282011-09-29 Andreas Jaeger <aj@suse.de>
22929
f9efbf3a
AJ
22930 [BZ #13179]
22931 * sunrpc/netname.c (netname2host): Fix logic.
22932
bf582445
AJ
22933 [BZ #6779]
22934 [BZ #6783]
22935 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22936 correctly.
22937 * math/w_remainder.c (__remainder): Likewise.
22938 * math/w_remainderf.c (__remainderf): Likewise.
22939 * math/libm-test.inc (remainder_test): Add test cases.
22940
48693bea
AK
229412011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22942
22943 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22944 sdiv_qrnnd.
22945
42622229
LD
229462011-10-07 Ulrich Drepper <drepper@gmail.com>
22947
22948 * string/test-memcmp.c: Avoid unncessary #defines.
22949 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22950
093ecf92
LD
229512011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22952
22953 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22954 Use new sse2 version for core i3 - i7 as it's faster
22955 than sse42 version.
22956 (bit_Prefer_PMINUB_for_stringop): New.
22957 * sysdeps/x86_64/rawmemchr.S: Update.
22958 Replace with faster SSE2 version.
22959 * sysdeps/x86_64/memrchr.S: New file.
22960 * sysdeps/x86_64/memchr.S: Update.
22961 Replace with faster SSE2 version.
22962
fde56e5c
MP
229632011-09-12 Marek Polacek <mpolacek@redhat.com>
22964
22965 * elf/dl-load.c (lose): Add cast to avoid warning.
22966
21fd49a9
UD
229672011-10-07 Ulrich Drepper <drepper@gmail.com>
22968
5a06e643
UD
22969 * po/ca.po: Update from translation team.
22970
684ae515
UD
22971 * inet/getnetgrent_r.c: Hook up nscd.
22972 * nscd/Makefile (routines): Add nscd_netgroup.
22973 (nscd-modules): Add netgroupcache.
22974 (CFLAGS-netgroupcache.c): Define.
22975 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22976 (cache_search): Add const to second parameter.
22977 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22978 INNETGR.
22979 (dbs): Add netgrdb entry.
22980 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
22981 (verify_persistent_db): Handle netgrdb.
22982 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
22983 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
22984 GETFDNETGR.
22985 (netgroup_response_header): Define.
22986 (innetgroup_response_header): Define.
22987 (datahead): Add netgroup_response_header and innetgroup_response_header
22988 elements.
22989 * nscd/nscd.conf: Add entries for netgroup cache.
22990 * nscd/nscd.h (dbtype): Add netgrdb.
22991 (_PATH_NSCD_NETGROUP_DB): Define.
22992 (netgroup_iov_disabled): Declare.
22993 (xmalloc, xcalloc, xrealloc): Move declarations here.
22994 (cache_search): Adjust prototype.
22995 Add netgroup-related prototypes.
22996 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
22997 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
22998 (__nscd_innetgr): Declare.
22999 * nscd/selinux.c (perms): Use access_vector_t as element type and
23000 add netgroup-related initializers.
23001 * nscd/netgroupcache.c: New file.
23002 * nscd/nscd_netgroup.c: New file.
23003 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23004 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23005 For four parameters use innetgr.
23006 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23007 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23008 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23009 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23010
21fd49a9
UD
23011 * nscd/connections.c (register_traced_file): Don't register file
23012 for disabled databases.
23013
054c0457
UD
230142011-10-06 Ulrich Drepper <drepper@gmail.com>
23015
32b63198
UD
23016 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23017
054c0457
UD
23018 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23019 from tree and freeing node.
23020
64031225
JO
230212011-09-25 Jiri Olsa <jolsa@redhat.com>
23022
23023 * nss/nsswitch.c (__nss_database_lookup): Handle
23024 nss_parse_service_list out of memory case.
23025
0490345c
JO
230262011-09-15 Jiri Olsa <jolsa@redhat.com>
23027
23028 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23029 out of memory case.
23030
3a62d00d
AS
230312011-10-04 Andreas Schwab <schwab@redhat.com>
23032
23033 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23034 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23035 pass it down.
23036 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23037 elf_machine_rela, elf_machine_lazy_rel.
23038 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23039 (ELF_DYNAMIC_DO_REL): Likewise.
23040 (ELF_DYNAMIC_DO_RELA): Likewise.
23041 (ELF_DYNAMIC_RELOCATE): Likewise.
23042 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23043 to ELF_DYNAMIC_DO_REL.
23044 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23045 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23046 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23047 elf_machine_rela.
23048 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23049 skip_ifunc, don't call ifunc function if non-zero.
23050 (elf_machine_rela): Likewise.
23051 (elf_machine_lazy_rel): Likewise.
23052 (elf_machine_lazy_rela): Likewise.
23053 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23054 (elf_machine_lazy_rel): Likewise.
23055 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23056 Likewise.
23057 (elf_machine_lazy_rel): Likewise.
23058 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23059 Likewise.
23060 (elf_machine_lazy_rel): Likewise.
23061 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23062 (elf_machine_lazy_rel): Likewise.
23063 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23064 (elf_machine_lazy_rel): Likewise.
23065 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23066 (elf_machine_lazy_rel): Likewise.
23067 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23068 (elf_machine_lazy_rel): Likewise.
23069 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23070 (elf_machine_lazy_rel): Likewise.
23071 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23072 (elf_machine_lazy_rel): Likewise.
23073
68577918
UD
230742011-09-28 Ulrich Drepper <drepper@gmail.com>
23075
23076 * nss/nss_files/files-init.c (_nss_files_init): Use static
23077 initialization for all the *_traced_file variables.
23078
68822d74
AS
230792011-09-28 Andreas Schwab <schwab@redhat.com>
23080
23081 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23082
2056100b
RM
230832011-09-27 Roland McGrath <roland@hack.frob.com>
23084
23085 [BZ #13226]
23086 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23087
32c76b63
AS
230882011-09-27 Andreas Schwab <schwab@redhat.com>
23089
23090 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23091 Reread the line before reparsing it.
23092
bf972c9d
AS
230932011-09-26 Andreas Schwab <schwab@redhat.com>
23094
23095 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23096
e057a1b5
JM
230972011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23098 Maxim Kuvyrkov <maxim@codesourcery.com>
23099 Joseph Myers <joseph@codesourcery.com>
23100
23101 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23102 if needed for __stack_chk_guard.
23103
bc7e1c36
RM
231042011-09-19 Roland McGrath <roland@hack.frob.com>
23105
ecb1482f
RM
23106 * sysdeps/posix/spawni.c (script_execute): Always define it.
23107 It will be optimized away if unused.
23108 (maybe_script_execute): New function.
23109 (__spawni): Call it.
23110
bc7e1c36
RM
23111 * Makerules: Don't include tls.make.
23112 (config-tls): Always set to thread.
23113 * tls.make.c: File removed.
23114
1c3b002b
MF
231152011-09-19 Mike Frysinger <vapier@gentoo.org>
23116
23117 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23118 * config.make.in (CPPFLAGS-config): New substituted variable.
23119
2840865d
UD
231202011-09-15 Ulrich Drepper <drepper@gmail.com>
23121
88738eb6
UD
23122 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23123
cbf645a6 23124 [BZ #13192]
2840865d
UD
23125 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23126 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23127
b402e91a
RM
231282011-09-15 Roland McGrath <roland@hack.frob.com>
23129
23130 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23131 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23132 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23133 (CALL_FAIL): Likewise.
23134 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23135 (CALL_FAIL): Macro removed.
23136 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23137
4c1a1f71
UD
231382011-09-15 Ulrich Drepper <drepper@gmail.com>
23139
23140 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23141 for __FINITE_MATH_ONLY__ == 1.
23142
edc121be
AS
231432011-09-15 Andreas Schwab <schwab@redhat.com>
23144
23145 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23146 __ieee754_sqrt instead of sqrt.
23147 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23148 __ieee754_sqrtf instead of sqrtf.
23149 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23150 __floorf instead of floorf.
23151 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23152 __floorf, __truncf instead of floorf, truncf.
23153
cd205654
UD
231542011-09-14 Ulrich Drepper <drepper@gmail.com>
23155
ee4d0315
UD
23156 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23157
cd205654
UD
23158 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23159 __extern_always_inline.
23160 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23161 32-bit.
23162
48b67d71
AS
231632011-09-14 Andreas Schwab <schwab@redhat.com>
23164
23165 * elf/rtld.c (dl_main): Also relocate in dependency order when
23166 doing symbol dependency testing.
23167
1ae12c75
AS
231682011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23169
23170 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23171 Always define `refsym'.
23172
995a80df
AS
231732011-09-13 Andreas Schwab <schwab@redhat.com>
23174
e529793b
AS
23175 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23176 (__FD_ELT): Renamed from __FDELT.
23177 * misc/bits/select2.h (__FD_ELT): Likewise.
23178 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23179 __FD_MASK instead of __FDELT, __FDMASK.
23180 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23181 Likewise.
23182 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23183 Likewise.
23184
52d4fef8
AS
23185 * elf/Makefile (gen-ldd): Fix pattern.
23186
995a80df
AS
23187 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23188 (init_tls): Likewise.
23189
8682f8b0
UD
231902011-09-12 Ulrich Drepper <drepper@gmail.com>
23191
23192 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23193
de82006d
AS
231942011-09-12 Andreas Schwab <schwab@redhat.com>
23195
a7c8e6a1
AS
23196 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23197 `struct cmsghdr *' instead of `void *'.
23198 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23199 Likewise.
23200
0f31fe77
AS
232012011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23202
23203 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23204 if non-absolute.
23205 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23206 ldd_rewrite_script.
0f31fe77 23207
32b4c839
UD
232082011-09-11 Ulrich Drepper <drepper@gmail.com>
23209
83cd1420
UD
23210 * configure.in: Remove --with-tls option.
23211 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23212 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23213 out in case it is missing.
23214 * sysdeps/ia64/elf/configure.in: Likewise.
23215 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23216 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23217 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23218 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23219 * sysdeps/sh/elf/configure.in: Likewise.
23220 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23221 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23222 * sysdeps/x86_64/elf/configure.in: Likewise.
23223 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23224 * sysdeps/mach/hurd/tls.h: Likewise.
23225
633f745d
UD
23226 [BZ #13067]
23227 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23228
f318beb8
UD
23229 [BZ #13090]
23230 * configure.in: Fix use of AC_INIT.
23231
32b4c839
UD
23232 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23233
3ce1f295
UD
232342011-09-10 Ulrich Drepper <drepper@gmail.com>
23235
bb016596
UD
23236 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23237 __set_errno.
8e58439c
UD
23238 * malloc/hooks.c: Likewise.
23239
aebae053 23240 [BZ #11929]
02d46fc4
UD
23241 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23242 variables statically.
23243 (narenas): Initialize.
23244 (list_lock): Initialize.
bb016596
UD
23245 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23246 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
23247 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23248 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23249 Add initializers to main_arena and mp_.
23250 (malloc_state): Remove pagesize member. Change all users to use
23251 GLRO(dl_pagesize).
23252
23253 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23254 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23255 is always initialized.
23256
22a89187
UD
23257 * malloc/malloc.c: Removed unused configurations and dead code.
23258 * malloc/arena.c: Likewise.
23259 * malloc/hooks.c: Likewise.
02d46fc4 23260 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 23261
d063d164
UD
23262 * include/tls.h: Removed. USE___THREAD must always be defined.
23263 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23264 * elf/dl-libc.c: Likewise.
23265 * elf/dl-tsd.c: Likewise.
23266 * include/errno.h: Likewise.
23267 * include/netdb.h: Likewise.
23268 * include/resolv.h: Likewise.
23269 * inet/herrno-loc.c: Likewise.
23270 * inet/herrno.c: Likewise.
23271 * malloc/arena.c: Likewise.
23272 * malloc/hooks.c: Likewise.
23273 * malloc/malloc.c: Likewise.
23274 * resolv/res-state.c: Likewise.
23275 * resolv/res_libc.c: Likewise.
23276 * sysdeps/i386/dl-machine.h: Likewise.
23277 * sysdeps/ia64/dl-machine.h: Likewise.
23278 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23279 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23280 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23281 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23282 * sysdeps/sh/dl-machine.h: Likewise.
23283 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23284 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23285 * sysdeps/unix/i386/sysdep.S: Likewise.
23286 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23287 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23288 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23289 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23290 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23291 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23292 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23293 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23294 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23295 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23296 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23297 * sysdeps/x86_64/dl-machine.h: Likewise.
23298 * tls.make.c: Likewise.
23299
3ce1f295
UD
23300 * configure.in: Remove --with-__thread option. Make tests for
23301 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23302 tls_model attribute fail if no support is available. Remove
23303 USE_IN_LIBIO.
23304 * Makeconfig: Adjust for dropped configure option. All features are
23305 now mandatory.
23306 * Makerules: Likewise.
23307 * Versions.def: Likewise.
23308 * argp/argp-fmtstream.c: Likewise.
23309 * argp/argp-fmtstream.h: Likewise.
23310 * argp/argp-help.c: Likewise.
23311 * assert/assert.c: Likewise.
23312 * config.h.in: Likewise.
23313 * config.make.in: Likewise.
23314 * configure: Likewise.
23315 * configure.in: Likewise.
23316 * csu/Versions: Likewise.
23317 * csu/init.c: Likewise.
23318 * elf/tst-audit2.c: Likewise.
23319 * elf/tst-tls10.c: Likewise.
23320 * elf/tst-tls10.h: Likewise.
23321 * elf/tst-tls11.c: Likewise.
23322 * elf/tst-tls12.c: Likewise.
23323 * elf/tst-tls14.c: Likewise.
23324 * elf/tst-tlsmod11.c: Likewise.
23325 * elf/tst-tlsmod12.c: Likewise.
23326 * elf/tst-tlsmod13.c: Likewise.
23327 * elf/tst-tlsmod13a.c: Likewise.
23328 * elf/tst-tlsmod14a.c: Likewise.
23329 * elf/tst-tlsmod15b.c: Likewise.
23330 * elf/tst-tlsmod16a.c: Likewise.
23331 * elf/tst-tlsmod16b.c: Likewise.
23332 * elf/tst-tlsmod7.c: Likewise.
23333 * elf/tst-tlsmod8.c: Likewise.
23334 * elf/tst-tlsmod9.c: Likewise.
23335 * gmon/gmon.c: Likewise.
23336 * grp/fgetgrent_r.c: Likewise.
23337 * grp/putgrent.c: Likewise.
23338 * hurd/fopenport.c: Likewise.
23339 * include/libc-symbols.h: Likewise.
23340 * include/tls.h: Likewise.
23341 * intl/gettextP.h: Likewise.
23342 * intl/loadinfo.h: Likewise.
23343 * locale/global-locale.c: Likewise.
23344 * locale/localeinfo.h: Likewise.
23345 * mach/devstream.c: Likewise.
23346 * malloc/arena.c: Likewise.
23347 * malloc/set-freeres.c: Likewise.
23348 * misc/err.c: Likewise.
23349 * misc/getttyent.c: Likewise.
23350 * misc/mntent_r.c: Likewise.
23351 * posix/getopt.c: Likewise.
23352 * posix/wordexp.c: Likewise.
23353 * pwd/fgetpwent_r.c: Likewise.
23354 * resolv/Versions: Likewise.
23355 * resolv/res_hconf.c: Likewise.
23356 * shadow/fgetspent_r.c: Likewise.
23357 * shadow/putspent.c: Likewise.
23358 * stdio-common/printf_fphex.c: Likewise.
23359 * stdio-common/tmpfile.c: Likewise.
23360 * stdlib/abort.c: Likewise.
23361 * stdlib/fmtmsg.c: Likewise.
23362 * sunrpc/auth_unix.c: Likewise.
23363 * sunrpc/clnt_perr.c: Likewise.
23364 * sunrpc/clnt_tcp.c: Likewise.
23365 * sunrpc/clnt_udp.c: Likewise.
23366 * sunrpc/clnt_unix.c: Likewise.
23367 * sunrpc/openchild.c: Likewise.
23368 * sunrpc/svc_simple.c: Likewise.
23369 * sunrpc/svc_tcp.c: Likewise.
23370 * sunrpc/svc_udp.c: Likewise.
23371 * sunrpc/svc_unix.c: Likewise.
23372 * sunrpc/xdr.c: Likewise.
23373 * sunrpc/xdr_array.c: Likewise.
23374 * sunrpc/xdr_rec.c: Likewise.
23375 * sunrpc/xdr_ref.c: Likewise.
23376 * sunrpc/xdr_stdio.c: Likewise.
23377
1248c1c4
PB
233782011-09-09 Ulrich Drepper <drepper@gmail.com>
23379
23380 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23381
233822011-07-03 Andreas Jaeger <aj@suse.de>
23383
23384 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23385 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23386 regenerate with gen-libm-tests.pl.
23387
233882010-05-12 Petr Baudis <pasky@suse.cz>
23389
23390 [BZ #11589]
23391 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23392 around j0() zero points by switching to j1().
23393 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23394 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23395 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23396 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23397
f22e1074
UD
233982011-09-09 Ulrich Drepper <drepper@gmail.com>
23399
f19009c1
UD
23400 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23401 instead of 0.
23402 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 23403 instead of 0.
f19009c1
UD
23404 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23405 Patch in part by Pavel Roskin <proski@gnu.org>.
23406
3f8cc204
UD
23407 [BZ #13138]
23408 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23409 realloc.
23410 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23411 Free memory block if necessary.
23412
f22e1074
UD
23413 [BZ #12847]
23414 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23415 be NULL. Don't lock in this case.
23416
0a2349f9
RM
234172011-09-09 Roland McGrath <roland@hack.frob.com>
23418
23419 * elf/elf.h (ELFOSABI_GNU): New macro.
23420 (ELFOSABI_LINUX): Define to that.
23421
f3cdd467
DZ
234222011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23423
23424 * string/strncat.c (strncat): Undef the symbol in case it has been
23425 defined in bits/string.h.
23426
74718d13
UD
234272011-09-09 Ulrich Drepper <drepper@gmail.com>
23428
633e9e0f
UD
23429 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23430
0a2349f9 23431 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
23432 link map.
23433
f9924780
AJ
234342011-08-17 Andreas Jaeger <aj@suse.de>
23435
23436 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23437
7f5517aa
PP
234382011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23439 Ian Lance Taylor <iant@google.com>
23440
23441 * math/libm-test.inc (lround_test): New testcase.
23442 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23443
762011fe
UD
234442011-09-08 Ulrich Drepper <drepper@gmail.com>
23445
92963737
UD
23446 * Makefile: Remove support for automatic cvs check-ins.
23447 * Makerules: Likewise.
23448 * config.make.in: Likewise.
23449 * configure.in: Likewise.
23450 * intl/Makefile: Likewise.
23451 * locale/Makefile: Likewise.
23452 * po/Makefile: Likewise.
23453 * posix/Makefile: Likewise.
23454 * sysdeps/gnu/Makefile: Likewise.
23455 * sysdeps/mach/hurd/Makefile: Likewise.
23456 * sysdeps/sparc/sparc32/Makefile: Likewise.
23457
b0727fd8
JS
23458 [BZ #13118]
23459 * posix/Makefile (bug-regex32-ENV): Define.
23460 Patch by John Stanley <jpsinthemix@verizon.net>.
23461
a0f33f99
UD
23462 * misc/Makefile (headers): Add bits/select2.h.
23463 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23464 * misc/bits/select2.h: New file.
23465 * include/bits/select2.h: New file.
23466 * debug/Makefile (routines): Add fdelt_chk.
23467 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23468 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23469 FD_ISSET.
23470 * debug/fdelt_chk.c: New file.
23471
762011fe
UD
23472 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23473 * wcsmbs/test-wmemcmp.c: Likewise.
23474 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 23475 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
23476
234772011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23478
23479 * string/Makefile (strop-tests): Add memcmp.
23480 * string/test-wmemcmp.c: New file.
23481 * string/test-memcmp.c: Add wmemcmp support.
23482
7f513ec8
RM
234832011-09-08 Roland McGrath <roland@hack.frob.com>
23484
0442afb4
RM
23485 [BZ #13153]
23486 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23487 2011-07-19 change.
23488
7f513ec8
RM
23489 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23490 garbage value in a __mach_port_mod_refs call in the cases of the
23491 task-self and thread-self ports.
23492
a12b2239
ST
234932011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23494
23495 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23496
610f9ab4
AS
234972011-09-08 Andreas Schwab <schwab@redhat.com>
23498
7f513ec8 23499 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 23500
48882a1a
LD
235012011-09-07 Ulrich Drepper <drepper@gmail.com>
23502
b49865be
UD
23503 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23504
fdc86bc9
UD
23505 * elf/dl-libc.c (dlerror_run): Pass back error code from
23506 dl_catch_error.
23507
c966526a
UD
23508 [BZ #13123]
23509 * elf/dl-load.c (lose): Free l_origin if it is valid.
23510
48882a1a
LD
23511 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23512 names.
23513 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23514 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23515 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23516 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23517 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23518 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23519
77a2a8b4
AZ
235202011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23521
23522 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23523 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23524 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23525 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23526 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23527 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23528 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23529 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23530 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23531 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23532
24f579d8
AM
235332011-08-15 Alan Modra <amodra@gmail.com>
23534
23535 [BZ #13092]
23536 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23537 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23538 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23539 ppc_mcount to static-only-routines.
23540 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23541 __mcount_internal.
23542 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23543 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23544
3d4837df
UD
235452011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23546
23547 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23548 for finite and infinity parameters.
23549
22700377
WS
235502011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23551
23552 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23553 and add nop instructions for throughput optimization.
23554 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23555
5025581e
WS
235562011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23557
23558 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23559 aligned copy for power7 with vector-scalar instructions.
23560 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23561
08a300c9
L
235622011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23563
23564 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23565 AVX check.
23566
59178ef9
AS
235672011-09-07 Andreas Schwab <schwab@redhat.com>
23568
23569 [BZ #13144]
23570 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23571 last change.
23572
e38ba7ab
UD
235732011-09-07 Ulrich Drepper <drepper@gmail.com>
23574
23575 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23576 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23577 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23578 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23579 clock_gettime.
23580
d53a73ac
UD
235812011-09-06 Ulrich Drepper <drepper@gmail.com>
23582
fc8bffcc
UD
23583 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23584 Forgot to demangle the pointer.
23585
ceaa0c5d
UD
23586 * sysdeps/i386/sysdep.h: Define atom_text_section.
23587 * sysdeps/x86_64/sysdep.h: Likewise.
23588 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23589 section with atom_text_section.
23590 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23591 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23592 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23593 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23594 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23595
a77d3c17
UD
23596 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23597 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23598 already be defined. Change to take two parameters and don't assign
23599 result to variable. Adjust all users.
23600 Define INTERNAL_GETTIME if not already defined.
23601 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23602 call.
23603 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23604 HAVE_CLOCK_GETTIME_VSYSCALL.
23605 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23606
d53a73ac
UD
23607 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23608 gettimeofday vsyscall, just use time.
23609
a8f84144
AS
236102011-09-06 Andreas Schwab <schwab@redhat.com>
23611
23612 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23613 <errno.h>.
23614
ef606249
UD
236152011-09-06 Ulrich Drepper <drepper@gmail.com>
23616
23617 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23618 syscall on x86-64.
23619 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23620 syscall.
23621 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23622 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23623 syscall if possible.
23624
6585cb60
UD
236252011-09-05 Ulrich Drepper <drepper@gmail.com>
23626
23627 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23628 e_ident. Don't pass to find_mapsXX.
23629 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23630
a5f524e4
LD
236312011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23632
23633 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23634 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23635 * sysdeps/x86_64/multiarch/strchr.S: Update.
23636 Check bit_slow_BSF bit.
23637 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23638 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23639 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23640
554881ef
UD
236412011-09-05 Ulrich Drepper <drepper@gmail.com>
23642
d96de963
UD
23643 [BZ #13134]
23644 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23645 before glibc 2.15.
23646 (tryshell): Define.
23647 (__spawni): Change last parameter to be flag. Test
23648 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23649 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23650 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23651 * posix/spawni.c: Likewise.
23652 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23653 * posix/spawnp.c: Likewise. Change normal version to use
23654 SPAWN_XFLAGS_USE_PATH.
23655 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23656 SPAWN_XFLAGS_TRY_SHELL.
23657
d48e5868
UD
23658 [BZ #13150]
23659 * posix/glob.h: Remove gcc 1.x support.
23660
554881ef
UD
23661 [BZ #13068]
23662 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23663
693fb948
LD
236642011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23665
23666 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23667 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23668 strrchr-sse2-bsf
23669 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23670 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23671 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23672 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23673 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23674 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23675
1b48c537
UD
236762011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23677
49d42c37
UD
23678 * sysdeps/x86_64/wcscmp.S: New file.
23679
1b48c537
UD
23680 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23681 wcscmp-c wcscmp-sse2
23682 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23683 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23684 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23685 * wcsmbs/wcscmp.c: Allow renaming.
23686
15c95c5d
DM
236872011-09-05 David S. Miller <davem@davemloft.net>
23688
23689 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23690 stack slot, rather than the struct return pointer slot.
23691 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23692 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23693 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23694 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23695
2f0ad8f3
UD
236962011-09-05 Ulrich Drepper <drepper@gmail.com>
23697
d88ae418
UD
23698 * po/ja.po: Update from translation team.
23699
2f0ad8f3
UD
23700 [BZ #13144]
23701 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23702 kernel in 64-bit binaries.
23703
5f4318d1
DM
237042011-09-01 David S. Miller <davem@davemloft.net>
23705
23706 * elf/elf.h (HWCAP_SPARC_*): Move to..
23707 * sysdeps/sparc/sysdep.h: this new file and add new values.
23708 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23709 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23710 _DL_HWCAP_COUNT to 24.
23711 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23712 entries.
23713 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23714 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23715 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23716 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23717 instead of magic constants.
23718 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23719
3ba57516
DM
237202011-08-31 David S. Miller <davem@davemloft.net>
23721
23722 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23723 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23724 Reimplement to do errno handling inline.
23725 (SYSCALL_ERROR_HANDLER): New macro.
23726 (__SYSCALL_STRING): Do not do errno handling in asm.
23727 (__CLONE_SYSCALL_STRING): Delete.
23728 (__INTERNAL_SYSCALL_STRING): Delete.
23729 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23730 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23731 (PSEUDO): Reimplement to do errno handling inline.
23732 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23733 (SYSCALL_ERROR_HANDLER): New macro.
23734 (__SYSCALL_STRING): Do not do errno handling in asm.
23735 (__CLONE_SYSCALL_STRING): Delete.
23736 (__INTERNAL_SYSCALL_STRING): Delete.
23737 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23738 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23739 i386.
23740 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23741 (inline_syscall*): Add 'err' argument.
23742 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23743 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23744 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23745 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23746
23747 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23748 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23749
2bc17433
AS
237502011-08-30 Andreas Schwab <schwab@redhat.com>
23751
23752 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23753
fbeb5f4d
JO
237542011-08-29 Jiri Olsa <jolsa@redhat.com>
23755
23756 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23757 directive.
23758
ad69cc26
DM
237592011-08-24 David S. Miller <davem@davemloft.net>
23760
23761 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23762
39dd69df
AS
237632011-08-24 Andreas Schwab <schwab@redhat.com>
23764
23765 * elf/Makefile: Add rules to build and run unload8 test.
23766 * elf/unload8.c: New file.
23767 * elf/unload8mod1.c: New file.
23768 * elf/unload8mod1x.c: New file.
23769 * elf/unload8mod2.c: New file.
23770 * elf/unload8mod3.c: New file.
23771
23772 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23773 it wasn't used.
23774
2c0b250a
DM
237752011-08-23 David S. Miller <davem@davemloft.net>
23776
23777 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23778 subtract stack bias.
23779 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23780 %sp not %fp in calculations.
23781 (_JMPBUF_UNWINDS_ADJ): Likewise.
23782
22044b48
DM
23783 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23784 (aio_suspend): Call it to force an exception region around the
23785 AIO_MISC_WAIT() invocation.
23786
2cae4995
AS
237872011-08-23 Andreas Schwab <schwab@redhat.com>
23788
23789 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23790 backslash.
23791
873a772e
AJ
237922011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23793
23794 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23795 protection macro.
23796 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23797 and <dl-machine.h>.
23798 (Elf64_FuncDesc): Remove.
23799
25ad0df1
DM
238002011-08-22 David S. Miller <davem@davemloft.net>
23801
23802 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23803 sigaltstack check, add missing cfi directives.
23804 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23805 missing cfi directives, and sigaltstack handling.
23806
e888bcbe
AS
238072011-08-16 Andreas Schwab <schwab@redhat.com>
23808
23809 [BZ #11724]
23810 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23811 object is seen twice.
23812 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23813
23814 * elf/Makefile (distribute): Add tst-initorder2.c.
23815 (tests): Add tst-initorder2.
23816 (modules-names): Add tst-initorder2a tst-initorder2b
23817 tst-initorder2c tst-initorder2d. Add rules to build them.
23818 ($(objpfx)tst-initorder2.out): New rule.
23819 * elf/tst-initorder2.c: New file.
23820 * elf/tst-initorder2.exp: New file.
23821
87162f46
AS
238222011-08-22 Andreas Schwab <schwab@redhat.com>
23823
70538b7f
AS
23824 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23825
f55ffe58
AS
23826 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23827 dependencies back to end of function.
23828
87162f46
AS
23829 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23830 $(elfobjdir)/ld.so.
23831
91b392a4
UD
238322011-08-21 Ulrich Drepper <drepper@gmail.com>
23833
23834 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23835 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23836 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23837 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23838 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23839 of __vdso_gettimeofday.
23840 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23841 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23842 attribute_hidden.
23843 (_libc_vdso_platform_setup): Remove initialization of
23844 __vdso_gettimeofday and __vdso_time.
23845
5c43483f
UD
238462011-08-20 Ulrich Drepper <drepper@gmail.com>
23847
775a77e7
UD
23848 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23849 and fgetc_unlocked.
23850 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23851 getc_unlocked.
89f447ed 23852
49c74ba9
UD
23853 * elf/dl-open.c (add_to_global): Report additions to the global scope
23854 for LD_DEBUG=scopes.
23855 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 23856 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 23857
5c43483f
UD
23858 [BZ #13114]
23859 * stdio-common/Makefile (tests): Add bug24.
23860 * stdio-common/bug24.c: New file.
23861
a101b025
AJ
238622011-08-19 Andreas Jaeger <aj@suse.de>
23863
23864 [BZ #13114]
23865 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23866 non-existant file when using close-on-exec mode.
23867
c88f1766
UD
238682011-08-20 Ulrich Drepper <drepper@gmail.com>
23869
0276a718
UD
23870 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23871 the very first instruction.
23872
c88f1766
UD
23873 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23874 the CFI state in the end.
23875 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23876 inclusion of dl-trampoline.h.
23877 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23878
51ccffa0
AS
238792011-08-19 Andreas Schwab <schwab@redhat.com>
23880
94d7165f
AS
23881 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23882 expectations for long double.
23883
51ccffa0
AS
23884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23885 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23886
fd708658 238872011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
23888
23889 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23890 artificual limit depends upon the system page size.
23891
44f0a71e
UD
238922011-08-17 Ulrich Drepper <drepper@gmail.com>
23893
23894 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23895 * resolv/Makefile: Define CFLAGS-libresolv.
23896
8de79a24
AS
238972011-08-17 Andreas Schwab <schwab@redhat.com>
23898
23899 * nss/makedb.c (compute_tables): Make variables used in nested
23900 function static.
23901
27724598
UD
239022011-08-17 Ulrich Drepper <drepper@gmail.com>
23903
c5305d88
UD
23904 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23905 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23906 if buffer was too small.
23907
27724598
UD
23908 * elf/pldd.c (main): Attach to all threads in the process.
23909 Rewrite /proc handling to use *at functions.
23910
076fe015
UD
239112011-08-16 Ulrich Drepper <drepper@gmail.com>
23912
174baab3
UD
23913 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23914 specifies first scope to show.
23915 (dl_open_worker): Update callers. Move printing scope of new
23916 object to before the relocation.
44f0a71e 23917 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
23918 * sysdeps/generic/ldsodefs.h: Update declaration.
23919
076fe015
UD
23920 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23921 string for the scope number.
23922
a60df2c3
UD
239232011-08-14 Ulrich Drepper <drepper@gmail.com>
23924
23925 * nscd/servicescache.c (cache_addserv): Make sure written is always
23926 initialized.
23927
5e4287d1
RM
239282011-08-14 Roland McGrath <roland@hack.frob.com>
23929
85ae0589
RM
23930 * sysdeps/i386/i486/bits/atomic.h
23931 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23932 statement expression, so as to suppress "set but not used" warning.
23933 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23934
69f63097
RM
23935 * string/strncat.c (STRNCAT): Use prototype definition.
23936
675456ef
RM
23937 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23938 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23939 -Iprograms here.
23940 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23941 (localedef-modules): Add localedef.
23942 (locale-modules): Add locale.
23943
5e4287d1
RM
23944 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23945 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23946 to avoid a warning.
23947
9c96ff23
DM
239482011-08-14 David S. Miller <davem@davemloft.net>
23949
23950 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23951 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23952
f9ddf089
UD
239532011-08-13 Ulrich Drepper <drepper@gmail.com>
23954
44f0a71e 23955 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
23956 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23957 * elf/rtld.c (dl_main): Set l_name of vDSO.
23958 Call _dl_show_scope when DL_DEBUG_SCOPES.
23959 (process_dl_debug): Recognize scopes flag and also set it for all.
23960 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23961 Declare _dl_show_scope.
23962
1dc27704
UD
23963 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23964 (do_dlopen): Pass caller_dlopen to dl_open.
23965 (__libc_dlopen_mode): Initialize caller_dlopen.
23966
f9ddf089
UD
23967 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23968 of libc. Make tolower call locale-independent. Optimize a bit by
23969 using isdigit instead of isalnum.
23970 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23971
9ac533d3
UD
239722011-08-12 Ulrich Drepper <drepper@gmail.com>
23973
23974 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23975 was a dependency or dynamically loaded.
23976
89edf2e9
UD
239772011-08-11 Ulrich Drepper <drepper@gmail.com>
23978
8e999d29
UD
23979 * intl/l10nflist.c: Allow architecture-specific pop function.
23980 * sysdeps/x86_64/l10nflist.c: New file.
23981
89edf2e9
UD
23982 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
23983 classification.
23984
14d96785
AS
239852011-08-10 Andreas Schwab <schwab@redhat.com>
23986
23987 * include/dirent.h: Add libc_hidden_proto for scandirat and
23988 scandirat64. Don't declare __scandirat64.
23989 * dirent/scandirat.c: Add libc_hidden_def.
23990 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
23991 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
23992
6761ac04
DM
239932011-08-10 David S. Miller <davem@davemloft.net>
23994
23995 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
23996 enum.
23997 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23998 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23999 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24000
c55fbd1e
UD
240012011-08-09 Ulrich Drepper <drepper@gmail.com>
24002
24003 * Versions.def [libc]: Add GLIBC_2.15.
24004 * dirent/Makefile (routines): Add scandirat and scandirat64.
24005 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24006 GLIBC_2.15.
24007 * dirent/dirent.h: Declare scandirat and scandirat64.
24008 * dirent/scandirat.c: New file.
24009 * dirent/scandirat64.c: New file.
24010 * sysdeps/wordsize-64/scandirat.c: New file.
24011 * sysdeps/wordsize-64/scandirat64.c: New file.
24012 * dirent/opendir.c: Define opendirat.
24013 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24014 using scandirat.
24015 * dirent/scandir64.c: Adjust for scandir.c change.
24016 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24017 __scandirat64, and __scandir_cancel_handler.
24018 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24019 additional parameter and use openat instead of open (outside of ld.so).
24020 Add new __opendir as wrapper around __opendirat.
24021 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24022 here without requiring old scandirat implementation.
24023
879165f2
UD
240242011-08-08 Ulrich Drepper <drepper@gmail.com>
24025
24026 * dirent/scandir.c (cancel_handler): Renamed to
24027 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24028 defined. Adjust users.
24029 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24030 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24031
cb7e923b
UD
240322011-08-04 Ulrich Drepper <drepper@gmail.com>
24033
16292edd
UD
24034 * string/test-string.h (IMPL): Use __STRING to expand name and then
24035 stringify it.
24036
cb7e923b
UD
24037 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24038 of cleanups.
24039
cff82933
LD
240402011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24041
24042 * string/Makefile: Update.
24043 (strop-tests): Append strncat.
24044 * string/test-wcscmp.c: New file.
24045 New comprehensive test for wcscmp.
24046 * string/test-strcmp.c: Update.
24047 (WIDE): New define.
24048
9be9bfcc
AS
240492011-07-22 Andreas Schwab <schwab@redhat.com>
24050
24051 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24052 line.
24053
2e96f1c7
AS
240542011-07-26 Andreas Schwab <schwab@redhat.com>
24055
24056 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24057 encoding to ACE if AI_IDN.
24058
85188888
JJ
240592011-08-01 Jakub Jelinek <jakub@redhat.com>
24060
24061 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24062 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24063
5fa16e9b
LD
240642011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24065
24066 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24067 Fix overflow bug in strncat.
24068 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24069
24070 * string/test-strncat.c: Update.
24071 Add new tests for checking overflow bugs.
24072
240732011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24074
24075 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24076 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24077 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24078 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24079 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24080 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24081 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24082 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24083 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24084
24085 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24086 (USE_AS_STRCAT): Define.
24087 Add strcat and strncat support.
24088 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24089
8c1a459f
AS
240902011-07-25 Andreas Schwab <schwab@redhat.com>
24091
24092 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24093 __n bigger than INT_MAX+1.
24094 (__strncmp_g): Likewise.
24095
bba33c28
UD
240962011-07-23 Ulrich Drepper <drepper@gmail.com>
24097
798be72d
UD
24098 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24099 * libio/stido.h: Likewise.
24100
8accd4dc
UD
24101 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24102 (AF_NFC): Define.
24103 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24104 (AF_NFC): Define.
24105
cbff0d96
UD
24106 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24107 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24108 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24109 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24110 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24111
9191c04a
UD
24112 [BZ #13021]
24113 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24114 installed.
24115
bba33c28
UD
24116 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24117 typo.
24118 (_dl_x86_64_save_sse): Likewise.
24119
90f139dd
UD
241202011-07-22 Ulrich Drepper <drepper@gmail.com>
24121
1aae088a
UD
24122 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24123 OSXSAVE.
24124 (_dl_x86_64_save_sse): Likewise.
24125
8e2045f5
UD
24126 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24127
90f139dd
UD
24128 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24129
1d002f25
AS
241302011-07-21 Andreas Schwab <schwab@redhat.com>
24131
24132 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24133 change.
24134 (_dl_x86_64_save_sse): Use correct AVX check.
24135
21137f89
UD
241362011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24137
24138 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24139 bug in strncpy/strncat.
24140 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24141
a65c0b7a
UD
241422011-07-21 Ulrich Drepper <drepper@gmail.com>
24143
24144 * string/tester.c (test_strcat): Add tests for different alignments
24145 of source and destination.
24146 (test_strncat): Likewise.
24147
6986b98a
UD
241482011-07-20 Ulrich Drepper <drepper@gmail.com>
24149
90bb2039
UD
24150 [BZ #12852]
24151 * posix/glob.c (glob): Check passed in values before using them in
24152 expressions to avoid some overflows.
24153 (glob_in_dir): Likewise.
24154
5644ef54
UD
24155 [BZ #13007]
24156 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24157 check for AVX enablement so that we don't crash with old kernels and
24158 new hardware.
24159 * elf/tst-audit4.c: Add same checks here.
24160 * elf/tst-audit6.c: Likewise.
24161
24162 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 24163
bfc9dc9b
AS
241642011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24165
24166 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24167
702e64bb
UD
241682011-07-20 Ulrich Drepper <drepper@gmail.com>
24169
24170 * po/cs.po: Update from translation team.
24171 * po/bg.po: Likewise.
24172
295e904f
MP
241732011-07-12 Marek Polacek <mpolacek@redhat.com>
24174
24175 * misc/sys/cdefs.h: Add support for const attribute.
24176 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24177 to gnu_dev_{major,minor,makedev} functions.
24178
3ff94596
MP
241792011-07-20 Marek Polacek <mpolacek@redhat.com>
24180
24181 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24182
28b59fca
AS
241832011-07-20 Andreas Schwab <schwab@redhat.com>
24184
24185 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24186 strlen results.
24187
19df733e
AK
241882011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24189
24190 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24191 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24192 register in order to avoid conflicts with the soft frame pointer
24193 being held in r11 when necessary.
24194 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24195 (INTERNAL_VSYSCALL_NCS): Likewise.
24196
c8835729
MP
241972011-07-14 Marek Polacek <mpolacek@redhat.com>
24198
24199 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24200 * elf/dl-fini.c (_dl_fini): Adjust caller.
24201 * elf/dl-close.c (_dl_close_worker): Likewise.
24202 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24203
b902330c
MP
242042011-07-15 Marek Polacek <mpolacek@redhat.com>
24205
8991e135
MP
24206 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24207 "aux_cache->nlibs < 0".
24208
b902330c
MP
24209 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24210 in the reload-count case.
24211
99710781
LD
242122011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24213
24214 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24215 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24216 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24217 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24218 * sysdeps/x86_64/multiarch/strcat.S: New file.
24219 * sysdeps/x86_64/multiarch/strncat.S: New file.
24220 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24221 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24222 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24223 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24224 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24225 (USE_AS_STRCAT): Define.
24226 Add strcat and strncat support.
24227 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24228 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24229 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24230 * string/strncat.c: Update.
24231 (USE_AS_STRNCAT): Define.
24232 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24233 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24234 and i7.
24235 * sysdeps/x86_64/multiarch/init-arch.h
24236 (bit_Prefer_PMINUB_for_stringop): New.
24237 (index_Prefer_PMINUB_for_stringop): Likewise.
24238 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24239 bit_Prefer_PMINUB_for_stringop.
24240
7dc6bd90
UD
242412011-07-19 Ulrich Drepper <drepper@gmail.com>
24242
24243 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24244 buffer64.
24245 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24246 of casting of buffer.
24247 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24248 buffer32 and buffer64.
24249 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24250 writes instead of casting of buffer.
24251 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24252 buffer32.
24253 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24254 casting of buffer.
24255
e0e72284
AS
242562011-07-19 Andreas Schwab <schwab@redhat.com>
24257
24258 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24259
feb1eb0b
UD
242602011-07-19 Ulrich Drepper <drepper@gmail.com>
24261
24262 * nscd/nscd.c (termination_handler): Don't do anything for a database
24263 if it has not yet been initialized.
24264
298711ff
UD
242652011-07-18 Ulrich Drepper <drepper@gmail.com>
24266
24267 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24268
242692011-07-15 Marek Polacek <mpolacek@redhat.com>
24270
24271 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24272
f9d68389
UD
242732011-07-18 Ulrich Drepper <drepper@gmail.com>
24274
24275 * po/nl.po: Update from translation team.
24276 * po/sv.po: Likewise.
24277
db290cf5
RM
242782011-07-16 Roland McGrath <roland@hack.frob.com>
24279
24280 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24281 now disallowed by GCC.
5c550700 24282
fd5e21c7
RM
24283 * configure.in (use-default-link): Default to yes if a test -shared
24284 link meets our qualifications.
24285 * configure: Regenerated.
24286
5c550700
RM
24287 * config.make.in (output-format): New variable.
24288 * configure.in: Check for ld --print-output-format support.
24289 * configure: Regenerated.
24290 * Makerules ($(common-objpfx)format.lds)
24291 [$(output-format) != unknown]: Just use $(output-format),
24292 instead of the linker-script munging.
24293
9fa2c032
RM
242942011-07-14 Roland McGrath <roland@hack.frob.com>
24295
a6928d51
RM
24296 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24297 of $(common-objpfx)shlib.lds.
24298 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24299
661607b3
RM
24300 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24301 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24302
9fa2c032
RM
24303 * configure.in (-z relro check): Adjust test code to add a large
24304 writable data section after it.
24305 * configure: Regenerated.
24306
defe9061
RM
243072011-07-11 Roland McGrath <roland@hack.frob.com>
24308
24309 * configure.in (-z relro check): Fix test code to make the variable
24310 truly const.
24311 * configure: Regenerated.
24312
319b9ad4
UD
243132011-07-11 Ulrich Drepper <drepper@gmail.com>
24314
24315 * nscd/nscd.h (struct traced_file): Define.
24316 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24317 elements. Add traced_files.
24318 (inotify_fd): Declare.
24319 (register_traced_file): Declare.
24320 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24321 (inotify_fd): Export.
24322 (resolv_conf_descr): Remove.
24323 (nscd_init): Move inotify descriptor creation to main.
24324 Don't register files for notification here.
24325 (register_traced_file): New function.
24326 (invalidate_cache): Don't use reset_res to determine whether to call
24327 res_init, go through the list of registered files.
24328 (main_loop_poll): The inotify descriptors are now stored in the
24329 structures for the traced files.
24330 (main_loop_epoll): Likewise
24331 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24332 to __nss_disable_nscd.
24333 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24334 for a database anymore. Check the records for all the registered
24335 files instead.
24336 * nss/Makefile (libnss_files-routines): Add files-init.
24337 (libnss_db-routines): Add db-init.
24338 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24339 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24340 * nss/nss_db/db-init.c: New file.
24341 * nss/nss_files/files-init.c: New file.
24342 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24343 __nss_lookup_function.
24344 (__nss_lookup_function): Call nss_load_library.
24345 (nss_load_all_libraries): New function.
24346 (__nss_disable_nscd): Take parameter with callback function for files
24347 to register. Set is_nscd. Load all the DSOs for the NSS modules
24348 used for the cached services.
24349 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24350 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24351 options for features to all the files in nscd.
24352
24353 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24354
23bee3e8
RM
243552011-07-10 Roland McGrath <roland@hack.frob.com>
24356
24357 * csu/elf-init.c (__libc_csu_init): Comment typo.
24358
46a5b7f0
UD
243592011-07-09 Ulrich Drepper <drepper@gmail.com>
24360
24361 * po/pl.po: Update from translation team.
24362 * po/ja.po: Likewise.
24363 * po/ru.po: Likewise.
24364 * po/ko.po: Likewise.
24365 * po/fr.po: Likewise.
24366
d30cf5bb
RM
243672011-07-09 Roland McGrath <roland@hack.frob.com>
24368
113ddea4
RM
24369 * configure.in (.ctors/.dtors header and trailer check):
24370 Use an empirical test on a built program.
24371 * configure: Regenerated.
24372
574920b4
RM
24373 * configure.in (-z relro check): Use an empirical test on a built DSO.
24374 Detect, but do not require, on ia64.
24375 * configure: Regenerated.
24376
d30cf5bb
RM
24377 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24378 Update tests that use readelf to use $READELF instead.
24379 * configure: Regenerated.
24380
8538fdb3
UD
243812011-07-08 Ulrich Drepper <drepper@gmail.com>
24382
24383 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24384 if the result is not used.
24385
04d08991
AJ
243862011-07-05 Andreas Jaeger <aj@suse.de>
24387
24388 [BZ#9696]
24389 * stdlib/tst-strtod.c: Add testcase.
24390
de283087
AD
243912011-07-07 Ulrich Drepper <drepper@gmail.com>
24392
4e5f31c8 24393 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 24394 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
24395 The latter has a higher limit. Take additional parameter to pass to
24396 the new function.
24397 (__pathconf): Pass file to __statfs_link_max.
24398 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24399 __statfs_link_max.
24400 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24401 __statfs_link_max.
24402
de283087
AD
24403 [BZ #12868]
24404 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24405 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24406 Handle Lustre.
24407 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24408 (__statfs_filesize_max): Likewise.
24409 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24410
c75fa153
AJ
244112011-07-05 Andreas Jaeger <aj@suse.de>
24412
24413 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24414
1a544854
UD
244152011-07-06 Marek Polacek <mpolacek@redhat.com>
24416
24417 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24418 `status' variable.
24419 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24420 Likewise.
24421
6f0eec67
UD
244222011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24423
24424 * Makefile (strop-tests): Add strncat.
24425 * string/test-strncat.c: New file.
24426
aae30307
UD
244272011-06-30 Marek Polacek <mpolacek@redhat.com>
24428
24429 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24430
c0cfb5eb
UD
244312011-06-21 Andreas Jaeger <aj@suse.de>
24432
24433 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24434 Copy rule from iconvdata/Makefile.
24435
01636b21
UD
244362011-07-06 Ulrich Drepper <drepper@gmail.com>
24437
24438 [BZ #12922]
24439 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24440 but no long options are defined, just return 'W'.
24441
9895c8bc
UD
244422011-06-22 Marek Polacek <mpolacek@redhat.com>
24443
24444 [BZ #9696]
24445 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24446
5d4cf042
UD
244472011-07-06 Ulrich Drepper <drepper@gmail.com>
24448
24449 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24450 netgroups to read.
960e5535 24451 (innetgr): Likewise.
5d4cf042 24452
751eb97e
RM
244532011-07-05 Roland McGrath <roland@hack.frob.com>
24454
24455 * config.make.in (install_root): Default to $(DESTDIR).
24456
f15f1e45
UD
244572011-07-05 Ulrich Drepper <drepper@gmail.com>
24458
24459 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24460
4e34ac6a
RM
244612011-07-02 Roland McGrath <roland@hack.frob.com>
24462
5e9b6af4
RM
24463 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24464
84f9ea0f
RM
24465 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24466 containing directory rather than embedding absolute directory names.
24467
ea5ee9f7
RM
24468 * scripts/check-local-headers.sh: Rewritten using awk.
24469 Match by word, not by line. Print error messages for matches.
24470 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24471
1b74661a
RM
24472 * Makerules [shlib-lds-flags empty]:
24473 ($(common-objpfx)libc_pic.opts): New target.
24474 ($(common-objpfx)libc_pic.os.clean): New target.
24475 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24476
24477 * config.make.in (OBJCOPY): New variable.
24478 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24479 * configure: Regenerated.
24480
f781ef40
RM
24481 * config.make.in (use-default-link): New variable.
24482 * configure.in (use_default_link): Grok --with-default-link to set it.
24483 * configure: Regenerated.
24484 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24485 (shlib-lds, shlib-lds-flags): Define to empty.
24486
2d4fa81e
RM
24487 * Makerules (shlib-lds): New variable.
24488 (shlib-lds-flags): New variable.
24489 (build-shlib, build-moduile, build-module-asneeded): Use it.
24490 ($(common-objpfx)libc.so): Use $(shlib-lds).
24491 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24492 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24493
31fffa6b
RM
24494 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24495 DT_FLAGS/DT_FLAGS_1 with zero flags.
24496
4e34ac6a
RM
24497 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24498 linker script munging.
24499
fcfc776b
UD
245002011-07-02 Ulrich Drepper <drepper@gmail.com>
24501
24502 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24503 as 128-bit value.
24504 * crypt/sha512.c (sha512_process_block): Perform total addition using
24505 128-bit if possible.
24506 (__sha512_finish_ctx): Likewise.
24507 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24508 as 64-bit value.
24509 * crypt/sha256.c (SWAP64): Define.
24510 (sha256_process_block): Perform total addition using 64-bit if
24511 possible.
24512 (__sha256_finish_ctx): Likewise.
24513
99231d9a
UD
245142011-07-01 Ulrich Drepper <drepper@gmail.com>
24515
24516 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24517 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24518 * nscd/hstcache.c (cache_addhst): Likewise.
24519 * nscd/grpcache.c (cache_addgr): Likewise.
24520 * nscd/aicache.c (addhstaiX): Likewise
24521 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24522
445b4a53
TK
245232011-07-01 Thorsten Kukuk <kukuk@suse.de>
24524
24525 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24526 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24527 * nscd/hstcache.c (cache_addhst): Likewise.
24528 * nscd/grpcache.c (cache_addgr): Likewise.
24529 * nscd/aicache.c (addhstaiX): Likewise
24530
6d4d8e8e
AS
245312011-07-01 Andreas Schwab <schwab@redhat.com>
24532
24533 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24534 domain only when needed.
24535
89f654c5
AS
245362011-06-30 Andreas Schwab <schwab@redhat.com>
24537
24538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24539 is always restored.
24540
cf3b23ff
UD
245412011-06-29 Ulrich Drepper <drepper@gmail.com>
24542
24543 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24544 are re-adding the entry.
24545 * nscd/servicescache.c (cache_addserv): Likewise.
24546
751626f9
AJ
245472011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24548
24549 * sysdeps/generic/dl-irel.h: fix protection against multiple
24550 inclusions.
24551 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24552
9113ea1f
UD
245532011-06-28 Ulrich Drepper <drepper@gmail.com>
24554
5c0b8d90
UD
24555 [BZ #12935]
24556 * malloc/memusage.sh: Fix quoting in message.
24557 * debug/xtrace.sh: Likewise.
24558
9113ea1f
UD
24559 * configure.in: Remove support for --experimental-malloc option, make
24560 it the default.
24561 * config.make.in: Likewise.
24562 * malloc/Makefile: Likewise.
24563
a4172181
AS
245642011-06-27 Andreas Schwab <schwab@redhat.com>
24565
24566 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24567 two-byte characters.
24568
78a7eee7
RM
245692011-06-27 Roland McGrath <roland@hack.frob.com>
24570
62bede13
RM
24571 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24572 AC_CACHE_CHECK invocation.
24573 * configure: Regenerated.
24574
78a7eee7
RM
24575 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24576
5ce33a62
UD
245772011-06-27 Ulrich Drepper <drepper@gmail.com>
24578
034807a9
UD
24579 [BZ #12350]
24580 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24581 bit from old_res_options.
24582
4902da17
UD
24583 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24584
5ce33a62
UD
24585 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24586 value type for setfct.
24587
c2344f56
L
245882011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24589
24590 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24591 __gettimeofday instead of gettimeofday.
24592
68468076
UD
245932011-06-26 Ulrich Drepper <drepper@gmail.com>
24594
24595 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24596
acb0d739
L
245972011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24598
24599 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24600
24601 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24602 info.
24603
8912479f
L
246042011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24605
24606 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24607 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24608 strcpy-sse2-unaligned strncpy-sse2-unaligned
24609 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24610 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24611 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24612 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24613 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24614 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24615 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24616 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24617 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24618 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24619 (STRCPY): Support SSE2 and SSSE3 versions.
24620
d5495a11
UD
246212011-06-24 Ulrich Drepper <drepper@gmail.com>
24622
24623 [BZ #12874]
24624 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24625 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24626 kernels which artificially limit size of requests.
24627
0b1cbaae
L
246282011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24629
24630 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24631 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24632 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24633 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24634 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24635 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24636 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24637 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24638 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24639 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24640 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24641 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24642 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24643 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24644 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24645 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24646 Enable unaligned load optimization for Intel Core i3, i5 and i7
24647 processors.
24648 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24649 Define.
24650 (index_Fast_Unaligned_Load): Define.
24651 (HAS_FAST_UNALIGNED_LOAD): Define.
24652
07f494a0
MP
246532011-06-23 Marek Polacek <mpolacek@redhat.com>
24654
24655 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24656
fa3fc0fe
UD
246572011-06-22 Ulrich Drepper <drepper@gmail.com>
24658
24659 [BZ #12907]
24660 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24661 until it is clear that the information is realy needed.
24662 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24663
e12df166
AS
246642011-06-22 Andreas Schwab <schwab@redhat.com>
24665
24666 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24667
852eb34d
UD
246682011-06-22 Ulrich Drepper <drepper@gmail.com>
24669
84e2a551
UD
24670 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24671 /sys/devices/system/cpu/online if it is usable.
24672
852eb34d
UD
24673 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24674 reading the information from the /proc filesystem to once a second.
24675
6e502e19
UD
246762011-06-21 Andreas Jaeger <aj@suse.de>
24677
24678 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24679 NULL after inclusion of kernel headers.
24680
75d39ff2
UD
246812011-06-21 Ulrich Drepper <drepper@gmail.com>
24682
51f9aa6a
UD
24683 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24684 calls to internal_setent.
24685
c0244a9d
UD
24686 [BZ #12885]
24687 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24688 addresses using gethostbyname4_r ignore IPv4 addresses.
24689
c5e3c2ae
UD
24690 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24691 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24692
75d39ff2
UD
24693 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24694
42675c6f
DM
246952011-06-20 David S. Miller <davem@davemloft.net>
24696
24697 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24698 inclusions.
24699 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24700
24701 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24702 (elf_irel): Use it.
24703 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24704 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24705 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24706 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24707 * sysdeps/x86_64/dl-irel.h: Likewise.
24708
24709 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24710 * elf/dl-sym.c: Likewise.
24711
57912a71
UD
247122011-06-15 Ulrich Drepper <drepper@gmail.com>
24713
24714 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24715 need to dereference resplen2.
24716
ee22793d
AS
247172011-06-14 Andreas Schwab <schwab@redhat.com>
24718
24719 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24720
a9e836b0
UD
247212011-06-15 Ulrich Drepper <drepper@gmail.com>
24722
77fb9117
UD
24723 * Makeconfig: Define vardbdir and inst_vardbdir.
24724 * nss/Makefile: Add rules to install db-Makefile.
24725
40c1b22c
UD
24726 * nss/nss_db/db-XXX.c: Cleanup.
24727
9f2da732
UD
24728 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24729 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24730 GLIBC_PRIVATE.
24731 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24732 * nss/makedb.c: Implement -g option to specify that value strings
24733 are generated and should not be added to table iterated over for
24734 get*ent calls.
24735 * nss/nss_db/db-initgroups.c: New file.
24736
82e9a1f7
UD
24737 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24738 interface.
24739
c41af17e
UD
24740 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24741 (internal_getgrouplist): Adjust to name change.
24742 Update use_initgroups_entry if this is not the first call.
24743 * nss/databases.def: Add initgroups entry.
24744
a9e836b0
UD
24745 * nss/makedb.c (compute_tables): Check result of multiple hash table
24746 sizes to minimize maximum chain length.
24747
2666d441
UD
247482011-06-14 Ulrich Drepper <drepper@gmail.com>
24749
24750 * Versions.def: Add entry for libnss_db.
24751 * shlib-versions: Likewise.
24752 * nss/Makefile: Add rules to build libnss_db.
24753 * nss/Versions: Add libnss_db information. Organize libnss_files
24754 entries better.
24755 * nss/db-Makefile: Add gshadow support. Change rules for the new
24756 makedb progra. Some minor improvements to generate smaller files.
24757 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24758 here from...
24759 * nss/makedb.c: ...here.
24760 Improve database format to be smaller and require less memory at
24761 runtime.
24762 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24763 db anymore.
24764 * nss/nss_db/db-netgrp.c: Likewise.
24765 * nss/nss_db/db-open.c: Likewise.
24766 * nss/nss_files/flies-XXX.x: Adjust comments.
24767 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24768 * nss/nss_files/files-grp.c: Likewise.
24769 * nss/nss_files/files-hosts.c: Likewise.
24770 * nss/nss_files/files-network.c: Likewise.
24771 * nss/nss_files/files-proto.c: Likewise.
24772 * nss/nss_files/files-pwd.c: Likewise.
24773 * nss/nss_files/files-rpc.c: Likewise.
24774 * nss/nss_files/files-service.c: Likewise.
24775 * nss/nss_files/files-sgrp.c: Likewise.
24776 * nss/nss_files/files-spwd.c: Likewise.
24777 * nss/nss_db/db-alias.c: Removed.
24778 * nss/nss_db/dummy-db.h: Removed.
24779
9ee76b5a
UD
247802011-06-02 Ulrich Drepper <drepper@gmail.com>
24781
24782 * nss/makedb.c: Rewritten to not use database library.
24783 * nss/Makefile: Update to build new makedb program.
24784
c71ca1f8
AJ
247852011-06-14 Andreas Jaeger <aj@suse.de>
24786
24787 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24788 memset declaration.
24789
3154bfb8
UD
247902011-06-10 Andreas Schwab <schwab@redhat.com>
24791
24792 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24793 tmpbuf.
24794
b350afab
RM
247952011-06-10 Roland McGrath <roland@hack.frob.com>
24796
decd4e50
RM
24797 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24798 * elf/Makefile ($(objpfx)ld.so): Likewise.
24799
5615eaf2
RM
24800 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24801 Don't list ld.so twice in dependencies.
24802
24803 * posix/bug-regex31.c: Include <stdlib.h>.
24804
24805 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24806
24807 * nis/nss_compat/compat-spwd.c
24808 (getspent_next_nss_netgr): Remove unused variable.
24809 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24810
24811 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24812 nonmembers" output to use the right array.
24813
24814 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24815
24816 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24817
24818 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24819 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24820 * catgets/gencat.c (read_input_file): Likewise.
24821 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24822
24823 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24824 variable definition inside #if's controlling its use.
24825
24826 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24827
24828 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24829
24830 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24831
24832 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24833 unreachable code.
24834
24835 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24836
b68e08db
RM
24837 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24838 * configure: Regenerated.
24839
b350afab
RM
24840 * Makerules: Revert last change.
24841 * elf/Makefile: Likewise.
24842
28368601
RM
248432011-06-09 Roland McGrath <roland@hack.frob.com>
24844
24845 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24846 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24847 (reloc-link): Likewise.
24848
11988f8f
UD
248492011-06-09 Ulrich Drepper <drepper@gmail.com>
24850
24851 * elf/Makefile: Add rules to build pldd.
24852 * elf/pldd.c: New file.
24853 * elf/pldd-xx.c: New file.
24854
e80fab37
UD
248552011-06-07 Ulrich Drepper <drepper@gmail.com>
24856
24857 * version.h: Update for 2.15 development version.
24858
9b849836
DM
248592011-06-07 David S. Miller <davem@davemloft.net>
24860
24861 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24862 ifuncs.
24863 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24864 elf_machine_lazy_rel): Likewise.
24865 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24866 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24867 elf_machine_lazy_rel): Likewise.
24868 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24869 dl_hwcap via passed in argument.
24870 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24871 Likewise.
24872
5a31b283
AK
248732011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24874
24875 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24876
069e52f8
RM
248772011-06-06 Roland McGrath <roland@hack.frob.com>
24878
24879 [BZ #12849]
24880 * manual/fdl-1.1.texi: New file, verbatim from:
24881 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24882 * manual/lgpl-2.1.texi: New file, verbatim from:
24883 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24884 * manual/Makefile (licenses): New variable, list those new file names.
24885 (texis): Use it.
24886 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24887
24888 * manual/fdl.texi: File removed.
24889 * manual/lesser.texi: File removed.
24890 * manual/libc.texinfo (Copying, Documentation License):
24891 Use new @include file names, put @appendix directive before @include.
24892
f16846a5
JJ
248932011-06-04 Jakub Jelinek <jakub@redhat.com>
24894
24895 [BZ #12841]
24896 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24897 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24898 (mq_open): Add __NTH.
24899
3d29045b
L
249002011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24901
24902 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24903 Assume Intel Core i3/i5/i7 processor if AVX is available.
24904
8c297311
UD
249052011-05-31 Ulrich Drepper <drepper@gmail.com>
24906
24907 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24908 typo.
24909
c8fc0c91
UD
249102011-05-31 Andreas Schwab <schwab@redhat.com>
24911
24912 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24913 memory. Use alloca_account. Fix memory leak when retrying.
24914
5b27a807
UD
249152011-05-31 Ulrich Drepper <drepper@gmail.com>
24916
356f8bc6
UD
24917 * version.h (RELEASE): Bump for 2.14 release.
24918 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24919
5b27a807
UD
24920 * config.make.in (RANLIB): Remove entry.
24921
01f16ab0
UD
249222011-05-30 Ulrich Drepper <drepper@gmail.com>
24923
41fce8bd
UD
24924 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24925 (libc.pot): Work around missing support for .ksh extension in xgettext.
24926
4769ae77
UD
24927 [BZ #12684]
24928 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24929 if both request failed.
24930 (send_dg): In case of server errors clear resplen or *resplen2.
24931
6b1e7d19
UD
24932 [BZ #12454]
24933 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24934 when there are multiple maps.
24935 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24936 (_dl_fini): Remove test here.
24937
01f16ab0
UD
24938 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24939
b1ebd700
UD
249402011-05-29 Ulrich Drepper <drepper@gmail.com>
24941
7ae22829
UD
24942 [BZ #12350]
24943 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24944 bit from old_res_options.
24945 (gaih_inet): Likewise.
24946
553149f6 24947 [BZ #11099]
18a84741 24948 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
24949 as signed.
24950
652ffab1
UD
24951 * resolv/res_init.c (res_setoptions): Make the code more compact.
24952
16985fd0
UD
24953 [BZ #11558]
24954 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24955 set RES_USEVC.
24956
0464f746
UD
24957 [BZ #11634]
24958 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24959
7d17596c
UD
24960 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24961
cf6bbbd7
UD
24962 [BZ #11781]
24963 * malloc/malloc.h: Declare malloc hook variables as volatile.
24964
13f1ab36
UD
24965 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24966 in last patch.
24967
b1ebd700
UD
24968 [BZ #11799]
24969 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 24970 raise in the comment.
80e2212d
UD
24971 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24972 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24973 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 24974
ce67228d
UD
249752011-05-28 Ulrich Drepper <drepper@gmail.com>
24976
8887a920
UD
24977 [BZ #12811]
24978 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24979 grow the buffers more if it already has to be sufficient.
24980 (build_wcs_upper_buffer): Likewise.
24981 * posix/regexec.c (check_matching): Likewise.
24982 (clean_state_log_if_needed): Likewise.
24983 (extend_buffers): Don't enlarge buffers beyond size of the input
24984 buffer.
24985 Patches mostly by Emil Wojak <emil@wojak.eu>.
24986 * posix/bug-regex32.c: New file.
24987 * posix/Makefile (tests): Add bug-regex32.
24988
4f031072
UD
24989 * locale/findlocale.c (_nl_find_locale): Return right away if
24990 _nl_explode_name failed.
24991 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24992
d0478f0c
UD
24993 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
24994
de81b246
UD
24995 * debug/xtrace.sh: Unify messages.
24996 * malloc/memusage.sh: Likewise.
24997
c738465a
UD
24998 [BZ #12813]
24999 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25000 time symbol from vDSO. Substitute with vsyscall if not available.
25001 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25002 __vdso_time.
25003
f1f929d7
UD
25004 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25005 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25006 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25007 Add sendmmsg and internal_sendmmsg.
25008 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25009 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25010 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25011
ce67228d
UD
25012 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25013 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25014 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25015
e57420c6
UD
250162011-05-27 Ulrich Drepper <drepper@gmail.com>
25017
a8509ca5
UD
25018 [BZ #12813]
25019 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25020 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25021 available.
25022 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25023 __vdso_getcpu.
25024
e57420c6
UD
25025 [BZ #12814]
25026 * iconvdata/Makefile (tests): Add bug-iconv9.
25027 * iconvdata/bug-iconv9.c: New file.
25028
4d07db15
AS
250292011-05-27 Andreas Schwab <schwab@redhat.com>
25030
25031 [BZ #12814]
25032 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25033
ea486f69
JJ
250342011-05-25 Jakub Jelinek <jakub@redhat.com>
25035
25036 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25037 (struct user_regs_struct): Change intcs field back to cs.
25038
6f038433
UD
250392011-05-25 Ulrich Drepper <drepper@gmail.com>
25040
25041 * po/ja.po: Update from translation team.
25042
67f86a25
UD
250432011-05-23 Ulrich Drepper <drepper@gmail.com>
25044
25045 [BZ #12795]
25046 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25047 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25048
def7fbd6
AS
250492011-05-20 Andreas Schwab <schwab@redhat.com>
25050
25051 * stdlib/longlong.h: Update from GCC.
25052
f50ef8f1
AS
250532011-05-23 Andreas Schwab <schwab@redhat.com>
25054
25055 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25056 parameter name.
25057 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25058 Add parameter name.
25059 (__sysconf): Pass it down.
25060
de7ce8f1
UD
250612011-05-22 Ulrich Drepper <drepper@gmail.com>
25062
f2962a71
UD
25063 [BZ #12671]
25064 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25065 some situations.
25066 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25067 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25068 add in in __libc_use_alloca calls. Adjust callers.
25069 (glob): Use malloc in some situations.
25070
de7ce8f1
UD
25071 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25072 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25073 pltexit.
25074
aec84f53
UD
250752011-05-21 Ulrich Drepper <drepper@gmail.com>
25076
05bb4a68
UD
25077 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25078 and CLOCK_BOOTTIME_ALARM.
25079
7ea72f99
UD
25080 [BZ #12782]
25081 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25082 is returned.
25083
7e4afad5
UD
25084 * string/_strerror.c (__strerror_r): Print negative errors as signed
25085 numbers.
25086
8e211fec
UD
25087 [BZ #12777]
25088 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25089 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25090 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25091
f7d82dc9
UD
25092 * configure.in: Fix typo in redirection and correct removal of test
25093 files in two cases.
25094
cc9e536d
UD
25095 [BZ #12788]
25096 * locale/setlocale.c (new_composite_name): Fix test to check for
25097 identical name of all categories.
25098
aec84f53
UD
25099 [BZ #12792]
25100 * libio/filedoalloc.c (local_isatty): New function.
25101 (_IO_file_doallocate): Use local_isatty.
25102 * stdio-common/perror.c (perror): In case a new stream is used
25103 forward the stream error.
25104 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25105 error flag.
25106
78e64fdc
RT
251072011-05-20 Ulrich Drepper <drepper@gmail.com>
25108
34a9094f
UD
25109 [BZ #11869]
25110 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25111 alloca.
25112 * include/alloca.h (extend_alloca_account): Define.
25113
78e64fdc
RT
25114 [BZ #11857]
25115 * posix/regex.h: Fix comments with documentation of user-accessible
25116 fields after compilation and describe correct free'ing of pattern
25117 after re_compile_pattern.
25118 Patch by Reuben Thomas <rrt@sc3d.org>.
25119
457bddfc
RA
251202011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25121
25122 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25123 and -mno-altivec to prevent the compiler from using Altivec and/or
25124 VSX instructions when the corresponding registers are not available.
25125
a4527b51
AS
251262011-05-19 Andreas Schwab <schwab@redhat.com>
25127
25128 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25129
ed690b2f
UD
251302011-05-19 Ulrich Drepper <drepper@gmail.com>
25131
25132 * libio/freopen.c (freopen): Use __dup2, not dup2.
25133 * libio/freopen64.c (freopen64): Likewise.
25134
8db73634
L
251352011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25136
25137 [BZ #12775]
25138 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25139 * math/Makefile (tests): Add test-powl.
25140 (CFLAGS-test-powl.c): Define.
25141 * math/test-powl.c: New file.
25142
0a197a9d
L
251432011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25144
25145 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25146
ee30c380
UD
251472011-05-17 Ulrich Drepper <drepper@gmail.com>
25148
25149 [BZ #11837]
25150 * iconvdata/gb18030.c: Update to GB18020-2005.
25151
6ce75379
UD
251522011-05-16 Ulrich Drepper <drepper@gmail.com>
25153
a4b89fd8
AR
25154 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25155 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25156 Patch by Aharon Robbins <arnold@skeeve.com>.
25157
ea389b12
UD
25158 [BZ #11892]
25159 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25160 on the stack.
25161
68a3f91f
UD
25162 [BZ #11895]
25163 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25164 through underflows.
25165
15cc7dd1
UD
25166 [BZ #12766]
25167 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25168 point to strings before performing equality test for error_one_per_line
25169 mode.
25170
f3799213
UD
25171 [BZ #11697]
25172 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25173
d79a9c94
UD
25174 [BZ #11820]
25175 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25176 (struct user_fpregs_struct): Avoid __uint*_t types.
25177
56e5eb46
UD
25178 [BZ #6420]
25179 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25180 symbol info. Use it instead of calling _dl_addr locally.
25181 (lock_and_info): New function.
25182 (tr_freehook): Call lock_and_info and pass symbol info as additional
25183 parameter to tr_where.
25184 (tr_mallochook): Likewise.
25185 (tr_reallochook): Likewise.
25186 (tr_memalignhook): Likewise.
25187
6ce75379
UD
25188 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25189 used and couldn't be at all thread-safe.
25190
f8a3b5bf
UD
251912011-05-15 Ulrich Drepper <drepper@gmail.com>
25192
94b7cc37
UD
25193 * libio/freopen.c (freopen): Don't close old file descriptor
25194 before the new one is opened. Instead dup the new file descriptor
25195 to the old one after the new stream is created.
25196 * libio/freopen64.c (freopen64): Likewise.
25197 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25198 * libio/fileops.c (_IO_new_file_close_it): Handle new
25199 _IO_FLAGS2_NOCLOSE flag.
25200 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25201 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25202 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25203 _IO_FLAGS2_NOCLOSE flag.
25204 * include/unistd.h: Add hidden_proto for dup3.
25205 Define __have_dup3.
25206 * io/dup3.c: Define hidden symbol.
25207 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25208
bd25564e
UD
25209 [BZ #7101]
25210 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25211 when an incomplete long option is used.
25212 * posix/tst-getopt_long1.c: New file.
25213 * posix/Makefile (tests): Add tst-getopt_long1.
25214
c84cfef4
UD
25215 [BZ #10138]
25216 * scripts/config.guess: Update from autoconf-2.68.
25217 * scripts/config.sub: Likewise.
25218
3b85df27
UD
25219 [BZ #10157]
25220 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25221 tests into ...
25222 (has_cpuclock): ...this. New function.
25223 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25224 macro here based on has_cpuclock code.
25225
15a856b1
UD
25226 [BZ #10149]
25227 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25228 First byte (not low byte) is now always NUL.
25229 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25230
05f399e6
UD
25231 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25232 Use non-cancelable interfaces.
25233
10a52685 25234 [BZ #9809]
94ecc67d
UD
25235 * locale/iso-639.def: Add entry for Sorani.
25236
f8a3b5bf
UD
25237 [BZ #11901]
25238 * include/stdlib.h: Move include protection to the right place.
25239 Define abort_msg_s. Declare __abort_msg with it.
25240 * stdlib/abort.c (__abort_msg): Adjust type.
25241 * assert/assert.c (__assert_fail_base): New function. Majority
25242 of code from __assert_fail. Allocate memory for __abort_msg with
25243 mmap.
25244 (__assert_fail): Now call __assert_fail_base.
25245 * assert/assert-perr.c: Remove bulk of implementation. Use
25246 __assert_fail_base.
25247 * include/assert.hL Declare __assert_fail_base.
25248 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25249 mmap.
25250 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25251
1af4e298
UD
252522011-05-14 Ulrich Drepper <drepper@gmail.com>
25253
f8a3b5bf 25254 [BZ #11952]
d26dfc60
MG
25255 [BZ #12453]
25256 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25257 until all modules are registered in the DTV.
25258 * elf/Makefile: Add rules to build and run tst-tls19.
25259 * elf/tst-tls19.c: New file.
25260 * elf/tst-tls19mod1.c: New file.
25261 * elf/tst-tls19mod2.c: New file.
25262 * elf/tst-tls19mod3.c: New file.
25263 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25264
2fc54d6f
UD
25265 [BZ #12083]
25266 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25267 correctly.
25268
98d76b46
UD
25269 [BZ #12601]
25270 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25271 two-byte sequence errors.
25272 * iconvdata/Makefile (tests): Add bug-iconv8.
25273 * iconvdata/bug-iconv8.c: New file.
25274
da3c19ef
UD
25275 [BZ #12626]
25276 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25277 buf2 definition.
25278
ca408c15
UD
25279 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25280
d6f67f7d
UD
25281 [BZ #12432]
25282 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25283 (dummy_getcfa): New function.
25284 (init): Get _Unwind_GetCFA address, use dummy if not found.
25285 (backtrace_helper): In recursion check, also check whether CFA changes.
25286 (__backtrace): Completely initialize arg.
25287
1af4e298 25288 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
25289 storing incomplete byte sequence in state object. Avoid testing for
25290 guaranteed too small input if we know there is enough data available.
1af4e298 25291
da62f81b
AS
252922011-05-11 Andreas Schwab <schwab@redhat.com>
25293
25294 * Makeconfig (+link-pie): Indent.
25295 * Rules (binaries-pie): Define if $(have-fpie) and
25296 $(build-shared).
25297 (binaries-shared): Also filter out $(binaries-pie).
25298 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25299 * nscd/Makefile (others-pie): Add nscd.
25300 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25301 ($(objpfx)nscd): Remove command override.
25302 * login/Makefile (others-pie): Add pt_chown.
25303 ($(objpfx)pt_chown): Remove command override.
25304 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25305 remove command overrides.
25306
fcabc0f8
UD
253072011-05-13 Ulrich Drepper <drepper@gmail.com>
25308
20030ae6
UD
25309 * libio/tst_putwc.c: Fix error messages.
25310
fcabc0f8
UD
25311 [BZ #12724]
25312 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25313 currently writing and seek to current position when not.
25314 * libio/Makefile (tests): Add bug-fclose1.
25315 * libio/bug-fclose1.c: New file.
25316
320a5dc0
PB
253172011-05-12 Ulrich Drepper <drepper@gmail.com>
25318
25319 [BZ #12511]
25320 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25321 don't set DF_1_NODELETE here.
25322 (do_lookup_x): When entering new entry test for copy relocation
25323 and if necessary set DF_1_NODELETE flag.
25324 * elf/tst-unique4.cc: New file.
25325 * elf/tst-unique4.h: New file.
25326 * elf/tst-unique4lib.cc: New file.
25327 * elf/Makefile: Add rules to build and run tst-unique4.
25328 Patch by Piotr Bury <pbury@goahead.com>.
25329
22836f52
UD
253302011-05-11 Ulrich Drepper <drepper@gmail.com>
25331
f574184a
UD
25332 [BZ #12052]
25333 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25334
e1fb097f
UD
25335 [BZ #12625]
25336 * misc/mntent_r.c (addmntent): Flush the stream after the output
25337
22836f52
UD
25338 [BZ #12393]
25339 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25340 (is_trusted_path_normalize): Skip initial colon. Append slash
25341 to empty buffer. Duplicate is_trusted_path code but allow
25342 constructed patch to be prefix.
25343 (is_dst): Allow $ORIGIN followed by /.
25344 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25345 Correct testing of result of is_trusted_path_normalize
25346 (decompose_rpath): Fix warning.
25347
7b3b0b2a
UD
253482011-05-10 Ulrich Drepper <drepper@gmail.com>
25349
25350 [BZ #11257]
25351 * grp/initgroups.c (internal_getgrouplist): When we found the service
25352 list through the initgroups entry in nsswitch.conf do not always
25353 continue on a successful lookup. Don't always use the
eac80ce2 25354 __nss_group_database value if it is set.
7b3b0b2a
UD
25355 * nss/nsswitch.conf (initgroups): Change action for successful db
25356 lookup to continue for compatibility.
25357
2a81eaa5
UD
253582011-05-09 Ulrich Drepper <drepper@gmail.com>
25359
be97a69e
UD
25360 [BZ #11532]
25361 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25362 and CP774 modules.
25363 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25364 and CP774 modules.
25365 * iconvdata/tst-tables.sh: Likewise.
25366 * iconvdata/cp770.c: New file.
25367 * iconvdata/cp771.c: New file.
25368 * iconvdata/cp772.c: New file.
25369 * iconvdata/cp773.c: New file.
25370 * iconvdata/cp774.c: New file.
25371 * iconvdata/testdata/CP770: New file.
25372 * iconvdata/testdata/CP770..UTF8: New file.
25373 * iconvdata/testdata/CP771: New file.
25374 * iconvdata/testdata/CP771..UTF8: New file.
25375 * iconvdata/testdata/CP772: New file.
25376 * iconvdata/testdata/CP772..UTF8: New file.
25377 * iconvdata/testdata/CP773: New file.
25378 * iconvdata/testdata/CP773..UTF8: New file.
25379 * iconvdata/testdata/CP774: New file.
25380 * iconvdata/testdata/CP774..UTF8: New file.
25381
25382 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25383 END CHARMAP line.
25384 * iconvdata/gen-8bit-gap.sh: Likewise.
25385 * iconvdata/gen-8bit.sh: Likewise.
25386
c1e9e399
UD
25387 * locale/iso-639.def: Add ary entry.
25388
24c55fb3 25389 [BZ #11258]
96b4b1b0
UD
25390 * locale/C-translit.h.in: Add U20A1 transliteration.
25391
bdc2f971
KB
25392 [BZ #12178]
25393 * locale/iso-639.def: Add wae entry.
25394 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25395
2952b117
UD
25396 [BZ #12545]
25397 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25398 for n.
25399
2a81eaa5
UD
25400 [BZ #12711]
25401 * locale/C-translit.h.in: Add entry for U20B9.
25402 Patch by pravin.d.s@gmail.com.
25403
28377d1b
UD
254042011-05-08 Ulrich Drepper <drepper@gmail.com>
25405
7fb90fb8
UD
25406 [BZ #12713]
25407 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25408 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
25409 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25410 in rtld. Use *stat64.
7fb90fb8 25411 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 25412 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 25413 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
25414 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25415 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25416 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25417 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25418 __fstatat64 macros.
7fb90fb8
UD
25419 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25420 * dirent/rewinddir.c: Add libc_hidden_def.
25421 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 25422 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 25423
28377d1b
UD
25424 * include/dirent.h (__alloc_dir): Add flags parameter.
25425 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25426 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25427 __alloc_dir.
25428 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25429 from fdopendir if O_CLOEXEC is already set.
25430
66bdbaa4
AM
254312011-03-15 Alan Modra <amodra@gmail.com>
25432
25433 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25434 l_tls_firstbyte_offset non-zero. Save padding offset in
25435 l_tls_firstbyte_offset for later use.
25436 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25437 freeing static tls block.
25438
95721191
JN
254392011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25440
25441 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25442 where #ifdef was intended. The intent is to prevent ARG_MAX from
25443 being defined by the kernel headers.
25444
f87dfb1f
UD
254452011-05-07 Ulrich Drepper <drepper@gmail.com>
25446
25447 [BZ #12734]
25448 * resolv/resolv.h: Define RES_NOTLDQUERY.
25449 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25450 no-tld-query and set RES_NOTLDQUERY.
25451 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25452 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25453 modern BIND to search name as TLD unless forbidden.
25454
47c3cd7a
UD
254552011-05-07 Petr Baudis <pasky@suse.cz>
25456 Ulrich Drepper <drepper@gmail.com>
25457
25458 [BZ #12393]
25459 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25460 (is_trusted_path): ...to here.
c1e9ea35 25461 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 25462 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 25463 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 25464
8a35c912
PP
254652011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25466
25467 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25468 __BEGIN/__END_DECLS.
25469
acd41f47
UD
254702011-05-06 Ulrich Drepper <drepper@gmail.com>
25471
25472 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25473 NSS_STATUS_NOTFOUND if no record was found.
25474
597df647
AS
254752011-05-05 Andreas Schwab <schwab@redhat.com>
25476
25477 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25478 (headers-not-in-tirpc): Remove rpc/netdb.h
25479 * resolv/netdb.h: Revert last change.
25480
b9af1301
PP
254812011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25482
25483 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25484 circular dependency between libgcc.a and libc.a.
25485
4e34d5f5
AS
254862011-05-05 Andreas Schwab <schwab@redhat.com>
25487
25488 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25489 * nis/Makefile: Don't install rpcsvc/*.
25490 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25491 instead of <rpc/types.h>.
25492 (MAXHOSTNAMELEN): Define.
25493
00ee369c
AS
254942011-05-03 Andreas Schwab <schwab@redhat.com>
25495
25496 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25497
0b592a30
MB
254982011-04-28 Maciej Babinski <mbabinski@google.com>
25499
25500 [BZ #12714]
25501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25502 gethostbyname4_r when IPv6 results are possible.
25503
6e04cbbe
UD
255042011-05-02 Ulrich Drepper <drepper@gmail.com>
25505
25506 [BZ #12723]
25507 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25508 _PC_PIPE_BUF handling.
25509
e4ecafe0
BH
255102011-04-30 Bruno Haible <bruno@clisp.org>
25511
25512 [BZ #12717]
25513 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25514 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25515 to 'int'.
25516 * inet/getnameinfo.c (getnameinfo): Likewise.
25517
125ee683
UD
255182011-04-29 Ulrich Drepper <drepper@gmail.com>
25519
25520 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25521 to groups setting in database lookup.
25522 * nss/nsswitch.conf: Add initgroups entry.
25523
b722481a
EB
255242011-04-22 Ulrich Drepper <drepper@gmail.com>
25525
25526 [BZ #12685]
25527 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25528 mode string.
25529 Patch by Eric Blake <eblake@redhat.com>.
25530
4df46dbd
L
255312011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25532
25533 * sunrpc/Makefile (need-export-routines): Add svc_run.
25534 (routines): Remove svc_run.
25535 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25536 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25537 * sunrpc/svc_run.c (svc_run): Likewise.
25538 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25539
e84142d2
UD
255402011-04-21 Ulrich Drepper <drepper@gmail.com>
25541
25542 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25543 problem in reallocation in last patch.
25544
877175d8
UD
255452011-04-20 Ulrich Drepper <drepper@gmail.com>
25546
25547 * sunrpc/Makefile: Move inclusion of Rules.
25548
ab8eed78
UD
255492011-04-19 Ulrich Drepper <drepper@gmail.com>
25550
25551 * nss/nss_files/files-initgroups.c: New file.
25552 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25553 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25554 _nss_files_initgroups_dyn.
25555
e3d8f584
RS
255562011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25557
25558 * elf/elf.h (R_ARM_IRELATIVE): Define.
25559
af190f45
UD
255602011-04-19 Ulrich Drepper <drepper@gmail.com>
25561
25562 * po/ru.po: Update from translation team.
25563
53cf59ef
UD
255642011-04-17 Ulrich Drepper <drepper@gmail.com>
25565
25566 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25567 dependencies.
25568
4c559bcd
MF
255692011-02-06 Mike Frysinger <vapier@gentoo.org>
25570
25571 [BZ #12653]
25572 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25573 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25574 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25575 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25576 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25577
4420675c
AS
255782011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25579
25580 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25581 differing bytes.
25582 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25583 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25584 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25585
75ea32ab
UD
255862011-04-17 Ulrich Drepper <drepper@gmail.com>
25587
25588 [BZ #12420]
25589 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25590 storing it.
25591 * stdlib/bug-getcontext.c: New file.
25592 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25593
27390476
AK
255942011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25595
25596 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25597 instructions into .machine "z9-109".
25598 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25599 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25600
10442705
AK
256012011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25602
25603 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25604 between environment variables and auxiliary vector.
25605
7b57bfe5
UD
256062011-04-16 Ulrich Drepper <drepper@gmail.com>
25607
25608 * Makefile: Add rules to build linkobj/libc.so.
25609 * include/libc-symbols.h: Define libc_hidden_nolink.
25610 * include/rpc/auth.h: Mark functions which are to be hidden.
25611 * include/rpc/auth_des.h: Likewise.
25612 * include/rpc/auth_unix.h: Likewise.
25613 * include/rpc/clnt.h: Likewise.
25614 * include/rpc/des_crypt.h: Likewise.
25615 * include/rpc/key_prot.h: Likewise.
25616 * include/rpc/pmap_clnt.h: Likewise.
25617 * include/rpc/pmap_prot.h: Likewise.
25618 * include/rpc/pmap_rmt.h: Likewise.
25619 * include/rpc/rpc_msg.h: Likewise.
25620 * include/rpc/svc.h: Likewise.
25621 * include/rpc/svc_auth.h: Likewise.
25622 * include/rpc/xdr.h: Likewise.
25623 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25624 * nss/Makefile: Likewise.
25625 * sunrpc/Makefile: Don't install headers. Build library with normal
25626 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25627 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25628 for the compat linking library. Remove use of INTDEF/INTUSE.
25629 * sunrpc/auth_none.c: Likewise.
25630 * sunrpc/auth_unix.c: Likewise.
25631 * sunrpc/authdes_prot.c: Likewise.
25632 * sunrpc/authuxprot.c: Likewise.
25633 * sunrpc/clnt_gen.c: Likewise.
25634 * sunrpc/clnt_perr.c: Likewise.
25635 * sunrpc/clnt_raw.c: Likewise.
25636 * sunrpc/clnt_simp.c: Likewise.
25637 * sunrpc/clnt_tcp.c: Likewise.
25638 * sunrpc/clnt_udp.c: Likewise.
25639 * sunrpc/clnt_unix.c: Likewise.
25640 * sunrpc/des_crypt.c: Likewise.
25641 * sunrpc/des_soft.c: Likewise.
25642 * sunrpc/get_myaddr.c: Likewise.
25643 * sunrpc/key_call.c: Likewise.
25644 * sunrpc/key_prot.c: Likewise.
25645 * sunrpc/netname.c: Likewise.
25646 * sunrpc/pm_getmaps.c: Likewise.
25647 * sunrpc/pm_getport.c: Likewise.
25648 * sunrpc/pmap_clnt.c: Likewise.
25649 * sunrpc/pmap_prot.c: Likewise.
25650 * sunrpc/pmap_prot2.c: Likewise.
25651 * sunrpc/pmap_rmt.c: Likewise.
25652 * sunrpc/publickey.c: Likewise.
25653 * sunrpc/rpc_cmsg.c: Likewise.
25654 * sunrpc/rpc_common.c: Likewise.
25655 * sunrpc/rpc_dtable.c: Likewise.
25656 * sunrpc/rpc_prot.c: Likewise.
25657 * sunrpc/rpc_thread.c: Likewise.
25658 * sunrpc/rtime.c: Likewise.
25659 * sunrpc/svc.c: Likewise.
25660 * sunrpc/svc_auth.c: Likewise.
25661 * sunrpc/svc_authux.c: Likewise.
25662 * sunrpc/svc_raw.c: Likewise.
25663 * sunrpc/svc_run.c: Likewise.
25664 * sunrpc/svc_simple.c: Likewise.
25665 * sunrpc/svc_tcp.c: Likewise.
25666 * sunrpc/svc_udp.c: Likewise.
25667 * sunrpc/svc_unix.c: Likewise.
25668 * sunrpc/svcauth_des.c: Likewise.
25669 * sunrpc/xcrypt.c: Likewise.
25670 * sunrpc/xdr.c: Likewise.
25671 * sunrpc/xdr_array.c: Likewise.
25672 * sunrpc/xdr_float.c: Likewise.
25673 * sunrpc/xdr_intXX_t.c: Likewise.
25674 * sunrpc/xdr_mem.c: Likewise.
25675 * sunrpc/xdr_rec.c: Likewise.
25676 * sunrpc/xdr_ref.c: Likewise.
25677 * sunrpc/xdr_sizeof.c: Likewise.
25678 * sunrpc/xdr_stdio.c: Likewise.
25679
e6c61494
UD
256802011-04-10 Ulrich Drepper <drepper@gmail.com>
25681
25682 [BZ #12650]
25683 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25684 * sysdeps/ia64/dl-tls.h: Likewise.
25685 * sysdeps/powerpc/dl-tls.h: Likewise.
25686 * sysdeps/s390/dl-tls.h: Likewise.
25687 * sysdeps/sh/dl-tls.h: Likewise.
25688 * sysdeps/sparc/dl-tls.h: Likewise.
25689 * sysdeps/x86_64/dl-tls.h: Likewise.
25690 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25691
34fe483e
AS
256922011-03-14 Andreas Schwab <schwab@redhat.com>
25693
25694 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25695 rpath element also skip the following colon.
25696 (expand_dynamic_string_token): Add is_path parameter and pass
25697 down to DL_DST_REQUIRED and _dl_dst_substitute.
25698 (decompose_rpath): Call expand_dynamic_string_token with
25699 non-zero is_path. Ignore empty rpaths.
25700 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25701 with zero is_path.
25702
f12a32e6
AS
257032011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25704
25705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25706 Make cancelable.
25707
38a7d692
UD
257082011-04-09 Ulrich Drepper <drepper@gmail.com>
25709
25710 [BZ #12655]
25711 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25712 Patch by Filipe David Manana <fdmanana@apache.org>.
25713
e451d22b
AS
257142011-04-07 Andreas Schwab <schwab@redhat.com>
25715
25716 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25717 Maintain aligned stack.
25718 (CHECK_RSP): Remove unused macro.
25719
dedc7c7b
UD
257202011-04-03 Ulrich Drepper <drepper@gmail.com>
25721
25722 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25723 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25724
94521213
UD
257252011-04-02 Ulrich Drepper <drepper@gmail.com>
25726
25727 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25728
8cb700c0 25729 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 25730
0354e355
L
257312011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25732
25733 [BZ #12518]
25734 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25735 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25736 * sysdeps/x86_64/memmove.c: New file.
25737 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25738 (memcpy): Renamed to ...
25739 (__new_memcpy): This.
25740 (memcpy): Provide GLIBC_2_14 memcpy.
25741 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25742 (memcpy): Provide GLIBC_2_2_5 memcpy.
25743
8593482f
UD
257442011-04-01 Ulrich Drepper <drepper@gmail.com>
25745
25746 [BZ #12631]
25747 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25748
81a5726b
AS
257492011-03-30 Andreas Schwab <schwab@redhat.com>
25750
25751 * misc/syncfs.c: New file.
25752 * misc/Makefile (routines): Add syncfs.
25753 * posix/unistd.h: Declare syncfs.
25754 * sysdeps/unix/syscalls.list: Add syncfs.
25755
00e5419f
AS
257562011-04-01 Andreas Schwab <schwab@redhat.com>
25757
25758 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25759 open_by_handle_at.
25760 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25761 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25762 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25763 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25764 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25765 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25766 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25767
748876bf
UD
257682011-04-01 Ulrich Drepper <drepper@gmail.com>
25769
658e451d
UD
25770 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25771 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25772 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25773 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25774 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25775 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25776 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25777
748876bf
UD
25778 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25779 sync_file_range.c with -fexceptions.
25780 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25781 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25782 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25783 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25784 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25785 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25786 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
25787 sync_file_range as cancellation point
25788 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25789 now a wrapper around __call_sync_file_range with cancellation handling.
25790 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25791 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25792 function name to __call_sync_file_range.
25793 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25794 Add call_sync_file_range.
748876bf 25795
6e63d5e1
AS
257962011-04-01 Andreas Schwab <schwab@redhat.com>
25797
25798 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 25799 bits/timex.h.
6e63d5e1 25800
46998f74
UD
258012011-04-01 Ulrich Drepper <drepper@gmail.com>
25802
4c1423ed
UD
25803 * iconv/iconv.h: Fix typo in comment.
25804 * io/fcntl.h: Likewise.
25805 * libio/stdio.h: Likewise.
25806 * posix/spawn.h: Likewise.
25807 * posix/unistd.h: Likewise.
25808 * stdlib/stdlib.h: Likewise.
25809 * time/time.h: Likewise.
25810 * wcsmbs/wchar.h: Likewise.
25811
158648c0
UD
25812 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25813 open_by_handle): Add.
25814 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25815 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25816 Augment a few comments.
25817 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25818 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25819 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25820 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25821 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25822 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25823 open_by_handle.
25824
46998f74
UD
25825 * io/fcntl.h (AT_EMPTY_PATH): Define.
25826
83fe108b
UD
258272011-03-30 Ulrich Drepper <drepper@gmail.com>
25828
25829 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25830 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25831 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25832 to...
25833 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
25834 * Versions.def: Add GLIBC_2.14.
25835 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25836 Export.
83fe108b 25837
bb242059
UD
258382011-03-22 Ulrich Drepper <drepper@gmail.com>
25839
25840 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25841 round counter.
25842 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25843
c97a1282
L
258442011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25845
25846 [BZ #12597]
25847 * string/test-strncmp.c (do_page_test): New function.
25848 (check2): Likewise.
25849 (test_main): Call check2.
25850 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25851
2a115601
UD
258522011-03-20 Ulrich Drepper <drepper@gmail.com>
25853
25854 [BZ #12587]
25855 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25856 Handle cache information in CPU leaf 4.
25857 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25858
8126d904
UD
258592011-03-18 Ulrich Drepper <drepper@gmail.com>
25860
042c49c6 25861 [BZ #12583]
8126d904
UD
25862 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25863 character representation.
25864 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25865
ccfe366e
RA
258662011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25867
25868 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25869 END(__isnan) to END(__isnanf) to match function entry point/label
25870 EALIGN(__isnanf,...).
25871
c6e13027
JJ
258722011-03-10 Jakub Jelinek <jakub@redhat.com>
25873
25874 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25875
33f85a3f
UD
258762011-03-10 Ulrich Drepper <drepper@gmail.com>
25877
028478fa
UD
25878 [BZ #12510]
25879 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25880 copy from the symbol referenced in the relocation to initialize the
25881 used variable.
25882 Patch by Piotr Bury <pbury@goahead.com>.
25883 * elf/Makefile: Add rules to build and tst-unique3.
25884 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25885 * elf/tst-unique3.cc: New file.
25886 * elf/tst-unique3.h: New file.
25887 * elf/tst-unique3lib.cc: New file.
25888 * elf/tst-unique3lib2.cc: New file.
25889
33f85a3f
UD
25890 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25891
03592fc7
MF
258922011-03-10 Mike Frysinger <vapier@gentoo.org>
25893
25894 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25895 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25896 to _start.
03592fc7 25897
6a5ee102
UD
258982011-03-06 Ulrich Drepper <drepper@gmail.com>
25899
25900 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25901 to-be-loaded object along a path to loader is ld.so.
25902
7e4ba49c
HJ
259032011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25904 Ulrich Drepper <drepper@gmail.com>
25905
25906 * sysdeps/x86_64/memset.S: After aligning destination, code
25907 branches to different locations depending on the value of
25908 misalignment, when multiarch is enabled. Fix this.
25909
259102011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25911
25912 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25913 Set _x86_64_preferred_memory_instruction for AMD processsors.
25914 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25915 Set bit_Prefer_SSE_for_memop for AMD processors.
25916
13a804de
UD
259172011-03-04 Ulrich Drepper <drepper@gmail.com>
25918
25919 * libio/fmemopen.c (fmemopen): Optimize a bit.
25920
9d25c392
AS
259212011-03-03 Andreas Schwab <schwab@redhat.com>
25922
25923 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25924
a5543c6a
RM
259252011-03-03 Roland McGrath <roland@redhat.com>
25926
25927 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25928
012d35f7
DM
259292011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25930
7e4ba49c 25931 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
25932 __bzero_ultra1 instead of __memset_ultra1.
25933
4bff6e01
AS
259342011-02-23 Andreas Schwab <schwab@redhat.com>
25935 Ulrich Drepper <drepper@gmail.com>
25936
25937 [BZ #12509]
25938 * include/link.h (struct link_map): Add l_orig_initfini.
25939 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25940 returning unsuccessfully.
25941 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25942 close of a file loaded at startup, restore the original l_initfini
25943 list.
25944 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25945 list, store the pointer.
25946 * elf/Makefile ($(objpfx)noload-mem): New rule.
25947 (noload-ENV): Define.
25948 (tests): Add $(objpfx)noload-mem.
25949 * elf/noload.c: Include <memcheck.h>.
25950 (main): Call mtrace. Close all opened handles.
25951
f2092faf
AS
259522011-02-17 Andreas Schwab <schwab@redhat.com>
25953
25954 [BZ #12454]
25955 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25956 dependencies are missing.
25957
6c8a2e88
ST
259582011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25959
f2092faf 25960 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
25961 Hurd needs munmap.
25962 * sysdeps/mach/hurd/ifreq.h: New file.
25963
84a42118
PB
259642011-01-27 Petr Baudis <pasky@suse.cz>
25965 Ulrich Drepper <drepper@gmail.com>
25966
071f805e 25967 [BZ 12445]#
84a42118
PB
25968 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25969 to extend_alloca().
25970 * stdio-common/bug23.c: New file.
25971 * stdio-common/Makefile (tests): Add bug23.
25972
e23fe25b
AS
259732010-09-28 Andreas Schwab <schwab@redhat.com>
25974 Ulrich Drepper <drepper@gmail.com>
25975
25976 [BZ #12489]
25977 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25978 before performing relro protection. At old place add assertion
25979 to make sure nothing changed.
25980
d3f02e10
NS
259812011-02-17 Nathan Sidwell <nathan@codesourcery.com>
25982 Glauber de Oliveira Costa <glommer@gmail.com>
25983
25984 * elf/elf.h: Add new ARM TLS relocs.
25985
d55fd7a5
RA
259862011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
25987
25988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25989 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
25990 cast from r3.
25991 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
25992 'tests' variable.
25993 * sysdeps/wordsize-64/tst-writev.c: New file.
25994
2206397e
RA
259952011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
25996
25997 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
25998 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
25999 insns in _dl_start to prevent a TOC reference before relocs are
26000 resolved.
26001
e9433893
UD
260022011-02-15 Ulrich Drepper <drepper@gmail.com>
26003
26004 [BZ #12469]
26005 * Makeconfig: Remove RANLIB definition.
26006 * Makerules: Don't use RANLIB.
26007 * aclocal.m4: Remove ranlib test.
26008 * configure.in: No need to check for ranlib.
26009 * elf/rtld-Rules: Don't use RANLIB.
26010
f75286c6
ST
260112011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26012
8e31c82d
ST
26013 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26014 protection macro.
26015 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26016 inclusion protection macro.
26017
f75286c6
ST
26018 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26019 SIGRTMIN and SIGRTMAX and print information in that case only when
26020 SIGRTMIN is defined.
26021
c1d0e639
JJ
260222011-02-11 Jakub Jelinek <jakub@redhat.com>
26023
26024 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26025 arginfo fn returning -1.
26026
26027 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26028 and thousands string is zero terminated.
26029
edf9294e
AS
260302011-02-03 Andreas Schwab <schwab@redhat.com>
26031
26032 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26033 sysdeps/unix/sysv/linux/bits/socket.h.
26034
2b7e92df
ST
260352011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26036
edf9294e
AS
26037 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26038 (__CPU_COUNT): Remove old macros.
26039 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26040 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26041 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
26042 (__sched_cpualloc, __sched_cpufree): Add declarations.
26043
a4c7ea7b
UD
260442011-02-05 Ulrich Drepper <drepper@gmail.com>
26045
26046 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26047 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26048 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26049 (readdhstai): Return value of addhstaiX call.
26050 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26051 (addgrbyX): Return value returned by cache_addgr.
26052 (readdgrbyname): Return value returned by addgrbyX.
26053 (readdgrbygid): Likewise.
26054 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26055 (addpwbyX): Return value returned by cache_addpw.
26056 (readdpwbyname): Return value returned by addhstbyX.
26057 (readdpwbyuid): Likewise.
26058 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26059 (addservbyX): Return value returned by cache_addserv.
26060 (readdservbyname): Return value returned by addservbyX:
26061 (readdservbyport): Likewise.
26062 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26063 (addhstbyX): Return value returned by cache_addhst.
26064 (readdhstbyname): Return value returned by addhstbyX.
26065 (readdhstbyaddr): Likewise.
26066 (readdhstbynamev6): Likewise.
26067 (readdhstbyaddrv6): Likewise.
26068 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26069 (readdinitgroups): Return value returned by addinitgroupsX.
26070 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26071 (prune_cache): Keep track of timeout value of re-added entries.
26072 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26073 * nscd/nscd.h: Adjust prototypes of readd* functions.
26074
a0bf67cc
RM
260752011-02-04 Roland McGrath <roland@redhat.com>
26076
26077 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26078 (nis_stats): Likewise.
26079 * nis/nis_modify.c (nis_modify): Likewise.
26080 * nis/nis_remove.c (nis_remove): Likewise.
26081 * nis/nis_add.c (nis_add): Likewise.
26082
26083 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26084
26085 * posix/fnmatch_loop.c: Add some consts.
26086
26087 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26088
435b95eb
L
260892011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26090
26091 [BZ #12460]
26092 * config.make.in (config-cflags-novzeroupper): Define.
26093 * configure.in: Substitute libc_cv_cc_novzeroupper.
26094 * elf/Makefile (AVX-CFLAGS): Define.
26095 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26096 (CFLAGS-tst-auditmod4a.c): Likewise.
26097 (CFLAGS-tst-auditmod4b.c): Likewise.
26098 (CFLAGS-tst-auditmod6b.c): Likewise.
26099 (CFLAGS-tst-auditmod6c.c): Likewise.
26100 (CFLAGS-tst-auditmod7b.c): Likewise.
26101 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26102
8517b15e
UD
261032011-02-02 Ulrich Drepper <drepper@gmail.com>
26104
26105 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26106 function to the callback.
26107 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26108
10a656fe
AS
261092011-02-02 Andreas Schwab <schwab@redhat.com>
26110
26111 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26112 of errno.
26113
968dad0a
UD
261142011-01-19 Ulrich Drepper <drepper@gmail.com>
26115
9f94d2ea 26116 [BZ #11724]
968dad0a
UD
26117 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26118 of constructors.
26119 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26120 of destructors.
26121 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26122
26123 [BZ #11724]
26124 * elf/Makefile: Add rules to build and run new test.
26125 * elf/tst-initorder.c: New file.
26126 * elf/tst-initorder.exp: New file.
26127 * elf/tst-initordera1.c: New file.
26128 * elf/tst-initordera2.c: New file.
26129 * elf/tst-initordera3.c: New file.
26130 * elf/tst-initordera4.c: New file.
26131 * elf/tst-initorderb1.c: New file.
26132 * elf/tst-initorderb2.c: New file.
26133 * elf/tst-order-a1.c: New file.
26134 * elf/tst-order-a2.c: New file.
26135 * elf/tst-order-a3.c: New file.
26136 * elf/tst-order-a4.c: New file.
26137 * elf/tst-order-b1.c: New file.
26138 * elf/tst-order-b2.c: New file.
26139 * elf/tst-order-main.c: New file.
26140 New test case by George Gensure <werkt0@gmail.com>.
26141
86e92359
UD
261422010-10-01 Andreas Schwab <schwab@redhat.com>
26143
26144 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26145 decoding ACE if AI_CANONIDN.
26146
5d5732b0
UD
261472011-01-18 Ulrich Drepper <drepper@gmail.com>
26148
26149 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26150
a77e8cbc
UD
261512011-01-17 Ulrich Drepper <drepper@gmail.com>
26152
6392473f
UD
26153 * version.h (RELEASE): Bump for 2.13 release.
26154 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26155
620a0529
UD
26156 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26157
18ba70a5
UD
26158 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26159 MADV_NOHUGEPAGE.
32465c3e
UD
26160 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26161 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26162 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26163 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26164 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26165 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26166
c0dafcf1
UD
26167 * posix/getconf.c: Update copyright year.
26168 * catgets/gencat.c: Likewise.
26169 * csu/version.c: Likewise.
26170 * debug/catchsegv.sh: Likewise.
26171 * debug/xtrace.sh: Likewise.
26172 * elf/ldconfig.c: Likewise.
26173 * elf/ldd.bash.in: Likewise.
26174 * elf/sprof.c (print_version): Likewise.
26175 * iconv/iconv_prog.c: Likewise.
26176 * iconv/iconvconfig.c: Likewise.
26177 * locale/programs/locale.c: Likewise.
26178 * locale/programs/localedef.c: Likewise.
26179 * malloc/memusage.sh: Likewise.
26180 * malloc/mtrace.pl: Likewise.
26181 * nscd/nscd.c (print_version): Likewise.
26182 * nss/getent.c: Likewise.
26183
a77e8cbc
UD
26184 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26185 PF_CAIF, and PF_ALG.
26186 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26187
77e8bddf
AS
261882011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26189
1f20b93a
AS
26190 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26191 (modules-names): Use them.
26192 (ifunc-test-modules, ifunc-pie-tests): Define.
26193 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26194 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26195 (test-extras): Likewise.
26196 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26197 $(compile-command.c).
26198 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26199 (all-built-dso): Define.
26200 (check-textrel.out, check-execstack.out): Depend on it.
26201
77e8bddf
AS
26202 * configure.in: Don't override --enable-multi-arch.
26203
bc425b33
UD
262042011-01-15 Ulrich Drepper <drepper@gmail.com>
26205
26206 [BZ #6812]
26207 * nscd/hstcache.c (tryagain): Define.
26208 (cache_addhst): Return tryagain not notfound for temporary errors.
26209 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26210 failed.
26211
794c3ad3
UD
262122011-01-14 Ulrich Drepper <drepper@gmail.com>
26213
70181fdd
UD
26214 [BZ #10563]
26215 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26216 to make the syscall.
26217 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26218
794c3ad3
UD
26219 [BZ #12378]
26220 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26221 and fall back to matching as normal character if the string ends before
26222 the matching ']' is found. This is what POSIX requires.
26223 * posix/testfnm.c: Adjust test result.
26224 * posix/globtest.sh: Adjust test result. Add new test.
26225 * posix/tst-fnmatch.input: Likewise.
26226 * posix/tst-fnmatch2.c: Add new test.
26227
68dc9497
AS
262282010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26229
26230 * elf/Makefile (check-execstack): Revert last change. Depend on
26231 check-execstack.h.
26232 (check-execstack.h): New target.
26233 (generated): Add check-execstack.h.
26234 * elf/check-execstack.c: Include "check-execstack.h".
26235 (main): Revert last change.
26236 (handle_file): Return zero if GNU_STACK is absent and
26237 DEFAULT_STACK_PERMS doesn't include PF_X.
26238
451f001b
UD
262392011-01-13 Ulrich Drepper <drepper@gmail.com>
26240
cfa28e56
UD
26241 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26242 in child fails because the descriptor is already closed.
8cf8ce17
UD
26243 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26244 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26245 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 26246
1086d70d
UD
26247 [BZ #12397]
26248 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26249 syscall.
26250
451f001b
UD
26251 [BZ #10484]
26252 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26253 temporary buffer used to handle multi lookups locally.
a85b5cb4 26254 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 26255
08769175
UD
262562011-01-12 Ulrich Drepper <drepper@gmail.com>
26257
26258 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26259 loader is ld.so.
26260
5e49c52e
UD
262612011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26262
26263 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26264 alignment for SSE2.
26265
60522a5f
UD
262662011-01-12 Ulrich Drepper <drepper@gmail.com>
26267
26268 [BZ #12394]
26269 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26270 characters. When rounding increased number of integer digits recompute
26271 number of groups.
26272 * stdio-common/tst-grouping.c: New file.
26273 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26274
f257bbd7
UD
262752011-01-09 Ulrich Drepper <drepper@gmail.com>
26276
26277 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26278 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26279
26280 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26281 void.
26282 * bits/select.h: Likewise.
26283
fa9c15cb
UD
262842011-01-08 Ulrich Drepper <drepper@gmail.com>
26285
26286 * po/ja.po: Update from translation team.
26287
16c2895f
DM
262882011-01-04 David S. Miller <davem@sunset.davemloft.net>
26289
26290 [BZ #11155]
26291 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26292 implementation just like for lxstat, fxstatat, et al.
26293
2543fef2
JM
262942010-12-27 Jim Meyering <meyering@redhat.com>
26295
26296 [BZ #12348]
26297 * posix/regexec.c (build_trtable): Return failure indication upon
26298 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26299
98727dbe
UD
263002010-12-25 Ulrich Drepper <drepper@gmail.com>
26301
5bd6dc5c
UD
26302 [BZ #12201]
26303 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26304 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26305 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26306 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26307
97983464
UD
26308 [BZ #12207]
26309 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26310
98727dbe
UD
26311 [BZ #12204]
26312 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26313 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26314
4a531bb0
L
263152010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26316
26317 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26318 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26319 script has SORT_BY_INIT_PRIORITY.
26320 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26321 NO_CTORS_DTORS_SECTIONS is defined.
26322 * elf/soinit.c: Likewise.
26323 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26324 NO_CTORS_DTORS_SECTIONS is defined.
26325 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26326 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26327 * sysdeps/sh/init-first.c: Likewise.
26328 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26329
07eb4b71
UD
263302010-12-24 Ulrich Drepper <drepper@gmail.com>
26331
26332 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26333 always use the slow path.
26334
30950a5f
RA
263352010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26336
26337 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26338 similar rule which adds the sysdep directories to the header search in
26339 order to pick up the correct platform stackinfo.h.
26340 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26341 perform test if it is, otherwise return successfully without testing.
26342 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26343 DEFAULT_STACK_PERMS define in stackinfo.h.
26344 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26345 defined in stackinfo.h.
26346 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26347 DEFAULT_STACK_PERMS defined in stackinfo.h.
26348 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26349 * sysdeps/ia64/stackinfo.h: Likewise.
26350 * sysdeps/s390/stackinfo.h: Likewise.
26351 * sysdeps/sh/stackinfo.h: Likewise.
26352 * sysdeps/sparc/stackinfo.h: Likewise.
26353 * sysdeps/x86_64/stackinfo.h: Likewise.
26354 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26355 PF_X for powerpc64. Retain PF_X for powerpc32.
26356
db753e2c
UD
263572010-12-19 Ulrich Drepper <drepper@gmail.com>
26358
14b697f7
UD
26359 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26360 accurately.
db753e2c
UD
26361 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26362 GETDENTS_64BIT_ALIGNED.
26363
28300719
UD
263642010-12-14 Ulrich Drepper <dreper@gmail.com>
26365
14b697f7 26366 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 26367
4f197237
AS
263682010-12-10 Andreas Schwab <schwab@redhat.com>
26369
dbb0472f
AS
26370 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26371 _GNU_SOURCE.
26372
4f197237
AS
26373 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26374 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26375 Remove __restrict.
26376 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26377 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26378
fb88ac72
UD
263792010-12-09 Ulrich Drepper <drepper@gmail.com>
26380
26381 [BZ #11655]
26382 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26383 are initialized.
26384
42acbb92
JJ
263852010-12-09 Jakub Jelinek <jakub@redhat.com>
26386
26387 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26388
c038d98d
UD
263892010-12-03 Ulrich Drepper <drepper@gmail.com>
26390
26391 * po/it.po: Update from translation team.
26392
3a4a2499
L
263932010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26394
26395 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26396 unused codes.
26397
1e24cf6e
UD
263982010-11-30 Ulrich Drepper <drepper@gmail.com>
26399
26400 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26401
a7690819
AS
264022010-11-24 Andreas Schwab <schwab@redhat.com>
26403
26404 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26405 specially.
26406 (gaih_getanswer_slice): Likewise.
26407
3bf8d1b1
JJ
264082010-10-20 Jakub Jelinek <jakub@redhat.com>
26409
26410 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26411
6db52fbb
PB
264122010-05-31 Petr Baudis <pasky@suse.cz>
26413
26414 [BZ #11149]
26415 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26416 silently even in the chroot mode.
26417
eaca7569
UD
264182010-11-22 Ulrich Drepper <drepper@gmail.com>
26419
26420 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26421 last patch a bit. Pretty printing
26422
3056dcdb
UD
264232010-05-31 Petr Baudis <pasky@suse.cz>
26424
26425 [BZ #10085]
26426 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26427 initialization of skip_initgroups_dyn.
26428
cf7c9078
UD
264292010-11-19 Ulrich Drepper <drepper@gmail.com>
26430
26431 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26432 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26433
a1fb5e3e
UD
264342010-11-16 Ulrich Drepper <drepper@gmail.com>
26435
26436 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26437
3540d66b
AS
264382010-11-11 Andreas Schwab <schwab@redhat.com>
26439
26440 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26441 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26442 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26443 ($(objpfx)tst-fnmatch-mem): New rule.
26444 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26445 * posix/tst-fnmatch.c (main): Call mtrace.
26446
13b69574
L
264472010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26448
26449 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26450 Support Intel processor model 6 and model 0x2c.
26451
da93d214
LM
264522010-11-10 Luis Machado <luisgpm@br.ibm.com>
26453
26454 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26455 signed comparison.
26456
8ca52c6e
L
264572010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26458
26459 [BZ #12205]
26460 * string/test-strncasecmp.c (check_result): New function.
26461 (do_one_test): Use it.
26462 (check1): New function.
26463 (test_main): Use it.
26464 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26465 Support strcasecmp and strncasecmp.
26466
69da074d
UD
264672010-11-08 Ulrich Drepper <drepper@gmail.com>
26468
26469 [BZ #12194]
26470 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26471 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26472
ff02d528
L
264732010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26474
26475 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26476 IFUNC support.
26477 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26478 memset-x86-64.
26479 * sysdeps/x86_64/multiarch/bzero.S: New file.
26480 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26481 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26482 * sysdeps/x86_64/multiarch/memset.S: New file.
26483 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26484 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26485 Set bit_Prefer_SSE_for_memop for Intel processors.
26486 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26487 Define.
26488 (index_Prefer_SSE_for_memop): Define.
26489 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26490
344d0b54
LM
264912010-11-04 Luis Machado <luisgpm@br.ibm.com>
26492
26493 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26494 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26495
c0dde15b
UD
264962010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26497
26498 [BZ #12191]
26499 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26500 (__x86_64_raw_data_cache_size_half): Likewise.
26501 (__x86_64_raw_shared_cache_size): Likewise.
26502 (__x86_64_raw_shared_cache_size_half): Likewise.
26503
26504 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26505 (__x86_64_raw_data_cache_size_half): Likewise.
26506 (__x86_64_raw_shared_cache_size): Likewise.
26507 (__x86_64_raw_shared_cache_size_half): Likewise.
26508 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26509 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26510 and __x86_64_raw_shared_cache_size_half. Round
26511 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26512 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26513 to multiple of 256 bytes.
26514
0e516e0e
MS
265152010-11-03 Ulrich Drepper <drepper@gmail.com>
26516
26517 [BZ #12167]
26518 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26519 of inacessible symlinks. Verify result of symlink before returning it.
26520 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26521 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26522
0e012e87
ER
265232010-10-28 Erich Ritz <erichritz@gmail.com>
26524
26525 * math/math.h (isinf): Fix typo in comment.
26526
de0ff7bc
UD
265272010-11-01 Ulrich Drepper <drepper@gmail.com>
26528
26529 * po/da.po: Update from translation team.
26530
fa41c84d
UD
265312010-10-26 Ulrich Drepper <drepper@gmail.com>
26532
26533 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26534 is added to the list.
26535
f0967738
AK
265362010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26537 Ulrich Drepper <drepper@gmail.com>
26538
26539 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26540 the global list here. Move code to...
26541 (_dl_add_to_namespace_list): ...here. New function.
26542 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26543 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26544 * elf/dl-load.c (lose): Don't remove the element from the list.
26545 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26546 (_dl_map_object): Likewise.
26547
265482010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
26549
26550 [BZ #12159]
26551 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26552 into all bytes of SSE register.
26553 Patch by Richard Li <richardpku@gmail.com>.
26554
f0967738 265552010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
26556
26557 [BZ #12140]
26558 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26559 perturbing.
26560
d0b9e94f
MB
265612010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26562
26563 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26564 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26565 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26566 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26568 submachine.
26569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26570
8e9f92e9
AS
265712010-10-22 Andreas Schwab <schwab@redhat.com>
26572
26573 * include/dlfcn.h (__RTLD_SECURE): Define.
26574 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26575 mode & __RTLD_SECURE instead.
26576 (open_path): Rename preloaded parameter to secure.
26577 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26578 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26579 * elf/dl-deps.c (openaux): Likewise.
26580 * elf/rtld.c (struct map_args): Remove is_preloaded.
26581 (map_doit): Don't use it.
26582 (dl_main): Likewise.
26583 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26584 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26585
bc96fbda
AS
265862010-09-09 Andreas Schwab <schwab@redhat.com>
26587
26588 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26589 (sysd-rules-targets): Remove duplicates.
26590 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26591 rtld-%.$o dependency.
26592
22cd1c9b
AS
265932010-10-18 Andreas Schwab <schwab@redhat.com>
26594
26595 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26596 _dl_map_object do it.
26597
18edac48
UD
265982010-10-19 Ulrich Drepper <drepper@gmail.com>
26599
26600 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26601 fast fma builtins, define the macros in the C99 standard.
26602 (FP_FAST_FMAF): Likewise.
26603 (FP_FAST_FMAL): Likewise.
26604 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26605
26606 * bits/mathdef.h: Update copyright year.
26607 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26608
d2050124
MM
266092010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26610
26611 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26612 builtins, define the macros in the C99 standard.
26613 (FP_FAST_FMAF): Likewise.
26614 (FP_FAST_FMAL): Likewise.
26615 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26616 multiply/add.
26617 (FP_FAST_FMAF): Likewise.
26618
475facd1
JJ
266192010-10-15 Jakub Jelinek <jakub@redhat.com>
26620
26621 [BZ #3268]
26622 * math/libm-test.inc (fma_test): Some new testcases.
26623 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26624 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26625 y and infinite z. Do multiplication by C already in long double.
26626 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26627 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26628 y and infinite z. Do bitwise or of inexact bit into u.d.
26629 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26630 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26631 * sysdeps/i386/fpu/s_fma.S: Removed.
26632 * sysdeps/i386/fpu/s_fmal.S: Removed.
26633
7c08a05c
JJ
266342010-10-16 Jakub Jelinek <jakub@redhat.com>
26635
26636 [BZ #3268]
26637 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26638 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26639 computation is not scheduled after fetestexcept. Fix value
26640 of minimum denormal long double.
26641
f3f7372d
JJ
266422010-10-14 Jakub Jelinek <jakub@redhat.com>
26643
26644 [BZ #3268]
26645 * math/libm-test.inc (fma_test): Add some more tests.
26646 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26647 correctly.
26648
14d43591
AS
266492010-10-15 Andreas Schwab <schwab@redhat.com>
26650
26651 * scripts/data/localplt-s390-linux-gnu.data: New file.
26652 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26653
5e908464
JJ
266542010-10-13 Jakub Jelinek <jakub@redhat.com>
26655
26656 [BZ #3268]
26657 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26658 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26659 instead of dbl-64.
26660 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26661 inlines.
26662 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26663 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26664 if one of x and y is very large and the other is subnormal.
26665 * sysdeps/s390/fpu/s_fmaf.c: New file.
26666 * sysdeps/s390/fpu/s_fma.c: New file.
26667 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26668 * sysdeps/powerpc/fpu/s_fma.S: New file.
26669 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26670 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26671 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26672
266732010-10-12 Jakub Jelinek <jakub@redhat.com>
26674
26675 [BZ #3268]
26676 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26677 fma tests.
26678 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26679 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26680 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26681 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26682 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26683 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26684 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26685
b833d51f
UD
266862010-10-12 Ulrich Drepper <drepper@redhat.com>
26687
26688 [BZ #12078]
26689 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26690 * posix/bug-regex31.input: Add test case.
26691
1751705d
UD
266922010-10-11 Ulrich Drepper <drepper@gmail.com>
26693
e9b9cbf5
UD
26694 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26695 * posix/bug-regex31.input: New file.
26696
26697 [BZ #12078]
26698 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26699 (parse_sub_exp): Fix last change, use postorder.
26700
ef06edbe
UD
26701 * posix/bug-regex31.c: New file.
26702 * posix/Makefile: Add rules to build and run bug-regex31.
26703
a129c80d
UD
26704 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26705
26706 [BZ #12078]
26707 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26708
b76b818e
UD
26709 [BZ #12108]
26710 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26711 to have entries in sys_siglist.
26712
1751705d
UD
26713 [BZ #12093]
26714 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26715 be NULL.
26716
9ff8d36f
JJ
267172010-10-07 Jakub Jelinek <jakub@redhat.com>
26718
26719 [BZ #3268]
26720 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26721 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26722 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26723 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26724 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26725 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26726 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26727 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26728 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26729 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26730 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26731 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26732 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26733 * math/ftestexcept.c (fetestexcept): Likewise.
26734 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26735 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26736 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26737 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26738 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26739 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26740 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26741
af325969
UD
267422010-10-11 Ulrich Drepper <drepper@gmail.com>
26743
c579b202 26744 [BZ #12107]
af325969
UD
26745 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26746 newline.
26747
67a67b95
UD
267482010-10-06 Ulrich Drepper <drepper@gmail.com>
26749
26750 * string/bug-strstr1.c: New file.
26751 * string/Makefile: Add rules to build and run bug-strstr1.
26752
5fb308bc
EB
267532010-10-05 Eric Blake <eblake@redhat.com>
26754
26755 [BZ #12092]
26756 * string/str-two-way.h (two_way_long_needle): Always clear memory
26757 when skipping input due to the shift table.
26758
45db99c7
UD
267592010-10-03 Ulrich Drepper <drepper@gmail.com>
26760
3b111893
UD
26761 [BZ #12005]
26762 * malloc/mcheck.c: Handle large requests.
26763
45db99c7
UD
26764 [BZ #12077]
26765 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26766 for strncmp and strncasecmp.
26767 * string/stratcliff.c: Add tests for strcmp and strncmp.
26768 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26769
cf7a1eb8
NI
267702010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26771
26772 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26773 __set_fpscr.
26774
6484ba5e
AJ
267752010-09-30 Andreas Jaeger <aj@suse.de>
26776
26777 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26778 (CGROUP_SUPER_MAGIC): Define.
26779 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26780 Handle btrfs and cgroup file systems.
26781 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26782 Likewise.
26783
91c42559
LM
267842010-09-27 Luis Machado <luisgpm@br.ibm.com>
26785
26786 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26787 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26788
87a97932
AK
267892010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26790
26791 [BZ #12067]
26792 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26793 trying to locate the ELF header.
26794
c21cc9bc
AS
267952010-09-27 Andreas Schwab <schwab@redhat.com>
26796
26797 [BZ #11611]
26798 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26799 Mask out sign-bit copies when constructing f_fsid.
26800
315970f6
PB
268012010-09-24 Petr Baudis <pasky@suse.cz>
26802
26803 * debug/stack_chk_fail_local.c: Add missing licence exception.
26804 * debug/warning-nop.c: Likewise.
26805
1ac7a2c7
JM
268062010-09-15 Joseph Myers <joseph@codesourcery.com>
26807
26808 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26809 implementing getdents64 using getdents syscall, set d_type if
26810 __ASSUME_GETDENTS32_D_TYPE.
26811
56801c50
AS
268122010-09-16 Andreas Schwab <schwab@redhat.com>
26813
26814 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26815 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26816
dda51327
UD
268172010-09-21 Ulrich Drepper <drepper@redhat.com>
26818
26819 [BZ #12037]
26820 * posix/unistd.h: Undo change of feature selection for ftruncate from
26821 2010-01-11.
26822
8ffcee4a
UD
268232010-09-20 Ulrich Drepper <drepper@redhat.com>
26824
a545ecd9 26825 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
26826 detection.
26827
e24f0a8b
AS
268282010-09-20 Andreas Schwab <schwab@redhat.com>
26829
26830 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26831 fanotify_mark.
26832 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26833
7291c56f
AS
268342010-09-14 Andreas Schwab <schwab@redhat.com>
26835
26836 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26837 variables after CHECK_SP call.
26838 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26839
bc5fb037
AS
268402010-09-13 Andreas Schwab <schwab@redhat.com>
26841 Ulrich Drepper <drepper@redhat.com>
26842
26843 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26844 re-relocationg ld.so.
26845 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26846 _dl_init_paths call.
26847 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26848 here anymore.
26849
e66e7419
UD
268502010-09-14 Ulrich Drepper <drepper@redhat.com>
26851
26852 * resolv/res_init.c (__res_vinit): Count the default server we added.
26853
c044aa75
CLT
268542010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26855 Ulrich Drepper <drepper@redhat.com>
26856
26857 [BZ #11968]
26858 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26859 (____longjmp_chk): Use %ebx for saving value across system call.
26860 Add unwind info.
26861
32cf4069
AS
268622010-09-06 Andreas Schwab <schwab@redhat.com>
26863
26864 * manual/Makefile: Don't mix pattern rules with normal rules.
26865
817328ee
AS
268662010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26867
26868 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26869 operation.
26870 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26871 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26872 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26873 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26874 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26875 Likewise.
26876
29fddf61
UD
268772010-09-04 Ulrich Drepper <drepper@redhat.com>
26878
26879 [BZ #11979]
26880 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26881 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26882
0959ffc9
UD
268832010-09-02 Ulrich Drepper <drepper@redhat.com>
26884
26885 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26886 * sysdeps/x86_64/addmul_1.S: Likewise.
26887 * sysdeps/x86_64/lshift.S: Likewise.
26888 * sysdeps/x86_64/mul_1.S: Likewise.
26889 * sysdeps/x86_64/rshift.S: Likewise.
26890 * sysdeps/x86_64/sub_n.S: Likewise.
26891 * sysdeps/x86_64/submul_1.S: Likewise.
26892
ece29840
ST
268932010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26894
0959ffc9
UD
26895 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26896 Define __sched_param instead of SCHED_* and sched_param when
ece29840 26897 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 26898 * bits/sched.h [__need_schedparam]
ece29840 26899 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
26900 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26901 (__defined_schedparam): Define to 1.
ece29840
ST
26902 (__sched_param): New structure, identical to sched_param.
26903 (__need_schedparam): Undefine.
26904
e53a31fe
MF
269052010-08-31 Mike Frysinger <vapier@gentoo.org>
26906
fdc0c10d
MF
26907 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26908 (epoll_create1): Declare.
26909
e53a31fe
MF
26910 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26911
a726d796
AS
269122010-08-31 Andreas Schwab <schwab@redhat.com>
26913
26914 [BZ #7066]
26915 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26916 shifting retval into place.
26917
2f3e3dc7
UD
269182010-09-01 Ulrich Drepper <drepper@redhat.com>
26919
f2933da9
UD
26920 * nis/rpcsvc/nis.h: Update copyright notice.
26921 * nis/rpcsvc/nis.x: Likewise.
26922 * nis/rpcsvc/nis_callback.h: Likewise.
26923 * nis/rpcsvc/nis_callback.x: Likewise.
26924 * nis/rpcsvc/nis_object.x: Likewise.
26925 * nis/rpcsvc/nis_tags.h: Likewise.
26926 * nis/rpcsvc/yp.h: Likewise.
26927 * nis/rpcsvc/yp.x: Likewise.
26928 * nis/rpcsvc/ypupd.h: Likewise.
26929 * nis/yp_xdr.c: Likewise.
26930 * nis/ypupdate_xdr.c: Likewise.
26931
2f3e3dc7
UD
26932 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26933 mainly the body of pmap_getport. Add parameters to specify timeouts.
26934 (pmap_getport): Use __libc_rpc_getport.
26935 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26936 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26937 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26938
f3dcc2f9
AS
269392010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26940
26941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26942 fanotify_mark.
26943
6d34eb5b
RM
269442010-08-27 Roland McGrath <roland@redhat.com>
26945
26946 * sysdeps/i386/i686/multiarch/Makefile
26947 (CFLAGS-varshift.c): New variable.
26948
9ea3de11
UD
269492010-08-27 Ulrich Drepper <drepper@redhat.com>
26950
c96d23fc
UD
26951 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26952 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26953
9ea3de11
UD
26954 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26955
26956 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26957
623aac7f
L
269582010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26959
26960 * sysdeps/x86_64/strlen.S: Unroll the loop.
26961 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26962 strlen-sse2 strlen-sse2-bsf.
26963 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26964 __strlen_no_bsf if bit_Slow_BSF is set.
26965 (__strlen_sse42): Removed.
26966 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26967 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26968
8b2b7715
RM
269692010-08-25 Roland McGrath <roland@redhat.com>
26970
26971 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26972 * sysdeps/x86_64/multiarch/varshift.c: New file.
26973 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26974 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26975 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26976 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26977
e73015f2
L
269782010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26979
26980 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26981 strlen-sse2 strlen-sse2-bsf.
26982 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
26983 __strlen_sse2_bsf if bit_Slow_BSF is unset.
26984 (__strlen_sse2): Removed.
26985 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
26986 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
26987 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26988 bit_Slow_BSF for Atom.
26989 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
26990 (index_Slow_BSF): Define.
26991 (HAS_SLOW_BSF): Define.
26992
df24a73e
UD
269932010-08-25 Ulrich Drepper <drepper@redhat.com>
26994
26995 [BZ #10851]
26996 * resolv/res_init.c (__res_vinit): When no server address at all
26997 is given default to loopback.
26998
f2ac4868
RM
269992010-08-24 Roland McGrath <roland@redhat.com>
27000
09055553
RM
27001 * configure.in: Remove config-name.h generation.
27002 * configure: Regenerated.
27003 * config-name.in: File removed.
27004 * scripts/config-uname.sh: New file.
27005 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27006 ($(objdir)config-name.h): New target.
27007
f2ac4868
RM
27008 * sunrpc/rpc_parse.h: Avoid nested comment.
27009
73f27d5e
RH
270102010-08-24 Richard Henderson <rth@redhat.com>
27011 Ulrich Drepper <drepper@redhat.com>
27012 H.J. Lu <hongjiu.lu@intel.com>
27013
27014 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27015 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27016 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27017 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27018 _mm_alignr_epi8 with _mm_loadu_si128.
27019 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27020 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27021 (__m128i_shift_right): Removed.
27022 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27023 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27024 * sysdeps/x86_64/multiarch/varshift.h: New file.
27025 * sysdeps/x86_64/multiarch/varshift.S: New file.
27026
84b9230c
MF
270272010-08-21 Mike Frysinger <vapier@gentoo.org>
27028
27029 * configure.in: Move assembler checks to before sysdep dir checking.
27030
9bbd0ddc
PB
270312010-08-20 Petr Baudis <pasky@suse.cz>
27032
27033 * LICENSES: Sync the sunrpc license.
27034
9da4bb31
UD
270352010-08-19 Ulrich Drepper <drepper@redhat.com>
27036
a7ab6ec8
UD
27037 * sunrpc/auth_des.c: Update copyright notice once again.
27038 * sunrpc/auth_none.c: Likewise.
27039 * sunrpc/auth_unix.c: Likewise.
27040 * sunrpc/authdes_prot.c: Likewise.
27041 * sunrpc/authuxprot.c: Likewise.
27042 * sunrpc/bindrsvprt.c: Likewise.
27043 * sunrpc/clnt_gen.c: Likewise.
27044 * sunrpc/clnt_perr.c: Likewise.
27045 * sunrpc/clnt_raw.c: Likewise.
27046 * sunrpc/clnt_simp.c: Likewise.
27047 * sunrpc/clnt_tcp.c: Likewise.
27048 * sunrpc/clnt_udp.c: Likewise.
27049 * sunrpc/clnt_unix.c: Likewise.
27050 * sunrpc/des_crypt.c: Likewise.
27051 * sunrpc/des_soft.c: Likewise.
27052 * sunrpc/get_myaddr.c: Likewise.
27053 * sunrpc/getrpcport.c: Likewise.
27054 * sunrpc/key_call.c: Likewise.
27055 * sunrpc/key_prot.c: Likewise.
27056 * sunrpc/openchild.c: Likewise.
27057 * sunrpc/pm_getmaps.c: Likewise.
27058 * sunrpc/pm_getport.c: Likewise.
27059 * sunrpc/pmap_clnt.c: Likewise.
27060 * sunrpc/pmap_prot.c: Likewise.
27061 * sunrpc/pmap_prot2.c: Likewise.
27062 * sunrpc/pmap_rmt.c: Likewise.
27063 * sunrpc/rpc/auth.h: Likewise.
27064 * sunrpc/rpc/auth_unix.h: Likewise.
27065 * sunrpc/rpc/clnt.h: Likewise.
27066 * sunrpc/rpc/des_crypt.h: Likewise.
27067 * sunrpc/rpc/key_prot.h: Likewise.
27068 * sunrpc/rpc/netdb.h: Likewise.
27069 * sunrpc/rpc/pmap_clnt.h: Likewise.
27070 * sunrpc/rpc/pmap_prot.h: Likewise.
27071 * sunrpc/rpc/pmap_rmt.h: Likewise.
27072 * sunrpc/rpc/rpc.h: Likewise.
27073 * sunrpc/rpc/rpc_des.h: Likewise.
27074 * sunrpc/rpc/rpc_msg.h: Likewise.
27075 * sunrpc/rpc/svc.h: Likewise.
27076 * sunrpc/rpc/svc_auth.h: Likewise.
27077 * sunrpc/rpc/types.h: Likewise.
27078 * sunrpc/rpc/xdr.h: Likewise.
27079 * sunrpc/rpc_clntout.c: Likewise.
27080 * sunrpc/rpc_cmsg.c: Likewise.
27081 * sunrpc/rpc_common.c: Likewise.
27082 * sunrpc/rpc_cout.c: Likewise.
27083 * sunrpc/rpc_dtable.c: Likewise.
27084 * sunrpc/rpc_hout.c: Likewise.
27085 * sunrpc/rpc_main.c: Likewise.
27086 * sunrpc/rpc_parse.c: Likewise.
27087 * sunrpc/rpc_parse.h: Likewise.
27088 * sunrpc/rpc_prot.c: Likewise.
27089 * sunrpc/rpc_sample.c: Likewise.
27090 * sunrpc/rpc_scan.c: Likewise.
27091 * sunrpc/rpc_scan.h: Likewise.
27092 * sunrpc/rpc_svcout.c: Likewise.
27093 * sunrpc/rpc_tblout.c: Likewise.
27094 * sunrpc/rpc_util.c: Likewise.
27095 * sunrpc/rpc_util.h: Likewise.
27096 * sunrpc/rpcinfo.c: Likewise.
27097 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27098 * sunrpc/rpcsvc/key_prot.x: Likewise.
27099 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27100 * sunrpc/rpcsvc/mount.x: Likewise.
27101 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27102 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27103 * sunrpc/rpcsvc/rex.x: Likewise.
27104 * sunrpc/rpcsvc/rstat.x: Likewise.
27105 * sunrpc/rpcsvc/rusers.x: Likewise.
27106 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27107 * sunrpc/rpcsvc/spray.x: Likewise.
27108 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27109 * sunrpc/rtime.c: Likewise.
27110 * sunrpc/svc.c: Likewise.
27111 * sunrpc/svc_auth.c: Likewise.
27112 * sunrpc/svc_authux.c: Likewise.
27113 * sunrpc/svc_raw.c: Likewise.
27114 * sunrpc/svc_run.c: Likewise.
27115 * sunrpc/svc_simple.c: Likewise.
27116 * sunrpc/svc_tcp.c: Likewise.
27117 * sunrpc/svc_udp.c: Likewise.
27118 * sunrpc/svc_unix.c: Likewise.
27119 * sunrpc/svcauth_des.c: Likewise.
27120 * sunrpc/xcrypt.c: Likewise.
27121 * sunrpc/xdr.c: Likewise.
27122 * sunrpc/xdr_array.c: Likewise.
27123 * sunrpc/xdr_float.c: Likewise.
27124 * sunrpc/xdr_mem.c: Likewise.
27125 * sunrpc/xdr_rec.c: Likewise.
27126 * sunrpc/xdr_ref.c: Likewise.
27127 * sunrpc/xdr_sizeof.c: Likewise.
27128 * sunrpc/xdr_stdio.c: Likewise.
27129
9da4bb31
UD
27130 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27131 handling.
27132
bdaa77bc
AS
271332010-08-19 Andreas Schwab <schwab@redhat.com>
27134
27135 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27136
fe2f79db
LM
271372010-08-19 Luis Machado <luisgpm@br.ibm.com>
27138
27139 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27140 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27141 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27142 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27143 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27144 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27145 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27146 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27147 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27148 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27149 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27150 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27151 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27152 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27153
b9b42ee0
AB
271542010-07-26 Anton Blanchard <anton@samba.org>
27155
27156 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27157 * malloc/arena.c (heap_trim): Likewise.
27158
1c06ba31
UD
271592010-08-16 Ulrich Drepper <drepper@redhat.com>
27160
27161 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27162 here. Not...
27163 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27164 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27165
f8392f40
L
271662010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27167
27168 * sysdeps/i386/elf/Makefile: New file.
27169
3162f12e
AS
271702010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27171
27172 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27173 from fanotify_init.
27174 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27175 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27176
28c90b2c
UD
271772010-08-15 Ulrich Drepper <drepper@redhat.com>
27178
27179 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27180 of strncasecmp_l.
1feccb6c 27181 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 27182
ca6bb004
UD
271832010-08-14 Ulrich Drepper <drepper@redhat.com>
27184
e9f82e0d
UD
27185 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27186 strncase_l-nonascii.
27187 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27188 Add strncase_l-ssse3.
27189 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27190 * sysdeps/x86_64/strcmp.S: Likewise.
27191 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27192 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27193 * sysdeps/x86_64/strncase.S: New file.
27194 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27195 * sysdeps/x86_64/strncase_l.S: New file.
27196 * string/Makefile (strop-tests): Add strncasecmp.
27197 * string/test-strncasecmp.c: New file.
27198
27199 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27200 warning.
27201
ca6bb004
UD
27202 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27203 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27204
052fa7b3
AS
272052010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27206
27207 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27208
962dba78
UD
272092010-08-12 Ulrich Drepper <drepper@redhat.com>
27210
27211 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27212 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27213 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27214
bebff237
AM
272152010-05-01 Alan Modra <amodra@gmail.com>
27216
27217 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27218 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27219 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27220 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27221 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27222 tidying. Don't tail-call __sigjmp_save for static lib.
27223 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27224 save location.
27225 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27226 (CALL_MCOUNT): Add eh info, and nop after bl.
27227 (TAIL_CALL_SYSCALL_ERROR): New macro.
27228 (PSEUDO_RET): Use it.
27229 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27230 Correct save location of integer regs and cr.
27231 (_dl_profile_resolve): Correct cr save location. Delete nops
27232 after bl when SHARED. Reduce cfi size a little by better
27233 placement of cfi directives.
27234 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27235 make a stack frame. Instead use parm save area as a temp.
27236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27237 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27239 Don't make a stack frame for parent, use parm save area.
27240 Increase child stack frame to 112 bytes. Don't save unused reg,
27241 and adjust reg usage. Set up cfi on error recovery and
27242 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27244 (__makecontext): Add dummy nop after jump to exit.
27245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27246 Use correct parm save area and cr save, reduce stack frame.
27247 Correct cfi for possible PSEUDO_RET frame setup.
27248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27249 Branch to local label emitted by PSEUDO_RET rather than
27250 __syscall_error.
27251
02637374
AS
272522010-08-12 Andreas Schwab <schwab@redhat.com>
27253
27254 [BZ #11904]
27255 * locale/programs/locale.c (print_assignment): New function.
27256 (show_locale_vars): Use it.
27257
c3e2f19b
UD
272582010-08-11 Ulrich Drepper <drepper@redhat.com>
27259
3cdaa6ad
UD
27260 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27261 field.
27262 (struct statfs64): Likewise.
27263 (_STATFS_F_FLAGS): Define.
27264 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27265 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27266 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27267 (ST_VALID): Define locally.
27268 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27269 __statvfs_getflags, use the provided value.
27270 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27271 __ASSUME_STATFS_F_FLAGS.
27272
754f7da3
UD
27273 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27274
10b3bedc
UD
27275 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27276 Add sys/fanotify.h.
27277 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27278 fanotify_mask for GLIBC_2.13.
27279 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27280 fanotify_init and fanotify_mark.
27281 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27282 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27283
c08fb0d7
UD
27284 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27285 Add prlimit.
27286 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27287 prlimit64 for GLIBC_2.13.
27288 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27289 prlimit64.
27290 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27291 syscall.
27292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27293 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27294 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27295 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27296 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27297 add prlimit alias.
27298 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27299
15bac72b
UD
27300 [BZ #11903]
27301 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27302 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27303
c3e2f19b
UD
27304 * nss/Makefile: Add rules to build and run tst-nss-test1.
27305 * shlib-versions: Add entry for libnss_test1.
27306 * nss/nss_test1.c: New file.
27307 * nss/tst-nss-test1.c: New file.
27308
27309 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27310 (__nss_configure_lookup): Set appropriate entry in
27311 __nss_configure_lookup to true.
27312 * nss/nsswitch.h: Define enum with indeces of databases in
27313 databases and __nss_database_custom arrays. Declare
27314 __nss_database_custom.
27315 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27316 to avoid using nscd when custom rules are installed.
27317 * nss/getXXbyYY_r.c: Likewise.
27318 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27319
27320 * nss/nss_files/files-parse.c: Whitespace fixes.
27321
f15ce4d8
UD
273222010-08-09 Ulrich Drepper <drepper@redhat.com>
27323
27324 [BZ #11883]
27325 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27326 * posix/fnmatch_loop.c: Likewise.
27327
d22e4cc9
AK
273282010-07-17 Andi Kleen <ak@linux.intel.com>
27329
27330 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27331 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27332 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27333 * Versions.def [GLIBC_2.13]: Add.
27334
805bc17d
UD
273352010-08-06 Ulrich Drepper <drepper@redhat.com>
27336
27337 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27338 Also fail if tpwd after pwuid call is NULL.
27339
5a42321d
ST
273402010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27341
27342 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27343 when converting to ms.
27344
fd3ebeda
ST
273452010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27346
27347 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27348 EOPNOTSUPP errors with ENOTTY.
27349 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27350 EOPNOTSUPP errors with ENOTTY.
27351
73507d3a
UD
273522010-07-31 Ulrich Drepper <drepper@redhat.com>
27353
27354 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27355 Add strcasecmp_l-ssse3.
27356 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27357 strcasecmp.
27358 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27359 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27360 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27361
fe36dd02
UD
273622010-07-30 Ulrich Drepper <drepper@redhat.com>
27363
66f6765a
UD
27364 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27365
42e08a54
UD
27366 * string/Makefile (strop-tests): Add strcasecmp.
27367 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27368 strcasecmp_l-nonascii.
27369 (gen-as-const-headers): Add locale-defines.sym.
27370 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27371 * sysdeps/x86_64/strcasecmp.S: New file.
27372 * sysdeps/x86_64/strcasecmp_l.S: New file.
27373 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27374 * sysdeps/x86_64/locale-defines.sym: New file.
27375 * string/test-strcasecmp.c: New file.
27376
fe36dd02
UD
27377 * string/test-strcasestr.c: Test both ends of the range of characters.
27378 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27379
48cbc0d6
RM
273802010-07-29 Roland McGrath <roland@redhat.com>
27381
76e6d6bc 27382 [BZ #11856]
48cbc0d6
RM
27383 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27384
880113d9
UD
273852010-07-27 Ulrich Drepper <drepper@redhat.com>
27386
27387 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27388 for ld.so.
27389
deb9cabb
AS
273902010-07-27 Andreas Schwab <schwab@redhat.com>
27391
27392 * manual/memory.texi (Malloc Tunable Parameters): Document
27393 M_PERTURB.
27394
1c7570ff
RM
273952010-07-26 Roland McGrath <roland@redhat.com>
27396
27397 [BZ #11840]
27398 * configure.in (-fgnu89-inline check): Set and substitute
27399 gnu89_inline, not libc_cv_gnu89_inline.
27400 * configure: Regenerated.
27401 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27402
24fb0f88
UD
274032010-07-26 Ulrich Drepper <drepper@redhat.com>
27404
27405 * string/test-strnlen.c: New file.
27406 * string/Makefile (strop-tests): Add strnlen.
27407 * string/tester.c (test_strnlen): Add a few more test cases.
27408 * string/tst-strlen.c: Better error reporting.
27409
27410 * sysdeps/x86_64/strnlen.S: New file.
27411
8e96b93a
UD
274122010-07-24 Ulrich Drepper <drepper@redhat.com>
27413
27414 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27415 lower-latency instructions.
27416
dbc676d4
UD
274172010-07-23 Ulrich Drepper <drepper@redhat.com>
27418
27419 * string/test-strcasestr.c: New file.
27420 * string/test-strstr.c: New file.
27421 * string/Makefile (strop-tests): Add strstr and strcasestr.
27422 * string/str-two-way.h: Don't undefine MAX.
27423 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27424
f6a31e0e
AS
274252010-07-21 Andreas Schwab <schwab@redhat.com>
27426
27427 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27428 strcasestr-nonascii.
27429 (CFLAGS-strcasestr-nonascii.c): Define.
27430 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27431 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27432 Remove unused attribute.
27433
5dbc3b6c
RM
274342010-07-20 Roland McGrath <roland@redhat.com>
27435
27436 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27437 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27438 ld.so.cache was broken. With it, there is no way to disable dsocaps
27439 like LD_HWCAP_MASK can disable hwcaps.
27440
23d101d8
EPM
274412010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27442
27443 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27444
cc9f2e47
UD
274452010-07-16 Ulrich Drepper <drepper@redhat.com>
27446
27447 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27448 call in strcasestr.
27449 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27450 __strcasestr_sse42_nonascii.
27451 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27452 strcasestr-nonascii.c.
27453 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27454
77c1b069
LM
274552010-06-15 Luis Machado <luisgpm@br.ibm.com>
27456
27457 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27458 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27459 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27460 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27461
440566c3
UD
274622010-07-09 Ulrich Drepper <drepper@redhat.com>
27463
27464 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27465 fcntl.
27466
5be9d05d
AS
274672010-07-06 Andreas Schwab <schwab@redhat.com>
27468
c30b7ee2 27469 [BZ #11577]
5be9d05d
AS
27470 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27471 dl_signal_cerror.
27472
8a492a67
UD
274732010-07-06 Ulrich Drepper <drepper@redhat.com>
27474
27475 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27476 _PC_PIPE_BUF using F_GETPIPE_SZ.
27477
713df3d5
RM
274782010-07-05 Roland McGrath <roland@redhat.com>
27479
27480 * manual/arith.texi (Rounding Functions): Fix rint description
27481 implicit in round description.
27482
702e8f14
UD
274832010-07-02 Ulrich Drepper <drepper@redhat.com>
27484
27485 * elf/Makefile: Fix linking for a few tests to make recent linker
27486 happy.
27487
52ed8be9
AS
274882010-06-30 Andreas Schwab <schwab@redhat.com>
27489
27490 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27491 $(common-objpfx)libc_nonshared.a.
27492
f47c9a11
LM
274932010-06-21 Luis Machado <luisgpm@br.ibm.com>
27494
27495 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27496 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27497 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27498 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27499 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27500 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27501 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27502 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27517 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27518 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27519 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27520 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27521 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27522 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27523 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27524 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27525 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27526 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27527 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27528 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27543
6fb8cbcb
L
275442010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27545
27546 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27547 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27548 * string/memmove.c (memmove): Renamed to ...
27549 (MEMMOVE): ...this. Default to memmove.
27550 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27551 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27552 (END_CHK): Define.
27553 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27554 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27555 mempcpy-ssse3-back memmove-ssse3-back.
27556 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27557 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27558 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27559 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27560 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27561 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27562 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27563 * sysdeps/x86_64/multiarch/memmove.c: New file.
27564 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27565 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27566 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27567 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27568 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27569 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27570 Define.
27571 (index_Fast_Copy_Backward): Define.
27572 (HAS_ARCH_FEATURE): Define.
27573 (HAS_FAST_REP_STRING): Define.
27574 (HAS_FAST_COPY_BACKWARD): Define.
27575
4e733bac 275762010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
27577
27578 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27579 Restore proper fallback handling.
27580
63c4ed22
UD
275812010-06-19 Ulrich Drepper <drepper@redhat.com>
27582
ac2b484c
UD
27583 [BZ #11701]
27584 * posix/group_member.c (__group_member): Correct checking loop.
27585
63c4ed22
UD
27586 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27587 OOM in getpwuid_r correctly. Return error number when the caller
27588 should return, otherwise -1.
27589 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27590 call returning > 0 value.
27591 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27592
765ade4b
AS
275932010-06-07 Andreas Schwab <schwab@redhat.com>
27594
27595 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27596 libc_nonshared.a from targets in modules-names.
27597
80da2e09
KS
275982010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27599
27600 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27601 requires it.
27602
158db122
LM
276032010-06-10 Luis Machado <luisgpm@br.ibm.com>
27604
27605 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27606 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27607 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27608 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27609
caa78cf8
AS
276102010-06-02 Andreas Schwab <schwab@redhat.com>
27611
27612 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27613
b2ef2c01
UD
276142010-06-14 Ulrich Drepper <drepper@redhat.com>
27615
27616 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27617 and F_GETPIPE_SZ.
27618 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27619 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27620 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27621 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27622 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27623 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27624
fbd643b6
RM
276252010-06-14 Roland McGrath <roland@redhat.com>
27626
27627 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27628
f32f2869
JJ
276292010-06-07 Jakub Jelinek <jakub@redhat.com>
27630
27631 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27632 __REDIRECT followed by __THROW.
27633 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27634 * posix/getopt.h (getopt): Likewise.
27635
2a50c078
EPM
276362010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27637
27638 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27639 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27640 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27641 in AT_FLAGS.
27642 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27643 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27644
eb5ad2eb
LM
276452010-05-28 Luis Machado <luisgpm@br.ibm.com>
27646
27647 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27648
3c88fe1e
L
276492010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27650
27651 [BZ #11640]
27652 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27653 Properly check family and model.
27654
d2f73151
TY
276552010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27656
27657 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27658
ebd2e13d
LM
276592010-05-24 Luis Machado <luisgpm@br.ibm.com>
27660
27661 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27662
b32b8b45
UD
276632010-05-21 Ulrich Drepper <drepper@redhat.com>
27664
27665 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27666 symbol reference.
27667
9acbe24d
AS
276682010-05-19 Andreas Schwab <schwab@redhat.com>
27669
27670 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27671 symbol reference.
27672
f0ccf6ea
AS
276732010-05-21 Andreas Schwab <schwab@redhat.com>
27674
3d04ff3a
AS
27675 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27676 and internal_recvmmsg.
27677 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27678 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27679 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27680 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27681
f0ccf6ea
AS
27682 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27683 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27684 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27685
5b08ac57
AS
276862010-05-20 Andreas Schwab <schwab@redhat.com>
27687
27688 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27689
4828935d
LM
276902010-05-17 Luis Machado <luisgpm@br.ibm.com>
27691
27692 POWER7 optimizations.
27693 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27694 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27695
373d545e
UD
276962010-05-19 Ulrich Drepper <drepper@redhat.com>
27697
27698 * version.h: Update for 2.13 development version.
27699
21a2b1ae
AS
277002010-05-12 Andrew Stubbs <ams@codesourcery.com>
27701
27702 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27703 exceptions. Return 0.
27704
3f7dcb2b
RM
277052010-05-07 Roland McGrath <roland@redhat.com>
27706
27707 * elf/ldconfig.c (main): Add a const.
27708
5f24d53a 277092010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 27710
a160f8d8
UD
27711 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27712 (args_options): Add no-idn option.
27713 (ahosts_keys_int): Add idn_flags to ai_flags.
27714 (parse_option): Handle 'i' option to clear idn_flags.
27715
5f24d53a
UD
27716 * malloc/malloc.c (_int_free): Possible race in the most recently
27717 added check. Only act on the data if no current modification
27718 happened.
265bb1ce
UD
27719
27720See ChangeLog.17 for earlier changes.