]> sourceware.org Git - glibc.git/blame - ChangeLog
BZ#14280: Fix Hurd ioctl macro to avoid warning.
[glibc.git] / ChangeLog
CommitLineData
61c23e62
RM
12013-04-08 Roland McGrath <roland@hack.frob.com>
2
3 [BZ #14280]
4 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
5 when computing value.
6
7208a313
CD
72013-04-06 Carlos O'Donell <carlos@redhat.com>
8
085b2d41
CD
9 * math/README.libm-test (How can I generate "libm-test-ulps"?):
10 Use testrun.sh to run libm tests.
11
7208a313
CD
12 [BZ #15309]
13 * elf/dl-open.c (dl_open_worker): memset all of seen array.
14
872c0acd
MM
152013-04-06 Marko Myllynen <myllynen@redhat.com>
16
17 [BZ #15264]
18 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19
26510bdd
CD
202013-04-06 Carlos O'Donell <carlos@redhat.com>
21
22 * Makefile.in (regen-ulps): New target.
23 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
24 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
25 [ifneq (no,$(PERL)] (regen-ulps): New target.
26 [ifeq (no,$(PERL)] (regen-ulps): New target.
27 * math/libm-test.inc (ulps_file_name): Define.
28 (output_dir): New variable.
29 (options): Add "output-dir" option.
30 (parse_opt): Handle 'o' case.
31 (main): If output_dir is non-NULL use it as a prefix
32 otherwise use "".
33 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
34
a01f19c8
CD
352013-04-06 Carlos O'Donell <carlos@redhat.com>
36
37 [BZ #10060, #10062]
38 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
39 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
40 fail configure if __sync_val_compare_and_swap is not inlined.
41 * sysdeps/i386/configure: Regenerate.
42 * configure.in: Build for i686 when configured for i386.
43 * configure: Regenerate.
44 * README: Remove i386 reference.
45
b7a329a5
CD
462013-04-06 Carlos O'Donell <carlos@redhat.com>
47
48 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
49 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50
bf0f50df
TS
512013-04-05 Thomas Schwinge <thomas@codesourcery.com>
52
ee091edf
TS
53 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
54 (lmsnanval): New variables.
55 (F): Add conversion tests.
56 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
57 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
58
a8b792d6
TS
59 * stdio-common/tstdiomisc.c (F): Properly collect individual
60 tests' results.
61
a1cbf437
TS
62 [BZ #14686, #15336]
63 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
64 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
65 Instead, use input NaN values or generate a qNaN by arithmetic
66 operation. Also fix bugs to comply with the standard.
67 * math/libm-test.inc (remainder_test): Add more tests.
68
8b43a0c9
TS
69 [BZ #15335, #15342]
70 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
71 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
72 input NaN values or generate a qNaN by arithmetic operation.
73
d91da4ce
TS
74 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
75 unreachable code.
76
bf0f50df
TS
77 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
78 definitions.
79
05e166c8
JM
802013-04-03 Joseph Myers <joseph@codesourcery.com>
81
82 [BZ #14478]
83 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
84 underflowed result.
85 * math/s_cexpf.c (__cexpf): Likewise.
86 * math/s_cexpl.c (__cexpl): Likewise.
87 * math/libm-test.inc (cexp_test): Add more tests.
88
1cef1b19
AS
892013-04-03 Andreas Schwab <schwab@suse.de>
90
91 [BZ #15330]
92 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
93 order arrays from heap if bigger than alloca cutoff.
94
74d87055
TS
952013-04-03 Thomas Schwinge <thomas@codesourcery.com>
96
97 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
98 (SNAN_TESTS_double): Refer to GCC PR56831.
99 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
100 GCC PR56828.
101
d755bba4
SP
1022013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
103
90d5d5bb
SP
104 * Rules (bench): Move bench.out after the run is complete.
105
73e0cd5d
SP
106 * Rules (bench): Echo currently running benchmark.
107
64aabd4b
SP
108 * benchtests/Makefile (bench): Add atan and slowatan.
109 * benchtests/atan-inputs: New file.
110 * benchtests/slowatan-inputs: New file.
111 * benchtests/slowatan.c: New file.
112
c871eccd
SP
113 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
114 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
115 its value.
116
d755bba4
SP
117 [BZ #15305]
118 * sysdeps/unix/sysv/linux/kernel-features.h
119 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
120 __ASSUME_XFS_RESTRICTED_CHOWN.
121 * sysdeps/unix/sysv/linux/pathconf.c
122 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
123 Save and restore errno.
124
52ce4860
JM
1252013-04-02 Joseph Myers <joseph@codesourcery.com>
126
127 [BZ #15327]
128 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
129 arguments using __kernel_casinh.
130 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
131 arguments using __kernel_casinhf.
132 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
133 arguments using __kernel_casinhl.
134 * math/libm-test.inc (cacosh_test): Add more tests.
135 * sysdeps/i386/fpu/libm-test-ulps: Update.
136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
137
81f311c2
SP
1382013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
139
e7906a47
SP
140 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
141 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
142
92e3664b
SP
143 * bench/Makefile (bench): Add sin and slowsin.
144 * benchtests/sin-inputs: New file.
145 * benchtests/slowsin-inputs: New file.
146 * benchtests/slowsin.c: New file.
147
81f311c2
SP
148 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
149 (bench): Add slowexp and slowpow.
150 (exp-ITER): Increase iterations.
151 (pow-ITER): Likewise.
152 * benchtests/exp-inputs: Change input.
153 * benchtests/pow-inputs: Likewise.
154 * benchtests/slowexp-inputs: New file.
155 * benchtests/slowexp.c: New file.
156 * benchtests/slowpow-inputs: New file.
157 * benchtests/slowpow.c: New file.
158
ab0f1aa9
AZ
1592013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
160
161 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
162 instructions.
163 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
164 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
165 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
166 * benchtests/Makefile: Add rint benchtest.
167 * benchtests/rint-inputs: Input for rint benchtest.
168
57267616
TS
1692013-04-02 Thomas Schwinge <thomas@codesourcery.com>
170
171 * Versions.def (libm): Add GLIBC_2.18.
172 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
173 hidden libm prototypes.
174 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
175 * math/Makefile (libm-calls): Add s_issignaling.
176 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
177 __issignalingf, __issignalingl. Adjust all libm.abilist files.
178 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
179 declaration.
180 * math/math.h [__USE_GNU] (issignaling): New macro.
181 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
182 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
183 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
184 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
185 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
186 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
187 * manual/arith.texi (issignaling): New section.
188 * manual/libm-err-tab.pl (@all_functions): Update comment.
189 * math/gen-libm-test.pl (parse_args): Apply special handling for
190 issignaling.
191 * math/libm-test.inc (print_float, issignaling_test): New
192 functions.
193 (check_float_internal): Add issignaling checks.
194 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
195 default definition.
196 * sysdeps/powerpc/math-tests.h: New file.
197 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
198 tests.
199 * math/test-snan.c (TEST_FUNC): Likewise.
200
6142896d
DM
2012013-03-30 David S. Miller <davem@davemloft.net>
202
203 * po/de.po: Update from translation team.
204
ccc8cadf
JM
2052013-03-30 Joseph Myers <joseph@codesourcery.com>
206
207 [BZ #10357]
208 * math/k_casinh.c (__kernel_casinh): Handle arguments with
209 imaginary part less than 1.0 and real part less than 0.5
210 specially.
211 * math/k_casinhf.c (__kernel_casinhf): Likewise.
212 * math/k_casinhl.c (__kernel_casinhl): Likewise.
213 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
214 (cacos_test): Add more tests.
215 (casin_test): Likewise.
216 (casinh_test): Likewise.
217 * sysdeps/i386/fpu/libm-test-ulps: Update.
218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
219
0f6a8d4b
SP
2202013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
221
0d1029de
SP
222 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
223 ONE with its value.
224
c2d94018
SP
225 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
226 (__pow_mp): Replace ONE and MONE with their values.
227 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
228 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
229 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
230 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
231 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
232 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
233
27ec37f1
SP
234 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
235
a64d7e0e
SP
236 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
237 (__pow_mp): Replace ZERO and MZERO with their values.
238 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
239 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
240 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
241 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
242 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
243 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
244 (__sqr): Likewise.
245
d26dd3eb
SP
246 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
247
0f6a8d4b
SP
248 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
249
e57b0c61
RM
2502013-03-28 Roland McGrath <roland@hack.frob.com>
251
252 * include/stdlib.h [!SHARED] (__call_tls_dtors):
253 Declare with __attribute__ ((weak)).
254 * stdlib/exit.c (__libc_atexit) [!SHARED]:
255 Call __call_tls_dtors only if it's not NULL.
256
356b3480
RM
2572013-03-28 Roland McGrath <roland@hack.frob.com>
258
288f7d79
RM
259 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
260 didn't do it already, then set _dl_phdr and _dl_phnum based on the
261 magic __ehdr_start linker symbol if it's defined.
262 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
263 them up here if it was already done.
264
dc0a0263
RM
265 * elf/dl-support.c (_dl_phdr): Make pointer to const.
266 (_dl_aux_init): Use const in cast when setting it.
267 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
268 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
269 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
270
3d3436ae
RM
271 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
272 Declare them here.
273 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
274 * csu/libc-tls.c: Nor here.
275 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
276
356b3480
RM
277 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
278 (__libc_message): Never call vsyslog.
279
b0f1246a
AM
2802013-03-28 Alan Modra <amodra@gmail.com>
281
282 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
283 Define as empty.
284 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
285 Likewise.
286
fbbe2b9a
AZ
2872013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
288
289 [BZ #15214]
290 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
291 underflow.
292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
293
1728ab37
SP
2942013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
295
7a86be6e
SP
296 [BZ #15304]
297 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
298 Don't add gid passed as argument.
299
1728ab37
SP
300 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
301
3a7182a1
JM
3022013-03-27 Joseph Myers <joseph@codesourcery.com>
303
304 [BZ #15307]
305 * math/k_casinh.c (__kernel_casinh): Handle arguments with
306 imaginary part between 1.0 and 1.5 and real part less than 0.5
307 specially.
308 * math/k_casinhf.c (__kernel_casinhf): Likewise.
309 * math/k_casinhl.c (__kernel_casinhl): Likewise.
310 * math/libm-test.inc (cacos_test): Add more tests.
311 (casin_test): Likewise.
312 (casinh_test): Likewise.
313 * sysdeps/i386/fpu/libm-test-ulps: Update.
314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
315
6f2e90e7
SP
3162013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
317
5739f705
SP
318 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
319 constants.
320 (norm): Likewise.
321 (denorm): Likewise.
322 (__dbl_mp): Likewise.
323 (add_magnitudes): Likewise.
324 (sub_magnitudes): Likewise.
325 (__add): Likewise.
326 (__sub): Likewise.
327 (__mul): Likewise.
328 (__sqr): Likewise.
329 (__inv): Likewise.
330 (__dvd): Likewise.
331
e375e83d
SP
332 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
333 commented code.
334 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
335 (__dubcos): Likewise.
336 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
337 (__ieee754_acos): Likewise.
338 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
339 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
340 (__exp1): Likewise.
341 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
342 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
343 (log1): Likewise.
344 (my_log2): Likewise.
345 (checkint): Likewise.
346 * sysdeps/ieee754/dbl-64/e_remainder.c
347 (__ieee754_remainder): Likewise.
348 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
349 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
350 (bsloww): Likewise.
351 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
352
6f2e90e7
SP
353 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
354 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
355 MANTISSA_STORE_T to store computations on mantissa. Use
356 macros for rounding and division.
357 (denorm): Likewise.
358 (__dbl_mp): Likewise.
359 (add_magnitudes): Likewise.
360 (sub_magnitudes): Likewise.
361 (__mul): Likewise.
362 (__sqr): Likewise.
363 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
364 powers of two in terms of TWOPOW macro.
365 (mp_no): Make type of mantissa as MANTISSA_T.
366 [!RADIXI]: Define RADIXI.
367 [!TWO52]: Define TWO52.
368 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
369
fce14d4e
AZ
3702013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
371
372 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
373 llroundl symbol when building for PPC32.
374
9ad027fb
MW
3752013-03-24 Mark H Weaver <mhw@netris.org>
376
377 * manual/arith.texi (Normalization Functions): Fix prototypes for
378 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
379
e42a38dd
AZ
3802013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
381
382 [BZ #13889]
383 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
384 high value to check if expl overflow.
385 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
386 to check for underflow and overflow.
387 * math/libm-test.inc: Add exp test.
388
2e0fb521
DL
3892013-03-21 Dmitry V. Levin <ldv@altlinux.org>
390
391 [BZ #11120]
392 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
393 with NOT_IN_libc.
394
b5784d95
AZ
3952013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
396
397 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
398 symbol.
399
5aa4a1a1
TS
4002013-03-21 Thomas Schwinge <thomas@codesourcery.com>
401
bdef0be7
TS
402 * math/gen-libm-test.pl (parse_args, special_functions): Properly
403 wrap blocks consisting of several statements.
404
5aa4a1a1
TS
405 * sysdeps/generic/math-tests.h: New file.
406 * sysdeps/i386/fpu/math-tests.h: Likewise.
407 * math/test-snan.c: Include it.
408 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
409
98c48fe5
JM
4102013-03-21 Joseph Myers <joseph@codesourcery.com>
411
412 [BZ #15285]
413 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
414 (__ieee754_j0l): Do not improve calculations using cos of twice
415 input for inputs above LDBL_MAX / 2.0L.
416 (__ieee754_y0l): Likewise.
417 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
418 (__ieee754_j1l): Do not improve calculations using cos of twice
419 input for inputs above LDBL_MAX / 2.0L.
420 (__ieee754_y1l): Likewise.
421 * math/libm-test.inc (j0_test): Add another test.
422 (j1_test): Likewise.
423 (y0_test): Likewise.
424 (y1_test): Likewise.
425 * sysdeps/i386/fpu/libm-test-ulps: Update.
426
3775a8bc
SP
4272013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
428
429 * Rules ($(objpfx)bench-%.c): Include code from a C source
430 file.
431
0a1b2ae6
JM
4322013-03-21 Joseph Myers <joseph@codesourcery.com>
433
434 [BZ #15287]
435 * math/k_casinh.c (__kernel_casinh): Handle arguments with
436 imaginary part 1.0 and real part less than 0.5 specially.
437 * math/k_casinhf.c (__kernel_casinhf): Likewise.
438 * math/k_casinhl.c (__kernel_casinhl): Likewise.
439 * math/libm-test.inc (cacos_test): Add more tests.
440 (casin_test): Likewise.
441 (casinh_test): Likewise.
442 * sysdeps/i386/fpu/libm-test-ulps: Update.
443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
444
b33d4ce4
SP
4452013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
446
447 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
448 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
449
bef0b507
JM
4502013-03-20 Joseph Myers <joseph@codesourcery.com>
451
452 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
453 * config.make.in (config-cflags-sse4): Remove variable.
454 (config-cflags-avx): Likewise.
455 (config-cflags-sse2avx): Likewise.
456 (config-cflags-novzeroupper): Likewise.
457 (config-asflags-i686): Likewise.
458 (have-mfma4): Likewise.
459 (have-as-vis3): Likewise.
460 (MIG): Likewise.
461 * configure.in (MIG): Do not AC_SUBST.
462 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
463 (libc_cv_cc_sse4): Do not AC_SUBST.
464 (libc_cv_cc_avx): Likewise.
465 (libc_cv_cc_sse2avx): Likewise.
466 (libc_cv_cc_novzeroupper): Likewise.
467 (libc_cv_cc_fma4): Likewise.
468 (libc_cv_as_i686): Likewise.
469 (libc_cv_sparc_as_vis3): Likewise.
470 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
471 LIBC_CONFIG_VAR.
472 (config-asflags-i686): Likewise.
473 (config-cflags-avx): Likewise.
474 (config-cflags-sse2avx): Likewise.
475 (have-mfma4): Likewise.
476 (config-cflags-novzeroupper): Likewise.
477 * sysdeps/mach/configure.in (MIG): Likewise.
478 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
479 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
480 LIBC_CONFIG_VAR.
481 (config-cflags-avx): Likewise.
482 (config-cflags-sse2avx): Likewise.
483 (have-mfma4): Likewise.
484 (config-cflags-novzeroupper): Likewise.
485 * configure: Regenerated.
486 * sysdeps/i386/configure: Likewise.
487 * sysdeps/mach/configure: Likewise.
488 * sysdeps/sparc/configure: Likewise.
489 * sysdeps/x86_64/configure: Likewise.
490
912cc4b3
RM
4912013-03-20 Roland McGrath <roland@hack.frob.com>
492
493 [BZ #14812]
494 * locale/programs/localedef.c (options): Put N_ translation marker
495 on argument names, not just descriptions.
496
04eed2b0
MS
4972013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
498
499 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
500
a065ceff
OB
5012013-03-20 Ondřej Bílka <neleai@seznam.cz>
502
9bb2a810 503 [BZ #14176]
a065ceff
OB
504 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
505
a600e5ce
RM
5062013-03-19 Roland McGrath <roland@hack.frob.com>
507
508 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
509 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
510 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
511 [!BEFORE_ABORT] (before_abort): New function.
512 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
513 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
514 (writev_for_fatal): New function.
515 (WRITEV_FOR_FATAL): New macro; call that.
516 (backtrace_and_maps): New function.
517 (BEFORE_ABORT): New macro; call that.
518 (struct str_list): Type removed.
519 (__libc_message, __libc_fatal): Functions removed.
520 Include <sysdeps/posix/libc_fatal.c> instead.
521
6b18bea6
JM
5222013-03-19 Joseph Myers <joseph@codesourcery.com>
523
524 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
525 constants.
526 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
527 double constants.
528
aaa8cb4b
AS
5292013-03-19 Andreas Schwab <schwab@suse.de>
530
44673770
AS
531 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
532 * sysdeps/gnu/configure: Regenerate.
533
aaa8cb4b
AS
534 * configure.in: Substitute libc_cv_rtlddir.
535 * configure: Regenerate.
536 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
537 * Makeconfig (rtlddir, inst_rtlddir): New variables.
538 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
539 * elf/Makefile (install-others, CFLAGS-interp.c)
540 (ldso_install, common-ldd-rewrite): Likewise.
541 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
542 $(inst_slibdir)/$(rtld-installed-name).
543 * scripts/rellns-sh: Add -p option.
544 * Makerules (make-shlib-link): Use rellns-sh to get relative name
545 for source.
546
d3cfc668
SP
5472013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
548
549 * manual/nptl.texi: Renamed to ...
550 * manual/threads.texi: ... this.
551 * manual/Makefile (chapters): Update.
552
0e2b9cdd
RM
5532013-03-18 Roland McGrath <roland@hack.frob.com>
554
555 [BZ #14812]
556 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
557 on argument names, not just descriptions.
0e2b9cdd
RM
558 * malloc/memusagestat.c (options): Likewise.
559 * nss/getent.c (options): Likewise.
63270c24
RM
560
5612013-03-18 Benno Schulenberg <bensberg@justemail.net>
562
563 [BZ #14812]
564 * iconv/iconv_prog.c (options): Put N_ translation marker
565 on argument names, not just descriptions.
566 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 567
b2e1393c
OB
5682013-03-18 Ondrej Bilka <neleai@seznam.cz>
569
570 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
571 implementation which is faster on all x86_64 architectures.
572 Tested on AMD, Intel Nehalem, SNB, IVB.
573 * sysdeps/x86_64/strnlen.S: Likewise.
574
575 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
576 Remove all multiarch strlen and strnlen versions.
577 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
578 Remove strlen and strnlen related parts.
579
580 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
581 Inline strlen part.
582 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
583
584 * sysdeps/x86_64/multiarch/strlen.S: Remove.
585 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
586 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
587 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
588 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
589 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
590
ec4ff04d
CD
5912013-03-17 Carlos O'Donell <carlos@redhat.com>
592
593 * manual/memory.texi (Malloc Tunable Parameters):
594 Sort parameters alphabetically. Add comments for missing entries.
595
cd18e90a
DM
5962013-03-17 David S. Miller <davem@davemloft.net>
597
598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
599
2a185d32
JM
6002013-03-16 Joseph Myers <joseph@codesourcery.com>
601
d2f9799e
JM
602 [BZ #15283]
603 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
604 for arguments at most half maximum finite value.
605 * math/libm-test.inc (j0_test): Add more tests.
606 (j1_test): Likewise.
607 (y0_test): Likewise.
608 (y1_test): Likewise.
609 * sysdeps/i386/fpu/libm-test-ulps: Update.
610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
611
2a185d32
JM
612 [BZ #14155]
613 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
614 1 / x and functions P and Q for arguments above 0x1p256L.
615 (__ieee754_y0l): Likewise.
616 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
617 (__ieee754_y1l): Likewise.
618 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
619 (j1_test): Likewise.
620 (y0_test): Likewise.
621 (y1_test): Likewise.
622
6cbec759
TS
6232013-03-16 Thomas Schwinge <thomas@codesourcery.com>
624
625 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
626 variable.
627
bc16e260
RM
6282013-03-15 Roland McGrath <roland@hack.frob.com>
629
aefc9b8c
RM
630 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
631 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
632 zero since it's initialized to EXEC_PAGESIZE.
633
bc16e260
RM
634 * sysdeps/unix/sysv/linux/ldsodefs.h
635 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
636 * sysdeps/generic/ldsodefs.h: ... here.
637
a57da955
TS
6382013-03-15 Thomas Schwinge <thomas@codesourcery.com>
639
af00a34d
TS
640 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
641
495ded2c
TS
642 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
643 math/test-snan.c.
644 * math/test-snan.c: Renamed from
645 sysdeps/powerpc/fpu/test-powerpc-snan.c.
646 * math/Makefile (tests): Add test-snan.
647 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
648 test-powerpc-snan.
649
777b0332
TS
650 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
651 SUFFIX. Initialize qNaN_var with __builtin_nan family of
652 functions.
653 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
654 __builtin_nan family of functions.
655 * math/libm-test.inc (initialize): Initialize qnan_value with
656 __builtin_nan family of functions.
657 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
658 Remove variables.
659 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
660 Remove functions.
661 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
662 storage class. Initialize qNaN_var and sNaN_var with
663 __builtin_nan and __builtin_nans families of functions,
664 respectively.
665
64d063b8
TS
666 * math/libm-test.inc (acosh_test): Also test with qNaN input.
667 (sqrt_test): Remove duplicate test with qNaN input.
668 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
669 (round_test, signbit_test, significand_test): Note missing +/-Inf
670 as well as qNaN tests.
671
67e971f1
TS
672 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
673 qNaN_var. Fix a few strings, too.
674 * math/libm-test.inc (nan_value): Rename to qnan_value.
675 * math/gen-libm-test.pl (%beautify): Adjust to that.
676 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
677 * math/test-misc.c (main): Likewise.
678 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
679 to __qnan_bytes, and __qnan_union, respectively.
680 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
681 Likewise.
682 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
683 and lqnanval, respectively.
684 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
685 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
686 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
687 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
688
64487e12
TS
689 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
690 * math/test-misc.c (main) [__x86_64__]: Enable test for long
691 doubles.
692
e015e27b
TS
693 * math/test-misc.c (main): Fix copy'n'pastos.
694 * misc/tst-efgcvt.c (special): Likewise.
695
a57da955
TS
696 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
697 Remove declarations.
698
1e380345
SP
6992013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
700
701 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
702 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
703 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
704 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
705
ef26eece
AZ
7062013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
707
708 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
709 macro to return vdso values correctly in IFUNC implementations.
710 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
711 Optimization by using IFUNC.
712
8cfdb7e0
SP
7132013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
714 Richard Henderson <rth@redhat.com>
715 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
716
717 * Makefile.in (bench): New target.
718 * NEWS: Mention the benchmark framework.
719 * Rules (bench): Likewise.
720 (binaries-bench): Generate binaries for functions to
721 benchmark.
722 * benchtests/Makefile: New makefile for benchmark tests.
723 * benchtests/bench-skeleton.c: New skeleton file for benchmark
724 programs.
725 * benchtests/exp-inputs: New input file for EXP function.
726 * benchtests/pow-inputs: New input file for POW function.
727 * scripts/bench.pl: New script to generate source files for
728 benchmark programs.
729
bcda9880
SP
7302013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
731
d22ca8cd
SP
732 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
733 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
734 computations on mantissa. Use macros for rounding and
735 division.
736 (denorm): Likewise.
737 (__dbl_mp): Likewise.
738 (add_magnitudes): Likewise.
739 (sub_magnitudes): Likewise.
740 (__mul): Likewise.
741 (__sqr): Likewise.
742 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
743 powers of two in terms of TWOPOW macro.
744 (mp_no): Make type of mantissa as MANTISSA_T.
745 [!RADIXI]: Define RADIXI.
746 [!TWO52]: Define TWO52.
747 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
748
bcda9880
SP
749 * manual/nptl.texi (cindex): Modify threads to pthreads.
750
06d5adfb
JM
7512013-03-15 Joseph Myers <joseph@codesourcery.com>
752
753 * sysdeps/x86_64/preconfigure: Regenerated.
754
41c7328e
JM
7552013-03-14 Joseph Myers <joseph@codesourcery.com>
756
757 [BZ #14155]
758 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
759 0x1p28 and above.
760 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
761 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
762 0x1p28 and above.
763 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
764 * math/libm-test.inc (j0_test): Do not allow one spurious
765 underflow exception.
766 (y1_test): Likewise.
767
e25cfa60
SP
7682013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
769
0409959c
SP
770 * manual/Makefile (chapters): Add nptl.
771 * manual/debug.texi (Debugging Support): Add link to Threads
772 chapter.
773 * manual/nptl.texi: New file.
774
e25cfa60
SP
775 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
776
58a1335e
PB
7772013-03-14 Petr Baudis <pasky@ucw.cz>
778
779 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
780 for non-NULL pointer before the memory validity test. Pointed
781 out by Holger Brunck <holger.brunck@keymile.com>.
782
9dc7c64f
AS
7832013-03-13 Andreas Schwab <schwab@suse.de>
784
785 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
786 instead of .os.
787
54206aa6
JM
7882013-03-13 Joseph Myers <joseph@codesourcery.com>
789
790 * timezone/zic.c: Update from tzcode 2013b.
791
e98cdb38
CD
7922013-03-12 Carlos O'Donell <carlos@redhat.com>
793
794 * manual/install.texi (Configuring and compiling):
795 Mention i686 and i586.
796 * INSTALL: Regenerate.
797
9967e003
RM
7982013-03-12 Roland McGrath <roland@hack.frob.com>
799
800 * sysdeps/init_array/elf-init.c: New file.
801 * csu/elf-init.c
802 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
803 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
804
805 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
806 __gmon_start__ as global, but as static with a .preinit_array pointer.
807 * sysdeps/init_array/gmon-start.c: New file. Use that.
808 * sysdeps/init_array/crti.S: New file, empty except for comments.
809 * sysdeps/init_array/crtn.S: Likewise.
810
e6b5a293 8112013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
812
813 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
814 definining bcopy.
80f844c9
OB
815 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
816 Remove Prefer_SSE_for_memop.
817 * sysdeps/x86_64/multiarch/init-arch.h: Remove
818 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
819 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
820 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
821 memset-x86-64.
80f844c9 822 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 823 Remove bzero, memset ifunc support.
80f844c9
OB
824 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
825 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
826 * sysdeps/x86_64/multiarch/memset.S: Likewise.
827 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
828
fb6b0fcb
AS
8292013-03-11 Andreas Schwab <schwab@suse.de>
830
831 [BZ #15234]
832 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
833 by SHLIB_COMPAT.
834 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
835 (GLIBC_2.16): Remove pthread_atfork.
836
3e6bd4b1
PP
8372013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
838
839 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
840 (ptestcases.h): Likewise.
841
222d7f00
RM
8422013-03-08 Roland McGrath <roland@hack.frob.com>
843
844 * Makeconfig ($(common-objpfx)config.status): Depend on
845 sysdeps/*/preconfigure{,.in} too.
846
1ba4f030
JM
8472013-03-08 Joseph Myers <joseph@codesourcery.com>
848
a222d91a
JM
849 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
850 (__free_hook): Use void * instead of __malloc_ptr_t.
851 (__malloc_hook): Likewise.
852 (__realloc_hook): Likewise.
853 (__memalign_hook): Likewise.
854 (__after_morecore_hook): Likewise.
855 * malloc/arena.c (save_malloc_hook): Likewise.
856 (save_free_hook): Likewise.
857 * malloc/hooks.c (malloc_hook_ini): Likewise.
858 (realloc_hook_ini): Likewise.
859 (memalign_hook_ini): Likewise.
860 * malloc/malloc.c (malloc_hook_ini): Likewise.
861 (realloc_hook_ini): Likewise.
862 (memalign_hook_ini): Likewise.
863 (__free_hook): Likewise.
864 (__malloc_hook): Likewise.
865 (__realloc_hook): Likewise.
866 (__memalign_hook): Likewise.
867 (__libc_malloc): Likewise.
868 (__libc_free): Likewise.
869 (__libc_realloc): Likewise.
870 (__libc_memalign): Likewise.
871 (__libc_valloc): Likewise.
872 (__libc_pvalloc): Likewise.
873 (__libc_calloc): Likewise.
874 (__posix_memalign): Likewise.
875 * malloc/morecore.c (__sbrk): Likewise.
876 (__default_morecore): Likewise.
877
5cc45e10
JM
878 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
879
dd54b864
JM
880 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
881 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
882 __malloc_ptrdiff_t.
883
1ba4f030
JM
884 * malloc/malloc.h (__malloc_size_t): Remove macro.
885 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
886 __malloc_size_t.
887 (old_memalign_hook): Likewise.
888 (old_realloc_hook): Likewise.
889 (struct hdr): Likewise.
890 (flood): Likewise.
891 (mallochook): Likewise.
892 (memalignhook): Likewise.
893 (reallochook): Likewise.
894 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
895 (tr_old_realloc_hook): Likewise.
896 (tr_old_memalign_hook): Likewise.
897 (tr_mallochook): Likewise.
898 (tr_reallochook): Likewise.
899 (tr_memalignhook): Likewise.
900
edf66e57
AZ
9012013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
902
903 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
904 default_ldbl_pack and using as default implementation.
905 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
906 implementation.
907 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
908 redundant definition.
909 (ldbl_insert_mantissa): Likewise.
910 (ldbl_canonicalize): Likewise.
911 (ldbl_nearbyint): Likewise.
912 (ldbl_pack): Rename to ldbl_pack_ppc.
913 (ldbl_unpack): Rename to ldbl_unpack_ppc.
914 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
915 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
916
6d9145d8
SP
9172013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
918
919 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
920 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
921 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
922 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
923 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
924 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
925 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
926 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
927
4dd4e157
AJ
9282013-03-07 Andreas Jaeger <aj@suse.de>
929
930 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
931 bits/mman-linux.h.
932
adbb8027
SP
9332013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
934
ce544b5b
SP
935 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
936 Include mpa.h and declare __MPEXP.
937 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
938 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
939 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
940 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
941 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
942 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
943 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
944
4cc149fd
SP
945 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
946 (__slowpow): Use long double EXPL and LOGL functions to
947 compute POW.
948 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
949 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
950 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
951 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
952 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
953 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
954
e6ebd4a7
SP
955 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
956 intermediate variable to calculate exponent.
957 (__sqr): Likewise.
958 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
959 Likewise.
960 (__sqr): Likewise.
961
82a9811d
SP
962 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
963 [!NO__SQR]: Define __sqr.
964 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
965 and NO__SQR. Remove all code except __mul and __sqr. Include
966 sysdeps/ieee754/dbl-64/mpa.c.
967 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
968
adbb8027
SP
969 [BZ #12723]
970 * posix/Makefile (tests): Add tst-pathconf.
971 * posix/tst-pathconf.c: New test case.
972 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
973 _PC_PIPE_BUF.
974 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
975
39120df9
PF
9762013-03-06 Patsy Franklin <pfrankli@redhat.com>
977
978 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
979
67525cb8
AJ
9802013-03-06 Andreas Jaeger <aj@suse.de>
981
664a9ce4
AJ
982 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
983 definition via __MAP_ANONYMOUS.
984
8e39047d
AJ
985 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
986 it's not part of Linux headers.
987
67525cb8
AJ
988 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
989 (MAP_HUGE_MASK): Define.
990
991 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
992 Define.
993 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
994 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
995 Define.
996 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
997 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
998 Define.
999 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1000 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1001 Define.
1002 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1003
1004 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1005 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1006 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1007 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1008 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1009 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1010
1011 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1012 Handle f2fs.
1013
1014 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1015 Handle f2fs and efivarfs.
1016
1017 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1018 f2fs.
1019
1020 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1021 (EFIVARFS_MAGIC): Add.
1022 (F2FS_LINK_MAX): Add.
1023
e1b42695
PP
10242013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1025
1026 * stdio-common/vfprintf.c: Replace __builtin_expect with
1027 __glibc_unlikely.
1028
2d67d91a
JM
10292013-03-06 Joseph Myers <joseph@codesourcery.com>
1030
1031 [BZ #13550]
1032 * sysdeps/generic/bp-sym.h: Remove file.
1033 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1034 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1035 <bp-sym.h> and <bp-asm.h>.
1036 (__longjmp): Don't use BP_SYM.
1037 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1038 and <bp-asm.h>.
1039 (memcpy): Don't use BP_SYM.
1040 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1041 <bp-sym.h> and <bp-asm.h>.
1042 (memcpy): Don't use BP_SYM.
1043 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1044 <bp-asm.h>.
1045 (memcpy): Don't use BP_SYM.
1046 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1047 <bp-asm.h>.
1048 (memset): Don't use BP_SYM.
1049 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1050 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1051 (__bzero): Don't use BP_SYM.
1052 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1053 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1054 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1055 <bp-sym.h> and <bp-asm.h>.
1056 (memcmp): Don't use BP_SYM. Remove comment about bounded
1057 pointers.
1058 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1059 <bp-sym.h> and <bp-asm.h>.
1060 (memcpy): Don't use BP_SYM.
1061 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1062 <bp-sym.h> and <bp-asm.h>.
1063 (memset): Don't use BP_SYM.
1064 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1065 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1066 (__bzero): Don't use BP_SYM.
1067 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1068 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1069 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1070 <bp-sym.h> and <bp-asm.h>.
1071 (strncmp): Don't use BP_SYM. Remove comment about bounded
1072 pointers.
1073 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1074 <bp-sym.h> and <bp-asm.h>.
1075 (memcpy): Don't use BP_SYM.
1076 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1077 <bp-sym.h> and <bp-asm.h>.
1078 (memset): Don't use BP_SYM.
1079 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1080 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1081 (__bzero): Don't use BP_SYM.
1082 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1083 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1084 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1085 <bp-sym.h> and <bp-asm.h>.
1086 (__memchr): Don't use BP_SYM.
1087 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1088 <bp-sym.h> and <bp-asm.h>.
1089 (memcmp): Don't use BP_SYM. Remove comment about bounded
1090 pointers.
1091 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1092 <bp-sym.h> and <bp-asm.h>.
1093 (memcpy): Don't use BP_SYM.
1094 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1095 <bp-sym.h> and <bp-asm.h>.
1096 (__mempcpy): Don't use BP_SYM.
1097 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1098 <bp-sym.h> and <bp-asm.h>.
1099 (__memrchr): Don't use BP_SYM.
1100 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1101 <bp-sym.h> and <bp-asm.h>.
1102 (memset): Don't use BP_SYM.
1103 (__bzero): Likewise.
1104 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1105 <bp-sym.h> and <bp-asm.h>.
1106 (__rawmemchr): Don't use BP_SYM.
1107 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1108 <bp-sym.h> and <bp-asm.h>.
1109 (__STRCMP): Don't use BP_SYM.
1110 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1111 <bp-sym.h> and <bp-asm.h>.
1112 (strchr): Don't use BP_SYM.
1113 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1114 <bp-sym.h> and <bp-asm.h>.
1115 (__strchrnul): Don't use BP_SYM.
1116 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1117 <bp-sym.h> and <bp-asm.h>.
1118 (strlen): Don't use BP_SYM.
1119 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1120 <bp-sym.h> and <bp-asm.h>.
1121 (strncmp): Don't use BP_SYM. Remove comment about bounded
1122 pointers.
1123 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1124 <bp-sym.h> and <bp-asm.h>.
1125 (__strnlen): Don't use BP_SYM.
1126 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1127 <bp-sym.h> and <bp-asm.h>.
1128 (__GI__setjmp): Don't use BP_SYM.
1129 (_setjmp): Likewise.
1130 (__sigsetjmp): Likewise.
1131 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1132 (L(start_addresses)): Don't use BP_SYM.
1133 (_start): Likewise.
1134 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1135 <bp-asm.h>.
1136 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1137 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1138 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1139 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1140 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1141 <bp-asm.h>.
1142 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1143 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1144 about bounded pointers.
1145 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1146 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1147 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1148 <bp-asm.h>.
1149 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1150 about bounded pointers. Remove GKM FIXME comments.
1151 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1152 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1153 <bp-asm.h>.
1154 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1155 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1156 Remove GKM FIXME comments.
1157 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1158 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1159 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1160 <bp-asm.h>.
1161 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1162 about bounded pointers. Remove GKM FIXME comment.
1163 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1164 and <bp-asm.h>.
1165 (strncmp): Don't use BP_SYM. Remove comment about bounded
1166 pointers.
1167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1168 <bp-sym.h> and <bp-asm.h>.
1169 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1171 <bp-sym.h> and <bp-asm.h>.
1172 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1173 comment.
1174
cdcf361f
PP
11752013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1176
1177 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1178 call free(NULL).
1179
3c4a2b15
DM
11802013-03-05 David S. Miller <davem@davemloft.net>
1181
1182 * po/es.po: Update from translation team.
1183
cdcf361f 11842013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
1185
1186 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1187 <bits/mman-linux.h>.
1188 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1189 is fine.
1190 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1191 <bits/mman-linux.h> to end of file.
1192 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1193 is fine.
1194 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1195 <bits/mman-linux.h> to end of file.
1196 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1197 is fine.
1198 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1199 <bits/mman-linux.h> to end of file.
1200
1201 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1202 (MCL_CURRENT, MCL_FUTURE): Define here.
1203
5f67c04f
AK
12042013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1205
8a4473cc 1206 [BZ #15232]
5f67c04f
AK
1207 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1208 attribute_hidden.
1209 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1210
c3e94a95
AK
12112013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1212
1213 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1214 fourth parameter needed for rt_sigprocmask syscall.
1215 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1216 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1217 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1218 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1219 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1220 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1221
cfb6382a
JM
12222013-03-04 Joseph Myers <joseph@codesourcery.com>
1223
1224 [BZ #13550]
1225 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1226 comment about bounded pointers.
1227 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1228 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1229
539d8e01
AJ
12302013-03-04 Andreas Jaeger <aj@suse.de>
1231
1232 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1233 common definitions.
1234
1235 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1236 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1237 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1238 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1239 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
1240 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1241
2e167a70 12422013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
1243
1244 [BZ #15055]
1245 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1246 __ieee754_sqrl instead of __sqrl.
1247
68508633
JM
12482013-03-01 Joseph Myers <joseph@codesourcery.com>
1249
1250 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1251 * sysdeps/powerpc/fpu_control.h: ... here.
1252 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1253 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1254 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1255 * sysdeps/powerpc/bits/mathinline.h: ... here.
1256
7775448e
RM
12572013-03-01 Roland McGrath <roland@hack.frob.com>
1258
1259 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1260 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1261 to just [NEED_DL_SYSINFO_DSO].
1262 * elf/dl-support.c: Likewise.
1263 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1264 * elf/rtld.c (dl_main): Likewise.
1265 * elf/setup-vdso.h (setup_vdso): Likewise.
1266 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1267 * sysdeps/unix/sysv/linux/dl-sysdep.c
1268 (_dl_discover_osversion): Likewise.
1269
4e9b5995
CD
12702013-03-01 Carlos O'Donell <carlos@redhat.com>
1271
1272 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1273 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1274
e23872c8
SP
12752013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1276
e5c74c63
SP
1277 * NEWS: Mention libm performance improvements and non-x86 PI
1278 futex support.
1279
e23872c8
SP
1280 * csu/libc-start.c (__pthread_initialize_minimal): Change
1281 function arguments.
1282 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1283
b5510883
JM
12842013-02-28 Joseph Myers <joseph@codesourcery.com>
1285
1286 [BZ #13550]
1287 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1288 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1289 <bp-sym.h> and <bp-asm.h>.
1290 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1291 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1292 and <bp-asm.h>.
1293 (memcpy): Don't use BP_SYM.
1294 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1295 <bp-asm.h>.
1296 (__mpn_add_n): Don't use BP_SYM.
1297 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1298 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1299 and <bp-asm.h>.
1300 (__mpn_addmul_1): Don't use BP_SYM.
1301 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1302 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1303 <bp-sym.h>.
1304 (_setjmp): Don't use BP_SYM.
1305 (__novmx_setjmp): Likewise.
1306 (__GI__setjmp): Likewise.
1307 (__vmx_setjmp): Likewise.
1308 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1309 <bp-sym.h>.
1310 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1311 (__bzero): Don't use BP_SYM.
1312 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1313 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1314 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1315 <bp-sym.h> and <bp-asm.h>.
1316 (memcpy): Don't use BP_SYM.
1317 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1318 <bp-sym.h> and <bp-asm.h>.
1319 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1320 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1321 <bp-sym.h> and <bp-asm.h>.
1322 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1323 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1324 <bp-asm.h>.
1325 (__mpn_lshift): Don't use BP_SYM.
1326 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1327 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1328 <bp-asm.h>.
1329 (memset): Don't use BP_SYM.
1330 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1331 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1332 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1333 <bp-asm.h>.
1334 (__mpn_mul_1): Don't use BP_SYM.
1335 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1336 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1337 <bp-sym.h> and <bp-asm.h>.
1338 (memcmp): Don't use BP_SYM.
1339 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1340 <bp-sym.h> and <bp-asm.h>.
1341 (memcpy): Don't use BP_SYM.
1342 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1343 <bp-sym.h> and <bp-asm.h>.
1344 (memset): Don't use BP_SYM.
1345 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1346 <bp-sym.h> and <bp-asm.h>.
1347 (strncmp): Don't use BP_SYM.
1348 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1349 <bp-sym.h> and <bp-asm.h>.
1350 (memcpy): Don't use BP_SYM.
1351 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1352 <bp-sym.h> and <bp-asm.h>.
1353 (memset): Don't use BP_SYM.
1354 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1355 <bp-sym.h> and <bp-asm.h>.
1356 (__memchr): Don't use BP_SYM.
1357 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1358 <bp-sym.h> and <bp-asm.h>.
1359 (memcmp): Don't use BP_SYM.
1360 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1361 <bp-sym.h> and <bp-asm.h>.
1362 (memcpy): Don't use BP_SYM.
1363 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1364 <bp-sym.h> and <bp-asm.h>.
1365 (__mempcpy): Don't use BP_SYM.
1366 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1367 <bp-sym.h> and <bp-asm.h>.
1368 (__memrchr): Don't use BP_SYM.
1369 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1370 <bp-sym.h> and <bp-asm.h>.
1371 (memset): Don't use BP_SYM.
1372 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1373 <bp-sym.h> and <bp-asm.h>.
1374 (__rawmemchr): Don't use BP_SYM.
1375 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1376 <bp-sym.h> and <bp-asm.h>.
1377 (__STRCMP): Don't use BP_SYM.
1378 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1379 <bp-sym.h> and <bp-asm.h>.
1380 (strchr): Don't use BP_SYM.
1381 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1382 <bp-sym.h> and <bp-asm.h>.
1383 (__strchrnul): Don't use BP_SYM.
1384 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1385 <bp-sym.h> and <bp-asm.h>.
1386 (strlen): Don't use BP_SYM.
1387 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1388 <bp-sym.h> and <bp-asm.h>.
1389 (strncmp): Don't use BP_SYM.
1390 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1391 <bp-sym.h> and <bp-asm.h>.
1392 (__strnlen): Don't use BP_SYM.
1393 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1394 <bp-asm.h>.
1395 (__mpn_rshift): Don't use BP_SYM.
1396 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1397 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1398 <bp-sym.h> and <bp-asm.h>.
1399 (__sigsetjmp): Don't use BP_SYM.
1400 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1401 (L(start_addresses)): Don't use BP_SYM.
1402 (_start): Likewise.
1403 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1404 <bp-asm.h>.
1405 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1406 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1407 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1408 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1409 <bp-asm.h>.
1410 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1411 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1412 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1413 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1414 <bp-asm.h>.
1415 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1416 comments.
1417 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1418 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1419 <bp-asm.h>.
1420 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1421 FIXME comments.
1422 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1423 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1424 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1425 <bp-asm.h>.
1426 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1427 comment.
1428 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1429 and <bp-asm.h>.
1430 (strncmp): Don't use BP_SYM,
1431 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1432 <bp-asm.h>.
1433 (__mpn_sub_n): Don't use BP_SYM.
1434 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1435 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1436 and <bp-asm.h>.
1437 (__mpn_submul_1): Don't use BP_SYM.
1438 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1440 <bp-sym.h> and <bp-asm.h>.
1441 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1443 <bp-sym.h> and <bp-asm.h>.
1444 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1445 comment.
1446
8d19fe64
SP
14472013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1448
1449 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1450 Use ZK to minimize writes to Z.
1451 (sub_magnitudes): Simplify code a bit.
1452 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1453 Use ZK to minimize writes to Z.
1454 (sub_magnitudes): Simplify code a bit.
1455
85bd816a
RM
14562013-02-27 Roland McGrath <roland@hack.frob.com>
1457
1458 * csu/gmon-start.c: Add special exception to license text.
1459
b5977bf2
RH
14602013-02-27 Richard Henderson <rth@redhat.com>
1461
1462 * scripts/config.guess: Update from config.git.
1463 * scripts/config.sub: Likewise.
1464
11d6e2f2
SP
14652013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1466
09c14ed2
SP
1467 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1468
a688864e
SP
1469 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1470
6295157a
SP
1471 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1472
b8de2202
SP
1473 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1474
11d6e2f2
SP
1475 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1476
7e80ddb8
RM
14772013-02-26 Roland McGrath <roland@hack.frob.com>
1478
1479 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1480 [$(build-shared = yes].
7e80ddb8 1481
7da6d9ed
SP
14822013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1483
45f05884
SP
1484 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1485 (__mul): Reduce iterations for calculating mantissa.
1486
2236d359
SP
1487 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1488 MPTWO.
1489 (__mpranred): Likewise.
1490
7da6d9ed
SP
1491 [BZ #15160]
1492 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1493 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1494
b7688c42
PE
14952013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1496
1497 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1498 Define __attribute__.
1499
53a5c423
SP
15002013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1501
1502 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1503 unused.
1504 * posix/regex_internal.h (__attribute): Remove.
1505 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1506 (re_string_context_at): Likewise.
1507 (bitset_not): Use __attribute__ and mark function as possibly
1508 unused.
1509 (bitset_merge): Likewise.
1510 (bitset_mask): Likewise.
1511 (re_string_char_size_at): Likewise.
1512 (re_string_wchar_at): Likewise.
1513 (re_string_elem_size_at): Likewise.
1514
60f5a8b5
SP
15152013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1516
2a983a2e
SP
1517 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1518 code.
1519 (cc32): Likewise.
1520
e69804d1
SP
1521 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1522 (__acr): Likewise.
1523 (__cpy): Likewise.
1524 (norm): Likewise.
1525 (denorm): Likewise.
1526 (__dbl_mp): Likewise.
1527 (add_magnitudes): Likewise.
1528 (sub_magnitudes): Likewise.
1529 (__mul): Likewise.
1530 (__inv): Likewise.
1531
2f22a1e8
SP
1532 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1533 style.
1534
8930ddc7
SP
1535 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1536 style.
1537
dc60cb11
SP
1538 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1539 code.
1540
60f5a8b5
SP
1541 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1542 up changes with default code.
1543 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1544 Likewise.
1545
b4d1fd33
AM
15462013-02-24 Allan McRae <allan@archlinux.org>
1547
faf6f8bc
AM
1548 * manual/socket.texi (The Internet Namespace): Order menu items
1549 to match that in the file.
1550
b4d1fd33
AM
1551 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1552 node listing of the info page menu.
1553
2366713d
JM
15542013-02-21 Joseph Myers <joseph@codesourcery.com>
1555
1556 [BZ #13550]
1557 * sysdeps/i386/bp-asm.h: Remove file.
1558 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1559 (PARMS): Do not use macros from bp-asm.h.
1560 (S1): Likewise.
1561 (S2): Likewise.
1562 (SIZE): Likewise.
1563 (__mpn_add_n): Do not use BP_SYM
1564 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1565 "bp-asm.h".
1566 (PARMS): Do not use macros from bp-asm.h.
1567 (S1): Likewise.
1568 (SIZE): Likewise.
1569 (__mpn_addmul_1): Do not use BP_SYM
1570 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1571 "bp-asm.h".
1572 (PARMS): Do not use macros from bp-asm.h.
1573 (SIGMSK): Likewise.
1574 (_setjmp): Likewise. Do not use BP_SYM.
1575 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1576 "bp-asm.h".
1577 (PARMS): Do not use macros from bp-asm.h.
1578 (SIGMSK): Likewise.
1579 (setjmp): Likewise. Do not use BP_SYM.
1580 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1581 "bp-asm.h".
1582 (PARMS): Do not use macros from bp-asm.h.
1583 (__frexp): Do not use BP_SYM.
1584 (frexp): Likewise.
1585 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1586 "bp-asm.h".
1587 (PARMS): Do not use macros from bp-asm.h.
1588 (__frexpf): Do not use BP_SYM.
1589 (frexpf): Likewise.
1590 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1591 "bp-asm.h".
1592 (PARMS): Do not use macros from bp-asm.h.
1593 (__frexpl): Do not use BP_SYM.
1594 (frexpl): Likewise.
1595 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1596 "bp-asm.h".
1597 (PARMS): Do not use macros from bp-asm.h.
1598 (__remquo): Do not use BP_SYM.
1599 (remquo): Likewise.
1600 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1601 "bp-asm.h".
1602 (PARMS): Do not use macros from bp-asm.h.
1603 (__remquof): Do not use BP_SYM.
1604 (remquof): Likewise.
1605 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1606 "bp-asm.h".
1607 (PARMS): Do not use macros from bp-asm.h.
1608 (__remquol): Do not use BP_SYM.
1609 (remquol): Likewise.
1610 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1611 "bp-asm.h".
1612 (PARMS): Do not use macros from bp-asm.h.
1613 (DEST): Likewise.
1614 (SRC): Likewise.
1615 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1616 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1617 "bp-asm.h".
1618 (PARMS): Do not use macros from bp-asm.h.
1619 (strlen): Do not use BP_SYM.
1620 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1621 "bp-asm.h".
1622 (PARMS): Do not use macros from bp-asm.h.
1623 (S1): Likewise.
1624 (S2): Likewise.
1625 (SIZE): Likewise.
1626 (__mpn_add_n): Do not use BP_SYM.
1627 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1628 "bp-asm.h".
1629 (PARMS): Do not use macros from bp-asm.h.
1630 (S1): Likewise.
1631 (SIZE): Likewise.
1632 (__mpn_addmul_1): Do not use BP_SYM.
1633 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1634 weak_alias.
1635 (bzero): Likewise.
1636 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1637 "bp-asm.h".
1638 (PARMS): Do not use macros from bp-asm.h.
1639 (S): Likewise.
1640 (SIZE): Likewise.
1641 (__mpn_lshift): Do not use BP_SYM.
1642 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1643 "bp-asm.h".
1644 (PARMS): Do not use macros from bp-asm.h.
1645 (DEST): Likewise.
1646 (SRC): Likewise.
1647 (LEN): Likewise.
1648 (memcpy): Likewise. Do not use BP_SYM.
1649 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1650 libc_hidden_def and weak_alias.
1651 (mempcpy): Do not use BP_SYM in weak_alias.
1652 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1653 "bp-asm.h".
1654 (PARMS): Do not use macros from bp-asm.h.
1655 (DEST): Likewise.
1656 (LEN): Likewise.
1657 [!BZERO_P] (CHR): Likewise.
1658 (memset): Likewise. Do not use BP_SYM.
1659 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1660 "bp-asm.h".
1661 (PARMS): Do not use macros from bp-asm.h.
1662 (S1): Likewise.
1663 (SIZE): Likewise.
1664 (__mpn_mul_1): Do not use BP_SYM.
1665 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1666 "bp-asm.h".
1667 (PARMS): Do not use macros from bp-asm.h.
1668 (S): Likewise.
1669 (SIZE): Likewise.
1670 (__mpn_rshift): Do not use BP_SYM.
1671 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1672 "bp-asm.h".
1673 (PARMS): Do not use macros from bp-asm.h.
1674 (STR): Likewise.
1675 (CHR): Likewise.
1676 (strchr): Likewise. Do not use BP_SYM.
1677 (index): Do not use BP_SYM in weak_alias.
1678 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1679 "bp-asm.h".
1680 (PARMS): Do not use macros from bp-asm.h.
1681 (DEST): Likewise.
1682 (SRC): Likewise.
1683 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1684 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1685 "bp-asm.h".
1686 (PARMS): Do not use macros from bp-asm.h.
1687 (strlen): Do not use BP_SYM.
1688 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1689 "bp-asm.h".
1690 (PARMS): Do not use macros from bp-asm.h.
1691 (S1): Likewise.
1692 (S2): Likewise.
1693 (SIZE): Likewise.
1694 (__mpn_sub_n): Do not use BP_SYM.
1695 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1696 "bp-asm.h".
1697 (PARMS): Do not use macros from bp-asm.h.
1698 (S1): Likewise.
1699 (SIZE): Likewise.
1700 (__mpn_submul_1): Do not use BP_SYM.
1701 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1702 "bp-asm.h".
1703 (PARMS): Do not use macros from bp-asm.h.
1704 (S1): Likewise.
1705 (S2): Likewise.
1706 (SIZE): Likewise.
1707 (__mpn_add_n): Do not use BP_SYM.
1708 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1709 weak_alias.
1710 (bzero): Likewise.
1711 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1712 "bp-asm.h".
1713 (PARMS): Do not use macros from bp-asm.h.
1714 (BLK2): Likewise.
1715 (LEN): Likewise.
1716 (memcmp): Do not use BP_SYM.
1717 (bcmp): Do not use BP_SYM in weak_alias.
1718 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1719 "bp-asm.h".
1720 (PARMS): Do not use macros from bp-asm.h.
1721 (DEST): Likewise.
1722 (SRC): Likewise.
1723 (LEN): Likewise.
1724 (memcpy): Likewise. Do not use BP_SYM.
1725 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1726 "bp-asm.h".
1727 (PARMS): Do not use macros from bp-asm.h.
1728 (DEST): Likewise.
1729 (SRC): Likewise.
1730 (LEN): Likewise.
1731 (memmove): Likewise. Do not use BP_SYM.
1732 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1733 "bp-asm.h".
1734 (PARMS): Do not use macros from bp-asm.h.
1735 (DEST): Likewise.
1736 (SRC): Likewise.
1737 (LEN): Likewise.
1738 (__mempcpy): Likewise. Do not use BP_SYM.
1739 (mempcpy): Do not use BP_SYM in weak_alias.
1740 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1741 "bp-asm.h".
1742 (PARMS): Do not use macros from bp-asm.h.
1743 (DEST): Likewise.
1744 (LEN): Likewise.
1745 [!BZERO_P] (CHR): Likewise.
1746 (memset): Likewise. Do not use BP_SYM.
1747 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1748 "bp-asm.h".
1749 (PARMS): Do not use macros from bp-asm.h.
1750 (STR2): Likewise.
1751 (strcmp): Do not use BP_SYM.
1752 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1753 "bp-asm.h".
1754 (PARMS): Do not use macros from bp-asm.h.
1755 (STR): Likewise.
1756 (DELIM): Likewise.
1757 [USE_AS_STRTOK_R] (SAVE): Likewise.
1758 (FUNCTION): Likewise. Do not use BP_SYM.
1759 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1760 aliases.
1761 (strtok_r): Likewise.
1762 (__GI___strtok_r): Likewise.
1763 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1764 (PARMS): Do not use macros from bp-asm.h.
1765 (S): Likewise.
1766 (SIZE): Likewise.
1767 (__mpn_lshift): Do not use BP_SYM.
1768 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1769 (PARMS): Do not use macros from bp-asm.h.
1770 (STR): Likewise.
1771 (CHR): Likewise.
1772 (__memchr): Do not use BP_SYM.
1773 (memchr): Do not use BP_SYM in weak_alias.
1774 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1775 (PARMS): Do not use macros from bp-asm.h.
1776 (BLK2): Likewise.
1777 (LEN): Likewise.
1778 (memcmp): Do not use BP_SYM.
1779 (bcmp): Do not use BP_SYM in weak_alias.
1780 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1781 (PARMS): Do not use macros from bp-asm.h.
1782 (S1): Likewise.
1783 (SIZE): Likewise.
1784 (__mpn_mul_1): Do not use BP_SYM.
1785 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1786 "bp-asm.h".
1787 (PARMS): Do not use macros from bp-asm.h.
1788 (STR): Likewise.
1789 (CHR): Likewise.
1790 (__rawmemchr): Do not use BP_SYM.
1791 (rawmemchr): Do not use BP_SYM in weak_alias.
1792 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1793 (PARMS): Do not use macros from bp-asm.h.
1794 (S): Likewise.
1795 (SIZE): Likewise.
1796 (__mpn_rshift): Do not use BP_SYM.
1797 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1798 (PARMS): Do not use macros from bp-asm.h.
1799 (SIGMSK): Likewise.
1800 (__sigsetjmp): Likewise. Do not use BP_SYM.
1801 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1802 (_start): Do not use BP_SYM.
1803 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1804 (PARMS): Do not use macros from bp-asm.h.
1805 (DEST): Likewise.
1806 (SRC): Likewise.
1807 (__stpcpy): Likewise. Do not use BP_SYM.
1808 (stpcpy): Do not use BP_SYM in weak_alias.
1809 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1810 "bp-asm.h".
1811 (PARMS): Do not use macros from bp-asm.h.
1812 (DEST): Likewise.
1813 (SRC): Likewise.
1814 (LEN): Likewise.
1815 (__stpncpy): Likewise. Do not use BP_SYM.
1816 (stpncpy): Do not use BP_SYM in weak_alias.
1817 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1818 (PARMS): Do not use macros from bp-asm.h.
1819 (STR): Likewise.
1820 (CHR): Likewise.
1821 (strchr): Likewise. Do not use BP_SYM.
1822 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1823 "bp-asm.h".
1824 (PARMS): Do not use macros from bp-asm.h.
1825 (STR): Likewise.
1826 (CHR): Likewise.
1827 (__strchrnul): Likewise. Do not use BP_SYM.
1828 (strchrnul): Do not use BP_SYM in weak_alias.
1829 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1830 "bp-asm.h".
1831 (PARMS): Do not use macros from bp-asm.h.
1832 (STOP): Likewise.
1833 (strcspn): Do not use BP_SYM.
1834 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1835 "bp-asm.h".
1836 (PARMS): Do not use macros from bp-asm.h.
1837 (STR): Likewise.
1838 (STOP): Likewise.
1839 (strpbrk): Likewise. Do not use BP_SYM.
1840 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1841 "bp-asm.h".
1842 (PARMS): Do not use macros from bp-asm.h.
1843 (STR): Likewise.
1844 (CHR): Likewise.
1845 (strrchr): Likewise. Do not use BP_SYM.
1846 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1847 (PARMS): Do not use macros from bp-asm.h.
1848 (SKIP): Likewise.
1849 (strspn): Do not use BP_SYM.
1850 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1851 (PARMS): Do not use macros from bp-asm.h.
1852 (STR): Likewise.
1853 (DELIM): Likewise.
1854 (SAVE): Likewise.
1855 (FUNCTION): Likewise. Do not use BP_SYM.
1856 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1857 aliases.
1858 (strtok_r): Likewise.
1859 (__GI___strtok_r): Likewise.
1860 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1861 (PARMS): Do not use macros from bp-asm.h.
1862 (S1): Likewise.
1863 (S2): Likewise.
1864 (SIZE): Likewise.
1865 (__mpn_sub_n): Do not use BP_SYM.
1866 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1867 "bp-asm.h".
1868 (PARMS): Do not use macros from bp-asm.h.
1869 (S1): Likewise.
1870 (SIZE): Likewise.
1871 (__mpn_submul_1): Do not use BP_SYM.
1872 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1873 <bp-sym.h>.
1874 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1875 and <bp-asm.h>.
1876 (PARMS): Do not use macros from bp-asm.h.
1877 (FLAGS): Likewise.
1878 (PTID): Likewise.
1879 (TLS): Likewise.
1880 (CTID): Likewise.
1881 (__clone): Do not use BP_SYM.
1882 (clone): Do not use BP_SYM in weak_alias.
1883 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1884 and <bp-asm.h>.
1885 (PARMS): Do not use macros from bp-asm.h.
1886 (LEN): Likewise.
1887 (__mmap64): Do not use BP_SYM.
1888 (mmap64): Do not use BP_SYM in weak_alias.
1889 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1890 <bp-sym.h> and <bp-asm.h>.
1891 (PARMS): Do not use macros from bp-asm.h.
1892 (__posix_fadvise64_l64): Do not use BP_SYM.
1893 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1894 (PARMS): Do not use macros from bp-asm.h.
1895 (NSOPS): Likewise.
1896 (semtimedop): Do not use BP_SYM.
1897 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1898 and <bp-asm.h>.
1899
582a3cff
AM
19002013-02-21 Allan McRae <allan@archlinux.org>
1901
1902 * manual/message.texi (Charset conversion in gettext):
1903 Move @end statement to beginning of line.
1904
bab8a695
SP
19052013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1906
80945231
SP
1907 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1908 static.
1909 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1910 Likewise.
1911
bab8a695
SP
1912 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
1913 (denorm): Likewise.
1914 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
1915 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
1916
e21d7aa7
AK
19172013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1918
1919 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
1920 tail-call to the resolved function if pltexit isn't needed.
1921
4c7a4263
SP
19222013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1923
1924 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
1925 or Y being zero as being unlikely.
1926 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1927 Likewise.
1928
41f49342
CD
19292013-02-20 Carlos O'Donell <carlos@redhat.com>
1930
1931 * manual/nss.texi (System Databases and Name Service Switch):
1932 Remove frobnicate @pxref.
1933
50022a93
TS
19342013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1935
1936 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1937 __attribute__ ((unused)) to __attribute__ ((__unused__)).
1938
08cbd996
PM
19392013-02-20 Petr Machata <pmachata@redhat.com>
1940
1941 * elf/elf.h (R_ARM_TARGET1): New macro.
1942 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
1943 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
1944 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
1945 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
1946 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
1947 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
1948 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
1949 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
1950 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
1951 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
1952 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
1953 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
1954 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
1955 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
1956 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
1957 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
1958 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
1959 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
1960 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
1961 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
1962 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
1963 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
1964 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
1965 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
1966 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
1967 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
1968 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
1969 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
1970 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
1971 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
1972 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
1973 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
1974 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
1975 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
1976 (R_ARM_THM_GOT_BREL12): Likewise.
1977 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
1978 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
1979 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
1980 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
1981 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
1982 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
1983 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
1984 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
1985 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
1986
c7b275d6
TS
19872013-02-20 Thomas Schwinge <thomas@codesourcery.com>
1988
1989 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
1990 __attribute_used__ to __attribute__ ((unused)).
1991
20cd7fb3
SP
19922013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1993
1994 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
1995 powerpc mpa.c.
1996 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
1997 comment formatting.
1998 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
1999
92945b52
JM
20002013-02-19 Joseph Myers <joseph@codesourcery.com>
2001
2002 [BZ #13550]
2003 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2004 Remove macro.
2005 (ENTER): Remove both macro definitions.
2006 (LEAVE): Likewise.
2007 (CHECK_BOUNDS_LOW): Likewise.
2008 (CHECK_BOUNDS_HIGH): Likewise.
2009 (CHECK_BOUNDS_BOTH): Likewise.
2010 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2011 (RETURN_BOUNDED_POINTER): Likewise.
2012 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2013 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2014 (POP_ERRNO_LOCATION_RETURN): Likewise.
2015 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2016 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2017 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2018 macros.
2019 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2020 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2021 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2022 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2023 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2024 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2025 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2026 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2027 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2028 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2029 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2030 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2031 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2032 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2033 removed macros.
2034 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2035 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2036 macros.
2037 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2038 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2039 * sysdeps/i386/i586/memset.S (memset): Likewise.
2040 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2041 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2042 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2043 macros.
2044 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2045 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2046 Change uses of L(2) to L(out).
2047 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2048 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2049 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2050 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2051 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2052 removed macros.
2053 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2054 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2055 macros.
2056 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2057 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2058 (RETURN): Do not use macro LEAVE.
2059 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2060 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2061 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2062 * sysdeps/i386/i686/memset.S (memset): Likewise.
2063 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2064 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2065 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2066 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2067 Likewise.
2068 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2069 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2070 L(1_2) and L(1_3) into L(1).
2071 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2072 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2073 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2074 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2075 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2076 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2077 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2078 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2079 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2080 macros.
2081 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2082 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2083 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2084 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2085 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2086 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2087 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2088 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2089 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2090 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2091 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2092 * sysdeps/i386/strspn.S (strspn): Likewise.
2093 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2094 conditional code.
2095 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2096 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2097 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2098 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2099 L(1_3) into L(1_1).
2100 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2101 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2102 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2103 macros.
2104 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2105
2389741a
JJ
21062013-02-19 Jakub Jelinek <jakub@redhat.com>
2107
2108 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2109 macro.
2110
2016b3cd
SP
21112013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2112
e4f22324
SP
2113 * math/atest-exp.c (exp_mpn): Remove ROUND.
2114 * math/atest-exp2.c (exp_mpn): Likewise.
2115 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2116
2016b3cd
SP
2117 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2118 * stdlib/tst-tls-atexit-lib.c: Likewise.
2119 * stdlib/tst-tls-atexit.c: Likewise.
2120
4be9b544
MF
21212013-02-18 Mike Frysinger <vapier@gentoo.org>
2122
2123 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2124 and __attribute_alloc_size__.
2125
2f62b9ee
MF
21262013-02-18 Mike Frysinger <vapier@gentoo.org>
2127
2128 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2129 __attribute_alloc_size__.
2130 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2131 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2132
6ff444c4
MF
21332013-02-18 Mike Frysinger <vapier@gentoo.org>
2134
2135 * include/programs/xmalloc.h: New file.
2136 * catgets/gencat.c: Include it.
2137 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2138 * elf/pldd.c: Likewise.
2139 * iconv/iconv_charmap.c: Likewise.
2140 * iconv/iconvconfig.c: Likewise.
2141 * iconv/strtab.c: Likewise.
2142 * locale/programs/locale.c: Likewise.
2143 * locale/programs/localedef.h: Likewise.
2144 * locale/programs/simple-hash.c: Likewise.
2145 * nscd/nscd.h: Likewise.
2146 * nss/makedb.c: Likewise.
2147 * sysdeps/generic/ldconfig.h: Likewise.
2148
be179c8a
SP
21492013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2150
ba384f6e
SP
2151 * Versions.def: Add GLIBC_2.18.
2152 * include/link.h (struct link_map): New member l_tls_dtor_count.
2153 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2154 (__call_tls_dtors): Likewise.
2155 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2156 __cxa_thread_atexit_impl.
2157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2158 Likewise.
2159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2160 Likewise.
2161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2162 Likewise.
2163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2164 Likewise.
2165 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2167 Likewise.
2168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2169 Likewise.
2170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2171 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2172 Likewise.
2173 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2174 (tests): Add test case tst-tls-atexit.
2175 (modules-names): Add shared library for tst-tls-atexit.
2176 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2177 (GLIBC_PRIVATE): Add __call_tls_dtors.
2178 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2179 for libstdc++.
2180 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2181 * stdlib/tst-tls-atexit.c: New test case.
2182 * stdlib/tst-tls-atexit-lib.c: New test case.
2183
ffaa74cf 2184 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 2185
be179c8a
SP
2186 * elf/Versions (ld): Add _dl_find_dso_for_object.
2187 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2188 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2189 (dl_open_worker): Use _dl_find_dso_for_object.
2190 * elf/dl-sym.c (do_sym): Likewise.
2191 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2192
f78b5caa
AK
21932013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2194
2195 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2196 Syntactic changes only.
2197 (_dl_runtime_profile): Do a tail-call to the resolved function.
2198
29691210
JM
21992013-02-17 Joseph Myers <joseph@codesourcery.com>
2200
2201 [BZ #13550]
2202 * sysdeps/x86_64/bp-asm.h: Remove file.
2203 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2204 <bp-sym.h> and <bp-asm.h>.
2205 (__clone): Do not use BP_SYM.
2206 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2207 <bp-sym.h> and <bp-asm.h>.
2208 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2209 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2210 "bp-asm.h".
2211 (_setjmp): Do not use BP_SYM.
2212 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2213 "bp-asm.h".
2214 (setjmp): Do not use BP_SYM.
2215 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2216 libc_hidden_def.
2217 (mempcpy): Do not use BP_SYM in weak_alias.
2218 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2219 "bp-asm.h".
2220 (strchr): Do not use BP_SYM.
2221 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2222 "bp-asm.h".
2223 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2224 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2225 (_start): Do not use BP_SYM.
2226 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2227 "bp-asm.h".
2228 (strcat): Do not use BP_SYM.
2229 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2230 "bp-asm.h".
2231 (STRCMP): Do not use BP_SYM.
2232 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2233 "bp-asm.h".
2234 (STRCPY): Do not use BP_SYM.
2235 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2236 "bp-asm.h".
2237 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2238 "bp-asm.h".
2239 (FUNCTION): Do not use BP_SYM.
2240 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2241 weak_alias.
2242 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2243
f238fd19
AJ
22442013-02-17 Andreas Jaeger <aj@suse.de>
2245
2246 * time/Versions: Sort entries.
2247 * string/Versions: Likewise.
2248 * resolv/Versions: Likewise.
2249 * posix/Versions: Likewise.
2250 * iconv/Versions: Likewise.
2251 * elf/Versions: Likewise.
2252 * wcsmbs/Versions: Likewise.
2253
bd07f23c 22542013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 2255
22af19f9
SP
2256 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2257 loop termination condition.
2258
4709fe76
SP
2259 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2260 variable to calculate EZ.
2261 (__sqr): Likewise.
2d0e0f29
SP
2262
2263 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2264 the lower precision input.
2265
daaa7713
JM
22662013-02-15 Joseph Myers <joseph@codesourcery.com>
2267
2268 [BZ #13550]
2269 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2270 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2271 (run-via-rtld-prefix): Do not handle %-bp tests.
2272 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2273 (all-object-suffixes): Remove .ob.
2274 (bppfx): Remove variable.
2275 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2276 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2277 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2278 [$(build-bounded) = yes] (libtype.ob): Likewise.
2279 * Makerules (elide-routines.ob): Remove variable.
2280 (do-tests-clean): Do not handle *-bp.out.
2281 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2282 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2283 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2284 (tests): Do not include $(tests-bp.out).
2285 (xtests): Do not include $(xtests-bp.out).
2286 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2287 [$(build-bounded) = yes] ($(addprefix
2288 $(objpfx),$(binaries-bounded))): Remove rule.
2289 ($(objpfx)%-bp.out): Remove rule.
2290 * config.make.in (build-bounded): Remove variable.
2291 * crypt/Makefile [$(build-bounded) = yes]
2292 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2293 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2294 append to variable.
2295 [$(build-bounded) = yes] (install-lib): Likewise.
2296 [$(build-bounded) = yes] (generated): Likewise.
2297 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2298 Remove rule.
2299 * intl/Makefile [$(build-bounded) = yes]
2300 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2301 * math/Makefile [$(build-bounded) = yes]
2302 ($(tests:%=$(objpfx)%-bp): Likewise.
2303 * misc/Makefile [$(build-bounded) = yes]
2304 ($(objpfx)tst-tsearch-bp): Likewise.
2305 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2306 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2307 Remove dependency.
2308 * string/Makefile (o-objects.ob): Remove variable.
2309 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2310 (CFLAGS-.ob): Remove variable.
2311 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2312 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2313 both definitions of variable.
2314 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2315 (ASFLAGS-.ob): Remove variable.
2316
e97ed6dd
JM
23172013-02-14 Joseph Myers <joseph@codesourcery.com>
2318
2bdd4ca6
JM
2319 [BZ #13550]
2320 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2321 Remove __BOUNDED_POINTERS__ from condition.
2322 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2323 * string/bits/string2.h [!__NO_STRING_INLINES &&
2324 !__BOUNDED_POINTERS__]: Likewise.
2325 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2326 Likewise.
2327 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2328 Remove conditional code.
2329 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2330 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2331 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2332 condition.
2333
e97ed6dd
JM
2334 [BZ #13550]
2335 * csu/libc-start.c: Do not include <bp-sym.h>.
2336 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2337 * elf/dl-open.c: Do not include <bp-sym.h>.
2338 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2339 * math/fegetenv.c: Do not include <bp-sym.h>.
2340 (fegetenv): Do not use BP_SYM in versioned symbols.
2341 * nptl/sysdeps/pthread/bits/libc-lockP.h
2342 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2343 <bp-sym.h>.
2344 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2345 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2346 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2347 (__pthread_mutex_destroy): Likewise.
2348 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2349 (__pthread_mutex_lock): Likewise.
2350 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2351 (__pthread_mutex_trylock): Likewise.
2352 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2353 (__pthread_mutex_unlock): Likewise.
2354 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2355 (__pthread_mutexattr_init): Likewise.
2356 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2357 (__pthread_mutexattr_destroy): Likewise.
2358 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2359 (__pthread_mutexattr_settype): Likewise.
2360 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2361 (__pthread_rwlock_init): Likewise.
2362 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2363 (__pthread_rwlock_destroy): Likewise.
2364 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2365 (__pthread_rwlock_rdlock): Likewise.
2366 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2367 (__pthread_rwlock_tryrdlock): Likewise.
2368 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2369 (__pthread_rwlock_wrlock): Likewise.
2370 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2371 (__pthread_rwlock_trywrlock): Likewise.
2372 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2373 (__pthread_rwlock_unlock): Likewise.
2374 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2375 (__pthread_key_create): Likewise.
2376 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2377 (__pthread_setspecific): Likewise.
2378 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2379 (__pthread_getspecific): Likewise.
2380 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2381 Likewise.
2382 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2383 (_pthread_cleanup_push_defer): Likewise.
2384 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2385 (_pthread_cleanup_pop_restore): Likewise.
2386 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2387 (pthread_setcancelstate): Likewise.
2388 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2389 <bp-sym.h>.
2390 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2391 (memchr): Do not use BP_SYM in weak_alias.
2392 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2393 (fegetenv): Do not use BP_SYM in versioned symbols.
2394 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2395 (fesetenv): Do not use BP_SYM in versioned symbols.
2396 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2397 (feupdateenv): Do not use BP_SYM in versioned symbols.
2398 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2399 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2400 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2401 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2402 (open64): Do not use BP_SYM in weak_alias.
2403 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2404 (fegetenv): Do not use BP_SYM in versioned symbols.
2405 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2406 (fesetenv): Do not use BP_SYM in versioned symbols.
2407 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2408 (feupdateenv): Do not use BP_SYM in versioned symbols.
2409 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2410 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2411 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2412 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2413 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2414 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2415 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2416 <bp-sym.h>.
2417 (__libc_start_main): Do not use BP_SYM.
2418
d6752ccd
SP
24192013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2420
cb57ce60
SP
2421 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2422 redundant return line.
2423 (norm): Likewise.
2424 (denorm): Likewise.
2425 (dbl_mp): Likewise.
2426 (sub_magnitudes): Likewise.
2427 (__add): Likewise.
2428 (__sub): Likewise.
2429 (__mul): Likewise.
2430 (__inv): Likewise.
2431 (__dvd): Likewise.
2432 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2433 (norm): Likewise.
2434 (denorm): Likewise.
2435 (dbl_mp): Likewise.
2436 (sub_magnitudes): Likewise.
2437 (__add): Likewise.
2438 (__sub): Likewise.
2439 (__mul): Likewise.
2440 (__inv): Likewise.
2441 (__dvd): Likewise.
2442
f414520d
SP
2443 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2444 instead of __mul.
2445 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2446 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2447 (cc32): Likewise.
2448
d6752ccd
SP
2449 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2450 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2451 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2452 of __mul for squares.
2453 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2454 function
2455 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2456 Likewise.
2457 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2458 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2459
70d9946a
JM
24602013-02-13 Joseph Myers <joseph@codesourcery.com>
2461
2462 [BZ #13550]
2463 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2464 code.
2465 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2466 prototype or function definition. Rename ubp_* variables and
2467 parameters. Remove argv definitions conditional on
2468 [__BOUNDED_POINTERS__].
2469 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2470 * elf/dl-runtime.c (_dl_fixup): Likewise.
2471 * include/set-hooks.h (RUN_HOOK): Likewise.
2472 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2473 definition.
2474 * string/strcpy.c (strcpy): Do not use __unbounded.
2475 * sysdeps/generic/frame.h (struct layout): Likewise.
2476 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2477 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2478 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2479 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2480 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2481 (__backtrace): Likewise.
2482 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2483 use __ptrvalue.
2484 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2485 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2486 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2487 Likewise.
2488 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2489 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2490 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2491 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2492 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2493 Do not use __unbounded.
2494 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2495 Rename __unboundedrlimits parameter to rlimits in prototype.
2496 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2497 Do not use __unbounded.
2498 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2499 not use __ptrvalue.
2500 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2501 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2502 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2503 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2504 __ptrvalue or __unbounded.
2505 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2506 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2507 use __unbounded.
2508 (__new_msgctl): Do not use __ptrvalue.
2509 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2510 __unbounded.
2511 (__libc_msgrcv): Do not use __ptrvalue.
2512 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2513 startup_info): Do not use __unbounded.
2514 (__libc_start_main): Likewise. Rename ubp_* variables and
2515 parameters. Remove argv definitions conditional on
2516 [__BOUNDED_POINTERS__].
2517 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2518 __ptrvalue.
2519 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2520 use __unbounded.
2521 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2522 or __ptrvalue.
2523 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2524 use __unbounded.
2525 (__new_shmctl): Do not use __ptrvalue.
2526 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2527 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2528 Likewise.
2529 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2530 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2531 (__libc_sigaction): Likewise.
2532 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2533 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2534 Likewise.
2535 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2536
cc7834d6
OB
25372013-02-13 Ondřej Bílka <neleai@seznam.cz>
2538
ffb1ec7b 2539 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
2540
2541 * string/mempcpy.c: Implement by calling memcpy.
2542
bdf02814
SP
25432013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2544
c2af38aa
SP
2545 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2546
4e92d59e
SP
2547 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2548 evaluation.
2549
909279a5
SP
2550 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2551 values in the mantissa.
2552
bdf02814
SP
2553 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2554 minimize writes to Z.
2555 (sub_magnitudes): Simplify code a bit.
2556
cd525923
RM
25572013-02-12 Roland McGrath <roland@hack.frob.com>
2558
2559 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2560 from the message. The linker prefixes all warnings with that already.
2561
7e2f0d2d
AS
25622013-02-12 Andreas Schwab <schwab@suse.de>
2563
a445af0b
AS
2564 [BZ #15078]
2565 * posix/regexec.c (extend_buffers): Add parameter min_len.
2566 (check_matching): Pass minimum needed length.
2567 (clean_state_log_if_needed): Likewise.
2568 (get_subexp): Likewise.
2569 * posix/Makefile (tests): Add bug-regex34.
2570 (bug-regex34-ENV): Define.
2571 * posix/bug-regex34.c: New file.
2572
7e2f0d2d
AS
2573 [BZ #11561]
2574 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2575 elements compare against the byte sequence of it, not its name.
2576 * posix/Makefile (tests): Add bug-regex35.
2577 (bug-regex35-ENV): Define.
2578 * posix/bug-regex35.c: New file.
2579
a175b684
TV
25802013-02-11 Tom de Vries <tom@codesourcery.com>
2581
2582 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2583 comment.
2584 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2585 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2586 (CHECK_EOL): Add undef.
2587
310998fe 25882013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
2589
2590 * bits/stdlib-bsearch.h: New file.
2591 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 2592 * stdlib/stdlib.h: Likewise.
41eda41d 2593
8ded91fb
RM
25942013-02-11 Roland McGrath <roland@hack.frob.com>
2595
2596 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2597 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2598 declaration.
2599 * manual/search.texi (Array Search Function): Add missing const in
2600 lfind prototype.
2601 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2602 declaration to use rlim_t.
2603 (Basic Scheduling Functions): Remove erroneous const from
2604 sched_getparam prototype. Remove erroneous * from
2605 sched_get_priority_max and sched_get_priority_min prototypes.
2606 (Resource Usage): Fix summary @comment on vtimes to refer to
2607 sys/vtimes.h rather than vtimes.h.
2608 Add missing *s in vtimes prototype.
2609 (Limits on Resources): Fix ulimit prototype to return long int.
2610 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2611 prototypes to use long int rather than double.
2612 (BSD Random): Fix initstate and setstate to use char *, not void *.
2613 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2614 prototype to make second argument 'struct aiocb64 *const[]'.
2615 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2616 (Status of AIO Operations): Remove erroneous const in aio_return and
2617 aio_return64 prototypes.
2618 (Synchronizing I/O): Fix sync prototype to return void.
2619 * manual/startup.texi (Suboptions): Remove an erroneous const in
2620 getsubopt prototype.
2621 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2622 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2623 use size_t rather than int.
2624 (Scanning All Users): Likewise for getpwent_r.
2625 (Setting Groups): Add missing const to setgroups prototype.
2626 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2627 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2628 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2629 'const void *' rather than 'const char *'.
2630 (Host Address Functions): Likewise for inet_ntop.
2631 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2632 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2633 ssize_t for return value.
2634 (Sending Data): Likewise for send, sendto, sendmsg.
2635 (Socket Option Functions): Add a missing const in setsockopt prototype.
2636 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2637 use wchar_t for the argument.
2638 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2639 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2640 take no arguments.
2641 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2642 double/float/long double for second argument.
2643 Fix return types of significand, significandf, significandl.
2644 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2645 argument in fchmod prototype.
2646 (File Owner): Use uid_t and gid_t in fchown prototype.
2647 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2648 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2649 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2650 use 'const struct dirent **' as argument types to CMP function pointer
2651 argument.
2652 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2653 (File Times): Fix summary magic @comment for struct utimbuf and utime
2654 to refer to utime.h, not time.h.
2655 * manual/string.texi (Argz Functions): Add missing const in
2656 argz_extract and argz_next prototypes.
2657 (Finding Tokens in a String): Likewise for basename.
2658 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2659 (Copying and Concatenation): Fix typo in wmemmove prototype.
2660 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2661 (Signal Stack): Remove erroneous const in sigstack prototype.
2662 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2663 prototype.
2664 (Simple Calendar Time): Likewise for stime.
2665 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2666 prototype.
2667 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2668 say sys/sysctl.h instead.
2669 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2670 and vsyslog prototypes.
2671
fe77fe6d
TV
26722013-02-11 Tom de Vries <tom@codesourcery.com>
2673
2674 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2675 Remove.
2676
3a09b620
RM
26772013-02-11 Roland McGrath <roland@hack.frob.com>
2678
2679 * misc/sys/mman.h: Fix typo in mremap comment.
2680
550a0b89
RM
26812013-02-08 Roland McGrath <roland@hack.frob.com>
2682
2683 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2684 the '\0' terminator.
2685
a2da1673
JM
26862013-02-08 Joseph Myers <joseph@codesourcery.com>
2687
2688 [BZ #13550]
2689 * debug/segfault.c: Don't include <bp-checks.h>.
2690 * sysdeps/generic/bp-checks.h: Remove file.
2691 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2692 (__GETDENTS): Don't use CHECK_N.
2693 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2694 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2695 (__getgroups): Don't use CHECK_N.
2696 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2697 (setgroups): Don't use CHECK_N.
2698 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2699 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2700 (__libc_msgrcv): Don't use CHECK_N.
2701 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2702 (__libc_msgsnd): Don't use CHECK_N.
2703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2704 <bp-checks.h>.
2705 (__libc_pread): Don't use CHECK_N.
2706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2707 include <bp-checks.h>.
2708 (__libc_pread64): Don't use CHECK_N.
2709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2710 include <bp-checks.h>.
2711 (__libc_pwrite): Don't use CHECK_N.
2712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2713 include <bp-checks.h>.
2714 (__libc_pwrite64): Don't use CHECK_N.
2715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2716 <bp-checks.h>.
2717 (__libc_pread): Don't use CHECK_N.
2718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2719 include <bp-checks.h>.
2720 (__libc_pread64): Don't use CHECK_N.
2721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2722 include <bp-checks.h>.
2723 (__libc_pwrite): Don't use CHECK_N.
2724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2725 include <bp-checks.h>.
2726 (__libc_pwrite64): Don't use CHECK_N.
2727 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2728 (do_pread): Don't use CHECK_N.
2729 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2730 (do_pread64): Don't use CHECK_N.
2731 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2732 (do_pwrite): Don't use CHECK_N.
2733 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2734 (do_pwrite64): Don't use CHECK_N.
2735 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2736 (__libc_readv): Don't use CHECK_N.
2737 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2738 (semop): Don't use CHECK_N.
2739 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2740 <bp-checks.h>.
2741 (semtimedop): Don't use CHECK_N.
2742 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2743 (__libc_pread): Don't use CHECK_N.
2744 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2745 <bp-checks.h>.
2746 (__libc_pread64): Don't use CHECK_N.
2747 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2748 <bp-checks.h>.
2749 (__libc_pwrite): Don't use CHECK_N.
2750 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2751 <bp-checks.h>.
2752 (__libc_pwrite64): Don't use CHECK_N.
2753 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2754 <bp-checks.h>.
2755 (__libc_msgrcv): Don't use CHECK_N.
2756 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2757 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2758 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2759 (__libc_writev): Don't use CHECK_N.
2760
b84660a8
RM
27612013-02-08 Roland McGrath <roland@hack.frob.com>
2762
7f3e75f8
RM
2763 * string/strcpy.c: Removed unused variable.
2764
b84660a8
RM
2765 * Makeconfig (+sysdep-includes): Define with := rather than =.
2766 Use an existing include/ subdir of each sysdeps dir before it.
2767
471514d3
CD
27682013-02-08 Carlos O'Donell <carlos@redhat.com>
2769
2770 * nscd/connection.c (register_traced_file): Comment function.
2771 [HAVE_INOTIFY] (union __inev): Define.
2772 [HAVE_INOTIFY] (inotify_check_files): New function.
2773 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2774 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2775 clear_db_cache.
2776 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2777
b2d3c3be
CD
27782013-02-08 Carlos O'Donell <carlos@redhat.com>
2779
2780 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2781 loaded if not already and that a failure is permanent.
2782
b39949d2
CD
27832013-02-08 Carlos O'Donell <carlos@redhat.com>
2784
ddacd1db 2785 [BZ #15006]
b39949d2
CD
2786 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2787 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2788
b2c9eff4
JM
27892013-02-08 Joseph Myers <joseph@codesourcery.com>
2790
f3aae3f3
JM
2791 [BZ #13550]
2792 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2793 (CHECK_1_NULL_OK): Likewise.
2794 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2795 (__fxstat): Do not use CHECK_1.
2796 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2797 <bp-checks.h>.
2798 (___fxstat64): Do not use CHECK_1.
2799 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2800 <bp-checks.h>.
2801 (__fxstatat): Do not use CHECK_1.
2802 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2803 <bp-checks.h>.
2804 (__fxstatat64): Do not use CHECK_1.
2805 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2806 <bp-checks.h>.
2807 (__fxstat): Do not use CHECK_1.
2808 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2809 <bp-checks.h>.
2810 (__fxstatat): Do not use CHECK_1.
2811 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2812 <bp-checks.h>.
2813 (__getresgid): Do not use CHECK_1.
2814 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2815 <bp-checks.h>.
2816 (__getresuid): Do not use CHECK_1.
2817 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2818 <bp-checks.h>.
2819 (__lxstat): Do not use CHECK_1.
2820 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2821 <bp-checks.h>.
2822 (__old_msgctl): Do not use CHECK_1.
2823 (__new_msgctl): Likewise.
2824 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2825 <bp-checks.h>.
2826 (__new_setrlimit): Do not use CHECK_1.
2827 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2828 <bp-checks.h>.
2829 (__old_shmctl): Do not use CHECK_1.
2830 (__new_shmctl): Likewise.
2831 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2832 <bp-checks.h>.
2833 (__xstat): Do not use CHECK_1.
2834 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2835 (__lxstat): Do not use CHECK_1.
2836 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2837 <bp-checks.h>.
2838 (___lxstat64): Do not use CHECK_1.
2839 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2840 (__old_msgctl): Do not use CHECK_1.
2841 (__new_msgctl): Likewise.
2842 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2843 <bp-checks.h>.
2844 (__gettimeofday): Do not use CHECK_1.
2845 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2846 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2847 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2848 <bp-checks.h>.
2849 (__gettimeofday): Do not use CHECK_1.
2850 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2851 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2852 (__new_shmctl): Do not use CHECK_1.
2853 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2854 <bp-checks.h>.
2855 (do_sigtimedwait): Do not use CHECK_1.
2856 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2857 <bp-checks.h>.
2858 (do_sigwaitinfo): Do not use CHECK_1.
2859 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2860 <bp-checks.h>.
2861 (msgctl): Do not use CHECK_1.
2862 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2863 <bp-checks.h>.
2864 (shmctl): Do not use CHECK_1.
2865 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2866 (ustat): Do not use CHECK_1.
2867 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2868 <bp-checks.h>.
2869 (__fxstat): Do not use CHECK_1.
2870 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2871 <bp-checks.h>.
2872 (__fxstatat): Do not use CHECK_1.
2873 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2874 <bp-checks.h>.
2875 (__lxstat): Do not use CHECK_1.
2876 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2877 <bp-checks.h>.
2878 (__xstat): Do not use CHECK_1.
2879 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2880 (__xstat): Do not use CHECK_1.
2881 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2882 (___xstat64): Do not use CHECK_1.
2883
b2c9eff4
JM
2884 [BZ #13550]
2885 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2886 definitions.
2887 (CHECK_BOUNDS_HIGH): Likewise.
2888 * string/strcpy.c: Do not include <bp-checks.h>.
2889 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2890
f1d70dad
RM
28912013-02-07 Roland McGrath <roland@hack.frob.com>
2892
2893 * nscd/nscd-client.h (__nscd_drop_map_ref):
2894 Add __attribute__ ((unused)).
2895 * nis/nss-nisplus.h (niserr2nss): Likewise.
2896
2897 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2898 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2899
2900 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2901 Remove inline keyword.
2902 * include/rounding-mode.h (round_away): Likewise.
2903 * libio/wfileops.c (adjust_wide_data): Likewise.
2904 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2905 (__m128i_strloadu_tolower): Likewise.
2906 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2907 (__m128i_strloadu_tolower): Likewise.
2908 * time/mktime.c (ydhms_diff): Likewise.
2909 * locale/elem-hash.h (elem_hash): Likewise.
2910 * locale/setlocale.c (setdata): Likewise.
2911 * posix/regex_internal.h (re_string_char_size_at): Likewise.
2912 (re_string_wchar_at): Likewise.
2913 (bitset_not, bitset_merge, bitset_mask): Likewise.
2914 [!(__GNUC__ > 3)] (inline): Remove macro.
2915 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
2916 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
2917 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
2918 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
2919 * string/memcmp.c (memcmp_bytes): Likewise.
2920 * locale/programs/locarchive.c (compute_hashval): Likewise.
2921 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
2922 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
2923 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
2924 * nss/getent.c (print_rpc, print_protocols): Likewise.
2925 (print_passwd, print_group, print_aliases): Likewise.
2926 * nis/nss-nisplus.h (niserr2nss): Likewise.
2927 * nscd/connections.c (restart_p): Likewise.
2928 Change return type to bool.
2929
eab55bfb
RM
29302013-02-05 Roland McGrath <roland@hack.frob.com>
2931
7bd642f5
RM
2932 * Makeconfig (all-Depend-files): Add existing
2933 $(sorted-subdirs:=/Depend) files.
2934 (all-subdirs): Remove nss.
2935 * sysdeps/unix/inet/Subdirs: Add it here instead.
2936 * hesiod/Depend: New file.
2937
573c29b2
RM
2938 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
2939 instead of calling alloca.
2940
b2e25af0
RM
2941 * io/lseek.c (__lseek): Rename to __libc_lseek.
2942 Define __lseek as an alias.
2943
eab55bfb
RM
2944 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
2945
9a0d1941
CD
29462013-02-04 Carlos O'Donell <carlos@redhat.com>
2947
2948 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
2949 else clause and remove check for non-standard endianness.
2950
b83bbec4
DM
29512013-02-04 David S. Miller <davem@davemloft.net>
2952
2953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2954
6277fdab
JM
29552013-02-04 Joseph Myers <joseph@codesourcery.com>
2956
2957 [BZ #13550]
2958 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
2959 (__ubp_memchr): Remove prototype.
2960 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
2961 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2962 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
2963 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
2964 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
2965 Remove alias.
2966 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
2967 (__ubp_memchr): Likewise.
2968 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
2969 (__ubp_memchr): Likewise.
2970 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
2971 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
2972 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
2973 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
2974 CHECK_STRING.
2975 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
2976 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
2977 (__getcwd): Do not use CHECK_STRING.
2978 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2979 <bp-checks.h>.
2980 (__real_chown): Do not use CHECK_STRING.
2981 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
2982 <bp-checks.h>.
2983 (fchownat): Do not use CHECK_STRING.
2984 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
2985 CHECK_STRING.
2986 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2987 <bp-checks.h>.
2988 (__lchown): Do not use CHECK_STRING.
2989 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2990 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2991 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2992 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
2993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
2994 include <bp-checks.h>.
2995 (truncate64): Do not use CHECK_STRING.
2996 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2997 <bp-checks.h>.
2998 (__real_chown): Do not use CHECK_STRING.
2999 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3000 <bp-checks.h>.
3001 (__lchown): Do not use CHECK_STRING.
3002 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3003 <bp-checks.h>.
3004 (__chown): Do not use CHECK_STRING.
3005 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3006 <bp-checks.h>.
3007 (truncate64): Do not use CHECK_STRING.
3008 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3009 Likewise.
3010 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3011 (__xmknod): Do not use CHECK_STRING.
3012 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3013 <bp-checks.h>.
3014 (__xmknodat): Do not use CHECK_STRING.
3015 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3016 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3017
903ae060
AS
30182013-02-04 Andreas Schwab <schwab@suse.de>
3019
3020 [BZ #14142]
3021 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3022 * include/netdb.h: Likewise for h_errno.
3023 * elf/tst-stackguard1.c: Include <tls.h>.
3024
542f9466
JK
30252013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3026
3027 * elf/link.h (struct link_map): Extend the l_addr comment.
3028 * include/link.h (struct link_map): Likewise.
3029
e782a927
JM
30302013-02-01 Joseph Myers <joseph@codesourcery.com>
3031
3032 [BZ #13550]
3033 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3034 (BOUNDED_1): Remove macro.
3035 * debug/backtrace.c: Don't include <bp-checks.h>.
3036 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3037 (__backtrace): Likewise.
3038 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3039 <bp-checks.h>.
3040 (__backtrace): Don't use BOUNDED_1.
3041 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3042 <bp-checks.h>.
3043 (__backtrace): Don't use BOUNDED_1.
3044 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3045 (__backtrace): Don't use BOUNDED_1.
3046 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3047 (shmat): Don't use BOUNDED_N.
3048
8cf28c5e
JM
30492013-01-31 Joseph Myers <joseph@codesourcery.com>
3050
3a7ac8a0
JM
3051 [BZ #13550]
3052 * sysdeps/generic/bp-start.h: Remove file.
3053 * csu/libc-start.c: Don't include <bp-start.h>.
3054 (LIBC_START_MAIN): Set up __environ directly instead of using
3055 INIT_ARGV_and_ENVIRON.
3056 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3057 <bp-start.h>.
3058
f3499f95
JM
3059 [BZ #13550]
3060 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3061 definitions.
3062 (CHECK_FCNTL): Likewise.
3063 (CHECK_N_PAGES): Likewise.
3064
32a45bea
JM
3065 [BZ #13550]
3066 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3067 definitions.
3068 (CHECK_SIGSET_NULL_OK): Likewise.
3069 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3070 <bp-checks.h>.
3071 (sigpending): Don't use CHECK_SIGSET.
3072 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3073 <bp-checks.h>.
3074 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3075 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3076 <bp-checks.h>.
3077 (do_sigsuspend): Don't use CHECK_SIGSET.
3078 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3079 use CHECK_SIGSET.
3080 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3081 (do_sigwait): Don't use CHECK_SIGSET.
3082 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3083 use CHECK_SIGSET.
3084 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3085 include <bp-checks.h>.
3086 (sigpending): Don't use CHECK_SIGSET.
3087 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3088 include <bp-checks.h>.
3089 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3090 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3091 <bp-checks.h>.
3092 (sigpending): Don't use CHECK_SIGSET.
3093 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3094 <bp-checks.h>.
3095 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3096
2e8a5c8c
JM
3097 [BZ #13550]
3098 * sysdeps/generic/bp-semctl.h: Remove file.
3099 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3100 <bp-checks.h> and <bp-semctl.h>.
3101 (__old_semctl): Don't use CHECK_SEMCTL.
3102 (__new_semctl): Likewise.
3103 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3104 and <bp-semctl.h>.
3105 (__old_semctl): Don't use CHECK_SEMCTL.
3106 (__new_semctl): Likewise.
3107 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3108 <bp-checks.h> and <bp-semctl.h>.
3109 (__old_semctl): Don't use CHECK_SEMCTL.
3110 (__new_semctl): Likewise.
3111 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3112 <bp-checks.h> and <bp-semctl.h>.
3113 (semctl): Don't use CHECK_SEMCTL.
3114
c2d54929
JM
3115 [BZ #13550]
3116 * Makerules (elide-bp-thunks): Remove variable.
3117 (elide-routines.oS): Don't use $(elide-bp-thunks).
3118 (elide-routines.os): Likewise.
3119 (elide-routines.o): Likewise.
3120 (elide-routines.op): Likewise.
3121 (elide-routines.og): Likewise.
3122 (objects): Don't use $(bp-thunks).
3123 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3124 include.
3125 (common-generated): Do not add s-proto-bp.d.
3126 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3127 (int): Likewise.
3128 (typ): Likewise.
3129 Do not generate makefile rules for bounded-pointer thunks.
3130 * sysdeps/generic/bp-thunks.h: Remove file.
3131 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3132 * sysdeps/unix/s-proto-bp.S: Likewise.
3133
8cf28c5e
JM
3134 [BZ #15062]
3135 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3136 parts of result separately when argument is not close to line from
3137 -i to i and one part of argument is small.
3138 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3139 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3140 * math/libm-test.inc (cacos_test): Add more tests.
3141 (casin_test): Likewise.
3142 (casinh_test): Likewise.
3143 * sysdeps/i386/fpu/libm-test-ulps: Update.
3144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3145
c4e33b8d
DM
31462013-01-31 David S. Miller <davem@davemloft.net>
3147
3148 * po/de.po: Update from translation team.
3149
3b60b421
MK
31502013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3151
3152 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3153
bb931195
TS
31542013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3155
b5a5da23
TS
3156 * configure.in (_AC_PROG_CC_C89): New definition.
3157 * configure: Regenerate.
3158
bb931195
TS
3159 * configure.in (AC_PROG_CPP): New definition.
3160 * configure: Regenerate.
3161
8c53a12c
JM
31622013-01-23 Joseph Myers <joseph@codesourcery.com>
3163
3164 * debug/tst-backtrace.h: New file.
3165 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3166 (ret): Remove variable.
3167 (x): Likewise.
3168 (FAIL): Remove macro.
3169 (NO_INLINE): Likewise.
3170 (fn1): Use match function instead of strstr.
3171 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3172 (ret): Remove variable.
3173 (x): Likewise.
3174 (FAIL): Remove macro.
3175 (NO_INLINE): Likewise.
3176 (fn): Use match function instead of strstr.
3177 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3178 (ret): Remove variable.
3179 (x): Likewise.
3180 (FAIL): Remove macro.
3181 (NO_INLINE): Likewise.
3182 (handle_signal): Use match function instead of strstr.
3183 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3184 (ret): Remove variable.
3185 (x): Likewise.
3186 (FAIL): Remove macro.
3187 (NO_INLINE): Likewise.
3188 (handle_signal): Use match function instead of strstr.
3189
4858fa2a
RM
31902013-01-23 Roland McGrath <roland@hack.frob.com>
3191
3192 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3193
bae8e7f5
DM
31942013-01-23 David S. Miller <davem@davemloft.net>
3195
3196 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3197 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3198 argument of CAS if possible.
3199 * sysdeps/sparc/sparc64/bits/atomic.h
3200 (__arch_compare_and_exchange_val_32_acq): Likewise.
3201 (__arch_compare_and_exchange_val_64_acq): Likewise.
3202
9cbbc4ae
PT
32032013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3204
3205 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3206 * sysdeps/posix/ulimit.c: ... this.
92a601b8 3207 Include <limits.h>.
67b3f58c 3208 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 3209
5655a0b5
AC
32102013-01-23 Adam Conrad <adconrad@0c3.net>
3211
3212 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3213 (LDFLAGS-tst-array5): Likewise.
3214
052aff95
JM
32152013-01-23 Joseph Myers <joseph@codesourcery.com>
3216
3217 [BZ #15036]
3218 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3219 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3220 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3221 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3222
7c1e01aa
DM
32232013-01-21 David S. Miller <davem@davemloft.net>
3224
3225 * sysdeps/sparc/backtrace.c: New file.
3226 * sysdeps/sparc/sparc32/backtrace.h: New file.
3227 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3228 * sysdeps/sparc/sparc64/backtrace.h: New file.
3229 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3230 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3231 -funwind-tables.
3232
ab087e0a
AS
32332013-01-21 Andreas Schwab <schwab@suse.de>
3234
3235 [BZ #15020]
3236 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3237 closed its stdout.
3238
ed689c2f
AS
32392013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3240
3241 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3242 "mpa2.h".
3243 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3244
31d470ac
JM
32452013-01-18 Joseph Myers <joseph@codesourcery.com>
3246 Mark Mitchell <mark@codesourcery.com>
3247 Tom de Vries <tom@codesourcery.com>
3248 Paul Pluzhnikov <ppluzhnikov@google.com>
3249
3250 * debug/tst-backtrace2.c: New file.
3251 * debug/tst-backtrace3.c: Likewise.
3252 * debug/tst-backtrace4.c: Likewise.
3253 * debug/tst-backtrace5.c: Likewise.
3254 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3255 (CFLAGS-tst-backtrace3.c): Likewise.
3256 (CFLAGS-tst-backtrace4.c): Likewise.
3257 (CFLAGS-tst-backtrace5.c): Likewise.
3258 (LDFLAGS-tst-backtrace2): Likewise.
3259 (LDFLAGS-tst-backtrace3): Likewise.
3260 (LDFLAGS-tst-backtrace4): Likewise.
3261 (LDFLAGS-tst-backtrace5): Likewise.
3262 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3263 tst-backtrace4 and tst-backtrace5.
3264
90567f30 32652013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
3266 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3267
3268 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3269 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3270 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3271 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3273 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3274 "+r" and remove output regs list as redundant. Add explicit inline
3275 asm to specify register of return val to work around compiler codegen
3276 bug. Remove (int) cast on return value. Add return type parameter to
3277 use in macro so that this macro does not truncate return value for
3278 64-bit values.
3279 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3280 pass to INTERNAL_VSYSCALL_NCS.
3281 (INLINE_VSYSCALL): Add 'long int' as return type to
3282 INTERNAL_VSYSCALL_NCS macro invocation.
3283 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3284 INTERNAL_VSYSCALL_NCS macro invocation.
3285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3286
d3b9ea61
SP
32872013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3288
0b57daeb
SP
3289 [BZ #14496]
3290 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3291 Fix application of SIMD FP exception mask.
3292
caa99d06
SP
3293 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3294 mp_no from a power of two.
3295 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3296 __mpexp_twomm1. Use __pow_mp.
3297
d3b9ea61
SP
3298 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3299 multiplication.
3300
1dbaee3c
DM
33012013-01-17 David S. Miller <davem@davemloft.net>
3302
3303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3304
728d7b43
JM
33052013-01-17 Joseph Myers <joseph@codesourcery.com>
3306
3307 [BZ #15023]
3308 * include/complex.h: Condition contents on [!_COMPLEX_H].
3309 (__kernel_casinhf): New prototype.
3310 (__kernel_casinh): Likewise.
3311 (__kernel_casinhl): Likewise.
3312 * math/Makefile (libm_calls): Add k_casinh.
3313 * math/k_casinh.c: New file.
3314 * math/k_casinhf.c: Likewise.
3315 * math/k_casinhl.c: Likewise.
3316 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3317 finite nonzero arguments.
3318 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3319 finite nonzero arguments.
3320 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3321 finite nonzero arguments.
3322 * math/s_casinh.c: Do not include <float.h>.
3323 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3324 * math/s_casinhf.c: Do not include <float.h>.
3325 (__casinhf): Move code for finite nonzero arguments to
3326 k_casinhf.c.
3327 * math/s_casinhl.c: Do not include <float.h>.
3328 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3329 redefine.
3330 (__casinhl): Move code for finite nonzero arguments to
3331 k_casinhl.c.
3332 * math/libm-test.inc (cacos_test): Add more tests.
3333 * sysdeps/i386/fpu/libm-test-ulps: Update.
3334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3335
2a26ef3a
PT
33362013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3337
3338 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3339 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3340 [!HAVE_MREMAP]: Remove [defined linux] case.
3341 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3342
a897655d
SP
33432013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3344
3345 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3346
881ebe89 33472013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
3348
3349 * elf/elf.h (R_386_SIZE32): New relocation.
3350 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3351 R_386_SIZE32.
3352 (elf_machine_rela): Likewise.
3353 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3354 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3355
59981e9b
JM
33562013-01-17 Joseph Myers <joseph@codesourcery.com>
3357
3358 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3359 (FP_FAST_FMA): Do not define.
3360 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3361 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3362 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3363 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3364 !_SOFT_FLOAT]: Likewise.
3365 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3366 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3367 value.
3368 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3369 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3370 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3371 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3372 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3373 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3374 file.
3375
cfa8054f
AS
33762013-01-16 Andreas Schwab <schwab@suse.de>
3377
3378 [BZ #14327]
3379 * include/stdlib.h (__mktemp): Add declaration.
3380 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3381 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3382
dd930cc5
SP
33832013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3384
881ebe89
SP
3385 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3386 definitions.
3387 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3388 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3389 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3390 definitions here.
3391 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3392 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3393 definitions.
3394 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3395 and ONE.
3396 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3397 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3398 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3399 definitions.
3400 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3401 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3402 definitions.
3403 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 3404
dd930cc5
SP
3405 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3406
c19a9f89
DM
34072013-01-15 David S. Miller <davem@davemloft.net>
3408
1aa61767
DM
3409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3410 trunc{,f} to libm-sysdep_routes.
3411 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3413 file.
3414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3416 file.
3417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3418 file.
3419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3420 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3421 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3422 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3423 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3424 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3425 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3426 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3427
c42d5e98
DM
3428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3429 nearbyint{,f} to libm-sysdep_routes.
3430 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3432 New file.
3433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3434 file.
3435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3436 New file.
3437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3438 file.
3439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3441 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3442 file.
3443 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3444 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3445 file.
3446 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3447 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3448 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3449
c19a9f89
DM
3450 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3451 libc_feholdexcept and libc_fesetenv.
3452
357679d2
MF
34532013-01-15 Mike Frysinger <vapier@gentoo.org>
3454
3455 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3456
65a82e3d
DM
34572013-01-14 David S. Miller <davem@davemloft.net>
3458
8b954ab9
DM
3459 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3460 (SPARC_ASM_VIS2_IFUNC): Likewise.
3461 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3463 use of 'siam' instruction.
3464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3465 Likewise.
3466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3467 Likewise.
3468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3469 Likewise.
3470 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3471 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3472 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3473 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3475 file.
3476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3477 file.
3478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3479 file.
3480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3481 file.
3482 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3483 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3484 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3485 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3487 new VIS2 routines.
3488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3491 Likewise.
3492 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3493 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3494 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3495 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3497 routines to libm-sysdep_routines.
3498 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3499
65a82e3d
DM
3500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3501 fdim/fdimf to libm-sysdep_routines.
3502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3503 file.
3504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3506 file.
3507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3510 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3511 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3512 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3513 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3514
e34ab705
SP
35152013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3516
2a91b573
SP
3517 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3518 to optimize copies.
3519
1066a534
SP
3520 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3521 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3522 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3523
e34ab705
SP
3524 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3525 local variable MPTWO.
3526 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3527 Likewise.
3528
aba5e596
MF
35292013-01-13 Mike Frysinger <vapier@gentoo.org>
3530
3531 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3532 GLOB_NOESCAPE.
3533
e557e9e5
MF
35342013-01-13 Mike Frysinger <vapier@gentoo.org>
3535
3536 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3537
0428cec9
MF
35382013-01-13 Mike Frysinger <vapier@gentoo.org>
3539
3540 * manual/pattern.texi (glob_t): Document gl_flags.
3541 (glob64_t): Likewise.
3542
8794a964
DM
35432013-01-11 David S. Miller <davem@davemloft.net>
3544
66438c3f
RM
3545 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3546 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3547 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
3548 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3549 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3550 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3551 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3552 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3553 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3554 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3555 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3556 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3557 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3558
4ae4244d
DM
3559 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3560 sparc V9 rather than using V8 code.
3561 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3562 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3563
8794a964
DM
3564 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3565 Move to...
3566 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3567 Here.
3568
6270516e
RM
35692013-01-11 Roland McGrath <roland@hack.frob.com>
3570
3571 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3572 not in the main loop.
3573 * configure: Regenerated.
3574
6a57d931
JM
35752013-01-11 Joseph Myers <joseph@codesourcery.com>
3576
3577 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3578 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3579 to just #else.
3580 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3581 [!__GLIBC_HAVE_LONG_LONG] case.
3582 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3583 condition to just #else.
3584 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3585 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3586 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3587 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3588 unconditional.
3589 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3590 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3591 #elif condition to just #else.
3592 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3593 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3594 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3595 #elif condition to just #else.
3596
0e8529e9
SE
35972013-01-11 Steve Ellcey <sellcey@mips.com>
3598
3599 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3600 (EF_MIPS_ARCH_64): Fix value.
3601 (EF_MIPS_ARCH_32R2): New.
3602 (EF_MIPS_ARCH_64R2): New.
3603
740b3dbe
L
36042013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3605
3606 * Makeconfig (+link-pie-before-libc): New.
3607 (+link-pie-after-libc): Likewise.
3608 (+link-pie-tests): Likewise.
3609 (+link-pie): Rewritten.
3610 (link-before-libc): Remove $(config-LDFLAGS).
3611 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3612 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3613 (config-LDFLAGS): Renamed to ...
3614 (rtld-LDFLAGS): This.
3615 (rtld-tests-LDFLAGS): New macro.
3616 (link-libc-rpath-link): Likewise.
3617 (link-libc-tests-rpath-link): Likewise.
3618 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3619 (link-libc): Prepand $(link-libc-rpath-link).
3620 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3621 (test-program-prefix): New macro.
3622 (test-via-rtld-prefix): Likewise.
3623 (test-program-cmd): Likewise.
3624 (host-test-program-cmd): Likewise.
3625 * Makefile ($(common-objpfx)testrun.sh): Replace
3626 $(run-program-prefix) with $(test-program-prefix).
3627 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3628 $(rtld-LDFLAGS).
3629 ($(common-objpfx)shlib.lds): Likewise.
3630 (build-module-helper): Likewise.
3631 ($(common-objpfx)format.lds): Likewise.
3632 * Rules (binaries-pie-tests): New.
3633 (binaries-pie-notests): Likewise.
3634 (binaries-pie): Rewritten.
3635 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3636 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3637 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3638 (make-test-out): Replace $(host-built-program-cmd) with
3639 $(host-test-program-cmd).
3640 * config.make.in (build-hardcoded-path-in-tests): New variable.
3641 * configure.in (--enable-hardcoded-path-in-tests): New configure
3642 option.
3643 (hardcoded_path_in_tests): New AC_SUBST.
3644 * configure: Regenerated.
3645 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3646 $(built-program-cmd) with $(test-program-cmd).
3647 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3648 (test_program_cmd): This.
3649 * elf/Makefile ($(objpfx)order.out): Run test with
3650 $(test-program-prefix).
3651 ($(objpfx)order2.out): Likewise.
3652 ($(objpfx)tst-initorder.out): Likewise.
3653 ($(objpfx)tst-initorder2.out): Likewise.
3654 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3655 $(test-program-cmd).
3656 ($(objpfx)tst-array1-static.out): Likewise.
3657 ($(objpfx)tst-array2.out): Likewise.
3658 ($(objpfx)tst-array3.out): Likewise.
3659 ($(objpfx)tst-array4.out): Likewise.
3660 ($(objpfx)tst-array5.out): Likewise.
3661 ($(objpfx)tst-array5-static.out): Likewise.
3662 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3663 $(test-program-cmd).
3664 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3665 $(run-program-prefix) with $(test-program-prefix).
3666 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3667 (test_program_prefix): This.
3668 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3669 $(run-program-prefix) with $(test-program-prefix).
3670 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3671 (test_program_prefix): This.
3672 * iconvdata/tst-tables.sh: Likewise.
3673 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3674 $(run-program-prefix) with $(test-program-prefix).
3675 ($(objpfx)tst-translit.out): Likewise.
3676 ($(objpfx)tst-gettext2.out): Likewise.
3677 ($(objpfx)tst-gettext4.out): Likewise.
3678 ($(objpfx)tst-gettext6.out): Likewise.
3679 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3680 (test_program_prefix): This.
3681 * intl/tst-gettext2.sh: Likewise.
3682 * intl/tst-gettext4.sh Likewise.
3683 * intl/tst-gettext6.sh: Likewise.
3684 * intl/tst-translit.sh: Likewise.
3685 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3686 with $(test-program-cmd).
3687 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3688 $(run-program-prefix) with $(test-program-prefix).
3689 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3690 (test_program_prefix): This.
3691 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3692 $(run-program-prefix) with $(test-program-prefix).
3693 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3694 (test_program_prefix): This.
3695 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3696 * posix/Makefile ($(objpfx)globtest.out): Replace
3697 $(run-via-rtld-prefix) and $(test-wrapper) with
3698 $(test-program-prefix) and $(test-via-rtld-prefix).
3699 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3700 $(test-program-prefix).
3701 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3702 $(host-test-program-cmd).
3703 (tst-spawn-ARGS): Likewise.
3704 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3705 $(test-program-prefix).
3706 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3707 (test_via_rtld_prefix): This.
3708 (test_wrapper): Renamed to ...
3709 (test_program_prefix): This.
3710 (run_program_prefix): Replaced by test_program_prefix.
3711 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3712 (test_program_prefix): This.
3713 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3714 with $(host-test-program-cmd).
3715 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3716 $(run-program-prefix) with $(test-program-prefix).
3717 ($(objpfx)tst-printf.out): Likewise.
3718 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3719 $(test-program-cmd).
3720 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3721 (test_program_prefix): This.
3722 * stdio-common/tst-unbputc.sh: Likewise.
3723 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3724 $(run-program-prefix) with $(test-program-prefix).
3725 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3726 (test_program_prefix): This.
3727 * string/Makefile ($(objpfx)tst-svc.out): Replace
3728 $(built-program-cmd) with $(test-program-cmd).
3729
c6fe55cf
AJ
37302013-01-11 Andreas Jaeger <aj@suse.de>
3731
3732 [BZ #15003]
3733 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3734 value. Sync with Linux 3.7.
3735
9e6919c8
DM
37362013-01-10 David S. Miller <davem@davemloft.net>
3737
3738 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3739 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3740 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3741
1c9f1a02
RM
37422013-01-10 Roland McGrath <roland@hack.frob.com>
3743
3744 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3745 never set.
3746 * configure: Regenerated.
3747
b9de2dde
DM
37482013-01-10 David S. Miller <davem@davemloft.net>
3749
3750 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3751 sparc V9 rather than using V8 code.
3752 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3753 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3754
e7f68ef4
RM
37552013-01-10 Roland McGrath <roland@hack.frob.com>
3756
3757 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3758 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3759 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3760 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3761 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3762 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3763 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3764 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3765 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3766 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3767 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3768 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3769 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3770 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3771 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3772 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3773 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3774 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3775 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3776 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3777 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3778 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3779 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3780 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3781 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3782 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3783 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3784
5a47cc9c
DM
37852013-01-10 David S. Miller <davem@davemloft.net>
3786
3787 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3788
4cf8f209
L
37892013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3790
3791 * posix/Makefile (tests-static): New variable.
3792 (tests): Add $(tests-static).
3793 (tst-exec-static-ARGS): New variable.
3794 (tst-spawn-static-ARGS): Likewise.
3795 * posix/tst-exec-static.c: New file.
3796 * posix/tst-spawn-static.c: Likewise.
3797 * posix/tst-exec.c: Support run directly.
3798 * posix/tst-spawn.c: Likewise.
3799
fed0faa1
JM
38002013-01-10 Joseph Myers <joseph@codesourcery.com>
3801
828beb13
JM
3802 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3803 long.
3804 * math/bits/mathcalls.h (llrint): Likewise.
3805 (llround): Likewise.
3806 * stdlib/stdlib.h (struct drand48_data): Likewise.
3807 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3808 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3809 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3810 Likewise.
3811 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3812 Likewise.
3813 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3814 (elf_greg_t): Likewise.
3815 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3816 (__jmp_buf): Likewise.
3817 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3818 definitions.
3819 (llrint): Likewise, for all definitions.
3820 (llrintl): Likewise.
3821
fed0faa1
JM
3822 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3823 Remove [__GNUC__] condition.
3824 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3825 condition to just [__USE_ISOC99].
3826 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3827
1a20cb20
L
38282013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3829
3830 [BZ #14200]
3831 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3832 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3833 defined.
3834 (_POSIX_V6_ILP32_OFF32): Likewise.
3835 (_XBS5_ILP32_OFF32): Likewise.
3836 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3837 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3838
751b85f7
SP
38392013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3840
7490eb81
SP
3841 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3842
751b85f7
SP
3843 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3844 doubles __mpexp_twomm1. Adjust usage.
3845 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3846 Remove.
3847
988197f0
AS
38482013-01-10 Andreas Schwab <schwab@suse.de>
3849
3850 [BZ #14964]
3851 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3852 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3853
e83d7298
DM
38542013-01-09 David S. Miller <davem@davemloft.net>
3855
034ed64b 3856 [BZ #15003]
e83d7298
DM
3857 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3858 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3859 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3860 TCP_FASTOPEN): Define.
3861 (tcp_repair_opt): New structure.
3862 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3863 enum values.
3864 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3865 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3866 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3867 (tcp_cookie_transactions): New structure.
3868
d5e0b9bd
AB
38692013-01-09 Anton Blanchard <anton@samba.org>
3870
3871 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3872 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3873 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3874 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3875
0c07e3ea
JM
38762013-01-09 Joseph Myers <joseph@codesourcery.com>
3877
3878 * include/features.h (__USE_ANSI): Remove.
3879
232f7002
RM
38802013-01-09 Roland McGrath <roland@hack.frob.com>
3881
ad98e30c
RM
3882 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3883
232f7002
RM
3884 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3885
950c99ca
SP
38862013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3887
b5792741
SP
3888 * sysdeps/s390/fpu/libm-test-ulps: Update.
3889
47cf2278
SP
3890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3891
950c99ca
SP
3892 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3893 (__acr): Likewise.
3894 (__cpy): Likewise.
3895 (norm): Likewise.
3896 (denorm): Likewise.
3897 (__mp_dbl): Likewise.
3898 (__dbl_mp): Likewise.
3899 (add_magnitudes): Likewise.
3900 (sub_magnitudes): Likewise.
3901 (__add): Likewise.
3902 (__sub): Likewise.
3903 (__mul): Likewise.
3904 (__inv): Likewise.
3905 (__dvd): Likewise.
3906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3907 (__acr): Likewise.
3908 (__cpy): Likewise.
3909 (norm): Likewise.
3910 (denorm): Likewise.
3911 (__mp_dbl): Likewise.
3912 (__dbl_mp): Likewise.
3913 (add_magnitudes): Likewise.
3914 (sub_magnitudes): Likewise.
3915 (__add): Likewise.
3916 (__sub): Likewise.
3917 (__mul): Likewise.
3918 (__inv): Likewise.
3919 (__dvd): Likewise.
3920 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
3921 (__acr): Likewise.
3922 (__cpy): Likewise.
3923 (norm): Likewise.
3924 (denorm): Likewise.
3925 (__mp_dbl): Likewise.
3926 (__dbl_mp): Likewise.
3927 (add_magnitudes): Likewise.
3928 (sub_magnitudes): Likewise.
3929 (__add): Likewise.
3930 (__sub): Likewise.
3931 (__mul): Likewise.
3932 (__inv): Likewise.
3933 (__dvd): Likewise.
3934
eede9df9
JM
39352013-01-08 Joseph Myers <joseph@codesourcery.com>
3936
3937 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
3938 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
3939 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
3940 2 && __USE_EXTERN_INLINES]: Likewise.
3941
c40ea3d9
AJ
39422013-01-08 Andreas Jaeger <aj@suse.de>
3943
3944 [BZ# 14985]
3945 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
3946 Remove.
3947 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3948 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
3949
2ccdea26
AB
39502013-01-07 Anton Blanchard <anton@samba.org>
3951
3952 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
3953 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3954 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
3955 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3956 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3957 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3958 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
3959 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
3960 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3961 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
3962 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3963 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3964 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3965 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3966 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3967 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3968 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3969 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3970 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3971 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3972 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3973 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
3974 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3975 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3976 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
3977 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3978 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
3979 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3980 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
3981 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3982 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3983 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3984 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
3985 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3986 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3987 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3988 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3989 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
3990 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3991 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3992 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
3993 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3994 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3995
a9708fed
JM
39962013-01-07 Joseph Myers <joseph@codesourcery.com>
3997
375607b9
JM
3998 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
3999 (__MALLOC_PMT): Likewise.
4000 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4001 [__GNUC__], only on [_LIBC].
4002 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4003 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4004 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4005 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4006 forward declaration.
4007 (realloc_hook_ini): Likewise.
4008 (memalign_hook_ini): Likewise.
4009 (__libc_memalign): Do not use __MALLOC_PMT in variable
4010 declaration.
4011 (__libc_valloc): Likewise.
4012 (__libc_pvalloc): Likewise.
4013 (__libc_calloc): Likewise.
4014 (__posix_memalign): Likewise.
4015
a9708fed
JM
4016 [BZ #14996]
4017 * math/s_casinh.c: Include <float.h>.
4018 (__casinh): Do not do computation with squaring and square root
4019 for large arguments.
4020 * math/s_casinhf.c: Include <float.h>.
4021 (__casinhf): Do not do computation with squaring and square root
4022 for large arguments.
4023 * math/s_casinhl.c: Include <float.h>.
4024 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4025 (__casinhl): Do not do computation with squaring and square root
4026 for large arguments.
4027 * math/libm-test.inc (casin_test): Add more tests.
4028 (casinh_test): Likewise.
4029 * sysdeps/i386/fpu/libm-test-ulps: Update.
4030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4031
afec409a
L
40322013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4033
4034 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4035 (__x86_64_raw_data_cache_size): Likewise.
4036 (__x86_64_data_cache_size_half): Likewise.
4037 (__x86_64_raw_data_cache_size_half): Likewise.
4038 (__x86_64_shared_cache_size): Likewise.
4039 (__x86_64_raw_shared_cache_size): Likewise.
4040 (__x86_64_shared_cache_size_half): Likewise.
4041 (__x86_64_raw_shared_cache_size_half): Likewise.
4042 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4043 to ...
4044 (__x86_data_cache_size): This.
4045 (__x86_64_raw_data_cache_size): Renamed to ...
4046 (__x86_raw_data_cache_size): This.
4047 (__x86_64_data_cache_size_half): Renamed to ...
4048 (__x86_data_cache_size_half): This.
4049 (__x86_64_raw_data_cache_size_half): Renamed to ...
4050 (__x86_raw_data_cache_size_half): This.
4051 (__x86_64_shared_cache_size): Renamed to ...
4052 (__x86_shared_cache_size): This.
4053 (__x86_64_raw_shared_cache_size): Renamed to ...
4054 (__x86_raw_shared_cache_size): This.
4055 (__x86_64_shared_cache_size_half): Renamed to ...
4056 (__x86_shared_cache_size_half): This.
4057 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4058 (__x86_raw_shared_cache_size_half): This.
4059 * sysdeps/x86_64/memcpy.S: Updated.
4060 * sysdeps/x86_64/memset.S: Likewise.
4061 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4062 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4063 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4064
0b3986d0
DM
40652013-01-04 David S. Miller <davem@davemloft.net>
4066
4067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4068
e47686e9
AS
40692013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4070
d643bac1
AS
4071 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4072 1 to avoid redefinition warning.
4073 (__USE_GNU): Don't define.
4074 (init_signaling_nan): Protoize.
4075
e47686e9
AS
4076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4077
b18decba
SP
40782013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4079
fffb407f
SP
4080 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4081 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4082 (__cpymn): Likewise.
4083 (norm): Remove commented code.
4084 (denorm): Likewise.
4085 (__mp_dbl): Likewise.
4086 (__inv): Likewise.
4087 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4088 (__cpymn): Likewise.
4089 (norm): Remove commented code.
4090 (denorm): Likewise.
4091 (__mp_dbl): Likewise.
4092 (__inv): Likewise.
4093
b18decba
SP
4094 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4095 mp_no value for 1.0 and 2.0.
4096 (norm): Use RADIXI instead of radixi.d.
4097 (denorm): Likewise.
4098 (__mul): Use 0.0 instead of zero.d.
4099 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4100 mp_no value for 1.0 and 2.0.
4101 (norm): Use RADIXI instead of radixi.d.
4102 (denorm): Likewise.
4103 (__mul): Use 0.0 instead of zero.d.
4104
cdc1c96f
JM
41052013-01-04 Joseph Myers <joseph@codesourcery.com>
4106
4107 [BZ #14994]
4108 * math/s_casinh.c (__casinh): Reduce finite argument to first
4109 quadrant then set signs of results at the end.
4110 * math/s_casinhf.c (__casinhf): Likewise.
4111 * math/s_casinhl.c (__casinhl): Likewise.
4112 * math/libm-test.inc (casin_test): Add more tests.
4113 (casinh_test): Likewise.
4114 * sysdeps/i386/fpu/libm-test-ulps: Update.
4115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4116
302913e1
SP
41172013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4118
6420d207
SP
4119 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4120
a9e48ab4
SP
4121 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4122
b7837264
SP
4123 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4124 declarations.
4125 (denorm): Likewise.
4126 (__mp_dbl): Likewise.
4127 (__inv): Likewise.
4128
f8af25d2
SP
4129 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4130 and adjust the header comment.
4131
302913e1
SP
4132 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4133 variable name from declaration.
4134
5d7dd1ca
L
41352013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4136
4137 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4138 Initialize COMMON_CPUID_INDEX_7 element.
4139 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4140 (CPUID_RTM): Likewise.
4141 (HAS_RTM): Likewise.
4142 (COMMON_CPUID_INDEX_7): New enum.
4143
2f5f40f4
AS
41442013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4145
4146 [BZ #14981]
4147 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4148 size is zero, record memory as freed.
4149
4056f4a0
AJ
41502013-01-03 Andreas Jaeger <aj@suse.de>
4151
4152 * po/ia.po: Add new Interlingua translation.
4153
ab15736f 41542012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
4155
4156 * locale/programs/localedef.c: Fix description of '--posix' flag.
4157
568035b7
JM
41582013-01-02 Joseph Myers <joseph@codesourcery.com>
4159
e6898b8d
JM
4160 * NEWS: Update dates in second copyright notice.
4161 * README: Update copyright dates in example.
4162 * manual/libc.texinfo: Update copyright dates.
4163 * scripts/test-installation.pl: Update copyright date in --version
4164 output.
4165
0e2f9562
JM
4166 * hurd/ctty-input.c: Fix copyright notice formatting.
4167 * hurd/ctty-output.c: Likewise.
4168 * hurd/dtable.c: Likewise.
4169 * hurd/hurd-raise.c: Likewise.
4170 * hurd/hurdprio.c: Likewise.
4171 * hurd/msgportdemux.c: Likewise.
4172 * misc/sys/file.h: Likewise.
4173 * misc/sys/ioctl.h: Likewise.
4174 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4175 * sysdeps/mach/hurd/chdir.c: Likewise.
4176 * sysdeps/mach/hurd/fchdir.c: Likewise.
4177 * sysdeps/mach/hurd/rename.c: Likewise.
4178 * sysdeps/mach/hurd/rmdir.c: Likewise.
4179 * sysdeps/mach/hurd/seekdir.c: Likewise.
4180 * sysdeps/mach/hurd/setsid.c: Likewise.
4181 * sysdeps/posix/wait3.c: Likewise.
4182
568035b7
JM
4183 * All files with FSF copyright notices: Update copyright dates
4184 using scripts/update-copyrights.
4185 * intl/plural.c: Regenerated.
4186 * locale/programs/charmap-kw.h: Likewise.
4187 * locale/programs/locfile-kw.h: Likewise.
4188
da08f647
SP
41892013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4190
0f5477af
SP
4191 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4192 four values.
4193
44e0d4c2
SP
4194 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4195 calculation loop and add branch prediction.
4196
4d55b4e5
SP
4197 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4198 check access beyond bounds of m1np.
4199
da08f647
SP
4200 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4201 MPTWO.
4202 (__inv): Remove local variable MPTWO to use the global
4203 constant.
4204 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4205 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4206 variable MPTWO.
4207 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4208 MP3HALFS static const.
4209
8e051029
DM
42102013-01-01 David S. Miller <davem@davemloft.net>
4211
4212 * po/ca.po: Update from translation team.
4213
f4cf5f2d
JM
42142013-01-01 Joseph Myers <joseph@codesourcery.com>
4215
4216 * scripts/update-copyrights: New file.
4217 * Makeconfig: Reformat copyright notice.
4218 * ctype/ctype.h: Likewise.
4219 * debug/swprintf_chk.c: Likewise.
4220 * elf/dl-cache.c: Likewise.
4221 * elf/dl-debug.c: Likewise.
4222 * elf/dl-object.c: Likewise.
4223 * grp/initgroups.c: Likewise.
4224 * hurd/Makefile: Likewise.
4225 * hurd/hurd/signal.h: Likewise.
4226 * hurd/hurdfault.c: Likewise.
4227 * hurd/hurdioctl.c: Likewise.
4228 * hurd/hurdlookup.c: Likewise.
4229 * hurd/intr-msg.c: Likewise.
4230 * iconv/gconv_open.c: Likewise.
4231 * libio/swprintf.c: Likewise.
4232 * locale/lc-ctype.c: Likewise.
4233 * locale/nl_langinfo.c: Likewise.
4234 * mach/Machrules: Likewise.
4235 * mach/Makefile: Likewise.
4236 * malloc/obstack.h: Likewise.
4237 * manual/Makefile: Likewise.
4238 * manual/tsort.awk: Likewise.
4239 * misc/bits/stab.def: Likewise.
4240 * nis/nis_print_group_entry.c: Likewise.
4241 * nis/nis_table.c: Likewise.
4242 * nis/nss_compat/compat-pwd.c: Likewise.
4243 * nis/nss_compat/compat-spwd.c: Likewise.
4244 * po/Makefile: Likewise.
4245 * posix/fnmatch.c: Likewise.
4246 * posix/regex.h: Likewise.
4247 * resolv/Makefile: Likewise.
4248 * resolv/nss_dns/dns-network.c: Likewise.
4249 * resolv/res_hconf.c: Likewise.
4250 * scripts/gen-sorted.awk: Likewise.
4251 * soft-fp/soft-fp.h: Likewise.
4252 * stdio-common/printf.h: Likewise.
4253 * stdlib/monetary.h: Likewise.
4254 * stdlib/random.c: Likewise.
4255 * stdlib/random_r.c: Likewise.
4256 * sysdeps/generic/Makefile: Likewise.
4257 * sysdeps/gnu/Makefile: Likewise.
4258 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4259 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4260 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4261 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4262 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4263 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4264 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4265 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4266 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4267 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4268 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4269 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4270 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4271 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4272 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4273 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4274 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4275 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4276 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4277 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4278 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4279 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4280 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4281 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4282 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4283 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4284 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4285 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4286 * sysdeps/mach/hurd/errnos.awk: Likewise.
4287 * sysdeps/mach/hurd/fork.c: Likewise.
4288 * sysdeps/mach/hurd/getcwd.c: Likewise.
4289 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4290 * sysdeps/mach/hurd/mmap.c: Likewise.
4291 * sysdeps/mach/hurd/utimes.c: Likewise.
4292 * sysdeps/mach/hurd/xmknod.c: Likewise.
4293 * sysdeps/posix/profil.c: Likewise.
4294 * sysdeps/posix/readdir_r.c: Likewise.
4295 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4296 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4297 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4298 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4299 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4300 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4301 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4302 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4303 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4304 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4305 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4306 * sysdeps/pthread/lio_listio.c: Likewise.
4307 * sysdeps/sparc/dl-procinfo.h: Likewise.
4308 * sysdeps/unix/i386/sysdep.S: Likewise.
4309 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4310 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4311 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4312 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4314 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4315 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4316 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4317 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4318 * sysdeps/wordsize-32/divdi3.c: Likewise.
4319 * time/sys/time.h: Likewise.
4320 * wcsmbs/Makefile: Likewise.
4321
0549fbba
DM
43222013-01-01 David S. Miller <davem@davemloft.net>
4323
a141f1a7
DM
4324 * po/fr.po: Update from translation team.
4325
0549fbba
DM
4326 * catgets/gencat.c: Update copyright year.
4327 * csu/version.c: Likewise.
4328 * debug/catchsegv.sh: Likewise.
4329 * debug/pcprofiledump.c: Likewise.
4330 * debug/xtrace.sh: Likewise.
4331 * elf/ldconfig.c: Likewise.
4332 * elf/ldd.bash.in: Likewise.
4333 * elf/pldd.c: Likewise.
4334 * elf/sotruss.ksh: Likewise.
4335 * elf/sprof.c: Likewise.
4336 * iconv/iconv_prog.c: Likewise.
4337 * iconv/iconvconfig.c: Likewise.
4338 * locale/programs/locale.c: Likewise.
4339 * locale/programs/localedef.c: Likewise.
4340 * login/programs/pt_chown.c: Likewise.
4341 * malloc/memusage.sh: Likewise.
4342 * malloc/memusagestat.c: Likewise.
4343 * malloc/mtrace.pl: Likewise.
4344 * nscd/nscd.c: Likewise.
4345 * nss/getent.c: Likewise.
4346 * nss/makedb.c: Likewise.
4347 * posix/getconf.c: Likewise.
4348
18ea052c
SP
43492012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4350
4351 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4352 numbers.
4353
9c89fca6
MF
43542012-12-30 Mike Frysinger <vapier@gentoo.org>
4355
4356 * math/bits/mathcalls.h (modf): Use __nonnull.
4357
085ec079
SP
43582012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4359
4360 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4361 (split): Use macro CN instead of the bare value.
4362 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4363 could be used.
4364 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4365 instead of the bare value.
4366 (power1): Likewise.
4367
6d9f97e1
SP
43682012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4369
d63f73be
SP
4370 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4371 __ATAN_TWOM.
4372 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4373
6d9f97e1
SP
4374 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4375 their values.
4376 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4377 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4378 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4379 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4380
4c4febf5
AJ
43812012-12-28 Andreas Jaeger <aj@suse.de>
4382
af5843ef
AJ
4383 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4384 values are from Linux 3.7.
4385
4c4febf5
AJ
4386 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4387 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4388
99136f82
SP
43892012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4390
2f216c3c 4391 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
4392 TRUE case.
4393
99136f82
SP
4394 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4395 (norm): Likewise.
4396 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4397 variables with preprocessor constants.
4398 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4399 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4400 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4401
7fffbdff
BH
44022012-12-27 Bruno Haible <bruno@clisp.org>
4403
4404 [BZ #14317]
4405 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4406 only if needed.
4407
b76eb5f0
SP
44082012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4409
31a7fe5c
SP
4410 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4411 and use variable directly.
4412 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4413
b76eb5f0
SP
4414 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4415 MPONE.
4416 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4417 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4418 variable MPONE.
4419 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4420 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4421 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4422 include directive. Remove local variable MPONE.
4423 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4424 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4425 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4426
2c8bfe7d
DM
44272012-12-25 David S. Miller <davem@davemloft.net>
4428
4429 * version.h (RELEASE): Set to "development".
4430 (VERSION): Set to "2.17.90".
4431 * NEWS: Add 2.18 section.
4432
147d03b0
DM
44332012-12-21 David S. Miller <davem@davemloft.net>
4434
4435 * po/hr.po: Update from translation team.
4436
a8ebb2b9
AK
44372012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4438
4439 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4440
95b4f1b6
SE
44412012-12-19 Steve Ellcey <sellcey@mips.com>
4442
b2d94007 4443 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 4444
cedb2a90
MS
44452012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4446
4447 * manual/contrib.texi (Contributors): Spelling correction.
4448
bbf527d6
DM
44492012-12-15 David S. Miller <davem@davemloft.net>
4450
4451 * po/ru.po: Update from translation team.
4452
bc38c906
DM
44532012-12-13 David S. Miller <davem@davemloft.net>
4454
85429b1a
DM
4455 * NEWS: Mention IFUNC testsuite enhancements.
4456
d283e353
DM
4457 * po/pl.po: Update from translation team.
4458 * po/bg.po: Likewise.
4459
bc38c906
DM
4460 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4461 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4462
a181b0d7
DM
44632012-12-11 David S. Miller <davem@davemloft.net>
4464
4641d57e
DM
4465 * po/sv.po: Update from translation team.
4466
f7bc6495
DM
4467 * po/vi.po: Update from translation team.
4468
6fc9048f
DM
4469 * po/cs.po: Update from translation team.
4470
a181b0d7
DM
4471 * po/de.po: Update from translation team.
4472 * po/eo.po: Likewise.
4473 * po/nl.po: Likewise.
4474
f70bfe80
SP
44752012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4476
3c8b4190
SP
4477 [BZ #14246]
4478 * manual/argp.texi (Argp Helper Functions): Move node to follow
4479 Argp Parsing State.
4480
f70bfe80
SP
4481 [BZ #14872]
4482 * manual/conf.texi (Limits on File System Capacity): Mention if
4483 terminating null is included in the max size.
4484
188f0adf
AJ
44852012-12-10 Andreas Jaeger <aj@suse.de>
4486
4487 * po/cs.po: Update from translation team.
4488
56e7d3ad
SP
44892012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4490
4491 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4492 void pointer and cast to uintptr_t.
4493 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4494 path.
4495 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4496 * sysdeps/s390/s390-64/memset.S: Likewise.
4497
76f2d2ea 44982012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
4499
4500 [BZ #14833]
4501 * menual/message.texi (Message Translation): Fix typos.
4502 (Helper programs for gettext): Likewise.
4503
67cbf9a2
AS
45042012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4505
4506 [BZ #14898]
4507 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4508 Change to -1.
4509
682d0e9a
DM
45102012-12-07 David S. Miller <davem@davemloft.net>
4511
4512 * po/libc.pot: Update.
4513
573cd484
RH
45142012-12-07 Richard Henderson <rth@redhat.com>
4515
7e9da188 4516 [BZ #10114]
573cd484
RH
4517 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4518 normal/normal case to before the switch.
4519 (_FP_DIV): Likewise.
4520
e933a943
MF
45212012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4522 Mike Frysinger <vapier@gentoo.org>
4523
4524 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4525 check for __NR_fadvise64_64.
4526
82123268
CM
45272012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4528
4529 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4530 0, not just to plain "0" as a statement.
4531 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4532 with cw.
4533
d9814526
JM
45342012-12-06 Joseph Myers <joseph@codesourcery.com>
4535
4536 * NEWS: Use sourceware.org in Bugzilla URL.
4537
7728c574
SP
45382012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4539
f16946dd
SP
4540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4541 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4542
5704bbcb
SP
4543 * stdio-common/tst-put-error.c (do_test): Add newline to the
4544 padded test to ensure flush.
4545
17aa0516
JL
45462012-12-05 Jeff Law <law@redhat.com>
4547
4548 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4549
363313b5
JM
45502012-12-05 Joseph Myers <joseph@codesourcery.com>
4551
effbd42a
JM
4552 * README: Don't refer to ports add-on as distributed separately.
4553 Mention AArch64 in list of systems supported in the ports add-on.
4554
87600365
JM
4555 * LICENSES: Add more non-FSF copyright and license notices.
4556
a0d7066a
JM
4557 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4558 ((unused)).
4559
66ca5a5b
JM
4560 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4561
363313b5
JM
4562 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4563 10000 as width of padded output.
4564
b37984ad
JM
45652012-12-04 Joseph Myers <joseph@codesourcery.com>
4566
9003570a
JM
4567 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4568
b37984ad
JM
4569 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4570 variable LX with __attribute__ ((unused)).
4571 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4572 Likewise.
4573 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4574 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4575 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4576 with __attribute__ ((unused)).
4577
c8df52ec
DM
45782012-12-04 David S. Miller <davem@abraco.davemloft.net>
4579
4580 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4581
b3b099af
JM
45822012-12-04 Joseph Myers <joseph@codesourcery.com>
4583
c33aa6e3
JM
4584 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4585 (CFLAGS-nldbl-acos.c): New variable.
4586 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4587 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4588 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4589 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4590 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4591 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4592 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4593 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4594 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4595 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4596 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4597 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4598 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4599 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4600 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4601 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4602 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4603 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4604 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4605 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4606 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4607 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4608 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4609 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4610 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4611 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4612 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4613 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4614 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4615 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4616 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4617 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4618 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4619 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4620 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4621 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4622 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4623 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4624 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4625 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4626 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4627 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4628 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4629 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4630 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4631 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4632 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4633 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4634 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4635 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4636 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4637 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4638 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4639 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4640 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4641 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4642 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4643 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4644 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4645 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4646 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4647 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4648 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4649 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4650 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4651 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4652 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4653 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4654 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4655 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4656 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4657 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4658 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4659 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4660 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4661 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4662 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4663 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4664 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4665 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4666 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4667 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4668 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4669 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4670 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4671 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4672 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4673 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4674 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4675 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4676 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4677 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4678 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4679 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4680 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4681 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4682 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4683
20f0018d
JM
4684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4685 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4686
b3b099af
JM
4687 [BZ #14914]
4688 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4689 whole low double instead of just low 47 bits when splitting values
4690 into two parts.
4691
029264d1
AM
46922012-12-03 Allan McRae <allan@archlinux.org>
4693
4694 * manual/stdio.texi (Predefined Printf Handlers): Remove
4695 @hsep and @vsep usage.
4696
c9d6789e
MF
46972012-12-03 Mike Frysinger <vapier@gentoo.org>
4698
4699 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4700 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4701
4b7634a5
JL
47022012-12-03 Jeff Law <law@redhat.com>
4703
4704 * time/sys/time.h (settimeofday): Do not mark TV argument
4705 as __nonnull.
4706
eb6cbd24
MF
47072012-12-01 Mike Frysinger <vapier@gentoo.org>
4708
4709 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4710 when currently writing and seek to current position when not.
4711 * libio/Makefile (tests): Remove bug-fclose1.
4712 * libio/bug-fclose1.c: Delete.
4713
f638872a
JM
47142012-12-01 Joseph Myers <joseph@codesourcery.com>
4715
4716 * manual/arith.texi (feenableexcept): Fix typo.
4717 (fedisableexcept): Likewise.
4718
48085d14
RM
47192012-11-30 Roland McGrath <roland@hack.frob.com>
4720
4721 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4722 second, differently-typed declaration, rather than a cast.
4723
1a538b9f
SP
47242012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4725
4726 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4727 * include/rpc/svc.h: ... here.
4728
d07f2ff1 47292012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
4730
4731 [BZ #13013]
4732 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4733 depending n and resplen2 to catch cases where answer
4734 equals answerp2.
4735
c93ec1f0
CD
47362012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4737
4738 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4739 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4740
37db69de
MF
47412012-11-29 Mike Frysinger <vapier@gentoo.org>
4742
4743 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4744
e10c4e4f
RM
47452012-11-29 Roland McGrath <roland@hack.frob.com>
4746
4747 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4748
2af1b328
JL
47492012-11-28 Jeff Law <law@redhat.com>
4750
4751 [BZ #13761]
4752 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4753 dataset_temporary. Track alloca usage into alloca_used.
4754 If dataset is large allocate and release it via malloc/free.
4755
111db5b1
FW
47562012-06-04 Florian Weimer <fweimer@redhat.com>
4757
f06cc227 4758 [BZ #14197]
111db5b1
FW
4759 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4760
dd694abd
DM
47612012-11-28 David S. Miller <davem@davemloft.net>
4762
4763 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4764
9984dd01
JM
47652012-11-28 Joseph Myers <joseph@codesourcery.com>
4766
4767 [BZ #14803]
4768 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4769 of pi/2 rounded to nearest to 64 bits.
4770 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4771 nearest to 64 bits.
4772 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4773 bits.
4774
14bc93a9
JL
47752012-11-28 Jeff Law <law@redhat.com>
4776 Martin Osvald <mosvald@redhat.com>
4777
4778 [BZ #14889]
4779 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4780 * sunrpc/svc.c: Include time.h.
4781 (__svc_accept_failed): New function.
4782 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4783 any reason other than EINTR, call __svc_accept_failed.
4784 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4785 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4786
e3c6aa3a
AS
47872012-11-28 Andreas Schwab <schwab@suse.de>
4788
4789 * scripts/abilist.awk: Also handle indirect functions in .opd
4790 section.
4791
1bead169
JM
47922012-11-28 Joseph Myers <joseph@codesourcery.com>
4793
4794 [BZ #13881]
4795 * sysdeps/x86/fpu/powl_helper.c: New file.
4796 * sysdeps/x86/fpu/Makefile: Likewise.
4797 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4798 (p3): New object.
4799 (__ieee754_powl): Use __powl_helper for finite arguments except
4800 integer exponents below 8.
4801 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4802 (p3): New object.
4803 (__ieee754_powl): Use __powl_helper for finite arguments except
4804 integer exponents below 8.
4805 * math/libm-test.inc (pow_test): Add more tests and enable some
4806 previously disabled tests.
4807 * sysdeps/i386/fpu/libm-test-ulps: Update.
4808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4809
0817d63d
SP
48102012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4811 Carlos O'Donell <carlos_odonell@mentor.com>
4812
4813 * nss/makedb.c (is_prime): Assert that input is odd and greater
4814 than 4. Note that fact in a comment too.
4815 (next_prime): Add 4 to input.
4816
de2fd463
SP
48172012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4818
4819 [BZ #11741]
4820 * libio/Makefile (tests): Add test case tst-fwrite-error.
4821 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4822 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4823 * libio/tst-fwrite-error.c: New test case.
4824
c515fb51
L
48252012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4826
4827 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4828 before casting to void *.
4829 * include/libc-internal.h (__pointer_type): New macro.
4830 (__integer_if_pointer_type_sub): Likewise.
4831 (__integer_if_pointer_type): Likewise.
4832 (cast_to_integer): Likewise.
4833 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4834 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4835 before casting to atomic64_t.
4836 (atomic_exchange_acq): Likewise.
4837 (__arch_exchange_and_add_body): Likewise.
4838 (__arch_add_body): Likewise.
4839 (atomic_add_negative): Likewise.
4840 (atomic_add_zero): Likewise.
4841
4cf77aa9
JM
48422012-11-26 Joseph Myers <joseph@codesourcery.com>
4843
4844 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4845 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4846 (add_fdes): Likewise.
4847 (linear_search_fdes): Likewise.
4848 (binary_search_unencoded_fdes): Likewise.
4849
d260b3b4
AS
48502012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4851
4852 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4853
67060746
AC
48542012-11-24 Adam Conrad <adconrad@0c3.net>
4855
4856 * configure.in: Autodetect C++ header directories.
4857 * configure: Regenerated.
4858
800938a1
MF
48592012-11-23 Mike Frysinger <vapier@gentoo.org>
4860
4861 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4862
4e6e34e6
AS
48632012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4864
4865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4866
7c7feb47
JM
48672012-11-22 Joseph Myers <joseph@codesourcery.com>
4868
7184dcdf
JM
4869 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4870 LDBL_MANT_DIG == 106]: Disable some tests.
4871 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4872 Likewise.
4873 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4874 Likewise.
4875
0a42601f
JM
4876 [BZ #14871]
4877 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4878 input for small inputs. Return +/- pi/2 for large inputs.
4879 * math/libm-test.inc (atan_test): Add more tests.
4880
79c9b9fe
JM
4881 * sysdeps/generic/unwind-dw2-fde-glibc.c
4882 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4883 __attribute__ ((unused)).
4884
c60d3bf2
JM
4885 [BZ #14645]
4886 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4887 x * y if x and y are nonzero and z is zero.
4888
ef1e0867
JM
4889 [BZ #14811]
4890 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4891 nonzero exponents with absolute value below 0x1p-117 to +/-
4892 0x1p-117.
4893
1468ded3
JM
4894 [BZ #14869]
4895 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4896 up arguments below 2**-450, not just those below 2**-500.
4897 * math/libm-test.inc (hypot_test): Add another test.
4898
8e27e3cc
JM
4899 [BZ #14868]
4900 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4901 Return a+b for ratio over 2**120, not 2**60.
4902 * math/libm-test.inc (hypot_test): Add another test.
4903
c9c0279b
JM
4904 * math/libm-test.inc (clog_test): Use
4905 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4906 (clog10_test): Likewise.
4907
7c7feb47
JM
4908 [BZ #6778]
4909 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4910
fff1530e
AS
49112012-11-22 Andreas Schwab <schwab@suse.de>
4912
4913 * sysdeps/i386/fpu/libm-test-ulps: Update.
4914
94558d30
PT
49152012-11-22 Pino Toscano <toscano.pino@tiscali.it>
4916
4917 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
4918 printf output with newline.
4919
7e1be741
L
49202012-11-21 H.J. Lu <hongjiu.lu@intel.com>
4921
6bfea974
L
4922 [BZ #14865]
4923 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
4924 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
4925 -z nodlopen, -z initfirst and -z execstack support.
4926 * configure: Regenerated.
4927
7e1be741
L
4928 * elf/elf.h (DF_1_NODIRECT): New macro.
4929 (DF_1_IGNMULDEF): Likewise.
4930 (DF_1_NOKSYMS): Likewise.
4931 (DF_1_NOHDR): Likewise.
4932 (DF_1_EDITED): Likewise.
4933 (DF_1_NORELOC): Likewise.
4934 (DF_1_SYMINTPOSE): Likewise.
4935 (DF_1_GLOBAUDIT): Likewise.
4936 (DF_1_SINGLETON): Likewise.
4937 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
4938 DT_1_SUPPORTED_MASK bits.
4939 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
4940
105ce2ce
CD
49412012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
4942
4943 * sysdeps/unix/make-syscalls.sh: Document prefixes.
4944
123be9de
TS
49452012-11-20 Thomas Schwinge <thomas@codesourcery.com>
4946
d072f3f7
TS
4947 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
4948 macro.
4949
123be9de
TS
4950 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
4951 (sendmmsg): Move declarations...
4952 * socket/sys/socket.h: ... here.
4953 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
4954 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
4955 include it from...
4956 * socket/recvmmsg.c: ... this new file.
4957 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
4958 (sendmmsg): Rename to __sendmmsg, create weak alias and make
4959 definition of __sendmmsg hidden.
4960 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
4961 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
4962 Move ENOSYS stub into and include it from...
4963 * socket/sendmmsg.c: ... this new file.
4964 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
4965 (sysdep_routines): Move recvmmsg and sendmmsg...
4966 * socket/Makefile (routines): ... here.
4967 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
4968 (GLIBC_PRIVATE): Add __sendmmsg.
4969 * include/sys/socket.h (__sendmmsg): Add declarations.
4970 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
4971 sendmmsg.
4972
cf9a5d18
JM
49732012-11-20 Joseph Myers <joseph@codesourcery.com>
4974
4975 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
4976 variable I1 with __attribute__ ((unused)).
4977 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
4978
ecd4caf9
JM
49792012-11-19 Joseph Myers <joseph@codesourcery.com>
4980
be14d48f
JM
4981 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
4982 DUMMY variables with __attribute__ ((unused)).
4983
ecd4caf9
JM
4984 * bits/byteswap.h: Include <bits/types.h>.
4985 (__bswap_64): Use __uint64_t instead of unsigned long long int.
4986
986cab95
PT
49872012-11-19 Pino Toscano <toscano.pino@tiscali.it>
4988
4989 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
4990 string_t. Do not manually set errno.
4991 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
4992 length with __strnlen. Make sure to both set errno and return it on
4993 failure.
4994
6d33cc9d
DM
49952012-11-19 David S. Miller <davem@davemloft.net>
4996
4997 With help from Joseph Myers.
4998 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
4999 very large arguments properly.
5000 * math/libm-test.inc (atan_test): New tests.
5001 (atan2_test): New tests.
5002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5003 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5004
ee663277
JM
50052012-11-19 Joseph Myers <joseph@codesourcery.com>
5006
877f2d8e
JM
5007 [BZ #14856]
5008 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5009 Define to 3.
5010
116fc08a
JM
5011 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5012 [POSIX] (EADDRNOTAVAIL): Likewise.
5013 [POSIX] (EAFNOSUPPORT): Likewise.
5014 [POSIX] (EALREADY): Likewise.
5015 [POSIX] (ECONNABORTED): Likewise.
5016 [POSIX] (ECONNREFUSED): Likewise.
5017 [POSIX] (ECONNRESET): Likewise.
5018 [POSIX] (EDESTADDRREQ): Likewise.
5019 [POSIX] (EDQUOT): Likewise.
5020 [POSIX] (EHOSTUNREACH): Likewise.
5021 [POSIX] (EIDRM): Likewise.
5022 [POSIX] (EISCONN): Likewise.
5023 [POSIX] (ELOOP): Likewise.
5024 [POSIX] (EMULTIHOP): Likewise.
5025 [POSIX] (ENETDOWN): Likewise.
5026 [POSIX] (ENETUNREACH): Likewise.
5027 [POSIX] (ENOBUFS): Likewise.
5028 [POSIX] (ENODATA): Likewise.
5029 [POSIX] (ENOLINK): Likewise.
5030 [POSIX] (ENOMSG): Likewise.
5031 [POSIX] (ENOPROTOOPT): Likewise.
5032 [POSIX] (ENOSR): Likewise.
5033 [POSIX] (ENOSTR): Likewise.
5034 [POSIX] (ENOTCONN): Likewise.
5035 [POSIX] (ENOTSOCK): Likewise.
5036 [POSIX] (EOPNOTSUPP): Likewise.
5037 [POSIX] (EOVERFLOW): Likewise.
5038 [POSIX] (EPROTO): Likewise.
5039 [POSIX] (EPROTONOSUPPORT): Likewise.
5040 [POSIX] (EPROTOTYPE): Likewise.
5041 [POSIX] (ESTALE): Likewise.
5042 [POSIX] (ETIME): Likewise.
5043 [POSIX] (ETXTBSY): Likewise.
5044 [POSIX] (EWOULDBLOCK): Likewise.
5045 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5046 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5047 [POSIX] (SEEK_CUR): Likewise.
5048 [POSIX] (SEEK_END): Likewise.
5049 [POSIX || UNIX98] (mode_t): Do not require.
5050 [POSIX] (off_t): Likewise.
5051 [POSIX] (pid_t): Likewise.
5052 [POSIX] (sys/stat.h): Do not allow header.
5053 [POSIX] (unistd.h): Likewise.
5054 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5055 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5056 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5057 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5058 require.
5059 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5060 sigevent): Specify elements.
5061 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5062 entry.
5063 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5064 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5065
a483863f
JM
5066 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5067 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5068 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5069 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5070 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5071 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5072 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5073 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5074 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5075 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5076 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5077 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5078 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5079 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5080 Likewise.
5081 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5082 Likewise.
5083 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5084 Likewise.
5085 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5086 Likewise.
5087 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5088 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5089 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5090 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5091 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5092 Specify lower bound on value.
5093 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5094 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5095 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5096 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5097 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5098 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5099 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5100 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5101 value.
5102 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5103 as optional.
5104 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5105 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5106 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5107 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5108 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5109 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5110 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5111 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5112 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5113 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5114 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5115 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5116 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5117 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5118 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5119 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5120 entry.
5121 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5122 optional.
5123 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5124 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5125 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5126 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5127 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5128 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5129 Likewise.
5130 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5131 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5132 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5133 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5134 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5135 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5136 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5137 as optional.
5138 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5139 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5140 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5141 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5142 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5143 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5144 specify as optional.
5145 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5146 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5147 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5148 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5149 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5150 [XPG3] (NL_LANGMAX): Likewise.
5151 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5152 [POSIX || XPG3] (NL_NMAX): Likewise.
5153 [POSIX || XPG3] (NL_SETMAX): Likewise.
5154 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5155 [XPG3] (NZERO): Likewise.
5156 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5157 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5158 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5159 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5160 (REG_ERANGE): Expect.
5161 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5162 optional-constant.
5163 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5164 Use (void) in prototype.
5165 [POSIX] (*_t): Allow.
5166 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5167 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5168 (WRDE_BADVAL): Expect.
5169
5ba924e3
JM
5170 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5171 expect.
5172 [XPG3 || XPG4] (O_RSYNC): Likewise.
5173 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5174 Likewise.
5175 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5176 [XPG3 || XPG4] (sigqueue): Likewise.
5177 [XPG3 || XPG4] (sigtimedwait): Likewise.
5178 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5179 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5180 [XPG3 || XPG4] (vsnprintf): Likewise.
5181 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5182 Likewise.
5183 [XPG3 || XPG4] (blksize_t): Likewise.
5184 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5185 Likewise.
5186 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5187 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5188 [XPG3 || XPG4] (struct itimerspec): Likewise.
5189 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5190 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5191 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5192 [XPG3 || XPG4] (clockid_t): Likewise.
5193 [XPG3 || XPG4] (timer_t): Likewise.
5194 [XPG3 || XPG4] (clock_getres): Likewise.
5195 [XPG3 || XPG4] (clock_gettime): Likewise.
5196 [XPG3 || XPG4] (clock_settime): Likewise.
5197 [XPG3 || XPG4] (nanosleep): Likewise.
5198 [XPG3 || XPG4] (timer_create): Likewise.
5199 [XPG3 || XPG4] (timer_delete): Likewise.
5200 [XPG3 || XPG4] (timer_gettime): Likewise.
5201 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5202 [XPG3 || XPG4] (timer_settime): Likewise.
5203 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5204 [XPG3 || XPG4] (getlogin_r): Likewise.
5205 [XPG3 || XPG4] (pread): Likewise.
5206 [XPG3 || XPG4] (pthread_atfork): Likewise.
5207 [XPG3 || XPG4] (pwrite): Likewise.
5208
ee663277
JM
5209 [BZ #14835]
5210 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5211 <bits/siginfo.h>.
5212
942caa16
PT
52132012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5214
e19af380
PT
5215 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5216 finalizing MALLSTREAM.
5217
942caa16
PT
5218 * sysdeps/mach/hurd/syncfs.c: New file.
5219
cfde9b46
SP
52202012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5221
5222 [BZ #14719]
5223 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5224 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5225 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5226 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5227 (_nss_dns_gethostbyname4_r): Likewise.
5228 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5229 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5230
f6da27e5
PH
52312012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5232
5233 [BZ #13763]
5234 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5235
6665d4a2
SM
52362012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5237
1f51ee92
SM
5238 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5239 * elf/cache.c (print_entry): Print ",AArch64" for
5240 FLAG_AARCH64_LIB64
5241
6665d4a2
SM
5242 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5243 * elf/cache.c (print_entry): Print ",hard-float" for
5244 FLAG_ARM_LIBHF.
5245
05b227bd
DM
52462012-11-18 David S. Miller <davem@davemloft.net>
5247
5248 With help from Joseph Myers.
5249 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5250 cutoff to 2**-13.
5251 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5252 cutoff to 2**-25.
5253 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5254 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5255 small.
5256 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5257 * math/libm-test.inc (y0_test): New tests.
5258 (y1_test): New tests.
5259 * sysdeps/i386/fpu/libm-test-ulps: Update.
5260 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5262
786b0b67
AS
52632012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5264
5265 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5266 64-bit targets.
5267 * configure: Regenerated.
5268
8e18b86d
DM
52692012-11-17 David S. Miller <davem@davemloft.net>
5270
5271 [BZ #14811]
5272 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5273 nonzero exponents with absolute value below 0x1p-128 to +/-
5274 0x1p-128.
5275
531f1ae0
JM
52762012-11-17 Joseph Myers <joseph@codesourcery.com>
5277
12df29e2
JM
5278 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5279
150dc1a0
JM
5280 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5281
531f1ae0
JM
5282 * posix/getconf-speclist.c: New file.
5283 * posix/posix-envs.def: Likewise.
5284 * posix/confstr.c (START_ENV_GROUP): New macro.
5285 (END_ENV_GROUP): Likewise.
5286 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5287 (KNOWN_PRESENT_ENV_STRING): Likewise.
5288 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5289 (UNKNOWN_ENVIRONMENT): Likewise.
5290 (confstr): Include posix-envs.def instead of handling
5291 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5292 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5293 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5294 (END_ENV_GROUP): Likewise.
5295 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5296 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5297 (UNKNOWN_ENVIRONMENT): Likewise.
5298 (__sysconf): Include posix-envs.def instead of handling associated
5299 cases directly here.
5300 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5301 preprocessing getconf-speclist.c rather than running getconf or
5302 generating empty file.
5303
a93f9cbc
PT
53042012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5305
5306 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5307
d64d9f87
AL
53082012-11-16 Andrej Lajovic <natrij@gmail.com>
5309
5310 [BZ #14672]
5311 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5312
447885eb
DM
53132012-11-16 David S. Miller <davem@davemloft.net>
5314
5315 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5316 smaller than LDBL_EPSILON/2.0L, just return xm1.
5317
bcbf9830
L
53182012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5319
5320 * elf/tst-array1.c (init): Set constructor priority to 1000.
5321 (fini): Set destructor priority to 1000.
5322 * elf/tst-array2dep.c: Likewise.
5323
2b766585
SP
53242012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5325
5326 [BZ #11741]
5327 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5328 (_IO_new_file_xsputn): Also return EOF if none of the input
5329 data was written when overflow failed.
5330 * libio/iopadn.c (_IO_padn): Likewise.
5331 * libio/iowpadn.c (_IO_wpadn): Likewise.
5332 * stdio-common/tst-put-error.c: Add copyright notice.
5333 (do_test): Add case for printing padded string.
5334 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5335 _IO_padn returned error.
5336 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5337 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5338 return EOF.
5339
b1848fde
SP
53402012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5341
5342 * libio/libioP.h: Add comment note that the references to C++
5343 bits are now obsolete.
5344
2fd89785
MS
53452012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5346
5347 * math/libm-test.inc (check_complex): Use asprintf.
5348
e3ea5409
JM
53492012-11-14 Joseph Myers <joseph@codesourcery.com>
5350
5351 * debug/pcprofiledump.c (print_version): Update copyright year.
5352 * malloc/memusagestat.c (print_version): Likewise.
5353
2e64d265
L
53542012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5355
5356 [BZ #14831]
5357 * elf/Makefile (tests): Add tst-audit8.
5358 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5359 ($(objpfx)tst-audit8.out): New target.
5360 (tst-audit8-ENV): New variable.
5361 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5362 audit if l_reloc_result is NULL.
5363 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5364 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5365 * elf/tst-audit8.c: New file.
5366
c485e4d2
MS
53672012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5368
5369 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5370 * misc/Makefile (CFLAGS-select.c): Define.
5371 * posix/Makefile (CFLAGS-pause.c): Define.
5372
3a0d900a
DM
53732012-11-13 David S. Miller <davem@davemloft.net>
5374
5375 * crypt/Makefile: Move test targets after toplevel Rules
5376 inclusion. Grab any necessary sysdep routines when linking.
5377 * crypt/md5.c (md5_process_block): Remove define, we will always
5378 name it __md5_process_block.
5379 (md5_finish_ctx): Update md5_process_block call.
5380 (md5_stream): Likewise.
5381 (md5_process_bytes): Likewise.
5382 (md5_process_block): Rename to __md5_process_block and move to ...
5383 * crypt/md5-block.c: ... here.
5384 * crypt/sha256.c (sha256_process_block): Move to ...
5385 * crypt/sha256-block.c: ... here.
5386 * crypt/sha512.c (sha512_process_block): Move to ...
5387 * crypt/sha512-block.c: ... here.
5388 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5389 path.
5390 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5391 * sysdeps/sparc/sparc64/multiarch/Makefile
5392 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5393 crypt subdir.
5394 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5395 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5396 multiarch changes.
5397 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5398 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5399 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5400 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5401 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5402 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5403 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5404 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5405 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5406 file.
5407 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5408 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5409 file.
5410 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5411
8ca89318
JM
54122012-11-13 Joseph Myers <joseph@codesourcery.com>
5413
e27d476a
JM
5414 * timezone/tzselect.ksh: Update from tzcode git revision
5415 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5416 * timezone/zdump.c: Likewise.
5417 * timezone/zic.c: Likewise.
5418 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5419 in TZVERSION setting, not $(PKGVERSION).
5420 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5421 REPORT_BUGS_TO settings.
5422
8ca89318
JM
5423 [BZ #14838]
5424 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5425 macro.
5426
47594329
MS
54272012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5428
5429 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5430 detection to immediately after _FP_ROUND().
5431 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5432 bits are 0.
5433
640ac3f1
DM
54342012-11-11 David S. Miller <davem@davemloft.net>
5435
5436 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5437 inttypes.h
5438 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5439 __close rather than their public counterparts.
5440
3d2577bb
JM
54412012-11-10 Joseph Myers <joseph@codesourcery.com>
5442
5443 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5444 file.
5445 [UNIX98] (sem_timedwait): Do not expect.
5446 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5447 [XPG4 || UNIX98] (sockatmark): Do not expect.
5448 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5449 (clock_getcpuclockid): Do not expect.
5450 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5451 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5452 Do not expect.
5453 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5454 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5455 [UNIX98] (vwscanf): Likewise.
5456 [UNIX98] (vswscanf): Likewise.
5457
fb1ae1ee
JM
54582012-11-09 Joseph Myers <joseph@codesourcery.com>
5459
9ec6f8bd
JM
5460 * timezone/version.h: Remove file.
5461 * timezone/README: Do not refer to version.h.
5462 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5463 $(objpfx)version.h.
5464 ($(objpfx)zdump.o): Likewise.
c3f81911 5465 ($(objpfx)version.h): New target.
9ec6f8bd 5466
0aa8f8a1
JM
5467 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5468 2012i.
5469 * timezone/README: Don't mention modification to tzselect.ksh.
5470 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5471 work on unmodified tzselect.ksh. Substitute version numbers in
5472 tzselect.ksh.
5473
4e87147f
JM
5474 * Makefile (format-me): Remove.
5475 (INSTALL): Adjust indentation. Use commands directly instead of
5476 using $(format-me).
5477
8b748aed
JM
5478 * aclocal.m4 (ACX_PKGVERSION): New macro.
5479 (ACX_BUGURL): Likewise.
5480 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5481 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5482 (REPORT_BUGS_TO): Likewise.
5483 * configure: Regenerated.
5484 * config.h.in (PKGVERSION): New macro.
5485 (REPORT_BUGS_TO): Likewise.
5486 * config.make.in (PKGVERSION): New variable.
5487 (PKGVERSION_TEXI): Likewise.
5488 (REPORT_BUGS_TO): Likewise.
5489 (REPORT_BUGS_TEXI): Likewise.
5490 * Makefile (format-me): Use -I$(common-objpfx)manual.
5491 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5492 ($(common-objpfx)manual/%): New target.
5493 (manual/%): Remove target.
5494 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5495 (print_version): Use PKGVERSION.
5496 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5497 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5498 and REPORT_BUGS_TO.
5499 ($(objpfx)xtrace): Likewise.
5500 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5501 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5502 (print_version): Use PKGVERSION.
5503 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5504 (do_version): Use PKGVERSION.
5505 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5506 REPORT_BUGS_TO.
5507 (common-ldd-rewrite): Likewise.
5508 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5509 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5510 (print_version): Use PKGVERSION.
5511 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5512 * elf/pldd.c (argp_program_bug_address): Remove variable.
5513 (more_help): New function.
5514 (argp): Use more_help.
5515 (print_version): Use PKGVERSION.
5516 * elf/sln.c (main): Use PKGVERSION.
5517 (usage): Use REPORT_BUGS_TO.
5518 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5519 (top level): Use PKGVERSION.
5520 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5521 (print_version): Use PKGVERSION.
5522 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5523 (print_version): Use PKGVERSION.
5524 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5525 (print_version): Use PKGVERSION.
5526 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5527 (print_version): Use PKGVERSION.
5528 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5529 (print_version): Use PKGVERSION.
5530 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5531 (print_version): Use PKGVERSION.
5532 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5533 and BUGURL.
5534 ($(objpfx)memusage): Likewise.
5535 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5536 (do_version): Use PKGVERSION.
5537 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5538 (print_version): Use PKGVERSION.
5539 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5540 ($PKGVERSION): New variable.
5541 ($REPORT_BUGS_TO): Likewise.
5542 (usage): Use $REPORT_BUGS_TO.
5543 (top level): Use $PKGVERSION.
5544 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5545 ($(objpfx)pkgvers.texi): New rule.
5546 ($(objpfx)stamp-pkgvers): Likewise.
5547 * manual/install.texi: Include pkgvers.texi.
5548 (--with-pkgversion): Document new configure option.
5549 (--with-bugurl): Likewise.
5550 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5551 than necessarily for this particular distribution. Use
5552 REPORT_BUGS_TO for where to report bugs.
5553 * INSTALL: Regenerated.
5554 * manual/libc.texinfo: Include pkgvers.texi.
5555 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5556 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5557 (print_version): Use PKGVERSION.
5558 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5559 (print_version): Use PKGVERSION.
5560 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5561 (print_version): Use PKGVERSION.
5562 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5563 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5564 macro.
5565 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5566 (print_version): Use PKGVERSION.
5567 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5568 (print_version): Use PKGVERSION.
5569 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5570 and PKGVERSION.
5571
92e4b6a9
JM
5572 * timezone/checktab.awk: Update from tzcode 2012i.
5573 * timezone/ialloc.c: Likewise.
5574 * timezone/private.h: Likewise.
5575 * timezone/scheck.c: Likewise.
5576 * timezone/tzfile.h: Likewise.
5577 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5578 (TZVERSION): Hardcode tzcode version number.
5579 * timezone/zdump.c: Update from tzcode 2012i.
5580 * timezone/zic.c: Likewise.
5581 * timezone/version.h: New file.
5582 * timezone/README: Describe version.h. Update upstream location.
5583
9bde902c
JM
5584 [BZ #14824]
5585 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5586 (mktemp): Enable declaration.
5587 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5588 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5589 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5590 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5591 Likewise.
5592 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5593 Likewise.
5594 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5595 Likewise.
5596 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5597 Likewise.
5598 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5599 Likewise.
5600 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5601 Likewise.
5602
fb1ae1ee
JM
5603 [BZ #14821]
5604 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5605 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5606 for copies of such integer values.
5607 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5608 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5609
2c1adbcb
AJ
56102012-11-09 Andreas Jaeger <aj@suse.de>
5611
5612 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5613 definitions and declarations that are provided by
5614 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5615
d0f8457e
AK
56162012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5617
3a235abb 5618 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
5619 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5620 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5621 definition.
5622
57241e26
MS
56232012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5624
5625 * elf/elf.h: Update comment before AArch64 relocations.
5626
60e8270d
DM
56272012-11-07 David S. Miller <davem@davemloft.net>
5628
5629 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5630 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5631 (__start_context): Declare.
5632 (__makecontext_ret): Delete.
5633 (__makecontext): Hook up __start_context instead of
5634 __makecontext_ret.
5635 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5636 (sysdep_routines): Add __start_context when in stdlib.
5637
0fbb0fbc
JM
56382012-11-07 Joseph Myers <joseph@codesourcery.com>
5639
5640 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5641 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5642 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5643 hardcoded "nm".
5644 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5645 (READELF): New variable. Use it instead of hardcoded "readelf".
5646
eb48db7e
L
56472012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5648
5649 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5650 * sysdeps/x86/Makefile: Here.
5651 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5652 * sysdeps/x86/tst-xmmymm.sh: This.
5653
05bcf62a
JM
56542012-11-07 Joseph Myers <joseph@codesourcery.com>
5655
c4b6cf53
JM
5656 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5657 expectations.
5658 [UNIX98] (pthread_barrier_t): Do not expect.
5659 [UNIX98] (pthread_barrierattr_t): Likewise.
5660 [UNIX98] (pthread_spinlock_t): Likewise.
5661 [UNIX98] (pthread_barrier_destroy): Likewise.
5662 [UNIX98] (pthread_barrier_init): Likewise.
5663 [UNIX98] (pthread_barrier_wait): Likewise.
5664 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5665 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5666 [UNIX98] (pthread_barrierattr_init): Likewise.
5667 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5668 [UNIX98] (pthread_getcpuclockid): Likewise.
5669 [UNIX98] (pthread_mutex_timedlock): Likewise.
5670 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5671 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5672 [UNIX98] (pthread_sigmask): Likewise.
5673 [UNIX98] (pthread_spin_destroy): Likewise.
5674 [UNIX98] (pthread_spin_init): Likewise.
5675 [UNIX98] (pthread_spin_lock): Likewise.
5676 [UNIX98] (pthread_spin_trylock): Likewise.
5677 [UNIX98] (pthread_spin_unlock): Likewise.
5678 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5679 Do not expect.
5680 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5681 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5682 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5683 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5684 [XPG3 || XPG4] (pthread_key_t): Likewise.
5685 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5686 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5687 [XPG3 || XPG4] (pthread_once_t): Likewise.
5688 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5689 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5690 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5691 [XPG3 || XPG4] (pthread_t): Likewise.
5692
cbe6e120
JM
5693 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5694 not expect.
5695 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5696
1b126443
JM
5697 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5698 Change function return type to int.
5699
b961a573
JM
5700 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5701 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5702 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5703 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5704 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5705 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5706 [!POSIX] (posix_madvise): Likewise.
5707 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5708 && !UNIX98].
5709 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5710 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5711 (mode_t): Likewise.
5712 (posix_mem_offset): Likewise.
5713 (posix_typed_mem_get_info): Likewise.
5714 (posix_typed_mem_open): Likewise.
5715
9e188909
JM
5716 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5717 Change condition to [XOPEN2K8].
5718
05bcf62a
JM
5719 * conform/conformtest.pl: Preprocess allow-header data with -x c
5720 instead of from stdin.
5721 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5722 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5723 [C99-based standards] (cerfc): Likewise.
5724 [C99-based standards] (cexp2): Likewise.
5725 [C99-based standards] (cexpm1): Likewise.
5726 [C99-based standards] (clog10): Likewise.
5727 [C99-based standards] (clog1p): Likewise.
5728 [C99-based standards] (clog2): Likewise.
5729 [C99-based standards] (clgamma): Likewise.
5730 [C99-based standards] (ctgamma): Likewise.
5731 [C99-based standards] (cerff): Likewise.
5732 [C99-based standards] (cerfcf): Likewise.
5733 [C99-based standards] (cexp2f): Likewise.
5734 [C99-based standards] (cexpm1f): Likewise.
5735 [C99-based standards] (clog10f): Likewise.
5736 [C99-based standards] (clog1pf): Likewise.
5737 [C99-based standards] (clog2f): Likewise.
5738 [C99-based standards] (clgammaf): Likewise.
5739 [C99-based standards] (ctgammaf): Likewise.
5740 [C99-based standards] (cerfl): Likewise.
5741 [C99-based standards] (cerfcl): Likewise.
5742 [C99-based standards] (cexp2l): Likewise.
5743 [C99-based standards] (cexpm1l): Likewise.
5744 [C99-based standards] (clog10l): Likewise.
5745 [C99-based standards] (clog1pl): Likewise.
5746 [C99-based standards] (clog2l): Likewise.
5747 [C99-based standards] (clgammal): Likewise.
5748 [C99-based standards] (ctgammal): Likewise.
5749 * conform/data/inttypes.h-data [C99-based standards]: Include
5750 stdint.h-data. Remove all expectations for stdint.h contents.
5751 [C99-based standards] (PRI*): Do not allow.
5752 [C99-based standards] (SCN*): Likewise.
5753 [C99-based standards] (*_t): Likewise.
5754 [C99-based-standards] (PRId8): Expect macro.
5755 [C99-based-standards] (PRIi8): Likewise.
5756 [C99-based-standards] (PRIo8): Likewise.
5757 [C99-based-standards] (PRIu8): Likewise.
5758 [C99-based-standards] (PRIx8): Likewise.
5759 [C99-based-standards] (PRIX8): Likewise.
5760 [C99-based-standards] (SCNd8): Likewise.
5761 [C99-based-standards] (SCNi8): Likewise.
5762 [C99-based-standards] (SCNo8): Likewise.
5763 [C99-based-standards] (SCNu8): Likewise.
5764 [C99-based-standards] (SCNx8): Likewise.
5765 [C99-based-standards] (PRIdLEAST8): Likewise.
5766 [C99-based-standards] (PRIiLEAST8): Likewise.
5767 [C99-based-standards] (PRIoLEAST8): Likewise.
5768 [C99-based-standards] (PRIuLEAST8): Likewise.
5769 [C99-based-standards] (PRIxLEAST8): Likewise.
5770 [C99-based-standards] (PRIXLEAST8): Likewise.
5771 [C99-based-standards] (SCNdLEAST8): Likewise.
5772 [C99-based-standards] (SCNiLEAST8): Likewise.
5773 [C99-based-standards] (SCNoLEAST8): Likewise.
5774 [C99-based-standards] (SCNuLEAST8): Likewise.
5775 [C99-based-standards] (SCNxLEAST8): Likewise.
5776 [C99-based-standards] (PRIdFAST8): Likewise.
5777 [C99-based-standards] (PRIiFAST8): Likewise.
5778 [C99-based-standards] (PRIoFAST8): Likewise.
5779 [C99-based-standards] (PRIuFAST8): Likewise.
5780 [C99-based-standards] (PRIxFAST8): Likewise.
5781 [C99-based-standards] (PRIXFAST8): Likewise.
5782 [C99-based-standards] (SCNdFAST8): Likewise.
5783 [C99-based-standards] (SCNiFAST8): Likewise.
5784 [C99-based-standards] (SCNoFAST8): Likewise.
5785 [C99-based-standards] (SCNuFAST8): Likewise.
5786 [C99-based-standards] (SCNxFAST8): Likewise.
5787 [C99-based-standards] (PRId16): Likewise.
5788 [C99-based-standards] (PRIi16): Likewise.
5789 [C99-based-standards] (PRIo16): Likewise.
5790 [C99-based-standards] (PRIu16): Likewise.
5791 [C99-based-standards] (PRIx16): Likewise.
5792 [C99-based-standards] (PRIX16): Likewise.
5793 [C99-based-standards] (SCNd16): Likewise.
5794 [C99-based-standards] (SCNi16): Likewise.
5795 [C99-based-standards] (SCNo16): Likewise.
5796 [C99-based-standards] (SCNu16): Likewise.
5797 [C99-based-standards] (SCNx16): Likewise.
5798 [C99-based-standards] (PRIdLEAST16): Likewise.
5799 [C99-based-standards] (PRIiLEAST16): Likewise.
5800 [C99-based-standards] (PRIoLEAST16): Likewise.
5801 [C99-based-standards] (PRIuLEAST16): Likewise.
5802 [C99-based-standards] (PRIxLEAST16): Likewise.
5803 [C99-based-standards] (PRIXLEAST16): Likewise.
5804 [C99-based-standards] (SCNdLEAST16): Likewise.
5805 [C99-based-standards] (SCNiLEAST16): Likewise.
5806 [C99-based-standards] (SCNoLEAST16): Likewise.
5807 [C99-based-standards] (SCNuLEAST16): Likewise.
5808 [C99-based-standards] (SCNxLEAST16): Likewise.
5809 [C99-based-standards] (PRIdFAST16): Likewise.
5810 [C99-based-standards] (PRIiFAST16): Likewise.
5811 [C99-based-standards] (PRIoFAST16): Likewise.
5812 [C99-based-standards] (PRIuFAST16): Likewise.
5813 [C99-based-standards] (PRIxFAST16): Likewise.
5814 [C99-based-standards] (PRIXFAST16): Likewise.
5815 [C99-based-standards] (SCNdFAST16): Likewise.
5816 [C99-based-standards] (SCNiFAST16): Likewise.
5817 [C99-based-standards] (SCNoFAST16): Likewise.
5818 [C99-based-standards] (SCNuFAST16): Likewise.
5819 [C99-based-standards] (SCNxFAST16): Likewise.
5820 [C99-based-standards] (PRId32): Likewise.
5821 [C99-based-standards] (PRIi32): Likewise.
5822 [C99-based-standards] (PRIo32): Likewise.
5823 [C99-based-standards] (PRIu32): Likewise.
5824 [C99-based-standards] (PRIx32): Likewise.
5825 [C99-based-standards] (PRIX32): Likewise.
5826 [C99-based-standards] (SCNd32): Likewise.
5827 [C99-based-standards] (SCNi32): Likewise.
5828 [C99-based-standards] (SCNo32): Likewise.
5829 [C99-based-standards] (SCNu32): Likewise.
5830 [C99-based-standards] (SCNx32): Likewise.
5831 [C99-based-standards] (PRIdLEAST32): Likewise.
5832 [C99-based-standards] (PRIiLEAST32): Likewise.
5833 [C99-based-standards] (PRIoLEAST32): Likewise.
5834 [C99-based-standards] (PRIuLEAST32): Likewise.
5835 [C99-based-standards] (PRIxLEAST32): Likewise.
5836 [C99-based-standards] (PRIXLEAST32): Likewise.
5837 [C99-based-standards] (SCNdLEAST32): Likewise.
5838 [C99-based-standards] (SCNiLEAST32): Likewise.
5839 [C99-based-standards] (SCNoLEAST32): Likewise.
5840 [C99-based-standards] (SCNuLEAST32): Likewise.
5841 [C99-based-standards] (SCNxLEAST32): Likewise.
5842 [C99-based-standards] (PRIdFAST32): Likewise.
5843 [C99-based-standards] (PRIiFAST32): Likewise.
5844 [C99-based-standards] (PRIoFAST32): Likewise.
5845 [C99-based-standards] (PRIuFAST32): Likewise.
5846 [C99-based-standards] (PRIxFAST32): Likewise.
5847 [C99-based-standards] (PRIXFAST32): Likewise.
5848 [C99-based-standards] (SCNdFAST32): Likewise.
5849 [C99-based-standards] (SCNiFAST32): Likewise.
5850 [C99-based-standards] (SCNoFAST32): Likewise.
5851 [C99-based-standards] (SCNuFAST32): Likewise.
5852 [C99-based-standards] (SCNxFAST32): Likewise.
5853 [C99-based-standards] (PRId64): Likewise.
5854 [C99-based-standards] (PRIi64): Likewise.
5855 [C99-based-standards] (PRIo64): Likewise.
5856 [C99-based-standards] (PRIu64): Likewise.
5857 [C99-based-standards] (PRIx64): Likewise.
5858 [C99-based-standards] (PRIX64): Likewise.
5859 [C99-based-standards] (SCNd64): Likewise.
5860 [C99-based-standards] (SCNi64): Likewise.
5861 [C99-based-standards] (SCNo64): Likewise.
5862 [C99-based-standards] (SCNu64): Likewise.
5863 [C99-based-standards] (SCNx64): Likewise.
5864 [C99-based-standards] (PRIdLEAST64): Likewise.
5865 [C99-based-standards] (PRIiLEAST64): Likewise.
5866 [C99-based-standards] (PRIoLEAST64): Likewise.
5867 [C99-based-standards] (PRIuLEAST64): Likewise.
5868 [C99-based-standards] (PRIxLEAST64): Likewise.
5869 [C99-based-standards] (PRIXLEAST64): Likewise.
5870 [C99-based-standards] (SCNdLEAST64): Likewise.
5871 [C99-based-standards] (SCNiLEAST64): Likewise.
5872 [C99-based-standards] (SCNoLEAST64): Likewise.
5873 [C99-based-standards] (SCNuLEAST64): Likewise.
5874 [C99-based-standards] (SCNxLEAST64): Likewise.
5875 [C99-based-standards] (PRIdFAST64): Likewise.
5876 [C99-based-standards] (PRIiFAST64): Likewise.
5877 [C99-based-standards] (PRIoFAST64): Likewise.
5878 [C99-based-standards] (PRIuFAST64): Likewise.
5879 [C99-based-standards] (PRIxFAST64): Likewise.
5880 [C99-based-standards] (PRIXFAST64): Likewise.
5881 [C99-based-standards] (SCNdFAST64): Likewise.
5882 [C99-based-standards] (SCNiFAST64): Likewise.
5883 [C99-based-standards] (SCNoFAST64): Likewise.
5884 [C99-based-standards] (SCNuFAST64): Likewise.
5885 [C99-based-standards] (SCNxFAST64): Likewise.
5886 [C99-based-standards] (PRIdMAX): Likewise.
5887 [C99-based-standards] (PRIiMAX): Likewise.
5888 [C99-based-standards] (PRIoMAX): Likewise.
5889 [C99-based-standards] (PRIuMAX): Likewise.
5890 [C99-based-standards] (PRIxMAX): Likewise.
5891 [C99-based-standards] (PRIXMAX): Likewise.
5892 [C99-based-standards] (SCNdMAX): Likewise.
5893 [C99-based-standards] (SCNiMAX): Likewise.
5894 [C99-based-standards] (SCNoMAX): Likewise.
5895 [C99-based-standards] (SCNuMAX): Likewise.
5896 [C99-based-standards] (SCNxMAX): Likewise.
5897 [C99-based-standards] (PRIdPTR): Likewise.
5898 [C99-based-standards] (PRIiPTR): Likewise.
5899 [C99-based-standards] (PRIoPTR): Likewise.
5900 [C99-based-standards] (PRIuPTR): Likewise.
5901 [C99-based-standards] (PRIxPTR): Likewise.
5902 [C99-based-standards] (PRIXPTR): Likewise.
5903 [C99-based-standards] (SCNdPTR): Likewise.
5904 [C99-based-standards] (SCNiPTR): Likewise.
5905 [C99-based-standards] (SCNoPTR): Likewise.
5906 [C99-based-standards] (SCNuPTR): Likewise.
5907 [C99-based-standards] (SCNxPTR): Likewise.
5908 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5909 allow.
5910 * conform/data/stdint.h-data: Update comments to clarify
5911 requirements.
5912 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
5913 type.
5914 [C99-based standards] (INT8_MAX): Likewise.
5915 [C99-based standards] (INT16_MIN): Likewise.
5916 [C99-based standards] (INT16_MAX): Likewise.
5917 [C99-based standards] (INT32_MIN): Likewise.
5918 [C99-based standards] (INT32_MAX): Likewise.
5919 [C99-based standards] (INT64_MIN): Likewise.
5920 [C99-based standards] (INT64_MAX): Likewise.
5921 [C99-based standards] (UINT8_MAX): Likewise.
5922 [C99-based standards] (UINT16_MAX): Likewise.
5923 [C99-based standards] (UINT32_MAX): Likewise.
5924 [C99-based standards] (UINT64_MAX): Likewise.
5925 [C99-based standards] (INT_LEAST8_MIN): Likewise.
5926 [C99-based standards] (INT_LEAST8_MAX): Likewise.
5927 [C99-based standards] (INT_LEAST16_MIN): Likewise.
5928 [C99-based standards] (INT_LEAST16_MAX): Likewise.
5929 [C99-based standards] (INT_LEAST32_MIN): Likewise.
5930 [C99-based standards] (INT_LEAST32_MAX): Likewise.
5931 [C99-based standards] (INT_LEAST64_MIN): Likewise.
5932 [C99-based standards] (INT_LEAST64_MAX): Likewise.
5933 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
5934 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
5935 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
5936 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
5937 [C99-based standards] (INT_FAST8_MIN): Likewise.
5938 [C99-based standards] (INT_FAST8_MAX): Likewise.
5939 [C99-based standards] (INT_FAST16_MIN): Likewise.
5940 [C99-based standards] (INT_FAST16_MAX): Likewise.
5941 [C99-based standards] (INT_FAST32_MIN): Likewise.
5942 [C99-based standards] (INT_FAST32_MAX): Likewise.
5943 [C99-based standards] (INT_FAST64_MIN): Likewise.
5944 [C99-based standards] (INT_FAST64_MAX): Likewise.
5945 [C99-based standards] (UINT_FAST8_MAX): Likewise.
5946 [C99-based standards] (UINT_FAST16_MAX): Likewise.
5947 [C99-based standards] (UINT_FAST32_MAX): Likewise.
5948 [C99-based standards] (UINT_FAST64_MAX): Likewise.
5949 [C99-based standards] (INTPTR_MIN): Likewise.
5950 [C99-based standards] (INTPTR_MAX): Likewise.
5951 [C99-based standards] (UINTPTR_MAX): Likewise.
5952 [C99-based standards] (INTMAX_MIN): Likewise.
5953 [C99-based standards] (INTMAX_MAX): Likewise.
5954 [C99-based standards] (UINTMAX_MAX): Likewise.
5955 [C99-based standards] (PTRDIFF_MIN): Likewise.
5956 [C99-based standards] (PTRDIFF_MAX): Likewise.
5957 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
5958 [C99-based standards] (SIZE_MAX): Likewise.
5959 [C99-based standards] (WCHAR_MAX): Likewise.
5960 [C99-based standards] (WINT_MAX): Likewise.
5961 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
5962 constraint on value.
5963 [C99-based standards] (WCHAR_MIN): Likewise.
5964 [C99-based standards] (WINT_MIN): Likewise.
5965 [C99-based standards] (*_t): Allow.
5966 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
5967 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
5968 Include math.h-data and complex.h-data. Remove all expectations
5969 of math.h and complex.h contents.
5970 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
5971 at end of line.
5972 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
5973 (struct tm): Expect tag.
5974 [C99-based-standards] (wcstof): Expect function.
5975 [C99-based-standards] (wcstold): Likewise.
5976 [C99-based-standards] (wcstoll): Likewise.
5977 [C99-based-standards] (wcstoull): Likewise.
5978 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
5979 macro-int-constant. Specify type.
5980 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
5981 constraint on value.
5982 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5983 Specify type.
5984 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
5985 Specify value.
5986 [ISO C standards]: Do not allow headers.
5987 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
5988 wcs[abcdefghijklmnopqrstuvwxyz]*.
5989 [ISO C standards] (*_t): Do not allow.
5990 * conform/data/wctype.h-data [C99-based standards] (iswblank):
5991 Expect function.
5992 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
5993 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
5994 Specify type.
5995 [ISO C standards]: Do not allow headers.
5996 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
5997 is[abcdefghijklmnopqrstuvwxyz]*.
5998 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
5999 to[abcdefghijklmnopqrstuvwxyz]*.
6000 [ISO C standards] (*_t): Do not allow.
6001 * conform/data/stdalign.h-data: New file.
6002 * conform/data/stdbool.h-data: Likewise.
6003 * conform/data/stdnoreturn.h-data: Likewise.
6004
7514feb8
RM
60052012-11-07 Roland McGrath <roland@hack.frob.com>
6006
6007 [BZ #14815]
6008 * manual/filesys.texi (Directory Entries): Typo fix.
6009 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6010
19b2ecfc
MS
60112012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6012
6013 * elf/elf.h (EM_AARCH64): New macro.
6014 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6015 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6016 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6017 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6018 (R_AARCH64_TLSDESC): Likewise.
6019 (NT_ARM_TLS): Likewise.
6020 (NT_ARM_HW_BREAK): Likewise.
6021 (NT_ARM_HW_WATCH): Likewise.
6022
60e235ee
JM
60232012-11-07 Joseph Myers <joseph@codesourcery.com>
6024
6025 [BZ #14811]
6026 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6027 (__ieee754_powl): Saturate nonzero exponents with absolute value
6028 below 0x1p-79 to +/- 0x1p-79.
6029 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6030 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6031 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6032 nonzero exponents with absolute value below 0x1p-32 to +/-
6033 0x1p-32.
6034 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6035 (__ieee754_powl): Saturate nonzero exponents with absolute value
6036 below 0x1p-79 to +/- 0x1p-79.
6037 * math/libm-test.inc (pow_test): Add more tests.
6038
0ab234b7
AK
60392012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6040
6041 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6042 _dl_s390_cap_flags with kernel. Increase string length.
6043 (_dl_s390_platforms): Add z196 and zEC12.
6044
45832f74
JM
60452012-11-07 Joseph Myers <joseph@codesourcery.com>
6046
6047 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6048 Change XOPEN21K to XOPEN2K.
6049
19218757
MK
60502012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6051
6052 * string/memmove.c: Use memcpy when possible.
6053
c5f45721
AJ
60542012-11-06 Andreas Jaeger <aj@suse.de>
6055
6056 * po/eo.po: Update from translation team.
6057
82477c28
JM
60582012-11-06 Joseph Myers <joseph@codesourcery.com>
6059
6060 [BZ #14793]
6061 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6062 exponent and small x and y exponents, scale x or y up. Increase
6063 by 2 the exponent used in scaling up.
6064 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6065 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6066 * math/libm-test.inc (fma_test): Add more tests.
6067 (fma_test_towardzero): Likewise.
6068 (fma_test_downward): Likewise.
6069 (fma_test_upward): Likewise.
6070
99252c8c
JM
60712012-11-05 Joseph Myers <joseph@codesourcery.com>
6072
acfa885f
JM
6073 [BZ #14805]
6074 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6075 fenv_t *.
6076
99252c8c
JM
6077 [BZ #14801]
6078 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6079 namespace for names of struct fields.
6080 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6081 fenv_t fields.
6082 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6083 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6084
d6d98dea
ST
60852012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6086
6087 [BZ #3665]
6088 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6089
e10bb107
TS
60902012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6091
6092 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6093 PTR_DEMANGLE.
6094
6095 [BZ #5246]
6096 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6097 PTR_DEMANGLE.
6098
a0c2940d
JM
60992012-11-04 Joseph Myers <joseph@codesourcery.com>
6100
6101 [BZ #14797]
6102 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6103 definitely overflow as x * y not x * y + z.
6104 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6105 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6106 * math/libm-test.inc (fma_test): Add more tests.
6107 (fma_test_towardzero): Likewise.
6108 (fma_test_downward): Likewise.
6109 (fma_test_upward): Likewise.
6110
b830319d
TS
61112012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6112
6113 [BZ #157]
6114
6115 * include/stub-tag.h: Remove file.
6116 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6117 '#include' of it.
6118 * manual/maint.texi (Porting): Don't reference it.
6119 * Makerules ($(objpfx)stubs): Likewise.
6120 * dirent/closedir.c: Don't include <stub-tag.h>.
6121 * dirent/dirfd.c: Likewise.
6122 * dirent/fdopendir.c: Likewise.
6123 * dirent/getdents.c: Likewise.
6124 * dirent/getdents64.c: Likewise.
6125 * dirent/opendir.c: Likewise.
6126 * dirent/readdir.c: Likewise.
6127 * dirent/readdir64.c: Likewise.
6128 * dirent/readdir64_r.c: Likewise.
6129 * dirent/readdir_r.c: Likewise.
6130 * dirent/rewinddir.c: Likewise.
6131 * dirent/seekdir.c: Likewise.
6132 * dirent/telldir.c: Likewise.
6133 * gmon/profil.c: Likewise.
6134 * grp/setgroups.c: Likewise.
6135 * inet/if_index.c: Likewise.
6136 * io/access.c: Likewise.
6137 * io/chdir.c: Likewise.
6138 * io/chmod.c: Likewise.
6139 * io/chown.c: Likewise.
6140 * io/close.c: Likewise.
6141 * io/dup.c: Likewise.
6142 * io/dup2.c: Likewise.
6143 * io/dup3.c: Likewise.
6144 * io/euidaccess.c: Likewise.
6145 * io/faccessat.c: Likewise.
6146 * io/fchdir.c: Likewise.
6147 * io/fchmod.c: Likewise.
6148 * io/fchmodat.c: Likewise.
6149 * io/fchown.c: Likewise.
6150 * io/fchownat.c: Likewise.
6151 * io/fcntl.c: Likewise.
6152 * io/flock.c: Likewise.
6153 * io/fstatfs.c: Likewise.
6154 * io/fstatfs64.c: Likewise.
6155 * io/fstatvfs.c: Likewise.
6156 * io/fstatvfs64.c: Likewise.
6157 * io/futimens.c: Likewise.
6158 * io/fxstat.c: Likewise.
6159 * io/fxstat64.c: Likewise.
6160 * io/fxstatat.c: Likewise.
6161 * io/fxstatat64.c: Likewise.
6162 * io/getcwd.c: Likewise.
6163 * io/isatty.c: Likewise.
6164 * io/lchmod.c: Likewise.
6165 * io/lchown.c: Likewise.
6166 * io/link.c: Likewise.
6167 * io/linkat.c: Likewise.
6168 * io/lseek.c: Likewise.
6169 * io/lseek64.c: Likewise.
6170 * io/lxstat64.c: Likewise.
6171 * io/mkdir.c: Likewise.
6172 * io/mkdirat.c: Likewise.
6173 * io/mkfifo.c: Likewise.
6174 * io/mkfifoat.c: Likewise.
6175 * io/open.c: Likewise.
6176 * io/open64.c: Likewise.
6177 * io/openat.c: Likewise.
6178 * io/openat64.c: Likewise.
6179 * io/pipe.c: Likewise.
6180 * io/pipe2.c: Likewise.
6181 * io/poll.c: Likewise.
6182 * io/posix_fadvise.c: Likewise.
6183 * io/posix_fadvise64.c: Likewise.
6184 * io/posix_fallocate.c: Likewise.
6185 * io/posix_fallocate64.c: Likewise.
6186 * io/read.c: Likewise.
6187 * io/readlink.c: Likewise.
6188 * io/readlinkat.c: Likewise.
6189 * io/rmdir.c: Likewise.
6190 * io/sendfile.c: Likewise.
6191 * io/sendfile64.c: Likewise.
6192 * io/statfs.c: Likewise.
6193 * io/statfs64.c: Likewise.
6194 * io/statvfs.c: Likewise.
6195 * io/statvfs64.c: Likewise.
6196 * io/symlink.c: Likewise.
6197 * io/symlinkat.c: Likewise.
6198 * io/ttyname.c: Likewise.
6199 * io/ttyname_r.c: Likewise.
6200 * io/umask.c: Likewise.
6201 * io/unlink.c: Likewise.
6202 * io/unlinkat.c: Likewise.
6203 * io/utime.c: Likewise.
6204 * io/utimensat.c: Likewise.
6205 * io/write.c: Likewise.
6206 * io/xmknod.c: Likewise.
6207 * io/xmknodat.c: Likewise.
6208 * io/xstat.c: Likewise.
6209 * io/xstat64.c: Likewise.
6210 * login/getpt.c: Likewise.
6211 * login/grantpt.c: Likewise.
6212 * login/unlockpt.c: Likewise.
6213 * math/e_acoshl.c: Likewise.
6214 * math/e_acosl.c: Likewise.
6215 * math/e_asinl.c: Likewise.
6216 * math/e_atan2l.c: Likewise.
6217 * math/e_atanhl.c: Likewise.
6218 * math/e_coshl.c: Likewise.
6219 * math/e_expl.c: Likewise.
6220 * math/e_fmodl.c: Likewise.
6221 * math/e_gammal_r.c: Likewise.
6222 * math/e_hypotl.c: Likewise.
6223 * math/e_j0l.c: Likewise.
6224 * math/e_j1l.c: Likewise.
6225 * math/e_jnl.c: Likewise.
6226 * math/e_lgammal_r.c: Likewise.
6227 * math/e_log10l.c: Likewise.
6228 * math/e_log2l.c: Likewise.
6229 * math/e_logl.c: Likewise.
6230 * math/e_powl.c: Likewise.
6231 * math/e_rem_pio2l.c: Likewise.
6232 * math/e_sinhl.c: Likewise.
6233 * math/e_sqrtl.c: Likewise.
6234 * math/fclrexcpt.c: Likewise.
6235 * math/fedisblxcpt.c: Likewise.
6236 * math/feenablxcpt.c: Likewise.
6237 * math/fegetenv.c: Likewise.
6238 * math/fegetexcept.c: Likewise.
6239 * math/fegetround.c: Likewise.
6240 * math/feholdexcpt.c: Likewise.
6241 * math/fesetenv.c: Likewise.
6242 * math/fesetround.c: Likewise.
6243 * math/feupdateenv.c: Likewise.
6244 * math/fgetexcptflg.c: Likewise.
6245 * math/fraiseexcpt.c: Likewise.
6246 * math/fsetexcptflg.c: Likewise.
6247 * math/ftestexcept.c: Likewise.
6248 * math/k_cosl.c: Likewise.
6249 * math/k_rem_pio2l.c: Likewise.
6250 * math/k_sinl.c: Likewise.
6251 * math/k_tanl.c: Likewise.
6252 * math/s_asinhl.c: Likewise.
6253 * math/s_atanl.c: Likewise.
6254 * math/s_cbrtl.c: Likewise.
6255 * math/s_erfl.c: Likewise.
6256 * math/s_expm1l.c: Likewise.
6257 * math/s_log1pl.c: Likewise.
6258 * math/s_tanhl.c: Likewise.
6259 * misc/acct.c: Likewise.
6260 * misc/brk.c: Likewise.
6261 * misc/chflags.c: Likewise.
6262 * misc/chroot.c: Likewise.
6263 * misc/fchflags.c: Likewise.
6264 * misc/fgetxattr.c: Likewise.
6265 * misc/flistxattr.c: Likewise.
6266 * misc/fremovexattr.c: Likewise.
6267 * misc/fsetxattr.c: Likewise.
6268 * misc/fsync.c: Likewise.
6269 * misc/ftruncate.c: Likewise.
6270 * misc/futimes.c: Likewise.
6271 * misc/futimesat.c: Likewise.
6272 * misc/getdomain.c: Likewise.
6273 * misc/getdtsz.c: Likewise.
6274 * misc/gethostid.c: Likewise.
6275 * misc/gethostname.c: Likewise.
6276 * misc/getloadavg.c: Likewise.
6277 * misc/getpagesize.c: Likewise.
6278 * misc/getsysstats.c: Likewise.
6279 * misc/getxattr.c: Likewise.
6280 * misc/gtty.c: Likewise.
6281 * misc/ioctl.c: Likewise.
6282 * misc/lgetxattr.c: Likewise.
6283 * misc/listxattr.c: Likewise.
6284 * misc/llistxattr.c: Likewise.
6285 * misc/lremovexattr.c: Likewise.
6286 * misc/lsetxattr.c: Likewise.
6287 * misc/lutimes.c: Likewise.
6288 * misc/madvise.c: Likewise.
6289 * misc/mincore.c: Likewise.
6290 * misc/mlock.c: Likewise.
6291 * misc/mlockall.c: Likewise.
6292 * misc/mmap.c: Likewise.
6293 * misc/mprotect.c: Likewise.
6294 * misc/msync.c: Likewise.
6295 * misc/munlock.c: Likewise.
6296 * misc/munlockall.c: Likewise.
6297 * misc/munmap.c: Likewise.
6298 * misc/preadv.c: Likewise.
6299 * misc/preadv64.c: Likewise.
6300 * misc/ptrace.c: Likewise.
6301 * misc/pwritev.c: Likewise.
6302 * misc/pwritev64.c: Likewise.
6303 * misc/readv.c: Likewise.
6304 * misc/reboot.c: Likewise.
6305 * misc/remap_file_pages.c: Likewise.
6306 * misc/removexattr.c: Likewise.
6307 * misc/revoke.c: Likewise.
6308 * misc/select.c: Likewise.
6309 * misc/setdomain.c: Likewise.
6310 * misc/setegid.c: Likewise.
6311 * misc/seteuid.c: Likewise.
6312 * misc/sethostid.c: Likewise.
6313 * misc/sethostname.c: Likewise.
6314 * misc/setregid.c: Likewise.
6315 * misc/setreuid.c: Likewise.
6316 * misc/setxattr.c: Likewise.
6317 * misc/sstk.c: Likewise.
6318 * misc/stty.c: Likewise.
6319 * misc/swapoff.c: Likewise.
6320 * misc/swapon.c: Likewise.
6321 * misc/sync.c: Likewise.
6322 * misc/syncfs.c: Likewise.
6323 * misc/syscall.c: Likewise.
6324 * misc/truncate.c: Likewise.
6325 * misc/ualarm.c: Likewise.
6326 * misc/usleep.c: Likewise.
6327 * misc/ustat.c: Likewise.
6328 * misc/utimes.c: Likewise.
6329 * misc/vhangup.c: Likewise.
6330 * misc/writev.c: Likewise.
6331 * posix/_exit.c: Likewise.
6332 * posix/alarm.c: Likewise.
6333 * posix/execve.c: Likewise.
6334 * posix/fexecve.c: Likewise.
6335 * posix/fork.c: Likewise.
6336 * posix/fpathconf.c: Likewise.
6337 * posix/getaddrinfo.c: Likewise.
6338 * posix/getegid.c: Likewise.
6339 * posix/geteuid.c: Likewise.
6340 * posix/getgid.c: Likewise.
6341 * posix/getgroups.c: Likewise.
6342 * posix/getlogin.c: Likewise.
6343 * posix/getlogin_r.c: Likewise.
6344 * posix/getpgid.c: Likewise.
6345 * posix/getpid.c: Likewise.
6346 * posix/getppid.c: Likewise.
6347 * posix/getresgid.c: Likewise.
6348 * posix/getresuid.c: Likewise.
6349 * posix/getsid.c: Likewise.
6350 * posix/getuid.c: Likewise.
6351 * posix/glob64.c: Likewise.
6352 * posix/nanosleep.c: Likewise.
6353 * posix/pathconf.c: Likewise.
6354 * posix/pause.c: Likewise.
6355 * posix/posix_madvise.c: Likewise.
6356 * posix/pread.c: Likewise.
6357 * posix/pread64.c: Likewise.
6358 * posix/pwrite.c: Likewise.
6359 * posix/pwrite64.c: Likewise.
6360 * posix/sched_getaffinity.c: Likewise.
6361 * posix/sched_getp.c: Likewise.
6362 * posix/sched_gets.c: Likewise.
6363 * posix/sched_primax.c: Likewise.
6364 * posix/sched_primin.c: Likewise.
6365 * posix/sched_rr_gi.c: Likewise.
6366 * posix/sched_setaffinity.c: Likewise.
6367 * posix/sched_setp.c: Likewise.
6368 * posix/sched_sets.c: Likewise.
6369 * posix/sched_yield.c: Likewise.
6370 * posix/setgid.c: Likewise.
6371 * posix/setlogin.c: Likewise.
6372 * posix/setpgid.c: Likewise.
6373 * posix/setresgid.c: Likewise.
6374 * posix/setresuid.c: Likewise.
6375 * posix/setsid.c: Likewise.
6376 * posix/setuid.c: Likewise.
6377 * posix/sleep.c: Likewise.
6378 * posix/spawni.c: Likewise.
6379 * posix/sysconf.c: Likewise.
6380 * posix/times.c: Likewise.
6381 * posix/wait.c: Likewise.
6382 * posix/wait3.c: Likewise.
6383 * posix/wait4.c: Likewise.
6384 * posix/waitpid.c: Likewise.
6385 * resolv/gai_sigqueue.c: Likewise.
6386 * resource/getpriority.c: Likewise.
6387 * resource/getrlimit.c: Likewise.
6388 * resource/getrusage.c: Likewise.
6389 * resource/nice.c: Likewise.
6390 * resource/setpriority.c: Likewise.
6391 * resource/setrlimit.c: Likewise.
6392 * resource/ulimit.c: Likewise.
6393 * rt/aio_cancel.c: Likewise.
6394 * rt/aio_fsync.c: Likewise.
6395 * rt/aio_read.c: Likewise.
6396 * rt/aio_sigqueue.c: Likewise.
6397 * rt/aio_suspend.c: Likewise.
6398 * rt/aio_write.c: Likewise.
6399 * rt/clock_getres.c: Likewise.
6400 * rt/clock_gettime.c: Likewise.
6401 * rt/clock_nanosleep.c: Likewise.
6402 * rt/clock_settime.c: Likewise.
6403 * rt/lio_listio.c: Likewise.
6404 * rt/mq_close.c: Likewise.
6405 * rt/mq_getattr.c: Likewise.
6406 * rt/mq_notify.c: Likewise.
6407 * rt/mq_open.c: Likewise.
6408 * rt/mq_receive.c: Likewise.
6409 * rt/mq_send.c: Likewise.
6410 * rt/mq_setattr.c: Likewise.
6411 * rt/mq_timedreceive.c: Likewise.
6412 * rt/mq_timedsend.c: Likewise.
6413 * rt/mq_unlink.c: Likewise.
6414 * rt/shm_open.c: Likewise.
6415 * rt/shm_unlink.c: Likewise.
6416 * rt/timer_create.c: Likewise.
6417 * rt/timer_delete.c: Likewise.
6418 * rt/timer_getoverr.c: Likewise.
6419 * rt/timer_gettime.c: Likewise.
6420 * rt/timer_settime.c: Likewise.
6421 * setjmp/__longjmp.c: Likewise.
6422 * setjmp/setjmp.c: Likewise.
6423 * signal/kill.c: Likewise.
6424 * signal/killpg.c: Likewise.
6425 * signal/raise.c: Likewise.
6426 * signal/sigaction.c: Likewise.
6427 * signal/sigaltstack.c: Likewise.
6428 * signal/sigblock.c: Likewise.
6429 * signal/sigignore.c: Likewise.
6430 * signal/sigintr.c: Likewise.
6431 * signal/signal.c: Likewise.
6432 * signal/sigpause.c: Likewise.
6433 * signal/sigpending.c: Likewise.
6434 * signal/sigqueue.c: Likewise.
6435 * signal/sigreturn.c: Likewise.
6436 * signal/sigset.c: Likewise.
6437 * signal/sigsetmask.c: Likewise.
6438 * signal/sigstack.c: Likewise.
6439 * signal/sigsuspend.c: Likewise.
6440 * signal/sigtimedwait.c: Likewise.
6441 * signal/sigvec.c: Likewise.
6442 * signal/sigwait.c: Likewise.
6443 * signal/sigwaitinfo.c: Likewise.
6444 * signal/sysv_signal.c: Likewise.
6445 * socket/accept.c: Likewise.
6446 * socket/accept4.c: Likewise.
6447 * socket/bind.c: Likewise.
6448 * socket/connect.c: Likewise.
6449 * socket/getpeername.c: Likewise.
6450 * socket/getsockname.c: Likewise.
6451 * socket/getsockopt.c: Likewise.
6452 * socket/isfdtype.c: Likewise.
6453 * socket/listen.c: Likewise.
6454 * socket/recv.c: Likewise.
6455 * socket/recvfrom.c: Likewise.
6456 * socket/recvmsg.c: Likewise.
6457 * socket/send.c: Likewise.
6458 * socket/sendmsg.c: Likewise.
6459 * socket/sendto.c: Likewise.
6460 * socket/setsockopt.c: Likewise.
6461 * socket/shutdown.c: Likewise.
6462 * socket/sockatmark.c: Likewise.
6463 * socket/socket.c: Likewise.
6464 * socket/socketpair.c: Likewise.
6465 * stdio-common/ctermid.c: Likewise.
6466 * stdio-common/cuserid.c: Likewise.
6467 * stdio-common/remove.c: Likewise.
6468 * stdio-common/rename.c: Likewise.
6469 * stdio-common/renameat.c: Likewise.
6470 * stdio-common/tempname.c: Likewise.
6471 * stdlib/getcontext.c: Likewise.
6472 * stdlib/makecontext.c: Likewise.
6473 * stdlib/setcontext.c: Likewise.
6474 * stdlib/swapcontext.c: Likewise.
6475 * stdlib/system.c: Likewise.
6476 * streams/fattach.c: Likewise.
6477 * streams/fdetach.c: Likewise.
6478 * streams/getmsg.c: Likewise.
6479 * streams/getpmsg.c: Likewise.
6480 * streams/putmsg.c: Likewise.
6481 * streams/putpmsg.c: Likewise.
6482 * sysdeps/unix/bsd/getpt.c: Likewise.
6483 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6484 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6485 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6487 Likewise.
6488 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6489 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6490 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6491 * sysvipc/msgctl.c: Likewise.
6492 * sysvipc/msgget.c: Likewise.
6493 * sysvipc/msgrcv.c: Likewise.
6494 * sysvipc/msgsnd.c: Likewise.
6495 * sysvipc/semctl.c: Likewise.
6496 * sysvipc/semget.c: Likewise.
6497 * sysvipc/semop.c: Likewise.
6498 * sysvipc/semtimedop.c: Likewise.
6499 * sysvipc/shmat.c: Likewise.
6500 * sysvipc/shmctl.c: Likewise.
6501 * sysvipc/shmdt.c: Likewise.
6502 * sysvipc/shmget.c: Likewise.
6503 * termios/tcdrain.c: Likewise.
6504 * termios/tcflow.c: Likewise.
6505 * termios/tcflush.c: Likewise.
6506 * termios/tcgetattr.c: Likewise.
6507 * termios/tcgetpgrp.c: Likewise.
6508 * termios/tcsendbrk.c: Likewise.
6509 * termios/tcsetattr.c: Likewise.
6510 * termios/tcsetpgrp.c: Likewise.
6511 * time/adjtime.c: Likewise.
6512 * time/clock.c: Likewise.
6513 * time/getitimer.c: Likewise.
6514 * time/gettimeofday.c: Likewise.
6515 * time/setitimer.c: Likewise.
6516 * time/settimeofday.c: Likewise.
6517 * time/stime.c: Likewise.
6518 * time/time.c: Likewise.
6519
65202012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 6521
a20492cf
PT
6522 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6523 /usr/old/bin.
6524
72e182e3
PT
6525 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6526 instead of spaces.
6527 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6528
fbeafede
JM
65292012-11-03 Joseph Myers <joseph@codesourcery.com>
6530
5b5b04d6
JM
6531 [BZ #14796]
6532 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6533 FE_TONEAREST before applying Dekker multiplication and Knuth
6534 addition. Clear inexact exceptions and check for exact zero
6535 results afterwards.
6536 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6537 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6538 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6539 * math/libm-test.inc (fma_test): Add more tests.
6540 (fma_test_towardzero): Likewise.
6541 (fma_test_downward): Likewise.
6542 (fma_test_upward): Likewise.
6543 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6544 function.
6545 (libc_fesetround): New macro.
6546 (libc_fesetroundf): Likewise.
6547 (libc_fesetroundl): Likewise.
6548 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6549 function.
6550 (libc_fesetround_387): Likewise.
6551 (libc_fesetroundf): New macro.
6552 (libc_fesetround): Likewise.
6553 (libc_fesetroundl): Likewise.
6554 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6555 function.
6556 (libc_fesetroundf): New macro.
6557 (libc_fesetround): Likewise.
6558 (libc_fesetroundl): Likewise.
6559 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6560 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6561 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6562 libm_hidden_ver.
6563 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6564 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6565 libm_hidden_def.
6566 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6567 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6568 libm_hidden_ver.
6569 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6570 libm_hidden_def.
6571
fbeafede
JM
6572 [BZ #3439]
6573 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6574 integer constant usable in #if and use that to give value to enum
6575 constant.
6576 (FE_DIVBYZERO): Likewise.
6577 (FE_UNDERFLOW): Likewise.
6578 (FE_OVERFLOW): Likewise.
6579 (FE_INVALID): Likewise.
6580 (FE_INVALID_SNAN): Likewise.
6581 (FE_INVALID_ISI): Likewise.
6582 (FE_INVALID_IDI): Likewise.
6583 (FE_INVALID_ZDZ): Likewise.
6584 (FE_INVALID_IMZ): Likewise.
6585 (FE_INVALID_COMPARE): Likewise.
6586 (FE_INVALID_SOFTWARE): Likewise.
6587 (FE_INVALID_SQRT): Likewise.
6588 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6589 (FE_TONEAREST): Likewise.
6590 (FE_TOWARDZERO): Likewise.
6591 (FE_UPWARD): Likewise.
6592 (FE_DOWNWARD): Likewise.
6593 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6594 (FE_DIVBYZERO): Likewise.
6595 (FE_OVERFLOW): Likewise.
6596 (FE_UNDERFLOW): Likewise.
6597 (FE_INEXACT): Likewise.
6598 (FE_TONEAREST): Likewise.
6599 (FE_DOWNWARD): Likewise.
6600 (FE_UPWARD): Likewise.
6601 (FE_TOWARDZERO): Likewise.
6602 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6603 (FE_UNDERFLOW): Likewise.
6604 (FE_OVERFLOW): Likewise.
6605 (FE_DIVBYZERO): Likewise.
6606 (FE_INVALID): Likewise.
6607 (FE_TONEAREST): Likewise.
6608 (FE_TOWARDZERO): Likewise.
6609 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6610 (FE_OVERFLOW): Likewise.
6611 (FE_UNDERFLOW): Likewise.
6612 (FE_DIVBYZERO): Likewise.
6613 (FE_INEXACT): Likewise.
6614 (FE_TONEAREST): Likewise.
6615 (FE_TOWARDZERO): Likewise.
6616 (FE_UPWARD): Likewise.
6617 (FE_DOWNWARD): Likewise.
6618 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6619 (FE_DIVBYZERO): Likewise.
6620 (FE_OVERFLOW): Likewise.
6621 (FE_UNDERFLOW): Likewise.
6622 (FE_INEXACT): Likewise.
6623 (FE_TONEAREST): Likewise.
6624 (FE_DOWNWARD): Likewise.
6625 (FE_UPWARD): Likewise.
6626 (FE_TOWARDZERO): Likewise.
6627
105ca950
CM
66282012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6629
6630 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6631
a542b389
AS
66322012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6633
6634 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6635 commands. Quote $PWD.
6636 (blacklist_exports): Don't use remove_newlines. Replace "declare
6637 -x" by "export".
6638 (remove_newlines): Remove.
6639
f62c8abc
L
66402012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6641
6642 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6643 * stdlib/stdlib.h (atof): Moved to ...
6644 * include/bits/stdlib-float.h: Here. New file.
6645 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6646 * stdlib/bits/stdlib-float.h: New file.
6647 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6648 -mno-sse -mno-mmx.
6649 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6650 <xmmintrin.h>.
6651
0155d5b2
JM
66522012-11-02 Joseph Myers <joseph@codesourcery.com>
6653
a68d0680
JM
6654 * conform/conformtest.pl (@headers): Add fenv.h.
6655 * conform/data/fenv.h-data: New file.
6656 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6657 include of <math/fenv.h>.
6658
caf7f573
JM
6659 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6660 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6661 && !UNIX98]. Enables tests for XOPEN2K8.
6662 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6663 POSIX2008]: Likewise.
6664
6c073ad6
JM
6665 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6666 (struct rusage): Do not expect type or its members.
6667
0155d5b2
JM
6668 [BZ #3439]
6669 * math/math.h (FP_NAN): Define macro to integer constant usable in
6670 #if and use that to give value to enum constant.
6671 (FP_INFINITE): Likewise.
6672 (FP_ZERO): Likewise.
6673 (FP_SUBNORMAL): Likewise.
6674 (FP_NORMAL): Likewise.
6675
b5dcacb4
AS
66762012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6677
6678 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6679 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6680 arguments.
6681
f7934be8
RM
66822012-11-02 Roland McGrath <roland@hack.frob.com>
6683
6684 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6685 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6686 autoconf-time if not.
6687 * configure.in: Remove AC_PREREQ.
6688
d7d08bde
TMQMF
66892012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6690
6691 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6692 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6693 of the internal implementation.
6694
dcdae19a
JM
66952012-11-02 Joseph Myers <joseph@codesourcery.com>
6696
6697 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6698 except include of <misc/sys/syslog.h>.
6699
d6cffd3e
AS
67002012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6701
6702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6703 function returns with a NULL context exit with zero.
6704
b3563932
TMQMF
67052012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6706
6707 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6708
b288a93d
L
67092012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6710
6711 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6712 (run_program_cmd): This.
6713 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6714 (tst_langinfo): New variable. Use it.
6715
a2421a68
SAS
67162012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6717
6718 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6719 floating point opcodes.
6720
6f796e1b
TS
67212012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6722
7402596b
TS
6723 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6724 variable.
6725
d0d4f868
TS
6726 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6727
6f796e1b
TS
6728 * sysdeps/mach/hurd/powerpc: Remove directory.
6729 * sysdeps/mach/powerpc: Likewise.
6730
4da224a2
AS
67312012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6732
6733 * scripts/check-local-headers.sh: Ignore c++ headers.
6734
341dd673
TS
67352012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6736
6737 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6738 __libc_cleanup_region_start argument.
6739
473611b2
JM
67402012-11-01 Joseph Myers <joseph@codesourcery.com>
6741
6742 [BZ #14784]
6743 [BZ #14785]
6744 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6745 x * y using scaling, not as x * y + z.
6746 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6747 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6748 * math/libm-test.inc (fma_test): Add more tests.
6749 (fma_test_towardzero): Likewise.
6750 (fma_test_downward): Likewise.
6751 (fma_test_upward): Likewise.
6752
4078da3d
TS
67532012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6754
6755 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6756
903252aa
JM
67572012-10-31 Joseph Myers <joseph@codesourcery.com>
6758
6759 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6760 New variable.
6761
cbc818d0
TS
67622012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6763
6764 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6765
5a03cb1e
AS
67662012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6767
6768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6769 Fix sort order.
6770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6771 Likewise.
6772
90aff2ff
TMQMF
67732012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6774
6775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6776 Fix the order of the list for glibc 2.17.
6777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6778 Likewise.
6779
1818fcb7
AS
67802012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6781
6782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6783
ef82f4da
JM
67842012-10-31 Joseph Myers <joseph@codesourcery.com>
6785
16a0e2ec
JM
6786 [BZ #14610]
6787 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6788 for low part of x being zero before using __atanl (y).
6789 * math/libm-test.inc (atan2_test): Add another test.
6790
0eb69512
JM
6791 * manual/install.texi (Configuring and compiling): Document
6792 general use of test-wrapper and test-wrapper-env.
6793 * INSTALL: Regenerated.
6794
ef82f4da
JM
6795 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6796 (__fma): Do not extract and scale down low bits on after-rounding
6797 systems when result rounded to normal precision would have normal
6798 exponent.
6799 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6800 (__fmal): Do not extract and scale down low bits on after-rounding
6801 systems when result rounded to normal precision would have normal
6802 exponent.
6803 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6804 (__fmal): Do not extract and scale down low bits on after-rounding
6805 systems when result rounded to normal precision would have normal
6806 exponent.
6807 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6808 macro.
6809 (fma_test): Add more tests.
6810 (fma_test_towardzero): Likewise.
6811 (fma_test_downward): Likewise.
6812 (fma_test_upward): Likewise.
6813
954ef0d9
L
68142012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6815
6816 * sysdeps/i386/tininess.h: Renamed to ...
6817 * sysdeps/x86/tininess.h: This.
6818 * sysdeps/x86_64/tininess.h: Removed.
6819
df61ffb2
JM
68202012-10-30 Joseph Myers <joseph@codesourcery.com>
6821
6822 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6823 input. Use $(build-program-cmd).
6824 ($(objpfx)tst-array1-static.out): Likewise.
6825 ($(objpfx)tst-array2.out): Likewise.
6826 ($(objpfx)tst-array3.out): Likewise.
6827 ($(objpfx)tst-array4.out): Likewise.
6828 ($(objpfx)tst-array5.out): Likewise.
6829 ($(objpfx)tst-array5-static.out): Likewise.
6830
01767843
CM
68312012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6832
47cc1490
CM
6833 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6834 if defined.
6835
01767843
CM
6836 * nss/nsswitch.h (nss_interface_function): Provide new
6837 macro for use with NSS functions.
6838 * grp/initgroups.c: Use new macro.
6839 * nss/getXXbyYY.c: Likewise.
6840 * nss/getXXbyYY_r.c: Likewise.
6841 * nss/getXXent.c: Likewise.
6842 * nss/getXXent_r.c: Likewise.
6843 * sysdeps/posix/getaddrinfo.c: Likewise.
6844
8321aa97
AJ
68452012-10-30 Andreas Jaeger <aj@suse.de>
6846
6847 * po/ru.po: Update Russion translation from translation project.
6848
2a27fd6d
JM
68492012-10-30 Joseph Myers <joseph@codesourcery.com>
6850
8627a232
JM
6851 [BZ #14152]
6852 [BZ #14783]
6853 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6854 result and shift together with sticky bit instead of replicating
6855 round-to-nearest rounding.
6856 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6857 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6858 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6859 missing underflow exceptions.
6860 (fma_test_towardzero): Add more tests.
6861 (fma_test_downward): Likewise.
6862 (fma_test_upward): Likewise.
6863
2a27fd6d
JM
6864 [BZ #14047]
6865 * sysdeps/generic/tininess.h: New file.
6866 * sysdeps/i386/tininess.h: Likewise.
6867 * sysdeps/sh/tininess.h: Likewise.
6868 * sysdeps/x86_64/tininess.h: Likewise.
6869 * stdlib/tst-strtod-underflow.c: Likewise.
6870 * stdlib/tst-tininess.c: Likewise.
6871 * stdlib/strtod_l.c: Include <tininess.h>.
6872 (round_and_return): Do not set errno for exact underflow cases.
6873 Force an underflow exception when setting errno for underflow.
6874 Determine underflow based on rounding to normal precision if
6875 TININESS_AFTER_ROUNDING.
6876 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6877 ERANGE for exact underflow cases.
6878 * stdlib/Makefile (tests): Add tst-tininess and
6879 tst-strtod-underflow.
6880 ($(objpfx)tst-tininess): Use $(link-libm).
6881 ($(objpfx)tst-strtod-underflow): Likewise.
6882
e7170363
AJ
68832012-10-30 Andreas Jaeger <aj@suse.de>
6884
e5088dc6
AJ
6885 [BZ#14767]
6886 * elf/Makefile (tests): Remove conditional for have-initfini-array
6887 since this is now always required and the variable does not exist
6888 anymore.
6889 (tests-static): Likewise.
6890 (modules-names): Likewise.
6891
e7170363 6892 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
6893
6894 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6895 merged with constructor/destructor.
6896 (init_array): Likewise.
6897 * elf/tst-array2dep.c (fini_array): Likewise.
6898 (init_array): Likewise.
6899
60457d8a
MF
69002012-10-29 Mike Frysinger <vapier@gentoo.org>
6901
6902 * manual/message.texi: Delete @cartouche tags.
6903
8bece752
PT
69042012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6905
94ce799f
PT
6906 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6907 EOPNOTSUPP.
6908 * sysdeps/mach/hurd/fsync.c: Likewise.
6909
8bece752
PT
6910 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
6911 [_POSIX_REALTIME_SIGNALS]: Change condition to
6912 [_POSIX_REALTIME_SIGNALS > 0].
6913
86ebe6b1
AJ
69142012-10-27 Andreas Jaeger <aj@suse.de>
6915
6916 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
6917 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
6918 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
6919 [__WORDSIZE != 64]: Likewise.
6920
54399c08
L
69212012-10-26 H.J. Lu <hongjiu.lu@intel.com>
6922
6923 * iconvdata/tst-table.sh: Remove ${SHELL}.
6924 * iconvdata/tst-tables.sh: Likewise.
6925
e2211bed
DM
69262012-10-25 David S. Miller <davem@davemloft.net>
6927
6928 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6929 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
6930 of strtoull.
6931
f303f97c
DM
6932 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
6933 ifunc-impl-list.c
6934 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6935 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
6936 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
6937 file.
6938
1e9d84cd
RM
69392012-10-25 Roland McGrath <roland@hack.frob.com>
6940
6941 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6942 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
6943 __getdirentries.
6944
df381762
JM
69452012-10-25 Joseph Myers <joseph@codesourcery.com>
6946 Jim Blandy <jimb@codesourcery.com>
6947
6948 * scripts/cross-test-ssh.sh: New file.
6949 * manual/install.texi (Configuring and compiling): Document use of
6950 cross-test-ssh.sh.
6951 * INSTALL: Regenerated.
6952
bff64913
PT
69532012-10-25 Pino Toscano <toscano.pino@tiscali.it>
6954
6955 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
6956 EOPNOTSUPP.
6957
25fe8932
JM
69582012-10-25 Joseph Myers <joseph@codesourcery.com>
6959
6960 * Makeconfig (run-program-prefix): Fix comment.
6961
cc1290d0
JM
69622012-10-24 Joseph Myers <joseph@codesourcery.com>
6963 Jim Blandy <jimb@codesourcery.com>
6964
6965 * Makeconfig (test-wrapper): New variable,
6966 (test-wrapper-env): Likewise.
6967 [$(cross-compiling) = yes && $(test-wrapper) != ""]
6968 (run-built-tests): Define to yes.
6969 (run-program-prefix): Use $(test-wrapper).
6970 (built-program-cmd): Likewise.
6971 * Rules (make-test-out): Use $(test-wrapper-env) and
6972 $(host-built-program-cmd).
6973 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
6974 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
6975 tst-pathopt.sh.
6976 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
6977 $(test-wrapper-env) to tst-rtld-load-self.sh.
6978 ($(objpfx)order2.out): Use $(test-wrapper).
6979 ($(objpfx)tst-initorder.out): Likewise.
6980 ($(objpfx)tst-initorder2.out): Likewise.
6981 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
6982 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
6983 (test_wrapper_env): New variable. Use it to run ld.so.
6984 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
6985 Use it to run ld.so.
6986 (test_wrapper_env): Likewise.
6987 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
6988 $(test-wrapper) to run-iconv-test.sh.
6989 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
6990 (ICONV): Use $test_wrapper.
6991 * posix/Makefile ($(objpfx)globtest.out): Pass
6992 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
6993 globtest.sh, not $(run-program-prefix).
6994 * posix/globtest.sh (run_via_rtld_prefix): New variable.
6995 (test_wrapper): Likewise.
6996 (test_wrapper_env): Likewise. Use it to run globtest with HOME
6997 set together with run_via_rtld_prefix.
6998 (run_program_prefix): Define in terms of test_wrapper and
6999 run_via_rtld_prefix.
7000
6e6249d0
RM
70012012-10-24 Roland McGrath <roland@hack.frob.com>
7002
7003 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7004 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7005 Targets removed.
7006
7007 [BZ #14743]
7008 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7009 Declare __clock_getres, __clock_gettime, __clock_settime,
7010 __clock_nanosleep, and __clock_getcpuclockid.
7011 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7012 Remove librt_hidden_def (clock_gettime).
7013 * sysdeps/unix/clock_gettime.c: Likewise.
7014 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7015 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7016 * rt/clock_getres.c: Define __clock_getres as an alias.
7017 * sysdeps/posix/clock_getres.c: Likewise.
7018 * rt/clock_settime.c: Define __clock_settime as an alias.
7019 * sysdeps/unix/clock_settime.c: Likewise.
7020 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7021 * sysdeps/unix/clock_nanosleep.c: Likewise.
7022 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7023 * rt/clock-compat.c: New file.
7024 * rt/Makefile (librt-routines): Add clock-compat and move
7025 $(clock-routines) to ...
7026 (routines): ... here, new variable.
7027 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7028 Don't add get_clockfreq here.
7029 * rt/Versions (libc: GLIBC_2.17): New version set.
7030 Add clock_* symbols here.
7031 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7032 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7033 (GLIBC_2.17): Add clock_* symbols.
7034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7035 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7036 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7038 Likewise.
7039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7040 Likewise.
7041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7045 * NEWS: Mention the move.
7046
7047 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7048 Use __open, __read, __close rather than their public counterparts.
7049 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7050 (__get_clockfreq_via_cpuinfo): Likewise.
7051 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7052 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7053
7054 * config.h.in (HAVE_IFUNC): New #undef.
7055 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7056 was successful.
7057 * configure: Regenerated.
7058
0cae3f4b
MF
70592012-10-24 Mike Frysinger <vapier@gentoo.org>
7060
7061 * configure.in: Move READELF check to start of file.
7062 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7063 libc_cv_asm_gnu_indirect_function in the process.
7064 * configure: Regenerated.
7065
8175a253
MF
70662012-10-24 Mike Frysinger <vapier@gentoo.org>
7067
7068 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7069 send the output to /dev/null.
7070 (libc_cv_cc_with_libunwind): Likewise.
7071 (libc_cv_as_noexecstack): Likewise.
7072 * configure: Regenerate.
7073
0708a7d1
JM
70742012-10-24 Joseph Myers <joseph@codesourcery.com>
7075
10b40d85
JM
7076 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7077
0708a7d1
JM
7078 * posix/globtest.sh (TMPDIR): Do not set.
7079 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7080 (testout): Likewise.
7081
9fddec1a
AJ
70822012-10-24 Andreas Jaeger <aj@suse.de>
7083
3a8db22f
AJ
7084 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7085 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7086 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7087 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7088 posix_fadvise64, posix_fallocate64.
7089
9fddec1a
AJ
7090 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7091 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7092 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7093 Likewise.
7094 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7095 Likewise.
7096 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7097
7098 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7099 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7100 <bits/fcntl-linux.h>.
7101 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7102
7103 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7104 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7105 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7106 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7107 [__WORDSIZE != 64]: Likewise.
7108
ebfd1bbd
JM
71092012-10-23 Joseph Myers <joseph@codesourcery.com>
7110
03ac099f
JM
7111 * Makeconfig (run-built-tests): New variable.
7112 * Rules [$(cross-compiling) = yes]: Change condition to
7113 [$(run-built-tests) = no].
7114 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7115 to [$(run-built-tests) = yes].
7116 * elf/Makefile [$(cross-compiling) = no]: Likewise
7117 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7118 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7119 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7120 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7121 * io/Makefile [$(cross-compiling) = no]: Likewise.
7122 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7123 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7124 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7125 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7126 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7127 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7128 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7129 * string/Makefile [$(cross-compiling) = no]: Likewise.
7130
ebfd1bbd
JM
7131 * posix/Makefile ($(objpfx)globtest.out): Pass
7132 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7133 $(rtld-installed-name).
7134 * posix/globtest.sh (elf_objpfx): Remove variable.
7135 (rtld_installed_name): Likewise.
7136 (library_path): Likewise.
7137 (run_program_prefix): New variable. Use for running globtest
7138 binary.
7139
166bca24
JB
71402012-10-23 Jim Blandy <jimb@codesourcery.com>
7141 Joseph Myers <joseph@codesourcery.com>
7142
7143 * Makeconfig (host-built-program-cmd): New variable.
7144 * elf/Makefile (tst-stackguard1-ARGS): Use
7145 $(host-built-program-cmd).
7146 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7147 (tst-spawn-ARGS): Likewise.
7148 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7149
88866099
JM
71502012-10-23 Joseph Myers <joseph@codesourcery.com>
7151 Jim Blandy <jimb@codesourcery.com>
7152
7153 * Makeconfig (run-via-rtld-prefix): New variable.
7154 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7155 (built-program-cmd): Likewise.
7156
b4b4c296
AJ
71572012-10-22 Andreas Jaeger <aj@suse.de>
7158
7159 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7160 __O_RSYNC if it exists, otherwise to O_SYNC.
7161
6fb54a22
JB
71622012-10-22 Jim Blandy <jimb@codesourcery.com>
7163 Joseph Myers <joseph@codesourcery.com>
7164
7165 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7166 /dev/null.
7167 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7168 from /dev/null
7169 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7170 /dev/null.
7171
481b90b9
AJ
71722012-10-22 Andreas Jaeger <aj@suse.de>
7173
2a0e2669
AJ
7174 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7175 Define always.
7176 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7177
76e38f9a
AJ
7178 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7179 bits/fcntl-linux.h.
7180
7cd37b43
AJ
7181 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7182 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7183
481b90b9
AJ
7184 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7185 to __O_LARGEFILE.
7186 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7187 to __O_LARGEFILE.
7188
aba75984
JB
71892012-10-21 Jim Blandy <jimb@codesourcery.com>
7190 Joseph Myers <joseph@codesourcery.com>
7191
7192 * config.make.in (NM): New variable.
7193
88d4247f
AJ
71942012-10-21 Andreas Jaeger <aj@suse.de>
7195
7196 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7197 definitions and declarations that are provided by
7198 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7199
f2eed205
L
72002012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7201
7202 [BZ #14683]
7203 * elf/Makefile (tests-static): Add tst-leaks1-static.
7204 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7205 ($(objpfx)tst-leaks1-static): New rule.
7206 ($(objpfx)tst-leaks1-static-mem): Likewise.
7207 (tst-leaks1-static-ENV): New macro.
7208 * elf/dl-open.c (dl_open_worker): Check the main application
7209 only if SHARED is defined.
7210 * elf/tst-leaks1-static.c: New file.
7211
335e6931
AJ
72122012-10-20 Andreas Jaeger <aj@suse.de>
7213
7214 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7215 generic values for Linux.
7216 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7217 and declarations that are provided by <bits/fcntl-linux.h> and
7218 include <bits/fcntl-linux.h>.
7219 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7220 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7221
ac5c94d3
RM
72222012-10-20 Roland McGrath <roland@hack.frob.com>
7223
7224 * io/fcntl.h: Move include of <bits/types.h> to the top and
7225 include it unconditionally.
7226
de54b33a
L
72272012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7228
228cfb01
L
7229 * wcsmbs/Makefile (tests-ifunc): New variable.
7230 (tests): Add $(tests-ifunc).
7231 * wcsmbs/test-wcschr-ifunc.c: New file.
7232 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7233 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7234 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7235 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7236 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7237
69f07e5f
L
7238 * string/Makefile (tests-ifunc): New variable.
7239 (tests): Add $(tests-ifunc).
7240 * string/test-memccpy.c (TEST_NAME): New macro.
7241 * string/test-memchr.c (TEST_NAME): Likewise.
7242 * string/test-memcmp.c (TEST_NAME): Likewise.
7243 * string/test-memcpy.c (TEST_NAME): Likewise.
7244 * string/test-memmem.c (TEST_NAME): Likewise.
7245 * string/test-memmove.c (TEST_NAME): Likewise.
7246 * string/test-memset.c (TEST_NAME): Likewise.
7247 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7248 * string/test-stpcpy.c (TEST_NAME): Likewise.
7249 * string/test-stpncpy.c (TEST_NAME): Likewise.
7250 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7251 * string/test-strcasestr.c (TEST_NAME): Likewise.
7252 * string/test-strcat.c (TEST_NAME): Likewise.
7253 * string/test-strchr.c (TEST_NAME): Likewise.
7254 * string/test-strcmp.c(TEST_NAME): Likewise.
7255 * string/test-strcpy.c (TEST_NAME): Likewise.
7256 * string/test-strcspn.c (TEST_NAME): Likewise.
7257 * string/test-strlen.c (TEST_NAME): Likewise.
7258 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7259 * string/test-strncmp.c (TEST_NAME): Likewise.
7260 * string/test-strncpy.c (TEST_NAME): Likewise.
7261 * string/test-strnlen.c (TEST_NAME): Likewise.
7262 * string/test-strpbrk.c (TEST_NAME): Likewise.
7263 * string/test-strrchr.c (TEST_NAME): Likewise.
7264 * string/test-strspn.c (TEST_NAME): Likewise.
7265 * string/test-strstr.c (TEST_NAME): Likewise.
7266 * string/test-bcopy-ifunc.c: New file.
7267 * string/test-bzero-ifunc.c: Likewise.
7268 * string/test-memccpy-ifunc.c: Likewise.
7269 * string/test-memchr-ifunc.c: Likewise.
7270 * string/test-memcmp-ifunc.c: Likewise.
7271 * string/test-memcpy-ifunc.c: Likewise.
7272 * string/test-memmem-ifunc.c: Likewise.
7273 * string/test-memmove-ifunc.c: Likewise.
7274 * string/test-mempcpy-ifunc.c: Likewise.
7275 * string/test-memset-ifunc.c: Likewise.
7276 * string/test-rawmemchr-ifunc.c: Likewise.
7277 * string/test-stpcpy-ifunc.c: Likewise.
7278 * string/test-stpncpy-ifunc.c: Likewise.
7279 * string/test-strcasecmp-ifunc.c: Likewise.
7280 * string/test-strcasestr-ifunc.c: Likewise.
7281 * string/test-strcat-ifunc.c: Likewise.
7282 * string/test-strchr-ifunc.c: Likewise.
7283 * string/test-strchrnul-ifunc.c: Likewise.
7284 * string/test-strcmp-ifunc.c: Likewise.
7285 * string/test-strcpy-ifunc.c: Likewise.
7286 * string/test-strcspn-ifunc.c: Likewise.
7287 * string/test-strlen-ifunc.c: Likewise.
7288 * string/test-strncasecmp-ifunc.c: Likewise.
7289 * string/test-strncat-ifunc.c: Likewise.
7290 * string/test-strncmp-ifunc.c: Likewise.
7291 * string/test-strncpy-ifunc.c: Likewise.
7292 * string/test-strnlen-ifunc.c: Likewise.
7293 * string/test-strpbrk-ifunc.c: Likewise.
7294 * string/test-strrchr-ifunc.c: Likewise.
7295 * string/test-strspn-ifunc.c: Likewise.
7296 * string/test-strstr-ifunc.c: Likewise.
7297
de54b33a
L
7298 * debug/Makefile (tests-ifunc): New variable.
7299 (tests): Add $(tests-ifunc).
7300 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7301 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7302 * debug/test-stpcpy_chk-ifunc.c: New file.
7303 * debug/test-strcpy_chk-ifunc.c: Likewise.
7304
88481c16
SP
73052012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7306
7307 [BZ #13601]
7308 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7309 header is not read in.
7310
135948bd
JM
73112012-10-19 Joseph Myers <joseph@codesourcery.com>
7312
89f1c388
JM
7313 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7314 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7315 directly. Pass built executable to script as
7316 $(built-program-cmd).
7317 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7318 $testprogram without using LD_LIBRARY_PATH and $ldso.
7319
e40a0d21
JM
7320 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7321 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7322 $(rtld-installed-name).
7323 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7324 (rtld_installed_name): Likewise.
7325 (library_path): Likewise.
7326 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7327 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7328 $(run-program-prefix) to tst-tables.sh.
7329 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7330 it to run tst-table-from and tst-table-to.
7331 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7332 Pass it to tst-table.sh.
7333 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7334 $(run-program-prefix) to tst-gettext.sh.
7335 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7336 tst-translit.sh.
7337 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7338 tst-gettext2.sh.
7339 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7340 to run tst-gettext.
7341 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7342 to run tst-gettext2.
7343 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7344 to run tst-translit.
7345 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7346 $(run-program-prefix) to tst-mtrace.sh.
7347 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7348 to run tst-mtrace.
7349 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7350 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7351 $(rtld-installed-name).
7352 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7353 (rtld_installed_name): Likewise.
7354 (run_program_prefix): New variable. Use it to run wordexp-test.
7355
728e272a
JM
7356 * Makeconfig (ARCH): Remove all definitions.
7357 (machine): Likewise.
7358 [ARCH]: Remove conditional code.
7359 [!objdir]: Give error.
7360 [!objdir] (objpfx): Remove.
7361 [!objdir] (common-objpfx): Likewise.
7362 [!objdir] (common-objdir): Likewise.
7363 * configure.in (config_makefile): Remove. Hardcode Makefile in
7364 AC_CONFIG_FILES call.
7365 * configure: Regenerated.
7366
d528cdcf
JM
7367 [BZ #13888]
7368 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7369 or TMPDIR.
7370 (testout): Likewise.
7371
135948bd
JM
7372 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7373 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7374 $(rtld-installed-name).
7375 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7376 (rtld_installed_name): Likwise.
7377 (runit): Remove function.
7378 (run_getconf): New variable, Use it for running getconf binary.
7379
38c78296
L
73802012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7381
7382 [BZ #14716]
7383 * string/test-memmem.c (check_result): New function.
7384 (do_one_test): Use it.
7385 (check1): New function.
7386 (test_main): Use it.
7387
d077f65f
MT
73882012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7389
7390 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7391
ced52c71
JM
73922012-10-18 Joseph Myers <joseph@codesourcery.com>
7393
7394 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7395 (_G_LSEEK64): Likewise.
7396 (_G_MMAP64): Likewise.
7397 (_G_FSTAT64): Likewise.
7398 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7399 (_G_LSEEK64): Likewise.
7400 (_G_MMAP64): Likewise.
7401 (_G_FSTAT64): Likewise.
7402 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7403 unconditional. Call __mmap64 directly.
7404 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7405 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7406 __lseek64 directly.
7407 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7408 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7409 __mmap64 directly.
7410 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7411 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7412 __lseek64 directly.
7413 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7414 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7415 __lseek64 directly.
7416 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7417 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7418 __lseek64 directly.
7419 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7420 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7421 __fxstat64 directly.
7422 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7423 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7424 unconditional.
7425 (freopen64) [!_G_OPEN64]: Remove conditional code.
7426 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7427 unconditional.
7428 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7429 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7430 unconditional.
7431 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7432 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7433 unconditional.
7434 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7435 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7436 unconditional.
7437 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7438 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7439 unconditional.
7440 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7441 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7442 unconditional.
7443 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7444 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7445 unconditional.
7446 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7447
b741de23
SP
74482012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7449
7450 [BZ #12140]
7451 * manual/memory.texi (Malloc Tunable Parameters): Add note
7452 about free list pointers overwriting some perturb bytes.
7453 Wording suggested by Roland McGrath.
7454
f9b9d9c9
JM
74552012-10-17 Joseph Myers <joseph@codesourcery.com>
7456
7457 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7458 (lgamma_test): Likewise.
7459 (tgamma_test): Likewise.
7460
172a631a
FW
74612012-10-16 Florian Weimer <fweimer@redhat.com>
7462
7463 [BZ #14700]
7464 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7465 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7466
e9f37252
MK
74672012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7468
7469 * NEWS: Mention BZ #14716.
7470 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7471 when removing AVAILABLE1_USES_J macro.
7472
d394eb74
L
74732012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7474
7475 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7476 (__bswap_64): __uint64_t for unsigned 64-bit int.
7477
ca38dc17
AS
74782012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7479
7480 * include/string.h (memmem): Declare libc hidden alias.
7481 * string/memmem.c (memmem): Define libc hidden alias.
7482 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7483 __read, __close instead of open, read, close.
7484
9a387d1f
L
74852012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7486
ac49ecaf
L
7487 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7488 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7489 global and hidden.
7490 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7491 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7492 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7493 Likewise.
7494 (__rawmemchr_sse2): Likewise.
7495 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7496 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7497 (__strchr_sse2): Likewise.
7498 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7499 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7500 (__strcasecmp_sse2): Likewise.
7501 (__strncasecmp_sse2): Likewise.
7502 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7503 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7504 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7505 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7506 (__strrchr_sse2): Likewise.
7507 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7508 ifunc-impl-list.c.
7509 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7510 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7511 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7512 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7513 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7514 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7515 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7516 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7517 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7518 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7519 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7520 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7521 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7522 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7523 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7524 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7525 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7526 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7527 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7528 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7529 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7530 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7531 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7532 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7533 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7534 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7535 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7536 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7537 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7538 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7539
b090e8ea
L
7540 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7541 global and hidden.
7542 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7543 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7544 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7545 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7546 Likewise.
7547 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7548 Likewise.
7549 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7550 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7551 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7552 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7553 ifunc-impl-list.c.
7554 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7555 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7556 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7557 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7558 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7559 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7560 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7561 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7562 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7563 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7564 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7565 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7566 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7567 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7568 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7569 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7570 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7571 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7572 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7573 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7574 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7575 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7576 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7577 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7578 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7579 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7580 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7581 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7582 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7583 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7584 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7585 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7586 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7587 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7588 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7589 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7590 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7591 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7592 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7593 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7594 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7595
11dd4af6
L
7596 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7597 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7598 * include/ifunc-impl-list.h: New file.
7599 * misc/ifunc-impl-list.c: Likewise.
7600 * misc/Makefile (routines): Add ifunc-impl-list.
7601 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7602 * string/test-string.h: Include <ifunc-impl-list.h>.
7603 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7604 impl_array): New variables.
7605 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7606 are defined.
7607 (test_init): Call __libc_ifunc_impl_list to initialize
7608 func_list if TEST_IFUNC and TEST_NAME are defined.
7609
9a387d1f
L
7610 * string/Makefile (strop-tests): Add bcopy and bzero.
7611 * string/test-bcopy.c: New file.
7612 * string/test-bzero.c: Likewise.
7613 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7614 defined.
7615 * string/test-memset.c: Support bzero test if TEST_BZERO is
7616 defined.
7617 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7618 __libc_memmove.
7619 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7620 __libc_memset.
7621 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7622 of memset.
7623
472371b9
JM
76242012-10-10 Joseph Myers <joseph@codesourcery.com>
7625
1e4a9536
JM
7626 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7627 * configure: Regenerated.
7628
d173d12e
JM
7629 * Makeconfig (+link-static-before-libc): Don't include
7630 $(link-static-libc).
7631
472371b9
JM
7632 * libio/libio.h (_IO_pos_t): Remove.
7633
89a3ad0b
AO
76342012-10-10 Alexandre Oliva <aoliva@redhat.com>
7635
7636 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7637 McGrath.
7638
e7451425
AO
76392012-10-10 Alexandre Oliva <aoliva@redhat.com>
7640
7641 * crypt/crypt-entry.c: Include fips-private.h.
7642 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7643 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7644 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7645 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7646
4ba74a35
AO
76472012-10-10 Alexandre Oliva <aoliva@redhat.com>
7648
7649 * crypt/crypt-private.h: Include stdbool.h.
7650 (_ufc_setup_salt_r): Return bool.
7651 * crypt/crypt-entry.c: Include errno.h.
7652 (__crypt_r): Return NULL with EINVAL for bad salt.
7653 * crypt/crypt_util.c (bad_for_salt): New.
7654 (_ufc_setup_salt_r): Check that salt is long enough and within
7655 the specified alphabet.
7656 * crypt/badsalttest.c: New file.
7657 * crypt/Makefile (tests): Add it.
7658 ($(objpfx)badsalttest): New.
7659
f96f1242
MK
76602012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7661
7662 * NEWS: Add entry for BZ #14602.
7663
0e8e0c1c
JM
76642012-10-09 Joseph Myers <joseph@codesourcery.com>
7665
7666 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7667 type-generic.
7668 * math/libm-test.inc: Update comment listing what functions and
7669 macros are tested.
7670 (isgreater_test): New function.
7671 (isgreaterequal_test): Likewise.
7672 (isless_test): Likewise.
7673 (islessequal_test): Likewise.
7674 (islessgreater_test): Likewise.
7675 (isunordered_test): Likewise.
7676 (main): Call the new functions.
7677
273edc5e
RM
76782012-10-09 Roland McGrath <roland@hack.frob.com>
7679
b8493de0
RM
7680 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7681 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7682 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7683 * sysdeps/i386/configure: Regenerated.
7684 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7685 * sysdeps/mach/configure: Regenerated.
7686 * sysdeps/mach/hurd/configure: Regenerated.
7687 * sysdeps/powerpc/configure: Regenerated.
7688 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7689 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7690 * sysdeps/s390/s390-32/configure: Regenerated.
7691 * sysdeps/s390/s390-64/configure: Regenerated.
7692 * sysdeps/sh/configure: Regenerated.
7693 * sysdeps/sparc/configure: Regenerated.
7694 * sysdeps/unix/sysv/linux/configure: Regenerated.
7695 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7696 * sysdeps/x86_64/configure: Regenerated.
7697
273edc5e
RM
7698 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7699 defined. Don't check if MAP is NULL.
7700
c8450f70
JM
77012012-10-09 Joseph Myers <joseph@codesourcery.com>
7702
7703 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7704 (_G_stat64): Likewise.
7705 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7706 (_G_stat64): Likewise.
7707 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7708 instead of struct _G_stat64.
7709 * libio/fileops.c (mmap_remap_check): Likewise.
7710 (decide_maybe_mmap): Likewise.
7711 (_IO_new_file_seekoff): Likewise.
7712 (_IO_file_stat): Likewise.
7713 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7714 _G_off64_t.
7715 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7716 instead of struct _G_stat64.
7717 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7718
57e605ba
MK
77192012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7720
7721 [BZ #14602]
7722 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7723 Replace with ...
7724 (CHECK_EOL): New macro.
7725 (two_way_short_needle): Check beginning of haystack for EOL. Use
7726 CHECK_EOL.
7727 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7728 Replace with CHECK_EOL.
7729 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7730 Replace with CHECK_EOL.
7731
ef1bb361
JM
77322012-10-08 Joseph Myers <joseph@codesourcery.com>
7733
7734 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7735 type-generic.
7736 * math/libm-test.inc: Update comment listing what functions and
7737 macros are tested.
7738 (finite_test): New function.
7739 (isinf_test): Likewise.
7740 (isnan_test): Likewise.
7741 (fpclassify_test): Test subnormal input.
7742 (isfinite_test): Likewise.
7743 (isnormal_test): Likewise.
7744 (main): Call the new functions.
7745
55f11534
JN
77462012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7747
7748 [BZ #14660]
7749 * Makerules (%.dynsym): Force C locale when running
7750 $(OBJDUMP) --dynamic-syms.
7751
1ab29350
AS
77522012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7753
7754 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7755 <stdint.h>.
7756
f1ecb7ef
DM
77572012-10-06 David S. Miller <davem@davemloft.net>
7758
7759 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7760 upper 32-bits of the length value in %o2 since we use branch-on-register
7761 tests which consider the entire 64-bit register.
7762
5d41d91a
L
77632012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7764
7765 * string/test-strstr.c (check2): Add a test for page boundary.
7766
3baddb72
DM
77672012-10-05 David S. Miller <davem@davemloft.net>
7768
7769 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7770 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7771 file.
7772 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7773 sysdep_routines.
7774 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7775 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7776 and bzero when HWCAP_SPARC_CRYPTO is present.
7777
9cee5585
L
77782012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7779
d7e0dab9
L
7780 [BZ #14602]
7781 * string/test-strstr.c (check2): New function.
7782 (test_main): Call check2.
7783
03759f47
L
7784 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7785 and bug-strchr1.
7786 * string/bug-strcasestr1.c (do_test): Moved to ...
7787 * string/test-strcasestr.c (check1): Here. New function.
7788 (do_one_test): Break out result checking code into ...
7789 (check_result): This. New function.
7790 (do_one_test): Call check_result.
7791 (test_main): Call check1.
7792 * string/bug-strchr1.c (do_test): Moved to ...
7793 * string/test-strchr.c (check1): Here. New function.
7794 (do_one_test): Break out result checking code into ...
7795 (check_result): This. New function.
7796 (do_one_test): Call check_result.
7797 (test_main): Call check1.
7798 * string/bug-strstr1.c (main): Moved to ...
046f153e 7799 * string/test-strstr.c (check1): Here. New function.
03759f47
L
7800 (do_one_test): Break out result checking code into ...
7801 (check_result): This. New function.
7802 (do_one_test): Call check_result.
7803 (test_main): Call check1.
7804 * string/bug-strcasestr1.c: Removed.
7805 * string/bug-strchr1.c: Likewise.
7806 * string/bug-strstr1.c: Likewise.
7807
53cea63e
L
7808 * elf/Makefile (dl-routines): Add hwcaps.
7809 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7810 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7811 (_dl_important_hwcaps): Moved to ...
7812 * elf/dl-hwcaps.c: Here. New file.
7813 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7814
9cee5585 7815 [BZ #14557]
bb859b06
L
7816 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7817 if IS_IN_rtld isn't defined.
7818
9cee5585
L
7819 * elf/dl-support.c (_dl_sysinfo_map): New.
7820 Include "get-dynamic-info.h" and "setup-vdso.h".
7821 (_dl_non_dynamic_init): Call setup_vdso.
7822 * elf/dynamic-link.h: Don't include <assert.h>.
7823 (elf_get_dynamic_info): Moved to ...
7824 * elf/get-dynamic-info.h: Here. New file.
7825 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7826 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7827 * elf/setup-vdso.h: Here. New file.
7828 * elf/rtld.c: Include "setup-vdso.h".
7829 (dl_main): Call setup_vdso.
7830
23c31b76
JM
78312012-10-05 Joseph Myers <joseph@codesourcery.com>
7832
28234b07
JM
7833 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7834 creal in comment listing functions tested. List finite, isinf,
7835 isnan, isless, islessequal, isgreater, isgreaterequal,
7836 islessgreater, isunordered, lgamma_r and pow10 as functions and
7837 macros not tested. Mention which functions not tested are aliases
7838 for other functions. Fix typo. Note that signs of NaNs are not
7839 tested.
7840
23c31b76
JM
7841 * scripts/config.guess: Update from config.git.
7842 * scripts/config.sub: Likewise.
7843
9043e228
RM
78442012-10-04 Roland McGrath <roland@hack.frob.com>
7845
7846 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7847 * misc/madvise.c (madvise): Renamed to __madvise.
7848 Make madvise a weak alias.
7849 * include/sys/mman.h: Declare __madvise.
7850 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7851 * sysdeps/unix/syscalls.list
7852 (madvise): Make __madvise the strong name, and madvise a weak alias.
7853 * sysdeps/unix/sysv/linux/syscalls.list
7854 (madvise, mmap): Remove redundant entries.
7855 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7856 * malloc/malloc.c (mtrim): Likewise.
7857 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7858
f57f8055
RM
78592012-10-03 Roland McGrath <roland@hack.frob.com>
7860
7861 * sysdeps/mach/hurd/dl-cache.c: File removed.
7862 * config.h.in (USE_LDCONFIG): New #undef.
7863 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7864 * configure: Regenerated.
7865 * elf/Makefile (dl-routines): Add dl-cache only under
7866 [$(use-ldconfig) = yes].
7867 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7868 cache on [USE_LDCONFIG].
7869 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7870 [USE_LDCONFIG].
7871 * elf/rtld.c (dl_main): Likewise.
7872
5bb0c10a
PT
78732012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7874
7875 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7876 _SC_LEVEL4_CACHE_LINESIZE.
7877
010188c6
RM
78782012-10-03 Roland McGrath <roland@hack.frob.com>
7879
7880 * sysdeps/unix/bsd/confstr.h: File removed.
7881
b6c5ec07
AO
78822012-10-02 Alexandre Oliva <aoliva@redhat.com>
7883
7884 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7885 sys/sdt-config.h.
7886
408223d4
RM
78872012-10-02 Roland McGrath <roland@hack.frob.com>
7888
7889 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7890 Make 'mapoff' field ElfW(Off) rather than off_t.
7891
bb9510dc
DL
78922012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7893
fc997c6e
DL
7894 * nscd/Makefile: Remove nscd-cflags and all its users.
7895 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7896 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7897
bb9510dc
DL
7898 [BZ #10631]
7899 * malloc.c (malloc_printerr): Clarify error message.
7900
05699367
L
79012012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7902
7903 [BZ #14648]
7904 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7905 Set bit_FMA_Usable if FMA is supported.
7906 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7907 macro.
7908 (bit_FMA4_Usable): Updated.
7909 (index_FMA_Usable): New macro.
7910 (CPUID_FMA): Likewise
7911 (HAS_FMA): Defined with bit_FMA_Usable.
7912
51367701
RM
79132012-10-01 Roland McGrath <roland@hack.frob.com>
7914
7915 * bits/types.h (__swblk_t): Type removed.
7916 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
7917 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
7918 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
7919 (__SWBLK_T_TYPE): Likewise.
7920 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
7921 (__SWBLK_T_TYPE): Likewise.
7922 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
7923 (__SWBLK_T_TYPE): Likewise.
7924 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
7925 (__SWBLK_T_TYPE): Likewise.
7926
4d57bf63 79272012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 7928 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
7929
7930 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
7931 (xdr_mapname): Use YPMAXMAP as maxsize.
7932 (xdr_peername): Use YPMAXPEER as maxsize.
7933 (xdr_keydat): Use YPAXRECORD as maxsize.
7934 (xdr_valdat): Use YPMAXRECORD as maxsize.
7935
93c65d43
RM
79362012-10-01 Roland McGrath <roland@hack.frob.com>
7937
497a03d6
RM
7938 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
7939
93c65d43
RM
7940 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
7941 * csu/init-first.c: ... here.
7942 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
7943 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7944 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
7945 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
7946 * sysdeps/i386/init-first.c: File removed.
7947 * sysdeps/sh/init-first.c: File removed.
7948
bec749fd
JM
79492012-10-01 Joseph Myers <joseph@codesourcery.com>
7950
7951 [BZ #14645]
7952 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
7953 if x * y might underflow to zero and z is zero.
7954 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7955 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7956 * math/libm-test.inc (min_subnorm_value): New variable.
7957 (fma_test): Add more tests.
7958 (fma_test_towardzero): Likewise.
7959 (fma_test_downward): Likewise
7960 (fma_test_upward): Likewise.
7961 (initialize): Set min_subnorm_value.
7962
8ec5b013
JM
79632012-09-29 Joseph Myers <joseph@codesourcery.com>
7964
7965 [BZ #14638]
7966 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
7967 0 + 0.
7968 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
7969 mode for addition resulting in exact zero.
7970 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
7971 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
7972 exact 0 + 0.
7973 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7974 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7975 * math/libm-test.inc (fma_test): Add more tests.
7976 (fma_test_towardzero): New function.
7977 (fma_test_downward): Likewise.
7978 (fma_test_upward): Likewise.
7979 (main): Call the new functions.
7980
b1fa802e
DM
79812012-09-28 David S. Miller <davem@davemloft.net>
7982
7983 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
7984
d3b9fd9e
RM
79852012-09-28 Roland McGrath <roland@hack.frob.com>
7986
ea4d37b3
RM
7987 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
7988 instead of SIGALRM.
7989
ac51c949
RM
7990 * sysdeps/gnu/_G_config.h: Moved to ...
7991 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
7992 * sysdeps/mach/hurd/_G_config.h: Moved to ...
7993 * sysdeps/generic/_G_config.h: ... here.
7994
28c195f7
RM
7995 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
7996
848917f9
RM
7997 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
7998
6bacf05b
RM
7999 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8000 Conditionalize target on [libnss_test1.so-version].
8001
91363dbb
RM
8002 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8003
cc87f7d8
RM
8004 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8005 (elfobjdir): Move out of conditionals.
8006
b1c608fe
RM
8007 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8008 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8009 (__nss_lookup_function): Conditionalize label remove_from_tree on
8010 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 8011
1d9a6d96
DM
80122012-09-28 David S. Miller <davem@davemloft.net>
8013
8014 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8015 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8016 file.
8017 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8018 sysdep_routines.
8019 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8020 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8021 when HWCAP_SPARC_CRYPTO is present.
8022
72581615
PT
80232012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8024
8025 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8026
715a900c
JL
80272012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8028
8029 [BZ #6530]
8030 * stdio-common/vfprintf.c (process_string_arg): Revert
8031 2000-07-22 change.
8032
80332011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8034
8035 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8036 for testcase.
8037 * stdio-common/tst-sprintf.c: Include <locale.h>
8038 (main): Test sprintf's handling of incomplete multibyte
8039 characters.
8040
9bac1d86
L
80412012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8042
8043 * elf/dl-runtime.c (VERSYMIDX): Removed.
8044 * elf/dl-version.c (VERSYMIDX): Likewise.
8045 * elf/do-rel.h (VERSYMIDX): Likewise.
8046 (VALIDX): Likewise.
8047 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8048 * elf/rtld.c (VALIDX): Likewise.
8049 (ADDRIDX): Likewise.
9bac1d86
L
8050 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8051 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8052 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
8053 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8054 (VALIDX): Likewise.
8055 (ADDRIDX): Likewise.
9bac1d86 8056
b31606c0
PT
80572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8058
8059 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8060
11541177
JL
80612012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8062
8063 [BZ #11438]
8064 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8065 to global scope.
8066 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8067 addresses are in the same scope as 192.0.2/24.
8068 * posix/gai.conf: Document new scope table defaults.
8069
adb26fae
SP
80702012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8071
8072 [BZ #5298]
8073 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8074 for ftell. Compute offsets from write pointers instead.
8075 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8076
4573c6b0
SP
80772012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8078
8079 [BZ #14543]
8080 * libio/Makefile (tests): New test case tst-fseek.
8081 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8082 combination works in wide mode.
8083 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8084 state when the external buffer state changes.
8085
aa9bbfe6
DM
80862012-09-27 David S. Miller <davem@davemloft.net>
8087
8088 [BZ #14376]
8089 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8090 pass reloc->r_addend in as the 'high' argument to
8091 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8092
784421e7
DM
8093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8094
c39bc8b8
PT
80952012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8096
8097 * rt/tst-aio2.c: Include <pthread.h>.
8098 * rt/tst-aio3.c: Likewise.
8099
1ccc2399
SE
81002012-09-27 Steve Ellcey <sellcey@mips.com>
8101
8102 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8103
31ed4153
L
81042012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8105
25f5f885
L
8106 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8107 contents on [SHARED].
31ed4153 8108
b7bfe116
MP
81092012-09-26 Marek Polacek <polacek@redhat.com>
8110
8111 [BZ #14530]
8112 [BZ #13741]
8113 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8114 for C++ and GCC <4.3 as well as for non GCC compilers.
8115
43c4edba
MT
81162012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8117
8118 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8119
6a1bf82f
RM
81202012-09-25 Roland McGrath <roland@hack.frob.com>
8121
8122 * Makefile.in (all, install): Declare with .PHONY.
8123 Reported by Michael Hope <michael.hope@linaro.org>.
8124
8ad11b9a
TMQMF
81252012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8126
8127 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8128 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8129 system header.
8130 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8131 Likewise.
8132 (sydep_routines): Add the new and the internal functions.
8133 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8134 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8136 (GLIBC_2.17): Add the new function.
8137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8138 (GLIBC_2.17): Likewise.
8139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8140 (GLIBC_2.17): Likewise.
8141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8142 (GLIBC_2.17): Likewise.
8143 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8144
7e2fca8d
AM
81452012-09-25 Alan Modra <amodra@gmail.com>
8146
8147 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8148 Add release barrier before setting once_control to say
8149 initialisation is done. Add hints on lwarx. Use macro in
8150 place of isync.
8151 (clear_once_control): Add release barrier.
8152
b87c4b24
JM
81532012-09-25 Joseph Myers <joseph@codesourcery.com>
8154
d032e0d2
JM
8155 [BZ #13629]
8156 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8157 specially.
8158 * math/s_clog10.c (__clog10): Likewise.
8159 * math/s_clog10f.c (__clog10f): Likewise.
8160 * math/s_clog10l.c (__clog10l): Likewise.
8161 * math/s_clogf.c (__clogf): Likewise.
8162 * math/s_clogl.c (__clogl): Likewise.
8163 * math/Makefile (libm-calls): Add x2y2m1.
8164 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8165 (__x2y2m1): Likewise.
8166 (__x2y2m1l): Likewise.
8167 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8168 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8169 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8170 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8171 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8172 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8173 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8174 * sysdeps/i386/fpu/libm-test-ulps: Update.
8175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8176
b87c4b24
JM
8177 [BZ #14621]
8178 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8179 int as type of variable DEPTH.
8180 (glob): Use size_t instead of int as type of variables NEWCOUNT
8181 and OLD_PATHC.
8182
6d3bf199
LD
81832012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8184
22bf5c17
LD
8185 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8186 Add s_sincosf-sse2.
8187 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8188 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8189 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8190 macros for using routine as __sincosf_ia32.
8191 Use macro for function declaration and weak_alias.
8192 * sysdeps/i386/fpu/libm-test-ulps: Update.
8193
8194 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8195 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8196
8197 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
8198 subnormal argument.
8199 * math/s_cexpf.c (__cexpf): Likewise.
8200 * math/s_csinf.c (__csinf): Likewise.
8201 * math/s_csinhf.c (__csinhf): Likewise.
8202 * math/s_ctanf.c (__ctanf): Likewise.
8203 * math/s_ctanhf.c (__ctanhf): Likewise.
8204 * math/s_ccosh.c (__ccoshf): Likewise.
8205 * math/s_cexp.c (__cexpl): Likewise.
8206 * math/s_csin.c (__csin): Likewise.
8207 * math/s_csinh.c (__csinh): Likewise.
8208 * math/s_ctan.c (__ctan): Likewise.
8209 * math/s_ctanh.c (ctanh): Likewise.
8210 * math/s_ccoshl.c (__ccoshl): Likewise.
8211 * math/s_cexpl.c (__cexpl): Likewise.
8212 * math/s_csinl.c (__csinl): Likewise.
8213 * math/s_csinhl.c (__csinhl): Likewise.
8214 * math/s_ctanl.c (__ctanl): Likewise.
8215 * math/s_ctanhl.c (__ctanhl): Likewise.
8216
203e5603
JM
82172012-09-25 Joseph Myers <joseph@codesourcery.com>
8218
8219 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8220 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8221 (_IO_off_t): Define to __off_t, not _G_off_t.
8222 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8223 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8224 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8225 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8226 type of __dummy and __dummy2 fields.
8227 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8228 (_G_ssize_t): Likewise.
8229 (_G_off_t): Likewise.
8230 (_G_pid_t): Likewise.
8231 (_G_uid_t): Likewise.
8232 (_G_wchar_t): Likewise.
8233 (_G_wint_t): Likewise.
8234 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8235 (_G_ssize_t): Likewise.
8236 (_G_off_t): Likewise.
8237 (_G_pid_t): Likewise.
8238 (_G_uid_t): Likewise.
8239 (_G_wchar_t): Likewise.
8240 (_G_wint_t): Likewise.
8241 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8242 (_G_ssize_t): Likewise.
8243 (_G_off_t): Likewise.
8244 (_G_pid_t): Likewise.
8245 (_G_uid_t): Likewise.
8246 (_G_wchar_t): Likewise.
8247 (_G_wint_t): Likewise.
8248
9fab36eb
SP
82492012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8250
8251 * malloc/arena.c: Include malloc-sysdep.h.
8252 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8253 is sufficient to shrink the heap or an unmap is needed.
8254 * sysdeps/generic/malloc-sysdep.h: New file. Define
8255 new function check_may_shrink_heap.
8256 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8257 new function check_may_shrink_heap.
8258
2b4f00d1
SP
82592012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8260
8261 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8262 comments.
8263
9a9028b1
DL
82642012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8265
57c69bef
DL
8266 * catgets/test-gencat.sh: Add "set -e".
8267 * elf/tst-pathopt.sh: Likewise.
8268 * grp/tst_fgetgrent.sh: Likewise.
8269 * iconvdata/run-iconv-test.sh: Likewise.
8270 * intl/tst-gettext.sh: Likewise.
8271 * intl/tst-gettext2.sh: Likewise.
8272 * intl/tst-gettext4.sh: Likewise.
8273 * intl/tst-gettext6.sh: Likewise.
8274 * intl/tst-translit.sh: Likewise.
8275 * io/ftwtest-sh: Likewise.
8276 * libio/test-freopen.sh: Likewise.
8277 * malloc/tst-mtrace.sh: Likewise.
8278 * posix/globtest.sh: Likewise.
8279 * posix/tst-getconf.sh: Likewise.
8280 * posix/wordexp-tst.sh: Likewise.
8281 * stdio-common/tst-printf.sh: Likewise.
8282 * stdio-common/tst-unbputc.sh: Likewise.
8283 * stdlib/tst-fmtmsg.sh: Likewise.
8284 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8285 * catgets/Makefile: Do not specify -e option when running
8286 testsuite shell scripts.
8287 * elf/Makefile: Likewise.
8288 * grp/Makefile: Likewise.
8289 * iconvdata/Makefile: Likewise.
8290 * intl/Makefile: Likewise.
8291 * io/Makefile: Likewise.
8292 * libio/Makefile: Likewise.
8293 * malloc/Makefile: Likewise.
8294 * posix/Makefile: Likewise.
8295 * stdio-common/Makefile: Likewise.
8296 * stdlib/Makefile: Likewise.
8297 * sysdeps/x86_64/Makefile: Likewise.
8298
9a9028b1
DL
8299 * io/ftwtest-sh: Add copyright header.
8300 * posix/globtest.sh: Likewise.
8301 * posix/tst-getconf.sh: Likewise.
8302 * posix/wordexp-tst.sh: Likewise.
8303 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8304
ced6f16e
L
83052012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8306
94b32c39
L
8307 [BZ #13679]
8308 * Makeconfig (+link): Defined as $(+link-static) if
8309 $(build-shared) isn't yes.
8310 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8311 isn't yes.
8312 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8313
189e935b
L
8314 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8315
ced6f16e
L
8316 [BZ #14562]
8317 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8318 new chunk size with MALLOC_ALIGN_MASK.
8319
a9f8e53a
JM
83202012-09-24 Joseph Myers <joseph@codesourcery.com>
8321
8322 [BZ #5044]
8323 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8324 <rounding-mode.h>.
8325 (__printf_fphex): Determine rounding using get_rounding_mode and
8326 round_away.
8327 * stdio-common/tst-printf-round.c (struct hex_test): New
8328 structure.
8329 (hex_tests): New variable.
8330 (test_hex_in_one_mode): New function.
8331 (do_test): Also run tests for hex float output.
8332
43153109
JM
83332012-09-21 Joseph Myers <joseph@codesourcery.com>
8334
8335 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8336 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8337 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8338 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8339 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8340 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8341 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8342 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8343
8a26625d
JM
83442012-09-20 Joseph Myers <joseph@codesourcery.com>
8345
8346 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8347 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8348 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8349 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8350
f3fd569c
DL
83512012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8352
8353 [BZ #14579]
8354 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8355 mode only.
8356 * elf/tst-rtld-load-self.sh: New test.
8357 * elf/Makefile: Run it.
8358
63bbedd4
JM
83592012-09-18 Joseph Myers <joseph@codesourcery.com>
8360
8361 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8362 (tst-writev-ENV): Remove.
8363 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8364
626f8b6a
CM
83652012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8366
8367 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8368
b7aaa4d6
JM
83692012-09-17 Joseph Myers <joseph@codesourcery.com>
8370
8371 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8372 unconditional.
8373 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8374 Likewise.
8375 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8376 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8377 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8378 Likewise.
8379
65513990
L
83802012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8381
8382 [BZ #14587]
8383 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8384 * config.make.in (have-cpp-asm-debuginfo): Removed.
8385 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8386 * configure: Regenerated.
8387
784761be
JM
83882012-09-14 Joseph Myers <joseph@codesourcery.com>
8389
8390 [BZ #5044]
8391 * stdio-common/printf_fp.c: Include <stdbool.h> and
8392 <rounding-mode.h>.
8393 (___printf_fp): Determine rounding using get_rounding_mode and
8394 round_away.
8395 * stdio-common/tst-printf-round.c: New file.
8396 * stdio-common/Makefile (tests): Add tst-printf-round.
8397 (link-libm): New variable.
8398 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8399
9503345f
L
84002012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8401
8402 [BZ #14576]
8403 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8404 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8405 Likewise.
8406 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8407 Likewise.
8408
ad35fc00
JM
84092012-09-13 Joseph Myers <joseph@codesourcery.com>
8410
8411 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8412 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8413 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8414 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8415
6c9b0f68
JM
84162012-09-12 Joseph Myers <joseph@codesourcery.com>
8417
8418 [BZ #14518]
8419 * include/rounding-mode.h: New file.
8420 * sysdeps/generic/get-rounding-mode.h: Likewise.
8421 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8422 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8423 (MAX_VALUE): New macro.
8424 (MIN_VALUE): Likewise.
8425 (overflow_value): New function.
8426 (underflow_value): Likewise.
8427 (round_and_return): Use overflow_value and underflow_value to
8428 determine return values in overflow and underflow cases. Use
8429 round_away to determine rounding depending on rounding mode.
8430 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8431 determine return values in overflow and underflow cases.
8432 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8433 (struct test_results): New structure.
8434 (struct test): Use struct test_results to store expected results
8435 for all rounding modes.
8436 (TEST): Include expected results for all rounding modes.
8437 (test_in_one_mode): New function.
8438 (do_test): Use test_in_one_mode to compute and check results.
8439 Check results for all rounding modes.
8440 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8441 $(link-libm).
8442
19fcedd5
AM
84432012-12-09 Allan McRae <allan@archlinux.org>
8444
1e9d84cd 8445 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 8446
8bbfd2f1
JM
84472012-09-11 Joseph Myers <joseph@codesourcery.com>
8448
8449 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8450 (_G_int32_t): Likewise.
8451 (_G_uint16_t): Likewise.
8452 (_G_uint32_t): Likewise.
8453 (_G_HAVE_BOOL): Likewise.
8454 (_G_HAVE_ATEXIT): Likewise.
8455 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8456 (_G_HAVE_IO_FILE_OPEN): Likewise.
8457 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8458 (_G_int32_t): Likewise.
8459 (_G_uint16_t): Likewise.
8460 (_G_uint32_t): Likewise.
8461 (_G_HAVE_BOOL): Likewise.
8462 (_G_HAVE_ATEXIT): Likewise.
8463 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8464 (_G_HAVE_IO_FILE_OPEN): Likewise.
8465 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8466 (_G_int32_t): Likewise.
8467 (_G_uint16_t): Likewise.
8468 (_G_uint32_t): Likewise.
8469 (_G_HAVE_BOOL): Likewise.
8470 (_G_HAVE_ATEXIT): Likewise.
8471 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8472 (_G_HAVE_IO_FILE_OPEN): Likewise.
8473
b1dc5912
L
84742012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8475
8476 * csu/libc-tls.c: Update copyright years.
8477
0e886ef9
JM
84782012-09-10 Joseph Myers <joseph@codesourcery.com>
8479
28361c5e
JM
8480 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8481 [!_G_USING_THUNKS]: Remove conditional code.
8482 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8483 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8484
0e886ef9
JM
8485 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8486 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8487 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8488 (_G_VTABLE_LABEL_PREFIX): Likewise.
8489 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8490 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8491 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8492 (_G_VTABLE_LABEL_PREFIX): Likewise.
8493 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8494 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8495 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8496 (_G_VTABLE_LABEL_PREFIX): Likewise.
8497 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8498
bcba7aa2
L
84992012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8500
8501 * libio/Makefile: Include ../Makeconfig before tests.
8502 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8503 only if $(build-shared) is yes.
8504
06585ee8
L
8505 * iconv/gconv_db.c: Update copyright years.
8506
80ccd52c
LD
85072012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8508
8509 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8510 unwind info if defined PIC. Fix special cases description.
8511 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8512
8513 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8514 DP_HI_MASK entry.
8515 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8516
691bc9c1
L
85172012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8518
3d9b46b3
L
8519 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8520
de2139a9
L
8521 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8522 is NULL.
8523
5ca78dd0
L
8524 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8525 (LDLIBS-tst-chk4): This.
8526 (LDFLAGS-tst-chk5): Renamed to ...
8527 (LDLIBS-tst-chk5): This.
8528 (LDFLAGS-tst-chk6): Renamed to ...
8529 (LDLIBS-tst-chk6): This.
8530 (LDFLAGS-tst-lfschk4): Renamed to ...
8531 (LDLIBS-tst-lfschk4): This.
8532 (LDFLAGS-tst-lfschk5): Renamed to ...
8533 (LDLIBS-tst-lfschk5): This.
8534 (LDFLAGS-tst-lfschk6): Renamed to ...
8535 (LDLIBS-tst-lfschk6): This.
8536
691bc9c1
L
8537 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8538 on $(common-objpfx)soversions.mk.
8539
65cafb1c
JM
85402012-09-07 Joseph Myers <joseph@codesourcery.com>
8541
8542 [BZ #10014]
8543 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8544 example host name.
8545
c78ab094
SP
85462012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8547
8548 * malloc/arena.c (arena_get_retry): New function that gets
8549 another arena for the caller to try its request on.
8550 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8551 current arena cannot fulfill the request.
8552 (__libc_memalign): Likewise.
8553 (__libc_memalign): Likewise.
8554 (__libc_pvalloc): Likewise.
8555 (__libc_calloc): Likewise.
8556
01f49f59
JT
85572012-09-05 John Tobey <john.tobey@gmail.com>
8558
8559 [BZ #13542]
8560 * manual/arith.texi (Operations on Complex): Fix description
8561 of carg branch cut.
8562
4c23fed5
JM
85632012-09-06 Joseph Myers <joseph@codesourcery.com>
8564
1d3c8572
JM
8565 [BZ #10014]
8566 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8567 host name.
8568
4c23fed5
JM
8569 [BZ #10038]
8570 * manual/memory.texi (Memory): Make order of menu items match
8571 order of sections.
8572
04570aaa
L
85732012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8574
8575 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8576 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8577 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8578
b80af2f4
L
85792012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8580
8581 * csu/libc-tls.c (static_dtv): Renamed to ...
8582 (_dl_static_dtv): This. Make it global.
8583 (_dl_initial_dtv): Removed.
8584 (__libc_setup_tls): Updated.
8585 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8586 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8587 DL_INITIAL_DTV.
8588
2abe9f15
PM
85892012-09-06 Petr Machata <pmachata@redhat.com>
8590
8591 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8592 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8593 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8594 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8595
0948c3af
L
85962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8597
8598 [BZ #14545]
8599 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8600 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8601 freeing dtv[-1].
8602
a5055ad1
L
86032012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8604
8605 [BZ #14544]
8606 * Makeconfig (link-static-before-libc): Replace $(+prector)
8607 with $(+prectorT).
8608 (link-static-after-libc): Replace $(+postctor) with
8609 $(+postctorT).
8610 (link-bounded): Replace $(+prector)/$(+postctor) with
8611 $(+prectorT)/$(+postctorT).
8612 (+prectorT): New macro.
8613 (+postctorT): Likewise.
8614
ed8c2ecd
JM
86152012-09-06 Joseph Myers <joseph@codesourcery.com>
8616
8617 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8618 (round_str): Handle values above the maximum for IBM long double
8619 as inexact.
8620 * stdlib/tst-strtod-round.c (tests): Regenerated.
8621
14c996c8
AK
86222012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8623
8624 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8625 assembler flag.
8626 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8627 zarch_nohighgprs around the zarch optimized routines.
8628 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8629 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8630 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8631 for zarch.
8632
430d6ce6
DM
86332012-09-05 David S. Miller <davem@davemloft.net>
8634
8635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8636
ff04dda4
DM
8637 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8638 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8639 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8640 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8641 entries.
8642
24d4e01b
AO
86432012-09-05 Alexandre Oliva <aoliva@redhat.com>
8644
8645 * malloc/arena.c: Fold copyright years.
8646 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8647
61d58174
AO
86482012-09-05 Alexandre Oliva <aoliva@redhat.com>
8649
8650 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8651
20196a5e
AO
86522012-09-05 Alexandre Oliva <aoliva@redhat.com>
8653
8654 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8655
5c447383
AO
86562012-09-05 Alexandre Oliva <aoliva@redhat.com>
8657
8658 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8659 change internal state upon failure.
8660
fad64255
AO
86612012-09-05 Alexandre Oliva <aoliva@redhat.com>
8662
8663 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8664 * malloc/memusage.c (mmap): Likewise.
8665 (mmap64, mremap): Likewise. Adjust name in comment.
8666
1ffb8c90
SP
86672012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8668
8669 * libio/fileops.c: Fix typos in comments.
8670 * libio/oldfileops.c: Likewise.
8671 * libio/wfileops.c: Likewise.
8672
6ef9cc37
SP
86732012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8674
8675 [BZ #1349]
8676 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8677 (tst-malloc-usable-ENV): Set environment for test case.
8678 * malloc/hooks.c (malloc_check_get_size): New function to get
8679 requested size.
8680 * malloc/malloc.c (musable): Use malloc_check_get_size.
8681 * malloc/tst-malloc-usable.c: New test case.
8682
4d038ae3
AS
86832012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8684
8685 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8686
c4e85184
AM
86872012-09-05 Allan McRae <allan@archlinux.org>
8688
b9dafc56 8689 [BZ #13966]
c4e85184
AM
8690 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8691 determine header location.
8692 * configure: Regenerated.
8693
e1343020
AS
86942012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8695
8696 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8697 float format.
8698 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
8699 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8700 format.
e1343020
AS
8701 (test): Regenerate.
8702
0a9f1987
DM
87032012-09-04 David S. Miller <davem@davemloft.net>
8704
8705 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8706 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8707 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8708
29237804
FW
87092012-09-04 Florian Weimer <fweimer@redhat.com>
8710
8711 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8712 failures.
8713
edb3cb88
FW
8714 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8715
60160d83
JM
87162012-09-04 Joseph Myers <joseph@codesourcery.com>
8717
8718 [BZ #9914]
8719 * libio/iogetdelim.c: Include <limits.h>.
8720 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8721 + len + 1 would overflow.
8722
bcd6c8dc
AJ
87232012-09-03 Andreas Jaeger <aj@suse.de>
8724
8725 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8726 * sysdeps/i386/fpu/libm-test-ulps: Update.
8727
4ffffbd2
LD
87282012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8729
8730 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8731 Add s_sinf-sse2, s_conf-sse2.
8732
8733 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8734 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8735 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8736 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8737
8738 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8739 for using routine as __sinf_ia32.
8740 Use macro for function declaration and weak_alias.
8741 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8742 for using routine as __cosf_ia32.
8743 Use macro for function declaration and weak_alias.
8744
8745 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8746 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8747
8748 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8749 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8750 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8751
8752 * math/libm-test.inc (cos_test): Add more test cases.
8753 (sin_test): Likewise.
8754 (sincos_test): Likewise.
8755
511fa286
AK
87562012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8757
8758 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8759 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8760 hidden.
8761 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8762
5f30cfec
L
87632012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8764
8765 [BZ #14538]
8766 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8767 first element of the GOT.
8768 (elf_machine_load_address): Return the difference between
8769 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8770
0786794f
AM
87712012-09-01 Allan McRae <allan@archlinux.org>
8772
5f30cfec
L
8773 [BZ #13412]
8774 * configure.in (AWK): Require gawk version 3.0 or later.
8775 * configure: Regenerated.
0786794f 8776
26889eac
JM
87772012-09-01 Joseph Myers <joseph@codesourcery.com>
8778
8779 * sysdeps/unix/sysv/linux/kernel-features.h
8780 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8781 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8782 [__NR_clock_getres]: Make code unconditional.
8783 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8784 (clock_getcpuclockid): Remove code left unreachable by removal of
8785 conditionals.
8786 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8787 code unconditional.
8788 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8789 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8790 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8791 Make code unconditional.
8792 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8793 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8794 * sysdeps/unix/sysv/linux/clock_settime.c
8795 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8796 conditional code.
8797 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8798 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8799
d22e28b0
L
88002012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8801
8802 [BZ #14476]
8803 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8804 scripts/test-installation.pl.
8805
8806 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8807 and $ld_so_version if it is set.
8808
050af9c4
SP
88092012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8810
8811 [BZ #14516]
8812 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8813 failure if reading from procfs failed.
8814 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8815
ad845c0b
JM
88162012-08-27 Joseph Myers <joseph@codesourcery.com>
8817
8818 * sysdeps/unix/sysv/linux/kernel-features.h
8819 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8820 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8821 Remove conditional code.
8822 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8823 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8824 Remove conditional code.
8825 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8826 * sysdeps/unix/sysv/linux/i386/fxstat.c
8827 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8828 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8829 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8830 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8831 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8832 * sysdeps/unix/sysv/linux/i386/lxstat.c
8833 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8834 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8835 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8836 Remove conditional code.
8837 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8838 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8839 Remove conditional code.
8840 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8841 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8842 <kernel-features.h>.
8843 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8844 Remove.
8845 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8846 Remove conditional code.
8847 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8848 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8849 Remove conditional.
8850
5dbf56af
MF
88512012-08-27 Mike Frysinger <vapier@gentoo.org>
8852
8853 [BZ #5400]
8854 * NEWS: Add fixed bug number.
8855
d6e70f43
JM
88562012-08-27 Joseph Myers <joseph@codesourcery.com>
8857
7efb4737
JM
8858 [BZ #14519]
8859 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8860 underflowing exponent in case of negative sign.
8861 * stdlib/tst-strtod-round-data: Add more tests.
8862 * stdlib/tst-strtod-round.c (tests): Regenerated.
8863
af92131a
JM
8864 [BZ #3479]
8865 * stdlib/strtod_l.c (NDIG): Remove.
8866 (HEXNDIG): Likewise.
8867 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8868 smallest representable value.
8869 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8870 lie within an exact representation of 1/2 ulp of the result.
8871 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8872 unconditionally.
8873 (TENS_P9_IDX): Define unconditionally.
8874 (TENS_P9_SIZE): Likewise.
8875 (TENS_P10_IDX): Likewise.
8876 (TENS_P10_SIZE): Likewise.
8877 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8878 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8879 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8880 entries for 10^2^13 and 10^2^14.
8881 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8882 (TENS_P13_IDX): Define.
8883 (TENS_P13_SIZE): Likewise.
8884 (TENS_P14_IDX): Likewise.
8885 (TENS_P14_SIZE): Likewise.
8886 (_fpioconst_pow10): Change array size to
8887 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8888 unconditional.
8889 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8890 1024]: Add entries for 10^2^13 and 10^2^14.
8891 [LAST_POW10 > _LAST_POW10]: Remove #error.
8892 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8893 (_fpioconst_pow10): Change array size to
8894 FPIOCONST_POW10_ARRAY_SIZE.
8895 * stdlib/gen-fpioconst.c: New file.
8896 * stdlib/gen-tst-strtod-round.c: Likewise.
8897 * stdlib/tst-strtod-round-data: Likewise.
8898 * stdlib/tst-strtod-round.c: Likewise.
8899 * stdlib/Makefile (tests): Add tst-strtod-round.
8900
d6e70f43
JM
8901 [BZ #14459]
8902 * stdlib/strtod_l.c: Include <stdint.h>.
8903 (NDEBUG): Do not define.
8904 (round_and_return): Change EXPONENT parameter to type intmax_t.
8905 Rearrange calculations to avoid internal overflow possibilities.
8906 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8907 Rearrange calculations to avoid internal overflow possibilities.
8908 Assert that number fits inside MPNSIZE limbs.
8909 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8910 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
8911 calculations and add assertions to avoid internal overflow
8912 possibilities. Add casts to avoid signed/unsigned operations.
8913 * stdlib/tst-strtod-overflow.c: New file.
8914 * stdlib/Makefile (tests): Add tst-strtod-overflow.
8915
1f529f7d
MP
89162012-08-25 Marek Polacek <polacek@redhat.com>
8917
8918 * time/time.h: Fix some typos in comments.
8919
59a629f1
RM
89202012-08-23 Roland McGrath <roland@hack.frob.com>
8921
8922 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
8923 * posix/tst-rfc3484-2.c: Likewise.
8924 * posix/tst-rfc3484-3.c: Likewise.
8925
d3bafbc9
SM
89262012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
8927
8928 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
8929 (EF_ARM_ABI_FLOAT_HARD): Likewise.
8930
4efcc022
JM
89312012-08-23 Joseph Myers <joseph@codesourcery.com>
8932
8933 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
8934 #include of fxstatat64.c.
8935
3cc3ef96
RM
89362012-08-22 Roland McGrath <roland@hack.frob.com>
8937
f04e2132
RM
8938 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
8939 * shadow/getspent_r.c: Likewise.
8940 * shadow/getspnam.c: Likewise.
8941 * shadow/getspnam_r.c: Likewise.
8942 * gshadow/getsgent.c: Likewise.
8943 * gshadow/getsgent_r.c: Likewise.
8944 * gshadow/getsgnam.c: Likewise.
8945 * gshadow/getsgnam_r.c: Likewise.
8946 * inet/getnetbyad.c: Likewise.
8947 * inet/getnetbyad_r.c: Likewise.
8948 * inet/getnetbynm.c: Likewise.
8949 * inet/getnetbynm_r.c: Likewise.
8950 * inet/getnetent.c: Likewise.
8951 * inet/getnetent_r.c: Likewise.
8952 * inet/getproto.c: Likewise.
8953 * inet/getproto_r.c: Likewise.
8954 * inet/getprtent.c: Likewise.
8955 * inet/getprtent_r.c: Likewise.
8956 * inet/getprtname.c: Likewise.
8957 * inet/getprtname_r.c: Likewise.
8958 * inet/getrpcbyname.c: Likewise.
8959 * inet/getrpcbyname_r.c: Likewise.
8960 * inet/getrpcbynumber.c: Likewise.
8961 * inet/getrpcbynumber_r.c: Likewise.
8962 * inet/getrpcent.c: Likewise.
8963 * inet/getrpcent_r.c: Likewise.
8964 * inet/getaliasent.c: Likewise.
8965 * inet/getaliasent_r.c: Likewise.
8966 * inet/getaliasname.c: Likewise.
8967 * inet/getaliasname_r.c: Likewise.
8968 * nscd/getgrgid_r.c: Likewise.
8969 * nscd/getgrnam_r.c: Likewise.
8970 * nscd/gethstbyad_r.c: Likewise.
8971 * nscd/gethstbynm3_r.c: Likewise.
8972 * nscd/getpwnam_r.c: Likewise.
8973 * nscd/getpwuid_r.c: Likewise.
8974 * nscd/getsrvbynm_r.c: Likewise.
8975 * nscd/getsrvbypt_r.c: Likewise.
8976 * nscd/gai.c: Likewise.
8977
c53d909c
RM
8978 * configure.in (build_nscd): New substituted variable, set
8979 by --disable-build-nscd and defaults to $use_nscd.
8980 * configure: Regenerated.
8981 * config.make.in (build-nscd): New substituted variable.
8982 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
8983 Change conditional to require [$(build-nscd) = yes] as well.
8984 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
8985
3cc3ef96
RM
8986 [BZ# 13696]
8987 * configure.in (use_nscd): New substituted variable, set by
8988 --disable-nscd. If enabled, define USE_NSCD.
8989 * configure: Regenerated.
8990 * config.h.in: Add USE_NSCD.
8991 * config.make.in (use-nscd): New substituted variable.
8992 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
8993 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
8994 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
8995 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
8996 (CFLAGS-getgrnam_r.c): Likewise.
8997 (CFLAGS-initgroups.c): Likewise.
8998 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
8999 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9000 Variables removed.
9001 * inet/getnetgrent_r.c
9002 (nscd_setnetgrent): New function, broken out of ...
9003 (setnetgrent): ... here. Call it.
9004 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9005 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9006 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9007 * nscd/Makefile (routines, aux): Move definitions after include of
9008 Makeconfig. Conditionalize on [$(use-nscd) != no].
9009 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9010 Conditionalize on [USE_NSCD].
9011 (is_nscd, nscd_init_cb): Likewise.
9012 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9013 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9014 * nss/nss_db/db-init.c: Likewise.
9015 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9016 [USE_NSCD].
9017 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9018 (make_request): Use it.
9019 (cache_valid_p): New function.
9020 (__check_pf): Use it.
9021 * NEWS: Add item for --disable-nscd.
9022
07e51550
DL
90232012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9024
9025 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9026 to support sed >= 4.2.1-20-ga9bf076.
9027 * configure: Regenerated.
9028
35a5b08b
RM
90292012-08-22 Roland McGrath <roland@hack.frob.com>
9030
9031 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9032 Conditionalize whole body on [IREL].
9033
8479f23a
JL
90342012-08-22 Jeff Law <law@redhat.com>
9035
9036 [BZ #14505]
9037 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9038 if the family is PF_UNSPEC.
9039
48da0b21
MF
90402012-08-22 Mike Frysinger <vapier@gentoo.org>
9041
9042 * Makerules (lib-version): Rename from V.
9043 (install-lib-nosubdir): Change V to lib-version.
9044
15d0da8c
WS
90452012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9046
9047 [BZ #14252]
9048 * powerpc32/power6/wcschr.c: New file.
9049 * powerpc32/power6/wcscpy.c: New file.
9050 * powerpc32/power6/wcsrchr.c: New file.
9051 * powerpc64/power6/wcschr.c: New file.
9052 * powerpc64/power6/wcscpy.c: New file.
9053 * powerpc64/power6/wcsrchr.c: New file.
9054
bcca0895
MK
90552012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9056
9057 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9058 (two_way_short_needle): Use it.
5a4aaa33
RM
9059 * string/strstr.c (AVAILABLE1_USES_J): Define.
9060 * string/strcasestr.c: Likewise.
99677e57
MK
9061
9062 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9063 array references.
9064 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9065
400726de
MK
9066 [BZ #11607]
9067 * NEWS: Add an entry.
9068 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9069 define their defaults.
9070 (two_way_short_needle): Detect end-of-string on-the-fly.
9071 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9072 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9073 * string/bug-strcasestr1.c: New test.
9074 * string/Makefile: Run it.
9075
20a71f2c
MK
90762012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9077
9078 [BZ #11607]
9079 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9080 the first character.
9081
21ad0558
RM
90822012-08-21 Roland McGrath <roland@hack.frob.com>
9083
9084 * csu/elf-init.c (__libc_csu_irel): Function removed.
9085 * csu/libc-start.c (apply_irel): New function.
9086 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9087
0e1d9911
JM
90882012-08-21 Joseph Myers <joseph@codesourcery.com>
9089
9090 * sysdeps/unix/sysv/linux/kernel-features.h
9091 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9092 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9093 <kernel-features.h>.
9094 [__NR_fadvise64_64]: Make code unconditional.
9095 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9096 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9097 !__NR_fadvise64_64)]: Likewise.
9098 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9099 !__NR_fadvise64_64))]: Likewise.
9100 [__NR_fadvise64]: Make code unconditional.
9101 [!__NR_fadvise64]: Remove conditional code.
9102 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9103 <kernel-features.h>.
9104 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9105 unconditional.
9106 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9107 conditional code.
9108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9109 not include <kernel-features.h>.
9110 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9111 unconditional.
9112 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9113 conditional code.
9114 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9115 include <kernel-features.h>.
9116 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9117 unconditional.
9118 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9119 conditional code.
9120
14a50c9d
WS
91212012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9122
9123 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9124 slight instruction rearrangements per scrollpipe analysis.
9125 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9126
c0f4faf0
RM
91272012-08-20 Roland McGrath <roland@hack.frob.com>
9128
696da859
RM
9129 * manual/syslog.texi (syslog; vsyslog, closelog):
9130 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9131 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9132
c0f4faf0
RM
9133 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9134 DSOCAPS to match condition on defining it.
9135
348363b2
JM
91362012-08-20 Joseph Myers <joseph@codesourcery.com>
9137
a35cbf28
JM
9138 * sysdeps/unix/sysv/linux/kernel-features.h
9139 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9141 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9142 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9144 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9145 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9147 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9148 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9149
445f7ecd
JM
9150 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9151 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9152
348363b2
JM
9153 * sysdeps/unix/sysv/linux/kernel-features.h
9154 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9155 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9156 unconditional.
9157 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9158 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9159 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9160 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9161 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9162 Make code unconditional.
9163 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9164 (__mmap64) [!__NR_mmap2]: Likewise.
9165 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9166 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9167 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9168 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9169 [__NR_mmap2]: Make code unconditional.
9170 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9171 (__mmap64) [!__NR_mmap2]: Likewise.
9172
bc5bc0e5
AK
91732012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9174
9175 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9176
88d506de
AJ
91772012-08-18 Andreas Jaeger <aj@suse.de>
9178
9179 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9180
493387d2
MF
91812012-08-18 Mike Frysinger <vapier@gentoo.org>
9182
9183 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9184 * include/unistd.h (__have_sock_cloexec): Likewise.
9185 (__have_pipe2): Likewise.
9186 (__have_dup3): Likewise.
9187
a277af22
MF
91882012-08-18 Mike Frysinger <vapier@gentoo.org>
9189
9190 [BZ #9685]
9191 * include/unistd.h (__have_pipe2): Change define into an extern int.
9192 (__have_dup3): Likewise.
9193 * socket/have_sock_cloexec.c: Include fcntl.h.
9194 (__have_pipe2): New variable.
9195 (__have_dup3): Likewise.
9196
fdab8fd3
MF
91972012-08-17 Mike Frysinger <vapier@gentoo.org>
9198
9199 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9200
31035e80
MP
92012012-08-17 Marek Polacek <polacek@redhat.com>
9202
9203 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9204 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9205
3bd9e993
RM
92062012-08-17 Roland McGrath <roland@hack.frob.com>
9207
c91c505f
RM
9208 * configure.in: Add AC_SUBST for sysheaders.
9209 * configure: Regenerated.
9210 * config.make.in (sysheaders): New substituted variable.
9211
7c6f9d53
RM
9212 * sysdeps/unix/mkfifo.c: Moved ...
9213 * sysdeps/posix/mkfifo.c: ... here.
9214 * sysdeps/unix/mkfifoat.c: Moved ...
9215 * sysdeps/posix/mkfifoat.c: ... here.
9216
9217 * sysdeps/unix/utime.c: Moved ...
9218 * sysdeps/posix/utime.c: ... here.
9219
9220 * sysdeps/unix/time.c: Moved ...
9221 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
9222 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9223 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
9224
9225 * sysdeps/unix/nice.c: Moved ...
9226 * sysdeps/posix/nice.c: ... here.
9227
9228 * sysdeps/unix/alarm.c: Moved ...
9229 * sysdeps/posix/alarm.c: ... here.
9230
3bd9e993
RM
9231 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9232
d1f09384
JL
92332012-08-17 Jeff Law <law@redhat.com>
9234
9235 * intl/Makefile (codeset_mo): New variable.
9236 ($(codeset_mo)): New target.
9237 (tst-codeset.out): Depend on that. Remove explicit rule.
9238 (tst-gettext3.out, tst-gettext5.out): Likewise.
9239 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9240 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9241 * intl/tst-codeset.sh: Remove.
9242 * intl/tst-gettext3.sh: Likewise.
9243 * intl/tst-gettext5.sh: Likewise.
9244
2ae1ae5c
RM
92452012-08-17 Roland McGrath <roland@hack.frob.com>
9246
c31fdb83
RM
9247 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9248 * sysdeps/unix/syscalls.list: ... here.
9249
a0844057
RM
9250 * sysdeps/posix/getaddrinfo.c
9251 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9252 (gaiconf_init, gaiconf_reload): Use them.
9253 [!_STATBUF_ST_NSEC]
9254 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9255 Define using time_t rather than struct timespec.
9256
750c1f2a
RM
9257 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9258 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9259 Macros removed.
9260 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9261 [!NO_THREADS].
9262 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9263 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9264 Likewise.
9265
2ae1ae5c
RM
9266 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9267 __libc_cleanup_push argument.
9268
e66a42f5
RM
9269 * bits/param.h: New file.
9270 * misc/sys/param.h: New file.
9271 * include/sys/param.h: New file.
9272 * misc/Makefile (headers): Add bits/param.h.
9273 * sysdeps/generic/sys/param.h: File removed.
9274 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9275 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9276 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 9277 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 9278
b7c08a66
RM
9279 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9280 last change.
9281
b2e1c562
RM
9282 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9283 [_IO_MTSAFE_IO].
9284 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9285 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9286 New macros.
9287
c75ccd4c
RM
9288 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9289 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9290 rather than -D_IO_MTSAFE_IO conditionally.
9291 * stdio-common/Makefile (CPPFLAGS): Likewise.
9292 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9293 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9294 Use $(libio-mtsafe).
9295 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9296 of -D_IO_MTSAFE_IO.
9297 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9298 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9299 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9300 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9301 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9302 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9303 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9304 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9305 (CFLAGS-fread_u_chk.c): Likewise.
9306 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9307 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9308 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9309 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9310 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9311 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9312 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9313 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9314 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9315
9316 * libio/Makefile: Test [$(libc-reentrant) = yes]
9317 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9318
9319 * Makeconfig
9320 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9321 * sysdeps/pthread/configure: File removed.
9322 * sysdeps/pthread/Makeconfig: New file.
9323 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9324 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9325
d9195db8
GB
93262012-08-16 Gary Benson <gbenson@redhat.com>
9327
9328 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9329 unmapping the first object in a namespace.
9330
86466cd9
RM
93312012-08-16 Roland McGrath <roland@hack.frob.com>
9332
9333 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9334 (__internal_setnetgrent): ... this. Add internal_function to
9335 definition. Add libc_hidden_def.
9336 (setnetgrent): Update caller.
9337 (internal_endnetgrent): Renamed to ...
9338 (__internal_endnetgrent): ... this. Add internal_function to
9339 definition. Add libc_hidden_def.
9340 (endnetgrent): Update caller.
9341 (internal_getnetgrent_r): Renamed to ...
9342 (__internal_getnetgrent_r): ... this. Add internal_function to
9343 definition. Add libc_hidden_def.
9344 (__getnetgrent_r): Update caller.
9345 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9346
c3c8283c
JM
93472012-08-16 Joseph Myers <joseph@codesourcery.com>
9348
9349 * stdlib/longlong.h: Update from GCC.
9350
db1ee0a8
RM
93512012-08-16 Roland McGrath <roland@hack.frob.com>
9352
9353 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9354 on _QL, which is set by umul_ppmm but never used.
9355 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9356 variables, which are set by GMP macros but never used.
9357 * stdio-common/_itowa.c (_itowa): Likewise.
9358 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9359 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9360
30f69637
CD
93612012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9362
9363 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9364 struct La_sh_regs is not constant.
9365 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9366 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9367 and struct La_sparc64_regs are not constant.
9368
93a78ac4
JM
93692012-08-16 Joseph Myers <joseph@codesourcery.com>
9370
9371 * sysdeps/unix/sysv/linux/kernel-features.h
9372 (__ASSUME_POSIX_TIMERS): Remove.
9373 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9374 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9375 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9376 Make code unconditional.
9377 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9378 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9379 Make code unconditional.
9380 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9381 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9382 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9383 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9384 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9385 Make code unconditional.
9386 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9387 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9388 (__libc_missing_posix_timers): Remove.
9389
dd924cd7
RM
93902012-08-15 Roland McGrath <roland@hack.frob.com>
9391
4b4f2771
RM
9392 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9393 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9394
601c888b
RM
9395 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9396
176790a7
RM
9397 * elf/dl-sym.c: Include <stdlib.h>.
9398
329bc018
RM
9399 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9400 constants, which avoids warnings in 32-bit builds.
9401
e04e272d
RM
9402 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9403 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9404
952bf94a
RM
9405 * misc/lseek.c: File moved to ...
9406 * io/lseek.c: ... here.
9407
7c99b50a
RM
9408 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9409
dd924cd7
RM
9410 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9411 shifting LEN more than 31 bits at once.
9412
b3f479a8
LD
94132012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9414
9415 [BZ #14195]
8c4ae0d4
RM
9416 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9417 segmentation fault for a case of two empty input strings.
b3f479a8
LD
9418 * string/test-strncasecmp.c (check1): Renamed to...
9419 (bz12205): ...this.
9420 (bz14195): Add new testcase for two empty input strings and N > 0.
9421 (test_main): Call new testcase, adapt for renamed function.
9422
9c55864e
AJ
94232012-08-15 Andreas Jaeger <aj@suse.de>
9424
9425 [BZ #14090]
9426 * crypt/md5test2.c: New test, based on test supplied by Serge
9427 Belyshev <belyshev@depni.sinp.msu.ru>.
9428 * crypt/Makefile (xtests): Add md5test-giant..
9429 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9430
02dcb6c5
PE
94312012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9432
9433 [BZ #14090]
9434 * crypt/md5.c (md5_process_block): Don't assume the buffer
9435 length is less than 2**32.
9436 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9437 length is less than 2**64.
9438
a3f95dcc
RM
94392012-08-15 Roland McGrath <roland@hack.frob.com>
9440
be75d758
RM
9441 * string/str-two-way.h: Include <sys/param.h>.
9442 (MAX): Macro removed.
9443
7312ca90
RM
9444 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9445 Move #define and #undef of memmove to just before and after
9446 including <string.h>.
9447
9a0a5486
RM
9448 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9449 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9450 and after including <string.h>. Move declarations of
9451 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9452 to before #include "string/memmove.c".
9453
67cc348d
RM
9454 * include/dirent.h: Declare __getdirentries.
9455
a3f95dcc
RM
9456 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9457 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9458
ca98e171
MF
94592012-08-14 Mike Frysinger <vapier@gentoo.org>
9460
9461 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9462 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9463 * sysdeps/i386/configure: Regenerated.
9464 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9465 STABS_CURRENT_FILE, and STABS_FUN.
9466 (END): Remove call to STABS_FUN_END.
9467 (STABS_CURRENT_FILE1): Delete.
9468 (STABS_CURRENT_FILE): Likewise.
9469 (STABS_FUN): Likewise.
9470 (STABS_FUN_END): Likewise.
9471 (STABS_FUN2): Likewise.
9472 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9473 * sysdeps/x86_64/configure: Regenerated.
9474
5908bf46
RM
94752012-08-14 Roland McGrath <roland@hack.frob.com>
9476
9477 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 9478 * elf/dl-lookup.c: Likewise.
5908bf46 9479
f2c05b9e
JM
94802012-08-14 Joseph Myers <joseph@codesourcery.com>
9481
9482 * sysdeps/unix/sysv/linux/kernel-features.h
9483 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9484 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9485 unconditionally.
9486 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9487 unconditionally.
9488 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9489 condition on __ASSUME_CLONE_THREAD_FLAGS.
9490
e11f5155
AJ
94912012-08-14 Andreas Jaeger <aj@suse.de>
9492
9493 * sysdeps/i386/fpu/libm-test-ulps: Update.
9494
51a9ba86
MK
94952012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9496
2fdd4f78
AJ
9497 * include/atomic.h (atomic_exchange_and_add): Split into ...
9498 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9499 New atomic macros.
51a9ba86 9500
ba6cba9e
MT
95012012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9502
9503 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9504
42443a47
JL
95052012-08-13 Jeff Law <law@redhat.com>
9506
9507 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9508 null byte in the output string.
9509
121dce05
JM
95102012-08-10 Joseph Myers <joseph@codesourcery.com>
9511
9512 * sysdeps/unix/sysv/linux/kernel-features.h
9513 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9514 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9515 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9516 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9517 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9518 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9519 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9520
bf51f568
JL
95212012-08-09 Jeff Law <law@redhat.com>
9522
9523 [BZ #13939]
9524 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9525 When avoid_arena is set, don't retry in the that arena. Pick the
9526 next one, whatever it might be.
9527 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9528 (arena_lock): Pass in new parameter to arena_get2.
9529 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9530 arena_get2.
9531 (__libc_malloc): Unify retrying after main arena failure with
9532 __libc_memalign version.
9533 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9534
f85fa270
L
95352012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9536
9537 [BZ #14166]
9538 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9539 to __redirect_strstr.
9540 (__strstr_sse42): Use typeof __redirect_strstr.
9541 (__strstr_ia32): Likewise.
9542 (__libc_strstr): New prototype.
9543 (strstr): Renamed to ...
9544 (__libc_strstr): This.
9545 (strstr): New strong alias of __libc_strstr.
9546 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9547 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9548 __redirect_time.
9549 Include <time.h>.
9550 (__libc_time): New prototype.
9551 (time_ifunc): Replace time with __libc_time.
9552 (time): New strong alias and hidden definition of __libc_time.
9553 (__GI_time): Remove strong alias.
9554 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9555 Include <stddef.h>.
9556 (memmove): Redefined to __redirect_memmove.
9557 (__memmove_sse2): Use typeof __redirect_memmove.
9558 (__memmove_ssse3): Likewise.
9559 (__memmove_ssse3_back): Likewise.
9560 (__libc_memmove): New prototype.
9561 (memmove): Renamed to ...
9562 (__libc_memmove): This.
9563 (memmove): New strong alias of __libc_memmove.
9564
33b4a91e
MS
95652012-08-08 Mark Salter <msalter@redhat.com>
9566
9567 * elf/elf.h
9568 (R_MN10300_TLS_GD): Define.
9569 (R_MN10300_TLS_LD): Likewise.
9570 (R_MN10300_TLS_LDO): Likewise.
9571 (R_MN10300_TLS_GOTIE): Likewise.
9572 (R_MN10300_TLS_IE): Likewise.
9573 (R_MN10300_TLS_LE): Likewise.
9574 (R_MN10300_TLS_DTPMOD): Likewise.
9575 (R_MN10300_TLS_DTPOFF): Likewise.
9576 (R_MN10300_TLS_TPOFF): Likewise.
9577 (R_MN10300_SYM_DIFF): Likewise.
9578 (R_MN10300_ALIGN): Likewise.
9579 (R_MN10300_NUM): Update.
9580
b36137f1
JM
95812012-08-08 Joseph Myers <joseph@codesourcery.com>
9582
9583 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9584 Remove.
9585
cdd915fd
RM
95862012-08-08 Roland McGrath <roland@hack.frob.com>
9587
a2433aac
RM
9588 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9589
cdd915fd
RM
9590 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9591 sysdeps/unix -> sysdeps/posix move.
9592 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9593
bf9b740a
AM
95942012-08-07 Allan McRae <allan@archlinux.org>
9595
9596 [BZ #14303]
9597 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9598 (SUNOS_CPP): Likewise.
9599 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9600 not found.
9601 (open_input): Call CPP using execvp.
9602
93df14ee
JM
96032012-08-07 Joseph Myers <joseph@codesourcery.com>
9604
9605 * sysdeps/unix/sysv/linux/kernel-features.h
9606 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9607 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9608 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9609 (__ASSUME_WAITID_SYSCALL): Likewise.
9610 * sysdeps/unix/sysv/linux/dl-execstack.c
9611 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9612 code unconditional.
9613 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9614 conditional code.
9615 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9616 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9617 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9618 code.
9619 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9620 unconditional.
9621 [__ASSUME_WAITID_SYSCALL]: Likewise.
9622 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9623
d34689de
RM
96242012-08-07 Roland McGrath <roland@hack.frob.com>
9625
a281decc
RM
9626 * sysdeps/unix/closedir.c: Renamed to ...
9627 * sysdeps/posix/closedir.c: ... here.
9628 * sysdeps/unix/dirfd.c: Renamed to ...
9629 * sysdeps/posix/dirfd.c: ... here.
9630 * sysdeps/unix/dirstream.h: Renamed to ...
9631 * sysdeps/posix/dirstream.h: ... here.
9632 * sysdeps/unix/fdopendir.c: Renamed to ...
9633 * sysdeps/posix/fdopendir.c: ... here.
9634 * sysdeps/unix/opendir.c: Renamed to ...
9635 * sysdeps/posix/opendir.c: ... here.
9636 * sysdeps/unix/readdir.c: Renamed to ...
9637 * sysdeps/posix/readdir.c: ... here.
9638 * sysdeps/unix/readdir_r.c: Renamed to ...
9639 * sysdeps/posix/readdir_r.c: ... here.
9640 * sysdeps/unix/rewinddir.c: Renamed to ...
9641 * sysdeps/posix/rewinddir.c: ... here.
9642 * sysdeps/unix/seekdir.c: Renamed to ...
9643 * sysdeps/posix/seekdir.c: ... here.
9644 * sysdeps/unix/telldir.c: Renamed to ...
9645 * sysdeps/posix/telldir.c: ... here.
9646 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9647 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9648 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9649 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9650
22895b47
RM
9651 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9652 * bits/fcntl.h: ... here.
9653
707a53b6
RM
9654 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9655 not 0.
9656 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9657 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9658 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9659 (struct flock): Move l_start, l_len to the beginning.
9660 Use __pid_t for l_pid.
9661 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9662 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9663 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9664 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9665 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9666 [__USE_LARGEFILE64] (struct flock64): New type.
9667 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9668
f0bd3e25
RM
9669 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9670 * bits/dirent.h: ... here.
9671
d34689de
RM
9672 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9673 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9674
6dad2c06
JM
96752012-08-07 Joseph Myers <joseph@codesourcery.com>
9676
9677 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9678 Change from 2.6.0 to 2.6.16.
9679 * sysdeps/unix/sysv/linux/configure: Regenerated.
9680 * sysdeps/unix/sysv/linux/kernel-features.h
9681 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9682 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9683 version.
9684 (__ASSUME_UTIMES): Likewise.
9685 (__ASSUME_CLONE_STOPPED): Remove.
9686 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9687 architectures, not kernel version.
9688 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9689 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9690 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9691 (__ASSUME_WAITID_SYSCALL): Likewise.
9692 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9693 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9694 * README: State 2.6.16 as minimum Linux kernel version. Do not
9695 refer to older versions.
9696
03af9520
RM
96972012-08-06 Roland McGrath <roland@hack.frob.com>
9698
8e49df1d
RM
9699 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9700 Define alphasort64 as an alias.
9701 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9702 Define versionsort64 as an alias.
9703 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9704 Define scandir64 as an alias.
9705 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9706 Define scandirat64 as an alias.
9707 * dirent/alphasort64.c (alphasort64):
9708 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9709 * dirent/versionsort64.c: Likewise.
9710 * dirent/scandir64.c: Likewise.
9711 * dirent/scandirat64.c: Likewise.
9712 * sysdeps/wordsize-64/alphasort.c: File removed.
9713 * sysdeps/wordsize-64/alphasort64.c: File removed.
9714 * sysdeps/wordsize-64/scandir.c: File removed.
9715 * sysdeps/wordsize-64/scandir64.c: File removed.
9716 * sysdeps/wordsize-64/scandirat.c: File removed.
9717 * sysdeps/wordsize-64/scandirat64.c: File removed.
9718 * sysdeps/wordsize-64/versionsort.c: File removed.
9719 * sysdeps/wordsize-64/versionsort64.c: File removed.
9720 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9721 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9722 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9723 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9724 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9725 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9726 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9727 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9728
9729 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9730 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9731 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9732 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9733 [defined __arch64__ || defined __sparcv9]
9734 (__INO_T_MATCHES_INO64_T): New macro.
9735 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9736 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9737 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9738 * sysdeps/unix/sysv/linux/bits/dirent.h
9739 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9740 (_DIRENT_MATCHES_DIRENT64): New macro.
9741
03af9520
RM
9742 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9743 Define lockf64 as an alias.
9744 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9745 Define fseeko64 as an alias.
9746 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9747 Define ftello64 as an alias.
9748 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9749 Define _IO_fgetpos64 and fgetpos64 as aliases.
9750 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9751 Define _IO_fsetpos64 and fsetpos64 as aliases.
9752 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9753 Conditionalize body on this.
9754 * libio/fseeko64.c: Likewise.
9755 * libio/ftello64.c: Likewise.
9756 * libio/iofgetpos64.c: Likewise.
9757 * libio/iofsetpos64.c: Likewise.
9758 * sysdeps/wordsize-64/lockf.c: File removed.
9759 * sysdeps/wordsize-64/lockf64.c: File removed.
9760 * sysdeps/wordsize-64/fseeko.c: File removed.
9761 * sysdeps/wordsize-64/fseeko64.c: File removed.
9762 * sysdeps/wordsize-64/ftello.c: File removed.
9763 * sysdeps/wordsize-64/ftello64.c: File removed.
9764 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9765 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9766 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9767 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9768 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9769 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9770 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9771 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9772 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9773 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9774 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9775 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9776 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9777 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9778
9779 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9780 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9781 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9782 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9783 [defined __arch64__ || defined __sparcv9]
9784 (__OFF_T_MATCHES_OFF64_T): New macro.
9785 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9786 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9787 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9788 (__OFF_T_MATCHES_OFF64_T): New macro.
9789
c5757acd
L
97902012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9791
9792 * stdlib/secure-getenv.c (__secure_getenv): Replace
9793 GLIBC_2_16 with GLIBC_2_17.
9794
3a31811e
L
97952012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9796
9797 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9798 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9799
faa2bccb
DM
98002012-08-03 David S. Miller <davem@davemloft.net>
9801
9802 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9803
85fe1997
JM
98042012-08-03 Joseph Myers <joseph@codesourcery.com>
9805
9806 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9807 Remove.
9808 (__ASSUME_CORRECT_SI_PID): Likewise.
9809 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9810 (__ASSUME_TMPFS_NAME): Likewise.
9811 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9812 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9813 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9814 (HAVE_AUX_SECURE): Make definition unconditional.
9815 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9816 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9817
4f75b7a0
RM
98182012-08-03 Roland McGrath <roland@hack.frob.com>
9819
9820 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9821 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9822 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9823 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9824 __eloop_threshold instead of SYMLOOP_MAX.
9825
9826 * sysdeps/generic/eloop-threshold.h: New file.
9827 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9828 of MAXSYMLINKS.
9829 * elf/chroot_canon.c (chroot_canon): Likewise.
9830
7aab07e4
JM
98312012-08-03 Joseph Myers <joseph@codesourcery.com>
9832
9833 [BZ #13717]
9834 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9835 Change to 2.6.0 everywhere.
9836 * sysdeps/unix/sysv/linux/configure: Regenerated.
9837 * sysdeps/unix/sysv/linux/kernel-features.h
9838 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9839 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9840 kernel versions.
9841 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9842 (__ASSUME_FUTEX_REQUEUE): Remove.
9843 (__ASSUME_STATFS64): Define unconditionally.
9844 (__ASSUME_AT_SECURE): Likewise.
9845 (__ASSUME_CORRECT_SI_PID): Likewise.
9846 (__ASSUME_TGKILL): Define without depending on kernel version for
9847 i386.
9848 (__ASSUME_UTIMES): Likewise.
9849 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9850 kernel version.
9851 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9852 (__ASSUME_TMPFS_NAME): Likewise.
9853 * README: Update reference to Linux kernel versions.
9854
b67e9372
MP
98552012-08-02 Marek Polacek <polacek@redhat.com>
9856
1f529f7d 9857 [BZ# 14150]
b67e9372
MP
9858 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9859 libc_cv_asm_type_prefix with %.
9860 * configure: Regenerated.
d2441631
RM
9861 * include/libc-symbols.h: Remove comment about
9862 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
9863 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9864 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9865 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9866 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9867 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9868 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9869 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9870 * elf/tst-unique2mod1.c: Likewise.
9871 * elf/tst-unique1mod2.c: Likewise.
9872 * elf/tst-unique1mod1.c: Likewise.
9873 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9874 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9875 Replace ASM_TYPE_DIRECTIVE with .type.
9876 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9877 * sysdeps/i386/sysdep.h: Likewise.
9878 * sysdeps/x86_64/sysdep.h: Likewise.
9879 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
9880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9881 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 9882 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
9883 * sysdeps/powerpc/powerpc32/sysdep.h:
9884 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
9885 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9886 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9887 * sysdeps/i386/fpu/e_powf.S: Likewise.
9888 * sysdeps/i386/fpu/e_expl.S: Likewise.
9889 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9890 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9891 * sysdeps/i386/fpu/e_pow.S: Likewise.
9892 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9893 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9894 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9895 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9896 * sysdeps/i386/fpu/e_log2.S: Likewise.
9897 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9898 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9899 * sysdeps/i386/fpu/e_powl.S: Likewise.
9900 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9901 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9902 * sysdeps/i386/fpu/e_logl.S: Likewise.
9903 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9904 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9905 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9906 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9907 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9908 * sysdeps/i386/fpu/e_log.S: Likewise.
9909 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9910 * sysdeps/i386/fpu/e_logf.S: Likewise.
9911 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9912 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9913 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9914 * sysdeps/i386/fpu/e_log10.S: Likewise.
9915 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9916 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9917 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9918 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9919 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9920 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
9921 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9922 * sysdeps/i386/i686/strtok.S: Likewise.
9923 * sysdeps/i386/i386-mcount.S: Likewise.
9924 * sysdeps/i386/strtok.S: Likewise.
9925 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
9926 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9927 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9928 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9929 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
9930 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9931 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9932 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9933 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9934 * sysdeps/x86_64/_mcount.S: Likewise.
9935 * sysdeps/x86_64/strtok.S: Likewise.
9936 * sysdeps/sh/_mcount.S: Likewise.
9937
2747bf9a
RM
99382012-08-01 Roland McGrath <roland@hack.frob.com>
9939
9940 * libio/iofopen.c: Include <fcntl.h>.
9941 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
9942 (_IO_fopen64, fopen64): Define as aliases.
9943 * libio/iofopen64.c: Include <fcntl.h>.
9944 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
9945 Conditionalize body on this.
9946 * sysdeps/wordsize-64/iofopen.c: File removed.
9947 * sysdeps/wordsize-64/iofopen64.c: File removed.
9948
3fb791b8
MP
99492012-08-01 Marek Polacek <polacek@redhat.com>
9950
9951 * libc/Makeconfig: Use elf in place of binfmt-subdir.
9952 Use dlfcn directly instead of a variable.
9953 (binfmt-subdir): Do not define.
9954 (dlfcn): Likewise.
9955
a9f1039f
JM
99562012-08-01 Joseph Myers <joseph@codesourcery.com>
9957
23bddc06
JM
9958 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
9959 Remove all definitions.
9960 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
9961 <kernel-features.h>.
9962 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9963 (miss_F_GETOWN_EX): Remove all definitions.
9964 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
9965 macro definition.
9966 [!__ASSUME_FCNTL64]: Remove conditional code.
9967 [__ASSUME_FCNTL64]: Make code unconditional.
9968 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
9969 <kernel-features.h>.
9970 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
9971 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
9972 (lockf64) [__NR_fcntl64]: Make code unconditional.
9973 (lockf64) [__ASSUME_FCNTL64]: Likewise.
9974
a9f1039f
JM
9975 * sysdeps/unix/sysv/linux/kernel-features.h
9976 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
9977 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
9978 Make code unconditional.
9979 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9980 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
9982 [__NR_vfork]: Make code unconditional.
9983 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9984 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
9986 [__NR_vfork]: Make code unconditional.
9987 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
9988 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
9989
09c0ee5f
RM
99902012-08-01 Roland McGrath <roland@hack.frob.com>
9991
48aec5b9
RM
9992 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
9993 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
9994
cd97c966
RM
9995 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9996 Define mkstemp64 as an alias.
3f55550c
RM
9997 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
9998 Define mkstemps64 as an alias.
cd97c966
RM
9999 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10000 Define mkostemp64 as an alias.
b8625cfc
RM
10001 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10002 Define mkostemps64 as an alias.
cd97c966
RM
10003 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10004 Conditionalize body on this.
10005 * misc/mkostemp64.c: Likewise.
b8625cfc 10006 * misc/mkostemps64.c: Likewise.
3f55550c 10007 * misc/mkstemps64.c: Likewise.
cd97c966
RM
10008 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10009 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10010 * sysdeps/wordsize-64/mkostemp.c: File removed.
10011 * sysdeps/wordsize-64/mkstemp.c: File removed.
10012 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10013 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10014 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10015 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10016
09c0ee5f
RM
10017 [BZ #14138]
10018 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10019 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10020 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10021 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10022
10023 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10024 compat_symbol macros from <shlib-compat.h> rather than the underlying
10025 default_symbol_version and symbol_version macros, so that DEFAULT
10026 lines in shlib-versions are respected.
10027 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10028
7e66ee51
FW
100292012-08-01 Florian Weimer <fweimer@redhat.com>
10030
10031 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10032 Declare with warn_unused_result.
10033 (setgid, setregid, setegid, setresgid): Likewise.
10034 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10035 Likewise.
10036 * WUR-REPORT: Remove set*id functions.
10037
d2a54255
PT
100382012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10039
10040 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10041
7ecdb005
RM
100422012-07-31 Roland McGrath <roland@hack.frob.com>
10043
789bd351
RM
10044 * include/sys/socket.h (__libc_accept, __libc_accept4):
10045 Add attribute_hidden.
10046 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10047
40ce302d
RM
10048 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10049 use of PTR_MANGLE.
10050 * inet/getnetgrent_r.c (setup): Likewise.
10051
7ecdb005
RM
10052 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10053
e2eabb2c
DM
100542012-07-31 David S. Miller <davem@davemloft.net>
10055
10056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10057
d0419dbf
JM
100582012-07-31 Joseph Myers <joseph@codesourcery.com>
10059
10060 [BZ #13629]
10061 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10062 value between 1.0 and 2.0 and smaller part has absolute value less
10063 than 1.0.
10064 * math/s_clog10.c (__clog10): Likewise.
10065 * math/s_clog10f.c (__clog10f): Likewise.
10066 * math/s_clog10l.c (__clog10l): Likewise.
10067 * math/s_clogf.c (__clogf): Likewise.
10068 * math/s_clogl.c (__clogl): Likewise.
10069 * math/libm-test.inc (clog_test): Add more tests.
10070 (clog10_test): Likewise.
10071 * sysdeps/i386/fpu/libm-test-ulps: Update.
10072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10073
2bc13872
FW
100742012-07-31 Florian Weimer <fweimer@redhat.com>
10075
10076 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10077 Exit with zero in case no suitable GID is found, and write a
10078 message to standard error.
10079
bea9b193
RM
100802012-07-30 Roland McGrath <roland@hack.frob.com>
10081
10082 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10083 rather than to 1.
10084 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10085 (MAXPATHLEN): Removed.
10086 (NOGROUP, NODEV): New macros.
10087 (setbit, clrbit, isset, isclr): New macros.
10088 (howmany, roundup, powerof2): New macros.
10089 (DEV_BSIZE): New macro.
10090
10091 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10092 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10093
10094 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10095 definition on [!__NO_LONG_DOUBLE_MATH].
10096
10097 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10098 PTR_MANGLE and PTR_DEMANGLE.
10099
10100 * socket/accept4.c (accept4): Rename to __libc_accept4.
10101 Define accept4 as a weak alias.
10102
10103 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10104 on [_DIRENT_HAVE_D_TYPE].
10105 * io/ftw.c (ftw_dir): Likewise.
10106
10107 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10108
10109 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10110
10111 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10112 Use the BSD numbers rather than the arbitrary ones we had.
10113 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10114 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10115 (SIGXCPU, SIGXFSZ): New macros.
10116 (_NSIG): Now 32.
10117
10118 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10119 initializer on [_LIBC_REENTRANT].
10120
10121 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10122 definitions inside [_POSIX_MAPPED_FILES].
10123
10124 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10125
10126 * dirent/opendir.c: Include <fcntl.h>.
10127
10128 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10129 (__libc_getspecific): Likewise.
10130 (__libc_key_create): Likewise.
10131
10132 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10133 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10134 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10135 (tmpfile64): Define as alias.
10136 * sysdeps/wordsize-64/tmpfile.c: File removed.
10137 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10138 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10139 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10140
10141 * stdio-common/vfscanf.c: Include <stdbool.h>.
10142 * nss/makedb.c: Likewise.
10143 * stdio-common/_i18n_number.h: Likewise.
10144 * argp/argp-help.c: Likewise.
10145 * posix/wordexp.c: Likewise.
10146 * sysdeps/posix/spawni.c: Likewise.
10147 * nss/nss_files/files-initgroups.c: Likewise.
10148 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10149 * nss/nss_files/files-initgroups.c: Likewise.
10150 * nss/nss_db/db-netgrp.c: Likewise.
10151 * nss/nss_db/db-initgroups.c: Likewise.
10152 * io/fchmodat.c: Include <sys/stat.h>.
10153
10154 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10155 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10156
10157 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10158 [HAVE_MMAP].
10159
10160 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10161 Add multiple inclusion protection.
10162
e5abc686
DM
101632012-07-27 David S. Miller <davem@davemloft.net>
10164
10165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10166
815e6fa3
GB
101672012-07-27 Gary Benson <gbenson@redhat.com>
10168
10169 [BZ #14298]
10170 * elf/rtld.c: Include <stap-probe.h>.
10171 (dl_main): Added static probes "init_start" and "init_complete".
10172 * elf/dl-load.c: Include <stap-probe.h>.
10173 (lose): Take new parameter "nsid".
10174 Added static probe "map_failed".
10175 (_dl_map_object_from_fd): Pass namespace id to lose.
10176 Added static probe "map_start".
10177 (open_verify): Pass namespace id to lose.
10178 * elf/dl-open.c: Include <stap-probe.h>.
10179 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10180 and "reloc_complete".
10181 * elf/dl-close.c: Include <stap-probe.h>.
10182 (_dl_close_worker): Added static probes "unmap_start" and
10183 "unmap_complete".
10184 * elf/rtld-debugger-interface.txt: New file documenting the above.
10185
9f98c16c
RM
101862012-07-26 Roland McGrath <roland@hack.frob.com>
10187
10188 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10189 rather than a string variable.
10190 * sunrpc/rpc_main.c (h_output): Likewise.
10191 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10192
f3c22df3
PT
101932012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10194
10195 * inet/check_native.c: New file.
10196
3129cfc6
JM
101972012-07-26 Joseph Myers <joseph@codesourcery.com>
10198
da865e95
JM
10199 [BZ #13629]
10200 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10201 if larger part has absolute value 1.0.
10202 * math/s_clog10.c (__clog10): Likewise.
10203 * math/s_clog10f.c (__clog10f): Likewise.
10204 * math/s_clog10l.c (__clog10l): Likewise.
10205 * math/s_clogf.c (__clogf): Likewise.
10206 * math/s_clogl.c (__clogl): Likewise.
10207 * math/libm-test.inc (clog_test): Add more tests.
10208 (clog10_test): Likewise.
10209 * sysdeps/i386/fpu/libm-test-ulps: Update.
10210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10211
3129cfc6
JM
10212 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10213 (pltexit): Likewise.
10214 (La_regs): Likewise.
10215 (La_retval): Likewise.
10216 (int_retval): Likewise.
10217 Update #error for removed macros to refer only to definitions in
10218 tst-audit.h.
10219 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10220 macro.
10221 (pltexit): Likewise.
10222 (La_regs): Likewise.
10223 (La_retval): Likewise.
10224 (int_retval): Likewise.
10225 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10226 macro.
10227 (pltexit): Likewise.
10228 (La_regs): Likewise.
10229 (La_retval): Likewise.
10230 (int_retval): Likewise.
10231 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10232 macro.
10233 (pltexit): Likewise.
10234 (La_regs): Likewise.
10235 (La_retval): Likewise.
10236 (int_retval): Likewise.
10237 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10238 macro.
10239 (pltexit): Likewise.
10240 (La_regs): Likewise.
10241 (La_retval): Likewise.
10242 (int_retval): Likewise.
10243 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10244 macro.
10245 (pltexit): Likewise.
10246 (La_regs): Likewise.
10247 (La_retval): Likewise.
10248 (int_retval): Likewise.
10249 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10250 macro.
10251 (pltexit): Likewise.
10252 (La_regs): Likewise.
10253 (La_retval): Likewise.
10254 (int_retval): Likewise.
10255 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10256 macro definitions in tst-audit.h.
10257 * sysdeps/i386/tst-audit.h: New file.
10258 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10259 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10260 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10261 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10262 * sysdeps/sh/tst-audit.h: Likewise.
10263 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10264 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10265 * sysdeps/x86_64/tst-audit.h: Likewise.
10266
bfc07087
AJ
102672012-07-26 Andreas Jaeger <aj@suse.de>
10268
b1b2aaf8
AJ
10269 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10270 ptrace.
10271
10272 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10273 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10274 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10275 PTRACE_O_MASK.
10276 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10277 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10278 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10279
bfc07087
AJ
10280 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10281 value.
10282
10283 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10284 _sigsys.
10285 (si_call_addr, si_syscall, si_arch): Define new macro.
10286 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10287 _sigsys.
10288 (si_call_addr, si_syscall, si_arch): Define new marcro.
10289 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10290 _sigsys.
10291 (si_call_addr, si_syscall, si_arch): Define new macro.
10292 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10293 _sigsys.
10294 (si_call_addr, si_syscall, si_arch): Define new macro.
10295
89b4b02f
JM
102962012-07-25 Joseph Myers <joseph@codesourcery.com>
10297
10298 [BZ #13717]
10299 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10300 Change to 2.4.21 where previously 2.4.1.
10301 * sysdeps/unix/sysv/linux/configure: Regenerated.
10302 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10303 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10304 Linux kernel version.
10305 (__ASSUME_STD_AUXV): Remove.
10306 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10307 kernel version.
10308 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10309 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10310 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10311 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10312 (__ASSUME_NETLINK_SUPPORT): Likewise.
10313 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10314 (__no_netlink_support): Remove conditional definition.
10315 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10316 Remove.
10317 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10318 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10319 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10320 (if_nameindex_ioctl): Remove.
10321 (if_nameindex_netlink): Do not handle __no_netlink_support.
10322 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10323 code.
10324 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10325 Remove conditional code.
10326 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10327 code.
10328 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10329 unconditional.
10330 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10331 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10332 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10333 Remove.
10334 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10335 [!__ASSUME_STD_AUXV]: Remove conditional code.
10336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10337 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10338 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10340 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10341 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10342 code.
10343 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10345 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10346 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10347 conditional code.
10348 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10350 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10351 code.
10352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10353 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10354 conditional code.
10355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10356 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10357 code unconditional.
10358 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10359 conditional code.
10360 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10361 unconditional.
10362 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10363 conditional code.
10364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10365 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10366 unconditional.
10367 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10368 conditional code.
10369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10370 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10371 code unconditional.
10372 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10373 conditional code.
10374 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10375 unconditional.
10376 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10377 conditional code.
10378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10379 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10380 code unconditional.
10381 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10382 conditional code.
10383 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10384 unconditional.
10385 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10386 conditional code.
10387
842a39cd
AS
103882012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10389
10390 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10391 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10392 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10393 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10394 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10395 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10396 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10397 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10398 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10399 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10400 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10401 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10402 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10403 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10404 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10405 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10406 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10407 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10408 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10409 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10410 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10411 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10412 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10413
84b3fd84
FW
104142012-07-25 Florian Weimer <fweimer@redhat.com>
10415
10416 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
10417 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10418 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10419 Introduce __libc_secure_getenv.
0c7936d5
FW
10420 * stdlib/Versions (2.17): Add secure_getenv
10421 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10422 * stdlib/secure-getenv.c: Rename __secure_getenv to
10423 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10424 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
10425 * stdlib/tst-secure-getenv.c: New.
10426 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
10427 * manual/startup.texi (Environment Access): Document
10428 secure_getenv.
84b3fd84
FW
10429 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10430 __libc_secure_getenv.
10431 * inet/ruserpass.c (ruserpass): Likewise.
10432 * malloc/mtrace.c (mtrace): Likewise.
10433 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 10434 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
10435 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10436 * sysdeps/posix/tempname.c: Likewise. Evaluate
10437 HAVE_SECURE_GETENV.
10438 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 10439 __secure_getenv to __libc_secure_getenv.
84b3fd84 10440 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
10441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10442 Likewise.
10443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10444 Likewise.
10445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10447 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10450 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 10452
56e49b71
JM
104532012-07-25 Joseph Myers <joseph@codesourcery.com>
10454
10455 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10456 (struct La_i86_retval): Likewise.
10457 (struct La_x86_64_regs): Likewise.
10458 (struct La_x86_64_retval): Likewise.
10459 (struct La_x32_regs): Likewise.
10460 (struct La_x32_retval): Likewise.
10461 (struct La_ppc32_regs): Likewise.
10462 (struct La_ppc32_retval): Likewise.
10463 (struct La_ppc64_regs): Likewise.
10464 (struct La_ppc64_retval): Likewise.
10465 (struct La_sh_regs): Likewise.
10466 (struct La_sh_retval): Likewise.
10467 (struct La_s390_32_regs): Likewise.
10468 (struct La_s390_32_retval): Likewise.
10469 (struct La_s390_64_regs): Likewise.
10470 (struct La_s390_64_retval): Likewise.
10471 (struct La_sparc32_regs): Likewise.
10472 (struct La_sparc32_retval): Likewise.
10473 (struct La_sparc64_regs): Likewise.
10474 (struct La_sparc64_retval): Likewise.
10475 (struct audit_ifaces): Remove architecture-specific pltenter and
10476 pltexit members.
10477 * sysdeps/i386/ldsodefs.h: New file.
10478 * sysdeps/powerpc/ldsodefs.h: Likewise.
10479 * sysdeps/s390/ldsodefs.h: Likewise.
10480 * sysdeps/sh/ldsodefs.h: Likewise.
10481 * sysdeps/sparc/ldsodefs.h: Likewise.
10482 * sysdeps/x86_64/ldsodefs.h: Likewise.
10483
354691b7
MP
104842012-07-25 Marek Polacek <polacek@redhat.com>
10485
10486 [BZ #6808]
10487 * math/libm-test.inc (yn_test): Add another test.
10488 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10489 to ERANGE when the result is +-Inf.
10490 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10491 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10492 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10493 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10494
bf9e2071
JM
104952012-07-24 Joseph Myers <joseph@codesourcery.com>
10496
10497 * conform/data/time.h-data (NULL): Use macro-constant. Require
10498 equal to 0.
10499 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10500 clock_t.
10501 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10502
57633811
TS
105032012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10504
10505 * configure.in <sysdeps resolving>: Correct printing
10506 Implies_before.
10507 * configure: Regenerate.
10508
c23c33b0
TS
105092012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10510
10511 * math/w_ilogb.c: Include <limits.h>.
10512 * math/w_ilogbl.c: Likewise.
10513
b5982523
JM
105142012-07-20 Joseph Myers <joseph@codesourcery.com>
10515
10516 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10517 va_copy. Document allowing for unavailable va_copy only as
10518 pre-C99 compatibility.
10519 * manual/string.texi (Copying and Concatenation): Use va_copy
10520 instead of __va_copy in concat example.
10521
ac4ea442
PT
105222012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10523
10524 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10525 (__sendto): Use create_address_port. Initialize APORT and deallocate
10526 it if not null.
10527
f98eafbd
PT
10528 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10529 with O_NOLINK passed to __file_name_lookup.
10530
898c7aab
PT
10531 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10532 with O_NOLINK passed to __file_name_lookup.
10533
0ced335a
PT
10534 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10535 negative N or less than NGIDS.
10536
b3404dbd
PT
10537 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10538 type to string_t. Set ERANGE as errno and return it if NAME is not big
10539 enough. Use memcpy instead of strncpy.
10540
0f48659e
JM
105412012-07-20 Joseph Myers <joseph@codesourcery.com>
10542
10543 * elf/Makefile (check-data): Remove.
10544 (localplt.data): New vpath directive.
10545 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10546 instead of $(check-data).
10547 * scripts/data/localplt-generic.data: Move to ...
10548 * sysdeps/generic/localplt.data: ... here.
10549 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10550 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10551 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10553 ... here.
10554 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10556 ... here.
10557 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10559 ... here.
10560 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10562 ... here.
10563 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10565 ... here.
10566 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10568 ... here.
10569
d37cbdaa
AZ
105702012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10571
10572 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10573 PPC32 and PPC64 files.
10574 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10575 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10576
46f85fc2
AK
105772012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10578
10579 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10580 __makecontext_ret to ...
10581 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10582 ... here and call exit if uc_link is NULL. New file.
10583 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10584 __makecontext_ret.S.
10585 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10586 __makecontext_ret to ...
10587 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10588 ... here and call exit if uc_link is NULL. New file.
10589 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10590 __makecontext_ret.S.
10591
08f43f9b
AK
105922012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10593
10594 * elf/elf.h (R_390_IRELATIVE): New definition.
10595 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10596 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10597 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10598 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10599 (elf_machine_lazy_rel): Likewise.
10600 * sysdeps/s390/dl-irel.h: New file.
10601 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10602 * sysdeps/s390/s390-64/memset.S: New asm code.
10603 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10604 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10605 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10606 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10607 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10608 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10609 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10610 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10611 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10612 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10613 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10614 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10615 * sysdeps/s390/s390-32/memset.S: New asm code.
10616 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10617
3b05db33
MP
106182012-07-17 Marek Polacek <polacek@redhat.com>
10619
10620 [BZ #14349]
10621 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10622 * sysdeps/s390/s390-64/configure.in: Likewise.
10623 * sysdeps/sparc/configure.in: Likewise.
10624 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10625 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10626 * sysdeps/i386/configure.in: Likewise.
10627 * sysdeps/x86_64/configure.in: Likewise.
10628 * sysdeps/sh/configure.in: Likewise.
10629 * sysdeps/s390/s390-32/configure: Regenerated.
10630 * sysdeps/s390/s390-64/configure: Likewise.
10631 * sysdeps/x86_64/configure: Likewise.
10632 * sysdeps/sh/configure: Likewise.
10633 * sysdeps/powerpc/powerpc64/configure: Likewise.
10634 * sysdeps/powerpc/powerpc32/configure: Likewise.
10635 * sysdeps/sparc/configure: Likwise.
10636 * sysdeps/i386/configure: Likewise.
10637
a66877c6
MP
10638 * elf/dl-open.c: Comment fixes.
10639
cfc82fd8
JM
106402012-07-17 Joseph Myers <joseph@codesourcery.com>
10641
bd29910a
JM
10642 * Makefile [CXX] (check-data): Remove.
10643 [CXX] (c++-types.data): New vpath directive.
10644 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10645 vpath. Do not allow for C++ type data being missing.
10646 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10647 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10648 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10649 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10650 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10651 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10652 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10654 ... here.
10655 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10657 ... here.
10658 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10660 ... here.
10661 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10663 ... here.
10664 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10666 ... here.
10667 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10669 ... here.
10670 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10671 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10672 ... here.
10673 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10675
cfc82fd8
JM
10676 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10677 definitions to architecture-specific files.
10678 (TLS_IE): Likewise.
10679 (TLS_LD): Likewise.
10680 (TLS_GD): Likewise.
10681 * sysdeps/i386/tls-macros.h: New file.
10682 * sysdeps/powerpc/tls-macros.h: Likewise.
10683 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10684 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10685 * sysdeps/sh/tls-macros.h: Likewise.
10686 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10687 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10688 * sysdeps/x86_64/tls-macros.h: Likewise.
10689
f7db3170
TS
106902012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10691
07cbfc23
TS
10692 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10693 zero value for regular exit case.
10694
f7db3170
TS
10695 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10696 (__start_context): Preserve zero value for regular exit case.
10697
dc97c227
TS
106982012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10699 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10700
10701 * manual/setjmp.texi (setcontext): Clarify normal process
10702 termination when uc_link is the null pointer.
10703 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10704 exit call.
10705
d0cd7d02
AS
107062012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10707
10708 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10709 preprocessor. Test for each exception mask separately.
10710
dd318934
AJ
107112012-07-16 Andreas Jaeger <aj@suse.de>
10712
10713 * po/ru.po: Update from translation team.
10714
8048311a
JM
107152012-07-15 Joseph Myers <joseph@codesourcery.com>
10716
10717 * conform/data/string.h-data (NULL): Use macro-constant. Require
10718 equal to 0.
10719 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10720 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10721 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10722 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10723 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10724
b637d46e
AJ
107252012-07-13 Andreas Jaeger <aj@suse.de>
10726
10727 * po/fr.po: Update from translation team.
10728
541428fe
MP
107292012-07-12 Marek Polacek <polacek@redhat.com>
10730
10731 [BZ #14173]
10732 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10733 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10734 loop condition.
10735
ec332e94
JM
107362012-07-12 Joseph Myers <joseph@codesourcery.com>
10737
10738 [BZ #13717]
10739 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10740 Change to 2.4.1 where previously 2.4.0.
10741 * sysdeps/unix/sysv/linux/configure: Regenerated.
10742 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10743 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10744 version.
10745 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10746 (__ASSUME_AT_CLKTCK): Remove.
10747 (__ASSUME_AT_PAGESIZE): Likewise.
10748 (__ASSUME_AT_XID): Likewise.
10749 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10750 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10751 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10752 unconditionally.
10753 (HAVE_AUX_PAGESIZE): Likewise.
10754 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10755 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10756 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10757
7b6e99be
JB
107582012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10759
10760 [BZ #14307]
10761 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10762 the temporary buffer used to invoke __gethostbyname2_r,
10763 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10764 host_data / struct gaih_addrtuple.
10765 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10766 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10767 header file nss/nsswitch.h.
10768 * nss/nsswitch.h (global scope): Add definition of implementation
10769 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10770 resolv/nss_dns/dns-host.c).
10771
608404eb
AJ
107722012-07-11 Andreas Jaeger <aj@suse.de>
10773
10774 * po/fr.po: Update from translation team.
10775
71220aca
AJ
10776 * po/sv.po: Update from translation team
10777 * po/fr.po: Another update from translation team.
10778
28cfe843
AZ
107792012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10780
10781 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10782 for subnormals or multiply small sinh result by itself.
10783 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10785
6b90f981
DM
107862012-07-11 David S. Miller <davem@davemloft.net>
10787
10788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10789
c6825772
AS
107902012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10791
10792 [BZ #14347]
10793 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10794 (INTERNAL_MARK): Shift it here.
10795
7b8e0d49
MP
107962012-07-10 Marek Polacek <polacek@redhat.com>
10797
10798 [BZ #14151]
10799 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10800 libc_cv_asm_global_directive with .globl.
10801 * configure: Regenerated.
10802 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10803 with .globl.
10804 * sysdeps/i386/configure: Regenerated.
10805 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10806 with .globl.
10807 * sysdeps/x86_64/configure: Regenerated.
10808 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10809 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10810 * elf/tst-unique2mod2.c: Likewise.
10811 * elf/tst-unique2mod1.c: Likewise.
10812 * elf/tst-unique1mod2.c: Likewise.
10813 * elf/tst-unique1mod1.c: Likewise.
10814 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10815 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10816 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10817 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10818 * sysdeps/mach/sysdep.h: Likewise.
10819 * sysdeps/i386/sysdep.h: Likewise.
10820 * sysdeps/i386/i386-mcount.S: Likewise.
10821 * sysdeps/x86_64/_mcount.S: Likewise.
10822 * sysdeps/x86_64/sysdep.h: Likewise.
10823 * sysdeps/sh/_mcount.S: Likewise.
10824 * sysdeps/sh/sysdep.h: Likewise.
10825 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10826 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10827 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10828 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10829 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10830 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10831 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10832 * locale/localeinfo.h: Likewise.
10833 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10834 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10835
6c55cda3
RM
108362012-07-09 Roland McGrath <roland@hack.frob.com>
10837
10838 [BZ #14336]
10839 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10840 system".
10841 * manual/message.texi (The Uniforum approach): Likewise.
10842 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10843 (glibc iconv Implementation): Likewise.
10844
638a572e
JM
108452012-07-09 Joseph Myers <joseph@codesourcery.com>
10846
10847 [BZ #14337]
10848 * math/s_clog.c (__clog): Avoid scaling a value down where that
10849 could result in underflow.
10850 * math/s_clog10.c (__clog10): Likewise.
10851 * math/s_clog10f.c (__clog10f): Likewise.
10852 * math/s_clog10l.c (__clog10l): Likewise.
10853 * math/s_clogf.c (__clogf): Likewise.
10854 * math/s_clogl.c (__clogl): Likewise.
10855 * math/libm-test.inc (clog_test): Add more tests.
10856 (clog10_test): Likewise.
10857 * sysdeps/i386/fpu/libm-test-ulps: Update.
10858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10859
261f4859
AS
108602012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10861
0abaf3e4
AS
10862 [BZ #14283]
10863 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10864 by 7 not 8 to examine high bit of fractional part.
10865
261f4859
AS
10866 [BZ #14042]
10867 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10868 for call to __mcount_internal.
10869 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10870 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10871 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10872
f17ac40d
JM
108732012-07-06 Joseph Myers <joseph@codesourcery.com>
10874
9ad63c23
JM
10875 [BZ #14154]
10876 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10877 approximation for values within 0x1p-13f of an odd multiple of
10878 pi/4.
10879 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10880 exception. Add more tests.
10881 * sysdeps/i386/fpu/libm-test-ulps: Update.
10882
f17ac40d
JM
10883 [BZ #6778]
10884 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10885 inputs and return -1 for them. Do not check for +Inf in case not
10886 reachable for +Inf.
10887 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10888 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10889 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10890 and return -1 for them. Do not check for +Inf in case not
10891 reachable for +Inf.
10892 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10893 define.
10894 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10895 and return -1 for them. Do not check for +Inf in case not
10896 reachable for +Inf.
10897 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10898 spurious underflow.
10899 * sysdeps/i386/fpu/libm-test-ulps: Update.
10900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10901
fb21f89b
MF
109022012-07-06 Mike Frysinger <vapier@gentoo.org>
10903
10904 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10905
cdfe2c5e
JM
109062012-07-05 Joseph Myers <joseph@codesourcery.com>
10907
10908 [BZ #14157]
10909 [BZ #14331]
10910 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
10911 could result in spurious underflow. Scale down values above
10912 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
10913 * math/s_csqrtf.c (__csqrtf): Likewise.
10914 * math/s_csqrtl.c (__csqrtl): Likewise.
10915 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
10916 spurious underflow.
10917 * sysdeps/i386/fpu/libm-test-ulps: Update.
10918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10919
70d35b67
AS
109202012-07-04 Andreas Schwab <schwab@linux-m68k.org>
10921
704bc459
AS
10922 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
10923 xopen-msg.sed.
10924 * catgets/xopen-msg.awk: New file.
10925 * catgets/xopen-msg.sed: Removed.
10926
70d35b67
AS
10927 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
10928 po2text.sed.
10929 * intl/po2test.awk: New file.
10930 * intl/po2test.sed: Removed.
10931
ca61cf32
JM
109322012-07-04 Joseph Myers <joseph@codesourcery.com>
10933
10934 [BZ #14328]
10935 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
10936 or multiply small sinh result by itself.
10937 * math/s_ctanf.c (__ctanf): Likewise.
10938 * math/s_ctanh.c (__ctanh): Likewise.
10939 * math/s_ctanhf.c (__ctanhf): Likewise.
10940 * math/s_ctanhl.c (__ctanhl): Likewise.
10941 * math/s_ctanl.c (__ctanl): Likewise.
10942 * math/libm-test.inc (ctan_test_tonearest): New function.
10943 (ctan_test_towardzero): Likewise.
10944 (ctan_test_downward): Likewise.
10945 (ctan_test_upward): Likewise.
10946 (ctanh_test_tonearest): Likewise.
10947 (ctanh_test_towardzero): Likewise.
10948 (ctanh_test_downward): Likewise.
10949 (ctanh_test_upward): Likewise.
10950 (main): Call these new functions.
10951 * sysdeps/i386/fpu/libm-test-ulps: Update.
10952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10953
ca48a46a
MF
109542012-07-03 Mike Frysinger <vapier@gentoo.org>
10955
10956 * .gitignore: Delete /ports entry.
10957
9d63d37d
AJ
109582012-07-03 Andreas Jaeger <aj@suse.de>
10959
10960 * po/bg.po: Update from translation team.
10961 * po/cs.po: Likewise.
10962 * po/de.po: Likewise.
10963 * po/hr.po: Likewise.
10964 * po/nl.pl: Likewise.
10965 * po/pl.po: Likewise.
10966 * po/vi.po: Likewise.
10967
370ca3d2
JM
109682012-07-03 Joseph Myers <joseph@codesourcery.com>
10969
95f5a9a8
JM
10970 * Makeconfig [!+link] (+link-before-libc): New variable.
10971 [!+link] (+link-after-libc): Likewise.
10972 [!+link] (+link-tests): Likewise.
10973 [!+link] (+link): Define in terms of $(+link-before-libc) and
10974 $(+link-after-libc).
10975 [!+link-static] (+link-static-before-libc): New variable.
10976 [!+link-static] (+link-static-after-libc): Likewise.
10977 [!+link-static] (+link-static-tests): Likewise.
10978 [!+link-static] (+link-static): Define in terms of
10979 $(+link-static-before-libc) and $(+link-static-after-libc).
10980 [build-shared] (link-libc-before-gnulib): New variable.
10981 [build-shared] (link-libc-tests): Likewise.
10982 [build-shared] (link-libc): Define in terms of
10983 $(link-libc-before-gnulib).
10984 [!build-shared] (link-libc-tests): New variable.
10985 (link-libc-static-tests): New variable.
10986 [!gnulib] (gnulib-arch): New variable.
10987 [!gnulib] (gnulib-tests): Likewise.
10988 [!gnulib] (static-gnulib-arch): Likewise.
10989 [!gnulib] (static-gnulib-tests): Likewise.
10990 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
10991 Define with "=" instead of ":=".
10992 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
10993 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
10994 * Rules (binaries-all-notests): New variable.
10995 (binaries-all-tests): Likewise.
10996 (binaries-static-notests): Likewise.
10997 (binaries-static-tests): Likewise.
10998 (binaries-all): Define using $(binaries-all-notests) and
10999 $(binaries-all-tests).
11000 (binaries-static): Define using $(binaries-static-notests) and
11001 $(binaries-static-tests).
11002 (binaries-shared-tests): New variable.
11003 (binaries-shared-notests): Likewise.
11004 (binaries-shared): Remove variable.
11005 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11006 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11007 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11008 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11009 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11010 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11011 * elf/Makefile (sln-modules): New variable.
11012 (extra-objs): Add $(sln-modules:=.o).
11013 (ldconfig-modules): Add static-stubs.
11014 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11015 * elf/static-stubs.c: New file.
11016
7a845b2c
JM
11017 [BZ #14283]
11018 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11019 by 7 not 8 to examine high bit of fractional part. Use volatile
11020 variables when splitting into final array of floats if
11021 __FLT_EVAL_METHOD__ != 0.
11022 * math/libm-test.inc (cos_test): Add another test.
11023 (sin_test): Likewise.
11024 * sysdeps/i386/fpu/libm-test-ulps: Update.
11025
e2283f38
JM
11026 [BZ #14273]
11027 * math/libm-test.inc (cosh_test): Add more tests.
11028
370ca3d2
JM
11029 * version.h (RELEASE): Set to "development".
11030 (VERSION): Set to "2.16.90".
11031
ee9247c3
CD
110322012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11033
11034 * NEWS: Update copyright. Remove last-updated date.
11035 Mention math library bug fixes and timezone data changes.
11036 * README: Mention GNU/Hurd, x32, and HPPA support status.
11037
4648c381
TS
110382012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11039
11040 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11041
aac78a43
AJ
110422012-06-27 Andreas Jaeger <aj@suse.de>
11043
11044 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11045
ed3dbfad
AJ
110462012-06-25 Andreas Jaeger <aj@suse.de>
11047
11048 * sysdeps/s390/fpu/libm-test-ulps: Update.
11049
4d0ee855
AS
110502012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11051 Thomas Schwinge <thomas@codesourcery.com>
11052
11053 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11054 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11055 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11056 fanotify_mark.
11057
af1bce34
TS
110582012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11059
a9fa33ba
TS
11060 * sysdeps/mach/start.c: Remove file.
11061 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11062 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11063 * sysdeps/sh/init-first.c: Likewise.
11064
58f902b8
TS
11065 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11066 registers for frame unwinding purposes, add CFI directives.
11067 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11068 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11069 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11070 Likewise.
11071
1518f58b
TS
11072 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11073 __fortify_fail returning.
11074 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11075
db9b5059
TS
11076 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11077 sysdeps/sh/____longjmp_chk.S.
11078 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11079 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11080 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11081 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11082
967705fe
TS
11083 * sysdeps/sh/abort-instr.h: New file.
11084 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11085 process in case exit returns.
11086
a9def8c4
TS
11087 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11088 initialize the GOT register before use.
11089
2a649725
TS
11090 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11091 calculation of ARGC > 4.
11092
af1bce34
TS
11093 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11094 meaningful names to some local labels.
11095
d230f50a
KK
110962012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11097 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11098
11099 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11100 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11101 (__arch_compare_and_exchange_val_16_acq): Likewise.
11102 (__arch_compare_and_exchange_val_32_acq): Likewise.
11103 (atomic_exchange_and_add): Fix gUSA sequence.
11104 (atomic_add): Likewise.
11105 (atomic_add_negative): Likewise.
11106 (atomic_add_zero): Likewise.
11107 (atomic_bit_test_set): Likewise.
11108
0479b305
AS
111092012-06-22 Andreas Schwab <schwab@redhat.com>
11110
11111 [BZ #13579]
11112 * include/link.h (struct link_map): Add l_free_initfini.
11113 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11114 l_initfini.
11115 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11116 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11117 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11118 set.
11119
0e3933b9
CD
111202012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11121
11122 * configure.in: Use AC_LANG_SOURCE.
11123 * configure: Regenerate.
11124
4248b1b1
RM
111252012-06-22 Roland McGrath <roland@hack.frob.com>
11126
11127 * configure.in (libc_cv_localstatedir): New substituted variable.
11128 * configure: Regenerated.
11129 * config.make.in (localstatedir): New variable, substituted from
11130 libc_cv_localstatedir.
11131 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11132 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11133 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11134 * sysdeps/gnu/configure: Regenerated.
11135
006dd861
JL
111362012-06-21 Jeff Law <law@redhat.com>
11137
11138 [BZ #14277]
11139 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11140 free. Simplify list management for _LIBC case.
11141
79662d42
JM
111422012-06-21 Joseph Myers <joseph@codesourcery.com>
11143
b7abb4bf
JM
11144 [BZ #14273]
11145 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11146 Clear sign bit of 64-bit integer value before comparing against
11147 overflow value.
11148
79662d42
JM
11149 * sysdeps/mach/configure: Regenerated.
11150
1f150908
L
111512012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11152
11153 [BZ #14278]
11154 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11155
28363bbf
JL
111562012-06-21 Jeff Law <law@redhat.com>
11157
11158 [BZ #13882]
11159 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11160 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 11161 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
11162 * elf/dl-open.c (dl_open_worker): Likewise.
11163
09615db4
CD
111642012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11165
11166 * scripts/list-sources.sh: Scan PORTS for translations.
11167 * po/libc.pot: Regenerated.
11168
2174c6dd
AJ
111692012-06-21 Andreas Jaeger <aj@suse.de>
11170
11171 [BZ #12194]
11172 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11173 warning.
11174 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11175 * bits/byteswap-16.h (__bswap_16): Likewise.
11176 * bits/byteswap.h (__bswap_constant_16): Likewise.
11177
3ee947b1
L
111782012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11179
11180 [BZ #14117]
a2f34833
L
11181 * sysdeps/i386/fpu_control.h: Removed.
11182 * sysdeps/x86_64/fpu_control.h: Moved to ...
11183 * sysdeps/x86/fpu_control.h: Here.
11184
3ee947b1
L
11185 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11186 (_FPU_SETCW): Likewise.
11187
ed1825f8
L
111882012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11189
25f1282a
L
11190 [BZ #14117]
11191 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11192 * sysdeps/x86/fpu/bits/mathinline.h: This.
11193 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11194
ed1825f8
L
11195 [BZ #14050]
11196 [BZ #14117]
11197 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11198 functions if __x86_64__ is defined.
11199
36d54b74
CLT
112002012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11201
11202 * string/endian.h: Add !__ASSEMBLER__ condition for including
11203 conversion interfaces.
11204
10285c21
JM
112052012-06-15 Joseph Myers <joseph@codesourcery.com>
11206
11207 [BZ #14241]
11208 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11209 of ABS(x) in calculating zero to negative powers other than odd
11210 integers.
11211 * math/libm-test.inc (pow_test): Add more tests.
11212
06c5abbd
AJ
112132012-06-15 Andreas Jaeger <aj@suse.de>
11214
11215 * manual/contrib.texi (Contributors): Update entry of Liubov
11216 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11217 Machado Filho.
11218
a3aeac40
CH
112192012-06-15 Cyril Hrubis <metan@ucw.cz>
11220
11221 * string/string.h: Add __wur to GNU version of strerror_r.
11222
49bdf4c1
L
112232012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11224
11225 [BZ #14229]
11226 * string/Makefile (tests): Add tst-strtok_r.
11227 * string/tst-strtok_r.c: New file.
11228 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11229 RAX_LP/RDX_LP on SAVE_PTR.
11230
834f9b8d
RM
112312012-06-14 Roland McGrath <roland@hack.frob.com>
11232
11233 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11234
75fa1921
JM
112352012-06-14 Joseph Myers <joseph@codesourcery.com>
11236
11237 * libm_test.inc (csqrt_test): Allow more spurious underflow
11238 exceptions.
11239 (j0_test): Likewise.
11240 (j1_test): Likewise.
11241 (y0_test): Likewise.
11242 (y1_test): Likewise.
11243
771766df
CD
112442012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11245
11246 * po/Makefile (libc.pot): Use UTF-8 charset.
11247
ceb9e56b
PP
112482012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11249
11250 [BZ #14210]
11251 Suppress sign-conversion warning from FD_SET.
11252 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11253 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11254 not unsigned long int.
11255 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11256
ddb28975
L
112572012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11258
11259 [BZ #14050]
11260 [BZ #14117]
11261 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11262 __extern_always_inline instead of __extern_inline.
11263 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11264 (__signbit): Likewise.
11265 (__signbitl): Support C++ namespace.
11266 (lrintf): New inline function.
11267 (lrint): Likewise.
11268 (llrintf): Likewise.
11269 (llrint): Likewise.
11270 (fmaxf): Likewise.
11271 (fmax): Likewise.
11272 (fminf): Likewise.
11273 (fmin): Likewise.
11274 (rint): Likewise.
11275 (rintf): Likewise.
11276 (ceil): Likewise.
11277 (ceilf): Likewise.
11278 (floor): Likewise.
11279 (floorf): Likewise.
11280 (nearbyint): Likewise.
11281 (nearbyintf): Likewise.
11282
d7b4fb26
TS
112832012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11284
11285 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11286 non-default versions.
11287
eb55f5c2
RM
112882012-06-11 Roland McGrath <roland@hack.frob.com>
11289
11290 [BZ #14218]
11291 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11292
366af02c
TS
112932012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11294
99ff6e5c
TS
11295 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11296 (FE_UPWARD, FE_DOWNWARD): Don't define.
11297 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11298 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11299
366af02c
TS
11300 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11301 reading it.
11302 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11303 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11304
793ea851
KK
113052012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11306
11307 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11308 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11309 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11310 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11311
a728a38f
L
113122012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11313
11314 [BZ #14117]
c08010c7
L
11315 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11316 * sysdeps/i386/fpu/Implies: New file.
11317 * sysdeps/x86_64/fpu/Implies: Likewise.
11318 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11319 * sysdeps/x86/fpu/bits/fenv.h: This.
11320
a728a38f
L
11321 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11322 __SSE_MATH__.
11323
6e230d11
SP
113242012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11325
11326 [BZ #14134]
11327 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11328 character 0xffff that matches the last element of the
11329 conversion table.
11330
1b671feb
AZ
113312012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11332
11333 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11334 fmodl commit.
11335
6043738b
AZ
113362012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11337
11338 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11339 values higher than 25.6283.
11340
34ae0b32
AZ
113412012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11342
11343 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11344 subnormal exponent extraction and add some __builtin_expect.
11345 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11346 Fix for subnormal mantissa calculation.
11347
1214ec8f
MF
113482012-06-04 Mike Frysinger <vapier@gentoo.org>
11349
11350 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11351 cpu2 is -1 and errno is not ENOSYS.
11352
f3d1f93c
L
113532012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11354
11355 [BZ #14117]
0e4a3cd7
L
11356 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11357 * sysdeps/x86/bits/string.h: This.
11358 * sysdeps/x86_64/bits/string.h: Removed.
11359
6704c645
L
11360 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11361 if not compiling for x86-64, but compiling for >= i486.
11362
48495318
L
11363 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11364 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11365
14adcbfc
L
11366 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11367 New macro from Linux kernel 3.4.0.
11368 (FP_XSTATE_MAGIC2): Likewise.
11369 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11370 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11371 (struct _fpx_sw_bytes): New struct.
11372 (struct _xsave_hdr): Likewise.
11373 (struct _ymmh_state): Likewise.
11374 (struct _xstate): Likewise.
11375
68e408ab
L
11376 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11377 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11378 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11379 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11380 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11381 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11382
f3d1f93c
L
11383 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11384 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11385 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11386 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11387 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11388 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11389
d9dc34cd
TMQMF
113902012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11391
11392 [BZ #13743]
11393 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11394 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11395 (sysdep_headers): Include sys/platform/ppc.h.
11396 * sysdeps/powerpc/test-gettimebase.c: Test for
11397 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11398 * manual/Makefile (appendices): Include platform.texi.
11399 * manual/contrib.texi (Contributors): Update @node pointers.
11400 * manual/maint.texi (Maintenance): Likewise.
11401 (Platform): New node.
11402 * manual/platform.texi: New file. Document the new features.
11403
4af3879c
SP
114042012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11405 Jakub Jelinek <jakub@redhat.com>
11406
11407 [BZ #14188]
11408 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11409 where __builtin_expect is unavailable.
11410
2fd6ff13
DM
114112012-06-03 David S. Miller <davem@davemloft.net>
11412
11413 * stdlib/longlong.h: Updated from GCC.
11414
173f7220
AS
114152012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11416
11417 [BZ #14042]
11418 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11419 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11420 __mcount_internal.
11421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11422 (GLIBC_2.16): Likewise.
11423
f34a1c6f
L
114242012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11425
11426 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11427
88a4576f
JM
114282012-06-01 Joseph Myers <joseph@codesourcery.com>
11429
ea32bcdd
JM
11430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11431 (default-abi): New variable.
11432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11433 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11434 variable.
11435 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11436 Likewise.
11437 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11438 Likewise.
11439 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11440 Likewise.
11441
88a4576f
JM
11442 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11443 definition. Document in comment.
11444
402fe938
DM
114452012-06-01 David S. Miller <davem@davemloft.net>
11446
11447 * stdlib/longlong.h: Updated from GCC.
11448
3553723f
L
114492012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11450
11451 [BZ #14117]
3bd872c4
L
11452 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11453 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11454 sys/debugreg.h sys/io.h here.
11455 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11456 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11457 sys/io.h.
11458 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11459 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11460 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11461 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11462 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11463 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11464
3553723f
L
11465 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11466 Define only if __x86_64__ is defined.
11467
4842e4fe
JM
114682012-06-01 Joseph Myers <joseph@codesourcery.com>
11469
c5bfe3d5
JM
11470 [BZ #14048]
11471 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11472 Use int64_t for variable i.
11473 * math/libm-test.inc (fmod_test): Add more tests.
11474
4842e4fe
JM
11475 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11476 z computation is not scheduled after fetestexcept.
11477 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11478 Use math_force_eval instead of asm to ensure calculation scheduled
11479 before exception test.
11480 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11481 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11482
efb73488
AJ
114832012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11484
11485 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11486 computation is not scheduled after fetestexcept.
11487
29bcce7c
L
114882012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11489
11490 [BZ #14117]
11491 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11492 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11493
73a68f94
AZ
114942012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11495
11496 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11497 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11498
67b6df78
L
114992012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11500
edf2933a 11501 [BZ #14117]
ebc64a18
L
11502 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11503 <bits/wordsize.h>.
11504 (__WCHAR_MIN): Support __WORDSIZE == 64.
11505 (__WCHAR_MAX): Likewise.
11506
edf2933a
L
11507 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11508 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11509
57c6cf40
L
11510 [BZ #14183]
11511 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11512 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11513
67b6df78 11514 [BZ #14117]
8eb6281e
L
11515 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11516 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11517
aac639f4
L
11518 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11519 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11520
67b6df78
L
11521 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11522 Defined to 1 if __x86_64__ isn't defined.
11523 (_STAT_VER_LINUX_OLD): New.
11524 (st_atime): Remove duplicate.
11525 (st_mtime): Likewise.
11526 (st_ctime): Likewise.
11527
1c2cfe81
DM
115282012-05-31 David S. Miller <davem@davemloft.net>
11529
11530 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11531 entries.
11532
5be8418c
AS
115332012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11534
e7725326
AS
11535 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11536 gen-libm-test.pl.
11537
5be8418c
AS
11538 [BZ #14132]
11539 * elf/dl-reloc.c: Include <_itoa.h>.
11540 (_dl_reloc_bad_type): Remove use of INTUSE.
11541 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11542 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11543 * stdio-common/psiginfo.c (psiginfo): Likewise.
11544 * stdio-common/psignal.c (psignal): Likewise.
11545 * string/strsignal.c (strsignal): Likewise.
11546 * include/signal.h (_sys_siglist): Declare hidden proto.
11547 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11548 INTVARDEF with libc_hidden_data_def.
11549 * stdio-common/itoa-udigits.c: Likewise.
11550 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11551 (_itoa_lower_digits_internal): Remove declaration.
11552 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11553 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11554 (_sys_sigabbrev_internal): Remove aliases.
11555 (_sys_siglist): Define hidden alias.
11556
507352f1
MT
115572012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11558
11559 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11560 bits/sysctl.h.
11561
42bbb1c3
L
115622012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11563
11564 [BZ #14117]
6bd784b6
L
11565 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11566 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11567
8bca20f0
L
11568 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11569 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11570 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11571 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11572 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11573 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11574
f9e890a9
L
11575 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11576 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11577 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11578
471101a1
L
11579 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11580 with __addr.
11581 (insw): Likewise.
11582 (insl): Likewise.
11583 (outsb): Likewise.
11584 (outsw): Likewise.
11585 (outsl): Likewise.
11586
6451c862
L
11587 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11588 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11589 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11590
a254b8c9
L
11591 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11592 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11593 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11594 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11595 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11596 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11597
b8dfdd92
L
11598 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11599 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11600
578cd270
L
11601 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11602 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11603
de662f5f
L
11604 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11605 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11606 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11607
25653439
L
11608 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11609 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11610 to ...
11611 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11612
6bad24a0
L
11613 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11614 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11615 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11616
42bbb1c3
L
11617 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11618 for x86-64.
11619 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11620
2d10d547
JM
116212012-05-31 Joseph Myers <joseph@codesourcery.com>
11622
11623 * math/math.h (M_El): Use two more decimal places.
11624 (M_LOG2El): Likewise.
11625 (M_LOG10El): Likewise.
11626 (M_LN2l): Likewise.
11627 (M_LN10l): Likewise.
11628 (M_PIl): Likewise.
11629 (M_PI_2l): Likewise.
11630 (M_PI_4l): Likewise.
11631 (M_1_PIl): Likewise.
11632 (M_2_PIl): Likewise.
11633 (M_2_SQRTPIl): Likewise.
11634 (M_SQRT2l): Likewise.
11635 (M_SQRT1_2l): Likewise.
11636
f230c29b
DM
116372012-05-31 David S. Miller <davem@davemloft.net>
11638
11639 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11640 values between float registers.
11641 * sysdeps/sparc/sparc64/memset.S: Likewise.
11642 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11643
fed806c3
MF
116442012-05-31 Mike Frysinger <vapier@gentoo.org>
11645
11646 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11647 -D_FORTIFY_SOURCE=1.
11648 (CPPFLAGS-tst-longjmp_chk.c): Define.
11649 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11650 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11651 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11652 CFLAGS-tst-wchar-h.c.
11653
30917259
MP
116542012-05-31 Marek Polacek <polacek@redhat.com>
11655
11656 [BZ #14132]
11657 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11658 __endmntent_internal): Remove declaration.
11659 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11660 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11661 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11662
1c58d5dc
DM
116632012-05-30 David S. Miller <davem@davemloft.net>
11664
11665 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11666 (___Q_simulate_exceptions): Use real FP ops rather than writing
11667 into the %fsr.
11668 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11669 Likewise.
11670
7dc00e0d
L
116712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11672
11673 [BZ #14117]
0bd53985
L
11674 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11675 * sysdeps/x86/bits/xtitypes.h: This.
11676
3a257e66
L
11677 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11678 * sysdeps/x86/bits/wordsize.h: This.
11679
62f62904
L
11680 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11681 * sysdeps/x86/bits/huge_vall.h: This.
11682
404fe9d9
L
11683 * sysdeps/i386/bits/select.h: Removed.
11684 * sysdeps/x86_64/bits/select.h: Renamed to ...
11685 * sysdeps/x86/bits/select.h: This.
11686
d48d0446
L
11687 * sysdeps/i386/bits/setjmp.h: Removed.
11688 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11689 * sysdeps/x86/bits/setjmp.h: This.
11690
7dc00e0d
L
11691 * sysdeps/i386/bits/mathdef.h: Removed.
11692 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11693 * sysdeps/x86/bits/mathdef.h: This.
11694
03277f8f
AS
116952012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11696
11697 [BZ #14132]
11698 * include/sys/socket.h (__connect_internal)
11699 (__libc_sa_len_internal): Remove declaration.
11700 (__connect, __libc_sa_len): Declare hidden_proto.
11701 (SA_LEN): Remove use of INTUSE.
11702 * socket/connect.c: Add libc_hidden_def.
11703 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11704 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11705 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11706 alias.
11707 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11708 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11709 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11710 of adding _internal alias.
11711
13764867
L
117122012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11713
11714 [BZ #14117]
6bd97696
L
11715 * sysdeps/i386/bits/link.h: Removed.
11716 * sysdeps/i386/bits/linkmap.h: Likewise.
11717 * sysdeps/x86_64/bits/link.h: Renamed to ...
11718 * sysdeps/x86/bits/link.h: This.
11719 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11720 * sysdeps/x86/bits/linkmap.h: This.
11721
f726f0bb
L
11722 * sysdeps/i386/bits/endian.h: Removed.
11723 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11724 * sysdeps/x86/bits/endian.h: This.
11725
13764867
L
11726 * sysdeps/i386/bits/byteswap.h: Removed.
11727 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11728 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11729 * sysdeps/x86/bits/byteswap.h: This.
11730 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11731 * sysdeps/x86/bits/byteswap-16.h: This.
11732 * sysdeps/i386/Implies: Add x86.
11733 * sysdeps/x86_64/Implies: Likewise.
11734
ae251b0b
DM
117352012-05-30 David S. Miller <davem@davemloft.net>
11736
11737 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11738 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11739 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11740 (FP_TRAPPING_EXCEPTIONS): Define.
11741 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11742 (FP_TRAPPING_EXCEPTIONS): Define.
11743 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11744 subnormals only when inexact has been signalled or underflow
11745 exceptions are enabled.
11746 (_FP_PACK_CANONICAL): Likewise.
11747
d5c90867
L
117482012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11749
11750 [BZ #14183]
11751 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11752 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11753
63f1549e
RH
117542012-05-30 Richard Henderson <rth@twiddle.net>
11755
8d8f2279
RH
11756 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11757 with #ifndef NOT_IN_libc.
11758
63f1549e
RH
11759 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11760 marked to avoid plt entry.
11761
0ab0291b
L
117622012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11763
11764 [BZ #14112]
11765 * Makeconfig (default-abi): New macro.
11766 (abi-includes): Likewise.
11767 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11768 $(abi-$(default-abi)-lib-soname) for soname if defined.
11769 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11770 abi-variants.
11771 * Makefile (installed-stubs): Likewise.
11772 * include/stubs-biarch.h: Removed.
11773 * scripts/lib-names.awk: Only handle one library at a time.
11774 * scripts/soversions.awk: Remove WORDSIZE support.
11775 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11776 entries.
11777 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11778 Removed.
11779 (syscall-list-default-condition): Likewise.
11780 (syscall-list-default-condition): Likewise.
11781 (syscall-list-includes): Likewise.
11782 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11783 syscall-list-* with abi-*. Handle undefined abi-variants.
11784 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11785 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11786 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11787 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11788 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11789 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11790 Removed.
11791 (syscall-list-32-options): Likewise.
11792 (syscall-list-32-condition): Likewise.
11793 (syscall-list-64-options): Likewise.
11794 (syscall-list-64-condition): Likewise.
11795 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11796 macro.
11797 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11798 Renamed to ...
11799 (abi-*): This.
11800 (abi-64-ld-soname): New macro.
11801 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11802 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11803 Renamed to ...
11804 (abi-*): This.
11805 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11806 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11807
4da0431d
JM
118082012-05-30 Joseph Myers <joseph@codesourcery.com>
11809
3a85279c
JM
11810 * sysdeps/unix/sysv/linux/kernel-features.h
11811 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11812 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11813 include <kernel-features.h>.
11814 [!__NR_ftruncate64]: Remove conditional code.
11815 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11816 [__NR_ftruncate64]: Make code unconditional.
11817 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11818 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11819 include <kernel-features.h>.
11820 [!__NR_ftruncate64]: Remove conditional code.
11821 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11822 [__NR_ftruncate64]: Make code unconditional.
11823 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11825 include <kernel-features.h>.
11826 [!__NR_ftruncate64]: Remove conditional code.
11827 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11828 [__NR_ftruncate64]: Make code unconditional.
11829 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11831 include <kernel-features.h>.
11832 [!__NR_ftruncate64]: Remove conditional code.
11833 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11834 [__NR_ftruncate64]: Make code unconditional.
11835 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11836
4da0431d
JM
11837 * configure.in (libc_cv_fpie): Weaken to a compile test using
11838 LIBC_TRY_CC_OPTION.
11839 * configure: Regenerated.
11840
11ef492c
AK
118412012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11842
11843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11847 Refreshed.
11848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11854 Refreshed.
11855
d66ef399
DM
118562012-05-27 David S. Miller <davem@davemloft.net>
11857
11858 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11859 (___Q_zero): New.
11860 (__Q_simulate_exceptions): Return void. Change to simulate
11861 exceptions by writing into the %fsr.
11862 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11863 (__Qp_handle_exceptions): Likewise.
11864 (numbers): Delete.
11865 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11866 __Qp_handle_exceptions.
11867 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11868 __Qp_handle_exceptions.
11869 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11870 as unused and give dummy FP_RND_NEAREST initializer.
11871 (FP_INHIBIT_RESULTS): Define.
11872 (___Q_simulate_exceptions): Update declaration.
11873 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11874 formatting.
11875 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11876 as unused and give dummy FP_RND_NEAREST initializer.
11877 (__Qp_handle_exceptions): Update declaration.
11878 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11879 formatting.
11880
04fb54b5
TS
118812012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11882
11883 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11884 the temporary FPU control word.
11885 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11886 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11887 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11888 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11889 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11890 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11891 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11892 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11893 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11894 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11895 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11896
3f99608f
KK
118972012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11898
11899 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11900 fields.
11901
65a4de4e
CLT
119022012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11903
11904 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11905 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11906 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11907 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11908 Likewise.
11909 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11910 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
11911 Likewise.
11912
15749d40
UD
119132012-05-27 Ulrich Drepper <drepper@gmail.com>
11914
11915 * po/h.po: Update from translation team.
11916
25dbcb27
AS
119172012-05-26 Andreas Schwab <schwab@linux-m68k.org>
11918
3d3f8e55
AS
11919 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
11920
25dbcb27
AS
11921 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
11922 handling of denormals.
11923 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11924 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11925 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
11926 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
11927 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11928 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
11929 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
11930 Likewise.
11931
7ad47a80 119322012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
11933
11934 [BZ #14152]
11935 * math/libm-test.inc (fma_test): Don't always expect underflow
11936 exception.
11937
9c6ea9fa
SP
119382012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11939
11940 [BZ #12416]
11941 * elf/tst-execstack.c: Include stackinfo.h.
11942 (do_test): Adjust test case to ensure that pthread_getattr_np
11943 behaviour remains the same after marking stack executable.
11944
a8239222
JM
119452012-05-25 Joseph Myers <joseph@codesourcery.com>
11946
11947 * sysdeps/unix/sysv/linux/kernel-features.h
11948 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
11949 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
11950 kernel-features.h.
11951 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11952 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11953 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
11954 kernel-features.h.
11955 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
11956 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
11957
918b5606
L
119582012-05-25 H.J. Lu <hongjiu.lu@intel.com>
11959
11960 * configure.in: Define the default includes to being none.
11961 * configure: Regenerated.
11962
3a097cc7
RM
119632012-05-25 Roland McGrath <roland@hack.frob.com>
11964
8422c9a5
RM
11965 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
11966 * sysdeps/x86_64/setjmp.S: Likewise.
11967 * sysdeps/i386/bsd-setjmp.S: Likewise.
11968 * sysdeps/i386/bsd-_setjmp.S: Likewise.
11969 * sysdeps/i386/setjmp.S: Likewise.
11970 * sysdeps/i386/__longjmp.S: Likewise.
11971 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
11972 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
11973
3a097cc7
RM
11974 * include/stap-probe.h: New file.
11975 * configure.in: Handle --enable-systemtap.
11976 * configure: Regenerated.
11977 * config.h.in (USE_STAP_PROBE): New #undef.
11978 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
11979 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
11980 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
11981
21708942
JM
119822012-05-25 Joseph Myers <joseph@codesourcery.com>
11983
11984 [BZ #13717]
11985 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
11986 to 2.4.0 where earlier.
11987 * sysdeps/unix/sysv/linux/configure: Regenerated.
11988 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
11997 [__ASSUME_32BITUIDS]: Make code unconditional.
11998 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
11999 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12000 <kernel-features.h>.
12001 [__ASSUME_32BITUIDS]: Make code unconditional.
12002 [!__ASSUME_32BITUIDS]: Remove conditional code.
12003 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12004 <kernel-features.h>.
12005 [__ASSUME_32BITUIDS]: Make code unconditional.
12006 [!__ASSUME_32BITUIDS]: Remove conditional code.
12007 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12008 <kernel-features.h>.
12009 [__ASSUME_32BITUIDS]: Make code unconditional.
12010 [!__ASSUME_32BITUIDS]: Remove conditional code.
12011 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12012 <kernel-features.h>.
12013 [__ASSUME_32BITUIDS]: Make code unconditional.
12014 [!__ASSUME_32BITUIDS]: Remove conditional code.
12015 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12016 <kernel-features.h>.
12017 [__ASSUME_32BITUIDS]: Make code unconditional.
12018 [!__ASSUME_32BITUIDS]: Remove conditional code.
12019 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12020 <kernel-features.h>.
12021 [__ASSUME_32BITUIDS]: Make code unconditional.
12022 [!__ASSUME_32BITUIDS]: Remove conditional code.
12023 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12024 <kernel-features.h>.
12025 [__ASSUME_32BITUIDS]: Make code unconditional.
12026 [!__ASSUME_32BITUIDS]: Remove conditional code.
12027 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12028 <kernel-features.h>.
12029 [__ASSUME_32BITUIDS]: Make code unconditional.
12030 [!__ASSUME_32BITUIDS]: Remove conditional code.
12031 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12032 <kernel-features.h>.
12033 [__ASSUME_32BITUIDS]: Make code unconditional.
12034 [!__ASSUME_32BITUIDS]: Remove conditional code.
12035 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12036 <kernel-features.h>.
12037 [__ASSUME_32BITUIDS]: Make code unconditional.
12038 [!__ASSUME_32BITUIDS]: Remove conditional code.
12039 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12040 <kernel-features.h>.
12041 [__NR_setresgid] (__setresgid): Do not declare.
12042 [__ASSUME_32BITUIDS]: Make code unconditional.
12043 [!__ASSUME_32BITUIDS]: Remove conditional code.
12044 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12045 <kernel-features.h>.
12046 [__NR_setresuid] (__setresuid): Do not declare.
12047 [__ASSUME_32BITUIDS]: Make code unconditional.
12048 [!__ASSUME_32BITUIDS]: Remove conditional code.
12049 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12050 <kernel-features.h>.
12051 [__ASSUME_32BITUIDS]: Make code unconditional.
12052 [!__ASSUME_32BITUIDS]: Remove conditional code.
12053 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12054 <kernel-features.h>.
12055 [__ASSUME_32BITUIDS]: Make code unconditional.
12056 [!__ASSUME_32BITUIDS]: Remove conditional code.
12057 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12058 <kernel-features.h>.
12059 [__ASSUME_32BITUIDS]: Make code unconditional.
12060 [!__ASSUME_32BITUIDS]: Remove conditional code.
12061 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12062 <kernel-features.h>.
12063 [__ASSUME_32BITUIDS]: Make code unconditional.
12064 [!__ASSUME_32BITUIDS]: Remove conditional code.
12065 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12066 <kernel-features.h>.
12067 [__ASSUME_32BITUIDS]: Make code unconditional.
12068 [!__ASSUME_32BITUIDS]: Remove conditional code.
12069 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12070 <kernel-features.h>.
12071 [__ASSUME_32BITUIDS]: Make code unconditional.
12072 [!__ASSUME_32BITUIDS]: Remove conditional code.
12073 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12074 <kernel-features.h>.
12075 [__ASSUME_32BITUIDS]: Make code unconditional.
12076 [!__ASSUME_32BITUIDS]: Remove conditional code.
12077 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12078 <kernel-features.h>.
12079 [__ASSUME_32BITUIDS]: Make code unconditional.
12080 [!__ASSUME_32BITUIDS]: Remove conditional code.
12081 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12082 <kernel-features.h>.
12083 [__ASSUME_32BITUIDS]: Make code unconditional.
12084 [!__ASSUME_32BITUIDS]: Remove conditional code.
12085 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12086 <kernel-features.h>.
12087 [__ASSUME_32BITUIDS]: Make code unconditional.
12088 [!__ASSUME_32BITUIDS]: Remove conditional code.
12089 * sysdeps/unix/sysv/linux/kernel-features.h
12090 (__ASSUME_SETRESUID_SYSCALL): Remove.
12091 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12092 (__ASSUME_32BITUIDS): Likewise.
12093 (__ASSUME_LDT_WORKS): Likewise.
12094 (__ASSUME_O_DIRECTORY): Likewise.
12095 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12096 architecture but not kernel version.
12097 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12098 (__ASSUME_MMAP2_SYSCALL): Likewise.
12099 (__ASSUME_STAT64_SYSCALL): Likewise.
12100 (__ASSUME_IPC64): Likewise.
12101 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12102 <kernel-features.h>.
12103 [__ASSUME_32BITUIDS]: Make code unconditional.
12104 [!__ASSUME_32BITUIDS]: Remove conditional code.
12105 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12106 <kernel-features.h>.
12107 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12108 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12109 132096]: Remove conditional code.
12110 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12111 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12112 <kernel-features.h>.
12113 [__ASSUME_32BITUIDS]: Make code unconditional.
12114 [!__ASSUME_32BITUIDS]: Remove conditional code.
12115 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12116 <kernel-features.h>.
12117 [__ASSUME_32BITUIDS]: Make code unconditional.
12118 [!__ASSUME_32BITUIDS]: Remove conditional code.
12119 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12120 <kernel-features.h>.
12121 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12122 unconditional.
12123 (__setresgid): Do not declare.
12124 [__ASSUME_32BITUIDS]: Make code unconditional.
12125 [!__ASSUME_32BITUIDS]: Remove conditional code.
12126 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12127 <kernel-features.h>.
12128 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12129 unconditional.
12130 (__setresuid): Do not declare.
12131 [__ASSUME_32BITUIDS]: Make code unconditional.
12132 [!__ASSUME_32BITUIDS]: Remove conditional code.
12133 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12134 <kernel-features.h>.
12135 [__ASSUME_32BITUIDS]: Make code unconditional.
12136 [!__ASSUME_32BITUIDS]: Remove conditional code.
12137 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12138 <kernel-features.h>.
12139 [__ASSUME_32BITUIDS]: Make code unconditional.
12140 [!__ASSUME_32BITUIDS]: Remove conditional code.
12141
a386f1cc
RH
121422012-05-25 Richard Henderson <rth@twiddle.net>
12143
12144 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12145 dl_hwcap to ifunc resolver.
12146 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12147 elf_ifunc_invoke.
12148 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12149 dl_hwcap to ifunc resolver.
12150 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12151
b6550497
JM
121522012-05-24 Joseph Myers <joseph@codesourcery.com>
12153
12154 [BZ #14153]
12155 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12156 for |x| <= 2**-26, not 2**-57.
12157 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12158 exception.
12159
b0bc23a1
JL
121602012-05-24 Jeff Law <law@redhat.com>
12161
12162 * stdio-common/Makefile (tests): Add bug25.
12163 * stdio-common/bug25.c: New test.
12164
347c92e9
L
121652012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12166
12167 [BZ #13576]
12168 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12169 multiple of MALLOC_ALIGNMENT in size.
12170 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12171
6bcc8b3f
JM
121722012-05-24 Joseph Myers <joseph@codesourcery.com>
12173
12174 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12175 Require >= 256.
12176 (FILENAME_MAX): Use macro-int-constant.
12177 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12178 (_IOFBF): Use macro-int-constant.
12179 (_IOLBF): Likewise.
12180 (_IONBF): Likewise.
12181 (SEEK_CUR): Likewise.
12182 (SEEK_END): Likewise.
12183 (SEEK_SET): Likewise.
12184 (TMP_MAX): Likewise.
12185 (EOF): Use macro-int-constant. Require < 0.
12186 (NULL): Use macro-constant. Require == 0.
12187 (stdin): Require type to be FILE *.
12188 (stdout): Likewise.
12189 (stderr): Likewise.
12190 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12191 macro-int-constant.
12192 (EXIT_SUCCESS): Likewise.
12193 (NULL): Use macro-constant. Require == 0.
12194 (RAND_MAX): Use macro-int-constant.
12195 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12196 [C99-based standards] (strtof): Require function.
12197 [C99-based standards] (strtold): Likewise.
12198 [C99-based standards] (strtoll): Likewise.
12199 [C99-based standards] (strtoull): Likewise.
12200 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12201 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12202 [ISO || ISO99 || ISO11] (math.h): Likewise.
12203 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12204 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12205 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12206
d18ea0c5
AS
122072012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12208
12209 [BZ #14132]
56d25bb8
AS
12210 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12211 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12212 * intl/dgettext.c (DCGETTEXT): Likewise.
12213 * intl/gettext.c (DCGETTEXT): Likewise.
12214 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12215 * posix/regex_internal.h (gettext): Likewise.
12216 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12217 Remove declaration.
12218 * include/argz.h (__argz_count_internal)
12219 (__argz_stringify_internal): Remove declaration.
12220 (__argz_count, __argz_stringify): Declare hidden proto.
12221 * intl/dcgettext.c: Remove use of INTDEF.
12222 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12223 * string/argz-stringify.c: Likewise.
12224 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12225 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12226 Declare hidden proto.
d18ea0c5
AS
12227 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12228 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12229 Declare hidden proto.
12230 * include/stdio.h (__asprintf_internal): Don't declare.
12231 (__asprintf): Don't define as macro. Declare hidden proto.
12232 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12233 (__fsetlocking): Declare hidden proto.
12234 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12235 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12236 hidden proto.
12237 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12238 (_IO_setlinebuf): Remove use of INTUSE.
12239 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12240 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12241 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12242 Remove declaration.
12243 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12244 (_IO_do_flush): Remove use of INTUSE.
12245 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12246 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12247 (_IO_adjust_column, _IO_least_wmarker)
12248 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12249 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12250 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12251 (_IO_default_doallocate, _IO_wdefault_doallocate)
12252 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12253 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12254 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12255 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12256 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12257 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12258 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12259 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12260 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12261 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12262 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12263 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12264 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12265 proto.
12266 (_IO_flush_all_internal, _IO_adjust_column_internal)
12267 (_IO_default_uflow_internal, _IO_default_finish_internal)
12268 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12269 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12270 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12271 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12272 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12273 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12274 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12275 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12276 (_IO_file_close_internal, _IO_file_close_it_internal)
12277 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12278 (_IO_file_init_internal, _IO_file_attach_internal)
12279 (_IO_file_fopen_internal, _IO_file_read_internal)
12280 (_IO_file_sync_internal, _IO_file_seek_internal)
12281 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12282 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12283 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12284 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12285 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12286 (_IO_list_all_internal, _IO_link_in_internal)
12287 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12288 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12289 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12290 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12291 (_IO_do_write_internal, _IO_padn_internal)
12292 (_IO_getline_info_internal, _IO_getline_internal)
12293 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12294 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12295 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12296 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12297 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12298 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12299 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12300 with libc_hidden_ver, remove use of INTUSE.
12301 * libio/genops.c: Likewise.
12302 * libio/freopen.c: Likewise.
12303 * libio/freopen64.c: Likewise.
12304 * libio/iofclose.c: Likewise.
12305 * libio/iofdopen.c: Likewise.
12306 * libio/iofflush.c: Likewise.
12307 * libio/iofflush_u.c: Likewise.
12308 * libio/iofgets.c: Likewise.
12309 * libio/iofgets_u.c: Likewise.
12310 * libio/iofopen.c: Likewise.
12311 * libio/iofopncook.c: Likewise.
12312 * libio/iofread.c: Likewise.
12313 * libio/iofread_u.c: Likewise.
12314 * libio/ioftell.c: Likewise.
12315 * libio/iofwrite.c: Likewise.
12316 * libio/iogetline.c: Likewise.
12317 * libio/iogets.c: Likewise.
12318 * libio/iogetwline.c: Likewise.
12319 * libio/iopadn.c: Likewise.
12320 * libio/iopopen.c: Likewise.
12321 * libio/ioseekoff.c: Likewise.
12322 * libio/ioseekpos.c: Likewise.
12323 * libio/iosetbuffer.c: Likewise.
12324 * libio/iosetvbuf.c: Likewise.
12325 * libio/ioungetc.c: Likewise.
12326 * libio/ioungetwc.c: Likewise.
12327 * libio/iovdprintf.c: Likewise.
12328 * libio/iovsprintf.c: Likewise.
12329 * libio/iovsscanf.c: Likewise.
12330 * libio/memstream.c: Likewise.
12331 * libio/obprintf.c: Likewise.
12332 * libio/oldfileops.c: Likewise.
12333 * libio/oldiofclose.c: Likewise.
12334 * libio/oldiofdopen.c: Likewise.
12335 * libio/oldiofopen.c: Likewise.
12336 * libio/oldiopopen.c: Likewise.
12337 * libio/oldstdfiles.c: Likewise.
12338 * libio/putc.c: Likewise.
12339 * libio/setbuf.c: Likewise.
12340 * libio/setlinebuf.c: Likewise.
12341 * libio/stdfiles.c: Likewise.
12342 * libio/strops.c: Likewise.
12343 * libio/vasprintf.c: Likewise.
12344 * libio/vscanf.c: Likewise.
12345 * libio/vsnprintf.c: Likewise.
12346 * libio/vswprintf.c: Likewise.
12347 * libio/wfiledoalloc.c: Likewise.
12348 * libio/wfileops.c: Likewise.
12349 * libio/wgenops.c: Likewise.
12350 * libio/wmemstream.c: Likewise.
12351 * libio/wstrops.c: Likewise.
12352 * libio/__fpurge.c: Likewise.
12353 * libio/__fsetlocking.c: Likewise.
12354 * assert/assert.c: Likewise.
12355 * debug/fgets_chk.c: Likewise.
12356 * debug/fgets_u_chk.c: Likewise.
12357 * debug/fread_chk.c: Likewise.
12358 * debug/fread_u_chk.c: Likewise.
12359 * debug/gets_chk.c: Likewise.
12360 * debug/obprintf_chk.c: Likewise.
12361 * debug/vasprintf_chk.c: Likewise.
12362 * debug/vdprintf_chk.c: Likewise.
12363 * debug/vsnprintf_chk.c: Likewise.
12364 * debug/vsprintf_chk.c: Likewise.
12365 * malloc/mtrace.c: Likewise.
12366 * misc/error.c: Likewise.
12367 * misc/syslog.c: Likewise.
12368 * stdio-common/asprintf.c: Likewise.
12369 * stdio-common/fxprintf.c: Likewise.
12370 * stdio-common/getw.c: Likewise.
12371 * stdio-common/isoc99_fscanf.c: Likewise.
12372 * stdio-common/isoc99_scanf.c: Likewise.
12373 * stdio-common/isoc99_vfscanf.c: Likewise.
12374 * stdio-common/isoc99_vscanf.c: Likewise.
12375 * stdio-common/isoc99_vsscanf.c: Likewise.
12376 * stdio-common/printf-prs.c: Likewise.
12377 * stdio-common/printf_fp.c: Likewise.
12378 * stdio-common/printf_fphex.c: Likewise.
12379 * stdio-common/printf_size.c: Likewise.
12380 * stdio-common/putw.c: Likewise.
12381 * stdio-common/scanf.c: Likewise.
12382 * stdio-common/sprintf.c: Likewise.
12383 * stdio-common/tmpfile.c: Likewise.
12384 * stdio-common/vfprintf.c: Likewise.
12385 * stdio-common/vfscanf.c: Likewise.
12386 * stdlib/strfmon_l.c: Likewise.
12387 * sunrpc/openchild.c: Likewise.
12388 * sunrpc/xdr_stdio.c: Likewise.
12389 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12390 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12391
d6c33fda
RM
123922012-05-24 Roland McGrath <roland@hack.frob.com>
12393
c1487492
RM
12394 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12395
12396 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12397 in the third column, to generate for the shared library an IFUNC
12398 that uses _dl_vdso_vsym.
12399 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12400 * Makeconfig (object-suffixes-noshared): New variable.
12401
12402 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12403 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12404 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12405 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12406
d6c33fda
RM
12407 [BZ #14132]
12408 * include/sys/time.h (__gettimeofday): Remove macro.
12409 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12410 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12411 Remove INTDEF.
12412 (__gettimeofday): Add libc_hidden_def.
12413 (gettimeofday): Add libc_hidden_weak.
12414 * sysdeps/mach/gettimeofday.c: Likewise.
12415 * sysdeps/posix/gettimeofday.c: Likewise.
12416 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12417 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12418 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12419 (__gettimeofday_internal): Remove strong_alias.
12420 (__gettimeofday): Add libc_hidden_def.
12421 (gettimeofday): Add libc_hidden_weak.
12422 * sysdeps/unix/syscalls.list (gettimeofday):
12423 Remove __gettimeofday_internal alias.
12424
b5a2bbe6
L
124252012-05-24 Daniel Jacobowitz <drow@false.org>
12426 H.J. Lu <hongjiu.lu@intel.com>
12427
12428 [BZ #12495]
12429 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12430 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12431 (largebin_index_32_big): New.
12432 (largebin_index): Use it for 16-byte alignment.
12433 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12434 correction with front_misalign.
12435
cfba4fda
L
124362012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12437
7f907421
L
12438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12440 Likewise.
12441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12442 Likewise.
12443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12444 Likewise.
12445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12446 Likewise.
12447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12448 Likewise.
12449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12450 Likewise.
12451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12452 Likewise.
12453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12454 Likewise.
12455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12456 Likewise.
12457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12458 Likewise.
12459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12460 Likewise.
12461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12462 Likewise.
12463
cfba4fda
L
12464 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12465 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12466
80bad0cc
JM
124672012-05-24 Joseph Myers <joseph@codesourcery.com>
12468
7a25eb06
JM
12469 [BZ #10846]
12470 [BZ #14036]
12471 * math/libm-test.inc (exp_test): Add test from bug 14036.
12472 (pow_test): Add test from bug 10846.
12473
795405f9
JM
12474 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12475 and other flags.
12476 (special_function): Do not include flags in test name.
12477 (parse_args): Likewise.
12478 * sysdeps/i386/fpu/libm-test-ulps: Update.
12479 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12480 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12481 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12483
80bad0cc
JM
12484 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12485 exceptions.
12486 * math/libm-test.inc ("Philosophy"): Update comment about
12487 exception testing.
12488 (UNDERFLOW_EXCEPTION): New macro.
12489 (UNDERFLOW_EXCEPTION_OK): Likewise.
12490 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12491 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12492 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12493 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12494 (INVALID_EXCEPTION_OK): Update value.
12495 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12496 (OVERFLOW_EXCEPTION_OK): Likewise.
12497 (IGNORE_ZERO_INF_SIGN): Likewise.
12498 (test_exceptions): Handle underflow exceptions.
12499 (acos_test): Update for underflow exception expectations.
12500 (cexp_test): Likewise.
12501 (clog_test): Likewise.
12502 (clog10_test): Likewise.
12503 (csqrt_test): Likewise.
12504 (ctan_test): Likewise.
12505 (ctanh_test): Likewise.
12506 (exp_test): Likewise.
12507 (exp10_test): Likewise.
12508 (exp2_test): Likewise.
12509 (expm1_test): Likewise.
12510 (fma_test): Likewise.
12511 (j0_test): Likewise.
12512 (jn_test): Likewise.
12513 (nexttoward_test): Likewise.
12514 (pow_test): Likewise.
12515 (scalbn_test): Likewise.
12516 (scalbln_test): Likewise.
12517 (tan_test): Likewise.
12518 (y1_test): Likewise.
12519 * sysdeps/i386/fpu/libm-test-ulps: Update.
12520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12521
9e0e3d0b
DM
125222012-05-23 David S. Miller <davem@davemloft.net>
12523
12524 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12525 (__libc_sigaction): Remove unused local variables.
12526
ccd0a08f
L
125272012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12528
12529 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12530
62bdf9a6
PE
125312012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12532
f8591f80
PE
12533 mktime: avoid signed integer overflow
12534 * time/mktime.c (__mktime_internal): Do not mishandle the case
12535 where diff == INT_MIN.
12536
94c7d826
PE
12537 mktime: simplify computation of average
12538 * time/mktime.c (ranged_convert): Use new time_t_avg function
12539 instead of rolling our own (probably-slower) code.
12540
ce73d683
PE
12541 mktime: do not assume signed right shift propagates sign bit
12542 * time/mktime.c (isdst_differ): New static function.
12543 (__mktime_internal): No need to normalize tm_isdst now.
12544 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12545 tm_isdst values.
12546
72a22e59
PE
12547 mktime: merge another wrapv change from gnulib
12548 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12549 from some compilers.
12550
68605433
PE
12551 mktime: remove incorrect attempt at unusual arithmetics
12552 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12553 The code didn't really work on such machines anyway.
12554 (TYPE_MINIMUM): Assume two's complement.
12555 (twos_complement_arithmetic): Verify that long_int and time_t
12556 are two's complement (or unsigned, in the latter case).
12557
03cf7fe3
PE
12558 mktime: check signed shifts on long_int and time_t, too
12559 * time/mktime.c (SHR): Check that shifts work as desired
12560 on the types long_int and time_t too, as SHR is used on
12561 such types.
12562
f04dfbc2
PE
12563 mktime: do not assume 'long' is wide enough
12564 * time/mktime.c (verify): Move decl up.
12565 (long_int): New type.
12566 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12567 to remove assumption in the code that 'long' is wide enough to
12568 store year values. This assumption is not true on x32 and on
12569 some non-glibc platforms.
12570
62bdf9a6
PE
12571 mktime: merge wrapv change from gnulib
12572 * time/mktime.c (WRAPV): New macro.
12573 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12574 (guess_time_tm, __mktime_internal): Do not assume that signed
12575 integer overflow wraps around; modern compilers generate code
12576 where this assumption is no longer valid.
12577
5e292e4f
L
125782012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12579
12580 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12581 Replace "jmp L(pseudo_end)" with "ret".
12582 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12583 Likewise.
12584
8caf8c87
AJ
125852012-05-23 Andreas Jaeger <aj@suse.de>
12586
12587 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12588 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12589
1a09dc56
AJ
125902012-05-23 Andreas Jaeger <aj@suse.de>
12591 Maximilian Attems <max@stro.at>
12592
12593 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12594 New macros.
12595
1c87aba0
L
125962012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12597
12598 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12599 code so that pseudo_end is just ret and the stack pointer is
12600 correct also for static library in error case.
12601
40e45bd5
JM
126022012-05-23 Joseph Myers <joseph@codesourcery.com>
12603
c2670533
JM
12604 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12605 move to syscalls.list.
12606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12610
40e45bd5
JM
12611 * manual/install.texi (Running make install): Do not mention Linux
12612 kernel version for which pt_chown is not needed.
12613 (Linux): Do not mention problems with nscd with 2.0 kernels.
12614 * INSTALL: Regenerated.
12615
be08eda5
AJ
126162012-05-23 Andreas Jaeger <aj@suse.de>
12617
12618 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12619 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12620 macro.
12621 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12622 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12623 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12624 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12625 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12626 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12627 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12628 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12629 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12630 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12631 * sysdeps/unix/sysv/linux/bits/in.h
12632 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12633
a6a056bb
RM
126342012-05-22 Roland McGrath <roland@hack.frob.com>
12635
12636 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12637 (PREPARE_VERSION): Just use assert instead, it will be elided
12638 under [NDEBUG] anyway.
12639
c9009328
L
126402012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12641
12642 * sysdeps/unix/sysv/linux/Makefile: Include
12643 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 12644 (sysdep_routines): Remove sysctl.
c9009328
L
12645 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12646 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12647 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12648 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12649 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12650
73338355
AJ
126512012-05-22 Andreas Jaeger <aj@suse.de>
12652
12653 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12654 that pseudo_end is just ret and the stack pointer is correct also
12655 for static library in error case.
12656
d44638b0
PP
126572012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12658
12659 [BZ #14122]
12660 * nss/nsswitch.c (defconfig_entries): New variable.
12661 (__nss_database_lookup): Don't leak defconfig entries.
12662 (nss_parse_service_list): Don't leak on error paths.
12663 (free_database_entries): New function.
12664 (free_defconfig): New function.
12665 (free_mem): Move common code to free_database_entries.
12666
31a39bd8
L
126672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12668
da0331a8
L
12669 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12670 Add arch_prctl.
12671 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12672
31a39bd8
L
12673 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12674 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12675 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12676 New macro.
12677 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12678 (INTERNAL_SYSCALL_TYPES): Likewise.
12679 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12680 (LOAD_REGS_TYPES_[1-6]): Likewise.
12681 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12682 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12683
45470df3
AZ
126842012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12685
12686 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12687 copysignl for GLIBC_2_0.
12688 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12689 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12690 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12691 logbl for GLIBC_2_0.
12692 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12693 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12694
98a61bcb
L
126952012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12696
a4f6e481
L
12697 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12698 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12699
f63d5db6
L
12700 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12701 Use "neg %eax".
12702
98a61bcb
L
12703 * time/mktime.c: Update copyright years.
12704
95770f14
PE
127052012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12706
6226efbd
PE
12707 mktime: merge comment-quoting-style change from gnulib
12708 * time/mktime.c: Quote 'like this' in comments.
12709 The GNU coding standards suggest that we no longer quote `like this',
12710 as "`" and "'" are typically rendered asymmetrically nowadays.
12711 The typical gnulib style is to quote 'like this' when quoting
12712 code, and "like this" when quoting English.
12713
b99e4f78
PE
12714 * time/mktime.c (compile-command): Add "-I.".
12715
643e01e6
PE
12716 mktime: merge mktime-internal.h change from gnulib
12717 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12718
2554247d
PE
12719 mktime: merge time_r change from gnulib
12720 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12721
826dd0ab
PE
12722 mktime: merge DEBUG change from gnulib
12723 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12724 case system <time.h> has a #define.
12725
bd83aabe
PE
12726 mktime: merge <sys/types.h> change from gnulib
12727 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12728 since <time.t> is now guaranteed to define time_t.
12729
95770f14
PE
12730 mktime: merge HAVE_CONFIG_H change from gnulib
12731 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12732
5e1a27a9
L
127332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12734
0e44a77e
L
12735 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12736 Use "neg %eax".
12737
5e1a27a9
L
12738 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12739 __rlim_t cast.
12740 (struct rusage): Use anonymous union to pad each field to
12741 __syscall_slong_t.
12742
46259bec
DM
127432012-05-21 David S. Miller <davem@davemloft.net>
12744
12745 * Makefules (o-iterator): Remove .s cases.
12746 (compile-command.s): Delete.
12747 (COMPILE.s): Delete.
12748 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12749
59f0c22e
JM
127502012-05-21 Joseph Myers <joseph@codesourcery.com>
12751
12752 * configure.in (libc_cv_predef_stack_protector): Only consider
12753 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12754 * configure: Regenerated.
12755
20c07380
L
127562012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12757
bbb3154b
L
12758 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12759 New macro. Use R*LP on int and pointer.
12760 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
12761 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12762 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
12763 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12764
20c07380
L
12765 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12766 [__WORDSIZE_TIME64_COMPAT32] instead of
12767 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12768 (struct utmp): Likewise.
12769 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12770 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12771 Renamed to ...
12772 (__WORDSIZE_TIME64_COMPAT32): This.
12773 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12774 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12775 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12776 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12777 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12778 (__WORDSIZE_TIME64_COMPAT32): New macro.
12779
d8d1017e
AJ
127802012-05-21 Andreas Jaeger <aj@suse.de>
12781
12782 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12783 only if [SHARED]. Add prototype for __wcschr_ia32.
12784
6c7fb145
RM
127852012-05-21 Roland McGrath <roland@hack.frob.com>
12786
12787 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12788 of %rbp unmolested in the jmp_buf while mangling the low bits.
12789 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12790 unmolested high bits of %rbp while demangling the low bits.
12791 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12792
66274218
AJ
127932012-05-21 Andreas Jaeger <aj@suse.de>
12794
07c58f8f
AJ
12795 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12796 * sunrpc/svc_simple.c: Use it for registerrpc.
12797 * sunrpc/xcrypt.c: Use it for passwd2des.
12798
66274218
AJ
12799 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12800
61f65140
L
128012012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12802
12803 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12804 Don't define if [__SYSCALL_WORDSIZE != 32].
12805 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12806 New macro.
12807
5fefb436
AJ
128082012-05-21 Bruno Haible <bruno@clisp.org>
12809 Andreas Jaeger <aj@suse.de>
12810
12811 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12812 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12813 inptr and inend for must_buffer_ch.
12814 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12815 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12816 * stdio-common/Makefile (tests): Remove bug15.
12817 (bug15-ENV): Remove macro.
12818 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12819 anymore.
12820
d8e272ab
AJ
128212012-05-19 Andreas Jaeger <aj@suse.de>
12822 Roland McGrath <roland@hack.frob.com>
12823
12824 * manual/contrib.texi: Completely rewritten. It contains now an
12825 alphabetical list of contributors and their contributions.
12826
4a56a162
RH
128272012-05-21 Richard Henderson <rth@twiddle.net>
12828
12829 * misc/getauxval.c (__getauxval): Use unsigned long int.
12830 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12831 (getauxval): Use unsigned long int.
12832
d024d23c
L
128332012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12834
12835 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12836
cbc00a03
RM
128372012-05-21 Roland McGrath <roland@hack.frob.com>
12838
12839 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12840 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12841 __alignof__ (long double).
12842
478143fa
AZ
128432012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12844
12845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12846
c7683a6d
RH
128472012-05-20 Richard Henderson <rth@twiddle.net>
12848
12849 * misc/getauxval.c: New file.
12850 * misc/sys/auxv.h: New file.
12851 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12852 (routines): Add getauxval.
12853 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12854 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12855 * elf/dl-sysdep.c (_dl_auxv): Remove.
12856 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12857 * elf/dl-support.c (_dl_auxv): New variable.
12858 (_dl_aux_init): Initialize it.
12859 * manual/startup.texi (Auxiliary Vector): New node.
12860 * sysdeps/generic/bits/hwcap.h: New file.
12861 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12862 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12863 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12864 * sysdeps/sparc/sysdep.h: ... here. Include it.
12865 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12866 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
12867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12868 Update.
c7683a6d
RH
12869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12872 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12873 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12877
a6f1845d
AZ
128782012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12879
12880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12881
cbcbe830
DM
128822012-05-19 David S. Miller <davem@davemloft.net>
12883
12884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12885
e0b16cc2
JM
128862012-05-19 Joseph Myers <joseph@codesourcery.com>
12887
12888 [BZ #14123]
12889 * math/s_ccosh.c: Include <float.h>
12890 (__ccosh): Avoid internal overflow calculating sinh and cosh
12891 values before multiplying by sin and cos values.
12892 * math/s_ccoshf.c: Likewise.
12893 * math/s_ccoshl.c: Likewise.
12894 * math/s_csin.c: Likewise.
12895 * math/s_csinf.c: Likewise.
12896 * math/s_csinl.c: Likewise.
12897 * math/s_csinh.c: Likewise.
12898 * math/s_csinhf.c: Likewise.
12899 * math/s_csinhl.c: Likewise.
12900 * math/libm-test.inc (ccos_test): Add more tests.
12901 (ccosh_test): Likewise.
12902 (csin_test): Likewise.
12903 (csinh_test): Likewise.
12904 * sysdeps/i386/fpu/libm-test-ulps: Update.
12905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12906
6ad13e08
L
129072012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12908
f66f0ce8
L
12909 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12910 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
12911
6ad13e08
L
12912 * sysdeps/x86_64/x32/_itoa.h: Add comment.
12913
b1d072a7
JM
129142012-05-19 Joseph Myers <joseph@codesourcery.com>
12915
12916 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
12917 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
12918 * sysdeps/powerpc/soft-fp/Versions: Likewise.
12919 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
12920 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
12921 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
12922 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
12923 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
12924 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
12925 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
12926 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
12927 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
12928 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
12929 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
12930 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
12931 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
12932 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
12933 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
12934 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
12935 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
12936 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
12937 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
12938 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
12939 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
12940 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
12941 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
12942 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
12943 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
12944 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
12945 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
12946 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
12947
9eae47cb
AJ
129482012-05-18 Andreas Jaeger <aj@suse.de>
12949
12950 * csu/.gitignore: Delete.
12951
bb07f69f
L
129522012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12953
12954 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
12955 (timex): Use __syscall_slong_t.
12956
e6bdb741
AJ
129572012-05-18 Andreas Jaeger <aj@suse.de>
12958 Carlos O'Donell <carlos_odonell@mentor.com>
12959
12960 * manual/install.texi (Configuring and compiling): Update
12961 description about files modified in the source directory.
d6c33fda 12962 * INSTALL: Regenerated.
e6bdb741 12963
1b74487e
L
129642012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12965
12966 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
12967 value. Use "or" to set return value to -1.
12968 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
12969 negate return value.
12970
a88b64b9
TMQMF
129712012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12972
12973 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
12974 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
12975 failure if the compiler has Graphite support disabled.
12976 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
12977 Likewise.
12978 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
12979 CFLAGS-memmove.c): Likewise.
12980 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
12981 Likewise.
12982
3707636e
L
129832012-05-18 H.J. Lu <hongjiu.lu@intel.com>
12984
610b8622
L
12985 * sysdeps/x86_64/x32/_itoa.h: New file.
12986
7cd195df
L
12987 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
12988 getdents system call only if kernel and user dirents have the
12989 same d_ino and d_off.
12990
94b07d20
L
12991 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
12992 LLONG_MAX != LONG_MAX.
12993 (_itoa_word): Use _ITOA_WORD_TYPE on value.
12994 (_fitoa_word): Likewise.
12995
18298070
L
12996 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
12997 years.
12998 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
12999 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13000 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13001
553c7ea4
L
13002 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13003 include <bits/wordsize.h>. Check __x86_64__ instead of
13004 __WORDSIZE.
13005 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13006 if __x86_64__ is defined. Use anonymous union on fpstate.
13007
3707636e
L
13008 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13009 anonymous union.
13010
b53ef01a
AS
130112012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13012
37fb1dc0
AS
13013 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13014 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13015 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13016 Refer to _rtld_local_ro instead of _rtld_global_ro.
13017 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13018 Likewise.
13019 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13020 Likewise.
13021 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13022 Likewise.
13023 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13024 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13025 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13026
b53ef01a
AS
13027 * sysdeps/powerpc/powerpc32/dl-machine.c
13028 (__elf_machine_runtime_setup) [PROF]: Don't reference
13029 _dl_prof_resolve.
13030
7a185db2
AJ
130312012-05-18 Andreas Jaeger <aj@suse.de>
13032
13033 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13034 function only available for GCCs before 3.4 since GCC 3.4
13035 introduced a builtin.
13036 (lrint): Likewise.
13037 (llrintf): Likewise.
13038 (llrint): Likewise.
13039 (fmaxf): Likewise.
13040 (fmax): Likewise.
13041 (fminf): Likewise.
13042 (fmin): Likewise.
13043 (rint): Likewise.
13044 (rintf): Likewise.
13045 (nearbyint): Likewise.
13046 (nearbyintf): Likewise.
13047 (ceil): Likewise.
13048 (ceilf): Likewise.
13049 (floor): Likewise.
13050 (floorf): Likewise.
13051
3e5aef87
L
130522012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13053
428bd707
L
13054 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13055 on both fields and cast pointer to __syscall_ulong_t.
13056
3e5aef87
L
13057 * bits/types.h (__fsword_t): New type.
13058 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13059 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13060 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13061 (__FSWORD_T_TYPE): Likewise.
13062 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13063 (__FSWORD_T_TYPE): Likewise.
13064 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13065 (__FSWORD_T_TYPE): Likewise.
13066 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13067 (__FSWORD_T_TYPE): Likewise.
13068 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13069 __SWORD_TYPE with __fsword_t.
13070 (statfs64): Likewise.
13071
1ba7c3dc
DM
130722012-05-17 David S. Miller <davem@davemloft.net>
13073
13074 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13075
59910343
AJ
130762012-05-17 Andreas Jaeger <aj@suse.de>
13077
13078 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13079 warning.
13080
2e4c1e9e
L
130812012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13082
13083 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13084
de7f5ce7
AJ
130852012-05-17 Andreas Jaeger <aj@suse.de>
13086
13087 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13088 when it is used.
13089
286abc3d
CM
130902012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13091
13092 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13093
477cc68e
L
130942012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13095
13096 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13097 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13098
1a0994f5
CD
130992012-05-17 Andreas Jaeger <aj@suse.de>
13100 Carlos O'Donell <carlos_odonell@mentor.com>
13101
13102 [BZ #14059]
13103 * sysdeps/x86_64/multiarch/init-arch.h
13104 (bit_YMM_Usable): Rename to...
13105 (bit_AVX_Usable): ... this.
13106 (bit_FMA4_Usable): New macro.
13107 (bit_XMM_state): New macro.
13108 (bit_YMM_state): New macro.
13109 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13110 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13111 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13112 (CPUID_OSXSAVE): New macro.
13113 (CPUID_AVX): New macro.
13114 (CPUID_FMA4): New macro.
13115 (index_YMM_Usable): Rename to...
13116 (index_AVX_Usable): ... this.
13117 (HAS_AVX): Use HAS_ARCH_FEATURE.
13118 (HAS_FMA4): Likewise.
13119 (HAS_YMM_USABLE): Remove.
13120 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13121 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13122 are present.
13123 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13124 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13125 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13126 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13127 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13128
0af797de
CM
131292012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13130
13131 * math/libm-test.c: Support platforms without multiple rounding modes.
13132 * math/bug-nextafter.c: Support platforms without FP exceptions.
13133 * math/bug-nexttoward.c: Likewise.
13134 * math/test-fenv.c: Likewise.
13135 * math/test-misc.c: Likewise.
13136 * stdlib/bug-getcontext.c: Likewise.
13137
e39745ff
AJ
131382012-05-17 Andreas Jaeger <aj@suse.de>
13139
13140 * manual/examples/search.c (critter_cmp): Change signature to
13141 avoid warnings.
13142 * manual/string.texi (Collation Functions): Likewise.
13143
48970aba
L
131442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13145
13146 * bits/types.h: Fold copyright years.
13147 * bits/typesizes.h: Likewise.
13148 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13149 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13150 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13151 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13152 * time/time.h: Likewise.
13153
bedee953
PP
131542012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13155
13156 [BZ #208]
13157 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13158 in instead of returning them. Return void.
13159 (__libc_mallinfo): Accumulate over all arenas.
13160 (__malloc_stats): Adjust for change in int_mallinfo interface.
13161
61653dfb
RM
131622012-05-16 Roland McGrath <roland@hack.frob.com>
13163
30b99d79
RM
13164 [BZ #10375]
13165 * configure.in (NM): Add AC_CHECK_TOOL for it.
13166 (libc_extra_cflags): New substituted variable.
13167 Check for -fstack-protector being used implicitly.
13168 * configure: Regenerated.
13169 * config.make.in (config-extra-cflags): New variable,
13170 gets @libc_extra_cflags@.
13171 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13172
61653dfb
RM
13173 [BZ #10375]
13174 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13175 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13176 * configure: Regenerated.
13177 * config.make.in (CPPUNDEFS): New substituted variable.
13178 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13179 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13180 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13181
661768bb
L
131822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13183
13184 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13185 (mq_attr): Use __syscall_slong_t.
13186
d4261567
L
131872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13188
13189 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13190 Check __x86_64__ instead of __WORDSIZE.
13191 (_STAT_VER_LINUX): Likewise.
13192 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13193 __syscall_ulong_t and __syscall_slong_t.
13194 (stat64): Likewise.
13195
cf3ff365
L
131962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13197
13198 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13199
76cf3e4d
L
132002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13201
13202 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13203
a637753a
L
132042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13205
13206 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13207 __syscall_ulong_t.
13208
d5e05119
L
13209 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13210 include <bits/wordsize.h>. Check __x86_64__ instead of
13211 __WORDSIZE.
13212 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13213 defined.
13214 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13215
f62ee380
L
13216 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13217 include <bits/wordsize.h>. Check __x86_64__ instead of
13218 __WORDSIZE.
13219 (user_regs_struct): Use "__extension__ unsigned long long"
13220 instead of "unsigned long" if __x86_64__ is defined.
13221 (user): Likewise. Pad after pointer field if __ILP32__ is
13222 defined.
13223
4e124ced
JM
132242012-05-16 Joseph Myers <joseph@codesourcery.com>
13225
6a3951a0
JM
13226 * configure.in (makeinfo): Require version 4.5 or later. Allow
13227 versions 5 to 9.
13228 * configure: Regenerated.
13229 * manual/install.texi (texinfo): Increase version requirement to
13230 4.5 or later.
13231 * INSTALL: Regenerated.
13232
4e124ced
JM
13233 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13234
953ca31a
L
132352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13236
13237 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13238
617aca05
L
13239 * sysdeps/x86_64/x32/ffs.c: New file.
13240
5762f7ae
L
13241 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13242 __syscall_ulong_t.
13243 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13244 defined. Use __syscall_ulong_t.
13245 (shminfo): Use __syscall_ulong_t.
13246 (shm_info): Likewise.
13247
a26b6856
L
13248 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13249 __syscall_ulong_t.
13250
cb2b9ef7
L
13251 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13252 <bits/wordsize.h>.
13253 (msgqnum_t): Use __syscall_ulong_t.
13254 (msglen_t): Likewise.
13255 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13256 __syscall_ulong_t.
13257
34683bb0
L
13258 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13259 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13260
84a68786
L
13261 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13262
48baa5f1
L
13263 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13264 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13265
180be88b
L
13266 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13267 __syscall_slong_t.
13268
5e90c8ad
L
13269 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13270 include <bits/wordsize.h>. Check __x86_64__ instead of
13271 __WORDSIZE.
13272
23dfb58b
L
13273 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13274 "unsigned long long int" if __x86_64__ is defined.
13275 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13276
ce5d54b0
L
13277 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13278 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13279 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13280
13dc9eac
L
13281 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13282 <stdint.h>.
13283 (GET_PC): Cast to uintptr_t first.
13284 (GET_FRAME): Likewise.
13285 (GET_STACK): Likewise.
13286
a7895d15
L
13287 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13288 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13289 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13290 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13291 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13292 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13293 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13294 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13295 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13296 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13297 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13298 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13299 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13300 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13301 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13302 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13303 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13304 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13305 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13306 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13307 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13308 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13309 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13310 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13311 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13312 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13313 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13314 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13315 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13316
656416c9
AS
133172012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13318
5bd66283
AS
13319 * Makerules (+depfiles): Also collect depfiles from .oS in
13320 $(extra-objs).
13321 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13322 .oS, $(libnldbl-routines)).
13323
656416c9
AS
13324 * Makerules (native-compile-mkdep-flags): Define.
13325 * sunrpc/Makefile (extra-objs): Add $(addprefix
13326 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13327 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13328 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13329 calling $(make-target-directory).
13330
a46f2169
L
133312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13332
13333 * bits/types.h (__snseconds_t): Removed.
13334 * time/time.h (struct timespec): Replace __snseconds_t with
13335 __syscall_slong_t.
13336 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13337 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13338 Likewise.
13339 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13340 (__SNSECONDS_T_TYPE): Likewise.
13341 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13342 (__SNSECONDS_T_TYPE): Likewise.
13343 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13344 (__SNSECONDS_T_TYPE): Likewise.
13345
6af6528b
L
133462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13347
13348 * sysdeps/mach/hurd/bits/typesizes.h
13349 (__SYSCALL_SLONG_TYPE): New macro.
13350 (__SYSCALL_ULONG_TYPE): Likewise.
13351
de986b56
L
133522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13353
13354 * bits/types.h (__syscall_slong_t): New type.
13355 (__syscall_ulong_t): Likewise.
13356
13357 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13358 (__SYSCALL_ULONG_TYPE): Likewise.
13359 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13360 (__SYSCALL_SLONG_TYPE): Likewise.
13361 (__SYSCALL_ULONG_TYPE): Likewise.
13362 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13363 (__SYSCALL_SLONG_TYPE): Likewise.
13364 (__SYSCALL_ULONG_TYPE): Likewise.
13365 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13366 (__SYSCALL_SLONG_TYPE): Likewise.
13367 (__SYSCALL_ULONG_TYPE): Likewise.
13368
85736dc7
L
133692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13370
13371 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13372 Add sigaltstack-offsets.sym.
13373 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13374 <sigaltstack-offsets.h>.
13375 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13376 longjmp_msg pointer.
13377 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13378 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13379 signal stack.
13380 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13381
cc03b296
JM
133822012-05-15 Joseph Myers <joseph@codesourcery.com>
13383
a9538892
JM
13384 * elf/stackguard-macros.h: Remove file.
13385 * sysdeps/generic/stackguard-macros.h: New file.
13386 * sysdeps/i386/stackguard-macros.h: Likewise.
13387 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13388 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13389 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13390 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13391 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13392 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13393 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13394 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13395 <elf/stackguard-macros.h>.
13396
cc03b296
JM
13397 [BZ #14109]
13398 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13399 __aligned__ in attribute.
13400 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13401 (gregset_t): Likewise.
13402
93171016
L
134032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13404
13405 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13406 * sysdeps/x86_64/64/Implies-after: Here. New file.
13407 * sysdeps/x86_64/x32/Implies-after: New file.
13408
d86813a0
L
134092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13410
13411 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13412 and access return value for _dl_profile_fixup. Use R10_LP to
13413 load frame size.
13414
2953ec75
L
134152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13416
13417 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13418
3b550e9e
L
134192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13420
13421 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13422 * sysdeps/x86_64/x32/sysdep.h: New file.
13423
eda41706
L
134242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13425
13426 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13427 * sysdeps/x86_64/setjmp.S: Likewise.
13428
9ea01d93
AZ
134292012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13430
13431 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13432 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13433 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13434 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13435 remove unused global constant.
13436
02a91938
CM
134372012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13438
13439 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13440 include of <not-cancel.h>.
13441
6540185f
RM
134422012-05-15 Roland McGrath <roland@hack.frob.com>
13443
13444 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13445
509072a0
AJ
134462012-05-15 Jeff Law <law@redhat.com>
13447 Andreas Jaeger <aj@suse.de>
13448
13449 [BZ #13594]
13450 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13451 out from...
13452 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13453 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13454 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13455 code changing __hst_map_handle.map.
13456
ba75122d
RM
134572012-05-15 Roland McGrath <roland@hack.frob.com>
13458
13459 * configure.in (sysnames): Look for Implies-before and Implies-after
13460 files.
13461 * configure: Regenerated.
13462
890d8bd8
L
134632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13464
13465 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13466 8-byte data alignment with LP_SIZE alignment.
13467
f6ee6623
L
134682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13469
13470 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13471 into R10_LP.
13472
ea2626f6
L
134732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13474
13475 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13476
085f715e
L
134772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13478
13479 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13480 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13481 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13482 Likewise.
13483 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13484
be8498fc
L
134852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13486
13487 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13488 (stackinfo_sub_sp): Likewise.
13489
70bc83b9
L
134902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13491
13492 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13493 RAX_LP.
13494
9bc0b730
L
134952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13496
13497 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13498 into R*_LP.
13499
6d2850e7
L
135002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13501
13502 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13503 sizes into R*_LP.
13504
3cb84561
L
135052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13506
13507 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13508
54e2ed81
L
135092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13510
13511 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13512 into R11_LP and load __x86_64_shared_cache_size_half into
13513 R8_LP.
13514
8a17f349
L
135152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13516
13517 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13518 R8_LP.
13519
777b1eea
AZ
135202012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13521
13522 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13523 logb for POWER7.
13524 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13525 logbf for POWER7.
13526 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13527 logbl for POWER7.
13528 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13529 powerpc32/power7/fpu/s_logb.c via #include.
13530 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13531 powerpc32/power7/fpu/s_logbf.c via #include.
13532 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13533 powerpc32/power7/fpu/s_logbl.c via #include.
13534
d20d4ac2
JM
135352012-05-15 Joseph Myers <joseph@codesourcery.com>
13536
13537 * README.libm: Remove file.
13538
6cdef1ab
L
135392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13540
13541 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13542 count for x32. Use R*_LP and omit operand-size suffix.
13543
0b254d8f
L
135442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13545
13546 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13547 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13548 * sysdeps/x86_64/x32/shlib-versions: New file.
13549
ceb809dc
RM
135502012-05-14 Roland McGrath <roland@hack.frob.com>
13551
13552 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13553 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13554 Use _dl_fatal_printf instead.
13555
37f1abd4
JM
135562012-05-14 Joseph Myers <joseph@codesourcery.com>
13557
13558 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13559 set if not set by the user. Do not allow for being unset.
13560 * sysdeps/unix/sysv/linux/configure: Regenerated.
13561
11de3a33
L
135622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13563
13564 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13565 the `q' suffix from lea and replace .quad with ASM_ADDR.
13566
e02f153a
L
135672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13568
13569 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13570 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13571 instead of $17.
13572 (PTR_DEMANGLE): Likewise.
13573
520ae0fd
L
135742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13575
13576 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13577 (LP_OP): Likewise.
13578 (ASM_ADDR): Likewise.
13579 (RAX_LP): Likewise.
13580 (RBP_LP): Likewise.
13581 (RBX_LP): Likewise.
13582 (RCX_LP): Likewise.
13583 (RDI_LP): Likewise.
13584 (RSI_LP): Likewise.
13585 (RSP_LP): Likewise.
13586 (R8_LP): Likewise.
13587 (R9_LP): Likewise.
13588 (R10_LP): Likewise.
13589 (R10_LP): Likewise.
13590 (R11_LP): Likewise.
13591 (R12_LP): Likewise.
13592 (R13_LP): Likewise.
13593 (R14_LP): Likewise.
13594 (R15_LP): Likewise.
13595
b985be81
L
135962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13597
13598 * sysdeps/x86_64/x32/dl-machine.h: New file.
13599
6a4888ff
AJ
136002012-05-14 Andreas Jaeger <aj@suse.de>
13601
13602 * manual/Makefile (subdir): Remove export of subdir.
13603 (all): Remove target.
13604 (.PHONY): Remove all from list.
13605 (mkinstalldirs): Remove.
13606 (.PHONY): Remove installdirs from list.
13607 ($(inst_infodir)/libc.info): Use make-target-directory.
13608 (installdirs): Remove.
13609 (subdir_%): Remove.
13610 (glibc-targets): Remove.
13611 (lib): Remove.
13612 (stubs): Remove.
13613 ($(objpfx)stubs ../po/manual.pot): Remove.
13614 ($(objpfx)stamp%): Remove.
13615 (make-target-directory): Remove.
13616 (subdir_install): Remove.
13617 (routines): Remove.
13618 (aux): Remove.
13619 (sources): Remove.
13620 (objects): Remove.
13621 (headers): Remove.
13622
13623 [BZ #13750]
13624 * manual/.gitignore: Remove, it's not needed anymore.
13625 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13626 all files in it.
13627 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13628 directory.
13629 (texis): Renamed to $(objpfx)texis.
13630 (texis-path): New, contains path to generated files.
13631 (chapters.%): Use texis-path for complete path, add extra argument
13632 libc-texinfo.sh.
13633 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13634 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13635 (summary,texi, stamp-summary): Use complete path of
13636 files. Generate files in build dir.
13637 (dir-add.texi): Build in build dir.
13638 (libm-err.texi,stamp-libm-err): Likewise.
13639 (version.texi, stamp-version): Likewise.
13640 (.%c.texi): Likewise.
13641 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13642 (mostlyclean): Remove target.
13643 (realclean): Remove target.
13644 (generated): Add new variable with contents from mostlyclean and
13645 realclean, remove entries duplicated in common-mostlyclean, add
13646 stamp-libm-err and stamp-version.
13647 (generated-dirs): Add libc directory.
13648 ($(inst_infodir)/libc.info): Install files from build dir.
13649
13650 * manual/install.texi (Configuring and compiling): Adjust since
13651 the info files are not part of the tar ball anymore.
13652
7ac77294
AJ
136532012-05-14 Andreas Jaeger <aj@suse.de>
13654
13655 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13656 variable.
13657
ffb7875d
JM
136582012-05-14 Joseph Myers <joseph@codesourcery.com>
13659
13660 [BZ #13717]
13661 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13662 to 2.2.0 where earlier.
13663 * sysdeps/unix/sysv/linux/configure: Regenerated.
13664 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13665 Remove conditional code.
13666 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13667 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13668 Remove conditional code.
13669 [!__NR_lchown]: Likewise.
13670 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13671 [__NR_lchown]: Likewise.
13672 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13673 comment referencing __ASSUME_LCHOWN_SYSCALL.
13674 * sysdeps/unix/sysv/linux/i386/sigaction.c
13675 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13676 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13677 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13678 Remove conditional code.
13679 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13680 (__protocol_available): Remove #if 0 code.
13681 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13682 conditional code.
13683 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13684 * sysdeps/unix/sysv/linux/kernel-features.h
13685 (__ASSUME_GETCWD_SYSCALL): Don't define.
13686 (__ASSUME_REALTIME_SIGNALS): Likewise.
13687 (__ASSUME_PREAD_SYSCALL): Likewise.
13688 (__ASSUME_PWRITE_SYSCALL): Likewise.
13689 (__ASSUME_POLL_SYSCALL): Likewise.
13690 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13691 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13692 non-SPARC.
13693 (__ASSUME_SIOCGIFNAME): Don't define.
13694 (__ASSUME_MSG_NOSIGNAL): Likewise.
13695 (__ASSUME_SENDFILE): Define unconditionally.
13696 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13697 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13698 conditional code.
13699 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13700 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13701 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13702 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13703 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13704 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13705 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13707 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13708 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13710 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13711 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13713 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13714 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13716 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13717 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13719 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13720 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13722 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13723 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13725 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13726 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13728 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13729 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13730 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13731 Remove conditional code.
13732 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13733 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13734 Remove conditional code.
13735 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13736 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13737 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13738 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13739 Remove conditional code.
13740 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13741 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13742 Remove conditional code.
13743 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13744 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13745 Remove conditional code.
13746 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13747 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13748 Remove conditional code.
13749 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13750 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13751 Remove conditional code.
13752 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13753 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13754 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13755 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13756 * sysdeps/unix/sysv/linux/sigaction.c
13757 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13758 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13759 * sysdeps/unix/sysv/linux/sigpending.c
13760 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13761 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13762 * sysdeps/unix/sysv/linux/sigprocmask.c
13763 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13764 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13765 * sysdeps/unix/sysv/linux/sigsuspend.c
13766 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13767 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13768 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13769 (__libc_missing_rt_sigs): Remove.
13770 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13771 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13772 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13773 Remove conditional code.
13774 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13775 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13776 return 1.
13777 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13778 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13779 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13780 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13781
1bfb7291
AJ
137822012-05-14 Andreas Jaeger <aj@suse.de>
13783
caae5a81
AJ
13784 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13785 it's not used in glibc.
13786 (__coshm1): Likewise.
13787 (__acosh1p): Likewise.
13788 (__sgn): Likewise.
13789
1bfb7291
AJ
13790 * manual/string.texi (Copying and Concatenation): Add missing
13791 variable in concat example.
13792 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13793
c044d724
L
137942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13795
144c5467 13796 [BZ #14103]
c044d724
L
13797 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13798 __builtin_clzl with __builtin_clzll.
13799
2523c62b
L
138002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13801
13802 [BZ #14104]
13803 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13804 libc_freeres_ptr.
13805
d7bb4c42
LD
138062012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13807
13808 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13809 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13810 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13811 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13812
9dc4e1fb
MF
138132012-05-14 Mike Frysinger <vapier@gentoo.org>
13814
13815 * NEWS: Update ia64 info.
13816
c7df0112
AS
138172012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13818
13819 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13820 used as bcopy.
13821
dc70356c
TS
138222012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13823
13824 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13825 * sysdeps/unix/syscalls.list (dup3): Likewise.
13826 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13827 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13828
9fb1a21f
L
138292012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13830
13831 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13832 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13833
4822a2a5
L
138342012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13835
13836 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13837 thread pointer.
13838 (TLS_IE): Use mov/add instead of movq/addq to load thread
13839 pointer.
13840 (TLS_GD_PREFIX): New.
13841 (TLS_GD): Use it.
13842
842b81d6
DM
138432012-05-11 David S. Miller <davem@davemloft.net>
13844
13845 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13846 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13847 (_FPU_SETCW): Likewise.
13848
1cf463cd
L
138492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13850
13851 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13852 is 32-byte aligned.
13853
60cc4a18
AS
138542012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13855
13856 [BZ #11837]
13857 * iconvdata/gb18030.c: Update tables.
13858 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13859 characters specially.
13860 (BODY for TO_LOOP): Add encoding of missing ranges.
13861
febb44a4
TS
138622012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13863
13864 [BZ #13673]
13865 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13866 * sysdeps/mach/hurd/dup3.c: Likewise.
13867 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13868 * sysdeps/powerpc/memmove.c:: Likewise.
13869
0a10fb9e
L
138702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13871
13872 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13873 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13874
df8a552f
L
138752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13876
13877 * elf/elf.h (R_X86_64_RELATIVE64): New.
13878 (R_X86_64_NUM): Updated.
13879 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13880 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13881 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13882 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13883 tst-quad1pie tst-quad2pie
13884 (modules-names): Add tst-quadmod1 tst-quadmod2.
13885 ($(objpfx)tst-quad1): New dependency.
13886 ($(objpfx)tst-quad2): Likewise.
13887 ($(objpfx)tst-quad1pie): Likewise.
13888 ($(objpfx)tst-quad2pie): Likewise.
13889 * sysdeps/x86_64/tst-quad1.c: New file.
13890 * sysdeps/x86_64/tst-quad1pie.c: New file.
13891 * sysdeps/x86_64/tst-quad2.c: Likewise.
13892 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13893 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13894 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13895 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13896 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13897
f34d6f84
ST
138982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13899
f42d41d1
ST
13900 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13901 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13902 * streams/stropts.h (t_scalar_t): Define type.
13903
3c3571fc
ST
13904 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13905 (_PATH_PRESERVE): Set to "/var/lib".
13906 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13907
61f06bd3
ST
13908 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13909 instead of int.
13910
918d4d71
ST
13911 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
13912 if __dir_mkfile succeeded.
13913
f34d6f84
ST
13914 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
13915 checking for _hurd_dtablesize. Unlock it right after having
13916 finished _hurd_dtable allocation.
13917
10589b4a
TS
139182012-05-10 Thomas Schwinge <thomas@schwinge.name>
13919
674cdbc7
TS
13920 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
13921 * sysdeps/mach/hurd/configure: Regenerated.
13922 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
13923 special-casing to...
13924 * sysdeps/gnu/configure.in: ... this new file.
13925 * sysdeps/unix/sysv/linux/configure: Regenerated.
13926 * sysdeps/gnu/configure: New generated file.
13927
8e41b99f
TS
13928 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
13929 for Linux: use nsec instead of usec, as well as:
13930 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
13931 members of type struct timespec.
13932 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
13933 New macros.
13934 (struct stat64): Likewise.
13935 (_STATBUF_ST_NSEC): New macro.
13936 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
13937
10589b4a
TS
13938 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13939 __strtoul_internal rather than strtoul.
13940
63643c85
PT
139412012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13942
13943 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
13944 and reject them.
13945
3faebe6a
ST
139462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13947
13948 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
13949 which preserves existing values.
13950 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
13951
c6474b07
PT
139522012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13953
13954 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
13955 TIMEOUT values. Return EINVAL for NFDS values either negative or
13956 greater than FD_SETSIZE.
13957
1043890b
ST
139582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13959
13960 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
13961 allocated, call __vm_protect to finish enabling the existing space, and
13962 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
13963 allocate the remainder.
13964
37ed8b9b
PT
139652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
13966
13967 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
13968 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
13969
db653660
ST
139702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13971
37ed8b9b
PT
13972 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
13973 sysdeps/mach/hurd/readlink.c.
b29d4053 13974
db653660
ST
13975 * posix/tst-sysconf.c (posix_options): Only use
13976 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
13977 _POSIX_SYNCHRONIZED_IO when they are defined
13978 * sysdeps/mach/hurd/bits/posix_opt.h:
13979 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
13980 (_XOPEN_REALTIME): Undefine macro.
13981 (_XOPEN_REALTIME_THREADS): Undefine macro.
13982 (_XOPEN_SHM): Undefine macro.
13983 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
13984 macro to -1.
13985 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
13986 macro to -1.
13987 (_POSIX_ASYNC_IO): Undefine macro.
13988 (_POSIX_PRIORITIZED_IO): Undefine macro.
13989 (_POSIX_SPIN_LOCKS): Define macro to -1.
13990
ee16e894
ST
13991 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
13992 SA_NODEFER, SA_RESETHAND.
13993 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
13994 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
13995 F_DUPFD_CLOEXEC.
13996
6103ae3b
TS
139972012-05-10 Thomas Schwinge <thomas@schwinge.name>
13998
13999 * elf/Makefile (pldd-modules): Define unconditionally.
14000
80b4e5f3
TS
140012012-05-10 Thomas Schwinge <thomas@schwinge.name>
14002
14003 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14004
edadcbd6
ST
140052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14006
14007 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14008 Return ENOENT when name is empty.
14009 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14010
80694780
TS
140112012-05-10 Thomas Schwinge <thomas@schwinge.name>
14012
1792c087
TS
14013 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14014
80694780
TS
14015 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14016
6b645f0d
ST
140172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14018
80694780
TS
14019 Fix mlock in all cases except non-readable pages.
14020 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14021 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 14022
6b645f0d
ST
14023 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14024 (__mkdir): When path is `/', just fail with EEXIST.
14025 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14026
e468f8a3
TS
140272012-05-10 Thomas Schwinge <thomas@schwinge.name>
14028
14029 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14030 <sys/uio.h> (for writev).
14031 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14032 and <sys/param.h> (for MIN).
14033
a4186cff
PT
140342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14035
14036 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14037 REQUESTED_TIME. Properly set the remaining time and return EINTR
14038 if interrupted.
14039
510bbf14
TS
140402012-05-10 Thomas Schwinge <thomas@schwinge.name>
14041
14042 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14043 Depend on against $(link-rpcuserlibs).
14044
5d5722e8
ST
140452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14046
a4186cff
PT
14047 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14048 (__libc_stack_end): Do not use attribute_relro.
14049 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14050 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 14051 to libthread-provided value.
a4186cff
PT
14052 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14053 attribute_relro.
5d5722e8 14054
37233df9
TS
140552012-05-10 Thomas Schwinge <thomas@schwinge.name>
14056
be971a2b
TS
14057 [BZ #3748]
14058 * bits/libc-lock.h (__libc_once_get): New macro.
14059 * sysdeps/mach/bits/libc-lock.h: Likewise.
14060 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14061 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14062 instead of using implementation details.
14063
37233df9
TS
14064 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14065 * libio/freopen.c: Likewise.
14066 * libio/freopen64.c: Likewise.
14067 * misc/syslog.c: Likewise.
14068 * nscd/connections.c: Likewise.
14069 * nscd/netgroupcache.c: Likewise.
14070 * sysdeps/posix/getcwd.c: Likewise.
14071
38de94a5
RM
140722012-05-10 Roland McGrath <roland@hack.frob.com>
14073
14074 * math/w_ilogbf.c: Add #include <limits.h>.
14075
67530489
ST
140762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14077
a4186cff 14078 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
14079 path instead of returning without unlocking.
14080
67530489
ST
14081 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14082 immediate-write ioctls.
14083 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14084
5aa3a74a
TS
140852012-05-10 Thomas Schwinge <thomas@schwinge.name>
14086
18bad2ae
TS
14087 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14088 __builtin_frame_address instead of making assumptions about the
14089 location of the return address relative to DATA. Force early load of
14090 the return address.
14091 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14092 __builtin_frame_address.
14093
5aa3a74a
TS
14094 dup3 for GNU Hurd.
14095 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14096 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14097 implement dup3 and do some further code clean-ups.
14098 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14099 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14100
ecd0de9a
ST
141012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14102
cd9fa985
ST
14103 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14104
a4186cff
PT
14105 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14106 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14107 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14108 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14109 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14110 d->port.lock.
802ca5a5 14111
a4186cff
PT
14112 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14113 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14114 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 14115
bcf55240
TS
141162012-05-10 Thomas Schwinge <thomas@schwinge.name>
14117
6960eb42
TS
14118 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14119 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14120 definitions.
14121
eb43375f
TS
14122 accept4 for GNU Hurd.
14123 * include/sys/socket.h (__libc_accept4): New prototype.
14124 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14125 to implement __libc_accept4.
14126 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14127 __libc_accept4.
14128 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14129
bcf55240
TS
14130 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14131 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14132 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14133 signal-defines.sym.
14134
6178c55b
ST
141352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14136
a4186cff 14137 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 14138
6f080c2f
TS
141392012-05-10 Thomas Schwinge <thomas@schwinge.name>
14140
14141 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14142 assertion on O_CLOEXEC flag.
14143 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14144 * hurd/intern-fd.c: Likewise.
14145 * hurd/port2fd.c: Likewise.
14146
bcfe3a54
ST
141472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14148
14149 [BZ #3906]
14150 * bits/in.h (IPV6_PKTINFO): Define new macro.
14151 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14152
89c9aa49
AZ
141532012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14154
14155 [BZ #13954]
14156 [BZ #13955]
14157 [BZ #13956]
14158 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14159 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14160 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14161 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14162 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14163 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14164 * math/libm-test.inc (logb_test) : Additional logb tests.
14165
021db4be
AJ
141662012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14167 Andreas Jaeger <aj@suse.de>
14168
14169 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14170 * configure: Regenerated.
14171 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14172 * config.make.in (link-obsolete-rpc): New substituted variable.
14173 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14174 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14175 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14176 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14177 so that libc.a contains the symbols.
14178 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14179 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14180 * sunrpc/auth_none.c: Likewise.
14181 * sunrpc/auth_unix.c: Likewise.
14182 * sunrpc/authdes_prot.c: Likewise.
14183 * sunrpc/authuxprot.c: Likewise.
14184 * sunrpc/clnt_gen.c: Likewise.
14185 * sunrpc/clnt_perr.c: Likewise.
14186 * sunrpc/clnt_raw.c: Likewise.
14187 * sunrpc/clnt_simp.c: Likewise.
14188 * sunrpc/clnt_tcp.c: Likewise.
14189 * sunrpc/clnt_udp.c: Likewise.
14190 * sunrpc/clnt_unix.c: Likewise.
14191 * sunrpc/des_crypt.c: Likewise.
14192 * sunrpc/des_soft.c: Likewise.
14193 * sunrpc/get_myaddr.c: Likewise.
14194 * sunrpc/key_call.c: Likewise.
14195 * sunrpc/key_prot.c: Likewise.
14196 * sunrpc/netname.c: Likewise.
14197 * sunrpc/pm_getmaps.c: Likewise.
14198 * sunrpc/pm_getport.c: Likewise.
14199 * sunrpc/pmap_clnt.c: Likewise.
14200 * sunrpc/pmap_prot.c: Likewise.
14201 * sunrpc/pmap_prot2.c: Likewise.
14202 * sunrpc/pmap_rmt.c: Likewise.
14203 * sunrpc/publickey.c: Likewise.
14204 * sunrpc/rpc_cmsg.c: Likewise.
14205 * sunrpc/rpc_common.c: Likewise.
14206 * sunrpc/rpc_dtable.c: Likewise.
14207 * sunrpc/rpc_prot.c: Likewise.
14208 * sunrpc/rpc_thread.c: Likewise.
14209 * sunrpc/rtime.c: Likewise.
14210 * sunrpc/svc.c: Likewise.
14211 * sunrpc/svc_auth.c: Likewise.
14212 * sunrpc/svc_raw.c: Likewise.
14213 * sunrpc/svc_run.c: Likewise.
14214 * sunrpc/svc_tcp.c: Likewise.
14215 * sunrpc/svc_udp.c: Likewise.
14216 * sunrpc/svc_unix.c: Likewise.
14217 * sunrpc/svcauth_des.c: Likewise.
14218 * sunrpc/xcrypt.c: Likewise.
14219 * sunrpc/xdr.c: Likewise.
14220 * sunrpc/xdr_array.c: Likewise.
14221 * sunrpc/xdr_float.c: Likewise.
14222 * sunrpc/xdr_intXX_t.c: Likewise.
14223 * sunrpc/xdr_mem.c: Likewise.
14224 * sunrpc/xdr_rec.c: Likewise.
14225 * sunrpc/xdr_ref.c: Likewise.
14226 * sunrpc/xdr_sizeof.c: Likewise.
14227 * sunrpc/xdr_stdio.c: Likewise.
14228
b5c086a2
RM
142292012-05-10 Roland McGrath <roland@hack.frob.com>
14230
14231 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14232 change. Update copyright years.
14233
6d74dd09
JM
142342012-05-10 Joseph Myers <joseph@codesourcery.com>
14235
14236 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14237
28e72501
MK
142382012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14239 Joseph Myers <joseph@codesourcery.com>
14240 Paul Pluzhnikov <ppluzhnikov@google.com>
14241
14242 [BZ #14012]
14243 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14244 requiring rpcgen.
14245 [cross-compiling] (extra-libs): Likewise.
14246 [cross-compiling] (extra-libs-others): Likewise.
14247 [cross-compiling] (librpcsvc-routines): Likewise.
14248 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14249 [cross-compiling] (omit-deps): Likewise.
14250 (sunrpc-CPPFLAGS): New variable.
14251 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14252 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14253 (cross-rpcgen-objs): New variable.
14254 (extra-objs): Append $(cross-rpcgen-objs).
14255 ($(cross-rpcgen-objs)): New rule.
14256 ($(objpfx)cross-rpcgen): Likewise.
14257 (rpcgen-cmd): Define to use $(built-program-file). Expand
14258 comment.
14259 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14260 ($(objpfx)x%.stmp): Likewise.
14261 * sunrpc/proto.h [IS_IN_build] (_): Define.
14262 [IS_IN_build] (_libc_intl_domainname): Likewise.
14263
c8c59454
L
142642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14265
14266 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14267 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14268 and R_X86_64_TPOFF64.
14269
6f27cd16
JM
142702012-05-10 Joseph Myers <joseph@codesourcery.com>
14271
14272 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14273 sysdeps/unix/sysv/syscalls.list.
14274 (stime): Likewise.
14275 (utime): Likewise.
14276 * sysdeps/unix/sysv/syscalls.list: Remove file.
14277
02467e1c
PE
142782012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14279
14280 [BZ #3440]
14281 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14282 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14283 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14284 (__LC_IDENTIFICATION): Make these macros useful in #if
14285 expressions, as required by C99.
14286
da392631
AS
142872012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14288
14289 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14290 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14291 after this.
14292
8115f29b
L
142932012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14294
14295 * stdlib/longlong.h: Updated from GCC.
14296
bdd74070
AJ
142972012-05-09 Andreas Jaeger <aj@suse.de>
14298
edfe0dbe
AJ
14299 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14300 default is first entry.
14301 (run_mode): Set type.
14302 (main): Remove informal message about syslog.
14303 (options): Fix typo.
14304
bcfe3a54
ST
14305 [BZ #14053]
14306 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 14307 to asm.
bcfe3a54
ST
14308 (lrint): Likewise.
14309 (llrintf): Likewise.
14310 (llrint): Likewise.
14311 (rint): Likewise.
14312 (rintf): Likewise.
14313 (nearbyint): Likewise.
14314 (nearbyintf): Likewise.
bdd74070 14315
91d8d69e
AJ
143162012-05-09 Andreas Jaeger <aj@suse.de>
14317 Pedro Alves <palves@redhat.com>
14318
14319 * nscd/nscd.c (run_mode): Use enum.
14320 (main): Cleanup coding style issue.
14321
bb90b80b
AJ
143222012-05-09 Alexandre Oliva <aoliva@redhat.com>
14323 Andreas Jaeger <aj@suse.de>
14324
bcfe3a54
ST
14325 * nscd/nscd.c (go_background): Replaced with...
14326 (run_mode): ... this.
bb90b80b 14327 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
14328 (options): Add -F --foreground.
14329 (main): Implement it.
14330 (parse_opt): Parse it.
bb90b80b 14331
1a4b75a1
AJ
143322012-05-09 Andreas Jaeger <aj@suse.de>
14333
14334 [BZ #14083]
14335 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14336 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14337 -Wconversion warning.
14338 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14339 Likewise.
14340
b1cc2472
JM
143412012-05-09 Joseph Myers <joseph@codesourcery.com>
14342
14343 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14344 == 0.
14345 (LC_ALL): Use macro-int-constant.
14346 (LC_COLLATE): Likewise.
14347 (LC_CTYPE): Likewise.
14348 (LC_MESSAGES): Likewise.
14349 (LC_MONETARY): Likewise.
14350 (LC_NUMERIC): Likewise.
14351 (LC_TIME): Likewise.
14352 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14353 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14354 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14355 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14356 Specify type.
14357 [C99-based standards] (float_t): Expect type.
14358 [C99-based standards] (double_t): Expect type.
14359 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14360 type.
14361 [C99-based standards] (HUGE_VALL): Likewise.
14362 [C99-based standards] (INFINITY): Likewise.
14363 [C99-based standards] (NAN): Likewise.
14364 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14365 [C99-based standards] (FP_NAN): Likewise.
14366 [C99-based standards] (FP_NORMAL): Likewise.
14367 [C99-based standards] (FP_SUBNORMAL): Likewise.
14368 [C99-based standards] (FP_ZERO): Likewise.
14369 [C99-based standards] (FP_FAST_FMA): Use
14370 optional-macro-int-constant. Specify type. Require == 1.
14371 [C99-based standards] (FP_FAST_FMAF): Likewise.
14372 [C99-based standards] (FP_FAST_FMAL): Likewise.
14373 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14374 [C99-based standards] (FP_ILOGBNAN): Likewise.
14375 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14376 Specify type.
14377 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14378 [C99-based standards] (math_errhandling): Specify type.
14379 [ISO99 || ISO11] (signgam): Do not allow.
14380 [non-C99-based standards] (copysignf): Do not allow.
14381 [non-C99-based standards] (exp2f): Likewise.
14382 [non-C99-based standards] (log2f): Likewise.
14383 [non-C99-based standards] (modff): Allow.
14384 [non-C99-based standards] (erff): Do not allow.
14385 [non-C99-based standards] (erfcf): Likewise.
14386 [non-C99-based standards] (gammaf): Likewise.
14387 [non-C99-based standards] (hypotf): Likewise.
14388 [non-C99-based standards] (j0f): Likewise.
14389 [non-C99-based standards] (j1f): Likewise.
14390 [non-C99-based standards] (jnf): Likewise.
14391 [non-C99-based standards] (lgammaf): Likewise.
14392 [non-C99-based standards] (tgammaf): Likewise.
14393 [non-C99-based standards] (y0f): Likewise.
14394 [non-C99-based standards] (y1f): Likewise.
14395 [non-C99-based standards] (ynf): Likewise.
14396 [non-C99-based standards] (isnanf): Likewise.
14397 [non-C99-based standards] (acoshf): Likewise.
14398 [non-C99-based standards] (asinhf): Likewise.
14399 [non-C99-based standards] (atanhf): Likewise.
14400 [non-C99-based standards] (cbrtf): Likewise.
14401 [non-C99-based standards] (expm1f): Likewise.
14402 [non-C99-based standards] (ilogbf): Likewise.
14403 [non-C99-based standards] (log1pf): Likewise.
14404 [non-C99-based standards] (logbf): Likewise.
14405 [non-C99-based standards] (nextafterf): Likewise.
14406 [non-C99-based standards] (remainderf): Likewise.
14407 [non-C99-based standards] (rintf): Likewise.
14408 [non-C99-based standards] (scalbf): Likewise.
14409 [non-C99-based standards] (copysignl): Likewise.
14410 [non-C99-based standards] (exp2l): Likewise.
14411 [non-C99-based standards] (log2l): Likewise.
14412 [non-C99-based standards] (modfl): Allow.
14413 [non-C99-based standards] (erfl): Do not allow.
14414 [non-C99-based standards] (erfcl): Likewise.
14415 [non-C99-based standards] (gammal): Likewise.
14416 [non-C99-based standards] (hypotl): Likewise.
14417 [non-C99-based standards] (j0l): Likewise.
14418 [non-C99-based standards] (j1l): Likewise.
14419 [non-C99-based standards] (jnl): Likewise.
14420 [non-C99-based standards] (lgammal): Likewise.
14421 [non-C99-based standards] (tgammal): Likewise.
14422 [non-C99-based standards] (y0l): Likewise.
14423 [non-C99-based standards] (y1l): Likewise.
14424 [non-C99-based standards] (ynl): Likewise.
14425 [non-C99-based standards] (isnanl): Likewise.
14426 [non-C99-based standards] (acoshl): Likewise.
14427 [non-C99-based standards] (asinhl): Likewise.
14428 [non-C99-based standards] (atanhl): Likewise.
14429 [non-C99-based standards] (cbrtl): Likewise.
14430 [non-C99-based standards] (expm1l): Likewise.
14431 [non-C99-based standards] (ilogbl): Likewise.
14432 [non-C99-based standards] (log1pl): Likewise.
14433 [non-C99-based standards] (logbl): Likewise.
14434 [non-C99-based standards] (nextafterl): Likewise.
14435 [non-C99-based standards] (remainderl): Likewise.
14436 [non-C99-based standards] (rintl): Likewise.
14437 [non-C99-based standards] (scalbl): Likewise.
14438 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14439 [non-C99-based standards] (FP_*): Do not allow.
14440 [C99-based standards] (FP_*): Change to
14441 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14442 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14443 allow.
14444 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14445 (SIG_ERR): Likewise.
14446 [X/Open-based standards] (SIG_HOLD): Likewise.
14447 (SIG_IGN): Likewise.
14448 (SIGABRT): Use macro-int-constant. Specify type. Require
14449 positive value.
14450 (SIGFPE): Likewise.
14451 (SIGILL): Likewise.
14452 (SIGINT): Likewise.
14453 (SIGSEGV): Likewise.
14454 (SIGTER): Likewise.
14455 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14456 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14457 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14458 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14459 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14460 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14461 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14462 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14463 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14464 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14465 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14466 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14467 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14468 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14469 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14470 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14471 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14472 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14473 [X/Open-based standards] (SIGTRAP): Likewise.
14474 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14475 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14476 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14477 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14478 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14479 allow.
14480
b9f1922d
IW
144812012-05-08 Ian Wienand <ianw@vmware.com>
14482
14483 [BZ #14080]
14484 * time/tzset.c (__tzset_parse_tz): Update default rules for
14485 daylight time changes in the Energy Policy Act of 2005.
14486
1db86e88
AJ
144872012-05-09 Andreas Jaeger <aj@suse.de>
14488
14489 [BZ #13983]
14490 * elf/ldconfig.c (parse_conf): Change string to make clear that
14491 ldconfig only issued a warning if ld.so.conf does not exist.
14492
dee4a4e3
DM
144932012-05-08 David S. Miller <davem@davemloft.net>
14494
ee0db190
DM
14495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14496 movxtod instead of popping the value on the stack.
14497
dee4a4e3
DM
14498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14499
6a43ec98
CD
145002012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14501
14502 * config.h.in: Add HAVE_ARM_PCS_VFP.
14503
05c2c961
RMG
145042012-05-08 Roland Mc Grath <roland@hack.frob.com>
14505
bcfe3a54
ST
14506 [BZ #13979]
14507 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14508 checking but the checks are disabled for any reason.
05c2c961 14509
4b30f61a
L
145102012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14511
14512 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14513 and ELF64_R_TYPE with ELFW(R_TYPE).
14514
eee2bc67
JM
145152012-05-08 Joseph Myers <joseph@codesourcery.com>
14516
7ea5391a
JM
14517 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14518 (ulimit): Likewise.
14519
eee2bc67
JM
14520 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14521 (settimeofday): Likewise.
14522
abb66a67
MF
145232012-05-08 Mike Frysinger <vapier@gentoo.org>
14524
14525 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14526 a struct th_u2 inside the union, and move tu_block/tu_code into
14527 a new th_u3 union of tu_block/tu_code inside of that. Move
14528 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14529 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14530 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14531 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14532 (th_stuff): Change to th_u1.tu_stuff.
14533 (th_data): Define.
14534 (th_msg): Change to th_u1.th_u2.tu_data.
14535
7f18b530
DM
145362012-05-07 David S. Miller <davem@davemloft.net>
14537
05760585
DM
14538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14539
7f18b530
DM
14540 [BZ #14074]
14541 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14542 (SETUP_PIC_REG): Use it.
14543 (SETUP_PIC_REG_LEAF): Use it.
14544
495fd99f
JM
145452012-05-07 Joseph Myers <joseph@codesourcery.com>
14546
14547 [BZ #13885]
14548 [BZ #13923]
14549 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14550 USE_AS_EXPM1L.
14551 (EXPL_FINITE): Likewise.
14552 (FLDLOG): Likewise.
14553 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14554 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14555 e_expl.S.
14556 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14557 USE_AS_EXPM1L.
14558 (EXPL_FINITE): Likewise.
14559 (FLDLOG): Likewise.
14560 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14561 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14562 e_expl.S.
14563 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14564 test of -max_value argument for long double.
14565 * sysdeps/i386/fpu/libm-test-ulps: Update.
14566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14567
6693d694
DM
145682012-05-06 David S. Miller <davem@davemloft.net>
14569
14570 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14571 quad soft-float symbols whose references which are compiler
14572 generated.
14573 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14574
6c23e11c
JM
145752012-05-06 Joseph Myers <joseph@codesourcery.com>
14576
d8b82cad
JM
14577 [BZ #13884]
14578 [BZ #13914]
14579 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14580 USE_AS_EXP10L.
14581 (EXPL_FINITE): Likewise.
14582 (FLDLOG): Likewise.
14583 (c0): Likewise.
14584 (c1): Likewise.
14585 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14586 Adjust comments for base varying.
14587 (__expl_finite): Change alias to EXPL_FINITE.
14588 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14589 e_expl.S.
14590 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14591 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14592 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14593 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14594 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14595 USE_AS_EXP10L.
14596 (EXPL_FINITE): Likewise.
14597 (FLDLOG): Likewise.
14598 (c0): Likewise.
14599 (c1): Likewise.
14600 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14601 Adjust comments for base varying.
14602 (__expl_finite): Change alias to EXPL_FINITE.
14603 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14604 tests for bugs.
14605 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14606
6c23e11c
JM
14607 [BZ #14064]
14608 * math/libm-test.inc (check_float_internal): Correct ulp
14609 calculation for subnormal expected results.
14610
29ba805c
AJ
146112012-05-06 Andreas Jaeger <aj@suse.de>
14612
14613 * Makeconfig (+math-flags): New, set to -frounding-math.
14614 (+cflags): Add +math-flags so that all of glibc gets compiled with
14615 it.
14616
14617 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14618
7b17aeda
JM
146192012-05-05 Joseph Myers <joseph@codesourcery.com>
14620
5779f134
JM
14621 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14622 Disable one test.
14623
41498f4d
JM
14624 [BZ #13787]
14625 [BZ #13922]
14626 [BZ #14036]
14627 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14628 (__ieee754_expl): Allow for and saturate large arguments.
14629 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14630 (u_threshold): Likewise.
14631 (__exp): Call __ieee754_exp before checking for overflow and
14632 underflow.
14633 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14634 (u_threshold): Likewise.
14635 (__expf): Call __ieee754_expf before checking for overflow and
14636 underflow.
14637 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14638 (u_threshold): Likewise.
14639 (__expl): Call __ieee754_expl before checking for overflow and
14640 underflow.
14641 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14642 (__ieee754_expl): Allow for and saturate large arguments.
14643 * math/libm-test.inc (exp_test): Add another test. Do not allow
14644 missing overflow exception on overflow.
14645 (expm1_test): Do not allow missing overflow exception on overflow.
14646
6698b8bf
JM
14647 * sysdeps/i386/fpu/e_expl.c: Move to ...
14648 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14649 rather than using inline asm.
14650 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14651 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14652 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14653
7b17aeda
JM
14654 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14655 (nice): Likewise.
14656 (poll): Likewise.
14657 (signal): Likewise.
14658 (time): Likewise.
14659 (times): Likewise.
14660
f7c85819
JM
146612012-05-04 Joseph Myers <joseph@codesourcery.com>
14662
14663 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14664 sysdeps/unix/common/syscalls.list.
14665 (fchmod): Likewise.
14666 (fchown): Likewise.
14667 (ftruncate): Likewise.
14668 (getrusage): Likewise.
14669 (gettimeofday): Likewise.
14670 (setpgid): Likewise.
14671 (setregid): Likewise.
14672 (setreuid): Likewise.
14673 (sigaction): Likewise.
14674 (truncate): Likewise.
14675 (vhangup): Likewise.
14676 * sysdeps/unix/common/syscalls.list: Remove file.
14677 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14678 * sysdeps/unix/sysv/linux/Implies: Likewise.
14679
336270d0
L
146802012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14681
14682 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14684 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14685 Moved to ...
14686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14687 Here.
14688 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14689 to ...
14690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14691 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14692 to ...
14693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14694 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14695 to ...
14696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14697 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14698 to ...
14699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14700 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14701 to ...
14702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14703 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14704 to ...
14705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14706 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14707 to ...
14708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14709 Here.
14710 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14711 to ...
14712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14713 Here.
14714 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14715 to ...
14716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14717 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14718 Moved to ...
14719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14720 Here.
14721 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14722 to ...
14723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14724
d128e450
JM
147252012-05-04 Joseph Myers <joseph@codesourcery.com>
14726
fa8ee516
JM
14727 * sysdeps/unix/common/bits/dirent.h: Remove file.
14728 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14729
d128e450
JM
14730 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14731 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14732 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14733 * sysdeps/unix/bsd/isatty.c: Likewise.
14734 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14735 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14736 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14737
ff8faaf0 147382012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 14739
62881be4 14740 [BZ #13563]
31dc8730
AZ
14741 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14742 long double comparison inaccuracies.
14743 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14745
6fef930c
AS
147462012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14747
14748 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14749 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14750
8f203e6c
JM
147512012-05-04 Joseph Myers <joseph@codesourcery.com>
14752
14753 [BZ #14049]
14754 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14755 nonzero digits before rounding a hex value.
14756 * stdlib/tst-strtod.c (tests): Add another test.
14757
5197d9c2
AK
147582012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14759
14760 * sysdeps/s390/fpu/libm-test-ulps: Update.
14761
f0c1dedf
AJ
147622012-05-03 Andreas Jaeger <aj@suse.de>
14763
14764 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14765 does not get optimized out.
14766 (malloc_opt_barrier): New.
14767
a65ef2ae 147682012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 14769 Roland McGrath <roland@hack.frob.com>
a65ef2ae 14770
2b942cb7 14771 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 14772 intermediate file deletion.
2b942cb7 14773 (generated): Add .symlist files.
a65ef2ae 14774
54b71e02
JM
147752012-05-03 Joseph Myers <joseph@codesourcery.com>
14776
14777 [BZ #13775]
14778 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14779 Redirect under this condition.
14780 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14781 [__USE_GNU] (__dprintf_chk): Not under this condition.
14782 [__USE_GNU] (__vdprintf_chk): Likewise.
14783 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14784 under this condition.
14785 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14786 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14787 [__USE_XOPEN2K8] (vdprintf): Likewise.
14788 [__USE_GNU] (__dprintf_chk): Not under this condition.
14789 [__USE_GNU] (__vdprintf_chk): Likewise.
14790 [__USE_GNU] (dprintf): Likewise.
14791 [__USE_GNU] (vdprintf): Likewise.
14792
d3dfcc41
RM
147932012-05-03 Roland McGrath <roland@hack.frob.com>
14794
14795 * elf/Makefile (common-generated): Set this instead of generated for
14796 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14797 $(all-built-dso)-derived lists.
14798
7ac30cc5
AJ
147992012-05-03 Andreas Jaeger <aj@suse.de>
14800
0c51e550
AJ
14801 * sysdeps/i386/fpu/libm-test-ulps: Update.
14802
7ac30cc5
AJ
14803 * FAQ: Removed.
14804 * FAQ.in: Likewise.
14805 * scripts/gen-FAQ.pl: Likewise.
14806 * manual/install.texi (Installation): Point to online location of
14807 FAQ.
14808 * Makefile (files-for-dist): Remove FAQ.
14809 (FAQ): Remove.
14810
d4c2917f
AM
148112012-05-02 Allan McRae <allan@archlinux.org>
14812
14813 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14814 (LDFLAGS-reldepmod5.so): Likewise.
14815 (LDFLAGS-reldep6mod1.so): Likewise.
14816 (LDFLAGS-reldep6mod4.so): Likewise.
14817 (LDFLAGS-reldep8mod3.so): Likewise.
14818 (LDFLAGS-unload4mod1.so): Likewise.
14819 (LDFLAGS-unload4mod2.so): Likewise.
14820 (LDFLAGS-tst-initorder): Likewise.
14821 (LDFLAGS-tst-initordera2.so): Likewise.
14822 (LDFLAGS-tst-initordera3.so): Likewise.
14823 (LDFLAGS-tst-initordera4.so): Likewise.
14824 (LDFLAGS-tst-initorderb2.so): Likewise.
14825 (LDFLAGS-noload): Likewise.
14826 (LDFLAGS-next): Likewise.
14827 (LDFLAGS-order2mod1.so): Likewise.
14828 (LDFLAGS-order2mod2.so): Likewise.
14829 (LDFLAGS-tst-initorder2): Likewise.
14830 (LDFLAGS-tst-initorder2a.so): Likewise.
14831 (LDFLAGS-tst-initorder2b.so): Likewise.
14832 (LDFLAGS-tst-initorder2c.so): Likewise.
14833 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14834
d77f993f
DM
148352012-05-02 David S. Miller <davem@davemloft.net>
14836
14837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14838
171a70b4
PP
148392012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14840
14841 [BZ #14055]
14842 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14843
0be196ad
AJ
148442012-05-02 Andreas Jaeger <aj@suse.de>
14845
14846 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14847 since we manipulate rounding mode.
14848 (CPPFLAGS-test-idouble.c): Likewise.
14849 (CPPFLAGS-test-ifloat.c): Likewise.
14850 (CFLAGS-test-ldouble.c): Likewise.
14851 (CFLAGS-test-double.c): Likewise.
14852 (CFLAGS-test-float.c): Likewise.
14853 (CFLAGS-test-misc.c): Likewise.
14854 (CFLAGS-test-test-fenv.c): Likewise.
14855
4f9d04aa
AZ
148562012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14857
2b942cb7
RM
14858 [BZ #2550]
14859 [BZ #2570]
14860 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14861 comparisons to determine direction to adjust input.
4f9d04aa 14862
82a79e7d
RM
148632012-05-01 Roland McGrath <roland@hack.frob.com>
14864
f5a01ca9
RM
14865 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14866 output to the target.
14867
90fe4186
RM
14868 * scripts/localplt.awk: New file.
14869 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14870 (check-localplt-CFLAGS): Variable removed.
14871 ($(all-built-dso:=.jmprel)): New static pattern rule.
14872 (generated): Add those targets.
14873 (localplt-built-dso): New variable.
14874 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14875
14876 * elf/check-localplt.c: File removed.
14877
82397ed6
RM
14878 * scripts/check-execstack.awk: New file.
14879 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14880 (check-execstack-CFLAGS): Variable removed.
14881 ($(objpfx)check-execstack.h): Target removed.
14882 ($(objpfx)execstack-default): New target.
14883 (generated): Add that instead of check-execstack.h.
14884 ($(all-built-dso:=.phdr)): New static pattern rule.
14885 (generated): Add those targets.
14886 * elf/check-execstack.c: File removed.
14887
82a79e7d
RM
14888 * scripts/check-textrel.awk: New file.
14889 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14890 (check-textrel-CFLAGS): Variable removed.
14891 (all-built-dso): Use := to define.o
14892 ($(all-built-dso:=.dyn)): New static pattern rule.
14893 (generated): Add those targets.
14894 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14895 * config.make.in (READELF): New substituted variable.
14896 * elf/check-textrel.c: File removed.
14897
62fde54f 148982012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 14899
615605c9
JM
14900 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14901 allow.
14902 * conform/data/ctype.h-data [C99-based standards] (isblank):
14903 Expect function.
14904 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14905 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14906 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14907 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14908 Specify type. Require positive value.
14909 (EILSEQ): Likewise.
14910 (ERANGE): Likewise.
14911 [ISO || POSIX] (EILSEQ): Do not expect.
14912 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
14913 Specify type. Require positive value.
14914 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
14915 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
14916 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
14917 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
14918 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
14919 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
14920 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
14921 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
14922 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
14923 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
14924 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
14925 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
14926 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
14927 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
14928 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
14929 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
14930 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
14931 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
14932 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
14933 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
14934 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
14935 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
14936 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
14937 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
14938 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
14939 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
14940 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
14941 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
14942 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
14943 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
14944 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
14945 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
14946 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
14947 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
14948 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
14949 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
14950 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
14951 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
14952 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
14953 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
14954 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
14955 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
14956 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
14957 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
14958 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
14959 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
14960 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
14961 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
14962 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
14963 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
14964 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
14965 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
14966 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
14967 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
14968 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
14969 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
14970 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
14971 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
14972 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
14973 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
14974 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
14975 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
14976 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
14977 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
14978 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
14979 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
14980 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
14981 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
14982 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
14983 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
14984 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
14985 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
14986 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
14987 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
14988 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
14989 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
14990 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
14991 Require >= 2.
14992 (FLT_ROUNDS): Expect as macro, not constant.
14993 (FLT_MANT_DIG): Use macro-int-constant.
14994 (DBL_MANT_DIG): Likewise.
14995 (LDBL_MANT_DIG): Likewise.
14996 (FLT_DIG): Likewise.
14997 (DBL_DIG): Likewise.
14998 (LDBL_DIG): Likewise.
14999 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15000 (DBL_MIN_EXP): Likewise.
15001 (LDBL_MIN_EXP): Likewise.
15002 (FLT_MAX_EXP): Use macro-int-constant.
15003 (DBL_MAX_EXP): Likewise.
15004 (LDBL_MAX_EXP): Likewise.
15005 (FLT_MAX_10_EXP): Likewise.
15006 (DBL_MAX_10_EXP): Likewise.
15007 (LDBL_MAX_10_EXP): Likewise.
15008 (FLT_MAX): Use macro-constant.
15009 (DBL_MAX): Likewise.
15010 (LDBL_MAX): Likewise.
15011 (FLT_EPSILON): Use macro-constant. Give upper bound.
15012 (DBL_EPSILON): Likewise.
15013 (LDBL_EPSILON): Likewise.
15014 (FLT_MIN): Likewise.
15015 (DBL_MIN): Likewise.
15016 (LDBL_MIN): Likewise.
15017 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15018 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15019 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15020 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15021 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15022 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15023 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15024 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15025 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15026 [ISO11] (FLT_TRUE_MIN): Likewise.
15027 [ISO11] (LDBL_TRUE_MIN): Likewise.
15028 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15029 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15030 (SCHAR_MIN): Use macro-int-constant. Specify type.
15031 (SCHAR_MAX): Likewise.
15032 (UCHAR_MAX): Likewise.
15033 (CHAR_MIN): Likewise.
15034 (CHAR_MAX): Likewise.
15035 (MB_LEN_MAX): Use macro-int-constant.
15036 (SHRT_MIN): Use macro-int-constant. Specify type.
15037 (SHRT_MAX): Likewise.
15038 (USHRT_MAX): Likewise.
15039 (INT_MAX): Likewise.
15040 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15041 bound negative.
15042 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15043 bound with "U".
15044 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15045 bound with "L".
15046 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15047 bound negative. Suffix upper bound with "L".
15048 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15049 bound with "UL".
15050 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15051 Specify type.
15052 [C99-based standards] (LLONG_MAX): Likewise.
15053 [C99-based standards] (ULLONG_MAX): Likewise.
15054 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15055 == 0.
15056 [ISO11] (max_align_t): Require type.
15057 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15058
c9140a62
JM
15059 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15060 from $CFLAGS, without defining away __attribute__ calls.
15061 (checknamespace): Use $CFLAGS_namespace.
15062
9af0bf29
JM
15063 * conform/conformtest.pl (@keywords): Only include C99 keywords
15064 for standards based on C99 or C11.
15065
343222a2
JM
15066 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15067 Disable tests.
15068 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15069 UNIX98]: Likewise.
15070
661f8cf0
JM
15071 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15072 usability of symbols in #if.
15073
ee74b9cb
JM
15074 * conform/conformtest.pl: If macro or constant types start
15075 "promoted:", expect the symbol to be of the following type
15076 promoted by the integer promotions.
62fde54f 15077
aafc49b3
JM
15078 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15079 in one place. Also handle "macro-constant".
15080
fefdf574
JM
15081 * conform/conformtest.pl: Only accept expected macro values with
15082 "==". Parse all "macro" lines in one place.
15083 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15084
f2d922fe
JM
15085 * conform/conformtest.pl: Handle braced types on "constant" lines
15086 instead of handling "typed-constant".
15087 * conform/data/signal.h-data: Use "constant" instead of
15088 "typed-constant".
15089
d22956c9
JM
15090 * conform/conformtest.pl: Handle "optional-" at start of lines in
15091 one place rather than duplicating several cases. Handle each
15092 format of "macro" line with initial "optional-".
15093
028e2e38
JM
15094 * conform/conformtest.pl: Only accept expected constant or
15095 optional-constant values with "==". Parse all "constant" lines in
15096 one place. Parse all "optional-constant" lines in one place.
15097 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15098 * conform/data/fmtmsg.h-data: Likewise.
15099 * conform/data/netinet/in.h-data: Likewise.
15100 * conform/data/tar.h-data: Likewise.
15101 * conform/data/limits.h-data: Use "==" form on "constant" and
15102 "optional-constant" lines.
15103
1b8f2850
JM
15104 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15105 Use -std=c99 for XOPEN2K.
15106 (@knownproblems): Remove.
15107 (newtoken): Don't check %isknown.
15108
a05a144b
JM
15109 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15110 Do not expect macro.
15111 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15112 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15113 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15114 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15115 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15116 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15117 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15118 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15119 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15120 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15121 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15122 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15123 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15124 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15125 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15126 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15127 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15128 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15129 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15130 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15131 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15132 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15133 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15134 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15135 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15136 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15137 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15138 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15139 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15140 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15141 [XPG3] (acosh): Likewise.
15142 [XPG3] (asinh): Likewise.
15143 [XPG3] (atanh): Likewise.
15144 [XPG3] (cbrt): Likewise.
15145 [XPG3] (expm1): Likewise.
15146 [XPG3] (ilogb): Likewise.
15147 [XPG3] (log1p): Likewise.
15148 [XPG3] (logb): Likewise.
15149 [XPG3] (nextafter): Likewise.
15150 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15151 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15152 [XPG3] (remainder): Likewise.
15153 [XPG3] (rint): Likewise.
15154 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15155 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15156 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15157 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15158 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15159 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15160 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15161 [UNIX98 || XOPEN2K] (scalb): Expect.
15162 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15163 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15164 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15165 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15166 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15167 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15168 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15169 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15170 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15171 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15172 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15173 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15174 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15175 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15176 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15177 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15178 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15179 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15180 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15181 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15182 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15183 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15184 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15185 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15186 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15187 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15188 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15189 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15190 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15191 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15192 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15193 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15194 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15195 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15196 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15197 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15198 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15199 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15200 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15201 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15202 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15203 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15204 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15205 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15206 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15207 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15208 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15209 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15210 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15211 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15212 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15213 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15214 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15215 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15216 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15217 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15218 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15219 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15220 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15221 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15222 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15223 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15224 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15225 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15226 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15227 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15228 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15229 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15230 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15231 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15232 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15233 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15234 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15235 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15236 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15237 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15238 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15239 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15240 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15241 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15242 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15243 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15244 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15245 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15246 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15247 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15248 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15249 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15250 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15251 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15252 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15253 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15254 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15255 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15256 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15257 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15258 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15259 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15260 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15261 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15262 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15263 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15264 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15265 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15266 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15267 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15268 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15269 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15270 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15271 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15272 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15273 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15274 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15275 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15276 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15277 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15278 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15279 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15280 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15281 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15282 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15283 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15284 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15285 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15286 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15287 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15288 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15289 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15290 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15291 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15292 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15293 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15294 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15295 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15296 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15297 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15298 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15299
73c5ebe3
JM
15300 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15301 _XOPEN_SOURCE_EXTENDED for XPG4.
15302
39c33b6c
JM
15303 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15304
62fde54f
JM
15305 * Makeconfig (localtime): Remove variable.
15306 (inst_localtime-file): Likewise.
15307
0741d64c
AS
153082012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15309
15310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15311 Update.
15312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15313 Update.
15314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15315 Update.
15316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15317 Update.
15318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15319 Update.
15320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15321 Update.
15322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15323 Update.
15324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15325 Update.
15326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15327 Update.
15328
7cb029ee
JM
153292012-05-01 Joseph Myers <joseph@codesourcery.com>
15330
15331 [BZ #2550]
15332 [BZ #2570]
15333 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15334 comparisons to determine direction to adjust input.
15335 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15336 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15337 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15338 Likewise.
15339 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15340 Likewise.
15341 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15342 Likewise.
15343 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15344 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15345 Likewise.
15346 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15347 Likewise.
15348 * math/libm-test.inc (nexttoward_test): Add more tests.
15349
412bd966
AS
153502012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15351
15352 [BZ #14040]
15353 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15354 in version GLIBC_2.1, not GLIBC_2.0.
15355 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15356 Likewise.
15357
9568c0c2
JM
153582012-04-30 Joseph Myers <joseph@codesourcery.com>
15359
adfbc8ac
JM
15360 [BZ #13942]
15361 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15362 (1 - x) * (1 + x).
15363 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15364 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15365 * math/libm-test.inc (acos_test): Add more tests.
15366 (asin_test): Likewise.
15367 * sysdeps/i386/fpu/libm-test-ulps: Update.
15368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15369
5ba3cc69
JM
15370 [BZ #14034]
15371 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15372 of square root.
15373 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15374 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15375 * math/libm-test.inc (acos_test_tonearest): New function.
15376 (acos_test_towardzero): Likewise.
15377 (acos_test_downward): Likewise.
15378 (acos_test_upward): Likewise.
15379 (asin_test_tonearest): Likewise.
15380 (asin_test_towardzero): Likewise.
15381 (asin_test_downward): Likewise.
15382 (asin_test_upward): Likewise.
15383 (main): Call the new functions.
15384 * sysdeps/i386/fpu/libm-test-ulps: Update.
15385 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15386
9568c0c2
JM
15387 [BZ #13884]
15388 [BZ #13924]
15389 * math/e_exp10.c: Include <float.h>.
15390 (__ieee754_exp10): Handle underflow here rather than multiplying
15391 large negative argument by M_LN10.
15392 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15393 of __ieee754_expf.
15394 * math/e_exp10l.c: Include <float.h>.
15395 (__ieee754_exp10l): Handle underflow here rather than multiplying
15396 large negative argument by M_LN10l.
15397 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15398 spurious overflow exception on underflow.
15399
5ac3ea17
MP
154002012-04-29 Marek Polacek <polacek@redhat.com>
15401
15402 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15403 (__fortify_function): New macro.
15404 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15405 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15406 __extern_always_inline.
15407 * libio/bits/stdio2.h: Likewise.
15408 * libio/bits/stdio.h: Likewise.
15409 * string/string.h: Likewise.
15410 * string/bits/string3.h: Likewise.
15411 * include/stdio.h: Likewise.
15412 * stdlib/bits/stdlib.h: Likewise.
15413 * stdlib/stdlib.h: Likewise.
15414 * rt/bits/mqueue2.h: Likewise.
15415 * rt/mqueue.h: Likewise.
15416 * posix/bits/unistd.h: Likewise.
15417 * posix/unistd.h: Likewise.
15418 * io/bits/poll2.h: Likewise.
15419 * io/bits/fcntl2.h: Likewise.
15420 * io/fcntl.h: Likewise.
15421 * io/sys/poll.h: Likewise.
15422 * misc/bits/syslog.h: Likewise.
15423 * misc/bits/syslog-ldbl.h: Likewise.
15424 * misc/sys/syslog.h: Likewise.
15425 * socket/bits/socket2.h: Likewise.
15426 * socket/sys/socket.h: Likewise.
15427 * debug/tst-chk1.c: Likewise.
15428 * wcsmbs/bits/wchar2.h: Likewise.
15429 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15430 * wcsmbs/wchar.h: Likewise.
15431
ecf0ebfb
AJ
154322012-04-29 Andreas Jaeger <aj@suse.de>
15433
15434 * Makerules (tests): Remove enable-check-abi protection.
15435 (check-abi-warn): Remove.
15436 (check-abi-%): Remove check-abi-warn usage.
15437
15438 * configure.in: Remove check-abi configure option.
15439 * configure: Regenerated.
15440 * config.make.in (enable-check-abi): Remove.
15441
6d5c57fa
AS
154422012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15443
24c5d07e 15444 [BZ #14033]
ded5180a
AS
15445 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15446 double functions to double *_finite functions.
15447
7e0d315d
AS
15448 [BZ #13941]
15449 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15450 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15451 LDBL_MIN_EXP.
15452 * stdio-common/Makefile (tests): Add tst-sprintf3.
15453 * stdio-common/tst-sprintf3.c: New file.
15454
6d5c57fa
AS
15455 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15456 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15457
0749ff8b
JM
154582012-04-28 Joseph Myers <joseph@codesourcery.com>
15459
15460 * conform/conformtest.pl: Remove duplicate typed-constant
15461 handling.
15462
8dbd5d7b
DM
154632012-04-28 David S. Miller <davem@davemloft.net>
15464
15465 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15466 (check-abi-%): Remove AWK script prerequisite and explicit
15467 abilist directory.
15468 (check-abi): Rewrite to just diff the symlist with the abilist.
15469 (config-tls, config-abi-config): Delete, no longer used.
15470 (update-abi-%): Remove AWK script and explicit abilist directory.
15471 (update-abi): Rewrite to simply compare and conditionally copy the
15472 symlist and the sysdep abilist file. Remove update-abi-config
15473 checks.
15474 * abilist/ld.abilist: Remove.
15475 * abilist/libBrokenLocale.abilist: Remove.
15476 * abilist/libanl.abilist: Remove.
15477 * abilist/libcrypt.abilist: Remove.
15478 * abilist/libdl.abilist: Remove.
15479 * abilist/librt.abilist: Remove.
15480 * abilist/libthread_db.abilist: Remove.
15481 * abilist/libutil.abilist: Remove.
15482 * scripts/extract-abilist.awk: Remove.
15483 * scripts/merge-abilist.awk: Remove.
15484 * sysdeps/generic/libcidn.abilist: New file.
15485 * sysdeps/generic/libnss_compat.abilist: New file.
15486 * sysdeps/generic/libnss_db.abilist: New file.
15487 * sysdeps/generic/libnss_dns.abilist: New file.
15488 * sysdeps/generic/libnss_files.abilist: New file.
15489 * sysdeps/generic/libnss_hesiod.abilist: New file.
15490 * sysdeps/generic/libnss_nis.abilist: New file.
15491 * sysdeps/generic/libnss_nisplus.abilist: New file.
15492 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15493 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15494 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15495 file.
15496 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15497 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15498 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15499 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15500 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15501 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15502 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15503 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15504 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15505 file.
15506 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15507 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15508 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15509 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15510 file.
15511 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15512 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15513 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15514 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15515 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15516 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15517 file.
15518 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15519 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15520 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15521 file.
15522 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15523 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15524 New file.
15525 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15526 New file.
15527 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15528 New file.
15529 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15530 New file.
15531 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15532 New file.
15533 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15534 New file.
15535 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15536 New file.
15537 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15538 New file.
15539 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15540 New file.
15541 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15542 New file.
15543 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15544 New file.
15545 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15546 New file.
15547 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15548 New file.
15549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15550 file.
15551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15552 New file.
15553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15554 New file.
15555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15556 file.
15557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15558 New file.
15559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15560 New file.
15561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15562 file.
15563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15564 New file.
15565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15566 New file.
15567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15568 New file.
15569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15570 New file.
15571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15572 New file.
15573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15574 New file.
15575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15577 file.
15578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15579 New file.
15580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15581 file.
15582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15583 file.
15584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15585 file.
15586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15587 file.
15588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15589 file.
15590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15591 New file.
15592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15593 file.
15594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15595 file.
15596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15597 New file.
15598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15599 file.
15600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15602 file.
15603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15604 New file.
15605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15606 file.
15607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15608 file.
15609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15610 file.
15611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15612 file.
15613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15614 file.
15615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15616 New file.
15617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15618 file.
15619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15620 file.
15621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15622 New file.
15623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15624 file.
15625 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15626 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15627 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15628 file.
15629 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15630 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15631 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15632 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15633 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15634 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15635 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15636 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15637 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15638 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15641 file.
15642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15643 New file.
15644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15645 file.
15646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15647 file.
15648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15649 file.
15650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15651 file.
15652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15653 file.
15654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15655 New file.
15656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15657 New file.
15658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15659 file.
15660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15661 New file.
15662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15663 file.
15664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15666 file.
15667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15668 New file.
15669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15670 file.
15671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15672 file.
15673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15674 file.
15675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15676 file.
15677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15678 file.
15679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15680 New file.
15681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15682 New file.
15683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15684 file.
15685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15686 New file.
15687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15688 file.
15689
41d73a1b
JM
156902012-04-28 Joseph Myers <joseph@codesourcery.com>
15691
15692 * conform/conformtest.pl: Fix typo in handling typed-constant from
15693 allow-header.
15694
28aeeda4
JM
156952012-04-27 Joseph Myers <joseph@codesourcery.com>
15696
adae8f5e
JM
15697 * README: Cut down references to pre-2.6 Linux kernels and
15698 Linuxthreads. Update lists of configurations in libc and ports
15699 and sort alphabetically. Say "or newer" with Linux kernel version
15700 requirements.
15701
28aeeda4
JM
15702 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15703
a462cb63
RA
157042012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15705
15706 [BZ #887]
15707 * math/libm-test.inc (logb_test_downward): New test to expose
15708 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15709 rounding mode.
15710
6ad3493e
JM
157112012-04-27 Joseph Myers <joseph@codesourcery.com>
15712
15713 [BZ #14027]
15714 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15715 to be done.
15716 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15717 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15718
2ce4f015
JM
157192012-04-26 Joseph Myers <joseph@codesourcery.com>
15720
5aeb141a
JM
15721 * sysdeps/unix/i386/brk.S: Remove file.
15722 * sysdeps/unix/i386/dl-brk.S: Likewise.
15723 * sysdeps/unix/i386/pipe.S: Likewise.
15724 * sysdeps/unix/i386/sigreturn.S: Likewise.
15725 * sysdeps/unix/i386/syscall.S: Likewise.
15726 * sysdeps/unix/i386/vfork.S: Likewise.
15727 * sysdeps/unix/i386/wait.S: Likewise.
15728
7143acae
JM
15729 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15730 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15731
2ce4f015
JM
15732 * configure.in (arm*-none*): Do not allow without
15733 --enable-hacker-mode.
15734 (netbsd*): Remove case setting base_os.
15735 (386bsd*): Likewise.
15736 (freebsd*): Likewise.
15737 (bsdi*): Likewise.
15738 (osf*): Likewise.
15739 (sunos*): Likewise.
15740 (ultrix*): Likewise.
15741 (newsos*): Likewise.
15742 (dynix*): Likewise.
15743 (*bsd*): Likewise.
15744 (sysv*): Likewise.
15745 (isc*): Likewise.
15746 (esix*): Likewise.
15747 (sco*): Likewise.
15748 (minix*): Likewise.
15749 (irix4*): Likewise.
15750 (irix6*): Likewise.
15751 (solaris[2-9]*): Likewise.
15752 (none): Likewise.
15753 * configure: Regenerated.
15754
0ac229c8
AZ
157552012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15756
15757 [BZ #11521]
15758 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15759 overflow or cancellation in calculating denominator.
15760 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15761 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15762 down expression to avoid unexpected rounding in newer GCCs.
15763 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15764
33f244f4
DM
157652012-04-26 David S. Miller <davem@davemloft.net>
15766
15767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15768 long-double compat symbols.
15769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15782
cfa1f3e8
DM
157832012-04-25 David S. Miller <davem@davemloft.net>
15784
15785 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15786 HWCAP_* values only after the memory barriers have been defined.
15787 (atomic_full_barrier): Define.
15788 (atomic_read_barrier): Define.
15789 (atomic_write_barrier): Define.
15790
6e236b92
SP
157912012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15792
15793 * shlib-versions: Add libgcc_s version information.
15794 * sysdeps/generic/libgcc_s.h: Remove.
15795 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15796 libgcc_s.h.
15797 * sysdeps/gnu/unwind-resume.c: Likewise.
15798 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15799
aab39a09
DM
158002012-04-25 David S. Miller <davem@davemloft.net>
15801
15802 * sysdeps/unix/sparc/brk.S: Delete.
15803 * sysdeps/unix/sparc/dl-brk.S: Delete.
15804 * sysdeps/unix/sparc/pipe.S: Delete.
15805 * sysdeps/unix/sparc/sysdep.S: Delete.
15806 * sysdeps/unix/sparc/sysdep.h: Delete.
15807 * sysdeps/unix/sparc/vfork.S: Delete.
15808 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15809 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15810 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15811 ret_ERRVAL, r0, r1, MOVE): Define.
15812 (JUMPTARGET): Remove.
15813 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15814 sysdeps/unix/sparc/sysdep.h
15815 (ENTRY, END): Remove.
15816 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15817
a3cc4f48
JM
158182012-04-25 Joseph Myers <joseph@codesourcery.com>
15819
2ed8cda2
JM
15820 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15821 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15822 -DIS_IN_build.
15823
35d76d59
JM
15824 * timezone/README: Update upstream location and email address for
15825 tzcode and tzdata.
15826 * timezone/zdump.c: Update from tzcode 2012b.
15827 * timezone/zic.c: Likewise.
15828
a3cc4f48
JM
15829 * configure.in (libc_cv_as_needed): Remove test.
15830 * configure: Regenerated.
15831 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15832 conditional definition.
15833 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15834 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15835 * config.make.in (have-as-needed): Remove variable.
15836
ceab42c3
SP
158372012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15838 Paul Pluzhnikov <ppluzhnikov@google.com>
15839
15840 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15841 strings correctly.
15842
3ce2865f
CLT
158432012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15844
15845 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15846 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15847 * sysdeps/sh/strlen.S: Likewise.
15848
f37e0d68
JM
158492012-04-24 Joseph Myers <joseph@codesourcery.com>
15850
ae186e9a
JM
15851 * sysdeps/unix/fork.S: Remove file.
15852 * sysdeps/unix/i386/fork.S: Likewise.
15853 * sysdeps/unix/sparc/fork.S: Likewise.
15854
b96914af
JM
15855 * sysdeps/unix/system.c: Remove file.
15856 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15857
f37e0d68
JM
15858 * sysdeps/unix/getegid.S: Remove file.
15859 * sysdeps/unix/geteuid.S: Likewise.
15860
87ef29ca
RM
158612012-04-24 Roland McGrath <roland@hack.frob.com>
15862
83bcd236
RM
15863 * scripts/check-localplt.awk: New file.
15864 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15865 of diff.
15866 * scripts/data/localplt-generic.data: Add a comment.
15867
87ef29ca
RM
15868 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15869 NODE when __dir_mkfile failed.
15870 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15871 Reported by Ludovic Courtès <ludo@gnu.org>.
15872
e5a6e567
AJ
158732012-04-24 Andreas Jaeger <aj@suse.de>
15874
15875 * Makerules (common-clean): Also remove gen-as-const-headers
15876 files.
15877
c1820385
JM
158782012-04-24 Joseph Myers <joseph@codesourcery.com>
15879
15880 * Makerules (native-compile): Do not change working directory for
15881 build. Use $(OUTPUT_OPTION) in command.
15882 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15883
94e02fc4
AZ
158842012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15885
15886 [BZ #13886]
15887 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15888 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15889 * math/libm-test.inc (floor_test): Add more tests.
15890 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15891
3a533ca3
JM
158922012-04-24 Joseph Myers <joseph@codesourcery.com>
15893
940ab4b3
JM
15894 * sysdeps/unix/getdents.c: Remove file.
15895 * sysdeps/unix/sysv/getdents.c: Likewise.
15896 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15897
90e037bd
JM
15898 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15899 sysdeps/unix/mman/syscalls.list.
15900 (mmap): Likewise.
15901 (mprotect): Likewise.
15902 (msync): Likewise.
15903 (munmap): Likewise.
15904 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15905 * sysdeps/unix/mman/syscalls.list: Remove.
15906 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15907
3a533ca3
JM
15908 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15909 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15910 * configure: Regenerated.
15911 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
15912 $(libgcc_s_suffix).
15913 * config.make.in (libgcc_s_suffix): Remove variable.
15914
1ad743de
JM
159152012-04-23 Joseph Myers <joseph@codesourcery.com>
15916
4ad451e2
JM
15917 * sysdeps/unix/sysv/gethostname.c: Move to ...
15918 * sysdeps/posix/gethostname.c: ... here.
15919
5e37ce39
JM
15920 * sysdeps/unix/execve.S: Remove file.
15921
1ad743de
JM
15922 * sysdeps/unix/_exit.S: Remove file.
15923
4e681b5b
AJ
159242012-04-23 Andreas Jaeger <aj@suse.de>
15925
15926 [BZ #13739]
15927 * manual/Makefile: Remove make dist support, there's no
15928 need for a stand-alone documentation tar ball.
15929 (TEXI2DVI): Define always, it's not in Makeconfig.
15930 (dist): Removed.
15931 (tar-it): Removed.
15932 (edition): Removed.
15933 (glibc-doc-$(edition).tar): Removed
15934 (%.Z): Removed.
15935 (%.gz): Removed.
15936 (%.uu): Removed.
15937 (ETAGS): Remove, it's in Makeconfig.
15938 (move-if-change): Remove, it's in Makeconfig.
15939
38686a03 159402012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
15941
15942 [BZ #13970]
15943 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
15944 (strtod, strtof, strtold, strtol, strtoul, strtoq)
15945 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
15946 (strtod_l, strtof_l, strtold_l): Remove __wur.
15947 It is not necessarily an error to ignore strtol's return value.
15948 One can reliably look at the stored endptr to decide whether
15949 the number had valid syntax.
15950
7c0616fa
AJ
159512012-04-21 Andreas Jaeger <aj@suse.de>
15952
803cb6b7 15953 [BZ #13739]
7c0616fa
AJ
15954 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
15955
b0fe253f
JM
159562012-04-21 Joseph Myers <joseph@codesourcery.com>
15957
15958 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
15959 * sysdeps/unix/sysv/Versions: Remove file.
15960
8280f22d
MT
159612012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
15962
15963 [BZ #13927]
15964 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15965
75ce411f 159662012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
15967
15968 [BZ #7064]
15969 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
15970 version from __vm86.
15971
097d59fa
JM
159722012-04-20 Joseph Myers <joseph@codesourcery.com>
15973
a90f3bcb
JM
15974 * sysdeps/unix/common/lxstat.c: Remove file.
15975 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
15976
edc7ea78
JM
15977 * sysdeps/unix/sysv/Makefile: Remove file.
15978
cb78c221
JM
15979 * sysdeps/unix/sysv/direct.h: Remove file.
15980
efa6a45f
JM
15981 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
15982 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
15983 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
15984 * sysdeps/unix/sysv/bits/signum.h: Likewise.
15985 * sysdeps/unix/sysv/bits/stat.h: Likewise.
15986 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
15987 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
15988
9c9f2d0c
JM
15989 * sysdeps/unix/sysv/setrlimit.c: Remove file.
15990
4541c83b
JM
15991 * sysdeps/unix/xmknod.c: Remove file.
15992 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
15993
f5d153a0
JM
15994 * sysdeps/unix/sysv/settimeofday.c: Remove file.
15995
aa746595
JM
15996 * sysdeps/unix/sysv/i386/time.S: Remove file.
15997
cce5905e
JM
15998 * sysdeps/unix/fxstat.c: Remove file.
15999 * sysdeps/unix/xstat.c: Likewise.
16000 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16001
37fa3841
JM
16002 * sysdeps/unix/sysv/sigaction.c: Remove file.
16003
ff1962a3
JM
16004 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16005 (sysdep_headers): Remove variable.
16006 [termio.h not in sysdep_headers] (generated): Likewise.
16007 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16008 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16009 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16010 * sysdeps/unix/sysv/tcflow.c: Likewise.
16011 * sysdeps/unix/sysv/tcflush.c: Likewise.
16012 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16013 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16014 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16015 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16016 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16017
e7740d31
JM
16018 * sysdeps/unix/siglist.c: Remove file.
16019
ee06f18b
JM
16020 * sysdeps/unix/getppid.S: Remove file.
16021
097d59fa
JM
16022 * sysdeps/unix/mkdir.c: Remove file.
16023 * sysdeps/unix/rmdir.c: Likewise.
16024
ff3d51ec
AS
160252012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16026
16027 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16028 ERR_MAX value.
16029 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16030 errlist-compat value.
16031
50f81fd7
DM
160322012-04-18 David S. Miller <davem@davemloft.net>
16033
16034 * sysdeps/generic/memcopy.h (reg_char): Delete.
16035 * debug/strcat_chk.c: Use char, not reg_char.
16036 * debug/strcpy_chk.c: Likewise.
16037 * debug/strncat_chk.c: Likewise.
16038 * debug/strncpy_chk.c: Likewise.
16039 * string/memchr.c: Likewise.
16040 * string/memrchr.c: Likewise.
16041 * string/rawmemchr.c: Likewise.
16042 * string/strcat.c: Likewise.
16043 * string/strchr.c: Likewise.
16044 * string/strchrnul.c: Likewise.
16045 * string/strcmp.c: Likewise.
16046 * string/strcpy.c: Likewise.
16047 * string/strncat.c: Likewise.
16048 * string/strncmp.c: Likewise.
16049 * string/strncpy.c: Likewise.
16050
8ff41c46
WS
160512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16052
16053 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16054 __builtin_memcopy is called when src and dest ranges are known to not
16055 overlap.
16056
6b652f46
WS
160572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16058
16059 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16060 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16061 fwd_align_merge macro call.
16062 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16063 bwd_align_merge macro call.
16064 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16065
b282631e
WS
160662012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16067
16068 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16069 bwd_align_merge macros.
16070 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16071 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16072 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16073
95aa737c
DM
160742012-04-18 David S. Miller <davem@davemloft.net>
16075
16076 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16077
7a99a614
AJ
160782012-04-18 Andreas Jaeger <aj@suse.de>
16079
16080 [BZ# 6794]
16081 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16082 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16083 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16084
16085 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16086 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16087 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16088
16089 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16090 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16091 Adjust for changed ldbl-128 files.
16092
16093 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16094 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16095 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16096
e5270c23
DM
160972012-04-17 David S. Miller <davem@davemloft.net>
16098
16099 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16100
fb5e92c9
AS
161012012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16102
16103 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16104 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16105 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16106 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16107 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16108 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16109
76da7265
AZ
161102012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16111
16112 [BZ #6794]
16113 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16114 * math/libm-test.inc: Add ilogb errno and exception tests.
16115 * math/w_ilogb.c: New file: ilogb wrapper.
16116 * math/w_ilogbf.c: New file: ilogbf wrapper.
16117 * math/w_ilogbl.c: New file: ilogbl wrapper.
16118 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16119 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16120 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16121 exception being thrown with 0.0 as argument.
16122 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16123 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16124 exception being thrown with 0.0 as argument.
16125 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16126 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16127 exception being thrown with 0.0 as argument.
16128 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16129 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16130 exception being thrown with 0.0 as argument.
16131 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16132 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 16133 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
16134 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16135 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16136 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16137 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16138 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16139 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16140
0396e69d
PB
161412012-04-17 Petr Baudis <pasky@ucw.cz>
16142
16143 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16144 with altivec.
16145
750b5926
MP
161462012-04-16 Marek Polacek <polacek@redhat.com>
16147
16148 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16149
751728a1
MP
161502012-04-16 Marek Polacek <polacek@redhat.com>
16151
16152 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16153 operands of fdivp instruction.
16154
34a27407
L
161552012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16156
16157 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16158 * elf/tst-auditmod3b.c: Likewise.
16159 * elf/tst-auditmod4b.c: Likewise.
16160 * elf/tst-auditmod5b.c: Likewise.
16161 * elf/tst-auditmod6b.c: Likewise.
16162 * elf/tst-auditmod6c.c: Likewise.
16163 * elf/tst-auditmod7b.c: Likewise.
16164 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16165 * sysdeps/x86_64/preconfigure.in: Likewise.
16166 * sysdeps/x86_64/preconfigure: Regenerated.
16167
7e73e17d
L
161682012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16169
16170 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16171 __ILP32__.
16172
c7a6ab72
AB
161732012-04-13 Antoine Balestrat <merkil33@gmail.com>
16174
16175 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16176 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16177
a9e8e0e0
CL
161782012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16179
16180 [BZ #13973]
16181 * locale/iso-639.def: Fix gl language name. Spotted by
16182 Yaron Shahrabani.
16183
ec98af7d
RM
161842012-04-12 Roland McGrath <roland@hack.frob.com>
16185
16186 [BZ #2074]
16187 * libio/libio.h (__io_write_fn): Update comment.
16188
247c3ede
PB
161892012-04-12 Petr Baudis <pasky@ucw.cz>
16190
16191 [BZ #2074]
16192 * stdio.texi (Hook Functions): The user provided writer function
16193 is not allowed to return -1.
16194
55939d6d
DM
161952012-04-11 David S. Miller <davem@davemloft.net>
16196
16197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16198
90020f5a
MF
161992012-04-11 Mike Frysinger <vapier@gentoo.org>
16200
16201 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16202 Add a leading slash to rtkaio.
16203
288f9098
JM
162042012-04-11 Jim Meyering <meyering@redhat.com>
16205
90020f5a
MF
16206 [BZ #11959]
16207 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16208 It is not necessarily an error to ignore fwrite's return
16209 value. One can reliably use ferror to test for errors after
16210 the fact.
288f9098 16211
4be2b570
L
162122012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16213
16214 * bits/types.h (__snseconds_t): New type.
16215 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16216
16217 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16218 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16219 (__SNSECONDS_T_TYPE): Likewise.
16220 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16221 (__SNSECONDS_T_TYPE): Likewise.
16222 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16223 (__SNSECONDS_T_TYPE): Likewise.
16224
288f9098 162252012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
16226
16227 [BZ #2636]
16228 * manual/time.texi (Processor Time): Return type of times is
16229 elapsed real time since an arbitrary point in the past.
16230 (CPU Time): Move CLK_TCK from here...
16231 (Processor Time): ...to here. Correct description.
16232 * manual/conf.texi (Constants for Sysconf): Correct description of
16233 _SC_CLK_TCK.
16234
d7dd4413
DM
162352012-04-10 David S. Miller <davem@davemloft.net>
16236
16237 [BZ #13967]
16238 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16239 where the is a gap between DT_REL(A) and DT_JMPREL.
16240
b46068fc
L
162412012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16242
16243 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16244 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16245 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16246
73d65cc3
SP
162472012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16248
16249 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16250 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16251 (dl_main): Handle --inhibit-cache.
16252 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16253 _dl_inhibit_cache.
16254 * elf/dl-load.c (_dl_map_object): Use it.
16255 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16256
bcc8d661
JM
162572012-04-09 Joseph Myers <joseph@codesourcery.com>
16258
8f9a2fae
JM
16259 [BZ #13872]
16260 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16261 (__ieee754_powl): Saturate large exponents rather than testing for
16262 overflow of y*log2(x).
16263 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16264 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16265 exceptions.
16266
bcc8d661
JM
16267 [BZ #11521]
16268 * math/s_ctan.c: Include <float.h>.
16269 (__ctan): Avoid internal overflow or cancellation in calculating
16270 denominator.
16271 * math/s_ctanf.c: Likewise.
16272 * math/s_ctanl.c: Likewise.
16273 * math/s_ctanh.c: Likewise.
16274 * math/s_ctanhf.c: Likewise.
16275 * math/s_ctanhl.c: Likewise.
16276 * math/libm-test.inc (ctan_test): Add more tests.
16277 (ctanh_test): Likewise.
16278 * sysdeps/i386/fpu/libm-test-ulps: Update.
16279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16280
823fbbb4
AJ
162812012-04-09 Andreas Jaeger <aj@suse.de>
16282
03879793
AJ
16283 [BZ #6894]
16284 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16285 is an optional BSD extension.
16286
823fbbb4
AJ
16287 [BZ #10254]
16288 * manual/stdio.texi (Opening Streams): Document additional fopen
16289 parameters.
16290
8de131cb
RM
162912012-04-09 Roland McGrath <roland@hack.frob.com>
16292
16293 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16294 %eax without telling the compiler.
16295
c0ed9d7d
CD
162962012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16297
16298 [BZ # 13963]
16299 * manual/install.texi: Use sourceware.org.
16300
c483f6b4
JM
163012012-04-09 Joseph Myers <joseph@codesourcery.com>
16302
d7dd9453
JM
16303 [BZ #13873]
16304 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16305 (__ieee754_pow): Generate overflow and underflow using huge*huge
16306 and tiny*tiny rather than just returning constant infinity or zero
16307 for large exponents.
16308 * math/libm-test.inc (pow_test): Require overflow exceptions for
16309 applicable cases of large exponents.
16310
c483f6b4
JM
16311 [BZ #706]
16312 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16313 (__ieee754_pow): Use iterative multiplication algorithm only for
16314 integer exponents with absolute value below 1024. Check for odd
16315 integer exponents when using algorithm for real exponents.
16316 * math/libm-test.inc (pow_test): Add more tests.
16317 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16318
d2de7579
JM
163192012-04-08 Joseph Myers <joseph@codesourcery.com>
16320
16321 [BZ #13705]
16322 * math/libm-test.inc (exp_test): Do not allow overflow exception
16323 on underflow test.
16324
f77f1232
AJ
163252012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16326
16327 [BZ #13705]
16328 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16329 instead of __kernel_standard_f.
16330
3884932b
MF
163312012-04-08 Mike Frysinger <vapier@gentoo.org>
16332
16333 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16334 * sysdeps/x86_64/memset_chk.S: Likewise.
16335
54472e9c
AJ
163362012-04-08 Andreas Jaeger <aj@suse.de>
16337
6ab0fbfc
AJ
16338 [BZ #10153]
16339 * manual/startup.texi (Environment Access): Describe return value
16340 for putenv and setenv.
16341
61efba8c
AJ
16342 [BZ #6895]
16343 * manual/filesys.texi (Directory Entries): Add description for
16344 DT_LNK.
16345
95c3f29a
AJ
16346 [BZ #6890]
16347 * manual/filesys.texi (Directory Entries): Clarify that it's file
16348 system not operating system in the description of DT_UNKNOWN.
16349
54472e9c
AJ
16350 [BZ #6578]
16351 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16352
624254b1
SC
163532012-04-08 Stephen Compall <s11@member.fsf.org>
16354
16355 [BZ #6649]
16356 * manual/llio.texi (Opening and Closing Files): Add cross
16357 reference to explain mode argument.
16358
1e4920e0
MF
163592012-04-07 Mike Frysinger <vapier@gentoo.org>
16360
16361 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16362 * sysdeps/x86_64/memset_chk.S: Likewise.
16363
5ed848f3
DM
163642012-04-07 David S. Miller <davem@davemloft.net>
16365
16366 * elf/elf.h (R_SPARC_WDISP10): Define.
16367 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16368 R_SPARC_SIZE32.
16369 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16370 R_SPARC_SIZE64 and R_SPARC_H34.
16371
96154cd8
CD
163722012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16373
16374 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16375 conditions and remove no longer applicable assertion.
16376
9904dc47
L
163772012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16378
16379 * bits/byteswap.h: Include <features.h>.
16380 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16381 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16382
f8887d0a
L
163832012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16384
16385 * bits/byteswap.h (__bswap_16): Removed.
16386 Include <bits/byteswap-16.h> to get __bswap_16.
16387 * sysdeps/i386/bits/byteswap.h: Likewise.
16388 * sysdeps/s390/bits/byteswap.h: Likewise.
16389 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16390 * bits/byteswap-16.h: New file.
16391 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16392 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16393 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16394 * string/Makefile (headers): Add bits/byteswap-16.h.
16395
62470f60
PP
163962012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16397
16398 [BZ #13895]
16399 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16400 extra indirection.
16401 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16402 * nss/tst-nss-static.c: New.
16403
4dad7bab
RM
164042012-04-06 Robert Millan <rmh@gnu.org>
16405
16406 [BZ #6486]
16407 * manual/llio.texi (File Position Primitive): lseek
16408 refers to WHENCE when it really means OFFSET.
16409
e9142a17
AJ
164102012-04-06 Andreas Jaeger <aj@suse.de>
16411
2c040eff
AJ
16412 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16413 strncmp declarations.
16414
e9142a17
AJ
16415 * abilist/libc.abilist: Add __poll and __ppoll.
16416
ff9f1c5f
DM
164172012-04-05 David S. Miller <davem@davemloft.net>
16418
dcd2ae90
DM
16419 * scripts/check-local-headers.sh: Accept a host triplet in the
16420 path matched by the exclude regexp.
16421
993eb054
DM
16422 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16423 definition.
16424 * sysdeps/powerpc/powerpc32/dl-machine.h
16425 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16426 * sysdeps/s390/s390-32/dl-machine.h
16427 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16428 * sysdeps/sparc/sparc32/dl-machine.h
16429 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16430 * sysdeps/sparc/sparc64/dl-machine.h
16431 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16432
ff9f1c5f
DM
16433 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16434 lazy binding.
48e2e132 16435 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
16436 undefined symbol errors.
16437
48e2e132 16438 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
16439 DT_NEEDED entries.
16440
e80d6f94
MM
164412012-04-05 Michael Matz <matz@suse.de>
16442
16443 [BZ #13592]
16444 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16445
349fa79f
AJ
164462012-04-05 Andreas Jaeger <aj@suse.de>
16447
16448 [BZ #13908]
16449 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16450 comment.
16451
f402708f
KK
164522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16453
16454 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16455 which ROUND is no valid rounding mode.
16456
2ecccfc9
KK
164572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16458
16459 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16460 read again.
16461 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16462
8a53f50f
KK
164632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16464
16465 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16466 an exception using FPU order intentionally.
16467
164682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16469
16470 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16471 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16472 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16473 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16474
d653abb7
SJ
164752012-04-05 Simon Josefsson <simon@josefsson.org>
16476
16477 [BZ #12340]
16478 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16479 EINVAL when BUFLEN is too smal.
16480
c3b1bf7d
TS
164812012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16482
16483 [BZ #13553]
16484 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16485 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16486
b1aa60f3
AJ
164872012-04-03 Andreas Jaeger <aj@suse.de>
16488
c3b1bf7d 16489 [BZ #13938]
67f60a26
AJ
16490 * manual/setjmp.texi (System V contexts): Fix sentence.
16491
b1aa60f3
AJ
16492 [BZ #13926]
16493 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16494 New macro for this case.
16495 [!__GNUC__] (__bswap_64): New inline function for this case.
16496 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16497 * bits/byteswap.h: Likewise.
16498 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16499 ull, guard with __GLIBC_HAVE_LONG_LONG.
16500
16501 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16502 __GLIBC_HAVE_LONG_LONG.
16503
16504 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16505 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16506
39c59c35
TMQMF
165072012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16508
16509 [BZ #13691]
16510 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16511 inptr and inend, rather than using last_ch.
16512
135ffda8
DM
165132012-04-02 David S. Miller <davem@davemloft.net>
16514
16515 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16516 * stdio-common/printf-parse.h (read_int): Change return type to
16517 'int', return -1 on INT_MAX overflow.
16518 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16519 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16520 overflows INT_MAX. Check for overflow of in-format-string precision
16521 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16522 SIZE_MAX not INT_MAX for integer overflow test.
16523 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16524 skip the construct in the format string but do not record anything.
16525 * stdio-common/bug22.c: Adjust to test both width/prevision
16526 INT_MAX overflow as well as total length INT_MAX overflow. Check
16527 explicitly for proper errno values.
16528
228c019e
TS
165292012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16530
302cadd3
TS
16531 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16532 CHAR_MAX.
16533 * string/test-strcmp.c [! WIDE]: Likewise.
16534 * time/tst-mktime2.c: Likewise for INT_MAX.
16535 * string/test-string.h: #include <sys/param.h> for MIN.
16536
228c019e
TS
16537 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16538 * sysdeps/i386/init-first.c (init): Likewise.
16539 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16540 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16541 * sysdeps/sh/init-first.c (init): Likewise.
16542
cfa633f5
UD
165432012-04-01 Ulrich Drepper <drepper@gmail.com>
16544
16545 * po/ru.po: Update from translation team.
d1635ef8 16546 * po/vi.po: Likewise.
cfa633f5 16547
6cd0a5ea
SP
165482012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16549
16550 * resolv/nss_dns/dns-host.c: Merge copyright years.
16551
4b43400f
LD
165522012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16553
16554 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16555 Optimize memcpy with prefetch if
16556 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16557 src, dst pointers have unequal 16 byte alignments.
16558
48c41d04
SP
165592012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16560
16561 [BZ #13928]
16562 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16563 from a CNAME entry and return the minimum ttl for the query.
16564 (gaih_getanswer_slice): Likewise.
16565
b8dc394d
JL
165662012-03-30 Jeff Law <law@redhat.com>
16567
16568 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16569 due to long keys.
16570 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16571 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16572
2f5a5ed0
JL
16573 * resolv/nss_dns/dns-host.c: Update copyright year.
16574
1d39e359
UD
165752012-03-30 Ulrich Drepper <drepper@gmail.com>
16576
c030f70c 16577 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 16578 requests to save a system call. Fix check that all bytes are sent.
c030f70c 16579
1d39e359
UD
16580 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16581 comments for sendmmsg.
16582
165832012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
16584
16585 [BZ #13691]
16586 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16587 with only 1 character between 0x0041 and 0x01b0.
16588 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16589 * wcsmbs/tst-mbsnrtowcs.c: New file.
16590
20fde227
DM
165912012-03-29 David S. Miller <davem@davemloft.net>
16592
16593 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16594 small copies by hand.
16595
984a4237
JL
165962012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16597
16598 [BZ #13761]
16599 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16600 _nss_compat_initgroups_dyn): Fall back to malloc/free
16601 for large group memberships.
16602
18c9d62b
DM
166032012-03-28 David S. Miller <davem@davemloft.net>
16604
88d85d4f
DM
16605 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16606 that branches into memcpy.
16607 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16608 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16609 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16610 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16611 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16612 bits.
16613 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16614 implementation too.
16615 * sysdeps/sparc/mempcpy.S: New file.
16616
e5aa83e1
DM
16617 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16618 the IFUNC routine in the libc case.
16619 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16620
88570753
DM
16621 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16622 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16623 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16624 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16625 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16626 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16627 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16628 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16629
249d7567
DM
16630 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16631 loop to 256 bytes instead of 64 bytes and fix test signedness.
16632
18c9d62b
DM
16633 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16634 * sysdeps/sparc/sparc32/Makefile: rather than here...
16635 * sysdeps/sparc/sparc64/Makefile: and here.
16636
05f3d1f6
UD
166372012-03-28 Ulrich Drepper <drepper@gmail.com>
16638
16639 * malloc/mallocbug.c: Avoid warnings about unused variables.
16640
86ae07a8
JL
166412012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16642
16643 [BZ #13760]
16644 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16645 in the right place. Discard and retry query if response is
16646 larger than input buffer size.
16647
41bf21a1
JM
166482012-03-28 Joseph Myers <joseph@codesourcery.com>
16649
d6270972
JM
16650 [BZ #369]
16651 [BZ #2678]
16652 [BZ #3866]
16653 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16654 x for large integer exponent.
16655 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16656 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16657 sign of result as needed afterwards.
16658 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16659 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16660 result for underflowing pow the same as for overflow.
16661 (__kernel_standard_l): Handle powl overflow and underflow here
16662 rather than calling __kernel_standard.
16663 * math/libm-test.inc (pow_test): Add more tests.
16664
414fca03 16665 [BZ #3868]
41bf21a1
JM
16666 [BZ #13879]
16667 [BZ #13910]
16668 [BZ #13911]
16669 [BZ #13912]
16670 [BZ #13913]
16671 [BZ #13915]
16672 [BZ #13916]
16673 [BZ #13917]
16674 [BZ #13918]
16675 [BZ #13919]
16676 [BZ #13920]
16677 [BZ #13921]
16678 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16679 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16680 (__kernel_standard_l): New function.
16681 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16682 __kernel_standard.
16683 * math/w_acosl.c (__acosl): Likewise.
16684 * math/w_asinl.c (__asinl): Likewise.
16685 * math/w_atan2l.c (__atan2l): Likewise.
16686 * math/w_atanhl.c (__atanhl): Likewise.
16687 * math/w_coshl.c (__coshl): Likewise.
16688 * math/w_exp10l.c (__exp10l): Likewise.
16689 * math/w_exp2l.c (__exp2l): Likewise.
16690 * math/w_fmodl.c (__fmodl): Likewise.
16691 * math/w_hypotl.c (__hypotl): Likewise.
16692 * math/w_j0l.c (__j0l, __y0l): Likewise.
16693 * math/w_j1l.c (__j1l, __y1l): Likewise.
16694 * math/w_jnl.c (__jnl, __ynl): Likewise.
16695 * math/w_lgammal.c (__lgammal): Likewise.
16696 * math/w_log10l.c (__log10l): Likewise.
16697 * math/w_log2l.c (__log2l): Likewise.
16698 * math/w_logl.c (__logl): Likewise.
16699 * math/w_powl.c (__powl): Likewise.
16700 * math/w_remainderl.c (__remainderl): Likewise.
16701 * math/w_scalbl.c (sysv_scalbl): Likewise.
16702 * math/w_sinhl.c (__sinhl): Likewise.
16703 * math/w_sqrtl.c (__sqrtl): Likewise.
16704 * math/w_tgammal.c (__tgammal): Likewise.
16705 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16706 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16707 * math/libm-test.inc (acos_test): Add more tests.
16708 (acosh_test): Likewise.
16709 (asin_test): Likewise.
16710 (atanh_test): Likewise.
16711 (exp_test): Likewise.
16712 (exp10_test): Likewise.
16713 (exp2_test): Likewise.
16714 (expm1_test): Likewise.
16715 (lgamma_test): Likewise.
16716 (log_test): Likewise.
16717 (log10_test): Likewise.
16718 (log1p_test): Likewise.
16719 (log2_test): Likewise.
16720 (pow_test): Do not allow some spurious overflow exceptions.
16721 (sqrt_test): Add more tests.
16722 (tgamma_test): Likewise.
16723 (y0_test): Likewise.
16724 (y1_test): Likewise.
16725 (yn_test): Likewise.
16726
dd62fda6
AB
167272012-03-27 Anton Blanchard <anton@samba.org>
16728
16729 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16730 MAP_HUGETLB.
16731 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16732 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16733 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16734
1e3cdfda
AJ
167352012-03-27 David S. Miller <davem@davemloft.net>
16736
b855ab85
DM
16737 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16738
1e3cdfda
AJ
16739 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16740 have-as-vis3 check.
16741
167422012-03-27 Andreas Jaeger <aj@suse.de>
16743
16744 * sysdeps/x86_64/elf/configure.in: Moved to ...
16745 * sysdeps/x86_64/configure.in: ... here.
16746 * sysdeps/x86_64/elf/start.S: Moved to ...
16747 * sysdeps/x86_64/start.S: ... here.
16748 * sysdeps/x86_64/elf/configure: Delete.
16749
16750 * sysdeps/x86_64/configure.in: Merge contents from
16751 sysdeps/i386/configure.in (without i686 check).
16752
16753 * sysdeps/i386/elf/Versions: Merge into ...
16754 * sysdeps/i386/Versions: ... this.
16755 * sysdeps/i386/elf/Versions: Delete file.
16756 * sysdeps/i386/elf/start.S: Moved to ...
16757 * sysdeps/i386/start.S: ...here.
16758 * sysdeps/i386/elf/configure.in: Merge into...
16759 * sysdeps/i386/configure.in: ...here.
16760 * sysdeps/i386/elf/configure.in: Delete file.
16761 * sysdeps/i386/elf/configure: Delete file.
16762
16763 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16764 * debug/backtracesyms.c: ... here.
16765 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16766 * debug/backtracesymsfd.c: ... here.
16767 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16768 * sysdeps/generic/ifunc-sel.h: ... here.
16769
16770 * sysdeps/unix/i386/start.c: Delete file.
16771 * sysdeps/unix/sparc/start.c: Delete file.
16772 * sysdeps/unix/start.c: Delete file.
16773
16774 * sysdeps/sh/elf/configure.in: Moved to ...
16775 * sysdeps/sh/configure.in: ... here.
16776 * sysdeps/sh/elf/start.S: Moved to ...
16777 * sysdeps/sh/start.S: ... here.
16778 * sysdeps/sh/elf/configure: Delete file.
16779
16780 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16781 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16782 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16783 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16784 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16785 * sysdeps/powerpc/powerpc64/start.S: here.
16786 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16787 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16788 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16789 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16790 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16791
16792 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16793 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16794 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16795 * sysdeps/powerpc/powerpc32/start.S: ... here.
16796 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16797 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16798 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16799
16800 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16801 * sysdeps/powerpc/ifunc-sel.h: ... here.
16802 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16803 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16804
16805 * sysdeps/sparc/elf/configure.in: Moved to ...
16806 * sysdeps/sparc/configure.in: ... here.
16807 * sysdeps/sparc/elf/configure: Delete file.
16808 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16809 * sysdeps/sparc/sparc32/start.S: ... here.
16810 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16811 * sysdeps/sparc/sparc64/start.S: ... here.
16812 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16813 * sysdeps/sparc/sparc32/Makefile: ... this.
16814 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16815 * sysdeps/sparc/sparc64/Makefile: ... this.
16816
16817 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16818 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16819 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16820 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16821 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16822 * sysdeps/s390/s390-32/setjmp.S: ... here.
16823 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16824 * sysdeps/s390/s390-32/configure.in: ... here.
16825 * sysdeps/s390/s390-32/elf/configure: Delete file.
16826 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16827 * sysdeps/s390/s390-32/start.S: ... here.
16828
16829 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16830 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16831 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16832 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16833 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16834 * sysdeps/s390/s390-64/setjmp.S: ... here.
16835 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16836 * sysdeps/s390/s390-64/configure.in: ... here
16837 * sysdeps/s390/s390-64/elf/configure: Delete file.
16838 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16839 * sysdeps/s390/s390-64/start.S: ... here.
16840 * sysdeps/s390/s390-64/elf/configure: Delete.
16841
16842 * configure.in: Remove support for elf directories in sysdeps.
16843
16844 * configure: Regenerated.
16845 * sysdeps/i386/configure: Regenerated.
16846 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16847 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16848 * sysdeps/s390/s390-32/configure: Regenerated.
16849 * sysdeps/s390/s390-64/configure: Regenerated.
16850 * sysdeps/sh/configure: Regenerated.
16851 * sysdeps/sparc/configure: Regenerated.
16852 * sysdeps/x86_64/configure: Regenerated.
16853
a3f61311
AS
168542012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16855
c876e002
AS
16856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16857
a3f61311
AS
16858 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16859 denormal result into account.
16860
ac4c54f0
RM
168612012-03-25 Roland McGrath <roland@hack.frob.com>
16862
16863 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16864 Reported by Allan McRae <allan@archlinux.org>.
16865
6a9b9c02
JL
168662012-03-23 Jeff Law <law@redhat.com>
16867
16868 * nss/getnssent.c (__nss_getent): Fix typo.
16869
4c42a0c1
DM
168702012-03-23 David S. Miller <davem@davemloft.net>
16871
16872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16873
1532c7ac
L
168742012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16875
16876 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16877 to pad to uint64_t for each field.
16878 (dl_tls_index): Replace unsigned long with uint64_t.
16879
3ff42526
PP
168802012-03-23 Daniel Jacobowitz <dmj@google.com>
16881 Paul Pluzhnikov <ppluzhnikov@google.com>
16882
16883 [BZ #6528]
16884 * grp/Makefile (otherlibs): Don't set it.
16885 * inet/Makefile (otherlibs): Likewise.
16886 * login/Makefile (otherlibs): Likewise.
16887 * nscd/Makefile (otherlibs): Likewise.
16888 * posix/Makefile (otherlibs): Likewise.
16889 * pwd/Makefile (otherlibs): Likewise.
16890 * rt/Makefile (otherlibs): Likewise.
16891 * sunrpc/Makefile (otherlibs): Likewise.
16892 * nss/Makefile (otherlibs): Likewise.
16893 Add libnss_files to routines and static-only-routines.
16894 ($(objpfx)getent): Remove rule.
16895 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16896 static-only-routines.
16897
7c69cd14
JM
168982012-03-22 Joseph Myers <joseph@codesourcery.com>
16899
16900 [BZ #13892]
16901 * math/s_cexp.c: Include <float.h>.
16902 (__cexp): Handle exp result overflowing not necessarily
16903 overflowing both real and imaginary parts of result.
16904 * math/s_cexpf.c: Likewise.
16905 * math/s_cexpl.c: Likewise.
16906 * math/libm-test.inc (cexp_test): Add more tests.
16907 * sysdeps/i386/fpu/libm-test-ulps: Update.
16908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16909
81b035fe
L
169102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16911
16912 * include/link.h (ELFW): New macro.
16913 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
16914 Replace ELF64_R_TYPE with ELFW(R_TYPE).
16915
1da7940c
L
169162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16917
16918 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
16919 with uint64_t.
16920
b749dbb9
L
169212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16922
16923 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
16924 declaration.
16925 (struct La_x32_retval): Likewise.
16926
2ff87f3f
L
169272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
16928
16929 * sysdeps/x86_64/preconfigure.in: New file.
16930 * sysdeps/x86_64/preconfigure: New generated file.
16931
c0df8e69
JM
169322012-03-22 Joseph Myers <joseph@codesourcery.com>
16933
48e44791
JM
16934 [BZ #13824]
16935 * math/e_exp2l.c: Include <float.h>.
16936 (__ieee754_exp2l): Handle overflow and underflow cases
16937 separately. Only pass fractional part of argument to
16938 __ieee754_expl.
16939 * math/libm-test.inc (exp2_test): Add more tests.
16940
c0df8e69
JM
16941 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
16942 negating x to take absolute value.
16943 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
16944 Likewise.
16945 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16946 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16947 Likewise.
16948 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
16949 computing low part if x was negated.
16950 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16951
c8e43ba7
L
169522012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16953
16954 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
16955 la_x32_gnu_pltexit.
16956 (pltexit): Cast int_retval to ptrdiff_t.
16957 * elf/tst-auditmod3b.c: Likewise.
16958 * elf/tst-auditmod4b.c: Likewise.
16959 * elf/tst-auditmod5b.c: Likewise.
16960 * elf/tst-auditmod6b.c: Likewise.
16961 * elf/tst-auditmod6c.c: Likewise.
16962 * elf/tst-auditmod7b.c: Likewise.
16963
16964 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
16965 and x32_gnu_pltexit.
16966
16967 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
16968 __ELF_NATIVE_CLASS.
16969 (La_x32_regs): New macro.
16970 (La_x32_retval): Likewise.
16971 (la_x32_gnu_pltenter): New function prototype.
16972 (la_x32_gnu_pltexit): Likewise.
16973
7998fa78
AS
169742012-03-21 Andreas Schwab <schwab@linux-m68k.org>
16975
dcb33988
AS
16976 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
16977 exponent.
16978
233fc563
AS
16979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16980
7998fa78
AS
16981 * configure.in (libc_cv_cc_nofma): Check for option to disable
16982 generation of FMA instructions.
16983 * configure: Regenerate.
16984 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
16985 * sysdeps/ieee754/dbl-64/Makefile: New file.
16986 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
16987 Remove brandred-fma4.
16988 (CFLAGS-brandred-fma4.c): Remove.
16989 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
16990 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
16991 define.
16992 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
16993 define.
16994
8e95c99a
L
169952012-03-21 H.J. Lu <hongjiu.lu@intel.com>
16996
16997 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16998 LLONG_MAX != LONG_MAX.
16999 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17000 (_fitoa_word): Likewise.
17001 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17002 LLONG_MAX != LONG_MAX.
17003 * stdio-common/_itowa.h: Include <_itoa.h>.
17004 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17005 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17006 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17007 only if not defined.
17008 (_ITOA_WORD_TYPE): Likewise.
17009 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17010 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17011
6f4db457
DM
170122012-03-21 David S. Miller <davem@davemloft.net>
17013
17014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17015
7785fe5a
L
170162012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17017
17018 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17019 of x86_64 when setting libc_cv_slibdir, libdir and
17020 libc_cv_localedir.
17021 * sysdeps/unix/sysv/linux/configure: Regenerated.
17022
4535cd55
JM
170232012-03-21 Joseph Myers <joseph@codesourcery.com>
17024
17025 * manual/lang.texi (Old Varargs): Remove section.
17026 (How Variadic): Update menu.
17027 (va_start): Do not mention varargs.h.
17028
17228132
TS
170292012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17030 Joseph Myers <joseph@codesourcery.com>
17031
17032 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17033 link test.
17034 * configure: Regenerated.
17035
8149f976
TS
170362012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17037
05f3d1f6
UD
17038 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17039 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17040 conformtest.pl
8149f976 17041
1a4ac776
JM
170422012-03-21 Joseph Myers <joseph@codesourcery.com>
17043
be22ce65
JM
17044 * NOTES: Remove.
17045 * Makefile (files-for-dist): Remove NOTES.
17046 (NOTES): Remove rule.
17047 * README: Don't refer to NOTES.
17048 * manual/creature.texi: Don't include macros.texi.
17049 * manual/intro.texi (creature.texi): Remove comment referring to
17050 NOTES.
17051
40b601fb
JM
17052 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17053 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17054 * configure: Regenerated.
17055 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17056 LIBC_TRY_CC_OPTION.
17057 (libc_cv_as_i686): Likewise.
17058 (libc_cv_cc_avx): Likewise.
17059 (libc_cv_cc_sse2avx): Likewise.
17060 (libc_cv_cc_fma4): Likewise.
17061 (libc_cv_cc_novzeroupper): Likewise.
17062 * sysdeps/i386/configure: Regenerated.
17063
1a4ac776
JM
17064 [BZ #13883]
17065 * sysdeps/i386/fpu/s_cexp.S: Remove.
17066 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17067 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17068 * math/libm-test.inc (cexp_test): Add more tests.
17069 * sysdeps/i386/fpu/libm-test-ulps: Update.
17070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17071
a458e7fe
AM
170722012-03-21 Allan McRae <allan@archlinux.org>
17073
17074 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17075
0cb7efc5
JM
170762012-03-21 Joseph Myers <joseph@codesourcery.com>
17077
17078 [BZ #13871]
17079 * math/w_exp2.c: Do not include <float.h>.
17080 (o_threshold, u_threshold): Remove.
17081 (__exp2): Calculate result before checking finiteness and calling
17082 __kernel_standard.
17083 * math/w_exp2f.c: Likewise.
17084 * math/w_exp2l.c: Likewise.
17085 * math/libm-test.inc (exp2_test): Require overflow exception for
17086 1e6 input.
2460d3aa
JM
17087
17088 [BZ #3866]
17089 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17090 range of signed 64-bit integers before using fistpll. Remove
17091 checks for whether integers fit in mantissa bits.
17092 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17093 the range of signed 32-bit integers before using fistpl. Remove
17094 checks for whether integers fit in mantissa bits.
17095 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17096 (__ieee754_powl): Test for y outside the range of signed 64-bit
17097 integers before using fistpll. Reduce 64-bit values to 63-bit
17098 ones as needed.
17099 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17100 divide-by-zero is raised for zero to large negative powers.
17101 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17102 (__ieee754_powl): Test for y outside the range of signed 64-bit
17103 integers before using fistpll. Reduce 64-bit values to 63-bit
17104 ones as needed.
17105 * math/libm-test.inc (pow_test): Add more tests.
17106
eb96ffb0
L
171072012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17108
17109 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17110 <stdio-common/_itoa.h>.
17111 * debug/segfault.c: Likewise.
17112 * elf/dl-cache.c: Likewise.
17113 * elf/dl-minimal.c: Likewise.
17114 * elf/dl-misc.c: Likewise.
17115 * elf/dl-sysdep.c: Likewise.
17116 * elf/dl-version.c: Likewise.
17117 * elf/rtld.c: Likewise.
17118 * hurd/hurdsock.c: Likewise.
17119 * hurd/lookup-retry.c: Likewise.
17120 * malloc/malloc.c: Likewise.
17121 * malloc/mtrace.c: Likewise.
17122 * nscd/nscd_getgr_r.c: Likewise.
17123 * nscd/nscd_getpw_r.c: Likewise.
17124 * nscd/nscd_getserv_r.c: Likewise.
17125 * posix/getopt_init.c: Likewise.
17126 * posix/wordexp.c: Likewise.
17127 * stdio-common/_itoa.c: Likewise.
17128 * stdio-common/printf_fphex.c: Likewise.
17129 * stdio-common/vfprintf.c: Likewise.
17130 * string/_strerror.c: Likewise.
17131 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17132 * sysdeps/i386/i686/hp-timing.h: Likewise.
17133 * sysdeps/mach/_strerror.c: Likewise.
17134 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17135 * sysdeps/mach/hurd/sethostid.c: Likewise.
17136 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17137 * sysdeps/mach/xpg-strerror.c: Likewise.
17138 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17139 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17140 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17141 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17142 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17143 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17144 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17145 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17146 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17147 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17148 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17149 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17150 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17151 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17152 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17153 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17154 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17155 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17156 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17157 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17158 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17159
17160 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17161
17162 * stdio-common/_itoa.h: Moved to ...
17163 * sysdeps/generic/_itoa.h: Here.
17164
17165 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17166
17167 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17168 instead of "_itoa.h" and "_itowa.h".
17169 * stdio-common/vfprintf.: Likewise.
17170
d1af992d
L
171712012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17172
17173 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17174 <bits/wordsize.h>.
17175 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17176 (__signbit): Likwise.
17177 (llrintf): Likwise.
17178 (llrint): Likwise.
17179
114883e0
L
171802012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17181
17182 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17183 __WORDSIZE != 64.
17184
c135cc1b
JM
171852012-03-20 Joseph Myers <joseph@codesourcery.com>
17186
17187 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17188 OVERFLOW_EXCEPTION_OK.
17189 * math/libm-test.inc ("Philosophy"): Update comment about
17190 exception testing.
17191 (OVERFLOW_EXCEPTION): Define.
17192 (OVERFLOW_EXCEPTION_OK): Likewise.
17193 (INVALID_EXCEPTION_OK): Renumber.
17194 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17195 (IGNORE_ZERO_INF_SIGN): Likewise.
17196 (test_exceptions): Handle FE_OVERFLOW.
17197 (exp10_test): Expect overflow exceptions.
17198 (exp2_test): Likewise.
17199 (expm1_test): Likewise.
17200 (nextafter_test): Likewise.
17201 (pow_test): Likewise.
17202 (scalbn_test): Likewise.
17203 (scalbln_test): Likewise.
17204
95443d88
L
172052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17206
17207 * sysdeps/x86_64/bits/atomic.h
17208 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17209 64bit integer.
17210 (atomic_exchange_acq): Likewise.
17211 (__arch_exchange_and_add_body): Likewise.
17212 (__arch_add_body): Likewise.
17213 (atomic_add_negative): Likewise.
17214 (atomic_add_zero): Likewise.
17215
490df6c4
L
172162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17217
c2722551 17218 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
17219 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17220
5e52b189
L
172212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17222
17223 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17224 Check __x86_64__ instead of __WORDSIZE.
17225
a9879d4c
L
172262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17227
17228 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17229
5df98260
DM
172302012-03-19 David S. Miller <davem@davemloft.net>
17231
e1497744
DM
17232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17233
5df98260
DM
17234 * sysdeps/sparc/fpu/fenv_private.h: New file.
17235 * sysdeps/sparc/fpu/math_private.h: Use it.
17236 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17237 Remove.
17238 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17239 (libc_feholdexcept_setroundl): Remove.
17240 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17241 Remove.
17242 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17243 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17244
b4c35121
L
172452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17246
17247 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17248 int64_t instead of long int.
17249 (INSERT_WORDS64): Likwise.
17250
56965fd7
L
172512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17252
17253 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17254 _Unwind_GetCFA return to _Unwind_Ptr first.
17255
83d1aec8
JM
172562012-03-19 Joseph Myers <joseph@codesourcery.com>
17257
1897ad44
JM
17258 [BZ #13629]
17259 * math/s_clog.c: Include <float.h>.
17260 (__clog): Scale large or subnormal inputs.
17261 * math/s_clogf.c: Likewise.
17262 * math/s_clogl.c: Likewise.
17263 * math/s_clog10.c: Include <float.h>.
17264 (M_LOG10_2): Define.
17265 (__clog10): Scale large or subnormal inputs.
17266 * math/s_clog10f.c: Likewise.
17267 * math/s_clog10l.c: Likewise.
17268 * math/libm-test.inc (clog_test): Add more tests.
17269 (clog10_test): Likewise.
17270 * sysdeps/i386/fpu/libm-test-ulps: Update.
17271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17272
7726d6a9
JM
17273 [BZ #11451]
17274 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17275 x and y.
17276 * math/libm-test.inc (atan2_test): Add another test.
17277
83d1aec8
JM
17278 * Makerules (common-objdir-compile): Remove.
17279 * sysdeps/unix/Makefile (config-generated): Do not add
17280 $(unix-generated) to variable.
17281 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17282 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17283 Remove rule.
17284 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17285 Likewise.
17286 [generic bits/local_lim.h] (before-compile): Do not append to
17287 variable.
17288 [generic bits/local_lim.h] (common-generated): Likewise.
17289 [generic sys/param.h] (before-compile): Do not append to variable.
17290 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17291 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17292 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17293 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17294 include.
17295 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17296 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17297 [generic sys/param.h] ($(addprefix
17298 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17299 [generic sys/param.h] (common-generated): Do not append to
17300 variable.
17301 [generic sys/param.h] (sysdep_headers): Likewise.
17302 [generic bits/errno.h] (before-compile): Do not append to
17303 variable.
17304 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17305 rule.
17306 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17307 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17308 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17309 [generic bits/errno.h] (common-generated): Do not append to
17310 variable.
17311 [generic bits/ioctls.h] (before-compile): Do not append to
17312 variable.
17313 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17314 rule.
17315 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17316 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17317 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17318 rule.
17319 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17320 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17321 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17322 [generic bits/ioctls.h] (common-generated): Do not append to
17323 variable.
17324 [generic sys/syscall.h] (syscall.h): Remove variable.
17325 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17326 rule.
17327 [generic sys/syscall.h] (before-compile): Do not append to
17328 variable.
17329 [generic sys/syscall.h] (common-generated): Likewise.
17330 * sysdeps/unix/errnos-tmpl.c: Remove file.
17331 * sysdeps/unix/errnos.awk: Likewise.
17332 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17333 * sysdeps/unix/ioctls.awk: Likewise.
17334 * sysdeps/unix/mk-local_lim.c: Likewise.
17335 * sysdeps/unix/snarf-ioctls: Likewise.
17336
4851a949
RH
173372012-03-19 Richard Henderson <rth@twiddle.net>
17338
bd37f2ee
RH
17339 * sysdeps/i386/fpu/fenv_private.h: New file.
17340 * sysdeps/i386/fpu/math_private.h: Use it.
17341 (math_opt_barrier, math_force_eval): Remove.
17342 (libc_feholdexcept_setround_53bit): Remove.
17343 (libc_feupdateenv_53bit): Remove.
17344 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17345 (math_opt_barrier, math_force_eval): Remove.
17346 (libc_feholdexcept): Remove.
17347 (libc_feholdexcept_setround): Remove.
17348 (libc_fetestexcept, libc_fesetenv): Remove.
17349 (libc_feupdateenv_test): Remove.
17350 (libc_feupdateenv, libc_feholdsetround): Remove.
17351 (libc_feresetround): Remove.
17352
d0adc922
RH
17353 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17354 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17355
0fe0f1f8
RH
17356 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17357 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17358 (libc_feupdateenv_testl): New.
17359 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17360 (libc_feupdateenv_testf): New.
17361 (libc_feupdateenv): Use libc_feupdateenv_test.
17362 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17363 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17364
eb92c487
RH
17365 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17366 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17367 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17368 (libc_feresetround_noex): New.
17369 (libc_feresetround_noexf): New.
17370 (libc_feresetround_noexl): New.
17371 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17372 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17373 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17374 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17375 SET_RESTORE_ROUND.
17376 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17377 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17378 (__cos): Likewise.
17379 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17380 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17381 SET_RESTORE_ROUND_NOEX.
17382 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17383 SET_RESTORE_ROUND_NOEXF.
17384 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17385 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17386 (libc_feholdsetroundf): New.
17387 (libc_feresetround, libc_feresetroundf): New.
17388
7d2e8012
RH
17389 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17390 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17391 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17392
b4dabbb4
RH
17393 * sysdeps/generic/math_private.h: Include <fenv.h>.
17394 (default_libc_feholdexcept): New.
17395 (default_libc_feholdexcept_setround): New.
17396 (default_libc_fesetenv, default_libc_feupdateenv): New.
17397 (libc_feholdexcept): Only define if undefined.
17398 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17399 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17400 (libc_feholdexcept_setroundl): Likewise.
17401 (libc_feholdexcept_setround_53bit): Likewise.
17402 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17403 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17404 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17405 (libc_feupdateenv_53bit): Likewise.
17406 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17407 (libc_feholdexcept): Convert from macro to inline function.
17408 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17409 (libc_fesetenv, libc_feupdateenv): Likewise.
17410
4851a949
RH
17411 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17412 not previously defined.
17413 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17414 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17415 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17416 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17417 * sysdeps/ieee754/flt-32/math_private.h: New file.
17418 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17419 math_private.h below SET_FLOAT_WORD.
17420 (__isnan, __isinf_ns, __finite): Remove.
17421 (__isnanf, __isinf_nsf, __finitef): Remove.
17422
e79d442e
AS
174232012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17424
17425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17426
90b80344
DM
174272012-03-17 David S. Miller <davem@davemloft.net>
17428
17429 [BZ #6471]
17430 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17431 for 2.16.
17432
edc21804
DM
174332012-03-16 David S. Miller <davem@davemloft.net>
17434
77e927af
DM
17435 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17436 warnings.
17437
374976dd
DM
17438 [BZ #6471]
17439 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17440 properly.
17441 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17442 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17443 sysdep_routines when subdir is sysvipc.
17444 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17445 __getshmlba helper.
17446
edc21804
DM
17447 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17448
473c3ef3
L
174492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17450
17451 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17452 [__LP64__].
17453
eb0f39b6
L
174542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17455
17456 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17457 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17458 (__lround): Renamed to ...
17459 (__llround): This. Replace long int with long long int.
17460 Define lround functions as aliases of llround functions.
17461 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17462
6b6cd74b
L
174632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17464
17465 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17466 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17467 adresses to uintptr_t. Replace "long int" and "unsigned long
17468 int" with "greg_t" on va_arg.
17469
f1a77b01
L
174702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17471
17472 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17473 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17474
17475 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17476 Move e_machine check before EI_CLASS check. Handle x32
17477 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17478 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17479 SKIP_EM_IA_64 and include
17480 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17481
17482 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17483 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17484 (add_system_dir): New macro.
17485
17486 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17487 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17488
11b90b9f
JM
174892012-03-16 Joseph Myers <joseph@codesourcery.com>
17490
c36e1d23
JM
17491 [BZ #2551]
17492 [BZ #2552]
17493 [BZ #2553]
17494 [BZ #2554]
17495 [BZ #2562]
17496 [BZ #2563]
17497 [BZ #2565]
17498 [BZ #2566]
17499 [BZ #2576]
17500 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17501 (y0): Likewise.
17502 * math/w_j0f.c (j0f): Likewise.
17503 (y0f): Likewise.
17504 * math/w_j0l.c (__j0l): Likewise.
17505 (__y0l): Likewise.
17506 * math/w_j1.c (j1): Likewise.
17507 (y1): Likewise.
17508 * math/w_j1f.c (j1f): Likewise.
17509 (y1f): Likewise.
17510 * math/w_j1l.c (__j1l): Likewise.
17511 (__y1l): Likewise.
17512 * math/w_jn.c (jn): Likewise.
17513 (yn): Likewise.
17514 * math/w_jnf.c (jnf): Likewise.
17515 (ynf): Likewise.
17516 * math/w_jnl.c (__jnl): Likewise.
17517 (__ynl): Likewise.
17518 * math/libm-test.inc (j0_test): Add more tests.
17519 (j1_test): Likewise.
17520 (jn_test): Likewise. Add trailing semicolon to existing test.
17521 (y0_test): Likewise.
17522 (y1_test): Likewise.
17523 * sysdeps/i386/fpu/libm-test-ulps: Update.
17524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17525
11b90b9f
JM
17526 [BZ #13851]
17527 [BZ #13854]
17528 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17529 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17530 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17531 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17532 (__tanl): Set errno for infinite argument.
17533 * sysdeps/i386/fpu/mptan.c: Remove.
17534 * sysdeps/i386/fpu/s_tan.S: Likewise.
17535 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17536 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17537 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17538 * math/libm-test.inc (tan_test): Add more tests and enable more
17539 tests for double and long double.
17540 * sysdeps/i386/fpu/libm-test-ulps: Update.
17541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17542
6a1bd2a1
JK
175432012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17544
17545 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17546 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17547
10a803e0
RM
175482012-03-16 Roland McGrath <roland@hack.frob.com>
17549
17550 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17551 * configure.in: Use it for both main tree and add-ons.
17552 * configure: Regenerated.
17553
f196c7f7
L
175542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17555
17556 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17557
8848d99d
JM
175582012-03-16 Joseph Myers <joseph@codesourcery.com>
17559
96cbe7f4
JM
17560 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17561 in comment.
17562
8848d99d
JM
17563 [BZ #13851]
17564 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17565 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17566 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17567 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17568 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17569 infinite argument.
17570 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17571 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17572 != 0 for prec == 2.
17573 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17574 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17575 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17576 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17577 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17578 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17579 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17580 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17581 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17582 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17583 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17584 * math/libm-test.inc (cos_test): Add more tests and enable more
17585 tests for long double.
17586 (sin_test): Likewise.
17587 (sincos_test): Likewise.
17588 * sysdeps/i386/fpu/libm-test-ulps: Update.
17589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17590
dd7f4703
DM
175912012-03-16 David S. Miller <davem@davemloft.net>
17592
17593 * sysdeps/sparc/fpu/math_private.h: New file.
17594
006f1daa
DM
175952012-03-15 David S. Miller <davem@davemloft.net>
17596
c0c83bc8
DM
17597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17598 file.
e6a62e18 17599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
17600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17601 file.
e6a62e18
DM
17602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17603 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17604 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17606 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17607 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17608 sysdep routines.
17609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17610
88cb87d9
DM
17611 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17612 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17613
006f1daa 17614 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
17615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17616 sparc-ifunc.h
006f1daa 17617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
17618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17619 Likewise.
17620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17621 Likewise.
006f1daa
DM
17622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
17625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17626 Likewise.
006f1daa
DM
17627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
17631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17632 Likewise.
17633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17634 Likewise.
006f1daa
DM
17635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17639 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17640 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17641 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17642 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17643 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17644 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17645 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17646 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17647 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17648 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17649 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17650 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17651 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17652 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17653 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17654 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17655 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17656 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17657 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17658 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17659
11e0098e
AS
176602012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17661
17662 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17663 scaling.
17664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17665
e85b09d0
AJ
176662012-03-15 Andreas Jaeger <aj@suse.de>
17667
17668 [BZ #13852]
17669 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17670 ieee754/flt-32 implementation for sin, cos and sincos.
17671 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17672 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17673 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17674 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17675 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17676 ieee754/flt-32 implementation for tan.
17677
17678 * math/libm-test.inc (cos_test): Enable some large input tests for
17679 float as well
17680 (sin_test): Likewise.
17681 (sincos_test): Likewise.
17682 (tan_test): Add tests for large input.
17683
17684 * sysdeps/i386/fpu/libm-test-ulps: Update.
17685
81c64153
AJ
176862012-03-15 Andreas Jaeger <aj@suse.de>
17687
17688 [BZ #13658]
17689 * math/libm-test.inc (cos_test): Add more test cases.
17690 (sin_test): Likewise.
17691 (sincos_test): Likewise.
17692
7bbfa5c6
AJ
176932012-03-15 Andreas Jaeger <aj@suse.de>
17694
17695 [BZ #13837]
17696 * math/libm-test.inc (cos_test): Add a test case for large input
17697 value.
17698 (sin_test): Likewise.
17699 (sincos_test): Likewise.
17700
177012012-03-15 Andreas Jaeger <aj@suse.de>,
17702 Joseph Myers <joseph@codesourcery.com>
17703
17704 [BZ #13658]
0671f479 17705 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
17706 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17707 * sysdeps/i386/fpu/branred.c: Likewise.
17708 * sysdeps/i386/fpu/dosincos.c: Likewise.
17709 * sysdeps/i386/fpu/mpa.c: Likewise.
17710 * sysdeps/i386/fpu/s_cos.S: Likewise.
17711 * sysdeps/i386/fpu/s_sin.S: Likewise.
17712 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17713 * sysdeps/i386/fpu/sincos32.c: Likewise.
17714
17715 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17716 Define.
17717 (libc_feupdateenv_53bit): Define.
17718 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17719 Define.
17720 (libc_feupdateenv_53bit): Define.
17721
17722 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17723 53 bit (without extend i386 double precision).
17724
17725 * math/libm-test.inc (sincos_test): Add tests for large input.
17726 (sin): Likewise.
17727 (cos): Likewise.
17728
17729 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17730
9cad04ea
AS
177312012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17732
17733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17734
f7062b9a
DM
177352012-03-15 David S. Miller <davem@davemloft.net>
17736
17737 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17738 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17739 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17740 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17745 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17746 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17747 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17748 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17749 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17750 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17751 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
17752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17753 file.
f7062b9a 17754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
17755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17756 file.
f7062b9a 17757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
17758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17759 file.
f7062b9a 17760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
17761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17762 file.
f7062b9a
DM
17763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17764 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17765 fmin/fmax sysdep routines.
17766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17767
7bd951ff
DM
177682012-03-14 David S. Miller <davem@davemloft.net>
17769
559398ab
DM
17770 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17771 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17772 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17773 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17774 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17775 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17776 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17777 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17778 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17779 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17780 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17781 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17782 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17783 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17784 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17785 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17786 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17787 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17788 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17789 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17790 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17791 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17792 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17793 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17794 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17795 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17796 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17797 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17798 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17799 routines.
17800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17801 file.
559398ab 17802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
17803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17804 file.
559398ab 17805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
17806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17807 file.
559398ab 17808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
17809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17810 file.
559398ab 17811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
17812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17813 file.
559398ab 17814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
17815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17816 file.
17817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17818 file.
17819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17820 file.
17821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17822 file.
17823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17824 New file.
17825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17826 file.
17827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17828 file.
559398ab 17829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
17830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17831 file.
559398ab 17832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17834 file.
559398ab 17835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
17836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17837 file.
559398ab 17838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
17839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17840 VIS3 routines.
559398ab
DM
17841
17842 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17843 New file.
17844
5a1c1e32
DM
17845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17846
eae47a36
DM
17847 * sysdeps/sparc/configure.in: New file.
17848 * sysdeps/sparc/configure: Generate.
17849 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17850 * configure: Regenerate.
17851 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17852 * config.make.in (have-as-vis3): New.
17853 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17854 available use -Av9d instead of -Av9a.
17855 * sysdeps/sparc/sparc64/Makefile: Likewise.
17856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
17857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17858 New file.
17859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17860 file.
17861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17862 New file.
17863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17864 file.
eae47a36
DM
17865 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17866 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17867 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17868 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17869 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17870
c0c83bc8
DM
17871 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17872 fzeros/fnegs to load 0x80000000 into a float register instead of
17873 using the stack.
7bd951ff
DM
17874 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17875
bd951ccb
JM
178762012-03-14 Joseph Myers <joseph@codesourcery.com>
17877
17878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17879 bits/syscall.h.
17880 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17881 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17882 ($(inst_includedir)/bits/syscall.h): Remove rule.
17883 ($(objpfx)bits/syscall.d): Include instead of
17884 $(objpfx)syscall-list.d.
17885 (generated): Change syscall-list.h and syscall-list.d to
17886 bits/syscall.h and bits/syscall.d.
17887
bb4e6db2
RM
178882012-03-14 Roland McGrath <roland@hack.frob.com>
17889
17890 [BZ #13846]
17891 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17892
aa4a2ae1
JM
178932012-03-14 Joseph Myers <joseph@codesourcery.com>
17894
e456826d
JM
17895 [BZ #13841]
17896 * math/s_csqrt.c: Include <float.h>.
17897 (__csqrt): Scale large or subnormal inputs.
17898 * math/s_csqrtf.c: Likewise.
17899 * math/s_csqrtl.c: Likewise.
17900 * math/libm-test.inc (csqrt_test): Add more tests.
17901 * sysdeps/i386/fpu/libm-test-ulps: Update.
17902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17903
aa4a2ae1
JM
17904 [BZ #13840]
17905 * math/libm-test.inc (hypot_test): Add more tests.
17906
7c10fd35
DM
179072012-03-13 David S. Miller <davem@davemloft.net>
17908
17909 [BZ #13840]
17910 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
17911 double-precision for the calculation instead of scaling.
17912
f453b98b
JM
179132012-03-13 Joseph Myers <joseph@codesourcery.com>
17914
17915 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
17916 manipulate bits before adding and subtracting TWO52[sx].
17917 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
17918 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
17919 Likewise.
17920 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
17921
09a3453f
DM
179222012-03-13 David S. Miller <davem@davemloft.net>
17923
8e59da90
DM
17924 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
17925 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
17926 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
17927 rtld-global-offsets.h
17928 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
17929
2a8ab7f2
DM
17930 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
17931 large parameters.
17932
10f62770
DM
17933 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
17934
5f0bdb18
DM
17935 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
17936 'err' in the ifdef scope in which it is actually used.
17937
09a3453f
DM
17938 * nss/nss_db/db-init.c: Include string.h
17939
b4b2eb5e
DM
179402012-03-12 David S. Miller <davem@davemloft.net>
17941
98bb2f1c
DM
17942 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
17943 masking out of the most significant byte of random value used.
17944 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17945 Fix coding style in previous change.
17946
b4b2eb5e
DM
17947 * sysdeps/unix/sysv/linux/kernel-features.h
17948 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
17949 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
17950 expression.
17951 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
17952 later.
17953
6e226b09
DM
179542012-03-11 David S. Miller <davem@davemloft.net>
17955
a1bcbd40
DM
17956 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
17957 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
17958 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
17959 for 'resultvar' otherwise things get truncated on 64-bit.
17960
cb9d6174
DM
17961 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17962 Fix masking out of the most significant byte of random value used.
17963
6e226b09
DM
17964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17965
058c132d
AS
179662012-03-10 Andreas Schwab <schwab@linux-m68k.org>
17967
17968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17969
2d2cd515
DM
179702012-03-09 David S. Miller <davem@davemloft.net>
17971
17972 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
17973 variables with appropriate CPP guards.
17974 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
17975 frame pointer, not the stack pointer. Correct layout comments. Fix test
17976 on resulting framesize and the management of the outregs buffer for pltexit.
17977 Preserve floating point return values across _dl_call_pltexit call.
17978 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
17979 framesize and the management of the outregs buffer for pltexit.
17980 Preserve floating point return values across _dl_call_pltexit
17981 call.
17982 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
17983 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
17984 (print_exit): Fix format string for return register value.
17985
9a07f9d0
JM
179862012-03-10 Joseph Myers <joseph@codesourcery.com>
17987
17988 * sunrpc/Makefile (others): Add rpcgen.
17989 ($(objpfx)rpcgen): Remove special build rule and dependency on
17990 libc.
17991 * sunrpc/rpcgen.c: New file.
17992
547b5e30
PE
179932012-03-09 Paul Eggert <eggert@cs.ucla.edu>
17994
c524201a
PE
17995 [BZ #13673]
17996 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
17997 * stdio-common/bug-vfprintf-nargs.c: Likewise.
17998 * sysdeps/i386/crti.S: Likewise.
17999 * sysdeps/i386/crtn.S: Likewise.
18000 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18001 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18002 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18003 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18004 * sysdeps/sh/crti.S: Likewise.
18005 * sysdeps/sh/crtn.S: Likewise.
18006 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18007
7b6235f2
PE
18008 [BZ #13673]
18009 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18010 with URL.
18011 * locale/programs/locfile-kw.gperf: Likewise.
18012 * locale/programs/charmap-kw.h: Regenerated.
18013 * locale/programs/locfile-kw.h: Likewise.
18014
547b5e30
PE
18015 [BZ #13673]
18016 * intl/plural.y: Replace FSF snail mail address with URL.
18017 * intl/plural.c: Regenerated.
18018
5f0a5dae
RH
180192012-03-09 Richard Henderson <rth@twiddle.net>
18020
18021 * include/math_private.h: Remove file.
18022 * math/math_private.h: Move file ...
18023 * sysdeps/generic/math_private.h: ... here.
18024
b8c03620
RH
18025 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18026 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18027 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18028
4e234f5d 18029 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
18030 and <math_private.h>.
18031 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18032 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18033 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18034 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18035 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18036 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18037 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18038 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18039 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18040 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18041 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18042 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18043 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18044 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18045 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18046 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18047 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18048 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18049 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18050 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18051 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18052 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18053 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18054 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18055 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18056 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18057 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18058 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18059 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18060 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18061 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18062 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18063 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18064 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18065 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18066 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18067 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18068 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18069 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18070 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18071 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18072 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18073 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18074 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18075 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18076 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18077 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18078 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18079 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18080 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18081 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18082 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18083 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18084 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18085 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18086 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18087 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18088 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18089 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18090 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18091 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18092 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18093 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18094 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18095 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18096 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18097 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18098 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18099 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18100 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18101 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18102 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18103 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18104 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18105 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18106 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18107 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18108 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18109 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18110 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18111 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18112 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18113 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18114 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18115 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18116 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18117 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18118 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18119 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18120 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18121 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18122 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18123 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18124 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18125 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18126 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18127 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18128 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18129 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18130 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18131 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18132 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18133 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18134 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18135 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18136 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18137 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18138 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18139 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18140 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18141 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18142 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18143 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18144 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18145 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18146 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18147 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18148 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18149 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18150 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18151 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18152 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18153 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18154 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18155 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18156 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18157 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18158 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18159 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18160 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18161 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18162 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18163 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18164 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18165 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18166 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18167 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18168 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18169 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18170 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18171 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18172 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18173 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18174 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18175 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18176 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18177 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18178 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18179 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18180 * sysdeps/ieee754/k_standard.c: Likewise.
18181 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18182 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18183 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18184 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18185 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18186 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18187 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18188 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18189 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18190 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18191 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18192 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18193 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18194 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18195 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18196 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18197 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18198 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18199 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18200 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18201 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18202 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18203 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18204 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18205 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18206 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18207 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18208 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18209 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18210 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18211 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18212 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18213 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18214 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18215 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18216 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18217 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18218 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18219 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18220 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18221 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18222 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18223 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18224 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18225 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18226 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18227 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18228 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18229 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18230 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18231 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18232 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18233 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18234 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18235 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18236 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18237 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18238 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18239 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18240 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18241 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18242 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18243 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18244 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18245 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18246 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18247 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18248 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18249 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18250 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18251 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18252 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18253 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18254 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18255 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18256 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18257 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18258 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18259 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18260 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18261 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18262 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18263 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18264 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18265 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18266 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18267 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18268 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18269 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18270 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18271 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18272 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18273 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18274 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18275 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18276 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18277 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18278 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18279 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18280 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18281 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18282 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18283 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18284 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18285 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18286 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18287 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18288 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18289 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18290 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18291 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18292 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18293 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18294 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18295 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18296 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18297 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18298 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18299 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18300 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18301 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18302 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18303 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18304 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18305 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18306 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18307 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18308 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18309 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18310 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18311 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18312 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18313 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18314 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18315 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18316 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18317 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18318 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18319 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18320 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18321 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18322 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18323 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18324 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18325 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18326 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18327 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18328 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18329 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18330 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18331 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18332 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18333 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18334 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18335 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18336 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18337 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18338 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18339 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18340 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18341 * sysdeps/ieee754/s_lib_version.c: Likewise.
18342 * sysdeps/ieee754/s_matherr.c: Likewise.
18343 * sysdeps/ieee754/s_signgam.c: Likewise.
18344 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18345 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18346 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18347 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18348 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18349 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18350 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18351 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18352 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18353 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18354 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18355 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18356 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18357 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18358 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18359 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18360 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18361 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18362 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18363 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18364 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 18365
1991fa03
JM
183662012-03-09 Joseph Myers <joseph@codesourcery.com>
18367
18368 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18369 * sunrpc/rpc_main.c: Likewise.
18370 * sunrpc/rpc_svcout.c: Likewise.
18371
60d6f5a6
DM
183722012-03-09 David S. Miller <davem@davemloft.net>
18373
18374 * include/math_private.h: New file.
18375
4962050e
JM
183762012-03-09 Joseph Myers <joseph@codesourcery.com>
18377
02a6f887
JM
18378 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18379 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18380 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18381 from <bits/socket_type.h>.
18382 (enum __socket_type): Don't define here.
18383 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18384 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18385 bits/socket_type.h.
18386
c6e013c1
JM
18387 [BZ #13566]
18388 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18389 checking __USE_GNU.
18390
4962050e
JM
18391 * Makerules ($(inst_includedir)/%.h): New rule.
18392 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18393 (install-others): Remove variable setting.
18394 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18395
38842f45
RH
183962012-03-08 Richard Henderson <rth@twiddle.net>
18397
67bb6da6
RH
18398 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18399 from macro to inline function; merge with the
18400 !__LIBC_INTERNAL_MATH_INLINES version.
18401 (__ieee754_sqrtf): Likewise.
18402
15194b4b
RH
18403 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18404 to inline function.
18405 (__rintf, __floor, __floorf): Likewise.
18406
64e21ede
RH
18407 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18408 macro to inline function.
18409 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18410
38842f45
RH
18411 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18412 not <math/math_private.h>.
18413
c64bf5fe
DM
184142012-03-08 David S. Miller <davem@davemloft.net>
18415
18416 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18417 copyright year.
18418 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18419
82d86f28
TS
184202012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18421
18422 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18423 normalization.
18424 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18425 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18426
aea5d727
UD
184272012-03-08 Ulrich Drepper <drepper@gmail.com>
18428
18429 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18430 be defined individually, they must be defined as a block. Define
18431 S for printing a string instead of hidint the different by using a
18432 macro for adding the 'l'.
18433 * stdio-common/tst-fphex-wide.c: Adjust.
18434
70bca0a3
MP
184352012-03-07 Marek Polacek <polacek@redhat.com>
18436
18437 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18438
65b81130
MP
184392012-03-08 Marek Polacek <polacek@redhat.com>
18440
18441 [BZ #13806]
18442 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18443 * stdio-common/tst-fphex.c: Define a few macros to make the
18444 test reusable. Use them.
18445 * stdio-common/tst-fphex-wide.c: New file.
18446
07037eeb
JM
184472012-03-08 Joseph Myers <joseph@codesourcery.com>
18448
a7a93d50
JM
18449 [BZ #6911]
18450 * manual/macros.texi (gnusystems): New macro.
18451 (nongnusystems): Likewise.
18452 (gnulinuxhurdsystems): Likewise.
18453 (gnuhurdsystems): Likewise..
18454 (gnulinuxsystems): Likewise.
18455 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18456 variants of the GNU system, not "GNU system".
18457 * manual/conf.texi: Likewise.
18458 * manual/errno.texi: Likewise. Update example of errno macro
18459 expansion.
18460 * manual/filesys.texi: Likewise.
18461 (getumask): Document as specific to GNU/Hurd.
18462 * manual/install.texi: Likewise. Reword some references to
18463 GNU/Linux.
18464 * manual/intro.texi: Likewise.
18465 * manual/io.texi: Likewise.
18466 (File Name Portability): Detail which constraints are inapplicable
18467 to all GNU systems and which are only inapplicable to GNU/Hurd.
18468 * manual/job.texi: Likewise.
18469 * manual/llio.texi: Likewise.
18470 (O_NOCTTY): Document as present on GNU/Linux.
18471 * manual/maint.texi: Likewise.
18472 * manual/memory.texi: Likewise.
18473 * manual/pattern.texi: Likewise.
18474 * manual/pipe.texi: Likewise.
18475 * manual/process.texi: Likewise.
18476 * manual/resource.texi: Likewise.
18477 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18478 child on GNU/Hurd.
18479 * manual/setjmp.texi: Likewise.
18480 * manual/signal.texi: Likewise.
18481 * manual/startup.texi: Likewise.
18482 * manual/stdio.texi: Likewise.
18483 * manual/terminal.texi: Likewise.
18484 (ONLCR): Document as POSIX.
18485 (OXTABS): Document availability on GNU/Linux as XTABS.
18486 (ONOEOT): Document availability separately from other bits.
18487 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18488 * manual/time.texi: Likewise.
18489 * manual/users.texi: Likewise.
18490 * INSTALL: Regenerated.
18491 * sysdeps/gnu/errlist.c: Regenerated.
18492
07037eeb
JM
18493 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18494 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18495 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18496 puts.
18497 * configure: Regenerated.
18498
d1d3431a
JM
184992012-03-07 Joseph Myers <joseph@codesourcery.com>
18500
af6a1e37
JM
18501 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18502 default includes instead of AC_HEADER_CHECK.
18503 * sysdeps/i386/configure: Regenerated.
18504
d1d3431a
JM
18505 [BZ #10716]
18506 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18507 * math/s_cacoshf.c (__cacoshf): Likewise.
18508 * math/s_cacoshl.c (__cacoshl): Likewise.
18509 * math/s_casinh.c (__casinh): Set signs of result from argument.
18510 * math/s_casinhf.c (__casinhf): Likewise.
18511 * math/s_casinhl.c (__casinhl): Likewise.
18512 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18513 (casinh_test): Add more tests.
18514 * sysdeps/i386/fpu/libm-test-ulps: Update.
18515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18516
482ff4da
UD
185172012-03-07 Ulrich Drepper <drepper@gmail.com>
18518
872fda05
UD
18519 * po/zh_TW.po: Update from translation team.
18520
a4300c7a
UD
18521 * login/Makefile (distribute): Remove variable.
18522 * catgets/Makefile: Likewise.
18523 * mach/Makefile: Likewise.
18524 * malloc/Makefile: Likewise.
18525 * misc/Makefile: Likewise.
18526 * iconv/Makefile: Likewise.
18527 * nscd/Makefile: Likewise.
18528 * hurd/Makefile: Likewise.
18529 * manual/Makefile: Likewise.
18530 * locale/Makefile: Likewise.
18531 * intl/Makefile: Likewise.
18532 * conform/Makefile: Likewise.
18533 * nss/Makefile: Likewise.
18534 * time/Makefile: Likewise.
18535 * soft-fp/Makefile: Likewise.
18536 * dirent/Makefile: Likewise.
18537 * gmon/Makefile: Likewise.
18538 * po/Makefile: Likewise.
18539 * rt/Makefile: Likewise.
18540 * socket/Makefile: Likewise.
18541 * math/Makefile: Likewise.
18542 * signal/Makefile: Likewise.
18543 * debug/Makefile: Likewise.
18544 * elf/Makefile: Likewise.
18545 * timezone/Makefile: Likewise.
18546 * stdlib/Makefile: Likewise.
18547 * iconvdata/Makefile: Likewise.
18548 * sunrpc/Makefile: Likewise.
18549 * io/Makefile: Likewise.
18550 * argp/Makefile: Likewise.
18551 * inet/Makefile: Likewise.
18552 * hesiod/Makefile: Likewise.
18553 * grp/Makefile: Likewise.
18554 * csu/Makefile: Likewise.
18555 * wctype/Makefile: Likewise.
18556 * crypt/Makefile: Likewise.
18557 * libio/Makefile: Likewise.
18558 * string/Makefile: Likewise.
18559 * nis/Makefile: Likewise.
18560 * resolv/Makefile: Likewise.
18561 * stdio-common/Makefile: Likewise.
18562 * wcsmbs/Makefile: Likewise.
18563 * dlfcn/Makefile: Likewise.
18564 * posix/Makefile: Likewise.
18565
3b7c4e74 18566 [BZ #6959]
482ff4da
UD
18567 * timezone/Makefile: Don't install timezone files, just the programs
18568 and scripts.
18569
f72ed77d
UD
185702012-03-06 Ulrich Drepper <drepper@gmail.com>
18571
a000466f
UD
18572 * nss/databases.def: Add missing gshadow entry.
18573
f72ed77d
UD
18574 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18575
a53b7a4e
MP
185762012-03-06 Marek Polacek <polacek@redhat.com>
18577
18578 [BZ #13726]
18579 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18580 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18581 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18582 * stdio-common/tst-long-dbl-fphex.c: New file.
18583
e9258400
DM
185842012-03-06 David S. Miller <davem@davemloft.net>
18585
18586 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18587 (set_obp_int): New function.
18588 (get_obp_int): New function.
18589 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
18590 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18591 Avoid unused variable warnings on 'val' and use builtin_expect.
18592 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18593 __builtin_expect.
e9258400
DM
18594 (INLINE_CLONE_SYSCALL): Likewise.
18595
3bd2c723
DM
185962012-03-05 David S. Miller <davem@davemloft.net>
18597
18598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18599
bbb78d03
AS
186002012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18601
884c5db4
AS
18602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18603
bbb78d03
AS
18604 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18605 only for |x| >= 40.
18606 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18607
1c9f702a 186082012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
18609
18610 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18611 Replace gettimeofday with __vdso_gettimeofday.
18612
7be16f82
RM
18613 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18614 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18615 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
18616
18617 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18618 time with __vdso_time.
18619
ed58a00f
JM
186202012-03-05 Joseph Myers <joseph@codesourcery.com>
18621
18622 * manual/lang.texi (size_t): Note types to which size_t may be
18623 equivalent with the GNU C Library, but do not describe when
18624 differences between them are significant.
18625
30ee4ced
AJ
186262012-03-05 Andreas Jaeger <aj@suse.de>
18627
18628 * sysdeps/i386/fpu/libm-test-ulps: Update.
18629
b7cd39e8
JM
186302012-03-05 Joseph Myers <joseph@codesourcery.com>
18631
18632 [BZ #3976]
18633 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18634 (__ieee754_pow): Save and restore rounding mode and use
18635 round-to-nearest for main computations.
18636 * math/libm-test.inc (pow_test_tonearest): New function.
18637 (pow_test_towardzero): Likewise.
18638 (pow_test_downward): Likewise.
18639 (pow_test_upward): Likewise.
18640 (main): Call the new functions.
18641 * sysdeps/i386/fpu/libm-test-ulps: Update.
18642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
18643
18644 [BZ #3976]
18645 * math/libm-test.inc (cosh_test_tonearest): New function.
18646 (cosh_test_towardzero): Likewise.
18647 (cosh_test_downward): Likewise.
18648 (cosh_test_upward): Likewise.
18649 (sinh_test_tonearest): Likewise.
18650 (sinh_test_towardzero): Likewise.
18651 (sinh_test_downward): Likewise.
18652 (sinh_test_upward): Likewise.
18653 (main): Call the new functions.
18654 * sysdeps/i386/fpu/libm-test-ulps: Update.
18655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18656
6c6a98c9
TV
186572012-03-05 Tom de Vries <tom@codesourcery.com>
18658
18659 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18660 default stack guard is set in last bytes.
18661 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18662
21bb2d2e 186632012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 18664
21bb2d2e 18665 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 18666
21bb2d2e
AJ
18667 [BZ #13656]
18668 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18669 possibly allocate from heap instead of stack.
18670 * stdio-common/bug-vfprintf-nargs.c: New file.
18671 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 18672
c6922934
AS
186732012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18674
18675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18676
bc957d53
MP
186772012-03-03 Marek Polacek <polacek@redhat.com>
18678
18679 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18680 * math/math_private.h: Likewise.
18681 * stdlib/tst-strtod.c: Likewise.
18682 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18683 * sysdeps/x86_64/bits/atomic.h: Likewise.
18684
6358490d
DM
186852012-03-02 David S. Miller <davem@davemloft.net>
18686
18687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18691 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18692 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18693 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18694 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18695
01ae168d
RM
186962012-03-02 Roland McGrath <roland@hack.frob.com>
18697
d9a17c07
RM
18698 [BZ #13792]
18699 * manual/examples/README: New file, says the example source files
18700 can be used under GPL>=2.
18701 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18702 line containing just "*/".
18703 * manual/examples/add.c: Add copyright header (GPL>=2).
18704 * manual/examples/argp-ex1.c: Likewise.
18705 * manual/examples/argp-ex2.c: Likewise.
18706 * manual/examples/argp-ex3.c: Likewise.
18707 * manual/examples/argp-ex4.c: Likewise.
18708 * manual/examples/atexit.c: Likewise.
18709 * manual/examples/db.c: Likewise.
18710 * manual/examples/dir.c: Likewise.
18711 * manual/examples/dir2.c: Likewise.
18712 * manual/examples/execinfo.c: Likewise.
18713 * manual/examples/filecli.c: Likewise.
18714 * manual/examples/filesrv.c: Likewise.
18715 * manual/examples/fmtmsgexpl.c: Likewise.
18716 * manual/examples/genpass.c: Likewise.
18717 * manual/examples/inetcli.c: Likewise.
18718 * manual/examples/inetsrv.c: Likewise.
18719 * manual/examples/isockad.c: Likewise.
18720 * manual/examples/longopt.c: Likewise.
18721 * manual/examples/memopen.c: Likewise.
18722 * manual/examples/memstrm.c: Likewise.
18723 * manual/examples/mkfsock.c: Likewise.
18724 * manual/examples/mkisock.c: Likewise.
18725 * manual/examples/mygetpass.c: Likewise.
18726 * manual/examples/pipe.c: Likewise.
18727 * manual/examples/popen.c: Likewise.
18728 * manual/examples/rprintf.c: Likewise.
18729 * manual/examples/search.c: Likewise.
18730 * manual/examples/select.c: Likewise.
18731 * manual/examples/setjmp.c: Likewise.
18732 * manual/examples/sigh1.c: Likewise.
18733 * manual/examples/sigusr.c: Likewise.
18734 * manual/examples/stpcpy.c: Likewise.
18735 * manual/examples/strdupa.c: Likewise.
18736 * manual/examples/strftim.c: Likewise.
18737 * manual/examples/strncat.c: Likewise.
18738 * manual/examples/subopt.c: Likewise.
18739 * manual/examples/swapcontext.c: Likewise.
18740 * manual/examples/termios.c: Likewise.
18741 * manual/examples/testopt.c: Likewise.
18742 * manual/examples/testpass.c: Likewise.
18743 * manual/examples/timeval_subtract.c: Likewise.
18744
01ae168d
RM
18745 [BZ #13792]
18746 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18747 function to ...
18748 * manual/timeval_subtract.c.texi: ... here, new file.
18749
49efa33d
DM
187502012-03-02 David S. Miller <davem@davemloft.net>
18751
18752 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18753
28afd92d
JM
187542012-03-02 Joseph Myers <joseph@codesourcery.com>
18755
804360ed
JM
18756 [BZ #3976]
18757 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18758 (__sin): Save and restore rounding mode and use round-to-nearest
18759 for all computations.
18760 (__cos): Save and restore rounding mode and use round-to-nearest
18761 for all computations.
18762 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18763 <fenv.h>.
18764 (tan): Save and restore rounding mode and use round-to-nearest for
18765 all computations.
18766 * math/libm-test.inc (cos_test_tonearest): New function.
18767 (cos_test_towardzero): Likewise.
18768 (cos_test_downward): Likewise.
18769 (cos_test_upward): Likewise.
18770 (sin_test_tonearest): Likewise.
18771 (sin_test_towardzero): Likewise.
18772 (sin_test_downward): Likewise.
18773 (sin_test_upward): Likewise.
18774 (tan_test_tonearest): Likewise.
18775 (tan_test_towardzero): Likewise.
18776 (tan_test_downward): Likewise.
18777 (tan_test_upward): Likewise.
18778 (main): Call the new functions.
18779 * sysdeps/i386/fpu/libm-test-ulps: Update.
18780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18781
a6d06d7b
JM
18782 [BZ #10135]
18783 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18784 small n, then large n, before computing and testing k+n.
18785 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18786 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18787 Likewise.
18788 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18789 Likewise.
18790 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18791 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18792 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18793 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18794 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18795 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18796 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18797 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18798 * math/libm-test.inc (scalbn_test): Add more tests.
18799 (scalbln_test): Likewise.
18800
07e12bb3
JM
18801 * manual/filesys.texi (mode_t): Describe constraints on size and
18802 signedness, not exact equivalence to a particular type.
18803 (ino_t): Likewise.
18804 (ino64_t): Likewise.
18805 (dev_t): Likewise.
18806 (nlink_t): Likewise.
18807 (blkcnt_t): Likewise.
18808 (blkcnt64_t): Likewise.
18809 * manual/llio.texi (off_t): Likewise.
18810
28afd92d
JM
18811 [BZ #3976]
18812 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18813 (__ieee754_exp): Save and restore rounding mode and use
18814 round-to-nearest for all computations.
18815 * math/libm-test.inc (exp_test_tonearest): New function.
18816 (exp_test_towardzero): Likewise.
18817 (exp_test_downward): Likewise.
18818 (exp_test_upward): Likewise.
18819 (main): Call the new functions.
18820 * sysdeps/i386/fpu/libm-test-ulps: Update.
18821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18822
b1eeb65d
CD
188232012-03-01 Chris Demetriou <cgd@google.com>
18824
18825 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18826 have predictable order.
18827
53362a4b
DM
188282012-03-01 David S. Miller <davem@davemloft.net>
18829
3c969083
DM
18830 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18831
759707de
DM
18832 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18833 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18834 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18835 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18836
dfdb8ff2
DM
18837 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18838 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18839 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18841 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18842 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18843 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18844 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18845 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18846
ead89f96
DM
18847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18848
7f66bd07
DM
18849 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18850 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18851 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18852
53362a4b
DM
18853 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18854 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18855 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18856 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18857 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18858 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18859 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18860 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18861 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18862 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18863 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18864 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18865 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18866 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18867 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18868 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18869 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18870 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18871 * sysdeps/sparc/elf/configure: Regenerated.
18872
7b1902cb
JM
188732012-03-01 Joseph Myers <joseph@codesourcery.com>
18874
bec039bc
JM
18875 * configure.in (AS, LD): Require binutils 2.20 or later.
18876 * configure: Regenerated.
18877 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18878 as required minimum version.
18879 * INSTALL: Regenerated.
18880
7b1902cb
JM
18881 [BZ #2541]
18882 [BZ #4108]
18883 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18884 before squaring exponent.
18885 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18886 bottom long double and 27 bits of top long double before squaring
18887 exponent.
18888 * math/libm-test.inc (erfc_test): Add more tests.
18889 * sysdeps/i386/fpu/libm-test-ulps: Update.
18890 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18892
f775c276
KT
188932012-03-01 Kai Tietz <ktietz@redhat.com>
18894
18895 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18896 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18897 containing bit-fields.
18898 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18899 * soft-fp/single.h (_FP_UNION_S): Likewise.
18900 * soft-fp/double.h (_FP_UNION_D): Likewise.
18901
5b8a4d4a
JM
189022012-02-29 Joseph Myers <joseph@codesourcery.com>
18903
0bab47b6
JM
18904 [BZ #13786]
18905 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18906 not include ../strcmp.S.
18907 [USE_AS_STRNCASECMP_L]: Likewise.
18908 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18909 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18910 * sysdeps/i386/i686/multiarch/strncase_l-c.c
18911 (__strncasecmp_l_ia32): Define as alias to
18912 __strncasecmp_l_nonascii.
18913
0fcad3e2
JM
18914 [BZ #5794]
18915 * math/libm-test.inc (expm1_test): Add test for bug 5794.
18916 * sysdeps/i386/fpu/libm-test-ulps: Update.
18917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18918
5b8a4d4a
JM
18919 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
18920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18921
8fdceb2e
JL
189222012-02-29 Jeff Law <law@redhat.com>
18923
18924 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
18925 out of bounds read.
18926
1f393a11
MP
189272012-02-29 Marek Polacek <polacek@redhat.com>
18928
18929 [BZ #13706]
18930 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
18931 * elf/Makefile: Add rules to run tst-unused-dep.out.
18932
8847f037
DM
189332012-02-28 David S. Miller <davem@davemloft.net>
18934
18935 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
18936 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
18937 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
18938 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
18939 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
18940 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
18941
169d7f11
JM
189422012-02-29 Joseph Myers <joseph@codesourcery.com>
18943
18944 * math/libm-test.inc (llround_test): Move one test from
18945 lround_test. Use TEST_f_L in moved test.
18946 (lround_test): Move misplaced test to llround_test. Add testcase
18947 from bug 2561.
18948
39adf059
UD
189492012-02-28 Ulrich Drepper <drepper@gmail.com>
18950
18951 * sysdeps/x86_64/fpu/e_expf.S: New file.
18952 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
18953
71b5d1c5
SB
189542012-02-28 Stanislav Brabec <sbrabec@suse.cz>
18955
18956 [BZ #13637]
18957 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
18958 of remain_len that may cause incomplete multi-byte character and
18959 false match.
18960 * posix/bug-regex33.c: New file.
18961 * posix/Makefile (tests): Add bug-regex33.
18962
1f77f049
JM
189632012-02-28 Joseph Myers <joseph@codesourcery.com>
18964
18965 * manual/macros.texi: New file.
18966 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
18967 * manual/libc.texinfo: Include macros.texi.
18968 * manual/creatute.texi: Likewise.
18969 * manual/install.texi: Likewise.
18970 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
18971 @glibcadj{} in references to the GNU C Library.
18972 * manual/charset.texi: Likewise.
18973 * manual/conf.texi: Likewise.
18974 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
18975 when not using those macros.
18976 * manual/creature.texi: Likewise.
18977 * manual/crypt.texi: Likewise.
18978 * manual/errno.texi: Likewise.
18979 * manual/filesys.texi: Likewise.
18980 * manual/header.texi: Likewise.
18981 * manual/install.texi: Likewise.
18982 * manual/intro.texi: Likewise.
18983 * manual/io.texi: Likewise.
18984 * manual/job.texi: Likewise.
18985 * manual/lang.texi: Likewise.
18986 * manual/libc.texiinfo: Likewise.
18987 * manual/llio.texi: Likewise.
18988 * manual/locale.texi: Likewise.
18989 * manual/maint.texi: Likewise.
18990 * manual/math.texi: Likewise.
18991 * manual/memory.texi: Likewise.
18992 * manual/message.texi: Likewise.
18993 * manual/nss.texi: Likewise.
18994 * manual/pattern.texi: Likewise.
18995 * manual/process.texi: Likewise.
18996 * manual/resource.texi: Likewise.
18997 * manual/search.texi: Likewise.
18998 * manual/setjmp.texi: Likewise.
18999 * manual/signal.texi: Likewise.
19000 * manual/socket.texi: Likewise.
19001 * manual/startup.texi: Likewise.
19002 * manual/stdio.texi: Likewise.
19003 * manual/string.texi: Likewise.
19004 * manual/sysinfo.texi: Likewise.
19005 * manual/syslog.texi: Likewise.
19006 * manual/terminal.texi: Likewise.
19007 * manual/time.texi: Likewise.
19008 * manual/users.texi: Likewise.
19009 * INSTALL: Regenerated.
19010 * NOTES: Regenerated.
d40c5d54 19011 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 19012
450bf206
AS
190132012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19014
19015 * include/dirent.h: Include <dirstream.h> before
19016 <dirent/dirent.h>.
19017
741a235b
DM
190182012-02-28 David S. Miller <davem@davemloft.net>
19019
19020 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19021 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19022 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19023 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19024
d6b5aa58
DM
190252012-02-27 David S. Miller <davem@davemloft.net>
19026
1aff59a3
DM
19027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19029 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19030 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19031
d6b5aa58
DM
19032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19033 frame pointer instead of stack pointer relative arg slot.
19034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19035 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19036 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19037
433f48bf
CD
190382012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19039
19040 [BZ #3992]
19041 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19042
d674b76d
DM
190432012-02-27 David S. Miller <davem@davemloft.net>
19044
19045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19049 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19050 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19051 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19052 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19053
0e7727f7
JM
190542012-02-27 Joseph Myers <joseph@codesourcery.com>
19055
19056 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19057 later. Allow versions 5-9.
43be4ca2 19058 * configure: Regenerated.
0e7727f7
JM
19059 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19060 required minimum version and 4.6 as recommended version. Do not
19061 mention bugs in GCC 2.7 and 2.8.
43be4ca2 19062 * INSTALL: Regenerated.
0e7727f7 19063
a78bc654
DM
190642012-02-27 David S. Miller <davem@davemloft.net>
19065
428d5830
DM
19066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19070 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19071 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19072 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19073 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19074
a78bc654
DM
19075 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19076 manipulate bits before adding and subtracting TWO112[sx].
19077 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19078
4579f81c
RM
190792012-02-27 Roland McGrath <roland@hack.frob.com>
19080
36c8acb4
RM
19081 [BZ #13775]
19082 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19083 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19084 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19085 being in POSIX, because they are in 1003.1-2008.
19086
84ad622b
RM
19087 * rt/tst-aio.c: Include <fcntl.h>.
19088 * rt/tst-aio7.c: Likewise.
19089 * rt/tst-aio64.c: Likewise.
19090
4579f81c
RM
19091 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19092
abd923db
JM
190932012-02-27 Joseph Myers <joseph@codesourcery.com>
19094
19095 * manual/install.texi (--with-headers): Describe headers as
19096 interface headers, not private headers.
19097 (Specific advice for GNU/Linux systems): Describe use of headers
19098 from "make headers_install", not private headers from older
19099 kernels.
43be4ca2 19100 * INSTALL: Regenerated.
abd923db
JM
19101 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19102 Change to 2.6.19.
19103 * sysdeps/unix/sysv/linux/configure: Regenerated.
19104
6664049b
JM
19105 * manual/llio.texi (fclean): Remove documentation.
19106
bb8b6697
JM
19107 * manual/Makefile (libc-texi-generated): New variable. Include
19108 version.texi.
19109 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19110 $(libc-texi-generated), not duplicated list of files.
19111 (version.texi, stamp-version): New rules.
19112 (realclean): Remove $(libc-texi-generated), not individual files
19113 from that list. Do not remove dir-add.texinfo.
19114 * manual/libc.texinfo: Comment out uses of edition numbers and
19115 references to printed manual. Remove last-updated dates.
19116 (EDITION): Comment out.
19117 (ISBN): Likewise.
19118 (VERSION, UPDATED): Remove.
19119 (version.texi): Include.
19120
12e5c3b9
AS
191212012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19122
19123 * sysdeps/posix/spawni.c: Include <signal.h>.
19124 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19125 * sysdeps/pthread/aio_fsync.c: Likewise.
19126
4efeffc1 191272012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 19128
ba63ba08
UD
19129 * conform/Makefile (tests): Run only when not cross-compiling and
19130 when fast-check is not defined.
19131
d94a4670
UD
19132 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19133 * conform/data/limits.h-data: Fixes for POSIX2008.
19134 * conform/run-conformtest.sh: Run all tests.
19135 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19136 headers.
19137 * include/bits/dlfcn.h: Likewise.
19138 * include/langinfo.h: Likewise.
19139 * include/monetary.h: Likewise.
19140 * include/sys/poll.h: Likewise.
19141
19142 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19143 for __USE_GNU.
19144 * posix/spawn.h: Define __need_sigset_t.
19145 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19146 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19147 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19148 to get sigevent_t only.
19149 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19150 only for __USE_GNU.
19151 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19152 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19153 process_vm_writev only for __USE_GNU.
19154 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
19155
19156 * conform/Makefile: For now ignore errors from run-conformtest.
19157 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19158 POSIX to avoid namespace pollution. Don't prepend headers.
19159 * conform/data/aio.h-data: Fixes for POSIX testing.
19160 * conform/data/fcntl.h-data: Likewise.
19161 * conform/data/glob.h-data: Likewise.
19162 * conform/data/grp.h-data: Likewise.
19163 * conform/data/pthread.h-data: Likewise.
19164 * conform/data/pwd.h-data: Likewise.
19165 * conform/data/signal.h-data: Likewise.
19166 * conform/data/spawn.h-data: Likewise.
19167 * conform/data/stdio.h-data: Likewise.
19168 * conform/data/stdlib.h-data: Likewise.
19169 * conform/data/stropts.h-data: Likewise.
19170 * conform/data/sys/mman.h-data: Likewise.
19171 * conform/data/sys/stat.h-data: Likewise.
19172 * conform/data/sys/types.h-data: Likewise.
19173 * conform/data/sys/wait.h-data: Likewise.
19174 * conform/data/time.h-data: Likewise.
19175 * conform/data/unistd.h-data: Likewise.
19176 * conform/data/utime.h-data: Likewise.
19177
19178 * io/sys/stat.h: fchmod was always in POSIX.
19179 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19180 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19181 * rt/aio.h: Define __need_timespec before including <time.h>.
19182 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19183 struct. Add forward declaration of pthread_attr_t and use it in
19184 sigevent.
19185 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19186 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19187 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19188 always remove CLK_TCK definition.
19189
c20105c3
AS
191902012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19191
19192 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19193
7a270350
UD
191942012-02-25 Ulrich Drepper <drepper@gmail.com>
19195
31341567
UD
19196 * conform/run-conformtest.sh: New file.
19197 * conform/Makefile: Run run-conformtest for tests.
19198 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19199 support.
19200
19201 * conform/data/uchar.h-data: New file.
19202 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19203 * conform/data/arpa/inet.h-data: Likewise.
19204 * conform/data/assert.h-data: Likewise.
19205 * conform/data/complex.h-data: Likewise.
19206 * conform/data/cpio.h-data: Likewise.
19207 * conform/data/ctype.h-data: Likewise.
19208 * conform/data/dirent.h-data: Likewise.
19209 * conform/data/dlfcn.h-data: Likewise.
19210 * conform/data/errno.h-data: Likewise.
19211 * conform/data/fcntl.h-data: Likewise.
19212 * conform/data/float.h-data: Likewise.
19213 * conform/data/fmtmsg.h-data: Likewise.
19214 * conform/data/fnmatch.h-data: Likewise.
19215 * conform/data/ftw.h-data: Likewise.
19216 * conform/data/glob.h-data: Likewise.
19217 * conform/data/grp.h-data: Likewise.
19218 * conform/data/iconv.h-data: Likewise.
19219 * conform/data/inttypes.h-data: Likewise.
19220 * conform/data/langinfo.h-data: Likewise.
19221 * conform/data/libgen.h-data: Likewise.
19222 * conform/data/limits.h-data: Likewise.
19223 * conform/data/locale.h-data: Likewise.
19224 * conform/data/math.h-data: Likewise.
19225 * conform/data/monetary.h-data: Likewise.
19226 * conform/data/mqueue.h-data: Likewise.
19227 * conform/data/ndbm.h-data: Likewise.
19228 * conform/data/net/if.h-data: Likewise.
19229 * conform/data/netdb.h-data: Likewise.
19230 * conform/data/netinet/in.h-data: Likewise.
19231 * conform/data/nl_types.h-data: Likewise.
19232 * conform/data/poll.h-data: Likewise.
19233 * conform/data/pthread.h-data: Likewise.
19234 * conform/data/pwd.h-data: Likewise.
19235 * conform/data/regex.h-data: Likewise.
19236 * conform/data/sched.h-data: Likewise.
19237 * conform/data/search.h-data: Likewise.
19238 * conform/data/semaphore.h-data: Likewise.
19239 * conform/data/setjmp.h-data: Likewise.
19240 * conform/data/signal.h-data: Likewise.
19241 * conform/data/spawn.h-data: Likewise.
19242 * conform/data/stdarg.h-data: Likewise.
19243 * conform/data/stdio.h-data: Likewise.
19244 * conform/data/stdlib.h-data: Likewise.
19245 * conform/data/string.h-data: Likewise.
19246 * conform/data/strings.h-data: Likewise.
19247 * conform/data/stropts.h-data: Likewise.
19248 * conform/data/sys/ipc.h-data: Likewise.
19249 * conform/data/sys/mman.h-data: Likewise.
19250 * conform/data/sys/msg.h-data: Likewise.
19251 * conform/data/sys/resource.h-data: Likewise.
19252 * conform/data/sys/select.h-data: Likewise.
19253 * conform/data/sys/sem.h-data: Likewise.
19254 * conform/data/sys/shm.h-data: Likewise.
19255 * conform/data/sys/socket.h-data: Likewise.
19256 * conform/data/sys/stat.h-data: Likewise.
19257 * conform/data/sys/statvfs.h-data: Likewise.
19258 * conform/data/sys/time.h-data: Likewise.
19259 * conform/data/sys/timeb.h-data: Likewise.
19260 * conform/data/sys/times.h-data: Likewise.
19261 * conform/data/sys/types.h-data: Likewise.
19262 * conform/data/sys/uio.h-data: Likewise.
19263 * conform/data/sys/un.h-data: Likewise.
19264 * conform/data/sys/utsname.h-data: Likewise.
19265 * conform/data/sys/wait.h-data: Likewise.
19266 * conform/data/syslog.h-data: Likewise.
19267 * conform/data/tar.h-data: Likewise.
19268 * conform/data/termios.h-data: Likewise.
19269 * conform/data/utime.h-data: Likewise.
19270 * conform/data/utmpx.h-data: Likewise.
19271 * conform/data/varargs.h-data: Likewise.
19272 * conform/data/wchar.h-data: Likewise.
19273 * conform/data/wctype.h-data: Likewise.
19274 * conform/data/wordexp.h-data: Likewise.
19275
19276 * include/stropts.h: New file.
19277 * include/uchar.h: New file.
19278 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19279 * include/assert.h: Likewise.
19280 * include/ctype.h: Likewise.
19281 * include/dirent.h: Likewise.
19282 * include/dlfcn.h: Likewise.
19283 * include/fcntl.h: Likewise.
19284 * include/fnmatch.h: Likewise.
19285 * include/glob.h: Likewise.
19286 * include/grp.h: Likewise.
19287 * include/libio.h: Likewise.
19288 * include/locale.h: Likewise.
19289 * include/math.h: Likewise.
19290 * include/net/if.h: Likewise.
19291 * include/netdb.h: Likewise.
19292 * include/netinet/in.h: Likewise.
19293 * include/pthread.h: Likewise.
19294 * include/pwd.h: Likewise.
19295 * include/regex.h: Likewise.
19296 * include/sched.h: Likewise.
19297 * include/search.h: Likewise.
19298 * include/setjmp.h: Likewise.
19299 * include/signal.h: Likewise.
19300 * include/stdio.h: Likewise.
19301 * include/stdlib.h: Likewise.
19302 * include/string.h: Likewise.
19303 * include/sys/cdefs.h: Likewise.
19304 * include/sys/mman.h: Likewise.
19305 * include/sys/msg.h: Likewise.
19306 * include/sys/resource.h: Likewise.
19307 * include/sys/select.h: Likewise.
19308 * include/sys/socket.h: Likewise.
19309 * include/sys/stat.h: Likewise.
19310 * include/sys/statvfs.h: Likewise.
19311 * include/sys/time.h: Likewise.
19312 * include/sys/times.h: Likewise.
19313 * include/sys/uio.h: Likewise.
19314 * include/sys/utsname.h: Likewise.
19315 * include/sys/wait.h: Likewise.
19316 * include/termios.h: Likewise.
19317 * include/time.h: Likewise.
19318 * include/ulimit.h: Likewise.
19319 * include/unistd.h: Likewise.
19320 * include/utime.h: Likewise.
19321 * include/wchar.h: Likewise.
19322 * include/wctype.h: Likewise.
19323 * include/wordexp.h: Likewise.
19324
19325 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19326
7a270350
UD
19327 * time/time.h: TIME_UTC must be a macro.
19328 Make timespec_get available for ISO C11 only as well.
19329
7724defc
UD
193302012-02-24 Ulrich Drepper <drepper@gmail.com>
19331
19332 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19333 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19334
6b1d1d46
JM
193352012-02-24 Joseph Myers <joseph@codesourcery.com>
19336
19337 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 19338
0f8bbd69
JM
193392012-02-24 Joseph Myers <joseph@codesourcery.com>
19340
19341 * manual/texinfo.tex: Update to version 2012-01-19.16.
19342
66ab80bc
JM
193432012-02-24 Joseph Myers <joseph@codesourcery.com>
19344
19345 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19346
74981cc5
RM
193472012-02-24 Roland McGrath <roland@hack.frob.com>
19348
ee968201
RM
19349 [BZ #13738]
19350 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19351 * manual/fdl-1.3.texi: New file.
19352 * manual/fdl-1.1.texi: File removed.
19353
74981cc5
RM
19354 [BZ #13738]
19355 * manual/libc.texinfo (FDL_VERSION): New @set.
19356 Use it for mention of FDL in cover text.
19357 (Documentation License): Use it in @include file name.
19358
7bb764bc
JM
193592012-02-22 Joseph Myers <joseph@codesourcery.com>
19360 Roland McGrath <roland@hack.frob.com>
19361
19362 [BZ #5461]
19363 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19364 not LONG_LONG_MAX and LONG_LONG_MIN.
19365 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19366 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19367 name.
19368 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19369
6cbeae47
JM
193702012-02-22 Joseph Myers <joseph@codesourcery.com>
19371
19372 [BZ #2547]
19373 [BZ #11365]
19374 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19375 manipulate bits before adding and subtracting TWO23[sx].
19376 * math/libm-test.inc (nearbyint_test): Add more tests.
19377
fe45ce09
JM
193782012-02-22 Joseph Myers <joseph@codesourcery.com>
19379
19380 [BZ #2548]
19381 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19382 bits before adding and subtracting TWO23[sx].
19383 * math/libm-test.inc (rint_test): Add more tests.
19384 (rint_test_tonearest): Likewise.
19385 (rint_test_towardzero): Likewise.
19386 (rint_test_downward): Likewise.
19387 (rint_test_upward: Likewise.
19388
ff3b3d82
JM
193892012-02-22 Joseph Myers <joseph@codesourcery.com>
19390
19391 [BZ #10110]
19392 * include/stdc-predef.h: New file. Extracted from features.h.
19393 * include/features.h: Include stdc-predef.h.
19394 * Makefile (headers): Add stdc-predef.h.
19395 * CONFORMANCE (Compiler limitations): Update.
19396
ef0aab35
JM
193972012-02-22 Joseph Myers <joseph@codesourcery.com>
19398
19399 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19400
58639409
DM
194012012-02-21 David S. Miller <davem@davemloft.net>
19402
19403 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19404 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19405
c0e70b25
DM
194062012-02-20 David S. Miller <davem@davemloft.net>
19407
19408 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19409 using a normal save/restore sequence, rather than allocating a
19410 dummy stack frame just to store a frame pointer and restore.
19411 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19412
fb06851d
JM
194132012-02-21 Joseph Myers <joseph@codesourcery.com>
19414
19415 * manual/install.texi: Fix stray word in line-wrapped comment.
19416
7a8b71c3
DM
194172012-02-20 David S. Miller <davem@davemloft.net>
19418
d510c123
DM
19419 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19420 both binutils and gcc support GOTDATA.
19421
0722d7c2
DM
19422 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19423 "rd %pc" in the PIC register setup sequences.
19424
3d2b3019
DM
19425 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19426 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19427 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19428 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19429 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19430 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19431 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19432 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19433 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19434 (SYSCALL_ERROR_HANDLER): Likewise.
19435 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19436 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19437 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19438 (SYSCALL_ERROR_HANDLER): Likewise.
19439
c80098a9
DM
19440 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19441 (HAVE_GCC_GOTDATA): New.
19442 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19443 relocation support in both binutils and gcc.
19444 * sysdeps/sparc/elf/configure: Regenerate.
19445
3a2545a0
DM
19446 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19447 * sysdeps/sparc/sparc32/elf/configure: Delete.
19448 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19449 * sysdeps/sparc/sparc64/elf/configure: Delete.
19450 * sysdeps/sparc/elf/configure.in: New file.
19451 * sysdeps/sparc/elf/configure: Generate.
19452
7a8b71c3
DM
19453 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19454 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19455 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19456 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19457 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19458
f1e86fca
JM
194592012-02-21 Joseph Myers <joseph@codesourcery.com>
19460
19461 * manual/install.texi: Do not mention specific glibc version
19462 numbers.
19463 * manual/libc.texinfo (VERSION, UPDATED): Update.
19464 (@copying): Use @copyright{} and range of years.
19465
0e7dfaef
JM
194662012-02-21 Joseph Myers <joseph@codesourcery.com>
19467
19468 [BZ #13695]
19469 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19470 [crti.S not in sysdirs] (generated): Do not append.
19471 [crti.S not in sysdirs] (omit-deps): Likewise.
19472 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19473 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19474 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19475 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19476 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19477 Likewise.
19478 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19479 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19480 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19481 * csu/defs.awk: Remove file.
19482 * sysdeps/generic/initfini.c: Likewise.
19483 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19484 variable.
19485 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19486 Likewise.
19487
599af3ca
JM
194882012-02-20 Joseph Myers <joseph@codesourcery.com>
19489
19490 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19491 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19492 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19493 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19494 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19495 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19496 <bits/epoll.h>.
19497 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19498 (__EPOLL_PACKED): Define to empty if not defined by
19499 <bits/epoll.h>.
19500 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19501 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19502 bits/epoll.h.
19503
0e499750
JM
195042012-02-20 Joseph Myers <joseph@codesourcery.com>
19505
19506 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19507 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19508 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19509 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19510 <bits/timerfd.h>.
19511 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19512 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19513 bits/timerfd.h.
19514
5ad91f6e
JM
195152012-02-20 Joseph Myers <joseph@codesourcery.com>
19516
19517 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19518 in C locale.
19519 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19520 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19521 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19523
06b99b02
AJ
195242012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19525
19526 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19527 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19528
7638c0fd
AS
195292012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19530
19531 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19532 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19533 defined.
19534 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19535 Likewise.
19536 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19537 entry for 2.16.
19538
92221550
AJ
195392012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19540
19541 * math/w_acos.c: Use non-signaling floating-point comparisons.
19542 * math/w_acosf.c: Likewise.
19543 * math/w_acosh.c: Likewise.
19544 * math/w_acoshf.c: Likewise.
19545 * math/w_acoshl.c: Likewise.
19546 * math/w_acosl.c: Likewise.
19547 * math/w_asin.c: Likewise.
19548 * math/w_asinf.c: Likewise.
19549 * math/w_asinl.c: Likewise.
19550 * math/w_atanh.c: Likewise.
19551 * math/w_atanhf.c: Likewise.
19552 * math/w_atanhl.c: Likewise.
19553 * math/w_exp2.c: Likewise.
19554 * math/w_exp2f.c: Likewise.
19555 * math/w_exp2l.c: Likewise.
19556 * math/w_j0.c: Likewise.
19557 * math/w_j0f.c: Likewise.
19558 * math/w_j0l.c: Likewise.
19559 * math/w_j1.c: Likewise.
19560 * math/w_j1f.c: Likewise.
19561 * math/w_j1l.c: Likewise.
19562 * math/w_jn.c: Likewise.
19563 * math/w_jnf.c: Likewise.
19564 * math/w_log.c: Likewise.
19565 * math/w_log10.c: Likewise.
19566 * math/w_log10f.c: Likewise.
19567 * math/w_log10l.c: Likewise.
19568 * math/w_log2.c: Likewise.
19569 * math/w_log2f.c: Likewise.
19570 * math/w_log2l.c: Likewise.
19571 * math/w_logf.c: Likewise.
19572 * math/w_logl.c: Likewise.
19573 * math/w_sqrt.c: Likewise.
19574 * math/w_sqrtf.c: Likewise.
19575 * math/w_sqrtl.c: Likewise.
19576 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19577 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19578 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19579 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19580 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19581
ebaf36eb
JM
195822012-02-19 Joseph Myers <joseph@codesourcery.com>
19583
19584 [BZ #9739]
19585 * manual/string.texi (strnlen): Use correct parameter name in
19586 equivalent expression.
19587
71c254a6
JM
195882012-02-19 Joseph Myers <joseph@codesourcery.com>
19589
19590 [BZ #11174]
19591 * manual/users.texi (seteuid): Consistently use neweuid for
19592 argument name.
19593
16d2c631
JM
195942012-02-19 Joseph Myers <joseph@codesourcery.com>
19595
19596 [BZ #13704]
19597 * manual/nss.texi (Services in the NSS configuration): Correct
19598 list of services in example configuration file.
19599
cd837b09
NB
196002012-02-19 Nick Bowler <nbowler@draconx.ca>
19601
19602 [BZ #11322]
19603 * manual/arith.texi: Remove statements about negative zero
19604 behaving identically to zero.
19605
02c4bbad
JM
196062012-02-18 Joseph Myers <joseph@codesourcery.com>
19607
19608 [BZ #5993]
19609 * manual/install.texi: Do not document upgrading from libc5.
19610
366842e7
JM
196112012-02-18 Joseph Myers <joseph@codesourcery.com>
19612
19613 [BZ #4596]
19614 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19615
dd54084d
DM
196162012-02-18 David S. Miller <davem@davemloft.net>
19617
19618 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19619 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19620 %o7 across the call.
19621 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19622 instead.
19623 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19624 SETUP_PIC_REG_LEAF.
19625 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19626 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19627 * sysdeps/sparc/crtn.S: Likewise.
19628
2bcc53a3
UD
196292012-02-17 Ulrich Drepper <drepper@gmail.com>
19630
19631 * aout/Makefile: Remove.
19632
09c093b5
RK
196332012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19634
19635 [BZ #13058]
19636 * manual/examples/argp-ex1.c (main): Format definition in GNU
19637 style.
19638 * manual/examples/argp-ex2.c (main): Likewise.
19639 * manual/examples/argp-ex3.c (main): Likewise.
19640 * manual/examples/argp-ex4.c (main): Likewise.
19641 * manual/examples/longopt.c (main): Use new-style prototype
19642 definition.
19643 * manual/examples/strncat.c (main): Specify return type and use
19644 (void) for arguments.
19645 * manual/examples/subopt.c (main): Use char **argv argument.
19646
2ee633a2
JM
196472012-02-17 Joseph Myers <joseph@codesourcery.com>
19648
19649 [BZ #5077]
19650 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19651 rounding modes.
19652
0520adde
FB
196532012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19654
19655 [BZ #6907]
19656 * manual/string.texi (strchr): Change when strchrnul is
19657 recommended.
19658
3f4081cd
DGM
196592012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19660
19661 [BZ #174]
19662 * manual/locale.texi (setlocale): Document LOCPATH.
19663
d1b10e78
JM
196642012-02-17 Joseph Myers <joseph@codesourcery.com>
19665
19666 [BZ #10210]
19667 * manual/process.texi (execle): Move @dots{} before last argument.
19668
79c6869c
PB
196692012-02-17 Paul Bolle <pebolle@tiscali.nl>
19670
19671 [BZ #12047]
19672 * manual/charset.texi (Generic Charset Conversion): Fix typo
19673 (LC_TYPE -> LC_CTYPE).
19674
cc6e48bc
NB
196752012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19676
19677 [BZ #5805]
19678 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19679 (scalbnf): Likewise.
19680 (scalbnl): Likewise.
19681 (scalbln): Likewise.
19682 (scalblnf): Likewise.
19683 (scalblnl): Likewise.
19684 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19685 (vwarnx): Likewise.
19686 (verr): Likewise.
19687 (verrx): Likewise.
19688 * manual/filesys.texi (telldir): Use braces around return type.
19689 * manual/llio.texi (mmap): Add space after comma.
19690 (mmap64): Likewise.
19691 * manual/math.texi (jn): Use @var{} on parameter names.
19692 (jnf): Likewise.
19693 (jnl): Likewise.
19694 (yn): Likewise.
19695 (ynf): Likewise.
19696 (ynl): Likewise.
19697 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19698 line.
19699 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19700 "...".
19701 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19702 (sched_get_priority_max): Likewise.
19703 * manual/signal.texi (sigvec): Add space after comma.
19704 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19705 names.
19706 (if_indextoname): Likewise.
19707 (if_freenameindex): Likewise.
19708 (sendto): Use ',' instead of '.' in prototype.
19709 * manual/startup.texi (syscall): Use @dots{} instead of literal
19710 "...".
19711 * manual/stdio.texi (__fpending): Separate initial words of
19712 paragraph from @deftypefun line.
19713 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19714 "...".
19715 (vsyslog): Use @var{} on parameter names.
19716 * manual/terminal.texi (stty): Use @var{} on parameter names.
19717 * manual/users.texi (getutmp): Use @var{} on parameter names.
19718 (getutmpx): Likewise.
19719
5b23062f
JM
197202012-02-17 Joseph Myers <joseph@codesourcery.com>
19721
19722 [BZ #6884]
19723 * manual/stdio.texi (fopen): Fix typos in description of
19724 ",ccs=STRING".
19725
8dee4833
AJ
197262012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19727
19728 [BZ #4026]
19729 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19730 get clock_id definition.
19731
9078ce93
TS
197322012-02-17 Thomas Schwinge <thomas@schwinge.name>
19733
19734 [BZ #4822]
19735 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19736 (madvise): Cast every argument to void on its own.
19737
3835c55f
JM
197382012-02-17 Joseph Myers <joseph@codesourcery.com>
19739
19740 [BZ #9902]
19741 * manual/startup.texi (Exit Status): Fix typo.
19742
35c47e37
JM
197432012-02-17 Joseph Myers <joseph@codesourcery.com>
19744
19745 [BZ #10140]
19746 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19747 * manual/examples/argp-ex2.c: Likewise.
19748 * manual/examples/argp-ex3.c: Likewise.
19749
e3b69ca7
RH
197502012-02-16 Richard Henderson <rth@redhat.com>
19751
19752 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19753 * sysdeps/s390/s390-32/initfini.c: Remove.
19754 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19755 * sysdeps/s390/s390-64/initfini.c: Remove.
19756
df83af67
KK
197572012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19758
19759 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19760 compiler output for sysdeps/generic/initfini.c.
19761 * sysdeps/sh/elf/initfini.c: Remove file.
19762
f63f3380
DM
197632012-02-16 David S. Miller <davem@davemloft.net>
19764
fb59b3a4
DM
19765 [BZ #11494]
19766 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19767
f63f3380
DM
19768 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19769 * sysdeps/sparc/crti.S: New file.
19770 * sysdeps/sparc/crtn.S: New file.
19771 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19772 * sysdeps/sparc/sparc64/Makefile: Likewise.
19773
df6a4a4a
MF
197742012-02-15 Mike Frysinger <vapier@gentoo.org>
19775
6dd8f3dc 19776 [BZ #3335]
df6a4a4a
MF
19777 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19778
1cac7236
RM
197792012-02-15 Roland McGrath <roland@hack.frob.com>
19780
d2c736f8
RM
19781 [BZ #4822]
19782 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19783
1cac7236
RM
19784 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19785 (write, read, close): Likewise.
19786 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19787
8e475601
JM
197882012-02-15 Joseph Myers <joseph@codesourcery.com>
19789
19790 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19791 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19792 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19793 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19794 <bits/signalfd.h>.
19795 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19796 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19797 bits/signalfd.h.
19798
ed656b40
MP
197992012-02-14 Marek Polacek <polacek@redhat.com>
19800
19801 * sysdeps/x86_64/crti.S: New file.
19802 * sysdeps/x86_64/crtn.S: New file.
19803 * sysdeps/x86_64/elf/initfini.c: Remove file.
19804
2a979d3a
JM
198052012-02-13 Joseph Myers <joseph@codesourcery.com>
19806
19807 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19808 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19809 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19810 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19811 <bits/inotify.h>.
19812 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19813 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19814 bits/inotify.h.
19815
2a418ac3
JM
198162012-02-13 Joseph Myers <joseph@codesourcery.com>
19817
19818 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19819 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19820 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19821 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19822 <bits/eventfd.h>.
19823 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19824 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19825 bits/eventfd.h.
19826
fb779be7
TS
198272012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19828
e19e83c5
RM
19829 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19830 __feraiseexcept instead of feraiseexcept.
7c35ffed 19831
fb779be7
TS
19832 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19833 nanosleep invocations.
19834 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19835 strings, and add error checking for a nanosleep invocations.
19836
59ba27a6
PE
198372012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19838
19839 Replace FSF snail mail address with URLs, as per GNU coding standards.
19840 Most of the snail mail addresses were wrong anyway, and omitting
19841 them makes the source code easier to maintain. Almost all of the
19842 changes are to license notices and to locale LC_IDENTIFICATION
19843 addresses, except for this one:
19844 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19845 not its snail mail address.
19846
57b957eb
RH
198472012-02-09 Richard Henderson <rth@twiddle.net>
19848
af850b1c
RH
19849 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19850 of kernel-features.h.
19851
57b957eb
RH
19852 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19853
6b73181a
MP
198542012-02-08 Marek Polacek <polacek@redhat.com>
19855
19856 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19857 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19858 * sysdeps/gnu/_G_config.h: Likewise.
19859 * sysdeps/generic/_G_config.h: Likewise.
19860
26ecc33a
AS
198612012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19862
6c6dbc63
AS
19863 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19864 tests.
19865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19866
e216c012
AS
19867 * sysdeps/powerpc/powerpc32/crti.S: New file.
19868 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19869 * sysdeps/powerpc/powerpc64/crti.S: New file.
19870 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19871
26ecc33a
AS
19872 * Makeconfig (have-initfini): Don't set.
19873 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19874 * configure.in (nopic_initfini): Don't substitute.
19875 * config.h.in (HAVE_INITFINI): Don't #undef.
19876 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19877 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19878
3add8e13
JM
198792012-02-08 Joseph Myers <joseph@codesourcery.com>
19880
19881 Support crti.S and crtn.S provided directly by architectures.
19882 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19883 [crti.S in sysdirs] (omit-deps): Likewise.
19884 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19885 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19886 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19887 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19888 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19889 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19890 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19891 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19892 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19893 compiler output for sysdeps/generic/initfini.c.
19894 * sysdeps/i386/elf/Makefile: Remove file.
19895 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19896
a22f12b4
MP
198972012-02-07 Marek Polacek <polacek@redhat.com>
19898
19899 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19900 * sysdeps/gnu/_G_config.h: Likewise.
19901 * sysdeps/mach/hurd/_G_config.h: Likewise.
19902
148cf100
MP
199032012-02-07 Marek Polacek <polacek@redhat.com>
19904
19905 * math/Makefile (tests): Add tst-CMPLX2.
19906 * math/tst-CMPLX2.c: New file.
19907
cfdc0dd7
AS
199082012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19909
84ba42c4
AS
19910 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19911
cfdc0dd7
AS
19912 * math/libm-test.inc (jn_test): Add missing L suffix.
19913
622c86f4
MP
199142012-02-06 Marek Polacek <polacek@redhat.com>
19915
19916 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
19917 * sysdeps/i386/fpu/e_powf.S: Likewise.
19918 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19919 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
19920 * sysdeps/i386/fpu/e_acosh.S: Likewise.
19921 * sysdeps/i386/fpu/e_pow.S: Likewise.
19922 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19923 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19924 * sysdeps/i386/fpu/s_expm1.S: Likewise.
19925 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19926 * sysdeps/i386/fpu/e_log2.S: Likewise.
19927 * sysdeps/i386/fpu/e_log2l.S: Likewise.
19928 * sysdeps/i386/fpu/e_scalb.S: Likewise.
19929 * sysdeps/i386/fpu/e_powl.S: Likewise.
19930 * sysdeps/i386/fpu/s_log1p.S: Likewise.
19931 * sysdeps/i386/fpu/e_log10f.S: Likewise.
19932 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19933 * sysdeps/i386/fpu/e_logl.S: Likewise.
19934 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19935 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
19936 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19937 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19938 * sysdeps/i386/fpu/e_log2f.S: Likewise.
19939 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19940 * sysdeps/i386/fpu/e_log.S: Likewise.
19941 * sysdeps/i386/fpu/s_cexp.S: Likewise.
19942 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19943 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
19944 * sysdeps/i386/fpu/e_logf.S: Likewise.
19945 * sysdeps/i386/fpu/e_log10l.S: Likewise.
19946 * sysdeps/i386/fpu/e_atanh.S: Likewise.
19947 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
19948 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19949 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
19950 * sysdeps/i386/fpu/e_log10.S: Likewise.
19951 * sysdeps/i386/fpu/s_frexp.S: Likewise.
19952 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19953 * sysdeps/i386/fpu/s_asinh.S: Likewise.
19954 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19955 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19956 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19957 * sysdeps/i386/asm-syntax.h: Likewise.
19958 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19959 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19960 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19961 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
19962 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
19963 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19964 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19965 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19966 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19967 * sysdeps/powerpc/sysdep.h: Likewise.
19968 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
19969 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19970
d4a54ac6
JM
199712012-02-06 Joseph Myers <joseph@codesourcery.com>
19972
19973 [BZ #411]
19974 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
19975
314054ea
JM
199762012-02-06 Joseph Myers <joseph@codesourcery.com>
19977
19978 * sysdeps/i386/sysdep.h: Include <features.h>.
19979 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
19980 version.
19981
d8e0ca50
JM
199822012-02-05 Joseph Myers <joseph@codesourcery.com>
19983
19984 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
19985 Define.
19986 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
19987 LOAD_PIC_REG_STR.
19988
b1da7dd9
JM
199892012-02-03 Joseph Myers <joseph@codesourcery.com>
19990
19991 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
19992 (SETUP_PIC_REG): Use GET_PC_THUNK.
19993 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
19994 macro.
19995
9a1d9254
JM
199962012-02-03 Joseph Myers <joseph@codesourcery.com>
19997
19998 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
19999 for non-PIC compilation.
20000 (SETUP_PIC_REG): Add .p2align directive.
20001 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20002 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20003 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20004 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20005 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20006 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20007 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20008 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20009 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20010 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20011 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20012 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20013 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20014 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20015 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20016 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20017 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20018 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20019 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20020 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20021 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20022 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20023 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20024 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20025 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20026 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20027 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20028 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20029 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20030 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20031 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20032 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20033 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20034 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20035 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20036 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20037 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20038 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20039 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20040 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20041 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20042
65dc3b75
JM
200432012-02-03 Joseph Myers <joseph@codesourcery.com>
20044
20045 * math/tst-CMPLX.c: Include <stdio.h>.
20046
d55bf177
JM
200472012-01-31 Joseph Myers <joseph@codesourcery.com>
20048
20049 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20050 float.
20051 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20052 * sysdeps/sparc/bits/mathdef.h: Likewise.
20053
69db4f8f
MP
200542012-01-31 Marek Polacek <polacek@redhat.com>
20055
20056 * libio/libio.h: Don't define _PARAMS.
20057 * locale/programs/config.h: Don't define PARAMS.
20058 * stdlib/strtol_l.c: Likewise.
20059 (__strtol_l): Remove PARAMS from the prototype.
20060
41b81892
UD
200612012-01-31 Ulrich Drepper <drepper@gmail.com>
20062
3b49edc0
UD
20063 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20064 names. Just use the correct names. Remove unnecessary wrapper
20065 functions.
20066 * malloc/arena.c: Likewise.
20067 * malloc/hooks.c: Likewise.
20068
41b81892
UD
20069 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20070 ARENA_TEST says not to. Simplify test for creation of a new arena.
20071 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20072
27a25b6e
UD
200732012-01-30 Ulrich Drepper <drepper@gmail.com>
20074
20075 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20076 into tail calls.
20077 (update_get_addr): New function.
20078 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20079 GET_ADDR_MODULE parameter.
20080
c8a89e7d
JM
200812012-01-30 Joseph Myers <joseph@codesourcery.com>
20082
20083 * crypt/cert.c: Remove __STDC__ conditionals.
20084 * crypt/crypt-entry.c: Likewise.
20085 * crypt/crypt_util.c: Likewise.
20086 * libio/filedoalloc.c: Likewise.
20087 * libio/fileops.c: Likewise.
20088 * libio/genops.c: Likewise.
20089 * libio/iofclose.c: Likewise.
20090 * libio/iofdopen.c: Likewise.
20091 * libio/iofopen.c: Likewise.
20092 * libio/iofopen64.c: Likewise.
20093 * libio/iogetdelim.c: Likewise.
20094 * libio/iopopen.c: Likewise.
20095 * libio/obprintf.c: Likewise.
20096 * libio/oldfileops.c: Likewise.
20097 * libio/oldiofclose.c: Likewise.
20098 * libio/oldiofdopen.c: Likewise.
20099 * libio/oldiofopen.c: Likewise.
20100 * libio/oldiopopen.c: Likewise.
20101 * libio/wfiledoalloc.c: Likewise.
20102 * libio/wgenops.c: Likewise.
20103 * locale/programs/xmalloc.c: Likewise.
20104 * misc/syslog.c: Likewise.
20105 * stdio-common/xbug.c: Likewise.
20106 * string/memchr.c: Likewise.
20107 * string/memcmp.c: Likewise.
20108 * string/memrchr.c: Likewise.
20109 * string/rawmemchr.c: Likewise.
20110 * sysdeps/posix/getcwd.c: Likewise.
20111 * time/strftime_l.c: Likewise.
20112
3b100462
JM
201132012-01-30 Joseph Myers <joseph@codesourcery.com>
20114
20115 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
20116 * config.make.in (config-cflags-sse2avx): Define.
20117 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20118 Fix typo.
20119
607998af
CM
201202012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20121
20122 * scripts/config.guess: Update from upstream config git repository.
20123 * scripts/config.sub: Likewise.
20124
3601428f
CM
201252012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20126
3ac8b282
CM
20127 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20128 (EM_NUM): Update.
20129 (R_TILEPRO_*, R_TILEGX_*): New macros.
20130
e034841e
CM
20131 * scripts/firstversions.awk: Fix bug in version range handling.
20132
540d7568
CM
20133 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20134
3601428f
CM
20135 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20136
463de862
CM
20137 * include/sys/epoll.h: New file.
20138 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20139 libc_hidden_def.
20140
73139a76
UD
201412012-01-28 Ulrich Drepper <drepper@gmail.com>
20142
96bc5b45
UD
20143 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20144 Avoid unnecessary __WORDSIZE == 64 test.
20145 (fmaxf): Use VEX format if possible.
20146 (fmax): Likewise.
20147 (fminf): Likewise.
20148 (fmin): Likewise.
20149
56f6f6a2
UD
20150 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20151 * math/math_private.h: Remove libc_fegetround* and
20152 libc_fesetround*.
20153 * sysdeps/i386/configure.in: Check for -msse2avx.
20154 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20155 also if SSE2AVX is defined.
20156 Remove libc_fegetround* and libc_fesetround*.
20157 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20158 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20159 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20160 of HAS_YMM_USABLE.
20161 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20162 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20163 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20164 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20165 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20166
73139a76
UD
20167 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20168
d73f93a4
AZ
201692012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20170
20171 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20172 size is not set.
20173 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20174
6ee65ed6
UD
201752012-01-27 Ulrich Drepper <drepper@gmail.com>
20176
20177 [BZ #13618]
20178 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20179 relocation.
20180 * Makeconfig (libm): Define.
20181 * elf/Makefile: Add rules to build and run tst-relsort1.
20182 * elf/tst-relsort1.c: New file.
20183 * elf/tst-relsort1mod1.c: New file.
20184 * elf/tst-relsort1mod2.c: New file.
20185
8db21882
JM
201862012-01-27 Joseph Myers <joseph@codesourcery.com>
20187
20188 * math/s_ldexp.c: Remove __STDC__ conditionals.
20189 * math/s_ldexpf.c: Likewise.
20190 * math/s_ldexpl.c: Likewise.
20191 * math/s_nextafter.c: Likewise.
20192 * math/s_nexttowardf.c: Likewise.
20193 * math/s_significand.c: Likewise.
20194 * math/s_significandf.c: Likewise.
20195 * math/s_significandl.c: Likewise.
20196 * math/w_jnl.c: Likewise.
20197 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20198 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20199 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20200 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20201 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20202 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20203 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20204 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20205 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20206 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20207 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20208 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20209 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20210 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20211 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20212 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20213 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20214 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20215 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20216 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20217 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20218 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20219 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20220 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20221 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20222 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20223 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20224 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20225 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20226 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20227 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20228 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20229 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20230 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20231 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20232 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20233 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20234 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20235 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20236 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20237 * sysdeps/ieee754/k_standard.c: Likewise.
20238 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20239 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20240 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20241 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20242 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20243 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20244 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20245 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20246 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20247 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20248 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20249 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20250 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20251 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20252 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20253 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20254 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20255 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20256 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20257 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20258 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20259 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20260 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20261 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20262 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20263 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20264 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20265 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20266 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20267 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20268 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20269 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20270 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20271 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20272 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20273 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20274 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20275 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20276 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20277 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20278 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20279 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20280 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20281 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20282 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20283 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20284 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20285 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20286 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20287 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20288 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20289 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20290 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20291 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20292 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20293 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20294 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20295 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20296 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20297 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20298 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20299 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20300 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20301 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20302 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20303 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20304 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20305 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20306 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20307 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20308 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20309 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20310 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20311 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20312 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20313 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20314 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20315 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20316 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20317 * sysdeps/ieee754/s_matherr.c: Likewise.
20318 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20319 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20320 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20321 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20322
965a54a4
JM
203232012-01-26 Joseph Myers <joseph@codesourcery.com>
20324
20325 * crypt/md5.h: Remove __STDC__ conditionals.
20326 * libio/libioP.h: Likewise.
20327 * locale/programs/config.h: Likewise.
20328 * sysdeps/generic/sysdep.h: Likewise.
20329 * sysdeps/i386/asm-syntax.h: Likewise.
20330 * sysdeps/s390/asm-syntax.h: Likewise.
20331 * sysdeps/unix/sysdep.h: Likewise.
20332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20334
7071ad79
JM
203352012-01-26 Joseph Myers <joseph@codesourcery.com>
20336
20337 * libio/libio.h: Remove __STDC__ conditionals.
20338 * malloc/obstack.h: Likewise.
20339 * math/complex.h: Likewise.
20340 * math/math.h: Likewise.
20341 * sysdeps/generic/_G_config.h: Likewise.
20342 * sysdeps/gnu/_G_config.h: Likewise.
20343 * sysdeps/mach/hurd/_G_config.h: Likewise.
20344 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20345 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20346 * sysdeps/sparc/bits/mathdef.h: Likewise.
20347
afc5ed09
UD
203482012-01-26 Ulrich Drepper <drepper@gmail.com>
20349
20350 [BZ #13583]
20351 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 20352 Clean up HAS_* macros.
afc5ed09 20353 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
20354 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20355 possible.
20356 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20357 HAS_AVX.
20358 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20359 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20360 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20361 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20362 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 20363
bdb6de1d
JM
203642012-01-25 Joseph Myers <joseph@codesourcery.com>
20365
20366 * elf/tst-unique3.cc (gets): Remove declaration.
20367 * elf/tst-unique3lib.cc (gets): Likewise.
20368 * elf/tst-unique3lib2.cc (gets): Likewise.
20369 * elf/tst-unique4.cc (gets): Likewise.
20370
b15549e6
UD
203712012-01-24 Ulrich Drepper <drepper@gmail.com>
20372
20373 * include/stdio.h: Add C++ protection. Add gets declarations and
20374 definitions.
20375 * debug/tst-chk1.c: Don't declare gets here.
20376 * stdio-common/tst-gets.c: Likewise.
20377
a037381f
JM
203782012-01-24 Joseph Myers <joseph@codesourcery.com>
20379
20380 * posix/glob: Remove directory.
20381
f1d4aa75
JM
203822012-01-24 Joseph Myers <joseph@codesourcery.com>
20383
20384 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20385
81c0c964
PT
203862012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20387
20388 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20389 of the non-standard EPFNOSUPPORT.
20390
0ea698ae
ST
203912011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20392
20393 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20394 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20395 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20396
d220b117
UD
203972012-01-21 Ulrich Drepper <drepper@gmail.com>
20398
20399 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20400
3e1aa84e
UD
204012012-01-20 Ulrich Drepper <drepper@gmail.com>
20402
20403 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20404 transient errors.
20405 * nscd/grpcache.c (cache_addgr): Likewise.
20406 * nscd/hstcache.c (cache_addhst): Likewise.
20407 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20408 * nscd/pwdcache.c (cache_addpw): Likewise.
20409 * nscd/servicescache.c (cache_addserv): Likewise.
20410
400aa020
UD
204112012-01-16 Ulrich Drepper <drepper@gmail.com>
20412
d77e7869
UD
20413 * malloc/malloc.c: Various cleanups.
20414 * malloc/hooks.c: Likewise.
20415
400aa020
UD
20416 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20417 * stdlib/bug-fmtmsg1.c: New file.
20418
20419 * stdlib/fmtmsg.c (init): Add missing unlock.
20420 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20421
e0a309cf
MP
204222012-01-12 Marek Polacek <polacek@redhat.com>
20423
20424 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20425 and _GNU_SOURCE.
20426
929d11c7
WS
204272012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20428
20429 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20430 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20431 macro to ensure uniqueness of label name.
20432 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20433 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20434
41d0e869
UD
204352012-01-11 Ulrich Drepper <drepper@gmail.com>
20436
0cc5ed3b
UD
20437 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20438
41d0e869
UD
20439 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20440 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20441 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20442 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20443
a47a831a
UD
204442012-01-10 Ulrich Drepper <drepper@gmail.com>
20445
daa891c0
UD
20446 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20447
20448 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20449 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20450 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20451
e58ef0f2
UD
20452 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20453
a47a831a 20454 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
20455 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20456 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 20457 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
20458
20459 * math/bits/math-finite.h: Add ldexp support.
20460
a0bfc9c7
MP
204612012-01-10 Marek Polacek <polacek@redhat.com>
20462
20463 * locale/programs/localedef.h (show_archive_content): Add noreturn
20464 attribute.
20465
d6e97a1d
UD
204662012-01-09 Ulrich Drepper <drepper@gmail.com>
20467
20468 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20469
d5835c26
UD
204702012-01-08 Ulrich Drepper <drepper@gmail.com>
20471
e5f484c6
UD
20472 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20473
d5835c26
UD
20474 * io/Makefile (headers): Add bits/poll2.h.
20475
d1f741e9
WS
204762011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20477
20478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20479 typo #include statement.
20480
ec09c1c4
UD
204812012-01-08 Ulrich Drepper <drepper@gmail.com>
20482
20483 * include/sys/cdefs.h: Define __attribute_alloc_size.
20484 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20485 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20486 * elf/pldd.c: Likewise.
20487 * iconv/iconv_charmap.c: Likewise.
20488 * iconv/iconvconfig.c: Likewise.
20489 * iconv/strtab.c: Likewise.
20490 * locale/programs/locale.c: Likewise.
20491 * locale/programs/localedef.h: Likewise.
20492 * locale/programs/simple-hash.c: Likewise.
20493 * nscd/nscd.h: Likewise.
20494 * nss/makedb.c: Likewise.
20495 * sysdeps/generic/ldconfig.h: Likewise.
20496 * locale/programs/localedef.c: Remove xmalloc prototype.
20497 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20498
20b38e03
PP
204992012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20500
20501 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20502 appropriate.
20503
a0da5fe1
UD
205042012-01-08 Ulrich Drepper <drepper@gmail.com>
20505
1d5a644a 20506 * math/Makefile (tests): Add tst-CMPLX.
669704fd 20507 * math/tst-CMPLX.c: New file.
1d5a644a 20508
8784a6db
UD
20509 * math/complex.h (CMPLXL): Fix typo.
20510
d9a216c0
UD
20511 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20512 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20513 GLIBC_2.16.
20514 * debug/tst-chk1.c: Add poll and ppoll tests.
20515 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20516 * include/sys/poll.h: Add hidden proto for ppoll.
20517 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20518 * sysdeps/mach/hurd/ppoll.c: Likewise.
20519 * io/ppoll.c: Likewise.
20520 * debug/poll_chk.c: New file.
20521 * debug/ppoll_chk.c: New file.
20522 * include/bits/poll2.h: New file.
20523 * io/bits/poll2.h: New file.
20524
ac097f5c
UD
20525 [BZ #1350]
20526 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20527
2119dcfa
UD
20528 * configure.in: static is always set to yes. Remove.
20529 * config.make.in: Don't set build-static.
20530 * Makeconfig: Remove use of build-static.
20531 * dlfcn/Makefile: Likewise.
20532 * elf/Makefile: Likewise.
20533 * math/Makefile: Likewise.
20534 * misc/Makefile: Likewise.
20535 * nptl/Makefile: Likewise.
20536 * sysdeps/mach/hurd/Makefile: Likewise.
20537
121766a9
UD
20538 * configure.in: PWD_P is not used anymore.
20539 * config.make.in: Remove PWD_P entry.
20540
51a1d39c 20541 * configure.in: Remove last remnants of RANLIB.
8720d066 20542 No need to check for signed size_t anymore.
215f4bdc
UD
20543 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20544 and IA-64.
3857022a 20545 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
20546 * aclocal.m4: Likewise.
20547
d3ed7225
UD
20548 * wcsmbs/mbrtoc16.c: Implement using towc function.
20549 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20550 * wcsmbs/wcsmbsload.c: Likewise.
20551 * iconv/gconv_simple.c: Likewise.
20552 * iconv/gconv_int.h: Likewise.
20553 * iconv/gconv_builtin.h: Likewise.
20554 * iconv/iconv_prog.c: Remove CHAR16 handling.
20555
20556 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20557
20558 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20559
a0da5fe1
UD
20560 * configure.in: Remove --with-elf and --enable-bounded options.
20561 Dont set base_machine for ia64. More non-ELF conditions removed.
20562 Remove testing and setting of leading underscore information.
20563 * config.make.in (build-bounded): Set to no.
20564 * config.h.in: Remove NO_UNDERSCORES entry.
20565 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20566 them.
20567 * csu/start.c: Remove !NO_UNDERSCORE code.
20568 * locale/localeinfo.h: Likewise.
20569 * sysdeps/generic/machine-gmon.h: Likewise.
20570 * sysdeps/generic/sysdep.h: Likewise.
20571 * sysdeps/i386/sysdep.h: Likewise.
20572 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20573 * sysdeps/mach/sysdep.h: Likewise.
20574 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20575 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20576 * sysdeps/sh/sysdep.h: Likewise.
20577 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20578 * sysdeps/unix/i386/sysdep.S: Likewise.
20579 * sysdeps/unix/sparc/start.c: Likewise.
20580 * sysdeps/unix/sparc/sysdep.S: Likewise.
20581 * sysdeps/unix/sparc/sysdep.h: Likewise.
20582 * sysdeps/unix/start.c: Likewise.
20583 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20584 * sysdeps/x86_64/sysdep.h: Likewise.
20585
df78418a
UD
205862012-01-07 Ulrich Drepper <drepper@gmail.com>
20587
a784e502
UD
20588 [BZ #13553]
20589 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20590 for non-gcc.
20591 * argp/argp-fmtstream.h: Use const instead __const.
20592 * argp/argp.h: Likewise.
20593 * assert/assert.h: Likewise.
20594 * bits/fenv.h: Likewise.
20595 * bits/sched.h: Likewise.
20596 * bits/sigset.h: Likewise.
20597 * bits/sigthread.h: Likewise.
20598 * catgets/nl_types.h: Likewise.
20599 * conform/data/pthread.h-data: Likewise.
20600 * crypt/crypt-private.h: Likewise.
20601 * crypt/crypt.h: Likewise.
20602 * crypt/crypt_util.c: Likewise.
20603 * ctype/ctype.h: Likewise.
20604 * debug/execinfo.h: Likewise.
20605 * debug/mbsnrtowcs_chk.c: Likewise.
20606 * debug/mbsrtowcs_chk.c: Likewise.
20607 * debug/wcsnrtombs_chk.c: Likewise.
20608 * debug/wcsrtombs_chk.c: Likewise.
20609 * debug/wcstombs_chk.c: Likewise.
20610 * dirent/dirent.h: Likewise.
20611 * dlfcn/dlfcn.h: Likewise.
20612 * elf/neededtest4.c: Likewise.
20613 * grp/grp.h: Likewise.
20614 * gshadow/gshadow.h: Likewise.
20615 * iconv/gconv.h: Likewise.
20616 * iconv/gconv_int.h: Likewise.
20617 * iconv/gconv_simple.c: Likewise.
20618 * iconv/iconv.h: Likewise.
20619 * iconv/loop.c: Likewise.
20620 * iconv/skeleton.c: Likewise.
20621 * include/aio.h: Likewise.
20622 * include/aliases.h: Likewise.
20623 * include/argz.h: Likewise.
20624 * include/arpa/inet.h: Likewise.
20625 * include/assert.h: Likewise.
20626 * include/dirent.h: Likewise.
20627 * include/dlfcn.h: Likewise.
20628 * include/execinfo.h: Likewise.
20629 * include/fcntl.h: Likewise.
20630 * include/fenv.h: Likewise.
20631 * include/glob.h: Likewise.
20632 * include/grp.h: Likewise.
20633 * include/libintl.h: Likewise.
20634 * include/mntent.h: Likewise.
20635 * include/netdb.h: Likewise.
20636 * include/pwd.h: Likewise.
20637 * include/rpc/netdb.h: Likewise.
20638 * include/sched.h: Likewise.
20639 * include/search.h: Likewise.
20640 * include/shadow.h: Likewise.
20641 * include/signal.h: Likewise.
20642 * include/stdio.h: Likewise.
20643 * include/stdlib.h: Likewise.
20644 * include/string.h: Likewise.
20645 * include/sys/socket.h: Likewise.
20646 * include/sys/stat.h: Likewise.
20647 * include/sys/statfs.h: Likewise.
20648 * include/sys/statvfs.h: Likewise.
20649 * include/sys/syslog.h: Likewise.
20650 * include/sys/time.h: Likewise.
20651 * include/sys/uio.h: Likewise.
20652 * include/time.h: Likewise.
20653 * include/unistd.h: Likewise.
20654 * include/utmp.h: Likewise.
20655 * include/wchar.h: Likewise.
20656 * include/wctype.h: Likewise.
20657 * inet/aliases.h: Likewise.
20658 * inet/arpa/inet.h: Likewise.
20659 * inet/netinet/ether.h: Likewise.
20660 * inet/netinet/in.h: Likewise.
20661 * intl/libintl.h: Likewise.
20662 * io/bits/fcntl2.h: Likewise.
20663 * io/fcntl.h: Likewise.
20664 * io/ftw.h: Likewise.
20665 * io/sys/poll.h: Likewise.
20666 * io/sys/stat.h: Likewise.
20667 * io/sys/statfs.h: Likewise.
20668 * io/sys/statvfs.h: Likewise.
20669 * io/utime.h: Likewise.
20670 * libio/bits/stdio.h: Likewise.
20671 * libio/bits/stdio2.h: Likewise.
20672 * libio/libio.h: Likewise.
20673 * libio/libioP.h: Likewise.
20674 * libio/stdio.h: Likewise.
20675 * locale/lc-ctype.c: Likewise.
20676 * locale/locale.h: Likewise.
20677 * login/utmp.h: Likewise.
20678 * malloc/arena.c: Likewise.
20679 * malloc/malloc.c: Likewise.
20680 * malloc/malloc.h: Likewise.
20681 * malloc/mcheck.c: Likewise.
20682 * malloc/mtrace.c: Likewise.
20683 * math/bits/mathcalls.h: Likewise.
20684 * math/fenv.h: Likewise.
20685 * math/math_private.h: Likewise.
20686 * misc/bits/error.h: Likewise.
20687 * misc/bits/syslog.h: Likewise.
20688 * misc/err.h: Likewise.
20689 * misc/error.h: Likewise.
20690 * misc/fstab.h: Likewise.
20691 * misc/mntent.h: Likewise.
20692 * misc/regexp.h: Likewise.
20693 * misc/search.h: Likewise.
20694 * misc/sgtty.h: Likewise.
20695 * misc/sys/mman.h: Likewise.
20696 * misc/sys/syslog.h: Likewise.
20697 * misc/sys/uio.h: Likewise.
20698 * misc/sys/xattr.h: Likewise.
20699 * misc/ttyent.h: Likewise.
20700 * nis/rpcsvc/ypclnt.h: Likewise.
20701 * nss/nss.h: Likewise.
20702 * posix/bits/unistd.h: Likewise.
20703 * posix/fnmatch.h: Likewise.
20704 * posix/glob.h: Likewise.
20705 * posix/sched.h: Likewise.
20706 * posix/spawn.h: Likewise.
20707 * posix/sys/wait.h: Likewise.
20708 * posix/unistd.h: Likewise.
20709 * posix/wordexp.h: Likewise.
20710 * pwd/pwd.h: Likewise.
20711 * resolv/netdb.h: Likewise.
20712 * resource/sys/resource.h: Likewise.
20713 * rt/aio.h: Likewise.
20714 * rt/bits/mqueue2.h: Likewise.
20715 * rt/mqueue.h: Likewise.
20716 * shadow/shadow.h: Likewise.
20717 * signal/signal.h: Likewise.
20718 * socket/send.c: Likewise.
20719 * socket/sendto.c: Likewise.
20720 * socket/sys/socket.h: Likewise.
20721 * stdio-common/printf.h: Likewise.
20722 * stdlib/bits/stdlib.h: Likewise.
20723 * stdlib/fmtmsg.h: Likewise.
20724 * stdlib/monetary.h: Likewise.
20725 * stdlib/stdlib.h: Likewise.
20726 * stdlib/ucontext.h: Likewise.
20727 * streams/stropts.h: Likewise.
20728 * string/argz.h: Likewise.
20729 * string/bits/string2.h: Likewise.
20730 * string/string.h: Likewise.
20731 * string/strings.h: Likewise.
20732 * sunrpc/rpc/auth.h: Likewise.
20733 * sunrpc/rpc/auth_des.h: Likewise.
20734 * sunrpc/rpc/clnt.h: Likewise.
20735 * sunrpc/rpc/netdb.h: Likewise.
20736 * sunrpc/rpc/pmap_clnt.h: Likewise.
20737 * sunrpc/rpc/xdr.h: Likewise.
20738 * sysdeps/generic/inttypes.h: Likewise.
20739 * sysdeps/generic/net/if.h: Likewise.
20740 * sysdeps/generic/sys/swap.h: Likewise.
20741 * sysdeps/gnu/net/if.h: Likewise.
20742 * sysdeps/gnu/utmpx.h: Likewise.
20743 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20744 * sysdeps/i386/i486/bits/string.h: Likewise.
20745 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20746 * sysdeps/s390/bits/string.h: Likewise.
20747 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20748 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20749 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20750 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20751 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20752 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20753 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20754 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20755 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20756 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20757 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20758 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20759 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20760 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20761 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20762 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20763 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20764 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20765 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20766 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20767 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20768 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20769 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20770 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20771 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20772 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20773 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20774 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20775 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20776 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20777 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20778 * sysvipc/sys/ipc.h: Likewise.
20779 * sysvipc/sys/msg.h: Likewise.
20780 * sysvipc/sys/sem.h: Likewise.
20781 * sysvipc/sys/shm.h: Likewise.
20782 * termios/termios.h: Likewise.
20783 * time/sys/time.h: Likewise.
20784 * time/time.h: Likewise.
20785 * wcsmbs/bits/wchar2.h: Likewise.
20786 * wcsmbs/uchar.h: Likewise.
20787 * wcsmbs/wchar.h: Likewise.
20788 * wctype/wctype.h: Likewise.
20789
0269750c
UD
20790 [BZ #13551]
20791 * Makeconfig: Remove all but ELF support including AIX support.
20792 * Makerules: Likewise.
20793 * config.h.in: Likewise.
20794 * config.make.in: Likewise.
20795 * configure: Likewise.
20796 * configure.in: Likewise.
20797 * csu/Makefile: Likewise.
20798 * csu/version.c: Likewise.
20799 * debug/Makefile: Likewise.
20800 * dlfcn/Makefile: Likewise.
20801 * elf/Makefile: Likewise.
20802 * extra-lib.mk: Likewise.
20803 * iconv/Makefile: Likewise.
20804 * include/libc-symbols.h: Likewise.
20805 * include/shlib-compat.h: Likewise.
20806 * resolv/Makefile: Likewise.
20807 * resolv/res_libc.c: Likewise.
20808 * rt/Makefile: Likewise.
20809 * sysdeps/i386/asm-syntax.h: Likewise.
20810 * sysdeps/i386/sysdep.h: Likewise.
20811 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20812 * sysdeps/mach/sysdep.h: Likewise.
20813 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20814 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20815 * sysdeps/s390/asm-syntax.h: Likewise.
20816 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20817 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20818 * sysdeps/sh/sysdep.h: Likewise.
20819 * sysdeps/unix/sparc/sysdep.h: Likewise.
20820 * sysdeps/wordsize-32/divdi3.c: Likewise.
20821 * sysdeps/x86_64/sysdep.h: Likewise.
20822
00bbd29b
UD
20823 * argp/Versions: Remove _argp_unlock_xxx.
20824
20825 [BZ #13559]
20826 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20827 * abilist/libBrokenLocale.abilist: Likewise.
20828 * abilist/libanl.abilist: Likewise.
20829 * abilist/libc.abilist: Likewise.
20830 * abilist/libcrypt.abilist: Likewise.
20831 * abilist/libdl.abilist: Likewise.
20832 * abilist/libm.abilist: Likewise.
20833 * abilist/libnsl.abilist: Likewise.
20834 * abilist/libpthread.abilist: Likewise.
20835 * abilist/libresolv.abilist: Likewise.
20836 * abilist/librt.abilist: Likewise.
20837 * abilist/libthread_db.abilist: Likewise.
20838 * abilist/libutil.abilist: Likewise.
20839 * abilist/libnss_db.abilist: New file.
20840
20841 * scripts/abilist.awk: Add support for indirect functions.
20842
a2693a0e
UD
20843 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20844
3f05895f
UD
20845 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20846
ecb6fb48
UD
20847 * shlib-versions: Remove entries for ports architectures.
20848
664f8cb9
UD
20849 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20850 files in ports.
20851 * elf/stackguard-macros.h: Remove support for IA-64.
20852 * elf/tst-auditmod1.c: Likewise.
20853 * sysdeps/generic/ldsodefs.h: Likewise.
20854
7ae81d88
UD
20855 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20856 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20857 configure files.
20858
bdeba135
UD
20859 [BZ #13552]
20860 * configure.in: Remove --enable-omitfp support.
20861 * FAQ.in: Adjust.
20862 * config.make.in: Likewise.
20863 * Makeconfig: Likewise.
20864 * manual/install.texi: Likewise.
20865
d75a0a62
UD
20866 In case anyone cares, the IA-64 architecture could move to ports.
20867 * sysdeps/ia64/*: Removed.
20868 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 20869 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 20870
dcc9756b
UD
20871 [BZ #13555]
20872 * configure.in: Remove entries for unsupported architectures.
20873
d3761ebc 20874 [BZ #13533]
9954432e
UD
20875 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20876 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20877 routines.
20878 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20879 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20880 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20881 fall back to using wcrtomb.
20882 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20883 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20884 renaming.
20885 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20886 * wcsmbs/tst-c16c32-1.c: New file.
20887
20888 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20889 local variable.
20890
c3a87236
UD
20891 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20892
28926a1b
UD
20893 * elf/tst-unique3.cc: Add explicit declaration of gets.
20894 * elf/tst-unique3lib.cc: Likewise.
20895 * elf/tst-unique3lib2.cc: Likewise.
20896 * elf/tst-unique4.cc: Likewise.
20897
df78418a
UD
20898 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20899
8ecd6b2a
JM
209002012-01-06 Joseph Myers <joseph@codesourcery.com>
20901
20902 [BZ #13566]
20903 * assert/assert.h (static_assert): Don't define for C++.
20904 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20905 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20906
9f115170
UD
209072012-01-03 Ulrich Drepper <drepper@gmail.com>
20908
5e0d0300
UD
20909 * iconv/loop.c (single loop): Fix assertion in storing of
20910 remaining bytes.
20911
9f115170
UD
20912 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
20913
81fb02b0
UD
209142012-01-01 Ulrich Drepper <drepper@gmail.com>
20915
20916 * posix/getconf.c: Update copyright year.
20917 * nss/getent.c: Likewise.
a316c1f6 20918 * nss/makedb.c: Likewise.
81fb02b0
UD
20919 * iconv/iconvconfig.c: Likewise.
20920 * iconv/iconv_prog.c: Likewise.
20921 * elf/ldconfig.c: Likewise.
a316c1f6
UD
20922 * elf/pldd.c: Likewise.
20923 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
20924 * catgets/gencat.c: Likewise.
20925 * csu/version.c: Likewise.
20926 * elf/ldd.bash.in: Likewise.
20927 * elf/sprof.c (print_version): Likewise.
20928 * locale/programs/locale.c: Likewise.
20929 * locale/programs/localedef.c: Likewise.
a316c1f6 20930 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
20931 * nscd/nscd.c (print_version): Likewise.
20932 * debug/xtrace.sh: Likewise.
20933 * malloc/memusage.sh: Likewise.
20934 * malloc/mtrace.pl: Likewise.
20935 * debug/catchsegv.sh: Likewise.
20936
2ba92745
JJ
209372011-12-30 Jakub Jelinek <jakub@redhat.com>
20938
20939 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
20940 pure attribute.
20941
dadebdae
UD
209422011-12-24 Ulrich Drepper <drepper@gmail.com>
20943
d3761ebc 20944 [BZ #13533]
db6af3eb
UD
20945 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
20946 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
20947 transformations.
20948 * iconv/gconv_int.h: Likewise.
20949 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
20950 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
20951 from libc for GLIBC_2.16.
20952 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
20953 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
20954 * wcsmbs/uchar.h: Really define mbstate_t.
20955 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
20956 * wcsmbs/c16rtomb.c: New file.
20957 * wcsmbs/mbrtoc16.c: New file.
20958 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
20959 for C/POSIX locale.
20960 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
20961 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
20962
dadebdae
UD
20963 * wcsmbs/wchar.h: Add missing __restrict.
20964
67371b56
UD
209652011-12-23 Ulrich Drepper <drepper@gmail.com>
20966
74033a25
UD
20967 [BZ #13532]
20968 * time/Makefile (routines): Add timespec_get.
20969 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
20970 * time/time.h: Define TIME_UTC and declare timespec_get. Define
20971 timespec for ISO C11.
20972 * time/timespec_get.c: New file.
20973 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
20974 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
20975
380d7e87
UD
20976 [BZ #13531]
20977 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
20978 * stdlib/stdlib.h: Declare aligned_alloc.
20979 * Versions.def: Add GLIBC_2.16 for libc.
20980 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
20981
4e9e7a35
UD
20982 [BZ 13527]
20983 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
20984 ISO C11.
20985
380d7e87 20986 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
20987 code.
20988
03a71829
UD
20989 [BZ #13528]
20990 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
20991
839e283e
UD
20992 [BZ #13529]
20993 * assert/assert.h (static_assert): Define.
20994
ce5294e2 20995 * version.h: Update for 2.16 development version.
90fa7312 20996
8d44e150 20997 [BZ #13526]
d7809905
UD
20998 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
20999 _ISOC11_SOURCE.
21000
c0da14cd
UD
21001 * version.h (RELEASE): Bump for 2.15 release.
21002 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21003
530a3249
MP
21004 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21005 Patch by Marek Polacek <mpolacek@redhat.com>.
21006
67371b56
UD
21007 * bits/byteswap.h: Protect long long constants with __extension__.
21008 * sysdeps/i386/bits/byteswap.h: Likewise.
21009 * sysdeps/ia64/bits/byteswap.h: Likewise.
21010 * sysdeps/s390/bits/byteswap.h: Likewise.
21011 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21012
15db4de1
LD
210132011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21014
21015 [BZ #13540]
bbe315ea
LD
21016 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21017 destination buffer.
15db4de1
LD
21018 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21019
2b2596b1
MP
210202011-12-23 Marek Polacek <polacek@redhat.com>
21021
21022 * elf/dl-addr.c (determine_info): Add inline keyword.
21023 * elf/tst-auditmod4b.c (check_avx): Likewise.
21024 * elf/tst-auditmod6b.c (check_avx): Likewise.
21025 * elf/tst-auditmod6c.c (check_avx): Likewise.
21026 * elf/tst-auditmod7b.c (check_avx): Likewise.
21027
70c6c246
UD
210282011-12-23 Ulrich Drepper <drepper@gmail.com>
21029
21030 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21031 !__SSE_MATH__.
21032
c044cf14
LD
210332011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21034
15db4de1 21035 [BZ #13540]
c044cf14
LD
21036 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21037 processing for last bytes.
21038
6b13d9d9
BH
210392011-08-06 Bruno Haible <bruno@clisp.org>
21040
d455f537
BH
21041 [BZ #13061]
21042 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21043 U+0385, not to U+1FEE.
21044
6b13d9d9
BH
21045 [BZ #13062]
21046 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21047 entry for U+00A5 U+0301.
21048
db910efd
UD
210492011-12-22 Ulrich Drepper <drepper@gmail.com>
21050
27deeafc
UD
21051 [BZ #13166]
21052 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21053 buffer for the output is too small.
21054
aed9d171
UD
21055 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21056 optimization.
21057
db910efd
UD
21058 [BZ #13185]
21059 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21060 SSE flags if possible.
21061
2bd779ae
LD
210622011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21063
e7f9dac3 21064 [BZ #13540]
2bd779ae
LD
21065 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21066 processing for last bytes.
21067
154bfc16
JM
210682011-12-22 Joseph Myers <joseph@codesourcery.com>
21069
21070 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21071 (syscall-list-default-options, syscall-list-default-condition)
21072 (syscall-list-includes): Define.
21073 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21074 list of ABIs and options and #if conditions for each ABI. Do not
21075 handle common syscalls between ABIs specially.
21076 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21077 Remove.
21078 (syscall-list-variants, syscall-list-32bit-options)
21079 (syscall-list-32bit-condition, syscall-list-64bit-options)
21080 (syscall-list-64bit-condition): Define.
21081 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21082 (syscall-list-variants, syscall-list-32bit-options)
21083 (syscall-list-32bit-condition, syscall-list-64bit-options)
21084 (syscall-list-64bit-condition): Define.
21085 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21086 Remove.
21087 (syscall-list-variants, syscall-list-32bit-options)
21088 (syscall-list-32bit-condition, syscall-list-64bit-options)
21089 (syscall-list-64bit-condition): Define.
21090 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21091 Remove.
21092 (syscall-list-variants, syscall-list-32bit-options)
21093 (syscall-list-32bit-condition, syscall-list-64bit-options)
21094 (syscall-list-64bit-condition): Define.
21095
21eaf3a5
UD
210962011-12-22 Ulrich Drepper <drepper@gmail.com>
21097
16c6f992
UD
21098 * locale/iso-639.def: Add brx entry.
21099
41043168
UD
21100 [BZ #13328]
21101 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21102 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21103
21eaf3a5
UD
21104 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21105 __feraiseexcept_renamed.
21106
e3a851a2
UD
211072011-12-21 Ulrich Drepper <drepper@gmail.com>
21108
4920765e
UD
21109 [BZ #13538]
21110 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21111 EPOLLET with unsigned values.
21112 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21113 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21114
e3a851a2
UD
21115 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21116 to large cancellation.
21117 * math/s_cacoshf.c: Likewise.
21118 * math/s_cacoshl.c: Likewise.
21119
b27e24b8
RK
211202011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21121
21122 [BZ #13305]
aebefeee 21123 [BZ #12786]
b27e24b8
RK
21124 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21125 * math/s_cacoshf.c: Likewise.
21126 * math/s_cacoshl.c: Likewise.
21127
ee190f67
UD
211282011-12-21 Ulrich Drepper <drepper@gmail.com>
21129
21130 [BZ #13439]
21131 * iconv/gconv.h: Define __GCONV_SWAP.
21132 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21133 * iconvdata/utf-16.c: Likewise.
21134 * iconvdata/utf-32.c: Likewise.
21135
707f25df
AS
211362011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21137
21138 [BZ #13524]
21139 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21140 numerator after shifting it by one limb.
21141
d2daaa1e
RÁE
211422011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21143
21144 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21145 under [__USE_EXTERN_INLINES].
21146
a4647e72
UD
211472011-12-17 Ulrich Drepper <drepper@gmail.com>
21148
21149 [BZ #13446]
21150 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21151
f0b264f1
AZ
211522011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21153
21154 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21155 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21156 optimized code.
21157 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21158 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21159 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21160 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21161 for strncasecmp/strncasecmp_l compilation.
21162 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21163 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21164
8ef4f244
MP
211652011-12-08 Marek Polacek <mpolacek@redhat.com>
21166
21167 [BZ #13484]
21168 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21169 of __asm__.
21170
97ac2654
UD
211712011-12-17 Ulrich Drepper <drepper@gmail.com>
21172
21173 [BZ #13506]
21174 * time/tzfile.c (__tzfile_read): Check values from file header.
21175
91d2a845
WS
211762011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21177
21178 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21179 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21180 * powerpc/powerpc32/dl-start.S: Likewise.
21181 * powerpc/powerpc32/elf/start.S: Likewise.
21182 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21183 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21184 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21185 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21186 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21187 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21188 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21189 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21190 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21191 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21192 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21193 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21194 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21195 * powerpc/powerpc32/memset.S: Likewise.
21196 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21197 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21198 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21199 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21200 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21201 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21202 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21203 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21204 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21205 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21206 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21207 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21208 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21209
a1267ba1
AZ
212102011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21211
21212 * math/libm-test.inc: Added more nearbyint tests.
21213 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21214 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21215 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21216 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21217
ad8ac1bd
RL
212182011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21219
21220 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21221 FD_CLOEXEC.
21222
1d3e4b61
UD
212232011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21224
21225 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21226 Add wcscpy-ssse3 wcscpy-c.
21227 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21228 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21229 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21230 * sysdeps/x86_64/wcschr.S: New file.
21231 * sysdeps/x86_64/wcsrchr.S: New file.
21232 * string/test-strcmp.c: Remove checking of wcscmp function for
21233 wrong alignments.
21234 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21235 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21236 wcsrchr-sse2 wcsrchr-c.
21237 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21238 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21239 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21240 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21241 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21242 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21243 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21244 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21245 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21246 * wcsmbc/wcschr.c (WCSCHR): New macro.
21247
5b330a2d
UD
212482011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21249
21250 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21251 * wcsmbs/test-wcsrchr.c: New file.
21252 * string/test-strrchr.c: Add wcsrchr support.
21253 (WIDE): New macro.
21254 * wcsmbs/test-wcscpy.c: New file.
21255 * string/test-strcpy.c: Add wcscpy support.
21256 (WIDE): New macro.
26428b7c 21257
f039c043
UD
212582011-12-10 Ulrich Drepper <drepper@gmail.com>
21259
21260 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21261 the inner loop.
21262
850fb039
AS
212632011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21264
21265 [BZ #13472]
21266 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21267
4efbd5cb
UD
212682011-12-04 Ulrich Drepper <drepper@gmail.com>
21269
52ff5dd0 21270 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 21271 Minor optimizations.
52ff5dd0 21272
4efbd5cb
UD
21273 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21274 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21275 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21276
8a426e12
UD
212772011-12-03 Ulrich Drepper <drepper@gmail.com>
21278
aff2453d
UD
21279 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21280 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21281 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21282 for gcc to avoid warnings.
21283 * inet/Makefile (tests): Add tst-checks.
21284 * inet/tst-checks.c: New file.
21285
21286 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21287 warning.
21288
21289 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21290 __wmemcmp_sse2.
21291
21292 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21293 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21294
8a426e12
UD
21295 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21296
9bea3473
UD
212972011-12-02 Ulrich Drepper <drepper@gmail.com>
21298
3a965496
UD
21299 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21300 problem.
21301
9bea3473
UD
21302 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21303
f101631b
UD
213042011-11-29 Joseph Myers <joseph@codesourcery.com>
21305
21306 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21307 conditional on GCC version.
21308 (__arch_compare_and_exchange_val_8_acq)
21309 (__arch_compare_and_exchange_val_16_acq)
21310 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21311 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21312 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21313
a98275aa
UD
213142011-12-02 Joseph Myers <joseph@codesourcery.com>
21315
21316 * sysdeps/sh/backtrace.c: New file.
21317
d4cc29a2
AS
213182011-12-02 Andreas Schwab <schwab@redhat.com>
21319
21320 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21321 parenthesis.
21322
6257af2d
AS
213232011-12-01 Andreas Schwab <schwab@redhat.com>
21324
21325 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21326 falling back to utime.
21327
b5f44c1a
AS
213282011-11-30 Andreas Schwab <schwab@redhat.com>
21329
21330 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21331 expectations for float.
21332
f3a6cc0a
AS
213332011-11-29 Andreas Schwab <schwab@redhat.com>
21334
21335 * locale/weight.h (findidx): Add parameter len.
21336 * locale/weightwc.h (findidx): Likewise.
21337 * posix/fnmatch_loop.c (FCT): Adjust caller.
21338 * posix/regcomp.c (build_equiv_class): Likewise.
21339 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21340 * posix/regexec.c (check_node_accept_bytes): Likewise.
21341 * string/strcoll_l.c (STRCOLL): Likewise.
21342 * string/strxfrm_l.c (STRXFRM): Likewise.
21343
9d65ea3a
UD
213442011-11-17 Ulrich Drepper <drepper@gmail.com>
21345
21346 * Makefile.in: Remove CVSOPT handling.
21347 * configure.in: Remove use of AC_REVISION.
21348 * iconvdata/Makefile (distribute): No need to filter out CVS.
21349 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21350 handling.
21351
5583a086
AS
213522011-11-16 Andreas Schwab <schwab@redhat.com>
21353
21354 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21355 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21356 [USE_AS_STRNCASECMP_L]: Likewise.
21357 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21358 NO_TLS_DIRECT_SEG_REFS.
21359 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21360 Fix argument offsets for non-PIC.
21361 [USE_AS_STRNCASECMP_L]: Likewise.
21362 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21363 NO_TLS_DIRECT_SEG_REFS.
21364
d62a8200
UD
213652011-11-15 Ulrich Drepper <drepper@gmail.com>
21366
9d65ea3a 21367 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
21368 O_CLOEXEC.
21369 * locale/loadlocale.c (_nl_load_locale): Likewise.
21370
09f93bd3
AS
213712011-11-15 Andreas Schwab <schwab@redhat.com>
21372
446514f9
AS
21373 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21374 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21375 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21376 (SYSCALL_GETTIME): Set errno on error.
21377
09f93bd3
AS
21378 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21379 count references to noai6ai_cached.
21380
312be3f9
UD
213812011-11-15 Ulrich Drepper <drepper@gmail.com>
21382
21383 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21384
21385 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21386 FD_CLOEXEC for /proc/self/maps.
21387
21388 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21389 FD_CLOEXEC for /proc/meminfo.
21390
21391 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21392 gai.conf.
21393
21394 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21395 FD_CLOEXEC for given file.
21396
21397 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21398
21399 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21400 FD_CLOEXEC for /etc/hosts.
21401 (_gethtent): Likewise.
21402
21403 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21404
21405 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21406 cancellation and set FD_CLOEXEC for /etc/netgroup.
21407
21408 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21409 reading /etc/publickey.
21410
21411 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21412 allow cancellation when reading /etc/group.
21413
21414 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21415 cancellation.
21416 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21417
21418 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21419 when using data file.
21420
21421 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21422
21423 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21424 (write_nis_obj): Use "c" and "e" in fopen.
21425
21426 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21427
21428 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21429
21430 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21431
21432 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21433
21434 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21435 locale.alias.
21436
21437 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21438
21439 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21440
21441 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21442
21443 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21444 file parsing and set FD_CLOEXEC.
21445
82af0fa8
UD
214462011-11-14 Ulrich Drepper <drepper@gmail.com>
21447
21448 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21449
a5fb313c
AS
214502011-11-14 Andreas Schwab <schwab@redhat.com>
21451
21452 * malloc/arena.c (arena_get2): Don't call reused_arena when
21453 _int_new_arena failed.
21454
6abf3465
UD
214552011-11-14 Ulrich Drepper <drepper@gmail.com>
21456
21457 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21458 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21459 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21460 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21461 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21462 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21463 to compile strcasecmp and strncasecmp.
21464 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21465 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21466
21467 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21468
76e3966e
UD
214692011-11-13 Ulrich Drepper <drepper@gmail.com>
21470
21471 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21472 locale-defines.sym to gen-as-const-headers.
21473 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21474 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21475 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21476 to compile strcasecmp and strncasecmp.
21477 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21478 strcasecmp_l and strncasecmp_l.
21479 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21480 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21481 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21482 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21483 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21484 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21485 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21486 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21487 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21488 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21489 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21490
ab26144e
UD
214912011-11-12 Ulrich Drepper <drepper@gmail.com>
21492
7edb22ef
UD
21493 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21494 result of SYSDEP_GETTIME_CPU to retval.
21495 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21496 parameter list to macro. Remove trailing semicolon. Adjust users.
21497
9694fc44
UD
21498 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21499 variable.
21500
8ad89ef8
UD
21501 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21502 mantissa words.
21503 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21504
0c822ef9
UD
21505 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21506 from unused variable.
21507
874e0564
UD
21508 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21509 DWARF definitions.
21510 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21511 for assembling.
21512
3a2edc79
UD
21513 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21514 over namespaces.
21515
f3c2577f
UD
21516 * sunrpc/rpc_prot.c (rejected): Fix case value.
21517
294ce126
UD
21518 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21519 unsigned long long int to avoid warnings in shift.
21520
5e2b63c6
UD
21521 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21522 of use of trans.
21523 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21524 variable tmp.
21525
e7f4b08e
UD
21526 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21527 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21528 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21529
ab26144e
UD
21530 * nis/nis_table.c (nis_list): Use variable of correct type for
21531 result of __follow_path call.
21532
8a6d5255
AZ
215332011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21534
21535 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21536 of math functions ceil, trunc, floor, round, and sqrt, when
21537 avaliable on the platform.
21538 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21539 name clash.
21540 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21541 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21542 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21543
aaddc98c
MP
215442011-10-30 Marek Polacek <mpolacek@redhat.com>
21545
21546 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21547 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21548
95b7042b
RM
215492011-11-11 Roland McGrath <roland@hack.frob.com>
21550
21551 * include/unistd.h: Fix __readlink return type.
21552 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21553
57769839
UD
215542011-11-11 Ulrich Drepper <drepper@gmail.com>
21555
21556 * stdlib/ucontext.h: Undo last change for makecontext.
21557
edc5984d
AS
215582011-11-11 Andreas Schwab <schwab@redhat.com>
21559
98591e58
AS
21560 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21561
edc5984d
AS
21562 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21563 * setjmp/setjmp.h: Mark functions as non-leaf.
21564 * setjmp/bits/setjmp2.h: Likewise.
21565 * stdlib/ucontext.h: Likewise.
21566
77cdc054
AS
215672011-11-10 Andreas Schwab <schwab@redhat.com>
21568
21569 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21570 (reused_arena): Don't check arena limit.
21571 (arena_get2): Atomically check arena limit.
21572
fe72eebd
UD
215732011-11-08 Ulrich Drepper <drepper@gmail.com>
21574
5f078c32
UD
21575 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21576 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21577
fe72eebd
UD
21578 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21579 instructions.
21580
ae1bc2fa
AS
215812011-11-07 Andreas Schwab <schwab@redhat.com>
21582
7583a88d
AS
21583 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21584 handler when locking.
21585
ae1bc2fa
AS
21586 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21587 Fix size of allocated buffer.
21588
10fb0bfa
AS
215892011-11-04 Andreas Schwab <schwab@redhat.com>
21590
998832a4
AS
21591 [BZ #10103]
21592 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21593 declarations for long double functions.
21594 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21595
10fb0bfa
AS
21596 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21597
3d7ba52b
AS
215982011-11-03 Andreas Schwab <schwab@redhat.com>
21599
a9ae54a1
AS
21600 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21601 installed.
21602
3d7ba52b
AS
21603 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21604 is disabled.
21605
bc8db248
ST
216062011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21607
21608 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21609
45b96dd6
AS
216102011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21611
647776f6
AS
21612 * include/alloca.h (stackinfo_alloca_round): Define.
21613 (extend_alloca): Use it.
21614 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21615 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21616 here.
21617
d91a8b93
AS
21618 * scripts/check-local-headers.sh: Ignore libaudit.h.
21619
45b96dd6
AS
21620 * nscd/Makefile (extra-objs): Make recursively expanded.
21621
432d41ce
UD
216222011-11-01 Ulrich Drepper <drepper@gmail.com>
21623
34372fc6
UD
21624 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21625 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21626
fadb59f8
UD
21627 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21628 * posix/tst-rfc3484-2.c: Likewise.
21629 * posix/tst-rfc3484-3.c: Likewise.
21630
78239589
UD
21631 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21632 process_vm_writev.
21633 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21634 process_vm_writev.
21635 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21636 process_vm_writev from libc using GLIBC_2.15 version.
21637
432d41ce
UD
21638 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21639
02f9c6cf
PP
216402011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21641
21642 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21643 stack usage.
21644
3a2c0242
UD
216452011-10-31 Ulrich Drepper <drepper@gmail.com>
21646
f4ec4833
UD
21647 [BZ #13367]
21648 * nss/getent.c (initgroups_keys): Show error message in case no group
21649 names are given.
21650
3a2c0242
UD
21651 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21652 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21653 __bump_nl_timestamp.
21654 * nscd/connections (nscd_init): When host database is served open
21655 netlink socket and request notification about configuration changes.
21656 (main_loop_poll): Track netlink file descriptor and bump timestamp
21657 in case data becomes available.
21658 (main_loop_epoll): Likewise.
21659 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21660 (database_pers_head): Add extra_data fileds.
21661 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21662 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21663 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21664 Adjust caller.
21665 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21666 in6ai data, call __free_in6ai.
21667 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21668 Add -DHAVE_NETLINK.
21669 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21670 interface information. Reuse previous data if netlink timestamp
21671 is not changed.
21672 (__bump_nl_timestamp): New function.
21673 (__free_in6ai): New function.
21674
636064eb
UD
216752011-10-30 Ulrich Drepper <drepper@gmail.com>
21676
21677 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21678 close_not_cancel_no_status here.
21679 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21680
9beb2334
UD
216812011-10-29 Ulrich Drepper <drepper@gmail.com>
21682
6ef76f3b
UD
21683 [BZ #13276]
21684 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21685 return value.
21686
0ffc4f3e 21687 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
21688 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21689 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21690
cb95113e
UD
216912011-07-03 Andreas Jaeger <aj@suse.de>
21692
21693 [BZ #10709]
21694 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21695 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21696 * math/libm-test.inc (sin_test): Add test case.
21697
a1b560ff
UD
216982011-10-29 Ulrich Drepper <drepper@gmail.com>
21699
c9aaface
UD
21700 [BZ #13337]
21701 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21702 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21703
d272e7f1
UD
21704 * elf/chroot_canon.c (chroot_canon): Cleanups.
21705
1bc33071
UD
21706 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21707
1760874d
TJ
21708 [BZ #13335]
21709 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21710 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21711
51d91b18
UD
21712 * string/test-strchr.c: Make usable for strchrnul testing.
21713 * string/test-strchrnul.c: New file.
21714 * string/Makefile (strop-tests): Add strchrnul.
21715
a1b560ff 21716 * po/it.po: Update from translation team.
b611fb81 21717 * po/es.po: Likewise.
a1b560ff 21718
a5b81e1f
UD
217192011-10-28 Ulrich Drepper <drepper@gmail.com>
21720
fd52bc6d
UD
21721 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21722 the three constants needed as parameters. Drop the others.
21723 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21724 __m128i_strloadu_tolower.
52e4b9eb
UD
21725 Create and initialize variable zero and use it in all the places
21726 where _mm_setzero_si128 was used.
fd52bc6d 21727
a5b81e1f
UD
21728 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21729 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21730 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21731 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21732 anymore.
21733 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21734 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21735 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21736 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21737 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21738 __mpranred, __mptan.
21739 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21740 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21741 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21742 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21743 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21744 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21745 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21746 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21747 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21748
b4343346
AS
217492011-10-28 Andreas Schwab <schwab@redhat.com>
21750
0c92d8a8
AS
21751 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21752 redefine if SHARED.
21753 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21754
b4343346
AS
21755 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21756 wide char related routines to wcsmbs subdir.
21757
3871f58f
AS
217582011-10-27 Andreas Schwab <schwab@redhat.com>
21759
21760 [BZ #13344]
21761 * misc/sys/cdefs.h (__THROWNL): Define.
21762 * posix/unistd.h: Use __THREADNL instead of __THREAD
21763 for memory synchronization functions.
21764
94d44d9f
RM
217652011-10-26 Roland McGrath <roland@hack.frob.com>
21766
21b64b15 21767 [BZ #13349]
94d44d9f
RM
21768 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21769 doesn't exist.
21770 * manual/stdio.texi (Obstack Streams): Node removed.
21771
f6ce9294
AS
217722011-10-26 Andreas Schwab <schwab@redhat.com>
21773
80479147
AS
21774 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21775 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21776 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21777
f6ce9294
AS
21778 * math/math_private.h (math_force_eval): Allow non-addressable
21779 arguments.
21780 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21781
618280a1
UD
217822011-10-25 Ulrich Drepper <drepper@gmail.com>
21783
e0016b11
UD
21784 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21785 file is not needed.
21786
21787 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21788 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21789 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21790 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21791 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21792 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21793 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21794 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21795 Add AVX variants.
21796 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21797 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21798 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21799 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21800 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21801 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21802 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21803 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21804 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21805 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21806 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21807 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21808 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21809 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21810 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21811 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21812 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21813 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21814 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21815
21816 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21817 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21818
618280a1
UD
21819 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21820 place. Use VEX encoding when compiling for AVX.
21821
37822576
AS
218222011-10-25 Andreas Schwab <schwab@redhat.com>
21823
1f1e1947
AS
21824 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21825 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21826
37822576
AS
21827 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21828
31ea014d
UD
218292011-10-25 Ulrich Drepper <drepper@gmail.com>
21830
d7826aa1 21831 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 21832 useless if() expression.
d7826aa1
UD
21833 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21834 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21835 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21836 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21837 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21838 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21839 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21840 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21841 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21842 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21843 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21844 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21845 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21846 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21847 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21848 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21849 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21850 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21851 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21852
31ea014d
UD
21853 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21854
16437fec
AS
218552011-10-25 Andreas Schwab <schwab@redhat.com>
21856
21857 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21858 condition.
21859 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21860
31d3cc00
UD
218612011-10-25 Ulrich Drepper <drepper@gmail.com>
21862
21863 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21864 .text section. Avoid duplicate constants.
21865 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21866 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21867 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21868 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21869 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21870 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21871 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21872 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21873 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21874 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21875 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21876 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21877 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21878 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21879 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21880 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21881 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21882 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21883 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21884 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21885 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21886 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21887 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21888 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21889 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21890 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21891 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21892 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21893 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21894 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21895 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21896 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21897 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21898 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21899 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21900 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21901 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21902 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21903 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21904 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21905 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21906 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21907 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21908 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21909 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21910
58985aa9
UD
219112011-10-24 Ulrich Drepper <drepper@gmail.com>
21912
202c9deb
UD
21913 * sysdeps/x86_64/dla.h: Move to ...
21914 * sysdeps/x86_64/fpu/dla.h: ...here.
21915 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
21916 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 21917
af968f62
UD
21918 * config.make.in: Add have-mfma4 entry.
21919 * configure.in: Substitute libc_cv_cc_fma4.
21920 * math/Makefile (dbl-only-routines): Add sincostab.
21921 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
21922 Use __sincostab not sincos.
21923 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
21924 name is a macro.
21925 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21926 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21927 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21928 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
21929 using __copysign.
21930 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
21931 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
21932 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
21933 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
21934 and __inv.
21935 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
21936 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
21937 __copysign.
21938 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
21939 define aliases when function name is a macro.
21940 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
21941 sysdeps/ieee754/dbl-64/sincos.tbl.
21942 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
21943 fma4-enabled routines.
21944 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
21945 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
21946 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
21947 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
21948 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
21949 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
21950 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
21951 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
21952 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
21953 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
21954 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
21955 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
21956 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
21957 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
21958 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
21959 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
21960 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
21961 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
21962 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
21963 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
21964 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
21965 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
21966 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
21967 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
21968 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
21969 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
21970 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
21971 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
21972 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
21973 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
21974
58985aa9
UD
21975 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
21976 rename.
21977 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21978 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21979 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21980 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21981 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21982 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21983 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21984 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21985
a201fbcf
AS
219862011-10-24 Andreas Schwab <schwab@redhat.com>
21987
21988 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
21989
fc2ee42a
LD
219902011-10-23 Ulrich Drepper <drepper@gmail.com>
21991
bb3129bd
UD
21992 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
21993
0275fff8
UD
21994 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
21995 prediction.
21996 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
21997
2fa2ae85
UD
21998 * string/strnlen.c: Don't define STRNLEN, reverse logic.
21999 Remove unused variable magic_bits.
22000 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22001
fc2ee42a
LD
22002 * string/strnlen.c: Define and use STRNLEN macro.
22003 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22004 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22005 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22006 * wcsmbs/wcslen.c: Define and use WCSLEN.
22007 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22008 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22009 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22010 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22011 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22012 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22013 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22014
ce7dd29f
LD
220152011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22016
22017 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22018 strnlen-sse2-no-bsf.
22019 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22020 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22021 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22022 Add strnlen support.
22023 (USE_AS_STRNLEN): New macro.
22024 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22025 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22026 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22027 * sysdeps/x86_64/wcslen.S: New file.
22028
979c70a3
MZ
220292011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22030
22031 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22032 XMM-moves are used for copying on small sizes.
22033
2d09f82f
LD
220342011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22035
22036 * wcsmbs/Makefile (strop-tests): Add wcschr.
22037 * wcsmbs/test-wcschr.c: New file.
22038 * string/test-strchr.c: Update.
22039 Add wcschr support.
22040 (WIDE): New macro.
22041
619fccca
LD
220422011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22043
2d09f82f 22044 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
22045 * wcsmbs/test-wcslen.c: New file.
22046 * string/test-strlen.c: Update.
22047 Add wcslen support.
22048 (WIDE): New macro.
22049
09f699ea
UD
220502011-10-23 Ulrich Drepper <drepper@gmail.com>
22051
22052 * po/it.po: Update from translation team.
22053
95584d3b
LD
220542011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22055
22056 * sysdeps/x86_64/wcscmp.S: Update.
22057 Fix wrong comparison semantics.
22058 wcscmp shall use signed comparison not unsigned.
22059 Don't use substraction to avoid overflow bug.
22060 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22061 * wcsmbc/wcscmp.c: Likewise.
22062 * string/test-strcmp.c: Likewise.
22063 Add new tests to check cases with negative values.
22064
c8b3296b
UD
220652011-10-23 Ulrich Drepper <drepper@gmail.com>
22066
22067 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22068 * sysdeps/x86_64/dla.h: ...here. New file.
22069 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22070 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22071 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22072 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22073 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22074 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22075 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22076 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22077 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22078
246ad57a
AS
220792011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22080
22081 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22082 __ynl_finite aliases.
22083
a1a87169
UD
220842011-10-22 Ulrich Drepper <drepper@gmail.com>
22085
0d355eb7
UD
22086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22087
a1a87169
UD
22088 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22089 define DLA_FMA.
22090 [DLA_FMA] (EMULV): Use DLA_FMA.
22091 [DLA_FMA] (MUL12): Use EMULV.
22092 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22093 that are not needed.
22094 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22095 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22096 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22097 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22098 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22099 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22100 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22101
ee2aafe0
AS
221022011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22103
22104 * math/s_nan.c: Undef __nan.
22105 * math/s_nanf.c: Undef __nanf.
22106 * math/s_nanl.c: Undef __nanl.
22107 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22108 "math_private.h".
22109
bc62c2fb
UD
221102011-10-22 Ulrich Drepper <drepper@gmail.com>
22111
77425c63
UD
22112 * math/s_catan.c: Add branch predictions.
22113 * math/s_catanf.c: Likewise.
22114 * math/s_catanh.c: Likewise.
22115 * math/s_catanhf.c: Likewise.
22116 * math/s_catanhl.c: Likewise.
22117 * math/s_catanl.c: Likewise.
22118 * math/s_cexp.c: Likewise.
22119 * math/s_cexpf.c: Likewise.
22120 * math/s_cexpl.c: Likewise.
22121 * math/s_clog.c: Likewise.
22122 * math/s_clog10.c: Likewise.
22123 * math/s_clog10f.c: Likewise.
22124 * math/s_clog10l.c: Likewise.
22125 * math/s_clogf.c: Likewise.
22126 * math/s_clogl.c: Likewise.
22127 * math/s_csqrt.c: Likewise.
22128 * math/s_csqrtf.c: Likewise.
22129 * math/s_csqrtl.c: Likewise.
22130 * math/s_ctanf.c: Likewise.
22131 * math/s_ctanh.c: Likewise.
22132 * math/s_ctanhf.c: Likewise.
22133 * math/s_ctanhl.c: Likewise.
22134 * math/s_ctanl.c: Likewise.
22135
bc62c2fb
UD
22136 * math/math_private.h: Define __nan, __nanf, __nanl.
22137 * math/s_cacosh.c: Include <math_private.h>.
22138 * math/s_cacoshl.c: Likewise.
22139 * math/s_casinh.c: Likewise.
22140 * math/s_casinhf.c: Likewise.
22141 * math/s_casinhl.c: Likewise.
22142 * math/s_ccos.c: Rely entire on ccosh.
22143 * math/s_ccosf.c: Rely entire on ccoshf.
22144 * math/s_ccosl.c: Rely entirely on ccoshl.
22145 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22146 Remove tests for FE_INVALID.
22147 * math/s_ccoshf.c: Likewise.
22148 * math/s_ccoshl.c: Likewise.
22149 * math/s_csin.c: Likewise.
22150 * math/s_csinf.c: Likewise.
22151 * math/s_csinh.c Likewise.
22152 * math/s_csinhf.c: Likewise.
22153 * math/s_csinhl.c: Likewise.
22154 * math/s_csinl.c: Likewise.
22155 * math/s_ctan.c: Likewise.
22156 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22157 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22158 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22159
8ec250a4
UD
221602011-10-21 Ulrich Drepper <drepper@gmail.com>
22161
c196fed8
UD
22162 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22163 compilation problems.
22164
8ec250a4
UD
22165 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22166 __builtin_expect.
22167
8d4f46c6
UD
221682011-10-20 Ulrich Drepper <drepper@gmail.com>
22169
ed72b654
UD
22170 * sysdeps/i386/configure.in: Test for -mfma4 option.
22171 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22172 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22173 COMMON_CPUID_INDEX_80000001.
22174 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22175 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22176 use it if FMA3 is not supported.
22177 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22178
8d4f46c6
UD
22179 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22180 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22181
d45c60c2
AS
221822011-10-20 Andreas Schwab <schwab@redhat.com>
22183
22184 [BZ #12892]
22185 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22186 it would create a cycle with a link time dependency.
22187
d9a4d2ab
UD
221882011-10-19 Ulrich Drepper <drepper@gmail.com>
22189
855d1560
UD
22190 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22191 instruction.
22192 * string/Makefile (strop-tests): Add rawmemchr.
22193 * string/test-rawmemchr.c: New file.
22194
d9a4d2ab
UD
22195 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22196 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22197 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22198 when compiling str{,n}casecmp and when AVX is available. Hook up
22199 new optimized code in initializers.
22200
8f3b1ffe
AS
222012011-10-19 Andreas Schwab <schwab@redhat.com>
22202
22203 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22204 __feraiseexcept instead of feraiseexcept.
22205
d38f1dba
UD
222062011-10-18 Ulrich Drepper <drepper@gmail.com>
22207
d9a8d0ab
UD
22208 * math/math_private.h: Define defaults for libc_fetestexcept and
22209 libc_feupdateenv.
22210 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22211 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22212 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22213 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22214 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22215 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22216 libc_fetestexcept and libc_feupdateenv.
22217
4855e3dd
UD
22218 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22219 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22220 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22221 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22222 libc_feholdexcept_setround.
22223
581d30e3
UD
22224 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22225 Add s_nearbyint-c and s_nearbyintf-c.
22226 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22227 nearbyintf inlines.
22228 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22229 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22230 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22231 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22232
d38f1dba
UD
22233 * math/math_private.h: Define defaults for libc_fegetround,
22234 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22235 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22236 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22237 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22238 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22239 standard functions.
22240 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22241 Remove comments and hacks for old compiler versions.
22242 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22243 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22244 libc_feholdexceptl.
22245
caa6c9d8
AS
222462011-10-18 Andreas Schwab <schwab@redhat.com>
22247
22248 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
22249 (__feraiseexcept_renamed): Add __NTH.
22250 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
22251 namespace violations.
22252
97c066e6
UD
222532011-10-17 Ulrich Drepper <drepper@gmail.com>
22254
99ce7b04
UD
22255 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22256
1004d182
UD
22257 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22258
228a984d
UD
22259 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22260 recently added interfaces.
22261 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22262
c8553a6a
UD
22263 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22264 about macro parameter expansion.
22265
ed22dcf6
UD
22266 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22267 __NO_MATH_INLINES is defined. Cleanups.
22268
22269 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22270 and __floorf is target has SSE4.1.
22271 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22272 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22273 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22274 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22275
b171c137
UD
22276 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22277 name.
22278 (floorf): Likewise.
22279
97c066e6
UD
22280 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22281
629f62ef
AS
222822011-10-17 Andreas Schwab <schwab@redhat.com>
22283
49a43d80
AS
22284 * misc/sys/cdefs.h: Fix last change.
22285
629f62ef
AS
22286 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22287 database lookup.
22288
e453f6cd
UD
222892011-10-16 Ulrich Drepper <drepper@gmail.com>
22290
aa78043a
UD
22291 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22292
ad0f5cad
UD
22293 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22294 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22295 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22296 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22297 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22298 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22299 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22300 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22301 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22302 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22303 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22304 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22305 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22306 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22307 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22308 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22309 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22310 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22311 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22312 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22313 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22314 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22315
22316 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22317 ceil, ceilf, floor, floorf.
22318
22319 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22320 Perform IRELATIVE relocations last.
22321
e453f6cd
UD
22322 * elf/do-rel.h: Add another parameter nrelative, replacing the
22323 local variable with the same name. Change name of the function
22324 to end in Rel or Rela (uppercase).
22325 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22326 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22327 elf_dynamic_do_##reloc function.
22328
fd5bdc09
UD
223292011-10-15 Ulrich Drepper <drepper@gmail.com>
22330
79b195b5
UD
22331 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22332 is sufficient, at least on modern CPUs.
22333
d4a28569
UD
22334 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22335
b61099b5
UD
22336 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22337 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22338
bcf01e6d
UD
22339 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22340 __expl_finite.
22341 * math/bits/math-finite.h: Add entries for exp.
22342 * math/e_expl.c: Add __*_finite alias.
22343 * sysdeps/i386/fpu/e_exp.S: Likewise.
22344 * sysdeps/i386/fpu/e_expf.S: Likewise.
22345 * sysdeps/i386/fpu/e_expl.c: Likewise.
22346 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22347 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22348 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22349 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22350 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22351 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22352 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22353
ba1a0d59
UD
22354 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22355 is sufficient, at least on modern CPUs.
22356
fd5bdc09
UD
22357 * ctype/ctype-info.c (__ctype_init): Define.
22358 * include/ctype.h (__ctype_init): Declare.
22359 (__ctype_b_loc): The variable is always initialized.
22360 (__ctype_toupper_loc): Likewise.
22361 (__ctype_tolower_loc): Likewise.
22362 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22363 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22364
7872cfb0
AS
223652011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22366
b468825a
AS
22367 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22368
7872cfb0
AS
22369 * configure.in: Also look in $cxxmachine/include for C++ system
22370 headers.
22371
be13f7bf
LD
223722011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22373
22374 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22375 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22376 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22377 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22378 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22379 (USE_AS_WMEMCMP): New macro.
22380 Fixing indents.
22381 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22382 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22383 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22384 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22385 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22386 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22387 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22388 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22389 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22390 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22391 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22392 (USE_AS_WMEMCMP): New macro.
22393 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22394 * sysdeps/string/test-memcmp.c: Update.
22395 Fix simple_wmemcmp.
22396 Add new tests.
22397 * wcsmbs/wmemcmp.c: Update.
22398 (WMEMCMP): New macro.
22399 Fix overflow bug.
22400
556a2007
AJ
224012011-10-12 Andreas Jaeger <aj@suse.de>
22402
22403 [BZ #13268]
22404 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22405
538faaa7
UD
224062011-10-15 Ulrich Drepper <drepper@gmail.com>
22407
ab6737ff
UD
22408 * libio/iofwide.c (do_length): Avoid warning.
22409
538faaa7
UD
22410 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22411
396a21b1
UD
224122011-10-14 Ulrich Drepper <drepper@gmail.com>
22413
cdf2901f
UD
22414 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22415
38ad40ce
UD
22416 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22417 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22418 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22419 * sysdeps/i386/i686/fpu/e_log.S: New file.
22420 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22421 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22422
396a21b1
UD
22423 * ctype/ctype.h: Add support for inlined isXXX functions when
22424 compiling C++ code.
22425
6b1f68c9
AS
224262011-10-14 Andreas Schwab <schwab@redhat.com>
22427
349290c0
AS
22428 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22429
6b1f68c9
AS
22430 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22431
f2282d42
RM
224322011-10-13 Roland McGrath <roland@hack.frob.com>
22433
22434 [BZ #13291]
22435 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22436
5298ffa8
AS
224372011-10-13 Andreas Schwab <schwab@redhat.com>
22438
714fad23
AS
22439 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22440 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22441 feraiseexcept.
22442
81dcc7fb
AS
22443 * sysdeps/x86_64/memrchr.S: Check for zero size.
22444
5298ffa8
AS
22445 * string/stratcliff.c: Add memrchr tests.
22446
951fbcec
LD
224472011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22448
22449 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22450 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22451 rawmemchr-sse2 rawmemchr-sse2-bsf.
22452 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22453 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22454 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22455 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22456 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22457 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22458 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22459 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22460 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22461 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22462 * string/memrchr.c (MEMRCHR): New macro.
22463
0ac5ae23
UD
224642011-10-12 Ulrich Drepper <drepper@gmail.com>
22465
22466 Add integration with gcc's -ffinite-math-only and optimize wrapper
22467 functions in libm.
22468 * Versions.def: Define GLIBC_2.15 version for libm.
22469 * math/Makefile (headers): Add bits/math-finite.h.
22470 * math/bits/math-finite.h: New file.
22471 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22472 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22473 * math/e_acoshl.c: Add __*_finite alias.
22474 * math/e_acosl.c: Likewise.
22475 * math/e_asinl.c: Likewise.
22476 * math/e_atan2l.c: Likewise.
22477 * math/e_atanhl.c: Likewise.
22478 * math/e_coshl.c: Likewise.
22479 * math/e_exp10.c: Likewise.
22480 * math/e_exp10f.c: Likewise.
22481 * math/e_exp10l.c: Likewise.
22482 * math/e_exp2l.c: Likewise.
22483 * math/e_fmodl.c: Likewise.
22484 * math/e_gammal_r.c: Likewise.
22485 * math/e_hypotl.c: Likewise.
22486 * math/e_j0l.c: Likewise.
22487 * math/e_j1l.c: Likewise.
22488 * math/e_jnl.c: Likewise.
22489 * math/e_lgammal_r.c: Likewise.
22490 * math/e_log10l.c: Likewise.
22491 * math/e_log2l.c: Likewise.
22492 * math/e_logl.c: Likewise.
22493 * math/e_powl.c: Likewise.
22494 * math/e_sinhl.c: Likewise.
22495 * math/e_sqrtl.c: Likewise.
22496 * math/e_scalb.c: Completely rewritten and optimized.
22497 * math/e_scalbf.c: Likewise.
22498 * math/e_scalbl.c: Likewise.
22499 * math/w_acos.c: Likewise.
22500 * math/w_acosf.c: Likewise.
22501 * math/w_acosl.c: Likewise.
22502 * math/w_acosh.c: Likewise.
22503 * math/w_acoshf.c: Likewise.
22504 * math/w_acoshl.c: Likewise.
22505 * math/w_asin.c: Likewise.
22506 * math/w_asinf.c: Likewise.
22507 * math/w_asinl.c: Likewise.
22508 * math/w_atan2.c: Likewise.
22509 * math/w_atan2f.c: Likewise.
22510 * math/w_atan2l.c: Likewise.
22511 * math/w_atanh.c: Likewise.
22512 * math/w_atanhf.c: Likewise.
22513 * math/w_atanhl.c: Likewise.
22514 * math/w_exp10.c: Likewise.
22515 * math/w_exp10f.c: Likewise.
22516 * math/w_exp10l.c: Likewise.
22517 * math/w_fmod.c: Likewise.
22518 * math/w_fmodf.c: Likewise.
22519 * math/w_fmodl.c: Likewise.
22520 * math/w_j0.c: Likewise.
22521 * math/w_j0f.c: Likewise.
22522 * math/w_j0l.c: Likewise.
22523 * math/w_j1.c: Likewise.
22524 * math/w_j1f.c: Likewise.
22525 * math/w_j1l.c: Likewise.
22526 * math/w_jn.c: Likewise.
22527 * math/w_jnf.c: Likewise.
22528 * math/w_log.c: Likewise.
22529 * math/w_logf.c: Likewise.
22530 * math/w_logl.c: Likewise.
22531 * math/w_log10.c: Likewise.
22532 * math/w_log10f.c: Likewise.
22533 * math/w_log10l.c: Likewise.
22534 * math/w_log2.c: Likewise.
22535 * math/w_log2f.c: Likewise.
22536 * math/w_log2l.c: Likewise.
22537 * math/w_pow.c: Likewise.
22538 * math/w_powf.c: Likewise.
22539 * math/w_powl.c: Likewise.
22540 * math/w_remainder.c: Likewise.
22541 * math/w_remainderf.c: Likewise.
22542 * math/w_remainderl.c: Likewise.
22543 * math/w_scalb.c: Likewise.
22544 * math/w_scalbf.c: Likewise.
22545 * math/w_scalbl.c: Likewise.
22546 * math/w_sqrt.c: Likewise.
22547 * math/w_sqrtf.c: Likewise.
22548 * math/w_sqrtl.c: Likewise.
22549 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22550 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22551 used.
22552 * math/math_private.h: Declare __kernel_standard_f.
22553 * math/w_cosh.c: Remove cruft and optimize a bit.
22554 * math/w_coshf.c: Likewise.
22555 * math/w_coshl.c: Likewise.
22556 * math/w_exp2.c: Likewise.
22557 * math/w_exp2f.c: Likewise.
22558 * math/w_exp2l.c: Likewise.
22559 * math/w_hypot.c: Likewise.
22560 * math/w_hypotf.c: Likewise.
22561 * math/w_hypotl.c: Likewise.
22562 * math/w_lgamma.c: Likewise.
22563 * math/w_lgamma_r.c: Likewise.
22564 * math/w_lgammaf.c: Likewise.
22565 * math/w_lgammaf_r.c: Likewise.
22566 * math/w_lgammal.c: Likewise.
22567 * math/w_lgammal_r.c: Likewise.
22568 * math/w_sinh.c: Likewise.
22569 * math/w_sinhf.c: Likewise.
22570 * math/w_sinhl.c: Likewise.
22571 * math/w_tgamma.c: Likewise.
22572 * math/w_tgammaf.c: Likewise.
22573 * math/w_tgammal.c: Likewise.
22574 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22575 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22576 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22577 Minor optimizations. Pretty printing. Remove cruft.
22578 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22579 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22580 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22581 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22582 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22583 * sysdeps/i386/fpu/e_asin.S: Likewise.
22584 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22585 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22586 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22587 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22588 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22589 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22590 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22591 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22592 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22593 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22594 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22595 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22596 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22597 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22598 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22599 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22600 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22601 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22602 * sysdeps/i386/fpu/e_log.S: Likewise.
22603 * sysdeps/i386/fpu/e_log10.S: Likewise.
22604 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22605 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22606 * sysdeps/i386/fpu/e_log2.S: Likewise.
22607 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22608 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22609 * sysdeps/i386/fpu/e_logf.S: Likewise.
22610 * sysdeps/i386/fpu/e_logl.S: Likewise.
22611 * sysdeps/i386/fpu/e_pow.S: Likewise.
22612 * sysdeps/i386/fpu/e_powf.S: Likewise.
22613 * sysdeps/i386/fpu/e_powl.S: Likewise.
22614 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22615 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22616 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22617 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22618 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22619 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22620 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22621 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22622 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22623 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22624 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22625 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22626 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22627 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22628 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22629 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22630 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22631 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22632 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22633 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22634 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22635 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22636 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22637 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22638 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22639 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22640 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22641 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22642 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22643 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22644 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22645 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22646 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22647 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22648 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22649 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22650 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22651 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22652 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22653 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22654 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22655 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22656 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22657 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22658 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22659 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22660 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22661 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22662 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22663 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22664 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22665 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22666 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22667 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22668 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22669 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22670 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22671 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22672 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22673 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22674 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22675 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22676 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22677 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22678 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22679 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22680 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22681 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22682 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22683 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22684 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22685 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22686 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22687 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22688 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22689 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22690 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22691 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22692 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22693 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22694 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22695 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22696 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22697 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22698 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22699 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22700 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22701 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22702 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22703 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22704 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22705 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22706 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22707 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22708 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22709 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22710 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22711 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22712 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22713 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22714 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22715 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22716 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22717 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22718 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22719 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22720 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22721 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22722 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22723 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22724 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22725 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22726 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22727 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22728 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22729 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22730 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22731 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22732 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22733 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22734 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22735 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22736 (__isnanf): Likewise.
22737 (__isinf_ns): Likewise.
22738 (__isinf_nsf): Likewise.
22739 (__finite): Likewise.
22740 (__finitef): Likewise.
22741 (__ieee754_sqrt): Define as macro.
22742 (__ieee754_sqrtf): Define as macro.
22743 (__ieee754_sqrtl): Define as macro.
22744 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22745 inlined copy.
22746 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22747 __FINITE_MATH_ONLY__ consistent.
22748 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22749
12cc2fcd
AS
227502011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22751
a843a204
AS
22752 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22753 of rawmemchr.
22754
12cc2fcd
AS
22755 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22756
c853acd5
UD
227572011-10-09 Ulrich Drepper <drepper@gmail.com>
22758
22759 * po/ja.po: Update from translation team.
22760
c658d255
RM
227612011-10-08 Roland McGrath <roland@hack.frob.com>
22762
110946e4
RM
22763 * locale/programs/locarchive.c (prepare_address_space): New function.
22764 (create_archive, enlarge_archive, open_archive): Use it.
22765
50604220
RM
22766 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22767 inside [SHARED], where it is used.
22768
c658d255
RM
22769 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22770
22771 * nss/getent.c (netgroup_keys): Remove unused variable.
22772 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22773
6a621eb7
UD
227742011-10-08 Ulrich Drepper <drepper@gmail.com>
22775
7edb55ce
UD
22776 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22777 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22778 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22779 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22780 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22781 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22782 * math/Makefile (libm-calls): Add s_isinf_ns.
22783 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22784 * math/multc3.c: Likewise.
22785 * math/s_casin.c: Likewise.
22786 * math/s_casinf.c: Likewise.
22787 * math/s_casinl.c: Likewise.
22788 * math/s_ccos.c: Likewise.
22789 * math/s_ccosf.c: Likewise.
22790 * math/s_ccosl.c: Likewise.
22791 * math/s_ctan.c: Likewise.
22792 * math/s_ctanf.c: Likewise.
22793 * math/s_ctanh.c: Likewise.
22794 * math/s_ctanhf.c: Likewise.
22795 * math/s_ctanhl.c: Likewise.
22796 * math/s_ctanl.c: Likewise.
22797 * math/w_fmod.c: Likewise.
22798 * math/w_fmodf.c: Likewise.
22799 * math/w_fmodl.c: Likewise.
22800 * math/w_remainder.c: Likewise.
22801 * math/w_remainderf.c: Likewise.
22802 * math/w_remainderl.c: Likewise.
22803 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22804 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22805 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22806 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22807 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22808 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22809 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22810 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22811
187da0ae
UD
22812 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22813 of the number.
22814 * stdio-common/printf_fphex.c: Likewise.
22815 * stdio-common/printf_size.c: Likewise.
22816
9277c064
UD
22817 * math/e_exp10.c: Include math_private.h using <...> not "...".
22818 * math/e_exp10f.c: Likewise.
22819 * math/e_exp10l.c: Likewise.
22820 * math/e_exp2l.c: Likewise.
22821 * math/e_j0l.c: Likewise.
22822 * math/e_j1l.c: Likewise.
22823 * math/e_jnl.c: Likewise.
22824 * math/e_lgammal_r.c: Likewise.
22825 * math/e_rem_pio2l.c: Likewise.
22826 * math/e_scalb.c: Likewise.
22827 * math/e_scalbf.c: Likewise.
22828 * math/e_scalbl.c: Likewise.
22829 * math/k_cosl.c: Likewise.
22830 * math/k_sinl.c: Likewise.
22831 * math/k_tanl.c: Likewise.
22832 * math/s_cacoshf.c: Likewise.
22833 * math/s_catan.c: Likewise.
22834 * math/s_catanf.c: Likewise.
22835 * math/s_catanh.c: Likewise.
22836 * math/s_catanhf.c: Likewise.
22837 * math/s_catanhl.c: Likewise.
22838 * math/s_catanl.c: Likewise.
22839 * math/s_ccosh.c: Likewise.
22840 * math/s_ccoshf.c: Likewise.
22841 * math/s_ccoshl.c: Likewise.
22842 * math/s_cexp.c: Likewise.
22843 * math/s_cexpf.c: Likewise.
22844 * math/s_cexpl.c: Likewise.
22845 * math/s_clog.c: Likewise.
22846 * math/s_clog10.c: Likewise.
22847 * math/s_clog10f.c: Likewise.
22848 * math/s_clog10l.c: Likewise.
22849 * math/s_clogf.c: Likewise.
22850 * math/s_clogl.c: Likewise.
22851 * math/s_csin.c: Likewise.
22852 * math/s_csinf.c: Likewise.
22853 * math/s_csinh.c: Likewise.
22854 * math/s_csinhf.c: Likewise.
22855 * math/s_csinhl.c: Likewise.
22856 * math/s_csinl.c: Likewise.
22857 * math/s_csqrt.c: Likewise.
22858 * math/s_csqrtf.c: Likewise.
22859 * math/s_csqrtl.c: Likewise.
22860 * math/s_ctan.c: Likewise.
22861 * math/s_ctanf.c: Likewise.
22862 * math/s_ctanh.c: Likewise.
22863 * math/s_ctanhf.c: Likewise.
22864 * math/s_ctanhl.c: Likewise.
22865 * math/s_ctanl.c: Likewise.
22866 * math/s_ldexp.c: Likewise.
22867 * math/s_ldexpf.c: Likewise.
22868 * math/s_ldexpl.c: Likewise.
22869 * math/s_significand.c: Likewise.
22870 * math/s_significandf.c: Likewise.
22871 * math/s_significandl.c: Likewise.
22872 * math/w_acos.c: Likewise.
22873 * math/w_acosf.c: Likewise.
22874 * math/w_acosh.c: Likewise.
22875 * math/w_acoshf.c: Likewise.
22876 * math/w_acoshl.c: Likewise.
22877 * math/w_acosl.c: Likewise.
22878 * math/w_asin.c: Likewise.
22879 * math/w_asinf.c: Likewise.
22880 * math/w_asinl.c: Likewise.
22881 * math/w_atan2.c: Likewise.
22882 * math/w_atan2f.c: Likewise.
22883 * math/w_atan2l.c: Likewise.
22884 * math/w_atanh.c: Likewise.
22885 * math/w_atanhf.c: Likewise.
22886 * math/w_atanhl.c: Likewise.
22887 * math/w_cosh.c: Likewise.
22888 * math/w_coshf.c: Likewise.
22889 * math/w_coshl.c: Likewise.
22890 * math/w_dremf.c: Likewise.
22891 * math/w_exp10.c: Likewise.
22892 * math/w_exp10f.c: Likewise.
22893 * math/w_exp10l.c: Likewise.
22894 * math/w_exp2.c: Likewise.
22895 * math/w_exp2f.c: Likewise.
22896 * math/w_fmod.c: Likewise.
22897 * math/w_fmodf.c: Likewise.
22898 * math/w_fmodl.c: Likewise.
22899 * math/w_hypot.c: Likewise.
22900 * math/w_hypotf.c: Likewise.
22901 * math/w_hypotl.c: Likewise.
22902 * math/w_j0.c: Likewise.
22903 * math/w_j0f.c: Likewise.
22904 * math/w_j0l.c: Likewise.
22905 * math/w_j1.c: Likewise.
22906 * math/w_j1f.c: Likewise.
22907 * math/w_j1l.c: Likewise.
22908 * math/w_jn.c: Likewise.
22909 * math/w_jnf.c: Likewise.
22910 * math/w_jnl.c: Likewise.
22911 * math/w_lgamma.c: Likewise.
22912 * math/w_lgamma_r.c: Likewise.
22913 * math/w_lgammaf.c: Likewise.
22914 * math/w_lgammaf_r.c: Likewise.
22915 * math/w_lgammal.c: Likewise.
22916 * math/w_lgammal_r.c: Likewise.
22917 * math/w_log.c: Likewise.
22918 * math/w_log10.c: Likewise.
22919 * math/w_log10f.c: Likewise.
22920 * math/w_log10l.c: Likewise.
22921 * math/w_log2.c: Likewise.
22922 * math/w_log2f.c: Likewise.
22923 * math/w_log2l.c: Likewise.
22924 * math/w_logf.c: Likewise.
22925 * math/w_logl.c: Likewise.
22926 * math/w_pow.c: Likewise.
22927 * math/w_powf.c: Likewise.
22928 * math/w_powl.c: Likewise.
22929 * math/w_remainder.c: Likewise.
22930 * math/w_remainderf.c: Likewise.
22931 * math/w_remainderl.c: Likewise.
22932 * math/w_scalb.c: Likewise.
22933 * math/w_scalbf.c: Likewise.
22934 * math/w_scalbl.c: Likewise.
22935 * math/w_sinh.c: Likewise.
22936 * math/w_sinhf.c: Likewise.
22937 * math/w_sinhl.c: Likewise.
22938 * math/w_sqrt.c: Likewise.
22939 * math/w_sqrtf.c: Likewise.
22940 * math/w_sqrtl.c: Likewise.
22941 * math/w_tgamma.c: Likewise.
22942 * math/w_tgammaf.c: Likewise.
22943 * math/w_tgammal.c: Likewise.
22944
6a621eb7
UD
22945 * po/ja.po: Update from translation team.
22946
bf582445
AJ
229472011-09-29 Andreas Jaeger <aj@suse.de>
22948
f9efbf3a
AJ
22949 [BZ #13179]
22950 * sunrpc/netname.c (netname2host): Fix logic.
22951
bf582445
AJ
22952 [BZ #6779]
22953 [BZ #6783]
22954 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
22955 correctly.
22956 * math/w_remainder.c (__remainder): Likewise.
22957 * math/w_remainderf.c (__remainderf): Likewise.
22958 * math/libm-test.inc (remainder_test): Add test cases.
22959
48693bea
AK
229602011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22961
22962 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
22963 sdiv_qrnnd.
22964
42622229
LD
229652011-10-07 Ulrich Drepper <drepper@gmail.com>
22966
22967 * string/test-memcmp.c: Avoid unncessary #defines.
22968 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22969
093ecf92
LD
229702011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22971
22972 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
22973 Use new sse2 version for core i3 - i7 as it's faster
22974 than sse42 version.
22975 (bit_Prefer_PMINUB_for_stringop): New.
22976 * sysdeps/x86_64/rawmemchr.S: Update.
22977 Replace with faster SSE2 version.
22978 * sysdeps/x86_64/memrchr.S: New file.
22979 * sysdeps/x86_64/memchr.S: Update.
22980 Replace with faster SSE2 version.
22981
fde56e5c
MP
229822011-09-12 Marek Polacek <mpolacek@redhat.com>
22983
22984 * elf/dl-load.c (lose): Add cast to avoid warning.
22985
21fd49a9
UD
229862011-10-07 Ulrich Drepper <drepper@gmail.com>
22987
5a06e643
UD
22988 * po/ca.po: Update from translation team.
22989
684ae515
UD
22990 * inet/getnetgrent_r.c: Hook up nscd.
22991 * nscd/Makefile (routines): Add nscd_netgroup.
22992 (nscd-modules): Add netgroupcache.
22993 (CFLAGS-netgroupcache.c): Define.
22994 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
22995 (cache_search): Add const to second parameter.
22996 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
22997 INNETGR.
22998 (dbs): Add netgrdb entry.
22999 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23000 (verify_persistent_db): Handle netgrdb.
23001 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23002 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23003 GETFDNETGR.
23004 (netgroup_response_header): Define.
23005 (innetgroup_response_header): Define.
23006 (datahead): Add netgroup_response_header and innetgroup_response_header
23007 elements.
23008 * nscd/nscd.conf: Add entries for netgroup cache.
23009 * nscd/nscd.h (dbtype): Add netgrdb.
23010 (_PATH_NSCD_NETGROUP_DB): Define.
23011 (netgroup_iov_disabled): Declare.
23012 (xmalloc, xcalloc, xrealloc): Move declarations here.
23013 (cache_search): Adjust prototype.
23014 Add netgroup-related prototypes.
23015 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23016 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23017 (__nscd_innetgr): Declare.
23018 * nscd/selinux.c (perms): Use access_vector_t as element type and
23019 add netgroup-related initializers.
23020 * nscd/netgroupcache.c: New file.
23021 * nscd/nscd_netgroup.c: New file.
23022 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23023 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23024 For four parameters use innetgr.
23025 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23026 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23027 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23028 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23029
21fd49a9
UD
23030 * nscd/connections.c (register_traced_file): Don't register file
23031 for disabled databases.
23032
054c0457
UD
230332011-10-06 Ulrich Drepper <drepper@gmail.com>
23034
32b63198
UD
23035 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23036
054c0457
UD
23037 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23038 from tree and freeing node.
23039
64031225
JO
230402011-09-25 Jiri Olsa <jolsa@redhat.com>
23041
23042 * nss/nsswitch.c (__nss_database_lookup): Handle
23043 nss_parse_service_list out of memory case.
23044
0490345c
JO
230452011-09-15 Jiri Olsa <jolsa@redhat.com>
23046
23047 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23048 out of memory case.
23049
3a62d00d
AS
230502011-10-04 Andreas Schwab <schwab@redhat.com>
23051
23052 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23053 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23054 pass it down.
23055 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23056 elf_machine_rela, elf_machine_lazy_rel.
23057 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23058 (ELF_DYNAMIC_DO_REL): Likewise.
23059 (ELF_DYNAMIC_DO_RELA): Likewise.
23060 (ELF_DYNAMIC_RELOCATE): Likewise.
23061 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23062 to ELF_DYNAMIC_DO_REL.
23063 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23064 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23065 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23066 elf_machine_rela.
23067 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23068 skip_ifunc, don't call ifunc function if non-zero.
23069 (elf_machine_rela): Likewise.
23070 (elf_machine_lazy_rel): Likewise.
23071 (elf_machine_lazy_rela): Likewise.
23072 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23073 (elf_machine_lazy_rel): Likewise.
23074 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23075 Likewise.
23076 (elf_machine_lazy_rel): Likewise.
23077 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23078 Likewise.
23079 (elf_machine_lazy_rel): Likewise.
23080 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23081 (elf_machine_lazy_rel): Likewise.
23082 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23083 (elf_machine_lazy_rel): Likewise.
23084 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23085 (elf_machine_lazy_rel): Likewise.
23086 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23087 (elf_machine_lazy_rel): Likewise.
23088 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23089 (elf_machine_lazy_rel): Likewise.
23090 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23091 (elf_machine_lazy_rel): Likewise.
23092
68577918
UD
230932011-09-28 Ulrich Drepper <drepper@gmail.com>
23094
23095 * nss/nss_files/files-init.c (_nss_files_init): Use static
23096 initialization for all the *_traced_file variables.
23097
68822d74
AS
230982011-09-28 Andreas Schwab <schwab@redhat.com>
23099
23100 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23101
2056100b
RM
231022011-09-27 Roland McGrath <roland@hack.frob.com>
23103
23104 [BZ #13226]
23105 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23106
32c76b63
AS
231072011-09-27 Andreas Schwab <schwab@redhat.com>
23108
23109 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23110 Reread the line before reparsing it.
23111
bf972c9d
AS
231122011-09-26 Andreas Schwab <schwab@redhat.com>
23113
23114 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23115
e057a1b5
JM
231162011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23117 Maxim Kuvyrkov <maxim@codesourcery.com>
23118 Joseph Myers <joseph@codesourcery.com>
23119
23120 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23121 if needed for __stack_chk_guard.
23122
bc7e1c36
RM
231232011-09-19 Roland McGrath <roland@hack.frob.com>
23124
ecb1482f
RM
23125 * sysdeps/posix/spawni.c (script_execute): Always define it.
23126 It will be optimized away if unused.
23127 (maybe_script_execute): New function.
23128 (__spawni): Call it.
23129
bc7e1c36
RM
23130 * Makerules: Don't include tls.make.
23131 (config-tls): Always set to thread.
23132 * tls.make.c: File removed.
23133
1c3b002b
MF
231342011-09-19 Mike Frysinger <vapier@gentoo.org>
23135
23136 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23137 * config.make.in (CPPFLAGS-config): New substituted variable.
23138
2840865d
UD
231392011-09-15 Ulrich Drepper <drepper@gmail.com>
23140
88738eb6
UD
23141 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23142
cbf645a6 23143 [BZ #13192]
2840865d
UD
23144 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23145 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23146
b402e91a
RM
231472011-09-15 Roland McGrath <roland@hack.frob.com>
23148
23149 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23150 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23151 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23152 (CALL_FAIL): Likewise.
23153 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23154 (CALL_FAIL): Macro removed.
23155 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23156
4c1a1f71
UD
231572011-09-15 Ulrich Drepper <drepper@gmail.com>
23158
23159 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23160 for __FINITE_MATH_ONLY__ == 1.
23161
edc121be
AS
231622011-09-15 Andreas Schwab <schwab@redhat.com>
23163
23164 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23165 __ieee754_sqrt instead of sqrt.
23166 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23167 __ieee754_sqrtf instead of sqrtf.
23168 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23169 __floorf instead of floorf.
23170 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23171 __floorf, __truncf instead of floorf, truncf.
23172
cd205654
UD
231732011-09-14 Ulrich Drepper <drepper@gmail.com>
23174
ee4d0315
UD
23175 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23176
cd205654
UD
23177 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23178 __extern_always_inline.
23179 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23180 32-bit.
23181
48b67d71
AS
231822011-09-14 Andreas Schwab <schwab@redhat.com>
23183
23184 * elf/rtld.c (dl_main): Also relocate in dependency order when
23185 doing symbol dependency testing.
23186
1ae12c75
AS
231872011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23188
23189 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23190 Always define `refsym'.
23191
995a80df
AS
231922011-09-13 Andreas Schwab <schwab@redhat.com>
23193
e529793b
AS
23194 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23195 (__FD_ELT): Renamed from __FDELT.
23196 * misc/bits/select2.h (__FD_ELT): Likewise.
23197 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23198 __FD_MASK instead of __FDELT, __FDMASK.
23199 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23200 Likewise.
23201 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23202 Likewise.
23203
52d4fef8
AS
23204 * elf/Makefile (gen-ldd): Fix pattern.
23205
995a80df
AS
23206 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23207 (init_tls): Likewise.
23208
8682f8b0
UD
232092011-09-12 Ulrich Drepper <drepper@gmail.com>
23210
23211 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23212
de82006d
AS
232132011-09-12 Andreas Schwab <schwab@redhat.com>
23214
a7c8e6a1
AS
23215 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23216 `struct cmsghdr *' instead of `void *'.
23217 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23218 Likewise.
23219
0f31fe77
AS
232202011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23221
23222 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23223 if non-absolute.
23224 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23225 ldd_rewrite_script.
0f31fe77 23226
32b4c839
UD
232272011-09-11 Ulrich Drepper <drepper@gmail.com>
23228
83cd1420
UD
23229 * configure.in: Remove --with-tls option.
23230 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23231 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23232 out in case it is missing.
23233 * sysdeps/ia64/elf/configure.in: Likewise.
23234 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23235 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23236 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23237 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23238 * sysdeps/sh/elf/configure.in: Likewise.
23239 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23240 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23241 * sysdeps/x86_64/elf/configure.in: Likewise.
23242 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23243 * sysdeps/mach/hurd/tls.h: Likewise.
23244
633f745d
UD
23245 [BZ #13067]
23246 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23247
f318beb8
UD
23248 [BZ #13090]
23249 * configure.in: Fix use of AC_INIT.
23250
32b4c839
UD
23251 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23252
3ce1f295
UD
232532011-09-10 Ulrich Drepper <drepper@gmail.com>
23254
bb016596
UD
23255 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23256 __set_errno.
8e58439c
UD
23257 * malloc/hooks.c: Likewise.
23258
aebae053 23259 [BZ #11929]
02d46fc4
UD
23260 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23261 variables statically.
23262 (narenas): Initialize.
23263 (list_lock): Initialize.
bb016596
UD
23264 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23265 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
23266 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23267 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23268 Add initializers to main_arena and mp_.
23269 (malloc_state): Remove pagesize member. Change all users to use
23270 GLRO(dl_pagesize).
23271
23272 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23273 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23274 is always initialized.
23275
22a89187
UD
23276 * malloc/malloc.c: Removed unused configurations and dead code.
23277 * malloc/arena.c: Likewise.
23278 * malloc/hooks.c: Likewise.
02d46fc4 23279 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 23280
d063d164
UD
23281 * include/tls.h: Removed. USE___THREAD must always be defined.
23282 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23283 * elf/dl-libc.c: Likewise.
23284 * elf/dl-tsd.c: Likewise.
23285 * include/errno.h: Likewise.
23286 * include/netdb.h: Likewise.
23287 * include/resolv.h: Likewise.
23288 * inet/herrno-loc.c: Likewise.
23289 * inet/herrno.c: Likewise.
23290 * malloc/arena.c: Likewise.
23291 * malloc/hooks.c: Likewise.
23292 * malloc/malloc.c: Likewise.
23293 * resolv/res-state.c: Likewise.
23294 * resolv/res_libc.c: Likewise.
23295 * sysdeps/i386/dl-machine.h: Likewise.
23296 * sysdeps/ia64/dl-machine.h: Likewise.
23297 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23298 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23299 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23300 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23301 * sysdeps/sh/dl-machine.h: Likewise.
23302 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23303 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23304 * sysdeps/unix/i386/sysdep.S: Likewise.
23305 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23306 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23307 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23308 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23309 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23310 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23311 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23312 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23313 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23314 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23315 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23316 * sysdeps/x86_64/dl-machine.h: Likewise.
23317 * tls.make.c: Likewise.
23318
3ce1f295
UD
23319 * configure.in: Remove --with-__thread option. Make tests for
23320 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23321 tls_model attribute fail if no support is available. Remove
23322 USE_IN_LIBIO.
23323 * Makeconfig: Adjust for dropped configure option. All features are
23324 now mandatory.
23325 * Makerules: Likewise.
23326 * Versions.def: Likewise.
23327 * argp/argp-fmtstream.c: Likewise.
23328 * argp/argp-fmtstream.h: Likewise.
23329 * argp/argp-help.c: Likewise.
23330 * assert/assert.c: Likewise.
23331 * config.h.in: Likewise.
23332 * config.make.in: Likewise.
23333 * configure: Likewise.
23334 * configure.in: Likewise.
23335 * csu/Versions: Likewise.
23336 * csu/init.c: Likewise.
23337 * elf/tst-audit2.c: Likewise.
23338 * elf/tst-tls10.c: Likewise.
23339 * elf/tst-tls10.h: Likewise.
23340 * elf/tst-tls11.c: Likewise.
23341 * elf/tst-tls12.c: Likewise.
23342 * elf/tst-tls14.c: Likewise.
23343 * elf/tst-tlsmod11.c: Likewise.
23344 * elf/tst-tlsmod12.c: Likewise.
23345 * elf/tst-tlsmod13.c: Likewise.
23346 * elf/tst-tlsmod13a.c: Likewise.
23347 * elf/tst-tlsmod14a.c: Likewise.
23348 * elf/tst-tlsmod15b.c: Likewise.
23349 * elf/tst-tlsmod16a.c: Likewise.
23350 * elf/tst-tlsmod16b.c: Likewise.
23351 * elf/tst-tlsmod7.c: Likewise.
23352 * elf/tst-tlsmod8.c: Likewise.
23353 * elf/tst-tlsmod9.c: Likewise.
23354 * gmon/gmon.c: Likewise.
23355 * grp/fgetgrent_r.c: Likewise.
23356 * grp/putgrent.c: Likewise.
23357 * hurd/fopenport.c: Likewise.
23358 * include/libc-symbols.h: Likewise.
23359 * include/tls.h: Likewise.
23360 * intl/gettextP.h: Likewise.
23361 * intl/loadinfo.h: Likewise.
23362 * locale/global-locale.c: Likewise.
23363 * locale/localeinfo.h: Likewise.
23364 * mach/devstream.c: Likewise.
23365 * malloc/arena.c: Likewise.
23366 * malloc/set-freeres.c: Likewise.
23367 * misc/err.c: Likewise.
23368 * misc/getttyent.c: Likewise.
23369 * misc/mntent_r.c: Likewise.
23370 * posix/getopt.c: Likewise.
23371 * posix/wordexp.c: Likewise.
23372 * pwd/fgetpwent_r.c: Likewise.
23373 * resolv/Versions: Likewise.
23374 * resolv/res_hconf.c: Likewise.
23375 * shadow/fgetspent_r.c: Likewise.
23376 * shadow/putspent.c: Likewise.
23377 * stdio-common/printf_fphex.c: Likewise.
23378 * stdio-common/tmpfile.c: Likewise.
23379 * stdlib/abort.c: Likewise.
23380 * stdlib/fmtmsg.c: Likewise.
23381 * sunrpc/auth_unix.c: Likewise.
23382 * sunrpc/clnt_perr.c: Likewise.
23383 * sunrpc/clnt_tcp.c: Likewise.
23384 * sunrpc/clnt_udp.c: Likewise.
23385 * sunrpc/clnt_unix.c: Likewise.
23386 * sunrpc/openchild.c: Likewise.
23387 * sunrpc/svc_simple.c: Likewise.
23388 * sunrpc/svc_tcp.c: Likewise.
23389 * sunrpc/svc_udp.c: Likewise.
23390 * sunrpc/svc_unix.c: Likewise.
23391 * sunrpc/xdr.c: Likewise.
23392 * sunrpc/xdr_array.c: Likewise.
23393 * sunrpc/xdr_rec.c: Likewise.
23394 * sunrpc/xdr_ref.c: Likewise.
23395 * sunrpc/xdr_stdio.c: Likewise.
23396
1248c1c4
PB
233972011-09-09 Ulrich Drepper <drepper@gmail.com>
23398
23399 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23400
234012011-07-03 Andreas Jaeger <aj@suse.de>
23402
23403 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23404 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23405 regenerate with gen-libm-tests.pl.
23406
234072010-05-12 Petr Baudis <pasky@suse.cz>
23408
23409 [BZ #11589]
23410 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23411 around j0() zero points by switching to j1().
23412 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23413 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23414 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23415 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23416
f22e1074
UD
234172011-09-09 Ulrich Drepper <drepper@gmail.com>
23418
f19009c1
UD
23419 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23420 instead of 0.
23421 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 23422 instead of 0.
f19009c1
UD
23423 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23424 Patch in part by Pavel Roskin <proski@gnu.org>.
23425
3f8cc204
UD
23426 [BZ #13138]
23427 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23428 realloc.
23429 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23430 Free memory block if necessary.
23431
f22e1074
UD
23432 [BZ #12847]
23433 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23434 be NULL. Don't lock in this case.
23435
0a2349f9
RM
234362011-09-09 Roland McGrath <roland@hack.frob.com>
23437
23438 * elf/elf.h (ELFOSABI_GNU): New macro.
23439 (ELFOSABI_LINUX): Define to that.
23440
f3cdd467
DZ
234412011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23442
23443 * string/strncat.c (strncat): Undef the symbol in case it has been
23444 defined in bits/string.h.
23445
74718d13
UD
234462011-09-09 Ulrich Drepper <drepper@gmail.com>
23447
633e9e0f
UD
23448 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23449
0a2349f9 23450 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
23451 link map.
23452
f9924780
AJ
234532011-08-17 Andreas Jaeger <aj@suse.de>
23454
23455 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23456
7f5517aa
PP
234572011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23458 Ian Lance Taylor <iant@google.com>
23459
23460 * math/libm-test.inc (lround_test): New testcase.
23461 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23462
762011fe
UD
234632011-09-08 Ulrich Drepper <drepper@gmail.com>
23464
92963737
UD
23465 * Makefile: Remove support for automatic cvs check-ins.
23466 * Makerules: Likewise.
23467 * config.make.in: Likewise.
23468 * configure.in: Likewise.
23469 * intl/Makefile: Likewise.
23470 * locale/Makefile: Likewise.
23471 * po/Makefile: Likewise.
23472 * posix/Makefile: Likewise.
23473 * sysdeps/gnu/Makefile: Likewise.
23474 * sysdeps/mach/hurd/Makefile: Likewise.
23475 * sysdeps/sparc/sparc32/Makefile: Likewise.
23476
b0727fd8
JS
23477 [BZ #13118]
23478 * posix/Makefile (bug-regex32-ENV): Define.
23479 Patch by John Stanley <jpsinthemix@verizon.net>.
23480
a0f33f99
UD
23481 * misc/Makefile (headers): Add bits/select2.h.
23482 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23483 * misc/bits/select2.h: New file.
23484 * include/bits/select2.h: New file.
23485 * debug/Makefile (routines): Add fdelt_chk.
23486 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23487 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23488 FD_ISSET.
23489 * debug/fdelt_chk.c: New file.
23490
762011fe
UD
23491 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23492 * wcsmbs/test-wmemcmp.c: Likewise.
23493 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 23494 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
23495
234962011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23497
23498 * string/Makefile (strop-tests): Add memcmp.
23499 * string/test-wmemcmp.c: New file.
23500 * string/test-memcmp.c: Add wmemcmp support.
23501
7f513ec8
RM
235022011-09-08 Roland McGrath <roland@hack.frob.com>
23503
0442afb4
RM
23504 [BZ #13153]
23505 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23506 2011-07-19 change.
23507
7f513ec8
RM
23508 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23509 garbage value in a __mach_port_mod_refs call in the cases of the
23510 task-self and thread-self ports.
23511
a12b2239
ST
235122011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23513
23514 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23515
610f9ab4
AS
235162011-09-08 Andreas Schwab <schwab@redhat.com>
23517
7f513ec8 23518 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 23519
48882a1a
LD
235202011-09-07 Ulrich Drepper <drepper@gmail.com>
23521
b49865be
UD
23522 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23523
fdc86bc9
UD
23524 * elf/dl-libc.c (dlerror_run): Pass back error code from
23525 dl_catch_error.
23526
c966526a
UD
23527 [BZ #13123]
23528 * elf/dl-load.c (lose): Free l_origin if it is valid.
23529
48882a1a
LD
23530 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23531 names.
23532 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23533 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23534 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23535 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23536 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23537 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23538
77a2a8b4
AZ
235392011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23540
23541 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23542 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23543 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23544 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23545 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23546 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23547 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23548 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23549 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23550 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23551
24f579d8
AM
235522011-08-15 Alan Modra <amodra@gmail.com>
23553
23554 [BZ #13092]
23555 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23556 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23557 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23558 ppc_mcount to static-only-routines.
23559 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23560 __mcount_internal.
23561 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23562 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23563
3d4837df
UD
235642011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23565
23566 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23567 for finite and infinity parameters.
23568
22700377
WS
235692011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23570
23571 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23572 and add nop instructions for throughput optimization.
23573 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23574
5025581e
WS
235752011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23576
23577 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23578 aligned copy for power7 with vector-scalar instructions.
23579 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23580
08a300c9
L
235812011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23582
23583 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23584 AVX check.
23585
59178ef9
AS
235862011-09-07 Andreas Schwab <schwab@redhat.com>
23587
23588 [BZ #13144]
23589 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23590 last change.
23591
e38ba7ab
UD
235922011-09-07 Ulrich Drepper <drepper@gmail.com>
23593
23594 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23595 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23596 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23597 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23598 clock_gettime.
23599
d53a73ac
UD
236002011-09-06 Ulrich Drepper <drepper@gmail.com>
23601
fc8bffcc
UD
23602 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23603 Forgot to demangle the pointer.
23604
ceaa0c5d
UD
23605 * sysdeps/i386/sysdep.h: Define atom_text_section.
23606 * sysdeps/x86_64/sysdep.h: Likewise.
23607 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23608 section with atom_text_section.
23609 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23610 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23611 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23612 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23613 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23614
a77d3c17
UD
23615 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23616 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23617 already be defined. Change to take two parameters and don't assign
23618 result to variable. Adjust all users.
23619 Define INTERNAL_GETTIME if not already defined.
23620 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23621 call.
23622 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23623 HAVE_CLOCK_GETTIME_VSYSCALL.
23624 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23625
d53a73ac
UD
23626 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23627 gettimeofday vsyscall, just use time.
23628
a8f84144
AS
236292011-09-06 Andreas Schwab <schwab@redhat.com>
23630
23631 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23632 <errno.h>.
23633
ef606249
UD
236342011-09-06 Ulrich Drepper <drepper@gmail.com>
23635
23636 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23637 syscall on x86-64.
23638 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23639 syscall.
23640 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23641 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23642 syscall if possible.
23643
6585cb60
UD
236442011-09-05 Ulrich Drepper <drepper@gmail.com>
23645
23646 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23647 e_ident. Don't pass to find_mapsXX.
23648 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23649
a5f524e4
LD
236502011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23651
23652 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23653 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23654 * sysdeps/x86_64/multiarch/strchr.S: Update.
23655 Check bit_slow_BSF bit.
23656 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23657 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23658 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23659
554881ef
UD
236602011-09-05 Ulrich Drepper <drepper@gmail.com>
23661
d96de963
UD
23662 [BZ #13134]
23663 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23664 before glibc 2.15.
23665 (tryshell): Define.
23666 (__spawni): Change last parameter to be flag. Test
23667 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23668 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23669 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23670 * posix/spawni.c: Likewise.
23671 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23672 * posix/spawnp.c: Likewise. Change normal version to use
23673 SPAWN_XFLAGS_USE_PATH.
23674 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23675 SPAWN_XFLAGS_TRY_SHELL.
23676
d48e5868
UD
23677 [BZ #13150]
23678 * posix/glob.h: Remove gcc 1.x support.
23679
554881ef
UD
23680 [BZ #13068]
23681 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23682
693fb948
LD
236832011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23684
23685 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23686 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23687 strrchr-sse2-bsf
23688 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23689 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23690 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23691 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23692 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23693 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23694
1b48c537
UD
236952011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23696
49d42c37
UD
23697 * sysdeps/x86_64/wcscmp.S: New file.
23698
1b48c537
UD
23699 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23700 wcscmp-c wcscmp-sse2
23701 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23702 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23703 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23704 * wcsmbs/wcscmp.c: Allow renaming.
23705
15c95c5d
DM
237062011-09-05 David S. Miller <davem@davemloft.net>
23707
23708 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23709 stack slot, rather than the struct return pointer slot.
23710 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23711 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23713 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23714
2f0ad8f3
UD
237152011-09-05 Ulrich Drepper <drepper@gmail.com>
23716
d88ae418
UD
23717 * po/ja.po: Update from translation team.
23718
2f0ad8f3
UD
23719 [BZ #13144]
23720 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23721 kernel in 64-bit binaries.
23722
5f4318d1
DM
237232011-09-01 David S. Miller <davem@davemloft.net>
23724
23725 * elf/elf.h (HWCAP_SPARC_*): Move to..
23726 * sysdeps/sparc/sysdep.h: this new file and add new values.
23727 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23728 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23729 _DL_HWCAP_COUNT to 24.
23730 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23731 entries.
23732 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23733 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23734 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23735 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23736 instead of magic constants.
23737 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23738
3ba57516
DM
237392011-08-31 David S. Miller <davem@davemloft.net>
23740
23741 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23742 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23743 Reimplement to do errno handling inline.
23744 (SYSCALL_ERROR_HANDLER): New macro.
23745 (__SYSCALL_STRING): Do not do errno handling in asm.
23746 (__CLONE_SYSCALL_STRING): Delete.
23747 (__INTERNAL_SYSCALL_STRING): Delete.
23748 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23749 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23750 (PSEUDO): Reimplement to do errno handling inline.
23751 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23752 (SYSCALL_ERROR_HANDLER): New macro.
23753 (__SYSCALL_STRING): Do not do errno handling in asm.
23754 (__CLONE_SYSCALL_STRING): Delete.
23755 (__INTERNAL_SYSCALL_STRING): Delete.
23756 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23757 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23758 i386.
23759 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23760 (inline_syscall*): Add 'err' argument.
23761 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23762 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23763 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23764 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23765
23766 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23767 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23768
2bc17433
AS
237692011-08-30 Andreas Schwab <schwab@redhat.com>
23770
23771 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23772
fbeb5f4d
JO
237732011-08-29 Jiri Olsa <jolsa@redhat.com>
23774
23775 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23776 directive.
23777
ad69cc26
DM
237782011-08-24 David S. Miller <davem@davemloft.net>
23779
23780 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23781
39dd69df
AS
237822011-08-24 Andreas Schwab <schwab@redhat.com>
23783
23784 * elf/Makefile: Add rules to build and run unload8 test.
23785 * elf/unload8.c: New file.
23786 * elf/unload8mod1.c: New file.
23787 * elf/unload8mod1x.c: New file.
23788 * elf/unload8mod2.c: New file.
23789 * elf/unload8mod3.c: New file.
23790
23791 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23792 it wasn't used.
23793
2c0b250a
DM
237942011-08-23 David S. Miller <davem@davemloft.net>
23795
23796 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23797 subtract stack bias.
23798 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23799 %sp not %fp in calculations.
23800 (_JMPBUF_UNWINDS_ADJ): Likewise.
23801
22044b48
DM
23802 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23803 (aio_suspend): Call it to force an exception region around the
23804 AIO_MISC_WAIT() invocation.
23805
2cae4995
AS
238062011-08-23 Andreas Schwab <schwab@redhat.com>
23807
23808 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23809 backslash.
23810
873a772e
AJ
238112011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23812
23813 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23814 protection macro.
23815 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23816 and <dl-machine.h>.
23817 (Elf64_FuncDesc): Remove.
23818
25ad0df1
DM
238192011-08-22 David S. Miller <davem@davemloft.net>
23820
23821 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23822 sigaltstack check, add missing cfi directives.
23823 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23824 missing cfi directives, and sigaltstack handling.
23825
e888bcbe
AS
238262011-08-16 Andreas Schwab <schwab@redhat.com>
23827
23828 [BZ #11724]
23829 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23830 object is seen twice.
23831 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23832
23833 * elf/Makefile (distribute): Add tst-initorder2.c.
23834 (tests): Add tst-initorder2.
23835 (modules-names): Add tst-initorder2a tst-initorder2b
23836 tst-initorder2c tst-initorder2d. Add rules to build them.
23837 ($(objpfx)tst-initorder2.out): New rule.
23838 * elf/tst-initorder2.c: New file.
23839 * elf/tst-initorder2.exp: New file.
23840
87162f46
AS
238412011-08-22 Andreas Schwab <schwab@redhat.com>
23842
70538b7f
AS
23843 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23844
f55ffe58
AS
23845 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23846 dependencies back to end of function.
23847
87162f46
AS
23848 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23849 $(elfobjdir)/ld.so.
23850
91b392a4
UD
238512011-08-21 Ulrich Drepper <drepper@gmail.com>
23852
23853 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23854 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23855 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23856 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23857 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23858 of __vdso_gettimeofday.
23859 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23860 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23861 attribute_hidden.
23862 (_libc_vdso_platform_setup): Remove initialization of
23863 __vdso_gettimeofday and __vdso_time.
23864
5c43483f
UD
238652011-08-20 Ulrich Drepper <drepper@gmail.com>
23866
775a77e7
UD
23867 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23868 and fgetc_unlocked.
23869 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23870 getc_unlocked.
89f447ed 23871
49c74ba9
UD
23872 * elf/dl-open.c (add_to_global): Report additions to the global scope
23873 for LD_DEBUG=scopes.
23874 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 23875 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 23876
5c43483f
UD
23877 [BZ #13114]
23878 * stdio-common/Makefile (tests): Add bug24.
23879 * stdio-common/bug24.c: New file.
23880
a101b025
AJ
238812011-08-19 Andreas Jaeger <aj@suse.de>
23882
23883 [BZ #13114]
23884 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23885 non-existant file when using close-on-exec mode.
23886
c88f1766
UD
238872011-08-20 Ulrich Drepper <drepper@gmail.com>
23888
0276a718
UD
23889 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23890 the very first instruction.
23891
c88f1766
UD
23892 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23893 the CFI state in the end.
23894 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23895 inclusion of dl-trampoline.h.
23896 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23897
51ccffa0
AS
238982011-08-19 Andreas Schwab <schwab@redhat.com>
23899
94d7165f
AS
23900 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23901 expectations for long double.
23902
51ccffa0
AS
23903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23904 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23905
fd708658 239062011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
23907
23908 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23909 artificual limit depends upon the system page size.
23910
44f0a71e
UD
239112011-08-17 Ulrich Drepper <drepper@gmail.com>
23912
23913 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
23914 * resolv/Makefile: Define CFLAGS-libresolv.
23915
8de79a24
AS
239162011-08-17 Andreas Schwab <schwab@redhat.com>
23917
23918 * nss/makedb.c (compute_tables): Make variables used in nested
23919 function static.
23920
27724598
UD
239212011-08-17 Ulrich Drepper <drepper@gmail.com>
23922
c5305d88
UD
23923 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
23924 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
23925 if buffer was too small.
23926
27724598
UD
23927 * elf/pldd.c (main): Attach to all threads in the process.
23928 Rewrite /proc handling to use *at functions.
23929
076fe015
UD
239302011-08-16 Ulrich Drepper <drepper@gmail.com>
23931
174baab3
UD
23932 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
23933 specifies first scope to show.
23934 (dl_open_worker): Update callers. Move printing scope of new
23935 object to before the relocation.
44f0a71e 23936 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
23937 * sysdeps/generic/ldsodefs.h: Update declaration.
23938
076fe015
UD
23939 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
23940 string for the scope number.
23941
a60df2c3
UD
239422011-08-14 Ulrich Drepper <drepper@gmail.com>
23943
23944 * nscd/servicescache.c (cache_addserv): Make sure written is always
23945 initialized.
23946
5e4287d1
RM
239472011-08-14 Roland McGrath <roland@hack.frob.com>
23948
85ae0589
RM
23949 * sysdeps/i386/i486/bits/atomic.h
23950 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
23951 statement expression, so as to suppress "set but not used" warning.
23952 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
23953
69f63097
RM
23954 * string/strncat.c (STRNCAT): Use prototype definition.
23955
675456ef
RM
23956 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
23957 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
23958 -Iprograms here.
23959 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
23960 (localedef-modules): Add localedef.
23961 (locale-modules): Add locale.
23962
5e4287d1
RM
23963 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
23964 * elf/rtld.c (dl_main): Invert order of assignment in last change,
23965 to avoid a warning.
23966
9c96ff23
DM
239672011-08-14 David S. Miller <davem@davemloft.net>
23968
23969 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
23970 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
23971
f9ddf089
UD
239722011-08-13 Ulrich Drepper <drepper@gmail.com>
23973
44f0a71e 23974 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
23975 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
23976 * elf/rtld.c (dl_main): Set l_name of vDSO.
23977 Call _dl_show_scope when DL_DEBUG_SCOPES.
23978 (process_dl_debug): Recognize scopes flag and also set it for all.
23979 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
23980 Declare _dl_show_scope.
23981
1dc27704
UD
23982 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
23983 (do_dlopen): Pass caller_dlopen to dl_open.
23984 (__libc_dlopen_mode): Initialize caller_dlopen.
23985
f9ddf089
UD
23986 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
23987 of libc. Make tolower call locale-independent. Optimize a bit by
23988 using isdigit instead of isalnum.
23989 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
23990
9ac533d3
UD
239912011-08-12 Ulrich Drepper <drepper@gmail.com>
23992
23993 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
23994 was a dependency or dynamically loaded.
23995
89edf2e9
UD
239962011-08-11 Ulrich Drepper <drepper@gmail.com>
23997
8e999d29
UD
23998 * intl/l10nflist.c: Allow architecture-specific pop function.
23999 * sysdeps/x86_64/l10nflist.c: New file.
24000
89edf2e9
UD
24001 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24002 classification.
24003
14d96785
AS
240042011-08-10 Andreas Schwab <schwab@redhat.com>
24005
24006 * include/dirent.h: Add libc_hidden_proto for scandirat and
24007 scandirat64. Don't declare __scandirat64.
24008 * dirent/scandirat.c: Add libc_hidden_def.
24009 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24010 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24011
6761ac04
DM
240122011-08-10 David S. Miller <davem@davemloft.net>
24013
24014 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24015 enum.
24016 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24017 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24018 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24019
c55fbd1e
UD
240202011-08-09 Ulrich Drepper <drepper@gmail.com>
24021
24022 * Versions.def [libc]: Add GLIBC_2.15.
24023 * dirent/Makefile (routines): Add scandirat and scandirat64.
24024 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24025 GLIBC_2.15.
24026 * dirent/dirent.h: Declare scandirat and scandirat64.
24027 * dirent/scandirat.c: New file.
24028 * dirent/scandirat64.c: New file.
24029 * sysdeps/wordsize-64/scandirat.c: New file.
24030 * sysdeps/wordsize-64/scandirat64.c: New file.
24031 * dirent/opendir.c: Define opendirat.
24032 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24033 using scandirat.
24034 * dirent/scandir64.c: Adjust for scandir.c change.
24035 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24036 __scandirat64, and __scandir_cancel_handler.
24037 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24038 additional parameter and use openat instead of open (outside of ld.so).
24039 Add new __opendir as wrapper around __opendirat.
24040 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24041 here without requiring old scandirat implementation.
24042
879165f2
UD
240432011-08-08 Ulrich Drepper <drepper@gmail.com>
24044
24045 * dirent/scandir.c (cancel_handler): Renamed to
24046 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24047 defined. Adjust users.
24048 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24049 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24050
cb7e923b
UD
240512011-08-04 Ulrich Drepper <drepper@gmail.com>
24052
16292edd
UD
24053 * string/test-string.h (IMPL): Use __STRING to expand name and then
24054 stringify it.
24055
cb7e923b
UD
24056 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24057 of cleanups.
24058
cff82933
LD
240592011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24060
24061 * string/Makefile: Update.
24062 (strop-tests): Append strncat.
24063 * string/test-wcscmp.c: New file.
24064 New comprehensive test for wcscmp.
24065 * string/test-strcmp.c: Update.
24066 (WIDE): New define.
24067
9be9bfcc
AS
240682011-07-22 Andreas Schwab <schwab@redhat.com>
24069
24070 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24071 line.
24072
2e96f1c7
AS
240732011-07-26 Andreas Schwab <schwab@redhat.com>
24074
24075 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24076 encoding to ACE if AI_IDN.
24077
85188888
JJ
240782011-08-01 Jakub Jelinek <jakub@redhat.com>
24079
24080 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24081 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24082
5fa16e9b
LD
240832011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24084
24085 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24086 Fix overflow bug in strncat.
24087 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24088
24089 * string/test-strncat.c: Update.
24090 Add new tests for checking overflow bugs.
24091
240922011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24093
24094 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24095 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24096 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24097 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24098 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24099 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24100 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24101 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24102 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24103
24104 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24105 (USE_AS_STRCAT): Define.
24106 Add strcat and strncat support.
24107 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24108
8c1a459f
AS
241092011-07-25 Andreas Schwab <schwab@redhat.com>
24110
24111 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24112 __n bigger than INT_MAX+1.
24113 (__strncmp_g): Likewise.
24114
bba33c28
UD
241152011-07-23 Ulrich Drepper <drepper@gmail.com>
24116
798be72d
UD
24117 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24118 * libio/stido.h: Likewise.
24119
8accd4dc
UD
24120 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24121 (AF_NFC): Define.
24122 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24123 (AF_NFC): Define.
24124
cbff0d96
UD
24125 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24126 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24127 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24128 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24129 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24130
9191c04a
UD
24131 [BZ #13021]
24132 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24133 installed.
24134
bba33c28
UD
24135 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24136 typo.
24137 (_dl_x86_64_save_sse): Likewise.
24138
90f139dd
UD
241392011-07-22 Ulrich Drepper <drepper@gmail.com>
24140
1aae088a
UD
24141 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24142 OSXSAVE.
24143 (_dl_x86_64_save_sse): Likewise.
24144
8e2045f5
UD
24145 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24146
90f139dd
UD
24147 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24148
1d002f25
AS
241492011-07-21 Andreas Schwab <schwab@redhat.com>
24150
24151 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24152 change.
24153 (_dl_x86_64_save_sse): Use correct AVX check.
24154
21137f89
UD
241552011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24156
24157 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24158 bug in strncpy/strncat.
24159 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24160
a65c0b7a
UD
241612011-07-21 Ulrich Drepper <drepper@gmail.com>
24162
24163 * string/tester.c (test_strcat): Add tests for different alignments
24164 of source and destination.
24165 (test_strncat): Likewise.
24166
6986b98a
UD
241672011-07-20 Ulrich Drepper <drepper@gmail.com>
24168
90bb2039
UD
24169 [BZ #12852]
24170 * posix/glob.c (glob): Check passed in values before using them in
24171 expressions to avoid some overflows.
24172 (glob_in_dir): Likewise.
24173
5644ef54
UD
24174 [BZ #13007]
24175 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24176 check for AVX enablement so that we don't crash with old kernels and
24177 new hardware.
24178 * elf/tst-audit4.c: Add same checks here.
24179 * elf/tst-audit6.c: Likewise.
24180
24181 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 24182
bfc9dc9b
AS
241832011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24184
24185 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24186
702e64bb
UD
241872011-07-20 Ulrich Drepper <drepper@gmail.com>
24188
24189 * po/cs.po: Update from translation team.
24190 * po/bg.po: Likewise.
24191
295e904f
MP
241922011-07-12 Marek Polacek <mpolacek@redhat.com>
24193
24194 * misc/sys/cdefs.h: Add support for const attribute.
24195 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24196 to gnu_dev_{major,minor,makedev} functions.
24197
3ff94596
MP
241982011-07-20 Marek Polacek <mpolacek@redhat.com>
24199
24200 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24201
28b59fca
AS
242022011-07-20 Andreas Schwab <schwab@redhat.com>
24203
24204 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24205 strlen results.
24206
19df733e
AK
242072011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24208
24209 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24210 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24211 register in order to avoid conflicts with the soft frame pointer
24212 being held in r11 when necessary.
24213 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24214 (INTERNAL_VSYSCALL_NCS): Likewise.
24215
c8835729
MP
242162011-07-14 Marek Polacek <mpolacek@redhat.com>
24217
24218 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24219 * elf/dl-fini.c (_dl_fini): Adjust caller.
24220 * elf/dl-close.c (_dl_close_worker): Likewise.
24221 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24222
b902330c
MP
242232011-07-15 Marek Polacek <mpolacek@redhat.com>
24224
8991e135
MP
24225 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24226 "aux_cache->nlibs < 0".
24227
b902330c
MP
24228 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24229 in the reload-count case.
24230
99710781
LD
242312011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24232
24233 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24234 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24235 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24236 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24237 * sysdeps/x86_64/multiarch/strcat.S: New file.
24238 * sysdeps/x86_64/multiarch/strncat.S: New file.
24239 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24240 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24241 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24242 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24243 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24244 (USE_AS_STRCAT): Define.
24245 Add strcat and strncat support.
24246 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24247 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24248 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24249 * string/strncat.c: Update.
24250 (USE_AS_STRNCAT): Define.
24251 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24252 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24253 and i7.
24254 * sysdeps/x86_64/multiarch/init-arch.h
24255 (bit_Prefer_PMINUB_for_stringop): New.
24256 (index_Prefer_PMINUB_for_stringop): Likewise.
24257 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24258 bit_Prefer_PMINUB_for_stringop.
24259
7dc6bd90
UD
242602011-07-19 Ulrich Drepper <drepper@gmail.com>
24261
24262 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24263 buffer64.
24264 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24265 of casting of buffer.
24266 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24267 buffer32 and buffer64.
24268 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24269 writes instead of casting of buffer.
24270 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24271 buffer32.
24272 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24273 casting of buffer.
24274
e0e72284
AS
242752011-07-19 Andreas Schwab <schwab@redhat.com>
24276
24277 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24278
feb1eb0b
UD
242792011-07-19 Ulrich Drepper <drepper@gmail.com>
24280
24281 * nscd/nscd.c (termination_handler): Don't do anything for a database
24282 if it has not yet been initialized.
24283
298711ff
UD
242842011-07-18 Ulrich Drepper <drepper@gmail.com>
24285
24286 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24287
242882011-07-15 Marek Polacek <mpolacek@redhat.com>
24289
24290 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24291
f9d68389
UD
242922011-07-18 Ulrich Drepper <drepper@gmail.com>
24293
24294 * po/nl.po: Update from translation team.
24295 * po/sv.po: Likewise.
24296
db290cf5
RM
242972011-07-16 Roland McGrath <roland@hack.frob.com>
24298
24299 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24300 now disallowed by GCC.
5c550700 24301
fd5e21c7
RM
24302 * configure.in (use-default-link): Default to yes if a test -shared
24303 link meets our qualifications.
24304 * configure: Regenerated.
24305
5c550700
RM
24306 * config.make.in (output-format): New variable.
24307 * configure.in: Check for ld --print-output-format support.
24308 * configure: Regenerated.
24309 * Makerules ($(common-objpfx)format.lds)
24310 [$(output-format) != unknown]: Just use $(output-format),
24311 instead of the linker-script munging.
24312
9fa2c032
RM
243132011-07-14 Roland McGrath <roland@hack.frob.com>
24314
a6928d51
RM
24315 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24316 of $(common-objpfx)shlib.lds.
24317 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24318
661607b3
RM
24319 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24320 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24321
9fa2c032
RM
24322 * configure.in (-z relro check): Adjust test code to add a large
24323 writable data section after it.
24324 * configure: Regenerated.
24325
defe9061
RM
243262011-07-11 Roland McGrath <roland@hack.frob.com>
24327
24328 * configure.in (-z relro check): Fix test code to make the variable
24329 truly const.
24330 * configure: Regenerated.
24331
319b9ad4
UD
243322011-07-11 Ulrich Drepper <drepper@gmail.com>
24333
24334 * nscd/nscd.h (struct traced_file): Define.
24335 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24336 elements. Add traced_files.
24337 (inotify_fd): Declare.
24338 (register_traced_file): Declare.
24339 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24340 (inotify_fd): Export.
24341 (resolv_conf_descr): Remove.
24342 (nscd_init): Move inotify descriptor creation to main.
24343 Don't register files for notification here.
24344 (register_traced_file): New function.
24345 (invalidate_cache): Don't use reset_res to determine whether to call
24346 res_init, go through the list of registered files.
24347 (main_loop_poll): The inotify descriptors are now stored in the
24348 structures for the traced files.
24349 (main_loop_epoll): Likewise
24350 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24351 to __nss_disable_nscd.
24352 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24353 for a database anymore. Check the records for all the registered
24354 files instead.
24355 * nss/Makefile (libnss_files-routines): Add files-init.
24356 (libnss_db-routines): Add db-init.
24357 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24358 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24359 * nss/nss_db/db-init.c: New file.
24360 * nss/nss_files/files-init.c: New file.
24361 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24362 __nss_lookup_function.
24363 (__nss_lookup_function): Call nss_load_library.
24364 (nss_load_all_libraries): New function.
24365 (__nss_disable_nscd): Take parameter with callback function for files
24366 to register. Set is_nscd. Load all the DSOs for the NSS modules
24367 used for the cached services.
24368 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24369 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24370 options for features to all the files in nscd.
24371
24372 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24373
23bee3e8
RM
243742011-07-10 Roland McGrath <roland@hack.frob.com>
24375
24376 * csu/elf-init.c (__libc_csu_init): Comment typo.
24377
46a5b7f0
UD
243782011-07-09 Ulrich Drepper <drepper@gmail.com>
24379
24380 * po/pl.po: Update from translation team.
24381 * po/ja.po: Likewise.
24382 * po/ru.po: Likewise.
24383 * po/ko.po: Likewise.
24384 * po/fr.po: Likewise.
24385
d30cf5bb
RM
243862011-07-09 Roland McGrath <roland@hack.frob.com>
24387
113ddea4
RM
24388 * configure.in (.ctors/.dtors header and trailer check):
24389 Use an empirical test on a built program.
24390 * configure: Regenerated.
24391
574920b4
RM
24392 * configure.in (-z relro check): Use an empirical test on a built DSO.
24393 Detect, but do not require, on ia64.
24394 * configure: Regenerated.
24395
d30cf5bb
RM
24396 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24397 Update tests that use readelf to use $READELF instead.
24398 * configure: Regenerated.
24399
8538fdb3
UD
244002011-07-08 Ulrich Drepper <drepper@gmail.com>
24401
24402 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24403 if the result is not used.
24404
04d08991
AJ
244052011-07-05 Andreas Jaeger <aj@suse.de>
24406
24407 [BZ#9696]
24408 * stdlib/tst-strtod.c: Add testcase.
24409
de283087
AD
244102011-07-07 Ulrich Drepper <drepper@gmail.com>
24411
4e5f31c8 24412 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 24413 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
24414 The latter has a higher limit. Take additional parameter to pass to
24415 the new function.
24416 (__pathconf): Pass file to __statfs_link_max.
24417 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24418 __statfs_link_max.
24419 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24420 __statfs_link_max.
24421
de283087
AD
24422 [BZ #12868]
24423 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24424 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24425 Handle Lustre.
24426 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24427 (__statfs_filesize_max): Likewise.
24428 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24429
c75fa153
AJ
244302011-07-05 Andreas Jaeger <aj@suse.de>
24431
24432 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24433
1a544854
UD
244342011-07-06 Marek Polacek <mpolacek@redhat.com>
24435
24436 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24437 `status' variable.
24438 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24439 Likewise.
24440
6f0eec67
UD
244412011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24442
24443 * Makefile (strop-tests): Add strncat.
24444 * string/test-strncat.c: New file.
24445
aae30307
UD
244462011-06-30 Marek Polacek <mpolacek@redhat.com>
24447
24448 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24449
c0cfb5eb
UD
244502011-06-21 Andreas Jaeger <aj@suse.de>
24451
24452 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24453 Copy rule from iconvdata/Makefile.
24454
01636b21
UD
244552011-07-06 Ulrich Drepper <drepper@gmail.com>
24456
24457 [BZ #12922]
24458 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24459 but no long options are defined, just return 'W'.
24460
9895c8bc
UD
244612011-06-22 Marek Polacek <mpolacek@redhat.com>
24462
24463 [BZ #9696]
24464 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24465
5d4cf042
UD
244662011-07-06 Ulrich Drepper <drepper@gmail.com>
24467
24468 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24469 netgroups to read.
960e5535 24470 (innetgr): Likewise.
5d4cf042 24471
751eb97e
RM
244722011-07-05 Roland McGrath <roland@hack.frob.com>
24473
24474 * config.make.in (install_root): Default to $(DESTDIR).
24475
f15f1e45
UD
244762011-07-05 Ulrich Drepper <drepper@gmail.com>
24477
24478 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24479
4e34ac6a
RM
244802011-07-02 Roland McGrath <roland@hack.frob.com>
24481
5e9b6af4
RM
24482 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24483
84f9ea0f
RM
24484 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24485 containing directory rather than embedding absolute directory names.
24486
ea5ee9f7
RM
24487 * scripts/check-local-headers.sh: Rewritten using awk.
24488 Match by word, not by line. Print error messages for matches.
24489 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24490
1b74661a
RM
24491 * Makerules [shlib-lds-flags empty]:
24492 ($(common-objpfx)libc_pic.opts): New target.
24493 ($(common-objpfx)libc_pic.os.clean): New target.
24494 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24495
24496 * config.make.in (OBJCOPY): New variable.
24497 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24498 * configure: Regenerated.
24499
f781ef40
RM
24500 * config.make.in (use-default-link): New variable.
24501 * configure.in (use_default_link): Grok --with-default-link to set it.
24502 * configure: Regenerated.
24503 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24504 (shlib-lds, shlib-lds-flags): Define to empty.
24505
2d4fa81e
RM
24506 * Makerules (shlib-lds): New variable.
24507 (shlib-lds-flags): New variable.
24508 (build-shlib, build-moduile, build-module-asneeded): Use it.
24509 ($(common-objpfx)libc.so): Use $(shlib-lds).
24510 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24511 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24512
31fffa6b
RM
24513 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24514 DT_FLAGS/DT_FLAGS_1 with zero flags.
24515
4e34ac6a
RM
24516 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24517 linker script munging.
24518
fcfc776b
UD
245192011-07-02 Ulrich Drepper <drepper@gmail.com>
24520
24521 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24522 as 128-bit value.
24523 * crypt/sha512.c (sha512_process_block): Perform total addition using
24524 128-bit if possible.
24525 (__sha512_finish_ctx): Likewise.
24526 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24527 as 64-bit value.
24528 * crypt/sha256.c (SWAP64): Define.
24529 (sha256_process_block): Perform total addition using 64-bit if
24530 possible.
24531 (__sha256_finish_ctx): Likewise.
24532
99231d9a
UD
245332011-07-01 Ulrich Drepper <drepper@gmail.com>
24534
24535 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24536 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24537 * nscd/hstcache.c (cache_addhst): Likewise.
24538 * nscd/grpcache.c (cache_addgr): Likewise.
24539 * nscd/aicache.c (addhstaiX): Likewise
24540 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24541
445b4a53
TK
245422011-07-01 Thorsten Kukuk <kukuk@suse.de>
24543
24544 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24545 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24546 * nscd/hstcache.c (cache_addhst): Likewise.
24547 * nscd/grpcache.c (cache_addgr): Likewise.
24548 * nscd/aicache.c (addhstaiX): Likewise
24549
6d4d8e8e
AS
245502011-07-01 Andreas Schwab <schwab@redhat.com>
24551
24552 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24553 domain only when needed.
24554
89f654c5
AS
245552011-06-30 Andreas Schwab <schwab@redhat.com>
24556
24557 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24558 is always restored.
24559
cf3b23ff
UD
245602011-06-29 Ulrich Drepper <drepper@gmail.com>
24561
24562 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24563 are re-adding the entry.
24564 * nscd/servicescache.c (cache_addserv): Likewise.
24565
751626f9
AJ
245662011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24567
24568 * sysdeps/generic/dl-irel.h: fix protection against multiple
24569 inclusions.
24570 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24571
9113ea1f
UD
245722011-06-28 Ulrich Drepper <drepper@gmail.com>
24573
5c0b8d90
UD
24574 [BZ #12935]
24575 * malloc/memusage.sh: Fix quoting in message.
24576 * debug/xtrace.sh: Likewise.
24577
9113ea1f
UD
24578 * configure.in: Remove support for --experimental-malloc option, make
24579 it the default.
24580 * config.make.in: Likewise.
24581 * malloc/Makefile: Likewise.
24582
a4172181
AS
245832011-06-27 Andreas Schwab <schwab@redhat.com>
24584
24585 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24586 two-byte characters.
24587
78a7eee7
RM
245882011-06-27 Roland McGrath <roland@hack.frob.com>
24589
62bede13
RM
24590 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24591 AC_CACHE_CHECK invocation.
24592 * configure: Regenerated.
24593
78a7eee7
RM
24594 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24595
5ce33a62
UD
245962011-06-27 Ulrich Drepper <drepper@gmail.com>
24597
034807a9
UD
24598 [BZ #12350]
24599 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24600 bit from old_res_options.
24601
4902da17
UD
24602 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24603
5ce33a62
UD
24604 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24605 value type for setfct.
24606
c2344f56
L
246072011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24608
24609 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24610 __gettimeofday instead of gettimeofday.
24611
68468076
UD
246122011-06-26 Ulrich Drepper <drepper@gmail.com>
24613
24614 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24615
acb0d739
L
246162011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24617
24618 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24619
24620 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24621 info.
24622
8912479f
L
246232011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24624
24625 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24626 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24627 strcpy-sse2-unaligned strncpy-sse2-unaligned
24628 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24629 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24630 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24631 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24632 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24633 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24634 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24635 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24636 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24637 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24638 (STRCPY): Support SSE2 and SSSE3 versions.
24639
d5495a11
UD
246402011-06-24 Ulrich Drepper <drepper@gmail.com>
24641
24642 [BZ #12874]
24643 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24644 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24645 kernels which artificially limit size of requests.
24646
0b1cbaae
L
246472011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24648
24649 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24650 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24651 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24652 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24653 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24654 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24655 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24656 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24657 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24658 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24659 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24660 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24661 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24662 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24663 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24664 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24665 Enable unaligned load optimization for Intel Core i3, i5 and i7
24666 processors.
24667 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24668 Define.
24669 (index_Fast_Unaligned_Load): Define.
24670 (HAS_FAST_UNALIGNED_LOAD): Define.
24671
07f494a0
MP
246722011-06-23 Marek Polacek <mpolacek@redhat.com>
24673
24674 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24675
fa3fc0fe
UD
246762011-06-22 Ulrich Drepper <drepper@gmail.com>
24677
24678 [BZ #12907]
24679 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24680 until it is clear that the information is realy needed.
24681 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24682
e12df166
AS
246832011-06-22 Andreas Schwab <schwab@redhat.com>
24684
24685 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24686
852eb34d
UD
246872011-06-22 Ulrich Drepper <drepper@gmail.com>
24688
84e2a551
UD
24689 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24690 /sys/devices/system/cpu/online if it is usable.
24691
852eb34d
UD
24692 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24693 reading the information from the /proc filesystem to once a second.
24694
6e502e19
UD
246952011-06-21 Andreas Jaeger <aj@suse.de>
24696
24697 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24698 NULL after inclusion of kernel headers.
24699
75d39ff2
UD
247002011-06-21 Ulrich Drepper <drepper@gmail.com>
24701
51f9aa6a
UD
24702 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24703 calls to internal_setent.
24704
c0244a9d
UD
24705 [BZ #12885]
24706 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24707 addresses using gethostbyname4_r ignore IPv4 addresses.
24708
c5e3c2ae
UD
24709 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24710 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24711
75d39ff2
UD
24712 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24713
42675c6f
DM
247142011-06-20 David S. Miller <davem@davemloft.net>
24715
24716 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24717 inclusions.
24718 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24719
24720 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24721 (elf_irel): Use it.
24722 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24723 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24724 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24725 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24726 * sysdeps/x86_64/dl-irel.h: Likewise.
24727
24728 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24729 * elf/dl-sym.c: Likewise.
24730
57912a71
UD
247312011-06-15 Ulrich Drepper <drepper@gmail.com>
24732
24733 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24734 need to dereference resplen2.
24735
ee22793d
AS
247362011-06-14 Andreas Schwab <schwab@redhat.com>
24737
24738 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24739
a9e836b0
UD
247402011-06-15 Ulrich Drepper <drepper@gmail.com>
24741
77fb9117
UD
24742 * Makeconfig: Define vardbdir and inst_vardbdir.
24743 * nss/Makefile: Add rules to install db-Makefile.
24744
40c1b22c
UD
24745 * nss/nss_db/db-XXX.c: Cleanup.
24746
9f2da732
UD
24747 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24748 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24749 GLIBC_PRIVATE.
24750 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24751 * nss/makedb.c: Implement -g option to specify that value strings
24752 are generated and should not be added to table iterated over for
24753 get*ent calls.
24754 * nss/nss_db/db-initgroups.c: New file.
24755
82e9a1f7
UD
24756 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24757 interface.
24758
c41af17e
UD
24759 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24760 (internal_getgrouplist): Adjust to name change.
24761 Update use_initgroups_entry if this is not the first call.
24762 * nss/databases.def: Add initgroups entry.
24763
a9e836b0
UD
24764 * nss/makedb.c (compute_tables): Check result of multiple hash table
24765 sizes to minimize maximum chain length.
24766
2666d441
UD
247672011-06-14 Ulrich Drepper <drepper@gmail.com>
24768
24769 * Versions.def: Add entry for libnss_db.
24770 * shlib-versions: Likewise.
24771 * nss/Makefile: Add rules to build libnss_db.
24772 * nss/Versions: Add libnss_db information. Organize libnss_files
24773 entries better.
24774 * nss/db-Makefile: Add gshadow support. Change rules for the new
24775 makedb progra. Some minor improvements to generate smaller files.
24776 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24777 here from...
24778 * nss/makedb.c: ...here.
24779 Improve database format to be smaller and require less memory at
24780 runtime.
24781 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24782 db anymore.
24783 * nss/nss_db/db-netgrp.c: Likewise.
24784 * nss/nss_db/db-open.c: Likewise.
24785 * nss/nss_files/flies-XXX.x: Adjust comments.
24786 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24787 * nss/nss_files/files-grp.c: Likewise.
24788 * nss/nss_files/files-hosts.c: Likewise.
24789 * nss/nss_files/files-network.c: Likewise.
24790 * nss/nss_files/files-proto.c: Likewise.
24791 * nss/nss_files/files-pwd.c: Likewise.
24792 * nss/nss_files/files-rpc.c: Likewise.
24793 * nss/nss_files/files-service.c: Likewise.
24794 * nss/nss_files/files-sgrp.c: Likewise.
24795 * nss/nss_files/files-spwd.c: Likewise.
24796 * nss/nss_db/db-alias.c: Removed.
24797 * nss/nss_db/dummy-db.h: Removed.
24798
9ee76b5a
UD
247992011-06-02 Ulrich Drepper <drepper@gmail.com>
24800
24801 * nss/makedb.c: Rewritten to not use database library.
24802 * nss/Makefile: Update to build new makedb program.
24803
c71ca1f8
AJ
248042011-06-14 Andreas Jaeger <aj@suse.de>
24805
24806 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24807 memset declaration.
24808
3154bfb8
UD
248092011-06-10 Andreas Schwab <schwab@redhat.com>
24810
24811 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24812 tmpbuf.
24813
b350afab
RM
248142011-06-10 Roland McGrath <roland@hack.frob.com>
24815
decd4e50
RM
24816 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24817 * elf/Makefile ($(objpfx)ld.so): Likewise.
24818
5615eaf2
RM
24819 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24820 Don't list ld.so twice in dependencies.
24821
24822 * posix/bug-regex31.c: Include <stdlib.h>.
24823
24824 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24825
24826 * nis/nss_compat/compat-spwd.c
24827 (getspent_next_nss_netgr): Remove unused variable.
24828 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24829
24830 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24831 nonmembers" output to use the right array.
24832
24833 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24834
24835 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24836
24837 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24838 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24839 * catgets/gencat.c (read_input_file): Likewise.
24840 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24841
24842 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24843 variable definition inside #if's controlling its use.
24844
24845 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24846
24847 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24848
24849 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24850
24851 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24852 unreachable code.
24853
24854 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24855
b68e08db
RM
24856 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24857 * configure: Regenerated.
24858
b350afab
RM
24859 * Makerules: Revert last change.
24860 * elf/Makefile: Likewise.
24861
28368601
RM
248622011-06-09 Roland McGrath <roland@hack.frob.com>
24863
24864 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24865 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24866 (reloc-link): Likewise.
24867
11988f8f
UD
248682011-06-09 Ulrich Drepper <drepper@gmail.com>
24869
24870 * elf/Makefile: Add rules to build pldd.
24871 * elf/pldd.c: New file.
24872 * elf/pldd-xx.c: New file.
24873
e80fab37
UD
248742011-06-07 Ulrich Drepper <drepper@gmail.com>
24875
24876 * version.h: Update for 2.15 development version.
24877
9b849836
DM
248782011-06-07 David S. Miller <davem@davemloft.net>
24879
24880 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24881 ifuncs.
24882 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24883 elf_machine_lazy_rel): Likewise.
24884 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24885 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24886 elf_machine_lazy_rel): Likewise.
24887 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24888 dl_hwcap via passed in argument.
24889 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24890 Likewise.
24891
5a31b283
AK
248922011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24893
24894 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24895
069e52f8
RM
248962011-06-06 Roland McGrath <roland@hack.frob.com>
24897
24898 [BZ #12849]
24899 * manual/fdl-1.1.texi: New file, verbatim from:
24900 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24901 * manual/lgpl-2.1.texi: New file, verbatim from:
24902 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24903 * manual/Makefile (licenses): New variable, list those new file names.
24904 (texis): Use it.
24905 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24906
24907 * manual/fdl.texi: File removed.
24908 * manual/lesser.texi: File removed.
24909 * manual/libc.texinfo (Copying, Documentation License):
24910 Use new @include file names, put @appendix directive before @include.
24911
f16846a5
JJ
249122011-06-04 Jakub Jelinek <jakub@redhat.com>
24913
24914 [BZ #12841]
24915 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
24916 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
24917 (mq_open): Add __NTH.
24918
3d29045b
L
249192011-06-02 H.J. Lu <hongjiu.lu@intel.com>
24920
24921 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24922 Assume Intel Core i3/i5/i7 processor if AVX is available.
24923
8c297311
UD
249242011-05-31 Ulrich Drepper <drepper@gmail.com>
24925
24926 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24927 typo.
24928
c8fc0c91
UD
249292011-05-31 Andreas Schwab <schwab@redhat.com>
24930
24931 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
24932 memory. Use alloca_account. Fix memory leak when retrying.
24933
5b27a807
UD
249342011-05-31 Ulrich Drepper <drepper@gmail.com>
24935
356f8bc6
UD
24936 * version.h (RELEASE): Bump for 2.14 release.
24937 * include/features.h (__GLIBC_MINOR__): Bump to 14.
24938
5b27a807
UD
24939 * config.make.in (RANLIB): Remove entry.
24940
01f16ab0
UD
249412011-05-30 Ulrich Drepper <drepper@gmail.com>
24942
41fce8bd
UD
24943 * po/Makefile (po-sed-cmd): Add ksh to extensions.
24944 (libc.pot): Work around missing support for .ksh extension in xgettext.
24945
4769ae77
UD
24946 [BZ #12684]
24947 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
24948 if both request failed.
24949 (send_dg): In case of server errors clear resplen or *resplen2.
24950
6b1e7d19
UD
24951 [BZ #12454]
24952 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
24953 when there are multiple maps.
24954 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
24955 (_dl_fini): Remove test here.
24956
01f16ab0
UD
24957 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
24958
b1ebd700
UD
249592011-05-29 Ulrich Drepper <drepper@gmail.com>
24960
7ae22829
UD
24961 [BZ #12350]
24962 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
24963 bit from old_res_options.
24964 (gaih_inet): Likewise.
24965
553149f6 24966 [BZ #11099]
18a84741 24967 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
24968 as signed.
24969
652ffab1
UD
24970 * resolv/res_init.c (res_setoptions): Make the code more compact.
24971
16985fd0
UD
24972 [BZ #11558]
24973 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
24974 set RES_USEVC.
24975
0464f746
UD
24976 [BZ #11634]
24977 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
24978
7d17596c
UD
24979 * malloc/malloc.h: Mark malloc hook variables as deprecated.
24980
cf6bbbd7
UD
24981 [BZ #11781]
24982 * malloc/malloc.h: Declare malloc hook variables as volatile.
24983
13f1ab36
UD
24984 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
24985 in last patch.
24986
b1ebd700
UD
24987 [BZ #11799]
24988 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 24989 raise in the comment.
80e2212d
UD
24990 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
24991 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24992 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 24993
ce67228d
UD
249942011-05-28 Ulrich Drepper <drepper@gmail.com>
24995
8887a920
UD
24996 [BZ #12811]
24997 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
24998 grow the buffers more if it already has to be sufficient.
24999 (build_wcs_upper_buffer): Likewise.
25000 * posix/regexec.c (check_matching): Likewise.
25001 (clean_state_log_if_needed): Likewise.
25002 (extend_buffers): Don't enlarge buffers beyond size of the input
25003 buffer.
25004 Patches mostly by Emil Wojak <emil@wojak.eu>.
25005 * posix/bug-regex32.c: New file.
25006 * posix/Makefile (tests): Add bug-regex32.
25007
4f031072
UD
25008 * locale/findlocale.c (_nl_find_locale): Return right away if
25009 _nl_explode_name failed.
25010 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25011
d0478f0c
UD
25012 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25013
de81b246
UD
25014 * debug/xtrace.sh: Unify messages.
25015 * malloc/memusage.sh: Likewise.
25016
c738465a
UD
25017 [BZ #12813]
25018 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25019 time symbol from vDSO. Substitute with vsyscall if not available.
25020 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25021 __vdso_time.
25022
f1f929d7
UD
25023 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25024 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25025 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25026 Add sendmmsg and internal_sendmmsg.
25027 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25028 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25029 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25030
ce67228d
UD
25031 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25032 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25033 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25034
e57420c6
UD
250352011-05-27 Ulrich Drepper <drepper@gmail.com>
25036
a8509ca5
UD
25037 [BZ #12813]
25038 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25039 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25040 available.
25041 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25042 __vdso_getcpu.
25043
e57420c6
UD
25044 [BZ #12814]
25045 * iconvdata/Makefile (tests): Add bug-iconv9.
25046 * iconvdata/bug-iconv9.c: New file.
25047
4d07db15
AS
250482011-05-27 Andreas Schwab <schwab@redhat.com>
25049
25050 [BZ #12814]
25051 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25052
ea486f69
JJ
250532011-05-25 Jakub Jelinek <jakub@redhat.com>
25054
25055 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25056 (struct user_regs_struct): Change intcs field back to cs.
25057
6f038433
UD
250582011-05-25 Ulrich Drepper <drepper@gmail.com>
25059
25060 * po/ja.po: Update from translation team.
25061
67f86a25
UD
250622011-05-23 Ulrich Drepper <drepper@gmail.com>
25063
25064 [BZ #12795]
25065 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25066 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25067
def7fbd6
AS
250682011-05-20 Andreas Schwab <schwab@redhat.com>
25069
25070 * stdlib/longlong.h: Update from GCC.
25071
f50ef8f1
AS
250722011-05-23 Andreas Schwab <schwab@redhat.com>
25073
25074 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25075 parameter name.
25076 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25077 Add parameter name.
25078 (__sysconf): Pass it down.
25079
de7ce8f1
UD
250802011-05-22 Ulrich Drepper <drepper@gmail.com>
25081
f2962a71
UD
25082 [BZ #12671]
25083 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25084 some situations.
25085 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25086 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25087 add in in __libc_use_alloca calls. Adjust callers.
25088 (glob): Use malloc in some situations.
25089
de7ce8f1
UD
25090 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25091 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25092 pltexit.
25093
aec84f53
UD
250942011-05-21 Ulrich Drepper <drepper@gmail.com>
25095
05bb4a68
UD
25096 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25097 and CLOCK_BOOTTIME_ALARM.
25098
7ea72f99
UD
25099 [BZ #12782]
25100 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25101 is returned.
25102
7e4afad5
UD
25103 * string/_strerror.c (__strerror_r): Print negative errors as signed
25104 numbers.
25105
8e211fec
UD
25106 [BZ #12777]
25107 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25108 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25109 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25110
f7d82dc9
UD
25111 * configure.in: Fix typo in redirection and correct removal of test
25112 files in two cases.
25113
cc9e536d
UD
25114 [BZ #12788]
25115 * locale/setlocale.c (new_composite_name): Fix test to check for
25116 identical name of all categories.
25117
aec84f53
UD
25118 [BZ #12792]
25119 * libio/filedoalloc.c (local_isatty): New function.
25120 (_IO_file_doallocate): Use local_isatty.
25121 * stdio-common/perror.c (perror): In case a new stream is used
25122 forward the stream error.
25123 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25124 error flag.
25125
78e64fdc
RT
251262011-05-20 Ulrich Drepper <drepper@gmail.com>
25127
34a9094f
UD
25128 [BZ #11869]
25129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25130 alloca.
25131 * include/alloca.h (extend_alloca_account): Define.
25132
78e64fdc
RT
25133 [BZ #11857]
25134 * posix/regex.h: Fix comments with documentation of user-accessible
25135 fields after compilation and describe correct free'ing of pattern
25136 after re_compile_pattern.
25137 Patch by Reuben Thomas <rrt@sc3d.org>.
25138
457bddfc
RA
251392011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25140
25141 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25142 and -mno-altivec to prevent the compiler from using Altivec and/or
25143 VSX instructions when the corresponding registers are not available.
25144
a4527b51
AS
251452011-05-19 Andreas Schwab <schwab@redhat.com>
25146
25147 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25148
ed690b2f
UD
251492011-05-19 Ulrich Drepper <drepper@gmail.com>
25150
25151 * libio/freopen.c (freopen): Use __dup2, not dup2.
25152 * libio/freopen64.c (freopen64): Likewise.
25153
8db73634
L
251542011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25155
25156 [BZ #12775]
25157 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25158 * math/Makefile (tests): Add test-powl.
25159 (CFLAGS-test-powl.c): Define.
25160 * math/test-powl.c: New file.
25161
0a197a9d
L
251622011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25163
25164 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25165
ee30c380
UD
251662011-05-17 Ulrich Drepper <drepper@gmail.com>
25167
25168 [BZ #11837]
25169 * iconvdata/gb18030.c: Update to GB18020-2005.
25170
6ce75379
UD
251712011-05-16 Ulrich Drepper <drepper@gmail.com>
25172
a4b89fd8
AR
25173 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25174 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25175 Patch by Aharon Robbins <arnold@skeeve.com>.
25176
ea389b12
UD
25177 [BZ #11892]
25178 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25179 on the stack.
25180
68a3f91f
UD
25181 [BZ #11895]
25182 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25183 through underflows.
25184
15cc7dd1
UD
25185 [BZ #12766]
25186 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25187 point to strings before performing equality test for error_one_per_line
25188 mode.
25189
f3799213
UD
25190 [BZ #11697]
25191 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25192
d79a9c94
UD
25193 [BZ #11820]
25194 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25195 (struct user_fpregs_struct): Avoid __uint*_t types.
25196
56e5eb46
UD
25197 [BZ #6420]
25198 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25199 symbol info. Use it instead of calling _dl_addr locally.
25200 (lock_and_info): New function.
25201 (tr_freehook): Call lock_and_info and pass symbol info as additional
25202 parameter to tr_where.
25203 (tr_mallochook): Likewise.
25204 (tr_reallochook): Likewise.
25205 (tr_memalignhook): Likewise.
25206
6ce75379
UD
25207 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25208 used and couldn't be at all thread-safe.
25209
f8a3b5bf
UD
252102011-05-15 Ulrich Drepper <drepper@gmail.com>
25211
94b7cc37
UD
25212 * libio/freopen.c (freopen): Don't close old file descriptor
25213 before the new one is opened. Instead dup the new file descriptor
25214 to the old one after the new stream is created.
25215 * libio/freopen64.c (freopen64): Likewise.
25216 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25217 * libio/fileops.c (_IO_new_file_close_it): Handle new
25218 _IO_FLAGS2_NOCLOSE flag.
25219 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25220 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25221 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25222 _IO_FLAGS2_NOCLOSE flag.
25223 * include/unistd.h: Add hidden_proto for dup3.
25224 Define __have_dup3.
25225 * io/dup3.c: Define hidden symbol.
25226 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25227
bd25564e
UD
25228 [BZ #7101]
25229 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25230 when an incomplete long option is used.
25231 * posix/tst-getopt_long1.c: New file.
25232 * posix/Makefile (tests): Add tst-getopt_long1.
25233
c84cfef4
UD
25234 [BZ #10138]
25235 * scripts/config.guess: Update from autoconf-2.68.
25236 * scripts/config.sub: Likewise.
25237
3b85df27
UD
25238 [BZ #10157]
25239 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25240 tests into ...
25241 (has_cpuclock): ...this. New function.
25242 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25243 macro here based on has_cpuclock code.
25244
15a856b1
UD
25245 [BZ #10149]
25246 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25247 First byte (not low byte) is now always NUL.
25248 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25249
05f399e6
UD
25250 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25251 Use non-cancelable interfaces.
25252
10a52685 25253 [BZ #9809]
94ecc67d
UD
25254 * locale/iso-639.def: Add entry for Sorani.
25255
f8a3b5bf
UD
25256 [BZ #11901]
25257 * include/stdlib.h: Move include protection to the right place.
25258 Define abort_msg_s. Declare __abort_msg with it.
25259 * stdlib/abort.c (__abort_msg): Adjust type.
25260 * assert/assert.c (__assert_fail_base): New function. Majority
25261 of code from __assert_fail. Allocate memory for __abort_msg with
25262 mmap.
25263 (__assert_fail): Now call __assert_fail_base.
25264 * assert/assert-perr.c: Remove bulk of implementation. Use
25265 __assert_fail_base.
25266 * include/assert.hL Declare __assert_fail_base.
25267 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25268 mmap.
25269 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25270
1af4e298
UD
252712011-05-14 Ulrich Drepper <drepper@gmail.com>
25272
f8a3b5bf 25273 [BZ #11952]
d26dfc60
MG
25274 [BZ #12453]
25275 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25276 until all modules are registered in the DTV.
25277 * elf/Makefile: Add rules to build and run tst-tls19.
25278 * elf/tst-tls19.c: New file.
25279 * elf/tst-tls19mod1.c: New file.
25280 * elf/tst-tls19mod2.c: New file.
25281 * elf/tst-tls19mod3.c: New file.
25282 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25283
2fc54d6f
UD
25284 [BZ #12083]
25285 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25286 correctly.
25287
98d76b46
UD
25288 [BZ #12601]
25289 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25290 two-byte sequence errors.
25291 * iconvdata/Makefile (tests): Add bug-iconv8.
25292 * iconvdata/bug-iconv8.c: New file.
25293
da3c19ef
UD
25294 [BZ #12626]
25295 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25296 buf2 definition.
25297
ca408c15
UD
25298 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25299
d6f67f7d
UD
25300 [BZ #12432]
25301 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25302 (dummy_getcfa): New function.
25303 (init): Get _Unwind_GetCFA address, use dummy if not found.
25304 (backtrace_helper): In recursion check, also check whether CFA changes.
25305 (__backtrace): Completely initialize arg.
25306
1af4e298 25307 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
25308 storing incomplete byte sequence in state object. Avoid testing for
25309 guaranteed too small input if we know there is enough data available.
1af4e298 25310
da62f81b
AS
253112011-05-11 Andreas Schwab <schwab@redhat.com>
25312
25313 * Makeconfig (+link-pie): Indent.
25314 * Rules (binaries-pie): Define if $(have-fpie) and
25315 $(build-shared).
25316 (binaries-shared): Also filter out $(binaries-pie).
25317 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25318 * nscd/Makefile (others-pie): Add nscd.
25319 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25320 ($(objpfx)nscd): Remove command override.
25321 * login/Makefile (others-pie): Add pt_chown.
25322 ($(objpfx)pt_chown): Remove command override.
25323 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25324 remove command overrides.
25325
fcabc0f8
UD
253262011-05-13 Ulrich Drepper <drepper@gmail.com>
25327
20030ae6
UD
25328 * libio/tst_putwc.c: Fix error messages.
25329
fcabc0f8
UD
25330 [BZ #12724]
25331 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25332 currently writing and seek to current position when not.
25333 * libio/Makefile (tests): Add bug-fclose1.
25334 * libio/bug-fclose1.c: New file.
25335
320a5dc0
PB
253362011-05-12 Ulrich Drepper <drepper@gmail.com>
25337
25338 [BZ #12511]
25339 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25340 don't set DF_1_NODELETE here.
25341 (do_lookup_x): When entering new entry test for copy relocation
25342 and if necessary set DF_1_NODELETE flag.
25343 * elf/tst-unique4.cc: New file.
25344 * elf/tst-unique4.h: New file.
25345 * elf/tst-unique4lib.cc: New file.
25346 * elf/Makefile: Add rules to build and run tst-unique4.
25347 Patch by Piotr Bury <pbury@goahead.com>.
25348
22836f52
UD
253492011-05-11 Ulrich Drepper <drepper@gmail.com>
25350
f574184a
UD
25351 [BZ #12052]
25352 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25353
e1fb097f
UD
25354 [BZ #12625]
25355 * misc/mntent_r.c (addmntent): Flush the stream after the output
25356
22836f52
UD
25357 [BZ #12393]
25358 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25359 (is_trusted_path_normalize): Skip initial colon. Append slash
25360 to empty buffer. Duplicate is_trusted_path code but allow
25361 constructed patch to be prefix.
25362 (is_dst): Allow $ORIGIN followed by /.
25363 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25364 Correct testing of result of is_trusted_path_normalize
25365 (decompose_rpath): Fix warning.
25366
7b3b0b2a
UD
253672011-05-10 Ulrich Drepper <drepper@gmail.com>
25368
25369 [BZ #11257]
25370 * grp/initgroups.c (internal_getgrouplist): When we found the service
25371 list through the initgroups entry in nsswitch.conf do not always
25372 continue on a successful lookup. Don't always use the
eac80ce2 25373 __nss_group_database value if it is set.
7b3b0b2a
UD
25374 * nss/nsswitch.conf (initgroups): Change action for successful db
25375 lookup to continue for compatibility.
25376
2a81eaa5
UD
253772011-05-09 Ulrich Drepper <drepper@gmail.com>
25378
be97a69e
UD
25379 [BZ #11532]
25380 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25381 and CP774 modules.
25382 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25383 and CP774 modules.
25384 * iconvdata/tst-tables.sh: Likewise.
25385 * iconvdata/cp770.c: New file.
25386 * iconvdata/cp771.c: New file.
25387 * iconvdata/cp772.c: New file.
25388 * iconvdata/cp773.c: New file.
25389 * iconvdata/cp774.c: New file.
25390 * iconvdata/testdata/CP770: New file.
25391 * iconvdata/testdata/CP770..UTF8: New file.
25392 * iconvdata/testdata/CP771: New file.
25393 * iconvdata/testdata/CP771..UTF8: New file.
25394 * iconvdata/testdata/CP772: New file.
25395 * iconvdata/testdata/CP772..UTF8: New file.
25396 * iconvdata/testdata/CP773: New file.
25397 * iconvdata/testdata/CP773..UTF8: New file.
25398 * iconvdata/testdata/CP774: New file.
25399 * iconvdata/testdata/CP774..UTF8: New file.
25400
25401 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25402 END CHARMAP line.
25403 * iconvdata/gen-8bit-gap.sh: Likewise.
25404 * iconvdata/gen-8bit.sh: Likewise.
25405
c1e9e399
UD
25406 * locale/iso-639.def: Add ary entry.
25407
24c55fb3 25408 [BZ #11258]
96b4b1b0
UD
25409 * locale/C-translit.h.in: Add U20A1 transliteration.
25410
bdc2f971
KB
25411 [BZ #12178]
25412 * locale/iso-639.def: Add wae entry.
25413 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25414
2952b117
UD
25415 [BZ #12545]
25416 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25417 for n.
25418
2a81eaa5
UD
25419 [BZ #12711]
25420 * locale/C-translit.h.in: Add entry for U20B9.
25421 Patch by pravin.d.s@gmail.com.
25422
28377d1b
UD
254232011-05-08 Ulrich Drepper <drepper@gmail.com>
25424
7fb90fb8
UD
25425 [BZ #12713]
25426 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25427 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
25428 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25429 in rtld. Use *stat64.
7fb90fb8 25430 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 25431 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 25432 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
25433 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25434 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25435 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25436 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25437 __fstatat64 macros.
7fb90fb8
UD
25438 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25439 * dirent/rewinddir.c: Add libc_hidden_def.
25440 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 25441 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 25442
28377d1b
UD
25443 * include/dirent.h (__alloc_dir): Add flags parameter.
25444 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25445 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25446 __alloc_dir.
25447 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25448 from fdopendir if O_CLOEXEC is already set.
25449
66bdbaa4
AM
254502011-03-15 Alan Modra <amodra@gmail.com>
25451
25452 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25453 l_tls_firstbyte_offset non-zero. Save padding offset in
25454 l_tls_firstbyte_offset for later use.
25455 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25456 freeing static tls block.
25457
95721191
JN
254582011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25459
25460 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25461 where #ifdef was intended. The intent is to prevent ARG_MAX from
25462 being defined by the kernel headers.
25463
f87dfb1f
UD
254642011-05-07 Ulrich Drepper <drepper@gmail.com>
25465
25466 [BZ #12734]
25467 * resolv/resolv.h: Define RES_NOTLDQUERY.
25468 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25469 no-tld-query and set RES_NOTLDQUERY.
25470 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25471 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25472 modern BIND to search name as TLD unless forbidden.
25473
47c3cd7a
UD
254742011-05-07 Petr Baudis <pasky@suse.cz>
25475 Ulrich Drepper <drepper@gmail.com>
25476
25477 [BZ #12393]
25478 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25479 (is_trusted_path): ...to here.
c1e9ea35 25480 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 25481 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 25482 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 25483
8a35c912
PP
254842011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25485
25486 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25487 __BEGIN/__END_DECLS.
25488
acd41f47
UD
254892011-05-06 Ulrich Drepper <drepper@gmail.com>
25490
25491 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25492 NSS_STATUS_NOTFOUND if no record was found.
25493
597df647
AS
254942011-05-05 Andreas Schwab <schwab@redhat.com>
25495
25496 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25497 (headers-not-in-tirpc): Remove rpc/netdb.h
25498 * resolv/netdb.h: Revert last change.
25499
b9af1301
PP
255002011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25501
25502 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25503 circular dependency between libgcc.a and libc.a.
25504
4e34d5f5
AS
255052011-05-05 Andreas Schwab <schwab@redhat.com>
25506
25507 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25508 * nis/Makefile: Don't install rpcsvc/*.
25509 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25510 instead of <rpc/types.h>.
25511 (MAXHOSTNAMELEN): Define.
25512
00ee369c
AS
255132011-05-03 Andreas Schwab <schwab@redhat.com>
25514
25515 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25516
0b592a30
MB
255172011-04-28 Maciej Babinski <mbabinski@google.com>
25518
25519 [BZ #12714]
25520 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25521 gethostbyname4_r when IPv6 results are possible.
25522
6e04cbbe
UD
255232011-05-02 Ulrich Drepper <drepper@gmail.com>
25524
25525 [BZ #12723]
25526 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25527 _PC_PIPE_BUF handling.
25528
e4ecafe0
BH
255292011-04-30 Bruno Haible <bruno@clisp.org>
25530
25531 [BZ #12717]
25532 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25533 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25534 to 'int'.
25535 * inet/getnameinfo.c (getnameinfo): Likewise.
25536
125ee683
UD
255372011-04-29 Ulrich Drepper <drepper@gmail.com>
25538
25539 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25540 to groups setting in database lookup.
25541 * nss/nsswitch.conf: Add initgroups entry.
25542
b722481a
EB
255432011-04-22 Ulrich Drepper <drepper@gmail.com>
25544
25545 [BZ #12685]
25546 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25547 mode string.
25548 Patch by Eric Blake <eblake@redhat.com>.
25549
4df46dbd
L
255502011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25551
25552 * sunrpc/Makefile (need-export-routines): Add svc_run.
25553 (routines): Remove svc_run.
25554 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25555 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25556 * sunrpc/svc_run.c (svc_run): Likewise.
25557 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25558
e84142d2
UD
255592011-04-21 Ulrich Drepper <drepper@gmail.com>
25560
25561 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25562 problem in reallocation in last patch.
25563
877175d8
UD
255642011-04-20 Ulrich Drepper <drepper@gmail.com>
25565
25566 * sunrpc/Makefile: Move inclusion of Rules.
25567
ab8eed78
UD
255682011-04-19 Ulrich Drepper <drepper@gmail.com>
25569
25570 * nss/nss_files/files-initgroups.c: New file.
25571 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25572 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25573 _nss_files_initgroups_dyn.
25574
e3d8f584
RS
255752011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25576
25577 * elf/elf.h (R_ARM_IRELATIVE): Define.
25578
af190f45
UD
255792011-04-19 Ulrich Drepper <drepper@gmail.com>
25580
25581 * po/ru.po: Update from translation team.
25582
53cf59ef
UD
255832011-04-17 Ulrich Drepper <drepper@gmail.com>
25584
25585 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25586 dependencies.
25587
4c559bcd
MF
255882011-02-06 Mike Frysinger <vapier@gentoo.org>
25589
25590 [BZ #12653]
25591 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25592 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25593 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25594 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25595 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25596
4420675c
AS
255972011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25598
25599 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25600 differing bytes.
25601 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25602 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25603 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25604
75ea32ab
UD
256052011-04-17 Ulrich Drepper <drepper@gmail.com>
25606
25607 [BZ #12420]
25608 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25609 storing it.
25610 * stdlib/bug-getcontext.c: New file.
25611 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25612
27390476
AK
256132011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25614
25615 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25616 instructions into .machine "z9-109".
25617 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25618 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25619
10442705
AK
256202011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25621
25622 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25623 between environment variables and auxiliary vector.
25624
7b57bfe5
UD
256252011-04-16 Ulrich Drepper <drepper@gmail.com>
25626
25627 * Makefile: Add rules to build linkobj/libc.so.
25628 * include/libc-symbols.h: Define libc_hidden_nolink.
25629 * include/rpc/auth.h: Mark functions which are to be hidden.
25630 * include/rpc/auth_des.h: Likewise.
25631 * include/rpc/auth_unix.h: Likewise.
25632 * include/rpc/clnt.h: Likewise.
25633 * include/rpc/des_crypt.h: Likewise.
25634 * include/rpc/key_prot.h: Likewise.
25635 * include/rpc/pmap_clnt.h: Likewise.
25636 * include/rpc/pmap_prot.h: Likewise.
25637 * include/rpc/pmap_rmt.h: Likewise.
25638 * include/rpc/rpc_msg.h: Likewise.
25639 * include/rpc/svc.h: Likewise.
25640 * include/rpc/svc_auth.h: Likewise.
25641 * include/rpc/xdr.h: Likewise.
25642 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25643 * nss/Makefile: Likewise.
25644 * sunrpc/Makefile: Don't install headers. Build library with normal
25645 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25646 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25647 for the compat linking library. Remove use of INTDEF/INTUSE.
25648 * sunrpc/auth_none.c: Likewise.
25649 * sunrpc/auth_unix.c: Likewise.
25650 * sunrpc/authdes_prot.c: Likewise.
25651 * sunrpc/authuxprot.c: Likewise.
25652 * sunrpc/clnt_gen.c: Likewise.
25653 * sunrpc/clnt_perr.c: Likewise.
25654 * sunrpc/clnt_raw.c: Likewise.
25655 * sunrpc/clnt_simp.c: Likewise.
25656 * sunrpc/clnt_tcp.c: Likewise.
25657 * sunrpc/clnt_udp.c: Likewise.
25658 * sunrpc/clnt_unix.c: Likewise.
25659 * sunrpc/des_crypt.c: Likewise.
25660 * sunrpc/des_soft.c: Likewise.
25661 * sunrpc/get_myaddr.c: Likewise.
25662 * sunrpc/key_call.c: Likewise.
25663 * sunrpc/key_prot.c: Likewise.
25664 * sunrpc/netname.c: Likewise.
25665 * sunrpc/pm_getmaps.c: Likewise.
25666 * sunrpc/pm_getport.c: Likewise.
25667 * sunrpc/pmap_clnt.c: Likewise.
25668 * sunrpc/pmap_prot.c: Likewise.
25669 * sunrpc/pmap_prot2.c: Likewise.
25670 * sunrpc/pmap_rmt.c: Likewise.
25671 * sunrpc/publickey.c: Likewise.
25672 * sunrpc/rpc_cmsg.c: Likewise.
25673 * sunrpc/rpc_common.c: Likewise.
25674 * sunrpc/rpc_dtable.c: Likewise.
25675 * sunrpc/rpc_prot.c: Likewise.
25676 * sunrpc/rpc_thread.c: Likewise.
25677 * sunrpc/rtime.c: Likewise.
25678 * sunrpc/svc.c: Likewise.
25679 * sunrpc/svc_auth.c: Likewise.
25680 * sunrpc/svc_authux.c: Likewise.
25681 * sunrpc/svc_raw.c: Likewise.
25682 * sunrpc/svc_run.c: Likewise.
25683 * sunrpc/svc_simple.c: Likewise.
25684 * sunrpc/svc_tcp.c: Likewise.
25685 * sunrpc/svc_udp.c: Likewise.
25686 * sunrpc/svc_unix.c: Likewise.
25687 * sunrpc/svcauth_des.c: Likewise.
25688 * sunrpc/xcrypt.c: Likewise.
25689 * sunrpc/xdr.c: Likewise.
25690 * sunrpc/xdr_array.c: Likewise.
25691 * sunrpc/xdr_float.c: Likewise.
25692 * sunrpc/xdr_intXX_t.c: Likewise.
25693 * sunrpc/xdr_mem.c: Likewise.
25694 * sunrpc/xdr_rec.c: Likewise.
25695 * sunrpc/xdr_ref.c: Likewise.
25696 * sunrpc/xdr_sizeof.c: Likewise.
25697 * sunrpc/xdr_stdio.c: Likewise.
25698
e6c61494
UD
256992011-04-10 Ulrich Drepper <drepper@gmail.com>
25700
25701 [BZ #12650]
25702 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25703 * sysdeps/ia64/dl-tls.h: Likewise.
25704 * sysdeps/powerpc/dl-tls.h: Likewise.
25705 * sysdeps/s390/dl-tls.h: Likewise.
25706 * sysdeps/sh/dl-tls.h: Likewise.
25707 * sysdeps/sparc/dl-tls.h: Likewise.
25708 * sysdeps/x86_64/dl-tls.h: Likewise.
25709 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25710
34fe483e
AS
257112011-03-14 Andreas Schwab <schwab@redhat.com>
25712
25713 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25714 rpath element also skip the following colon.
25715 (expand_dynamic_string_token): Add is_path parameter and pass
25716 down to DL_DST_REQUIRED and _dl_dst_substitute.
25717 (decompose_rpath): Call expand_dynamic_string_token with
25718 non-zero is_path. Ignore empty rpaths.
25719 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25720 with zero is_path.
25721
f12a32e6
AS
257222011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25723
25724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25725 Make cancelable.
25726
38a7d692
UD
257272011-04-09 Ulrich Drepper <drepper@gmail.com>
25728
25729 [BZ #12655]
25730 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25731 Patch by Filipe David Manana <fdmanana@apache.org>.
25732
e451d22b
AS
257332011-04-07 Andreas Schwab <schwab@redhat.com>
25734
25735 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25736 Maintain aligned stack.
25737 (CHECK_RSP): Remove unused macro.
25738
dedc7c7b
UD
257392011-04-03 Ulrich Drepper <drepper@gmail.com>
25740
25741 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25742 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25743
94521213
UD
257442011-04-02 Ulrich Drepper <drepper@gmail.com>
25745
25746 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25747
8cb700c0 25748 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 25749
0354e355
L
257502011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25751
25752 [BZ #12518]
25753 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25754 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25755 * sysdeps/x86_64/memmove.c: New file.
25756 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25757 (memcpy): Renamed to ...
25758 (__new_memcpy): This.
25759 (memcpy): Provide GLIBC_2_14 memcpy.
25760 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25761 (memcpy): Provide GLIBC_2_2_5 memcpy.
25762
8593482f
UD
257632011-04-01 Ulrich Drepper <drepper@gmail.com>
25764
25765 [BZ #12631]
25766 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25767
81a5726b
AS
257682011-03-30 Andreas Schwab <schwab@redhat.com>
25769
25770 * misc/syncfs.c: New file.
25771 * misc/Makefile (routines): Add syncfs.
25772 * posix/unistd.h: Declare syncfs.
25773 * sysdeps/unix/syscalls.list: Add syncfs.
25774
00e5419f
AS
257752011-04-01 Andreas Schwab <schwab@redhat.com>
25776
25777 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25778 open_by_handle_at.
25779 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25780 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25781 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25782 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25783 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25784 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25785 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25786
748876bf
UD
257872011-04-01 Ulrich Drepper <drepper@gmail.com>
25788
658e451d
UD
25789 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25790 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25791 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25792 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25793 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25794 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25795 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25796
748876bf
UD
25797 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25798 sync_file_range.c with -fexceptions.
25799 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25800 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25801 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25802 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25803 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25804 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25805 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
25806 sync_file_range as cancellation point
25807 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25808 now a wrapper around __call_sync_file_range with cancellation handling.
25809 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25810 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25811 function name to __call_sync_file_range.
25812 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25813 Add call_sync_file_range.
748876bf 25814
6e63d5e1
AS
258152011-04-01 Andreas Schwab <schwab@redhat.com>
25816
25817 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 25818 bits/timex.h.
6e63d5e1 25819
46998f74
UD
258202011-04-01 Ulrich Drepper <drepper@gmail.com>
25821
4c1423ed
UD
25822 * iconv/iconv.h: Fix typo in comment.
25823 * io/fcntl.h: Likewise.
25824 * libio/stdio.h: Likewise.
25825 * posix/spawn.h: Likewise.
25826 * posix/unistd.h: Likewise.
25827 * stdlib/stdlib.h: Likewise.
25828 * time/time.h: Likewise.
25829 * wcsmbs/wchar.h: Likewise.
25830
158648c0
UD
25831 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25832 open_by_handle): Add.
25833 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25834 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25835 Augment a few comments.
25836 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25837 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25838 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25839 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25840 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25841 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25842 open_by_handle.
25843
46998f74
UD
25844 * io/fcntl.h (AT_EMPTY_PATH): Define.
25845
83fe108b
UD
258462011-03-30 Ulrich Drepper <drepper@gmail.com>
25847
25848 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25849 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25850 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25851 to...
25852 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
25853 * Versions.def: Add GLIBC_2.14.
25854 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25855 Export.
83fe108b 25856
bb242059
UD
258572011-03-22 Ulrich Drepper <drepper@gmail.com>
25858
25859 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25860 round counter.
25861 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25862
c97a1282
L
258632011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25864
25865 [BZ #12597]
25866 * string/test-strncmp.c (do_page_test): New function.
25867 (check2): Likewise.
25868 (test_main): Call check2.
25869 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25870
2a115601
UD
258712011-03-20 Ulrich Drepper <drepper@gmail.com>
25872
25873 [BZ #12587]
25874 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25875 Handle cache information in CPU leaf 4.
25876 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25877
8126d904
UD
258782011-03-18 Ulrich Drepper <drepper@gmail.com>
25879
042c49c6 25880 [BZ #12583]
8126d904
UD
25881 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25882 character representation.
25883 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25884
ccfe366e
RA
258852011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25886
25887 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25888 END(__isnan) to END(__isnanf) to match function entry point/label
25889 EALIGN(__isnanf,...).
25890
c6e13027
JJ
258912011-03-10 Jakub Jelinek <jakub@redhat.com>
25892
25893 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25894
33f85a3f
UD
258952011-03-10 Ulrich Drepper <drepper@gmail.com>
25896
028478fa
UD
25897 [BZ #12510]
25898 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25899 copy from the symbol referenced in the relocation to initialize the
25900 used variable.
25901 Patch by Piotr Bury <pbury@goahead.com>.
25902 * elf/Makefile: Add rules to build and tst-unique3.
25903 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25904 * elf/tst-unique3.cc: New file.
25905 * elf/tst-unique3.h: New file.
25906 * elf/tst-unique3lib.cc: New file.
25907 * elf/tst-unique3lib2.cc: New file.
25908
33f85a3f
UD
25909 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25910
03592fc7
MF
259112011-03-10 Mike Frysinger <vapier@gentoo.org>
25912
25913 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
25914 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
25915 to _start.
03592fc7 25916
6a5ee102
UD
259172011-03-06 Ulrich Drepper <drepper@gmail.com>
25918
25919 * elf/dl-load.c (_dl_map_object): If we are looking for the first
25920 to-be-loaded object along a path to loader is ld.so.
25921
7e4ba49c
HJ
259222011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25923 Ulrich Drepper <drepper@gmail.com>
25924
25925 * sysdeps/x86_64/memset.S: After aligning destination, code
25926 branches to different locations depending on the value of
25927 misalignment, when multiarch is enabled. Fix this.
25928
259292011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
25930
25931 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
25932 Set _x86_64_preferred_memory_instruction for AMD processsors.
25933 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25934 Set bit_Prefer_SSE_for_memop for AMD processors.
25935
13a804de
UD
259362011-03-04 Ulrich Drepper <drepper@gmail.com>
25937
25938 * libio/fmemopen.c (fmemopen): Optimize a bit.
25939
9d25c392
AS
259402011-03-03 Andreas Schwab <schwab@redhat.com>
25941
25942 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
25943
a5543c6a
RM
259442011-03-03 Roland McGrath <roland@redhat.com>
25945
25946 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
25947
012d35f7
DM
259482011-02-28 Aurelien Jarno <aurelien@aurel32.net>
25949
7e4ba49c 25950 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
25951 __bzero_ultra1 instead of __memset_ultra1.
25952
4bff6e01
AS
259532011-02-23 Andreas Schwab <schwab@redhat.com>
25954 Ulrich Drepper <drepper@gmail.com>
25955
25956 [BZ #12509]
25957 * include/link.h (struct link_map): Add l_orig_initfini.
25958 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
25959 returning unsuccessfully.
25960 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
25961 close of a file loaded at startup, restore the original l_initfini
25962 list.
25963 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
25964 list, store the pointer.
25965 * elf/Makefile ($(objpfx)noload-mem): New rule.
25966 (noload-ENV): Define.
25967 (tests): Add $(objpfx)noload-mem.
25968 * elf/noload.c: Include <memcheck.h>.
25969 (main): Call mtrace. Close all opened handles.
25970
f2092faf
AS
259712011-02-17 Andreas Schwab <schwab@redhat.com>
25972
25973 [BZ #12454]
25974 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
25975 dependencies are missing.
25976
6c8a2e88
ST
259772011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
25978
f2092faf 25979 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
25980 Hurd needs munmap.
25981 * sysdeps/mach/hurd/ifreq.h: New file.
25982
84a42118
PB
259832011-01-27 Petr Baudis <pasky@suse.cz>
25984 Ulrich Drepper <drepper@gmail.com>
25985
071f805e 25986 [BZ 12445]#
84a42118
PB
25987 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
25988 to extend_alloca().
25989 * stdio-common/bug23.c: New file.
25990 * stdio-common/Makefile (tests): Add bug23.
25991
e23fe25b
AS
259922010-09-28 Andreas Schwab <schwab@redhat.com>
25993 Ulrich Drepper <drepper@gmail.com>
25994
25995 [BZ #12489]
25996 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
25997 before performing relro protection. At old place add assertion
25998 to make sure nothing changed.
25999
d3f02e10
NS
260002011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26001 Glauber de Oliveira Costa <glommer@gmail.com>
26002
26003 * elf/elf.h: Add new ARM TLS relocs.
26004
d55fd7a5
RA
260052011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26006
26007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26008 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26009 cast from r3.
26010 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26011 'tests' variable.
26012 * sysdeps/wordsize-64/tst-writev.c: New file.
26013
2206397e
RA
260142011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26015
26016 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26017 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26018 insns in _dl_start to prevent a TOC reference before relocs are
26019 resolved.
26020
e9433893
UD
260212011-02-15 Ulrich Drepper <drepper@gmail.com>
26022
26023 [BZ #12469]
26024 * Makeconfig: Remove RANLIB definition.
26025 * Makerules: Don't use RANLIB.
26026 * aclocal.m4: Remove ranlib test.
26027 * configure.in: No need to check for ranlib.
26028 * elf/rtld-Rules: Don't use RANLIB.
26029
f75286c6
ST
260302011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26031
8e31c82d
ST
26032 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26033 protection macro.
26034 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26035 inclusion protection macro.
26036
f75286c6
ST
26037 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26038 SIGRTMIN and SIGRTMAX and print information in that case only when
26039 SIGRTMIN is defined.
26040
c1d0e639
JJ
260412011-02-11 Jakub Jelinek <jakub@redhat.com>
26042
26043 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26044 arginfo fn returning -1.
26045
26046 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26047 and thousands string is zero terminated.
26048
edf9294e
AS
260492011-02-03 Andreas Schwab <schwab@redhat.com>
26050
26051 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26052 sysdeps/unix/sysv/linux/bits/socket.h.
26053
2b7e92df
ST
260542011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26055
edf9294e
AS
26056 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26057 (__CPU_COUNT): Remove old macros.
26058 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26059 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26060 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
26061 (__sched_cpualloc, __sched_cpufree): Add declarations.
26062
a4c7ea7b
UD
260632011-02-05 Ulrich Drepper <drepper@gmail.com>
26064
26065 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26066 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26067 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26068 (readdhstai): Return value of addhstaiX call.
26069 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26070 (addgrbyX): Return value returned by cache_addgr.
26071 (readdgrbyname): Return value returned by addgrbyX.
26072 (readdgrbygid): Likewise.
26073 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26074 (addpwbyX): Return value returned by cache_addpw.
26075 (readdpwbyname): Return value returned by addhstbyX.
26076 (readdpwbyuid): Likewise.
26077 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26078 (addservbyX): Return value returned by cache_addserv.
26079 (readdservbyname): Return value returned by addservbyX:
26080 (readdservbyport): Likewise.
26081 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26082 (addhstbyX): Return value returned by cache_addhst.
26083 (readdhstbyname): Return value returned by addhstbyX.
26084 (readdhstbyaddr): Likewise.
26085 (readdhstbynamev6): Likewise.
26086 (readdhstbyaddrv6): Likewise.
26087 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26088 (readdinitgroups): Return value returned by addinitgroupsX.
26089 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26090 (prune_cache): Keep track of timeout value of re-added entries.
26091 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26092 * nscd/nscd.h: Adjust prototypes of readd* functions.
26093
a0bf67cc
RM
260942011-02-04 Roland McGrath <roland@redhat.com>
26095
26096 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26097 (nis_stats): Likewise.
26098 * nis/nis_modify.c (nis_modify): Likewise.
26099 * nis/nis_remove.c (nis_remove): Likewise.
26100 * nis/nis_add.c (nis_add): Likewise.
26101
26102 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26103
26104 * posix/fnmatch_loop.c: Add some consts.
26105
26106 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26107
435b95eb
L
261082011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26109
26110 [BZ #12460]
26111 * config.make.in (config-cflags-novzeroupper): Define.
26112 * configure.in: Substitute libc_cv_cc_novzeroupper.
26113 * elf/Makefile (AVX-CFLAGS): Define.
26114 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26115 (CFLAGS-tst-auditmod4a.c): Likewise.
26116 (CFLAGS-tst-auditmod4b.c): Likewise.
26117 (CFLAGS-tst-auditmod6b.c): Likewise.
26118 (CFLAGS-tst-auditmod6c.c): Likewise.
26119 (CFLAGS-tst-auditmod7b.c): Likewise.
26120 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26121
8517b15e
UD
261222011-02-02 Ulrich Drepper <drepper@gmail.com>
26123
26124 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26125 function to the callback.
26126 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26127
10a656fe
AS
261282011-02-02 Andreas Schwab <schwab@redhat.com>
26129
26130 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26131 of errno.
26132
968dad0a
UD
261332011-01-19 Ulrich Drepper <drepper@gmail.com>
26134
9f94d2ea 26135 [BZ #11724]
968dad0a
UD
26136 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26137 of constructors.
26138 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26139 of destructors.
26140 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26141
26142 [BZ #11724]
26143 * elf/Makefile: Add rules to build and run new test.
26144 * elf/tst-initorder.c: New file.
26145 * elf/tst-initorder.exp: New file.
26146 * elf/tst-initordera1.c: New file.
26147 * elf/tst-initordera2.c: New file.
26148 * elf/tst-initordera3.c: New file.
26149 * elf/tst-initordera4.c: New file.
26150 * elf/tst-initorderb1.c: New file.
26151 * elf/tst-initorderb2.c: New file.
26152 * elf/tst-order-a1.c: New file.
26153 * elf/tst-order-a2.c: New file.
26154 * elf/tst-order-a3.c: New file.
26155 * elf/tst-order-a4.c: New file.
26156 * elf/tst-order-b1.c: New file.
26157 * elf/tst-order-b2.c: New file.
26158 * elf/tst-order-main.c: New file.
26159 New test case by George Gensure <werkt0@gmail.com>.
26160
86e92359
UD
261612010-10-01 Andreas Schwab <schwab@redhat.com>
26162
26163 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26164 decoding ACE if AI_CANONIDN.
26165
5d5732b0
UD
261662011-01-18 Ulrich Drepper <drepper@gmail.com>
26167
26168 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26169
a77e8cbc
UD
261702011-01-17 Ulrich Drepper <drepper@gmail.com>
26171
6392473f
UD
26172 * version.h (RELEASE): Bump for 2.13 release.
26173 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26174
620a0529
UD
26175 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26176
18ba70a5
UD
26177 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26178 MADV_NOHUGEPAGE.
32465c3e
UD
26179 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26180 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26181 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26182 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26183 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26184 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26185
c0dafcf1
UD
26186 * posix/getconf.c: Update copyright year.
26187 * catgets/gencat.c: Likewise.
26188 * csu/version.c: Likewise.
26189 * debug/catchsegv.sh: Likewise.
26190 * debug/xtrace.sh: Likewise.
26191 * elf/ldconfig.c: Likewise.
26192 * elf/ldd.bash.in: Likewise.
26193 * elf/sprof.c (print_version): Likewise.
26194 * iconv/iconv_prog.c: Likewise.
26195 * iconv/iconvconfig.c: Likewise.
26196 * locale/programs/locale.c: Likewise.
26197 * locale/programs/localedef.c: Likewise.
26198 * malloc/memusage.sh: Likewise.
26199 * malloc/mtrace.pl: Likewise.
26200 * nscd/nscd.c (print_version): Likewise.
26201 * nss/getent.c: Likewise.
26202
a77e8cbc
UD
26203 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26204 PF_CAIF, and PF_ALG.
26205 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26206
77e8bddf
AS
262072011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26208
1f20b93a
AS
26209 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26210 (modules-names): Use them.
26211 (ifunc-test-modules, ifunc-pie-tests): Define.
26212 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26213 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26214 (test-extras): Likewise.
26215 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26216 $(compile-command.c).
26217 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26218 (all-built-dso): Define.
26219 (check-textrel.out, check-execstack.out): Depend on it.
26220
77e8bddf
AS
26221 * configure.in: Don't override --enable-multi-arch.
26222
bc425b33
UD
262232011-01-15 Ulrich Drepper <drepper@gmail.com>
26224
26225 [BZ #6812]
26226 * nscd/hstcache.c (tryagain): Define.
26227 (cache_addhst): Return tryagain not notfound for temporary errors.
26228 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26229 failed.
26230
794c3ad3
UD
262312011-01-14 Ulrich Drepper <drepper@gmail.com>
26232
70181fdd
UD
26233 [BZ #10563]
26234 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26235 to make the syscall.
26236 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26237
794c3ad3
UD
26238 [BZ #12378]
26239 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26240 and fall back to matching as normal character if the string ends before
26241 the matching ']' is found. This is what POSIX requires.
26242 * posix/testfnm.c: Adjust test result.
26243 * posix/globtest.sh: Adjust test result. Add new test.
26244 * posix/tst-fnmatch.input: Likewise.
26245 * posix/tst-fnmatch2.c: Add new test.
26246
68dc9497
AS
262472010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26248
26249 * elf/Makefile (check-execstack): Revert last change. Depend on
26250 check-execstack.h.
26251 (check-execstack.h): New target.
26252 (generated): Add check-execstack.h.
26253 * elf/check-execstack.c: Include "check-execstack.h".
26254 (main): Revert last change.
26255 (handle_file): Return zero if GNU_STACK is absent and
26256 DEFAULT_STACK_PERMS doesn't include PF_X.
26257
451f001b
UD
262582011-01-13 Ulrich Drepper <drepper@gmail.com>
26259
cfa28e56
UD
26260 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26261 in child fails because the descriptor is already closed.
8cf8ce17
UD
26262 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26263 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26264 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 26265
1086d70d
UD
26266 [BZ #12397]
26267 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26268 syscall.
26269
451f001b
UD
26270 [BZ #10484]
26271 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26272 temporary buffer used to handle multi lookups locally.
a85b5cb4 26273 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 26274
08769175
UD
262752011-01-12 Ulrich Drepper <drepper@gmail.com>
26276
26277 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26278 loader is ld.so.
26279
5e49c52e
UD
262802011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26281
26282 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26283 alignment for SSE2.
26284
60522a5f
UD
262852011-01-12 Ulrich Drepper <drepper@gmail.com>
26286
26287 [BZ #12394]
26288 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26289 characters. When rounding increased number of integer digits recompute
26290 number of groups.
26291 * stdio-common/tst-grouping.c: New file.
26292 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26293
f257bbd7
UD
262942011-01-09 Ulrich Drepper <drepper@gmail.com>
26295
26296 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26297 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26298
26299 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26300 void.
26301 * bits/select.h: Likewise.
26302
fa9c15cb
UD
263032011-01-08 Ulrich Drepper <drepper@gmail.com>
26304
26305 * po/ja.po: Update from translation team.
26306
16c2895f
DM
263072011-01-04 David S. Miller <davem@sunset.davemloft.net>
26308
26309 [BZ #11155]
26310 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26311 implementation just like for lxstat, fxstatat, et al.
26312
2543fef2
JM
263132010-12-27 Jim Meyering <meyering@redhat.com>
26314
26315 [BZ #12348]
26316 * posix/regexec.c (build_trtable): Return failure indication upon
26317 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26318
98727dbe
UD
263192010-12-25 Ulrich Drepper <drepper@gmail.com>
26320
5bd6dc5c
UD
26321 [BZ #12201]
26322 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26323 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26324 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26325 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26326
97983464
UD
26327 [BZ #12207]
26328 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26329
98727dbe
UD
26330 [BZ #12204]
26331 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26332 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26333
4a531bb0
L
263342010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26335
26336 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26337 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26338 script has SORT_BY_INIT_PRIORITY.
26339 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26340 NO_CTORS_DTORS_SECTIONS is defined.
26341 * elf/soinit.c: Likewise.
26342 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26343 NO_CTORS_DTORS_SECTIONS is defined.
26344 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26345 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26346 * sysdeps/sh/init-first.c: Likewise.
26347 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26348
07eb4b71
UD
263492010-12-24 Ulrich Drepper <drepper@gmail.com>
26350
26351 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26352 always use the slow path.
26353
30950a5f
RA
263542010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26355
26356 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26357 similar rule which adds the sysdep directories to the header search in
26358 order to pick up the correct platform stackinfo.h.
26359 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26360 perform test if it is, otherwise return successfully without testing.
26361 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26362 DEFAULT_STACK_PERMS define in stackinfo.h.
26363 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26364 defined in stackinfo.h.
26365 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26366 DEFAULT_STACK_PERMS defined in stackinfo.h.
26367 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26368 * sysdeps/ia64/stackinfo.h: Likewise.
26369 * sysdeps/s390/stackinfo.h: Likewise.
26370 * sysdeps/sh/stackinfo.h: Likewise.
26371 * sysdeps/sparc/stackinfo.h: Likewise.
26372 * sysdeps/x86_64/stackinfo.h: Likewise.
26373 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26374 PF_X for powerpc64. Retain PF_X for powerpc32.
26375
db753e2c
UD
263762010-12-19 Ulrich Drepper <drepper@gmail.com>
26377
14b697f7
UD
26378 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26379 accurately.
db753e2c
UD
26380 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26381 GETDENTS_64BIT_ALIGNED.
26382
28300719
UD
263832010-12-14 Ulrich Drepper <dreper@gmail.com>
26384
14b697f7 26385 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 26386
4f197237
AS
263872010-12-10 Andreas Schwab <schwab@redhat.com>
26388
dbb0472f
AS
26389 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26390 _GNU_SOURCE.
26391
4f197237
AS
26392 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26393 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26394 Remove __restrict.
26395 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26396 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26397
fb88ac72
UD
263982010-12-09 Ulrich Drepper <drepper@gmail.com>
26399
26400 [BZ #11655]
26401 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26402 are initialized.
26403
42acbb92
JJ
264042010-12-09 Jakub Jelinek <jakub@redhat.com>
26405
26406 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26407
c038d98d
UD
264082010-12-03 Ulrich Drepper <drepper@gmail.com>
26409
26410 * po/it.po: Update from translation team.
26411
3a4a2499
L
264122010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26413
26414 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26415 unused codes.
26416
1e24cf6e
UD
264172010-11-30 Ulrich Drepper <drepper@gmail.com>
26418
26419 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26420
a7690819
AS
264212010-11-24 Andreas Schwab <schwab@redhat.com>
26422
26423 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26424 specially.
26425 (gaih_getanswer_slice): Likewise.
26426
3bf8d1b1
JJ
264272010-10-20 Jakub Jelinek <jakub@redhat.com>
26428
26429 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26430
6db52fbb
PB
264312010-05-31 Petr Baudis <pasky@suse.cz>
26432
26433 [BZ #11149]
26434 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26435 silently even in the chroot mode.
26436
eaca7569
UD
264372010-11-22 Ulrich Drepper <drepper@gmail.com>
26438
26439 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26440 last patch a bit. Pretty printing
26441
3056dcdb
UD
264422010-05-31 Petr Baudis <pasky@suse.cz>
26443
26444 [BZ #10085]
26445 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26446 initialization of skip_initgroups_dyn.
26447
cf7c9078
UD
264482010-11-19 Ulrich Drepper <drepper@gmail.com>
26449
26450 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26451 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26452
a1fb5e3e
UD
264532010-11-16 Ulrich Drepper <drepper@gmail.com>
26454
26455 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26456
3540d66b
AS
264572010-11-11 Andreas Schwab <schwab@redhat.com>
26458
26459 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26460 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26461 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26462 ($(objpfx)tst-fnmatch-mem): New rule.
26463 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26464 * posix/tst-fnmatch.c (main): Call mtrace.
26465
13b69574
L
264662010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26467
26468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26469 Support Intel processor model 6 and model 0x2c.
26470
da93d214
LM
264712010-11-10 Luis Machado <luisgpm@br.ibm.com>
26472
26473 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26474 signed comparison.
26475
8ca52c6e
L
264762010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26477
26478 [BZ #12205]
26479 * string/test-strncasecmp.c (check_result): New function.
26480 (do_one_test): Use it.
26481 (check1): New function.
26482 (test_main): Use it.
26483 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26484 Support strcasecmp and strncasecmp.
26485
69da074d
UD
264862010-11-08 Ulrich Drepper <drepper@gmail.com>
26487
26488 [BZ #12194]
26489 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26490 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26491
ff02d528
L
264922010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26493
26494 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26495 IFUNC support.
26496 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26497 memset-x86-64.
26498 * sysdeps/x86_64/multiarch/bzero.S: New file.
26499 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26500 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26501 * sysdeps/x86_64/multiarch/memset.S: New file.
26502 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26504 Set bit_Prefer_SSE_for_memop for Intel processors.
26505 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26506 Define.
26507 (index_Prefer_SSE_for_memop): Define.
26508 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26509
344d0b54
LM
265102010-11-04 Luis Machado <luisgpm@br.ibm.com>
26511
26512 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26513 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26514
c0dde15b
UD
265152010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26516
26517 [BZ #12191]
26518 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26519 (__x86_64_raw_data_cache_size_half): Likewise.
26520 (__x86_64_raw_shared_cache_size): Likewise.
26521 (__x86_64_raw_shared_cache_size_half): Likewise.
26522
26523 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26524 (__x86_64_raw_data_cache_size_half): Likewise.
26525 (__x86_64_raw_shared_cache_size): Likewise.
26526 (__x86_64_raw_shared_cache_size_half): Likewise.
26527 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26528 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26529 and __x86_64_raw_shared_cache_size_half. Round
26530 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26531 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26532 to multiple of 256 bytes.
26533
0e516e0e
MS
265342010-11-03 Ulrich Drepper <drepper@gmail.com>
26535
26536 [BZ #12167]
26537 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26538 of inacessible symlinks. Verify result of symlink before returning it.
26539 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26540 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26541
0e012e87
ER
265422010-10-28 Erich Ritz <erichritz@gmail.com>
26543
26544 * math/math.h (isinf): Fix typo in comment.
26545
de0ff7bc
UD
265462010-11-01 Ulrich Drepper <drepper@gmail.com>
26547
26548 * po/da.po: Update from translation team.
26549
fa41c84d
UD
265502010-10-26 Ulrich Drepper <drepper@gmail.com>
26551
26552 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26553 is added to the list.
26554
f0967738
AK
265552010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26556 Ulrich Drepper <drepper@gmail.com>
26557
26558 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26559 the global list here. Move code to...
26560 (_dl_add_to_namespace_list): ...here. New function.
26561 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26562 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26563 * elf/dl-load.c (lose): Don't remove the element from the list.
26564 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26565 (_dl_map_object): Likewise.
26566
265672010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
26568
26569 [BZ #12159]
26570 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26571 into all bytes of SSE register.
26572 Patch by Richard Li <richardpku@gmail.com>.
26573
f0967738 265742010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
26575
26576 [BZ #12140]
26577 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26578 perturbing.
26579
d0b9e94f
MB
265802010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26581
26582 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26583 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26584 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26585 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26587 submachine.
26588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26589
8e9f92e9
AS
265902010-10-22 Andreas Schwab <schwab@redhat.com>
26591
26592 * include/dlfcn.h (__RTLD_SECURE): Define.
26593 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26594 mode & __RTLD_SECURE instead.
26595 (open_path): Rename preloaded parameter to secure.
26596 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26597 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26598 * elf/dl-deps.c (openaux): Likewise.
26599 * elf/rtld.c (struct map_args): Remove is_preloaded.
26600 (map_doit): Don't use it.
26601 (dl_main): Likewise.
26602 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26603 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26604
bc96fbda
AS
266052010-09-09 Andreas Schwab <schwab@redhat.com>
26606
26607 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26608 (sysd-rules-targets): Remove duplicates.
26609 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26610 rtld-%.$o dependency.
26611
22cd1c9b
AS
266122010-10-18 Andreas Schwab <schwab@redhat.com>
26613
26614 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26615 _dl_map_object do it.
26616
18edac48
UD
266172010-10-19 Ulrich Drepper <drepper@gmail.com>
26618
26619 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26620 fast fma builtins, define the macros in the C99 standard.
26621 (FP_FAST_FMAF): Likewise.
26622 (FP_FAST_FMAL): Likewise.
26623 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26624
26625 * bits/mathdef.h: Update copyright year.
26626 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26627
d2050124
MM
266282010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26629
26630 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26631 builtins, define the macros in the C99 standard.
26632 (FP_FAST_FMAF): Likewise.
26633 (FP_FAST_FMAL): Likewise.
26634 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26635 multiply/add.
26636 (FP_FAST_FMAF): Likewise.
26637
475facd1
JJ
266382010-10-15 Jakub Jelinek <jakub@redhat.com>
26639
26640 [BZ #3268]
26641 * math/libm-test.inc (fma_test): Some new testcases.
26642 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26643 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26644 y and infinite z. Do multiplication by C already in long double.
26645 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26646 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26647 y and infinite z. Do bitwise or of inexact bit into u.d.
26648 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26649 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26650 * sysdeps/i386/fpu/s_fma.S: Removed.
26651 * sysdeps/i386/fpu/s_fmal.S: Removed.
26652
7c08a05c
JJ
266532010-10-16 Jakub Jelinek <jakub@redhat.com>
26654
26655 [BZ #3268]
26656 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26657 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26658 computation is not scheduled after fetestexcept. Fix value
26659 of minimum denormal long double.
26660
f3f7372d
JJ
266612010-10-14 Jakub Jelinek <jakub@redhat.com>
26662
26663 [BZ #3268]
26664 * math/libm-test.inc (fma_test): Add some more tests.
26665 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26666 correctly.
26667
14d43591
AS
266682010-10-15 Andreas Schwab <schwab@redhat.com>
26669
26670 * scripts/data/localplt-s390-linux-gnu.data: New file.
26671 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26672
5e908464
JJ
266732010-10-13 Jakub Jelinek <jakub@redhat.com>
26674
26675 [BZ #3268]
26676 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26677 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26678 instead of dbl-64.
26679 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26680 inlines.
26681 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26682 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26683 if one of x and y is very large and the other is subnormal.
26684 * sysdeps/s390/fpu/s_fmaf.c: New file.
26685 * sysdeps/s390/fpu/s_fma.c: New file.
26686 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26687 * sysdeps/powerpc/fpu/s_fma.S: New file.
26688 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26689 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26690 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26691
266922010-10-12 Jakub Jelinek <jakub@redhat.com>
26693
26694 [BZ #3268]
26695 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26696 fma tests.
26697 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26698 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26699 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26700 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26701 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26702 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26703 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26704
b833d51f
UD
267052010-10-12 Ulrich Drepper <drepper@redhat.com>
26706
26707 [BZ #12078]
26708 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26709 * posix/bug-regex31.input: Add test case.
26710
1751705d
UD
267112010-10-11 Ulrich Drepper <drepper@gmail.com>
26712
e9b9cbf5
UD
26713 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26714 * posix/bug-regex31.input: New file.
26715
26716 [BZ #12078]
26717 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26718 (parse_sub_exp): Fix last change, use postorder.
26719
ef06edbe
UD
26720 * posix/bug-regex31.c: New file.
26721 * posix/Makefile: Add rules to build and run bug-regex31.
26722
a129c80d
UD
26723 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26724
26725 [BZ #12078]
26726 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26727
b76b818e
UD
26728 [BZ #12108]
26729 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26730 to have entries in sys_siglist.
26731
1751705d
UD
26732 [BZ #12093]
26733 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26734 be NULL.
26735
9ff8d36f
JJ
267362010-10-07 Jakub Jelinek <jakub@redhat.com>
26737
26738 [BZ #3268]
26739 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26740 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26741 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26742 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26743 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26744 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26745 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26746 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26747 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26748 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26749 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26750 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26751 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26752 * math/ftestexcept.c (fetestexcept): Likewise.
26753 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26754 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26755 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26756 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26757 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26758 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26759 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26760
af325969
UD
267612010-10-11 Ulrich Drepper <drepper@gmail.com>
26762
c579b202 26763 [BZ #12107]
af325969
UD
26764 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26765 newline.
26766
67a67b95
UD
267672010-10-06 Ulrich Drepper <drepper@gmail.com>
26768
26769 * string/bug-strstr1.c: New file.
26770 * string/Makefile: Add rules to build and run bug-strstr1.
26771
5fb308bc
EB
267722010-10-05 Eric Blake <eblake@redhat.com>
26773
26774 [BZ #12092]
26775 * string/str-two-way.h (two_way_long_needle): Always clear memory
26776 when skipping input due to the shift table.
26777
45db99c7
UD
267782010-10-03 Ulrich Drepper <drepper@gmail.com>
26779
3b111893
UD
26780 [BZ #12005]
26781 * malloc/mcheck.c: Handle large requests.
26782
45db99c7
UD
26783 [BZ #12077]
26784 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26785 for strncmp and strncasecmp.
26786 * string/stratcliff.c: Add tests for strcmp and strncmp.
26787 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26788
cf7a1eb8
NI
267892010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26790
26791 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26792 __set_fpscr.
26793
6484ba5e
AJ
267942010-09-30 Andreas Jaeger <aj@suse.de>
26795
26796 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26797 (CGROUP_SUPER_MAGIC): Define.
26798 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26799 Handle btrfs and cgroup file systems.
26800 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26801 Likewise.
26802
91c42559
LM
268032010-09-27 Luis Machado <luisgpm@br.ibm.com>
26804
26805 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26806 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26807
87a97932
AK
268082010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26809
26810 [BZ #12067]
26811 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26812 trying to locate the ELF header.
26813
c21cc9bc
AS
268142010-09-27 Andreas Schwab <schwab@redhat.com>
26815
26816 [BZ #11611]
26817 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26818 Mask out sign-bit copies when constructing f_fsid.
26819
315970f6
PB
268202010-09-24 Petr Baudis <pasky@suse.cz>
26821
26822 * debug/stack_chk_fail_local.c: Add missing licence exception.
26823 * debug/warning-nop.c: Likewise.
26824
1ac7a2c7
JM
268252010-09-15 Joseph Myers <joseph@codesourcery.com>
26826
26827 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26828 implementing getdents64 using getdents syscall, set d_type if
26829 __ASSUME_GETDENTS32_D_TYPE.
26830
56801c50
AS
268312010-09-16 Andreas Schwab <schwab@redhat.com>
26832
26833 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26834 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26835
dda51327
UD
268362010-09-21 Ulrich Drepper <drepper@redhat.com>
26837
26838 [BZ #12037]
26839 * posix/unistd.h: Undo change of feature selection for ftruncate from
26840 2010-01-11.
26841
8ffcee4a
UD
268422010-09-20 Ulrich Drepper <drepper@redhat.com>
26843
a545ecd9 26844 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
26845 detection.
26846
e24f0a8b
AS
268472010-09-20 Andreas Schwab <schwab@redhat.com>
26848
26849 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26850 fanotify_mark.
26851 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26852
7291c56f
AS
268532010-09-14 Andreas Schwab <schwab@redhat.com>
26854
26855 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26856 variables after CHECK_SP call.
26857 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26858
bc5fb037
AS
268592010-09-13 Andreas Schwab <schwab@redhat.com>
26860 Ulrich Drepper <drepper@redhat.com>
26861
26862 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26863 re-relocationg ld.so.
26864 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26865 _dl_init_paths call.
26866 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26867 here anymore.
26868
e66e7419
UD
268692010-09-14 Ulrich Drepper <drepper@redhat.com>
26870
26871 * resolv/res_init.c (__res_vinit): Count the default server we added.
26872
c044aa75
CLT
268732010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26874 Ulrich Drepper <drepper@redhat.com>
26875
26876 [BZ #11968]
26877 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26878 (____longjmp_chk): Use %ebx for saving value across system call.
26879 Add unwind info.
26880
32cf4069
AS
268812010-09-06 Andreas Schwab <schwab@redhat.com>
26882
26883 * manual/Makefile: Don't mix pattern rules with normal rules.
26884
817328ee
AS
268852010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26886
26887 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26888 operation.
26889 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26890 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26891 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26892 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26893 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26894 Likewise.
26895
29fddf61
UD
268962010-09-04 Ulrich Drepper <drepper@redhat.com>
26897
26898 [BZ #11979]
26899 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26900 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26901
0959ffc9
UD
269022010-09-02 Ulrich Drepper <drepper@redhat.com>
26903
26904 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26905 * sysdeps/x86_64/addmul_1.S: Likewise.
26906 * sysdeps/x86_64/lshift.S: Likewise.
26907 * sysdeps/x86_64/mul_1.S: Likewise.
26908 * sysdeps/x86_64/rshift.S: Likewise.
26909 * sysdeps/x86_64/sub_n.S: Likewise.
26910 * sysdeps/x86_64/submul_1.S: Likewise.
26911
ece29840
ST
269122010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
26913
0959ffc9
UD
26914 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
26915 Define __sched_param instead of SCHED_* and sched_param when
ece29840 26916 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 26917 * bits/sched.h [__need_schedparam]
ece29840 26918 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
26919 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
26920 (__defined_schedparam): Define to 1.
ece29840
ST
26921 (__sched_param): New structure, identical to sched_param.
26922 (__need_schedparam): Undefine.
26923
e53a31fe
MF
269242010-08-31 Mike Frysinger <vapier@gentoo.org>
26925
fdc0c10d
MF
26926 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
26927 (epoll_create1): Declare.
26928
e53a31fe
MF
26929 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
26930
a726d796
AS
269312010-08-31 Andreas Schwab <schwab@redhat.com>
26932
26933 [BZ #7066]
26934 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
26935 shifting retval into place.
26936
2f3e3dc7
UD
269372010-09-01 Ulrich Drepper <drepper@redhat.com>
26938
f2933da9
UD
26939 * nis/rpcsvc/nis.h: Update copyright notice.
26940 * nis/rpcsvc/nis.x: Likewise.
26941 * nis/rpcsvc/nis_callback.h: Likewise.
26942 * nis/rpcsvc/nis_callback.x: Likewise.
26943 * nis/rpcsvc/nis_object.x: Likewise.
26944 * nis/rpcsvc/nis_tags.h: Likewise.
26945 * nis/rpcsvc/yp.h: Likewise.
26946 * nis/rpcsvc/yp.x: Likewise.
26947 * nis/rpcsvc/ypupd.h: Likewise.
26948 * nis/yp_xdr.c: Likewise.
26949 * nis/ypupdate_xdr.c: Likewise.
26950
2f3e3dc7
UD
26951 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
26952 mainly the body of pmap_getport. Add parameters to specify timeouts.
26953 (pmap_getport): Use __libc_rpc_getport.
26954 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
26955 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
26956 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
26957
f3dcc2f9
AS
269582010-08-31 Andreas Schwab <schwab@linux-m68k.org>
26959
26960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
26961 fanotify_mark.
26962
6d34eb5b
RM
269632010-08-27 Roland McGrath <roland@redhat.com>
26964
26965 * sysdeps/i386/i686/multiarch/Makefile
26966 (CFLAGS-varshift.c): New variable.
26967
9ea3de11
UD
269682010-08-27 Ulrich Drepper <drepper@redhat.com>
26969
c96d23fc
UD
26970 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
26971 * sysdeps/i386/i686/multiarch/varshift.c: New file.
26972
9ea3de11
UD
26973 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
26974
26975 * sysdeps/x86_64/strlen.S: Minimal code improvement.
26976
623aac7f
L
269772010-08-26 H.J. Lu <hongjiu.lu@intel.com>
26978
26979 * sysdeps/x86_64/strlen.S: Unroll the loop.
26980 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26981 strlen-sse2 strlen-sse2-bsf.
26982 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
26983 __strlen_no_bsf if bit_Slow_BSF is set.
26984 (__strlen_sse42): Removed.
26985 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
26986 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
26987
8b2b7715
RM
269882010-08-25 Roland McGrath <roland@redhat.com>
26989
26990 * sysdeps/x86_64/multiarch/varshift.S: File removed.
26991 * sysdeps/x86_64/multiarch/varshift.c: New file.
26992 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
26993 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
26994 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
26995 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26996
e73015f2
L
269972010-08-25 H.J. Lu <hongjiu.lu@intel.com>
26998
26999 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27000 strlen-sse2 strlen-sse2-bsf.
27001 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27002 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27003 (__strlen_sse2): Removed.
27004 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27005 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27006 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27007 bit_Slow_BSF for Atom.
27008 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27009 (index_Slow_BSF): Define.
27010 (HAS_SLOW_BSF): Define.
27011
df24a73e
UD
270122010-08-25 Ulrich Drepper <drepper@redhat.com>
27013
27014 [BZ #10851]
27015 * resolv/res_init.c (__res_vinit): When no server address at all
27016 is given default to loopback.
27017
f2ac4868
RM
270182010-08-24 Roland McGrath <roland@redhat.com>
27019
09055553
RM
27020 * configure.in: Remove config-name.h generation.
27021 * configure: Regenerated.
27022 * config-name.in: File removed.
27023 * scripts/config-uname.sh: New file.
27024 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27025 ($(objdir)config-name.h): New target.
27026
f2ac4868
RM
27027 * sunrpc/rpc_parse.h: Avoid nested comment.
27028
73f27d5e
RH
270292010-08-24 Richard Henderson <rth@redhat.com>
27030 Ulrich Drepper <drepper@redhat.com>
27031 H.J. Lu <hongjiu.lu@intel.com>
27032
27033 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27034 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27035 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27036 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27037 _mm_alignr_epi8 with _mm_loadu_si128.
27038 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27039 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27040 (__m128i_shift_right): Removed.
27041 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27042 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27043 * sysdeps/x86_64/multiarch/varshift.h: New file.
27044 * sysdeps/x86_64/multiarch/varshift.S: New file.
27045
84b9230c
MF
270462010-08-21 Mike Frysinger <vapier@gentoo.org>
27047
27048 * configure.in: Move assembler checks to before sysdep dir checking.
27049
9bbd0ddc
PB
270502010-08-20 Petr Baudis <pasky@suse.cz>
27051
27052 * LICENSES: Sync the sunrpc license.
27053
9da4bb31
UD
270542010-08-19 Ulrich Drepper <drepper@redhat.com>
27055
a7ab6ec8
UD
27056 * sunrpc/auth_des.c: Update copyright notice once again.
27057 * sunrpc/auth_none.c: Likewise.
27058 * sunrpc/auth_unix.c: Likewise.
27059 * sunrpc/authdes_prot.c: Likewise.
27060 * sunrpc/authuxprot.c: Likewise.
27061 * sunrpc/bindrsvprt.c: Likewise.
27062 * sunrpc/clnt_gen.c: Likewise.
27063 * sunrpc/clnt_perr.c: Likewise.
27064 * sunrpc/clnt_raw.c: Likewise.
27065 * sunrpc/clnt_simp.c: Likewise.
27066 * sunrpc/clnt_tcp.c: Likewise.
27067 * sunrpc/clnt_udp.c: Likewise.
27068 * sunrpc/clnt_unix.c: Likewise.
27069 * sunrpc/des_crypt.c: Likewise.
27070 * sunrpc/des_soft.c: Likewise.
27071 * sunrpc/get_myaddr.c: Likewise.
27072 * sunrpc/getrpcport.c: Likewise.
27073 * sunrpc/key_call.c: Likewise.
27074 * sunrpc/key_prot.c: Likewise.
27075 * sunrpc/openchild.c: Likewise.
27076 * sunrpc/pm_getmaps.c: Likewise.
27077 * sunrpc/pm_getport.c: Likewise.
27078 * sunrpc/pmap_clnt.c: Likewise.
27079 * sunrpc/pmap_prot.c: Likewise.
27080 * sunrpc/pmap_prot2.c: Likewise.
27081 * sunrpc/pmap_rmt.c: Likewise.
27082 * sunrpc/rpc/auth.h: Likewise.
27083 * sunrpc/rpc/auth_unix.h: Likewise.
27084 * sunrpc/rpc/clnt.h: Likewise.
27085 * sunrpc/rpc/des_crypt.h: Likewise.
27086 * sunrpc/rpc/key_prot.h: Likewise.
27087 * sunrpc/rpc/netdb.h: Likewise.
27088 * sunrpc/rpc/pmap_clnt.h: Likewise.
27089 * sunrpc/rpc/pmap_prot.h: Likewise.
27090 * sunrpc/rpc/pmap_rmt.h: Likewise.
27091 * sunrpc/rpc/rpc.h: Likewise.
27092 * sunrpc/rpc/rpc_des.h: Likewise.
27093 * sunrpc/rpc/rpc_msg.h: Likewise.
27094 * sunrpc/rpc/svc.h: Likewise.
27095 * sunrpc/rpc/svc_auth.h: Likewise.
27096 * sunrpc/rpc/types.h: Likewise.
27097 * sunrpc/rpc/xdr.h: Likewise.
27098 * sunrpc/rpc_clntout.c: Likewise.
27099 * sunrpc/rpc_cmsg.c: Likewise.
27100 * sunrpc/rpc_common.c: Likewise.
27101 * sunrpc/rpc_cout.c: Likewise.
27102 * sunrpc/rpc_dtable.c: Likewise.
27103 * sunrpc/rpc_hout.c: Likewise.
27104 * sunrpc/rpc_main.c: Likewise.
27105 * sunrpc/rpc_parse.c: Likewise.
27106 * sunrpc/rpc_parse.h: Likewise.
27107 * sunrpc/rpc_prot.c: Likewise.
27108 * sunrpc/rpc_sample.c: Likewise.
27109 * sunrpc/rpc_scan.c: Likewise.
27110 * sunrpc/rpc_scan.h: Likewise.
27111 * sunrpc/rpc_svcout.c: Likewise.
27112 * sunrpc/rpc_tblout.c: Likewise.
27113 * sunrpc/rpc_util.c: Likewise.
27114 * sunrpc/rpc_util.h: Likewise.
27115 * sunrpc/rpcinfo.c: Likewise.
27116 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27117 * sunrpc/rpcsvc/key_prot.x: Likewise.
27118 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27119 * sunrpc/rpcsvc/mount.x: Likewise.
27120 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27121 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27122 * sunrpc/rpcsvc/rex.x: Likewise.
27123 * sunrpc/rpcsvc/rstat.x: Likewise.
27124 * sunrpc/rpcsvc/rusers.x: Likewise.
27125 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27126 * sunrpc/rpcsvc/spray.x: Likewise.
27127 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27128 * sunrpc/rtime.c: Likewise.
27129 * sunrpc/svc.c: Likewise.
27130 * sunrpc/svc_auth.c: Likewise.
27131 * sunrpc/svc_authux.c: Likewise.
27132 * sunrpc/svc_raw.c: Likewise.
27133 * sunrpc/svc_run.c: Likewise.
27134 * sunrpc/svc_simple.c: Likewise.
27135 * sunrpc/svc_tcp.c: Likewise.
27136 * sunrpc/svc_udp.c: Likewise.
27137 * sunrpc/svc_unix.c: Likewise.
27138 * sunrpc/svcauth_des.c: Likewise.
27139 * sunrpc/xcrypt.c: Likewise.
27140 * sunrpc/xdr.c: Likewise.
27141 * sunrpc/xdr_array.c: Likewise.
27142 * sunrpc/xdr_float.c: Likewise.
27143 * sunrpc/xdr_mem.c: Likewise.
27144 * sunrpc/xdr_rec.c: Likewise.
27145 * sunrpc/xdr_ref.c: Likewise.
27146 * sunrpc/xdr_sizeof.c: Likewise.
27147 * sunrpc/xdr_stdio.c: Likewise.
27148
9da4bb31
UD
27149 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27150 handling.
27151
bdaa77bc
AS
271522010-08-19 Andreas Schwab <schwab@redhat.com>
27153
27154 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27155
fe2f79db
LM
271562010-08-19 Luis Machado <luisgpm@br.ibm.com>
27157
27158 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27159 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27160 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27161 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27162 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27163 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27164 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27165 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27166 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27167 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27168 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27169 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27170 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27171 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27172
b9b42ee0
AB
271732010-07-26 Anton Blanchard <anton@samba.org>
27174
27175 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27176 * malloc/arena.c (heap_trim): Likewise.
27177
1c06ba31
UD
271782010-08-16 Ulrich Drepper <drepper@redhat.com>
27179
27180 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27181 here. Not...
27182 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27183 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27184
f8392f40
L
271852010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27186
27187 * sysdeps/i386/elf/Makefile: New file.
27188
3162f12e
AS
271892010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27190
27191 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27192 from fanotify_init.
27193 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27194 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27195
28c90b2c
UD
271962010-08-15 Ulrich Drepper <drepper@redhat.com>
27197
27198 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27199 of strncasecmp_l.
1feccb6c 27200 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 27201
ca6bb004
UD
272022010-08-14 Ulrich Drepper <drepper@redhat.com>
27203
e9f82e0d
UD
27204 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27205 strncase_l-nonascii.
27206 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27207 Add strncase_l-ssse3.
27208 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27209 * sysdeps/x86_64/strcmp.S: Likewise.
27210 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27211 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27212 * sysdeps/x86_64/strncase.S: New file.
27213 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27214 * sysdeps/x86_64/strncase_l.S: New file.
27215 * string/Makefile (strop-tests): Add strncasecmp.
27216 * string/test-strncasecmp.c: New file.
27217
27218 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27219 warning.
27220
ca6bb004
UD
27221 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27222 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27223
052fa7b3
AS
272242010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27225
27226 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27227
962dba78
UD
272282010-08-12 Ulrich Drepper <drepper@redhat.com>
27229
27230 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27231 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27232 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27233
bebff237
AM
272342010-05-01 Alan Modra <amodra@gmail.com>
27235
27236 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27237 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27238 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27239 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27240 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27241 tidying. Don't tail-call __sigjmp_save for static lib.
27242 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27243 save location.
27244 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27245 (CALL_MCOUNT): Add eh info, and nop after bl.
27246 (TAIL_CALL_SYSCALL_ERROR): New macro.
27247 (PSEUDO_RET): Use it.
27248 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27249 Correct save location of integer regs and cr.
27250 (_dl_profile_resolve): Correct cr save location. Delete nops
27251 after bl when SHARED. Reduce cfi size a little by better
27252 placement of cfi directives.
27253 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27254 make a stack frame. Instead use parm save area as a temp.
27255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27256 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27258 Don't make a stack frame for parent, use parm save area.
27259 Increase child stack frame to 112 bytes. Don't save unused reg,
27260 and adjust reg usage. Set up cfi on error recovery and
27261 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27263 (__makecontext): Add dummy nop after jump to exit.
27264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27265 Use correct parm save area and cr save, reduce stack frame.
27266 Correct cfi for possible PSEUDO_RET frame setup.
27267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27268 Branch to local label emitted by PSEUDO_RET rather than
27269 __syscall_error.
27270
02637374
AS
272712010-08-12 Andreas Schwab <schwab@redhat.com>
27272
27273 [BZ #11904]
27274 * locale/programs/locale.c (print_assignment): New function.
27275 (show_locale_vars): Use it.
27276
c3e2f19b
UD
272772010-08-11 Ulrich Drepper <drepper@redhat.com>
27278
3cdaa6ad
UD
27279 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27280 field.
27281 (struct statfs64): Likewise.
27282 (_STATFS_F_FLAGS): Define.
27283 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27284 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27285 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27286 (ST_VALID): Define locally.
27287 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27288 __statvfs_getflags, use the provided value.
27289 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27290 __ASSUME_STATFS_F_FLAGS.
27291
754f7da3
UD
27292 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27293
10b3bedc
UD
27294 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27295 Add sys/fanotify.h.
27296 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27297 fanotify_mask for GLIBC_2.13.
27298 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27299 fanotify_init and fanotify_mark.
27300 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27301 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27302
c08fb0d7
UD
27303 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27304 Add prlimit.
27305 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27306 prlimit64 for GLIBC_2.13.
27307 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27308 prlimit64.
27309 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27310 syscall.
27311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27312 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27313 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27314 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27315 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27316 add prlimit alias.
27317 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27318
15bac72b
UD
27319 [BZ #11903]
27320 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27321 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27322
c3e2f19b
UD
27323 * nss/Makefile: Add rules to build and run tst-nss-test1.
27324 * shlib-versions: Add entry for libnss_test1.
27325 * nss/nss_test1.c: New file.
27326 * nss/tst-nss-test1.c: New file.
27327
27328 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27329 (__nss_configure_lookup): Set appropriate entry in
27330 __nss_configure_lookup to true.
27331 * nss/nsswitch.h: Define enum with indeces of databases in
27332 databases and __nss_database_custom arrays. Declare
27333 __nss_database_custom.
27334 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27335 to avoid using nscd when custom rules are installed.
27336 * nss/getXXbyYY_r.c: Likewise.
27337 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27338
27339 * nss/nss_files/files-parse.c: Whitespace fixes.
27340
f15ce4d8
UD
273412010-08-09 Ulrich Drepper <drepper@redhat.com>
27342
27343 [BZ #11883]
27344 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27345 * posix/fnmatch_loop.c: Likewise.
27346
d22e4cc9
AK
273472010-07-17 Andi Kleen <ak@linux.intel.com>
27348
27349 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27350 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27351 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27352 * Versions.def [GLIBC_2.13]: Add.
27353
805bc17d
UD
273542010-08-06 Ulrich Drepper <drepper@redhat.com>
27355
27356 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27357 Also fail if tpwd after pwuid call is NULL.
27358
5a42321d
ST
273592010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27360
27361 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27362 when converting to ms.
27363
fd3ebeda
ST
273642010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27365
27366 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27367 EOPNOTSUPP errors with ENOTTY.
27368 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27369 EOPNOTSUPP errors with ENOTTY.
27370
73507d3a
UD
273712010-07-31 Ulrich Drepper <drepper@redhat.com>
27372
27373 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27374 Add strcasecmp_l-ssse3.
27375 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27376 strcasecmp.
27377 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27378 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27379 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27380
fe36dd02
UD
273812010-07-30 Ulrich Drepper <drepper@redhat.com>
27382
66f6765a
UD
27383 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27384
42e08a54
UD
27385 * string/Makefile (strop-tests): Add strcasecmp.
27386 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27387 strcasecmp_l-nonascii.
27388 (gen-as-const-headers): Add locale-defines.sym.
27389 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27390 * sysdeps/x86_64/strcasecmp.S: New file.
27391 * sysdeps/x86_64/strcasecmp_l.S: New file.
27392 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27393 * sysdeps/x86_64/locale-defines.sym: New file.
27394 * string/test-strcasecmp.c: New file.
27395
fe36dd02
UD
27396 * string/test-strcasestr.c: Test both ends of the range of characters.
27397 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27398
48cbc0d6
RM
273992010-07-29 Roland McGrath <roland@redhat.com>
27400
76e6d6bc 27401 [BZ #11856]
48cbc0d6
RM
27402 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27403
880113d9
UD
274042010-07-27 Ulrich Drepper <drepper@redhat.com>
27405
27406 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27407 for ld.so.
27408
deb9cabb
AS
274092010-07-27 Andreas Schwab <schwab@redhat.com>
27410
27411 * manual/memory.texi (Malloc Tunable Parameters): Document
27412 M_PERTURB.
27413
1c7570ff
RM
274142010-07-26 Roland McGrath <roland@redhat.com>
27415
27416 [BZ #11840]
27417 * configure.in (-fgnu89-inline check): Set and substitute
27418 gnu89_inline, not libc_cv_gnu89_inline.
27419 * configure: Regenerated.
27420 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27421
24fb0f88
UD
274222010-07-26 Ulrich Drepper <drepper@redhat.com>
27423
27424 * string/test-strnlen.c: New file.
27425 * string/Makefile (strop-tests): Add strnlen.
27426 * string/tester.c (test_strnlen): Add a few more test cases.
27427 * string/tst-strlen.c: Better error reporting.
27428
27429 * sysdeps/x86_64/strnlen.S: New file.
27430
8e96b93a
UD
274312010-07-24 Ulrich Drepper <drepper@redhat.com>
27432
27433 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27434 lower-latency instructions.
27435
dbc676d4
UD
274362010-07-23 Ulrich Drepper <drepper@redhat.com>
27437
27438 * string/test-strcasestr.c: New file.
27439 * string/test-strstr.c: New file.
27440 * string/Makefile (strop-tests): Add strstr and strcasestr.
27441 * string/str-two-way.h: Don't undefine MAX.
27442 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27443
f6a31e0e
AS
274442010-07-21 Andreas Schwab <schwab@redhat.com>
27445
27446 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27447 strcasestr-nonascii.
27448 (CFLAGS-strcasestr-nonascii.c): Define.
27449 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27450 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27451 Remove unused attribute.
27452
5dbc3b6c
RM
274532010-07-20 Roland McGrath <roland@redhat.com>
27454
27455 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27456 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27457 ld.so.cache was broken. With it, there is no way to disable dsocaps
27458 like LD_HWCAP_MASK can disable hwcaps.
27459
23d101d8
EPM
274602010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27461
27462 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27463
cc9f2e47
UD
274642010-07-16 Ulrich Drepper <drepper@redhat.com>
27465
27466 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27467 call in strcasestr.
27468 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27469 __strcasestr_sse42_nonascii.
27470 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27471 strcasestr-nonascii.c.
27472 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27473
77c1b069
LM
274742010-06-15 Luis Machado <luisgpm@br.ibm.com>
27475
27476 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27477 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27478 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27479 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27480
440566c3
UD
274812010-07-09 Ulrich Drepper <drepper@redhat.com>
27482
27483 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27484 fcntl.
27485
5be9d05d
AS
274862010-07-06 Andreas Schwab <schwab@redhat.com>
27487
c30b7ee2 27488 [BZ #11577]
5be9d05d
AS
27489 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27490 dl_signal_cerror.
27491
8a492a67
UD
274922010-07-06 Ulrich Drepper <drepper@redhat.com>
27493
27494 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27495 _PC_PIPE_BUF using F_GETPIPE_SZ.
27496
713df3d5
RM
274972010-07-05 Roland McGrath <roland@redhat.com>
27498
27499 * manual/arith.texi (Rounding Functions): Fix rint description
27500 implicit in round description.
27501
702e8f14
UD
275022010-07-02 Ulrich Drepper <drepper@redhat.com>
27503
27504 * elf/Makefile: Fix linking for a few tests to make recent linker
27505 happy.
27506
52ed8be9
AS
275072010-06-30 Andreas Schwab <schwab@redhat.com>
27508
27509 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27510 $(common-objpfx)libc_nonshared.a.
27511
f47c9a11
LM
275122010-06-21 Luis Machado <luisgpm@br.ibm.com>
27513
27514 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27515 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27516 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27517 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27518 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27519 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27520 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27521 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27536 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27537 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27538 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27539 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27540 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27541 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27542 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27543 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27544 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27545 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27546 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27547 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27562
6fb8cbcb
L
275632010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27564
27565 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27566 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27567 * string/memmove.c (memmove): Renamed to ...
27568 (MEMMOVE): ...this. Default to memmove.
27569 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27570 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27571 (END_CHK): Define.
27572 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27573 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27574 mempcpy-ssse3-back memmove-ssse3-back.
27575 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27576 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27577 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27578 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27579 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27580 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27581 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27582 * sysdeps/x86_64/multiarch/memmove.c: New file.
27583 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27584 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27585 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27586 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27587 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27588 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27589 Define.
27590 (index_Fast_Copy_Backward): Define.
27591 (HAS_ARCH_FEATURE): Define.
27592 (HAS_FAST_REP_STRING): Define.
27593 (HAS_FAST_COPY_BACKWARD): Define.
27594
4e733bac 275952010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
27596
27597 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27598 Restore proper fallback handling.
27599
63c4ed22
UD
276002010-06-19 Ulrich Drepper <drepper@redhat.com>
27601
ac2b484c
UD
27602 [BZ #11701]
27603 * posix/group_member.c (__group_member): Correct checking loop.
27604
63c4ed22
UD
27605 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27606 OOM in getpwuid_r correctly. Return error number when the caller
27607 should return, otherwise -1.
27608 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27609 call returning > 0 value.
27610 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27611
765ade4b
AS
276122010-06-07 Andreas Schwab <schwab@redhat.com>
27613
27614 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27615 libc_nonshared.a from targets in modules-names.
27616
80da2e09
KS
276172010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27618
27619 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27620 requires it.
27621
158db122
LM
276222010-06-10 Luis Machado <luisgpm@br.ibm.com>
27623
27624 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27625 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27626 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27627 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27628
caa78cf8
AS
276292010-06-02 Andreas Schwab <schwab@redhat.com>
27630
27631 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27632
b2ef2c01
UD
276332010-06-14 Ulrich Drepper <drepper@redhat.com>
27634
27635 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27636 and F_GETPIPE_SZ.
27637 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27638 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27639 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27640 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27641 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27642 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27643
fbd643b6
RM
276442010-06-14 Roland McGrath <roland@redhat.com>
27645
27646 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27647
f32f2869
JJ
276482010-06-07 Jakub Jelinek <jakub@redhat.com>
27649
27650 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27651 __REDIRECT followed by __THROW.
27652 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27653 * posix/getopt.h (getopt): Likewise.
27654
2a50c078
EPM
276552010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27656
27657 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27658 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27659 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27660 in AT_FLAGS.
27661 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27662 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27663
eb5ad2eb
LM
276642010-05-28 Luis Machado <luisgpm@br.ibm.com>
27665
27666 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27667
3c88fe1e
L
276682010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27669
27670 [BZ #11640]
27671 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27672 Properly check family and model.
27673
d2f73151
TY
276742010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27675
27676 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27677
ebd2e13d
LM
276782010-05-24 Luis Machado <luisgpm@br.ibm.com>
27679
27680 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27681
b32b8b45
UD
276822010-05-21 Ulrich Drepper <drepper@redhat.com>
27683
27684 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27685 symbol reference.
27686
9acbe24d
AS
276872010-05-19 Andreas Schwab <schwab@redhat.com>
27688
27689 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27690 symbol reference.
27691
f0ccf6ea
AS
276922010-05-21 Andreas Schwab <schwab@redhat.com>
27693
3d04ff3a
AS
27694 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27695 and internal_recvmmsg.
27696 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27697 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27698 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27699 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27700
f0ccf6ea
AS
27701 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27702 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27703 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27704
5b08ac57
AS
277052010-05-20 Andreas Schwab <schwab@redhat.com>
27706
27707 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27708
4828935d
LM
277092010-05-17 Luis Machado <luisgpm@br.ibm.com>
27710
27711 POWER7 optimizations.
27712 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27713 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27714
373d545e
UD
277152010-05-19 Ulrich Drepper <drepper@redhat.com>
27716
27717 * version.h: Update for 2.13 development version.
27718
21a2b1ae
AS
277192010-05-12 Andrew Stubbs <ams@codesourcery.com>
27720
27721 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27722 exceptions. Return 0.
27723
3f7dcb2b
RM
277242010-05-07 Roland McGrath <roland@redhat.com>
27725
27726 * elf/ldconfig.c (main): Add a const.
27727
5f24d53a 277282010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 27729
a160f8d8
UD
27730 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27731 (args_options): Add no-idn option.
27732 (ahosts_keys_int): Add idn_flags to ai_flags.
27733 (parse_option): Handle 'i' option to clear idn_flags.
27734
5f24d53a
UD
27735 * malloc/malloc.c (_int_free): Possible race in the most recently
27736 added check. Only act on the data if no current modification
27737 happened.
265bb1ce
UD
27738
27739See ChangeLog.17 for earlier changes.
This page took 3.432999 seconds and 5 git commands to generate.