]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add target bench-clean
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a2964074
SP
12013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2
3 * Makefile.in (bench-clean): New target.
4 * benchtests/Makefile (bench-clean): Likewise.
5
9fbf9aca
DH
62013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7
8 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9
207d1e2a
TS
102013-04-15 Thomas Schwinge <thomas@codesourcery.com>
11
12 * stdio-common/tstdiomisc.c: Fix coding-style violation.
13
306dfba9
AS
142013-04-15 Andreas Schwab <schwab@suse.de>
15
16 * nscd/grpcache.c (cache_addgr): Properly check for short write.
17 * nscd/initgrcache.c (addinitgroupsX): Likewise.
18 * nscd/pwdcache.c (cache_addpw): Likewise.
19 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
20 more than recsize.
21
206a6699
SP
222013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23
24 * benchtests/Makefile (bench): Write all output to
25 bench-out.tmp together.
26
0582f6b3
AS
272013-04-15 Andreas Schwab <schwab@suse.de>
28
29 * nscd/nscd.c (main): Don't fork again after closing files.
30
acb4325f
SP
312013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32
5cb26d0a
SP
33 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
34
acb4325f
SP
35 * benchtests/Rules (bench-deps): Collect dependencies into a
36 single variable. Add Makefile to dependencies.
37 ($(objpfx)bench-%.c): Depend on bench-deps.
38
47792506
RM
392013-04-12 Roland McGrath <roland@hack.frob.com>
40 Xavier Roche <roche+kml2@exalead.com>
41
42 [BZ #15361]
43 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
44 just that it's a file descriptor.
45 * manual/llio.texi (Synchronizing AIO Operations): Update description
46 for EBADF error from aio_fsync.
47
8fc1bee5
SP
482013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
49
50 * Rules (bench): Move target definition...
51 * benchtests/Makefile: ... here.
52
aba5e333
CD
532013-04-11 Carlos O'Donell <carlos@redhat.com>
54
55 * math/libm-test.inc (cos_test): Fix PI/2 test.
56 (sincos_test): Likewise.
57 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
58 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
59
273cdee8
AS
602013-04-11 Andreas Schwab <schwab@suse.de>
61
6ecec3b6
AS
62 [BZ #13988]
63 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
64 accept exponent character only when digits were seen.
65 * stdio-common/Makefile (tests): Add bug26.
66 * stdio-common/bug26.c: New file.
67
273cdee8
AS
68 [BZ #14293]
69 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
70 non-freeable.
71
8da491f5
SP
722013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
73
01dc6df9
SP
74 * Makeconfig (rtld-prefix): Define built linker prefix.
75 * Rules (run-bench): Use it.
76 * math/Makefile (run-regen-ulps): Likewise.
77
8da491f5
SP
78 * Rules (bench): Remove eval.
79
abe7f530
SP
802013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
81 Roland McGrath <roland@hack.frob.com>
82 Ondrej Bilka <neleai@seznam.cz>
83
84 [BZ #15346]
85 * time/getdate.c: Include ctype.h and alloca.h.
86 (__getdate_r): Trim leading and trailing spaces of input.
87 * time/tst-getdate.c (tests): Add tests with leading and
88 trailing spaces.
89
61c23e62
RM
902013-04-08 Roland McGrath <roland@hack.frob.com>
91
92 [BZ #14280]
93 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
94 when computing value.
95
7208a313
CD
962013-04-06 Carlos O'Donell <carlos@redhat.com>
97
085b2d41
CD
98 * math/README.libm-test (How can I generate "libm-test-ulps"?):
99 Use testrun.sh to run libm tests.
100
7208a313
CD
101 [BZ #15309]
102 * elf/dl-open.c (dl_open_worker): memset all of seen array.
103
872c0acd
MM
1042013-04-06 Marko Myllynen <myllynen@redhat.com>
105
106 [BZ #15264]
107 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
108
26510bdd
CD
1092013-04-06 Carlos O'Donell <carlos@redhat.com>
110
111 * Makefile.in (regen-ulps): New target.
112 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
113 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
114 [ifneq (no,$(PERL)] (regen-ulps): New target.
115 [ifeq (no,$(PERL)] (regen-ulps): New target.
116 * math/libm-test.inc (ulps_file_name): Define.
117 (output_dir): New variable.
118 (options): Add "output-dir" option.
119 (parse_opt): Handle 'o' case.
120 (main): If output_dir is non-NULL use it as a prefix
121 otherwise use "".
122 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
123
a01f19c8
CD
1242013-04-06 Carlos O'Donell <carlos@redhat.com>
125
126 [BZ #10060, #10062]
127 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
128 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
129 fail configure if __sync_val_compare_and_swap is not inlined.
130 * sysdeps/i386/configure: Regenerate.
131 * configure.in: Build for i686 when configured for i386.
132 * configure: Regenerate.
133 * README: Remove i386 reference.
134
b7a329a5
CD
1352013-04-06 Carlos O'Donell <carlos@redhat.com>
136
137 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
138 * sysdeps/s390/s390-64/sysdep.h: Likewise.
139
bf0f50df
TS
1402013-04-05 Thomas Schwinge <thomas@codesourcery.com>
141
ee091edf
TS
142 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
143 (lmsnanval): New variables.
144 (F): Add conversion tests.
145 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
146 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
147
a8b792d6
TS
148 * stdio-common/tstdiomisc.c (F): Properly collect individual
149 tests' results.
150
a1cbf437
TS
151 [BZ #14686, #15336]
152 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
153 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
154 Instead, use input NaN values or generate a qNaN by arithmetic
155 operation. Also fix bugs to comply with the standard.
156 * math/libm-test.inc (remainder_test): Add more tests.
157
8b43a0c9
TS
158 [BZ #15335, #15342]
159 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
160 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
161 input NaN values or generate a qNaN by arithmetic operation.
162
d91da4ce
TS
163 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
164 unreachable code.
165
bf0f50df
TS
166 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
167 definitions.
168
05e166c8
JM
1692013-04-03 Joseph Myers <joseph@codesourcery.com>
170
171 [BZ #14478]
172 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
173 underflowed result.
174 * math/s_cexpf.c (__cexpf): Likewise.
175 * math/s_cexpl.c (__cexpl): Likewise.
176 * math/libm-test.inc (cexp_test): Add more tests.
177
1cef1b19
AS
1782013-04-03 Andreas Schwab <schwab@suse.de>
179
180 [BZ #15330]
181 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
182 order arrays from heap if bigger than alloca cutoff.
183
74d87055
TS
1842013-04-03 Thomas Schwinge <thomas@codesourcery.com>
185
186 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
187 (SNAN_TESTS_double): Refer to GCC PR56831.
188 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
189 GCC PR56828.
190
d755bba4
SP
1912013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
192
90d5d5bb
SP
193 * Rules (bench): Move bench.out after the run is complete.
194
73e0cd5d
SP
195 * Rules (bench): Echo currently running benchmark.
196
64aabd4b
SP
197 * benchtests/Makefile (bench): Add atan and slowatan.
198 * benchtests/atan-inputs: New file.
199 * benchtests/slowatan-inputs: New file.
200 * benchtests/slowatan.c: New file.
201
c871eccd
SP
202 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
203 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
204 its value.
205
d755bba4
SP
206 [BZ #15305]
207 * sysdeps/unix/sysv/linux/kernel-features.h
208 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
209 __ASSUME_XFS_RESTRICTED_CHOWN.
210 * sysdeps/unix/sysv/linux/pathconf.c
211 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
212 Save and restore errno.
213
52ce4860
JM
2142013-04-02 Joseph Myers <joseph@codesourcery.com>
215
216 [BZ #15327]
217 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
218 arguments using __kernel_casinh.
219 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
220 arguments using __kernel_casinhf.
221 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
222 arguments using __kernel_casinhl.
223 * math/libm-test.inc (cacosh_test): Add more tests.
224 * sysdeps/i386/fpu/libm-test-ulps: Update.
225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
226
81f311c2
SP
2272013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
228
e7906a47
SP
229 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
230 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
231
92e3664b
SP
232 * bench/Makefile (bench): Add sin and slowsin.
233 * benchtests/sin-inputs: New file.
234 * benchtests/slowsin-inputs: New file.
235 * benchtests/slowsin.c: New file.
236
81f311c2
SP
237 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
238 (bench): Add slowexp and slowpow.
239 (exp-ITER): Increase iterations.
240 (pow-ITER): Likewise.
241 * benchtests/exp-inputs: Change input.
242 * benchtests/pow-inputs: Likewise.
243 * benchtests/slowexp-inputs: New file.
244 * benchtests/slowexp.c: New file.
245 * benchtests/slowpow-inputs: New file.
246 * benchtests/slowpow.c: New file.
247
ab0f1aa9
AZ
2482013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
249
250 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
251 instructions.
252 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
253 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
254 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
255 * benchtests/Makefile: Add rint benchtest.
256 * benchtests/rint-inputs: Input for rint benchtest.
257
57267616
TS
2582013-04-02 Thomas Schwinge <thomas@codesourcery.com>
259
260 * Versions.def (libm): Add GLIBC_2.18.
261 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
262 hidden libm prototypes.
263 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
264 * math/Makefile (libm-calls): Add s_issignaling.
265 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
266 __issignalingf, __issignalingl. Adjust all libm.abilist files.
267 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
268 declaration.
269 * math/math.h [__USE_GNU] (issignaling): New macro.
270 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
271 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
272 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
273 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
274 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
275 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
276 * manual/arith.texi (issignaling): New section.
277 * manual/libm-err-tab.pl (@all_functions): Update comment.
278 * math/gen-libm-test.pl (parse_args): Apply special handling for
279 issignaling.
280 * math/libm-test.inc (print_float, issignaling_test): New
281 functions.
282 (check_float_internal): Add issignaling checks.
283 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
284 default definition.
285 * sysdeps/powerpc/math-tests.h: New file.
286 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
287 tests.
288 * math/test-snan.c (TEST_FUNC): Likewise.
289
6142896d
DM
2902013-03-30 David S. Miller <davem@davemloft.net>
291
292 * po/de.po: Update from translation team.
293
ccc8cadf
JM
2942013-03-30 Joseph Myers <joseph@codesourcery.com>
295
296 [BZ #10357]
297 * math/k_casinh.c (__kernel_casinh): Handle arguments with
298 imaginary part less than 1.0 and real part less than 0.5
299 specially.
300 * math/k_casinhf.c (__kernel_casinhf): Likewise.
301 * math/k_casinhl.c (__kernel_casinhl): Likewise.
302 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
303 (cacos_test): Add more tests.
304 (casin_test): Likewise.
305 (casinh_test): Likewise.
306 * sysdeps/i386/fpu/libm-test-ulps: Update.
307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
308
0f6a8d4b
SP
3092013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
310
0d1029de
SP
311 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
312 ONE with its value.
313
c2d94018
SP
314 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
315 (__pow_mp): Replace ONE and MONE with their values.
316 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
317 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
318 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
319 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
320 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
321 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
322
27ec37f1
SP
323 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
324
a64d7e0e
SP
325 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
326 (__pow_mp): Replace ZERO and MZERO with their values.
327 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
328 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
329 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
330 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
331 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
332 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
333 (__sqr): Likewise.
334
d26dd3eb
SP
335 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
336
0f6a8d4b
SP
337 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
338
e57b0c61
RM
3392013-03-28 Roland McGrath <roland@hack.frob.com>
340
341 * include/stdlib.h [!SHARED] (__call_tls_dtors):
342 Declare with __attribute__ ((weak)).
343 * stdlib/exit.c (__libc_atexit) [!SHARED]:
344 Call __call_tls_dtors only if it's not NULL.
345
356b3480
RM
3462013-03-28 Roland McGrath <roland@hack.frob.com>
347
288f7d79
RM
348 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
349 didn't do it already, then set _dl_phdr and _dl_phnum based on the
350 magic __ehdr_start linker symbol if it's defined.
351 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
352 them up here if it was already done.
353
dc0a0263
RM
354 * elf/dl-support.c (_dl_phdr): Make pointer to const.
355 (_dl_aux_init): Use const in cast when setting it.
356 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
357 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
358 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
359
3d3436ae
RM
360 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
361 Declare them here.
362 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
363 * csu/libc-tls.c: Nor here.
364 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
365
356b3480
RM
366 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
367 (__libc_message): Never call vsyslog.
368
b0f1246a
AM
3692013-03-28 Alan Modra <amodra@gmail.com>
370
371 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
372 Define as empty.
373 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
374 Likewise.
375
fbbe2b9a
AZ
3762013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
377
378 [BZ #15214]
379 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
380 underflow.
381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
382
1728ab37
SP
3832013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
384
7a86be6e
SP
385 [BZ #15304]
386 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
387 Don't add gid passed as argument.
388
1728ab37
SP
389 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
390
3a7182a1
JM
3912013-03-27 Joseph Myers <joseph@codesourcery.com>
392
393 [BZ #15307]
394 * math/k_casinh.c (__kernel_casinh): Handle arguments with
395 imaginary part between 1.0 and 1.5 and real part less than 0.5
396 specially.
397 * math/k_casinhf.c (__kernel_casinhf): Likewise.
398 * math/k_casinhl.c (__kernel_casinhl): Likewise.
399 * math/libm-test.inc (cacos_test): Add more tests.
400 (casin_test): Likewise.
401 (casinh_test): Likewise.
402 * sysdeps/i386/fpu/libm-test-ulps: Update.
403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
404
6f2e90e7
SP
4052013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
406
5739f705
SP
407 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
408 constants.
409 (norm): Likewise.
410 (denorm): Likewise.
411 (__dbl_mp): Likewise.
412 (add_magnitudes): Likewise.
413 (sub_magnitudes): Likewise.
414 (__add): Likewise.
415 (__sub): Likewise.
416 (__mul): Likewise.
417 (__sqr): Likewise.
418 (__inv): Likewise.
419 (__dvd): Likewise.
420
e375e83d
SP
421 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
422 commented code.
423 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
424 (__dubcos): Likewise.
425 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
426 (__ieee754_acos): Likewise.
427 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
428 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
429 (__exp1): Likewise.
430 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
431 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
432 (log1): Likewise.
433 (my_log2): Likewise.
434 (checkint): Likewise.
435 * sysdeps/ieee754/dbl-64/e_remainder.c
436 (__ieee754_remainder): Likewise.
437 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
438 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
439 (bsloww): Likewise.
440 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
441
6f2e90e7
SP
442 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
443 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
444 MANTISSA_STORE_T to store computations on mantissa. Use
445 macros for rounding and division.
446 (denorm): Likewise.
447 (__dbl_mp): Likewise.
448 (add_magnitudes): Likewise.
449 (sub_magnitudes): Likewise.
450 (__mul): Likewise.
451 (__sqr): Likewise.
452 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
453 powers of two in terms of TWOPOW macro.
454 (mp_no): Make type of mantissa as MANTISSA_T.
455 [!RADIXI]: Define RADIXI.
456 [!TWO52]: Define TWO52.
457 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
458
fce14d4e
AZ
4592013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
460
461 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
462 llroundl symbol when building for PPC32.
463
9ad027fb
MW
4642013-03-24 Mark H Weaver <mhw@netris.org>
465
466 * manual/arith.texi (Normalization Functions): Fix prototypes for
467 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
468
e42a38dd
AZ
4692013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
470
471 [BZ #13889]
472 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
473 high value to check if expl overflow.
474 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
475 to check for underflow and overflow.
476 * math/libm-test.inc: Add exp test.
477
2e0fb521
DL
4782013-03-21 Dmitry V. Levin <ldv@altlinux.org>
479
480 [BZ #11120]
481 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
482 with NOT_IN_libc.
483
b5784d95
AZ
4842013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
485
486 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
487 symbol.
488
5aa4a1a1
TS
4892013-03-21 Thomas Schwinge <thomas@codesourcery.com>
490
bdef0be7
TS
491 * math/gen-libm-test.pl (parse_args, special_functions): Properly
492 wrap blocks consisting of several statements.
493
5aa4a1a1
TS
494 * sysdeps/generic/math-tests.h: New file.
495 * sysdeps/i386/fpu/math-tests.h: Likewise.
496 * math/test-snan.c: Include it.
497 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
498
98c48fe5
JM
4992013-03-21 Joseph Myers <joseph@codesourcery.com>
500
501 [BZ #15285]
502 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
503 (__ieee754_j0l): Do not improve calculations using cos of twice
504 input for inputs above LDBL_MAX / 2.0L.
505 (__ieee754_y0l): Likewise.
506 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
507 (__ieee754_j1l): Do not improve calculations using cos of twice
508 input for inputs above LDBL_MAX / 2.0L.
509 (__ieee754_y1l): Likewise.
510 * math/libm-test.inc (j0_test): Add another test.
511 (j1_test): Likewise.
512 (y0_test): Likewise.
513 (y1_test): Likewise.
514 * sysdeps/i386/fpu/libm-test-ulps: Update.
515
3775a8bc
SP
5162013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
517
518 * Rules ($(objpfx)bench-%.c): Include code from a C source
519 file.
520
0a1b2ae6
JM
5212013-03-21 Joseph Myers <joseph@codesourcery.com>
522
523 [BZ #15287]
524 * math/k_casinh.c (__kernel_casinh): Handle arguments with
525 imaginary part 1.0 and real part less than 0.5 specially.
526 * math/k_casinhf.c (__kernel_casinhf): Likewise.
527 * math/k_casinhl.c (__kernel_casinhl): Likewise.
528 * math/libm-test.inc (cacos_test): Add more tests.
529 (casin_test): Likewise.
530 (casinh_test): Likewise.
531 * sysdeps/i386/fpu/libm-test-ulps: Update.
532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
533
b33d4ce4
SP
5342013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
535
536 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
537 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
538
bef0b507
JM
5392013-03-20 Joseph Myers <joseph@codesourcery.com>
540
541 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
542 * config.make.in (config-cflags-sse4): Remove variable.
543 (config-cflags-avx): Likewise.
544 (config-cflags-sse2avx): Likewise.
545 (config-cflags-novzeroupper): Likewise.
546 (config-asflags-i686): Likewise.
547 (have-mfma4): Likewise.
548 (have-as-vis3): Likewise.
549 (MIG): Likewise.
550 * configure.in (MIG): Do not AC_SUBST.
551 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
552 (libc_cv_cc_sse4): Do not AC_SUBST.
553 (libc_cv_cc_avx): Likewise.
554 (libc_cv_cc_sse2avx): Likewise.
555 (libc_cv_cc_novzeroupper): Likewise.
556 (libc_cv_cc_fma4): Likewise.
557 (libc_cv_as_i686): Likewise.
558 (libc_cv_sparc_as_vis3): Likewise.
559 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
560 LIBC_CONFIG_VAR.
561 (config-asflags-i686): Likewise.
562 (config-cflags-avx): Likewise.
563 (config-cflags-sse2avx): Likewise.
564 (have-mfma4): Likewise.
565 (config-cflags-novzeroupper): Likewise.
566 * sysdeps/mach/configure.in (MIG): Likewise.
567 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
568 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
569 LIBC_CONFIG_VAR.
570 (config-cflags-avx): Likewise.
571 (config-cflags-sse2avx): Likewise.
572 (have-mfma4): Likewise.
573 (config-cflags-novzeroupper): Likewise.
574 * configure: Regenerated.
575 * sysdeps/i386/configure: Likewise.
576 * sysdeps/mach/configure: Likewise.
577 * sysdeps/sparc/configure: Likewise.
578 * sysdeps/x86_64/configure: Likewise.
579
912cc4b3
RM
5802013-03-20 Roland McGrath <roland@hack.frob.com>
581
582 [BZ #14812]
583 * locale/programs/localedef.c (options): Put N_ translation marker
584 on argument names, not just descriptions.
585
04eed2b0
MS
5862013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
587
588 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
589
a065ceff
OB
5902013-03-20 Ondřej Bílka <neleai@seznam.cz>
591
9bb2a810 592 [BZ #14176]
a065ceff
OB
593 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
594
a600e5ce
RM
5952013-03-19 Roland McGrath <roland@hack.frob.com>
596
597 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
598 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
599 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
600 [!BEFORE_ABORT] (before_abort): New function.
601 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
602 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
603 (writev_for_fatal): New function.
604 (WRITEV_FOR_FATAL): New macro; call that.
605 (backtrace_and_maps): New function.
606 (BEFORE_ABORT): New macro; call that.
607 (struct str_list): Type removed.
608 (__libc_message, __libc_fatal): Functions removed.
609 Include <sysdeps/posix/libc_fatal.c> instead.
610
6b18bea6
JM
6112013-03-19 Joseph Myers <joseph@codesourcery.com>
612
613 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
614 constants.
615 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
616 double constants.
617
aaa8cb4b
AS
6182013-03-19 Andreas Schwab <schwab@suse.de>
619
44673770
AS
620 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
621 * sysdeps/gnu/configure: Regenerate.
622
aaa8cb4b
AS
623 * configure.in: Substitute libc_cv_rtlddir.
624 * configure: Regenerate.
625 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
626 * Makeconfig (rtlddir, inst_rtlddir): New variables.
627 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
628 * elf/Makefile (install-others, CFLAGS-interp.c)
629 (ldso_install, common-ldd-rewrite): Likewise.
630 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
631 $(inst_slibdir)/$(rtld-installed-name).
632 * scripts/rellns-sh: Add -p option.
633 * Makerules (make-shlib-link): Use rellns-sh to get relative name
634 for source.
635
d3cfc668
SP
6362013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
637
638 * manual/nptl.texi: Renamed to ...
639 * manual/threads.texi: ... this.
640 * manual/Makefile (chapters): Update.
641
0e2b9cdd
RM
6422013-03-18 Roland McGrath <roland@hack.frob.com>
643
644 [BZ #14812]
645 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
646 on argument names, not just descriptions.
0e2b9cdd
RM
647 * malloc/memusagestat.c (options): Likewise.
648 * nss/getent.c (options): Likewise.
63270c24
RM
649
6502013-03-18 Benno Schulenberg <bensberg@justemail.net>
651
652 [BZ #14812]
653 * iconv/iconv_prog.c (options): Put N_ translation marker
654 on argument names, not just descriptions.
655 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 656
b2e1393c
OB
6572013-03-18 Ondrej Bilka <neleai@seznam.cz>
658
659 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
660 implementation which is faster on all x86_64 architectures.
661 Tested on AMD, Intel Nehalem, SNB, IVB.
662 * sysdeps/x86_64/strnlen.S: Likewise.
663
664 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
665 Remove all multiarch strlen and strnlen versions.
666 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
667 Remove strlen and strnlen related parts.
668
669 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
670 Inline strlen part.
671 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
672
673 * sysdeps/x86_64/multiarch/strlen.S: Remove.
674 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
675 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
676 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
677 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
678 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
679
ec4ff04d
CD
6802013-03-17 Carlos O'Donell <carlos@redhat.com>
681
682 * manual/memory.texi (Malloc Tunable Parameters):
683 Sort parameters alphabetically. Add comments for missing entries.
684
cd18e90a
DM
6852013-03-17 David S. Miller <davem@davemloft.net>
686
687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
688
2a185d32
JM
6892013-03-16 Joseph Myers <joseph@codesourcery.com>
690
d2f9799e
JM
691 [BZ #15283]
692 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
693 for arguments at most half maximum finite value.
694 * math/libm-test.inc (j0_test): Add more tests.
695 (j1_test): Likewise.
696 (y0_test): Likewise.
697 (y1_test): Likewise.
698 * sysdeps/i386/fpu/libm-test-ulps: Update.
699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
700
2a185d32
JM
701 [BZ #14155]
702 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
703 1 / x and functions P and Q for arguments above 0x1p256L.
704 (__ieee754_y0l): Likewise.
705 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
706 (__ieee754_y1l): Likewise.
707 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
708 (j1_test): Likewise.
709 (y0_test): Likewise.
710 (y1_test): Likewise.
711
6cbec759
TS
7122013-03-16 Thomas Schwinge <thomas@codesourcery.com>
713
714 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
715 variable.
716
bc16e260
RM
7172013-03-15 Roland McGrath <roland@hack.frob.com>
718
aefc9b8c
RM
719 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
720 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
721 zero since it's initialized to EXEC_PAGESIZE.
722
bc16e260
RM
723 * sysdeps/unix/sysv/linux/ldsodefs.h
724 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
725 * sysdeps/generic/ldsodefs.h: ... here.
726
a57da955
TS
7272013-03-15 Thomas Schwinge <thomas@codesourcery.com>
728
af00a34d
TS
729 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
730
495ded2c
TS
731 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
732 math/test-snan.c.
733 * math/test-snan.c: Renamed from
734 sysdeps/powerpc/fpu/test-powerpc-snan.c.
735 * math/Makefile (tests): Add test-snan.
736 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
737 test-powerpc-snan.
738
777b0332
TS
739 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
740 SUFFIX. Initialize qNaN_var with __builtin_nan family of
741 functions.
742 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
743 __builtin_nan family of functions.
744 * math/libm-test.inc (initialize): Initialize qnan_value with
745 __builtin_nan family of functions.
746 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
747 Remove variables.
748 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
749 Remove functions.
750 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
751 storage class. Initialize qNaN_var and sNaN_var with
752 __builtin_nan and __builtin_nans families of functions,
753 respectively.
754
64d063b8
TS
755 * math/libm-test.inc (acosh_test): Also test with qNaN input.
756 (sqrt_test): Remove duplicate test with qNaN input.
757 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
758 (round_test, signbit_test, significand_test): Note missing +/-Inf
759 as well as qNaN tests.
760
67e971f1
TS
761 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
762 qNaN_var. Fix a few strings, too.
763 * math/libm-test.inc (nan_value): Rename to qnan_value.
764 * math/gen-libm-test.pl (%beautify): Adjust to that.
765 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
766 * math/test-misc.c (main): Likewise.
767 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
768 to __qnan_bytes, and __qnan_union, respectively.
769 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
770 Likewise.
771 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
772 and lqnanval, respectively.
773 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
774 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
775 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
776 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
777
64487e12
TS
778 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
779 * math/test-misc.c (main) [__x86_64__]: Enable test for long
780 doubles.
781
e015e27b
TS
782 * math/test-misc.c (main): Fix copy'n'pastos.
783 * misc/tst-efgcvt.c (special): Likewise.
784
a57da955
TS
785 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
786 Remove declarations.
787
1e380345
SP
7882013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
789
790 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
791 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
792 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
793 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
794
ef26eece
AZ
7952013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
796
797 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
798 macro to return vdso values correctly in IFUNC implementations.
799 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
800 Optimization by using IFUNC.
801
8cfdb7e0
SP
8022013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
803 Richard Henderson <rth@redhat.com>
804 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
805
806 * Makefile.in (bench): New target.
807 * NEWS: Mention the benchmark framework.
808 * Rules (bench): Likewise.
809 (binaries-bench): Generate binaries for functions to
810 benchmark.
811 * benchtests/Makefile: New makefile for benchmark tests.
812 * benchtests/bench-skeleton.c: New skeleton file for benchmark
813 programs.
814 * benchtests/exp-inputs: New input file for EXP function.
815 * benchtests/pow-inputs: New input file for POW function.
816 * scripts/bench.pl: New script to generate source files for
817 benchmark programs.
818
bcda9880
SP
8192013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
820
d22ca8cd
SP
821 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
822 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
823 computations on mantissa. Use macros for rounding and
824 division.
825 (denorm): Likewise.
826 (__dbl_mp): Likewise.
827 (add_magnitudes): Likewise.
828 (sub_magnitudes): Likewise.
829 (__mul): Likewise.
830 (__sqr): Likewise.
831 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
832 powers of two in terms of TWOPOW macro.
833 (mp_no): Make type of mantissa as MANTISSA_T.
834 [!RADIXI]: Define RADIXI.
835 [!TWO52]: Define TWO52.
836 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
837
bcda9880
SP
838 * manual/nptl.texi (cindex): Modify threads to pthreads.
839
06d5adfb
JM
8402013-03-15 Joseph Myers <joseph@codesourcery.com>
841
842 * sysdeps/x86_64/preconfigure: Regenerated.
843
41c7328e
JM
8442013-03-14 Joseph Myers <joseph@codesourcery.com>
845
846 [BZ #14155]
847 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
848 0x1p28 and above.
849 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
850 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
851 0x1p28 and above.
852 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
853 * math/libm-test.inc (j0_test): Do not allow one spurious
854 underflow exception.
855 (y1_test): Likewise.
856
e25cfa60
SP
8572013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
858
0409959c
SP
859 * manual/Makefile (chapters): Add nptl.
860 * manual/debug.texi (Debugging Support): Add link to Threads
861 chapter.
862 * manual/nptl.texi: New file.
863
e25cfa60
SP
864 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
865
58a1335e
PB
8662013-03-14 Petr Baudis <pasky@ucw.cz>
867
868 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
869 for non-NULL pointer before the memory validity test. Pointed
870 out by Holger Brunck <holger.brunck@keymile.com>.
871
9dc7c64f
AS
8722013-03-13 Andreas Schwab <schwab@suse.de>
873
874 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
875 instead of .os.
876
54206aa6
JM
8772013-03-13 Joseph Myers <joseph@codesourcery.com>
878
879 * timezone/zic.c: Update from tzcode 2013b.
880
e98cdb38
CD
8812013-03-12 Carlos O'Donell <carlos@redhat.com>
882
883 * manual/install.texi (Configuring and compiling):
884 Mention i686 and i586.
885 * INSTALL: Regenerate.
886
9967e003
RM
8872013-03-12 Roland McGrath <roland@hack.frob.com>
888
889 * sysdeps/init_array/elf-init.c: New file.
890 * csu/elf-init.c
891 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
892 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
893
894 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
895 __gmon_start__ as global, but as static with a .preinit_array pointer.
896 * sysdeps/init_array/gmon-start.c: New file. Use that.
897 * sysdeps/init_array/crti.S: New file, empty except for comments.
898 * sysdeps/init_array/crtn.S: Likewise.
899
e6b5a293 9002013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
901
902 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
903 definining bcopy.
80f844c9
OB
904 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
905 Remove Prefer_SSE_for_memop.
906 * sysdeps/x86_64/multiarch/init-arch.h: Remove
907 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
908 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
909 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
910 memset-x86-64.
80f844c9 911 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 912 Remove bzero, memset ifunc support.
80f844c9
OB
913 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
914 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
915 * sysdeps/x86_64/multiarch/memset.S: Likewise.
916 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
917
fb6b0fcb
AS
9182013-03-11 Andreas Schwab <schwab@suse.de>
919
920 [BZ #15234]
921 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
922 by SHLIB_COMPAT.
923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
924 (GLIBC_2.16): Remove pthread_atfork.
925
3e6bd4b1
PP
9262013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
927
928 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
929 (ptestcases.h): Likewise.
930
222d7f00
RM
9312013-03-08 Roland McGrath <roland@hack.frob.com>
932
933 * Makeconfig ($(common-objpfx)config.status): Depend on
934 sysdeps/*/preconfigure{,.in} too.
935
1ba4f030
JM
9362013-03-08 Joseph Myers <joseph@codesourcery.com>
937
a222d91a
JM
938 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
939 (__free_hook): Use void * instead of __malloc_ptr_t.
940 (__malloc_hook): Likewise.
941 (__realloc_hook): Likewise.
942 (__memalign_hook): Likewise.
943 (__after_morecore_hook): Likewise.
944 * malloc/arena.c (save_malloc_hook): Likewise.
945 (save_free_hook): Likewise.
946 * malloc/hooks.c (malloc_hook_ini): Likewise.
947 (realloc_hook_ini): Likewise.
948 (memalign_hook_ini): Likewise.
949 * malloc/malloc.c (malloc_hook_ini): Likewise.
950 (realloc_hook_ini): Likewise.
951 (memalign_hook_ini): Likewise.
952 (__free_hook): Likewise.
953 (__malloc_hook): Likewise.
954 (__realloc_hook): Likewise.
955 (__memalign_hook): Likewise.
956 (__libc_malloc): Likewise.
957 (__libc_free): Likewise.
958 (__libc_realloc): Likewise.
959 (__libc_memalign): Likewise.
960 (__libc_valloc): Likewise.
961 (__libc_pvalloc): Likewise.
962 (__libc_calloc): Likewise.
963 (__posix_memalign): Likewise.
964 * malloc/morecore.c (__sbrk): Likewise.
965 (__default_morecore): Likewise.
966
5cc45e10
JM
967 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
968
dd54b864
JM
969 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
970 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
971 __malloc_ptrdiff_t.
972
1ba4f030
JM
973 * malloc/malloc.h (__malloc_size_t): Remove macro.
974 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
975 __malloc_size_t.
976 (old_memalign_hook): Likewise.
977 (old_realloc_hook): Likewise.
978 (struct hdr): Likewise.
979 (flood): Likewise.
980 (mallochook): Likewise.
981 (memalignhook): Likewise.
982 (reallochook): Likewise.
983 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
984 (tr_old_realloc_hook): Likewise.
985 (tr_old_memalign_hook): Likewise.
986 (tr_mallochook): Likewise.
987 (tr_reallochook): Likewise.
988 (tr_memalignhook): Likewise.
989
edf66e57
AZ
9902013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
991
992 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
993 default_ldbl_pack and using as default implementation.
994 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
995 implementation.
996 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
997 redundant definition.
998 (ldbl_insert_mantissa): Likewise.
999 (ldbl_canonicalize): Likewise.
1000 (ldbl_nearbyint): Likewise.
1001 (ldbl_pack): Rename to ldbl_pack_ppc.
1002 (ldbl_unpack): Rename to ldbl_unpack_ppc.
1003 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
1004 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
1005
6d9145d8
SP
10062013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1007
1008 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
1009 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
1010 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
1011 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
1012 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
1013 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
1014 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
1015 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
1016
4dd4e157
AJ
10172013-03-07 Andreas Jaeger <aj@suse.de>
1018
1019 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1020 bits/mman-linux.h.
1021
adbb8027
SP
10222013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1023
ce544b5b
SP
1024 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
1025 Include mpa.h and declare __MPEXP.
1026 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
1027 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1028 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1029 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
1030 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1031 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
1032 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
1033
4cc149fd
SP
1034 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
1035 (__slowpow): Use long double EXPL and LOGL functions to
1036 compute POW.
1037 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
1038 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1039 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
1040 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
1041 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
1042 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
1043
e6ebd4a7
SP
1044 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
1045 intermediate variable to calculate exponent.
1046 (__sqr): Likewise.
1047 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
1048 Likewise.
1049 (__sqr): Likewise.
1050
82a9811d
SP
1051 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
1052 [!NO__SQR]: Define __sqr.
1053 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
1054 and NO__SQR. Remove all code except __mul and __sqr. Include
1055 sysdeps/ieee754/dbl-64/mpa.c.
1056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
1057
adbb8027
SP
1058 [BZ #12723]
1059 * posix/Makefile (tests): Add tst-pathconf.
1060 * posix/tst-pathconf.c: New test case.
1061 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
1062 _PC_PIPE_BUF.
1063 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
1064
39120df9
PF
10652013-03-06 Patsy Franklin <pfrankli@redhat.com>
1066
1067 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
1068
67525cb8
AJ
10692013-03-06 Andreas Jaeger <aj@suse.de>
1070
664a9ce4
AJ
1071 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
1072 definition via __MAP_ANONYMOUS.
1073
8e39047d
AJ
1074 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
1075 it's not part of Linux headers.
1076
67525cb8
AJ
1077 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
1078 (MAP_HUGE_MASK): Define.
1079
1080 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1081 Define.
1082 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1083 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1084 Define.
1085 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1086 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
1087 Define.
1088 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1089 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
1090 Define.
1091 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
1092
1093 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
1094 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
1095 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
1096 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
1097 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
1098 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
1099
1100 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
1101 Handle f2fs.
1102
1103 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1104 Handle f2fs and efivarfs.
1105
1106 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
1107 f2fs.
1108
1109 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
1110 (EFIVARFS_MAGIC): Add.
1111 (F2FS_LINK_MAX): Add.
1112
e1b42695
PP
11132013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1114
1115 * stdio-common/vfprintf.c: Replace __builtin_expect with
1116 __glibc_unlikely.
1117
2d67d91a
JM
11182013-03-06 Joseph Myers <joseph@codesourcery.com>
1119
1120 [BZ #13550]
1121 * sysdeps/generic/bp-sym.h: Remove file.
1122 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
1123 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
1124 <bp-sym.h> and <bp-asm.h>.
1125 (__longjmp): Don't use BP_SYM.
1126 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
1127 and <bp-asm.h>.
1128 (memcpy): Don't use BP_SYM.
1129 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
1130 <bp-sym.h> and <bp-asm.h>.
1131 (memcpy): Don't use BP_SYM.
1132 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
1133 <bp-asm.h>.
1134 (memcpy): Don't use BP_SYM.
1135 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
1136 <bp-asm.h>.
1137 (memset): Don't use BP_SYM.
1138 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1139 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1140 (__bzero): Don't use BP_SYM.
1141 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1142 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1143 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
1144 <bp-sym.h> and <bp-asm.h>.
1145 (memcmp): Don't use BP_SYM. Remove comment about bounded
1146 pointers.
1147 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
1148 <bp-sym.h> and <bp-asm.h>.
1149 (memcpy): Don't use BP_SYM.
1150 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
1151 <bp-sym.h> and <bp-asm.h>.
1152 (memset): Don't use BP_SYM.
1153 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1154 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1155 (__bzero): Don't use BP_SYM.
1156 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1157 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1158 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
1159 <bp-sym.h> and <bp-asm.h>.
1160 (strncmp): Don't use BP_SYM. Remove comment about bounded
1161 pointers.
1162 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
1163 <bp-sym.h> and <bp-asm.h>.
1164 (memcpy): Don't use BP_SYM.
1165 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
1166 <bp-sym.h> and <bp-asm.h>.
1167 (memset): Don't use BP_SYM.
1168 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1169 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1170 (__bzero): Don't use BP_SYM.
1171 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1172 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1173 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
1174 <bp-sym.h> and <bp-asm.h>.
1175 (__memchr): Don't use BP_SYM.
1176 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
1177 <bp-sym.h> and <bp-asm.h>.
1178 (memcmp): Don't use BP_SYM. Remove comment about bounded
1179 pointers.
1180 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
1181 <bp-sym.h> and <bp-asm.h>.
1182 (memcpy): Don't use BP_SYM.
1183 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
1184 <bp-sym.h> and <bp-asm.h>.
1185 (__mempcpy): Don't use BP_SYM.
1186 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
1187 <bp-sym.h> and <bp-asm.h>.
1188 (__memrchr): Don't use BP_SYM.
1189 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
1190 <bp-sym.h> and <bp-asm.h>.
1191 (memset): Don't use BP_SYM.
1192 (__bzero): Likewise.
1193 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
1194 <bp-sym.h> and <bp-asm.h>.
1195 (__rawmemchr): Don't use BP_SYM.
1196 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
1197 <bp-sym.h> and <bp-asm.h>.
1198 (__STRCMP): Don't use BP_SYM.
1199 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
1200 <bp-sym.h> and <bp-asm.h>.
1201 (strchr): Don't use BP_SYM.
1202 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
1203 <bp-sym.h> and <bp-asm.h>.
1204 (__strchrnul): Don't use BP_SYM.
1205 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
1206 <bp-sym.h> and <bp-asm.h>.
1207 (strlen): Don't use BP_SYM.
1208 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
1209 <bp-sym.h> and <bp-asm.h>.
1210 (strncmp): Don't use BP_SYM. Remove comment about bounded
1211 pointers.
1212 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
1213 <bp-sym.h> and <bp-asm.h>.
1214 (__strnlen): Don't use BP_SYM.
1215 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
1216 <bp-sym.h> and <bp-asm.h>.
1217 (__GI__setjmp): Don't use BP_SYM.
1218 (_setjmp): Likewise.
1219 (__sigsetjmp): Likewise.
1220 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
1221 (L(start_addresses)): Don't use BP_SYM.
1222 (_start): Likewise.
1223 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
1224 <bp-asm.h>.
1225 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
1226 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
1227 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1228 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1229 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
1230 <bp-asm.h>.
1231 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
1232 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
1233 about bounded pointers.
1234 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1235 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1236 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
1237 <bp-asm.h>.
1238 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1239 about bounded pointers. Remove GKM FIXME comments.
1240 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1241 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
1242 <bp-asm.h>.
1243 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
1244 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
1245 Remove GKM FIXME comments.
1246 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1247 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1248 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
1249 <bp-asm.h>.
1250 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
1251 about bounded pointers. Remove GKM FIXME comment.
1252 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
1253 and <bp-asm.h>.
1254 (strncmp): Don't use BP_SYM. Remove comment about bounded
1255 pointers.
1256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
1257 <bp-sym.h> and <bp-asm.h>.
1258 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
1260 <bp-sym.h> and <bp-asm.h>.
1261 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1262 comment.
1263
cdcf361f
PP
12642013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
1265
1266 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
1267 call free(NULL).
1268
3c4a2b15
DM
12692013-03-05 David S. Miller <davem@davemloft.net>
1270
1271 * po/es.po: Update from translation team.
1272
cdcf361f 12732013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
1274
1275 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
1276 <bits/mman-linux.h>.
1277 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1278 is fine.
1279 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
1280 <bits/mman-linux.h> to end of file.
1281 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1282 is fine.
1283 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
1284 <bits/mman-linux.h> to end of file.
1285 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
1286 is fine.
1287 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
1288 <bits/mman-linux.h> to end of file.
1289
1290 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
1291 (MCL_CURRENT, MCL_FUTURE): Define here.
1292
5f67c04f
AK
12932013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1294
8a4473cc 1295 [BZ #15232]
5f67c04f
AK
1296 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
1297 attribute_hidden.
1298 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1299
c3e94a95
AK
13002013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1301
1302 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
1303 fourth parameter needed for rt_sigprocmask syscall.
1304 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
1305 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1306 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
1307 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1308 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1309 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
1310
cfb6382a
JM
13112013-03-04 Joseph Myers <joseph@codesourcery.com>
1312
1313 [BZ #13550]
1314 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
1315 comment about bounded pointers.
1316 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
1317 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
1318
539d8e01
AJ
13192013-03-04 Andreas Jaeger <aj@suse.de>
1320
1321 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
1322 common definitions.
1323
1324 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
1325 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
1326 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
1327 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
1328 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
1329 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
1330
2e167a70 13312013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
1332
1333 [BZ #15055]
1334 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1335 __ieee754_sqrl instead of __sqrl.
1336
68508633
JM
13372013-03-01 Joseph Myers <joseph@codesourcery.com>
1338
1339 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
1340 * sysdeps/powerpc/fpu_control.h: ... here.
1341 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
1342 * sysdeps/powerpc/bits/fenvinline.h: ... here.
1343 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
1344 * sysdeps/powerpc/bits/mathinline.h: ... here.
1345
7775448e
RM
13462013-03-01 Roland McGrath <roland@hack.frob.com>
1347
1348 * elf/dl-hwcaps.c (_dl_important_hwcaps):
1349 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
1350 to just [NEED_DL_SYSINFO_DSO].
1351 * elf/dl-support.c: Likewise.
1352 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1353 * elf/rtld.c (dl_main): Likewise.
1354 * elf/setup-vdso.h (setup_vdso): Likewise.
1355 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
1356 * sysdeps/unix/sysv/linux/dl-sysdep.c
1357 (_dl_discover_osversion): Likewise.
1358
4e9b5995
CD
13592013-03-01 Carlos O'Donell <carlos@redhat.com>
1360
1361 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
1362 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1363
e23872c8
SP
13642013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1365
e5c74c63
SP
1366 * NEWS: Mention libm performance improvements and non-x86 PI
1367 futex support.
1368
e23872c8
SP
1369 * csu/libc-start.c (__pthread_initialize_minimal): Change
1370 function arguments.
1371 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
1372
b5510883
JM
13732013-02-28 Joseph Myers <joseph@codesourcery.com>
1374
1375 [BZ #13550]
1376 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
1377 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
1378 <bp-sym.h> and <bp-asm.h>.
1379 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1380 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
1381 and <bp-asm.h>.
1382 (memcpy): Don't use BP_SYM.
1383 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
1384 <bp-asm.h>.
1385 (__mpn_add_n): Don't use BP_SYM.
1386 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
1387 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
1388 and <bp-asm.h>.
1389 (__mpn_addmul_1): Don't use BP_SYM.
1390 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1391 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
1392 <bp-sym.h>.
1393 (_setjmp): Don't use BP_SYM.
1394 (__novmx_setjmp): Likewise.
1395 (__GI__setjmp): Likewise.
1396 (__vmx_setjmp): Likewise.
1397 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
1398 <bp-sym.h>.
1399 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
1400 (__bzero): Don't use BP_SYM.
1401 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
1402 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
1403 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
1404 <bp-sym.h> and <bp-asm.h>.
1405 (memcpy): Don't use BP_SYM.
1406 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
1407 <bp-sym.h> and <bp-asm.h>.
1408 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1409 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
1410 <bp-sym.h> and <bp-asm.h>.
1411 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
1412 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
1413 <bp-asm.h>.
1414 (__mpn_lshift): Don't use BP_SYM.
1415 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1416 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
1417 <bp-asm.h>.
1418 (memset): Don't use BP_SYM.
1419 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
1420 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
1421 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
1422 <bp-asm.h>.
1423 (__mpn_mul_1): Don't use BP_SYM.
1424 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1425 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
1426 <bp-sym.h> and <bp-asm.h>.
1427 (memcmp): Don't use BP_SYM.
1428 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
1429 <bp-sym.h> and <bp-asm.h>.
1430 (memcpy): Don't use BP_SYM.
1431 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
1432 <bp-sym.h> and <bp-asm.h>.
1433 (memset): Don't use BP_SYM.
1434 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
1435 <bp-sym.h> and <bp-asm.h>.
1436 (strncmp): Don't use BP_SYM.
1437 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
1438 <bp-sym.h> and <bp-asm.h>.
1439 (memcpy): Don't use BP_SYM.
1440 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
1441 <bp-sym.h> and <bp-asm.h>.
1442 (memset): Don't use BP_SYM.
1443 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
1444 <bp-sym.h> and <bp-asm.h>.
1445 (__memchr): Don't use BP_SYM.
1446 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
1447 <bp-sym.h> and <bp-asm.h>.
1448 (memcmp): Don't use BP_SYM.
1449 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
1450 <bp-sym.h> and <bp-asm.h>.
1451 (memcpy): Don't use BP_SYM.
1452 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
1453 <bp-sym.h> and <bp-asm.h>.
1454 (__mempcpy): Don't use BP_SYM.
1455 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
1456 <bp-sym.h> and <bp-asm.h>.
1457 (__memrchr): Don't use BP_SYM.
1458 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
1459 <bp-sym.h> and <bp-asm.h>.
1460 (memset): Don't use BP_SYM.
1461 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
1462 <bp-sym.h> and <bp-asm.h>.
1463 (__rawmemchr): Don't use BP_SYM.
1464 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
1465 <bp-sym.h> and <bp-asm.h>.
1466 (__STRCMP): Don't use BP_SYM.
1467 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
1468 <bp-sym.h> and <bp-asm.h>.
1469 (strchr): Don't use BP_SYM.
1470 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
1471 <bp-sym.h> and <bp-asm.h>.
1472 (__strchrnul): Don't use BP_SYM.
1473 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
1474 <bp-sym.h> and <bp-asm.h>.
1475 (strlen): Don't use BP_SYM.
1476 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
1477 <bp-sym.h> and <bp-asm.h>.
1478 (strncmp): Don't use BP_SYM.
1479 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
1480 <bp-sym.h> and <bp-asm.h>.
1481 (__strnlen): Don't use BP_SYM.
1482 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
1483 <bp-asm.h>.
1484 (__mpn_rshift): Don't use BP_SYM.
1485 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
1486 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
1487 <bp-sym.h> and <bp-asm.h>.
1488 (__sigsetjmp): Don't use BP_SYM.
1489 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
1490 (L(start_addresses)): Don't use BP_SYM.
1491 (_start): Likewise.
1492 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
1493 <bp-asm.h>.
1494 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
1495 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1496 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1497 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
1498 <bp-asm.h>.
1499 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
1500 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
1501 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
1502 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
1503 <bp-asm.h>.
1504 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1505 comments.
1506 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
1507 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
1508 <bp-asm.h>.
1509 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
1510 FIXME comments.
1511 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
1512 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
1513 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
1514 <bp-asm.h>.
1515 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
1516 comment.
1517 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
1518 and <bp-asm.h>.
1519 (strncmp): Don't use BP_SYM,
1520 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
1521 <bp-asm.h>.
1522 (__mpn_sub_n): Don't use BP_SYM.
1523 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
1524 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
1525 and <bp-asm.h>.
1526 (__mpn_submul_1): Don't use BP_SYM.
1527 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
1528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
1529 <bp-sym.h> and <bp-asm.h>.
1530 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
1531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
1532 <bp-sym.h> and <bp-asm.h>.
1533 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
1534 comment.
1535
8d19fe64
SP
15362013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1537
1538 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
1539 Use ZK to minimize writes to Z.
1540 (sub_magnitudes): Simplify code a bit.
1541 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
1542 Use ZK to minimize writes to Z.
1543 (sub_magnitudes): Simplify code a bit.
1544
85bd816a
RM
15452013-02-27 Roland McGrath <roland@hack.frob.com>
1546
1547 * csu/gmon-start.c: Add special exception to license text.
1548
b5977bf2
RH
15492013-02-27 Richard Henderson <rth@redhat.com>
1550
1551 * scripts/config.guess: Update from config.git.
1552 * scripts/config.sub: Likewise.
1553
11d6e2f2
SP
15542013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1555
09c14ed2
SP
1556 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
1557
a688864e
SP
1558 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
1559
6295157a
SP
1560 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
1561
b8de2202
SP
1562 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
1563
11d6e2f2
SP
1564 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
1565
7e80ddb8
RM
15662013-02-26 Roland McGrath <roland@hack.frob.com>
1567
1568 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
1569 [$(build-shared = yes].
7e80ddb8 1570
7da6d9ed
SP
15712013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1572
45f05884
SP
1573 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
1574 (__mul): Reduce iterations for calculating mantissa.
1575
2236d359
SP
1576 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
1577 MPTWO.
1578 (__mpranred): Likewise.
1579
7da6d9ed
SP
1580 [BZ #15160]
1581 * malloc/memusagestat.c (main): Draw graphs for heap and stack
1582 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
1583
b7688c42
PE
15842013-02-26 Paul Eggert <eggert@cs.ucla.edu>
1585
1586 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
1587 Define __attribute__.
1588
53a5c423
SP
15892013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1590
1591 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
1592 unused.
1593 * posix/regex_internal.h (__attribute): Remove.
1594 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
1595 (re_string_context_at): Likewise.
1596 (bitset_not): Use __attribute__ and mark function as possibly
1597 unused.
1598 (bitset_merge): Likewise.
1599 (bitset_mask): Likewise.
1600 (re_string_char_size_at): Likewise.
1601 (re_string_wchar_at): Likewise.
1602 (re_string_elem_size_at): Likewise.
1603
60f5a8b5
SP
16042013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1605
2a983a2e
SP
1606 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
1607 code.
1608 (cc32): Likewise.
1609
e69804d1
SP
1610 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
1611 (__acr): Likewise.
1612 (__cpy): Likewise.
1613 (norm): Likewise.
1614 (denorm): Likewise.
1615 (__dbl_mp): Likewise.
1616 (add_magnitudes): Likewise.
1617 (sub_magnitudes): Likewise.
1618 (__mul): Likewise.
1619 (__inv): Likewise.
1620
2f22a1e8
SP
1621 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
1622 style.
1623
8930ddc7
SP
1624 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
1625 style.
1626
dc60cb11
SP
1627 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
1628 code.
1629
60f5a8b5
SP
1630 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
1631 up changes with default code.
1632 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
1633 Likewise.
1634
b4d1fd33
AM
16352013-02-24 Allan McRae <allan@archlinux.org>
1636
faf6f8bc
AM
1637 * manual/socket.texi (The Internet Namespace): Order menu items
1638 to match that in the file.
1639
b4d1fd33
AM
1640 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
1641 node listing of the info page menu.
1642
2366713d
JM
16432013-02-21 Joseph Myers <joseph@codesourcery.com>
1644
1645 [BZ #13550]
1646 * sysdeps/i386/bp-asm.h: Remove file.
1647 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1648 (PARMS): Do not use macros from bp-asm.h.
1649 (S1): Likewise.
1650 (S2): Likewise.
1651 (SIZE): Likewise.
1652 (__mpn_add_n): Do not use BP_SYM
1653 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
1654 "bp-asm.h".
1655 (PARMS): Do not use macros from bp-asm.h.
1656 (S1): Likewise.
1657 (SIZE): Likewise.
1658 (__mpn_addmul_1): Do not use BP_SYM
1659 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
1660 "bp-asm.h".
1661 (PARMS): Do not use macros from bp-asm.h.
1662 (SIGMSK): Likewise.
1663 (_setjmp): Likewise. Do not use BP_SYM.
1664 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
1665 "bp-asm.h".
1666 (PARMS): Do not use macros from bp-asm.h.
1667 (SIGMSK): Likewise.
1668 (setjmp): Likewise. Do not use BP_SYM.
1669 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
1670 "bp-asm.h".
1671 (PARMS): Do not use macros from bp-asm.h.
1672 (__frexp): Do not use BP_SYM.
1673 (frexp): Likewise.
1674 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
1675 "bp-asm.h".
1676 (PARMS): Do not use macros from bp-asm.h.
1677 (__frexpf): Do not use BP_SYM.
1678 (frexpf): Likewise.
1679 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
1680 "bp-asm.h".
1681 (PARMS): Do not use macros from bp-asm.h.
1682 (__frexpl): Do not use BP_SYM.
1683 (frexpl): Likewise.
1684 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
1685 "bp-asm.h".
1686 (PARMS): Do not use macros from bp-asm.h.
1687 (__remquo): Do not use BP_SYM.
1688 (remquo): Likewise.
1689 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
1690 "bp-asm.h".
1691 (PARMS): Do not use macros from bp-asm.h.
1692 (__remquof): Do not use BP_SYM.
1693 (remquof): Likewise.
1694 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
1695 "bp-asm.h".
1696 (PARMS): Do not use macros from bp-asm.h.
1697 (__remquol): Do not use BP_SYM.
1698 (remquol): Likewise.
1699 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
1700 "bp-asm.h".
1701 (PARMS): Do not use macros from bp-asm.h.
1702 (DEST): Likewise.
1703 (SRC): Likewise.
1704 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
1705 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
1706 "bp-asm.h".
1707 (PARMS): Do not use macros from bp-asm.h.
1708 (strlen): Do not use BP_SYM.
1709 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
1710 "bp-asm.h".
1711 (PARMS): Do not use macros from bp-asm.h.
1712 (S1): Likewise.
1713 (S2): Likewise.
1714 (SIZE): Likewise.
1715 (__mpn_add_n): Do not use BP_SYM.
1716 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
1717 "bp-asm.h".
1718 (PARMS): Do not use macros from bp-asm.h.
1719 (S1): Likewise.
1720 (SIZE): Likewise.
1721 (__mpn_addmul_1): Do not use BP_SYM.
1722 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
1723 weak_alias.
1724 (bzero): Likewise.
1725 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
1726 "bp-asm.h".
1727 (PARMS): Do not use macros from bp-asm.h.
1728 (S): Likewise.
1729 (SIZE): Likewise.
1730 (__mpn_lshift): Do not use BP_SYM.
1731 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
1732 "bp-asm.h".
1733 (PARMS): Do not use macros from bp-asm.h.
1734 (DEST): Likewise.
1735 (SRC): Likewise.
1736 (LEN): Likewise.
1737 (memcpy): Likewise. Do not use BP_SYM.
1738 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
1739 libc_hidden_def and weak_alias.
1740 (mempcpy): Do not use BP_SYM in weak_alias.
1741 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
1742 "bp-asm.h".
1743 (PARMS): Do not use macros from bp-asm.h.
1744 (DEST): Likewise.
1745 (LEN): Likewise.
1746 [!BZERO_P] (CHR): Likewise.
1747 (memset): Likewise. Do not use BP_SYM.
1748 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
1749 "bp-asm.h".
1750 (PARMS): Do not use macros from bp-asm.h.
1751 (S1): Likewise.
1752 (SIZE): Likewise.
1753 (__mpn_mul_1): Do not use BP_SYM.
1754 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
1755 "bp-asm.h".
1756 (PARMS): Do not use macros from bp-asm.h.
1757 (S): Likewise.
1758 (SIZE): Likewise.
1759 (__mpn_rshift): Do not use BP_SYM.
1760 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
1761 "bp-asm.h".
1762 (PARMS): Do not use macros from bp-asm.h.
1763 (STR): Likewise.
1764 (CHR): Likewise.
1765 (strchr): Likewise. Do not use BP_SYM.
1766 (index): Do not use BP_SYM in weak_alias.
1767 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
1768 "bp-asm.h".
1769 (PARMS): Do not use macros from bp-asm.h.
1770 (DEST): Likewise.
1771 (SRC): Likewise.
1772 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
1773 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
1774 "bp-asm.h".
1775 (PARMS): Do not use macros from bp-asm.h.
1776 (strlen): Do not use BP_SYM.
1777 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
1778 "bp-asm.h".
1779 (PARMS): Do not use macros from bp-asm.h.
1780 (S1): Likewise.
1781 (S2): Likewise.
1782 (SIZE): Likewise.
1783 (__mpn_sub_n): Do not use BP_SYM.
1784 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
1785 "bp-asm.h".
1786 (PARMS): Do not use macros from bp-asm.h.
1787 (S1): Likewise.
1788 (SIZE): Likewise.
1789 (__mpn_submul_1): Do not use BP_SYM.
1790 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
1791 "bp-asm.h".
1792 (PARMS): Do not use macros from bp-asm.h.
1793 (S1): Likewise.
1794 (S2): Likewise.
1795 (SIZE): Likewise.
1796 (__mpn_add_n): Do not use BP_SYM.
1797 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
1798 weak_alias.
1799 (bzero): Likewise.
1800 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
1801 "bp-asm.h".
1802 (PARMS): Do not use macros from bp-asm.h.
1803 (BLK2): Likewise.
1804 (LEN): Likewise.
1805 (memcmp): Do not use BP_SYM.
1806 (bcmp): Do not use BP_SYM in weak_alias.
1807 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
1808 "bp-asm.h".
1809 (PARMS): Do not use macros from bp-asm.h.
1810 (DEST): Likewise.
1811 (SRC): Likewise.
1812 (LEN): Likewise.
1813 (memcpy): Likewise. Do not use BP_SYM.
1814 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
1815 "bp-asm.h".
1816 (PARMS): Do not use macros from bp-asm.h.
1817 (DEST): Likewise.
1818 (SRC): Likewise.
1819 (LEN): Likewise.
1820 (memmove): Likewise. Do not use BP_SYM.
1821 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
1822 "bp-asm.h".
1823 (PARMS): Do not use macros from bp-asm.h.
1824 (DEST): Likewise.
1825 (SRC): Likewise.
1826 (LEN): Likewise.
1827 (__mempcpy): Likewise. Do not use BP_SYM.
1828 (mempcpy): Do not use BP_SYM in weak_alias.
1829 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
1830 "bp-asm.h".
1831 (PARMS): Do not use macros from bp-asm.h.
1832 (DEST): Likewise.
1833 (LEN): Likewise.
1834 [!BZERO_P] (CHR): Likewise.
1835 (memset): Likewise. Do not use BP_SYM.
1836 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
1837 "bp-asm.h".
1838 (PARMS): Do not use macros from bp-asm.h.
1839 (STR2): Likewise.
1840 (strcmp): Do not use BP_SYM.
1841 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
1842 "bp-asm.h".
1843 (PARMS): Do not use macros from bp-asm.h.
1844 (STR): Likewise.
1845 (DELIM): Likewise.
1846 [USE_AS_STRTOK_R] (SAVE): Likewise.
1847 (FUNCTION): Likewise. Do not use BP_SYM.
1848 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
1849 aliases.
1850 (strtok_r): Likewise.
1851 (__GI___strtok_r): Likewise.
1852 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1853 (PARMS): Do not use macros from bp-asm.h.
1854 (S): Likewise.
1855 (SIZE): Likewise.
1856 (__mpn_lshift): Do not use BP_SYM.
1857 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1858 (PARMS): Do not use macros from bp-asm.h.
1859 (STR): Likewise.
1860 (CHR): Likewise.
1861 (__memchr): Do not use BP_SYM.
1862 (memchr): Do not use BP_SYM in weak_alias.
1863 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1864 (PARMS): Do not use macros from bp-asm.h.
1865 (BLK2): Likewise.
1866 (LEN): Likewise.
1867 (memcmp): Do not use BP_SYM.
1868 (bcmp): Do not use BP_SYM in weak_alias.
1869 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
1870 (PARMS): Do not use macros from bp-asm.h.
1871 (S1): Likewise.
1872 (SIZE): Likewise.
1873 (__mpn_mul_1): Do not use BP_SYM.
1874 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
1875 "bp-asm.h".
1876 (PARMS): Do not use macros from bp-asm.h.
1877 (STR): Likewise.
1878 (CHR): Likewise.
1879 (__rawmemchr): Do not use BP_SYM.
1880 (rawmemchr): Do not use BP_SYM in weak_alias.
1881 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
1882 (PARMS): Do not use macros from bp-asm.h.
1883 (S): Likewise.
1884 (SIZE): Likewise.
1885 (__mpn_rshift): Do not use BP_SYM.
1886 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
1887 (PARMS): Do not use macros from bp-asm.h.
1888 (SIGMSK): Likewise.
1889 (__sigsetjmp): Likewise. Do not use BP_SYM.
1890 * sysdeps/i386/start.S: Do not include "bp-sym.h".
1891 (_start): Do not use BP_SYM.
1892 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
1893 (PARMS): Do not use macros from bp-asm.h.
1894 (DEST): Likewise.
1895 (SRC): Likewise.
1896 (__stpcpy): Likewise. Do not use BP_SYM.
1897 (stpcpy): Do not use BP_SYM in weak_alias.
1898 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
1899 "bp-asm.h".
1900 (PARMS): Do not use macros from bp-asm.h.
1901 (DEST): Likewise.
1902 (SRC): Likewise.
1903 (LEN): Likewise.
1904 (__stpncpy): Likewise. Do not use BP_SYM.
1905 (stpncpy): Do not use BP_SYM in weak_alias.
1906 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
1907 (PARMS): Do not use macros from bp-asm.h.
1908 (STR): Likewise.
1909 (CHR): Likewise.
1910 (strchr): Likewise. Do not use BP_SYM.
1911 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
1912 "bp-asm.h".
1913 (PARMS): Do not use macros from bp-asm.h.
1914 (STR): Likewise.
1915 (CHR): Likewise.
1916 (__strchrnul): Likewise. Do not use BP_SYM.
1917 (strchrnul): Do not use BP_SYM in weak_alias.
1918 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
1919 "bp-asm.h".
1920 (PARMS): Do not use macros from bp-asm.h.
1921 (STOP): Likewise.
1922 (strcspn): Do not use BP_SYM.
1923 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
1924 "bp-asm.h".
1925 (PARMS): Do not use macros from bp-asm.h.
1926 (STR): Likewise.
1927 (STOP): Likewise.
1928 (strpbrk): Likewise. Do not use BP_SYM.
1929 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
1930 "bp-asm.h".
1931 (PARMS): Do not use macros from bp-asm.h.
1932 (STR): Likewise.
1933 (CHR): Likewise.
1934 (strrchr): Likewise. Do not use BP_SYM.
1935 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
1936 (PARMS): Do not use macros from bp-asm.h.
1937 (SKIP): Likewise.
1938 (strspn): Do not use BP_SYM.
1939 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
1940 (PARMS): Do not use macros from bp-asm.h.
1941 (STR): Likewise.
1942 (DELIM): Likewise.
1943 (SAVE): Likewise.
1944 (FUNCTION): Likewise. Do not use BP_SYM.
1945 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
1946 aliases.
1947 (strtok_r): Likewise.
1948 (__GI___strtok_r): Likewise.
1949 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
1950 (PARMS): Do not use macros from bp-asm.h.
1951 (S1): Likewise.
1952 (S2): Likewise.
1953 (SIZE): Likewise.
1954 (__mpn_sub_n): Do not use BP_SYM.
1955 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
1956 "bp-asm.h".
1957 (PARMS): Do not use macros from bp-asm.h.
1958 (S1): Likewise.
1959 (SIZE): Likewise.
1960 (__mpn_submul_1): Do not use BP_SYM.
1961 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
1962 <bp-sym.h>.
1963 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
1964 and <bp-asm.h>.
1965 (PARMS): Do not use macros from bp-asm.h.
1966 (FLAGS): Likewise.
1967 (PTID): Likewise.
1968 (TLS): Likewise.
1969 (CTID): Likewise.
1970 (__clone): Do not use BP_SYM.
1971 (clone): Do not use BP_SYM in weak_alias.
1972 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
1973 and <bp-asm.h>.
1974 (PARMS): Do not use macros from bp-asm.h.
1975 (LEN): Likewise.
1976 (__mmap64): Do not use BP_SYM.
1977 (mmap64): Do not use BP_SYM in weak_alias.
1978 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
1979 <bp-sym.h> and <bp-asm.h>.
1980 (PARMS): Do not use macros from bp-asm.h.
1981 (__posix_fadvise64_l64): Do not use BP_SYM.
1982 * sysdeps/unix/sysv/linux/i386/semtimedop.S
1983 (PARMS): Do not use macros from bp-asm.h.
1984 (NSOPS): Likewise.
1985 (semtimedop): Do not use BP_SYM.
1986 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
1987 and <bp-asm.h>.
1988
582a3cff
AM
19892013-02-21 Allan McRae <allan@archlinux.org>
1990
1991 * manual/message.texi (Charset conversion in gettext):
1992 Move @end statement to beginning of line.
1993
bab8a695
SP
19942013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1995
80945231
SP
1996 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
1997 static.
1998 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
1999 Likewise.
2000
bab8a695
SP
2001 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
2002 (denorm): Likewise.
2003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
2004 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
2005
e21d7aa7
AK
20062013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2007
2008 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
2009 tail-call to the resolved function if pltexit isn't needed.
2010
4c7a4263
SP
20112013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2012
2013 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
2014 or Y being zero as being unlikely.
2015 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
2016 Likewise.
2017
41f49342
CD
20182013-02-20 Carlos O'Donell <carlos@redhat.com>
2019
2020 * manual/nss.texi (System Databases and Name Service Switch):
2021 Remove frobnicate @pxref.
2022
50022a93
TS
20232013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2024
2025 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2026 __attribute__ ((unused)) to __attribute__ ((__unused__)).
2027
08cbd996
PM
20282013-02-20 Petr Machata <pmachata@redhat.com>
2029
2030 * elf/elf.h (R_ARM_TARGET1): New macro.
2031 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
2032 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
2033 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
2034 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
2035 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
2036 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
2037 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
2038 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
2039 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
2040 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
2041 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
2042 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
2043 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
2044 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
2045 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
2046 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
2047 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
2048 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
2049 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
2050 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
2051 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
2052 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
2053 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
2054 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
2055 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
2056 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
2057 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
2058 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
2059 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
2060 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
2061 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
2062 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
2063 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
2064 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
2065 (R_ARM_THM_GOT_BREL12): Likewise.
2066 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
2067 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
2068 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
2069 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
2070 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
2071 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
2072 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
2073 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
2074 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
2075
c7b275d6
TS
20762013-02-20 Thomas Schwinge <thomas@codesourcery.com>
2077
2078 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
2079 __attribute_used__ to __attribute__ ((unused)).
2080
20cd7fb3
SP
20812013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2082
2083 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
2084 powerpc mpa.c.
2085 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
2086 comment formatting.
2087 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
2088
92945b52
JM
20892013-02-19 Joseph Myers <joseph@codesourcery.com>
2090
2091 [BZ #13550]
2092 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
2093 Remove macro.
2094 (ENTER): Remove both macro definitions.
2095 (LEAVE): Likewise.
2096 (CHECK_BOUNDS_LOW): Likewise.
2097 (CHECK_BOUNDS_HIGH): Likewise.
2098 (CHECK_BOUNDS_BOTH): Likewise.
2099 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
2100 (RETURN_BOUNDED_POINTER): Likewise.
2101 (RETURN_NULL_BOUNDED_POINTER): Likewise.
2102 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
2103 (POP_ERRNO_LOCATION_RETURN): Likewise.
2104 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
2105 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2106 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
2107 macros.
2108 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2109 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
2110 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
2111 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
2112 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
2113 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
2114 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
2115 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
2116 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
2117 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
2118 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
2119 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
2120 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2121 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
2122 removed macros.
2123 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2124 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
2125 macros.
2126 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2127 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
2128 * sysdeps/i386/i586/memset.S (memset): Likewise.
2129 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
2130 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2131 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
2132 macros.
2133 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2134 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
2135 Change uses of L(2) to L(out).
2136 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
2137 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
2138 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
2139 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2140 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
2141 removed macros.
2142 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2143 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
2144 macros.
2145 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2146 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
2147 (RETURN): Do not use macro LEAVE.
2148 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
2149 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
2150 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
2151 * sysdeps/i386/i686/memset.S (memset): Likewise.
2152 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
2153 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
2154 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
2155 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
2156 Likewise.
2157 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2158 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
2159 L(1_2) and L(1_3) into L(1).
2160 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2161 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
2162 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2163 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
2164 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
2165 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
2166 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
2167 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2168 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
2169 macros.
2170 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
2171 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
2172 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
2173 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
2174 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
2175 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
2176 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
2177 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
2178 * sysdeps/i386/strcspn.S (strcspn): Likewise.
2179 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
2180 * sysdeps/i386/strrchr.S (strrchr): Likewise.
2181 * sysdeps/i386/strspn.S (strspn): Likewise.
2182 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
2183 conditional code.
2184 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
2185 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
2186 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
2187 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
2188 L(1_3) into L(1_1).
2189 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
2190 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
2191 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
2192 macros.
2193 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
2194
2389741a
JJ
21952013-02-19 Jakub Jelinek <jakub@redhat.com>
2196
2197 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
2198 macro.
2199
2016b3cd
SP
22002013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2201
e4f22324
SP
2202 * math/atest-exp.c (exp_mpn): Remove ROUND.
2203 * math/atest-exp2.c (exp_mpn): Likewise.
2204 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
2205
2016b3cd
SP
2206 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
2207 * stdlib/tst-tls-atexit-lib.c: Likewise.
2208 * stdlib/tst-tls-atexit.c: Likewise.
2209
4be9b544
MF
22102013-02-18 Mike Frysinger <vapier@gentoo.org>
2211
2212 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
2213 and __attribute_alloc_size__.
2214
2f62b9ee
MF
22152013-02-18 Mike Frysinger <vapier@gentoo.org>
2216
2217 * include/programs/xmalloc.h: Change __attribute_alloc_size to
2218 __attribute_alloc_size__.
2219 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
2220 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
2221
6ff444c4
MF
22222013-02-18 Mike Frysinger <vapier@gentoo.org>
2223
2224 * include/programs/xmalloc.h: New file.
2225 * catgets/gencat.c: Include it.
2226 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
2227 * elf/pldd.c: Likewise.
2228 * iconv/iconv_charmap.c: Likewise.
2229 * iconv/iconvconfig.c: Likewise.
2230 * iconv/strtab.c: Likewise.
2231 * locale/programs/locale.c: Likewise.
2232 * locale/programs/localedef.h: Likewise.
2233 * locale/programs/simple-hash.c: Likewise.
2234 * nscd/nscd.h: Likewise.
2235 * nss/makedb.c: Likewise.
2236 * sysdeps/generic/ldconfig.h: Likewise.
2237
be179c8a
SP
22382013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2239
ba384f6e
SP
2240 * Versions.def: Add GLIBC_2.18.
2241 * include/link.h (struct link_map): New member l_tls_dtor_count.
2242 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
2243 (__call_tls_dtors): Likewise.
2244 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
2245 __cxa_thread_atexit_impl.
2246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2247 Likewise.
2248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2249 Likewise.
2250 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2251 Likewise.
2252 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2253 Likewise.
2254 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
2255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
2256 Likewise.
2257 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
2258 Likewise.
2259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
2260 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2261 Likewise.
2262 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
2263 (tests): Add test case tst-tls-atexit.
2264 (modules-names): Add shared library for tst-tls-atexit.
2265 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
2266 (GLIBC_PRIVATE): Add __call_tls_dtors.
2267 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
2268 for libstdc++.
2269 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
2270 * stdlib/tst-tls-atexit.c: New test case.
2271 * stdlib/tst-tls-atexit-lib.c: New test case.
2272
ffaa74cf 2273 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 2274
be179c8a
SP
2275 * elf/Versions (ld): Add _dl_find_dso_for_object.
2276 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
2277 * elf/dl-open.c (_dl_find_dso_for_object): New function.
2278 (dl_open_worker): Use _dl_find_dso_for_object.
2279 * elf/dl-sym.c (do_sym): Likewise.
2280 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
2281
f78b5caa
AK
22822013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2283
2284 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
2285 Syntactic changes only.
2286 (_dl_runtime_profile): Do a tail-call to the resolved function.
2287
29691210
JM
22882013-02-17 Joseph Myers <joseph@codesourcery.com>
2289
2290 [BZ #13550]
2291 * sysdeps/x86_64/bp-asm.h: Remove file.
2292 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
2293 <bp-sym.h> and <bp-asm.h>.
2294 (__clone): Do not use BP_SYM.
2295 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
2296 <bp-sym.h> and <bp-asm.h>.
2297 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2298 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
2299 "bp-asm.h".
2300 (_setjmp): Do not use BP_SYM.
2301 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
2302 "bp-asm.h".
2303 (setjmp): Do not use BP_SYM.
2304 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
2305 libc_hidden_def.
2306 (mempcpy): Do not use BP_SYM in weak_alias.
2307 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
2308 "bp-asm.h".
2309 (strchr): Do not use BP_SYM.
2310 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
2311 "bp-asm.h".
2312 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
2313 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
2314 (_start): Do not use BP_SYM.
2315 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
2316 "bp-asm.h".
2317 (strcat): Do not use BP_SYM.
2318 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
2319 "bp-asm.h".
2320 (STRCMP): Do not use BP_SYM.
2321 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
2322 "bp-asm.h".
2323 (STRCPY): Do not use BP_SYM.
2324 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
2325 "bp-asm.h".
2326 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
2327 "bp-asm.h".
2328 (FUNCTION): Do not use BP_SYM.
2329 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
2330 weak_alias.
2331 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
2332
f238fd19
AJ
23332013-02-17 Andreas Jaeger <aj@suse.de>
2334
2335 * time/Versions: Sort entries.
2336 * string/Versions: Likewise.
2337 * resolv/Versions: Likewise.
2338 * posix/Versions: Likewise.
2339 * iconv/Versions: Likewise.
2340 * elf/Versions: Likewise.
2341 * wcsmbs/Versions: Likewise.
2342
bd07f23c 23432013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 2344
22af19f9
SP
2345 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
2346 loop termination condition.
2347
4709fe76
SP
2348 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
2349 variable to calculate EZ.
2350 (__sqr): Likewise.
2d0e0f29
SP
2351
2352 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
2353 the lower precision input.
2354
daaa7713
JM
23552013-02-15 Joseph Myers <joseph@codesourcery.com>
2356
2357 [BZ #13550]
2358 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
2359 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
2360 (run-via-rtld-prefix): Do not handle %-bp tests.
2361 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
2362 (all-object-suffixes): Remove .ob.
2363 (bppfx): Remove variable.
2364 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
2365 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
2366 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
2367 [$(build-bounded) = yes] (libtype.ob): Likewise.
2368 * Makerules (elide-routines.ob): Remove variable.
2369 (do-tests-clean): Do not handle *-bp.out.
2370 (common-mostlyclean): Do not handle *-bp and *-bp.out.
2371 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
2372 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
2373 (tests): Do not include $(tests-bp.out).
2374 (xtests): Do not include $(xtests-bp.out).
2375 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
2376 [$(build-bounded) = yes] ($(addprefix
2377 $(objpfx),$(binaries-bounded))): Remove rule.
2378 ($(objpfx)%-bp.out): Remove rule.
2379 * config.make.in (build-bounded): Remove variable.
2380 * crypt/Makefile [$(build-bounded) = yes]
2381 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
2382 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
2383 append to variable.
2384 [$(build-bounded) = yes] (install-lib): Likewise.
2385 [$(build-bounded) = yes] (generated): Likewise.
2386 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
2387 Remove rule.
2388 * intl/Makefile [$(build-bounded) = yes]
2389 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
2390 * math/Makefile [$(build-bounded) = yes]
2391 ($(tests:%=$(objpfx)%-bp): Likewise.
2392 * misc/Makefile [$(build-bounded) = yes]
2393 ($(objpfx)tst-tsearch-bp): Likewise.
2394 * nptl/Makeconfig (bounded-thread-library): Remove variable.
2395 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
2396 Remove dependency.
2397 * string/Makefile (o-objects.ob): Remove variable.
2398 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
2399 (CFLAGS-.ob): Remove variable.
2400 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
2401 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
2402 both definitions of variable.
2403 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
2404 (ASFLAGS-.ob): Remove variable.
2405
e97ed6dd
JM
24062013-02-14 Joseph Myers <joseph@codesourcery.com>
2407
2bdd4ca6
JM
2408 [BZ #13550]
2409 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
2410 Remove __BOUNDED_POINTERS__ from condition.
2411 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
2412 * string/bits/string2.h [!__NO_STRING_INLINES &&
2413 !__BOUNDED_POINTERS__]: Likewise.
2414 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
2415 Likewise.
2416 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
2417 Remove conditional code.
2418 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
2419 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
2420 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
2421 condition.
2422
e97ed6dd
JM
2423 [BZ #13550]
2424 * csu/libc-start.c: Do not include <bp-sym.h>.
2425 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
2426 * elf/dl-open.c: Do not include <bp-sym.h>.
2427 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
2428 * math/fegetenv.c: Do not include <bp-sym.h>.
2429 (fegetenv): Do not use BP_SYM in versioned symbols.
2430 * nptl/sysdeps/pthread/bits/libc-lockP.h
2431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
2432 <bp-sym.h>.
2433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2434 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
2435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2436 (__pthread_mutex_destroy): Likewise.
2437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2438 (__pthread_mutex_lock): Likewise.
2439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2440 (__pthread_mutex_trylock): Likewise.
2441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2442 (__pthread_mutex_unlock): Likewise.
2443 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2444 (__pthread_mutexattr_init): Likewise.
2445 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2446 (__pthread_mutexattr_destroy): Likewise.
2447 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2448 (__pthread_mutexattr_settype): Likewise.
2449 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2450 (__pthread_rwlock_init): Likewise.
2451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2452 (__pthread_rwlock_destroy): Likewise.
2453 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2454 (__pthread_rwlock_rdlock): Likewise.
2455 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2456 (__pthread_rwlock_tryrdlock): Likewise.
2457 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2458 (__pthread_rwlock_wrlock): Likewise.
2459 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2460 (__pthread_rwlock_trywrlock): Likewise.
2461 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2462 (__pthread_rwlock_unlock): Likewise.
2463 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2464 (__pthread_key_create): Likewise.
2465 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2466 (__pthread_setspecific): Likewise.
2467 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2468 (__pthread_getspecific): Likewise.
2469 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
2470 Likewise.
2471 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2472 (_pthread_cleanup_push_defer): Likewise.
2473 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2474 (_pthread_cleanup_pop_restore): Likewise.
2475 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
2476 (pthread_setcancelstate): Likewise.
2477 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
2478 <bp-sym.h>.
2479 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
2480 (memchr): Do not use BP_SYM in weak_alias.
2481 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
2482 (fegetenv): Do not use BP_SYM in versioned symbols.
2483 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
2484 (fesetenv): Do not use BP_SYM in versioned symbols.
2485 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2486 (feupdateenv): Do not use BP_SYM in versioned symbols.
2487 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2488 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2489 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
2490 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
2491 (open64): Do not use BP_SYM in weak_alias.
2492 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
2493 (fegetenv): Do not use BP_SYM in versioned symbols.
2494 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
2495 (fesetenv): Do not use BP_SYM in versioned symbols.
2496 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
2497 (feupdateenv): Do not use BP_SYM in versioned symbols.
2498 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
2499 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
2500 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
2501 (feraiseexcept): Do not use BP_SYM in versioned symbols.
2502 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
2503 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
2504 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
2505 <bp-sym.h>.
2506 (__libc_start_main): Do not use BP_SYM.
2507
d6752ccd
SP
25082013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2509
cb57ce60
SP
2510 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
2511 redundant return line.
2512 (norm): Likewise.
2513 (denorm): Likewise.
2514 (dbl_mp): Likewise.
2515 (sub_magnitudes): Likewise.
2516 (__add): Likewise.
2517 (__sub): Likewise.
2518 (__mul): Likewise.
2519 (__inv): Likewise.
2520 (__dvd): Likewise.
2521 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
2522 (norm): Likewise.
2523 (denorm): Likewise.
2524 (dbl_mp): Likewise.
2525 (sub_magnitudes): Likewise.
2526 (__add): Likewise.
2527 (__sub): Likewise.
2528 (__mul): Likewise.
2529 (__inv): Likewise.
2530 (__dvd): Likewise.
2531
f414520d
SP
2532 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
2533 instead of __mul.
2534 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
2535 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
2536 (cc32): Likewise.
2537
d6752ccd
SP
2538 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
2539 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
2540 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
2541 of __mul for squares.
2542 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
2543 function
2544 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
2545 Likewise.
2546 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
2547 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
2548
70d9946a
JM
25492013-02-13 Joseph Myers <joseph@codesourcery.com>
2550
2551 [BZ #13550]
2552 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
2553 code.
2554 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
2555 prototype or function definition. Rename ubp_* variables and
2556 parameters. Remove argv definitions conditional on
2557 [__BOUNDED_POINTERS__].
2558 * debug/backtrace.c (__backtrace): Do not use __unbounded.
2559 * elf/dl-runtime.c (_dl_fixup): Likewise.
2560 * include/set-hooks.h (RUN_HOOK): Likewise.
2561 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
2562 definition.
2563 * string/strcpy.c (strcpy): Do not use __unbounded.
2564 * sysdeps/generic/frame.h (struct layout): Likewise.
2565 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
2566 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
2567 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
2568 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
2569 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
2570 (__backtrace): Likewise.
2571 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
2572 use __ptrvalue.
2573 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
2574 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
2575 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
2576 Likewise.
2577 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
2578 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
2579 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
2580 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
2581 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
2582 Do not use __unbounded.
2583 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
2584 Rename __unboundedrlimits parameter to rlimits in prototype.
2585 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
2586 Do not use __unbounded.
2587 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
2588 not use __ptrvalue.
2589 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
2590 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
2591 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
2592 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
2593 __ptrvalue or __unbounded.
2594 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
2595 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
2596 use __unbounded.
2597 (__new_msgctl): Do not use __ptrvalue.
2598 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
2599 __unbounded.
2600 (__libc_msgrcv): Do not use __ptrvalue.
2601 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
2602 startup_info): Do not use __unbounded.
2603 (__libc_start_main): Likewise. Rename ubp_* variables and
2604 parameters. Remove argv definitions conditional on
2605 [__BOUNDED_POINTERS__].
2606 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
2607 __ptrvalue.
2608 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
2609 use __unbounded.
2610 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
2611 or __ptrvalue.
2612 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
2613 use __unbounded.
2614 (__new_shmctl): Do not use __ptrvalue.
2615 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
2616 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
2617 Likewise.
2618 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
2619 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
2620 (__libc_sigaction): Likewise.
2621 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
2622 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
2623 Likewise.
2624 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
2625
cc7834d6
OB
26262013-02-13 Ondřej Bílka <neleai@seznam.cz>
2627
ffb1ec7b 2628 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
2629
2630 * string/mempcpy.c: Implement by calling memcpy.
2631
bdf02814
SP
26322013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2633
c2af38aa
SP
2634 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
2635
4e92d59e
SP
2636 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
2637 evaluation.
2638
909279a5
SP
2639 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
2640 values in the mantissa.
2641
bdf02814
SP
2642 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
2643 minimize writes to Z.
2644 (sub_magnitudes): Simplify code a bit.
2645
cd525923
RM
26462013-02-12 Roland McGrath <roland@hack.frob.com>
2647
2648 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
2649 from the message. The linker prefixes all warnings with that already.
2650
7e2f0d2d
AS
26512013-02-12 Andreas Schwab <schwab@suse.de>
2652
a445af0b
AS
2653 [BZ #15078]
2654 * posix/regexec.c (extend_buffers): Add parameter min_len.
2655 (check_matching): Pass minimum needed length.
2656 (clean_state_log_if_needed): Likewise.
2657 (get_subexp): Likewise.
2658 * posix/Makefile (tests): Add bug-regex34.
2659 (bug-regex34-ENV): Define.
2660 * posix/bug-regex34.c: New file.
2661
7e2f0d2d
AS
2662 [BZ #11561]
2663 * posix/regcomp.c (parse_bracket_exp): When looking up collating
2664 elements compare against the byte sequence of it, not its name.
2665 * posix/Makefile (tests): Add bug-regex35.
2666 (bug-regex35-ENV): Define.
2667 * posix/bug-regex35.c: New file.
2668
a175b684
TV
26692013-02-11 Tom de Vries <tom@codesourcery.com>
2670
2671 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
2672 comment.
2673 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
2674 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
2675 (CHECK_EOL): Add undef.
2676
310998fe 26772013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
2678
2679 * bits/stdlib-bsearch.h: New file.
2680 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 2681 * stdlib/stdlib.h: Likewise.
41eda41d 2682
8ded91fb
RM
26832013-02-11 Roland McGrath <roland@hack.frob.com>
2684
2685 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
2686 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
2687 declaration.
2688 * manual/search.texi (Array Search Function): Add missing const in
2689 lfind prototype.
2690 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
2691 declaration to use rlim_t.
2692 (Basic Scheduling Functions): Remove erroneous const from
2693 sched_getparam prototype. Remove erroneous * from
2694 sched_get_priority_max and sched_get_priority_min prototypes.
2695 (Resource Usage): Fix summary @comment on vtimes to refer to
2696 sys/vtimes.h rather than vtimes.h.
2697 Add missing *s in vtimes prototype.
2698 (Limits on Resources): Fix ulimit prototype to return long int.
2699 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
2700 prototypes to use long int rather than double.
2701 (BSD Random): Fix initstate and setstate to use char *, not void *.
2702 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
2703 prototype to make second argument 'struct aiocb64 *const[]'.
2704 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
2705 (Status of AIO Operations): Remove erroneous const in aio_return and
2706 aio_return64 prototypes.
2707 (Synchronizing I/O): Fix sync prototype to return void.
2708 * manual/startup.texi (Suboptions): Remove an erroneous const in
2709 getsubopt prototype.
2710 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
2711 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
2712 use size_t rather than int.
2713 (Scanning All Users): Likewise for getpwent_r.
2714 (Setting Groups): Add missing const to setgroups prototype.
2715 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
2716 * manual/socket.texi (Host Names): Fix gethostbyaddr and
2717 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
2718 'const void *' rather than 'const char *'.
2719 (Host Address Functions): Likewise for inet_ntop.
2720 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
2721 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
2722 ssize_t for return value.
2723 (Sending Data): Likewise for send, sendto, sendmsg.
2724 (Socket Option Functions): Add a missing const in setsockopt prototype.
2725 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
2726 use wchar_t for the argument.
2727 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
2728 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
2729 take no arguments.
2730 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
2731 double/float/long double for second argument.
2732 Fix return types of significand, significandf, significandl.
2733 * manual/filesys.texi (Setting Permissions): Use mode_t for second
2734 argument in fchmod prototype.
2735 (File Owner): Use uid_t and gid_t in fchown prototype.
2736 (File Times): Add const to utimes, futimes, and lutimes prototypes.
2737 (Making Special Files): Use mode_t and dev_t in mknod prototype.
2738 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
2739 use 'const struct dirent **' as argument types to CMP function pointer
2740 argument.
2741 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
2742 (File Times): Fix summary magic @comment for struct utimbuf and utime
2743 to refer to utime.h, not time.h.
2744 * manual/string.texi (Argz Functions): Add missing const in
2745 argz_extract and argz_next prototypes.
2746 (Finding Tokens in a String): Likewise for basename.
2747 (String/Array Comparison): Fix typo in wcscasecmp prototype.
2748 (Copying and Concatenation): Fix typo in wmemmove prototype.
2749 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
2750 (Signal Stack): Remove erroneous const in sigstack prototype.
2751 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
2752 prototype.
2753 (Simple Calendar Time): Likewise for stime.
2754 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
2755 prototype.
2756 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
2757 say sys/sysctl.h instead.
2758 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
2759 and vsyslog prototypes.
2760
fe77fe6d
TV
27612013-02-11 Tom de Vries <tom@codesourcery.com>
2762
2763 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
2764 Remove.
2765
3a09b620
RM
27662013-02-11 Roland McGrath <roland@hack.frob.com>
2767
2768 * misc/sys/mman.h: Fix typo in mremap comment.
2769
550a0b89
RM
27702013-02-08 Roland McGrath <roland@hack.frob.com>
2771
2772 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
2773 the '\0' terminator.
2774
a2da1673
JM
27752013-02-08 Joseph Myers <joseph@codesourcery.com>
2776
2777 [BZ #13550]
2778 * debug/segfault.c: Don't include <bp-checks.h>.
2779 * sysdeps/generic/bp-checks.h: Remove file.
2780 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
2781 (__GETDENTS): Don't use CHECK_N.
2782 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
2783 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2784 (__getgroups): Don't use CHECK_N.
2785 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
2786 (setgroups): Don't use CHECK_N.
2787 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
2788 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
2789 (__libc_msgrcv): Don't use CHECK_N.
2790 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
2791 (__libc_msgsnd): Don't use CHECK_N.
2792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
2793 <bp-checks.h>.
2794 (__libc_pread): Don't use CHECK_N.
2795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
2796 include <bp-checks.h>.
2797 (__libc_pread64): Don't use CHECK_N.
2798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
2799 include <bp-checks.h>.
2800 (__libc_pwrite): Don't use CHECK_N.
2801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
2802 include <bp-checks.h>.
2803 (__libc_pwrite64): Don't use CHECK_N.
2804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
2805 <bp-checks.h>.
2806 (__libc_pread): Don't use CHECK_N.
2807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
2808 include <bp-checks.h>.
2809 (__libc_pread64): Don't use CHECK_N.
2810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
2811 include <bp-checks.h>.
2812 (__libc_pwrite): Don't use CHECK_N.
2813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
2814 include <bp-checks.h>.
2815 (__libc_pwrite64): Don't use CHECK_N.
2816 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
2817 (do_pread): Don't use CHECK_N.
2818 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
2819 (do_pread64): Don't use CHECK_N.
2820 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
2821 (do_pwrite): Don't use CHECK_N.
2822 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
2823 (do_pwrite64): Don't use CHECK_N.
2824 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
2825 (__libc_readv): Don't use CHECK_N.
2826 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
2827 (semop): Don't use CHECK_N.
2828 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
2829 <bp-checks.h>.
2830 (semtimedop): Don't use CHECK_N.
2831 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
2832 (__libc_pread): Don't use CHECK_N.
2833 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
2834 <bp-checks.h>.
2835 (__libc_pread64): Don't use CHECK_N.
2836 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
2837 <bp-checks.h>.
2838 (__libc_pwrite): Don't use CHECK_N.
2839 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
2840 <bp-checks.h>.
2841 (__libc_pwrite64): Don't use CHECK_N.
2842 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
2843 <bp-checks.h>.
2844 (__libc_msgrcv): Don't use CHECK_N.
2845 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
2846 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
2847 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
2848 (__libc_writev): Don't use CHECK_N.
2849
b84660a8
RM
28502013-02-08 Roland McGrath <roland@hack.frob.com>
2851
7f3e75f8
RM
2852 * string/strcpy.c: Removed unused variable.
2853
b84660a8
RM
2854 * Makeconfig (+sysdep-includes): Define with := rather than =.
2855 Use an existing include/ subdir of each sysdeps dir before it.
2856
471514d3
CD
28572013-02-08 Carlos O'Donell <carlos@redhat.com>
2858
2859 * nscd/connection.c (register_traced_file): Comment function.
2860 [HAVE_INOTIFY] (union __inev): Define.
2861 [HAVE_INOTIFY] (inotify_check_files): New function.
2862 [HAVE_INOTIFY] (clear_db_cache): Likewise.
2863 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
2864 clear_db_cache.
2865 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
2866
b2d3c3be
CD
28672013-02-08 Carlos O'Donell <carlos@redhat.com>
2868
2869 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
2870 loaded if not already and that a failure is permanent.
2871
b39949d2
CD
28722013-02-08 Carlos O'Donell <carlos@redhat.com>
2873
ddacd1db 2874 [BZ #15006]
b39949d2
CD
2875 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
2876 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
2877
b2c9eff4
JM
28782013-02-08 Joseph Myers <joseph@codesourcery.com>
2879
f3aae3f3
JM
2880 [BZ #13550]
2881 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
2882 (CHECK_1_NULL_OK): Likewise.
2883 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
2884 (__fxstat): Do not use CHECK_1.
2885 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
2886 <bp-checks.h>.
2887 (___fxstat64): Do not use CHECK_1.
2888 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
2889 <bp-checks.h>.
2890 (__fxstatat): Do not use CHECK_1.
2891 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
2892 <bp-checks.h>.
2893 (__fxstatat64): Do not use CHECK_1.
2894 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
2895 <bp-checks.h>.
2896 (__fxstat): Do not use CHECK_1.
2897 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
2898 <bp-checks.h>.
2899 (__fxstatat): Do not use CHECK_1.
2900 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2901 <bp-checks.h>.
2902 (__getresgid): Do not use CHECK_1.
2903 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2904 <bp-checks.h>.
2905 (__getresuid): Do not use CHECK_1.
2906 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
2907 <bp-checks.h>.
2908 (__lxstat): Do not use CHECK_1.
2909 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2910 <bp-checks.h>.
2911 (__old_msgctl): Do not use CHECK_1.
2912 (__new_msgctl): Likewise.
2913 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
2914 <bp-checks.h>.
2915 (__new_setrlimit): Do not use CHECK_1.
2916 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2917 <bp-checks.h>.
2918 (__old_shmctl): Do not use CHECK_1.
2919 (__new_shmctl): Likewise.
2920 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
2921 <bp-checks.h>.
2922 (__xstat): Do not use CHECK_1.
2923 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
2924 (__lxstat): Do not use CHECK_1.
2925 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
2926 <bp-checks.h>.
2927 (___lxstat64): Do not use CHECK_1.
2928 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
2929 (__old_msgctl): Do not use CHECK_1.
2930 (__new_msgctl): Likewise.
2931 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
2932 <bp-checks.h>.
2933 (__gettimeofday): Do not use CHECK_1.
2934 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
2935 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
2936 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
2937 <bp-checks.h>.
2938 (__gettimeofday): Do not use CHECK_1.
2939 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
2940 (__old_shmctl): Do not use CHECK_1_NULL_OK.
2941 (__new_shmctl): Do not use CHECK_1.
2942 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
2943 <bp-checks.h>.
2944 (do_sigtimedwait): Do not use CHECK_1.
2945 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
2946 <bp-checks.h>.
2947 (do_sigwaitinfo): Do not use CHECK_1.
2948 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
2949 <bp-checks.h>.
2950 (msgctl): Do not use CHECK_1.
2951 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
2952 <bp-checks.h>.
2953 (shmctl): Do not use CHECK_1.
2954 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
2955 (ustat): Do not use CHECK_1.
2956 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
2957 <bp-checks.h>.
2958 (__fxstat): Do not use CHECK_1.
2959 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
2960 <bp-checks.h>.
2961 (__fxstatat): Do not use CHECK_1.
2962 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
2963 <bp-checks.h>.
2964 (__lxstat): Do not use CHECK_1.
2965 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
2966 <bp-checks.h>.
2967 (__xstat): Do not use CHECK_1.
2968 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
2969 (__xstat): Do not use CHECK_1.
2970 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
2971 (___xstat64): Do not use CHECK_1.
2972
b2c9eff4
JM
2973 [BZ #13550]
2974 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
2975 definitions.
2976 (CHECK_BOUNDS_HIGH): Likewise.
2977 * string/strcpy.c: Do not include <bp-checks.h>.
2978 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
2979
f1d70dad
RM
29802013-02-07 Roland McGrath <roland@hack.frob.com>
2981
2982 * nscd/nscd-client.h (__nscd_drop_map_ref):
2983 Add __attribute__ ((unused)).
2984 * nis/nss-nisplus.h (niserr2nss): Likewise.
2985
2986 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
2987 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
2988
2989 * csu/libc-tls.c (init_static_tls, init_slotinfo):
2990 Remove inline keyword.
2991 * include/rounding-mode.h (round_away): Likewise.
2992 * libio/wfileops.c (adjust_wide_data): Likewise.
2993 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
2994 (__m128i_strloadu_tolower): Likewise.
2995 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
2996 (__m128i_strloadu_tolower): Likewise.
2997 * time/mktime.c (ydhms_diff): Likewise.
2998 * locale/elem-hash.h (elem_hash): Likewise.
2999 * locale/setlocale.c (setdata): Likewise.
3000 * posix/regex_internal.h (re_string_char_size_at): Likewise.
3001 (re_string_wchar_at): Likewise.
3002 (bitset_not, bitset_merge, bitset_mask): Likewise.
3003 [!(__GNUC__ > 3)] (inline): Remove macro.
3004 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
3005 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
3006 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
3007 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
3008 * string/memcmp.c (memcmp_bytes): Likewise.
3009 * locale/programs/locarchive.c (compute_hashval): Likewise.
3010 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
3011 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
3012 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
3013 * nss/getent.c (print_rpc, print_protocols): Likewise.
3014 (print_passwd, print_group, print_aliases): Likewise.
3015 * nis/nss-nisplus.h (niserr2nss): Likewise.
3016 * nscd/connections.c (restart_p): Likewise.
3017 Change return type to bool.
3018
eab55bfb
RM
30192013-02-05 Roland McGrath <roland@hack.frob.com>
3020
7bd642f5
RM
3021 * Makeconfig (all-Depend-files): Add existing
3022 $(sorted-subdirs:=/Depend) files.
3023 (all-subdirs): Remove nss.
3024 * sysdeps/unix/inet/Subdirs: Add it here instead.
3025 * hesiod/Depend: New file.
3026
573c29b2
RM
3027 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
3028 instead of calling alloca.
3029
b2e25af0
RM
3030 * io/lseek.c (__lseek): Rename to __libc_lseek.
3031 Define __lseek as an alias.
3032
eab55bfb
RM
3033 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
3034
9a0d1941
CD
30352013-02-04 Carlos O'Donell <carlos@redhat.com>
3036
3037 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
3038 else clause and remove check for non-standard endianness.
3039
b83bbec4
DM
30402013-02-04 David S. Miller <davem@davemloft.net>
3041
3042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3043
6277fdab
JM
30442013-02-04 Joseph Myers <joseph@codesourcery.com>
3045
3046 [BZ #13550]
3047 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
3048 (__ubp_memchr): Remove prototype.
3049 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
3050 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3051 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
3052 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
3053 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
3054 Remove alias.
3055 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
3056 (__ubp_memchr): Likewise.
3057 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
3058 (__ubp_memchr): Likewise.
3059 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
3060 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
3061 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
3062 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
3063 CHECK_STRING.
3064 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3065 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
3066 (__getcwd): Do not use CHECK_STRING.
3067 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
3068 <bp-checks.h>.
3069 (__real_chown): Do not use CHECK_STRING.
3070 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
3071 <bp-checks.h>.
3072 (fchownat): Do not use CHECK_STRING.
3073 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
3074 CHECK_STRING.
3075 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
3076 <bp-checks.h>.
3077 (__lchown): Do not use CHECK_STRING.
3078 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
3079 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
3080 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
3081 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
3082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
3083 include <bp-checks.h>.
3084 (truncate64): Do not use CHECK_STRING.
3085 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
3086 <bp-checks.h>.
3087 (__real_chown): Do not use CHECK_STRING.
3088 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
3089 <bp-checks.h>.
3090 (__lchown): Do not use CHECK_STRING.
3091 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
3092 <bp-checks.h>.
3093 (__chown): Do not use CHECK_STRING.
3094 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
3095 <bp-checks.h>.
3096 (truncate64): Do not use CHECK_STRING.
3097 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
3098 Likewise.
3099 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
3100 (__xmknod): Do not use CHECK_STRING.
3101 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3102 <bp-checks.h>.
3103 (__xmknodat): Do not use CHECK_STRING.
3104 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
3105 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
3106
903ae060
AS
31072013-02-04 Andreas Schwab <schwab@suse.de>
3108
3109 [BZ #14142]
3110 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
3111 * include/netdb.h: Likewise for h_errno.
3112 * elf/tst-stackguard1.c: Include <tls.h>.
3113
542f9466
JK
31142013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
3115
3116 * elf/link.h (struct link_map): Extend the l_addr comment.
3117 * include/link.h (struct link_map): Likewise.
3118
e782a927
JM
31192013-02-01 Joseph Myers <joseph@codesourcery.com>
3120
3121 [BZ #13550]
3122 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
3123 (BOUNDED_1): Remove macro.
3124 * debug/backtrace.c: Don't include <bp-checks.h>.
3125 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
3126 (__backtrace): Likewise.
3127 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
3128 <bp-checks.h>.
3129 (__backtrace): Don't use BOUNDED_1.
3130 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
3131 <bp-checks.h>.
3132 (__backtrace): Don't use BOUNDED_1.
3133 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
3134 (__backtrace): Don't use BOUNDED_1.
3135 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
3136 (shmat): Don't use BOUNDED_N.
3137
8cf28c5e
JM
31382013-01-31 Joseph Myers <joseph@codesourcery.com>
3139
3a7ac8a0
JM
3140 [BZ #13550]
3141 * sysdeps/generic/bp-start.h: Remove file.
3142 * csu/libc-start.c: Don't include <bp-start.h>.
3143 (LIBC_START_MAIN): Set up __environ directly instead of using
3144 INIT_ARGV_and_ENVIRON.
3145 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
3146 <bp-start.h>.
3147
f3499f95
JM
3148 [BZ #13550]
3149 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
3150 definitions.
3151 (CHECK_FCNTL): Likewise.
3152 (CHECK_N_PAGES): Likewise.
3153
32a45bea
JM
3154 [BZ #13550]
3155 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
3156 definitions.
3157 (CHECK_SIGSET_NULL_OK): Likewise.
3158 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
3159 <bp-checks.h>.
3160 (sigpending): Don't use CHECK_SIGSET.
3161 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
3162 <bp-checks.h>.
3163 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3164 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
3165 <bp-checks.h>.
3166 (do_sigsuspend): Don't use CHECK_SIGSET.
3167 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
3168 use CHECK_SIGSET.
3169 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
3170 (do_sigwait): Don't use CHECK_SIGSET.
3171 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
3172 use CHECK_SIGSET.
3173 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
3174 include <bp-checks.h>.
3175 (sigpending): Don't use CHECK_SIGSET.
3176 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
3177 include <bp-checks.h>.
3178 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3179 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
3180 <bp-checks.h>.
3181 (sigpending): Don't use CHECK_SIGSET.
3182 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
3183 <bp-checks.h>.
3184 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
3185
2e8a5c8c
JM
3186 [BZ #13550]
3187 * sysdeps/generic/bp-semctl.h: Remove file.
3188 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
3189 <bp-checks.h> and <bp-semctl.h>.
3190 (__old_semctl): Don't use CHECK_SEMCTL.
3191 (__new_semctl): Likewise.
3192 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
3193 and <bp-semctl.h>.
3194 (__old_semctl): Don't use CHECK_SEMCTL.
3195 (__new_semctl): Likewise.
3196 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
3197 <bp-checks.h> and <bp-semctl.h>.
3198 (__old_semctl): Don't use CHECK_SEMCTL.
3199 (__new_semctl): Likewise.
3200 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
3201 <bp-checks.h> and <bp-semctl.h>.
3202 (semctl): Don't use CHECK_SEMCTL.
3203
c2d54929
JM
3204 [BZ #13550]
3205 * Makerules (elide-bp-thunks): Remove variable.
3206 (elide-routines.oS): Don't use $(elide-bp-thunks).
3207 (elide-routines.os): Likewise.
3208 (elide-routines.o): Likewise.
3209 (elide-routines.op): Likewise.
3210 (elide-routines.og): Likewise.
3211 (objects): Don't use $(bp-thunks).
3212 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
3213 include.
3214 (common-generated): Do not add s-proto-bp.d.
3215 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
3216 (int): Likewise.
3217 (typ): Likewise.
3218 Do not generate makefile rules for bounded-pointer thunks.
3219 * sysdeps/generic/bp-thunks.h: Remove file.
3220 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
3221 * sysdeps/unix/s-proto-bp.S: Likewise.
3222
8cf28c5e
JM
3223 [BZ #15062]
3224 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
3225 parts of result separately when argument is not close to line from
3226 -i to i and one part of argument is small.
3227 * math/k_casinhf.c (__kernel_casinhf): Likewise.
3228 * math/k_casinhl.c (__kernel_casinhl): Likewise.
3229 * math/libm-test.inc (cacos_test): Add more tests.
3230 (casin_test): Likewise.
3231 (casinh_test): Likewise.
3232 * sysdeps/i386/fpu/libm-test-ulps: Update.
3233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3234
c4e33b8d
DM
32352013-01-31 David S. Miller <davem@davemloft.net>
3236
3237 * po/de.po: Update from translation team.
3238
3b60b421
MK
32392013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
3240
3241 * time/tzfile.c: Include stdint.h for SIZE_MAX.
3242
bb931195
TS
32432013-01-25 Thomas Schwinge <thomas@codesourcery.com>
3244
b5a5da23
TS
3245 * configure.in (_AC_PROG_CC_C89): New definition.
3246 * configure: Regenerate.
3247
bb931195
TS
3248 * configure.in (AC_PROG_CPP): New definition.
3249 * configure: Regenerate.
3250
8c53a12c
JM
32512013-01-23 Joseph Myers <joseph@codesourcery.com>
3252
3253 * debug/tst-backtrace.h: New file.
3254 * debug/tst-backtrace2.c: Include tst-backtrace.h.
3255 (ret): Remove variable.
3256 (x): Likewise.
3257 (FAIL): Remove macro.
3258 (NO_INLINE): Likewise.
3259 (fn1): Use match function instead of strstr.
3260 * debug/tst-backtrace3.c: Include tst-backtrace.h.
3261 (ret): Remove variable.
3262 (x): Likewise.
3263 (FAIL): Remove macro.
3264 (NO_INLINE): Likewise.
3265 (fn): Use match function instead of strstr.
3266 * debug/tst-backtrace4.c: Include tst-backtrace.h.
3267 (ret): Remove variable.
3268 (x): Likewise.
3269 (FAIL): Remove macro.
3270 (NO_INLINE): Likewise.
3271 (handle_signal): Use match function instead of strstr.
3272 * debug/tst-backtrace5.c: Include tst-backtrace.h.
3273 (ret): Remove variable.
3274 (x): Likewise.
3275 (FAIL): Remove macro.
3276 (NO_INLINE): Likewise.
3277 (handle_signal): Use match function instead of strstr.
3278
4858fa2a
RM
32792013-01-23 Roland McGrath <roland@hack.frob.com>
3280
3281 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
3282
bae8e7f5
DM
32832013-01-23 David S. Miller <davem@davemloft.net>
3284
3285 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
3286 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
3287 argument of CAS if possible.
3288 * sysdeps/sparc/sparc64/bits/atomic.h
3289 (__arch_compare_and_exchange_val_32_acq): Likewise.
3290 (__arch_compare_and_exchange_val_64_acq): Likewise.
3291
9cbbc4ae
PT
32922013-01-23 Pino Toscano <toscano.pino@tiscali.it>
3293
3294 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
3295 * sysdeps/posix/ulimit.c: ... this.
92a601b8 3296 Include <limits.h>.
67b3f58c 3297 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 3298
5655a0b5
AC
32992013-01-23 Adam Conrad <adconrad@0c3.net>
3300
3301 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
3302 (LDFLAGS-tst-array5): Likewise.
3303
052aff95
JM
33042013-01-23 Joseph Myers <joseph@codesourcery.com>
3305
3306 [BZ #15036]
3307 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
3308 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
3309 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
3310 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
3311
7c1e01aa
DM
33122013-01-21 David S. Miller <davem@davemloft.net>
3313
3314 * sysdeps/sparc/backtrace.c: New file.
3315 * sysdeps/sparc/sparc32/backtrace.h: New file.
3316 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
3317 * sysdeps/sparc/sparc64/backtrace.h: New file.
3318 * sysdeps/sparc/sparc64/backtrace.c: Delete.
3319 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
3320 -funwind-tables.
3321
ab087e0a
AS
33222013-01-21 Andreas Schwab <schwab@suse.de>
3323
3324 [BZ #15020]
3325 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
3326 closed its stdout.
3327
ed689c2f
AS
33282013-01-20 Andreas Schwab <schwab@linux-m68k.org>
3329
3330 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
3331 "mpa2.h".
3332 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3333
31d470ac
JM
33342013-01-18 Joseph Myers <joseph@codesourcery.com>
3335 Mark Mitchell <mark@codesourcery.com>
3336 Tom de Vries <tom@codesourcery.com>
3337 Paul Pluzhnikov <ppluzhnikov@google.com>
3338
3339 * debug/tst-backtrace2.c: New file.
3340 * debug/tst-backtrace3.c: Likewise.
3341 * debug/tst-backtrace4.c: Likewise.
3342 * debug/tst-backtrace5.c: Likewise.
3343 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
3344 (CFLAGS-tst-backtrace3.c): Likewise.
3345 (CFLAGS-tst-backtrace4.c): Likewise.
3346 (CFLAGS-tst-backtrace5.c): Likewise.
3347 (LDFLAGS-tst-backtrace2): Likewise.
3348 (LDFLAGS-tst-backtrace3): Likewise.
3349 (LDFLAGS-tst-backtrace4): Likewise.
3350 (LDFLAGS-tst-backtrace5): Likewise.
3351 (tests): Add new tests tst-backtrace2, tst-backtrace3,
3352 tst-backtrace4 and tst-backtrace5.
3353
90567f30 33542013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
3355 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3356
3357 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
3358 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
3359 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
3360 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
3361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3362 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
3363 "+r" and remove output regs list as redundant. Add explicit inline
3364 asm to specify register of return val to work around compiler codegen
3365 bug. Remove (int) cast on return value. Add return type parameter to
3366 use in macro so that this macro does not truncate return value for
3367 64-bit values.
3368 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
3369 pass to INTERNAL_VSYSCALL_NCS.
3370 (INLINE_VSYSCALL): Add 'long int' as return type to
3371 INTERNAL_VSYSCALL_NCS macro invocation.
3372 (INTERNAL_VSYSCALL): Add 'long int' as return type to
3373 INTERNAL_VSYSCALL_NCS macro invocation.
3374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3375
d3b9ea61
SP
33762013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3377
0b57daeb
SP
3378 [BZ #14496]
3379 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
3380 Fix application of SIMD FP exception mask.
3381
caa99d06
SP
3382 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
3383 mp_no from a power of two.
3384 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
3385 __mpexp_twomm1. Use __pow_mp.
3386
d3b9ea61
SP
3387 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
3388 multiplication.
3389
1dbaee3c
DM
33902013-01-17 David S. Miller <davem@davemloft.net>
3391
3392 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3393
728d7b43
JM
33942013-01-17 Joseph Myers <joseph@codesourcery.com>
3395
3396 [BZ #15023]
3397 * include/complex.h: Condition contents on [!_COMPLEX_H].
3398 (__kernel_casinhf): New prototype.
3399 (__kernel_casinh): Likewise.
3400 (__kernel_casinhl): Likewise.
3401 * math/Makefile (libm_calls): Add k_casinh.
3402 * math/k_casinh.c: New file.
3403 * math/k_casinhf.c: Likewise.
3404 * math/k_casinhl.c: Likewise.
3405 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
3406 finite nonzero arguments.
3407 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
3408 finite nonzero arguments.
3409 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
3410 finite nonzero arguments.
3411 * math/s_casinh.c: Do not include <float.h>.
3412 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
3413 * math/s_casinhf.c: Do not include <float.h>.
3414 (__casinhf): Move code for finite nonzero arguments to
3415 k_casinhf.c.
3416 * math/s_casinhl.c: Do not include <float.h>.
3417 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
3418 redefine.
3419 (__casinhl): Move code for finite nonzero arguments to
3420 k_casinhl.c.
3421 * math/libm-test.inc (cacos_test): Add more tests.
3422 * sysdeps/i386/fpu/libm-test-ulps: Update.
3423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3424
2a26ef3a
PT
34252013-01-17 Pino Toscano <toscano.pino@tiscali.it>
3426
3427 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
3428 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
3429 [!HAVE_MREMAP]: Remove [defined linux] case.
3430 * malloc/arena.c: Do not include <malloc-sysdep.h>.
3431
a897655d
SP
34322013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3433
3434 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
3435
881ebe89 34362013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
3437
3438 * elf/elf.h (R_386_SIZE32): New relocation.
3439 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
3440 R_386_SIZE32.
3441 (elf_machine_rela): Likewise.
3442 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3443 R_X86_64_SIZE64 and R_X86_64_SIZE32.
3444
59981e9b
JM
34452013-01-17 Joseph Myers <joseph@codesourcery.com>
3446
3447 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
3448 (FP_FAST_FMA): Do not define.
3449 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
3450 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
3451 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
3452 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
3453 !_SOFT_FLOAT]: Likewise.
3454 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
3455 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
3456 value.
3457 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
3458 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
3459 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
3460 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
3461 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
3462 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
3463 file.
3464
cfa8054f
AS
34652013-01-16 Andreas Schwab <schwab@suse.de>
3466
3467 [BZ #14327]
3468 * include/stdlib.h (__mktemp): Add declaration.
3469 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
3470 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
3471
dd930cc5
SP
34722013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3473
881ebe89
SP
3474 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
3475 definitions.
3476 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
3477 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
3478 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
3479 definitions here.
3480 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
3481 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
3482 definitions.
3483 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
3484 and ONE.
3485 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
3486 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
3487 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
3488 definitions.
3489 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
3490 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
3491 definitions.
3492 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 3493
dd930cc5
SP
3494 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
3495
c19a9f89
DM
34962013-01-15 David S. Miller <davem@davemloft.net>
3497
1aa61767
DM
3498 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3499 trunc{,f} to libm-sysdep_routes.
3500 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
3502 file.
3503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
3504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
3505 file.
3506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
3507 file.
3508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
3509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
3510 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
3511 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
3512 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
3513 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
3514 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
3515 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
3516
c42d5e98
DM
3517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3518 nearbyint{,f} to libm-sysdep_routes.
3519 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
3521 New file.
3522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
3523 file.
3524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
3525 New file.
3526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
3527 file.
3528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
3529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
3530 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
3531 file.
3532 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
3533 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
3534 file.
3535 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
3536 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
3537 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
3538
c19a9f89
DM
3539 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
3540 libc_feholdexcept and libc_fesetenv.
3541
357679d2
MF
35422013-01-15 Mike Frysinger <vapier@gentoo.org>
3543
3544 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
3545
65a82e3d
DM
35462013-01-14 David S. Miller <davem@davemloft.net>
3547
8b954ab9
DM
3548 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
3549 (SPARC_ASM_VIS2_IFUNC): Likewise.
3550 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
3551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
3552 use of 'siam' instruction.
3553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
3554 Likewise.
3555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
3556 Likewise.
3557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
3558 Likewise.
3559 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
3560 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
3561 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
3562 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
3563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
3564 file.
3565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
3566 file.
3567 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
3568 file.
3569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
3570 file.
3571 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
3572 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
3573 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
3574 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
3575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
3576 new VIS2 routines.
3577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
3578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
3579 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
3580 Likewise.
3581 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
3582 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
3583 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
3584 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
3585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
3586 routines to libm-sysdep_routines.
3587 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
3588
65a82e3d
DM
3589 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
3590 fdim/fdimf to libm-sysdep_routines.
3591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
3592 file.
3593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
3594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
3595 file.
3596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
3597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
3598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
3599 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
3600 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
3601 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
3602 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
3603
e34ab705
SP
36042013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3605
2a91b573
SP
3606 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
3607 to optimize copies.
3608
1066a534
SP
3609 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
3610 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
3611 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
3612
e34ab705
SP
3613 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
3614 local variable MPTWO.
3615 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
3616 Likewise.
3617
aba5e596
MF
36182013-01-13 Mike Frysinger <vapier@gentoo.org>
3619
3620 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
3621 GLOB_NOESCAPE.
3622
e557e9e5
MF
36232013-01-13 Mike Frysinger <vapier@gentoo.org>
3624
3625 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
3626
0428cec9
MF
36272013-01-13 Mike Frysinger <vapier@gentoo.org>
3628
3629 * manual/pattern.texi (glob_t): Document gl_flags.
3630 (glob64_t): Likewise.
3631
8794a964
DM
36322013-01-11 David S. Miller <davem@davemloft.net>
3633
66438c3f
RM
3634 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
3635 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
3636 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
3637 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
3638 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
3639 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
3640 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
3641 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
3642 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
3643 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
3644 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
3645 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
3646 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
3647
4ae4244d
DM
3648 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3649 sparc V9 rather than using V8 code.
3650 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3651 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3652
8794a964
DM
3653 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
3654 Move to...
3655 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
3656 Here.
3657
6270516e
RM
36582013-01-11 Roland McGrath <roland@hack.frob.com>
3659
3660 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
3661 not in the main loop.
3662 * configure: Regenerated.
3663
6a57d931
JM
36642013-01-11 Joseph Myers <joseph@codesourcery.com>
3665
3666 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
3667 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
3668 to just #else.
3669 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
3670 [!__GLIBC_HAVE_LONG_LONG] case.
3671 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
3672 condition to just #else.
3673 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
3674 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
3675 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
3676 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
3677 unconditional.
3678 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
3679 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3680 #elif condition to just #else.
3681 * sysdeps/unix/sysv/linux/sys/sysmacros.h
3682 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
3683 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
3684 #elif condition to just #else.
3685
0e8529e9
SE
36862013-01-11 Steve Ellcey <sellcey@mips.com>
3687
3688 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
3689 (EF_MIPS_ARCH_64): Fix value.
3690 (EF_MIPS_ARCH_32R2): New.
3691 (EF_MIPS_ARCH_64R2): New.
3692
740b3dbe
L
36932013-01-11 H.J. Lu <hongjiu.lu@intel.com>
3694
3695 * Makeconfig (+link-pie-before-libc): New.
3696 (+link-pie-after-libc): Likewise.
3697 (+link-pie-tests): Likewise.
3698 (+link-pie): Rewritten.
3699 (link-before-libc): Remove $(config-LDFLAGS).
3700 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
3701 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
3702 (config-LDFLAGS): Renamed to ...
3703 (rtld-LDFLAGS): This.
3704 (rtld-tests-LDFLAGS): New macro.
3705 (link-libc-rpath-link): Likewise.
3706 (link-libc-tests-rpath-link): Likewise.
3707 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
3708 (link-libc): Prepand $(link-libc-rpath-link).
3709 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
3710 (test-program-prefix): New macro.
3711 (test-via-rtld-prefix): Likewise.
3712 (test-program-cmd): Likewise.
3713 (host-test-program-cmd): Likewise.
3714 * Makefile ($(common-objpfx)testrun.sh): Replace
3715 $(run-program-prefix) with $(test-program-prefix).
3716 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
3717 $(rtld-LDFLAGS).
3718 ($(common-objpfx)shlib.lds): Likewise.
3719 (build-module-helper): Likewise.
3720 ($(common-objpfx)format.lds): Likewise.
3721 * Rules (binaries-pie-tests): New.
3722 (binaries-pie-notests): Likewise.
3723 (binaries-pie): Rewritten.
3724 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
3725 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
3726 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
3727 (make-test-out): Replace $(host-built-program-cmd) with
3728 $(host-test-program-cmd).
3729 * config.make.in (build-hardcoded-path-in-tests): New variable.
3730 * configure.in (--enable-hardcoded-path-in-tests): New configure
3731 option.
3732 (hardcoded_path_in_tests): New AC_SUBST.
3733 * configure: Regenerated.
3734 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
3735 $(built-program-cmd) with $(test-program-cmd).
3736 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
3737 (test_program_cmd): This.
3738 * elf/Makefile ($(objpfx)order.out): Run test with
3739 $(test-program-prefix).
3740 ($(objpfx)order2.out): Likewise.
3741 ($(objpfx)tst-initorder.out): Likewise.
3742 ($(objpfx)tst-initorder2.out): Likewise.
3743 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
3744 $(test-program-cmd).
3745 ($(objpfx)tst-array1-static.out): Likewise.
3746 ($(objpfx)tst-array2.out): Likewise.
3747 ($(objpfx)tst-array3.out): Likewise.
3748 ($(objpfx)tst-array4.out): Likewise.
3749 ($(objpfx)tst-array5.out): Likewise.
3750 ($(objpfx)tst-array5-static.out): Likewise.
3751 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
3752 $(test-program-cmd).
3753 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
3754 $(run-program-prefix) with $(test-program-prefix).
3755 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
3756 (test_program_prefix): This.
3757 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
3758 $(run-program-prefix) with $(test-program-prefix).
3759 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
3760 (test_program_prefix): This.
3761 * iconvdata/tst-tables.sh: Likewise.
3762 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
3763 $(run-program-prefix) with $(test-program-prefix).
3764 ($(objpfx)tst-translit.out): Likewise.
3765 ($(objpfx)tst-gettext2.out): Likewise.
3766 ($(objpfx)tst-gettext4.out): Likewise.
3767 ($(objpfx)tst-gettext6.out): Likewise.
3768 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
3769 (test_program_prefix): This.
3770 * intl/tst-gettext2.sh: Likewise.
3771 * intl/tst-gettext4.sh Likewise.
3772 * intl/tst-gettext6.sh: Likewise.
3773 * intl/tst-translit.sh: Likewise.
3774 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
3775 with $(test-program-cmd).
3776 * libio/Makefile ($(objpfx)test-freopen.out): Replace
3777 $(run-program-prefix) with $(test-program-prefix).
3778 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
3779 (test_program_prefix): This.
3780 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
3781 $(run-program-prefix) with $(test-program-prefix).
3782 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
3783 (test_program_prefix): This.
3784 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
3785 * posix/Makefile ($(objpfx)globtest.out): Replace
3786 $(run-via-rtld-prefix) and $(test-wrapper) with
3787 $(test-program-prefix) and $(test-via-rtld-prefix).
3788 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
3789 $(test-program-prefix).
3790 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
3791 $(host-test-program-cmd).
3792 (tst-spawn-ARGS): Likewise.
3793 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
3794 $(test-program-prefix).
3795 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
3796 (test_via_rtld_prefix): This.
3797 (test_wrapper): Renamed to ...
3798 (test_program_prefix): This.
3799 (run_program_prefix): Replaced by test_program_prefix.
3800 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
3801 (test_program_prefix): This.
3802 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
3803 with $(host-test-program-cmd).
3804 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
3805 $(run-program-prefix) with $(test-program-prefix).
3806 ($(objpfx)tst-printf.out): Likewise.
3807 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
3808 $(test-program-cmd).
3809 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
3810 (test_program_prefix): This.
3811 * stdio-common/tst-unbputc.sh: Likewise.
3812 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
3813 $(run-program-prefix) with $(test-program-prefix).
3814 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
3815 (test_program_prefix): This.
3816 * string/Makefile ($(objpfx)tst-svc.out): Replace
3817 $(built-program-cmd) with $(test-program-cmd).
3818
c6fe55cf
AJ
38192013-01-11 Andreas Jaeger <aj@suse.de>
3820
3821 [BZ #15003]
3822 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
3823 value. Sync with Linux 3.7.
3824
9e6919c8
DM
38252013-01-10 David S. Miller <davem@davemloft.net>
3826
3827 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
3828 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3829 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3830
1c9f1a02
RM
38312013-01-10 Roland McGrath <roland@hack.frob.com>
3832
3833 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
3834 never set.
3835 * configure: Regenerated.
3836
b9de2dde
DM
38372013-01-10 David S. Miller <davem@davemloft.net>
3838
3839 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
3840 sparc V9 rather than using V8 code.
3841 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
3842 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
3843
e7f68ef4
RM
38442013-01-10 Roland McGrath <roland@hack.frob.com>
3845
3846 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
3847 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
3848 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
3849 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
3850 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
3851 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
3852 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
3853 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
3854 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
3855 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
3856 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
3857 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
3858 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
3859 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
3860 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
3861 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
3862 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
3863 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
3864 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
3865 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
3866 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
3867 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
3868 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
3869 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
3870 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
3871 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
3872 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
3873
5a47cc9c
DM
38742013-01-10 David S. Miller <davem@davemloft.net>
3875
3876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3877
4cf8f209
L
38782013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3879
3880 * posix/Makefile (tests-static): New variable.
3881 (tests): Add $(tests-static).
3882 (tst-exec-static-ARGS): New variable.
3883 (tst-spawn-static-ARGS): Likewise.
3884 * posix/tst-exec-static.c: New file.
3885 * posix/tst-spawn-static.c: Likewise.
3886 * posix/tst-exec.c: Support run directly.
3887 * posix/tst-spawn.c: Likewise.
3888
fed0faa1
JM
38892013-01-10 Joseph Myers <joseph@codesourcery.com>
3890
828beb13
JM
3891 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
3892 long.
3893 * math/bits/mathcalls.h (llrint): Likewise.
3894 (llround): Likewise.
3895 * stdlib/stdlib.h (struct drand48_data): Likewise.
3896 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
3897 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
3898 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
3899 Likewise.
3900 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
3901 Likewise.
3902 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
3903 (elf_greg_t): Likewise.
3904 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
3905 (__jmp_buf): Likewise.
3906 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
3907 definitions.
3908 (llrint): Likewise, for all definitions.
3909 (llrintl): Likewise.
3910
fed0faa1
JM
3911 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
3912 Remove [__GNUC__] condition.
3913 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
3914 condition to just [__USE_ISOC99].
3915 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
3916
1a20cb20
L
39172013-01-10 H.J. Lu <hongjiu.lu@intel.com>
3918
3919 [BZ #14200]
3920 * sysdeps/unix/sysv/linux/x86/bits/environments.h
3921 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
3922 defined.
3923 (_POSIX_V6_ILP32_OFF32): Likewise.
3924 (_XBS5_ILP32_OFF32): Likewise.
3925 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
3926 (__ILP32_OFFBIG_LDFLAGS): Likewise.
3927
751b85f7
SP
39282013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3929
7490eb81
SP
3930 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
3931
751b85f7
SP
3932 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
3933 doubles __mpexp_twomm1. Adjust usage.
3934 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
3935 Remove.
3936
988197f0
AS
39372013-01-10 Andreas Schwab <schwab@suse.de>
3938
3939 [BZ #14964]
3940 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
3941 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
3942
e83d7298
DM
39432013-01-09 David S. Miller <davem@davemloft.net>
3944
034ed64b 3945 [BZ #15003]
e83d7298
DM
3946 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
3947 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
3948 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
3949 TCP_FASTOPEN): Define.
3950 (tcp_repair_opt): New structure.
3951 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
3952 enum values.
3953 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
3954 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
3955 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
3956 (tcp_cookie_transactions): New structure.
3957
d5e0b9bd
AB
39582013-01-09 Anton Blanchard <anton@samba.org>
3959
3960 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
3961 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
3962 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
3963 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
3964
0c07e3ea
JM
39652013-01-09 Joseph Myers <joseph@codesourcery.com>
3966
3967 * include/features.h (__USE_ANSI): Remove.
3968
232f7002
RM
39692013-01-09 Roland McGrath <roland@hack.frob.com>
3970
ad98e30c
RM
3971 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
3972
232f7002
RM
3973 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
3974
950c99ca
SP
39752013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
3976
b5792741
SP
3977 * sysdeps/s390/fpu/libm-test-ulps: Update.
3978
47cf2278
SP
3979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3980
950c99ca
SP
3981 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
3982 (__acr): Likewise.
3983 (__cpy): Likewise.
3984 (norm): Likewise.
3985 (denorm): Likewise.
3986 (__mp_dbl): Likewise.
3987 (__dbl_mp): Likewise.
3988 (add_magnitudes): Likewise.
3989 (sub_magnitudes): Likewise.
3990 (__add): Likewise.
3991 (__sub): Likewise.
3992 (__mul): Likewise.
3993 (__inv): Likewise.
3994 (__dvd): Likewise.
3995 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
3996 (__acr): Likewise.
3997 (__cpy): Likewise.
3998 (norm): Likewise.
3999 (denorm): Likewise.
4000 (__mp_dbl): Likewise.
4001 (__dbl_mp): Likewise.
4002 (add_magnitudes): Likewise.
4003 (sub_magnitudes): Likewise.
4004 (__add): Likewise.
4005 (__sub): Likewise.
4006 (__mul): Likewise.
4007 (__inv): Likewise.
4008 (__dvd): Likewise.
4009 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
4010 (__acr): Likewise.
4011 (__cpy): Likewise.
4012 (norm): Likewise.
4013 (denorm): Likewise.
4014 (__mp_dbl): Likewise.
4015 (__dbl_mp): Likewise.
4016 (add_magnitudes): Likewise.
4017 (sub_magnitudes): Likewise.
4018 (__add): Likewise.
4019 (__sub): Likewise.
4020 (__mul): Likewise.
4021 (__inv): Likewise.
4022 (__dvd): Likewise.
4023
eede9df9
JM
40242013-01-08 Joseph Myers <joseph@codesourcery.com>
4025
4026 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
4027 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
4028 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
4029 2 && __USE_EXTERN_INLINES]: Likewise.
4030
c40ea3d9
AJ
40312013-01-08 Andreas Jaeger <aj@suse.de>
4032
4033 [BZ# 14985]
4034 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
4035 Remove.
4036 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4037 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
4038
2ccdea26
AB
40392013-01-07 Anton Blanchard <anton@samba.org>
4040
4041 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
4042 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4043 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
4044 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4045 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4046 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4047 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
4048 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4049 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4050 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4051 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4052 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4053 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4054 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4055 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
4056 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4057 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4058 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4059 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
4060 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4061 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
4062 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
4063 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
4064 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
4065 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
4066 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4067 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
4068 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4069 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
4070 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4071 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
4072 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4073 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4074 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4075 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4076 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
4077 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4078 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
4079 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
4080 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4081 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
4082 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
4083 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4084
a9708fed
JM
40852013-01-07 Joseph Myers <joseph@codesourcery.com>
4086
375607b9
JM
4087 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
4088 (__MALLOC_PMT): Likewise.
4089 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
4090 [__GNUC__], only on [_LIBC].
4091 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4092 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
4093 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
4094 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
4095 forward declaration.
4096 (realloc_hook_ini): Likewise.
4097 (memalign_hook_ini): Likewise.
4098 (__libc_memalign): Do not use __MALLOC_PMT in variable
4099 declaration.
4100 (__libc_valloc): Likewise.
4101 (__libc_pvalloc): Likewise.
4102 (__libc_calloc): Likewise.
4103 (__posix_memalign): Likewise.
4104
a9708fed
JM
4105 [BZ #14996]
4106 * math/s_casinh.c: Include <float.h>.
4107 (__casinh): Do not do computation with squaring and square root
4108 for large arguments.
4109 * math/s_casinhf.c: Include <float.h>.
4110 (__casinhf): Do not do computation with squaring and square root
4111 for large arguments.
4112 * math/s_casinhl.c: Include <float.h>.
4113 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
4114 (__casinhl): Do not do computation with squaring and square root
4115 for large arguments.
4116 * math/libm-test.inc (casin_test): Add more tests.
4117 (casinh_test): Likewise.
4118 * sysdeps/i386/fpu/libm-test-ulps: Update.
4119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4120
afec409a
L
41212013-01-04 H.J. Lu <hongjiu.lu@intel.com>
4122
4123 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
4124 (__x86_64_raw_data_cache_size): Likewise.
4125 (__x86_64_data_cache_size_half): Likewise.
4126 (__x86_64_raw_data_cache_size_half): Likewise.
4127 (__x86_64_shared_cache_size): Likewise.
4128 (__x86_64_raw_shared_cache_size): Likewise.
4129 (__x86_64_shared_cache_size_half): Likewise.
4130 (__x86_64_raw_shared_cache_size_half): Likewise.
4131 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
4132 to ...
4133 (__x86_data_cache_size): This.
4134 (__x86_64_raw_data_cache_size): Renamed to ...
4135 (__x86_raw_data_cache_size): This.
4136 (__x86_64_data_cache_size_half): Renamed to ...
4137 (__x86_data_cache_size_half): This.
4138 (__x86_64_raw_data_cache_size_half): Renamed to ...
4139 (__x86_raw_data_cache_size_half): This.
4140 (__x86_64_shared_cache_size): Renamed to ...
4141 (__x86_shared_cache_size): This.
4142 (__x86_64_raw_shared_cache_size): Renamed to ...
4143 (__x86_raw_shared_cache_size): This.
4144 (__x86_64_shared_cache_size_half): Renamed to ...
4145 (__x86_shared_cache_size_half): This.
4146 (__x86_64_raw_shared_cache_size_half): Renamed to ...
4147 (__x86_raw_shared_cache_size_half): This.
4148 * sysdeps/x86_64/memcpy.S: Updated.
4149 * sysdeps/x86_64/memset.S: Likewise.
4150 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4151 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4152 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4153
0b3986d0
DM
41542013-01-04 David S. Miller <davem@davemloft.net>
4155
4156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4157
e47686e9
AS
41582013-01-04 Andreas Schwab <schwab@linux-m68k.org>
4159
d643bac1
AS
4160 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
4161 1 to avoid redefinition warning.
4162 (__USE_GNU): Don't define.
4163 (init_signaling_nan): Protoize.
4164
e47686e9
AS
4165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4166
b18decba
SP
41672013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4168
fffb407f
SP
4169 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
4170 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
4171 (__cpymn): Likewise.
4172 (norm): Remove commented code.
4173 (denorm): Likewise.
4174 (__mp_dbl): Likewise.
4175 (__inv): Likewise.
4176 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
4177 (__cpymn): Likewise.
4178 (norm): Remove commented code.
4179 (denorm): Likewise.
4180 (__mp_dbl): Likewise.
4181 (__inv): Likewise.
4182
b18decba
SP
4183 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
4184 mp_no value for 1.0 and 2.0.
4185 (norm): Use RADIXI instead of radixi.d.
4186 (denorm): Likewise.
4187 (__mul): Use 0.0 instead of zero.d.
4188 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
4189 mp_no value for 1.0 and 2.0.
4190 (norm): Use RADIXI instead of radixi.d.
4191 (denorm): Likewise.
4192 (__mul): Use 0.0 instead of zero.d.
4193
cdc1c96f
JM
41942013-01-04 Joseph Myers <joseph@codesourcery.com>
4195
4196 [BZ #14994]
4197 * math/s_casinh.c (__casinh): Reduce finite argument to first
4198 quadrant then set signs of results at the end.
4199 * math/s_casinhf.c (__casinhf): Likewise.
4200 * math/s_casinhl.c (__casinhl): Likewise.
4201 * math/libm-test.inc (casin_test): Add more tests.
4202 (casinh_test): Likewise.
4203 * sysdeps/i386/fpu/libm-test-ulps: Update.
4204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4205
302913e1
SP
42062013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4207
6420d207
SP
4208 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
4209
a9e48ab4
SP
4210 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
4211
b7837264
SP
4212 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
4213 declarations.
4214 (denorm): Likewise.
4215 (__mp_dbl): Likewise.
4216 (__inv): Likewise.
4217
f8af25d2
SP
4218 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
4219 and adjust the header comment.
4220
302913e1
SP
4221 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
4222 variable name from declaration.
4223
5d7dd1ca
L
42242013-01-03 H.J. Lu <hongjiu.lu@intel.com>
4225
4226 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4227 Initialize COMMON_CPUID_INDEX_7 element.
4228 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
4229 (CPUID_RTM): Likewise.
4230 (HAS_RTM): Likewise.
4231 (COMMON_CPUID_INDEX_7): New enum.
4232
2f5f40f4
AS
42332013-01-03 Andreas Schwab <schwab@linux-m68k.org>
4234
4235 [BZ #14981]
4236 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
4237 size is zero, record memory as freed.
4238
4056f4a0
AJ
42392013-01-03 Andreas Jaeger <aj@suse.de>
4240
4241 * po/ia.po: Add new Interlingua translation.
4242
ab15736f 42432012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
4244
4245 * locale/programs/localedef.c: Fix description of '--posix' flag.
4246
568035b7
JM
42472013-01-02 Joseph Myers <joseph@codesourcery.com>
4248
e6898b8d
JM
4249 * NEWS: Update dates in second copyright notice.
4250 * README: Update copyright dates in example.
4251 * manual/libc.texinfo: Update copyright dates.
4252 * scripts/test-installation.pl: Update copyright date in --version
4253 output.
4254
0e2f9562
JM
4255 * hurd/ctty-input.c: Fix copyright notice formatting.
4256 * hurd/ctty-output.c: Likewise.
4257 * hurd/dtable.c: Likewise.
4258 * hurd/hurd-raise.c: Likewise.
4259 * hurd/hurdprio.c: Likewise.
4260 * hurd/msgportdemux.c: Likewise.
4261 * misc/sys/file.h: Likewise.
4262 * misc/sys/ioctl.h: Likewise.
4263 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
4264 * sysdeps/mach/hurd/chdir.c: Likewise.
4265 * sysdeps/mach/hurd/fchdir.c: Likewise.
4266 * sysdeps/mach/hurd/rename.c: Likewise.
4267 * sysdeps/mach/hurd/rmdir.c: Likewise.
4268 * sysdeps/mach/hurd/seekdir.c: Likewise.
4269 * sysdeps/mach/hurd/setsid.c: Likewise.
4270 * sysdeps/posix/wait3.c: Likewise.
4271
568035b7
JM
4272 * All files with FSF copyright notices: Update copyright dates
4273 using scripts/update-copyrights.
4274 * intl/plural.c: Regenerated.
4275 * locale/programs/charmap-kw.h: Likewise.
4276 * locale/programs/locfile-kw.h: Likewise.
4277
da08f647
SP
42782013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4279
0f5477af
SP
4280 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
4281 four values.
4282
44e0d4c2
SP
4283 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
4284 calculation loop and add branch prediction.
4285
4d55b4e5
SP
4286 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
4287 check access beyond bounds of m1np.
4288
da08f647
SP
4289 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4290 MPTWO.
4291 (__inv): Remove local variable MPTWO to use the global
4292 constant.
4293 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
4294 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4295 variable MPTWO.
4296 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
4297 MP3HALFS static const.
4298
8e051029
DM
42992013-01-01 David S. Miller <davem@davemloft.net>
4300
4301 * po/ca.po: Update from translation team.
4302
f4cf5f2d
JM
43032013-01-01 Joseph Myers <joseph@codesourcery.com>
4304
4305 * scripts/update-copyrights: New file.
4306 * Makeconfig: Reformat copyright notice.
4307 * ctype/ctype.h: Likewise.
4308 * debug/swprintf_chk.c: Likewise.
4309 * elf/dl-cache.c: Likewise.
4310 * elf/dl-debug.c: Likewise.
4311 * elf/dl-object.c: Likewise.
4312 * grp/initgroups.c: Likewise.
4313 * hurd/Makefile: Likewise.
4314 * hurd/hurd/signal.h: Likewise.
4315 * hurd/hurdfault.c: Likewise.
4316 * hurd/hurdioctl.c: Likewise.
4317 * hurd/hurdlookup.c: Likewise.
4318 * hurd/intr-msg.c: Likewise.
4319 * iconv/gconv_open.c: Likewise.
4320 * libio/swprintf.c: Likewise.
4321 * locale/lc-ctype.c: Likewise.
4322 * locale/nl_langinfo.c: Likewise.
4323 * mach/Machrules: Likewise.
4324 * mach/Makefile: Likewise.
4325 * malloc/obstack.h: Likewise.
4326 * manual/Makefile: Likewise.
4327 * manual/tsort.awk: Likewise.
4328 * misc/bits/stab.def: Likewise.
4329 * nis/nis_print_group_entry.c: Likewise.
4330 * nis/nis_table.c: Likewise.
4331 * nis/nss_compat/compat-pwd.c: Likewise.
4332 * nis/nss_compat/compat-spwd.c: Likewise.
4333 * po/Makefile: Likewise.
4334 * posix/fnmatch.c: Likewise.
4335 * posix/regex.h: Likewise.
4336 * resolv/Makefile: Likewise.
4337 * resolv/nss_dns/dns-network.c: Likewise.
4338 * resolv/res_hconf.c: Likewise.
4339 * scripts/gen-sorted.awk: Likewise.
4340 * soft-fp/soft-fp.h: Likewise.
4341 * stdio-common/printf.h: Likewise.
4342 * stdlib/monetary.h: Likewise.
4343 * stdlib/random.c: Likewise.
4344 * stdlib/random_r.c: Likewise.
4345 * sysdeps/generic/Makefile: Likewise.
4346 * sysdeps/gnu/Makefile: Likewise.
4347 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4348 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4349 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4350 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4351 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4352 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4353 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4354 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4355 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4356 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4357 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
4358 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
4359 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
4360 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
4361 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
4362 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
4363 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
4364 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4365 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4366 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4367 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4368 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4369 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4370 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4371 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
4372 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
4373 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
4374 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
4375 * sysdeps/mach/hurd/errnos.awk: Likewise.
4376 * sysdeps/mach/hurd/fork.c: Likewise.
4377 * sysdeps/mach/hurd/getcwd.c: Likewise.
4378 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
4379 * sysdeps/mach/hurd/mmap.c: Likewise.
4380 * sysdeps/mach/hurd/utimes.c: Likewise.
4381 * sysdeps/mach/hurd/xmknod.c: Likewise.
4382 * sysdeps/posix/profil.c: Likewise.
4383 * sysdeps/posix/readdir_r.c: Likewise.
4384 * sysdeps/powerpc/bits/mathdef.h: Likewise.
4385 * sysdeps/powerpc/bits/setjmp.h: Likewise.
4386 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
4387 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
4388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
4389 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4390 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4391 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
4392 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4393 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4394 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4395 * sysdeps/pthread/lio_listio.c: Likewise.
4396 * sysdeps/sparc/dl-procinfo.h: Likewise.
4397 * sysdeps/unix/i386/sysdep.S: Likewise.
4398 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
4399 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
4400 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
4401 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
4402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4403 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
4404 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
4405 * sysdeps/unix/sysv/linux/speed.c: Likewise.
4406 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
4407 * sysdeps/wordsize-32/divdi3.c: Likewise.
4408 * time/sys/time.h: Likewise.
4409 * wcsmbs/Makefile: Likewise.
4410
0549fbba
DM
44112013-01-01 David S. Miller <davem@davemloft.net>
4412
a141f1a7
DM
4413 * po/fr.po: Update from translation team.
4414
0549fbba
DM
4415 * catgets/gencat.c: Update copyright year.
4416 * csu/version.c: Likewise.
4417 * debug/catchsegv.sh: Likewise.
4418 * debug/pcprofiledump.c: Likewise.
4419 * debug/xtrace.sh: Likewise.
4420 * elf/ldconfig.c: Likewise.
4421 * elf/ldd.bash.in: Likewise.
4422 * elf/pldd.c: Likewise.
4423 * elf/sotruss.ksh: Likewise.
4424 * elf/sprof.c: Likewise.
4425 * iconv/iconv_prog.c: Likewise.
4426 * iconv/iconvconfig.c: Likewise.
4427 * locale/programs/locale.c: Likewise.
4428 * locale/programs/localedef.c: Likewise.
4429 * login/programs/pt_chown.c: Likewise.
4430 * malloc/memusage.sh: Likewise.
4431 * malloc/memusagestat.c: Likewise.
4432 * malloc/mtrace.pl: Likewise.
4433 * nscd/nscd.c: Likewise.
4434 * nss/getent.c: Likewise.
4435 * nss/makedb.c: Likewise.
4436 * posix/getconf.c: Likewise.
4437
18ea052c
SP
44382012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
4439
4440 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
4441 numbers.
4442
9c89fca6
MF
44432012-12-30 Mike Frysinger <vapier@gentoo.org>
4444
4445 * math/bits/mathcalls.h (modf): Use __nonnull.
4446
085ec079
SP
44472012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4448
4449 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
4450 (split): Use macro CN instead of the bare value.
4451 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
4452 could be used.
4453 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
4454 instead of the bare value.
4455 (power1): Likewise.
4456
6d9f97e1
SP
44572012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4458
d63f73be
SP
4459 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
4460 __ATAN_TWOM.
4461 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4462
6d9f97e1
SP
4463 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
4464 their values.
4465 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
4466 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4467 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
4468 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
4469
4c4febf5
AJ
44702012-12-28 Andreas Jaeger <aj@suse.de>
4471
af5843ef
AJ
4472 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
4473 values are from Linux 3.7.
4474
4c4febf5
AJ
4475 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
4476 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
4477
99136f82
SP
44782012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4479
2f216c3c 4480 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
4481 TRUE case.
4482
99136f82
SP
4483 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
4484 (norm): Likewise.
4485 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
4486 variables with preprocessor constants.
4487 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
4488 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
4489 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
4490
7fffbdff
BH
44912012-12-27 Bruno Haible <bruno@clisp.org>
4492
4493 [BZ #14317]
4494 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
4495 only if needed.
4496
b76eb5f0
SP
44972012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4498
31a7fe5c
SP
4499 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
4500 and use variable directly.
4501 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
4502
b76eb5f0
SP
4503 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
4504 MPONE.
4505 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
4506 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
4507 variable MPONE.
4508 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4509 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4510 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
4511 include directive. Remove local variable MPONE.
4512 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
4513 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
4514 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
4515
2c8bfe7d
DM
45162012-12-25 David S. Miller <davem@davemloft.net>
4517
4518 * version.h (RELEASE): Set to "development".
4519 (VERSION): Set to "2.17.90".
4520 * NEWS: Add 2.18 section.
4521
147d03b0
DM
45222012-12-21 David S. Miller <davem@davemloft.net>
4523
4524 * po/hr.po: Update from translation team.
4525
a8ebb2b9
AK
45262012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4527
4528 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
4529
95b4f1b6
SE
45302012-12-19 Steve Ellcey <sellcey@mips.com>
4531
b2d94007 4532 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 4533
cedb2a90
MS
45342012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4535
4536 * manual/contrib.texi (Contributors): Spelling correction.
4537
bbf527d6
DM
45382012-12-15 David S. Miller <davem@davemloft.net>
4539
4540 * po/ru.po: Update from translation team.
4541
bc38c906
DM
45422012-12-13 David S. Miller <davem@davemloft.net>
4543
85429b1a
DM
4544 * NEWS: Mention IFUNC testsuite enhancements.
4545
d283e353
DM
4546 * po/pl.po: Update from translation team.
4547 * po/bg.po: Likewise.
4548
bc38c906
DM
4549 * manual/contrib.texi (Contributors): Update entries for Hongjiu
4550 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
4551
a181b0d7
DM
45522012-12-11 David S. Miller <davem@davemloft.net>
4553
4641d57e
DM
4554 * po/sv.po: Update from translation team.
4555
f7bc6495
DM
4556 * po/vi.po: Update from translation team.
4557
6fc9048f
DM
4558 * po/cs.po: Update from translation team.
4559
a181b0d7
DM
4560 * po/de.po: Update from translation team.
4561 * po/eo.po: Likewise.
4562 * po/nl.po: Likewise.
4563
f70bfe80
SP
45642012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4565
3c8b4190
SP
4566 [BZ #14246]
4567 * manual/argp.texi (Argp Helper Functions): Move node to follow
4568 Argp Parsing State.
4569
f70bfe80
SP
4570 [BZ #14872]
4571 * manual/conf.texi (Limits on File System Capacity): Mention if
4572 terminating null is included in the max size.
4573
188f0adf
AJ
45742012-12-10 Andreas Jaeger <aj@suse.de>
4575
4576 * po/cs.po: Update from translation team.
4577
56e7d3ad
SP
45782012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4579
4580 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
4581 void pointer and cast to uintptr_t.
4582 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
4583 path.
4584 * sysdeps/s390/s390-64/memcpy.S: Likewise.
4585 * sysdeps/s390/s390-64/memset.S: Likewise.
4586
76f2d2ea 45872012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
4588
4589 [BZ #14833]
4590 * menual/message.texi (Message Translation): Fix typos.
4591 (Helper programs for gettext): Likewise.
4592
67cbf9a2
AS
45932012-12-07 Andreas Schwab <schwab@linux-m68k.org>
4594
4595 [BZ #14898]
4596 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
4597 Change to -1.
4598
682d0e9a
DM
45992012-12-07 David S. Miller <davem@davemloft.net>
4600
4601 * po/libc.pot: Update.
4602
573cd484
RH
46032012-12-07 Richard Henderson <rth@redhat.com>
4604
7e9da188 4605 [BZ #10114]
573cd484
RH
4606 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
4607 normal/normal case to before the switch.
4608 (_FP_DIV): Likewise.
4609
e933a943
MF
46102012-12-06 Carlos O'Donell <carlos@systemhalted.org>
4611 Mike Frysinger <vapier@gentoo.org>
4612
4613 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
4614 check for __NR_fadvise64_64.
4615
82123268
CM
46162012-12-06 Chris Metcalf <cmetcalf@tilera.com>
4617
4618 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
4619 0, not just to plain "0" as a statement.
4620 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
4621 with cw.
4622
d9814526
JM
46232012-12-06 Joseph Myers <joseph@codesourcery.com>
4624
4625 * NEWS: Use sourceware.org in Bugzilla URL.
4626
7728c574
SP
46272012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4628
f16946dd
SP
4629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4630 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4631
5704bbcb
SP
4632 * stdio-common/tst-put-error.c (do_test): Add newline to the
4633 padded test to ensure flush.
4634
17aa0516
JL
46352012-12-05 Jeff Law <law@redhat.com>
4636
4637 * sunrpc/etc.rpc (fedfs_admin): Add entry.
4638
363313b5
JM
46392012-12-05 Joseph Myers <joseph@codesourcery.com>
4640
effbd42a
JM
4641 * README: Don't refer to ports add-on as distributed separately.
4642 Mention AArch64 in list of systems supported in the ports add-on.
4643
87600365
JM
4644 * LICENSES: Add more non-FSF copyright and license notices.
4645
a0d7066a
JM
4646 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
4647 ((unused)).
4648
66ca5a5b
JM
4649 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
4650
363313b5
JM
4651 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
4652 10000 as width of padded output.
4653
b37984ad
JM
46542012-12-04 Joseph Myers <joseph@codesourcery.com>
4655
9003570a
JM
4656 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
4657
b37984ad
JM
4658 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
4659 variable LX with __attribute__ ((unused)).
4660 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
4661 Likewise.
4662 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
4663 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4664 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
4665 with __attribute__ ((unused)).
4666
c8df52ec
DM
46672012-12-04 David S. Miller <davem@abraco.davemloft.net>
4668
4669 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
4670
b3b099af
JM
46712012-12-04 Joseph Myers <joseph@codesourcery.com>
4672
c33aa6e3
JM
4673 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
4674 (CFLAGS-nldbl-acos.c): New variable.
4675 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
4676 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
4677 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
4678 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
4679 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
4680 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
4681 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
4682 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
4683 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
4684 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
4685 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
4686 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
4687 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
4688 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
4689 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
4690 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
4691 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
4692 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
4693 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
4694 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
4695 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
4696 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
4697 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
4698 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
4699 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
4700 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
4701 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
4702 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
4703 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
4704 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
4705 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
4706 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
4707 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
4708 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
4709 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
4710 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
4711 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
4712 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
4713 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
4714 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
4715 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
4716 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
4717 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
4718 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
4719 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
4720 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
4721 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
4722 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
4723 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
4724 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
4725 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
4726 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
4727 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
4728 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
4729 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
4730 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
4731 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
4732 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
4733 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
4734 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
4735 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
4736 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
4737 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
4738 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
4739 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
4740 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
4741 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
4742 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
4743 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
4744 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
4745 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
4746 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
4747 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
4748 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
4749 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
4750 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
4751 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
4752 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
4753 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
4754 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
4755 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
4756 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
4757 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
4758 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
4759 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
4760 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
4761 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
4762 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
4763 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
4764 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
4765 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
4766 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
4767 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
4768 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
4769 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
4770 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
4771 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
4772
20f0018d
JM
4773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4774 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
4775
b3b099af
JM
4776 [BZ #14914]
4777 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
4778 whole low double instead of just low 47 bits when splitting values
4779 into two parts.
4780
029264d1
AM
47812012-12-03 Allan McRae <allan@archlinux.org>
4782
4783 * manual/stdio.texi (Predefined Printf Handlers): Remove
4784 @hsep and @vsep usage.
4785
c9d6789e
MF
47862012-12-03 Mike Frysinger <vapier@gentoo.org>
4787
4788 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
4789 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
4790
4b7634a5
JL
47912012-12-03 Jeff Law <law@redhat.com>
4792
4793 * time/sys/time.h (settimeofday): Do not mark TV argument
4794 as __nonnull.
4795
eb6cbd24
MF
47962012-12-01 Mike Frysinger <vapier@gentoo.org>
4797
4798 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
4799 when currently writing and seek to current position when not.
4800 * libio/Makefile (tests): Remove bug-fclose1.
4801 * libio/bug-fclose1.c: Delete.
4802
f638872a
JM
48032012-12-01 Joseph Myers <joseph@codesourcery.com>
4804
4805 * manual/arith.texi (feenableexcept): Fix typo.
4806 (fedisableexcept): Likewise.
4807
48085d14
RM
48082012-11-30 Roland McGrath <roland@hack.frob.com>
4809
4810 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
4811 second, differently-typed declaration, rather than a cast.
4812
1a538b9f
SP
48132012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4814
4815 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
4816 * include/rpc/svc.h: ... here.
4817
d07f2ff1 48182012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
4819
4820 [BZ #13013]
4821 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
4822 depending n and resplen2 to catch cases where answer
4823 equals answerp2.
4824
c93ec1f0
CD
48252012-11-29 Carlos O'Donell <carlos@systemhalted.org>
4826
4827 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
4828 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
4829
37db69de
MF
48302012-11-29 Mike Frysinger <vapier@gentoo.org>
4831
4832 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
4833
e10c4e4f
RM
48342012-11-29 Roland McGrath <roland@hack.frob.com>
4835
4836 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
4837
2af1b328
JL
48382012-11-28 Jeff Law <law@redhat.com>
4839
4840 [BZ #13761]
4841 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
4842 dataset_temporary. Track alloca usage into alloca_used.
4843 If dataset is large allocate and release it via malloc/free.
4844
111db5b1
FW
48452012-06-04 Florian Weimer <fweimer@redhat.com>
4846
f06cc227 4847 [BZ #14197]
111db5b1
FW
4848 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
4849
dd694abd
DM
48502012-11-28 David S. Miller <davem@davemloft.net>
4851
4852 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4853
9984dd01
JM
48542012-11-28 Joseph Myers <joseph@codesourcery.com>
4855
4856 [BZ #14803]
4857 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
4858 of pi/2 rounded to nearest to 64 bits.
4859 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
4860 nearest to 64 bits.
4861 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
4862 bits.
4863
14bc93a9
JL
48642012-11-28 Jeff Law <law@redhat.com>
4865 Martin Osvald <mosvald@redhat.com>
4866
4867 [BZ #14889]
4868 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
4869 * sunrpc/svc.c: Include time.h.
4870 (__svc_accept_failed): New function.
4871 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
4872 any reason other than EINTR, call __svc_accept_failed.
4873 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
4874 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
4875
e3c6aa3a
AS
48762012-11-28 Andreas Schwab <schwab@suse.de>
4877
4878 * scripts/abilist.awk: Also handle indirect functions in .opd
4879 section.
4880
1bead169
JM
48812012-11-28 Joseph Myers <joseph@codesourcery.com>
4882
4883 [BZ #13881]
4884 * sysdeps/x86/fpu/powl_helper.c: New file.
4885 * sysdeps/x86/fpu/Makefile: Likewise.
4886 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
4887 (p3): New object.
4888 (__ieee754_powl): Use __powl_helper for finite arguments except
4889 integer exponents below 8.
4890 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
4891 (p3): New object.
4892 (__ieee754_powl): Use __powl_helper for finite arguments except
4893 integer exponents below 8.
4894 * math/libm-test.inc (pow_test): Add more tests and enable some
4895 previously disabled tests.
4896 * sysdeps/i386/fpu/libm-test-ulps: Update.
4897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4898
0817d63d
SP
48992012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4900 Carlos O'Donell <carlos_odonell@mentor.com>
4901
4902 * nss/makedb.c (is_prime): Assert that input is odd and greater
4903 than 4. Note that fact in a comment too.
4904 (next_prime): Add 4 to input.
4905
de2fd463
SP
49062012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4907
4908 [BZ #11741]
4909 * libio/Makefile (tests): Add test case tst-fwrite-error.
4910 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
4911 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
4912 * libio/tst-fwrite-error.c: New test case.
4913
c515fb51
L
49142012-11-26 H.J. Lu <hongjiu.lu@intel.com>
4915
4916 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
4917 before casting to void *.
4918 * include/libc-internal.h (__pointer_type): New macro.
4919 (__integer_if_pointer_type_sub): Likewise.
4920 (__integer_if_pointer_type): Likewise.
4921 (cast_to_integer): Likewise.
4922 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
4923 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
4924 before casting to atomic64_t.
4925 (atomic_exchange_acq): Likewise.
4926 (__arch_exchange_and_add_body): Likewise.
4927 (__arch_add_body): Likewise.
4928 (atomic_add_negative): Likewise.
4929 (atomic_add_zero): Likewise.
4930
4cf77aa9
JM
49312012-11-26 Joseph Myers <joseph@codesourcery.com>
4932
4933 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
4934 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
4935 (add_fdes): Likewise.
4936 (linear_search_fdes): Likewise.
4937 (binary_search_unencoded_fdes): Likewise.
4938
d260b3b4
AS
49392012-11-26 Andreas Schwab <schwab@linux-m68k.org>
4940
4941 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
4942
67060746
AC
49432012-11-24 Adam Conrad <adconrad@0c3.net>
4944
4945 * configure.in: Autodetect C++ header directories.
4946 * configure: Regenerated.
4947
800938a1
MF
49482012-11-23 Mike Frysinger <vapier@gentoo.org>
4949
4950 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
4951
4e6e34e6
AS
49522012-11-23 Andreas Schwab <schwab@linux-m68k.org>
4953
4954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4955
7c7feb47
JM
49562012-11-22 Joseph Myers <joseph@codesourcery.com>
4957
7184dcdf
JM
4958 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
4959 LDBL_MANT_DIG == 106]: Disable some tests.
4960 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4961 Likewise.
4962 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
4963 Likewise.
4964
0a42601f
JM
4965 [BZ #14871]
4966 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
4967 input for small inputs. Return +/- pi/2 for large inputs.
4968 * math/libm-test.inc (atan_test): Add more tests.
4969
79c9b9fe
JM
4970 * sysdeps/generic/unwind-dw2-fde-glibc.c
4971 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
4972 __attribute__ ((unused)).
4973
c60d3bf2
JM
4974 [BZ #14645]
4975 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
4976 x * y if x and y are nonzero and z is zero.
4977
ef1e0867
JM
4978 [BZ #14811]
4979 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
4980 nonzero exponents with absolute value below 0x1p-117 to +/-
4981 0x1p-117.
4982
1468ded3
JM
4983 [BZ #14869]
4984 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
4985 up arguments below 2**-450, not just those below 2**-500.
4986 * math/libm-test.inc (hypot_test): Add another test.
4987
8e27e3cc
JM
4988 [BZ #14868]
4989 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
4990 Return a+b for ratio over 2**120, not 2**60.
4991 * math/libm-test.inc (hypot_test): Add another test.
4992
c9c0279b
JM
4993 * math/libm-test.inc (clog_test): Use
4994 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
4995 (clog10_test): Likewise.
4996
7c7feb47
JM
4997 [BZ #6778]
4998 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
4999
fff1530e
AS
50002012-11-22 Andreas Schwab <schwab@suse.de>
5001
5002 * sysdeps/i386/fpu/libm-test-ulps: Update.
5003
94558d30
PT
50042012-11-22 Pino Toscano <toscano.pino@tiscali.it>
5005
5006 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
5007 printf output with newline.
5008
7e1be741
L
50092012-11-21 H.J. Lu <hongjiu.lu@intel.com>
5010
6bfea974
L
5011 [BZ #14865]
5012 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
5013 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
5014 -z nodlopen, -z initfirst and -z execstack support.
5015 * configure: Regenerated.
5016
7e1be741
L
5017 * elf/elf.h (DF_1_NODIRECT): New macro.
5018 (DF_1_IGNMULDEF): Likewise.
5019 (DF_1_NOKSYMS): Likewise.
5020 (DF_1_NOHDR): Likewise.
5021 (DF_1_EDITED): Likewise.
5022 (DF_1_NORELOC): Likewise.
5023 (DF_1_SYMINTPOSE): Likewise.
5024 (DF_1_GLOBAUDIT): Likewise.
5025 (DF_1_SINGLETON): Likewise.
5026 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
5027 DT_1_SUPPORTED_MASK bits.
5028 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
5029
105ce2ce
CD
50302012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
5031
5032 * sysdeps/unix/make-syscalls.sh: Document prefixes.
5033
123be9de
TS
50342012-11-20 Thomas Schwinge <thomas@codesourcery.com>
5035
d072f3f7
TS
5036 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
5037 macro.
5038
123be9de
TS
5039 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
5040 (sendmmsg): Move declarations...
5041 * socket/sys/socket.h: ... here.
5042 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
5043 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
5044 include it from...
5045 * socket/recvmmsg.c: ... this new file.
5046 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
5047 (sendmmsg): Rename to __sendmmsg, create weak alias and make
5048 definition of __sendmmsg hidden.
5049 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5050 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
5051 Move ENOSYS stub into and include it from...
5052 * socket/sendmmsg.c: ... this new file.
5053 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
5054 (sysdep_routines): Move recvmmsg and sendmmsg...
5055 * socket/Makefile (routines): ... here.
5056 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
5057 (GLIBC_PRIVATE): Add __sendmmsg.
5058 * include/sys/socket.h (__sendmmsg): Add declarations.
5059 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
5060 sendmmsg.
5061
cf9a5d18
JM
50622012-11-20 Joseph Myers <joseph@codesourcery.com>
5063
5064 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
5065 variable I1 with __attribute__ ((unused)).
5066 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5067
ecd4caf9
JM
50682012-11-19 Joseph Myers <joseph@codesourcery.com>
5069
be14d48f
JM
5070 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
5071 DUMMY variables with __attribute__ ((unused)).
5072
ecd4caf9
JM
5073 * bits/byteswap.h: Include <bits/types.h>.
5074 (__bswap_64): Use __uint64_t instead of unsigned long long int.
5075
986cab95
PT
50762012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5077
5078 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
5079 string_t. Do not manually set errno.
5080 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
5081 length with __strnlen. Make sure to both set errno and return it on
5082 failure.
5083
6d33cc9d
DM
50842012-11-19 David S. Miller <davem@davemloft.net>
5085
5086 With help from Joseph Myers.
5087 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
5088 very large arguments properly.
5089 * math/libm-test.inc (atan_test): New tests.
5090 (atan2_test): New tests.
5091 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5092 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5093
ee663277
JM
50942012-11-19 Joseph Myers <joseph@codesourcery.com>
5095
877f2d8e
JM
5096 [BZ #14856]
5097 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
5098 Define to 3.
5099
116fc08a
JM
5100 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
5101 [POSIX] (EADDRNOTAVAIL): Likewise.
5102 [POSIX] (EAFNOSUPPORT): Likewise.
5103 [POSIX] (EALREADY): Likewise.
5104 [POSIX] (ECONNABORTED): Likewise.
5105 [POSIX] (ECONNREFUSED): Likewise.
5106 [POSIX] (ECONNRESET): Likewise.
5107 [POSIX] (EDESTADDRREQ): Likewise.
5108 [POSIX] (EDQUOT): Likewise.
5109 [POSIX] (EHOSTUNREACH): Likewise.
5110 [POSIX] (EIDRM): Likewise.
5111 [POSIX] (EISCONN): Likewise.
5112 [POSIX] (ELOOP): Likewise.
5113 [POSIX] (EMULTIHOP): Likewise.
5114 [POSIX] (ENETDOWN): Likewise.
5115 [POSIX] (ENETUNREACH): Likewise.
5116 [POSIX] (ENOBUFS): Likewise.
5117 [POSIX] (ENODATA): Likewise.
5118 [POSIX] (ENOLINK): Likewise.
5119 [POSIX] (ENOMSG): Likewise.
5120 [POSIX] (ENOPROTOOPT): Likewise.
5121 [POSIX] (ENOSR): Likewise.
5122 [POSIX] (ENOSTR): Likewise.
5123 [POSIX] (ENOTCONN): Likewise.
5124 [POSIX] (ENOTSOCK): Likewise.
5125 [POSIX] (EOPNOTSUPP): Likewise.
5126 [POSIX] (EOVERFLOW): Likewise.
5127 [POSIX] (EPROTO): Likewise.
5128 [POSIX] (EPROTONOSUPPORT): Likewise.
5129 [POSIX] (EPROTOTYPE): Likewise.
5130 [POSIX] (ESTALE): Likewise.
5131 [POSIX] (ETIME): Likewise.
5132 [POSIX] (ETXTBSY): Likewise.
5133 [POSIX] (EWOULDBLOCK): Likewise.
5134 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
5135 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
5136 [POSIX] (SEEK_CUR): Likewise.
5137 [POSIX] (SEEK_END): Likewise.
5138 [POSIX || UNIX98] (mode_t): Do not require.
5139 [POSIX] (off_t): Likewise.
5140 [POSIX] (pid_t): Likewise.
5141 [POSIX] (sys/stat.h): Do not allow header.
5142 [POSIX] (unistd.h): Likewise.
5143 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
5144 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
5145 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
5146 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
5147 require.
5148 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
5149 sigevent): Specify elements.
5150 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
5151 entry.
5152 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
5153 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
5154
a483863f
JM
5155 * conform/data/cpio.h-data [POSIX]: Disable whole file.
5156 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
5157 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
5158 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
5159 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
5160 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
5161 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
5162 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
5163 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
5164 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
5165 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
5166 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
5167 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
5168 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
5169 Likewise.
5170 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
5171 Likewise.
5172 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
5173 Likewise.
5174 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
5175 Likewise.
5176 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
5177 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
5178 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
5179 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
5180 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
5181 Specify lower bound on value.
5182 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
5183 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
5184 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
5185 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
5186 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
5187 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
5188 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
5189 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
5190 value.
5191 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
5192 as optional.
5193 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
5194 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
5195 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
5196 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
5197 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
5198 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
5199 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
5200 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
5201 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
5202 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
5203 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
5204 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
5205 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
5206 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
5207 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
5208 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
5209 entry.
5210 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
5211 optional.
5212 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
5213 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
5214 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
5215 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
5216 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
5217 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
5218 Likewise.
5219 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
5220 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
5221 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
5222 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
5223 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
5224 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
5225 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
5226 as optional.
5227 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
5228 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
5229 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
5230 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
5231 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
5232 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
5233 specify as optional.
5234 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
5235 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
5236 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
5237 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
5238 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
5239 [XPG3] (NL_LANGMAX): Likewise.
5240 [POSIX || XPG3] (NL_MSGMAX): Likewise.
5241 [POSIX || XPG3] (NL_NMAX): Likewise.
5242 [POSIX || XPG3] (NL_SETMAX): Likewise.
5243 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
5244 [XPG3] (NZERO): Likewise.
5245 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
5246 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
5247 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
5248 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
5249 (REG_ERANGE): Expect.
5250 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
5251 optional-constant.
5252 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
5253 Use (void) in prototype.
5254 [POSIX] (*_t): Allow.
5255 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
5256 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
5257 (WRDE_BADVAL): Expect.
5258
5ba924e3
JM
5259 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
5260 expect.
5261 [XPG3 || XPG4] (O_RSYNC): Likewise.
5262 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
5263 Likewise.
5264 [XPG3 || XPG4] (pthread_sigmask): Likewise.
5265 [XPG3 || XPG4] (sigqueue): Likewise.
5266 [XPG3 || XPG4] (sigtimedwait): Likewise.
5267 [XPG3 || XPG4] (sigwaitinfo): Likewise.
5268 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
5269 [XPG3 || XPG4] (vsnprintf): Likewise.
5270 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
5271 Likewise.
5272 [XPG3 || XPG4] (blksize_t): Likewise.
5273 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
5274 Likewise.
5275 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
5276 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
5277 [XPG3 || XPG4] (struct itimerspec): Likewise.
5278 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
5279 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
5280 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
5281 [XPG3 || XPG4] (clockid_t): Likewise.
5282 [XPG3 || XPG4] (timer_t): Likewise.
5283 [XPG3 || XPG4] (clock_getres): Likewise.
5284 [XPG3 || XPG4] (clock_gettime): Likewise.
5285 [XPG3 || XPG4] (clock_settime): Likewise.
5286 [XPG3 || XPG4] (nanosleep): Likewise.
5287 [XPG3 || XPG4] (timer_create): Likewise.
5288 [XPG3 || XPG4] (timer_delete): Likewise.
5289 [XPG3 || XPG4] (timer_gettime): Likewise.
5290 [XPG3 || XPG4] (timer_getoverrun): Likewise.
5291 [XPG3 || XPG4] (timer_settime): Likewise.
5292 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
5293 [XPG3 || XPG4] (getlogin_r): Likewise.
5294 [XPG3 || XPG4] (pread): Likewise.
5295 [XPG3 || XPG4] (pthread_atfork): Likewise.
5296 [XPG3 || XPG4] (pwrite): Likewise.
5297
ee663277
JM
5298 [BZ #14835]
5299 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
5300 <bits/siginfo.h>.
5301
942caa16
PT
53022012-11-19 Pino Toscano <toscano.pino@tiscali.it>
5303
e19af380
PT
5304 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
5305 finalizing MALLSTREAM.
5306
942caa16
PT
5307 * sysdeps/mach/hurd/syncfs.c: New file.
5308
cfde9b46
SP
53092012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5310
5311 [BZ #14719]
5312 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
5313 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
5314 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
5315 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
5316 (_nss_dns_gethostbyname4_r): Likewise.
5317 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
5318 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
5319
f6da27e5
PH
53202012-11-19 Peng Haitao <penght@cn.fujitsu.com>
5321
5322 [BZ #13763]
5323 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
5324
6665d4a2
SM
53252012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
5326
1f51ee92
SM
5327 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
5328 * elf/cache.c (print_entry): Print ",AArch64" for
5329 FLAG_AARCH64_LIB64
5330
6665d4a2
SM
5331 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
5332 * elf/cache.c (print_entry): Print ",hard-float" for
5333 FLAG_ARM_LIBHF.
5334
05b227bd
DM
53352012-11-18 David S. Miller <davem@davemloft.net>
5336
5337 With help from Joseph Myers.
5338 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
5339 cutoff to 2**-13.
5340 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
5341 cutoff to 2**-25.
5342 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
5343 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
5344 small.
5345 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5346 * math/libm-test.inc (y0_test): New tests.
5347 (y1_test): New tests.
5348 * sysdeps/i386/fpu/libm-test-ulps: Update.
5349 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5350 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5351
786b0b67
AS
53522012-11-18 Andreas Schwab <schwab@linux-m68k.org>
5353
5354 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
5355 64-bit targets.
5356 * configure: Regenerated.
5357
8e18b86d
DM
53582012-11-17 David S. Miller <davem@davemloft.net>
5359
5360 [BZ #14811]
5361 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
5362 nonzero exponents with absolute value below 0x1p-128 to +/-
5363 0x1p-128.
5364
531f1ae0
JM
53652012-11-17 Joseph Myers <joseph@codesourcery.com>
5366
12df29e2
JM
5367 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
5368
150dc1a0
JM
5369 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
5370
531f1ae0
JM
5371 * posix/getconf-speclist.c: New file.
5372 * posix/posix-envs.def: Likewise.
5373 * posix/confstr.c (START_ENV_GROUP): New macro.
5374 (END_ENV_GROUP): Likewise.
5375 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5376 (KNOWN_PRESENT_ENV_STRING): Likewise.
5377 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5378 (UNKNOWN_ENVIRONMENT): Likewise.
5379 (confstr): Include posix-envs.def instead of handling
5380 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
5381 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
5382 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
5383 (END_ENV_GROUP): Likewise.
5384 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
5385 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
5386 (UNKNOWN_ENVIRONMENT): Likewise.
5387 (__sysconf): Include posix-envs.def instead of handling associated
5388 cases directly here.
5389 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
5390 preprocessing getconf-speclist.c rather than running getconf or
5391 generating empty file.
5392
a93f9cbc
PT
53932012-11-16 Pino Toscano <toscano.pino@tiscali.it>
5394
5395 * scripts/check-local-headers.sh: Ignore 'mach' headers.
5396
d64d9f87
AL
53972012-11-16 Andrej Lajovic <natrij@gmail.com>
5398
5399 [BZ #14672]
5400 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
5401
447885eb
DM
54022012-11-16 David S. Miller <davem@davemloft.net>
5403
5404 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
5405 smaller than LDBL_EPSILON/2.0L, just return xm1.
5406
bcbf9830
L
54072012-11-16 H.J. Lu <hongjiu.lu@intel.com>
5408
5409 * elf/tst-array1.c (init): Set constructor priority to 1000.
5410 (fini): Set destructor priority to 1000.
5411 * elf/tst-array2dep.c: Likewise.
5412
2b766585
SP
54132012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5414
5415 [BZ #11741]
5416 * libio/fileops.c (_IO_new_file_write): Correctly return error.
5417 (_IO_new_file_xsputn): Also return EOF if none of the input
5418 data was written when overflow failed.
5419 * libio/iopadn.c (_IO_padn): Likewise.
5420 * libio/iowpadn.c (_IO_wpadn): Likewise.
5421 * stdio-common/tst-put-error.c: Add copyright notice.
5422 (do_test): Add case for printing padded string.
5423 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
5424 _IO_padn returned error.
5425 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
5426 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
5427 return EOF.
5428
b1848fde
SP
54292012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5430
5431 * libio/libioP.h: Add comment note that the references to C++
5432 bits are now obsolete.
5433
2fd89785
MS
54342012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5435
5436 * math/libm-test.inc (check_complex): Use asprintf.
5437
e3ea5409
JM
54382012-11-14 Joseph Myers <joseph@codesourcery.com>
5439
5440 * debug/pcprofiledump.c (print_version): Update copyright year.
5441 * malloc/memusagestat.c (print_version): Likewise.
5442
2e64d265
L
54432012-11-14 H.J. Lu <hongjiu.lu@intel.com>
5444
5445 [BZ #14831]
5446 * elf/Makefile (tests): Add tst-audit8.
5447 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
5448 ($(objpfx)tst-audit8.out): New target.
5449 (tst-audit8-ENV): New variable.
5450 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
5451 audit if l_reloc_result is NULL.
5452 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
5453 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
5454 * elf/tst-audit8.c: New file.
5455
c485e4d2
MS
54562012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5457
5458 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
5459 * misc/Makefile (CFLAGS-select.c): Define.
5460 * posix/Makefile (CFLAGS-pause.c): Define.
5461
3a0d900a
DM
54622012-11-13 David S. Miller <davem@davemloft.net>
5463
5464 * crypt/Makefile: Move test targets after toplevel Rules
5465 inclusion. Grab any necessary sysdep routines when linking.
5466 * crypt/md5.c (md5_process_block): Remove define, we will always
5467 name it __md5_process_block.
5468 (md5_finish_ctx): Update md5_process_block call.
5469 (md5_stream): Likewise.
5470 (md5_process_bytes): Likewise.
5471 (md5_process_block): Rename to __md5_process_block and move to ...
5472 * crypt/md5-block.c: ... here.
5473 * crypt/sha256.c (sha256_process_block): Move to ...
5474 * crypt/sha256-block.c: ... here.
5475 * crypt/sha512.c (sha512_process_block): Move to ...
5476 * crypt/sha512-block.c: ... here.
5477 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
5478 path.
5479 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
5480 * sysdeps/sparc/sparc64/multiarch/Makefile
5481 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
5482 crypt subdir.
5483 (localedef-aux): Add md5 crypto assembler when in locale subdir.
5484 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
5485 multiarch changes.
5486 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
5487 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
5488 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
5489 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
5490 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
5491 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
5492 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
5493 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
5494 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
5495 file.
5496 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
5497 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
5498 file.
5499 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
5500
8ca89318
JM
55012012-11-13 Joseph Myers <joseph@codesourcery.com>
5502
e27d476a
JM
5503 * timezone/tzselect.ksh: Update from tzcode git revision
5504 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
5505 * timezone/zdump.c: Likewise.
5506 * timezone/zic.c: Likewise.
5507 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
5508 in TZVERSION setting, not $(PKGVERSION).
5509 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
5510 REPORT_BUGS_TO settings.
5511
8ca89318
JM
5512 [BZ #14838]
5513 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
5514 macro.
5515
47594329
MS
55162012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5517
5518 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
5519 detection to immediately after _FP_ROUND().
5520 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
5521 bits are 0.
5522
640ac3f1
DM
55232012-11-11 David S. Miller <davem@davemloft.net>
5524
5525 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
5526 inttypes.h
5527 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
5528 __close rather than their public counterparts.
5529
3d2577bb
JM
55302012-11-10 Joseph Myers <joseph@codesourcery.com>
5531
5532 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
5533 file.
5534 [UNIX98] (sem_timedwait): Do not expect.
5535 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
5536 [XPG4 || UNIX98] (sockatmark): Do not expect.
5537 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
5538 (clock_getcpuclockid): Do not expect.
5539 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
5540 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
5541 Do not expect.
5542 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
5543 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
5544 [UNIX98] (vwscanf): Likewise.
5545 [UNIX98] (vswscanf): Likewise.
5546
fb1ae1ee
JM
55472012-11-09 Joseph Myers <joseph@codesourcery.com>
5548
9ec6f8bd
JM
5549 * timezone/version.h: Remove file.
5550 * timezone/README: Do not refer to version.h.
5551 * timezone/Makefile ($(objpfx)zic.o): New dependency on
5552 $(objpfx)version.h.
5553 ($(objpfx)zdump.o): Likewise.
c3f81911 5554 ($(objpfx)version.h): New target.
9ec6f8bd 5555
0aa8f8a1
JM
5556 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
5557 2012i.
5558 * timezone/README: Don't mention modification to tzselect.ksh.
5559 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
5560 work on unmodified tzselect.ksh. Substitute version numbers in
5561 tzselect.ksh.
5562
4e87147f
JM
5563 * Makefile (format-me): Remove.
5564 (INSTALL): Adjust indentation. Use commands directly instead of
5565 using $(format-me).
5566
8b748aed
JM
5567 * aclocal.m4 (ACX_PKGVERSION): New macro.
5568 (ACX_BUGURL): Likewise.
5569 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
5570 (PKGVERSION): New AC_DEFINE_UNQUOTED.
5571 (REPORT_BUGS_TO): Likewise.
5572 * configure: Regenerated.
5573 * config.h.in (PKGVERSION): New macro.
5574 (REPORT_BUGS_TO): Likewise.
5575 * config.make.in (PKGVERSION): New variable.
5576 (PKGVERSION_TEXI): Likewise.
5577 (REPORT_BUGS_TO): Likewise.
5578 (REPORT_BUGS_TEXI): Likewise.
5579 * Makefile (format-me): Use -I$(common-objpfx)manual.
5580 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
5581 ($(common-objpfx)manual/%): New target.
5582 (manual/%): Remove target.
5583 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
5584 (print_version): Use PKGVERSION.
5585 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
5586 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
5587 and REPORT_BUGS_TO.
5588 ($(objpfx)xtrace): Likewise.
5589 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
5590 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
5591 (print_version): Use PKGVERSION.
5592 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
5593 (do_version): Use PKGVERSION.
5594 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
5595 REPORT_BUGS_TO.
5596 (common-ldd-rewrite): Likewise.
5597 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
5598 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
5599 (print_version): Use PKGVERSION.
5600 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
5601 * elf/pldd.c (argp_program_bug_address): Remove variable.
5602 (more_help): New function.
5603 (argp): Use more_help.
5604 (print_version): Use PKGVERSION.
5605 * elf/sln.c (main): Use PKGVERSION.
5606 (usage): Use REPORT_BUGS_TO.
5607 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
5608 (top level): Use PKGVERSION.
5609 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
5610 (print_version): Use PKGVERSION.
5611 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
5612 (print_version): Use PKGVERSION.
5613 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
5614 (print_version): Use PKGVERSION.
5615 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
5616 (print_version): Use PKGVERSION.
5617 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
5618 (print_version): Use PKGVERSION.
5619 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
5620 (print_version): Use PKGVERSION.
5621 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
5622 and BUGURL.
5623 ($(objpfx)memusage): Likewise.
5624 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
5625 (do_version): Use PKGVERSION.
5626 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
5627 (print_version): Use PKGVERSION.
5628 * malloc/mtrace.pl ($PACKAGE): Remove variable.
5629 ($PKGVERSION): New variable.
5630 ($REPORT_BUGS_TO): Likewise.
5631 (usage): Use $REPORT_BUGS_TO.
5632 (top level): Use $PKGVERSION.
5633 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
5634 ($(objpfx)pkgvers.texi): New rule.
5635 ($(objpfx)stamp-pkgvers): Likewise.
5636 * manual/install.texi: Include pkgvers.texi.
5637 (--with-pkgversion): Document new configure option.
5638 (--with-bugurl): Likewise.
5639 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
5640 than necessarily for this particular distribution. Use
5641 REPORT_BUGS_TO for where to report bugs.
5642 * INSTALL: Regenerated.
5643 * manual/libc.texinfo: Include pkgvers.texi.
5644 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
5645 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
5646 (print_version): Use PKGVERSION.
5647 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
5648 (print_version): Use PKGVERSION.
5649 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
5650 (print_version): Use PKGVERSION.
5651 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
5652 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
5653 macro.
5654 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
5655 (print_version): Use PKGVERSION.
5656 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
5657 (print_version): Use PKGVERSION.
5658 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
5659 and PKGVERSION.
5660
92e4b6a9
JM
5661 * timezone/checktab.awk: Update from tzcode 2012i.
5662 * timezone/ialloc.c: Likewise.
5663 * timezone/private.h: Likewise.
5664 * timezone/scheck.c: Likewise.
5665 * timezone/tzfile.h: Likewise.
5666 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
5667 (TZVERSION): Hardcode tzcode version number.
5668 * timezone/zdump.c: Update from tzcode 2012i.
5669 * timezone/zic.c: Likewise.
5670 * timezone/version.h: New file.
5671 * timezone/README: Describe version.h. Update upstream location.
5672
9bde902c
JM
5673 [BZ #14824]
5674 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
5675 (mktemp): Enable declaration.
5676 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
5677 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
5678 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
5679 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
5680 Likewise.
5681 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
5682 Likewise.
5683 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
5684 Likewise.
5685 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
5686 Likewise.
5687 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
5688 Likewise.
5689 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
5690 Likewise.
5691
fb1ae1ee
JM
5692 [BZ #14821]
5693 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
5694 offset in buffer as u_int32_t not u_long. Consistently use memcpy
5695 for copies of such integer values.
5696 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
5697 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
5698
2c1adbcb
AJ
56992012-11-09 Andreas Jaeger <aj@suse.de>
5700
5701 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
5702 definitions and declarations that are provided by
5703 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
5704
d0f8457e
AK
57052012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5706
3a235abb 5707 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
5708 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
5709 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
5710 definition.
5711
57241e26
MS
57122012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5713
5714 * elf/elf.h: Update comment before AArch64 relocations.
5715
60e8270d
DM
57162012-11-07 David S. Miller <davem@davemloft.net>
5717
5718 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
5719 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
5720 (__start_context): Declare.
5721 (__makecontext_ret): Delete.
5722 (__makecontext): Hook up __start_context instead of
5723 __makecontext_ret.
5724 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5725 (sysdep_routines): Add __start_context when in stdlib.
5726
0fbb0fbc
JM
57272012-11-07 Joseph Myers <joseph@codesourcery.com>
5728
5729 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
5730 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
5731 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
5732 hardcoded "nm".
5733 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
5734 (READELF): New variable. Use it instead of hardcoded "readelf".
5735
eb48db7e
L
57362012-11-07 H.J. Lu <hongjiu.lu@intel.com>
5737
5738 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
5739 * sysdeps/x86/Makefile: Here.
5740 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
5741 * sysdeps/x86/tst-xmmymm.sh: This.
5742
05bcf62a
JM
57432012-11-07 Joseph Myers <joseph@codesourcery.com>
5744
c4b6cf53
JM
5745 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
5746 expectations.
5747 [UNIX98] (pthread_barrier_t): Do not expect.
5748 [UNIX98] (pthread_barrierattr_t): Likewise.
5749 [UNIX98] (pthread_spinlock_t): Likewise.
5750 [UNIX98] (pthread_barrier_destroy): Likewise.
5751 [UNIX98] (pthread_barrier_init): Likewise.
5752 [UNIX98] (pthread_barrier_wait): Likewise.
5753 [UNIX98] (pthread_barrierattr_destroy): Likewise.
5754 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
5755 [UNIX98] (pthread_barrierattr_init): Likewise.
5756 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
5757 [UNIX98] (pthread_getcpuclockid): Likewise.
5758 [UNIX98] (pthread_mutex_timedlock): Likewise.
5759 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
5760 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
5761 [UNIX98] (pthread_sigmask): Likewise.
5762 [UNIX98] (pthread_spin_destroy): Likewise.
5763 [UNIX98] (pthread_spin_init): Likewise.
5764 [UNIX98] (pthread_spin_lock): Likewise.
5765 [UNIX98] (pthread_spin_trylock): Likewise.
5766 [UNIX98] (pthread_spin_unlock): Likewise.
5767 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
5768 Do not expect.
5769 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
5770 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
5771 [XPG3 || XPG4] (pthread_cond_t): Likewise.
5772 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
5773 [XPG3 || XPG4] (pthread_key_t): Likewise.
5774 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
5775 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
5776 [XPG3 || XPG4] (pthread_once_t): Likewise.
5777 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
5778 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
5779 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
5780 [XPG3 || XPG4] (pthread_t): Likewise.
5781
cbe6e120
JM
5782 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
5783 not expect.
5784 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
5785
1b126443
JM
5786 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
5787 Change function return type to int.
5788
b961a573
JM
5789 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
5790 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
5791 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
5792 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
5793 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
5794 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
5795 [!POSIX] (posix_madvise): Likewise.
5796 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
5797 && !UNIX98].
5798 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
5799 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
5800 (mode_t): Likewise.
5801 (posix_mem_offset): Likewise.
5802 (posix_typed_mem_get_info): Likewise.
5803 (posix_typed_mem_open): Likewise.
5804
9e188909
JM
5805 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
5806 Change condition to [XOPEN2K8].
5807
05bcf62a
JM
5808 * conform/conformtest.pl: Preprocess allow-header data with -x c
5809 instead of from stdin.
5810 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
5811 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
5812 [C99-based standards] (cerfc): Likewise.
5813 [C99-based standards] (cexp2): Likewise.
5814 [C99-based standards] (cexpm1): Likewise.
5815 [C99-based standards] (clog10): Likewise.
5816 [C99-based standards] (clog1p): Likewise.
5817 [C99-based standards] (clog2): Likewise.
5818 [C99-based standards] (clgamma): Likewise.
5819 [C99-based standards] (ctgamma): Likewise.
5820 [C99-based standards] (cerff): Likewise.
5821 [C99-based standards] (cerfcf): Likewise.
5822 [C99-based standards] (cexp2f): Likewise.
5823 [C99-based standards] (cexpm1f): Likewise.
5824 [C99-based standards] (clog10f): Likewise.
5825 [C99-based standards] (clog1pf): Likewise.
5826 [C99-based standards] (clog2f): Likewise.
5827 [C99-based standards] (clgammaf): Likewise.
5828 [C99-based standards] (ctgammaf): Likewise.
5829 [C99-based standards] (cerfl): Likewise.
5830 [C99-based standards] (cerfcl): Likewise.
5831 [C99-based standards] (cexp2l): Likewise.
5832 [C99-based standards] (cexpm1l): Likewise.
5833 [C99-based standards] (clog10l): Likewise.
5834 [C99-based standards] (clog1pl): Likewise.
5835 [C99-based standards] (clog2l): Likewise.
5836 [C99-based standards] (clgammal): Likewise.
5837 [C99-based standards] (ctgammal): Likewise.
5838 * conform/data/inttypes.h-data [C99-based standards]: Include
5839 stdint.h-data. Remove all expectations for stdint.h contents.
5840 [C99-based standards] (PRI*): Do not allow.
5841 [C99-based standards] (SCN*): Likewise.
5842 [C99-based standards] (*_t): Likewise.
5843 [C99-based-standards] (PRId8): Expect macro.
5844 [C99-based-standards] (PRIi8): Likewise.
5845 [C99-based-standards] (PRIo8): Likewise.
5846 [C99-based-standards] (PRIu8): Likewise.
5847 [C99-based-standards] (PRIx8): Likewise.
5848 [C99-based-standards] (PRIX8): Likewise.
5849 [C99-based-standards] (SCNd8): Likewise.
5850 [C99-based-standards] (SCNi8): Likewise.
5851 [C99-based-standards] (SCNo8): Likewise.
5852 [C99-based-standards] (SCNu8): Likewise.
5853 [C99-based-standards] (SCNx8): Likewise.
5854 [C99-based-standards] (PRIdLEAST8): Likewise.
5855 [C99-based-standards] (PRIiLEAST8): Likewise.
5856 [C99-based-standards] (PRIoLEAST8): Likewise.
5857 [C99-based-standards] (PRIuLEAST8): Likewise.
5858 [C99-based-standards] (PRIxLEAST8): Likewise.
5859 [C99-based-standards] (PRIXLEAST8): Likewise.
5860 [C99-based-standards] (SCNdLEAST8): Likewise.
5861 [C99-based-standards] (SCNiLEAST8): Likewise.
5862 [C99-based-standards] (SCNoLEAST8): Likewise.
5863 [C99-based-standards] (SCNuLEAST8): Likewise.
5864 [C99-based-standards] (SCNxLEAST8): Likewise.
5865 [C99-based-standards] (PRIdFAST8): Likewise.
5866 [C99-based-standards] (PRIiFAST8): Likewise.
5867 [C99-based-standards] (PRIoFAST8): Likewise.
5868 [C99-based-standards] (PRIuFAST8): Likewise.
5869 [C99-based-standards] (PRIxFAST8): Likewise.
5870 [C99-based-standards] (PRIXFAST8): Likewise.
5871 [C99-based-standards] (SCNdFAST8): Likewise.
5872 [C99-based-standards] (SCNiFAST8): Likewise.
5873 [C99-based-standards] (SCNoFAST8): Likewise.
5874 [C99-based-standards] (SCNuFAST8): Likewise.
5875 [C99-based-standards] (SCNxFAST8): Likewise.
5876 [C99-based-standards] (PRId16): Likewise.
5877 [C99-based-standards] (PRIi16): Likewise.
5878 [C99-based-standards] (PRIo16): Likewise.
5879 [C99-based-standards] (PRIu16): Likewise.
5880 [C99-based-standards] (PRIx16): Likewise.
5881 [C99-based-standards] (PRIX16): Likewise.
5882 [C99-based-standards] (SCNd16): Likewise.
5883 [C99-based-standards] (SCNi16): Likewise.
5884 [C99-based-standards] (SCNo16): Likewise.
5885 [C99-based-standards] (SCNu16): Likewise.
5886 [C99-based-standards] (SCNx16): Likewise.
5887 [C99-based-standards] (PRIdLEAST16): Likewise.
5888 [C99-based-standards] (PRIiLEAST16): Likewise.
5889 [C99-based-standards] (PRIoLEAST16): Likewise.
5890 [C99-based-standards] (PRIuLEAST16): Likewise.
5891 [C99-based-standards] (PRIxLEAST16): Likewise.
5892 [C99-based-standards] (PRIXLEAST16): Likewise.
5893 [C99-based-standards] (SCNdLEAST16): Likewise.
5894 [C99-based-standards] (SCNiLEAST16): Likewise.
5895 [C99-based-standards] (SCNoLEAST16): Likewise.
5896 [C99-based-standards] (SCNuLEAST16): Likewise.
5897 [C99-based-standards] (SCNxLEAST16): Likewise.
5898 [C99-based-standards] (PRIdFAST16): Likewise.
5899 [C99-based-standards] (PRIiFAST16): Likewise.
5900 [C99-based-standards] (PRIoFAST16): Likewise.
5901 [C99-based-standards] (PRIuFAST16): Likewise.
5902 [C99-based-standards] (PRIxFAST16): Likewise.
5903 [C99-based-standards] (PRIXFAST16): Likewise.
5904 [C99-based-standards] (SCNdFAST16): Likewise.
5905 [C99-based-standards] (SCNiFAST16): Likewise.
5906 [C99-based-standards] (SCNoFAST16): Likewise.
5907 [C99-based-standards] (SCNuFAST16): Likewise.
5908 [C99-based-standards] (SCNxFAST16): Likewise.
5909 [C99-based-standards] (PRId32): Likewise.
5910 [C99-based-standards] (PRIi32): Likewise.
5911 [C99-based-standards] (PRIo32): Likewise.
5912 [C99-based-standards] (PRIu32): Likewise.
5913 [C99-based-standards] (PRIx32): Likewise.
5914 [C99-based-standards] (PRIX32): Likewise.
5915 [C99-based-standards] (SCNd32): Likewise.
5916 [C99-based-standards] (SCNi32): Likewise.
5917 [C99-based-standards] (SCNo32): Likewise.
5918 [C99-based-standards] (SCNu32): Likewise.
5919 [C99-based-standards] (SCNx32): Likewise.
5920 [C99-based-standards] (PRIdLEAST32): Likewise.
5921 [C99-based-standards] (PRIiLEAST32): Likewise.
5922 [C99-based-standards] (PRIoLEAST32): Likewise.
5923 [C99-based-standards] (PRIuLEAST32): Likewise.
5924 [C99-based-standards] (PRIxLEAST32): Likewise.
5925 [C99-based-standards] (PRIXLEAST32): Likewise.
5926 [C99-based-standards] (SCNdLEAST32): Likewise.
5927 [C99-based-standards] (SCNiLEAST32): Likewise.
5928 [C99-based-standards] (SCNoLEAST32): Likewise.
5929 [C99-based-standards] (SCNuLEAST32): Likewise.
5930 [C99-based-standards] (SCNxLEAST32): Likewise.
5931 [C99-based-standards] (PRIdFAST32): Likewise.
5932 [C99-based-standards] (PRIiFAST32): Likewise.
5933 [C99-based-standards] (PRIoFAST32): Likewise.
5934 [C99-based-standards] (PRIuFAST32): Likewise.
5935 [C99-based-standards] (PRIxFAST32): Likewise.
5936 [C99-based-standards] (PRIXFAST32): Likewise.
5937 [C99-based-standards] (SCNdFAST32): Likewise.
5938 [C99-based-standards] (SCNiFAST32): Likewise.
5939 [C99-based-standards] (SCNoFAST32): Likewise.
5940 [C99-based-standards] (SCNuFAST32): Likewise.
5941 [C99-based-standards] (SCNxFAST32): Likewise.
5942 [C99-based-standards] (PRId64): Likewise.
5943 [C99-based-standards] (PRIi64): Likewise.
5944 [C99-based-standards] (PRIo64): Likewise.
5945 [C99-based-standards] (PRIu64): Likewise.
5946 [C99-based-standards] (PRIx64): Likewise.
5947 [C99-based-standards] (PRIX64): Likewise.
5948 [C99-based-standards] (SCNd64): Likewise.
5949 [C99-based-standards] (SCNi64): Likewise.
5950 [C99-based-standards] (SCNo64): Likewise.
5951 [C99-based-standards] (SCNu64): Likewise.
5952 [C99-based-standards] (SCNx64): Likewise.
5953 [C99-based-standards] (PRIdLEAST64): Likewise.
5954 [C99-based-standards] (PRIiLEAST64): Likewise.
5955 [C99-based-standards] (PRIoLEAST64): Likewise.
5956 [C99-based-standards] (PRIuLEAST64): Likewise.
5957 [C99-based-standards] (PRIxLEAST64): Likewise.
5958 [C99-based-standards] (PRIXLEAST64): Likewise.
5959 [C99-based-standards] (SCNdLEAST64): Likewise.
5960 [C99-based-standards] (SCNiLEAST64): Likewise.
5961 [C99-based-standards] (SCNoLEAST64): Likewise.
5962 [C99-based-standards] (SCNuLEAST64): Likewise.
5963 [C99-based-standards] (SCNxLEAST64): Likewise.
5964 [C99-based-standards] (PRIdFAST64): Likewise.
5965 [C99-based-standards] (PRIiFAST64): Likewise.
5966 [C99-based-standards] (PRIoFAST64): Likewise.
5967 [C99-based-standards] (PRIuFAST64): Likewise.
5968 [C99-based-standards] (PRIxFAST64): Likewise.
5969 [C99-based-standards] (PRIXFAST64): Likewise.
5970 [C99-based-standards] (SCNdFAST64): Likewise.
5971 [C99-based-standards] (SCNiFAST64): Likewise.
5972 [C99-based-standards] (SCNoFAST64): Likewise.
5973 [C99-based-standards] (SCNuFAST64): Likewise.
5974 [C99-based-standards] (SCNxFAST64): Likewise.
5975 [C99-based-standards] (PRIdMAX): Likewise.
5976 [C99-based-standards] (PRIiMAX): Likewise.
5977 [C99-based-standards] (PRIoMAX): Likewise.
5978 [C99-based-standards] (PRIuMAX): Likewise.
5979 [C99-based-standards] (PRIxMAX): Likewise.
5980 [C99-based-standards] (PRIXMAX): Likewise.
5981 [C99-based-standards] (SCNdMAX): Likewise.
5982 [C99-based-standards] (SCNiMAX): Likewise.
5983 [C99-based-standards] (SCNoMAX): Likewise.
5984 [C99-based-standards] (SCNuMAX): Likewise.
5985 [C99-based-standards] (SCNxMAX): Likewise.
5986 [C99-based-standards] (PRIdPTR): Likewise.
5987 [C99-based-standards] (PRIiPTR): Likewise.
5988 [C99-based-standards] (PRIoPTR): Likewise.
5989 [C99-based-standards] (PRIuPTR): Likewise.
5990 [C99-based-standards] (PRIxPTR): Likewise.
5991 [C99-based-standards] (PRIXPTR): Likewise.
5992 [C99-based-standards] (SCNdPTR): Likewise.
5993 [C99-based-standards] (SCNiPTR): Likewise.
5994 [C99-based-standards] (SCNoPTR): Likewise.
5995 [C99-based-standards] (SCNuPTR): Likewise.
5996 [C99-based-standards] (SCNxPTR): Likewise.
5997 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
5998 allow.
5999 * conform/data/stdint.h-data: Update comments to clarify
6000 requirements.
6001 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
6002 type.
6003 [C99-based standards] (INT8_MAX): Likewise.
6004 [C99-based standards] (INT16_MIN): Likewise.
6005 [C99-based standards] (INT16_MAX): Likewise.
6006 [C99-based standards] (INT32_MIN): Likewise.
6007 [C99-based standards] (INT32_MAX): Likewise.
6008 [C99-based standards] (INT64_MIN): Likewise.
6009 [C99-based standards] (INT64_MAX): Likewise.
6010 [C99-based standards] (UINT8_MAX): Likewise.
6011 [C99-based standards] (UINT16_MAX): Likewise.
6012 [C99-based standards] (UINT32_MAX): Likewise.
6013 [C99-based standards] (UINT64_MAX): Likewise.
6014 [C99-based standards] (INT_LEAST8_MIN): Likewise.
6015 [C99-based standards] (INT_LEAST8_MAX): Likewise.
6016 [C99-based standards] (INT_LEAST16_MIN): Likewise.
6017 [C99-based standards] (INT_LEAST16_MAX): Likewise.
6018 [C99-based standards] (INT_LEAST32_MIN): Likewise.
6019 [C99-based standards] (INT_LEAST32_MAX): Likewise.
6020 [C99-based standards] (INT_LEAST64_MIN): Likewise.
6021 [C99-based standards] (INT_LEAST64_MAX): Likewise.
6022 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
6023 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
6024 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
6025 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
6026 [C99-based standards] (INT_FAST8_MIN): Likewise.
6027 [C99-based standards] (INT_FAST8_MAX): Likewise.
6028 [C99-based standards] (INT_FAST16_MIN): Likewise.
6029 [C99-based standards] (INT_FAST16_MAX): Likewise.
6030 [C99-based standards] (INT_FAST32_MIN): Likewise.
6031 [C99-based standards] (INT_FAST32_MAX): Likewise.
6032 [C99-based standards] (INT_FAST64_MIN): Likewise.
6033 [C99-based standards] (INT_FAST64_MAX): Likewise.
6034 [C99-based standards] (UINT_FAST8_MAX): Likewise.
6035 [C99-based standards] (UINT_FAST16_MAX): Likewise.
6036 [C99-based standards] (UINT_FAST32_MAX): Likewise.
6037 [C99-based standards] (UINT_FAST64_MAX): Likewise.
6038 [C99-based standards] (INTPTR_MIN): Likewise.
6039 [C99-based standards] (INTPTR_MAX): Likewise.
6040 [C99-based standards] (UINTPTR_MAX): Likewise.
6041 [C99-based standards] (INTMAX_MIN): Likewise.
6042 [C99-based standards] (INTMAX_MAX): Likewise.
6043 [C99-based standards] (UINTMAX_MAX): Likewise.
6044 [C99-based standards] (PTRDIFF_MIN): Likewise.
6045 [C99-based standards] (PTRDIFF_MAX): Likewise.
6046 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
6047 [C99-based standards] (SIZE_MAX): Likewise.
6048 [C99-based standards] (WCHAR_MAX): Likewise.
6049 [C99-based standards] (WINT_MAX): Likewise.
6050 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
6051 constraint on value.
6052 [C99-based standards] (WCHAR_MIN): Likewise.
6053 [C99-based standards] (WINT_MIN): Likewise.
6054 [C99-based standards] (*_t): Allow.
6055 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
6056 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
6057 Include math.h-data and complex.h-data. Remove all expectations
6058 of math.h and complex.h contents.
6059 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
6060 at end of line.
6061 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
6062 (struct tm): Expect tag.
6063 [C99-based-standards] (wcstof): Expect function.
6064 [C99-based-standards] (wcstold): Likewise.
6065 [C99-based-standards] (wcstoll): Likewise.
6066 [C99-based-standards] (wcstoull): Likewise.
6067 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
6068 macro-int-constant. Specify type.
6069 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
6070 constraint on value.
6071 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6072 Specify type.
6073 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
6074 Specify value.
6075 [ISO C standards]: Do not allow headers.
6076 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
6077 wcs[abcdefghijklmnopqrstuvwxyz]*.
6078 [ISO C standards] (*_t): Do not allow.
6079 * conform/data/wctype.h-data [C99-based standards] (iswblank):
6080 Expect function.
6081 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
6082 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
6083 Specify type.
6084 [ISO C standards]: Do not allow headers.
6085 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
6086 is[abcdefghijklmnopqrstuvwxyz]*.
6087 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
6088 to[abcdefghijklmnopqrstuvwxyz]*.
6089 [ISO C standards] (*_t): Do not allow.
6090 * conform/data/stdalign.h-data: New file.
6091 * conform/data/stdbool.h-data: Likewise.
6092 * conform/data/stdnoreturn.h-data: Likewise.
6093
7514feb8
RM
60942012-11-07 Roland McGrath <roland@hack.frob.com>
6095
6096 [BZ #14815]
6097 * manual/filesys.texi (Directory Entries): Typo fix.
6098 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
6099
19b2ecfc
MS
61002012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
6101
6102 * elf/elf.h (EM_AARCH64): New macro.
6103 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
6104 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
6105 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
6106 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
6107 (R_AARCH64_TLSDESC): Likewise.
6108 (NT_ARM_TLS): Likewise.
6109 (NT_ARM_HW_BREAK): Likewise.
6110 (NT_ARM_HW_WATCH): Likewise.
6111
60e235ee
JM
61122012-11-07 Joseph Myers <joseph@codesourcery.com>
6113
6114 [BZ #14811]
6115 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
6116 (__ieee754_powl): Saturate nonzero exponents with absolute value
6117 below 0x1p-79 to +/- 0x1p-79.
6118 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
6119 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
6120 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
6121 nonzero exponents with absolute value below 0x1p-32 to +/-
6122 0x1p-32.
6123 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
6124 (__ieee754_powl): Saturate nonzero exponents with absolute value
6125 below 0x1p-79 to +/- 0x1p-79.
6126 * math/libm-test.inc (pow_test): Add more tests.
6127
0ab234b7
AK
61282012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6129
6130 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
6131 _dl_s390_cap_flags with kernel. Increase string length.
6132 (_dl_s390_platforms): Add z196 and zEC12.
6133
45832f74
JM
61342012-11-07 Joseph Myers <joseph@codesourcery.com>
6135
6136 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
6137 Change XOPEN21K to XOPEN2K.
6138
19218757
MK
61392012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
6140
6141 * string/memmove.c: Use memcpy when possible.
6142
c5f45721
AJ
61432012-11-06 Andreas Jaeger <aj@suse.de>
6144
6145 * po/eo.po: Update from translation team.
6146
82477c28
JM
61472012-11-06 Joseph Myers <joseph@codesourcery.com>
6148
6149 [BZ #14793]
6150 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
6151 exponent and small x and y exponents, scale x or y up. Increase
6152 by 2 the exponent used in scaling up.
6153 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6154 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6155 * math/libm-test.inc (fma_test): Add more tests.
6156 (fma_test_towardzero): Likewise.
6157 (fma_test_downward): Likewise.
6158 (fma_test_upward): Likewise.
6159
99252c8c
JM
61602012-11-05 Joseph Myers <joseph@codesourcery.com>
6161
acfa885f
JM
6162 [BZ #14805]
6163 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
6164 fenv_t *.
6165
99252c8c
JM
6166 [BZ #14801]
6167 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
6168 namespace for names of struct fields.
6169 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
6170 fenv_t fields.
6171 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
6172 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
6173
d6d98dea
ST
61742012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6175
6176 [BZ #3665]
6177 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
6178
e10bb107
TS
61792012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6180
6181 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
6182 PTR_DEMANGLE.
6183
6184 [BZ #5246]
6185 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
6186 PTR_DEMANGLE.
6187
a0c2940d
JM
61882012-11-04 Joseph Myers <joseph@codesourcery.com>
6189
6190 [BZ #14797]
6191 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
6192 definitely overflow as x * y not x * y + z.
6193 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6194 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6195 * math/libm-test.inc (fma_test): Add more tests.
6196 (fma_test_towardzero): Likewise.
6197 (fma_test_downward): Likewise.
6198 (fma_test_upward): Likewise.
6199
b830319d
TS
62002012-11-04 Thomas Schwinge <thomas@codesourcery.com>
6201
6202 [BZ #157]
6203
6204 * include/stub-tag.h: Remove file.
6205 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
6206 '#include' of it.
6207 * manual/maint.texi (Porting): Don't reference it.
6208 * Makerules ($(objpfx)stubs): Likewise.
6209 * dirent/closedir.c: Don't include <stub-tag.h>.
6210 * dirent/dirfd.c: Likewise.
6211 * dirent/fdopendir.c: Likewise.
6212 * dirent/getdents.c: Likewise.
6213 * dirent/getdents64.c: Likewise.
6214 * dirent/opendir.c: Likewise.
6215 * dirent/readdir.c: Likewise.
6216 * dirent/readdir64.c: Likewise.
6217 * dirent/readdir64_r.c: Likewise.
6218 * dirent/readdir_r.c: Likewise.
6219 * dirent/rewinddir.c: Likewise.
6220 * dirent/seekdir.c: Likewise.
6221 * dirent/telldir.c: Likewise.
6222 * gmon/profil.c: Likewise.
6223 * grp/setgroups.c: Likewise.
6224 * inet/if_index.c: Likewise.
6225 * io/access.c: Likewise.
6226 * io/chdir.c: Likewise.
6227 * io/chmod.c: Likewise.
6228 * io/chown.c: Likewise.
6229 * io/close.c: Likewise.
6230 * io/dup.c: Likewise.
6231 * io/dup2.c: Likewise.
6232 * io/dup3.c: Likewise.
6233 * io/euidaccess.c: Likewise.
6234 * io/faccessat.c: Likewise.
6235 * io/fchdir.c: Likewise.
6236 * io/fchmod.c: Likewise.
6237 * io/fchmodat.c: Likewise.
6238 * io/fchown.c: Likewise.
6239 * io/fchownat.c: Likewise.
6240 * io/fcntl.c: Likewise.
6241 * io/flock.c: Likewise.
6242 * io/fstatfs.c: Likewise.
6243 * io/fstatfs64.c: Likewise.
6244 * io/fstatvfs.c: Likewise.
6245 * io/fstatvfs64.c: Likewise.
6246 * io/futimens.c: Likewise.
6247 * io/fxstat.c: Likewise.
6248 * io/fxstat64.c: Likewise.
6249 * io/fxstatat.c: Likewise.
6250 * io/fxstatat64.c: Likewise.
6251 * io/getcwd.c: Likewise.
6252 * io/isatty.c: Likewise.
6253 * io/lchmod.c: Likewise.
6254 * io/lchown.c: Likewise.
6255 * io/link.c: Likewise.
6256 * io/linkat.c: Likewise.
6257 * io/lseek.c: Likewise.
6258 * io/lseek64.c: Likewise.
6259 * io/lxstat64.c: Likewise.
6260 * io/mkdir.c: Likewise.
6261 * io/mkdirat.c: Likewise.
6262 * io/mkfifo.c: Likewise.
6263 * io/mkfifoat.c: Likewise.
6264 * io/open.c: Likewise.
6265 * io/open64.c: Likewise.
6266 * io/openat.c: Likewise.
6267 * io/openat64.c: Likewise.
6268 * io/pipe.c: Likewise.
6269 * io/pipe2.c: Likewise.
6270 * io/poll.c: Likewise.
6271 * io/posix_fadvise.c: Likewise.
6272 * io/posix_fadvise64.c: Likewise.
6273 * io/posix_fallocate.c: Likewise.
6274 * io/posix_fallocate64.c: Likewise.
6275 * io/read.c: Likewise.
6276 * io/readlink.c: Likewise.
6277 * io/readlinkat.c: Likewise.
6278 * io/rmdir.c: Likewise.
6279 * io/sendfile.c: Likewise.
6280 * io/sendfile64.c: Likewise.
6281 * io/statfs.c: Likewise.
6282 * io/statfs64.c: Likewise.
6283 * io/statvfs.c: Likewise.
6284 * io/statvfs64.c: Likewise.
6285 * io/symlink.c: Likewise.
6286 * io/symlinkat.c: Likewise.
6287 * io/ttyname.c: Likewise.
6288 * io/ttyname_r.c: Likewise.
6289 * io/umask.c: Likewise.
6290 * io/unlink.c: Likewise.
6291 * io/unlinkat.c: Likewise.
6292 * io/utime.c: Likewise.
6293 * io/utimensat.c: Likewise.
6294 * io/write.c: Likewise.
6295 * io/xmknod.c: Likewise.
6296 * io/xmknodat.c: Likewise.
6297 * io/xstat.c: Likewise.
6298 * io/xstat64.c: Likewise.
6299 * login/getpt.c: Likewise.
6300 * login/grantpt.c: Likewise.
6301 * login/unlockpt.c: Likewise.
6302 * math/e_acoshl.c: Likewise.
6303 * math/e_acosl.c: Likewise.
6304 * math/e_asinl.c: Likewise.
6305 * math/e_atan2l.c: Likewise.
6306 * math/e_atanhl.c: Likewise.
6307 * math/e_coshl.c: Likewise.
6308 * math/e_expl.c: Likewise.
6309 * math/e_fmodl.c: Likewise.
6310 * math/e_gammal_r.c: Likewise.
6311 * math/e_hypotl.c: Likewise.
6312 * math/e_j0l.c: Likewise.
6313 * math/e_j1l.c: Likewise.
6314 * math/e_jnl.c: Likewise.
6315 * math/e_lgammal_r.c: Likewise.
6316 * math/e_log10l.c: Likewise.
6317 * math/e_log2l.c: Likewise.
6318 * math/e_logl.c: Likewise.
6319 * math/e_powl.c: Likewise.
6320 * math/e_rem_pio2l.c: Likewise.
6321 * math/e_sinhl.c: Likewise.
6322 * math/e_sqrtl.c: Likewise.
6323 * math/fclrexcpt.c: Likewise.
6324 * math/fedisblxcpt.c: Likewise.
6325 * math/feenablxcpt.c: Likewise.
6326 * math/fegetenv.c: Likewise.
6327 * math/fegetexcept.c: Likewise.
6328 * math/fegetround.c: Likewise.
6329 * math/feholdexcpt.c: Likewise.
6330 * math/fesetenv.c: Likewise.
6331 * math/fesetround.c: Likewise.
6332 * math/feupdateenv.c: Likewise.
6333 * math/fgetexcptflg.c: Likewise.
6334 * math/fraiseexcpt.c: Likewise.
6335 * math/fsetexcptflg.c: Likewise.
6336 * math/ftestexcept.c: Likewise.
6337 * math/k_cosl.c: Likewise.
6338 * math/k_rem_pio2l.c: Likewise.
6339 * math/k_sinl.c: Likewise.
6340 * math/k_tanl.c: Likewise.
6341 * math/s_asinhl.c: Likewise.
6342 * math/s_atanl.c: Likewise.
6343 * math/s_cbrtl.c: Likewise.
6344 * math/s_erfl.c: Likewise.
6345 * math/s_expm1l.c: Likewise.
6346 * math/s_log1pl.c: Likewise.
6347 * math/s_tanhl.c: Likewise.
6348 * misc/acct.c: Likewise.
6349 * misc/brk.c: Likewise.
6350 * misc/chflags.c: Likewise.
6351 * misc/chroot.c: Likewise.
6352 * misc/fchflags.c: Likewise.
6353 * misc/fgetxattr.c: Likewise.
6354 * misc/flistxattr.c: Likewise.
6355 * misc/fremovexattr.c: Likewise.
6356 * misc/fsetxattr.c: Likewise.
6357 * misc/fsync.c: Likewise.
6358 * misc/ftruncate.c: Likewise.
6359 * misc/futimes.c: Likewise.
6360 * misc/futimesat.c: Likewise.
6361 * misc/getdomain.c: Likewise.
6362 * misc/getdtsz.c: Likewise.
6363 * misc/gethostid.c: Likewise.
6364 * misc/gethostname.c: Likewise.
6365 * misc/getloadavg.c: Likewise.
6366 * misc/getpagesize.c: Likewise.
6367 * misc/getsysstats.c: Likewise.
6368 * misc/getxattr.c: Likewise.
6369 * misc/gtty.c: Likewise.
6370 * misc/ioctl.c: Likewise.
6371 * misc/lgetxattr.c: Likewise.
6372 * misc/listxattr.c: Likewise.
6373 * misc/llistxattr.c: Likewise.
6374 * misc/lremovexattr.c: Likewise.
6375 * misc/lsetxattr.c: Likewise.
6376 * misc/lutimes.c: Likewise.
6377 * misc/madvise.c: Likewise.
6378 * misc/mincore.c: Likewise.
6379 * misc/mlock.c: Likewise.
6380 * misc/mlockall.c: Likewise.
6381 * misc/mmap.c: Likewise.
6382 * misc/mprotect.c: Likewise.
6383 * misc/msync.c: Likewise.
6384 * misc/munlock.c: Likewise.
6385 * misc/munlockall.c: Likewise.
6386 * misc/munmap.c: Likewise.
6387 * misc/preadv.c: Likewise.
6388 * misc/preadv64.c: Likewise.
6389 * misc/ptrace.c: Likewise.
6390 * misc/pwritev.c: Likewise.
6391 * misc/pwritev64.c: Likewise.
6392 * misc/readv.c: Likewise.
6393 * misc/reboot.c: Likewise.
6394 * misc/remap_file_pages.c: Likewise.
6395 * misc/removexattr.c: Likewise.
6396 * misc/revoke.c: Likewise.
6397 * misc/select.c: Likewise.
6398 * misc/setdomain.c: Likewise.
6399 * misc/setegid.c: Likewise.
6400 * misc/seteuid.c: Likewise.
6401 * misc/sethostid.c: Likewise.
6402 * misc/sethostname.c: Likewise.
6403 * misc/setregid.c: Likewise.
6404 * misc/setreuid.c: Likewise.
6405 * misc/setxattr.c: Likewise.
6406 * misc/sstk.c: Likewise.
6407 * misc/stty.c: Likewise.
6408 * misc/swapoff.c: Likewise.
6409 * misc/swapon.c: Likewise.
6410 * misc/sync.c: Likewise.
6411 * misc/syncfs.c: Likewise.
6412 * misc/syscall.c: Likewise.
6413 * misc/truncate.c: Likewise.
6414 * misc/ualarm.c: Likewise.
6415 * misc/usleep.c: Likewise.
6416 * misc/ustat.c: Likewise.
6417 * misc/utimes.c: Likewise.
6418 * misc/vhangup.c: Likewise.
6419 * misc/writev.c: Likewise.
6420 * posix/_exit.c: Likewise.
6421 * posix/alarm.c: Likewise.
6422 * posix/execve.c: Likewise.
6423 * posix/fexecve.c: Likewise.
6424 * posix/fork.c: Likewise.
6425 * posix/fpathconf.c: Likewise.
6426 * posix/getaddrinfo.c: Likewise.
6427 * posix/getegid.c: Likewise.
6428 * posix/geteuid.c: Likewise.
6429 * posix/getgid.c: Likewise.
6430 * posix/getgroups.c: Likewise.
6431 * posix/getlogin.c: Likewise.
6432 * posix/getlogin_r.c: Likewise.
6433 * posix/getpgid.c: Likewise.
6434 * posix/getpid.c: Likewise.
6435 * posix/getppid.c: Likewise.
6436 * posix/getresgid.c: Likewise.
6437 * posix/getresuid.c: Likewise.
6438 * posix/getsid.c: Likewise.
6439 * posix/getuid.c: Likewise.
6440 * posix/glob64.c: Likewise.
6441 * posix/nanosleep.c: Likewise.
6442 * posix/pathconf.c: Likewise.
6443 * posix/pause.c: Likewise.
6444 * posix/posix_madvise.c: Likewise.
6445 * posix/pread.c: Likewise.
6446 * posix/pread64.c: Likewise.
6447 * posix/pwrite.c: Likewise.
6448 * posix/pwrite64.c: Likewise.
6449 * posix/sched_getaffinity.c: Likewise.
6450 * posix/sched_getp.c: Likewise.
6451 * posix/sched_gets.c: Likewise.
6452 * posix/sched_primax.c: Likewise.
6453 * posix/sched_primin.c: Likewise.
6454 * posix/sched_rr_gi.c: Likewise.
6455 * posix/sched_setaffinity.c: Likewise.
6456 * posix/sched_setp.c: Likewise.
6457 * posix/sched_sets.c: Likewise.
6458 * posix/sched_yield.c: Likewise.
6459 * posix/setgid.c: Likewise.
6460 * posix/setlogin.c: Likewise.
6461 * posix/setpgid.c: Likewise.
6462 * posix/setresgid.c: Likewise.
6463 * posix/setresuid.c: Likewise.
6464 * posix/setsid.c: Likewise.
6465 * posix/setuid.c: Likewise.
6466 * posix/sleep.c: Likewise.
6467 * posix/spawni.c: Likewise.
6468 * posix/sysconf.c: Likewise.
6469 * posix/times.c: Likewise.
6470 * posix/wait.c: Likewise.
6471 * posix/wait3.c: Likewise.
6472 * posix/wait4.c: Likewise.
6473 * posix/waitpid.c: Likewise.
6474 * resolv/gai_sigqueue.c: Likewise.
6475 * resource/getpriority.c: Likewise.
6476 * resource/getrlimit.c: Likewise.
6477 * resource/getrusage.c: Likewise.
6478 * resource/nice.c: Likewise.
6479 * resource/setpriority.c: Likewise.
6480 * resource/setrlimit.c: Likewise.
6481 * resource/ulimit.c: Likewise.
6482 * rt/aio_cancel.c: Likewise.
6483 * rt/aio_fsync.c: Likewise.
6484 * rt/aio_read.c: Likewise.
6485 * rt/aio_sigqueue.c: Likewise.
6486 * rt/aio_suspend.c: Likewise.
6487 * rt/aio_write.c: Likewise.
6488 * rt/clock_getres.c: Likewise.
6489 * rt/clock_gettime.c: Likewise.
6490 * rt/clock_nanosleep.c: Likewise.
6491 * rt/clock_settime.c: Likewise.
6492 * rt/lio_listio.c: Likewise.
6493 * rt/mq_close.c: Likewise.
6494 * rt/mq_getattr.c: Likewise.
6495 * rt/mq_notify.c: Likewise.
6496 * rt/mq_open.c: Likewise.
6497 * rt/mq_receive.c: Likewise.
6498 * rt/mq_send.c: Likewise.
6499 * rt/mq_setattr.c: Likewise.
6500 * rt/mq_timedreceive.c: Likewise.
6501 * rt/mq_timedsend.c: Likewise.
6502 * rt/mq_unlink.c: Likewise.
6503 * rt/shm_open.c: Likewise.
6504 * rt/shm_unlink.c: Likewise.
6505 * rt/timer_create.c: Likewise.
6506 * rt/timer_delete.c: Likewise.
6507 * rt/timer_getoverr.c: Likewise.
6508 * rt/timer_gettime.c: Likewise.
6509 * rt/timer_settime.c: Likewise.
6510 * setjmp/__longjmp.c: Likewise.
6511 * setjmp/setjmp.c: Likewise.
6512 * signal/kill.c: Likewise.
6513 * signal/killpg.c: Likewise.
6514 * signal/raise.c: Likewise.
6515 * signal/sigaction.c: Likewise.
6516 * signal/sigaltstack.c: Likewise.
6517 * signal/sigblock.c: Likewise.
6518 * signal/sigignore.c: Likewise.
6519 * signal/sigintr.c: Likewise.
6520 * signal/signal.c: Likewise.
6521 * signal/sigpause.c: Likewise.
6522 * signal/sigpending.c: Likewise.
6523 * signal/sigqueue.c: Likewise.
6524 * signal/sigreturn.c: Likewise.
6525 * signal/sigset.c: Likewise.
6526 * signal/sigsetmask.c: Likewise.
6527 * signal/sigstack.c: Likewise.
6528 * signal/sigsuspend.c: Likewise.
6529 * signal/sigtimedwait.c: Likewise.
6530 * signal/sigvec.c: Likewise.
6531 * signal/sigwait.c: Likewise.
6532 * signal/sigwaitinfo.c: Likewise.
6533 * signal/sysv_signal.c: Likewise.
6534 * socket/accept.c: Likewise.
6535 * socket/accept4.c: Likewise.
6536 * socket/bind.c: Likewise.
6537 * socket/connect.c: Likewise.
6538 * socket/getpeername.c: Likewise.
6539 * socket/getsockname.c: Likewise.
6540 * socket/getsockopt.c: Likewise.
6541 * socket/isfdtype.c: Likewise.
6542 * socket/listen.c: Likewise.
6543 * socket/recv.c: Likewise.
6544 * socket/recvfrom.c: Likewise.
6545 * socket/recvmsg.c: Likewise.
6546 * socket/send.c: Likewise.
6547 * socket/sendmsg.c: Likewise.
6548 * socket/sendto.c: Likewise.
6549 * socket/setsockopt.c: Likewise.
6550 * socket/shutdown.c: Likewise.
6551 * socket/sockatmark.c: Likewise.
6552 * socket/socket.c: Likewise.
6553 * socket/socketpair.c: Likewise.
6554 * stdio-common/ctermid.c: Likewise.
6555 * stdio-common/cuserid.c: Likewise.
6556 * stdio-common/remove.c: Likewise.
6557 * stdio-common/rename.c: Likewise.
6558 * stdio-common/renameat.c: Likewise.
6559 * stdio-common/tempname.c: Likewise.
6560 * stdlib/getcontext.c: Likewise.
6561 * stdlib/makecontext.c: Likewise.
6562 * stdlib/setcontext.c: Likewise.
6563 * stdlib/swapcontext.c: Likewise.
6564 * stdlib/system.c: Likewise.
6565 * streams/fattach.c: Likewise.
6566 * streams/fdetach.c: Likewise.
6567 * streams/getmsg.c: Likewise.
6568 * streams/getpmsg.c: Likewise.
6569 * streams/putmsg.c: Likewise.
6570 * streams/putpmsg.c: Likewise.
6571 * sysdeps/unix/bsd/getpt.c: Likewise.
6572 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
6573 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
6574 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
6576 Likewise.
6577 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
6578 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
6579 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
6580 * sysvipc/msgctl.c: Likewise.
6581 * sysvipc/msgget.c: Likewise.
6582 * sysvipc/msgrcv.c: Likewise.
6583 * sysvipc/msgsnd.c: Likewise.
6584 * sysvipc/semctl.c: Likewise.
6585 * sysvipc/semget.c: Likewise.
6586 * sysvipc/semop.c: Likewise.
6587 * sysvipc/semtimedop.c: Likewise.
6588 * sysvipc/shmat.c: Likewise.
6589 * sysvipc/shmctl.c: Likewise.
6590 * sysvipc/shmdt.c: Likewise.
6591 * sysvipc/shmget.c: Likewise.
6592 * termios/tcdrain.c: Likewise.
6593 * termios/tcflow.c: Likewise.
6594 * termios/tcflush.c: Likewise.
6595 * termios/tcgetattr.c: Likewise.
6596 * termios/tcgetpgrp.c: Likewise.
6597 * termios/tcsendbrk.c: Likewise.
6598 * termios/tcsetattr.c: Likewise.
6599 * termios/tcsetpgrp.c: Likewise.
6600 * time/adjtime.c: Likewise.
6601 * time/clock.c: Likewise.
6602 * time/getitimer.c: Likewise.
6603 * time/gettimeofday.c: Likewise.
6604 * time/setitimer.c: Likewise.
6605 * time/settimeofday.c: Likewise.
6606 * time/stime.c: Likewise.
6607 * time/time.c: Likewise.
6608
66092012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 6610
a20492cf
PT
6611 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
6612 /usr/old/bin.
6613
72e182e3
PT
6614 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
6615 instead of spaces.
6616 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
6617
fbeafede
JM
66182012-11-03 Joseph Myers <joseph@codesourcery.com>
6619
5b5b04d6
JM
6620 [BZ #14796]
6621 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
6622 FE_TONEAREST before applying Dekker multiplication and Knuth
6623 addition. Clear inexact exceptions and check for exact zero
6624 results afterwards.
6625 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6626 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6627 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6628 * math/libm-test.inc (fma_test): Add more tests.
6629 (fma_test_towardzero): Likewise.
6630 (fma_test_downward): Likewise.
6631 (fma_test_upward): Likewise.
6632 * sysdeps/generic/math_private.h (default_libc_fesetround): New
6633 function.
6634 (libc_fesetround): New macro.
6635 (libc_fesetroundf): Likewise.
6636 (libc_fesetroundl): Likewise.
6637 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
6638 function.
6639 (libc_fesetround_387): Likewise.
6640 (libc_fesetroundf): New macro.
6641 (libc_fesetround): Likewise.
6642 (libc_fesetroundl): Likewise.
6643 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
6644 function.
6645 (libc_fesetroundf): New macro.
6646 (libc_fesetround): Likewise.
6647 (libc_fesetroundl): Likewise.
6648 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
6649 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
6650 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
6651 libm_hidden_ver.
6652 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
6653 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
6654 libm_hidden_def.
6655 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
6656 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
6657 libm_hidden_ver.
6658 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
6659 libm_hidden_def.
6660
fbeafede
JM
6661 [BZ #3439]
6662 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
6663 integer constant usable in #if and use that to give value to enum
6664 constant.
6665 (FE_DIVBYZERO): Likewise.
6666 (FE_UNDERFLOW): Likewise.
6667 (FE_OVERFLOW): Likewise.
6668 (FE_INVALID): Likewise.
6669 (FE_INVALID_SNAN): Likewise.
6670 (FE_INVALID_ISI): Likewise.
6671 (FE_INVALID_IDI): Likewise.
6672 (FE_INVALID_ZDZ): Likewise.
6673 (FE_INVALID_IMZ): Likewise.
6674 (FE_INVALID_COMPARE): Likewise.
6675 (FE_INVALID_SOFTWARE): Likewise.
6676 (FE_INVALID_SQRT): Likewise.
6677 (FE_INVALID_INTEGER_CONVERSION): Likewise.
6678 (FE_TONEAREST): Likewise.
6679 (FE_TOWARDZERO): Likewise.
6680 (FE_UPWARD): Likewise.
6681 (FE_DOWNWARD): Likewise.
6682 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
6683 (FE_DIVBYZERO): Likewise.
6684 (FE_OVERFLOW): Likewise.
6685 (FE_UNDERFLOW): Likewise.
6686 (FE_INEXACT): Likewise.
6687 (FE_TONEAREST): Likewise.
6688 (FE_DOWNWARD): Likewise.
6689 (FE_UPWARD): Likewise.
6690 (FE_TOWARDZERO): Likewise.
6691 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
6692 (FE_UNDERFLOW): Likewise.
6693 (FE_OVERFLOW): Likewise.
6694 (FE_DIVBYZERO): Likewise.
6695 (FE_INVALID): Likewise.
6696 (FE_TONEAREST): Likewise.
6697 (FE_TOWARDZERO): Likewise.
6698 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
6699 (FE_OVERFLOW): Likewise.
6700 (FE_UNDERFLOW): Likewise.
6701 (FE_DIVBYZERO): Likewise.
6702 (FE_INEXACT): Likewise.
6703 (FE_TONEAREST): Likewise.
6704 (FE_TOWARDZERO): Likewise.
6705 (FE_UPWARD): Likewise.
6706 (FE_DOWNWARD): Likewise.
6707 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
6708 (FE_DIVBYZERO): Likewise.
6709 (FE_OVERFLOW): Likewise.
6710 (FE_UNDERFLOW): Likewise.
6711 (FE_INEXACT): Likewise.
6712 (FE_TONEAREST): Likewise.
6713 (FE_DOWNWARD): Likewise.
6714 (FE_UPWARD): Likewise.
6715 (FE_TOWARDZERO): Likewise.
6716
105ca950
CM
67172012-11-02 Chris Metcalf <cmetcalf@tilera.com>
6718
6719 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
6720
a542b389
AS
67212012-11-03 Andreas Schwab <schwab@linux-m68k.org>
6722
6723 * scripts/cross-test-ssh.sh (command): Use newlines to separate
6724 commands. Quote $PWD.
6725 (blacklist_exports): Don't use remove_newlines. Replace "declare
6726 -x" by "export".
6727 (remove_newlines): Remove.
6728
f62c8abc
L
67292012-11-02 H.J. Lu <hongjiu.lu@intel.com>
6730
6731 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
6732 * stdlib/stdlib.h (atof): Moved to ...
6733 * include/bits/stdlib-float.h: Here. New file.
6734 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
6735 * stdlib/bits/stdlib-float.h: New file.
6736 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
6737 -mno-sse -mno-mmx.
6738 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
6739 <xmmintrin.h>.
6740
0155d5b2
JM
67412012-11-02 Joseph Myers <joseph@codesourcery.com>
6742
a68d0680
JM
6743 * conform/conformtest.pl (@headers): Add fenv.h.
6744 * conform/data/fenv.h-data: New file.
6745 * include/fenv.h [_ISOMAC]: Disable all contents of file except
6746 include of <math/fenv.h>.
6747
caf7f573
JM
6748 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
6749 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
6750 && !UNIX98]. Enables tests for XOPEN2K8.
6751 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
6752 POSIX2008]: Likewise.
6753
6c073ad6
JM
6754 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
6755 (struct rusage): Do not expect type or its members.
6756
0155d5b2
JM
6757 [BZ #3439]
6758 * math/math.h (FP_NAN): Define macro to integer constant usable in
6759 #if and use that to give value to enum constant.
6760 (FP_INFINITE): Likewise.
6761 (FP_ZERO): Likewise.
6762 (FP_SUBNORMAL): Likewise.
6763 (FP_NORMAL): Likewise.
6764
b5dcacb4
AS
67652012-11-02 Andreas Schwab <schwab@linux-m68k.org>
6766
6767 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
6768 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
6769 arguments.
6770
f7934be8
RM
67712012-11-02 Roland McGrath <roland@hack.frob.com>
6772
6773 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
6774 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
6775 autoconf-time if not.
6776 * configure.in: Remove AC_PREREQ.
6777
d7d08bde
TMQMF
67782012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6779
6780 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
6781 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
6782 of the internal implementation.
6783
dcdae19a
JM
67842012-11-02 Joseph Myers <joseph@codesourcery.com>
6785
6786 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
6787 except include of <misc/sys/syslog.h>.
6788
d6cffd3e
AS
67892012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6790
6791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
6792 function returns with a NULL context exit with zero.
6793
b3563932
TMQMF
67942012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6795
6796 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
6797
b288a93d
L
67982012-11-01 H.J. Lu <hongjiu.lu@intel.com>
6799
6800 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
6801 (run_program_cmd): This.
6802 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
6803 (tst_langinfo): New variable. Use it.
6804
a2421a68
SAS
68052012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
6806
6807 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
6808 floating point opcodes.
6809
6f796e1b
TS
68102012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6811
7402596b
TS
6812 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
6813 variable.
6814
d0d4f868
TS
6815 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
6816
6f796e1b
TS
6817 * sysdeps/mach/hurd/powerpc: Remove directory.
6818 * sysdeps/mach/powerpc: Likewise.
6819
4da224a2
AS
68202012-11-01 Andreas Schwab <schwab@linux-m68k.org>
6821
6822 * scripts/check-local-headers.sh: Ignore c++ headers.
6823
341dd673
TS
68242012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6825
6826 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
6827 __libc_cleanup_region_start argument.
6828
473611b2
JM
68292012-11-01 Joseph Myers <joseph@codesourcery.com>
6830
6831 [BZ #14784]
6832 [BZ #14785]
6833 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
6834 x * y using scaling, not as x * y + z.
6835 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6836 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6837 * math/libm-test.inc (fma_test): Add more tests.
6838 (fma_test_towardzero): Likewise.
6839 (fma_test_downward): Likewise.
6840 (fma_test_upward): Likewise.
6841
4078da3d
TS
68422012-11-01 Thomas Schwinge <thomas@codesourcery.com>
6843
6844 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
6845
903252aa
JM
68462012-10-31 Joseph Myers <joseph@codesourcery.com>
6847
6848 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
6849 New variable.
6850
cbc818d0
TS
68512012-10-31 Thomas Schwinge <thomas@codesourcery.com>
6852
6853 * rt/tst-shm.c (worker): Correct checking for mmap failure.
6854
5a03cb1e
AS
68552012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6856
6857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6858 Fix sort order.
6859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6860 Likewise.
6861
90aff2ff
TMQMF
68622012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6863
6864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6865 Fix the order of the list for glibc 2.17.
6866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6867 Likewise.
6868
1818fcb7
AS
68692012-10-31 Andreas Schwab <schwab@linux-m68k.org>
6870
6871 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6872
ef82f4da
JM
68732012-10-31 Joseph Myers <joseph@codesourcery.com>
6874
16a0e2ec
JM
6875 [BZ #14610]
6876 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
6877 for low part of x being zero before using __atanl (y).
6878 * math/libm-test.inc (atan2_test): Add another test.
6879
0eb69512
JM
6880 * manual/install.texi (Configuring and compiling): Document
6881 general use of test-wrapper and test-wrapper-env.
6882 * INSTALL: Regenerated.
6883
ef82f4da
JM
6884 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
6885 (__fma): Do not extract and scale down low bits on after-rounding
6886 systems when result rounded to normal precision would have normal
6887 exponent.
6888 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
6889 (__fmal): Do not extract and scale down low bits on after-rounding
6890 systems when result rounded to normal precision would have normal
6891 exponent.
6892 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
6893 (__fmal): Do not extract and scale down low bits on after-rounding
6894 systems when result rounded to normal precision would have normal
6895 exponent.
6896 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
6897 macro.
6898 (fma_test): Add more tests.
6899 (fma_test_towardzero): Likewise.
6900 (fma_test_downward): Likewise.
6901 (fma_test_upward): Likewise.
6902
954ef0d9
L
69032012-10-30 H.J. Lu <hongjiu.lu@intel.com>
6904
6905 * sysdeps/i386/tininess.h: Renamed to ...
6906 * sysdeps/x86/tininess.h: This.
6907 * sysdeps/x86_64/tininess.h: Removed.
6908
df61ffb2
JM
69092012-10-30 Joseph Myers <joseph@codesourcery.com>
6910
6911 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
6912 input. Use $(build-program-cmd).
6913 ($(objpfx)tst-array1-static.out): Likewise.
6914 ($(objpfx)tst-array2.out): Likewise.
6915 ($(objpfx)tst-array3.out): Likewise.
6916 ($(objpfx)tst-array4.out): Likewise.
6917 ($(objpfx)tst-array5.out): Likewise.
6918 ($(objpfx)tst-array5-static.out): Likewise.
6919
01767843
CM
69202012-10-30 Chris Metcalf <cmetcalf@tilera.com>
6921
47cc1490
CM
6922 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
6923 if defined.
6924
01767843
CM
6925 * nss/nsswitch.h (nss_interface_function): Provide new
6926 macro for use with NSS functions.
6927 * grp/initgroups.c: Use new macro.
6928 * nss/getXXbyYY.c: Likewise.
6929 * nss/getXXbyYY_r.c: Likewise.
6930 * nss/getXXent.c: Likewise.
6931 * nss/getXXent_r.c: Likewise.
6932 * sysdeps/posix/getaddrinfo.c: Likewise.
6933
8321aa97
AJ
69342012-10-30 Andreas Jaeger <aj@suse.de>
6935
6936 * po/ru.po: Update Russion translation from translation project.
6937
2a27fd6d
JM
69382012-10-30 Joseph Myers <joseph@codesourcery.com>
6939
8627a232
JM
6940 [BZ #14152]
6941 [BZ #14783]
6942 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
6943 result and shift together with sticky bit instead of replicating
6944 round-to-nearest rounding.
6945 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6946 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6947 * math/libm-test.inc (fma_test): Add more tests. Do not permit
6948 missing underflow exceptions.
6949 (fma_test_towardzero): Add more tests.
6950 (fma_test_downward): Likewise.
6951 (fma_test_upward): Likewise.
6952
2a27fd6d
JM
6953 [BZ #14047]
6954 * sysdeps/generic/tininess.h: New file.
6955 * sysdeps/i386/tininess.h: Likewise.
6956 * sysdeps/sh/tininess.h: Likewise.
6957 * sysdeps/x86_64/tininess.h: Likewise.
6958 * stdlib/tst-strtod-underflow.c: Likewise.
6959 * stdlib/tst-tininess.c: Likewise.
6960 * stdlib/strtod_l.c: Include <tininess.h>.
6961 (round_and_return): Do not set errno for exact underflow cases.
6962 Force an underflow exception when setting errno for underflow.
6963 Determine underflow based on rounding to normal precision if
6964 TININESS_AFTER_ROUNDING.
6965 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
6966 ERANGE for exact underflow cases.
6967 * stdlib/Makefile (tests): Add tst-tininess and
6968 tst-strtod-underflow.
6969 ($(objpfx)tst-tininess): Use $(link-libm).
6970 ($(objpfx)tst-strtod-underflow): Likewise.
6971
e7170363
AJ
69722012-10-30 Andreas Jaeger <aj@suse.de>
6973
e5088dc6
AJ
6974 [BZ#14767]
6975 * elf/Makefile (tests): Remove conditional for have-initfini-array
6976 since this is now always required and the variable does not exist
6977 anymore.
6978 (tests-static): Likewise.
6979 (modules-names): Likewise.
6980
e7170363 6981 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
6982
6983 * elf/tst-array1.c (fini_array): Make writeable so that it can be
6984 merged with constructor/destructor.
6985 (init_array): Likewise.
6986 * elf/tst-array2dep.c (fini_array): Likewise.
6987 (init_array): Likewise.
6988
60457d8a
MF
69892012-10-29 Mike Frysinger <vapier@gentoo.org>
6990
6991 * manual/message.texi: Delete @cartouche tags.
6992
8bece752
PT
69932012-10-29 Pino Toscano <toscano.pino@tiscali.it>
6994
94ce799f
PT
6995 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
6996 EOPNOTSUPP.
6997 * sysdeps/mach/hurd/fsync.c: Likewise.
6998
8bece752
PT
6999 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
7000 [_POSIX_REALTIME_SIGNALS]: Change condition to
7001 [_POSIX_REALTIME_SIGNALS > 0].
7002
86ebe6b1
AJ
70032012-10-27 Andreas Jaeger <aj@suse.de>
7004
7005 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
7006 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
7007 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
7008 [__WORDSIZE != 64]: Likewise.
7009
54399c08
L
70102012-10-26 H.J. Lu <hongjiu.lu@intel.com>
7011
7012 * iconvdata/tst-table.sh: Remove ${SHELL}.
7013 * iconvdata/tst-tables.sh: Likewise.
7014
e2211bed
DM
70152012-10-25 David S. Miller <davem@davemloft.net>
7016
7017 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7018 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
7019 of strtoull.
7020
f303f97c
DM
7021 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
7022 ifunc-impl-list.c
7023 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7024 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
7025 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
7026 file.
7027
1e9d84cd
RM
70282012-10-25 Roland McGrath <roland@hack.frob.com>
7029
7030 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7031 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
7032 __getdirentries.
7033
df381762
JM
70342012-10-25 Joseph Myers <joseph@codesourcery.com>
7035 Jim Blandy <jimb@codesourcery.com>
7036
7037 * scripts/cross-test-ssh.sh: New file.
7038 * manual/install.texi (Configuring and compiling): Document use of
7039 cross-test-ssh.sh.
7040 * INSTALL: Regenerated.
7041
bff64913
PT
70422012-10-25 Pino Toscano <toscano.pino@tiscali.it>
7043
7044 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
7045 EOPNOTSUPP.
7046
25fe8932
JM
70472012-10-25 Joseph Myers <joseph@codesourcery.com>
7048
7049 * Makeconfig (run-program-prefix): Fix comment.
7050
cc1290d0
JM
70512012-10-24 Joseph Myers <joseph@codesourcery.com>
7052 Jim Blandy <jimb@codesourcery.com>
7053
7054 * Makeconfig (test-wrapper): New variable,
7055 (test-wrapper-env): Likewise.
7056 [$(cross-compiling) = yes && $(test-wrapper) != ""]
7057 (run-built-tests): Define to yes.
7058 (run-program-prefix): Use $(test-wrapper).
7059 (built-program-cmd): Likewise.
7060 * Rules (make-test-out): Use $(test-wrapper-env) and
7061 $(host-built-program-cmd).
7062 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
7063 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
7064 tst-pathopt.sh.
7065 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
7066 $(test-wrapper-env) to tst-rtld-load-self.sh.
7067 ($(objpfx)order2.out): Use $(test-wrapper).
7068 ($(objpfx)tst-initorder.out): Likewise.
7069 ($(objpfx)tst-initorder2.out): Likewise.
7070 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
7071 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
7072 (test_wrapper_env): New variable. Use it to run ld.so.
7073 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
7074 Use it to run ld.so.
7075 (test_wrapper_env): Likewise.
7076 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
7077 $(test-wrapper) to run-iconv-test.sh.
7078 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
7079 (ICONV): Use $test_wrapper.
7080 * posix/Makefile ($(objpfx)globtest.out): Pass
7081 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
7082 globtest.sh, not $(run-program-prefix).
7083 * posix/globtest.sh (run_via_rtld_prefix): New variable.
7084 (test_wrapper): Likewise.
7085 (test_wrapper_env): Likewise. Use it to run globtest with HOME
7086 set together with run_via_rtld_prefix.
7087 (run_program_prefix): Define in terms of test_wrapper and
7088 run_via_rtld_prefix.
7089
6e6249d0
RM
70902012-10-24 Roland McGrath <roland@hack.frob.com>
7091
7092 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
7093 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
7094 Targets removed.
7095
7096 [BZ #14743]
7097 * include/time.h: Remove librt_hidden_proto (clock_gettime).
7098 Declare __clock_getres, __clock_gettime, __clock_settime,
7099 __clock_nanosleep, and __clock_getcpuclockid.
7100 * rt/clock_gettime.c: Define __clock_gettime as an alias.
7101 Remove librt_hidden_def (clock_gettime).
7102 * sysdeps/unix/clock_gettime.c: Likewise.
7103 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
7104 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7105 * rt/clock_getres.c: Define __clock_getres as an alias.
7106 * sysdeps/posix/clock_getres.c: Likewise.
7107 * rt/clock_settime.c: Define __clock_settime as an alias.
7108 * sysdeps/unix/clock_settime.c: Likewise.
7109 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
7110 * sysdeps/unix/clock_nanosleep.c: Likewise.
7111 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7112 * rt/clock-compat.c: New file.
7113 * rt/Makefile (librt-routines): Add clock-compat and move
7114 $(clock-routines) to ...
7115 (routines): ... here, new variable.
7116 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
7117 Don't add get_clockfreq here.
7118 * rt/Versions (libc: GLIBC_2.17): New version set.
7119 Add clock_* symbols here.
7120 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
7121 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
7122 (GLIBC_2.17): Add clock_* symbols.
7123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
7124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
7125 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
7126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7127 Likewise.
7128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7129 Likewise.
7130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
7131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
7132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
7133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
7134 * NEWS: Mention the move.
7135
7136 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7137 Use __open, __read, __close rather than their public counterparts.
7138 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
7139 (__get_clockfreq_via_cpuinfo): Likewise.
7140 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
7141 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
7142
7143 * config.h.in (HAVE_IFUNC): New #undef.
7144 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
7145 was successful.
7146 * configure: Regenerated.
7147
0cae3f4b
MF
71482012-10-24 Mike Frysinger <vapier@gentoo.org>
7149
7150 * configure.in: Move READELF check to start of file.
7151 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
7152 libc_cv_asm_gnu_indirect_function in the process.
7153 * configure: Regenerated.
7154
8175a253
MF
71552012-10-24 Mike Frysinger <vapier@gentoo.org>
7156
7157 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
7158 send the output to /dev/null.
7159 (libc_cv_cc_with_libunwind): Likewise.
7160 (libc_cv_as_noexecstack): Likewise.
7161 * configure: Regenerate.
7162
0708a7d1
JM
71632012-10-24 Joseph Myers <joseph@codesourcery.com>
7164
10b40d85
JM
7165 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
7166
0708a7d1
JM
7167 * posix/globtest.sh (TMPDIR): Do not set.
7168 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
7169 (testout): Likewise.
7170
9fddec1a
AJ
71712012-10-24 Andreas Jaeger <aj@suse.de>
7172
3a8db22f
AJ
7173 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
7174 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
7175 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
7176 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
7177 posix_fadvise64, posix_fallocate64.
7178
9fddec1a
AJ
7179 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
7180 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
7181 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
7182 Likewise.
7183 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
7184 Likewise.
7185 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
7186
7187 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
7188 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
7189 <bits/fcntl-linux.h>.
7190 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
7191
7192 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
7193 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
7194 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
7195 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
7196 [__WORDSIZE != 64]: Likewise.
7197
ebfd1bbd
JM
71982012-10-23 Joseph Myers <joseph@codesourcery.com>
7199
03ac099f
JM
7200 * Makeconfig (run-built-tests): New variable.
7201 * Rules [$(cross-compiling) = yes]: Change condition to
7202 [$(run-built-tests) = no].
7203 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
7204 to [$(run-built-tests) = yes].
7205 * elf/Makefile [$(cross-compiling) = no]: Likewise
7206 * grp/Makefile [$(cross-compiling) = no]: Likewise.
7207 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
7208 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
7209 * intl/Makefile [$(cross-compiling) = no]: Likewise.
7210 * io/Makefile [$(cross-compiling) = no]: Likewise.
7211 * libio/Makefile [$(cross-compiling) = no]: Likewise.
7212 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
7213 * misc/Makefile [$(cross-compiling) = no]: Likewise.
7214 * posix/Makefile [$(cross-compiling) = no]: Likewise.
7215 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
7216 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
7217 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
7218 * string/Makefile [$(cross-compiling) = no]: Likewise.
7219
ebfd1bbd
JM
7220 * posix/Makefile ($(objpfx)globtest.out): Pass
7221 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
7222 $(rtld-installed-name).
7223 * posix/globtest.sh (elf_objpfx): Remove variable.
7224 (rtld_installed_name): Likewise.
7225 (library_path): Likewise.
7226 (run_program_prefix): New variable. Use for running globtest
7227 binary.
7228
166bca24
JB
72292012-10-23 Jim Blandy <jimb@codesourcery.com>
7230 Joseph Myers <joseph@codesourcery.com>
7231
7232 * Makeconfig (host-built-program-cmd): New variable.
7233 * elf/Makefile (tst-stackguard1-ARGS): Use
7234 $(host-built-program-cmd).
7235 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
7236 (tst-spawn-ARGS): Likewise.
7237 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
7238
88866099
JM
72392012-10-23 Joseph Myers <joseph@codesourcery.com>
7240 Jim Blandy <jimb@codesourcery.com>
7241
7242 * Makeconfig (run-via-rtld-prefix): New variable.
7243 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
7244 (built-program-cmd): Likewise.
7245
b4b4c296
AJ
72462012-10-22 Andreas Jaeger <aj@suse.de>
7247
7248 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
7249 __O_RSYNC if it exists, otherwise to O_SYNC.
7250
6fb54a22
JB
72512012-10-22 Jim Blandy <jimb@codesourcery.com>
7252 Joseph Myers <joseph@codesourcery.com>
7253
7254 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
7255 /dev/null.
7256 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
7257 from /dev/null
7258 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
7259 /dev/null.
7260
481b90b9
AJ
72612012-10-22 Andreas Jaeger <aj@suse.de>
7262
2a0e2669
AJ
7263 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
7264 Define always.
7265 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
7266
76e38f9a
AJ
7267 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7268 bits/fcntl-linux.h.
7269
7cd37b43
AJ
7270 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
7271 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
7272
481b90b9
AJ
7273 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
7274 to __O_LARGEFILE.
7275 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
7276 to __O_LARGEFILE.
7277
aba75984
JB
72782012-10-21 Jim Blandy <jimb@codesourcery.com>
7279 Joseph Myers <joseph@codesourcery.com>
7280
7281 * config.make.in (NM): New variable.
7282
88d4247f
AJ
72832012-10-21 Andreas Jaeger <aj@suse.de>
7284
7285 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
7286 definitions and declarations that are provided by
7287 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
7288
f2eed205
L
72892012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7290
7291 [BZ #14683]
7292 * elf/Makefile (tests-static): Add tst-leaks1-static.
7293 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
7294 ($(objpfx)tst-leaks1-static): New rule.
7295 ($(objpfx)tst-leaks1-static-mem): Likewise.
7296 (tst-leaks1-static-ENV): New macro.
7297 * elf/dl-open.c (dl_open_worker): Check the main application
7298 only if SHARED is defined.
7299 * elf/tst-leaks1-static.c: New file.
7300
335e6931
AJ
73012012-10-20 Andreas Jaeger <aj@suse.de>
7302
7303 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
7304 generic values for Linux.
7305 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
7306 and declarations that are provided by <bits/fcntl-linux.h> and
7307 include <bits/fcntl-linux.h>.
7308 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7309 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
7310
ac5c94d3
RM
73112012-10-20 Roland McGrath <roland@hack.frob.com>
7312
7313 * io/fcntl.h: Move include of <bits/types.h> to the top and
7314 include it unconditionally.
7315
de54b33a
L
73162012-10-20 H.J. Lu <hongjiu.lu@intel.com>
7317
228cfb01
L
7318 * wcsmbs/Makefile (tests-ifunc): New variable.
7319 (tests): Add $(tests-ifunc).
7320 * wcsmbs/test-wcschr-ifunc.c: New file.
7321 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7322 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7323 * wcsmbs/test-wcslen-ifunc.c: Likewise.
7324 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7325 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7326
69f07e5f
L
7327 * string/Makefile (tests-ifunc): New variable.
7328 (tests): Add $(tests-ifunc).
7329 * string/test-memccpy.c (TEST_NAME): New macro.
7330 * string/test-memchr.c (TEST_NAME): Likewise.
7331 * string/test-memcmp.c (TEST_NAME): Likewise.
7332 * string/test-memcpy.c (TEST_NAME): Likewise.
7333 * string/test-memmem.c (TEST_NAME): Likewise.
7334 * string/test-memmove.c (TEST_NAME): Likewise.
7335 * string/test-memset.c (TEST_NAME): Likewise.
7336 * string/test-rawmemchr.c (TEST_NAME): Likewise.
7337 * string/test-stpcpy.c (TEST_NAME): Likewise.
7338 * string/test-stpncpy.c (TEST_NAME): Likewise.
7339 * string/test-strcasecmp.c (TEST_NAME): Likewise.
7340 * string/test-strcasestr.c (TEST_NAME): Likewise.
7341 * string/test-strcat.c (TEST_NAME): Likewise.
7342 * string/test-strchr.c (TEST_NAME): Likewise.
7343 * string/test-strcmp.c(TEST_NAME): Likewise.
7344 * string/test-strcpy.c (TEST_NAME): Likewise.
7345 * string/test-strcspn.c (TEST_NAME): Likewise.
7346 * string/test-strlen.c (TEST_NAME): Likewise.
7347 * string/test-strncasecmp.c (TEST_NAME): Likewise.
7348 * string/test-strncmp.c (TEST_NAME): Likewise.
7349 * string/test-strncpy.c (TEST_NAME): Likewise.
7350 * string/test-strnlen.c (TEST_NAME): Likewise.
7351 * string/test-strpbrk.c (TEST_NAME): Likewise.
7352 * string/test-strrchr.c (TEST_NAME): Likewise.
7353 * string/test-strspn.c (TEST_NAME): Likewise.
7354 * string/test-strstr.c (TEST_NAME): Likewise.
7355 * string/test-bcopy-ifunc.c: New file.
7356 * string/test-bzero-ifunc.c: Likewise.
7357 * string/test-memccpy-ifunc.c: Likewise.
7358 * string/test-memchr-ifunc.c: Likewise.
7359 * string/test-memcmp-ifunc.c: Likewise.
7360 * string/test-memcpy-ifunc.c: Likewise.
7361 * string/test-memmem-ifunc.c: Likewise.
7362 * string/test-memmove-ifunc.c: Likewise.
7363 * string/test-mempcpy-ifunc.c: Likewise.
7364 * string/test-memset-ifunc.c: Likewise.
7365 * string/test-rawmemchr-ifunc.c: Likewise.
7366 * string/test-stpcpy-ifunc.c: Likewise.
7367 * string/test-stpncpy-ifunc.c: Likewise.
7368 * string/test-strcasecmp-ifunc.c: Likewise.
7369 * string/test-strcasestr-ifunc.c: Likewise.
7370 * string/test-strcat-ifunc.c: Likewise.
7371 * string/test-strchr-ifunc.c: Likewise.
7372 * string/test-strchrnul-ifunc.c: Likewise.
7373 * string/test-strcmp-ifunc.c: Likewise.
7374 * string/test-strcpy-ifunc.c: Likewise.
7375 * string/test-strcspn-ifunc.c: Likewise.
7376 * string/test-strlen-ifunc.c: Likewise.
7377 * string/test-strncasecmp-ifunc.c: Likewise.
7378 * string/test-strncat-ifunc.c: Likewise.
7379 * string/test-strncmp-ifunc.c: Likewise.
7380 * string/test-strncpy-ifunc.c: Likewise.
7381 * string/test-strnlen-ifunc.c: Likewise.
7382 * string/test-strpbrk-ifunc.c: Likewise.
7383 * string/test-strrchr-ifunc.c: Likewise.
7384 * string/test-strspn-ifunc.c: Likewise.
7385 * string/test-strstr-ifunc.c: Likewise.
7386
de54b33a
L
7387 * debug/Makefile (tests-ifunc): New variable.
7388 (tests): Add $(tests-ifunc).
7389 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
7390 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
7391 * debug/test-stpcpy_chk-ifunc.c: New file.
7392 * debug/test-strcpy_chk-ifunc.c: Likewise.
7393
88481c16
SP
73942012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7395
7396 [BZ #13601]
7397 * elf/dl-load.c (open_verify): Retry read if the entire ELF
7398 header is not read in.
7399
135948bd
JM
74002012-10-19 Joseph Myers <joseph@codesourcery.com>
7401
89f1c388
JM
7402 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
7403 script to $(SHELL) as $<. Pass $(common-objpfx) to script
7404 directly. Pass built executable to script as
7405 $(built-program-cmd).
7406 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
7407 $testprogram without using LD_LIBRARY_PATH and $ldso.
7408
e40a0d21
JM
7409 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
7410 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
7411 $(rtld-installed-name).
7412 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
7413 (rtld_installed_name): Likewise.
7414 (library_path): Likewise.
7415 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
7416 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
7417 $(run-program-prefix) to tst-tables.sh.
7418 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
7419 it to run tst-table-from and tst-table-to.
7420 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
7421 Pass it to tst-table.sh.
7422 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
7423 $(run-program-prefix) to tst-gettext.sh.
7424 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
7425 tst-translit.sh.
7426 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
7427 tst-gettext2.sh.
7428 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
7429 to run tst-gettext.
7430 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
7431 to run tst-gettext2.
7432 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
7433 to run tst-translit.
7434 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
7435 $(run-program-prefix) to tst-mtrace.sh.
7436 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
7437 to run tst-mtrace.
7438 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
7439 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
7440 $(rtld-installed-name).
7441 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
7442 (rtld_installed_name): Likewise.
7443 (run_program_prefix): New variable. Use it to run wordexp-test.
7444
728e272a
JM
7445 * Makeconfig (ARCH): Remove all definitions.
7446 (machine): Likewise.
7447 [ARCH]: Remove conditional code.
7448 [!objdir]: Give error.
7449 [!objdir] (objpfx): Remove.
7450 [!objdir] (common-objpfx): Likewise.
7451 [!objdir] (common-objdir): Likewise.
7452 * configure.in (config_makefile): Remove. Hardcode Makefile in
7453 AC_CONFIG_FILES call.
7454 * configure: Regenerated.
7455
d528cdcf
JM
7456 [BZ #13888]
7457 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
7458 or TMPDIR.
7459 (testout): Likewise.
7460
135948bd
JM
7461 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
7462 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
7463 $(rtld-installed-name).
7464 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
7465 (rtld_installed_name): Likwise.
7466 (runit): Remove function.
7467 (run_getconf): New variable, Use it for running getconf binary.
7468
38c78296
L
74692012-10-18 H.J. Lu <hongjiu.lu@intel.com>
7470
7471 [BZ #14716]
7472 * string/test-memmem.c (check_result): New function.
7473 (do_one_test): Use it.
7474 (check1): New function.
7475 (test_main): Use it.
7476
d077f65f
MT
74772012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
7478
7479 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
7480
ced52c71
JM
74812012-10-18 Joseph Myers <joseph@codesourcery.com>
7482
7483 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
7484 (_G_LSEEK64): Likewise.
7485 (_G_MMAP64): Likewise.
7486 (_G_FSTAT64): Likewise.
7487 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
7488 (_G_LSEEK64): Likewise.
7489 (_G_MMAP64): Likewise.
7490 (_G_FSTAT64): Likewise.
7491 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
7492 unconditional. Call __mmap64 directly.
7493 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
7494 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
7495 __lseek64 directly.
7496 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
7497 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
7498 __mmap64 directly.
7499 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
7500 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
7501 __lseek64 directly.
7502 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
7503 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
7504 __lseek64 directly.
7505 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
7506 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
7507 __lseek64 directly.
7508 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
7509 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
7510 __fxstat64 directly.
7511 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
7512 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
7513 unconditional.
7514 (freopen64) [!_G_OPEN64]: Remove conditional code.
7515 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
7516 unconditional.
7517 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
7518 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
7519 unconditional.
7520 (ftello64) [!_G_LSEEK64]: Remove conditional code.
7521 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
7522 unconditional.
7523 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7524 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
7525 unconditional.
7526 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
7527 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
7528 unconditional.
7529 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7530 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
7531 unconditional.
7532 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
7533 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
7534 unconditional.
7535 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
7536
b741de23
SP
75372012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7538
7539 [BZ #12140]
7540 * manual/memory.texi (Malloc Tunable Parameters): Add note
7541 about free list pointers overwriting some perturb bytes.
7542 Wording suggested by Roland McGrath.
7543
f9b9d9c9
JM
75442012-10-17 Joseph Myers <joseph@codesourcery.com>
7545
7546 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
7547 (lgamma_test): Likewise.
7548 (tgamma_test): Likewise.
7549
172a631a
FW
75502012-10-16 Florian Weimer <fweimer@redhat.com>
7551
7552 [BZ #14700]
7553 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
7554 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
7555
e9f37252
MK
75562012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
7557
7558 * NEWS: Mention BZ #14716.
7559 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
7560 when removing AVAILABLE1_USES_J macro.
7561
d394eb74
L
75622012-10-12 H.J. Lu <hongjiu.lu@intel.com>
7563
7564 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
7565 (__bswap_64): __uint64_t for unsigned 64-bit int.
7566
ca38dc17
AS
75672012-10-12 Andreas Schwab <schwab@linux-m68k.org>
7568
7569 * include/string.h (memmem): Declare libc hidden alias.
7570 * string/memmem.c (memmem): Define libc hidden alias.
7571 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
7572 __read, __close instead of open, read, close.
7573
9a387d1f
L
75742012-10-11 H.J. Lu <hongjiu.lu@intel.com>
7575
ac49ecaf
L
7576 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
7577 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
7578 global and hidden.
7579 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
7580 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
7581 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
7582 Likewise.
7583 (__rawmemchr_sse2): Likewise.
7584 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
7585 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
7586 (__strchr_sse2): Likewise.
7587 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
7588 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
7589 (__strcasecmp_sse2): Likewise.
7590 (__strncasecmp_sse2): Likewise.
7591 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
7592 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
7593 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
7594 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
7595 (__strrchr_sse2): Likewise.
7596 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
7597 ifunc-impl-list.c.
7598 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7599 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7600 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7601 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7602 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7603 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7604 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7605 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7606 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
7607 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
7608 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
7609 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
7610 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
7611 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7612 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7613 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7614 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7615 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7616 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
7617 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
7618 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
7619 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
7620 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
7621 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7622 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
7623 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7624 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7625 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
7626 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7627 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7628
b090e8ea
L
7629 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
7630 global and hidden.
7631 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
7632 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
7633 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
7634 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
7635 Likewise.
7636 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
7637 Likewise.
7638 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
7639 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
7640 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
7641 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
7642 ifunc-impl-list.c.
7643 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7644 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7645 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7646 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7647 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7648 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7649 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7650 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7651 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7652 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7653 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7654 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7655 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7656 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
7657 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
7658 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7659 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
7660 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
7661 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7662 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7663 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7664 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7665 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7666 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7667 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7668 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
7669 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
7670 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
7671 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
7672 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7673 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
7674 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7675 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7676 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
7677 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7678 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7679 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7680 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7681 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7682 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7683 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
7684
11dd4af6
L
7685 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
7686 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
7687 * include/ifunc-impl-list.h: New file.
7688 * misc/ifunc-impl-list.c: Likewise.
7689 * misc/Makefile (routines): Add ifunc-impl-list.
7690 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
7691 * string/test-string.h: Include <ifunc-impl-list.h>.
7692 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
7693 impl_array): New variables.
7694 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
7695 are defined.
7696 (test_init): Call __libc_ifunc_impl_list to initialize
7697 func_list if TEST_IFUNC and TEST_NAME are defined.
7698
9a387d1f
L
7699 * string/Makefile (strop-tests): Add bcopy and bzero.
7700 * string/test-bcopy.c: New file.
7701 * string/test-bzero.c: Likewise.
7702 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
7703 defined.
7704 * string/test-memset.c: Support bzero test if TEST_BZERO is
7705 defined.
7706 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
7707 __libc_memmove.
7708 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
7709 __libc_memset.
7710 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
7711 of memset.
7712
472371b9
JM
77132012-10-10 Joseph Myers <joseph@codesourcery.com>
7714
1e4a9536
JM
7715 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
7716 * configure: Regenerated.
7717
d173d12e
JM
7718 * Makeconfig (+link-static-before-libc): Don't include
7719 $(link-static-libc).
7720
472371b9
JM
7721 * libio/libio.h (_IO_pos_t): Remove.
7722
89a3ad0b
AO
77232012-10-10 Alexandre Oliva <aoliva@redhat.com>
7724
7725 * NEWS: Add note about FIPS mode. Wording suggested by Roland
7726 McGrath.
7727
e7451425
AO
77282012-10-10 Alexandre Oliva <aoliva@redhat.com>
7729
7730 * crypt/crypt-entry.c: Include fips-private.h.
7731 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
7732 * crypt/md5c-test.c (main): Tolerate disabled MD5.
7733 * sysdeps/unix/sysv/linux/fips-private.h: New file.
7734 * sysdeps/generic/fips-private.h: New file, dummy fallback.
7735
4ba74a35
AO
77362012-10-10 Alexandre Oliva <aoliva@redhat.com>
7737
7738 * crypt/crypt-private.h: Include stdbool.h.
7739 (_ufc_setup_salt_r): Return bool.
7740 * crypt/crypt-entry.c: Include errno.h.
7741 (__crypt_r): Return NULL with EINVAL for bad salt.
7742 * crypt/crypt_util.c (bad_for_salt): New.
7743 (_ufc_setup_salt_r): Check that salt is long enough and within
7744 the specified alphabet.
7745 * crypt/badsalttest.c: New file.
7746 * crypt/Makefile (tests): Add it.
7747 ($(objpfx)badsalttest): New.
7748
f96f1242
MK
77492012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
7750
7751 * NEWS: Add entry for BZ #14602.
7752
0e8e0c1c
JM
77532012-10-09 Joseph Myers <joseph@codesourcery.com>
7754
7755 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
7756 type-generic.
7757 * math/libm-test.inc: Update comment listing what functions and
7758 macros are tested.
7759 (isgreater_test): New function.
7760 (isgreaterequal_test): Likewise.
7761 (isless_test): Likewise.
7762 (islessequal_test): Likewise.
7763 (islessgreater_test): Likewise.
7764 (isunordered_test): Likewise.
7765 (main): Call the new functions.
7766
273edc5e
RM
77672012-10-09 Roland McGrath <roland@hack.frob.com>
7768
b8493de0
RM
7769 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
7770 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
7771 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
7772 * sysdeps/i386/configure: Regenerated.
7773 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
7774 * sysdeps/mach/configure: Regenerated.
7775 * sysdeps/mach/hurd/configure: Regenerated.
7776 * sysdeps/powerpc/configure: Regenerated.
7777 * sysdeps/powerpc/powerpc32/configure: Regenerated.
7778 * sysdeps/powerpc/powerpc64/configure: Regenerated.
7779 * sysdeps/s390/s390-32/configure: Regenerated.
7780 * sysdeps/s390/s390-64/configure: Regenerated.
7781 * sysdeps/sh/configure: Regenerated.
7782 * sysdeps/sparc/configure: Regenerated.
7783 * sysdeps/unix/sysv/linux/configure: Regenerated.
7784 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7785 * sysdeps/x86_64/configure: Regenerated.
7786
273edc5e
RM
7787 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
7788 defined. Don't check if MAP is NULL.
7789
c8450f70
JM
77902012-10-09 Joseph Myers <joseph@codesourcery.com>
7791
7792 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
7793 (_G_stat64): Likewise.
7794 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
7795 (_G_stat64): Likewise.
7796 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
7797 instead of struct _G_stat64.
7798 * libio/fileops.c (mmap_remap_check): Likewise.
7799 (decide_maybe_mmap): Likewise.
7800 (_IO_new_file_seekoff): Likewise.
7801 (_IO_file_stat): Likewise.
7802 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
7803 _G_off64_t.
7804 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
7805 instead of struct _G_stat64.
7806 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
7807
57e605ba
MK
78082012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
7809
7810 [BZ #14602]
7811 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7812 Replace with ...
7813 (CHECK_EOL): New macro.
7814 (two_way_short_needle): Check beginning of haystack for EOL. Use
7815 CHECK_EOL.
7816 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7817 Replace with CHECK_EOL.
7818 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
7819 Replace with CHECK_EOL.
7820
ef1bb361
JM
78212012-10-08 Joseph Myers <joseph@codesourcery.com>
7822
7823 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
7824 type-generic.
7825 * math/libm-test.inc: Update comment listing what functions and
7826 macros are tested.
7827 (finite_test): New function.
7828 (isinf_test): Likewise.
7829 (isnan_test): Likewise.
7830 (fpclassify_test): Test subnormal input.
7831 (isfinite_test): Likewise.
7832 (isnormal_test): Likewise.
7833 (main): Call the new functions.
7834
55f11534
JN
78352012-10-08 Jonathan Nieder <jrnieder@gmail.com>
7836
7837 [BZ #14660]
7838 * Makerules (%.dynsym): Force C locale when running
7839 $(OBJDUMP) --dynamic-syms.
7840
1ab29350
AS
78412012-10-08 Andreas Schwab <schwab@linux-m68k.org>
7842
7843 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
7844 <stdint.h>.
7845
f1ecb7ef
DM
78462012-10-06 David S. Miller <davem@davemloft.net>
7847
7848 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
7849 upper 32-bits of the length value in %o2 since we use branch-on-register
7850 tests which consider the entire 64-bit register.
7851
5d41d91a
L
78522012-10-06 H.J. Lu <hongjiu.lu@intel.com>
7853
7854 * string/test-strstr.c (check2): Add a test for page boundary.
7855
3baddb72
DM
78562012-10-05 David S. Miller <davem@davemloft.net>
7857
7858 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
7859 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
7860 file.
7861 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
7862 sysdep_routines.
7863 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
7864 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
7865 and bzero when HWCAP_SPARC_CRYPTO is present.
7866
9cee5585
L
78672012-10-05 H.J. Lu <hongjiu.lu@intel.com>
7868
d7e0dab9
L
7869 [BZ #14602]
7870 * string/test-strstr.c (check2): New function.
7871 (test_main): Call check2.
7872
03759f47
L
7873 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
7874 and bug-strchr1.
7875 * string/bug-strcasestr1.c (do_test): Moved to ...
7876 * string/test-strcasestr.c (check1): Here. New function.
7877 (do_one_test): Break out result checking code into ...
7878 (check_result): This. New function.
7879 (do_one_test): Call check_result.
7880 (test_main): Call check1.
7881 * string/bug-strchr1.c (do_test): Moved to ...
7882 * string/test-strchr.c (check1): Here. New function.
7883 (do_one_test): Break out result checking code into ...
7884 (check_result): This. New function.
7885 (do_one_test): Call check_result.
7886 (test_main): Call check1.
7887 * string/bug-strstr1.c (main): Moved to ...
046f153e 7888 * string/test-strstr.c (check1): Here. New function.
03759f47
L
7889 (do_one_test): Break out result checking code into ...
7890 (check_result): This. New function.
7891 (do_one_test): Call check_result.
7892 (test_main): Call check1.
7893 * string/bug-strcasestr1.c: Removed.
7894 * string/bug-strchr1.c: Likewise.
7895 * string/bug-strstr1.c: Likewise.
7896
53cea63e
L
7897 * elf/Makefile (dl-routines): Add hwcaps.
7898 * elf/dl-support.c (_dl_important_hwcaps): Removed.
7899 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
7900 (_dl_important_hwcaps): Moved to ...
7901 * elf/dl-hwcaps.c: Here. New file.
7902 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
7903
9cee5585 7904 [BZ #14557]
bb859b06
L
7905 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
7906 if IS_IN_rtld isn't defined.
7907
9cee5585
L
7908 * elf/dl-support.c (_dl_sysinfo_map): New.
7909 Include "get-dynamic-info.h" and "setup-vdso.h".
7910 (_dl_non_dynamic_init): Call setup_vdso.
7911 * elf/dynamic-link.h: Don't include <assert.h>.
7912 (elf_get_dynamic_info): Moved to ...
7913 * elf/get-dynamic-info.h: Here. New file.
7914 * elf/dynamic-link.h: Include "get-dynamic-info.h".
7915 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
7916 * elf/setup-vdso.h: Here. New file.
7917 * elf/rtld.c: Include "setup-vdso.h".
7918 (dl_main): Call setup_vdso.
7919
23c31b76
JM
79202012-10-05 Joseph Myers <joseph@codesourcery.com>
7921
28234b07
JM
7922 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
7923 creal in comment listing functions tested. List finite, isinf,
7924 isnan, isless, islessequal, isgreater, isgreaterequal,
7925 islessgreater, isunordered, lgamma_r and pow10 as functions and
7926 macros not tested. Mention which functions not tested are aliases
7927 for other functions. Fix typo. Note that signs of NaNs are not
7928 tested.
7929
23c31b76
JM
7930 * scripts/config.guess: Update from config.git.
7931 * scripts/config.sub: Likewise.
7932
9043e228
RM
79332012-10-04 Roland McGrath <roland@hack.frob.com>
7934
7935 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
7936 * misc/madvise.c (madvise): Renamed to __madvise.
7937 Make madvise a weak alias.
7938 * include/sys/mman.h: Declare __madvise.
7939 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
7940 * sysdeps/unix/syscalls.list
7941 (madvise): Make __madvise the strong name, and madvise a weak alias.
7942 * sysdeps/unix/sysv/linux/syscalls.list
7943 (madvise, mmap): Remove redundant entries.
7944 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
7945 * malloc/malloc.c (mtrim): Likewise.
7946 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
7947
f57f8055
RM
79482012-10-03 Roland McGrath <roland@hack.frob.com>
7949
7950 * sysdeps/mach/hurd/dl-cache.c: File removed.
7951 * config.h.in (USE_LDCONFIG): New #undef.
7952 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
7953 * configure: Regenerated.
7954 * elf/Makefile (dl-routines): Add dl-cache only under
7955 [$(use-ldconfig) = yes].
7956 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
7957 cache on [USE_LDCONFIG].
7958 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
7959 [USE_LDCONFIG].
7960 * elf/rtld.c (dl_main): Likewise.
7961
5bb0c10a
PT
79622012-10-03 Pino Toscano <toscano.pino@tiscali.it>
7963
7964 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
7965 _SC_LEVEL4_CACHE_LINESIZE.
7966
010188c6
RM
79672012-10-03 Roland McGrath <roland@hack.frob.com>
7968
7969 * sysdeps/unix/bsd/confstr.h: File removed.
7970
b6c5ec07
AO
79712012-10-02 Alexandre Oliva <aoliva@redhat.com>
7972
7973 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
7974 sys/sdt-config.h.
7975
408223d4
RM
79762012-10-02 Roland McGrath <roland@hack.frob.com>
7977
7978 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
7979 Make 'mapoff' field ElfW(Off) rather than off_t.
7980
bb9510dc
DL
79812012-10-02 Dmitry V. Levin <ldv@altlinux.org>
7982
fc997c6e
DL
7983 * nscd/Makefile: Remove nscd-cflags and all its users.
7984 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
7985 (CFLAGS-nonlib): Add compiler flags for nscd modules.
7986
bb9510dc
DL
7987 [BZ #10631]
7988 * malloc.c (malloc_printerr): Clarify error message.
7989
05699367
L
79902012-10-02 H.J. Lu <hongjiu.lu@intel.com>
7991
7992 [BZ #14648]
7993 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7994 Set bit_FMA_Usable if FMA is supported.
7995 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
7996 macro.
7997 (bit_FMA4_Usable): Updated.
7998 (index_FMA_Usable): New macro.
7999 (CPUID_FMA): Likewise
8000 (HAS_FMA): Defined with bit_FMA_Usable.
8001
51367701
RM
80022012-10-01 Roland McGrath <roland@hack.frob.com>
8003
8004 * bits/types.h (__swblk_t): Type removed.
8005 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
8006 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
8007 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
8008 (__SWBLK_T_TYPE): Likewise.
8009 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
8010 (__SWBLK_T_TYPE): Likewise.
8011 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
8012 (__SWBLK_T_TYPE): Likewise.
8013 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
8014 (__SWBLK_T_TYPE): Likewise.
8015
4d57bf63 80162012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 8017 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
8018
8019 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
8020 (xdr_mapname): Use YPMAXMAP as maxsize.
8021 (xdr_peername): Use YPMAXPEER as maxsize.
8022 (xdr_keydat): Use YPAXRECORD as maxsize.
8023 (xdr_valdat): Use YPMAXRECORD as maxsize.
8024
93c65d43
RM
80252012-10-01 Roland McGrath <roland@hack.frob.com>
8026
497a03d6
RM
8027 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
8028
93c65d43
RM
8029 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
8030 * csu/init-first.c: ... here.
8031 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
8032 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8033 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8034 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8035 * sysdeps/i386/init-first.c: File removed.
8036 * sysdeps/sh/init-first.c: File removed.
8037
bec749fd
JM
80382012-10-01 Joseph Myers <joseph@codesourcery.com>
8039
8040 [BZ #14645]
8041 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
8042 if x * y might underflow to zero and z is zero.
8043 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8044 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8045 * math/libm-test.inc (min_subnorm_value): New variable.
8046 (fma_test): Add more tests.
8047 (fma_test_towardzero): Likewise.
8048 (fma_test_downward): Likewise
8049 (fma_test_upward): Likewise.
8050 (initialize): Set min_subnorm_value.
8051
8ec5b013
JM
80522012-09-29 Joseph Myers <joseph@codesourcery.com>
8053
8054 [BZ #14638]
8055 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
8056 0 + 0.
8057 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
8058 mode for addition resulting in exact zero.
8059 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
8060 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
8061 exact 0 + 0.
8062 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8063 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8064 * math/libm-test.inc (fma_test): Add more tests.
8065 (fma_test_towardzero): New function.
8066 (fma_test_downward): Likewise.
8067 (fma_test_upward): Likewise.
8068 (main): Call the new functions.
8069
b1fa802e
DM
80702012-09-28 David S. Miller <davem@davemloft.net>
8071
8072 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
8073
d3b9fd9e
RM
80742012-09-28 Roland McGrath <roland@hack.frob.com>
8075
ea4d37b3
RM
8076 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
8077 instead of SIGALRM.
8078
ac51c949
RM
8079 * sysdeps/gnu/_G_config.h: Moved to ...
8080 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
8081 * sysdeps/mach/hurd/_G_config.h: Moved to ...
8082 * sysdeps/generic/_G_config.h: ... here.
8083
28c195f7
RM
8084 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
8085
848917f9
RM
8086 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
8087
6bacf05b
RM
8088 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
8089 Conditionalize target on [libnss_test1.so-version].
8090
91363dbb
RM
8091 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
8092
cc87f7d8
RM
8093 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
8094 (elfobjdir): Move out of conditionals.
8095
b1c608fe
RM
8096 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
8097 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
8098 (__nss_lookup_function): Conditionalize label remove_from_tree on
8099 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 8100
1d9a6d96
DM
81012012-09-28 David S. Miller <davem@davemloft.net>
8102
8103 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
8104 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
8105 file.
8106 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
8107 sysdep_routines.
8108 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
8109 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
8110 when HWCAP_SPARC_CRYPTO is present.
8111
72581615
PT
81122012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8113
8114 * io/tst-mknodat.c: Create a FIFO instead of a socket.
8115
715a900c
JL
81162012-09-28 Andreas Schwab <schwab@linux-m68k.org>
8117
8118 [BZ #6530]
8119 * stdio-common/vfprintf.c (process_string_arg): Revert
8120 2000-07-22 change.
8121
81222011-09-28 Jonathan Nieder <jrnieder@gmail.com>
8123
8124 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
8125 for testcase.
8126 * stdio-common/tst-sprintf.c: Include <locale.h>
8127 (main): Test sprintf's handling of incomplete multibyte
8128 characters.
8129
9bac1d86
L
81302012-09-28 H.J. Lu <hongjiu.lu@intel.com>
8131
8132 * elf/dl-runtime.c (VERSYMIDX): Removed.
8133 * elf/dl-version.c (VERSYMIDX): Likewise.
8134 * elf/do-rel.h (VERSYMIDX): Likewise.
8135 (VALIDX): Likewise.
8136 * elf/dynamic-link.h (VERSYMIDX): Likewise.
8137 * elf/rtld.c (VALIDX): Likewise.
8138 (ADDRIDX): Likewise.
9bac1d86
L
8139 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
8140 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
8141 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
8142 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
8143 (VALIDX): Likewise.
8144 (ADDRIDX): Likewise.
9bac1d86 8145
b31606c0
PT
81462012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8147
8148 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
8149
11541177
JL
81502012-09-28 Dmitry V. Levin <ldv@altlinux.org>
8151
8152 [BZ #11438]
8153 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
8154 to global scope.
8155 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
8156 addresses are in the same scope as 192.0.2/24.
8157 * posix/gai.conf: Document new scope table defaults.
8158
adb26fae
SP
81592012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8160
8161 [BZ #5298]
8162 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
8163 for ftell. Compute offsets from write pointers instead.
8164 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
8165
4573c6b0
SP
81662012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8167
8168 [BZ #14543]
8169 * libio/Makefile (tests): New test case tst-fseek.
8170 * libio/tst-fseek.c: New test case to verify that fseek/ftell
8171 combination works in wide mode.
8172 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
8173 state when the external buffer state changes.
8174
aa9bbfe6
DM
81752012-09-27 David S. Miller <davem@davemloft.net>
8176
8177 [BZ #14376]
8178 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
8179 pass reloc->r_addend in as the 'high' argument to
8180 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
8181
784421e7
DM
8182 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8183
c39bc8b8
PT
81842012-09-28 Pino Toscano <toscano.pino@tiscali.it>
8185
8186 * rt/tst-aio2.c: Include <pthread.h>.
8187 * rt/tst-aio3.c: Likewise.
8188
1ccc2399
SE
81892012-09-27 Steve Ellcey <sellcey@mips.com>
8190
8191 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
8192
31ed4153
L
81932012-09-27 H.J. Lu <hongjiu.lu@intel.com>
8194
25f5f885
L
8195 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
8196 contents on [SHARED].
31ed4153 8197
b7bfe116
MP
81982012-09-26 Marek Polacek <polacek@redhat.com>
8199
8200 [BZ #14530]
8201 [BZ #13741]
8202 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
8203 for C++ and GCC <4.3 as well as for non GCC compilers.
8204
43c4edba
MT
82052012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8206
8207 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8208
6a1bf82f
RM
82092012-09-25 Roland McGrath <roland@hack.frob.com>
8210
8211 * Makefile.in (all, install): Declare with .PHONY.
8212 Reported by Michael Hope <michael.hope@linaro.org>.
8213
8ad11b9a
TMQMF
82142012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8215
8216 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
8217 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
8218 system header.
8219 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
8220 Likewise.
8221 (sydep_routines): Add the new and the internal functions.
8222 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
8223 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
8224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
8225 (GLIBC_2.17): Add the new function.
8226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
8227 (GLIBC_2.17): Likewise.
8228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
8229 (GLIBC_2.17): Likewise.
8230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
8231 (GLIBC_2.17): Likewise.
8232 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
8233
7e2fca8d
AM
82342012-09-25 Alan Modra <amodra@gmail.com>
8235
8236 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
8237 Add release barrier before setting once_control to say
8238 initialisation is done. Add hints on lwarx. Use macro in
8239 place of isync.
8240 (clear_once_control): Add release barrier.
8241
b87c4b24
JM
82422012-09-25 Joseph Myers <joseph@codesourcery.com>
8243
d032e0d2
JM
8244 [BZ #13629]
8245 * math/s_clog.c (__clog): Handle more values close to |z| = 1
8246 specially.
8247 * math/s_clog10.c (__clog10): Likewise.
8248 * math/s_clog10f.c (__clog10f): Likewise.
8249 * math/s_clog10l.c (__clog10l): Likewise.
8250 * math/s_clogf.c (__clogf): Likewise.
8251 * math/s_clogl.c (__clogl): Likewise.
8252 * math/Makefile (libm-calls): Add x2y2m1.
8253 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
8254 (__x2y2m1): Likewise.
8255 (__x2y2m1l): Likewise.
8256 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
8257 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
8258 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
8259 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8260 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
8261 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
8262 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
8263 * sysdeps/i386/fpu/libm-test-ulps: Update.
8264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8265
b87c4b24
JM
8266 [BZ #14621]
8267 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
8268 int as type of variable DEPTH.
8269 (glob): Use size_t instead of int as type of variables NEWCOUNT
8270 and OLD_PATHC.
8271
6d3bf199
LD
82722012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8273
22bf5c17
LD
8274 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8275 Add s_sincosf-sse2.
8276 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
8277 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
8278 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
8279 macros for using routine as __sincosf_ia32.
8280 Use macro for function declaration and weak_alias.
8281 * sysdeps/i386/fpu/libm-test-ulps: Update.
8282
8283 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
8284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8285
8286 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
8287 subnormal argument.
8288 * math/s_cexpf.c (__cexpf): Likewise.
8289 * math/s_csinf.c (__csinf): Likewise.
8290 * math/s_csinhf.c (__csinhf): Likewise.
8291 * math/s_ctanf.c (__ctanf): Likewise.
8292 * math/s_ctanhf.c (__ctanhf): Likewise.
8293 * math/s_ccosh.c (__ccoshf): Likewise.
8294 * math/s_cexp.c (__cexpl): Likewise.
8295 * math/s_csin.c (__csin): Likewise.
8296 * math/s_csinh.c (__csinh): Likewise.
8297 * math/s_ctan.c (__ctan): Likewise.
8298 * math/s_ctanh.c (ctanh): Likewise.
8299 * math/s_ccoshl.c (__ccoshl): Likewise.
8300 * math/s_cexpl.c (__cexpl): Likewise.
8301 * math/s_csinl.c (__csinl): Likewise.
8302 * math/s_csinhl.c (__csinhl): Likewise.
8303 * math/s_ctanl.c (__ctanl): Likewise.
8304 * math/s_ctanhl.c (__ctanhl): Likewise.
8305
203e5603
JM
83062012-09-25 Joseph Myers <joseph@codesourcery.com>
8307
8308 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
8309 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
8310 (_IO_off_t): Define to __off_t, not _G_off_t.
8311 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
8312 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
8313 (_IO_wint_t): Define to wint_t, not _G_wint_t.
8314 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
8315 type of __dummy and __dummy2 fields.
8316 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
8317 (_G_ssize_t): Likewise.
8318 (_G_off_t): Likewise.
8319 (_G_pid_t): Likewise.
8320 (_G_uid_t): Likewise.
8321 (_G_wchar_t): Likewise.
8322 (_G_wint_t): Likewise.
8323 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
8324 (_G_ssize_t): Likewise.
8325 (_G_off_t): Likewise.
8326 (_G_pid_t): Likewise.
8327 (_G_uid_t): Likewise.
8328 (_G_wchar_t): Likewise.
8329 (_G_wint_t): Likewise.
8330 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
8331 (_G_ssize_t): Likewise.
8332 (_G_off_t): Likewise.
8333 (_G_pid_t): Likewise.
8334 (_G_uid_t): Likewise.
8335 (_G_wchar_t): Likewise.
8336 (_G_wint_t): Likewise.
8337
9fab36eb
SP
83382012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8339
8340 * malloc/arena.c: Include malloc-sysdep.h.
8341 (shrink_heap): Use check_may_shrink_heap to decide if madvise
8342 is sufficient to shrink the heap or an unmap is needed.
8343 * sysdeps/generic/malloc-sysdep.h: New file. Define
8344 new function check_may_shrink_heap.
8345 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
8346 new function check_may_shrink_heap.
8347
2b4f00d1
SP
83482012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8349
8350 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
8351 comments.
8352
9a9028b1
DL
83532012-09-24 Dmitry V. Levin <ldv@altlinux.org>
8354
57c69bef
DL
8355 * catgets/test-gencat.sh: Add "set -e".
8356 * elf/tst-pathopt.sh: Likewise.
8357 * grp/tst_fgetgrent.sh: Likewise.
8358 * iconvdata/run-iconv-test.sh: Likewise.
8359 * intl/tst-gettext.sh: Likewise.
8360 * intl/tst-gettext2.sh: Likewise.
8361 * intl/tst-gettext4.sh: Likewise.
8362 * intl/tst-gettext6.sh: Likewise.
8363 * intl/tst-translit.sh: Likewise.
8364 * io/ftwtest-sh: Likewise.
8365 * libio/test-freopen.sh: Likewise.
8366 * malloc/tst-mtrace.sh: Likewise.
8367 * posix/globtest.sh: Likewise.
8368 * posix/tst-getconf.sh: Likewise.
8369 * posix/wordexp-tst.sh: Likewise.
8370 * stdio-common/tst-printf.sh: Likewise.
8371 * stdio-common/tst-unbputc.sh: Likewise.
8372 * stdlib/tst-fmtmsg.sh: Likewise.
8373 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8374 * catgets/Makefile: Do not specify -e option when running
8375 testsuite shell scripts.
8376 * elf/Makefile: Likewise.
8377 * grp/Makefile: Likewise.
8378 * iconvdata/Makefile: Likewise.
8379 * intl/Makefile: Likewise.
8380 * io/Makefile: Likewise.
8381 * libio/Makefile: Likewise.
8382 * malloc/Makefile: Likewise.
8383 * posix/Makefile: Likewise.
8384 * stdio-common/Makefile: Likewise.
8385 * stdlib/Makefile: Likewise.
8386 * sysdeps/x86_64/Makefile: Likewise.
8387
9a9028b1
DL
8388 * io/ftwtest-sh: Add copyright header.
8389 * posix/globtest.sh: Likewise.
8390 * posix/tst-getconf.sh: Likewise.
8391 * posix/wordexp-tst.sh: Likewise.
8392 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
8393
ced6f16e
L
83942012-09-24 H.J. Lu <hongjiu.lu@intel.com>
8395
94b32c39
L
8396 [BZ #13679]
8397 * Makeconfig (+link): Defined as $(+link-static) if
8398 $(build-shared) isn't yes.
8399 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
8400 isn't yes.
8401 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
8402
189e935b
L
8403 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
8404
ced6f16e
L
8405 [BZ #14562]
8406 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
8407 new chunk size with MALLOC_ALIGN_MASK.
8408
a9f8e53a
JM
84092012-09-24 Joseph Myers <joseph@codesourcery.com>
8410
8411 [BZ #5044]
8412 * stdio-common/printf_fphex.c: Include <stdbool.h> and
8413 <rounding-mode.h>.
8414 (__printf_fphex): Determine rounding using get_rounding_mode and
8415 round_away.
8416 * stdio-common/tst-printf-round.c (struct hex_test): New
8417 structure.
8418 (hex_tests): New variable.
8419 (test_hex_in_one_mode): New function.
8420 (do_test): Also run tests for hex float output.
8421
43153109
JM
84222012-09-21 Joseph Myers <joseph@codesourcery.com>
8423
8424 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8425 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8426 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
8427 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
8428 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
8429 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
8430 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8431 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
8432
8a26625d
JM
84332012-09-20 Joseph Myers <joseph@codesourcery.com>
8434
8435 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
8436 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
8437 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
8438 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
8439
f3fd569c
DL
84402012-09-19 Dmitry V. Levin <ldv@altlinux.org>
8441
8442 [BZ #14579]
8443 * elf/rtld.c (dl_main): Limit the check for self loading to normal
8444 mode only.
8445 * elf/tst-rtld-load-self.sh: New test.
8446 * elf/Makefile: Run it.
8447
63bbedd4
JM
84482012-09-18 Joseph Myers <joseph@codesourcery.com>
8449
8450 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
8451 (tst-writev-ENV): Remove.
8452 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
8453
626f8b6a
CM
84542012-09-17 Chris Metcalf <cmetcalf@tilera.com>
8455
8456 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
8457
b7aaa4d6
JM
84582012-09-17 Joseph Myers <joseph@codesourcery.com>
8459
8460 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
8461 unconditional.
8462 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
8463 Likewise.
8464 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
8465 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
8466 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
8467 Likewise.
8468
65513990
L
84692012-09-14 H.J. Lu <hongjiu.lu@intel.com>
8470
8471 [BZ #14587]
8472 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
8473 * config.make.in (have-cpp-asm-debuginfo): Removed.
8474 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
8475 * configure: Regenerated.
8476
784761be
JM
84772012-09-14 Joseph Myers <joseph@codesourcery.com>
8478
8479 [BZ #5044]
8480 * stdio-common/printf_fp.c: Include <stdbool.h> and
8481 <rounding-mode.h>.
8482 (___printf_fp): Determine rounding using get_rounding_mode and
8483 round_away.
8484 * stdio-common/tst-printf-round.c: New file.
8485 * stdio-common/Makefile (tests): Add tst-printf-round.
8486 (link-libm): New variable.
8487 ($(objpfx)tst-printf-round): Depend in $(link-libm).
8488
9503345f
L
84892012-09-13 H.J. Lu <hongjiu.lu@intel.com>
8490
8491 [BZ #14576]
8492 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
8493 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
8494 Likewise.
8495 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
8496 Likewise.
8497
ad35fc00
JM
84982012-09-13 Joseph Myers <joseph@codesourcery.com>
8499
8500 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
8501 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8502 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8503 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
8504
6c9b0f68
JM
85052012-09-12 Joseph Myers <joseph@codesourcery.com>
8506
8507 [BZ #14518]
8508 * include/rounding-mode.h: New file.
8509 * sysdeps/generic/get-rounding-mode.h: Likewise.
8510 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
8511 * stdlib/strtod_l.c: Include <rounding-mode.h>.
8512 (MAX_VALUE): New macro.
8513 (MIN_VALUE): Likewise.
8514 (overflow_value): New function.
8515 (underflow_value): Likewise.
8516 (round_and_return): Use overflow_value and underflow_value to
8517 determine return values in overflow and underflow cases. Use
8518 round_away to determine rounding depending on rounding mode.
8519 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
8520 determine return values in overflow and underflow cases.
8521 * stdlib/tst-strtod-round.c: Include <fenv.h>.
8522 (struct test_results): New structure.
8523 (struct test): Use struct test_results to store expected results
8524 for all rounding modes.
8525 (TEST): Include expected results for all rounding modes.
8526 (test_in_one_mode): New function.
8527 (do_test): Use test_in_one_mode to compute and check results.
8528 Check results for all rounding modes.
8529 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
8530 $(link-libm).
8531
19fcedd5
AM
85322012-12-09 Allan McRae <allan@archlinux.org>
8533
1e9d84cd 8534 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 8535
8bbfd2f1
JM
85362012-09-11 Joseph Myers <joseph@codesourcery.com>
8537
8538 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
8539 (_G_int32_t): Likewise.
8540 (_G_uint16_t): Likewise.
8541 (_G_uint32_t): Likewise.
8542 (_G_HAVE_BOOL): Likewise.
8543 (_G_HAVE_ATEXIT): Likewise.
8544 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8545 (_G_HAVE_IO_FILE_OPEN): Likewise.
8546 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
8547 (_G_int32_t): Likewise.
8548 (_G_uint16_t): Likewise.
8549 (_G_uint32_t): Likewise.
8550 (_G_HAVE_BOOL): Likewise.
8551 (_G_HAVE_ATEXIT): Likewise.
8552 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8553 (_G_HAVE_IO_FILE_OPEN): Likewise.
8554 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
8555 (_G_int32_t): Likewise.
8556 (_G_uint16_t): Likewise.
8557 (_G_uint32_t): Likewise.
8558 (_G_HAVE_BOOL): Likewise.
8559 (_G_HAVE_ATEXIT): Likewise.
8560 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
8561 (_G_HAVE_IO_FILE_OPEN): Likewise.
8562
b1dc5912
L
85632012-09-11 H.J. Lu <hongjiu.lu@intel.com>
8564
8565 * csu/libc-tls.c: Update copyright years.
8566
0e886ef9
JM
85672012-09-10 Joseph Myers <joseph@codesourcery.com>
8568
28361c5e
JM
8569 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
8570 [!_G_USING_THUNKS]: Remove conditional code.
8571 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
8572 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
8573
0e886ef9
JM
8574 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
8575 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
8576 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8577 (_G_VTABLE_LABEL_PREFIX): Likewise.
8578 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8579 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8580 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8581 (_G_VTABLE_LABEL_PREFIX): Likewise.
8582 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8583 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
8584 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
8585 (_G_VTABLE_LABEL_PREFIX): Likewise.
8586 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
8587
bcba7aa2
L
85882012-09-10 H.J. Lu <hongjiu.lu@intel.com>
8589
8590 * libio/Makefile: Include ../Makeconfig before tests.
8591 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
8592 only if $(build-shared) is yes.
8593
06585ee8
L
8594 * iconv/gconv_db.c: Update copyright years.
8595
80ccd52c
LD
85962012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8597
8598 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
8599 unwind info if defined PIC. Fix special cases description.
8600 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
8601
8602 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
8603 DP_HI_MASK entry.
8604 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
8605
691bc9c1
L
86062012-09-07 H.J. Lu <hongjiu.lu@intel.com>
8607
3d9b46b3
L
8608 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
8609
de2139a9
L
8610 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
8611 is NULL.
8612
5ca78dd0
L
8613 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
8614 (LDLIBS-tst-chk4): This.
8615 (LDFLAGS-tst-chk5): Renamed to ...
8616 (LDLIBS-tst-chk5): This.
8617 (LDFLAGS-tst-chk6): Renamed to ...
8618 (LDLIBS-tst-chk6): This.
8619 (LDFLAGS-tst-lfschk4): Renamed to ...
8620 (LDLIBS-tst-lfschk4): This.
8621 (LDFLAGS-tst-lfschk5): Renamed to ...
8622 (LDLIBS-tst-lfschk5): This.
8623 (LDFLAGS-tst-lfschk6): Renamed to ...
8624 (LDLIBS-tst-lfschk6): This.
8625
691bc9c1
L
8626 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
8627 on $(common-objpfx)soversions.mk.
8628
65cafb1c
JM
86292012-09-07 Joseph Myers <joseph@codesourcery.com>
8630
8631 [BZ #10014]
8632 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
8633 example host name.
8634
c78ab094
SP
86352012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8636
8637 * malloc/arena.c (arena_get_retry): New function that gets
8638 another arena for the caller to try its request on.
8639 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
8640 current arena cannot fulfill the request.
8641 (__libc_memalign): Likewise.
8642 (__libc_memalign): Likewise.
8643 (__libc_pvalloc): Likewise.
8644 (__libc_calloc): Likewise.
8645
01f49f59
JT
86462012-09-05 John Tobey <john.tobey@gmail.com>
8647
8648 [BZ #13542]
8649 * manual/arith.texi (Operations on Complex): Fix description
8650 of carg branch cut.
8651
4c23fed5
JM
86522012-09-06 Joseph Myers <joseph@codesourcery.com>
8653
1d3c8572
JM
8654 [BZ #10014]
8655 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
8656 host name.
8657
4c23fed5
JM
8658 [BZ #10038]
8659 * manual/memory.texi (Memory): Make order of menu items match
8660 order of sections.
8661
04570aaa
L
86622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8663
8664 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
8665 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
8666 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
8667
b80af2f4
L
86682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8669
8670 * csu/libc-tls.c (static_dtv): Renamed to ...
8671 (_dl_static_dtv): This. Make it global.
8672 (_dl_initial_dtv): Removed.
8673 (__libc_setup_tls): Updated.
8674 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
8675 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
8676 DL_INITIAL_DTV.
8677
2abe9f15
PM
86782012-09-06 Petr Machata <pmachata@redhat.com>
8679
8680 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
8681 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
8682 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
8683 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
8684
0948c3af
L
86852012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8686
8687 [BZ #14545]
8688 * csu/libc-tls.c (_dl_initial_dtv): New variable.
8689 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
8690 freeing dtv[-1].
8691
a5055ad1
L
86922012-09-06 H.J. Lu <hongjiu.lu@intel.com>
8693
8694 [BZ #14544]
8695 * Makeconfig (link-static-before-libc): Replace $(+prector)
8696 with $(+prectorT).
8697 (link-static-after-libc): Replace $(+postctor) with
8698 $(+postctorT).
8699 (link-bounded): Replace $(+prector)/$(+postctor) with
8700 $(+prectorT)/$(+postctorT).
8701 (+prectorT): New macro.
8702 (+postctorT): Likewise.
8703
ed8c2ecd
JM
87042012-09-06 Joseph Myers <joseph@codesourcery.com>
8705
8706 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
8707 (round_str): Handle values above the maximum for IBM long double
8708 as inexact.
8709 * stdlib/tst-strtod-round.c (tests): Regenerated.
8710
14c996c8
AK
87112012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8712
8713 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
8714 assembler flag.
8715 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
8716 zarch_nohighgprs around the zarch optimized routines.
8717 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
8718 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
8719 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
8720 for zarch.
8721
430d6ce6
DM
87222012-09-05 David S. Miller <davem@davemloft.net>
8723
8724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8725
ff04dda4
DM
8726 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
8727 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
8728 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
8729 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
8730 entries.
8731
24d4e01b
AO
87322012-09-05 Alexandre Oliva <aoliva@redhat.com>
8733
8734 * malloc/arena.c: Fold copyright years.
8735 * malloc/mcheck.c, malloc/memusage.c: Likewise.
8736
61d58174
AO
87372012-09-05 Alexandre Oliva <aoliva@redhat.com>
8738
8739 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
8740
20196a5e
AO
87412012-09-05 Alexandre Oliva <aoliva@redhat.com>
8742
8743 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
8744
5c447383
AO
87452012-09-05 Alexandre Oliva <aoliva@redhat.com>
8746
8747 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
8748 change internal state upon failure.
8749
fad64255
AO
87502012-09-05 Alexandre Oliva <aoliva@redhat.com>
8751
8752 * malloc/mcheck.c (mcheck_check_all): Fix typo.
8753 * malloc/memusage.c (mmap): Likewise.
8754 (mmap64, mremap): Likewise. Adjust name in comment.
8755
1ffb8c90
SP
87562012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8757
8758 * libio/fileops.c: Fix typos in comments.
8759 * libio/oldfileops.c: Likewise.
8760 * libio/wfileops.c: Likewise.
8761
6ef9cc37
SP
87622012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
8763
8764 [BZ #1349]
8765 * malloc/Makefile (tests): Add tst-malloc-usable test case.
8766 (tst-malloc-usable-ENV): Set environment for test case.
8767 * malloc/hooks.c (malloc_check_get_size): New function to get
8768 requested size.
8769 * malloc/malloc.c (musable): Use malloc_check_get_size.
8770 * malloc/tst-malloc-usable.c: New test case.
8771
4d038ae3
AS
87722012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8773
8774 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
8775
c4e85184
AM
87762012-09-05 Allan McRae <allan@archlinux.org>
8777
b9dafc56 8778 [BZ #13966]
c4e85184
AM
8779 * configure.in (CXX_SYSINCLUDES): Use compiler output to
8780 determine header location.
8781 * configure: Regenerated.
8782
e1343020
AS
87832012-09-05 Andreas Schwab <schwab@linux-m68k.org>
8784
8785 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
8786 float format.
8787 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
8788 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
8789 format.
e1343020
AS
8790 (test): Regenerate.
8791
0a9f1987
DM
87922012-09-04 David S. Miller <davem@davemloft.net>
8793
8794 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
8795 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
8796 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
8797
29237804
FW
87982012-09-04 Florian Weimer <fweimer@redhat.com>
8799
8800 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
8801 failures.
8802
edb3cb88
FW
8803 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
8804
60160d83
JM
88052012-09-04 Joseph Myers <joseph@codesourcery.com>
8806
8807 [BZ #9914]
8808 * libio/iogetdelim.c: Include <limits.h>.
8809 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
8810 + len + 1 would overflow.
8811
bcd6c8dc
AJ
88122012-09-03 Andreas Jaeger <aj@suse.de>
8813
8814 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8815 * sysdeps/i386/fpu/libm-test-ulps: Update.
8816
4ffffbd2
LD
88172012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8818
8819 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
8820 Add s_sinf-sse2, s_conf-sse2.
8821
8822 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
8823 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
8824 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
8825 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
8826
8827 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
8828 for using routine as __sinf_ia32.
8829 Use macro for function declaration and weak_alias.
8830 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
8831 for using routine as __cosf_ia32.
8832 Use macro for function declaration and weak_alias.
8833
8834 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
8835 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
8836
8837 * sysdeps/x86_64/fpu/s_sinf.S: New file.
8838 * sysdeps/x86_64/fpu/s_cosf.S: New file.
8839 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8840
8841 * math/libm-test.inc (cos_test): Add more test cases.
8842 (sin_test): Likewise.
8843 (sincos_test): Likewise.
8844
511fa286
AK
88452012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8846
8847 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
8848 (IFUNC_RESOLVE): Make pointers to the specialized implementations
8849 hidden.
8850 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8851
5f30cfec
L
88522012-09-02 H.J. Lu <hongjiu.lu@intel.com>
8853
8854 [BZ #14538]
8855 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
8856 first element of the GOT.
8857 (elf_machine_load_address): Return the difference between
8858 the runtime address of _DYNAMIC and elf_machine_dynamic ().
8859
0786794f
AM
88602012-09-01 Allan McRae <allan@archlinux.org>
8861
5f30cfec
L
8862 [BZ #13412]
8863 * configure.in (AWK): Require gawk version 3.0 or later.
8864 * configure: Regenerated.
0786794f 8865
26889eac
JM
88662012-09-01 Joseph Myers <joseph@codesourcery.com>
8867
8868 * sysdeps/unix/sysv/linux/kernel-features.h
8869 (__ASSUME_POSIX_CPU_TIMERS): Remove.
8870 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
8871 [__NR_clock_getres]: Make code unconditional.
8872 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
8873 (clock_getcpuclockid): Remove code left unreachable by removal of
8874 conditionals.
8875 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
8876 code unconditional.
8877 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8878 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8879 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
8880 Make code unconditional.
8881 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
8882 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8883 * sysdeps/unix/sysv/linux/clock_settime.c
8884 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
8885 conditional code.
8886 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
8887 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
8888
d22e28b0
L
88892012-08-29 H.J. Lu <hongjiu.lu@intel.com>
8890
8891 [BZ #14476]
8892 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
8893 scripts/test-installation.pl.
8894
8895 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
8896 and $ld_so_version if it is set.
8897
050af9c4
SP
88982012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8899
8900 [BZ #14516]
8901 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
8902 failure if reading from procfs failed.
8903 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
8904
ad845c0b
JM
89052012-08-27 Joseph Myers <joseph@codesourcery.com>
8906
8907 * sysdeps/unix/sysv/linux/kernel-features.h
8908 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
8909 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8910 Remove conditional code.
8911 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8912 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
8913 Remove conditional code.
8914 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8915 * sysdeps/unix/sysv/linux/i386/fxstat.c
8916 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8917 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8918 * sysdeps/unix/sysv/linux/i386/fxstatat.c
8919 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8920 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8921 * sysdeps/unix/sysv/linux/i386/lxstat.c
8922 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
8923 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8924 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
8925 Remove conditional code.
8926 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8927 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
8928 Remove conditional code.
8929 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8930 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
8931 <kernel-features.h>.
8932 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
8933 Remove.
8934 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
8935 Remove conditional code.
8936 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
8937 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
8938 Remove conditional.
8939
5dbf56af
MF
89402012-08-27 Mike Frysinger <vapier@gentoo.org>
8941
8942 [BZ #5400]
8943 * NEWS: Add fixed bug number.
8944
d6e70f43
JM
89452012-08-27 Joseph Myers <joseph@codesourcery.com>
8946
7efb4737
JM
8947 [BZ #14519]
8948 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
8949 underflowing exponent in case of negative sign.
8950 * stdlib/tst-strtod-round-data: Add more tests.
8951 * stdlib/tst-strtod-round.c (tests): Regenerated.
8952
af92131a
JM
8953 [BZ #3479]
8954 * stdlib/strtod_l.c (NDIG): Remove.
8955 (HEXNDIG): Likewise.
8956 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
8957 smallest representable value.
8958 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
8959 lie within an exact representation of 1/2 ulp of the result.
8960 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
8961 unconditionally.
8962 (TENS_P9_IDX): Define unconditionally.
8963 (TENS_P9_SIZE): Likewise.
8964 (TENS_P10_IDX): Likewise.
8965 (TENS_P10_SIZE): Likewise.
8966 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
8967 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
8968 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
8969 entries for 10^2^13 and 10^2^14.
8970 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
8971 (TENS_P13_IDX): Define.
8972 (TENS_P13_SIZE): Likewise.
8973 (TENS_P14_IDX): Likewise.
8974 (TENS_P14_SIZE): Likewise.
8975 (_fpioconst_pow10): Change array size to
8976 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
8977 unconditional.
8978 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
8979 1024]: Add entries for 10^2^13 and 10^2^14.
8980 [LAST_POW10 > _LAST_POW10]: Remove #error.
8981 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
8982 (_fpioconst_pow10): Change array size to
8983 FPIOCONST_POW10_ARRAY_SIZE.
8984 * stdlib/gen-fpioconst.c: New file.
8985 * stdlib/gen-tst-strtod-round.c: Likewise.
8986 * stdlib/tst-strtod-round-data: Likewise.
8987 * stdlib/tst-strtod-round.c: Likewise.
8988 * stdlib/Makefile (tests): Add tst-strtod-round.
8989
d6e70f43
JM
8990 [BZ #14459]
8991 * stdlib/strtod_l.c: Include <stdint.h>.
8992 (NDEBUG): Do not define.
8993 (round_and_return): Change EXPONENT parameter to type intmax_t.
8994 Rearrange calculations to avoid internal overflow possibilities.
8995 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
8996 Rearrange calculations to avoid internal overflow possibilities.
8997 Assert that number fits inside MPNSIZE limbs.
8998 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
8999 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
9000 calculations and add assertions to avoid internal overflow
9001 possibilities. Add casts to avoid signed/unsigned operations.
9002 * stdlib/tst-strtod-overflow.c: New file.
9003 * stdlib/Makefile (tests): Add tst-strtod-overflow.
9004
1f529f7d
MP
90052012-08-25 Marek Polacek <polacek@redhat.com>
9006
9007 * time/time.h: Fix some typos in comments.
9008
59a629f1
RM
90092012-08-23 Roland McGrath <roland@hack.frob.com>
9010
9011 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
9012 * posix/tst-rfc3484-2.c: Likewise.
9013 * posix/tst-rfc3484-3.c: Likewise.
9014
d3bafbc9
SM
90152012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
9016
9017 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
9018 (EF_ARM_ABI_FLOAT_HARD): Likewise.
9019
4efcc022
JM
90202012-08-23 Joseph Myers <joseph@codesourcery.com>
9021
9022 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
9023 #include of fxstatat64.c.
9024
3cc3ef96
RM
90252012-08-22 Roland McGrath <roland@hack.frob.com>
9026
f04e2132
RM
9027 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
9028 * shadow/getspent_r.c: Likewise.
9029 * shadow/getspnam.c: Likewise.
9030 * shadow/getspnam_r.c: Likewise.
9031 * gshadow/getsgent.c: Likewise.
9032 * gshadow/getsgent_r.c: Likewise.
9033 * gshadow/getsgnam.c: Likewise.
9034 * gshadow/getsgnam_r.c: Likewise.
9035 * inet/getnetbyad.c: Likewise.
9036 * inet/getnetbyad_r.c: Likewise.
9037 * inet/getnetbynm.c: Likewise.
9038 * inet/getnetbynm_r.c: Likewise.
9039 * inet/getnetent.c: Likewise.
9040 * inet/getnetent_r.c: Likewise.
9041 * inet/getproto.c: Likewise.
9042 * inet/getproto_r.c: Likewise.
9043 * inet/getprtent.c: Likewise.
9044 * inet/getprtent_r.c: Likewise.
9045 * inet/getprtname.c: Likewise.
9046 * inet/getprtname_r.c: Likewise.
9047 * inet/getrpcbyname.c: Likewise.
9048 * inet/getrpcbyname_r.c: Likewise.
9049 * inet/getrpcbynumber.c: Likewise.
9050 * inet/getrpcbynumber_r.c: Likewise.
9051 * inet/getrpcent.c: Likewise.
9052 * inet/getrpcent_r.c: Likewise.
9053 * inet/getaliasent.c: Likewise.
9054 * inet/getaliasent_r.c: Likewise.
9055 * inet/getaliasname.c: Likewise.
9056 * inet/getaliasname_r.c: Likewise.
9057 * nscd/getgrgid_r.c: Likewise.
9058 * nscd/getgrnam_r.c: Likewise.
9059 * nscd/gethstbyad_r.c: Likewise.
9060 * nscd/gethstbynm3_r.c: Likewise.
9061 * nscd/getpwnam_r.c: Likewise.
9062 * nscd/getpwuid_r.c: Likewise.
9063 * nscd/getsrvbynm_r.c: Likewise.
9064 * nscd/getsrvbypt_r.c: Likewise.
9065 * nscd/gai.c: Likewise.
9066
c53d909c
RM
9067 * configure.in (build_nscd): New substituted variable, set
9068 by --disable-build-nscd and defaults to $use_nscd.
9069 * configure: Regenerated.
9070 * config.make.in (build-nscd): New substituted variable.
9071 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
9072 Change conditional to require [$(build-nscd) = yes] as well.
9073 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
9074
3cc3ef96
RM
9075 [BZ# 13696]
9076 * configure.in (use_nscd): New substituted variable, set by
9077 --disable-nscd. If enabled, define USE_NSCD.
9078 * configure: Regenerated.
9079 * config.h.in: Add USE_NSCD.
9080 * config.make.in (use-nscd): New substituted variable.
9081 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
9082 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
9083 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
9084 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
9085 (CFLAGS-getgrnam_r.c): Likewise.
9086 (CFLAGS-initgroups.c): Likewise.
9087 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
9088 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
9089 Variables removed.
9090 * inet/getnetgrent_r.c
9091 (nscd_setnetgrent): New function, broken out of ...
9092 (setnetgrent): ... here. Call it.
9093 (innetgr): Conditionalize nscd bits on [USE_NSCD].
9094 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
9095 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
9096 * nscd/Makefile (routines, aux): Move definitions after include of
9097 Makeconfig. Conditionalize on [$(use-nscd) != no].
9098 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
9099 Conditionalize on [USE_NSCD].
9100 (is_nscd, nscd_init_cb): Likewise.
9101 (nss_load_library): Conditionalize init callback on [USE_NSCD].
9102 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
9103 * nss/nss_db/db-init.c: Likewise.
9104 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
9105 [USE_NSCD].
9106 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
9107 (make_request): Use it.
9108 (cache_valid_p): New function.
9109 (__check_pf): Use it.
9110 * NEWS: Add item for --disable-nscd.
9111
07e51550
DL
91122012-08-22 Dmitry V. Levin <ldv@altlinux.org>
9113
9114 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
9115 to support sed >= 4.2.1-20-ga9bf076.
9116 * configure: Regenerated.
9117
35a5b08b
RM
91182012-08-22 Roland McGrath <roland@hack.frob.com>
9119
9120 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
9121 Conditionalize whole body on [IREL].
9122
8479f23a
JL
91232012-08-22 Jeff Law <law@redhat.com>
9124
9125 [BZ #14505]
9126 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
9127 if the family is PF_UNSPEC.
9128
48da0b21
MF
91292012-08-22 Mike Frysinger <vapier@gentoo.org>
9130
9131 * Makerules (lib-version): Rename from V.
9132 (install-lib-nosubdir): Change V to lib-version.
9133
15d0da8c
WS
91342012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
9135
9136 [BZ #14252]
9137 * powerpc32/power6/wcschr.c: New file.
9138 * powerpc32/power6/wcscpy.c: New file.
9139 * powerpc32/power6/wcsrchr.c: New file.
9140 * powerpc64/power6/wcschr.c: New file.
9141 * powerpc64/power6/wcscpy.c: New file.
9142 * powerpc64/power6/wcsrchr.c: New file.
9143
bcca0895
MK
91442012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9145
9146 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
9147 (two_way_short_needle): Use it.
5a4aaa33
RM
9148 * string/strstr.c (AVAILABLE1_USES_J): Define.
9149 * string/strcasestr.c: Likewise.
99677e57
MK
9150
9151 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
9152 array references.
9153 * string/strcasestr.c (TOLOWER): Make side-effect safe.
9154
400726de
MK
9155 [BZ #11607]
9156 * NEWS: Add an entry.
9157 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
9158 define their defaults.
9159 (two_way_short_needle): Detect end-of-string on-the-fly.
9160 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
9161 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
9162 * string/bug-strcasestr1.c: New test.
9163 * string/Makefile: Run it.
9164
20a71f2c
MK
91652012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
9166
9167 [BZ #11607]
9168 * string/str-two-way.h (two_way_short_needle): Optimize matching of
9169 the first character.
9170
21ad0558
RM
91712012-08-21 Roland McGrath <roland@hack.frob.com>
9172
9173 * csu/elf-init.c (__libc_csu_irel): Function removed.
9174 * csu/libc-start.c (apply_irel): New function.
9175 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
9176
0e1d9911
JM
91772012-08-21 Joseph Myers <joseph@codesourcery.com>
9178
9179 * sysdeps/unix/sysv/linux/kernel-features.h
9180 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
9181 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9182 <kernel-features.h>.
9183 [__NR_fadvise64_64]: Make code unconditional.
9184 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
9185 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9186 !__NR_fadvise64_64)]: Likewise.
9187 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
9188 !__NR_fadvise64_64))]: Likewise.
9189 [__NR_fadvise64]: Make code unconditional.
9190 [!__NR_fadvise64]: Remove conditional code.
9191 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
9192 <kernel-features.h>.
9193 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9194 unconditional.
9195 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9196 conditional code.
9197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
9198 not include <kernel-features.h>.
9199 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9200 unconditional.
9201 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9202 conditional code.
9203 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
9204 include <kernel-features.h>.
9205 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
9206 unconditional.
9207 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
9208 conditional code.
9209
14a50c9d
WS
92102012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
9211
9212 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
9213 slight instruction rearrangements per scrollpipe analysis.
9214 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
9215
c0f4faf0
RM
92162012-08-20 Roland McGrath <roland@hack.frob.com>
9217
696da859
RM
9218 * manual/syslog.texi (syslog; vsyslog, closelog):
9219 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
9220 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
9221
c0f4faf0
RM
9222 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
9223 DSOCAPS to match condition on defining it.
9224
348363b2
JM
92252012-08-20 Joseph Myers <joseph@codesourcery.com>
9226
a35cbf28
JM
9227 * sysdeps/unix/sysv/linux/kernel-features.h
9228 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
9229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
9230 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9231 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
9233 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9234 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
9236 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
9237 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
9238
445f7ecd
JM
9239 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
9240 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
9241
348363b2
JM
9242 * sysdeps/unix/sysv/linux/kernel-features.h
9243 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
9244 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
9245 unconditional.
9246 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9247 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
9248 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9249 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9250 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
9251 Make code unconditional.
9252 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9253 (__mmap64) [!__NR_mmap2]: Likewise.
9254 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
9255 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
9256 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9257 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
9258 [__NR_mmap2]: Make code unconditional.
9259 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
9260 (__mmap64) [!__NR_mmap2]: Likewise.
9261
bc5bc0e5
AK
92622012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9263
9264 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
9265
88d506de
AJ
92662012-08-18 Andreas Jaeger <aj@suse.de>
9267
9268 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
9269
493387d2
MF
92702012-08-18 Mike Frysinger <vapier@gentoo.org>
9271
9272 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
9273 * include/unistd.h (__have_sock_cloexec): Likewise.
9274 (__have_pipe2): Likewise.
9275 (__have_dup3): Likewise.
9276
a277af22
MF
92772012-08-18 Mike Frysinger <vapier@gentoo.org>
9278
9279 [BZ #9685]
9280 * include/unistd.h (__have_pipe2): Change define into an extern int.
9281 (__have_dup3): Likewise.
9282 * socket/have_sock_cloexec.c: Include fcntl.h.
9283 (__have_pipe2): New variable.
9284 (__have_dup3): Likewise.
9285
fdab8fd3
MF
92862012-08-17 Mike Frysinger <vapier@gentoo.org>
9287
9288 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
9289
31035e80
MP
92902012-08-17 Marek Polacek <polacek@redhat.com>
9291
9292 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
9293 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
9294
3bd9e993
RM
92952012-08-17 Roland McGrath <roland@hack.frob.com>
9296
c91c505f
RM
9297 * configure.in: Add AC_SUBST for sysheaders.
9298 * configure: Regenerated.
9299 * config.make.in (sysheaders): New substituted variable.
9300
7c6f9d53
RM
9301 * sysdeps/unix/mkfifo.c: Moved ...
9302 * sysdeps/posix/mkfifo.c: ... here.
9303 * sysdeps/unix/mkfifoat.c: Moved ...
9304 * sysdeps/posix/mkfifoat.c: ... here.
9305
9306 * sysdeps/unix/utime.c: Moved ...
9307 * sysdeps/posix/utime.c: ... here.
9308
9309 * sysdeps/unix/time.c: Moved ...
9310 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
9311 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
9312 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
9313
9314 * sysdeps/unix/nice.c: Moved ...
9315 * sysdeps/posix/nice.c: ... here.
9316
9317 * sysdeps/unix/alarm.c: Moved ...
9318 * sysdeps/posix/alarm.c: ... here.
9319
3bd9e993
RM
9320 * intl/Makefile ($(codeset_mo)): Depend on the input file.
9321
d1f09384
JL
93222012-08-17 Jeff Law <law@redhat.com>
9323
9324 * intl/Makefile (codeset_mo): New variable.
9325 ($(codeset_mo)): New target.
9326 (tst-codeset.out): Depend on that. Remove explicit rule.
9327 (tst-gettext3.out, tst-gettext5.out): Likewise.
9328 (LOCPATH-ENV, tst-codeset-ENV): New variables.
9329 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
9330 * intl/tst-codeset.sh: Remove.
9331 * intl/tst-gettext3.sh: Likewise.
9332 * intl/tst-gettext5.sh: Likewise.
9333
2ae1ae5c
RM
93342012-08-17 Roland McGrath <roland@hack.frob.com>
9335
c31fdb83
RM
9336 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
9337 * sysdeps/unix/syscalls.list: ... here.
9338
a0844057
RM
9339 * sysdeps/posix/getaddrinfo.c
9340 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
9341 (gaiconf_init, gaiconf_reload): Use them.
9342 [!_STATBUF_ST_NSEC]
9343 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
9344 Define using time_t rather than struct timespec.
9345
750c1f2a
RM
9346 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
9347 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
9348 Macros removed.
9349 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
9350 [!NO_THREADS].
9351 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
9352 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
9353 Likewise.
9354
2ae1ae5c
RM
9355 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
9356 __libc_cleanup_push argument.
9357
e66a42f5
RM
9358 * bits/param.h: New file.
9359 * misc/sys/param.h: New file.
9360 * include/sys/param.h: New file.
9361 * misc/Makefile (headers): Add bits/param.h.
9362 * sysdeps/generic/sys/param.h: File removed.
9363 * sysdeps/unix/sysv/linux/bits/param.h: New file.
9364 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
9365 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 9366 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 9367
b7c08a66
RM
9368 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
9369 last change.
9370
b2e1c562
RM
9371 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
9372 [_IO_MTSAFE_IO].
9373 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
9374 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
9375 New macros.
9376
c75ccd4c
RM
9377 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
9378 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
9379 rather than -D_IO_MTSAFE_IO conditionally.
9380 * stdio-common/Makefile (CPPFLAGS): Likewise.
9381 * wcsmbs/Makefile (CPPFLAGS): Likewise.
9382 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
9383 Use $(libio-mtsafe).
9384 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
9385 of -D_IO_MTSAFE_IO.
9386 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
9387 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
9388 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
9389 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
9390 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
9391 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
9392 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
9393 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
9394 (CFLAGS-fread_u_chk.c): Likewise.
9395 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
9396 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
9397 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
9398 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
9399 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
9400 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
9401 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
9402 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
9403 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
9404
9405 * libio/Makefile: Test [$(libc-reentrant) = yes]
9406 instead of [$(filter %REENTRANT, $(defines)) nonempty].
9407
9408 * Makeconfig
9409 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
9410 * sysdeps/pthread/configure: File removed.
9411 * sysdeps/pthread/Makeconfig: New file.
9412 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
9413 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
9414
d9195db8
GB
94152012-08-16 Gary Benson <gbenson@redhat.com>
9416
9417 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
9418 unmapping the first object in a namespace.
9419
86466cd9
RM
94202012-08-16 Roland McGrath <roland@hack.frob.com>
9421
9422 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
9423 (__internal_setnetgrent): ... this. Add internal_function to
9424 definition. Add libc_hidden_def.
9425 (setnetgrent): Update caller.
9426 (internal_endnetgrent): Renamed to ...
9427 (__internal_endnetgrent): ... this. Add internal_function to
9428 definition. Add libc_hidden_def.
9429 (endnetgrent): Update caller.
9430 (internal_getnetgrent_r): Renamed to ...
9431 (__internal_getnetgrent_r): ... this. Add internal_function to
9432 definition. Add libc_hidden_def.
9433 (__getnetgrent_r): Update caller.
9434 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
9435
c3c8283c
JM
94362012-08-16 Joseph Myers <joseph@codesourcery.com>
9437
9438 * stdlib/longlong.h: Update from GCC.
9439
db1ee0a8
RM
94402012-08-16 Roland McGrath <roland@hack.frob.com>
9441
9442 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
9443 on _QL, which is set by umul_ppmm but never used.
9444 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
9445 variables, which are set by GMP macros but never used.
9446 * stdio-common/_itowa.c (_itowa): Likewise.
9447 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
9448 * stdlib/mod_1.c (mpn_mod_1): Likewise.
9449
30f69637
CD
94502012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
9451
9452 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
9453 struct La_sh_regs is not constant.
9454 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
9455 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
9456 and struct La_sparc64_regs are not constant.
9457
93a78ac4
JM
94582012-08-16 Joseph Myers <joseph@codesourcery.com>
9459
9460 * sysdeps/unix/sysv/linux/kernel-features.h
9461 (__ASSUME_POSIX_TIMERS): Remove.
9462 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9463 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9464 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
9465 Make code unconditional.
9466 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9467 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
9468 Make code unconditional.
9469 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9470 * sysdeps/unix/sysv/linux/clock_nanosleep.c
9471 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
9472 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9473 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
9474 Make code unconditional.
9475 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
9476 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
9477 (__libc_missing_posix_timers): Remove.
9478
dd924cd7
RM
94792012-08-15 Roland McGrath <roland@hack.frob.com>
9480
4b4f2771
RM
9481 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
9482 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
9483
601c888b
RM
9484 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
9485
176790a7
RM
9486 * elf/dl-sym.c: Include <stdlib.h>.
9487
329bc018
RM
9488 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
9489 constants, which avoids warnings in 32-bit builds.
9490
e04e272d
RM
9491 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
9492 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
9493
952bf94a
RM
9494 * misc/lseek.c: File moved to ...
9495 * io/lseek.c: ... here.
9496
7c99b50a
RM
9497 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
9498
dd924cd7
RM
9499 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
9500 shifting LEN more than 31 bits at once.
9501
b3f479a8
LD
95022012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9503
9504 [BZ #14195]
8c4ae0d4
RM
9505 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
9506 segmentation fault for a case of two empty input strings.
b3f479a8
LD
9507 * string/test-strncasecmp.c (check1): Renamed to...
9508 (bz12205): ...this.
9509 (bz14195): Add new testcase for two empty input strings and N > 0.
9510 (test_main): Call new testcase, adapt for renamed function.
9511
9c55864e
AJ
95122012-08-15 Andreas Jaeger <aj@suse.de>
9513
9514 [BZ #14090]
9515 * crypt/md5test2.c: New test, based on test supplied by Serge
9516 Belyshev <belyshev@depni.sinp.msu.ru>.
9517 * crypt/Makefile (xtests): Add md5test-giant..
9518 * crypt/Makefile ($(objpfx)md5test-giant): Add.
9519
02dcb6c5
PE
95202012-08-15 Paul Eggert <eggert@cs.ucla.edu>
9521
9522 [BZ #14090]
9523 * crypt/md5.c (md5_process_block): Don't assume the buffer
9524 length is less than 2**32.
9525 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
9526 length is less than 2**64.
9527
a3f95dcc
RM
95282012-08-15 Roland McGrath <roland@hack.frob.com>
9529
be75d758
RM
9530 * string/str-two-way.h: Include <sys/param.h>.
9531 (MAX): Macro removed.
9532
7312ca90
RM
9533 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
9534 Move #define and #undef of memmove to just before and after
9535 including <string.h>.
9536
9a0a5486
RM
9537 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
9538 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
9539 and after including <string.h>. Move declarations of
9540 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
9541 to before #include "string/memmove.c".
9542
67cc348d
RM
9543 * include/dirent.h: Declare __getdirentries.
9544
a3f95dcc
RM
9545 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
9546 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
9547
ca98e171
MF
95482012-08-14 Mike Frysinger <vapier@gentoo.org>
9549
9550 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
9551 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
9552 * sysdeps/i386/configure: Regenerated.
9553 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
9554 STABS_CURRENT_FILE, and STABS_FUN.
9555 (END): Remove call to STABS_FUN_END.
9556 (STABS_CURRENT_FILE1): Delete.
9557 (STABS_CURRENT_FILE): Likewise.
9558 (STABS_FUN): Likewise.
9559 (STABS_FUN_END): Likewise.
9560 (STABS_FUN2): Likewise.
9561 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
9562 * sysdeps/x86_64/configure: Regenerated.
9563
5908bf46
RM
95642012-08-14 Roland McGrath <roland@hack.frob.com>
9565
9566 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 9567 * elf/dl-lookup.c: Likewise.
5908bf46 9568
f2c05b9e
JM
95692012-08-14 Joseph Myers <joseph@codesourcery.com>
9570
9571 * sysdeps/unix/sysv/linux/kernel-features.h
9572 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
9573 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
9574 unconditionally.
9575 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
9576 unconditionally.
9577 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
9578 condition on __ASSUME_CLONE_THREAD_FLAGS.
9579
e11f5155
AJ
95802012-08-14 Andreas Jaeger <aj@suse.de>
9581
9582 * sysdeps/i386/fpu/libm-test-ulps: Update.
9583
51a9ba86
MK
95842012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
9585
2fdd4f78
AJ
9586 * include/atomic.h (atomic_exchange_and_add): Split into ...
9587 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
9588 New atomic macros.
51a9ba86 9589
ba6cba9e
MT
95902012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
9591
9592 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9593
42443a47
JL
95942012-08-13 Jeff Law <law@redhat.com>
9595
9596 * manual/stdio.texi (snprintf): Clarify handling of the trailing
9597 null byte in the output string.
9598
121dce05
JM
95992012-08-10 Joseph Myers <joseph@codesourcery.com>
9600
9601 * sysdeps/unix/sysv/linux/kernel-features.h
9602 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
9603 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
9604 (__ASSUME_ARG_MAX_STACK_BASED): Define.
9605 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9606 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
9607 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
9608 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
9609
bf51f568
JL
96102012-08-09 Jeff Law <law@redhat.com>
9611
9612 [BZ #13939]
9613 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
9614 When avoid_arena is set, don't retry in the that arena. Pick the
9615 next one, whatever it might be.
9616 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
9617 (arena_lock): Pass in new parameter to arena_get2.
9618 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
9619 arena_get2.
9620 (__libc_malloc): Unify retrying after main arena failure with
9621 __libc_memalign version.
9622 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
9623
f85fa270
L
96242012-08-09 H.J. Lu <hongjiu.lu@intel.com>
9625
9626 [BZ #14166]
9627 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
9628 to __redirect_strstr.
9629 (__strstr_sse42): Use typeof __redirect_strstr.
9630 (__strstr_ia32): Likewise.
9631 (__libc_strstr): New prototype.
9632 (strstr): Renamed to ...
9633 (__libc_strstr): This.
9634 (strstr): New strong alias of __libc_strstr.
9635 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
9636 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
9637 __redirect_time.
9638 Include <time.h>.
9639 (__libc_time): New prototype.
9640 (time_ifunc): Replace time with __libc_time.
9641 (time): New strong alias and hidden definition of __libc_time.
9642 (__GI_time): Remove strong alias.
9643 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
9644 Include <stddef.h>.
9645 (memmove): Redefined to __redirect_memmove.
9646 (__memmove_sse2): Use typeof __redirect_memmove.
9647 (__memmove_ssse3): Likewise.
9648 (__memmove_ssse3_back): Likewise.
9649 (__libc_memmove): New prototype.
9650 (memmove): Renamed to ...
9651 (__libc_memmove): This.
9652 (memmove): New strong alias of __libc_memmove.
9653
33b4a91e
MS
96542012-08-08 Mark Salter <msalter@redhat.com>
9655
9656 * elf/elf.h
9657 (R_MN10300_TLS_GD): Define.
9658 (R_MN10300_TLS_LD): Likewise.
9659 (R_MN10300_TLS_LDO): Likewise.
9660 (R_MN10300_TLS_GOTIE): Likewise.
9661 (R_MN10300_TLS_IE): Likewise.
9662 (R_MN10300_TLS_LE): Likewise.
9663 (R_MN10300_TLS_DTPMOD): Likewise.
9664 (R_MN10300_TLS_DTPOFF): Likewise.
9665 (R_MN10300_TLS_TPOFF): Likewise.
9666 (R_MN10300_SYM_DIFF): Likewise.
9667 (R_MN10300_ALIGN): Likewise.
9668 (R_MN10300_NUM): Update.
9669
b36137f1
JM
96702012-08-08 Joseph Myers <joseph@codesourcery.com>
9671
9672 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
9673 Remove.
9674
cdd915fd
RM
96752012-08-08 Roland McGrath <roland@hack.frob.com>
9676
a2433aac
RM
9677 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
9678
cdd915fd
RM
9679 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
9680 sysdeps/unix -> sysdeps/posix move.
9681 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9682
bf9b740a
AM
96832012-08-07 Allan McRae <allan@archlinux.org>
9684
9685 [BZ #14303]
9686 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
9687 (SUNOS_CPP): Likewise.
9688 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
9689 not found.
9690 (open_input): Call CPP using execvp.
9691
93df14ee
JM
96922012-08-07 Joseph Myers <joseph@codesourcery.com>
9693
9694 * sysdeps/unix/sysv/linux/kernel-features.h
9695 (__ASSUME_PROT_GROWSUPDOWN): Remove.
9696 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9697 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9698 (__ASSUME_WAITID_SYSCALL): Likewise.
9699 * sysdeps/unix/sysv/linux/dl-execstack.c
9700 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
9701 code unconditional.
9702 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
9703 conditional code.
9704 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
9705 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
9706 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
9707 code.
9708 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
9709 unconditional.
9710 [__ASSUME_WAITID_SYSCALL]: Likewise.
9711 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
9712
d34689de
RM
97132012-08-07 Roland McGrath <roland@hack.frob.com>
9714
a281decc
RM
9715 * sysdeps/unix/closedir.c: Renamed to ...
9716 * sysdeps/posix/closedir.c: ... here.
9717 * sysdeps/unix/dirfd.c: Renamed to ...
9718 * sysdeps/posix/dirfd.c: ... here.
9719 * sysdeps/unix/dirstream.h: Renamed to ...
9720 * sysdeps/posix/dirstream.h: ... here.
9721 * sysdeps/unix/fdopendir.c: Renamed to ...
9722 * sysdeps/posix/fdopendir.c: ... here.
9723 * sysdeps/unix/opendir.c: Renamed to ...
9724 * sysdeps/posix/opendir.c: ... here.
9725 * sysdeps/unix/readdir.c: Renamed to ...
9726 * sysdeps/posix/readdir.c: ... here.
9727 * sysdeps/unix/readdir_r.c: Renamed to ...
9728 * sysdeps/posix/readdir_r.c: ... here.
9729 * sysdeps/unix/rewinddir.c: Renamed to ...
9730 * sysdeps/posix/rewinddir.c: ... here.
9731 * sysdeps/unix/seekdir.c: Renamed to ...
9732 * sysdeps/posix/seekdir.c: ... here.
9733 * sysdeps/unix/telldir.c: Renamed to ...
9734 * sysdeps/posix/telldir.c: ... here.
9735 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
9736 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
9737 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
9738 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
9739
22895b47
RM
9740 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
9741 * bits/fcntl.h: ... here.
9742
707a53b6
RM
9743 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
9744 not 0.
9745 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
9746 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
9747 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
9748 (struct flock): Move l_start, l_len to the beginning.
9749 Use __pid_t for l_pid.
9750 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
9751 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
9752 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
9753 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
9754 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
9755 [__USE_LARGEFILE64] (struct flock64): New type.
9756 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
9757
f0bd3e25
RM
9758 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
9759 * bits/dirent.h: ... here.
9760
d34689de
RM
9761 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
9762 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
9763
6dad2c06
JM
97642012-08-07 Joseph Myers <joseph@codesourcery.com>
9765
9766 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9767 Change from 2.6.0 to 2.6.16.
9768 * sysdeps/unix/sysv/linux/configure: Regenerated.
9769 * sysdeps/unix/sysv/linux/kernel-features.h
9770 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
9771 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
9772 version.
9773 (__ASSUME_UTIMES): Likewise.
9774 (__ASSUME_CLONE_STOPPED): Remove.
9775 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
9776 architectures, not kernel version.
9777 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
9778 (__ASSUME_NO_CLONE_DETACHED): Likewise.
9779 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
9780 (__ASSUME_WAITID_SYSCALL): Likewise.
9781 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
9782 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
9783 * README: State 2.6.16 as minimum Linux kernel version. Do not
9784 refer to older versions.
9785
03af9520
RM
97862012-08-06 Roland McGrath <roland@hack.frob.com>
9787
8e49df1d
RM
9788 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
9789 Define alphasort64 as an alias.
9790 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
9791 Define versionsort64 as an alias.
9792 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
9793 Define scandir64 as an alias.
9794 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
9795 Define scandirat64 as an alias.
9796 * dirent/alphasort64.c (alphasort64):
9797 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
9798 * dirent/versionsort64.c: Likewise.
9799 * dirent/scandir64.c: Likewise.
9800 * dirent/scandirat64.c: Likewise.
9801 * sysdeps/wordsize-64/alphasort.c: File removed.
9802 * sysdeps/wordsize-64/alphasort64.c: File removed.
9803 * sysdeps/wordsize-64/scandir.c: File removed.
9804 * sysdeps/wordsize-64/scandir64.c: File removed.
9805 * sysdeps/wordsize-64/scandirat.c: File removed.
9806 * sysdeps/wordsize-64/scandirat64.c: File removed.
9807 * sysdeps/wordsize-64/versionsort.c: File removed.
9808 * sysdeps/wordsize-64/versionsort64.c: File removed.
9809 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
9810 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
9811 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
9812 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
9813 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
9814 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
9815 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
9816 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
9817
9818 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
9819 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9820 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
9821 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9822 [defined __arch64__ || defined __sparcv9]
9823 (__INO_T_MATCHES_INO64_T): New macro.
9824 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9825 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
9826 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
9827 * sysdeps/unix/sysv/linux/bits/dirent.h
9828 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
9829 (_DIRENT_MATCHES_DIRENT64): New macro.
9830
03af9520
RM
9831 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
9832 Define lockf64 as an alias.
9833 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
9834 Define fseeko64 as an alias.
9835 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
9836 Define ftello64 as an alias.
9837 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
9838 Define _IO_fgetpos64 and fgetpos64 as aliases.
9839 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
9840 Define _IO_fsetpos64 and fsetpos64 as aliases.
9841 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
9842 Conditionalize body on this.
9843 * libio/fseeko64.c: Likewise.
9844 * libio/ftello64.c: Likewise.
9845 * libio/iofgetpos64.c: Likewise.
9846 * libio/iofsetpos64.c: Likewise.
9847 * sysdeps/wordsize-64/lockf.c: File removed.
9848 * sysdeps/wordsize-64/lockf64.c: File removed.
9849 * sysdeps/wordsize-64/fseeko.c: File removed.
9850 * sysdeps/wordsize-64/fseeko64.c: File removed.
9851 * sysdeps/wordsize-64/ftello.c: File removed.
9852 * sysdeps/wordsize-64/ftello64.c: File removed.
9853 * sysdeps/wordsize-64/iofgetpos.c: File removed.
9854 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
9855 * sysdeps/wordsize-64/iofsetpos.c: File removed.
9856 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
9857 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
9858 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
9859 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
9860 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
9861 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
9862 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
9863 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
9864 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
9865 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
9866 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
9867
9868 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9869 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
9870 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
9871 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
9872 [defined __arch64__ || defined __sparcv9]
9873 (__OFF_T_MATCHES_OFF64_T): New macro.
9874 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
9875 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
9876 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
9877 (__OFF_T_MATCHES_OFF64_T): New macro.
9878
c5757acd
L
98792012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9880
9881 * stdlib/secure-getenv.c (__secure_getenv): Replace
9882 GLIBC_2_16 with GLIBC_2_17.
9883
3a31811e
L
98842012-08-06 H.J. Lu <hongjiu.lu@intel.com>
9885
9886 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
9887 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
9888
faa2bccb
DM
98892012-08-03 David S. Miller <davem@davemloft.net>
9890
9891 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9892
85fe1997
JM
98932012-08-03 Joseph Myers <joseph@codesourcery.com>
9894
9895 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
9896 Remove.
9897 (__ASSUME_CORRECT_SI_PID): Likewise.
9898 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
9899 (__ASSUME_TMPFS_NAME): Likewise.
9900 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
9901 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
9902 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
9903 (HAVE_AUX_SECURE): Make definition unconditional.
9904 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
9905 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
9906
4f75b7a0
RM
99072012-08-03 Roland McGrath <roland@hack.frob.com>
9908
9909 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
9910 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
9911 * sysdeps/mach/hurd/eloop-threshold.h: New file.
9912 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
9913 __eloop_threshold instead of SYMLOOP_MAX.
9914
9915 * sysdeps/generic/eloop-threshold.h: New file.
9916 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
9917 of MAXSYMLINKS.
9918 * elf/chroot_canon.c (chroot_canon): Likewise.
9919
7aab07e4
JM
99202012-08-03 Joseph Myers <joseph@codesourcery.com>
9921
9922 [BZ #13717]
9923 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
9924 Change to 2.6.0 everywhere.
9925 * sysdeps/unix/sysv/linux/configure: Regenerated.
9926 * sysdeps/unix/sysv/linux/kernel-features.h
9927 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
9928 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
9929 kernel versions.
9930 (__ASSUME_POSIX_TIMERS): Define unconditionally.
9931 (__ASSUME_FUTEX_REQUEUE): Remove.
9932 (__ASSUME_STATFS64): Define unconditionally.
9933 (__ASSUME_AT_SECURE): Likewise.
9934 (__ASSUME_CORRECT_SI_PID): Likewise.
9935 (__ASSUME_TGKILL): Define without depending on kernel version for
9936 i386.
9937 (__ASSUME_UTIMES): Likewise.
9938 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
9939 kernel version.
9940 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
9941 (__ASSUME_TMPFS_NAME): Likewise.
9942 * README: Update reference to Linux kernel versions.
9943
b67e9372
MP
99442012-08-02 Marek Polacek <polacek@redhat.com>
9945
1f529f7d 9946 [BZ# 14150]
b67e9372
MP
9947 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
9948 libc_cv_asm_type_prefix with %.
9949 * configure: Regenerated.
d2441631
RM
9950 * include/libc-symbols.h: Remove comment about
9951 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
9952 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
9953 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
9954 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
9955 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
9956 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
9957 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
9958 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
9959 * elf/tst-unique2mod1.c: Likewise.
9960 * elf/tst-unique1mod2.c: Likewise.
9961 * elf/tst-unique1mod1.c: Likewise.
9962 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
9963 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
9964 Replace ASM_TYPE_DIRECTIVE with .type.
9965 * sysdeps/s390/s390-64/sysdep.h: Likewise.
9966 * sysdeps/i386/sysdep.h: Likewise.
9967 * sysdeps/x86_64/sysdep.h: Likewise.
9968 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
9969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9970 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 9971 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
9972 * sysdeps/powerpc/powerpc32/sysdep.h:
9973 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
9974 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9975 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9976 * sysdeps/i386/fpu/e_powf.S: Likewise.
9977 * sysdeps/i386/fpu/e_expl.S: Likewise.
9978 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9979 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9980 * sysdeps/i386/fpu/e_pow.S: Likewise.
9981 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9982 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9983 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9984 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9985 * sysdeps/i386/fpu/e_log2.S: Likewise.
9986 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9987 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9988 * sysdeps/i386/fpu/e_powl.S: Likewise.
9989 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9990 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9991 * sysdeps/i386/fpu/e_logl.S: Likewise.
9992 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9993 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9994 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9995 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9996 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9997 * sysdeps/i386/fpu/e_log.S: Likewise.
9998 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9999 * sysdeps/i386/fpu/e_logf.S: Likewise.
10000 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10001 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10002 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10003 * sysdeps/i386/fpu/e_log10.S: Likewise.
10004 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10005 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10006 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10007 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10008 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10009 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
10010 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10011 * sysdeps/i386/i686/strtok.S: Likewise.
10012 * sysdeps/i386/i386-mcount.S: Likewise.
10013 * sysdeps/i386/strtok.S: Likewise.
10014 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
10015 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10016 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10017 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10018 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
10019 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10020 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10021 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10022 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10023 * sysdeps/x86_64/_mcount.S: Likewise.
10024 * sysdeps/x86_64/strtok.S: Likewise.
10025 * sysdeps/sh/_mcount.S: Likewise.
10026
2747bf9a
RM
100272012-08-01 Roland McGrath <roland@hack.frob.com>
10028
10029 * libio/iofopen.c: Include <fcntl.h>.
10030 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
10031 (_IO_fopen64, fopen64): Define as aliases.
10032 * libio/iofopen64.c: Include <fcntl.h>.
10033 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
10034 Conditionalize body on this.
10035 * sysdeps/wordsize-64/iofopen.c: File removed.
10036 * sysdeps/wordsize-64/iofopen64.c: File removed.
10037
3fb791b8
MP
100382012-08-01 Marek Polacek <polacek@redhat.com>
10039
10040 * libc/Makeconfig: Use elf in place of binfmt-subdir.
10041 Use dlfcn directly instead of a variable.
10042 (binfmt-subdir): Do not define.
10043 (dlfcn): Likewise.
10044
a9f1039f
JM
100452012-08-01 Joseph Myers <joseph@codesourcery.com>
10046
23bddc06
JM
10047 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
10048 Remove all definitions.
10049 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
10050 <kernel-features.h>.
10051 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10052 (miss_F_GETOWN_EX): Remove all definitions.
10053 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
10054 macro definition.
10055 [!__ASSUME_FCNTL64]: Remove conditional code.
10056 [__ASSUME_FCNTL64]: Make code unconditional.
10057 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
10058 <kernel-features.h>.
10059 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
10060 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
10061 (lockf64) [__NR_fcntl64]: Make code unconditional.
10062 (lockf64) [__ASSUME_FCNTL64]: Likewise.
10063
a9f1039f
JM
10064 * sysdeps/unix/sysv/linux/kernel-features.h
10065 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
10066 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
10067 Make code unconditional.
10068 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10069 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
10071 [__NR_vfork]: Make code unconditional.
10072 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10073 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
10075 [__NR_vfork]: Make code unconditional.
10076 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
10077 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
10078
09c0ee5f
RM
100792012-08-01 Roland McGrath <roland@hack.frob.com>
10080
48aec5b9
RM
10081 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
10082 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
10083
cd97c966
RM
10084 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10085 Define mkstemp64 as an alias.
3f55550c
RM
10086 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10087 Define mkstemps64 as an alias.
cd97c966
RM
10088 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10089 Define mkostemp64 as an alias.
b8625cfc
RM
10090 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
10091 Define mkostemps64 as an alias.
cd97c966
RM
10092 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
10093 Conditionalize body on this.
10094 * misc/mkostemp64.c: Likewise.
b8625cfc 10095 * misc/mkostemps64.c: Likewise.
3f55550c 10096 * misc/mkstemps64.c: Likewise.
cd97c966
RM
10097 * sysdeps/wordsize-64/mkstemp64.c: File removed.
10098 * sysdeps/wordsize-64/mkostemp64.c: File removed.
10099 * sysdeps/wordsize-64/mkostemp.c: File removed.
10100 * sysdeps/wordsize-64/mkstemp.c: File removed.
10101 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
10102 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
10103 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
10104 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
10105
09c0ee5f
RM
10106 [BZ #14138]
10107 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
10108 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
10109 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
10110 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
10111
10112 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
10113 compat_symbol macros from <shlib-compat.h> rather than the underlying
10114 default_symbol_version and symbol_version macros, so that DEFAULT
10115 lines in shlib-versions are respected.
10116 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
10117
7e66ee51
FW
101182012-08-01 Florian Weimer <fweimer@redhat.com>
10119
10120 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
10121 Declare with warn_unused_result.
10122 (setgid, setregid, setegid, setresgid): Likewise.
10123 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
10124 Likewise.
10125 * WUR-REPORT: Remove set*id functions.
10126
d2a54255
PT
101272012-07-31 Pino Toscano <toscano.pino@tiscali.it>
10128
10129 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
10130
7ecdb005
RM
101312012-07-31 Roland McGrath <roland@hack.frob.com>
10132
789bd351
RM
10133 * include/sys/socket.h (__libc_accept, __libc_accept4):
10134 Add attribute_hidden.
10135 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
10136
40ce302d
RM
10137 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
10138 use of PTR_MANGLE.
10139 * inet/getnetgrent_r.c (setup): Likewise.
10140
7ecdb005
RM
10141 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
10142
e2eabb2c
DM
101432012-07-31 David S. Miller <davem@davemloft.net>
10144
10145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10146
d0419dbf
JM
101472012-07-31 Joseph Myers <joseph@codesourcery.com>
10148
10149 [BZ #13629]
10150 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
10151 value between 1.0 and 2.0 and smaller part has absolute value less
10152 than 1.0.
10153 * math/s_clog10.c (__clog10): Likewise.
10154 * math/s_clog10f.c (__clog10f): Likewise.
10155 * math/s_clog10l.c (__clog10l): Likewise.
10156 * math/s_clogf.c (__clogf): Likewise.
10157 * math/s_clogl.c (__clogl): Likewise.
10158 * math/libm-test.inc (clog_test): Add more tests.
10159 (clog10_test): Likewise.
10160 * sysdeps/i386/fpu/libm-test-ulps: Update.
10161 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10162
2bc13872
FW
101632012-07-31 Florian Weimer <fweimer@redhat.com>
10164
10165 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
10166 Exit with zero in case no suitable GID is found, and write a
10167 message to standard error.
10168
bea9b193
RM
101692012-07-30 Roland McGrath <roland@hack.frob.com>
10170
10171 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
10172 rather than to 1.
10173 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
10174 (MAXPATHLEN): Removed.
10175 (NOGROUP, NODEV): New macros.
10176 (setbit, clrbit, isset, isclr): New macros.
10177 (howmany, roundup, powerof2): New macros.
10178 (DEV_BSIZE): New macro.
10179
10180 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
10181 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
10182
10183 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
10184 definition on [!__NO_LONG_DOUBLE_MATH].
10185
10186 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
10187 PTR_MANGLE and PTR_DEMANGLE.
10188
10189 * socket/accept4.c (accept4): Rename to __libc_accept4.
10190 Define accept4 as a weak alias.
10191
10192 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
10193 on [_DIRENT_HAVE_D_TYPE].
10194 * io/ftw.c (ftw_dir): Likewise.
10195
10196 * io/xmknod.c (__xmknod): Don't check PATH for being null.
10197
10198 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
10199
10200 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
10201 Use the BSD numbers rather than the arbitrary ones we had.
10202 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
10203 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
10204 (SIGXCPU, SIGXFSZ): New macros.
10205 (_NSIG): Now 32.
10206
10207 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
10208 initializer on [_LIBC_REENTRANT].
10209
10210 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
10211 definitions inside [_POSIX_MAPPED_FILES].
10212
10213 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
10214
10215 * dirent/opendir.c: Include <fcntl.h>.
10216
10217 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
10218 (__libc_getspecific): Likewise.
10219 (__libc_key_create): Likewise.
10220
10221 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
10222 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
10223 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
10224 (tmpfile64): Define as alias.
10225 * sysdeps/wordsize-64/tmpfile.c: File removed.
10226 * sysdeps/wordsize-64/tmpfile64.c: File removed.
10227 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
10228 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
10229
10230 * stdio-common/vfscanf.c: Include <stdbool.h>.
10231 * nss/makedb.c: Likewise.
10232 * stdio-common/_i18n_number.h: Likewise.
10233 * argp/argp-help.c: Likewise.
10234 * posix/wordexp.c: Likewise.
10235 * sysdeps/posix/spawni.c: Likewise.
10236 * nss/nss_files/files-initgroups.c: Likewise.
10237 * stdio-common/reg-modifier.c: Include <stdlib.h>.
10238 * nss/nss_files/files-initgroups.c: Likewise.
10239 * nss/nss_db/db-netgrp.c: Likewise.
10240 * nss/nss_db/db-initgroups.c: Likewise.
10241 * io/fchmodat.c: Include <sys/stat.h>.
10242
10243 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
10244 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
10245
10246 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
10247 [HAVE_MMAP].
10248
10249 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
10250 Add multiple inclusion protection.
10251
e5abc686
DM
102522012-07-27 David S. Miller <davem@davemloft.net>
10253
10254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10255
815e6fa3
GB
102562012-07-27 Gary Benson <gbenson@redhat.com>
10257
10258 [BZ #14298]
10259 * elf/rtld.c: Include <stap-probe.h>.
10260 (dl_main): Added static probes "init_start" and "init_complete".
10261 * elf/dl-load.c: Include <stap-probe.h>.
10262 (lose): Take new parameter "nsid".
10263 Added static probe "map_failed".
10264 (_dl_map_object_from_fd): Pass namespace id to lose.
10265 Added static probe "map_start".
10266 (open_verify): Pass namespace id to lose.
10267 * elf/dl-open.c: Include <stap-probe.h>.
10268 (dl_open_worker) Added static probes "map_complete", "reloc_start"
10269 and "reloc_complete".
10270 * elf/dl-close.c: Include <stap-probe.h>.
10271 (_dl_close_worker): Added static probes "unmap_start" and
10272 "unmap_complete".
10273 * elf/rtld-debugger-interface.txt: New file documenting the above.
10274
9f98c16c
RM
102752012-07-26 Roland McGrath <roland@hack.frob.com>
10276
10277 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
10278 rather than a string variable.
10279 * sunrpc/rpc_main.c (h_output): Likewise.
10280 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
10281
f3c22df3
PT
102822012-07-26 Pino Toscano <toscano.pino@tiscali.it>
10283
10284 * inet/check_native.c: New file.
10285
3129cfc6
JM
102862012-07-26 Joseph Myers <joseph@codesourcery.com>
10287
da865e95
JM
10288 [BZ #13629]
10289 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
10290 if larger part has absolute value 1.0.
10291 * math/s_clog10.c (__clog10): Likewise.
10292 * math/s_clog10f.c (__clog10f): Likewise.
10293 * math/s_clog10l.c (__clog10l): Likewise.
10294 * math/s_clogf.c (__clogf): Likewise.
10295 * math/s_clogl.c (__clogl): Likewise.
10296 * math/libm-test.inc (clog_test): Add more tests.
10297 (clog10_test): Likewise.
10298 * sysdeps/i386/fpu/libm-test-ulps: Update.
10299 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10300
3129cfc6
JM
10301 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
10302 (pltexit): Likewise.
10303 (La_regs): Likewise.
10304 (La_retval): Likewise.
10305 (int_retval): Likewise.
10306 Update #error for removed macros to refer only to definitions in
10307 tst-audit.h.
10308 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
10309 macro.
10310 (pltexit): Likewise.
10311 (La_regs): Likewise.
10312 (La_retval): Likewise.
10313 (int_retval): Likewise.
10314 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
10315 macro.
10316 (pltexit): Likewise.
10317 (La_regs): Likewise.
10318 (La_retval): Likewise.
10319 (int_retval): Likewise.
10320 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
10321 macro.
10322 (pltexit): Likewise.
10323 (La_regs): Likewise.
10324 (La_retval): Likewise.
10325 (int_retval): Likewise.
10326 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
10327 macro.
10328 (pltexit): Likewise.
10329 (La_regs): Likewise.
10330 (La_retval): Likewise.
10331 (int_retval): Likewise.
10332 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
10333 macro.
10334 (pltexit): Likewise.
10335 (La_regs): Likewise.
10336 (La_retval): Likewise.
10337 (int_retval): Likewise.
10338 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
10339 macro.
10340 (pltexit): Likewise.
10341 (La_regs): Likewise.
10342 (La_retval): Likewise.
10343 (int_retval): Likewise.
10344 * sysdeps/generic/tst-audit.h: Update comment to refer only to
10345 macro definitions in tst-audit.h.
10346 * sysdeps/i386/tst-audit.h: New file.
10347 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
10348 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
10349 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
10350 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
10351 * sysdeps/sh/tst-audit.h: Likewise.
10352 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
10353 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
10354 * sysdeps/x86_64/tst-audit.h: Likewise.
10355
bfc07087
AJ
103562012-07-26 Andreas Jaeger <aj@suse.de>
10357
b1b2aaf8
AJ
10358 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
10359 ptrace.
10360
10361 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
10362 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
10363 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
10364 PTRACE_O_MASK.
10365 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
10366 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
10367 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
10368
bfc07087
AJ
10369 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
10370 value.
10371
10372 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
10373 _sigsys.
10374 (si_call_addr, si_syscall, si_arch): Define new macro.
10375 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
10376 _sigsys.
10377 (si_call_addr, si_syscall, si_arch): Define new marcro.
10378 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
10379 _sigsys.
10380 (si_call_addr, si_syscall, si_arch): Define new macro.
10381 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
10382 _sigsys.
10383 (si_call_addr, si_syscall, si_arch): Define new macro.
10384
89b4b02f
JM
103852012-07-25 Joseph Myers <joseph@codesourcery.com>
10386
10387 [BZ #13717]
10388 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10389 Change to 2.4.21 where previously 2.4.1.
10390 * sysdeps/unix/sysv/linux/configure: Regenerated.
10391 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
10392 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
10393 Linux kernel version.
10394 (__ASSUME_STD_AUXV): Remove.
10395 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
10396 kernel version.
10397 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
10398 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
10399 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
10400 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
10401 (__ASSUME_NETLINK_SUPPORT): Likewise.
10402 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
10403 (__no_netlink_support): Remove conditional definition.
10404 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
10405 Remove.
10406 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10407 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
10408 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
10409 (if_nameindex_ioctl): Remove.
10410 (if_nameindex_netlink): Do not handle __no_netlink_support.
10411 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10412 code.
10413 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
10414 Remove conditional code.
10415 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
10416 code.
10417 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
10418 unconditional.
10419 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
10420 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
10421 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
10422 Remove.
10423 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
10424 [!__ASSUME_STD_AUXV]: Remove conditional code.
10425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
10426 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
10427 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
10428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
10429 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
10430 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10431 code.
10432 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
10434 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
10435 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10436 conditional code.
10437 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
10438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
10439 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
10440 code.
10441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
10442 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
10443 conditional code.
10444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
10445 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10446 code unconditional.
10447 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10448 conditional code.
10449 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10450 unconditional.
10451 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10452 conditional code.
10453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10454 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10455 unconditional.
10456 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10457 conditional code.
10458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
10459 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10460 code unconditional.
10461 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10462 conditional code.
10463 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10464 unconditional.
10465 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10466 conditional code.
10467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
10468 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
10469 code unconditional.
10470 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10471 conditional code.
10472 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
10473 unconditional.
10474 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
10475 conditional code.
10476
842a39cd
AS
104772012-07-25 Andreas Schwab <schwab@linux-m68k.org>
10478
10479 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
10480 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
10481 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10482 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
10483 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
10484 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10485 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10486 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
10487 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
10488 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
10489 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
10490 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
10491 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
10492 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10493 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
10494 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
10495 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
10496 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
10497 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
10498 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
10499 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
10500 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
10501 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
10502
84b3fd84
FW
105032012-07-25 Florian Weimer <fweimer@redhat.com>
10504
10505 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
10506 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
10507 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
10508 Introduce __libc_secure_getenv.
0c7936d5
FW
10509 * stdlib/Versions (2.17): Add secure_getenv
10510 (GLIBC_PRIVATE): Add __libc_secure_getenv.
10511 * stdlib/secure-getenv.c: Rename __secure_getenv to
10512 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
10513 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
10514 * stdlib/tst-secure-getenv.c: New.
10515 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
10516 * manual/startup.texi (Environment Access): Document
10517 secure_getenv.
84b3fd84
FW
10518 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
10519 __libc_secure_getenv.
10520 * inet/ruserpass.c (ruserpass): Likewise.
10521 * malloc/mtrace.c (mtrace): Likewise.
10522 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 10523 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
10524 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
10525 * sysdeps/posix/tempname.c: Likewise. Evaluate
10526 HAVE_SECURE_GETENV.
10527 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 10528 __secure_getenv to __libc_secure_getenv.
84b3fd84 10529 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
10530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10531 Likewise.
10532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10533 Likewise.
10534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10535 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10536 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10538 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10539 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 10541
56e49b71
JM
105422012-07-25 Joseph Myers <joseph@codesourcery.com>
10543
10544 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
10545 (struct La_i86_retval): Likewise.
10546 (struct La_x86_64_regs): Likewise.
10547 (struct La_x86_64_retval): Likewise.
10548 (struct La_x32_regs): Likewise.
10549 (struct La_x32_retval): Likewise.
10550 (struct La_ppc32_regs): Likewise.
10551 (struct La_ppc32_retval): Likewise.
10552 (struct La_ppc64_regs): Likewise.
10553 (struct La_ppc64_retval): Likewise.
10554 (struct La_sh_regs): Likewise.
10555 (struct La_sh_retval): Likewise.
10556 (struct La_s390_32_regs): Likewise.
10557 (struct La_s390_32_retval): Likewise.
10558 (struct La_s390_64_regs): Likewise.
10559 (struct La_s390_64_retval): Likewise.
10560 (struct La_sparc32_regs): Likewise.
10561 (struct La_sparc32_retval): Likewise.
10562 (struct La_sparc64_regs): Likewise.
10563 (struct La_sparc64_retval): Likewise.
10564 (struct audit_ifaces): Remove architecture-specific pltenter and
10565 pltexit members.
10566 * sysdeps/i386/ldsodefs.h: New file.
10567 * sysdeps/powerpc/ldsodefs.h: Likewise.
10568 * sysdeps/s390/ldsodefs.h: Likewise.
10569 * sysdeps/sh/ldsodefs.h: Likewise.
10570 * sysdeps/sparc/ldsodefs.h: Likewise.
10571 * sysdeps/x86_64/ldsodefs.h: Likewise.
10572
354691b7
MP
105732012-07-25 Marek Polacek <polacek@redhat.com>
10574
10575 [BZ #6808]
10576 * math/libm-test.inc (yn_test): Add another test.
10577 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
10578 to ERANGE when the result is +-Inf.
10579 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10580 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
10581 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
10582 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
10583
bf9e2071
JM
105842012-07-24 Joseph Myers <joseph@codesourcery.com>
10585
10586 * conform/data/time.h-data (NULL): Use macro-constant. Require
10587 equal to 0.
10588 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
10589 clock_t.
10590 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
10591
57633811
TS
105922012-07-23 Thomas Schwinge <thomas@codesourcery.com>
10593
10594 * configure.in <sysdeps resolving>: Correct printing
10595 Implies_before.
10596 * configure: Regenerate.
10597
c23c33b0
TS
105982012-07-22 Thomas Schwinge <thomas@codesourcery.com>
10599
10600 * math/w_ilogb.c: Include <limits.h>.
10601 * math/w_ilogbl.c: Likewise.
10602
b5982523
JM
106032012-07-20 Joseph Myers <joseph@codesourcery.com>
10604
10605 * manual/lang.texi (__va_copy): Document primarily as ISO C99
10606 va_copy. Document allowing for unavailable va_copy only as
10607 pre-C99 compatibility.
10608 * manual/string.texi (Copying and Concatenation): Use va_copy
10609 instead of __va_copy in concat example.
10610
ac4ea442
PT
106112012-07-20 Pino Toscano <toscano.pino@tiscali.it>
10612
10613 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
10614 (__sendto): Use create_address_port. Initialize APORT and deallocate
10615 it if not null.
10616
f98eafbd
PT
10617 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
10618 with O_NOLINK passed to __file_name_lookup.
10619
898c7aab
PT
10620 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
10621 with O_NOLINK passed to __file_name_lookup.
10622
0ced335a
PT
10623 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
10624 negative N or less than NGIDS.
10625
b3404dbd
PT
10626 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
10627 type to string_t. Set ERANGE as errno and return it if NAME is not big
10628 enough. Use memcpy instead of strncpy.
10629
0f48659e
JM
106302012-07-20 Joseph Myers <joseph@codesourcery.com>
10631
10632 * elf/Makefile (check-data): Remove.
10633 (localplt.data): New vpath directive.
10634 ($(objpfx)check-localplt.out): Use localplt.data from vpath
10635 instead of $(check-data).
10636 * scripts/data/localplt-generic.data: Move to ...
10637 * sysdeps/generic/localplt.data: ... here.
10638 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
10639 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
10640 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
10641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10642 ... here.
10643 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
10644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10645 ... here.
10646 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
10647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
10648 ... here.
10649 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
10650 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10651 ... here.
10652 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
10653 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
10654 ... here.
10655 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
10656 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
10657 ... here.
10658
d37cbdaa
AZ
106592012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10660
10661 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
10662 PPC32 and PPC64 files.
10663 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
10664 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
10665
46f85fc2
AK
106662012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10667
10668 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
10669 __makecontext_ret to ...
10670 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
10671 ... here and call exit if uc_link is NULL. New file.
10672 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
10673 __makecontext_ret.S.
10674 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
10675 __makecontext_ret to ...
10676 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
10677 ... here and call exit if uc_link is NULL. New file.
10678 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
10679 __makecontext_ret.S.
10680
08f43f9b
AK
106812012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10682
10683 * elf/elf.h (R_390_IRELATIVE): New definition.
10684 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
10685 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
10686 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
10687 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10688 (elf_machine_lazy_rel): Likewise.
10689 * sysdeps/s390/dl-irel.h: New file.
10690 * sysdeps/s390/s390-64/memcpy.S: New asm code.
10691 * sysdeps/s390/s390-64/memset.S: New asm code.
10692 * sysdeps/s390/s390-64/memcmp.S: New asm code.
10693 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
10694 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
10695 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
10696 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
10697 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
10698 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
10699 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
10700 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
10701 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
10702 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
10703 * sysdeps/s390/s390-32/memcpy.S: New asm code.
10704 * sysdeps/s390/s390-32/memset.S: New asm code.
10705 * sysdeps/s390/s390-32/memcmp.S: New asm code.
10706
3b05db33
MP
107072012-07-17 Marek Polacek <polacek@redhat.com>
10708
10709 [BZ #14349]
10710 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
10711 * sysdeps/s390/s390-64/configure.in: Likewise.
10712 * sysdeps/sparc/configure.in: Likewise.
10713 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
10714 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
10715 * sysdeps/i386/configure.in: Likewise.
10716 * sysdeps/x86_64/configure.in: Likewise.
10717 * sysdeps/sh/configure.in: Likewise.
10718 * sysdeps/s390/s390-32/configure: Regenerated.
10719 * sysdeps/s390/s390-64/configure: Likewise.
10720 * sysdeps/x86_64/configure: Likewise.
10721 * sysdeps/sh/configure: Likewise.
10722 * sysdeps/powerpc/powerpc64/configure: Likewise.
10723 * sysdeps/powerpc/powerpc32/configure: Likewise.
10724 * sysdeps/sparc/configure: Likwise.
10725 * sysdeps/i386/configure: Likewise.
10726
a66877c6
MP
10727 * elf/dl-open.c: Comment fixes.
10728
cfc82fd8
JM
107292012-07-17 Joseph Myers <joseph@codesourcery.com>
10730
bd29910a
JM
10731 * Makefile [CXX] (check-data): Remove.
10732 [CXX] (c++-types.data): New vpath directive.
10733 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
10734 vpath. Do not allow for C++ type data being missing.
10735 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
10736 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
10737 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
10738 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
10739 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
10740 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
10741 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
10742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10743 ... here.
10744 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
10745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10746 ... here.
10747 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
10748 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
10749 ... here.
10750 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
10751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
10752 ... here.
10753 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
10754 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
10755 ... here.
10756 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
10757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
10758 ... here.
10759 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
10760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
10761 ... here.
10762 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
10763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
10764
cfc82fd8
JM
10765 * elf/tls-macros.h (TLS_LE): Move architecture-specific
10766 definitions to architecture-specific files.
10767 (TLS_IE): Likewise.
10768 (TLS_LD): Likewise.
10769 (TLS_GD): Likewise.
10770 * sysdeps/i386/tls-macros.h: New file.
10771 * sysdeps/powerpc/tls-macros.h: Likewise.
10772 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
10773 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
10774 * sysdeps/sh/tls-macros.h: Likewise.
10775 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
10776 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
10777 * sysdeps/x86_64/tls-macros.h: Likewise.
10778
f7db3170
TS
107792012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10780
07cbfc23
TS
10781 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
10782 zero value for regular exit case.
10783
f7db3170
TS
10784 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10785 (__start_context): Preserve zero value for regular exit case.
10786
dc97c227
TS
107872012-07-17 Thomas Schwinge <thomas@codesourcery.com>
10788 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10789
10790 * manual/setjmp.texi (setcontext): Clarify normal process
10791 termination when uc_link is the null pointer.
10792 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
10793 exit call.
10794
d0cd7d02
AS
107952012-07-16 Andreas Schwab <schwab@linux-m68k.org>
10796
10797 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
10798 preprocessor. Test for each exception mask separately.
10799
dd318934
AJ
108002012-07-16 Andreas Jaeger <aj@suse.de>
10801
10802 * po/ru.po: Update from translation team.
10803
8048311a
JM
108042012-07-15 Joseph Myers <joseph@codesourcery.com>
10805
10806 * conform/data/string.h-data (NULL): Use macro-constant. Require
10807 equal to 0.
10808 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
10809 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
10810 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
10811 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
10812 [ISO || ISO99 || ISO11] (*_t): Do not allow.
10813
b637d46e
AJ
108142012-07-13 Andreas Jaeger <aj@suse.de>
10815
10816 * po/fr.po: Update from translation team.
10817
541428fe
MP
108182012-07-12 Marek Polacek <polacek@redhat.com>
10819
10820 [BZ #14173]
10821 * math/libm-test.inc (yn_test): Add test for BZ #14173.
10822 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
10823 loop condition.
10824
ec332e94
JM
108252012-07-12 Joseph Myers <joseph@codesourcery.com>
10826
10827 [BZ #13717]
10828 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
10829 Change to 2.4.1 where previously 2.4.0.
10830 * sysdeps/unix/sysv/linux/configure: Regenerated.
10831 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
10832 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
10833 version.
10834 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
10835 (__ASSUME_AT_CLKTCK): Remove.
10836 (__ASSUME_AT_PAGESIZE): Likewise.
10837 (__ASSUME_AT_XID): Likewise.
10838 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
10839 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
10840 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
10841 unconditionally.
10842 (HAVE_AUX_PAGESIZE): Likewise.
10843 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
10844 [__ASSUME_AT_CLKTCK]: Make code unconditional.
10845 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
10846
7b6e99be
JB
108472012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
10848
10849 [BZ #14307]
10850 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
10851 the temporary buffer used to invoke __gethostbyname2_r,
10852 __gethostbyaddr_r and gethostbyname4_r to make room for struct
10853 host_data / struct gaih_addrtuple.
10854 * resolv/nss_dns/dns-host.c (global scope): Move definition of
10855 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
10856 header file nss/nsswitch.h.
10857 * nss/nsswitch.h (global scope): Add definition of implementation
10858 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
10859 resolv/nss_dns/dns-host.c).
10860
608404eb
AJ
108612012-07-11 Andreas Jaeger <aj@suse.de>
10862
10863 * po/fr.po: Update from translation team.
10864
71220aca
AJ
10865 * po/sv.po: Update from translation team
10866 * po/fr.po: Another update from translation team.
10867
28cfe843
AZ
108682012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10869
10870 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
10871 for subnormals or multiply small sinh result by itself.
10872 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
10873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10874
6b90f981
DM
108752012-07-11 David S. Miller <davem@davemloft.net>
10876
10877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10878
c6825772
AS
108792012-07-10 Andreas Schwab <schwab@linux-m68k.org>
10880
10881 [BZ #14347]
10882 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
10883 (INTERNAL_MARK): Shift it here.
10884
7b8e0d49
MP
108852012-07-10 Marek Polacek <polacek@redhat.com>
10886
10887 [BZ #14151]
10888 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
10889 libc_cv_asm_global_directive with .globl.
10890 * configure: Regenerated.
10891 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
10892 with .globl.
10893 * sysdeps/i386/configure: Regenerated.
10894 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
10895 with .globl.
10896 * sysdeps/x86_64/configure: Regenerated.
10897 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
10898 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
10899 * elf/tst-unique2mod2.c: Likewise.
10900 * elf/tst-unique2mod1.c: Likewise.
10901 * elf/tst-unique1mod2.c: Likewise.
10902 * elf/tst-unique1mod1.c: Likewise.
10903 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10904 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
10905 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10906 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
10907 * sysdeps/mach/sysdep.h: Likewise.
10908 * sysdeps/i386/sysdep.h: Likewise.
10909 * sysdeps/i386/i386-mcount.S: Likewise.
10910 * sysdeps/x86_64/_mcount.S: Likewise.
10911 * sysdeps/x86_64/sysdep.h: Likewise.
10912 * sysdeps/sh/_mcount.S: Likewise.
10913 * sysdeps/sh/sysdep.h: Likewise.
10914 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
10915 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
10916 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
10917 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10918 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
10919 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
10920 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
10921 * locale/localeinfo.h: Likewise.
10922 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
10923 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
10924
6c55cda3
RM
109252012-07-09 Roland McGrath <roland@hack.frob.com>
10926
10927 [BZ #14336]
10928 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
10929 system".
10930 * manual/message.texi (The Uniforum approach): Likewise.
10931 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
10932 (glibc iconv Implementation): Likewise.
10933
638a572e
JM
109342012-07-09 Joseph Myers <joseph@codesourcery.com>
10935
10936 [BZ #14337]
10937 * math/s_clog.c (__clog): Avoid scaling a value down where that
10938 could result in underflow.
10939 * math/s_clog10.c (__clog10): Likewise.
10940 * math/s_clog10f.c (__clog10f): Likewise.
10941 * math/s_clog10l.c (__clog10l): Likewise.
10942 * math/s_clogf.c (__clogf): Likewise.
10943 * math/s_clogl.c (__clogl): Likewise.
10944 * math/libm-test.inc (clog_test): Add more tests.
10945 (clog10_test): Likewise.
10946 * sysdeps/i386/fpu/libm-test-ulps: Update.
10947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10948
261f4859
AS
109492012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10950
0abaf3e4
AS
10951 [BZ #14283]
10952 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
10953 by 7 not 8 to examine high bit of fractional part.
10954
261f4859
AS
10955 [BZ #14042]
10956 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
10957 for call to __mcount_internal.
10958 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
10959 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
10960 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
10961
f17ac40d
JM
109622012-07-06 Joseph Myers <joseph@codesourcery.com>
10963
9ad63c23
JM
10964 [BZ #14154]
10965 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
10966 approximation for values within 0x1p-13f of an odd multiple of
10967 pi/4.
10968 * math/libm-test.inc (tan_test): Do not allow spurious underflow
10969 exception. Add more tests.
10970 * sysdeps/i386/fpu/libm-test-ulps: Update.
10971
f17ac40d
JM
10972 [BZ #6778]
10973 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
10974 inputs and return -1 for them. Do not check for +Inf in case not
10975 reachable for +Inf.
10976 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10977 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
10978 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10979 and return -1 for them. Do not check for +Inf in case not
10980 reachable for +Inf.
10981 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
10982 define.
10983 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
10984 and return -1 for them. Do not check for +Inf in case not
10985 reachable for +Inf.
10986 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
10987 spurious underflow.
10988 * sysdeps/i386/fpu/libm-test-ulps: Update.
10989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10990
fb21f89b
MF
109912012-07-06 Mike Frysinger <vapier@gentoo.org>
10992
10993 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
10994
cdfe2c5e
JM
109952012-07-05 Joseph Myers <joseph@codesourcery.com>
10996
10997 [BZ #14157]
10998 [BZ #14331]
10999 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
11000 could result in spurious underflow. Scale down values above
11001 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
11002 * math/s_csqrtf.c (__csqrtf): Likewise.
11003 * math/s_csqrtl.c (__csqrtl): Likewise.
11004 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
11005 spurious underflow.
11006 * sysdeps/i386/fpu/libm-test-ulps: Update.
11007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11008
70d35b67
AS
110092012-07-04 Andreas Schwab <schwab@linux-m68k.org>
11010
704bc459
AS
11011 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
11012 xopen-msg.sed.
11013 * catgets/xopen-msg.awk: New file.
11014 * catgets/xopen-msg.sed: Removed.
11015
70d35b67
AS
11016 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
11017 po2text.sed.
11018 * intl/po2test.awk: New file.
11019 * intl/po2test.sed: Removed.
11020
ca61cf32
JM
110212012-07-04 Joseph Myers <joseph@codesourcery.com>
11022
11023 [BZ #14328]
11024 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
11025 or multiply small sinh result by itself.
11026 * math/s_ctanf.c (__ctanf): Likewise.
11027 * math/s_ctanh.c (__ctanh): Likewise.
11028 * math/s_ctanhf.c (__ctanhf): Likewise.
11029 * math/s_ctanhl.c (__ctanhl): Likewise.
11030 * math/s_ctanl.c (__ctanl): Likewise.
11031 * math/libm-test.inc (ctan_test_tonearest): New function.
11032 (ctan_test_towardzero): Likewise.
11033 (ctan_test_downward): Likewise.
11034 (ctan_test_upward): Likewise.
11035 (ctanh_test_tonearest): Likewise.
11036 (ctanh_test_towardzero): Likewise.
11037 (ctanh_test_downward): Likewise.
11038 (ctanh_test_upward): Likewise.
11039 (main): Call these new functions.
11040 * sysdeps/i386/fpu/libm-test-ulps: Update.
11041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11042
ca48a46a
MF
110432012-07-03 Mike Frysinger <vapier@gentoo.org>
11044
11045 * .gitignore: Delete /ports entry.
11046
9d63d37d
AJ
110472012-07-03 Andreas Jaeger <aj@suse.de>
11048
11049 * po/bg.po: Update from translation team.
11050 * po/cs.po: Likewise.
11051 * po/de.po: Likewise.
11052 * po/hr.po: Likewise.
11053 * po/nl.pl: Likewise.
11054 * po/pl.po: Likewise.
11055 * po/vi.po: Likewise.
11056
370ca3d2
JM
110572012-07-03 Joseph Myers <joseph@codesourcery.com>
11058
95f5a9a8
JM
11059 * Makeconfig [!+link] (+link-before-libc): New variable.
11060 [!+link] (+link-after-libc): Likewise.
11061 [!+link] (+link-tests): Likewise.
11062 [!+link] (+link): Define in terms of $(+link-before-libc) and
11063 $(+link-after-libc).
11064 [!+link-static] (+link-static-before-libc): New variable.
11065 [!+link-static] (+link-static-after-libc): Likewise.
11066 [!+link-static] (+link-static-tests): Likewise.
11067 [!+link-static] (+link-static): Define in terms of
11068 $(+link-static-before-libc) and $(+link-static-after-libc).
11069 [build-shared] (link-libc-before-gnulib): New variable.
11070 [build-shared] (link-libc-tests): Likewise.
11071 [build-shared] (link-libc): Define in terms of
11072 $(link-libc-before-gnulib).
11073 [!build-shared] (link-libc-tests): New variable.
11074 (link-libc-static-tests): New variable.
11075 [!gnulib] (gnulib-arch): New variable.
11076 [!gnulib] (gnulib-tests): Likewise.
11077 [!gnulib] (static-gnulib-arch): Likewise.
11078 [!gnulib] (static-gnulib-tests): Likewise.
11079 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
11080 Define with "=" instead of ":=".
11081 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
11082 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
11083 * Rules (binaries-all-notests): New variable.
11084 (binaries-all-tests): Likewise.
11085 (binaries-static-notests): Likewise.
11086 (binaries-static-tests): Likewise.
11087 (binaries-all): Define using $(binaries-all-notests) and
11088 $(binaries-all-tests).
11089 (binaries-static): Define using $(binaries-static-notests) and
11090 $(binaries-static-tests).
11091 (binaries-shared-tests): New variable.
11092 (binaries-shared-notests): Likewise.
11093 (binaries-shared): Remove variable.
11094 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
11095 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
11096 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
11097 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
11098 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
11099 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
11100 * elf/Makefile (sln-modules): New variable.
11101 (extra-objs): Add $(sln-modules:=.o).
11102 (ldconfig-modules): Add static-stubs.
11103 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
11104 * elf/static-stubs.c: New file.
11105
7a845b2c
JM
11106 [BZ #14283]
11107 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
11108 by 7 not 8 to examine high bit of fractional part. Use volatile
11109 variables when splitting into final array of floats if
11110 __FLT_EVAL_METHOD__ != 0.
11111 * math/libm-test.inc (cos_test): Add another test.
11112 (sin_test): Likewise.
11113 * sysdeps/i386/fpu/libm-test-ulps: Update.
11114
e2283f38
JM
11115 [BZ #14273]
11116 * math/libm-test.inc (cosh_test): Add more tests.
11117
370ca3d2
JM
11118 * version.h (RELEASE): Set to "development".
11119 (VERSION): Set to "2.16.90".
11120
ee9247c3
CD
111212012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
11122
11123 * NEWS: Update copyright. Remove last-updated date.
11124 Mention math library bug fixes and timezone data changes.
11125 * README: Mention GNU/Hurd, x32, and HPPA support status.
11126
4648c381
TS
111272012-06-28 Thomas Schwinge <thomas@codesourcery.com>
11128
11129 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
11130
aac78a43
AJ
111312012-06-27 Andreas Jaeger <aj@suse.de>
11132
11133 * manual/contrib.texi (Contributors): Add Samuel Thibault.
11134
ed3dbfad
AJ
111352012-06-25 Andreas Jaeger <aj@suse.de>
11136
11137 * sysdeps/s390/fpu/libm-test-ulps: Update.
11138
4d0ee855
AS
111392012-06-23 Andreas Schwab <schwab@linux-m68k.org>
11140 Thomas Schwinge <thomas@codesourcery.com>
11141
11142 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
11143 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
11144 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
11145 fanotify_mark.
11146
af1bce34
TS
111472012-06-23 Thomas Schwinge <thomas@codesourcery.com>
11148
a9fa33ba
TS
11149 * sysdeps/mach/start.c: Remove file.
11150 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
11151 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
11152 * sysdeps/sh/init-first.c: Likewise.
11153
58f902b8
TS
11154 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
11155 registers for frame unwinding purposes, add CFI directives.
11156 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11157 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
11158 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
11159 Likewise.
11160
1518f58b
TS
11161 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
11162 __fortify_fail returning.
11163 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
11164
db9b5059
TS
11165 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
11166 sysdeps/sh/____longjmp_chk.S.
11167 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
11168 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
11169 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
11170 (gen-as-const-headers): Append sigaltstack-offsets.sym.
11171
967705fe
TS
11172 * sysdeps/sh/abort-instr.h: New file.
11173 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
11174 process in case exit returns.
11175
a9def8c4
TS
11176 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
11177 initialize the GOT register before use.
11178
2a649725
TS
11179 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
11180 calculation of ARGC > 4.
11181
af1bce34
TS
11182 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
11183 meaningful names to some local labels.
11184
d230f50a
KK
111852012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
11186 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11187
11188 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
11189 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
11190 (__arch_compare_and_exchange_val_16_acq): Likewise.
11191 (__arch_compare_and_exchange_val_32_acq): Likewise.
11192 (atomic_exchange_and_add): Fix gUSA sequence.
11193 (atomic_add): Likewise.
11194 (atomic_add_negative): Likewise.
11195 (atomic_add_zero): Likewise.
11196 (atomic_bit_test_set): Likewise.
11197
0479b305
AS
111982012-06-22 Andreas Schwab <schwab@redhat.com>
11199
11200 [BZ #13579]
11201 * include/link.h (struct link_map): Add l_free_initfini.
11202 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
11203 l_initfini.
11204 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
11205 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
11206 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
11207 set.
11208
0e3933b9
CD
112092012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
11210
11211 * configure.in: Use AC_LANG_SOURCE.
11212 * configure: Regenerate.
11213
4248b1b1
RM
112142012-06-22 Roland McGrath <roland@hack.frob.com>
11215
11216 * configure.in (libc_cv_localstatedir): New substituted variable.
11217 * configure: Regenerated.
11218 * config.make.in (localstatedir): New variable, substituted from
11219 libc_cv_localstatedir.
11220 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
11221 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
11222 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
11223 * sysdeps/gnu/configure: Regenerated.
11224
006dd861
JL
112252012-06-21 Jeff Law <law@redhat.com>
11226
11227 [BZ #14277]
11228 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
11229 free. Simplify list management for _LIBC case.
11230
79662d42
JM
112312012-06-21 Joseph Myers <joseph@codesourcery.com>
11232
b7abb4bf
JM
11233 [BZ #14273]
11234 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
11235 Clear sign bit of 64-bit integer value before comparing against
11236 overflow value.
11237
79662d42
JM
11238 * sysdeps/mach/configure: Regenerated.
11239
1f150908
L
112402012-06-21 H.J. Lu <hongjiu.lu@intel.com>
11241
11242 [BZ #14278]
11243 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
11244
28363bbf
JL
112452012-06-21 Jeff Law <law@redhat.com>
11246
11247 [BZ #13882]
11248 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
11249 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 11250 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
11251 * elf/dl-open.c (dl_open_worker): Likewise.
11252
09615db4
CD
112532012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
11254
11255 * scripts/list-sources.sh: Scan PORTS for translations.
11256 * po/libc.pot: Regenerated.
11257
2174c6dd
AJ
112582012-06-21 Andreas Jaeger <aj@suse.de>
11259
11260 [BZ #12194]
11261 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
11262 warning.
11263 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
11264 * bits/byteswap-16.h (__bswap_16): Likewise.
11265 * bits/byteswap.h (__bswap_constant_16): Likewise.
11266
3ee947b1
L
112672012-06-18 H.J. Lu <hongjiu.lu@intel.com>
11268
11269 [BZ #14117]
a2f34833
L
11270 * sysdeps/i386/fpu_control.h: Removed.
11271 * sysdeps/x86_64/fpu_control.h: Moved to ...
11272 * sysdeps/x86/fpu_control.h: Here.
11273
3ee947b1
L
11274 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
11275 (_FPU_SETCW): Likewise.
11276
ed1825f8
L
112772012-06-15 H.J. Lu <hongjiu.lu@intel.com>
11278
25f1282a
L
11279 [BZ #14117]
11280 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
11281 * sysdeps/x86/fpu/bits/mathinline.h: This.
11282 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
11283
ed1825f8
L
11284 [BZ #14050]
11285 [BZ #14117]
11286 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
11287 functions if __x86_64__ is defined.
11288
36d54b74
CLT
112892012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
11290
11291 * string/endian.h: Add !__ASSEMBLER__ condition for including
11292 conversion interfaces.
11293
10285c21
JM
112942012-06-15 Joseph Myers <joseph@codesourcery.com>
11295
11296 [BZ #14241]
11297 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
11298 of ABS(x) in calculating zero to negative powers other than odd
11299 integers.
11300 * math/libm-test.inc (pow_test): Add more tests.
11301
06c5abbd
AJ
113022012-06-15 Andreas Jaeger <aj@suse.de>
11303
11304 * manual/contrib.texi (Contributors): Update entry of Liubov
11305 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
11306 Machado Filho.
11307
a3aeac40
CH
113082012-06-15 Cyril Hrubis <metan@ucw.cz>
11309
11310 * string/string.h: Add __wur to GNU version of strerror_r.
11311
49bdf4c1
L
113122012-06-14 H.J. Lu <hongjiu.lu@intel.com>
11313
11314 [BZ #14229]
11315 * string/Makefile (tests): Add tst-strtok_r.
11316 * string/tst-strtok_r.c: New file.
11317 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
11318 RAX_LP/RDX_LP on SAVE_PTR.
11319
834f9b8d
RM
113202012-06-14 Roland McGrath <roland@hack.frob.com>
11321
11322 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
11323
75fa1921
JM
113242012-06-14 Joseph Myers <joseph@codesourcery.com>
11325
11326 * libm_test.inc (csqrt_test): Allow more spurious underflow
11327 exceptions.
11328 (j0_test): Likewise.
11329 (j1_test): Likewise.
11330 (y0_test): Likewise.
11331 (y1_test): Likewise.
11332
771766df
CD
113332012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
11334
11335 * po/Makefile (libc.pot): Use UTF-8 charset.
11336
ceb9e56b
PP
113372012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
11338
11339 [BZ #14210]
11340 Suppress sign-conversion warning from FD_SET.
11341 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
11342 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
11343 not unsigned long int.
11344 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
11345
ddb28975
L
113462012-06-12 H.J. Lu <hongjiu.lu@intel.com>
11347
11348 [BZ #14050]
11349 [BZ #14117]
11350 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
11351 __extern_always_inline instead of __extern_inline.
11352 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
11353 (__signbit): Likewise.
11354 (__signbitl): Support C++ namespace.
11355 (lrintf): New inline function.
11356 (lrint): Likewise.
11357 (llrintf): Likewise.
11358 (llrint): Likewise.
11359 (fmaxf): Likewise.
11360 (fmax): Likewise.
11361 (fminf): Likewise.
11362 (fmin): Likewise.
11363 (rint): Likewise.
11364 (rintf): Likewise.
11365 (ceil): Likewise.
11366 (ceilf): Likewise.
11367 (floor): Likewise.
11368 (floorf): Likewise.
11369 (nearbyint): Likewise.
11370 (nearbyintf): Likewise.
11371
d7b4fb26
TS
113722012-06-12 Thomas Schwinge <thomas@codesourcery.com>
11373
11374 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
11375 non-default versions.
11376
eb55f5c2
RM
113772012-06-11 Roland McGrath <roland@hack.frob.com>
11378
11379 [BZ #14218]
11380 * manual/argp.texi (Argp): Reword argp_parse description slightly.
11381
366af02c
TS
113822012-06-09 Thomas Schwinge <thomas@codesourcery.com>
11383
99ff6e5c
TS
11384 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
11385 (FE_UPWARD, FE_DOWNWARD): Don't define.
11386 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
11387 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11388
366af02c
TS
11389 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
11390 reading it.
11391 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11392 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11393
793ea851
KK
113942012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11395
11396 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
11397 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
11398 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
11399 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
11400
a728a38f
L
114012012-06-06 H.J. Lu <hongjiu.lu@intel.com>
11402
11403 [BZ #14117]
c08010c7
L
11404 * sysdeps/i386/fpu/bits/fenv.h: Removed.
11405 * sysdeps/i386/fpu/Implies: New file.
11406 * sysdeps/x86_64/fpu/Implies: Likewise.
11407 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
11408 * sysdeps/x86/fpu/bits/fenv.h: This.
11409
a728a38f
L
11410 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
11411 __SSE_MATH__.
11412
6e230d11
SP
114132012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11414
11415 [BZ #14134]
11416 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
11417 character 0xffff that matches the last element of the
11418 conversion table.
11419
1b671feb
AZ
114202012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11421
11422 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
11423 fmodl commit.
11424
6043738b
AZ
114252012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11426
11427 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
11428 values higher than 25.6283.
11429
34ae0b32
AZ
114302012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11431
11432 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
11433 subnormal exponent extraction and add some __builtin_expect.
11434 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
11435 Fix for subnormal mantissa calculation.
11436
1214ec8f
MF
114372012-06-04 Mike Frysinger <vapier@gentoo.org>
11438
11439 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
11440 cpu2 is -1 and errno is not ENOSYS.
11441
f3d1f93c
L
114422012-06-04 H.J. Lu <hongjiu.lu@intel.com>
11443
11444 [BZ #14117]
0e4a3cd7
L
11445 * sysdeps/i386/i486/bits/string.h: Renamed to ...
11446 * sysdeps/x86/bits/string.h: This.
11447 * sysdeps/x86_64/bits/string.h: Removed.
11448
6704c645
L
11449 * sysdeps/i386/i486/bits/string.h: Define inline functions only
11450 if not compiling for x86-64, but compiling for >= i486.
11451
48495318
L
11452 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
11453 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
11454
14adcbfc
L
11455 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
11456 New macro from Linux kernel 3.4.0.
11457 (FP_XSTATE_MAGIC2): Likewise.
11458 (FP_XSTATE_MAGIC2_SIZE): Likewise.
11459 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
11460 (struct _fpx_sw_bytes): New struct.
11461 (struct _xsave_hdr): Likewise.
11462 (struct _ymmh_state): Likewise.
11463 (struct _xstate): Likewise.
11464
68e408ab
L
11465 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
11466 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
11467 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
11468 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
11469 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
11470 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
11471
f3d1f93c
L
11472 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
11473 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
11474 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
11475 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
11476 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
11477 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
11478
d9dc34cd
TMQMF
114792012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11480
11481 [BZ #13743]
11482 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
11483 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
11484 (sysdep_headers): Include sys/platform/ppc.h.
11485 * sysdeps/powerpc/test-gettimebase.c: Test for
11486 __ppc_get_timebase() to catch future ISA opcode/insn changes.
11487 * manual/Makefile (appendices): Include platform.texi.
11488 * manual/contrib.texi (Contributors): Update @node pointers.
11489 * manual/maint.texi (Maintenance): Likewise.
11490 (Platform): New node.
11491 * manual/platform.texi: New file. Document the new features.
11492
4af3879c
SP
114932012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11494 Jakub Jelinek <jakub@redhat.com>
11495
11496 [BZ #14188]
11497 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
11498 where __builtin_expect is unavailable.
11499
2fd6ff13
DM
115002012-06-03 David S. Miller <davem@davemloft.net>
11501
11502 * stdlib/longlong.h: Updated from GCC.
11503
173f7220
AS
115042012-06-02 Andreas Schwab <schwab@linux-m68k.org>
11505
11506 [BZ #14042]
11507 * sysdeps/powerpc/powerpc32/mcount.c: New file.
11508 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
11509 __mcount_internal.
11510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
11511 (GLIBC_2.16): Likewise.
11512
f34a1c6f
L
115132012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11514
11515 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
11516
88a4576f
JM
115172012-06-01 Joseph Myers <joseph@codesourcery.com>
11518
ea32bcdd
JM
11519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11520 (default-abi): New variable.
11521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
11522 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
11523 variable.
11524 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
11525 Likewise.
11526 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
11527 Likewise.
11528 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
11529 Likewise.
11530
88a4576f
JM
11531 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
11532 definition. Document in comment.
11533
402fe938
DM
115342012-06-01 David S. Miller <davem@davemloft.net>
11535
11536 * stdlib/longlong.h: Updated from GCC.
11537
3553723f
L
115382012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11539
11540 [BZ #14117]
3bd872c4
L
11541 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
11542 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
11543 sys/debugreg.h sys/io.h here.
11544 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
11545 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
11546 sys/io.h.
11547 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
11548 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
11549 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
11550 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
11551 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
11552 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
11553
3553723f
L
11554 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
11555 Define only if __x86_64__ is defined.
11556
4842e4fe
JM
115572012-06-01 Joseph Myers <joseph@codesourcery.com>
11558
c5bfe3d5
JM
11559 [BZ #14048]
11560 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
11561 Use int64_t for variable i.
11562 * math/libm-test.inc (fmod_test): Add more tests.
11563
4842e4fe
JM
11564 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
11565 z computation is not scheduled after fetestexcept.
11566 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
11567 Use math_force_eval instead of asm to ensure calculation scheduled
11568 before exception test.
11569 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
11570 Ensure a1 + u.d computation is not scheduled after fetestexcept.
11571
efb73488
AJ
115722012-06-01 Aurelien Jarno <aurelien@aurel32.net>
11573
11574 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
11575 computation is not scheduled after fetestexcept.
11576
29bcce7c
L
115772012-06-01 H.J. Lu <hongjiu.lu@intel.com>
11578
11579 [BZ #14117]
11580 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
11581 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
11582
73a68f94
AZ
115832012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11584
11585 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
11586 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
11587
67b6df78
L
115882012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11589
edf2933a 11590 [BZ #14117]
ebc64a18
L
11591 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
11592 <bits/wordsize.h>.
11593 (__WCHAR_MIN): Support __WORDSIZE == 64.
11594 (__WCHAR_MAX): Likewise.
11595
edf2933a
L
11596 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
11597 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
11598
57c6cf40
L
11599 [BZ #14183]
11600 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
11601 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
11602
67b6df78 11603 [BZ #14117]
8eb6281e
L
11604 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
11605 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
11606
aac639f4
L
11607 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
11608 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
11609
67b6df78
L
11610 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
11611 Defined to 1 if __x86_64__ isn't defined.
11612 (_STAT_VER_LINUX_OLD): New.
11613 (st_atime): Remove duplicate.
11614 (st_mtime): Likewise.
11615 (st_ctime): Likewise.
11616
1c2cfe81
DM
116172012-05-31 David S. Miller <davem@davemloft.net>
11618
11619 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
11620 entries.
11621
5be8418c
AS
116222012-06-01 Andreas Schwab <schwab@linux-m68k.org>
11623
e7725326
AS
11624 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
11625 gen-libm-test.pl.
11626
5be8418c
AS
11627 [BZ #14132]
11628 * elf/dl-reloc.c: Include <_itoa.h>.
11629 (_dl_reloc_bad_type): Remove use of INTUSE.
11630 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
11631 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
11632 * stdio-common/psiginfo.c (psiginfo): Likewise.
11633 * stdio-common/psignal.c (psignal): Likewise.
11634 * string/strsignal.c (strsignal): Likewise.
11635 * include/signal.h (_sys_siglist): Declare hidden proto.
11636 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
11637 INTVARDEF with libc_hidden_data_def.
11638 * stdio-common/itoa-udigits.c: Likewise.
11639 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
11640 (_itoa_lower_digits_internal): Remove declaration.
11641 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
11642 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
11643 (_sys_sigabbrev_internal): Remove aliases.
11644 (_sys_siglist): Define hidden alias.
11645
507352f1
MT
116462012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
11647
11648 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11649 bits/sysctl.h.
11650
42bbb1c3
L
116512012-05-31 H.J. Lu <hongjiu.lu@intel.com>
11652
11653 [BZ #14117]
6bd784b6
L
11654 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
11655 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
11656
8bca20f0
L
11657 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
11658 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
11659 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
11660 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
11661 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
11662 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
11663
f9e890a9
L
11664 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
11665 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
11666 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
11667
471101a1
L
11668 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
11669 with __addr.
11670 (insw): Likewise.
11671 (insl): Likewise.
11672 (outsb): Likewise.
11673 (outsw): Likewise.
11674 (outsl): Likewise.
11675
6451c862
L
11676 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
11677 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
11678 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
11679
a254b8c9
L
11680 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
11681 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
11682 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
11683 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
11684 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
11685 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
11686
b8dfdd92
L
11687 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
11688 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
11689
578cd270
L
11690 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
11691 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
11692
de662f5f
L
11693 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
11694 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
11695 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
11696
25653439
L
11697 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
11698 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
11699 to ...
11700 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
11701
6bad24a0
L
11702 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
11703 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
11704 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
11705
42bbb1c3
L
11706 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
11707 for x86-64.
11708 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
11709
2d10d547
JM
117102012-05-31 Joseph Myers <joseph@codesourcery.com>
11711
11712 * math/math.h (M_El): Use two more decimal places.
11713 (M_LOG2El): Likewise.
11714 (M_LOG10El): Likewise.
11715 (M_LN2l): Likewise.
11716 (M_LN10l): Likewise.
11717 (M_PIl): Likewise.
11718 (M_PI_2l): Likewise.
11719 (M_PI_4l): Likewise.
11720 (M_1_PIl): Likewise.
11721 (M_2_PIl): Likewise.
11722 (M_2_SQRTPIl): Likewise.
11723 (M_SQRT2l): Likewise.
11724 (M_SQRT1_2l): Likewise.
11725
f230c29b
DM
117262012-05-31 David S. Miller <davem@davemloft.net>
11727
11728 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
11729 values between float registers.
11730 * sysdeps/sparc/sparc64/memset.S: Likewise.
11731 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
11732
fed806c3
MF
117332012-05-31 Mike Frysinger <vapier@gentoo.org>
11734
11735 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
11736 -D_FORTIFY_SOURCE=1.
11737 (CPPFLAGS-tst-longjmp_chk.c): Define.
11738 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
11739 (CPPFLAGS-tst-longjmp_chk2.c): Define.
11740 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
11741 CFLAGS-tst-wchar-h.c.
11742
30917259
MP
117432012-05-31 Marek Polacek <polacek@redhat.com>
11744
11745 [BZ #14132]
11746 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
11747 __endmntent_internal): Remove declaration.
11748 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
11749 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
11750 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
11751
1c58d5dc
DM
117522012-05-30 David S. Miller <davem@davemloft.net>
11753
11754 * sysdeps/sparc/sparc32/soft-fp/q_util.c
11755 (___Q_simulate_exceptions): Use real FP ops rather than writing
11756 into the %fsr.
11757 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
11758 Likewise.
11759
7dc00e0d
L
117602012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11761
11762 [BZ #14117]
0bd53985
L
11763 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
11764 * sysdeps/x86/bits/xtitypes.h: This.
11765
3a257e66
L
11766 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
11767 * sysdeps/x86/bits/wordsize.h: This.
11768
62f62904
L
11769 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
11770 * sysdeps/x86/bits/huge_vall.h: This.
11771
404fe9d9
L
11772 * sysdeps/i386/bits/select.h: Removed.
11773 * sysdeps/x86_64/bits/select.h: Renamed to ...
11774 * sysdeps/x86/bits/select.h: This.
11775
d48d0446
L
11776 * sysdeps/i386/bits/setjmp.h: Removed.
11777 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
11778 * sysdeps/x86/bits/setjmp.h: This.
11779
7dc00e0d
L
11780 * sysdeps/i386/bits/mathdef.h: Removed.
11781 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
11782 * sysdeps/x86/bits/mathdef.h: This.
11783
03277f8f
AS
117842012-05-30 Andreas Schwab <schwab@linux-m68k.org>
11785
11786 [BZ #14132]
11787 * include/sys/socket.h (__connect_internal)
11788 (__libc_sa_len_internal): Remove declaration.
11789 (__connect, __libc_sa_len): Declare hidden_proto.
11790 (SA_LEN): Remove use of INTUSE.
11791 * socket/connect.c: Add libc_hidden_def.
11792 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
11793 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
11794 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
11795 alias.
11796 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
11797 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
11798 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
11799 of adding _internal alias.
11800
13764867
L
118012012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11802
11803 [BZ #14117]
6bd97696
L
11804 * sysdeps/i386/bits/link.h: Removed.
11805 * sysdeps/i386/bits/linkmap.h: Likewise.
11806 * sysdeps/x86_64/bits/link.h: Renamed to ...
11807 * sysdeps/x86/bits/link.h: This.
11808 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
11809 * sysdeps/x86/bits/linkmap.h: This.
11810
f726f0bb
L
11811 * sysdeps/i386/bits/endian.h: Removed.
11812 * sysdeps/x86_64/bits/endian.h: Renamed to ...
11813 * sysdeps/x86/bits/endian.h: This.
11814
13764867
L
11815 * sysdeps/i386/bits/byteswap.h: Removed.
11816 * sysdeps/i386/bits/byteswap-16.h: Likewise.
11817 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
11818 * sysdeps/x86/bits/byteswap.h: This.
11819 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
11820 * sysdeps/x86/bits/byteswap-16.h: This.
11821 * sysdeps/i386/Implies: Add x86.
11822 * sysdeps/x86_64/Implies: Likewise.
11823
ae251b0b
DM
118242012-05-30 David S. Miller <davem@davemloft.net>
11825
11826 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
11827 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
11828 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
11829 (FP_TRAPPING_EXCEPTIONS): Define.
11830 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
11831 (FP_TRAPPING_EXCEPTIONS): Define.
11832 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
11833 subnormals only when inexact has been signalled or underflow
11834 exceptions are enabled.
11835 (_FP_PACK_CANONICAL): Likewise.
11836
d5c90867
L
118372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11838
11839 [BZ #14183]
11840 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
11841 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
11842
63f1549e
RH
118432012-05-30 Richard Henderson <rth@twiddle.net>
11844
8d8f2279
RH
11845 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
11846 with #ifndef NOT_IN_libc.
11847
63f1549e
RH
11848 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
11849 marked to avoid plt entry.
11850
0ab0291b
L
118512012-05-30 H.J. Lu <hongjiu.lu@intel.com>
11852
11853 [BZ #14112]
11854 * Makeconfig (default-abi): New macro.
11855 (abi-includes): Likewise.
11856 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
11857 $(abi-$(default-abi)-lib-soname) for soname if defined.
11858 ($(common-objpfx)gnu/lib-names.stmp): Generate from
11859 abi-variants.
11860 * Makefile (installed-stubs): Likewise.
11861 * include/stubs-biarch.h: Removed.
11862 * scripts/lib-names.awk: Only handle one library at a time.
11863 * scripts/soversions.awk: Remove WORDSIZE support.
11864 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
11865 entries.
11866 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
11867 Removed.
11868 (syscall-list-default-condition): Likewise.
11869 (syscall-list-default-condition): Likewise.
11870 (syscall-list-includes): Likewise.
11871 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
11872 syscall-list-* with abi-*. Handle undefined abi-variants.
11873 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
11874 * sysdeps/unix/sysv/linux/i386/Implies: New file.
11875 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
11876 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
11877 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
11878 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
11879 Removed.
11880 (syscall-list-32-options): Likewise.
11881 (syscall-list-32-condition): Likewise.
11882 (syscall-list-64-options): Likewise.
11883 (syscall-list-64-condition): Likewise.
11884 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
11885 macro.
11886 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
11887 Renamed to ...
11888 (abi-*): This.
11889 (abi-64-ld-soname): New macro.
11890 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
11891 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
11892 Renamed to ...
11893 (abi-*): This.
11894 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
11895 * sysdeps/x86_64/x32/shlib-versions: Likewise.
11896
4da0431d
JM
118972012-05-30 Joseph Myers <joseph@codesourcery.com>
11898
3a85279c
JM
11899 * sysdeps/unix/sysv/linux/kernel-features.h
11900 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
11901 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
11902 include <kernel-features.h>.
11903 [!__NR_ftruncate64]: Remove conditional code.
11904 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11905 [__NR_ftruncate64]: Make code unconditional.
11906 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11907 * sysdeps/unix/sysv/linux/truncate64.c: Do not
11908 include <kernel-features.h>.
11909 [!__NR_ftruncate64]: Remove conditional code.
11910 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11911 [__NR_ftruncate64]: Make code unconditional.
11912 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
11914 include <kernel-features.h>.
11915 [!__NR_ftruncate64]: Remove conditional code.
11916 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11917 [__NR_ftruncate64]: Make code unconditional.
11918 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11920 include <kernel-features.h>.
11921 [!__NR_ftruncate64]: Remove conditional code.
11922 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11923 [__NR_ftruncate64]: Make code unconditional.
11924 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
11925
4da0431d
JM
11926 * configure.in (libc_cv_fpie): Weaken to a compile test using
11927 LIBC_TRY_CC_OPTION.
11928 * configure: Regenerated.
11929
11ef492c
AK
119302012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11931
11932 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
11933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
11934 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
11935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11936 Refreshed.
11937 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
11938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
11939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
11940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
11941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
11942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11943 Refreshed.
11944
d66ef399
DM
119452012-05-27 David S. Miller <davem@davemloft.net>
11946
11947 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
11948 (___Q_zero): New.
11949 (__Q_simulate_exceptions): Return void. Change to simulate
11950 exceptions by writing into the %fsr.
11951 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
11952 (__Qp_handle_exceptions): Likewise.
11953 (numbers): Delete.
11954 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
11955 __Qp_handle_exceptions.
11956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
11957 __Qp_handle_exceptions.
11958 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11959 as unused and give dummy FP_RND_NEAREST initializer.
11960 (FP_INHIBIT_RESULTS): Define.
11961 (___Q_simulate_exceptions): Update declaration.
11962 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
11963 formatting.
11964 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
11965 as unused and give dummy FP_RND_NEAREST initializer.
11966 (__Qp_handle_exceptions): Update declaration.
11967 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
11968 formatting.
11969
04fb54b5
TS
119702012-05-27 Thomas Schwinge <thomas@codesourcery.com>
11971
11972 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
11973 the temporary FPU control word.
11974 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11975 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
11976 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
11977 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
11978 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11979 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11980 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11981 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11982 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11983 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11984 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
11985
3f99608f
KK
119862012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11987
11988 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
11989 fields.
11990
65a4de4e
CLT
119912012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
11992
11993 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
11994 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
11995 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
11996 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
11997 Likewise.
11998 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
11999 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
12000 Likewise.
12001
15749d40
UD
120022012-05-27 Ulrich Drepper <drepper@gmail.com>
12003
12004 * po/h.po: Update from translation team.
12005
25dbcb27
AS
120062012-05-26 Andreas Schwab <schwab@linux-m68k.org>
12007
3d3f8e55
AS
12008 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
12009
25dbcb27
AS
12010 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
12011 handling of denormals.
12012 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
12013 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
12014 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
12015 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
12016 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
12017 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
12018 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
12019 Likewise.
12020
7ad47a80 120212012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
12022
12023 [BZ #14152]
12024 * math/libm-test.inc (fma_test): Don't always expect underflow
12025 exception.
12026
9c6ea9fa
SP
120272012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12028
12029 [BZ #12416]
12030 * elf/tst-execstack.c: Include stackinfo.h.
12031 (do_test): Adjust test case to ensure that pthread_getattr_np
12032 behaviour remains the same after marking stack executable.
12033
a8239222
JM
120342012-05-25 Joseph Myers <joseph@codesourcery.com>
12035
12036 * sysdeps/unix/sysv/linux/kernel-features.h
12037 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
12038 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
12039 kernel-features.h.
12040 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12041 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12042 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
12043 kernel-features.h.
12044 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
12045 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
12046
918b5606
L
120472012-05-25 H.J. Lu <hongjiu.lu@intel.com>
12048
12049 * configure.in: Define the default includes to being none.
12050 * configure: Regenerated.
12051
3a097cc7
RM
120522012-05-25 Roland McGrath <roland@hack.frob.com>
12053
8422c9a5
RM
12054 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
12055 * sysdeps/x86_64/setjmp.S: Likewise.
12056 * sysdeps/i386/bsd-setjmp.S: Likewise.
12057 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12058 * sysdeps/i386/setjmp.S: Likewise.
12059 * sysdeps/i386/__longjmp.S: Likewise.
12060 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12061 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
12062
3a097cc7
RM
12063 * include/stap-probe.h: New file.
12064 * configure.in: Handle --enable-systemtap.
12065 * configure: Regenerated.
12066 * config.h.in (USE_STAP_PROBE): New #undef.
12067 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
12068 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
12069 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12070
21708942
JM
120712012-05-25 Joseph Myers <joseph@codesourcery.com>
12072
12073 [BZ #13717]
12074 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
12075 to 2.4.0 where earlier.
12076 * sysdeps/unix/sysv/linux/configure: Regenerated.
12077 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
12086 [__ASSUME_32BITUIDS]: Make code unconditional.
12087 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
12088 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
12089 <kernel-features.h>.
12090 [__ASSUME_32BITUIDS]: Make code unconditional.
12091 [!__ASSUME_32BITUIDS]: Remove conditional code.
12092 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
12093 <kernel-features.h>.
12094 [__ASSUME_32BITUIDS]: Make code unconditional.
12095 [!__ASSUME_32BITUIDS]: Remove conditional code.
12096 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
12097 <kernel-features.h>.
12098 [__ASSUME_32BITUIDS]: Make code unconditional.
12099 [!__ASSUME_32BITUIDS]: Remove conditional code.
12100 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
12101 <kernel-features.h>.
12102 [__ASSUME_32BITUIDS]: Make code unconditional.
12103 [!__ASSUME_32BITUIDS]: Remove conditional code.
12104 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12105 <kernel-features.h>.
12106 [__ASSUME_32BITUIDS]: Make code unconditional.
12107 [!__ASSUME_32BITUIDS]: Remove conditional code.
12108 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12109 <kernel-features.h>.
12110 [__ASSUME_32BITUIDS]: Make code unconditional.
12111 [!__ASSUME_32BITUIDS]: Remove conditional code.
12112 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
12113 <kernel-features.h>.
12114 [__ASSUME_32BITUIDS]: Make code unconditional.
12115 [!__ASSUME_32BITUIDS]: Remove conditional code.
12116 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12117 <kernel-features.h>.
12118 [__ASSUME_32BITUIDS]: Make code unconditional.
12119 [!__ASSUME_32BITUIDS]: Remove conditional code.
12120 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12121 <kernel-features.h>.
12122 [__ASSUME_32BITUIDS]: Make code unconditional.
12123 [!__ASSUME_32BITUIDS]: Remove conditional code.
12124 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
12125 <kernel-features.h>.
12126 [__ASSUME_32BITUIDS]: Make code unconditional.
12127 [!__ASSUME_32BITUIDS]: Remove conditional code.
12128 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
12129 <kernel-features.h>.
12130 [__NR_setresgid] (__setresgid): Do not declare.
12131 [__ASSUME_32BITUIDS]: Make code unconditional.
12132 [!__ASSUME_32BITUIDS]: Remove conditional code.
12133 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
12134 <kernel-features.h>.
12135 [__NR_setresuid] (__setresuid): Do not declare.
12136 [__ASSUME_32BITUIDS]: Make code unconditional.
12137 [!__ASSUME_32BITUIDS]: Remove conditional code.
12138 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
12139 <kernel-features.h>.
12140 [__ASSUME_32BITUIDS]: Make code unconditional.
12141 [!__ASSUME_32BITUIDS]: Remove conditional code.
12142 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
12143 <kernel-features.h>.
12144 [__ASSUME_32BITUIDS]: Make code unconditional.
12145 [!__ASSUME_32BITUIDS]: Remove conditional code.
12146 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
12147 <kernel-features.h>.
12148 [__ASSUME_32BITUIDS]: Make code unconditional.
12149 [!__ASSUME_32BITUIDS]: Remove conditional code.
12150 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
12151 <kernel-features.h>.
12152 [__ASSUME_32BITUIDS]: Make code unconditional.
12153 [!__ASSUME_32BITUIDS]: Remove conditional code.
12154 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
12155 <kernel-features.h>.
12156 [__ASSUME_32BITUIDS]: Make code unconditional.
12157 [!__ASSUME_32BITUIDS]: Remove conditional code.
12158 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
12159 <kernel-features.h>.
12160 [__ASSUME_32BITUIDS]: Make code unconditional.
12161 [!__ASSUME_32BITUIDS]: Remove conditional code.
12162 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
12163 <kernel-features.h>.
12164 [__ASSUME_32BITUIDS]: Make code unconditional.
12165 [!__ASSUME_32BITUIDS]: Remove conditional code.
12166 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
12167 <kernel-features.h>.
12168 [__ASSUME_32BITUIDS]: Make code unconditional.
12169 [!__ASSUME_32BITUIDS]: Remove conditional code.
12170 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
12171 <kernel-features.h>.
12172 [__ASSUME_32BITUIDS]: Make code unconditional.
12173 [!__ASSUME_32BITUIDS]: Remove conditional code.
12174 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12175 <kernel-features.h>.
12176 [__ASSUME_32BITUIDS]: Make code unconditional.
12177 [!__ASSUME_32BITUIDS]: Remove conditional code.
12178 * sysdeps/unix/sysv/linux/kernel-features.h
12179 (__ASSUME_SETRESUID_SYSCALL): Remove.
12180 (__ASSUME_SETRESGID_SYSCALL): Likewise.
12181 (__ASSUME_32BITUIDS): Likewise.
12182 (__ASSUME_LDT_WORKS): Likewise.
12183 (__ASSUME_O_DIRECTORY): Likewise.
12184 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
12185 architecture but not kernel version.
12186 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12187 (__ASSUME_MMAP2_SYSCALL): Likewise.
12188 (__ASSUME_STAT64_SYSCALL): Likewise.
12189 (__ASSUME_IPC64): Likewise.
12190 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
12191 <kernel-features.h>.
12192 [__ASSUME_32BITUIDS]: Make code unconditional.
12193 [!__ASSUME_32BITUIDS]: Remove conditional code.
12194 * sysdeps/unix/sysv/linux/opendir.c: Do not include
12195 <kernel-features.h>.
12196 [__ASSUME_O_DIRECTORY]: Make code unconditional.
12197 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
12198 132096]: Remove conditional code.
12199 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
12200 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12201 <kernel-features.h>.
12202 [__ASSUME_32BITUIDS]: Make code unconditional.
12203 [!__ASSUME_32BITUIDS]: Remove conditional code.
12204 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12205 <kernel-features.h>.
12206 [__ASSUME_32BITUIDS]: Make code unconditional.
12207 [!__ASSUME_32BITUIDS]: Remove conditional code.
12208 * sysdeps/unix/sysv/linux/setegid.c: Do not include
12209 <kernel-features.h>.
12210 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
12211 unconditional.
12212 (__setresgid): Do not declare.
12213 [__ASSUME_32BITUIDS]: Make code unconditional.
12214 [!__ASSUME_32BITUIDS]: Remove conditional code.
12215 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
12216 <kernel-features.h>.
12217 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
12218 unconditional.
12219 (__setresuid): Do not declare.
12220 [__ASSUME_32BITUIDS]: Make code unconditional.
12221 [!__ASSUME_32BITUIDS]: Remove conditional code.
12222 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12223 <kernel-features.h>.
12224 [__ASSUME_32BITUIDS]: Make code unconditional.
12225 [!__ASSUME_32BITUIDS]: Remove conditional code.
12226 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
12227 <kernel-features.h>.
12228 [__ASSUME_32BITUIDS]: Make code unconditional.
12229 [!__ASSUME_32BITUIDS]: Remove conditional code.
12230
a386f1cc
RH
122312012-05-25 Richard Henderson <rth@twiddle.net>
12232
12233 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
12234 dl_hwcap to ifunc resolver.
12235 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
12236 elf_ifunc_invoke.
12237 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
12238 dl_hwcap to ifunc resolver.
12239 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
12240
b6550497
JM
122412012-05-24 Joseph Myers <joseph@codesourcery.com>
12242
12243 [BZ #14153]
12244 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
12245 for |x| <= 2**-26, not 2**-57.
12246 * math/libm-test.inc (acos_test): Do not allow spurious underflow
12247 exception.
12248
b0bc23a1
JL
122492012-05-24 Jeff Law <law@redhat.com>
12250
12251 * stdio-common/Makefile (tests): Add bug25.
12252 * stdio-common/bug25.c: New test.
12253
347c92e9
L
122542012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12255
12256 [BZ #13576]
12257 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
12258 multiple of MALLOC_ALIGNMENT in size.
12259 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
12260
6bcc8b3f
JM
122612012-05-24 Joseph Myers <joseph@codesourcery.com>
12262
12263 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
12264 Require >= 256.
12265 (FILENAME_MAX): Use macro-int-constant.
12266 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
12267 (_IOFBF): Use macro-int-constant.
12268 (_IOLBF): Likewise.
12269 (_IONBF): Likewise.
12270 (SEEK_CUR): Likewise.
12271 (SEEK_END): Likewise.
12272 (SEEK_SET): Likewise.
12273 (TMP_MAX): Likewise.
12274 (EOF): Use macro-int-constant. Require < 0.
12275 (NULL): Use macro-constant. Require == 0.
12276 (stdin): Require type to be FILE *.
12277 (stdout): Likewise.
12278 (stderr): Likewise.
12279 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
12280 macro-int-constant.
12281 (EXIT_SUCCESS): Likewise.
12282 (NULL): Use macro-constant. Require == 0.
12283 (RAND_MAX): Use macro-int-constant.
12284 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
12285 [C99-based standards] (strtof): Require function.
12286 [C99-based standards] (strtold): Likewise.
12287 [C99-based standards] (strtoll): Likewise.
12288 [C99-based standards] (strtoull): Likewise.
12289 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
12290 [ISO || ISO99 || ISO11] (limits.h): Likewise.
12291 [ISO || ISO99 || ISO11] (math.h): Likewise.
12292 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
12293 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
12294 [ISO || ISO99 || ISO11] (*_t): Do not allow.
12295
d18ea0c5
AS
122962012-05-24 Andreas Schwab <schwab@linux-m68k.org>
12297
12298 [BZ #14132]
56d25bb8
AS
12299 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
12300 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
12301 * intl/dgettext.c (DCGETTEXT): Likewise.
12302 * intl/gettext.c (DCGETTEXT): Likewise.
12303 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
12304 * posix/regex_internal.h (gettext): Likewise.
12305 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
12306 Remove declaration.
12307 * include/argz.h (__argz_count_internal)
12308 (__argz_stringify_internal): Remove declaration.
12309 (__argz_count, __argz_stringify): Declare hidden proto.
12310 * intl/dcgettext.c: Remove use of INTDEF.
12311 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
12312 * string/argz-stringify.c: Likewise.
12313 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12314 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12315 Declare hidden proto.
d18ea0c5
AS
12316 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
12317 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
12318 Declare hidden proto.
12319 * include/stdio.h (__asprintf_internal): Don't declare.
12320 (__asprintf): Don't define as macro. Declare hidden proto.
12321 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
12322 (__fsetlocking): Declare hidden proto.
12323 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
12324 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
12325 hidden proto.
12326 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
12327 (_IO_setlinebuf): Remove use of INTUSE.
12328 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
12329 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
12330 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
12331 Remove declaration.
12332 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
12333 (_IO_do_flush): Remove use of INTUSE.
12334 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
12335 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
12336 (_IO_adjust_column, _IO_least_wmarker)
12337 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
12338 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
12339 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
12340 (_IO_default_doallocate, _IO_wdefault_doallocate)
12341 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
12342 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
12343 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
12344 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
12345 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
12346 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
12347 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
12348 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
12349 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
12350 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
12351 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
12352 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
12353 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
12354 proto.
12355 (_IO_flush_all_internal, _IO_adjust_column_internal)
12356 (_IO_default_uflow_internal, _IO_default_finish_internal)
12357 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
12358 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
12359 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
12360 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
12361 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
12362 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
12363 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
12364 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
12365 (_IO_file_close_internal, _IO_file_close_it_internal)
12366 (_IO_file_underflow_internal, _IO_file_overflow_internal)
12367 (_IO_file_init_internal, _IO_file_attach_internal)
12368 (_IO_file_fopen_internal, _IO_file_read_internal)
12369 (_IO_file_sync_internal, _IO_file_seek_internal)
12370 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
12371 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
12372 (_IO_str_underflow_internal, _IO_str_overflow_internal)
12373 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
12374 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
12375 (_IO_list_all_internal, _IO_link_in_internal)
12376 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
12377 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
12378 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
12379 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
12380 (_IO_do_write_internal, _IO_padn_internal)
12381 (_IO_getline_info_internal, _IO_getline_internal)
12382 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
12383 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
12384 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
12385 (_IO_vfscanf_internal, _IO_vfprintf_internal)
12386 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
12387 (_IO_init_internal, _IO_un_link_internal): Don't declare.
12388 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
12389 with libc_hidden_ver, remove use of INTUSE.
12390 * libio/genops.c: Likewise.
12391 * libio/freopen.c: Likewise.
12392 * libio/freopen64.c: Likewise.
12393 * libio/iofclose.c: Likewise.
12394 * libio/iofdopen.c: Likewise.
12395 * libio/iofflush.c: Likewise.
12396 * libio/iofflush_u.c: Likewise.
12397 * libio/iofgets.c: Likewise.
12398 * libio/iofgets_u.c: Likewise.
12399 * libio/iofopen.c: Likewise.
12400 * libio/iofopncook.c: Likewise.
12401 * libio/iofread.c: Likewise.
12402 * libio/iofread_u.c: Likewise.
12403 * libio/ioftell.c: Likewise.
12404 * libio/iofwrite.c: Likewise.
12405 * libio/iogetline.c: Likewise.
12406 * libio/iogets.c: Likewise.
12407 * libio/iogetwline.c: Likewise.
12408 * libio/iopadn.c: Likewise.
12409 * libio/iopopen.c: Likewise.
12410 * libio/ioseekoff.c: Likewise.
12411 * libio/ioseekpos.c: Likewise.
12412 * libio/iosetbuffer.c: Likewise.
12413 * libio/iosetvbuf.c: Likewise.
12414 * libio/ioungetc.c: Likewise.
12415 * libio/ioungetwc.c: Likewise.
12416 * libio/iovdprintf.c: Likewise.
12417 * libio/iovsprintf.c: Likewise.
12418 * libio/iovsscanf.c: Likewise.
12419 * libio/memstream.c: Likewise.
12420 * libio/obprintf.c: Likewise.
12421 * libio/oldfileops.c: Likewise.
12422 * libio/oldiofclose.c: Likewise.
12423 * libio/oldiofdopen.c: Likewise.
12424 * libio/oldiofopen.c: Likewise.
12425 * libio/oldiopopen.c: Likewise.
12426 * libio/oldstdfiles.c: Likewise.
12427 * libio/putc.c: Likewise.
12428 * libio/setbuf.c: Likewise.
12429 * libio/setlinebuf.c: Likewise.
12430 * libio/stdfiles.c: Likewise.
12431 * libio/strops.c: Likewise.
12432 * libio/vasprintf.c: Likewise.
12433 * libio/vscanf.c: Likewise.
12434 * libio/vsnprintf.c: Likewise.
12435 * libio/vswprintf.c: Likewise.
12436 * libio/wfiledoalloc.c: Likewise.
12437 * libio/wfileops.c: Likewise.
12438 * libio/wgenops.c: Likewise.
12439 * libio/wmemstream.c: Likewise.
12440 * libio/wstrops.c: Likewise.
12441 * libio/__fpurge.c: Likewise.
12442 * libio/__fsetlocking.c: Likewise.
12443 * assert/assert.c: Likewise.
12444 * debug/fgets_chk.c: Likewise.
12445 * debug/fgets_u_chk.c: Likewise.
12446 * debug/fread_chk.c: Likewise.
12447 * debug/fread_u_chk.c: Likewise.
12448 * debug/gets_chk.c: Likewise.
12449 * debug/obprintf_chk.c: Likewise.
12450 * debug/vasprintf_chk.c: Likewise.
12451 * debug/vdprintf_chk.c: Likewise.
12452 * debug/vsnprintf_chk.c: Likewise.
12453 * debug/vsprintf_chk.c: Likewise.
12454 * malloc/mtrace.c: Likewise.
12455 * misc/error.c: Likewise.
12456 * misc/syslog.c: Likewise.
12457 * stdio-common/asprintf.c: Likewise.
12458 * stdio-common/fxprintf.c: Likewise.
12459 * stdio-common/getw.c: Likewise.
12460 * stdio-common/isoc99_fscanf.c: Likewise.
12461 * stdio-common/isoc99_scanf.c: Likewise.
12462 * stdio-common/isoc99_vfscanf.c: Likewise.
12463 * stdio-common/isoc99_vscanf.c: Likewise.
12464 * stdio-common/isoc99_vsscanf.c: Likewise.
12465 * stdio-common/printf-prs.c: Likewise.
12466 * stdio-common/printf_fp.c: Likewise.
12467 * stdio-common/printf_fphex.c: Likewise.
12468 * stdio-common/printf_size.c: Likewise.
12469 * stdio-common/putw.c: Likewise.
12470 * stdio-common/scanf.c: Likewise.
12471 * stdio-common/sprintf.c: Likewise.
12472 * stdio-common/tmpfile.c: Likewise.
12473 * stdio-common/vfprintf.c: Likewise.
12474 * stdio-common/vfscanf.c: Likewise.
12475 * stdlib/strfmon_l.c: Likewise.
12476 * sunrpc/openchild.c: Likewise.
12477 * sunrpc/xdr_stdio.c: Likewise.
12478 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
12479 * sysdeps/mach/hurd/tmpfile.c: Likewise.
12480
d6c33fda
RM
124812012-05-24 Roland McGrath <roland@hack.frob.com>
12482
c1487492
RM
12483 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12484
12485 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
12486 in the third column, to generate for the shared library an IFUNC
12487 that uses _dl_vdso_vsym.
12488 * Makerules (COMPILE.c, compile-stdin.c): New variables.
12489 * Makeconfig (object-suffixes-noshared): New variable.
12490
12491 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
12492 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
12493 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
12494 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
12495
d6c33fda
RM
12496 [BZ #14132]
12497 * include/sys/time.h (__gettimeofday): Remove macro.
12498 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
12499 * time/gettimeofday.c (__gettimeofday): Remove #undef.
12500 Remove INTDEF.
12501 (__gettimeofday): Add libc_hidden_def.
12502 (gettimeofday): Add libc_hidden_weak.
12503 * sysdeps/mach/gettimeofday.c: Likewise.
12504 * sysdeps/posix/gettimeofday.c: Likewise.
12505 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
12506 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
12507 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
12508 (__gettimeofday_internal): Remove strong_alias.
12509 (__gettimeofday): Add libc_hidden_def.
12510 (gettimeofday): Add libc_hidden_weak.
12511 * sysdeps/unix/syscalls.list (gettimeofday):
12512 Remove __gettimeofday_internal alias.
12513
b5a2bbe6
L
125142012-05-24 Daniel Jacobowitz <drow@false.org>
12515 H.J. Lu <hongjiu.lu@intel.com>
12516
12517 [BZ #12495]
12518 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
12519 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
12520 (largebin_index_32_big): New.
12521 (largebin_index): Use it for 16-byte alignment.
12522 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
12523 correction with front_misalign.
12524
cfba4fda
L
125252012-05-24 H.J. Lu <hongjiu.lu@intel.com>
12526
7f907421
L
12527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
12528 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12529 Likewise.
12530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
12531 Likewise.
12532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
12533 Likewise.
12534 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
12535 Likewise.
12536 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
12537 Likewise.
12538 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
12539 Likewise.
12540 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
12541 Likewise.
12542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
12543 Likewise.
12544 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
12545 Likewise.
12546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
12547 Likewise.
12548 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12549 Likewise.
12550 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
12551 Likewise.
12552
cfba4fda
L
12553 * scripts/data/c++-types-x32-linux-gnu.data: New file.
12554 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
12555
80bad0cc
JM
125562012-05-24 Joseph Myers <joseph@codesourcery.com>
12557
7a25eb06
JM
12558 [BZ #10846]
12559 [BZ #14036]
12560 * math/libm-test.inc (exp_test): Add test from bug 14036.
12561 (pow_test): Add test from bug 10846.
12562
795405f9
JM
12563 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
12564 and other flags.
12565 (special_function): Do not include flags in test name.
12566 (parse_args): Likewise.
12567 * sysdeps/i386/fpu/libm-test-ulps: Update.
12568 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12569 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12570 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12572
80bad0cc
JM
12573 * math/gen-libm-test.pl (%beautify): Add entries for underflow
12574 exceptions.
12575 * math/libm-test.inc ("Philosophy"): Update comment about
12576 exception testing.
12577 (UNDERFLOW_EXCEPTION): New macro.
12578 (UNDERFLOW_EXCEPTION_OK): Likewise.
12579 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
12580 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
12581 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
12582 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
12583 (INVALID_EXCEPTION_OK): Update value.
12584 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12585 (OVERFLOW_EXCEPTION_OK): Likewise.
12586 (IGNORE_ZERO_INF_SIGN): Likewise.
12587 (test_exceptions): Handle underflow exceptions.
12588 (acos_test): Update for underflow exception expectations.
12589 (cexp_test): Likewise.
12590 (clog_test): Likewise.
12591 (clog10_test): Likewise.
12592 (csqrt_test): Likewise.
12593 (ctan_test): Likewise.
12594 (ctanh_test): Likewise.
12595 (exp_test): Likewise.
12596 (exp10_test): Likewise.
12597 (exp2_test): Likewise.
12598 (expm1_test): Likewise.
12599 (fma_test): Likewise.
12600 (j0_test): Likewise.
12601 (jn_test): Likewise.
12602 (nexttoward_test): Likewise.
12603 (pow_test): Likewise.
12604 (scalbn_test): Likewise.
12605 (scalbln_test): Likewise.
12606 (tan_test): Likewise.
12607 (y1_test): Likewise.
12608 * sysdeps/i386/fpu/libm-test-ulps: Update.
12609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12610
9e0e3d0b
DM
126112012-05-23 David S. Miller <davem@davemloft.net>
12612
12613 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12614 (__libc_sigaction): Remove unused local variables.
12615
ccd0a08f
L
126162012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12617
12618 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
12619
62bdf9a6
PE
126202012-05-23 Paul Eggert <eggert@cs.ucla.edu>
12621
f8591f80
PE
12622 mktime: avoid signed integer overflow
12623 * time/mktime.c (__mktime_internal): Do not mishandle the case
12624 where diff == INT_MIN.
12625
94c7d826
PE
12626 mktime: simplify computation of average
12627 * time/mktime.c (ranged_convert): Use new time_t_avg function
12628 instead of rolling our own (probably-slower) code.
12629
ce73d683
PE
12630 mktime: do not assume signed right shift propagates sign bit
12631 * time/mktime.c (isdst_differ): New static function.
12632 (__mktime_internal): No need to normalize tm_isdst now.
12633 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
12634 tm_isdst values.
12635
72a22e59
PE
12636 mktime: merge another wrapv change from gnulib
12637 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
12638 from some compilers.
12639
68605433
PE
12640 mktime: remove incorrect attempt at unusual arithmetics
12641 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
12642 The code didn't really work on such machines anyway.
12643 (TYPE_MINIMUM): Assume two's complement.
12644 (twos_complement_arithmetic): Verify that long_int and time_t
12645 are two's complement (or unsigned, in the latter case).
12646
03cf7fe3
PE
12647 mktime: check signed shifts on long_int and time_t, too
12648 * time/mktime.c (SHR): Check that shifts work as desired
12649 on the types long_int and time_t too, as SHR is used on
12650 such types.
12651
f04dfbc2
PE
12652 mktime: do not assume 'long' is wide enough
12653 * time/mktime.c (verify): Move decl up.
12654 (long_int): New type.
12655 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
12656 to remove assumption in the code that 'long' is wide enough to
12657 store year values. This assumption is not true on x32 and on
12658 some non-glibc platforms.
12659
62bdf9a6
PE
12660 mktime: merge wrapv change from gnulib
12661 * time/mktime.c (WRAPV): New macro.
12662 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
12663 (guess_time_tm, __mktime_internal): Do not assume that signed
12664 integer overflow wraps around; modern compilers generate code
12665 where this assumption is no longer valid.
12666
5e292e4f
L
126672012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12668
12669 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12670 Replace "jmp L(pseudo_end)" with "ret".
12671 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
12672 Likewise.
12673
8caf8c87
AJ
126742012-05-23 Andreas Jaeger <aj@suse.de>
12675
12676 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
12677 * sysdeps/unix/sysv/linux/poll.c: Remove file.
12678
1a09dc56
AJ
126792012-05-23 Andreas Jaeger <aj@suse.de>
12680 Maximilian Attems <max@stro.at>
12681
12682 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
12683 New macros.
12684
1c87aba0
L
126852012-05-23 H.J. Lu <hongjiu.lu@intel.com>
12686
12687 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
12688 code so that pseudo_end is just ret and the stack pointer is
12689 correct also for static library in error case.
12690
40e45bd5
JM
126912012-05-23 Joseph Myers <joseph@codesourcery.com>
12692
c2670533
JM
12693 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
12694 move to syscalls.list.
12695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12699
40e45bd5
JM
12700 * manual/install.texi (Running make install): Do not mention Linux
12701 kernel version for which pt_chown is not needed.
12702 (Linux): Do not mention problems with nscd with 2.0 kernels.
12703 * INSTALL: Regenerated.
12704
be08eda5
AJ
127052012-05-23 Andreas Jaeger <aj@suse.de>
12706
12707 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
12708 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
12709 macro.
12710 * sysdeps/unix/sysv/linux/s390/bits/mman.h
12711 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12712 * sysdeps/unix/sysv/linux/sh/bits/mman.h
12713 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12714 * sysdeps/unix/sysv/linux/i386/bits/mman.h
12715 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12716 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
12717 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12718 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
12719 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
12720 * sysdeps/unix/sysv/linux/bits/in.h
12721 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
12722
a6a056bb
RM
127232012-05-22 Roland McGrath <roland@hack.frob.com>
12724
12725 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
12726 (PREPARE_VERSION): Just use assert instead, it will be elided
12727 under [NDEBUG] anyway.
12728
c9009328
L
127292012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12730
12731 * sysdeps/unix/sysv/linux/Makefile: Include
12732 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 12733 (sysdep_routines): Remove sysctl.
c9009328
L
12734 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
12735 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
12736 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
12737 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
12738 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
12739
73338355
AJ
127402012-05-22 Andreas Jaeger <aj@suse.de>
12741
12742 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
12743 that pseudo_end is just ret and the stack pointer is correct also
12744 for static library in error case.
12745
d44638b0
PP
127462012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
12747
12748 [BZ #14122]
12749 * nss/nsswitch.c (defconfig_entries): New variable.
12750 (__nss_database_lookup): Don't leak defconfig entries.
12751 (nss_parse_service_list): Don't leak on error paths.
12752 (free_database_entries): New function.
12753 (free_defconfig): New function.
12754 (free_mem): Move common code to free_database_entries.
12755
31a39bd8
L
127562012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12757
da0331a8
L
12758 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
12759 Add arch_prctl.
12760 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
12761
31a39bd8
L
12762 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
12763 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
12764 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
12765 New macro.
12766 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12767 (INTERNAL_SYSCALL_TYPES): Likewise.
12768 (LOAD_ARGS_TYPES_[1-6]): Likewise.
12769 (LOAD_REGS_TYPES_[1-6]): Likewise.
12770 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
12771 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
12772
45470df3
AZ
127732012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12774
12775 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
12776 copysignl for GLIBC_2_0.
12777 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
12778 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
12779 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
12780 logbl for GLIBC_2_0.
12781 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12782 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12783
98a61bcb
L
127842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12785
a4f6e481
L
12786 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
12787 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
12788
f63d5db6
L
12789 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
12790 Use "neg %eax".
12791
98a61bcb
L
12792 * time/mktime.c: Update copyright years.
12793
95770f14
PE
127942012-05-22 Paul Eggert <eggert@cs.ucla.edu>
12795
6226efbd
PE
12796 mktime: merge comment-quoting-style change from gnulib
12797 * time/mktime.c: Quote 'like this' in comments.
12798 The GNU coding standards suggest that we no longer quote `like this',
12799 as "`" and "'" are typically rendered asymmetrically nowadays.
12800 The typical gnulib style is to quote 'like this' when quoting
12801 code, and "like this" when quoting English.
12802
b99e4f78
PE
12803 * time/mktime.c (compile-command): Add "-I.".
12804
643e01e6
PE
12805 mktime: merge mktime-internal.h change from gnulib
12806 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
12807
2554247d
PE
12808 mktime: merge time_r change from gnulib
12809 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
12810
826dd0ab
PE
12811 mktime: merge DEBUG change from gnulib
12812 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
12813 case system <time.h> has a #define.
12814
bd83aabe
PE
12815 mktime: merge <sys/types.h> change from gnulib
12816 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
12817 since <time.t> is now guaranteed to define time_t.
12818
95770f14
PE
12819 mktime: merge HAVE_CONFIG_H change from gnulib
12820 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
12821
5e1a27a9
L
128222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
12823
0e44a77e
L
12824 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12825 Use "neg %eax".
12826
5e1a27a9
L
12827 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
12828 __rlim_t cast.
12829 (struct rusage): Use anonymous union to pad each field to
12830 __syscall_slong_t.
12831
46259bec
DM
128322012-05-21 David S. Miller <davem@davemloft.net>
12833
12834 * Makefules (o-iterator): Remove .s cases.
12835 (compile-command.s): Delete.
12836 (COMPILE.s): Delete.
12837 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
12838
59f0c22e
JM
128392012-05-21 Joseph Myers <joseph@codesourcery.com>
12840
12841 * configure.in (libc_cv_predef_stack_protector): Only consider
12842 "foobar" and "__stack_chk_fail" lines in libc_undefs.
12843 * configure: Regenerated.
12844
20c07380
L
128452012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12846
bbb3154b
L
12847 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
12848 New macro. Use R*LP on int and pointer.
12849 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
12850 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
12851 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
12852 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
12853
20c07380
L
12854 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
12855 [__WORDSIZE_TIME64_COMPAT32] instead of
12856 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
12857 (struct utmp): Likewise.
12858 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
12859 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
12860 Renamed to ...
12861 (__WORDSIZE_TIME64_COMPAT32): This.
12862 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
12863 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
12864 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
12865 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
12866 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
12867 (__WORDSIZE_TIME64_COMPAT32): New macro.
12868
d8d1017e
AJ
128692012-05-21 Andreas Jaeger <aj@suse.de>
12870
12871 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
12872 only if [SHARED]. Add prototype for __wcschr_ia32.
12873
6c7fb145
RM
128742012-05-21 Roland McGrath <roland@hack.frob.com>
12875
12876 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
12877 of %rbp unmolested in the jmp_buf while mangling the low bits.
12878 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
12879 unmolested high bits of %rbp while demangling the low bits.
12880 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
12881
66274218
AJ
128822012-05-21 Andreas Jaeger <aj@suse.de>
12883
07c58f8f
AJ
12884 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
12885 * sunrpc/svc_simple.c: Use it for registerrpc.
12886 * sunrpc/xcrypt.c: Use it for passwd2des.
12887
66274218
AJ
12888 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
12889
61f65140
L
128902012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12891
12892 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
12893 Don't define if [__SYSCALL_WORDSIZE != 32].
12894 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
12895 New macro.
12896
5fefb436
AJ
128972012-05-21 Bruno Haible <bruno@clisp.org>
12898 Andreas Jaeger <aj@suse.de>
12899
12900 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
12901 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
12902 inptr and inend for must_buffer_ch.
12903 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
12904 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
12905 * stdio-common/Makefile (tests): Remove bug15.
12906 (bug15-ENV): Remove macro.
12907 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
12908 anymore.
12909
d8e272ab
AJ
129102012-05-19 Andreas Jaeger <aj@suse.de>
12911 Roland McGrath <roland@hack.frob.com>
12912
12913 * manual/contrib.texi: Completely rewritten. It contains now an
12914 alphabetical list of contributors and their contributions.
12915
4a56a162
RH
129162012-05-21 Richard Henderson <rth@twiddle.net>
12917
12918 * misc/getauxval.c (__getauxval): Use unsigned long int.
12919 * misc/sys/auxv.h: Include <sys/cdefs.h>.
12920 (getauxval): Use unsigned long int.
12921
d024d23c
L
129222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
12923
12924 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
12925
cbc00a03
RM
129262012-05-21 Roland McGrath <roland@hack.frob.com>
12927
12928 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
12929 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
12930 __alignof__ (long double).
12931
478143fa
AZ
129322012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12933
12934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12935
c7683a6d
RH
129362012-05-20 Richard Henderson <rth@twiddle.net>
12937
12938 * misc/getauxval.c: New file.
12939 * misc/sys/auxv.h: New file.
12940 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
12941 (routines): Add getauxval.
12942 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
12943 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
12944 * elf/dl-sysdep.c (_dl_auxv): Remove.
12945 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
12946 * elf/dl-support.c (_dl_auxv): New variable.
12947 (_dl_aux_init): Initialize it.
12948 * manual/startup.texi (Auxiliary Vector): New node.
12949 * sysdeps/generic/bits/hwcap.h: New file.
12950 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
12951 * sysdeps/powerpc/sysdep.h: ... here. Include it.
12952 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
12953 * sysdeps/sparc/sysdep.h: ... here. Include it.
12954 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
12955 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
12956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12957 Update.
c7683a6d
RH
12958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
12959 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
12960 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
12961 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
12962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
12964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
12965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
12966
a6f1845d
AZ
129672012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12968
12969 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12970
cbcbe830
DM
129712012-05-19 David S. Miller <davem@davemloft.net>
12972
12973 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12974
e0b16cc2
JM
129752012-05-19 Joseph Myers <joseph@codesourcery.com>
12976
12977 [BZ #14123]
12978 * math/s_ccosh.c: Include <float.h>
12979 (__ccosh): Avoid internal overflow calculating sinh and cosh
12980 values before multiplying by sin and cos values.
12981 * math/s_ccoshf.c: Likewise.
12982 * math/s_ccoshl.c: Likewise.
12983 * math/s_csin.c: Likewise.
12984 * math/s_csinf.c: Likewise.
12985 * math/s_csinl.c: Likewise.
12986 * math/s_csinh.c: Likewise.
12987 * math/s_csinhf.c: Likewise.
12988 * math/s_csinhl.c: Likewise.
12989 * math/libm-test.inc (ccos_test): Add more tests.
12990 (ccosh_test): Likewise.
12991 (csin_test): Likewise.
12992 (csinh_test): Likewise.
12993 * sysdeps/i386/fpu/libm-test-ulps: Update.
12994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12995
6ad13e08
L
129962012-05-19 H.J. Lu <hongjiu.lu@intel.com>
12997
f66f0ce8
L
12998 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
12999 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
13000
6ad13e08
L
13001 * sysdeps/x86_64/x32/_itoa.h: Add comment.
13002
b1d072a7
JM
130032012-05-19 Joseph Myers <joseph@codesourcery.com>
13004
13005 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
13006 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
13007 * sysdeps/powerpc/soft-fp/Versions: Likewise.
13008 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
13009 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
13010 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
13011 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
13012 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
13013 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
13014 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
13015 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
13016 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
13017 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
13018 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
13019 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
13020 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
13021 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
13022 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
13023 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
13024 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
13025 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
13026 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
13027 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
13028 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
13029 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
13030 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
13031 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
13032 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
13033 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
13034 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
13035 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
13036
9eae47cb
AJ
130372012-05-18 Andreas Jaeger <aj@suse.de>
13038
13039 * csu/.gitignore: Delete.
13040
bb07f69f
L
130412012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13042
13043 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
13044 (timex): Use __syscall_slong_t.
13045
e6bdb741
AJ
130462012-05-18 Andreas Jaeger <aj@suse.de>
13047 Carlos O'Donell <carlos_odonell@mentor.com>
13048
13049 * manual/install.texi (Configuring and compiling): Update
13050 description about files modified in the source directory.
d6c33fda 13051 * INSTALL: Regenerated.
e6bdb741 13052
1b74487e
L
130532012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13054
13055 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
13056 value. Use "or" to set return value to -1.
13057 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
13058 negate return value.
13059
a88b64b9
TMQMF
130602012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13061
13062 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
13063 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
13064 failure if the compiler has Graphite support disabled.
13065 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
13066 Likewise.
13067 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
13068 CFLAGS-memmove.c): Likewise.
13069 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
13070 Likewise.
13071
3707636e
L
130722012-05-18 H.J. Lu <hongjiu.lu@intel.com>
13073
610b8622
L
13074 * sysdeps/x86_64/x32/_itoa.h: New file.
13075
7cd195df
L
13076 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
13077 getdents system call only if kernel and user dirents have the
13078 same d_ino and d_off.
13079
94b07d20
L
13080 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
13081 LLONG_MAX != LONG_MAX.
13082 (_itoa_word): Use _ITOA_WORD_TYPE on value.
13083 (_fitoa_word): Likewise.
13084
18298070
L
13085 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
13086 years.
13087 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
13088 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
13089 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
13090
553c7ea4
L
13091 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
13092 include <bits/wordsize.h>. Check __x86_64__ instead of
13093 __WORDSIZE.
13094 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
13095 if __x86_64__ is defined. Use anonymous union on fpstate.
13096
3707636e
L
13097 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
13098 anonymous union.
13099
b53ef01a
AS
131002012-05-18 Andreas Schwab <schwab@linux-m68k.org>
13101
37fb1dc0
AS
13102 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13103 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
13104 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
13105 Refer to _rtld_local_ro instead of _rtld_global_ro.
13106 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
13107 Likewise.
13108 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
13109 Likewise.
13110 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
13111 Likewise.
13112 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
13113 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
13114 of _rtld_global, and rtld_progname instead of _dl_argv[0].
13115
b53ef01a
AS
13116 * sysdeps/powerpc/powerpc32/dl-machine.c
13117 (__elf_machine_runtime_setup) [PROF]: Don't reference
13118 _dl_prof_resolve.
13119
7a185db2
AJ
131202012-05-18 Andreas Jaeger <aj@suse.de>
13121
13122 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
13123 function only available for GCCs before 3.4 since GCC 3.4
13124 introduced a builtin.
13125 (lrint): Likewise.
13126 (llrintf): Likewise.
13127 (llrint): Likewise.
13128 (fmaxf): Likewise.
13129 (fmax): Likewise.
13130 (fminf): Likewise.
13131 (fmin): Likewise.
13132 (rint): Likewise.
13133 (rintf): Likewise.
13134 (nearbyint): Likewise.
13135 (nearbyintf): Likewise.
13136 (ceil): Likewise.
13137 (ceilf): Likewise.
13138 (floor): Likewise.
13139 (floorf): Likewise.
13140
3e5aef87
L
131412012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13142
428bd707
L
13143 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
13144 on both fields and cast pointer to __syscall_ulong_t.
13145
3e5aef87
L
13146 * bits/types.h (__fsword_t): New type.
13147 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
13148 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
13149 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13150 (__FSWORD_T_TYPE): Likewise.
13151 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13152 (__FSWORD_T_TYPE): Likewise.
13153 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13154 (__FSWORD_T_TYPE): Likewise.
13155 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
13156 (__FSWORD_T_TYPE): Likewise.
13157 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
13158 __SWORD_TYPE with __fsword_t.
13159 (statfs64): Likewise.
13160
1ba7c3dc
DM
131612012-05-17 David S. Miller <davem@davemloft.net>
13162
13163 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
13164
59910343
AJ
131652012-05-17 Andreas Jaeger <aj@suse.de>
13166
13167 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
13168 warning.
13169
2e4c1e9e
L
131702012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13171
13172 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
13173
de7f5ce7
AJ
131742012-05-17 Andreas Jaeger <aj@suse.de>
13175
13176 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
13177 when it is used.
13178
286abc3d
CM
131792012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13180
13181 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
13182
477cc68e
L
131832012-05-17 H.J. Lu <hongjiu.lu@intel.com>
13184
13185 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
13186 * sysdeps/x86_64/tst-mallocalign1.c: New file.
13187
1a0994f5
CD
131882012-05-17 Andreas Jaeger <aj@suse.de>
13189 Carlos O'Donell <carlos_odonell@mentor.com>
13190
13191 [BZ #14059]
13192 * sysdeps/x86_64/multiarch/init-arch.h
13193 (bit_YMM_Usable): Rename to...
13194 (bit_AVX_Usable): ... this.
13195 (bit_FMA4_Usable): New macro.
13196 (bit_XMM_state): New macro.
13197 (bit_YMM_state): New macro.
13198 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
13199 [__ASSEMBLER__] (index_AVX_Usable): ... this.
13200 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
13201 (CPUID_OSXSAVE): New macro.
13202 (CPUID_AVX): New macro.
13203 (CPUID_FMA4): New macro.
13204 (index_YMM_Usable): Rename to...
13205 (index_AVX_Usable): ... this.
13206 (HAS_AVX): Use HAS_ARCH_FEATURE.
13207 (HAS_FMA4): Likewise.
13208 (HAS_YMM_USABLE): Remove.
13209 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13210 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
13211 are present.
13212 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
13213 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
13214 * sysdeps/x86_64/multiarch/Makefile: Likewise.
13215 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
13216 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
13217
0af797de
CM
132182012-05-17 Chris Metcalf <cmetcalf@tilera.com>
13219
13220 * math/libm-test.c: Support platforms without multiple rounding modes.
13221 * math/bug-nextafter.c: Support platforms without FP exceptions.
13222 * math/bug-nexttoward.c: Likewise.
13223 * math/test-fenv.c: Likewise.
13224 * math/test-misc.c: Likewise.
13225 * stdlib/bug-getcontext.c: Likewise.
13226
e39745ff
AJ
132272012-05-17 Andreas Jaeger <aj@suse.de>
13228
13229 * manual/examples/search.c (critter_cmp): Change signature to
13230 avoid warnings.
13231 * manual/string.texi (Collation Functions): Likewise.
13232
48970aba
L
132332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13234
13235 * bits/types.h: Fold copyright years.
13236 * bits/typesizes.h: Likewise.
13237 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
13238 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
13239 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
13240 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
13241 * time/time.h: Likewise.
13242
bedee953
PP
132432012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
13244
13245 [BZ #208]
13246 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
13247 in instead of returning them. Return void.
13248 (__libc_mallinfo): Accumulate over all arenas.
13249 (__malloc_stats): Adjust for change in int_mallinfo interface.
13250
61653dfb
RM
132512012-05-16 Roland McGrath <roland@hack.frob.com>
13252
30b99d79
RM
13253 [BZ #10375]
13254 * configure.in (NM): Add AC_CHECK_TOOL for it.
13255 (libc_extra_cflags): New substituted variable.
13256 Check for -fstack-protector being used implicitly.
13257 * configure: Regenerated.
13258 * config.make.in (config-extra-cflags): New variable,
13259 gets @libc_extra_cflags@.
13260 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
13261
61653dfb
RM
13262 [BZ #10375]
13263 * configure.in: Check for _FORTIFY_SOURCE being predefined.
13264 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
13265 * configure: Regenerated.
13266 * config.make.in (CPPUNDEFS): New substituted variable.
13267 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
13268 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
13269 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
13270
661768bb
L
132712012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13272
13273 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
13274 (mq_attr): Use __syscall_slong_t.
13275
d4261567
L
132762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13277
13278 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
13279 Check __x86_64__ instead of __WORDSIZE.
13280 (_STAT_VER_LINUX): Likewise.
13281 (stat): Check __x86_64__ instead of __WORDSIZE. Use
13282 __syscall_ulong_t and __syscall_slong_t.
13283 (stat64): Likewise.
13284
cf3ff365
L
132852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13286
13287 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
13288
76cf3e4d
L
132892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13290
13291 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
13292
a637753a
L
132932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13294
13295 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
13296 __syscall_ulong_t.
13297
d5e05119
L
13298 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
13299 include <bits/wordsize.h>. Check __x86_64__ instead of
13300 __WORDSIZE.
13301 (greg_t): Use "__extension__ long long int" if __x86_64__ is
13302 defined.
13303 (mcontext_t): Replace "unsigned long" with "unsigned long long".
13304
f62ee380
L
13305 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
13306 include <bits/wordsize.h>. Check __x86_64__ instead of
13307 __WORDSIZE.
13308 (user_regs_struct): Use "__extension__ unsigned long long"
13309 instead of "unsigned long" if __x86_64__ is defined.
13310 (user): Likewise. Pad after pointer field if __ILP32__ is
13311 defined.
13312
4e124ced
JM
133132012-05-16 Joseph Myers <joseph@codesourcery.com>
13314
6a3951a0
JM
13315 * configure.in (makeinfo): Require version 4.5 or later. Allow
13316 versions 5 to 9.
13317 * configure: Regenerated.
13318 * manual/install.texi (texinfo): Increase version requirement to
13319 4.5 or later.
13320 * INSTALL: Regenerated.
13321
4e124ced
JM
13322 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
13323
953ca31a
L
133242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
13325
13326 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
13327
617aca05
L
13328 * sysdeps/x86_64/x32/ffs.c: New file.
13329
5762f7ae
L
13330 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
13331 __syscall_ulong_t.
13332 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
13333 defined. Use __syscall_ulong_t.
13334 (shminfo): Use __syscall_ulong_t.
13335 (shm_info): Likewise.
13336
a26b6856
L
13337 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
13338 __syscall_ulong_t.
13339
cb2b9ef7
L
13340 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
13341 <bits/wordsize.h>.
13342 (msgqnum_t): Use __syscall_ulong_t.
13343 (msglen_t): Likewise.
13344 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
13345 __syscall_ulong_t.
13346
34683bb0
L
13347 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
13348 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13349
84a68786
L
13350 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
13351
48baa5f1
L
13352 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
13353 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
13354
180be88b
L
13355 * sysvipc/sys/msg.h (msgbuf): Replace long int with
13356 __syscall_slong_t.
13357
5e90c8ad
L
13358 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
13359 include <bits/wordsize.h>. Check __x86_64__ instead of
13360 __WORDSIZE.
13361
23dfb58b
L
13362 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
13363 "unsigned long long int" if __x86_64__ is defined.
13364 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
13365
ce5d54b0
L
13366 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
13367 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
13368 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
13369
13dc9eac
L
13370 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
13371 <stdint.h>.
13372 (GET_PC): Cast to uintptr_t first.
13373 (GET_FRAME): Likewise.
13374 (GET_STACK): Likewise.
13375
a7895d15
L
13376 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
13377 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
13378 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
13379 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
13380 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
13381 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
13382 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
13383 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
13384 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
13385 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
13386 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
13387 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
13388 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13389 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
13390 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
13391 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
13392 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
13393 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
13394 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
13395 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
13396 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
13397 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
13398 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
13399 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
13400 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
13401 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
13402 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
13403 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
13404 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
13405
656416c9
AS
134062012-05-16 Andreas Schwab <schwab@linux-m68k.org>
13407
5bd66283
AS
13408 * Makerules (+depfiles): Also collect depfiles from .oS in
13409 $(extra-objs).
13410 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
13411 .oS, $(libnldbl-routines)).
13412
656416c9
AS
13413 * Makerules (native-compile-mkdep-flags): Define.
13414 * sunrpc/Makefile (extra-objs): Add $(addprefix
13415 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
13416 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
13417 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
13418 calling $(make-target-directory).
13419
a46f2169
L
134202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13421
13422 * bits/types.h (__snseconds_t): Removed.
13423 * time/time.h (struct timespec): Replace __snseconds_t with
13424 __syscall_slong_t.
13425 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
13426 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
13427 Likewise.
13428 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13429 (__SNSECONDS_T_TYPE): Likewise.
13430 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13431 (__SNSECONDS_T_TYPE): Likewise.
13432 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13433 (__SNSECONDS_T_TYPE): Likewise.
13434
6af6528b
L
134352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13436
13437 * sysdeps/mach/hurd/bits/typesizes.h
13438 (__SYSCALL_SLONG_TYPE): New macro.
13439 (__SYSCALL_ULONG_TYPE): Likewise.
13440
de986b56
L
134412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13442
13443 * bits/types.h (__syscall_slong_t): New type.
13444 (__syscall_ulong_t): Likewise.
13445
13446 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
13447 (__SYSCALL_ULONG_TYPE): Likewise.
13448 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13449 (__SYSCALL_SLONG_TYPE): Likewise.
13450 (__SYSCALL_ULONG_TYPE): Likewise.
13451 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
13452 (__SYSCALL_SLONG_TYPE): Likewise.
13453 (__SYSCALL_ULONG_TYPE): Likewise.
13454 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13455 (__SYSCALL_SLONG_TYPE): Likewise.
13456 (__SYSCALL_ULONG_TYPE): Likewise.
13457
85736dc7
L
134582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13459
13460 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
13461 Add sigaltstack-offsets.sym.
13462 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
13463 <sigaltstack-offsets.h>.
13464 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
13465 longjmp_msg pointer.
13466 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
13467 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
13468 signal stack.
13469 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
13470
cc03b296
JM
134712012-05-15 Joseph Myers <joseph@codesourcery.com>
13472
a9538892
JM
13473 * elf/stackguard-macros.h: Remove file.
13474 * sysdeps/generic/stackguard-macros.h: New file.
13475 * sysdeps/i386/stackguard-macros.h: Likewise.
13476 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13477 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13478 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13479 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13480 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13481 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13482 * sysdeps/x86_64/stackguard-macros.h: Likewise.
13483 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
13484 <elf/stackguard-macros.h>.
13485
cc03b296
JM
13486 [BZ #14109]
13487 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
13488 __aligned__ in attribute.
13489 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
13490 (gregset_t): Likewise.
13491
93171016
L
134922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13493
13494 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
13495 * sysdeps/x86_64/64/Implies-after: Here. New file.
13496 * sysdeps/x86_64/x32/Implies-after: New file.
13497
d86813a0
L
134982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13499
13500 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
13501 and access return value for _dl_profile_fixup. Use R10_LP to
13502 load frame size.
13503
2953ec75
L
135042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13505
13506 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
13507
3b550e9e
L
135082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13509
13510 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
13511 * sysdeps/x86_64/x32/sysdep.h: New file.
13512
eda41706
L
135132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13514
13515 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
13516 * sysdeps/x86_64/setjmp.S: Likewise.
13517
9ea01d93
AZ
135182012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13519
13520 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
13521 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
13522 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
13523 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
13524 remove unused global constant.
13525
02a91938
CM
135262012-05-15 Chris Metcalf <cmetcalf@tilera.com>
13527
13528 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
13529 include of <not-cancel.h>.
13530
6540185f
RM
135312012-05-15 Roland McGrath <roland@hack.frob.com>
13532
13533 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
13534
509072a0
AJ
135352012-05-15 Jeff Law <law@redhat.com>
13536 Andreas Jaeger <aj@suse.de>
13537
13538 [BZ #13594]
13539 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
13540 out from...
13541 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
13542 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
13543 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
13544 code changing __hst_map_handle.map.
13545
ba75122d
RM
135462012-05-15 Roland McGrath <roland@hack.frob.com>
13547
13548 * configure.in (sysnames): Look for Implies-before and Implies-after
13549 files.
13550 * configure: Regenerated.
13551
890d8bd8
L
135522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13553
13554 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
13555 8-byte data alignment with LP_SIZE alignment.
13556
f6ee6623
L
135572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13558
13559 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
13560 into R10_LP.
13561
ea2626f6
L
135622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13563
13564 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
13565
085f715e
L
135662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13567
13568 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13569 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
13570 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
13571 Likewise.
13572 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
13573
be8498fc
L
135742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13575
13576 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
13577 (stackinfo_sub_sp): Likewise.
13578
70bc83b9
L
135792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13580
13581 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
13582 RAX_LP.
13583
9bc0b730
L
135842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13585
13586 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
13587 into R*_LP.
13588
6d2850e7
L
135892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13590
13591 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
13592 sizes into R*_LP.
13593
3cb84561
L
135942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13595
13596 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
13597
54e2ed81
L
135982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13599
13600 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
13601 into R11_LP and load __x86_64_shared_cache_size_half into
13602 R8_LP.
13603
8a17f349
L
136042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
13605
13606 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
13607 R8_LP.
13608
777b1eea
AZ
136092012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13610
13611 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
13612 logb for POWER7.
13613 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
13614 logbf for POWER7.
13615 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
13616 logbl for POWER7.
13617 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
13618 powerpc32/power7/fpu/s_logb.c via #include.
13619 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
13620 powerpc32/power7/fpu/s_logbf.c via #include.
13621 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
13622 powerpc32/power7/fpu/s_logbl.c via #include.
13623
d20d4ac2
JM
136242012-05-15 Joseph Myers <joseph@codesourcery.com>
13625
13626 * README.libm: Remove file.
13627
6cdef1ab
L
136282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13629
13630 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
13631 count for x32. Use R*_LP and omit operand-size suffix.
13632
0b254d8f
L
136332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13634
13635 * shlib-versions: Move x86_64-.*-linux.* entries to ...
13636 * sysdeps/x86_64/64/shlib-versions: Here. New file.
13637 * sysdeps/x86_64/x32/shlib-versions: New file.
13638
ceb809dc
RM
136392012-05-14 Roland McGrath <roland@hack.frob.com>
13640
13641 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
13642 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
13643 Use _dl_fatal_printf instead.
13644
37f1abd4
JM
136452012-05-14 Joseph Myers <joseph@codesourcery.com>
13646
13647 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
13648 set if not set by the user. Do not allow for being unset.
13649 * sysdeps/unix/sysv/linux/configure: Regenerated.
13650
11de3a33
L
136512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13652
13653 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
13654 the `q' suffix from lea and replace .quad with ASM_ADDR.
13655
e02f153a
L
136562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13657
13658 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
13659 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
13660 instead of $17.
13661 (PTR_DEMANGLE): Likewise.
13662
520ae0fd
L
136632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13664
13665 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
13666 (LP_OP): Likewise.
13667 (ASM_ADDR): Likewise.
13668 (RAX_LP): Likewise.
13669 (RBP_LP): Likewise.
13670 (RBX_LP): Likewise.
13671 (RCX_LP): Likewise.
13672 (RDI_LP): Likewise.
13673 (RSI_LP): Likewise.
13674 (RSP_LP): Likewise.
13675 (R8_LP): Likewise.
13676 (R9_LP): Likewise.
13677 (R10_LP): Likewise.
13678 (R10_LP): Likewise.
13679 (R11_LP): Likewise.
13680 (R12_LP): Likewise.
13681 (R13_LP): Likewise.
13682 (R14_LP): Likewise.
13683 (R15_LP): Likewise.
13684
b985be81
L
136852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13686
13687 * sysdeps/x86_64/x32/dl-machine.h: New file.
13688
6a4888ff
AJ
136892012-05-14 Andreas Jaeger <aj@suse.de>
13690
13691 * manual/Makefile (subdir): Remove export of subdir.
13692 (all): Remove target.
13693 (.PHONY): Remove all from list.
13694 (mkinstalldirs): Remove.
13695 (.PHONY): Remove installdirs from list.
13696 ($(inst_infodir)/libc.info): Use make-target-directory.
13697 (installdirs): Remove.
13698 (subdir_%): Remove.
13699 (glibc-targets): Remove.
13700 (lib): Remove.
13701 (stubs): Remove.
13702 ($(objpfx)stubs ../po/manual.pot): Remove.
13703 ($(objpfx)stamp%): Remove.
13704 (make-target-directory): Remove.
13705 (subdir_install): Remove.
13706 (routines): Remove.
13707 (aux): Remove.
13708 (sources): Remove.
13709 (objects): Remove.
13710 (headers): Remove.
13711
13712 [BZ #13750]
13713 * manual/.gitignore: Remove, it's not needed anymore.
13714 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
13715 all files in it.
13716 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
13717 directory.
13718 (texis): Renamed to $(objpfx)texis.
13719 (texis-path): New, contains path to generated files.
13720 (chapters.%): Use texis-path for complete path, add extra argument
13721 libc-texinfo.sh.
13722 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
13723 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
13724 (summary,texi, stamp-summary): Use complete path of
13725 files. Generate files in build dir.
13726 (dir-add.texi): Build in build dir.
13727 (libm-err.texi,stamp-libm-err): Likewise.
13728 (version.texi, stamp-version): Likewise.
13729 (.%c.texi): Likewise.
13730 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
13731 (mostlyclean): Remove target.
13732 (realclean): Remove target.
13733 (generated): Add new variable with contents from mostlyclean and
13734 realclean, remove entries duplicated in common-mostlyclean, add
13735 stamp-libm-err and stamp-version.
13736 (generated-dirs): Add libc directory.
13737 ($(inst_infodir)/libc.info): Install files from build dir.
13738
13739 * manual/install.texi (Configuring and compiling): Adjust since
13740 the info files are not part of the tar ball anymore.
13741
7ac77294
AJ
137422012-05-14 Andreas Jaeger <aj@suse.de>
13743
13744 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
13745 variable.
13746
ffb7875d
JM
137472012-05-14 Joseph Myers <joseph@codesourcery.com>
13748
13749 [BZ #13717]
13750 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
13751 to 2.2.0 where earlier.
13752 * sysdeps/unix/sysv/linux/configure: Regenerated.
13753 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
13754 Remove conditional code.
13755 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
13756 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
13757 Remove conditional code.
13758 [!__NR_lchown]: Likewise.
13759 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13760 [__NR_lchown]: Likewise.
13761 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
13762 comment referencing __ASSUME_LCHOWN_SYSCALL.
13763 * sysdeps/unix/sysv/linux/i386/sigaction.c
13764 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13765 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13766 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
13767 Remove conditional code.
13768 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
13769 (__protocol_available): Remove #if 0 code.
13770 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
13771 conditional code.
13772 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
13773 * sysdeps/unix/sysv/linux/kernel-features.h
13774 (__ASSUME_GETCWD_SYSCALL): Don't define.
13775 (__ASSUME_REALTIME_SIGNALS): Likewise.
13776 (__ASSUME_PREAD_SYSCALL): Likewise.
13777 (__ASSUME_PWRITE_SYSCALL): Likewise.
13778 (__ASSUME_POLL_SYSCALL): Likewise.
13779 (__ASSUME_LCHOWN_SYSCALL): Likewise.
13780 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
13781 non-SPARC.
13782 (__ASSUME_SIOCGIFNAME): Don't define.
13783 (__ASSUME_MSG_NOSIGNAL): Likewise.
13784 (__ASSUME_SENDFILE): Define unconditionally.
13785 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
13786 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
13787 conditional code.
13788 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
13789 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
13790 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13791 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13792 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
13793 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
13794 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
13795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
13796 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13797 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
13799 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13800 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
13802 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13803 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
13805 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13806 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
13808 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13809 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
13811 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
13812 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
13814 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13815 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
13817 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13818 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13819 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
13820 Remove conditional code.
13821 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13822 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13823 Remove conditional code.
13824 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13825 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
13826 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
13827 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13828 Remove conditional code.
13829 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13830 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
13831 Remove conditional code.
13832 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13833 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
13834 Remove conditional code.
13835 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13836 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
13837 Remove conditional code.
13838 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
13839 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
13840 Remove conditional code.
13841 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13842 * sysdeps/unix/sysv/linux/sh/pwrite64.c
13843 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
13844 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
13845 * sysdeps/unix/sysv/linux/sigaction.c
13846 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13847 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13848 * sysdeps/unix/sysv/linux/sigpending.c
13849 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13850 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13851 * sysdeps/unix/sysv/linux/sigprocmask.c
13852 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13853 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13854 * sysdeps/unix/sysv/linux/sigsuspend.c
13855 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
13856 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
13857 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
13858 (__libc_missing_rt_sigs): Remove.
13859 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
13860 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
13861 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
13862 Remove conditional code.
13863 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
13864 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
13865 return 1.
13866 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
13867 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
13868 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
13869 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
13870
1bfb7291
AJ
138712012-05-14 Andreas Jaeger <aj@suse.de>
13872
caae5a81
AJ
13873 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
13874 it's not used in glibc.
13875 (__coshm1): Likewise.
13876 (__acosh1p): Likewise.
13877 (__sgn): Likewise.
13878
1bfb7291
AJ
13879 * manual/string.texi (Copying and Concatenation): Add missing
13880 variable in concat example.
13881 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13882
c044d724
L
138832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13884
144c5467 13885 [BZ #14103]
c044d724
L
13886 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
13887 __builtin_clzl with __builtin_clzll.
13888
2523c62b
L
138892012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13890
13891 [BZ #14104]
13892 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
13893 libc_freeres_ptr.
13894
d7bb4c42
LD
138952012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13896
13897 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
13898 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
13899 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
13900 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
13901
9dc4e1fb
MF
139022012-05-14 Mike Frysinger <vapier@gentoo.org>
13903
13904 * NEWS: Update ia64 info.
13905
c7df0112
AS
139062012-05-12 Andreas Schwab <schwab@linux-m68k.org>
13907
13908 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
13909 used as bcopy.
13910
dc70356c
TS
139112012-05-12 Thomas Schwinge <thomas@codesourcery.com>
13912
13913 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
13914 * sysdeps/unix/syscalls.list (dup3): Likewise.
13915 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
13916 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
13917
9fb1a21f
L
139182012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13919
13920 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
13921 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
13922
4822a2a5
L
139232012-05-11 H.J. Lu <hongjiu.lu@intel.com>
13924
13925 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
13926 thread pointer.
13927 (TLS_IE): Use mov/add instead of movq/addq to load thread
13928 pointer.
13929 (TLS_GD_PREFIX): New.
13930 (TLS_GD): Use it.
13931
842b81d6
DM
139322012-05-11 David S. Miller <davem@davemloft.net>
13933
13934 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
13935 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
13936 (_FPU_SETCW): Likewise.
13937
1cf463cd
L
139382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13939
13940 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
13941 is 32-byte aligned.
13942
60cc4a18
AS
139432012-05-11 Andreas Schwab <schwab@linux-m68k.org>
13944
13945 [BZ #11837]
13946 * iconvdata/gb18030.c: Update tables.
13947 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
13948 characters specially.
13949 (BODY for TO_LOOP): Add encoding of missing ranges.
13950
febb44a4
TS
139512012-05-11 Thomas Schwinge <thomas@codesourcery.com>
13952
13953 [BZ #13673]
13954 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
13955 * sysdeps/mach/hurd/dup3.c: Likewise.
13956 * sysdeps/mach/hurd/readlinkat.c: Likewise.
13957 * sysdeps/powerpc/memmove.c:: Likewise.
13958
0a10fb9e
L
139592012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13960
13961 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
13962 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
13963
df8a552f
L
139642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
13965
13966 * elf/elf.h (R_X86_64_RELATIVE64): New.
13967 (R_X86_64_NUM): Updated.
13968 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
13969 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
13970 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
13971 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
13972 tst-quad1pie tst-quad2pie
13973 (modules-names): Add tst-quadmod1 tst-quadmod2.
13974 ($(objpfx)tst-quad1): New dependency.
13975 ($(objpfx)tst-quad2): Likewise.
13976 ($(objpfx)tst-quad1pie): Likewise.
13977 ($(objpfx)tst-quad2pie): Likewise.
13978 * sysdeps/x86_64/tst-quad1.c: New file.
13979 * sysdeps/x86_64/tst-quad1pie.c: New file.
13980 * sysdeps/x86_64/tst-quad2.c: Likewise.
13981 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
13982 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
13983 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
13984 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
13985 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
13986
f34d6f84
ST
139872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
13988
f42d41d1
ST
13989 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
13990 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
13991 * streams/stropts.h (t_scalar_t): Define type.
13992
3c3571fc
ST
13993 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
13994 (_PATH_PRESERVE): Set to "/var/lib".
13995 (_PATH_RWHODIR): Set to "/var/spool/rwho".
13996
61f06bd3
ST
13997 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
13998 instead of int.
13999
918d4d71
ST
14000 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
14001 if __dir_mkfile succeeded.
14002
f34d6f84
ST
14003 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
14004 checking for _hurd_dtablesize. Unlock it right after having
14005 finished _hurd_dtable allocation.
14006
10589b4a
TS
140072012-05-10 Thomas Schwinge <thomas@schwinge.name>
14008
674cdbc7
TS
14009 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
14010 * sysdeps/mach/hurd/configure: Regenerated.
14011 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
14012 special-casing to...
14013 * sysdeps/gnu/configure.in: ... this new file.
14014 * sysdeps/unix/sysv/linux/configure: Regenerated.
14015 * sysdeps/gnu/configure: New generated file.
14016
8e41b99f
TS
14017 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
14018 for Linux: use nsec instead of usec, as well as:
14019 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
14020 members of type struct timespec.
14021 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
14022 New macros.
14023 (struct stat64): Likewise.
14024 (_STATBUF_ST_NSEC): New macro.
14025 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
14026
10589b4a
TS
14027 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14028 __strtoul_internal rather than strtoul.
14029
63643c85
PT
140302012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14031
14032 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
14033 and reject them.
14034
3faebe6a
ST
140352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14036
14037 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
14038 which preserves existing values.
14039 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
14040
c6474b07
PT
140412012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14042
14043 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
14044 TIMEOUT values. Return EINVAL for NFDS values either negative or
14045 greater than FD_SETSIZE.
14046
1043890b
ST
140472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14048
14049 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
14050 allocated, call __vm_protect to finish enabling the existing space, and
14051 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
14052 allocate the remainder.
14053
37ed8b9b
PT
140542012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14055
14056 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
14057 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
14058
db653660
ST
140592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14060
37ed8b9b
PT
14061 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
14062 sysdeps/mach/hurd/readlink.c.
b29d4053 14063
db653660
ST
14064 * posix/tst-sysconf.c (posix_options): Only use
14065 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
14066 _POSIX_SYNCHRONIZED_IO when they are defined
14067 * sysdeps/mach/hurd/bits/posix_opt.h:
14068 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
14069 (_XOPEN_REALTIME): Undefine macro.
14070 (_XOPEN_REALTIME_THREADS): Undefine macro.
14071 (_XOPEN_SHM): Undefine macro.
14072 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
14073 macro to -1.
14074 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
14075 macro to -1.
14076 (_POSIX_ASYNC_IO): Undefine macro.
14077 (_POSIX_PRIORITIZED_IO): Undefine macro.
14078 (_POSIX_SPIN_LOCKS): Define macro to -1.
14079
ee16e894
ST
14080 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
14081 SA_NODEFER, SA_RESETHAND.
14082 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
14083 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
14084 F_DUPFD_CLOEXEC.
14085
6103ae3b
TS
140862012-05-10 Thomas Schwinge <thomas@schwinge.name>
14087
14088 * elf/Makefile (pldd-modules): Define unconditionally.
14089
80b4e5f3
TS
140902012-05-10 Thomas Schwinge <thomas@schwinge.name>
14091
14092 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
14093
edadcbd6
ST
140942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14095
14096 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
14097 Return ENOENT when name is empty.
14098 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
14099
80694780
TS
141002012-05-10 Thomas Schwinge <thomas@schwinge.name>
14101
1792c087
TS
14102 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
14103
80694780
TS
14104 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
14105
6b645f0d
ST
141062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14107
80694780
TS
14108 Fix mlock in all cases except non-readable pages.
14109 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
14110 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 14111
6b645f0d
ST
14112 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
14113 (__mkdir): When path is `/', just fail with EEXIST.
14114 * sysdeps/mach/hurd/mkdirat.c: Likewise.
14115
e468f8a3
TS
141162012-05-10 Thomas Schwinge <thomas@schwinge.name>
14117
14118 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
14119 <sys/uio.h> (for writev).
14120 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
14121 and <sys/param.h> (for MIN).
14122
a4186cff
PT
141232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
14124
14125 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
14126 REQUESTED_TIME. Properly set the remaining time and return EINTR
14127 if interrupted.
14128
510bbf14
TS
141292012-05-10 Thomas Schwinge <thomas@schwinge.name>
14130
14131 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
14132 Depend on against $(link-rpcuserlibs).
14133
5d5722e8
ST
141342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14135
a4186cff
PT
14136 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
14137 (__libc_stack_end): Do not use attribute_relro.
14138 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
14139 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 14140 to libthread-provided value.
a4186cff
PT
14141 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
14142 attribute_relro.
5d5722e8 14143
37233df9
TS
141442012-05-10 Thomas Schwinge <thomas@schwinge.name>
14145
be971a2b
TS
14146 [BZ #3748]
14147 * bits/libc-lock.h (__libc_once_get): New macro.
14148 * sysdeps/mach/bits/libc-lock.h: Likewise.
14149 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
14150 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
14151 instead of using implementation details.
14152
37233df9
TS
14153 * libio/fileops.c: Unconditionally include <kernel-features.h>.
14154 * libio/freopen.c: Likewise.
14155 * libio/freopen64.c: Likewise.
14156 * misc/syslog.c: Likewise.
14157 * nscd/connections.c: Likewise.
14158 * nscd/netgroupcache.c: Likewise.
14159 * sysdeps/posix/getcwd.c: Likewise.
14160
38de94a5
RM
141612012-05-10 Roland McGrath <roland@hack.frob.com>
14162
14163 * math/w_ilogbf.c: Add #include <limits.h>.
14164
67530489
ST
141652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14166
a4186cff 14167 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
14168 path instead of returning without unlocking.
14169
67530489
ST
14170 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
14171 immediate-write ioctls.
14172 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
14173
5aa3a74a
TS
141742012-05-10 Thomas Schwinge <thomas@schwinge.name>
14175
18bad2ae
TS
14176 * sysdeps/mach/hurd/i386/init-first.c (init): Use
14177 __builtin_frame_address instead of making assumptions about the
14178 location of the return address relative to DATA. Force early load of
14179 the return address.
14180 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
14181 __builtin_frame_address.
14182
5aa3a74a
TS
14183 dup3 for GNU Hurd.
14184 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
14185 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
14186 implement dup3 and do some further code clean-ups.
14187 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
14188 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
14189
ecd0de9a
ST
141902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14191
cd9fa985
ST
14192 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
14193
a4186cff
PT
14194 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
14195 HURD_CRITICAL_END around holding _hurd_dtable_lock.
14196 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
14197 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
14198 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
14199 d->port.lock.
802ca5a5 14200
a4186cff
PT
14201 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
14202 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
14203 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 14204
bcf55240
TS
142052012-05-10 Thomas Schwinge <thomas@schwinge.name>
14206
6960eb42
TS
14207 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
14208 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
14209 definitions.
14210
eb43375f
TS
14211 accept4 for GNU Hurd.
14212 * include/sys/socket.h (__libc_accept4): New prototype.
14213 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
14214 to implement __libc_accept4.
14215 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
14216 __libc_accept4.
14217 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
14218
bcf55240
TS
14219 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
14220 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
14221 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
14222 signal-defines.sym.
14223
6178c55b
ST
142242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14225
a4186cff 14226 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 14227
6f080c2f
TS
142282012-05-10 Thomas Schwinge <thomas@schwinge.name>
14229
14230 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
14231 assertion on O_CLOEXEC flag.
14232 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
14233 * hurd/intern-fd.c: Likewise.
14234 * hurd/port2fd.c: Likewise.
14235
bcfe3a54
ST
142362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
14237
14238 [BZ #3906]
14239 * bits/in.h (IPV6_PKTINFO): Define new macro.
14240 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
14241
89c9aa49
AZ
142422012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14243
14244 [BZ #13954]
14245 [BZ #13955]
14246 [BZ #13956]
14247 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
14248 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14249 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
14250 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
14251 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14252 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
14253 * math/libm-test.inc (logb_test) : Additional logb tests.
14254
021db4be
AJ
142552012-05-09 Andreas Schwab <schwab@linux-m68k.org>
14256 Andreas Jaeger <aj@suse.de>
14257
14258 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
14259 * configure: Regenerated.
14260 * config.h.in (LINK_OBSOLETE_RPC): New macro.
14261 * config.make.in (link-obsolete-rpc): New substituted variable.
14262 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
14263 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
14264 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14265 (shared-only-routines): Don't set it under [link-obsolete-rpc],
14266 so that libc.a contains the symbols.
14267 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
14268 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
14269 * sunrpc/auth_none.c: Likewise.
14270 * sunrpc/auth_unix.c: Likewise.
14271 * sunrpc/authdes_prot.c: Likewise.
14272 * sunrpc/authuxprot.c: Likewise.
14273 * sunrpc/clnt_gen.c: Likewise.
14274 * sunrpc/clnt_perr.c: Likewise.
14275 * sunrpc/clnt_raw.c: Likewise.
14276 * sunrpc/clnt_simp.c: Likewise.
14277 * sunrpc/clnt_tcp.c: Likewise.
14278 * sunrpc/clnt_udp.c: Likewise.
14279 * sunrpc/clnt_unix.c: Likewise.
14280 * sunrpc/des_crypt.c: Likewise.
14281 * sunrpc/des_soft.c: Likewise.
14282 * sunrpc/get_myaddr.c: Likewise.
14283 * sunrpc/key_call.c: Likewise.
14284 * sunrpc/key_prot.c: Likewise.
14285 * sunrpc/netname.c: Likewise.
14286 * sunrpc/pm_getmaps.c: Likewise.
14287 * sunrpc/pm_getport.c: Likewise.
14288 * sunrpc/pmap_clnt.c: Likewise.
14289 * sunrpc/pmap_prot.c: Likewise.
14290 * sunrpc/pmap_prot2.c: Likewise.
14291 * sunrpc/pmap_rmt.c: Likewise.
14292 * sunrpc/publickey.c: Likewise.
14293 * sunrpc/rpc_cmsg.c: Likewise.
14294 * sunrpc/rpc_common.c: Likewise.
14295 * sunrpc/rpc_dtable.c: Likewise.
14296 * sunrpc/rpc_prot.c: Likewise.
14297 * sunrpc/rpc_thread.c: Likewise.
14298 * sunrpc/rtime.c: Likewise.
14299 * sunrpc/svc.c: Likewise.
14300 * sunrpc/svc_auth.c: Likewise.
14301 * sunrpc/svc_raw.c: Likewise.
14302 * sunrpc/svc_run.c: Likewise.
14303 * sunrpc/svc_tcp.c: Likewise.
14304 * sunrpc/svc_udp.c: Likewise.
14305 * sunrpc/svc_unix.c: Likewise.
14306 * sunrpc/svcauth_des.c: Likewise.
14307 * sunrpc/xcrypt.c: Likewise.
14308 * sunrpc/xdr.c: Likewise.
14309 * sunrpc/xdr_array.c: Likewise.
14310 * sunrpc/xdr_float.c: Likewise.
14311 * sunrpc/xdr_intXX_t.c: Likewise.
14312 * sunrpc/xdr_mem.c: Likewise.
14313 * sunrpc/xdr_rec.c: Likewise.
14314 * sunrpc/xdr_ref.c: Likewise.
14315 * sunrpc/xdr_sizeof.c: Likewise.
14316 * sunrpc/xdr_stdio.c: Likewise.
14317
b5c086a2
RM
143182012-05-10 Roland McGrath <roland@hack.frob.com>
14319
14320 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
14321 change. Update copyright years.
14322
6d74dd09
JM
143232012-05-10 Joseph Myers <joseph@codesourcery.com>
14324
14325 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
14326
28e72501
MK
143272012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
14328 Joseph Myers <joseph@codesourcery.com>
14329 Paul Pluzhnikov <ppluzhnikov@google.com>
14330
14331 [BZ #14012]
14332 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
14333 requiring rpcgen.
14334 [cross-compiling] (extra-libs): Likewise.
14335 [cross-compiling] (extra-libs-others): Likewise.
14336 [cross-compiling] (librpcsvc-routines): Likewise.
14337 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
14338 [cross-compiling] (omit-deps): Likewise.
14339 (sunrpc-CPPFLAGS): New variable.
14340 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
14341 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
14342 (cross-rpcgen-objs): New variable.
14343 (extra-objs): Append $(cross-rpcgen-objs).
14344 ($(cross-rpcgen-objs)): New rule.
14345 ($(objpfx)cross-rpcgen): Likewise.
14346 (rpcgen-cmd): Define to use $(built-program-file). Expand
14347 comment.
14348 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
14349 ($(objpfx)x%.stmp): Likewise.
14350 * sunrpc/proto.h [IS_IN_build] (_): Define.
14351 [IS_IN_build] (_libc_intl_domainname): Likewise.
14352
c8c59454
L
143532012-05-10 H.J. Lu <hongjiu.lu@intel.com>
14354
14355 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
14356 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
14357 and R_X86_64_TPOFF64.
14358
6f27cd16
JM
143592012-05-10 Joseph Myers <joseph@codesourcery.com>
14360
14361 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
14362 sysdeps/unix/sysv/syscalls.list.
14363 (stime): Likewise.
14364 (utime): Likewise.
14365 * sysdeps/unix/sysv/syscalls.list: Remove file.
14366
02467e1c
PE
143672012-05-10 Paul Eggert <eggert@cs.ucla.edu>
14368
14369 [BZ #3440]
14370 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
14371 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
14372 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
14373 (__LC_IDENTIFICATION): Make these macros useful in #if
14374 expressions, as required by C99.
14375
da392631
AS
143762012-05-10 Andreas Schwab <schwab@linux-m68k.org>
14377
14378 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
14379 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
14380 after this.
14381
8115f29b
L
143822012-05-09 H.J. Lu <hongjiu.lu@intel.com>
14383
14384 * stdlib/longlong.h: Updated from GCC.
14385
bdd74070
AJ
143862012-05-09 Andreas Jaeger <aj@suse.de>
14387
edfe0dbe
AJ
14388 * nscd/nscd.c (run_modes): Make named enum, reorder so that
14389 default is first entry.
14390 (run_mode): Set type.
14391 (main): Remove informal message about syslog.
14392 (options): Fix typo.
14393
bcfe3a54
ST
14394 [BZ #14053]
14395 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 14396 to asm.
bcfe3a54
ST
14397 (lrint): Likewise.
14398 (llrintf): Likewise.
14399 (llrint): Likewise.
14400 (rint): Likewise.
14401 (rintf): Likewise.
14402 (nearbyint): Likewise.
14403 (nearbyintf): Likewise.
bdd74070 14404
91d8d69e
AJ
144052012-05-09 Andreas Jaeger <aj@suse.de>
14406 Pedro Alves <palves@redhat.com>
14407
14408 * nscd/nscd.c (run_mode): Use enum.
14409 (main): Cleanup coding style issue.
14410
bb90b80b
AJ
144112012-05-09 Alexandre Oliva <aoliva@redhat.com>
14412 Andreas Jaeger <aj@suse.de>
14413
bcfe3a54
ST
14414 * nscd/nscd.c (go_background): Replaced with...
14415 (run_mode): ... this.
bb90b80b 14416 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
14417 (options): Add -F --foreground.
14418 (main): Implement it.
14419 (parse_opt): Parse it.
bb90b80b 14420
1a4b75a1
AJ
144212012-05-09 Andreas Jaeger <aj@suse.de>
14422
14423 [BZ #14083]
14424 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
14425 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
14426 -Wconversion warning.
14427 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
14428 Likewise.
14429
b1cc2472
JM
144302012-05-09 Joseph Myers <joseph@codesourcery.com>
14431
14432 * conform/data/locale.h-data (NULL): Use macro-constant. Require
14433 == 0.
14434 (LC_ALL): Use macro-int-constant.
14435 (LC_COLLATE): Likewise.
14436 (LC_CTYPE): Likewise.
14437 (LC_MESSAGES): Likewise.
14438 (LC_MONETARY): Likewise.
14439 (LC_NUMERIC): Likewise.
14440 (LC_TIME): Likewise.
14441 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
14442 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14443 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14444 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
14445 Specify type.
14446 [C99-based standards] (float_t): Expect type.
14447 [C99-based standards] (double_t): Expect type.
14448 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
14449 type.
14450 [C99-based standards] (HUGE_VALL): Likewise.
14451 [C99-based standards] (INFINITY): Likewise.
14452 [C99-based standards] (NAN): Likewise.
14453 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
14454 [C99-based standards] (FP_NAN): Likewise.
14455 [C99-based standards] (FP_NORMAL): Likewise.
14456 [C99-based standards] (FP_SUBNORMAL): Likewise.
14457 [C99-based standards] (FP_ZERO): Likewise.
14458 [C99-based standards] (FP_FAST_FMA): Use
14459 optional-macro-int-constant. Specify type. Require == 1.
14460 [C99-based standards] (FP_FAST_FMAF): Likewise.
14461 [C99-based standards] (FP_FAST_FMAL): Likewise.
14462 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
14463 [C99-based standards] (FP_ILOGBNAN): Likewise.
14464 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
14465 Specify type.
14466 [C99-based standards] (MATH_ERREXCEPT): Likewise.
14467 [C99-based standards] (math_errhandling): Specify type.
14468 [ISO99 || ISO11] (signgam): Do not allow.
14469 [non-C99-based standards] (copysignf): Do not allow.
14470 [non-C99-based standards] (exp2f): Likewise.
14471 [non-C99-based standards] (log2f): Likewise.
14472 [non-C99-based standards] (modff): Allow.
14473 [non-C99-based standards] (erff): Do not allow.
14474 [non-C99-based standards] (erfcf): Likewise.
14475 [non-C99-based standards] (gammaf): Likewise.
14476 [non-C99-based standards] (hypotf): Likewise.
14477 [non-C99-based standards] (j0f): Likewise.
14478 [non-C99-based standards] (j1f): Likewise.
14479 [non-C99-based standards] (jnf): Likewise.
14480 [non-C99-based standards] (lgammaf): Likewise.
14481 [non-C99-based standards] (tgammaf): Likewise.
14482 [non-C99-based standards] (y0f): Likewise.
14483 [non-C99-based standards] (y1f): Likewise.
14484 [non-C99-based standards] (ynf): Likewise.
14485 [non-C99-based standards] (isnanf): Likewise.
14486 [non-C99-based standards] (acoshf): Likewise.
14487 [non-C99-based standards] (asinhf): Likewise.
14488 [non-C99-based standards] (atanhf): Likewise.
14489 [non-C99-based standards] (cbrtf): Likewise.
14490 [non-C99-based standards] (expm1f): Likewise.
14491 [non-C99-based standards] (ilogbf): Likewise.
14492 [non-C99-based standards] (log1pf): Likewise.
14493 [non-C99-based standards] (logbf): Likewise.
14494 [non-C99-based standards] (nextafterf): Likewise.
14495 [non-C99-based standards] (remainderf): Likewise.
14496 [non-C99-based standards] (rintf): Likewise.
14497 [non-C99-based standards] (scalbf): Likewise.
14498 [non-C99-based standards] (copysignl): Likewise.
14499 [non-C99-based standards] (exp2l): Likewise.
14500 [non-C99-based standards] (log2l): Likewise.
14501 [non-C99-based standards] (modfl): Allow.
14502 [non-C99-based standards] (erfl): Do not allow.
14503 [non-C99-based standards] (erfcl): Likewise.
14504 [non-C99-based standards] (gammal): Likewise.
14505 [non-C99-based standards] (hypotl): Likewise.
14506 [non-C99-based standards] (j0l): Likewise.
14507 [non-C99-based standards] (j1l): Likewise.
14508 [non-C99-based standards] (jnl): Likewise.
14509 [non-C99-based standards] (lgammal): Likewise.
14510 [non-C99-based standards] (tgammal): Likewise.
14511 [non-C99-based standards] (y0l): Likewise.
14512 [non-C99-based standards] (y1l): Likewise.
14513 [non-C99-based standards] (ynl): Likewise.
14514 [non-C99-based standards] (isnanl): Likewise.
14515 [non-C99-based standards] (acoshl): Likewise.
14516 [non-C99-based standards] (asinhl): Likewise.
14517 [non-C99-based standards] (atanhl): Likewise.
14518 [non-C99-based standards] (cbrtl): Likewise.
14519 [non-C99-based standards] (expm1l): Likewise.
14520 [non-C99-based standards] (ilogbl): Likewise.
14521 [non-C99-based standards] (log1pl): Likewise.
14522 [non-C99-based standards] (logbl): Likewise.
14523 [non-C99-based standards] (nextafterl): Likewise.
14524 [non-C99-based standards] (remainderl): Likewise.
14525 [non-C99-based standards] (rintl): Likewise.
14526 [non-C99-based standards] (scalbl): Likewise.
14527 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14528 [non-C99-based standards] (FP_*): Do not allow.
14529 [C99-based standards] (FP_*): Change to
14530 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
14531 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14532 allow.
14533 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
14534 (SIG_ERR): Likewise.
14535 [X/Open-based standards] (SIG_HOLD): Likewise.
14536 (SIG_IGN): Likewise.
14537 (SIGABRT): Use macro-int-constant. Specify type. Require
14538 positive value.
14539 (SIGFPE): Likewise.
14540 (SIGILL): Likewise.
14541 (SIGINT): Likewise.
14542 (SIGSEGV): Likewise.
14543 (SIGTER): Likewise.
14544 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
14545 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
14546 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
14547 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
14548 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
14549 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
14550 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
14551 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
14552 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
14553 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
14554 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
14555 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
14556 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
14557 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
14558 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
14559 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
14560 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
14561 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
14562 [X/Open-based standards] (SIGTRAP): Likewise.
14563 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
14564 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
14565 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
14566 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
14567 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14568 allow.
14569
b9f1922d
IW
145702012-05-08 Ian Wienand <ianw@vmware.com>
14571
14572 [BZ #14080]
14573 * time/tzset.c (__tzset_parse_tz): Update default rules for
14574 daylight time changes in the Energy Policy Act of 2005.
14575
1db86e88
AJ
145762012-05-09 Andreas Jaeger <aj@suse.de>
14577
14578 [BZ #13983]
14579 * elf/ldconfig.c (parse_conf): Change string to make clear that
14580 ldconfig only issued a warning if ld.so.conf does not exist.
14581
dee4a4e3
DM
145822012-05-08 David S. Miller <davem@davemloft.net>
14583
ee0db190
DM
14584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
14585 movxtod instead of popping the value on the stack.
14586
dee4a4e3
DM
14587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14588
6a43ec98
CD
145892012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
14590
14591 * config.h.in: Add HAVE_ARM_PCS_VFP.
14592
05c2c961
RMG
145932012-05-08 Roland Mc Grath <roland@hack.frob.com>
14594
bcfe3a54
ST
14595 [BZ #13979]
14596 * include/features.h: Warn if user requests __FORTIFY_SOURCE
14597 checking but the checks are disabled for any reason.
05c2c961 14598
4b30f61a
L
145992012-05-08 H.J. Lu <hongjiu.lu@intel.com>
14600
14601 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
14602 and ELF64_R_TYPE with ELFW(R_TYPE).
14603
eee2bc67
JM
146042012-05-08 Joseph Myers <joseph@codesourcery.com>
14605
7ea5391a
JM
14606 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
14607 (ulimit): Likewise.
14608
eee2bc67
JM
14609 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
14610 (settimeofday): Likewise.
14611
abb66a67
MF
146122012-05-08 Mike Frysinger <vapier@gentoo.org>
14613
14614 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
14615 a struct th_u2 inside the union, and move tu_block/tu_code into
14616 a new th_u3 union of tu_block/tu_code inside of that. Move
14617 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
14618 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
14619 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
14620 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
14621 (th_stuff): Change to th_u1.tu_stuff.
14622 (th_data): Define.
14623 (th_msg): Change to th_u1.th_u2.tu_data.
14624
7f18b530
DM
146252012-05-07 David S. Miller <davem@davemloft.net>
14626
05760585
DM
14627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14628
7f18b530
DM
14629 [BZ #14074]
14630 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
14631 (SETUP_PIC_REG): Use it.
14632 (SETUP_PIC_REG_LEAF): Use it.
14633
495fd99f
JM
146342012-05-07 Joseph Myers <joseph@codesourcery.com>
14635
14636 [BZ #13885]
14637 [BZ #13923]
14638 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14639 USE_AS_EXPM1L.
14640 (EXPL_FINITE): Likewise.
14641 (FLDLOG): Likewise.
14642 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14643 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14644 e_expl.S.
14645 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14646 USE_AS_EXPM1L.
14647 (EXPL_FINITE): Likewise.
14648 (FLDLOG): Likewise.
14649 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
14650 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
14651 e_expl.S.
14652 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
14653 test of -max_value argument for long double.
14654 * sysdeps/i386/fpu/libm-test-ulps: Update.
14655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14656
6693d694
DM
146572012-05-06 David S. Miller <davem@davemloft.net>
14658
14659 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
14660 quad soft-float symbols whose references which are compiler
14661 generated.
14662 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
14663
6c23e11c
JM
146642012-05-06 Joseph Myers <joseph@codesourcery.com>
14665
d8b82cad
JM
14666 [BZ #13884]
14667 [BZ #13914]
14668 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14669 USE_AS_EXP10L.
14670 (EXPL_FINITE): Likewise.
14671 (FLDLOG): Likewise.
14672 (c0): Likewise.
14673 (c1): Likewise.
14674 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14675 Adjust comments for base varying.
14676 (__expl_finite): Change alias to EXPL_FINITE.
14677 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
14678 e_expl.S.
14679 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
14680 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14681 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14682 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
14683 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
14684 USE_AS_EXP10L.
14685 (EXPL_FINITE): Likewise.
14686 (FLDLOG): Likewise.
14687 (c0): Likewise.
14688 (c1): Likewise.
14689 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
14690 Adjust comments for base varying.
14691 (__expl_finite): Change alias to EXPL_FINITE.
14692 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
14693 tests for bugs.
14694 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14695
6c23e11c
JM
14696 [BZ #14064]
14697 * math/libm-test.inc (check_float_internal): Correct ulp
14698 calculation for subnormal expected results.
14699
29ba805c
AJ
147002012-05-06 Andreas Jaeger <aj@suse.de>
14701
14702 * Makeconfig (+math-flags): New, set to -frounding-math.
14703 (+cflags): Add +math-flags so that all of glibc gets compiled with
14704 it.
14705
14706 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
14707
7b17aeda
JM
147082012-05-05 Joseph Myers <joseph@codesourcery.com>
14709
5779f134
JM
14710 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
14711 Disable one test.
14712
41498f4d
JM
14713 [BZ #13787]
14714 [BZ #13922]
14715 [BZ #14036]
14716 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
14717 (__ieee754_expl): Allow for and saturate large arguments.
14718 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
14719 (u_threshold): Likewise.
14720 (__exp): Call __ieee754_exp before checking for overflow and
14721 underflow.
14722 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
14723 (u_threshold): Likewise.
14724 (__expf): Call __ieee754_expf before checking for overflow and
14725 underflow.
14726 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
14727 (u_threshold): Likewise.
14728 (__expl): Call __ieee754_expl before checking for overflow and
14729 underflow.
14730 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
14731 (__ieee754_expl): Allow for and saturate large arguments.
14732 * math/libm-test.inc (exp_test): Add another test. Do not allow
14733 missing overflow exception on overflow.
14734 (expm1_test): Do not allow missing overflow exception on overflow.
14735
6698b8bf
JM
14736 * sysdeps/i386/fpu/e_expl.c: Move to ...
14737 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
14738 rather than using inline asm.
14739 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
14740 * sysdeps/x86_64/fpu/e_expl.S: Copy from
14741 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
14742
7b17aeda
JM
14743 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
14744 (nice): Likewise.
14745 (poll): Likewise.
14746 (signal): Likewise.
14747 (time): Likewise.
14748 (times): Likewise.
14749
f7c85819
JM
147502012-05-04 Joseph Myers <joseph@codesourcery.com>
14751
14752 * sysdeps/unix/syscalls.list (adjtime): Add entry from
14753 sysdeps/unix/common/syscalls.list.
14754 (fchmod): Likewise.
14755 (fchown): Likewise.
14756 (ftruncate): Likewise.
14757 (getrusage): Likewise.
14758 (gettimeofday): Likewise.
14759 (setpgid): Likewise.
14760 (setregid): Likewise.
14761 (setreuid): Likewise.
14762 (sigaction): Likewise.
14763 (truncate): Likewise.
14764 (vhangup): Likewise.
14765 * sysdeps/unix/common/syscalls.list: Remove file.
14766 * sysdeps/unix/bsd/Implies: Don't include unix/common.
14767 * sysdeps/unix/sysv/linux/Implies: Likewise.
14768
336270d0
L
147692012-05-04 H.J. Lu <hongjiu.lu@intel.com>
14770
14771 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
14772 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
14773 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
14774 Moved to ...
14775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14776 Here.
14777 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
14778 to ...
14779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
14780 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
14781 to ...
14782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
14783 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
14784 to ...
14785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
14786 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
14787 to ...
14788 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
14789 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
14790 to ...
14791 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
14792 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
14793 to ...
14794 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
14795 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
14796 to ...
14797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
14798 Here.
14799 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
14800 to ...
14801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
14802 Here.
14803 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
14804 to ...
14805 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
14806 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
14807 Moved to ...
14808 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
14809 Here.
14810 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
14811 to ...
14812 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
14813
d128e450
JM
148142012-05-04 Joseph Myers <joseph@codesourcery.com>
14815
fa8ee516
JM
14816 * sysdeps/unix/common/bits/dirent.h: Remove file.
14817 * sysdeps/unix/common/bits/fcntl.h: Likewise.
14818
d128e450
JM
14819 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
14820 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
14821 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
14822 * sysdeps/unix/bsd/isatty.c: Likewise.
14823 * sysdeps/unix/bsd/tcdrain.c: Likewise.
14824 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
14825 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
14826
ff8faaf0 148272012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 14828
62881be4 14829 [BZ #13563]
31dc8730
AZ
14830 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
14831 long double comparison inaccuracies.
14832 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14834
6fef930c
AS
148352012-05-04 Andreas Schwab <schwab@linux-m68k.org>
14836
14837 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
14838 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
14839
8f203e6c
JM
148402012-05-04 Joseph Myers <joseph@codesourcery.com>
14841
14842 [BZ #14049]
14843 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
14844 nonzero digits before rounding a hex value.
14845 * stdlib/tst-strtod.c (tests): Add another test.
14846
5197d9c2
AK
148472012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14848
14849 * sysdeps/s390/fpu/libm-test-ulps: Update.
14850
f0c1dedf
AJ
148512012-05-03 Andreas Jaeger <aj@suse.de>
14852
14853 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
14854 does not get optimized out.
14855 (malloc_opt_barrier): New.
14856
a65ef2ae 148572012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 14858 Roland McGrath <roland@hack.frob.com>
a65ef2ae 14859
2b942cb7 14860 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 14861 intermediate file deletion.
2b942cb7 14862 (generated): Add .symlist files.
a65ef2ae 14863
54b71e02
JM
148642012-05-03 Joseph Myers <joseph@codesourcery.com>
14865
14866 [BZ #13775]
14867 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
14868 Redirect under this condition.
14869 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14870 [__USE_GNU] (__dprintf_chk): Not under this condition.
14871 [__USE_GNU] (__vdprintf_chk): Likewise.
14872 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
14873 under this condition.
14874 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
14875 [__USE_XOPEN2K8] (dprintf): Define under this condition.
14876 [__USE_XOPEN2K8] (vdprintf): Likewise.
14877 [__USE_GNU] (__dprintf_chk): Not under this condition.
14878 [__USE_GNU] (__vdprintf_chk): Likewise.
14879 [__USE_GNU] (dprintf): Likewise.
14880 [__USE_GNU] (vdprintf): Likewise.
14881
d3dfcc41
RM
148822012-05-03 Roland McGrath <roland@hack.frob.com>
14883
14884 * elf/Makefile (common-generated): Set this instead of generated for
14885 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
14886 $(all-built-dso)-derived lists.
14887
7ac30cc5
AJ
148882012-05-03 Andreas Jaeger <aj@suse.de>
14889
0c51e550
AJ
14890 * sysdeps/i386/fpu/libm-test-ulps: Update.
14891
7ac30cc5
AJ
14892 * FAQ: Removed.
14893 * FAQ.in: Likewise.
14894 * scripts/gen-FAQ.pl: Likewise.
14895 * manual/install.texi (Installation): Point to online location of
14896 FAQ.
14897 * Makefile (files-for-dist): Remove FAQ.
14898 (FAQ): Remove.
14899
d4c2917f
AM
149002012-05-02 Allan McRae <allan@archlinux.org>
14901
14902 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
14903 (LDFLAGS-reldepmod5.so): Likewise.
14904 (LDFLAGS-reldep6mod1.so): Likewise.
14905 (LDFLAGS-reldep6mod4.so): Likewise.
14906 (LDFLAGS-reldep8mod3.so): Likewise.
14907 (LDFLAGS-unload4mod1.so): Likewise.
14908 (LDFLAGS-unload4mod2.so): Likewise.
14909 (LDFLAGS-tst-initorder): Likewise.
14910 (LDFLAGS-tst-initordera2.so): Likewise.
14911 (LDFLAGS-tst-initordera3.so): Likewise.
14912 (LDFLAGS-tst-initordera4.so): Likewise.
14913 (LDFLAGS-tst-initorderb2.so): Likewise.
14914 (LDFLAGS-noload): Likewise.
14915 (LDFLAGS-next): Likewise.
14916 (LDFLAGS-order2mod1.so): Likewise.
14917 (LDFLAGS-order2mod2.so): Likewise.
14918 (LDFLAGS-tst-initorder2): Likewise.
14919 (LDFLAGS-tst-initorder2a.so): Likewise.
14920 (LDFLAGS-tst-initorder2b.so): Likewise.
14921 (LDFLAGS-tst-initorder2c.so): Likewise.
14922 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
14923
d77f993f
DM
149242012-05-02 David S. Miller <davem@davemloft.net>
14925
14926 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14927
171a70b4
PP
149282012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
14929
14930 [BZ #14055]
14931 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
14932
0be196ad
AJ
149332012-05-02 Andreas Jaeger <aj@suse.de>
14934
14935 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
14936 since we manipulate rounding mode.
14937 (CPPFLAGS-test-idouble.c): Likewise.
14938 (CPPFLAGS-test-ifloat.c): Likewise.
14939 (CFLAGS-test-ldouble.c): Likewise.
14940 (CFLAGS-test-double.c): Likewise.
14941 (CFLAGS-test-float.c): Likewise.
14942 (CFLAGS-test-misc.c): Likewise.
14943 (CFLAGS-test-test-fenv.c): Likewise.
14944
4f9d04aa
AZ
149452012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14946
2b942cb7
RM
14947 [BZ #2550]
14948 [BZ #2570]
14949 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
14950 comparisons to determine direction to adjust input.
4f9d04aa 14951
82a79e7d
RM
149522012-05-01 Roland McGrath <roland@hack.frob.com>
14953
f5a01ca9
RM
14954 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
14955 output to the target.
14956
90fe4186
RM
14957 * scripts/localplt.awk: New file.
14958 * elf/Makefile ($(objpfx)check-localplt): Target removed.
14959 (check-localplt-CFLAGS): Variable removed.
14960 ($(all-built-dso:=.jmprel)): New static pattern rule.
14961 (generated): Add those targets.
14962 (localplt-built-dso): New variable.
14963 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
14964
14965 * elf/check-localplt.c: File removed.
14966
82397ed6
RM
14967 * scripts/check-execstack.awk: New file.
14968 * elf/Makefile ($(objpfx)check-execstack): Target removed.
14969 (check-execstack-CFLAGS): Variable removed.
14970 ($(objpfx)check-execstack.h): Target removed.
14971 ($(objpfx)execstack-default): New target.
14972 (generated): Add that instead of check-execstack.h.
14973 ($(all-built-dso:=.phdr)): New static pattern rule.
14974 (generated): Add those targets.
14975 * elf/check-execstack.c: File removed.
14976
82a79e7d
RM
14977 * scripts/check-textrel.awk: New file.
14978 * elf/Makefile ($(objpfx)check-textrel): Target removed.
14979 (check-textrel-CFLAGS): Variable removed.
14980 (all-built-dso): Use := to define.o
14981 ($(all-built-dso:=.dyn)): New static pattern rule.
14982 (generated): Add those targets.
14983 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
14984 * config.make.in (READELF): New substituted variable.
14985 * elf/check-textrel.c: File removed.
14986
62fde54f 149872012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 14988
615605c9
JM
14989 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
14990 allow.
14991 * conform/data/ctype.h-data [C99-based standards] (isblank):
14992 Expect function.
14993 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
14994 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
14995 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14996 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
14997 Specify type. Require positive value.
14998 (EILSEQ): Likewise.
14999 (ERANGE): Likewise.
15000 [ISO || POSIX] (EILSEQ): Do not expect.
15001 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
15002 Specify type. Require positive value.
15003 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
15004 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
15005 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
15006 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
15007 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
15008 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
15009 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
15010 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
15011 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
15012 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
15013 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
15014 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
15015 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
15016 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
15017 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
15018 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
15019 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
15020 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
15021 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
15022 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
15023 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
15024 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
15025 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
15026 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
15027 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
15028 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
15029 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
15030 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
15031 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
15032 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
15033 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
15034 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
15035 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
15036 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
15037 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
15038 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
15039 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
15040 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
15041 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
15042 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
15043 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
15044 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
15045 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
15046 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
15047 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
15048 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
15049 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
15050 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
15051 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
15052 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
15053 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
15054 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
15055 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
15056 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
15057 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
15058 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
15059 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
15060 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
15061 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
15062 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
15063 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
15064 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
15065 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
15066 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
15067 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
15068 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
15069 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
15070 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
15071 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
15072 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
15073 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
15074 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
15075 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
15076 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
15077 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
15078 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
15079 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
15080 Require >= 2.
15081 (FLT_ROUNDS): Expect as macro, not constant.
15082 (FLT_MANT_DIG): Use macro-int-constant.
15083 (DBL_MANT_DIG): Likewise.
15084 (LDBL_MANT_DIG): Likewise.
15085 (FLT_DIG): Likewise.
15086 (DBL_DIG): Likewise.
15087 (LDBL_DIG): Likewise.
15088 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
15089 (DBL_MIN_EXP): Likewise.
15090 (LDBL_MIN_EXP): Likewise.
15091 (FLT_MAX_EXP): Use macro-int-constant.
15092 (DBL_MAX_EXP): Likewise.
15093 (LDBL_MAX_EXP): Likewise.
15094 (FLT_MAX_10_EXP): Likewise.
15095 (DBL_MAX_10_EXP): Likewise.
15096 (LDBL_MAX_10_EXP): Likewise.
15097 (FLT_MAX): Use macro-constant.
15098 (DBL_MAX): Likewise.
15099 (LDBL_MAX): Likewise.
15100 (FLT_EPSILON): Use macro-constant. Give upper bound.
15101 (DBL_EPSILON): Likewise.
15102 (LDBL_EPSILON): Likewise.
15103 (FLT_MIN): Likewise.
15104 (DBL_MIN): Likewise.
15105 (LDBL_MIN): Likewise.
15106 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
15107 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
15108 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
15109 [ISO11] (FLT_HAS_SUBNORM): Likewise.
15110 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
15111 [ISO11] (DBL_DECIMAL_DIG): Likewise.
15112 [ISO11] (FLT_DECIMAL_DIG): Likewise.
15113 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
15114 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
15115 [ISO11] (FLT_TRUE_MIN): Likewise.
15116 [ISO11] (LDBL_TRUE_MIN): Likewise.
15117 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15118 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
15119 (SCHAR_MIN): Use macro-int-constant. Specify type.
15120 (SCHAR_MAX): Likewise.
15121 (UCHAR_MAX): Likewise.
15122 (CHAR_MIN): Likewise.
15123 (CHAR_MAX): Likewise.
15124 (MB_LEN_MAX): Use macro-int-constant.
15125 (SHRT_MIN): Use macro-int-constant. Specify type.
15126 (SHRT_MAX): Likewise.
15127 (USHRT_MAX): Likewise.
15128 (INT_MAX): Likewise.
15129 (INT_MIN): Use macro-int-constant. Specify type. Make upper
15130 bound negative.
15131 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
15132 bound with "U".
15133 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15134 bound with "L".
15135 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
15136 bound negative. Suffix upper bound with "L".
15137 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
15138 bound with "UL".
15139 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
15140 Specify type.
15141 [C99-based standards] (LLONG_MAX): Likewise.
15142 [C99-based standards] (ULLONG_MAX): Likewise.
15143 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
15144 == 0.
15145 [ISO11] (max_align_t): Require type.
15146 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15147
c9140a62
JM
15148 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
15149 from $CFLAGS, without defining away __attribute__ calls.
15150 (checknamespace): Use $CFLAGS_namespace.
15151
9af0bf29
JM
15152 * conform/conformtest.pl (@keywords): Only include C99 keywords
15153 for standards based on C99 or C11.
15154
343222a2
JM
15155 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
15156 Disable tests.
15157 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
15158 UNIX98]: Likewise.
15159
661f8cf0
JM
15160 * conform/conformtest.pl: Handle "macro-int-constant" and test for
15161 usability of symbols in #if.
15162
ee74b9cb
JM
15163 * conform/conformtest.pl: If macro or constant types start
15164 "promoted:", expect the symbol to be of the following type
15165 promoted by the integer promotions.
62fde54f 15166
aafc49b3
JM
15167 * conform/conformtest.pl: Parse all "constant" and "macro" lines
15168 in one place. Also handle "macro-constant".
15169
fefdf574
JM
15170 * conform/conformtest.pl: Only accept expected macro values with
15171 "==". Parse all "macro" lines in one place.
15172 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
15173
f2d922fe
JM
15174 * conform/conformtest.pl: Handle braced types on "constant" lines
15175 instead of handling "typed-constant".
15176 * conform/data/signal.h-data: Use "constant" instead of
15177 "typed-constant".
15178
d22956c9
JM
15179 * conform/conformtest.pl: Handle "optional-" at start of lines in
15180 one place rather than duplicating several cases. Handle each
15181 format of "macro" line with initial "optional-".
15182
028e2e38
JM
15183 * conform/conformtest.pl: Only accept expected constant or
15184 optional-constant values with "==". Parse all "constant" lines in
15185 one place. Parse all "optional-constant" lines in one place.
15186 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
15187 * conform/data/fmtmsg.h-data: Likewise.
15188 * conform/data/netinet/in.h-data: Likewise.
15189 * conform/data/tar.h-data: Likewise.
15190 * conform/data/limits.h-data: Use "==" form on "constant" and
15191 "optional-constant" lines.
15192
1b8f2850
JM
15193 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
15194 Use -std=c99 for XOPEN2K.
15195 (@knownproblems): Remove.
15196 (newtoken): Don't check %isknown.
15197
a05a144b
JM
15198 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
15199 Do not expect macro.
15200 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
15201 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
15202 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
15203 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
15204 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
15205 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
15206 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
15207 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
15208 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
15209 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
15210 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
15211 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
15212 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
15213 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
15214 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
15215 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
15216 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
15217 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
15218 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
15219 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
15220 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
15221 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
15222 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
15223 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
15224 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
15225 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
15226 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
15227 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
15228 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
15229 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
15230 [XPG3] (acosh): Likewise.
15231 [XPG3] (asinh): Likewise.
15232 [XPG3] (atanh): Likewise.
15233 [XPG3] (cbrt): Likewise.
15234 [XPG3] (expm1): Likewise.
15235 [XPG3] (ilogb): Likewise.
15236 [XPG3] (log1p): Likewise.
15237 [XPG3] (logb): Likewise.
15238 [XPG3] (nextafter): Likewise.
15239 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
15240 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
15241 [XPG3] (remainder): Likewise.
15242 [XPG3] (rint): Likewise.
15243 [XPG3 || XPG4 || UNIX98] (round): Likewise.
15244 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
15245 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
15246 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
15247 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
15248 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
15249 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
15250 [UNIX98 || XOPEN2K] (scalb): Expect.
15251 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
15252 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
15253 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
15254 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
15255 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
15256 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
15257 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
15258 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
15259 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
15260 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
15261 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
15262 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
15263 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
15264 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
15265 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
15266 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
15267 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
15268 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
15269 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
15270 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
15271 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
15272 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
15273 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
15274 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
15275 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
15276 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
15277 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
15278 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
15279 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
15280 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
15281 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
15282 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
15283 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
15284 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
15285 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
15286 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
15287 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
15288 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
15289 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
15290 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
15291 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
15292 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
15293 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
15294 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
15295 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
15296 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
15297 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
15298 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
15299 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
15300 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
15301 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
15302 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
15303 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
15304 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
15305 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
15306 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
15307 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
15308 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
15309 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
15310 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
15311 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
15312 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
15313 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
15314 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
15315 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
15316 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
15317 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
15318 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
15319 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
15320 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
15321 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
15322 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
15323 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
15324 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
15325 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
15326 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
15327 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
15328 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
15329 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
15330 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
15331 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
15332 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
15333 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
15334 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
15335 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
15336 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
15337 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
15338 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
15339 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
15340 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
15341 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
15342 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
15343 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
15344 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
15345 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
15346 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
15347 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
15348 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
15349 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
15350 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
15351 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
15352 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
15353 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
15354 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
15355 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
15356 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
15357 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
15358 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
15359 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
15360 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
15361 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
15362 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
15363 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
15364 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
15365 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
15366 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
15367 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
15368 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
15369 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
15370 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
15371 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
15372 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
15373 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
15374 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
15375 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
15376 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
15377 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
15378 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
15379 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
15380 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
15381 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
15382 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
15383 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
15384 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
15385 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
15386 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
15387 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
15388
73c5ebe3
JM
15389 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
15390 _XOPEN_SOURCE_EXTENDED for XPG4.
15391
39c33b6c
JM
15392 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
15393
62fde54f
JM
15394 * Makeconfig (localtime): Remove variable.
15395 (inst_localtime-file): Likewise.
15396
0741d64c
AS
153972012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15398
15399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
15400 Update.
15401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15402 Update.
15403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
15404 Update.
15405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15406 Update.
15407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
15408 Update.
15409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
15410 Update.
15411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15412 Update.
15413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
15414 Update.
15415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15416 Update.
15417
7cb029ee
JM
154182012-05-01 Joseph Myers <joseph@codesourcery.com>
15419
15420 [BZ #2550]
15421 [BZ #2570]
15422 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
15423 comparisons to determine direction to adjust input.
15424 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15425 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
15426 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15427 Likewise.
15428 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15429 Likewise.
15430 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15431 Likewise.
15432 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15433 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15434 Likewise.
15435 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15436 Likewise.
15437 * math/libm-test.inc (nexttoward_test): Add more tests.
15438
412bd966
AS
154392012-05-01 Andreas Schwab <schwab@linux-m68k.org>
15440
15441 [BZ #14040]
15442 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
15443 in version GLIBC_2.1, not GLIBC_2.0.
15444 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
15445 Likewise.
15446
9568c0c2
JM
154472012-04-30 Joseph Myers <joseph@codesourcery.com>
15448
adfbc8ac
JM
15449 [BZ #13942]
15450 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
15451 (1 - x) * (1 + x).
15452 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15453 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
15454 * math/libm-test.inc (acos_test): Add more tests.
15455 (asin_test): Likewise.
15456 * sysdeps/i386/fpu/libm-test-ulps: Update.
15457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15458
5ba3cc69
JM
15459 [BZ #14034]
15460 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
15461 of square root.
15462 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
15463 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
15464 * math/libm-test.inc (acos_test_tonearest): New function.
15465 (acos_test_towardzero): Likewise.
15466 (acos_test_downward): Likewise.
15467 (acos_test_upward): Likewise.
15468 (asin_test_tonearest): Likewise.
15469 (asin_test_towardzero): Likewise.
15470 (asin_test_downward): Likewise.
15471 (asin_test_upward): Likewise.
15472 (main): Call the new functions.
15473 * sysdeps/i386/fpu/libm-test-ulps: Update.
15474 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15475
9568c0c2
JM
15476 [BZ #13884]
15477 [BZ #13924]
15478 * math/e_exp10.c: Include <float.h>.
15479 (__ieee754_exp10): Handle underflow here rather than multiplying
15480 large negative argument by M_LN10.
15481 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
15482 of __ieee754_expf.
15483 * math/e_exp10l.c: Include <float.h>.
15484 (__ieee754_exp10l): Handle underflow here rather than multiplying
15485 large negative argument by M_LN10l.
15486 * math/libm-test.inc (exp10_test): Add another test. Do not allow
15487 spurious overflow exception on underflow.
15488
5ac3ea17
MP
154892012-04-29 Marek Polacek <polacek@redhat.com>
15490
15491 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
15492 (__fortify_function): New macro.
15493 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
15494 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
15495 __extern_always_inline.
15496 * libio/bits/stdio2.h: Likewise.
15497 * libio/bits/stdio.h: Likewise.
15498 * string/string.h: Likewise.
15499 * string/bits/string3.h: Likewise.
15500 * include/stdio.h: Likewise.
15501 * stdlib/bits/stdlib.h: Likewise.
15502 * stdlib/stdlib.h: Likewise.
15503 * rt/bits/mqueue2.h: Likewise.
15504 * rt/mqueue.h: Likewise.
15505 * posix/bits/unistd.h: Likewise.
15506 * posix/unistd.h: Likewise.
15507 * io/bits/poll2.h: Likewise.
15508 * io/bits/fcntl2.h: Likewise.
15509 * io/fcntl.h: Likewise.
15510 * io/sys/poll.h: Likewise.
15511 * misc/bits/syslog.h: Likewise.
15512 * misc/bits/syslog-ldbl.h: Likewise.
15513 * misc/sys/syslog.h: Likewise.
15514 * socket/bits/socket2.h: Likewise.
15515 * socket/sys/socket.h: Likewise.
15516 * debug/tst-chk1.c: Likewise.
15517 * wcsmbs/bits/wchar2.h: Likewise.
15518 * wcsmbs/bits/wchar-ldbl.h: Likewise.
15519 * wcsmbs/wchar.h: Likewise.
15520
ecf0ebfb
AJ
155212012-04-29 Andreas Jaeger <aj@suse.de>
15522
15523 * Makerules (tests): Remove enable-check-abi protection.
15524 (check-abi-warn): Remove.
15525 (check-abi-%): Remove check-abi-warn usage.
15526
15527 * configure.in: Remove check-abi configure option.
15528 * configure: Regenerated.
15529 * config.make.in (enable-check-abi): Remove.
15530
6d5c57fa
AS
155312012-04-28 Andreas Schwab <schwab@linux-m68k.org>
15532
24c5d07e 15533 [BZ #14033]
ded5180a
AS
15534 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
15535 double functions to double *_finite functions.
15536
7e0d315d
AS
15537 [BZ #13941]
15538 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
15539 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
15540 LDBL_MIN_EXP.
15541 * stdio-common/Makefile (tests): Add tst-sprintf3.
15542 * stdio-common/tst-sprintf3.c: New file.
15543
6d5c57fa
AS
15544 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
15545 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
15546
0749ff8b
JM
155472012-04-28 Joseph Myers <joseph@codesourcery.com>
15548
15549 * conform/conformtest.pl: Remove duplicate typed-constant
15550 handling.
15551
8dbd5d7b
DM
155522012-04-28 David S. Miller <davem@davemloft.net>
15553
15554 * Makerules (%.abilist): Add vpath on sysdep_dirs.
15555 (check-abi-%): Remove AWK script prerequisite and explicit
15556 abilist directory.
15557 (check-abi): Rewrite to just diff the symlist with the abilist.
15558 (config-tls, config-abi-config): Delete, no longer used.
15559 (update-abi-%): Remove AWK script and explicit abilist directory.
15560 (update-abi): Rewrite to simply compare and conditionally copy the
15561 symlist and the sysdep abilist file. Remove update-abi-config
15562 checks.
15563 * abilist/ld.abilist: Remove.
15564 * abilist/libBrokenLocale.abilist: Remove.
15565 * abilist/libanl.abilist: Remove.
15566 * abilist/libcrypt.abilist: Remove.
15567 * abilist/libdl.abilist: Remove.
15568 * abilist/librt.abilist: Remove.
15569 * abilist/libthread_db.abilist: Remove.
15570 * abilist/libutil.abilist: Remove.
15571 * scripts/extract-abilist.awk: Remove.
15572 * scripts/merge-abilist.awk: Remove.
15573 * sysdeps/generic/libcidn.abilist: New file.
15574 * sysdeps/generic/libnss_compat.abilist: New file.
15575 * sysdeps/generic/libnss_db.abilist: New file.
15576 * sysdeps/generic/libnss_dns.abilist: New file.
15577 * sysdeps/generic/libnss_files.abilist: New file.
15578 * sysdeps/generic/libnss_hesiod.abilist: New file.
15579 * sysdeps/generic/libnss_nis.abilist: New file.
15580 * sysdeps/generic/libnss_nisplus.abilist: New file.
15581 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
15582 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
15583 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
15584 file.
15585 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
15586 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
15587 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
15588 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
15589 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
15590 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
15591 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
15592 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
15593 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
15594 file.
15595 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
15596 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
15597 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
15598 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
15599 file.
15600 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
15601 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
15602 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
15603 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
15604 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
15605 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
15606 file.
15607 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
15608 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
15609 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
15610 file.
15611 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
15612 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
15613 New file.
15614 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
15615 New file.
15616 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
15617 New file.
15618 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
15619 New file.
15620 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
15621 New file.
15622 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
15623 New file.
15624 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
15625 New file.
15626 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
15627 New file.
15628 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
15629 New file.
15630 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
15631 New file.
15632 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
15633 New file.
15634 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
15635 New file.
15636 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
15637 New file.
15638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
15639 file.
15640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
15641 New file.
15642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
15643 New file.
15644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
15645 file.
15646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
15647 New file.
15648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
15649 New file.
15650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
15651 file.
15652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
15653 New file.
15654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15655 New file.
15656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
15657 New file.
15658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
15659 New file.
15660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
15661 New file.
15662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
15663 New file.
15664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
15665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
15666 file.
15667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
15668 New file.
15669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
15670 file.
15671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
15672 file.
15673 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
15674 file.
15675 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
15676 file.
15677 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
15678 file.
15679 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15680 New file.
15681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
15682 file.
15683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
15684 file.
15685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
15686 New file.
15687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
15688 file.
15689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
15690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
15691 file.
15692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
15693 New file.
15694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
15695 file.
15696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
15697 file.
15698 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
15699 file.
15700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
15701 file.
15702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
15703 file.
15704 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15705 New file.
15706 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
15707 file.
15708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
15709 file.
15710 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
15711 New file.
15712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
15713 file.
15714 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15715 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
15716 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
15717 file.
15718 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
15719 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
15720 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
15721 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
15722 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
15723 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
15724 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
15725 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
15726 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
15727 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
15728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
15729 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
15730 file.
15731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
15732 New file.
15733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
15734 file.
15735 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
15736 file.
15737 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
15738 file.
15739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
15740 file.
15741 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
15742 file.
15743 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15744 New file.
15745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
15746 New file.
15747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
15748 file.
15749 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
15750 New file.
15751 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
15752 file.
15753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
15754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
15755 file.
15756 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
15757 New file.
15758 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
15759 file.
15760 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
15761 file.
15762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
15763 file.
15764 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
15765 file.
15766 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
15767 file.
15768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15769 New file.
15770 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
15771 New file.
15772 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
15773 file.
15774 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
15775 New file.
15776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
15777 file.
15778
41d73a1b
JM
157792012-04-28 Joseph Myers <joseph@codesourcery.com>
15780
15781 * conform/conformtest.pl: Fix typo in handling typed-constant from
15782 allow-header.
15783
28aeeda4
JM
157842012-04-27 Joseph Myers <joseph@codesourcery.com>
15785
adae8f5e
JM
15786 * README: Cut down references to pre-2.6 Linux kernels and
15787 Linuxthreads. Update lists of configurations in libc and ports
15788 and sort alphabetically. Say "or newer" with Linux kernel version
15789 requirements.
15790
28aeeda4
JM
15791 * config.h.in [IS_IN_build]: Allow compiling without optimization.
15792
a462cb63
RA
157932012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
15794
15795 [BZ #887]
15796 * math/libm-test.inc (logb_test_downward): New test to expose
15797 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
15798 rounding mode.
15799
6ad3493e
JM
158002012-04-27 Joseph Myers <joseph@codesourcery.com>
15801
15802 [BZ #14027]
15803 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
15804 to be done.
15805 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
15806 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
15807
2ce4f015
JM
158082012-04-26 Joseph Myers <joseph@codesourcery.com>
15809
5aeb141a
JM
15810 * sysdeps/unix/i386/brk.S: Remove file.
15811 * sysdeps/unix/i386/dl-brk.S: Likewise.
15812 * sysdeps/unix/i386/pipe.S: Likewise.
15813 * sysdeps/unix/i386/sigreturn.S: Likewise.
15814 * sysdeps/unix/i386/syscall.S: Likewise.
15815 * sysdeps/unix/i386/vfork.S: Likewise.
15816 * sysdeps/unix/i386/wait.S: Likewise.
15817
7143acae
JM
15818 * sysdeps/unix/common/tcsendbrk.c: Move to ...
15819 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
15820
2ce4f015
JM
15821 * configure.in (arm*-none*): Do not allow without
15822 --enable-hacker-mode.
15823 (netbsd*): Remove case setting base_os.
15824 (386bsd*): Likewise.
15825 (freebsd*): Likewise.
15826 (bsdi*): Likewise.
15827 (osf*): Likewise.
15828 (sunos*): Likewise.
15829 (ultrix*): Likewise.
15830 (newsos*): Likewise.
15831 (dynix*): Likewise.
15832 (*bsd*): Likewise.
15833 (sysv*): Likewise.
15834 (isc*): Likewise.
15835 (esix*): Likewise.
15836 (sco*): Likewise.
15837 (minix*): Likewise.
15838 (irix4*): Likewise.
15839 (irix6*): Likewise.
15840 (solaris[2-9]*): Likewise.
15841 (none): Likewise.
15842 * configure: Regenerated.
15843
0ac229c8
AZ
158442012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15845
15846 [BZ #11521]
15847 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
15848 overflow or cancellation in calculating denominator.
15849 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
15850 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
15851 down expression to avoid unexpected rounding in newer GCCs.
15852 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
15853
33f244f4
DM
158542012-04-26 David S. Miller <davem@davemloft.net>
15855
15856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
15857 long-double compat symbols.
15858 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
15860 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
15861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
15862 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
15863 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15864 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15865 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
15866 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
15867 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
15868 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
15869 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
15870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
15871
cfa1f3e8
DM
158722012-04-25 David S. Miller <davem@davemloft.net>
15873
15874 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
15875 HWCAP_* values only after the memory barriers have been defined.
15876 (atomic_full_barrier): Define.
15877 (atomic_read_barrier): Define.
15878 (atomic_write_barrier): Define.
15879
6e236b92
SP
158802012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15881
15882 * shlib-versions: Add libgcc_s version information.
15883 * sysdeps/generic/libgcc_s.h: Remove.
15884 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
15885 libgcc_s.h.
15886 * sysdeps/gnu/unwind-resume.c: Likewise.
15887 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
15888
aab39a09
DM
158892012-04-25 David S. Miller <davem@davemloft.net>
15890
15891 * sysdeps/unix/sparc/brk.S: Delete.
15892 * sysdeps/unix/sparc/dl-brk.S: Delete.
15893 * sysdeps/unix/sparc/pipe.S: Delete.
15894 * sysdeps/unix/sparc/sysdep.S: Delete.
15895 * sysdeps/unix/sparc/sysdep.h: Delete.
15896 * sysdeps/unix/sparc/vfork.S: Delete.
15897 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
15898 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
15899 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
15900 ret_ERRVAL, r0, r1, MOVE): Define.
15901 (JUMPTARGET): Remove.
15902 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
15903 sysdeps/unix/sparc/sysdep.h
15904 (ENTRY, END): Remove.
15905 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15906
a3cc4f48
JM
159072012-04-25 Joseph Myers <joseph@codesourcery.com>
15908
2ed8cda2
JM
15909 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
15910 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
15911 -DIS_IN_build.
15912
35d76d59
JM
15913 * timezone/README: Update upstream location and email address for
15914 tzcode and tzdata.
15915 * timezone/zdump.c: Update from tzcode 2012b.
15916 * timezone/zic.c: Likewise.
15917
a3cc4f48
JM
15918 * configure.in (libc_cv_as_needed): Remove test.
15919 * configure: Regenerated.
15920 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
15921 conditional definition.
15922 [$(have-as-needed) != yes] (no-as-needed): Likewise.
15923 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
15924 * config.make.in (have-as-needed): Remove variable.
15925
ceab42c3
SP
159262012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15927 Paul Pluzhnikov <ppluzhnikov@google.com>
15928
15929 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
15930 strings correctly.
15931
3ce2865f
CLT
159322012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
15933
15934 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
15935 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
15936 * sysdeps/sh/strlen.S: Likewise.
15937
f37e0d68
JM
159382012-04-24 Joseph Myers <joseph@codesourcery.com>
15939
ae186e9a
JM
15940 * sysdeps/unix/fork.S: Remove file.
15941 * sysdeps/unix/i386/fork.S: Likewise.
15942 * sysdeps/unix/sparc/fork.S: Likewise.
15943
b96914af
JM
15944 * sysdeps/unix/system.c: Remove file.
15945 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
15946
f37e0d68
JM
15947 * sysdeps/unix/getegid.S: Remove file.
15948 * sysdeps/unix/geteuid.S: Likewise.
15949
87ef29ca
RM
159502012-04-24 Roland McGrath <roland@hack.frob.com>
15951
83bcd236
RM
15952 * scripts/check-localplt.awk: New file.
15953 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
15954 of diff.
15955 * scripts/data/localplt-generic.data: Add a comment.
15956
87ef29ca
RM
15957 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
15958 NODE when __dir_mkfile failed.
15959 * sysdeps/mach/hurd/symlinkat.c: Likewise.
15960 Reported by Ludovic Courtès <ludo@gnu.org>.
15961
e5a6e567
AJ
159622012-04-24 Andreas Jaeger <aj@suse.de>
15963
15964 * Makerules (common-clean): Also remove gen-as-const-headers
15965 files.
15966
c1820385
JM
159672012-04-24 Joseph Myers <joseph@codesourcery.com>
15968
15969 * Makerules (native-compile): Do not change working directory for
15970 build. Use $(OUTPUT_OPTION) in command.
15971 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
15972
94e02fc4
AZ
159732012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15974
15975 [BZ #13886]
15976 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
15977 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
15978 * math/libm-test.inc (floor_test): Add more tests.
15979 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
15980
3a533ca3
JM
159812012-04-24 Joseph Myers <joseph@codesourcery.com>
15982
940ab4b3
JM
15983 * sysdeps/unix/getdents.c: Remove file.
15984 * sysdeps/unix/sysv/getdents.c: Likewise.
15985 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
15986
90e037bd
JM
15987 * sysdeps/unix/syscalls.list (madvise): Add syscall from
15988 sysdeps/unix/mman/syscalls.list.
15989 (mmap): Likewise.
15990 (mprotect): Likewise.
15991 (msync): Likewise.
15992 (munmap): Likewise.
15993 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
15994 * sysdeps/unix/mman/syscalls.list: Remove.
15995 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
15996
3a533ca3
JM
15997 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
15998 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
15999 * configure: Regenerated.
16000 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
16001 $(libgcc_s_suffix).
16002 * config.make.in (libgcc_s_suffix): Remove variable.
16003
1ad743de
JM
160042012-04-23 Joseph Myers <joseph@codesourcery.com>
16005
4ad451e2
JM
16006 * sysdeps/unix/sysv/gethostname.c: Move to ...
16007 * sysdeps/posix/gethostname.c: ... here.
16008
5e37ce39
JM
16009 * sysdeps/unix/execve.S: Remove file.
16010
1ad743de
JM
16011 * sysdeps/unix/_exit.S: Remove file.
16012
4e681b5b
AJ
160132012-04-23 Andreas Jaeger <aj@suse.de>
16014
16015 [BZ #13739]
16016 * manual/Makefile: Remove make dist support, there's no
16017 need for a stand-alone documentation tar ball.
16018 (TEXI2DVI): Define always, it's not in Makeconfig.
16019 (dist): Removed.
16020 (tar-it): Removed.
16021 (edition): Removed.
16022 (glibc-doc-$(edition).tar): Removed
16023 (%.Z): Removed.
16024 (%.gz): Removed.
16025 (%.uu): Removed.
16026 (ETAGS): Remove, it's in Makeconfig.
16027 (move-if-change): Remove, it's in Makeconfig.
16028
38686a03 160292012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
16030
16031 [BZ #13970]
16032 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
16033 (strtod, strtof, strtold, strtol, strtoul, strtoq)
16034 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
16035 (strtod_l, strtof_l, strtold_l): Remove __wur.
16036 It is not necessarily an error to ignore strtol's return value.
16037 One can reliably look at the stored endptr to decide whether
16038 the number had valid syntax.
16039
7c0616fa
AJ
160402012-04-21 Andreas Jaeger <aj@suse.de>
16041
803cb6b7 16042 [BZ #13739]
7c0616fa
AJ
16043 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
16044
b0fe253f
JM
160452012-04-21 Joseph Myers <joseph@codesourcery.com>
16046
16047 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
16048 * sysdeps/unix/sysv/Versions: Remove file.
16049
8280f22d
MT
160502012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
16051
16052 [BZ #13927]
16053 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16054
75ce411f 160552012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
16056
16057 [BZ #7064]
16058 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
16059 version from __vm86.
16060
097d59fa
JM
160612012-04-20 Joseph Myers <joseph@codesourcery.com>
16062
a90f3bcb
JM
16063 * sysdeps/unix/common/lxstat.c: Remove file.
16064 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
16065
edc7ea78
JM
16066 * sysdeps/unix/sysv/Makefile: Remove file.
16067
cb78c221
JM
16068 * sysdeps/unix/sysv/direct.h: Remove file.
16069
efa6a45f
JM
16070 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
16071 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
16072 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
16073 * sysdeps/unix/sysv/bits/signum.h: Likewise.
16074 * sysdeps/unix/sysv/bits/stat.h: Likewise.
16075 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
16076 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
16077
9c9f2d0c
JM
16078 * sysdeps/unix/sysv/setrlimit.c: Remove file.
16079
4541c83b
JM
16080 * sysdeps/unix/xmknod.c: Remove file.
16081 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
16082
f5d153a0
JM
16083 * sysdeps/unix/sysv/settimeofday.c: Remove file.
16084
aa746595
JM
16085 * sysdeps/unix/sysv/i386/time.S: Remove file.
16086
cce5905e
JM
16087 * sysdeps/unix/fxstat.c: Remove file.
16088 * sysdeps/unix/xstat.c: Likewise.
16089 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
16090
37fa3841
JM
16091 * sysdeps/unix/sysv/sigaction.c: Remove file.
16092
ff1962a3
JM
16093 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
16094 (sysdep_headers): Remove variable.
16095 [termio.h not in sysdep_headers] (generated): Likewise.
16096 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
16097 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
16098 * sysdeps/unix/sysv/tcdrain.c: Likewise.
16099 * sysdeps/unix/sysv/tcflow.c: Likewise.
16100 * sysdeps/unix/sysv/tcflush.c: Likewise.
16101 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
16102 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
16103 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
16104 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
16105 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
16106
e7740d31
JM
16107 * sysdeps/unix/siglist.c: Remove file.
16108
ee06f18b
JM
16109 * sysdeps/unix/getppid.S: Remove file.
16110
097d59fa
JM
16111 * sysdeps/unix/mkdir.c: Remove file.
16112 * sysdeps/unix/rmdir.c: Likewise.
16113
ff3d51ec
AS
161142012-04-19 Andreas Schwab <schwab@linux-m68k.org>
16115
16116 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
16117 ERR_MAX value.
16118 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
16119 errlist-compat value.
16120
50f81fd7
DM
161212012-04-18 David S. Miller <davem@davemloft.net>
16122
16123 * sysdeps/generic/memcopy.h (reg_char): Delete.
16124 * debug/strcat_chk.c: Use char, not reg_char.
16125 * debug/strcpy_chk.c: Likewise.
16126 * debug/strncat_chk.c: Likewise.
16127 * debug/strncpy_chk.c: Likewise.
16128 * string/memchr.c: Likewise.
16129 * string/memrchr.c: Likewise.
16130 * string/rawmemchr.c: Likewise.
16131 * string/strcat.c: Likewise.
16132 * string/strchr.c: Likewise.
16133 * string/strchrnul.c: Likewise.
16134 * string/strcmp.c: Likewise.
16135 * string/strcpy.c: Likewise.
16136 * string/strncat.c: Likewise.
16137 * string/strncmp.c: Likewise.
16138 * string/strncpy.c: Likewise.
16139
8ff41c46
WS
161402012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16141
16142 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
16143 __builtin_memcopy is called when src and dest ranges are known to not
16144 overlap.
16145
6b652f46
WS
161462012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16147
16148 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
16149 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
16150 fwd_align_merge macro call.
16151 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
16152 bwd_align_merge macro call.
16153 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16154
b282631e
WS
161552012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
16156
16157 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
16158 bwd_align_merge macros.
16159 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
16160 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
16161 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16162
95aa737c
DM
161632012-04-18 David S. Miller <davem@davemloft.net>
16164
16165 * sysdeps/sparc/sparc64/memcopy.h: Delete.
16166
7a99a614
AJ
161672012-04-18 Andreas Jaeger <aj@suse.de>
16168
16169 [BZ# 6794]
16170 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
16171 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
16172 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16173
16174 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
16175 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
16176 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16177
16178 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
16179 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
16180 Adjust for changed ldbl-128 files.
16181
16182 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
16183 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
16184 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
16185
e5270c23
DM
161862012-04-17 David S. Miller <davem@davemloft.net>
16187
16188 * sysdeps/sparc/sparc32/memcopy.h: Delete.
16189
fb5e92c9
AS
161902012-04-17 Andreas Schwab <schwab@linux-m68k.org>
16191
16192 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
16193 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
16194 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
16195 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
16196 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
16197 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
16198
76da7265
AZ
161992012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16200
16201 [BZ #6794]
16202 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
16203 * math/libm-test.inc: Add ilogb errno and exception tests.
16204 * math/w_ilogb.c: New file: ilogb wrapper.
16205 * math/w_ilogbf.c: New file: ilogbf wrapper.
16206 * math/w_ilogbl.c: New file: ilogbl wrapper.
16207 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
16208 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
16209 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
16210 exception being thrown with 0.0 as argument.
16211 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
16212 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
16213 exception being thrown with 0.0 as argument.
16214 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
16215 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16216 exception being thrown with 0.0 as argument.
16217 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
16218 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
16219 exception being thrown with 0.0 as argument.
16220 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
16221 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 16222 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
16223 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
16224 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
16225 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
16226 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
16227 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
16228 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
16229
0396e69d
PB
162302012-04-17 Petr Baudis <pasky@ucw.cz>
16231
16232 * include/sys/uio.h: Change __vector to __iovec to avoid clash
16233 with altivec.
16234
750b5926
MP
162352012-04-16 Marek Polacek <polacek@redhat.com>
16236
16237 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
16238
751728a1
MP
162392012-04-16 Marek Polacek <polacek@redhat.com>
16240
16241 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
16242 operands of fdivp instruction.
16243
34a27407
L
162442012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16245
16246 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
16247 * elf/tst-auditmod3b.c: Likewise.
16248 * elf/tst-auditmod4b.c: Likewise.
16249 * elf/tst-auditmod5b.c: Likewise.
16250 * elf/tst-auditmod6b.c: Likewise.
16251 * elf/tst-auditmod6c.c: Likewise.
16252 * elf/tst-auditmod7b.c: Likewise.
16253 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
16254 * sysdeps/x86_64/preconfigure.in: Likewise.
16255 * sysdeps/x86_64/preconfigure: Regenerated.
16256
7e73e17d
L
162572012-04-13 H.J. Lu <hongjiu.lu@intel.com>
16258
16259 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
16260 __ILP32__.
16261
c7a6ab72
AB
162622012-04-13 Antoine Balestrat <merkil33@gmail.com>
16263
16264 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16265 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
16266
a9e8e0e0
CL
162672012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
16268
16269 [BZ #13973]
16270 * locale/iso-639.def: Fix gl language name. Spotted by
16271 Yaron Shahrabani.
16272
ec98af7d
RM
162732012-04-12 Roland McGrath <roland@hack.frob.com>
16274
16275 [BZ #2074]
16276 * libio/libio.h (__io_write_fn): Update comment.
16277
247c3ede
PB
162782012-04-12 Petr Baudis <pasky@ucw.cz>
16279
16280 [BZ #2074]
16281 * stdio.texi (Hook Functions): The user provided writer function
16282 is not allowed to return -1.
16283
55939d6d
DM
162842012-04-11 David S. Miller <davem@davemloft.net>
16285
16286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16287
90020f5a
MF
162882012-04-11 Mike Frysinger <vapier@gentoo.org>
16289
16290 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
16291 Add a leading slash to rtkaio.
16292
288f9098
JM
162932012-04-11 Jim Meyering <meyering@redhat.com>
16294
90020f5a
MF
16295 [BZ #11959]
16296 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
16297 It is not necessarily an error to ignore fwrite's return
16298 value. One can reliably use ferror to test for errors after
16299 the fact.
288f9098 16300
4be2b570
L
163012012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16302
16303 * bits/types.h (__snseconds_t): New type.
16304 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
16305
16306 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
16307 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16308 (__SNSECONDS_T_TYPE): Likewise.
16309 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16310 (__SNSECONDS_T_TYPE): Likewise.
16311 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16312 (__SNSECONDS_T_TYPE): Likewise.
16313
288f9098 163142012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
16315
16316 [BZ #2636]
16317 * manual/time.texi (Processor Time): Return type of times is
16318 elapsed real time since an arbitrary point in the past.
16319 (CPU Time): Move CLK_TCK from here...
16320 (Processor Time): ...to here. Correct description.
16321 * manual/conf.texi (Constants for Sysconf): Correct description of
16322 _SC_CLK_TCK.
16323
d7dd4413
DM
163242012-04-10 David S. Miller <davem@davemloft.net>
16325
16326 [BZ #13967]
16327 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
16328 where the is a gap between DT_REL(A) and DT_JMPREL.
16329
b46068fc
L
163302012-04-10 H.J. Lu <hongjiu.lu@intel.com>
16331
16332 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
16333 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16334 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16335
73d65cc3
SP
163362012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16337
16338 * elf/dl-support.c (_dl_inhibit_cache): New variable.
16339 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
16340 (dl_main): Handle --inhibit-cache.
16341 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
16342 _dl_inhibit_cache.
16343 * elf/dl-load.c (_dl_map_object): Use it.
16344 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
16345
bcc8d661
JM
163462012-04-09 Joseph Myers <joseph@codesourcery.com>
16347
8f9a2fae
JM
16348 [BZ #13872]
16349 * sysdeps/i386/fpu/e_powl.S (p78): New object.
16350 (__ieee754_powl): Saturate large exponents rather than testing for
16351 overflow of y*log2(x).
16352 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16353 * math/libm-test.inc (pow_test): Do not permit spurious overflow
16354 exceptions.
16355
bcc8d661
JM
16356 [BZ #11521]
16357 * math/s_ctan.c: Include <float.h>.
16358 (__ctan): Avoid internal overflow or cancellation in calculating
16359 denominator.
16360 * math/s_ctanf.c: Likewise.
16361 * math/s_ctanl.c: Likewise.
16362 * math/s_ctanh.c: Likewise.
16363 * math/s_ctanhf.c: Likewise.
16364 * math/s_ctanhl.c: Likewise.
16365 * math/libm-test.inc (ctan_test): Add more tests.
16366 (ctanh_test): Likewise.
16367 * sysdeps/i386/fpu/libm-test-ulps: Update.
16368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16369
823fbbb4
AJ
163702012-04-09 Andreas Jaeger <aj@suse.de>
16371
03879793
AJ
16372 [BZ #6894]
16373 * manual/filesys.texi (Directory Entries): Mention that d_namlen
16374 is an optional BSD extension.
16375
823fbbb4
AJ
16376 [BZ #10254]
16377 * manual/stdio.texi (Opening Streams): Document additional fopen
16378 parameters.
16379
8de131cb
RM
163802012-04-09 Roland McGrath <roland@hack.frob.com>
16381
16382 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
16383 %eax without telling the compiler.
16384
c0ed9d7d
CD
163852012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
16386
16387 [BZ # 13963]
16388 * manual/install.texi: Use sourceware.org.
16389
c483f6b4
JM
163902012-04-09 Joseph Myers <joseph@codesourcery.com>
16391
d7dd9453
JM
16392 [BZ #13873]
16393 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
16394 (__ieee754_pow): Generate overflow and underflow using huge*huge
16395 and tiny*tiny rather than just returning constant infinity or zero
16396 for large exponents.
16397 * math/libm-test.inc (pow_test): Require overflow exceptions for
16398 applicable cases of large exponents.
16399
c483f6b4
JM
16400 [BZ #706]
16401 * sysdeps/i386/fpu/e_pow.S (p10): New object.
16402 (__ieee754_pow): Use iterative multiplication algorithm only for
16403 integer exponents with absolute value below 1024. Check for odd
16404 integer exponents when using algorithm for real exponents.
16405 * math/libm-test.inc (pow_test): Add more tests.
16406 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16407
d2de7579
JM
164082012-04-08 Joseph Myers <joseph@codesourcery.com>
16409
16410 [BZ #13705]
16411 * math/libm-test.inc (exp_test): Do not allow overflow exception
16412 on underflow test.
16413
f77f1232
AJ
164142012-04-08 Aurelien Jarno <aurelien@aurel32.net>
16415
16416 [BZ #13705]
16417 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
16418 instead of __kernel_standard_f.
16419
3884932b
MF
164202012-04-08 Mike Frysinger <vapier@gentoo.org>
16421
16422 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
16423 * sysdeps/x86_64/memset_chk.S: Likewise.
16424
54472e9c
AJ
164252012-04-08 Andreas Jaeger <aj@suse.de>
16426
6ab0fbfc
AJ
16427 [BZ #10153]
16428 * manual/startup.texi (Environment Access): Describe return value
16429 for putenv and setenv.
16430
61efba8c
AJ
16431 [BZ #6895]
16432 * manual/filesys.texi (Directory Entries): Add description for
16433 DT_LNK.
16434
95c3f29a
AJ
16435 [BZ #6890]
16436 * manual/filesys.texi (Directory Entries): Clarify that it's file
16437 system not operating system in the description of DT_UNKNOWN.
16438
54472e9c
AJ
16439 [BZ #6578]
16440 * manual/syslog.texi (closelog): Fix reference, it's openlog.
16441
624254b1
SC
164422012-04-08 Stephen Compall <s11@member.fsf.org>
16443
16444 [BZ #6649]
16445 * manual/llio.texi (Opening and Closing Files): Add cross
16446 reference to explain mode argument.
16447
1e4920e0
MF
164482012-04-07 Mike Frysinger <vapier@gentoo.org>
16449
16450 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
16451 * sysdeps/x86_64/memset_chk.S: Likewise.
16452
5ed848f3
DM
164532012-04-07 David S. Miller <davem@davemloft.net>
16454
16455 * elf/elf.h (R_SPARC_WDISP10): Define.
16456 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
16457 R_SPARC_SIZE32.
16458 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
16459 R_SPARC_SIZE64 and R_SPARC_H34.
16460
96154cd8
CD
164612012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
16462
16463 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
16464 conditions and remove no longer applicable assertion.
16465
9904dc47
L
164662012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16467
16468 * bits/byteswap.h: Include <features.h>.
16469 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
16470 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
16471
f8887d0a
L
164722012-04-06 H.J. Lu <hongjiu.lu@intel.com>
16473
16474 * bits/byteswap.h (__bswap_16): Removed.
16475 Include <bits/byteswap-16.h> to get __bswap_16.
16476 * sysdeps/i386/bits/byteswap.h: Likewise.
16477 * sysdeps/s390/bits/byteswap.h: Likewise.
16478 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16479 * bits/byteswap-16.h: New file.
16480 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16481 * sysdeps/s390/bits/byteswap-16.h: Likewise.
16482 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
16483 * string/Makefile (headers): Add bits/byteswap-16.h.
16484
62470f60
PP
164852012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16486
16487 [BZ #13895]
16488 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
16489 extra indirection.
16490 * nss/Makefile (tests-static, tests): Add tst-nss-static.
16491 * nss/tst-nss-static.c: New.
16492
4dad7bab
RM
164932012-04-06 Robert Millan <rmh@gnu.org>
16494
16495 [BZ #6486]
16496 * manual/llio.texi (File Position Primitive): lseek
16497 refers to WHENCE when it really means OFFSET.
16498
e9142a17
AJ
164992012-04-06 Andreas Jaeger <aj@suse.de>
16500
2c040eff
AJ
16501 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
16502 strncmp declarations.
16503
e9142a17
AJ
16504 * abilist/libc.abilist: Add __poll and __ppoll.
16505
ff9f1c5f
DM
165062012-04-05 David S. Miller <davem@davemloft.net>
16507
dcd2ae90
DM
16508 * scripts/check-local-headers.sh: Accept a host triplet in the
16509 path matched by the exclude regexp.
16510
993eb054
DM
16511 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
16512 definition.
16513 * sysdeps/powerpc/powerpc32/dl-machine.h
16514 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
16515 * sysdeps/s390/s390-32/dl-machine.h
16516 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16517 * sysdeps/sparc/sparc32/dl-machine.h
16518 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16519 * sysdeps/sparc/sparc64/dl-machine.h
16520 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
16521
ff9f1c5f
DM
16522 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
16523 lazy binding.
48e2e132 16524 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
16525 undefined symbol errors.
16526
48e2e132 16527 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
16528 DT_NEEDED entries.
16529
e80d6f94
MM
165302012-04-05 Michael Matz <matz@suse.de>
16531
16532 [BZ #13592]
16533 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
16534
349fa79f
AJ
165352012-04-05 Andreas Jaeger <aj@suse.de>
16536
16537 [BZ #13908]
16538 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
16539 comment.
16540
f402708f
KK
165412012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16542
16543 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
16544 which ROUND is no valid rounding mode.
16545
2ecccfc9
KK
165462012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16547
16548 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
16549 read again.
16550 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
16551
8a53f50f
KK
165522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16553
16554 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
16555 an exception using FPU order intentionally.
16556
165572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16558
16559 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
16560 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
16561 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
16562 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
16563
d653abb7
SJ
165642012-04-05 Simon Josefsson <simon@josefsson.org>
16565
16566 [BZ #12340]
16567 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
16568 EINVAL when BUFLEN is too smal.
16569
c3b1bf7d
TS
165702012-04-05 Thomas Schwinge <thomas@codesourcery.com>
16571
16572 [BZ #13553]
16573 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
16574 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
16575
b1aa60f3
AJ
165762012-04-03 Andreas Jaeger <aj@suse.de>
16577
c3b1bf7d 16578 [BZ #13938]
67f60a26
AJ
16579 * manual/setjmp.texi (System V contexts): Fix sentence.
16580
b1aa60f3
AJ
16581 [BZ #13926]
16582 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
16583 New macro for this case.
16584 [!__GNUC__] (__bswap_64): New inline function for this case.
16585 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16586 * bits/byteswap.h: Likewise.
16587 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
16588 ull, guard with __GLIBC_HAVE_LONG_LONG.
16589
16590 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
16591 __GLIBC_HAVE_LONG_LONG.
16592
16593 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
16594 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
16595
39c59c35
TMQMF
165962012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16597
16598 [BZ #13691]
16599 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
16600 inptr and inend, rather than using last_ch.
16601
135ffda8
DM
166022012-04-02 David S. Miller <davem@davemloft.net>
16603
16604 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
16605 * stdio-common/printf-parse.h (read_int): Change return type to
16606 'int', return -1 on INT_MAX overflow.
16607 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
16608 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
16609 overflows INT_MAX. Check for overflow of in-format-string precision
16610 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
16611 SIZE_MAX not INT_MAX for integer overflow test.
16612 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
16613 skip the construct in the format string but do not record anything.
16614 * stdio-common/bug22.c: Adjust to test both width/prevision
16615 INT_MAX overflow as well as total length INT_MAX overflow. Check
16616 explicitly for proper errno values.
16617
228c019e
TS
166182012-04-02 Thomas Schwinge <thomas@codesourcery.com>
16619
302cadd3
TS
16620 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
16621 CHAR_MAX.
16622 * string/test-strcmp.c [! WIDE]: Likewise.
16623 * time/tst-mktime2.c: Likewise for INT_MAX.
16624 * string/test-string.h: #include <sys/param.h> for MIN.
16625
228c019e
TS
16626 * csu/init-first.c (__libc_init_first): Call __ctype_init.
16627 * sysdeps/i386/init-first.c (init): Likewise.
16628 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
16629 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
16630 * sysdeps/sh/init-first.c (init): Likewise.
16631
cfa633f5
UD
166322012-04-01 Ulrich Drepper <drepper@gmail.com>
16633
16634 * po/ru.po: Update from translation team.
d1635ef8 16635 * po/vi.po: Likewise.
cfa633f5 16636
6cd0a5ea
SP
166372012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16638
16639 * resolv/nss_dns/dns-host.c: Merge copyright years.
16640
4b43400f
LD
166412012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16642
16643 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
16644 Optimize memcpy with prefetch if
16645 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
16646 src, dst pointers have unequal 16 byte alignments.
16647
48c41d04
SP
166482012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16649
16650 [BZ #13928]
16651 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
16652 from a CNAME entry and return the minimum ttl for the query.
16653 (gaih_getanswer_slice): Likewise.
16654
b8dc394d
JL
166552012-03-30 Jeff Law <law@redhat.com>
16656
16657 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
16658 due to long keys.
16659 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
16660 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
16661
2f5a5ed0
JL
16662 * resolv/nss_dns/dns-host.c: Update copyright year.
16663
1d39e359
UD
166642012-03-30 Ulrich Drepper <drepper@gmail.com>
16665
c030f70c 16666 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 16667 requests to save a system call. Fix check that all bytes are sent.
c030f70c 16668
1d39e359
UD
16669 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
16670 comments for sendmmsg.
16671
166722012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
16673
16674 [BZ #13691]
16675 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
16676 with only 1 character between 0x0041 and 0x01b0.
16677 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
16678 * wcsmbs/tst-mbsnrtowcs.c: New file.
16679
20fde227
DM
166802012-03-29 David S. Miller <davem@davemloft.net>
16681
16682 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
16683 small copies by hand.
16684
984a4237
JL
166852012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16686
16687 [BZ #13761]
16688 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
16689 _nss_compat_initgroups_dyn): Fall back to malloc/free
16690 for large group memberships.
16691
18c9d62b
DM
166922012-03-28 David S. Miller <davem@davemloft.net>
16693
88d85d4f
DM
16694 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
16695 that branches into memcpy.
16696 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16697 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
16698 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16699 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
16700 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
16701 bits.
16702 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
16703 implementation too.
16704 * sysdeps/sparc/mempcpy.S: New file.
16705
e5aa83e1
DM
16706 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
16707 the IFUNC routine in the libc case.
16708 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
16709
88570753
DM
16710 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
16711 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
16712 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
16713 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
16714 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
16715 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
16716 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
16717 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
16718
249d7567
DM
16719 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
16720 loop to 256 bytes instead of 64 bytes and fix test signedness.
16721
18c9d62b
DM
16722 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
16723 * sysdeps/sparc/sparc32/Makefile: rather than here...
16724 * sysdeps/sparc/sparc64/Makefile: and here.
16725
05f3d1f6
UD
167262012-03-28 Ulrich Drepper <drepper@gmail.com>
16727
16728 * malloc/mallocbug.c: Avoid warnings about unused variables.
16729
86ae07a8
JL
167302012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16731
16732 [BZ #13760]
16733 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
16734 in the right place. Discard and retry query if response is
16735 larger than input buffer size.
16736
41bf21a1
JM
167372012-03-28 Joseph Myers <joseph@codesourcery.com>
16738
d6270972
JM
16739 [BZ #369]
16740 [BZ #2678]
16741 [BZ #3866]
16742 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
16743 x for large integer exponent.
16744 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
16745 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
16746 sign of result as needed afterwards.
16747 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
16748 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
16749 result for underflowing pow the same as for overflow.
16750 (__kernel_standard_l): Handle powl overflow and underflow here
16751 rather than calling __kernel_standard.
16752 * math/libm-test.inc (pow_test): Add more tests.
16753
414fca03 16754 [BZ #3868]
41bf21a1
JM
16755 [BZ #13879]
16756 [BZ #13910]
16757 [BZ #13911]
16758 [BZ #13912]
16759 [BZ #13913]
16760 [BZ #13915]
16761 [BZ #13916]
16762 [BZ #13917]
16763 [BZ #13918]
16764 [BZ #13919]
16765 [BZ #13920]
16766 [BZ #13921]
16767 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
16768 * sysdeps/ieee754/k_standard.c: Include <float.h>.
16769 (__kernel_standard_l): New function.
16770 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
16771 __kernel_standard.
16772 * math/w_acosl.c (__acosl): Likewise.
16773 * math/w_asinl.c (__asinl): Likewise.
16774 * math/w_atan2l.c (__atan2l): Likewise.
16775 * math/w_atanhl.c (__atanhl): Likewise.
16776 * math/w_coshl.c (__coshl): Likewise.
16777 * math/w_exp10l.c (__exp10l): Likewise.
16778 * math/w_exp2l.c (__exp2l): Likewise.
16779 * math/w_fmodl.c (__fmodl): Likewise.
16780 * math/w_hypotl.c (__hypotl): Likewise.
16781 * math/w_j0l.c (__j0l, __y0l): Likewise.
16782 * math/w_j1l.c (__j1l, __y1l): Likewise.
16783 * math/w_jnl.c (__jnl, __ynl): Likewise.
16784 * math/w_lgammal.c (__lgammal): Likewise.
16785 * math/w_log10l.c (__log10l): Likewise.
16786 * math/w_log2l.c (__log2l): Likewise.
16787 * math/w_logl.c (__logl): Likewise.
16788 * math/w_powl.c (__powl): Likewise.
16789 * math/w_remainderl.c (__remainderl): Likewise.
16790 * math/w_scalbl.c (sysv_scalbl): Likewise.
16791 * math/w_sinhl.c (__sinhl): Likewise.
16792 * math/w_sqrtl.c (__sqrtl): Likewise.
16793 * math/w_tgammal.c (__tgammal): Likewise.
16794 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
16795 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
16796 * math/libm-test.inc (acos_test): Add more tests.
16797 (acosh_test): Likewise.
16798 (asin_test): Likewise.
16799 (atanh_test): Likewise.
16800 (exp_test): Likewise.
16801 (exp10_test): Likewise.
16802 (exp2_test): Likewise.
16803 (expm1_test): Likewise.
16804 (lgamma_test): Likewise.
16805 (log_test): Likewise.
16806 (log10_test): Likewise.
16807 (log1p_test): Likewise.
16808 (log2_test): Likewise.
16809 (pow_test): Do not allow some spurious overflow exceptions.
16810 (sqrt_test): Add more tests.
16811 (tgamma_test): Likewise.
16812 (y0_test): Likewise.
16813 (y1_test): Likewise.
16814 (yn_test): Likewise.
16815
dd62fda6
AB
168162012-03-27 Anton Blanchard <anton@samba.org>
16817
16818 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
16819 MAP_HUGETLB.
16820 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16821 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16822 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16823
1e3cdfda
AJ
168242012-03-27 David S. Miller <davem@davemloft.net>
16825
b855ab85
DM
16826 * conform/Makefile: Run run-conformtest.sh using $(BASH).
16827
1e3cdfda
AJ
16828 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
16829 have-as-vis3 check.
16830
168312012-03-27 Andreas Jaeger <aj@suse.de>
16832
16833 * sysdeps/x86_64/elf/configure.in: Moved to ...
16834 * sysdeps/x86_64/configure.in: ... here.
16835 * sysdeps/x86_64/elf/start.S: Moved to ...
16836 * sysdeps/x86_64/start.S: ... here.
16837 * sysdeps/x86_64/elf/configure: Delete.
16838
16839 * sysdeps/x86_64/configure.in: Merge contents from
16840 sysdeps/i386/configure.in (without i686 check).
16841
16842 * sysdeps/i386/elf/Versions: Merge into ...
16843 * sysdeps/i386/Versions: ... this.
16844 * sysdeps/i386/elf/Versions: Delete file.
16845 * sysdeps/i386/elf/start.S: Moved to ...
16846 * sysdeps/i386/start.S: ...here.
16847 * sysdeps/i386/elf/configure.in: Merge into...
16848 * sysdeps/i386/configure.in: ...here.
16849 * sysdeps/i386/elf/configure.in: Delete file.
16850 * sysdeps/i386/elf/configure: Delete file.
16851
16852 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
16853 * debug/backtracesyms.c: ... here.
16854 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
16855 * debug/backtracesymsfd.c: ... here.
16856 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
16857 * sysdeps/generic/ifunc-sel.h: ... here.
16858
16859 * sysdeps/unix/i386/start.c: Delete file.
16860 * sysdeps/unix/sparc/start.c: Delete file.
16861 * sysdeps/unix/start.c: Delete file.
16862
16863 * sysdeps/sh/elf/configure.in: Moved to ...
16864 * sysdeps/sh/configure.in: ... here.
16865 * sysdeps/sh/elf/start.S: Moved to ...
16866 * sysdeps/sh/start.S: ... here.
16867 * sysdeps/sh/elf/configure: Delete file.
16868
16869 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
16870 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
16871 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
16872 * sysdeps/powerpc/powerpc64/entry.h: ... here.
16873 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
16874 * sysdeps/powerpc/powerpc64/start.S: here.
16875 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
16876 * sysdeps/powerpc/powerpc64/Makefile: ... this.
16877 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
16878 * sysdeps/powerpc/powerpc64/configure.in: ... this.
16879 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
16880
16881 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
16882 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
16883 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
16884 * sysdeps/powerpc/powerpc32/start.S: ... here.
16885 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
16886 * sysdeps/powerpc/powerpc32/configure.in: ... this.
16887 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
16888
16889 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
16890 * sysdeps/powerpc/ifunc-sel.h: ... here.
16891 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
16892 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
16893
16894 * sysdeps/sparc/elf/configure.in: Moved to ...
16895 * sysdeps/sparc/configure.in: ... here.
16896 * sysdeps/sparc/elf/configure: Delete file.
16897 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
16898 * sysdeps/sparc/sparc32/start.S: ... here.
16899 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
16900 * sysdeps/sparc/sparc64/start.S: ... here.
16901 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
16902 * sysdeps/sparc/sparc32/Makefile: ... this.
16903 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
16904 * sysdeps/sparc/sparc64/Makefile: ... this.
16905
16906 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
16907 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
16908 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
16909 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
16910 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
16911 * sysdeps/s390/s390-32/setjmp.S: ... here.
16912 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
16913 * sysdeps/s390/s390-32/configure.in: ... here.
16914 * sysdeps/s390/s390-32/elf/configure: Delete file.
16915 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
16916 * sysdeps/s390/s390-32/start.S: ... here.
16917
16918 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
16919 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
16920 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
16921 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
16922 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
16923 * sysdeps/s390/s390-64/setjmp.S: ... here.
16924 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
16925 * sysdeps/s390/s390-64/configure.in: ... here
16926 * sysdeps/s390/s390-64/elf/configure: Delete file.
16927 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
16928 * sysdeps/s390/s390-64/start.S: ... here.
16929 * sysdeps/s390/s390-64/elf/configure: Delete.
16930
16931 * configure.in: Remove support for elf directories in sysdeps.
16932
16933 * configure: Regenerated.
16934 * sysdeps/i386/configure: Regenerated.
16935 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16936 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16937 * sysdeps/s390/s390-32/configure: Regenerated.
16938 * sysdeps/s390/s390-64/configure: Regenerated.
16939 * sysdeps/sh/configure: Regenerated.
16940 * sysdeps/sparc/configure: Regenerated.
16941 * sysdeps/x86_64/configure: Regenerated.
16942
a3f61311
AS
169432012-03-26 Andreas Schwab <schwab@linux-m68k.org>
16944
c876e002
AS
16945 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16946
a3f61311
AS
16947 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
16948 denormal result into account.
16949
ac4c54f0
RM
169502012-03-25 Roland McGrath <roland@hack.frob.com>
16951
16952 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
16953 Reported by Allan McRae <allan@archlinux.org>.
16954
6a9b9c02
JL
169552012-03-23 Jeff Law <law@redhat.com>
16956
16957 * nss/getnssent.c (__nss_getent): Fix typo.
16958
4c42a0c1
DM
169592012-03-23 David S. Miller <davem@davemloft.net>
16960
16961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16962
1532c7ac
L
169632012-03-23 H.J. Lu <hongjiu.lu@intel.com>
16964
16965 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
16966 to pad to uint64_t for each field.
16967 (dl_tls_index): Replace unsigned long with uint64_t.
16968
3ff42526
PP
169692012-03-23 Daniel Jacobowitz <dmj@google.com>
16970 Paul Pluzhnikov <ppluzhnikov@google.com>
16971
16972 [BZ #6528]
16973 * grp/Makefile (otherlibs): Don't set it.
16974 * inet/Makefile (otherlibs): Likewise.
16975 * login/Makefile (otherlibs): Likewise.
16976 * nscd/Makefile (otherlibs): Likewise.
16977 * posix/Makefile (otherlibs): Likewise.
16978 * pwd/Makefile (otherlibs): Likewise.
16979 * rt/Makefile (otherlibs): Likewise.
16980 * sunrpc/Makefile (otherlibs): Likewise.
16981 * nss/Makefile (otherlibs): Likewise.
16982 Add libnss_files to routines and static-only-routines.
16983 ($(objpfx)getent): Remove rule.
16984 * resolv/Makefile: Add libnss_dns and libresolv to routines and
16985 static-only-routines.
16986
7c69cd14
JM
169872012-03-22 Joseph Myers <joseph@codesourcery.com>
16988
16989 [BZ #13892]
16990 * math/s_cexp.c: Include <float.h>.
16991 (__cexp): Handle exp result overflowing not necessarily
16992 overflowing both real and imaginary parts of result.
16993 * math/s_cexpf.c: Likewise.
16994 * math/s_cexpl.c: Likewise.
16995 * math/libm-test.inc (cexp_test): Add more tests.
16996 * sysdeps/i386/fpu/libm-test-ulps: Update.
16997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16998
81b035fe
L
169992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17000
17001 * include/link.h (ELFW): New macro.
17002 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
17003 Replace ELF64_R_TYPE with ELFW(R_TYPE).
17004
1da7940c
L
170052012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17006
17007 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
17008 with uint64_t.
17009
b749dbb9
L
170102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17011
17012 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
17013 declaration.
17014 (struct La_x32_retval): Likewise.
17015
2ff87f3f
L
170162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
17017
17018 * sysdeps/x86_64/preconfigure.in: New file.
17019 * sysdeps/x86_64/preconfigure: New generated file.
17020
c0df8e69
JM
170212012-03-22 Joseph Myers <joseph@codesourcery.com>
17022
48e44791
JM
17023 [BZ #13824]
17024 * math/e_exp2l.c: Include <float.h>.
17025 (__ieee754_exp2l): Handle overflow and underflow cases
17026 separately. Only pass fractional part of argument to
17027 __ieee754_expl.
17028 * math/libm-test.inc (exp2_test): Add more tests.
17029
c0df8e69
JM
17030 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
17031 negating x to take absolute value.
17032 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17033 Likewise.
17034 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
17035 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17036 Likewise.
17037 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
17038 computing low part if x was negated.
17039 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17040
c8e43ba7
L
170412012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17042
17043 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
17044 la_x32_gnu_pltexit.
17045 (pltexit): Cast int_retval to ptrdiff_t.
17046 * elf/tst-auditmod3b.c: Likewise.
17047 * elf/tst-auditmod4b.c: Likewise.
17048 * elf/tst-auditmod5b.c: Likewise.
17049 * elf/tst-auditmod6b.c: Likewise.
17050 * elf/tst-auditmod6c.c: Likewise.
17051 * elf/tst-auditmod7b.c: Likewise.
17052
17053 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
17054 and x32_gnu_pltexit.
17055
17056 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
17057 __ELF_NATIVE_CLASS.
17058 (La_x32_regs): New macro.
17059 (La_x32_retval): Likewise.
17060 (la_x32_gnu_pltenter): New function prototype.
17061 (la_x32_gnu_pltexit): Likewise.
17062
7998fa78
AS
170632012-03-21 Andreas Schwab <schwab@linux-m68k.org>
17064
dcb33988
AS
17065 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
17066 exponent.
17067
233fc563
AS
17068 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17069
7998fa78
AS
17070 * configure.in (libc_cv_cc_nofma): Check for option to disable
17071 generation of FMA instructions.
17072 * configure: Regenerate.
17073 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
17074 * sysdeps/ieee754/dbl-64/Makefile: New file.
17075 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
17076 Remove brandred-fma4.
17077 (CFLAGS-brandred-fma4.c): Remove.
17078 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
17079 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
17080 define.
17081 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
17082 define.
17083
8e95c99a
L
170842012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17085
17086 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17087 LLONG_MAX != LONG_MAX.
17088 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17089 (_fitoa_word): Likewise.
17090 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
17091 LLONG_MAX != LONG_MAX.
17092 * stdio-common/_itowa.h: Include <_itoa.h>.
17093 (_itowa_word): Use _ITOA_WORD_TYPE on value.
17094 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
17095 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
17096 only if not defined.
17097 (_ITOA_WORD_TYPE): Likewise.
17098 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17099 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
17100
6f4db457
DM
171012012-03-21 David S. Miller <davem@davemloft.net>
17102
17103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17104
7785fe5a
L
171052012-03-21 H.J. Lu <hongjiu.lu@intel.com>
17106
17107 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
17108 of x86_64 when setting libc_cv_slibdir, libdir and
17109 libc_cv_localedir.
17110 * sysdeps/unix/sysv/linux/configure: Regenerated.
17111
4535cd55
JM
171122012-03-21 Joseph Myers <joseph@codesourcery.com>
17113
17114 * manual/lang.texi (Old Varargs): Remove section.
17115 (How Variadic): Update menu.
17116 (va_start): Do not mention varargs.h.
17117
17228132
TS
171182012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17119 Joseph Myers <joseph@codesourcery.com>
17120
17121 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
17122 link test.
17123 * configure: Regenerated.
17124
8149f976
TS
171252012-03-21 Thomas Schwinge <thomas@codesourcery.com>
17126
05f3d1f6
UD
17127 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
17128 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
17129 conformtest.pl
8149f976 17130
1a4ac776
JM
171312012-03-21 Joseph Myers <joseph@codesourcery.com>
17132
be22ce65
JM
17133 * NOTES: Remove.
17134 * Makefile (files-for-dist): Remove NOTES.
17135 (NOTES): Remove rule.
17136 * README: Don't refer to NOTES.
17137 * manual/creature.texi: Don't include macros.texi.
17138 * manual/intro.texi (creature.texi): Remove comment referring to
17139 NOTES.
17140
40b601fb
JM
17141 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
17142 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
17143 * configure: Regenerated.
17144 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
17145 LIBC_TRY_CC_OPTION.
17146 (libc_cv_as_i686): Likewise.
17147 (libc_cv_cc_avx): Likewise.
17148 (libc_cv_cc_sse2avx): Likewise.
17149 (libc_cv_cc_fma4): Likewise.
17150 (libc_cv_cc_novzeroupper): Likewise.
17151 * sysdeps/i386/configure: Regenerated.
17152
1a4ac776
JM
17153 [BZ #13883]
17154 * sysdeps/i386/fpu/s_cexp.S: Remove.
17155 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
17156 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
17157 * math/libm-test.inc (cexp_test): Add more tests.
17158 * sysdeps/i386/fpu/libm-test-ulps: Update.
17159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17160
a458e7fe
AM
171612012-03-21 Allan McRae <allan@archlinux.org>
17162
17163 * timezone/Makefile: Do not install iso3166.tab and zone.tab
17164
0cb7efc5
JM
171652012-03-21 Joseph Myers <joseph@codesourcery.com>
17166
17167 [BZ #13871]
17168 * math/w_exp2.c: Do not include <float.h>.
17169 (o_threshold, u_threshold): Remove.
17170 (__exp2): Calculate result before checking finiteness and calling
17171 __kernel_standard.
17172 * math/w_exp2f.c: Likewise.
17173 * math/w_exp2l.c: Likewise.
17174 * math/libm-test.inc (exp2_test): Require overflow exception for
17175 1e6 input.
2460d3aa
JM
17176
17177 [BZ #3866]
17178 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
17179 range of signed 64-bit integers before using fistpll. Remove
17180 checks for whether integers fit in mantissa bits.
17181 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
17182 the range of signed 32-bit integers before using fistpl. Remove
17183 checks for whether integers fit in mantissa bits.
17184 * sysdeps/i386/fpu/e_powl.S (p64): New object.
17185 (__ieee754_powl): Test for y outside the range of signed 64-bit
17186 integers before using fistpll. Reduce 64-bit values to 63-bit
17187 ones as needed.
17188 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
17189 divide-by-zero is raised for zero to large negative powers.
17190 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
17191 (__ieee754_powl): Test for y outside the range of signed 64-bit
17192 integers before using fistpll. Reduce 64-bit values to 63-bit
17193 ones as needed.
17194 * math/libm-test.inc (pow_test): Add more tests.
17195
eb96ffb0
L
171962012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17197
17198 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
17199 <stdio-common/_itoa.h>.
17200 * debug/segfault.c: Likewise.
17201 * elf/dl-cache.c: Likewise.
17202 * elf/dl-minimal.c: Likewise.
17203 * elf/dl-misc.c: Likewise.
17204 * elf/dl-sysdep.c: Likewise.
17205 * elf/dl-version.c: Likewise.
17206 * elf/rtld.c: Likewise.
17207 * hurd/hurdsock.c: Likewise.
17208 * hurd/lookup-retry.c: Likewise.
17209 * malloc/malloc.c: Likewise.
17210 * malloc/mtrace.c: Likewise.
17211 * nscd/nscd_getgr_r.c: Likewise.
17212 * nscd/nscd_getpw_r.c: Likewise.
17213 * nscd/nscd_getserv_r.c: Likewise.
17214 * posix/getopt_init.c: Likewise.
17215 * posix/wordexp.c: Likewise.
17216 * stdio-common/_itoa.c: Likewise.
17217 * stdio-common/printf_fphex.c: Likewise.
17218 * stdio-common/vfprintf.c: Likewise.
17219 * string/_strerror.c: Likewise.
17220 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
17221 * sysdeps/i386/i686/hp-timing.h: Likewise.
17222 * sysdeps/mach/_strerror.c: Likewise.
17223 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
17224 * sysdeps/mach/hurd/sethostid.c: Likewise.
17225 * sysdeps/mach/hurd/xmknodat.c: Likewise.
17226 * sysdeps/mach/xpg-strerror.c: Likewise.
17227 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17228 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
17229 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
17230 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
17231 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
17232 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
17233 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
17234 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
17235 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
17236 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
17237 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
17238 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17239 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
17240 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17241 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17242 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
17243 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
17244 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
17245 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17246 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17247 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
17248
17249 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
17250
17251 * stdio-common/_itoa.h: Moved to ...
17252 * sysdeps/generic/_itoa.h: Here.
17253
17254 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
17255
17256 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
17257 instead of "_itoa.h" and "_itowa.h".
17258 * stdio-common/vfprintf.: Likewise.
17259
d1af992d
L
172602012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17261
17262 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
17263 <bits/wordsize.h>.
17264 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
17265 (__signbit): Likwise.
17266 (llrintf): Likwise.
17267 (llrint): Likwise.
17268
114883e0
L
172692012-03-20 H.J. Lu <hongjiu.lu@intel.com>
17270
17271 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
17272 __WORDSIZE != 64.
17273
c135cc1b
JM
172742012-03-20 Joseph Myers <joseph@codesourcery.com>
17275
17276 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
17277 OVERFLOW_EXCEPTION_OK.
17278 * math/libm-test.inc ("Philosophy"): Update comment about
17279 exception testing.
17280 (OVERFLOW_EXCEPTION): Define.
17281 (OVERFLOW_EXCEPTION_OK): Likewise.
17282 (INVALID_EXCEPTION_OK): Renumber.
17283 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17284 (IGNORE_ZERO_INF_SIGN): Likewise.
17285 (test_exceptions): Handle FE_OVERFLOW.
17286 (exp10_test): Expect overflow exceptions.
17287 (exp2_test): Likewise.
17288 (expm1_test): Likewise.
17289 (nextafter_test): Likewise.
17290 (pow_test): Likewise.
17291 (scalbn_test): Likewise.
17292 (scalbln_test): Likewise.
17293
95443d88
L
172942012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17295
17296 * sysdeps/x86_64/bits/atomic.h
17297 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
17298 64bit integer.
17299 (atomic_exchange_acq): Likewise.
17300 (__arch_exchange_and_add_body): Likewise.
17301 (__arch_add_body): Likewise.
17302 (atomic_add_negative): Likewise.
17303 (atomic_add_zero): Likewise.
17304
490df6c4
L
173052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17306
c2722551 17307 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
17308 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
17309
5e52b189
L
173102012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17311
17312 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
17313 Check __x86_64__ instead of __WORDSIZE.
17314
a9879d4c
L
173152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17316
17317 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
17318
5df98260
DM
173192012-03-19 David S. Miller <davem@davemloft.net>
17320
e1497744
DM
17321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17322
5df98260
DM
17323 * sysdeps/sparc/fpu/fenv_private.h: New file.
17324 * sysdeps/sparc/fpu/math_private.h: Use it.
17325 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
17326 Remove.
17327 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
17328 (libc_feholdexcept_setroundl): Remove.
17329 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
17330 Remove.
17331 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
17332 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
17333
b4c35121
L
173342012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17335
17336 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
17337 int64_t instead of long int.
17338 (INSERT_WORDS64): Likwise.
17339
56965fd7
L
173402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
17341
17342 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
17343 _Unwind_GetCFA return to _Unwind_Ptr first.
17344
83d1aec8
JM
173452012-03-19 Joseph Myers <joseph@codesourcery.com>
17346
1897ad44
JM
17347 [BZ #13629]
17348 * math/s_clog.c: Include <float.h>.
17349 (__clog): Scale large or subnormal inputs.
17350 * math/s_clogf.c: Likewise.
17351 * math/s_clogl.c: Likewise.
17352 * math/s_clog10.c: Include <float.h>.
17353 (M_LOG10_2): Define.
17354 (__clog10): Scale large or subnormal inputs.
17355 * math/s_clog10f.c: Likewise.
17356 * math/s_clog10l.c: Likewise.
17357 * math/libm-test.inc (clog_test): Add more tests.
17358 (clog10_test): Likewise.
17359 * sysdeps/i386/fpu/libm-test-ulps: Update.
17360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17361
7726d6a9
JM
17362 [BZ #11451]
17363 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
17364 x and y.
17365 * math/libm-test.inc (atan2_test): Add another test.
17366
83d1aec8
JM
17367 * Makerules (common-objdir-compile): Remove.
17368 * sysdeps/unix/Makefile (config-generated): Do not add
17369 $(unix-generated) to variable.
17370 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
17371 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
17372 Remove rule.
17373 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
17374 Likewise.
17375 [generic bits/local_lim.h] (before-compile): Do not append to
17376 variable.
17377 [generic bits/local_lim.h] (common-generated): Likewise.
17378 [generic sys/param.h] (before-compile): Do not append to variable.
17379 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
17380 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
17381 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
17382 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
17383 include.
17384 [generic sys/param.h] (sys/param.h-includes): Remove variable.
17385 [generic sys/param.h] (sys/param.h-includes): Remove rule.
17386 [generic sys/param.h] ($(addprefix
17387 $(common-objpfx),$(sys/param.h-includes))): Likewise.
17388 [generic sys/param.h] (common-generated): Do not append to
17389 variable.
17390 [generic sys/param.h] (sysdep_headers): Likewise.
17391 [generic bits/errno.h] (before-compile): Do not append to
17392 variable.
17393 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
17394 rule.
17395 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
17396 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
17397 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
17398 [generic bits/errno.h] (common-generated): Do not append to
17399 variable.
17400 [generic bits/ioctls.h] (before-compile): Do not append to
17401 variable.
17402 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
17403 rule.
17404 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
17405 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
17406 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
17407 rule.
17408 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
17409 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
17410 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
17411 [generic bits/ioctls.h] (common-generated): Do not append to
17412 variable.
17413 [generic sys/syscall.h] (syscall.h): Remove variable.
17414 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
17415 rule.
17416 [generic sys/syscall.h] (before-compile): Do not append to
17417 variable.
17418 [generic sys/syscall.h] (common-generated): Likewise.
17419 * sysdeps/unix/errnos-tmpl.c: Remove file.
17420 * sysdeps/unix/errnos.awk: Likewise.
17421 * sysdeps/unix/ioctls-tmpl.c: Likewise.
17422 * sysdeps/unix/ioctls.awk: Likewise.
17423 * sysdeps/unix/mk-local_lim.c: Likewise.
17424 * sysdeps/unix/snarf-ioctls: Likewise.
17425
4851a949
RH
174262012-03-19 Richard Henderson <rth@twiddle.net>
17427
bd37f2ee
RH
17428 * sysdeps/i386/fpu/fenv_private.h: New file.
17429 * sysdeps/i386/fpu/math_private.h: Use it.
17430 (math_opt_barrier, math_force_eval): Remove.
17431 (libc_feholdexcept_setround_53bit): Remove.
17432 (libc_feupdateenv_53bit): Remove.
17433 * sysdeps/x86_64/fpu/math_private.h: Likewise.
17434 (math_opt_barrier, math_force_eval): Remove.
17435 (libc_feholdexcept): Remove.
17436 (libc_feholdexcept_setround): Remove.
17437 (libc_fetestexcept, libc_fesetenv): Remove.
17438 (libc_feupdateenv_test): Remove.
17439 (libc_feupdateenv, libc_feholdsetround): Remove.
17440 (libc_feresetround): Remove.
17441
d0adc922
RH
17442 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
17443 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
17444
0fe0f1f8
RH
17445 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
17446 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
17447 (libc_feupdateenv_testl): New.
17448 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
17449 (libc_feupdateenv_testf): New.
17450 (libc_feupdateenv): Use libc_feupdateenv_test.
17451 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
17452 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
17453
eb92c487
RH
17454 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
17455 (libc_feholdsetroundf, libc_feholdsetroundl): New.
17456 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
17457 (libc_feresetround_noex): New.
17458 (libc_feresetround_noexf): New.
17459 (libc_feresetround_noexl): New.
17460 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
17461 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
17462 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
17463 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
17464 SET_RESTORE_ROUND.
17465 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17466 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
17467 (__cos): Likewise.
17468 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
17469 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17470 SET_RESTORE_ROUND_NOEX.
17471 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
17472 SET_RESTORE_ROUND_NOEXF.
17473 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
17474 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
17475 (libc_feholdsetroundf): New.
17476 (libc_feresetround, libc_feresetroundf): New.
17477
7d2e8012
RH
17478 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
17479 (libc_feholdexcept_setround_53bit): Convert from macro to function.
17480 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
17481
b4dabbb4
RH
17482 * sysdeps/generic/math_private.h: Include <fenv.h>.
17483 (default_libc_feholdexcept): New.
17484 (default_libc_feholdexcept_setround): New.
17485 (default_libc_fesetenv, default_libc_feupdateenv): New.
17486 (libc_feholdexcept): Only define if undefined.
17487 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
17488 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
17489 (libc_feholdexcept_setroundl): Likewise.
17490 (libc_feholdexcept_setround_53bit): Likewise.
17491 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
17492 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
17493 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
17494 (libc_feupdateenv_53bit): Likewise.
17495 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
17496 (libc_feholdexcept): Convert from macro to inline function.
17497 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
17498 (libc_fesetenv, libc_feupdateenv): Likewise.
17499
4851a949
RH
17500 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
17501 not previously defined.
17502 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
17503 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
17504 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
17505 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
17506 * sysdeps/ieee754/flt-32/math_private.h: New file.
17507 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
17508 math_private.h below SET_FLOAT_WORD.
17509 (__isnan, __isinf_ns, __finite): Remove.
17510 (__isnanf, __isinf_nsf, __finitef): Remove.
17511
e79d442e
AS
175122012-03-18 Andreas Schwab <schwab@linux-m68k.org>
17513
17514 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17515
90b80344
DM
175162012-03-17 David S. Miller <davem@davemloft.net>
17517
17518 [BZ #6471]
17519 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
17520 for 2.16.
17521
edc21804
DM
175222012-03-16 David S. Miller <davem@davemloft.net>
17523
77e927af
DM
17524 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
17525 warnings.
17526
374976dd
DM
17527 [BZ #6471]
17528 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
17529 properly.
17530 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
17531 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
17532 sysdep_routines when subdir is sysvipc.
17533 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
17534 __getshmlba helper.
17535
edc21804
DM
17536 * sysdeps/sparc/fpu/libm-test/ulps: Update.
17537
473c3ef3
L
175382012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17539
17540 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
17541 [__LP64__].
17542
eb0f39b6
L
175432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17544
17545 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
17546 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
17547 (__lround): Renamed to ...
17548 (__llround): This. Replace long int with long long int.
17549 Define lround functions as aliases of llround functions.
17550 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
17551
6b6cd74b
L
175522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17553
17554 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
17555 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
17556 adresses to uintptr_t. Replace "long int" and "unsigned long
17557 int" with "greg_t" on va_arg.
17558
f1a77b01
L
175592012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17560
17561 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
17562 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
17563
17564 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
17565 Move e_machine check before EI_CLASS check. Handle x32
17566 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
17567 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
17568 SKIP_EM_IA_64 and include
17569 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
17570
17571 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
17572 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
17573 (add_system_dir): New macro.
17574
17575 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
17576 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
17577
11b90b9f
JM
175782012-03-16 Joseph Myers <joseph@codesourcery.com>
17579
c36e1d23
JM
17580 [BZ #2551]
17581 [BZ #2552]
17582 [BZ #2553]
17583 [BZ #2554]
17584 [BZ #2562]
17585 [BZ #2563]
17586 [BZ #2565]
17587 [BZ #2566]
17588 [BZ #2576]
17589 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
17590 (y0): Likewise.
17591 * math/w_j0f.c (j0f): Likewise.
17592 (y0f): Likewise.
17593 * math/w_j0l.c (__j0l): Likewise.
17594 (__y0l): Likewise.
17595 * math/w_j1.c (j1): Likewise.
17596 (y1): Likewise.
17597 * math/w_j1f.c (j1f): Likewise.
17598 (y1f): Likewise.
17599 * math/w_j1l.c (__j1l): Likewise.
17600 (__y1l): Likewise.
17601 * math/w_jn.c (jn): Likewise.
17602 (yn): Likewise.
17603 * math/w_jnf.c (jnf): Likewise.
17604 (ynf): Likewise.
17605 * math/w_jnl.c (__jnl): Likewise.
17606 (__ynl): Likewise.
17607 * math/libm-test.inc (j0_test): Add more tests.
17608 (j1_test): Likewise.
17609 (jn_test): Likewise. Add trailing semicolon to existing test.
17610 (y0_test): Likewise.
17611 (y1_test): Likewise.
17612 * sysdeps/i386/fpu/libm-test-ulps: Update.
17613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17614
11b90b9f
JM
17615 [BZ #13851]
17616 [BZ #13854]
17617 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17618 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
17619 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
17620 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
17621 (__tanl): Set errno for infinite argument.
17622 * sysdeps/i386/fpu/mptan.c: Remove.
17623 * sysdeps/i386/fpu/s_tan.S: Likewise.
17624 * sysdeps/i386/fpu/s_tanl.S: Likewise.
17625 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
17626 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
17627 * math/libm-test.inc (tan_test): Add more tests and enable more
17628 tests for double and long double.
17629 * sysdeps/i386/fpu/libm-test-ulps: Update.
17630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17631
6a1bd2a1
JK
176322012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17633
17634 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
17635 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
17636
10a803e0
RM
176372012-03-16 Roland McGrath <roland@hack.frob.com>
17638
17639 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
17640 * configure.in: Use it for both main tree and add-ons.
17641 * configure: Regenerated.
17642
f196c7f7
L
176432012-03-16 H.J. Lu <hongjiu.lu@intel.com>
17644
17645 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
17646
8848d99d
JM
176472012-03-16 Joseph Myers <joseph@codesourcery.com>
17648
96cbe7f4
JM
17649 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
17650 in comment.
17651
8848d99d
JM
17652 [BZ #13851]
17653 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
17654 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
17655 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
17656 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
17657 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
17658 infinite argument.
17659 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
17660 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
17661 != 0 for prec == 2.
17662 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
17663 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
17664 * sysdeps/i386/fpu/s_cosl.S: Likewise.
17665 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
17666 * sysdeps/i386/fpu/s_sinl.S: Likewise.
17667 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
17668 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
17669 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
17670 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
17671 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
17672 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
17673 * math/libm-test.inc (cos_test): Add more tests and enable more
17674 tests for long double.
17675 (sin_test): Likewise.
17676 (sincos_test): Likewise.
17677 * sysdeps/i386/fpu/libm-test-ulps: Update.
17678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17679
dd7f4703
DM
176802012-03-16 David S. Miller <davem@davemloft.net>
17681
17682 * sysdeps/sparc/fpu/math_private.h: New file.
17683
006f1daa
DM
176842012-03-15 David S. Miller <davem@davemloft.net>
17685
c0c83bc8
DM
17686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
17687 file.
e6a62e18 17688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
17689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
17690 file.
e6a62e18
DM
17691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
17692 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
17693 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
17694 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
17695 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
17696 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
17697 sysdep routines.
17698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17699
88cb87d9
DM
17700 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
17701 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
17702
006f1daa 17703 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
17704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
17705 sparc-ifunc.h
006f1daa 17706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
17707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
17708 Likewise.
17709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
17710 Likewise.
006f1daa
DM
17711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
17712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
17713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
17714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17715 Likewise.
006f1daa
DM
17716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
17717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
17718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
17719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
17720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
17721 Likewise.
17722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
17723 Likewise.
006f1daa
DM
17724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
17725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
17726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
17727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
17728 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17729 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17730 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
17731 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
17732 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17733 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17734 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
17735 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
17736 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
17737 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
17738 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
17739 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
17740 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
17741 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
17742 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
17743 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
17744 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
17745 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
17746 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
17747 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
17748
11e0098e
AS
177492012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17750
17751 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
17752 scaling.
17753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17754
e85b09d0
AJ
177552012-03-15 Andreas Jaeger <aj@suse.de>
17756
17757 [BZ #13852]
17758 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
17759 ieee754/flt-32 implementation for sin, cos and sincos.
17760 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
17761 * sysdeps/i386/fpu/s_cosf.S: Likewise.
17762 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
17763 * sysdeps/i386/fpu/s_sinf.S: Likewise.
17764 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
17765 ieee754/flt-32 implementation for tan.
17766
17767 * math/libm-test.inc (cos_test): Enable some large input tests for
17768 float as well
17769 (sin_test): Likewise.
17770 (sincos_test): Likewise.
17771 (tan_test): Add tests for large input.
17772
17773 * sysdeps/i386/fpu/libm-test-ulps: Update.
17774
81c64153
AJ
177752012-03-15 Andreas Jaeger <aj@suse.de>
17776
17777 [BZ #13658]
17778 * math/libm-test.inc (cos_test): Add more test cases.
17779 (sin_test): Likewise.
17780 (sincos_test): Likewise.
17781
7bbfa5c6
AJ
177822012-03-15 Andreas Jaeger <aj@suse.de>
17783
17784 [BZ #13837]
17785 * math/libm-test.inc (cos_test): Add a test case for large input
17786 value.
17787 (sin_test): Likewise.
17788 (sincos_test): Likewise.
17789
177902012-03-15 Andreas Jaeger <aj@suse.de>,
17791 Joseph Myers <joseph@codesourcery.com>
17792
17793 [BZ #13658]
0671f479 17794 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
17795 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
17796 * sysdeps/i386/fpu/branred.c: Likewise.
17797 * sysdeps/i386/fpu/dosincos.c: Likewise.
17798 * sysdeps/i386/fpu/mpa.c: Likewise.
17799 * sysdeps/i386/fpu/s_cos.S: Likewise.
17800 * sysdeps/i386/fpu/s_sin.S: Likewise.
17801 * sysdeps/i386/fpu/s_sincos.S: Likewise.
17802 * sysdeps/i386/fpu/sincos32.c: Likewise.
17803
17804 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
17805 Define.
17806 (libc_feupdateenv_53bit): Define.
17807 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
17808 Define.
17809 (libc_feupdateenv_53bit): Define.
17810
17811 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
17812 53 bit (without extend i386 double precision).
17813
17814 * math/libm-test.inc (sincos_test): Add tests for large input.
17815 (sin): Likewise.
17816 (cos): Likewise.
17817
17818 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17819
9cad04ea
AS
178202012-03-15 Andreas Schwab <schwab@linux-m68k.org>
17821
17822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17823
f7062b9a
DM
178242012-03-15 David S. Miller <davem@davemloft.net>
17825
17826 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
17827 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
17828 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
17829 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
17830 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
17831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
17832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
17833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
17834 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
17835 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
17836 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
17837 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
17838 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
17839 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
17840 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
17841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
17842 file.
f7062b9a 17843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
17844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
17845 file.
f7062b9a 17846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
17847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
17848 file.
f7062b9a 17849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
17850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
17851 file.
f7062b9a
DM
17852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
17853 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
17854 fmin/fmax sysdep routines.
17855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
17856
7bd951ff
DM
178572012-03-14 David S. Miller <davem@davemloft.net>
17858
559398ab
DM
17859 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
17860 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
17861 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
17862 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
17863 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
17864 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
17865 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
17866 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
17867 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
17868 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
17869 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
17870 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
17871 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
17872 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
17873 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
17874 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
17875 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
17876 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
17877 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
17878 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
17879 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
17880 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
17881 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
17882 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
17883 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
17884 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
17885 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
17886 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17887 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
17888 routines.
17889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
17890 file.
559398ab 17891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
17892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
17893 file.
559398ab 17894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
17895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
17896 file.
559398ab 17897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
17898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
17899 file.
559398ab 17900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
17901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
17902 file.
559398ab 17903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
17904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
17905 file.
17906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
17907 file.
17908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
17909 file.
17910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
17911 file.
17912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
17913 New file.
17914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
17915 file.
17916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
17917 file.
559398ab 17918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
17919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
17920 file.
559398ab 17921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
17922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
17923 file.
559398ab 17924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
17925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
17926 file.
559398ab 17927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
17928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
17929 VIS3 routines.
559398ab
DM
17930
17931 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17932 New file.
17933
5a1c1e32
DM
17934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17935
eae47a36
DM
17936 * sysdeps/sparc/configure.in: New file.
17937 * sysdeps/sparc/configure: Generate.
17938 * configure.in (libc_cv_sparc_as_vis3): Substitute.
17939 * configure: Regenerate.
17940 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
17941 * config.make.in (have-as-vis3): New.
17942 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
17943 available use -Av9d instead of -Av9a.
17944 * sysdeps/sparc/sparc64/Makefile: Likewise.
17945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
17946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
17947 New file.
17948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
17949 file.
17950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
17951 New file.
17952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
17953 file.
eae47a36
DM
17954 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
17955 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
17956 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
17957 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
17958 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
17959
c0c83bc8
DM
17960 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
17961 fzeros/fnegs to load 0x80000000 into a float register instead of
17962 using the stack.
7bd951ff
DM
17963 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
17964
bd951ccb
JM
179652012-03-14 Joseph Myers <joseph@codesourcery.com>
17966
17967 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17968 bits/syscall.h.
17969 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
17970 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
17971 ($(inst_includedir)/bits/syscall.h): Remove rule.
17972 ($(objpfx)bits/syscall.d): Include instead of
17973 $(objpfx)syscall-list.d.
17974 (generated): Change syscall-list.h and syscall-list.d to
17975 bits/syscall.h and bits/syscall.d.
17976
bb4e6db2
RM
179772012-03-14 Roland McGrath <roland@hack.frob.com>
17978
17979 [BZ #13846]
17980 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
17981
aa4a2ae1
JM
179822012-03-14 Joseph Myers <joseph@codesourcery.com>
17983
e456826d
JM
17984 [BZ #13841]
17985 * math/s_csqrt.c: Include <float.h>.
17986 (__csqrt): Scale large or subnormal inputs.
17987 * math/s_csqrtf.c: Likewise.
17988 * math/s_csqrtl.c: Likewise.
17989 * math/libm-test.inc (csqrt_test): Add more tests.
17990 * sysdeps/i386/fpu/libm-test-ulps: Update.
17991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17992
aa4a2ae1
JM
17993 [BZ #13840]
17994 * math/libm-test.inc (hypot_test): Add more tests.
17995
7c10fd35
DM
179962012-03-13 David S. Miller <davem@davemloft.net>
17997
17998 [BZ #13840]
17999 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
18000 double-precision for the calculation instead of scaling.
18001
f453b98b
JM
180022012-03-13 Joseph Myers <joseph@codesourcery.com>
18003
18004 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
18005 manipulate bits before adding and subtracting TWO52[sx].
18006 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
18007 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
18008 Likewise.
18009 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
18010
09a3453f
DM
180112012-03-13 David S. Miller <davem@davemloft.net>
18012
8e59da90
DM
18013 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
18014 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
18015 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
18016 rtld-global-offsets.h
18017 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
18018
2a8ab7f2
DM
18019 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
18020 large parameters.
18021
10f62770
DM
18022 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
18023
5f0bdb18
DM
18024 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
18025 'err' in the ifdef scope in which it is actually used.
18026
09a3453f
DM
18027 * nss/nss_db/db-init.c: Include string.h
18028
b4b2eb5e
DM
180292012-03-12 David S. Miller <davem@davemloft.net>
18030
98bb2f1c
DM
18031 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
18032 masking out of the most significant byte of random value used.
18033 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18034 Fix coding style in previous change.
18035
b4b2eb5e
DM
18036 * sysdeps/unix/sysv/linux/kernel-features.h
18037 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
18038 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
18039 expression.
18040 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
18041 later.
18042
6e226b09
DM
180432012-03-11 David S. Miller <davem@davemloft.net>
18044
a1bcbd40
DM
18045 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18046 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
18047 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
18048 for 'resultvar' otherwise things get truncated on 64-bit.
18049
cb9d6174
DM
18050 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18051 Fix masking out of the most significant byte of random value used.
18052
6e226b09
DM
18053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18054
058c132d
AS
180552012-03-10 Andreas Schwab <schwab@linux-m68k.org>
18056
18057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18058
2d2cd515
DM
180592012-03-09 David S. Miller <davem@davemloft.net>
18060
18061 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
18062 variables with appropriate CPP guards.
18063 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
18064 frame pointer, not the stack pointer. Correct layout comments. Fix test
18065 on resulting framesize and the management of the outregs buffer for pltexit.
18066 Preserve floating point return values across _dl_call_pltexit call.
18067 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
18068 framesize and the management of the outregs buffer for pltexit.
18069 Preserve floating point return values across _dl_call_pltexit
18070 call.
18071 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
18072 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
18073 (print_exit): Fix format string for return register value.
18074
9a07f9d0
JM
180752012-03-10 Joseph Myers <joseph@codesourcery.com>
18076
18077 * sunrpc/Makefile (others): Add rpcgen.
18078 ($(objpfx)rpcgen): Remove special build rule and dependency on
18079 libc.
18080 * sunrpc/rpcgen.c: New file.
18081
547b5e30
PE
180822012-03-09 Paul Eggert <eggert@cs.ucla.edu>
18083
c524201a
PE
18084 [BZ #13673]
18085 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
18086 * stdio-common/bug-vfprintf-nargs.c: Likewise.
18087 * sysdeps/i386/crti.S: Likewise.
18088 * sysdeps/i386/crtn.S: Likewise.
18089 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
18090 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
18091 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
18092 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
18093 * sysdeps/sh/crti.S: Likewise.
18094 * sysdeps/sh/crtn.S: Likewise.
18095 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18096
7b6235f2
PE
18097 [BZ #13673]
18098 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
18099 with URL.
18100 * locale/programs/locfile-kw.gperf: Likewise.
18101 * locale/programs/charmap-kw.h: Regenerated.
18102 * locale/programs/locfile-kw.h: Likewise.
18103
547b5e30
PE
18104 [BZ #13673]
18105 * intl/plural.y: Replace FSF snail mail address with URL.
18106 * intl/plural.c: Regenerated.
18107
5f0a5dae
RH
181082012-03-09 Richard Henderson <rth@twiddle.net>
18109
18110 * include/math_private.h: Remove file.
18111 * math/math_private.h: Move file ...
18112 * sysdeps/generic/math_private.h: ... here.
18113
b8c03620
RH
18114 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
18115 * sysdeps/powerpc/fpu/math_private.h: Likewise.
18116 * sysdeps/x86_64/fpu/math_private.h: Likewise.
18117
4e234f5d 18118 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
18119 and <math_private.h>.
18120 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
18121 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
18122 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
18123 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
18124 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
18125 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
18126 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18127 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18128 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18129 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18130 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18131 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
18132 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18133 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18134 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18135 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18136 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18137 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18138 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18139 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
18140 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18141 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18142 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18143 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18144 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18145 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18146 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18147 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18148 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18149 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18150 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18151 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18152 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18153 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18154 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18155 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18156 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18157 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18158 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18159 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18160 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
18161 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18162 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
18163 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18164 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18165 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18166 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
18167 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18168 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18169 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18170 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18171 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
18172 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18173 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18174 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18175 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18176 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
18177 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18178 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18179 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
18180 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18181 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18182 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18183 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18184 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
18185 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18186 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18187 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18188 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
18189 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
18190 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18191 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
18192 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18193 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18194 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
18195 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
18196 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
18197 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18198 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
18199 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
18200 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18201 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
18202 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18203 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
18204 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18205 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18206 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
18207 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18208 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
18209 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
18210 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
18211 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
18212 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
18213 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
18214 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
18215 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
18216 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
18217 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18218 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18219 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
18220 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
18221 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
18222 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
18223 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
18224 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
18225 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
18226 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
18227 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
18228 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
18229 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
18230 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
18231 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
18232 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
18233 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
18234 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
18235 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
18236 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
18237 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
18238 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
18239 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
18240 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
18241 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
18242 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
18243 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
18244 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
18245 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
18246 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
18247 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
18248 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
18249 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
18250 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
18251 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
18252 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
18253 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
18254 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
18255 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
18256 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
18257 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
18258 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
18259 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
18260 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
18261 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
18262 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
18263 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
18264 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
18265 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
18266 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
18267 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
18268 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18269 * sysdeps/ieee754/k_standard.c: Likewise.
18270 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
18271 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
18272 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
18273 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
18274 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
18275 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
18276 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
18277 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
18278 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18279 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18280 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18281 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18282 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
18283 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
18284 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
18285 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
18286 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
18287 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
18288 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
18289 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
18290 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
18291 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
18292 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
18293 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
18294 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
18295 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18296 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
18297 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
18298 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
18299 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
18300 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
18301 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
18302 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
18303 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
18304 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
18305 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
18306 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
18307 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
18308 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
18309 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
18310 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
18311 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
18312 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
18313 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
18314 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
18315 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
18316 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
18317 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
18318 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
18319 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
18320 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
18321 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
18322 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
18323 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
18324 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18325 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
18326 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
18327 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
18328 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
18329 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
18330 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
18331 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
18332 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18333 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
18334 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18335 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18336 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
18337 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
18338 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
18339 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
18340 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
18341 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18342 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
18343 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
18344 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
18345 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
18346 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
18347 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
18348 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18349 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
18350 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
18351 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
18352 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
18353 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
18354 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
18355 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
18356 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
18357 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18358 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18359 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
18360 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
18361 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
18362 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
18363 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
18364 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
18365 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
18366 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
18367 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
18368 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
18369 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
18370 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
18371 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
18372 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
18373 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
18374 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
18375 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
18376 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
18377 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
18378 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
18379 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
18380 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
18381 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
18382 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
18383 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
18384 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
18385 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
18386 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
18387 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
18388 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
18389 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
18390 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
18391 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
18392 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
18393 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
18394 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
18395 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
18396 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
18397 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
18398 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
18399 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
18400 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
18401 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
18402 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
18403 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
18404 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
18405 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
18406 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
18407 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
18408 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
18409 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
18410 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
18411 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
18412 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
18413 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
18414 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
18415 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
18416 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
18417 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
18418 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
18419 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
18420 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
18421 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
18422 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18423 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
18424 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
18425 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
18426 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
18427 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
18428 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
18429 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
18430 * sysdeps/ieee754/s_lib_version.c: Likewise.
18431 * sysdeps/ieee754/s_matherr.c: Likewise.
18432 * sysdeps/ieee754/s_signgam.c: Likewise.
18433 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18434 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18435 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
18436 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
18437 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
18438 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18439 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
18440 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
18441 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
18442 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
18443 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
18444 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
18445 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
18446 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18447 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
18448 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18449 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18450 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18451 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18452 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18453 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 18454
1991fa03
JM
184552012-03-09 Joseph Myers <joseph@codesourcery.com>
18456
18457 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
18458 * sunrpc/rpc_main.c: Likewise.
18459 * sunrpc/rpc_svcout.c: Likewise.
18460
60d6f5a6
DM
184612012-03-09 David S. Miller <davem@davemloft.net>
18462
18463 * include/math_private.h: New file.
18464
4962050e
JM
184652012-03-09 Joseph Myers <joseph@codesourcery.com>
18466
02a6f887
JM
18467 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
18468 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
18469 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
18470 from <bits/socket_type.h>.
18471 (enum __socket_type): Don't define here.
18472 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
18473 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18474 bits/socket_type.h.
18475
c6e013c1
JM
18476 [BZ #13566]
18477 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
18478 checking __USE_GNU.
18479
4962050e
JM
18480 * Makerules ($(inst_includedir)/%.h): New rule.
18481 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
18482 (install-others): Remove variable setting.
18483 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
18484
38842f45
RH
184852012-03-08 Richard Henderson <rth@twiddle.net>
18486
67bb6da6
RH
18487 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
18488 from macro to inline function; merge with the
18489 !__LIBC_INTERNAL_MATH_INLINES version.
18490 (__ieee754_sqrtf): Likewise.
18491
15194b4b
RH
18492 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
18493 to inline function.
18494 (__rintf, __floor, __floorf): Likewise.
18495
64e21ede
RH
18496 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
18497 macro to inline function.
18498 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
18499
38842f45
RH
18500 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
18501 not <math/math_private.h>.
18502
c64bf5fe
DM
185032012-03-08 David S. Miller <davem@davemloft.net>
18504
18505 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
18506 copyright year.
18507 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
18508
82d86f28
TS
185092012-03-08 Thomas Schwinge <thomas@codesourcery.com>
18510
18511 * resolv/gai_misc.c (handle_requests): Fix struct timespec
18512 normalization.
18513 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
18514 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
18515
aea5d727
UD
185162012-03-08 Ulrich Drepper <drepper@gmail.com>
18517
18518 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
18519 be defined individually, they must be defined as a block. Define
18520 S for printing a string instead of hidint the different by using a
18521 macro for adding the 'l'.
18522 * stdio-common/tst-fphex-wide.c: Adjust.
18523
70bca0a3
MP
185242012-03-07 Marek Polacek <polacek@redhat.com>
18525
18526 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
18527
65b81130
MP
185282012-03-08 Marek Polacek <polacek@redhat.com>
18529
18530 [BZ #13806]
18531 * stdio-common/Makefile (tests): Add tst-fphex-wide.
18532 * stdio-common/tst-fphex.c: Define a few macros to make the
18533 test reusable. Use them.
18534 * stdio-common/tst-fphex-wide.c: New file.
18535
07037eeb
JM
185362012-03-08 Joseph Myers <joseph@codesourcery.com>
18537
a7a93d50
JM
18538 [BZ #6911]
18539 * manual/macros.texi (gnusystems): New macro.
18540 (nongnusystems): Likewise.
18541 (gnulinuxhurdsystems): Likewise.
18542 (gnuhurdsystems): Likewise..
18543 (gnulinuxsystems): Likewise.
18544 * manual/charset.texi: Use new macros or @theglibc{} to refer to
18545 variants of the GNU system, not "GNU system".
18546 * manual/conf.texi: Likewise.
18547 * manual/errno.texi: Likewise. Update example of errno macro
18548 expansion.
18549 * manual/filesys.texi: Likewise.
18550 (getumask): Document as specific to GNU/Hurd.
18551 * manual/install.texi: Likewise. Reword some references to
18552 GNU/Linux.
18553 * manual/intro.texi: Likewise.
18554 * manual/io.texi: Likewise.
18555 (File Name Portability): Detail which constraints are inapplicable
18556 to all GNU systems and which are only inapplicable to GNU/Hurd.
18557 * manual/job.texi: Likewise.
18558 * manual/llio.texi: Likewise.
18559 (O_NOCTTY): Document as present on GNU/Linux.
18560 * manual/maint.texi: Likewise.
18561 * manual/memory.texi: Likewise.
18562 * manual/pattern.texi: Likewise.
18563 * manual/pipe.texi: Likewise.
18564 * manual/process.texi: Likewise.
18565 * manual/resource.texi: Likewise.
18566 (RUSAGE_CHILDREN): Remove statement about specifying a particular
18567 child on GNU/Hurd.
18568 * manual/setjmp.texi: Likewise.
18569 * manual/signal.texi: Likewise.
18570 * manual/startup.texi: Likewise.
18571 * manual/stdio.texi: Likewise.
18572 * manual/terminal.texi: Likewise.
18573 (ONLCR): Document as POSIX.
18574 (OXTABS): Document availability on GNU/Linux as XTABS.
18575 (ONOEOT): Document availability separately from other bits.
18576 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
18577 * manual/time.texi: Likewise.
18578 * manual/users.texi: Likewise.
18579 * INSTALL: Regenerated.
18580 * sysdeps/gnu/errlist.c: Regenerated.
18581
07037eeb
JM
18582 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
18583 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
18584 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
18585 puts.
18586 * configure: Regenerated.
18587
d1d3431a
JM
185882012-03-07 Joseph Myers <joseph@codesourcery.com>
18589
af6a1e37
JM
18590 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
18591 default includes instead of AC_HEADER_CHECK.
18592 * sysdeps/i386/configure: Regenerated.
18593
d1d3431a
JM
18594 [BZ #10716]
18595 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
18596 * math/s_cacoshf.c (__cacoshf): Likewise.
18597 * math/s_cacoshl.c (__cacoshl): Likewise.
18598 * math/s_casinh.c (__casinh): Set signs of result from argument.
18599 * math/s_casinhf.c (__casinhf): Likewise.
18600 * math/s_casinhl.c (__casinhl): Likewise.
18601 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
18602 (casinh_test): Add more tests.
18603 * sysdeps/i386/fpu/libm-test-ulps: Update.
18604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18605
482ff4da
UD
186062012-03-07 Ulrich Drepper <drepper@gmail.com>
18607
872fda05
UD
18608 * po/zh_TW.po: Update from translation team.
18609
a4300c7a
UD
18610 * login/Makefile (distribute): Remove variable.
18611 * catgets/Makefile: Likewise.
18612 * mach/Makefile: Likewise.
18613 * malloc/Makefile: Likewise.
18614 * misc/Makefile: Likewise.
18615 * iconv/Makefile: Likewise.
18616 * nscd/Makefile: Likewise.
18617 * hurd/Makefile: Likewise.
18618 * manual/Makefile: Likewise.
18619 * locale/Makefile: Likewise.
18620 * intl/Makefile: Likewise.
18621 * conform/Makefile: Likewise.
18622 * nss/Makefile: Likewise.
18623 * time/Makefile: Likewise.
18624 * soft-fp/Makefile: Likewise.
18625 * dirent/Makefile: Likewise.
18626 * gmon/Makefile: Likewise.
18627 * po/Makefile: Likewise.
18628 * rt/Makefile: Likewise.
18629 * socket/Makefile: Likewise.
18630 * math/Makefile: Likewise.
18631 * signal/Makefile: Likewise.
18632 * debug/Makefile: Likewise.
18633 * elf/Makefile: Likewise.
18634 * timezone/Makefile: Likewise.
18635 * stdlib/Makefile: Likewise.
18636 * iconvdata/Makefile: Likewise.
18637 * sunrpc/Makefile: Likewise.
18638 * io/Makefile: Likewise.
18639 * argp/Makefile: Likewise.
18640 * inet/Makefile: Likewise.
18641 * hesiod/Makefile: Likewise.
18642 * grp/Makefile: Likewise.
18643 * csu/Makefile: Likewise.
18644 * wctype/Makefile: Likewise.
18645 * crypt/Makefile: Likewise.
18646 * libio/Makefile: Likewise.
18647 * string/Makefile: Likewise.
18648 * nis/Makefile: Likewise.
18649 * resolv/Makefile: Likewise.
18650 * stdio-common/Makefile: Likewise.
18651 * wcsmbs/Makefile: Likewise.
18652 * dlfcn/Makefile: Likewise.
18653 * posix/Makefile: Likewise.
18654
3b7c4e74 18655 [BZ #6959]
482ff4da
UD
18656 * timezone/Makefile: Don't install timezone files, just the programs
18657 and scripts.
18658
f72ed77d
UD
186592012-03-06 Ulrich Drepper <drepper@gmail.com>
18660
a000466f
UD
18661 * nss/databases.def: Add missing gshadow entry.
18662
f72ed77d
UD
18663 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
18664
a53b7a4e
MP
186652012-03-06 Marek Polacek <polacek@redhat.com>
18666
18667 [BZ #13726]
18668 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
18669 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
18670 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
18671 * stdio-common/tst-long-dbl-fphex.c: New file.
18672
e9258400
DM
186732012-03-06 David S. Miller <davem@davemloft.net>
18674
18675 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
18676 (set_obp_int): New function.
18677 (get_obp_int): New function.
18678 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
18679 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
18680 Avoid unused variable warnings on 'val' and use builtin_expect.
18681 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
18682 __builtin_expect.
e9258400
DM
18683 (INLINE_CLONE_SYSCALL): Likewise.
18684
3bd2c723
DM
186852012-03-05 David S. Miller <davem@davemloft.net>
18686
18687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18688
bbb78d03
AS
186892012-03-05 Andreas Schwab <schwab@linux-m68k.org>
18690
884c5db4
AS
18691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18692
bbb78d03
AS
18693 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
18694 only for |x| >= 40.
18695 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
18696
1c9f702a 186972012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
18698
18699 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
18700 Replace gettimeofday with __vdso_gettimeofday.
18701
7be16f82
RM
18702 * sysdeps/unix/sysv/linux/x86_64/init-first.c
18703 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
18704 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
18705
18706 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
18707 time with __vdso_time.
18708
ed58a00f
JM
187092012-03-05 Joseph Myers <joseph@codesourcery.com>
18710
18711 * manual/lang.texi (size_t): Note types to which size_t may be
18712 equivalent with the GNU C Library, but do not describe when
18713 differences between them are significant.
18714
30ee4ced
AJ
187152012-03-05 Andreas Jaeger <aj@suse.de>
18716
18717 * sysdeps/i386/fpu/libm-test-ulps: Update.
18718
b7cd39e8
JM
187192012-03-05 Joseph Myers <joseph@codesourcery.com>
18720
18721 [BZ #3976]
18722 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
18723 (__ieee754_pow): Save and restore rounding mode and use
18724 round-to-nearest for main computations.
18725 * math/libm-test.inc (pow_test_tonearest): New function.
18726 (pow_test_towardzero): Likewise.
18727 (pow_test_downward): Likewise.
18728 (pow_test_upward): Likewise.
18729 (main): Call the new functions.
18730 * sysdeps/i386/fpu/libm-test-ulps: Update.
18731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
18732
18733 [BZ #3976]
18734 * math/libm-test.inc (cosh_test_tonearest): New function.
18735 (cosh_test_towardzero): Likewise.
18736 (cosh_test_downward): Likewise.
18737 (cosh_test_upward): Likewise.
18738 (sinh_test_tonearest): Likewise.
18739 (sinh_test_towardzero): Likewise.
18740 (sinh_test_downward): Likewise.
18741 (sinh_test_upward): Likewise.
18742 (main): Call the new functions.
18743 * sysdeps/i386/fpu/libm-test-ulps: Update.
18744 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18745
6c6a98c9
TV
187462012-03-05 Tom de Vries <tom@codesourcery.com>
18747
18748 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
18749 default stack guard is set in last bytes.
18750 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
18751
21bb2d2e 187522012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 18753
21bb2d2e 18754 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 18755
21bb2d2e
AJ
18756 [BZ #13656]
18757 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
18758 possibly allocate from heap instead of stack.
18759 * stdio-common/bug-vfprintf-nargs.c: New file.
18760 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 18761
c6922934
AS
187622012-03-03 Andreas Schwab <schwab@linux-m68k.org>
18763
18764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18765
bc957d53
MP
187662012-03-03 Marek Polacek <polacek@redhat.com>
18767
18768 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
18769 * math/math_private.h: Likewise.
18770 * stdlib/tst-strtod.c: Likewise.
18771 * sysdeps/i386/i486/bits/atomic.h: Likewise.
18772 * sysdeps/x86_64/bits/atomic.h: Likewise.
18773
6358490d
DM
187742012-03-02 David S. Miller <davem@davemloft.net>
18775
18776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
18777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
18778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
18779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
18780 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
18781 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
18782 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
18783 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
18784
01ae168d
RM
187852012-03-02 Roland McGrath <roland@hack.frob.com>
18786
d9a17c07
RM
18787 [BZ #13792]
18788 * manual/examples/README: New file, says the example source files
18789 can be used under GPL>=2.
18790 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
18791 line containing just "*/".
18792 * manual/examples/add.c: Add copyright header (GPL>=2).
18793 * manual/examples/argp-ex1.c: Likewise.
18794 * manual/examples/argp-ex2.c: Likewise.
18795 * manual/examples/argp-ex3.c: Likewise.
18796 * manual/examples/argp-ex4.c: Likewise.
18797 * manual/examples/atexit.c: Likewise.
18798 * manual/examples/db.c: Likewise.
18799 * manual/examples/dir.c: Likewise.
18800 * manual/examples/dir2.c: Likewise.
18801 * manual/examples/execinfo.c: Likewise.
18802 * manual/examples/filecli.c: Likewise.
18803 * manual/examples/filesrv.c: Likewise.
18804 * manual/examples/fmtmsgexpl.c: Likewise.
18805 * manual/examples/genpass.c: Likewise.
18806 * manual/examples/inetcli.c: Likewise.
18807 * manual/examples/inetsrv.c: Likewise.
18808 * manual/examples/isockad.c: Likewise.
18809 * manual/examples/longopt.c: Likewise.
18810 * manual/examples/memopen.c: Likewise.
18811 * manual/examples/memstrm.c: Likewise.
18812 * manual/examples/mkfsock.c: Likewise.
18813 * manual/examples/mkisock.c: Likewise.
18814 * manual/examples/mygetpass.c: Likewise.
18815 * manual/examples/pipe.c: Likewise.
18816 * manual/examples/popen.c: Likewise.
18817 * manual/examples/rprintf.c: Likewise.
18818 * manual/examples/search.c: Likewise.
18819 * manual/examples/select.c: Likewise.
18820 * manual/examples/setjmp.c: Likewise.
18821 * manual/examples/sigh1.c: Likewise.
18822 * manual/examples/sigusr.c: Likewise.
18823 * manual/examples/stpcpy.c: Likewise.
18824 * manual/examples/strdupa.c: Likewise.
18825 * manual/examples/strftim.c: Likewise.
18826 * manual/examples/strncat.c: Likewise.
18827 * manual/examples/subopt.c: Likewise.
18828 * manual/examples/swapcontext.c: Likewise.
18829 * manual/examples/termios.c: Likewise.
18830 * manual/examples/testopt.c: Likewise.
18831 * manual/examples/testpass.c: Likewise.
18832 * manual/examples/timeval_subtract.c: Likewise.
18833
01ae168d
RM
18834 [BZ #13792]
18835 * manual/time.texi (Elapsed Time): Move timeval_subtract example
18836 function to ...
18837 * manual/timeval_subtract.c.texi: ... here, new file.
18838
49efa33d
DM
188392012-03-02 David S. Miller <davem@davemloft.net>
18840
18841 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
18842
28afd92d
JM
188432012-03-02 Joseph Myers <joseph@codesourcery.com>
18844
804360ed
JM
18845 [BZ #3976]
18846 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
18847 (__sin): Save and restore rounding mode and use round-to-nearest
18848 for all computations.
18849 (__cos): Save and restore rounding mode and use round-to-nearest
18850 for all computations.
18851 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
18852 <fenv.h>.
18853 (tan): Save and restore rounding mode and use round-to-nearest for
18854 all computations.
18855 * math/libm-test.inc (cos_test_tonearest): New function.
18856 (cos_test_towardzero): Likewise.
18857 (cos_test_downward): Likewise.
18858 (cos_test_upward): Likewise.
18859 (sin_test_tonearest): Likewise.
18860 (sin_test_towardzero): Likewise.
18861 (sin_test_downward): Likewise.
18862 (sin_test_upward): Likewise.
18863 (tan_test_tonearest): Likewise.
18864 (tan_test_towardzero): Likewise.
18865 (tan_test_downward): Likewise.
18866 (tan_test_upward): Likewise.
18867 (main): Call the new functions.
18868 * sysdeps/i386/fpu/libm-test-ulps: Update.
18869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18870
a6d06d7b
JM
18871 [BZ #10135]
18872 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
18873 small n, then large n, before computing and testing k+n.
18874 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18875 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
18876 Likewise.
18877 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
18878 Likewise.
18879 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
18880 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
18881 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
18882 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
18883 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
18884 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
18885 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
18886 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
18887 * math/libm-test.inc (scalbn_test): Add more tests.
18888 (scalbln_test): Likewise.
18889
07e12bb3
JM
18890 * manual/filesys.texi (mode_t): Describe constraints on size and
18891 signedness, not exact equivalence to a particular type.
18892 (ino_t): Likewise.
18893 (ino64_t): Likewise.
18894 (dev_t): Likewise.
18895 (nlink_t): Likewise.
18896 (blkcnt_t): Likewise.
18897 (blkcnt64_t): Likewise.
18898 * manual/llio.texi (off_t): Likewise.
18899
28afd92d
JM
18900 [BZ #3976]
18901 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
18902 (__ieee754_exp): Save and restore rounding mode and use
18903 round-to-nearest for all computations.
18904 * math/libm-test.inc (exp_test_tonearest): New function.
18905 (exp_test_towardzero): Likewise.
18906 (exp_test_downward): Likewise.
18907 (exp_test_upward): Likewise.
18908 (main): Call the new functions.
18909 * sysdeps/i386/fpu/libm-test-ulps: Update.
18910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18911
b1eeb65d
CD
189122012-03-01 Chris Demetriou <cgd@google.com>
18913
18914 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
18915 have predictable order.
18916
53362a4b
DM
189172012-03-01 David S. Miller <davem@davemloft.net>
18918
3c969083
DM
18919 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
18920
759707de
DM
18921 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
18922 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
18923 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
18924 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
18925
dfdb8ff2
DM
18926 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
18927 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
18928 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
18929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
18930 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
18931 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
18932 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
18933 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
18934 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
18935
ead89f96
DM
18936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18937
7f66bd07
DM
18938 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
18939 * sysdeps/sparc/fpu/libm-test-ulps: to here.
18940 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
18941
53362a4b
DM
18942 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
18943 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
18944 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
18945 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
18946 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
18947 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
18948 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
18949 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
18950 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
18951 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
18952 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
18953 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
18954 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
18955 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
18956 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
18957 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
18958 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
18959 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
18960 * sysdeps/sparc/elf/configure: Regenerated.
18961
7b1902cb
JM
189622012-03-01 Joseph Myers <joseph@codesourcery.com>
18963
bec039bc
JM
18964 * configure.in (AS, LD): Require binutils 2.20 or later.
18965 * configure: Regenerated.
18966 * manual/install.texi (Tools for Compilation): Give binutils 2.20
18967 as required minimum version.
18968 * INSTALL: Regenerated.
18969
7b1902cb
JM
18970 [BZ #2541]
18971 [BZ #4108]
18972 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
18973 before squaring exponent.
18974 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
18975 bottom long double and 27 bits of top long double before squaring
18976 exponent.
18977 * math/libm-test.inc (erfc_test): Add more tests.
18978 * sysdeps/i386/fpu/libm-test-ulps: Update.
18979 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18981
f775c276
KT
189822012-03-01 Kai Tietz <ktietz@redhat.com>
18983
18984 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
18985 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
18986 containing bit-fields.
18987 * soft-fp/extended.h (_FP_UNION_E): Likewise.
18988 * soft-fp/single.h (_FP_UNION_S): Likewise.
18989 * soft-fp/double.h (_FP_UNION_D): Likewise.
18990
5b8a4d4a
JM
189912012-02-29 Joseph Myers <joseph@codesourcery.com>
18992
0bab47b6
JM
18993 [BZ #13786]
18994 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
18995 not include ../strcmp.S.
18996 [USE_AS_STRNCASECMP_L]: Likewise.
18997 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
18998 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
18999 * sysdeps/i386/i686/multiarch/strncase_l-c.c
19000 (__strncasecmp_l_ia32): Define as alias to
19001 __strncasecmp_l_nonascii.
19002
0fcad3e2
JM
19003 [BZ #5794]
19004 * math/libm-test.inc (expm1_test): Add test for bug 5794.
19005 * sysdeps/i386/fpu/libm-test-ulps: Update.
19006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19007
5b8a4d4a
JM
19008 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
19009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19010
8fdceb2e
JL
190112012-02-29 Jeff Law <law@redhat.com>
19012
19013 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
19014 out of bounds read.
19015
1f393a11
MP
190162012-02-29 Marek Polacek <polacek@redhat.com>
19017
19018 [BZ #13706]
19019 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
19020 * elf/Makefile: Add rules to run tst-unused-dep.out.
19021
8847f037
DM
190222012-02-28 David S. Miller <davem@davemloft.net>
19023
19024 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
19025 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
19026 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
19027 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
19028 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
19029 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
19030
169d7f11
JM
190312012-02-29 Joseph Myers <joseph@codesourcery.com>
19032
19033 * math/libm-test.inc (llround_test): Move one test from
19034 lround_test. Use TEST_f_L in moved test.
19035 (lround_test): Move misplaced test to llround_test. Add testcase
19036 from bug 2561.
19037
39adf059
UD
190382012-02-28 Ulrich Drepper <drepper@gmail.com>
19039
19040 * sysdeps/x86_64/fpu/e_expf.S: New file.
19041 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
19042
71b5d1c5
SB
190432012-02-28 Stanislav Brabec <sbrabec@suse.cz>
19044
19045 [BZ #13637]
19046 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
19047 of remain_len that may cause incomplete multi-byte character and
19048 false match.
19049 * posix/bug-regex33.c: New file.
19050 * posix/Makefile (tests): Add bug-regex33.
19051
1f77f049
JM
190522012-02-28 Joseph Myers <joseph@codesourcery.com>
19053
19054 * manual/macros.texi: New file.
19055 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
19056 * manual/libc.texinfo: Include macros.texi.
19057 * manual/creatute.texi: Likewise.
19058 * manual/install.texi: Likewise.
19059 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
19060 @glibcadj{} in references to the GNU C Library.
19061 * manual/charset.texi: Likewise.
19062 * manual/conf.texi: Likewise.
19063 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
19064 when not using those macros.
19065 * manual/creature.texi: Likewise.
19066 * manual/crypt.texi: Likewise.
19067 * manual/errno.texi: Likewise.
19068 * manual/filesys.texi: Likewise.
19069 * manual/header.texi: Likewise.
19070 * manual/install.texi: Likewise.
19071 * manual/intro.texi: Likewise.
19072 * manual/io.texi: Likewise.
19073 * manual/job.texi: Likewise.
19074 * manual/lang.texi: Likewise.
19075 * manual/libc.texiinfo: Likewise.
19076 * manual/llio.texi: Likewise.
19077 * manual/locale.texi: Likewise.
19078 * manual/maint.texi: Likewise.
19079 * manual/math.texi: Likewise.
19080 * manual/memory.texi: Likewise.
19081 * manual/message.texi: Likewise.
19082 * manual/nss.texi: Likewise.
19083 * manual/pattern.texi: Likewise.
19084 * manual/process.texi: Likewise.
19085 * manual/resource.texi: Likewise.
19086 * manual/search.texi: Likewise.
19087 * manual/setjmp.texi: Likewise.
19088 * manual/signal.texi: Likewise.
19089 * manual/socket.texi: Likewise.
19090 * manual/startup.texi: Likewise.
19091 * manual/stdio.texi: Likewise.
19092 * manual/string.texi: Likewise.
19093 * manual/sysinfo.texi: Likewise.
19094 * manual/syslog.texi: Likewise.
19095 * manual/terminal.texi: Likewise.
19096 * manual/time.texi: Likewise.
19097 * manual/users.texi: Likewise.
19098 * INSTALL: Regenerated.
19099 * NOTES: Regenerated.
d40c5d54 19100 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 19101
450bf206
AS
191022012-02-28 Andreas Schwab <schwab@linux-m68k.org>
19103
19104 * include/dirent.h: Include <dirstream.h> before
19105 <dirent/dirent.h>.
19106
741a235b
DM
191072012-02-28 David S. Miller <davem@davemloft.net>
19108
19109 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
19110 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
19111 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
19112 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
19113
d6b5aa58
DM
191142012-02-27 David S. Miller <davem@davemloft.net>
19115
1aff59a3
DM
19116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
19117 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
19118 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
19119 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
19120
d6b5aa58
DM
19121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
19122 frame pointer instead of stack pointer relative arg slot.
19123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19124 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19125 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19126
433f48bf
CD
191272012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
19128
19129 [BZ #3992]
19130 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
19131
d674b76d
DM
191322012-02-27 David S. Miller <davem@davemloft.net>
19133
19134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
19135 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19136 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19137 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
19138 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19139 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19140 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
19141 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
19142
0e7727f7
JM
191432012-02-27 Joseph Myers <joseph@codesourcery.com>
19144
19145 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
19146 later. Allow versions 5-9.
43be4ca2 19147 * configure: Regenerated.
0e7727f7
JM
19148 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
19149 required minimum version and 4.6 as recommended version. Do not
19150 mention bugs in GCC 2.7 and 2.8.
43be4ca2 19151 * INSTALL: Regenerated.
0e7727f7 19152
a78bc654
DM
191532012-02-27 David S. Miller <davem@davemloft.net>
19154
428d5830
DM
19155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
19156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
19157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
19158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
19159 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
19160 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
19161 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
19162 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
19163
a78bc654
DM
19164 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
19165 manipulate bits before adding and subtracting TWO112[sx].
19166 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19167
4579f81c
RM
191682012-02-27 Roland McGrath <roland@hack.frob.com>
19169
36c8acb4
RM
19170 [BZ #13775]
19171 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
19172 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
19173 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
19174 being in POSIX, because they are in 1003.1-2008.
19175
84ad622b
RM
19176 * rt/tst-aio.c: Include <fcntl.h>.
19177 * rt/tst-aio7.c: Likewise.
19178 * rt/tst-aio64.c: Likewise.
19179
4579f81c
RM
19180 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
19181
abd923db
JM
191822012-02-27 Joseph Myers <joseph@codesourcery.com>
19183
19184 * manual/install.texi (--with-headers): Describe headers as
19185 interface headers, not private headers.
19186 (Specific advice for GNU/Linux systems): Describe use of headers
19187 from "make headers_install", not private headers from older
19188 kernels.
43be4ca2 19189 * INSTALL: Regenerated.
abd923db
JM
19190 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
19191 Change to 2.6.19.
19192 * sysdeps/unix/sysv/linux/configure: Regenerated.
19193
6664049b
JM
19194 * manual/llio.texi (fclean): Remove documentation.
19195
bb8b6697
JM
19196 * manual/Makefile (libc-texi-generated): New variable. Include
19197 version.texi.
19198 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
19199 $(libc-texi-generated), not duplicated list of files.
19200 (version.texi, stamp-version): New rules.
19201 (realclean): Remove $(libc-texi-generated), not individual files
19202 from that list. Do not remove dir-add.texinfo.
19203 * manual/libc.texinfo: Comment out uses of edition numbers and
19204 references to printed manual. Remove last-updated dates.
19205 (EDITION): Comment out.
19206 (ISBN): Likewise.
19207 (VERSION, UPDATED): Remove.
19208 (version.texi): Include.
19209
12e5c3b9
AS
192102012-02-27 Andreas Schwab <schwab@linux-m68k.org>
19211
19212 * sysdeps/posix/spawni.c: Include <signal.h>.
19213 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
19214 * sysdeps/pthread/aio_fsync.c: Likewise.
19215
4efeffc1 192162012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 19217
ba63ba08
UD
19218 * conform/Makefile (tests): Run only when not cross-compiling and
19219 when fast-check is not defined.
19220
d94a4670
UD
19221 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
19222 * conform/data/limits.h-data: Fixes for POSIX2008.
19223 * conform/run-conformtest.sh: Run all tests.
19224 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
19225 headers.
19226 * include/bits/dlfcn.h: Likewise.
19227 * include/langinfo.h: Likewise.
19228 * include/monetary.h: Likewise.
19229 * include/sys/poll.h: Likewise.
19230
19231 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
19232 for __USE_GNU.
19233 * posix/spawn.h: Define __need_sigset_t.
19234 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
19235 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
19236 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
19237 to get sigevent_t only.
19238 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
19239 only for __USE_GNU.
19240 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
19241 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
19242 process_vm_writev only for __USE_GNU.
19243 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
19244
19245 * conform/Makefile: For now ignore errors from run-conformtest.
19246 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
19247 POSIX to avoid namespace pollution. Don't prepend headers.
19248 * conform/data/aio.h-data: Fixes for POSIX testing.
19249 * conform/data/fcntl.h-data: Likewise.
19250 * conform/data/glob.h-data: Likewise.
19251 * conform/data/grp.h-data: Likewise.
19252 * conform/data/pthread.h-data: Likewise.
19253 * conform/data/pwd.h-data: Likewise.
19254 * conform/data/signal.h-data: Likewise.
19255 * conform/data/spawn.h-data: Likewise.
19256 * conform/data/stdio.h-data: Likewise.
19257 * conform/data/stdlib.h-data: Likewise.
19258 * conform/data/stropts.h-data: Likewise.
19259 * conform/data/sys/mman.h-data: Likewise.
19260 * conform/data/sys/stat.h-data: Likewise.
19261 * conform/data/sys/types.h-data: Likewise.
19262 * conform/data/sys/wait.h-data: Likewise.
19263 * conform/data/time.h-data: Likewise.
19264 * conform/data/unistd.h-data: Likewise.
19265 * conform/data/utime.h-data: Likewise.
19266
19267 * io/sys/stat.h: fchmod was always in POSIX.
19268 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
19269 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
19270 * rt/aio.h: Define __need_timespec before including <time.h>.
19271 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
19272 struct. Add forward declaration of pthread_attr_t and use it in
19273 sigevent.
19274 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
19275 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19276 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
19277 always remove CLK_TCK definition.
19278
c20105c3
AS
192792012-02-26 Andreas Schwab <schwab@linux-m68k.org>
19280
19281 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
19282
7a270350
UD
192832012-02-25 Ulrich Drepper <drepper@gmail.com>
19284
31341567
UD
19285 * conform/run-conformtest.sh: New file.
19286 * conform/Makefile: Run run-conformtest for tests.
19287 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
19288 support.
19289
19290 * conform/data/uchar.h-data: New file.
19291 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
19292 * conform/data/arpa/inet.h-data: Likewise.
19293 * conform/data/assert.h-data: Likewise.
19294 * conform/data/complex.h-data: Likewise.
19295 * conform/data/cpio.h-data: Likewise.
19296 * conform/data/ctype.h-data: Likewise.
19297 * conform/data/dirent.h-data: Likewise.
19298 * conform/data/dlfcn.h-data: Likewise.
19299 * conform/data/errno.h-data: Likewise.
19300 * conform/data/fcntl.h-data: Likewise.
19301 * conform/data/float.h-data: Likewise.
19302 * conform/data/fmtmsg.h-data: Likewise.
19303 * conform/data/fnmatch.h-data: Likewise.
19304 * conform/data/ftw.h-data: Likewise.
19305 * conform/data/glob.h-data: Likewise.
19306 * conform/data/grp.h-data: Likewise.
19307 * conform/data/iconv.h-data: Likewise.
19308 * conform/data/inttypes.h-data: Likewise.
19309 * conform/data/langinfo.h-data: Likewise.
19310 * conform/data/libgen.h-data: Likewise.
19311 * conform/data/limits.h-data: Likewise.
19312 * conform/data/locale.h-data: Likewise.
19313 * conform/data/math.h-data: Likewise.
19314 * conform/data/monetary.h-data: Likewise.
19315 * conform/data/mqueue.h-data: Likewise.
19316 * conform/data/ndbm.h-data: Likewise.
19317 * conform/data/net/if.h-data: Likewise.
19318 * conform/data/netdb.h-data: Likewise.
19319 * conform/data/netinet/in.h-data: Likewise.
19320 * conform/data/nl_types.h-data: Likewise.
19321 * conform/data/poll.h-data: Likewise.
19322 * conform/data/pthread.h-data: Likewise.
19323 * conform/data/pwd.h-data: Likewise.
19324 * conform/data/regex.h-data: Likewise.
19325 * conform/data/sched.h-data: Likewise.
19326 * conform/data/search.h-data: Likewise.
19327 * conform/data/semaphore.h-data: Likewise.
19328 * conform/data/setjmp.h-data: Likewise.
19329 * conform/data/signal.h-data: Likewise.
19330 * conform/data/spawn.h-data: Likewise.
19331 * conform/data/stdarg.h-data: Likewise.
19332 * conform/data/stdio.h-data: Likewise.
19333 * conform/data/stdlib.h-data: Likewise.
19334 * conform/data/string.h-data: Likewise.
19335 * conform/data/strings.h-data: Likewise.
19336 * conform/data/stropts.h-data: Likewise.
19337 * conform/data/sys/ipc.h-data: Likewise.
19338 * conform/data/sys/mman.h-data: Likewise.
19339 * conform/data/sys/msg.h-data: Likewise.
19340 * conform/data/sys/resource.h-data: Likewise.
19341 * conform/data/sys/select.h-data: Likewise.
19342 * conform/data/sys/sem.h-data: Likewise.
19343 * conform/data/sys/shm.h-data: Likewise.
19344 * conform/data/sys/socket.h-data: Likewise.
19345 * conform/data/sys/stat.h-data: Likewise.
19346 * conform/data/sys/statvfs.h-data: Likewise.
19347 * conform/data/sys/time.h-data: Likewise.
19348 * conform/data/sys/timeb.h-data: Likewise.
19349 * conform/data/sys/times.h-data: Likewise.
19350 * conform/data/sys/types.h-data: Likewise.
19351 * conform/data/sys/uio.h-data: Likewise.
19352 * conform/data/sys/un.h-data: Likewise.
19353 * conform/data/sys/utsname.h-data: Likewise.
19354 * conform/data/sys/wait.h-data: Likewise.
19355 * conform/data/syslog.h-data: Likewise.
19356 * conform/data/tar.h-data: Likewise.
19357 * conform/data/termios.h-data: Likewise.
19358 * conform/data/utime.h-data: Likewise.
19359 * conform/data/utmpx.h-data: Likewise.
19360 * conform/data/varargs.h-data: Likewise.
19361 * conform/data/wchar.h-data: Likewise.
19362 * conform/data/wctype.h-data: Likewise.
19363 * conform/data/wordexp.h-data: Likewise.
19364
19365 * include/stropts.h: New file.
19366 * include/uchar.h: New file.
19367 * include/aio.h: Changes to allow conformtest.pl to use the headers.
19368 * include/assert.h: Likewise.
19369 * include/ctype.h: Likewise.
19370 * include/dirent.h: Likewise.
19371 * include/dlfcn.h: Likewise.
19372 * include/fcntl.h: Likewise.
19373 * include/fnmatch.h: Likewise.
19374 * include/glob.h: Likewise.
19375 * include/grp.h: Likewise.
19376 * include/libio.h: Likewise.
19377 * include/locale.h: Likewise.
19378 * include/math.h: Likewise.
19379 * include/net/if.h: Likewise.
19380 * include/netdb.h: Likewise.
19381 * include/netinet/in.h: Likewise.
19382 * include/pthread.h: Likewise.
19383 * include/pwd.h: Likewise.
19384 * include/regex.h: Likewise.
19385 * include/sched.h: Likewise.
19386 * include/search.h: Likewise.
19387 * include/setjmp.h: Likewise.
19388 * include/signal.h: Likewise.
19389 * include/stdio.h: Likewise.
19390 * include/stdlib.h: Likewise.
19391 * include/string.h: Likewise.
19392 * include/sys/cdefs.h: Likewise.
19393 * include/sys/mman.h: Likewise.
19394 * include/sys/msg.h: Likewise.
19395 * include/sys/resource.h: Likewise.
19396 * include/sys/select.h: Likewise.
19397 * include/sys/socket.h: Likewise.
19398 * include/sys/stat.h: Likewise.
19399 * include/sys/statvfs.h: Likewise.
19400 * include/sys/time.h: Likewise.
19401 * include/sys/times.h: Likewise.
19402 * include/sys/uio.h: Likewise.
19403 * include/sys/utsname.h: Likewise.
19404 * include/sys/wait.h: Likewise.
19405 * include/termios.h: Likewise.
19406 * include/time.h: Likewise.
19407 * include/ulimit.h: Likewise.
19408 * include/unistd.h: Likewise.
19409 * include/utime.h: Likewise.
19410 * include/wchar.h: Likewise.
19411 * include/wctype.h: Likewise.
19412 * include/wordexp.h: Likewise.
19413
19414 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
19415
7a270350
UD
19416 * time/time.h: TIME_UTC must be a macro.
19417 Make timespec_get available for ISO C11 only as well.
19418
7724defc
UD
194192012-02-24 Ulrich Drepper <drepper@gmail.com>
19420
19421 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
19422 Reported by Peng Haitao <penght@cn.fujitsu.com>.
19423
6b1d1d46
JM
194242012-02-24 Joseph Myers <joseph@codesourcery.com>
19425
19426 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 19427
0f8bbd69
JM
194282012-02-24 Joseph Myers <joseph@codesourcery.com>
19429
19430 * manual/texinfo.tex: Update to version 2012-01-19.16.
19431
66ab80bc
JM
194322012-02-24 Joseph Myers <joseph@codesourcery.com>
19433
19434 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
19435
74981cc5
RM
194362012-02-24 Roland McGrath <roland@hack.frob.com>
19437
ee968201
RM
19438 [BZ #13738]
19439 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
19440 * manual/fdl-1.3.texi: New file.
19441 * manual/fdl-1.1.texi: File removed.
19442
74981cc5
RM
19443 [BZ #13738]
19444 * manual/libc.texinfo (FDL_VERSION): New @set.
19445 Use it for mention of FDL in cover text.
19446 (Documentation License): Use it in @include file name.
19447
7bb764bc
JM
194482012-02-22 Joseph Myers <joseph@codesourcery.com>
19449 Roland McGrath <roland@hack.frob.com>
19450
19451 [BZ #5461]
19452 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
19453 not LONG_LONG_MAX and LONG_LONG_MIN.
19454 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
19455 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
19456 name.
19457 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
19458
6cbeae47
JM
194592012-02-22 Joseph Myers <joseph@codesourcery.com>
19460
19461 [BZ #2547]
19462 [BZ #11365]
19463 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
19464 manipulate bits before adding and subtracting TWO23[sx].
19465 * math/libm-test.inc (nearbyint_test): Add more tests.
19466
fe45ce09
JM
194672012-02-22 Joseph Myers <joseph@codesourcery.com>
19468
19469 [BZ #2548]
19470 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
19471 bits before adding and subtracting TWO23[sx].
19472 * math/libm-test.inc (rint_test): Add more tests.
19473 (rint_test_tonearest): Likewise.
19474 (rint_test_towardzero): Likewise.
19475 (rint_test_downward): Likewise.
19476 (rint_test_upward: Likewise.
19477
ff3b3d82
JM
194782012-02-22 Joseph Myers <joseph@codesourcery.com>
19479
19480 [BZ #10110]
19481 * include/stdc-predef.h: New file. Extracted from features.h.
19482 * include/features.h: Include stdc-predef.h.
19483 * Makefile (headers): Add stdc-predef.h.
19484 * CONFORMANCE (Compiler limitations): Update.
19485
ef0aab35
JM
194862012-02-22 Joseph Myers <joseph@codesourcery.com>
19487
19488 * manual/libc.texinfo (VERSION, UPDATED): Revert.
19489
58639409
DM
194902012-02-21 David S. Miller <davem@davemloft.net>
19491
19492 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
19493 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19494
c0e70b25
DM
194952012-02-20 David S. Miller <davem@davemloft.net>
19496
19497 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
19498 using a normal save/restore sequence, rather than allocating a
19499 dummy stack frame just to store a frame pointer and restore.
19500 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19501
fb06851d
JM
195022012-02-21 Joseph Myers <joseph@codesourcery.com>
19503
19504 * manual/install.texi: Fix stray word in line-wrapped comment.
19505
7a8b71c3
DM
195062012-02-20 David S. Miller <davem@davemloft.net>
19507
d510c123
DM
19508 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
19509 both binutils and gcc support GOTDATA.
19510
0722d7c2
DM
19511 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
19512 "rd %pc" in the PIC register setup sequences.
19513
3d2b3019
DM
19514 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
19515 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
19516 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
19517 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
19518 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
19519 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
19520 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19521 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
19522 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
19523 (SYSCALL_ERROR_HANDLER): Likewise.
19524 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
19525 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19526 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
19527 (SYSCALL_ERROR_HANDLER): Likewise.
19528
c80098a9
DM
19529 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
19530 (HAVE_GCC_GOTDATA): New.
19531 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
19532 relocation support in both binutils and gcc.
19533 * sysdeps/sparc/elf/configure: Regenerate.
19534
3a2545a0
DM
19535 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
19536 * sysdeps/sparc/sparc32/elf/configure: Delete.
19537 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
19538 * sysdeps/sparc/sparc64/elf/configure: Delete.
19539 * sysdeps/sparc/elf/configure.in: New file.
19540 * sysdeps/sparc/elf/configure: Generate.
19541
7a8b71c3
DM
19542 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
19543 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
19544 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
19545 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
19546 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
19547
f1e86fca
JM
195482012-02-21 Joseph Myers <joseph@codesourcery.com>
19549
19550 * manual/install.texi: Do not mention specific glibc version
19551 numbers.
19552 * manual/libc.texinfo (VERSION, UPDATED): Update.
19553 (@copying): Use @copyright{} and range of years.
19554
0e7dfaef
JM
195552012-02-21 Joseph Myers <joseph@codesourcery.com>
19556
19557 [BZ #13695]
19558 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
19559 [crti.S not in sysdirs] (generated): Do not append.
19560 [crti.S not in sysdirs] (omit-deps): Likewise.
19561 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
19562 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
19563 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
19564 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
19565 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
19566 Likewise.
19567 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
19568 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
19569 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
19570 * csu/defs.awk: Remove file.
19571 * sysdeps/generic/initfini.c: Likewise.
19572 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
19573 variable.
19574 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
19575 Likewise.
19576
599af3ca
JM
195772012-02-20 Joseph Myers <joseph@codesourcery.com>
19578
19579 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
19580 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
19581 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
19582 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
19583 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
19584 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
19585 <bits/epoll.h>.
19586 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
19587 (__EPOLL_PACKED): Define to empty if not defined by
19588 <bits/epoll.h>.
19589 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
19590 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19591 bits/epoll.h.
19592
0e499750
JM
195932012-02-20 Joseph Myers <joseph@codesourcery.com>
19594
19595 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
19596 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
19597 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
19598 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
19599 <bits/timerfd.h>.
19600 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
19601 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19602 bits/timerfd.h.
19603
5ad91f6e
JM
196042012-02-20 Joseph Myers <joseph@codesourcery.com>
19605
19606 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
19607 in C locale.
19608 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19609 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19610 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
19611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19612
06b99b02
AJ
196132012-02-20 Aurelien Jarno <aurelien@aurel32.net>
19614
19615 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
19616 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
19617
7638c0fd
AS
196182012-02-19 Andreas Schwab <schwab@linux-m68k.org>
19619
19620 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
19621 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
19622 defined.
19623 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
19624 Likewise.
19625 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
19626 entry for 2.16.
19627
92221550
AJ
196282012-02-19 Aurelien Jarno <aurelien@aurel32.net>
19629
19630 * math/w_acos.c: Use non-signaling floating-point comparisons.
19631 * math/w_acosf.c: Likewise.
19632 * math/w_acosh.c: Likewise.
19633 * math/w_acoshf.c: Likewise.
19634 * math/w_acoshl.c: Likewise.
19635 * math/w_acosl.c: Likewise.
19636 * math/w_asin.c: Likewise.
19637 * math/w_asinf.c: Likewise.
19638 * math/w_asinl.c: Likewise.
19639 * math/w_atanh.c: Likewise.
19640 * math/w_atanhf.c: Likewise.
19641 * math/w_atanhl.c: Likewise.
19642 * math/w_exp2.c: Likewise.
19643 * math/w_exp2f.c: Likewise.
19644 * math/w_exp2l.c: Likewise.
19645 * math/w_j0.c: Likewise.
19646 * math/w_j0f.c: Likewise.
19647 * math/w_j0l.c: Likewise.
19648 * math/w_j1.c: Likewise.
19649 * math/w_j1f.c: Likewise.
19650 * math/w_j1l.c: Likewise.
19651 * math/w_jn.c: Likewise.
19652 * math/w_jnf.c: Likewise.
19653 * math/w_log.c: Likewise.
19654 * math/w_log10.c: Likewise.
19655 * math/w_log10f.c: Likewise.
19656 * math/w_log10l.c: Likewise.
19657 * math/w_log2.c: Likewise.
19658 * math/w_log2f.c: Likewise.
19659 * math/w_log2l.c: Likewise.
19660 * math/w_logf.c: Likewise.
19661 * math/w_logl.c: Likewise.
19662 * math/w_sqrt.c: Likewise.
19663 * math/w_sqrtf.c: Likewise.
19664 * math/w_sqrtl.c: Likewise.
19665 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
19666 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19667 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
19668 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19669 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19670
ebaf36eb
JM
196712012-02-19 Joseph Myers <joseph@codesourcery.com>
19672
19673 [BZ #9739]
19674 * manual/string.texi (strnlen): Use correct parameter name in
19675 equivalent expression.
19676
71c254a6
JM
196772012-02-19 Joseph Myers <joseph@codesourcery.com>
19678
19679 [BZ #11174]
19680 * manual/users.texi (seteuid): Consistently use neweuid for
19681 argument name.
19682
16d2c631
JM
196832012-02-19 Joseph Myers <joseph@codesourcery.com>
19684
19685 [BZ #13704]
19686 * manual/nss.texi (Services in the NSS configuration): Correct
19687 list of services in example configuration file.
19688
cd837b09
NB
196892012-02-19 Nick Bowler <nbowler@draconx.ca>
19690
19691 [BZ #11322]
19692 * manual/arith.texi: Remove statements about negative zero
19693 behaving identically to zero.
19694
02c4bbad
JM
196952012-02-18 Joseph Myers <joseph@codesourcery.com>
19696
19697 [BZ #5993]
19698 * manual/install.texi: Do not document upgrading from libc5.
19699
366842e7
JM
197002012-02-18 Joseph Myers <joseph@codesourcery.com>
19701
19702 [BZ #4596]
19703 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
19704
dd54084d
DM
197052012-02-18 David S. Miller <davem@davemloft.net>
19706
19707 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
19708 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
19709 %o7 across the call.
19710 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
19711 instead.
19712 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
19713 SETUP_PIC_REG_LEAF.
19714 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19715 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
19716 * sysdeps/sparc/crtn.S: Likewise.
19717
2bcc53a3
UD
197182012-02-17 Ulrich Drepper <drepper@gmail.com>
19719
19720 * aout/Makefile: Remove.
19721
09c093b5
RK
197222012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
19723
19724 [BZ #13058]
19725 * manual/examples/argp-ex1.c (main): Format definition in GNU
19726 style.
19727 * manual/examples/argp-ex2.c (main): Likewise.
19728 * manual/examples/argp-ex3.c (main): Likewise.
19729 * manual/examples/argp-ex4.c (main): Likewise.
19730 * manual/examples/longopt.c (main): Use new-style prototype
19731 definition.
19732 * manual/examples/strncat.c (main): Specify return type and use
19733 (void) for arguments.
19734 * manual/examples/subopt.c (main): Use char **argv argument.
19735
2ee633a2
JM
197362012-02-17 Joseph Myers <joseph@codesourcery.com>
19737
19738 [BZ #5077]
19739 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
19740 rounding modes.
19741
0520adde
FB
197422012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
19743
19744 [BZ #6907]
19745 * manual/string.texi (strchr): Change when strchrnul is
19746 recommended.
19747
3f4081cd
DGM
197482012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
19749
19750 [BZ #174]
19751 * manual/locale.texi (setlocale): Document LOCPATH.
19752
d1b10e78
JM
197532012-02-17 Joseph Myers <joseph@codesourcery.com>
19754
19755 [BZ #10210]
19756 * manual/process.texi (execle): Move @dots{} before last argument.
19757
79c6869c
PB
197582012-02-17 Paul Bolle <pebolle@tiscali.nl>
19759
19760 [BZ #12047]
19761 * manual/charset.texi (Generic Charset Conversion): Fix typo
19762 (LC_TYPE -> LC_CTYPE).
19763
cc6e48bc
NB
197642012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
19765
19766 [BZ #5805]
19767 * manual/arith.texi (scalbn): Use @var{} on parameter names.
19768 (scalbnf): Likewise.
19769 (scalbnl): Likewise.
19770 (scalbln): Likewise.
19771 (scalblnf): Likewise.
19772 (scalblnl): Likewise.
19773 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
19774 (vwarnx): Likewise.
19775 (verr): Likewise.
19776 (verrx): Likewise.
19777 * manual/filesys.texi (telldir): Use braces around return type.
19778 * manual/llio.texi (mmap): Add space after comma.
19779 (mmap64): Likewise.
19780 * manual/math.texi (jn): Use @var{} on parameter names.
19781 (jnf): Likewise.
19782 (jnl): Likewise.
19783 (yn): Likewise.
19784 (ynf): Likewise.
19785 (ynl): Likewise.
19786 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
19787 line.
19788 * manual/resource.texi (ulimit): Use @dots{} instead of literal
19789 "...".
19790 (sched_get_priority_min): Remove semicolon on @deftypefun line.
19791 (sched_get_priority_max): Likewise.
19792 * manual/signal.texi (sigvec): Add space after comma.
19793 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
19794 names.
19795 (if_indextoname): Likewise.
19796 (if_freenameindex): Likewise.
19797 (sendto): Use ',' instead of '.' in prototype.
19798 * manual/startup.texi (syscall): Use @dots{} instead of literal
19799 "...".
19800 * manual/stdio.texi (__fpending): Separate initial words of
19801 paragraph from @deftypefun line.
19802 * manual/syslog.texi (syslog): Use @dots{} instead of literal
19803 "...".
19804 (vsyslog): Use @var{} on parameter names.
19805 * manual/terminal.texi (stty): Use @var{} on parameter names.
19806 * manual/users.texi (getutmp): Use @var{} on parameter names.
19807 (getutmpx): Likewise.
19808
5b23062f
JM
198092012-02-17 Joseph Myers <joseph@codesourcery.com>
19810
19811 [BZ #6884]
19812 * manual/stdio.texi (fopen): Fix typos in description of
19813 ",ccs=STRING".
19814
8dee4833
AJ
198152012-02-17 Aurelien Jarno <aurelien@aurel32.net>
19816
19817 [BZ #4026]
19818 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
19819 get clock_id definition.
19820
9078ce93
TS
198212012-02-17 Thomas Schwinge <thomas@schwinge.name>
19822
19823 [BZ #4822]
19824 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
19825 (madvise): Cast every argument to void on its own.
19826
3835c55f
JM
198272012-02-17 Joseph Myers <joseph@codesourcery.com>
19828
19829 [BZ #9902]
19830 * manual/startup.texi (Exit Status): Fix typo.
19831
35c47e37
JM
198322012-02-17 Joseph Myers <joseph@codesourcery.com>
19833
19834 [BZ #10140]
19835 * manual/examples/argp-ex1.c: Include <stdlib.h>.
19836 * manual/examples/argp-ex2.c: Likewise.
19837 * manual/examples/argp-ex3.c: Likewise.
19838
e3b69ca7
RH
198392012-02-16 Richard Henderson <rth@redhat.com>
19840
19841 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
19842 * sysdeps/s390/s390-32/initfini.c: Remove.
19843 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
19844 * sysdeps/s390/s390-64/initfini.c: Remove.
19845
df83af67
KK
198462012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19847
19848 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
19849 compiler output for sysdeps/generic/initfini.c.
19850 * sysdeps/sh/elf/initfini.c: Remove file.
19851
f63f3380
DM
198522012-02-16 David S. Miller <davem@davemloft.net>
19853
fb59b3a4
DM
19854 [BZ #11494]
19855 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
19856
f63f3380
DM
19857 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
19858 * sysdeps/sparc/crti.S: New file.
19859 * sysdeps/sparc/crtn.S: New file.
19860 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
19861 * sysdeps/sparc/sparc64/Makefile: Likewise.
19862
df6a4a4a
MF
198632012-02-15 Mike Frysinger <vapier@gentoo.org>
19864
6dd8f3dc 19865 [BZ #3335]
df6a4a4a
MF
19866 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
19867
1cac7236
RM
198682012-02-15 Roland McGrath <roland@hack.frob.com>
19869
d2c736f8
RM
19870 [BZ #4822]
19871 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
19872
1cac7236
RM
19873 * mach/devstream.c (cookie_io_functions_t): Macro removed.
19874 (write, read, close): Likewise.
19875 Patch by Aurelien Jarno <aurelien@aurel32.net>.
19876
8e475601
JM
198772012-02-15 Joseph Myers <joseph@codesourcery.com>
19878
19879 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
19880 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
19881 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
19882 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
19883 <bits/signalfd.h>.
19884 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
19885 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19886 bits/signalfd.h.
19887
ed656b40
MP
198882012-02-14 Marek Polacek <polacek@redhat.com>
19889
19890 * sysdeps/x86_64/crti.S: New file.
19891 * sysdeps/x86_64/crtn.S: New file.
19892 * sysdeps/x86_64/elf/initfini.c: Remove file.
19893
2a979d3a
JM
198942012-02-13 Joseph Myers <joseph@codesourcery.com>
19895
19896 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
19897 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
19898 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
19899 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
19900 <bits/inotify.h>.
19901 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
19902 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19903 bits/inotify.h.
19904
2a418ac3
JM
199052012-02-13 Joseph Myers <joseph@codesourcery.com>
19906
19907 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
19908 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
19909 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
19910 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
19911 <bits/eventfd.h>.
19912 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
19913 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19914 bits/eventfd.h.
19915
fb779be7
TS
199162012-02-10 Thomas Schwinge <thomas@codesourcery.com>
19917
e19e83c5
RM
19918 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
19919 __feraiseexcept instead of feraiseexcept.
7c35ffed 19920
fb779be7
TS
19921 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
19922 nanosleep invocations.
19923 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
19924 strings, and add error checking for a nanosleep invocations.
19925
59ba27a6
PE
199262012-02-09 Paul Eggert <eggert@cs.ucla.edu>
19927
19928 Replace FSF snail mail address with URLs, as per GNU coding standards.
19929 Most of the snail mail addresses were wrong anyway, and omitting
19930 them makes the source code easier to maintain. Almost all of the
19931 changes are to license notices and to locale LC_IDENTIFICATION
19932 addresses, except for this one:
19933 * manual/libc.texinfo: In "Published by", give the FSF's URL,
19934 not its snail mail address.
19935
57b957eb
RH
199362012-02-09 Richard Henderson <rth@twiddle.net>
19937
af850b1c
RH
19938 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
19939 of kernel-features.h.
19940
57b957eb
RH
19941 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
19942
6b73181a
MP
199432012-02-08 Marek Polacek <polacek@redhat.com>
19944
19945 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
19946 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
19947 * sysdeps/gnu/_G_config.h: Likewise.
19948 * sysdeps/generic/_G_config.h: Likewise.
19949
26ecc33a
AS
199502012-02-08 Andreas Schwab <schwab@linux-m68k.org>
19951
6c6dbc63
AS
19952 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
19953 tests.
19954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19955
e216c012
AS
19956 * sysdeps/powerpc/powerpc32/crti.S: New file.
19957 * sysdeps/powerpc/powerpc32/crtn.S: New file.
19958 * sysdeps/powerpc/powerpc64/crti.S: New file.
19959 * sysdeps/powerpc/powerpc64/crtn.S: New file.
19960
26ecc33a
AS
19961 * Makeconfig (have-initfini): Don't set.
19962 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
19963 * configure.in (nopic_initfini): Don't substitute.
19964 * config.h.in (HAVE_INITFINI): Don't #undef.
19965 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
19966 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
19967
3add8e13
JM
199682012-02-08 Joseph Myers <joseph@codesourcery.com>
19969
19970 Support crti.S and crtn.S provided directly by architectures.
19971 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
19972 [crti.S in sysdirs] (omit-deps): Likewise.
19973 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
19974 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
19975 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
19976 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
19977 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
19978 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
19979 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
19980 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
19981 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
19982 compiler output for sysdeps/generic/initfini.c.
19983 * sysdeps/i386/elf/Makefile: Remove file.
19984 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
19985
a22f12b4
MP
199862012-02-07 Marek Polacek <polacek@redhat.com>
19987
19988 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
19989 * sysdeps/gnu/_G_config.h: Likewise.
19990 * sysdeps/mach/hurd/_G_config.h: Likewise.
19991
148cf100
MP
199922012-02-07 Marek Polacek <polacek@redhat.com>
19993
19994 * math/Makefile (tests): Add tst-CMPLX2.
19995 * math/tst-CMPLX2.c: New file.
19996
cfdc0dd7
AS
199972012-02-07 Andreas Schwab <schwab@linux-m68k.org>
19998
84ba42c4
AS
19999 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
20000
cfdc0dd7
AS
20001 * math/libm-test.inc (jn_test): Add missing L suffix.
20002
622c86f4
MP
200032012-02-06 Marek Polacek <polacek@redhat.com>
20004
20005 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
20006 * sysdeps/i386/fpu/e_powf.S: Likewise.
20007 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
20008 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20009 * sysdeps/i386/fpu/e_acosh.S: Likewise.
20010 * sysdeps/i386/fpu/e_pow.S: Likewise.
20011 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
20012 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
20013 * sysdeps/i386/fpu/s_expm1.S: Likewise.
20014 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
20015 * sysdeps/i386/fpu/e_log2.S: Likewise.
20016 * sysdeps/i386/fpu/e_log2l.S: Likewise.
20017 * sysdeps/i386/fpu/e_scalb.S: Likewise.
20018 * sysdeps/i386/fpu/e_powl.S: Likewise.
20019 * sysdeps/i386/fpu/s_log1p.S: Likewise.
20020 * sysdeps/i386/fpu/e_log10f.S: Likewise.
20021 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
20022 * sysdeps/i386/fpu/e_logl.S: Likewise.
20023 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
20024 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
20025 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
20026 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
20027 * sysdeps/i386/fpu/e_log2f.S: Likewise.
20028 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
20029 * sysdeps/i386/fpu/e_log.S: Likewise.
20030 * sysdeps/i386/fpu/s_cexp.S: Likewise.
20031 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
20032 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
20033 * sysdeps/i386/fpu/e_logf.S: Likewise.
20034 * sysdeps/i386/fpu/e_log10l.S: Likewise.
20035 * sysdeps/i386/fpu/e_atanh.S: Likewise.
20036 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
20037 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
20038 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20039 * sysdeps/i386/fpu/e_log10.S: Likewise.
20040 * sysdeps/i386/fpu/s_frexp.S: Likewise.
20041 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
20042 * sysdeps/i386/fpu/s_asinh.S: Likewise.
20043 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
20044 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
20045 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
20046 * sysdeps/i386/asm-syntax.h: Likewise.
20047 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
20048 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20049 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
20050 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
20051 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
20052 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
20053 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
20054 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
20055 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
20056 * sysdeps/powerpc/sysdep.h: Likewise.
20057 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
20058 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20059
d4a54ac6
JM
200602012-02-06 Joseph Myers <joseph@codesourcery.com>
20061
20062 [BZ #411]
20063 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
20064
314054ea
JM
200652012-02-06 Joseph Myers <joseph@codesourcery.com>
20066
20067 * sysdeps/i386/sysdep.h: Include <features.h>.
20068 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
20069 version.
20070
d8e0ca50
JM
200712012-02-05 Joseph Myers <joseph@codesourcery.com>
20072
20073 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
20074 Define.
20075 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
20076 LOAD_PIC_REG_STR.
20077
b1da7dd9
JM
200782012-02-03 Joseph Myers <joseph@codesourcery.com>
20079
20080 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
20081 (SETUP_PIC_REG): Use GET_PC_THUNK.
20082 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
20083 macro.
20084
9a1d9254
JM
200852012-02-03 Joseph Myers <joseph@codesourcery.com>
20086
20087 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
20088 for non-PIC compilation.
20089 (SETUP_PIC_REG): Add .p2align directive.
20090 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
20091 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
20092 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20093 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20094 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
20095 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20096 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
20097 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
20098 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20099 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20100 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20101 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20102 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20103 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20104 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20105 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
20106 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
20107 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20108 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20109 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20110 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20111 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
20112 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20113 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20114 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
20115 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
20116 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20117 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
20118 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20119 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20120 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20121 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20122 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20123 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20124 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20125 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20126 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20127 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20128 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20129 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20130 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20131
65dc3b75
JM
201322012-02-03 Joseph Myers <joseph@codesourcery.com>
20133
20134 * math/tst-CMPLX.c: Include <stdio.h>.
20135
d55bf177
JM
201362012-01-31 Joseph Myers <joseph@codesourcery.com>
20137
20138 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
20139 float.
20140 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20141 * sysdeps/sparc/bits/mathdef.h: Likewise.
20142
69db4f8f
MP
201432012-01-31 Marek Polacek <polacek@redhat.com>
20144
20145 * libio/libio.h: Don't define _PARAMS.
20146 * locale/programs/config.h: Don't define PARAMS.
20147 * stdlib/strtol_l.c: Likewise.
20148 (__strtol_l): Remove PARAMS from the prototype.
20149
41b81892
UD
201502012-01-31 Ulrich Drepper <drepper@gmail.com>
20151
3b49edc0
UD
20152 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
20153 names. Just use the correct names. Remove unnecessary wrapper
20154 functions.
20155 * malloc/arena.c: Likewise.
20156 * malloc/hooks.c: Likewise.
20157
41b81892
UD
20158 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
20159 ARENA_TEST says not to. Simplify test for creation of a new arena.
20160 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
20161
27a25b6e
UD
201622012-01-30 Ulrich Drepper <drepper@gmail.com>
20163
20164 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
20165 into tail calls.
20166 (update_get_addr): New function.
20167 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
20168 GET_ADDR_MODULE parameter.
20169
c8a89e7d
JM
201702012-01-30 Joseph Myers <joseph@codesourcery.com>
20171
20172 * crypt/cert.c: Remove __STDC__ conditionals.
20173 * crypt/crypt-entry.c: Likewise.
20174 * crypt/crypt_util.c: Likewise.
20175 * libio/filedoalloc.c: Likewise.
20176 * libio/fileops.c: Likewise.
20177 * libio/genops.c: Likewise.
20178 * libio/iofclose.c: Likewise.
20179 * libio/iofdopen.c: Likewise.
20180 * libio/iofopen.c: Likewise.
20181 * libio/iofopen64.c: Likewise.
20182 * libio/iogetdelim.c: Likewise.
20183 * libio/iopopen.c: Likewise.
20184 * libio/obprintf.c: Likewise.
20185 * libio/oldfileops.c: Likewise.
20186 * libio/oldiofclose.c: Likewise.
20187 * libio/oldiofdopen.c: Likewise.
20188 * libio/oldiofopen.c: Likewise.
20189 * libio/oldiopopen.c: Likewise.
20190 * libio/wfiledoalloc.c: Likewise.
20191 * libio/wgenops.c: Likewise.
20192 * locale/programs/xmalloc.c: Likewise.
20193 * misc/syslog.c: Likewise.
20194 * stdio-common/xbug.c: Likewise.
20195 * string/memchr.c: Likewise.
20196 * string/memcmp.c: Likewise.
20197 * string/memrchr.c: Likewise.
20198 * string/rawmemchr.c: Likewise.
20199 * sysdeps/posix/getcwd.c: Likewise.
20200 * time/strftime_l.c: Likewise.
20201
3b100462
JM
202022012-01-30 Joseph Myers <joseph@codesourcery.com>
20203
20204 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
20205 * config.make.in (config-cflags-sse2avx): Define.
20206 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
20207 Fix typo.
20208
607998af
CM
202092012-01-29 Chris Metcalf <cmetcalf@tilera.com>
20210
20211 * scripts/config.guess: Update from upstream config git repository.
20212 * scripts/config.sub: Likewise.
20213
3601428f
CM
202142012-01-28 Chris Metcalf <cmetcalf@tilera.com>
20215
3ac8b282
CM
20216 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
20217 (EM_NUM): Update.
20218 (R_TILEPRO_*, R_TILEGX_*): New macros.
20219
e034841e
CM
20220 * scripts/firstversions.awk: Fix bug in version range handling.
20221
540d7568
CM
20222 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
20223
3601428f
CM
20224 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
20225
463de862
CM
20226 * include/sys/epoll.h: New file.
20227 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
20228 libc_hidden_def.
20229
73139a76
UD
202302012-01-28 Ulrich Drepper <drepper@gmail.com>
20231
96bc5b45
UD
20232 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
20233 Avoid unnecessary __WORDSIZE == 64 test.
20234 (fmaxf): Use VEX format if possible.
20235 (fmax): Likewise.
20236 (fminf): Likewise.
20237 (fmin): Likewise.
20238
56f6f6a2
UD
20239 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
20240 * math/math_private.h: Remove libc_fegetround* and
20241 libc_fesetround*.
20242 * sysdeps/i386/configure.in: Check for -msse2avx.
20243 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
20244 also if SSE2AVX is defined.
20245 Remove libc_fegetround* and libc_fesetround*.
20246 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
20247 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
20248 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
20249 of HAS_YMM_USABLE.
20250 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20251 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20252 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20253 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20254 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
20255
73139a76
UD
20256 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
20257
d73f93a4
AZ
202582012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20259
20260 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
20261 size is not set.
20262 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
20263
6ee65ed6
UD
202642012-01-27 Ulrich Drepper <drepper@gmail.com>
20265
20266 [BZ #13618]
20267 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
20268 relocation.
20269 * Makeconfig (libm): Define.
20270 * elf/Makefile: Add rules to build and run tst-relsort1.
20271 * elf/tst-relsort1.c: New file.
20272 * elf/tst-relsort1mod1.c: New file.
20273 * elf/tst-relsort1mod2.c: New file.
20274
8db21882
JM
202752012-01-27 Joseph Myers <joseph@codesourcery.com>
20276
20277 * math/s_ldexp.c: Remove __STDC__ conditionals.
20278 * math/s_ldexpf.c: Likewise.
20279 * math/s_ldexpl.c: Likewise.
20280 * math/s_nextafter.c: Likewise.
20281 * math/s_nexttowardf.c: Likewise.
20282 * math/s_significand.c: Likewise.
20283 * math/s_significandf.c: Likewise.
20284 * math/s_significandl.c: Likewise.
20285 * math/w_jnl.c: Likewise.
20286 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
20287 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
20288 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
20289 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
20290 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
20291 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20292 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
20293 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20294 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20295 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20296 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20297 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20298 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20299 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
20300 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20301 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20302 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20303 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20304 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20305 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
20306 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
20307 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
20308 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
20309 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
20310 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
20311 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
20312 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
20313 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
20314 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
20315 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
20316 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
20317 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
20318 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
20319 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
20320 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
20321 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
20322 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
20323 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20324 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
20325 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
20326 * sysdeps/ieee754/k_standard.c: Likewise.
20327 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
20328 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
20329 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
20330 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
20331 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
20332 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
20333 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
20334 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
20335 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
20336 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
20337 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
20338 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
20339 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
20340 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
20341 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
20342 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
20343 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
20344 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
20345 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
20346 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
20347 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20348 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
20349 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
20350 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
20351 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
20352 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
20353 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
20354 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
20355 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
20356 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
20357 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
20358 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
20359 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
20360 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
20361 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
20362 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
20363 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
20364 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
20365 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
20366 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
20367 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
20368 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
20369 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20370 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
20371 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
20372 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
20373 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
20374 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
20375 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
20376 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20377 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
20378 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
20379 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
20380 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
20381 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
20382 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
20383 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
20384 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
20385 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
20386 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
20387 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20388 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
20389 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
20390 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
20391 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20392 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20393 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20394 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
20395 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
20396 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20397 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20398 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20399 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20400 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
20401 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
20402 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20403 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
20404 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
20405 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
20406 * sysdeps/ieee754/s_matherr.c: Likewise.
20407 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
20408 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20409 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20410 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20411
965a54a4
JM
204122012-01-26 Joseph Myers <joseph@codesourcery.com>
20413
20414 * crypt/md5.h: Remove __STDC__ conditionals.
20415 * libio/libioP.h: Likewise.
20416 * locale/programs/config.h: Likewise.
20417 * sysdeps/generic/sysdep.h: Likewise.
20418 * sysdeps/i386/asm-syntax.h: Likewise.
20419 * sysdeps/s390/asm-syntax.h: Likewise.
20420 * sysdeps/unix/sysdep.h: Likewise.
20421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
20422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20423
7071ad79
JM
204242012-01-26 Joseph Myers <joseph@codesourcery.com>
20425
20426 * libio/libio.h: Remove __STDC__ conditionals.
20427 * malloc/obstack.h: Likewise.
20428 * math/complex.h: Likewise.
20429 * math/math.h: Likewise.
20430 * sysdeps/generic/_G_config.h: Likewise.
20431 * sysdeps/gnu/_G_config.h: Likewise.
20432 * sysdeps/mach/hurd/_G_config.h: Likewise.
20433 * sysdeps/powerpc/bits/mathdef.h: Likewise.
20434 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
20435 * sysdeps/sparc/bits/mathdef.h: Likewise.
20436
afc5ed09
UD
204372012-01-26 Ulrich Drepper <drepper@gmail.com>
20438
20439 [BZ #13583]
20440 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 20441 Clean up HAS_* macros.
afc5ed09 20442 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
20443 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
20444 possible.
20445 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
20446 HAS_AVX.
20447 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
20448 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
20449 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
20450 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
20451 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 20452
bdb6de1d
JM
204532012-01-25 Joseph Myers <joseph@codesourcery.com>
20454
20455 * elf/tst-unique3.cc (gets): Remove declaration.
20456 * elf/tst-unique3lib.cc (gets): Likewise.
20457 * elf/tst-unique3lib2.cc (gets): Likewise.
20458 * elf/tst-unique4.cc (gets): Likewise.
20459
b15549e6
UD
204602012-01-24 Ulrich Drepper <drepper@gmail.com>
20461
20462 * include/stdio.h: Add C++ protection. Add gets declarations and
20463 definitions.
20464 * debug/tst-chk1.c: Don't declare gets here.
20465 * stdio-common/tst-gets.c: Likewise.
20466
a037381f
JM
204672012-01-24 Joseph Myers <joseph@codesourcery.com>
20468
20469 * posix/glob: Remove directory.
20470
f1d4aa75
JM
204712012-01-24 Joseph Myers <joseph@codesourcery.com>
20472
20473 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
20474
81c0c964
PT
204752012-01-22 Pino Toscano <toscano.pino@tiscali.it>
20476
20477 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
20478 of the non-standard EPFNOSUPPORT.
20479
0ea698ae
ST
204802011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
20481
20482 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
20483 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
20484 ANYWHERE set to 1 only on KERN_NO_SPACE error.
20485
d220b117
UD
204862012-01-21 Ulrich Drepper <drepper@gmail.com>
20487
20488 * wcsmbs/uchar.h: Test __STDC_VERSION__.
20489
3e1aa84e
UD
204902012-01-20 Ulrich Drepper <drepper@gmail.com>
20491
20492 * nscd/aicache.c (addhstaiX): Do not cache negative results of
20493 transient errors.
20494 * nscd/grpcache.c (cache_addgr): Likewise.
20495 * nscd/hstcache.c (cache_addhst): Likewise.
20496 * nscd/initgrcache.c (addinitgroupsX): Likewise.
20497 * nscd/pwdcache.c (cache_addpw): Likewise.
20498 * nscd/servicescache.c (cache_addserv): Likewise.
20499
400aa020
UD
205002012-01-16 Ulrich Drepper <drepper@gmail.com>
20501
d77e7869
UD
20502 * malloc/malloc.c: Various cleanups.
20503 * malloc/hooks.c: Likewise.
20504
400aa020
UD
20505 * stdlib/Makefile (tests): Add bug-fmtmsg1.
20506 * stdlib/bug-fmtmsg1.c: New file.
20507
20508 * stdlib/fmtmsg.c (init): Add missing unlock.
20509 Patch by Peng Haitao <penght@cn.fujitsu.com>.
20510
e0a309cf
MP
205112012-01-12 Marek Polacek <polacek@redhat.com>
20512
20513 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
20514 and _GNU_SOURCE.
20515
929d11c7
WS
205162012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
20517
20518 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
20519 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
20520 macro to ensure uniqueness of label name.
20521 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
20522 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
20523
41d0e869
UD
205242012-01-11 Ulrich Drepper <drepper@gmail.com>
20525
0cc5ed3b
UD
20526 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
20527
41d0e869
UD
20528 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
20529 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
20530 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20531 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
20532
a47a831a
UD
205332012-01-10 Ulrich Drepper <drepper@gmail.com>
20534
daa891c0
UD
20535 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
20536
20537 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
20538 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
20539 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
20540
e58ef0f2
UD
20541 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
20542
a47a831a 20543 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
20544 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
20545 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 20546 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
20547
20548 * math/bits/math-finite.h: Add ldexp support.
20549
a0bfc9c7
MP
205502012-01-10 Marek Polacek <polacek@redhat.com>
20551
20552 * locale/programs/localedef.h (show_archive_content): Add noreturn
20553 attribute.
20554
d6e97a1d
UD
205552012-01-09 Ulrich Drepper <drepper@gmail.com>
20556
20557 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
20558
d5835c26
UD
205592012-01-08 Ulrich Drepper <drepper@gmail.com>
20560
e5f484c6
UD
20561 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
20562
d5835c26
UD
20563 * io/Makefile (headers): Add bits/poll2.h.
20564
d1f741e9
WS
205652011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
20566
20567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
20568 typo #include statement.
20569
ec09c1c4
UD
205702012-01-08 Ulrich Drepper <drepper@gmail.com>
20571
20572 * include/sys/cdefs.h: Define __attribute_alloc_size.
20573 * catgets/gencat.c: Add alloc_size attribute and apply consistently
20574 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
20575 * elf/pldd.c: Likewise.
20576 * iconv/iconv_charmap.c: Likewise.
20577 * iconv/iconvconfig.c: Likewise.
20578 * iconv/strtab.c: Likewise.
20579 * locale/programs/locale.c: Likewise.
20580 * locale/programs/localedef.h: Likewise.
20581 * locale/programs/simple-hash.c: Likewise.
20582 * nscd/nscd.h: Likewise.
20583 * nss/makedb.c: Likewise.
20584 * sysdeps/generic/ldconfig.h: Likewise.
20585 * locale/programs/localedef.c: Remove xmalloc prototype.
20586 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
20587
20b38e03
PP
205882012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
20589
20590 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
20591 appropriate.
20592
a0da5fe1
UD
205932012-01-08 Ulrich Drepper <drepper@gmail.com>
20594
1d5a644a 20595 * math/Makefile (tests): Add tst-CMPLX.
669704fd 20596 * math/tst-CMPLX.c: New file.
1d5a644a 20597
8784a6db
UD
20598 * math/complex.h (CMPLXL): Fix typo.
20599
d9a216c0
UD
20600 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
20601 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
20602 GLIBC_2.16.
20603 * debug/tst-chk1.c: Add poll and ppoll tests.
20604 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
20605 * include/sys/poll.h: Add hidden proto for ppoll.
20606 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
20607 * sysdeps/mach/hurd/ppoll.c: Likewise.
20608 * io/ppoll.c: Likewise.
20609 * debug/poll_chk.c: New file.
20610 * debug/ppoll_chk.c: New file.
20611 * include/bits/poll2.h: New file.
20612 * io/bits/poll2.h: New file.
20613
ac097f5c
UD
20614 [BZ #1350]
20615 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
20616
2119dcfa
UD
20617 * configure.in: static is always set to yes. Remove.
20618 * config.make.in: Don't set build-static.
20619 * Makeconfig: Remove use of build-static.
20620 * dlfcn/Makefile: Likewise.
20621 * elf/Makefile: Likewise.
20622 * math/Makefile: Likewise.
20623 * misc/Makefile: Likewise.
20624 * nptl/Makefile: Likewise.
20625 * sysdeps/mach/hurd/Makefile: Likewise.
20626
121766a9
UD
20627 * configure.in: PWD_P is not used anymore.
20628 * config.make.in: Remove PWD_P entry.
20629
51a1d39c 20630 * configure.in: Remove last remnants of RANLIB.
8720d066 20631 No need to check for signed size_t anymore.
215f4bdc
UD
20632 Don't set libc_commonpagesize and libc_relro_required here for Alpha
20633 and IA-64.
3857022a 20634 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
20635 * aclocal.m4: Likewise.
20636
d3ed7225
UD
20637 * wcsmbs/mbrtoc16.c: Implement using towc function.
20638 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
20639 * wcsmbs/wcsmbsload.c: Likewise.
20640 * iconv/gconv_simple.c: Likewise.
20641 * iconv/gconv_int.h: Likewise.
20642 * iconv/gconv_builtin.h: Likewise.
20643 * iconv/iconv_prog.c: Remove CHAR16 handling.
20644
20645 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
20646
20647 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
20648
a0da5fe1
UD
20649 * configure.in: Remove --with-elf and --enable-bounded options.
20650 Dont set base_machine for ia64. More non-ELF conditions removed.
20651 Remove testing and setting of leading underscore information.
20652 * config.make.in (build-bounded): Set to no.
20653 * config.h.in: Remove NO_UNDERSCORES entry.
20654 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
20655 them.
20656 * csu/start.c: Remove !NO_UNDERSCORE code.
20657 * locale/localeinfo.h: Likewise.
20658 * sysdeps/generic/machine-gmon.h: Likewise.
20659 * sysdeps/generic/sysdep.h: Likewise.
20660 * sysdeps/i386/sysdep.h: Likewise.
20661 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20662 * sysdeps/mach/sysdep.h: Likewise.
20663 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20664 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20665 * sysdeps/sh/sysdep.h: Likewise.
20666 * sysdeps/sparc/sparc32/alloca.S: Likewise.
20667 * sysdeps/unix/i386/sysdep.S: Likewise.
20668 * sysdeps/unix/sparc/start.c: Likewise.
20669 * sysdeps/unix/sparc/sysdep.S: Likewise.
20670 * sysdeps/unix/sparc/sysdep.h: Likewise.
20671 * sysdeps/unix/start.c: Likewise.
20672 * sysdeps/unix/x86_64/sysdep.S: Likewise.
20673 * sysdeps/x86_64/sysdep.h: Likewise.
20674
df78418a
UD
206752012-01-07 Ulrich Drepper <drepper@gmail.com>
20676
a784e502
UD
20677 [BZ #13553]
20678 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
20679 for non-gcc.
20680 * argp/argp-fmtstream.h: Use const instead __const.
20681 * argp/argp.h: Likewise.
20682 * assert/assert.h: Likewise.
20683 * bits/fenv.h: Likewise.
20684 * bits/sched.h: Likewise.
20685 * bits/sigset.h: Likewise.
20686 * bits/sigthread.h: Likewise.
20687 * catgets/nl_types.h: Likewise.
20688 * conform/data/pthread.h-data: Likewise.
20689 * crypt/crypt-private.h: Likewise.
20690 * crypt/crypt.h: Likewise.
20691 * crypt/crypt_util.c: Likewise.
20692 * ctype/ctype.h: Likewise.
20693 * debug/execinfo.h: Likewise.
20694 * debug/mbsnrtowcs_chk.c: Likewise.
20695 * debug/mbsrtowcs_chk.c: Likewise.
20696 * debug/wcsnrtombs_chk.c: Likewise.
20697 * debug/wcsrtombs_chk.c: Likewise.
20698 * debug/wcstombs_chk.c: Likewise.
20699 * dirent/dirent.h: Likewise.
20700 * dlfcn/dlfcn.h: Likewise.
20701 * elf/neededtest4.c: Likewise.
20702 * grp/grp.h: Likewise.
20703 * gshadow/gshadow.h: Likewise.
20704 * iconv/gconv.h: Likewise.
20705 * iconv/gconv_int.h: Likewise.
20706 * iconv/gconv_simple.c: Likewise.
20707 * iconv/iconv.h: Likewise.
20708 * iconv/loop.c: Likewise.
20709 * iconv/skeleton.c: Likewise.
20710 * include/aio.h: Likewise.
20711 * include/aliases.h: Likewise.
20712 * include/argz.h: Likewise.
20713 * include/arpa/inet.h: Likewise.
20714 * include/assert.h: Likewise.
20715 * include/dirent.h: Likewise.
20716 * include/dlfcn.h: Likewise.
20717 * include/execinfo.h: Likewise.
20718 * include/fcntl.h: Likewise.
20719 * include/fenv.h: Likewise.
20720 * include/glob.h: Likewise.
20721 * include/grp.h: Likewise.
20722 * include/libintl.h: Likewise.
20723 * include/mntent.h: Likewise.
20724 * include/netdb.h: Likewise.
20725 * include/pwd.h: Likewise.
20726 * include/rpc/netdb.h: Likewise.
20727 * include/sched.h: Likewise.
20728 * include/search.h: Likewise.
20729 * include/shadow.h: Likewise.
20730 * include/signal.h: Likewise.
20731 * include/stdio.h: Likewise.
20732 * include/stdlib.h: Likewise.
20733 * include/string.h: Likewise.
20734 * include/sys/socket.h: Likewise.
20735 * include/sys/stat.h: Likewise.
20736 * include/sys/statfs.h: Likewise.
20737 * include/sys/statvfs.h: Likewise.
20738 * include/sys/syslog.h: Likewise.
20739 * include/sys/time.h: Likewise.
20740 * include/sys/uio.h: Likewise.
20741 * include/time.h: Likewise.
20742 * include/unistd.h: Likewise.
20743 * include/utmp.h: Likewise.
20744 * include/wchar.h: Likewise.
20745 * include/wctype.h: Likewise.
20746 * inet/aliases.h: Likewise.
20747 * inet/arpa/inet.h: Likewise.
20748 * inet/netinet/ether.h: Likewise.
20749 * inet/netinet/in.h: Likewise.
20750 * intl/libintl.h: Likewise.
20751 * io/bits/fcntl2.h: Likewise.
20752 * io/fcntl.h: Likewise.
20753 * io/ftw.h: Likewise.
20754 * io/sys/poll.h: Likewise.
20755 * io/sys/stat.h: Likewise.
20756 * io/sys/statfs.h: Likewise.
20757 * io/sys/statvfs.h: Likewise.
20758 * io/utime.h: Likewise.
20759 * libio/bits/stdio.h: Likewise.
20760 * libio/bits/stdio2.h: Likewise.
20761 * libio/libio.h: Likewise.
20762 * libio/libioP.h: Likewise.
20763 * libio/stdio.h: Likewise.
20764 * locale/lc-ctype.c: Likewise.
20765 * locale/locale.h: Likewise.
20766 * login/utmp.h: Likewise.
20767 * malloc/arena.c: Likewise.
20768 * malloc/malloc.c: Likewise.
20769 * malloc/malloc.h: Likewise.
20770 * malloc/mcheck.c: Likewise.
20771 * malloc/mtrace.c: Likewise.
20772 * math/bits/mathcalls.h: Likewise.
20773 * math/fenv.h: Likewise.
20774 * math/math_private.h: Likewise.
20775 * misc/bits/error.h: Likewise.
20776 * misc/bits/syslog.h: Likewise.
20777 * misc/err.h: Likewise.
20778 * misc/error.h: Likewise.
20779 * misc/fstab.h: Likewise.
20780 * misc/mntent.h: Likewise.
20781 * misc/regexp.h: Likewise.
20782 * misc/search.h: Likewise.
20783 * misc/sgtty.h: Likewise.
20784 * misc/sys/mman.h: Likewise.
20785 * misc/sys/syslog.h: Likewise.
20786 * misc/sys/uio.h: Likewise.
20787 * misc/sys/xattr.h: Likewise.
20788 * misc/ttyent.h: Likewise.
20789 * nis/rpcsvc/ypclnt.h: Likewise.
20790 * nss/nss.h: Likewise.
20791 * posix/bits/unistd.h: Likewise.
20792 * posix/fnmatch.h: Likewise.
20793 * posix/glob.h: Likewise.
20794 * posix/sched.h: Likewise.
20795 * posix/spawn.h: Likewise.
20796 * posix/sys/wait.h: Likewise.
20797 * posix/unistd.h: Likewise.
20798 * posix/wordexp.h: Likewise.
20799 * pwd/pwd.h: Likewise.
20800 * resolv/netdb.h: Likewise.
20801 * resource/sys/resource.h: Likewise.
20802 * rt/aio.h: Likewise.
20803 * rt/bits/mqueue2.h: Likewise.
20804 * rt/mqueue.h: Likewise.
20805 * shadow/shadow.h: Likewise.
20806 * signal/signal.h: Likewise.
20807 * socket/send.c: Likewise.
20808 * socket/sendto.c: Likewise.
20809 * socket/sys/socket.h: Likewise.
20810 * stdio-common/printf.h: Likewise.
20811 * stdlib/bits/stdlib.h: Likewise.
20812 * stdlib/fmtmsg.h: Likewise.
20813 * stdlib/monetary.h: Likewise.
20814 * stdlib/stdlib.h: Likewise.
20815 * stdlib/ucontext.h: Likewise.
20816 * streams/stropts.h: Likewise.
20817 * string/argz.h: Likewise.
20818 * string/bits/string2.h: Likewise.
20819 * string/string.h: Likewise.
20820 * string/strings.h: Likewise.
20821 * sunrpc/rpc/auth.h: Likewise.
20822 * sunrpc/rpc/auth_des.h: Likewise.
20823 * sunrpc/rpc/clnt.h: Likewise.
20824 * sunrpc/rpc/netdb.h: Likewise.
20825 * sunrpc/rpc/pmap_clnt.h: Likewise.
20826 * sunrpc/rpc/xdr.h: Likewise.
20827 * sysdeps/generic/inttypes.h: Likewise.
20828 * sysdeps/generic/net/if.h: Likewise.
20829 * sysdeps/generic/sys/swap.h: Likewise.
20830 * sysdeps/gnu/net/if.h: Likewise.
20831 * sysdeps/gnu/utmpx.h: Likewise.
20832 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
20833 * sysdeps/i386/i486/bits/string.h: Likewise.
20834 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
20835 * sysdeps/s390/bits/string.h: Likewise.
20836 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
20837 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
20838 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
20839 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
20840 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
20841 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
20842 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
20843 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
20844 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
20845 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
20846 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
20847 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20848 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
20849 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20850 * sysdeps/unix/sysv/linux/readv.c: Likewise.
20851 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
20852 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20853 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
20854 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
20855 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
20856 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
20857 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
20858 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
20859 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
20860 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
20861 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
20862 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
20863 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
20864 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
20865 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
20866 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
20867 * sysvipc/sys/ipc.h: Likewise.
20868 * sysvipc/sys/msg.h: Likewise.
20869 * sysvipc/sys/sem.h: Likewise.
20870 * sysvipc/sys/shm.h: Likewise.
20871 * termios/termios.h: Likewise.
20872 * time/sys/time.h: Likewise.
20873 * time/time.h: Likewise.
20874 * wcsmbs/bits/wchar2.h: Likewise.
20875 * wcsmbs/uchar.h: Likewise.
20876 * wcsmbs/wchar.h: Likewise.
20877 * wctype/wctype.h: Likewise.
20878
0269750c
UD
20879 [BZ #13551]
20880 * Makeconfig: Remove all but ELF support including AIX support.
20881 * Makerules: Likewise.
20882 * config.h.in: Likewise.
20883 * config.make.in: Likewise.
20884 * configure: Likewise.
20885 * configure.in: Likewise.
20886 * csu/Makefile: Likewise.
20887 * csu/version.c: Likewise.
20888 * debug/Makefile: Likewise.
20889 * dlfcn/Makefile: Likewise.
20890 * elf/Makefile: Likewise.
20891 * extra-lib.mk: Likewise.
20892 * iconv/Makefile: Likewise.
20893 * include/libc-symbols.h: Likewise.
20894 * include/shlib-compat.h: Likewise.
20895 * resolv/Makefile: Likewise.
20896 * resolv/res_libc.c: Likewise.
20897 * rt/Makefile: Likewise.
20898 * sysdeps/i386/asm-syntax.h: Likewise.
20899 * sysdeps/i386/sysdep.h: Likewise.
20900 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
20901 * sysdeps/mach/sysdep.h: Likewise.
20902 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
20903 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
20904 * sysdeps/s390/asm-syntax.h: Likewise.
20905 * sysdeps/s390/s390-32/sysdep.h: Likewise.
20906 * sysdeps/s390/s390-64/sysdep.h: Likewise.
20907 * sysdeps/sh/sysdep.h: Likewise.
20908 * sysdeps/unix/sparc/sysdep.h: Likewise.
20909 * sysdeps/wordsize-32/divdi3.c: Likewise.
20910 * sysdeps/x86_64/sysdep.h: Likewise.
20911
00bbd29b
UD
20912 * argp/Versions: Remove _argp_unlock_xxx.
20913
20914 [BZ #13559]
20915 * abilist/ld.abilist: Update. Adjust for removal of tls option.
20916 * abilist/libBrokenLocale.abilist: Likewise.
20917 * abilist/libanl.abilist: Likewise.
20918 * abilist/libc.abilist: Likewise.
20919 * abilist/libcrypt.abilist: Likewise.
20920 * abilist/libdl.abilist: Likewise.
20921 * abilist/libm.abilist: Likewise.
20922 * abilist/libnsl.abilist: Likewise.
20923 * abilist/libpthread.abilist: Likewise.
20924 * abilist/libresolv.abilist: Likewise.
20925 * abilist/librt.abilist: Likewise.
20926 * abilist/libthread_db.abilist: Likewise.
20927 * abilist/libutil.abilist: Likewise.
20928 * abilist/libnss_db.abilist: New file.
20929
20930 * scripts/abilist.awk: Add support for indirect functions.
20931
a2693a0e
UD
20932 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
20933
3f05895f
UD
20934 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
20935
ecb6fb48
UD
20936 * shlib-versions: Remove entries for ports architectures.
20937
664f8cb9
UD
20938 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
20939 files in ports.
20940 * elf/stackguard-macros.h: Remove support for IA-64.
20941 * elf/tst-auditmod1.c: Likewise.
20942 * sysdeps/generic/ldsodefs.h: Likewise.
20943
7ae81d88
UD
20944 * sysdeps/unix/sysv/linux/configure.in: Ports should define
20945 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
20946 configure files.
20947
bdeba135
UD
20948 [BZ #13552]
20949 * configure.in: Remove --enable-omitfp support.
20950 * FAQ.in: Adjust.
20951 * config.make.in: Likewise.
20952 * Makeconfig: Likewise.
20953 * manual/install.texi: Likewise.
20954
d75a0a62
UD
20955 In case anyone cares, the IA-64 architecture could move to ports.
20956 * sysdeps/ia64/*: Removed.
20957 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 20958 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 20959
dcc9756b
UD
20960 [BZ #13555]
20961 * configure.in: Remove entries for unsupported architectures.
20962
d3761ebc 20963 [BZ #13533]
9954432e
UD
20964 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
20965 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
20966 routines.
20967 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
20968 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
20969 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
20970 fall back to using wcrtomb.
20971 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
20972 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
20973 renaming.
20974 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
20975 * wcsmbs/tst-c16c32-1.c: New file.
20976
20977 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
20978 local variable.
20979
c3a87236
UD
20980 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
20981
28926a1b
UD
20982 * elf/tst-unique3.cc: Add explicit declaration of gets.
20983 * elf/tst-unique3lib.cc: Likewise.
20984 * elf/tst-unique3lib2.cc: Likewise.
20985 * elf/tst-unique4.cc: Likewise.
20986
df78418a
UD
20987 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
20988
8ecd6b2a
JM
209892012-01-06 Joseph Myers <joseph@codesourcery.com>
20990
20991 [BZ #13566]
20992 * assert/assert.h (static_assert): Don't define for C++.
20993 * libio/stdio.h (gets): Do declare for C++ <= C++11.
20994 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
20995
9f115170
UD
209962012-01-03 Ulrich Drepper <drepper@gmail.com>
20997
5e0d0300
UD
20998 * iconv/loop.c (single loop): Fix assertion in storing of
20999 remaining bytes.
21000
9f115170
UD
21001 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
21002
81fb02b0
UD
210032012-01-01 Ulrich Drepper <drepper@gmail.com>
21004
21005 * posix/getconf.c: Update copyright year.
21006 * nss/getent.c: Likewise.
a316c1f6 21007 * nss/makedb.c: Likewise.
81fb02b0
UD
21008 * iconv/iconvconfig.c: Likewise.
21009 * iconv/iconv_prog.c: Likewise.
21010 * elf/ldconfig.c: Likewise.
a316c1f6
UD
21011 * elf/pldd.c: Likewise.
21012 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
21013 * catgets/gencat.c: Likewise.
21014 * csu/version.c: Likewise.
21015 * elf/ldd.bash.in: Likewise.
21016 * elf/sprof.c (print_version): Likewise.
21017 * locale/programs/locale.c: Likewise.
21018 * locale/programs/localedef.c: Likewise.
a316c1f6 21019 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
21020 * nscd/nscd.c (print_version): Likewise.
21021 * debug/xtrace.sh: Likewise.
21022 * malloc/memusage.sh: Likewise.
21023 * malloc/mtrace.pl: Likewise.
21024 * debug/catchsegv.sh: Likewise.
21025
2ba92745
JJ
210262011-12-30 Jakub Jelinek <jakub@redhat.com>
21027
21028 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
21029 pure attribute.
21030
dadebdae
UD
210312011-12-24 Ulrich Drepper <drepper@gmail.com>
21032
d3761ebc 21033 [BZ #13533]
db6af3eb
UD
21034 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
21035 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
21036 transformations.
21037 * iconv/gconv_int.h: Likewise.
21038 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
21039 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
21040 from libc for GLIBC_2.16.
21041 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
21042 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
21043 * wcsmbs/uchar.h: Really define mbstate_t.
21044 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
21045 * wcsmbs/c16rtomb.c: New file.
21046 * wcsmbs/mbrtoc16.c: New file.
21047 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
21048 for C/POSIX locale.
21049 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
21050 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
21051
dadebdae
UD
21052 * wcsmbs/wchar.h: Add missing __restrict.
21053
67371b56
UD
210542011-12-23 Ulrich Drepper <drepper@gmail.com>
21055
74033a25
UD
21056 [BZ #13532]
21057 * time/Makefile (routines): Add timespec_get.
21058 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
21059 * time/time.h: Define TIME_UTC and declare timespec_get. Define
21060 timespec for ISO C11.
21061 * time/timespec_get.c: New file.
21062 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
21063 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
21064
380d7e87
UD
21065 [BZ #13531]
21066 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
21067 * stdlib/stdlib.h: Declare aligned_alloc.
21068 * Versions.def: Add GLIBC_2.16 for libc.
21069 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
21070
4e9e7a35
UD
21071 [BZ 13527]
21072 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
21073 ISO C11.
21074
380d7e87 21075 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
21076 code.
21077
03a71829
UD
21078 [BZ #13528]
21079 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
21080
839e283e
UD
21081 [BZ #13529]
21082 * assert/assert.h (static_assert): Define.
21083
ce5294e2 21084 * version.h: Update for 2.16 development version.
90fa7312 21085
8d44e150 21086 [BZ #13526]
d7809905
UD
21087 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
21088 _ISOC11_SOURCE.
21089
c0da14cd
UD
21090 * version.h (RELEASE): Bump for 2.15 release.
21091 * include/features.h (__GLIBC_MINOR__): Bump to 15.
21092
530a3249
MP
21093 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
21094 Patch by Marek Polacek <mpolacek@redhat.com>.
21095
67371b56
UD
21096 * bits/byteswap.h: Protect long long constants with __extension__.
21097 * sysdeps/i386/bits/byteswap.h: Likewise.
21098 * sysdeps/ia64/bits/byteswap.h: Likewise.
21099 * sysdeps/s390/bits/byteswap.h: Likewise.
21100 * sysdeps/x86_64/bits/byteswap.h: Likewise.
21101
15db4de1
LD
211022011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21103
21104 [BZ #13540]
bbe315ea
LD
21105 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
21106 destination buffer.
15db4de1
LD
21107 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
21108
2b2596b1
MP
211092011-12-23 Marek Polacek <polacek@redhat.com>
21110
21111 * elf/dl-addr.c (determine_info): Add inline keyword.
21112 * elf/tst-auditmod4b.c (check_avx): Likewise.
21113 * elf/tst-auditmod6b.c (check_avx): Likewise.
21114 * elf/tst-auditmod6c.c (check_avx): Likewise.
21115 * elf/tst-auditmod7b.c (check_avx): Likewise.
21116
70c6c246
UD
211172011-12-23 Ulrich Drepper <drepper@gmail.com>
21118
21119 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
21120 !__SSE_MATH__.
21121
c044cf14
LD
211222011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21123
15db4de1 21124 [BZ #13540]
c044cf14
LD
21125 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
21126 processing for last bytes.
21127
6b13d9d9
BH
211282011-08-06 Bruno Haible <bruno@clisp.org>
21129
d455f537
BH
21130 [BZ #13061]
21131 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
21132 U+0385, not to U+1FEE.
21133
6b13d9d9
BH
21134 [BZ #13062]
21135 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
21136 entry for U+00A5 U+0301.
21137
db910efd
UD
211382011-12-22 Ulrich Drepper <drepper@gmail.com>
21139
27deeafc
UD
21140 [BZ #13166]
21141 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
21142 buffer for the output is too small.
21143
aed9d171
UD
21144 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
21145 optimization.
21146
db910efd
UD
21147 [BZ #13185]
21148 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
21149 SSE flags if possible.
21150
2bd779ae
LD
211512011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21152
e7f9dac3 21153 [BZ #13540]
2bd779ae
LD
21154 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
21155 processing for last bytes.
21156
154bfc16
JM
211572011-12-22 Joseph Myers <joseph@codesourcery.com>
21158
21159 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
21160 (syscall-list-default-options, syscall-list-default-condition)
21161 (syscall-list-includes): Define.
21162 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
21163 list of ABIs and options and #if conditions for each ABI. Do not
21164 handle common syscalls between ABIs specially.
21165 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
21166 Remove.
21167 (syscall-list-variants, syscall-list-32bit-options)
21168 (syscall-list-32bit-condition, syscall-list-64bit-options)
21169 (syscall-list-64bit-condition): Define.
21170 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
21171 (syscall-list-variants, syscall-list-32bit-options)
21172 (syscall-list-32bit-condition, syscall-list-64bit-options)
21173 (syscall-list-64bit-condition): Define.
21174 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
21175 Remove.
21176 (syscall-list-variants, syscall-list-32bit-options)
21177 (syscall-list-32bit-condition, syscall-list-64bit-options)
21178 (syscall-list-64bit-condition): Define.
21179 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
21180 Remove.
21181 (syscall-list-variants, syscall-list-32bit-options)
21182 (syscall-list-32bit-condition, syscall-list-64bit-options)
21183 (syscall-list-64bit-condition): Define.
21184
21eaf3a5
UD
211852011-12-22 Ulrich Drepper <drepper@gmail.com>
21186
16c6f992
UD
21187 * locale/iso-639.def: Add brx entry.
21188
41043168
UD
21189 [BZ #13328]
21190 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
21191 Proposed by Mariusz_Cukr <marcukr@op.pl>.
21192
21eaf3a5
UD
21193 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
21194 __feraiseexcept_renamed.
21195
e3a851a2
UD
211962011-12-21 Ulrich Drepper <drepper@gmail.com>
21197
4920765e
UD
21198 [BZ #13538]
21199 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
21200 EPOLLET with unsigned values.
21201 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
21202 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
21203
e3a851a2
UD
21204 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
21205 to large cancellation.
21206 * math/s_cacoshf.c: Likewise.
21207 * math/s_cacoshl.c: Likewise.
21208
b27e24b8
RK
212092011-11-18 Richard B. Kreckel <kreckel@ginac.de>
21210
21211 [BZ #13305]
aebefeee 21212 [BZ #12786]
b27e24b8
RK
21213 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
21214 * math/s_cacoshf.c: Likewise.
21215 * math/s_cacoshl.c: Likewise.
21216
ee190f67
UD
212172011-12-21 Ulrich Drepper <drepper@gmail.com>
21218
21219 [BZ #13439]
21220 * iconv/gconv.h: Define __GCONV_SWAP.
21221 * iconvdata/unicode.c: The swap bit must be stored in __flags.
21222 * iconvdata/utf-16.c: Likewise.
21223 * iconvdata/utf-32.c: Likewise.
21224
707f25df
AS
212252011-12-21 Andreas Schwab <schwab@linux-m68k.org>
21226
21227 [BZ #13524]
21228 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
21229 numerator after shifting it by one limb.
21230
d2daaa1e
RÁE
212312011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
21232
21233 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
21234 under [__USE_EXTERN_INLINES].
21235
a4647e72
UD
212362011-12-17 Ulrich Drepper <drepper@gmail.com>
21237
21238 [BZ #13446]
21239 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
21240
f0b264f1
AZ
212412011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21242
21243 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
21244 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
21245 optimized code.
21246 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
21247 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
21248 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
21249 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
21250 for strncasecmp/strncasecmp_l compilation.
21251 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
21252 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
21253
8ef4f244
MP
212542011-12-08 Marek Polacek <mpolacek@redhat.com>
21255
21256 [BZ #13484]
21257 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
21258 of __asm__.
21259
97ac2654
UD
212602011-12-17 Ulrich Drepper <drepper@gmail.com>
21261
21262 [BZ #13506]
21263 * time/tzfile.c (__tzfile_read): Check values from file header.
21264
91d2a845
WS
212652011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21266
21267 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
21268 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
21269 * powerpc/powerpc32/dl-start.S: Likewise.
21270 * powerpc/powerpc32/elf/start.S: Likewise.
21271 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21272 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
21273 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
21274 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
21275 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
21276 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
21277 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
21278 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
21279 * powerpc/powerpc32/fpu/s_round.S: Likewise.
21280 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
21281 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
21282 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
21283 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
21284 * powerpc/powerpc32/memset.S: Likewise.
21285 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
21286 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21287 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21288 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21289 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21290 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21291 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21292 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21293 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
21294 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
21295 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
21296 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
21297 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
21298
a1267ba1
AZ
212992011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21300
21301 * math/libm-test.inc: Added more nearbyint tests.
21302 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
21303 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
21304 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
21305 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
21306
ad8ac1bd
RL
213072011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
21308
21309 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
21310 FD_CLOEXEC.
21311
1d3e4b61
UD
213122011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21313
21314 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
21315 Add wcscpy-ssse3 wcscpy-c.
21316 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
21317 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
21318 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
21319 * sysdeps/x86_64/wcschr.S: New file.
21320 * sysdeps/x86_64/wcsrchr.S: New file.
21321 * string/test-strcmp.c: Remove checking of wcscmp function for
21322 wrong alignments.
21323 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
21324 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
21325 wcsrchr-sse2 wcsrchr-c.
21326 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
21327 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
21328 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
21329 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
21330 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
21331 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
21332 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
21333 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
21334 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
21335 * wcsmbc/wcschr.c (WCSCHR): New macro.
21336
5b330a2d
UD
213372011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21338
21339 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
21340 * wcsmbs/test-wcsrchr.c: New file.
21341 * string/test-strrchr.c: Add wcsrchr support.
21342 (WIDE): New macro.
21343 * wcsmbs/test-wcscpy.c: New file.
21344 * string/test-strcpy.c: Add wcscpy support.
21345 (WIDE): New macro.
26428b7c 21346
f039c043
UD
213472011-12-10 Ulrich Drepper <drepper@gmail.com>
21348
21349 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
21350 the inner loop.
21351
850fb039
AS
213522011-12-06 Andreas Schwab <schwab@linux-m68k.org>
21353
21354 [BZ #13472]
21355 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
21356
4efbd5cb
UD
213572011-12-04 Ulrich Drepper <drepper@gmail.com>
21358
52ff5dd0 21359 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 21360 Minor optimizations.
52ff5dd0 21361
4efbd5cb
UD
21362 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
21363 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
21364 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
21365
8a426e12
UD
213662011-12-03 Ulrich Drepper <drepper@gmail.com>
21367
aff2453d
UD
21368 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
21369 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
21370 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
21371 for gcc to avoid warnings.
21372 * inet/Makefile (tests): Add tst-checks.
21373 * inet/tst-checks.c: New file.
21374
21375 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
21376 warning.
21377
21378 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
21379 __wmemcmp_sse2.
21380
21381 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
21382 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
21383
8a426e12
UD
21384 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
21385
9bea3473
UD
213862011-12-02 Ulrich Drepper <drepper@gmail.com>
21387
3a965496
UD
21388 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
21389 problem.
21390
9bea3473
UD
21391 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
21392
f101631b
UD
213932011-11-29 Joseph Myers <joseph@codesourcery.com>
21394
21395 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
21396 conditional on GCC version.
21397 (__arch_compare_and_exchange_val_8_acq)
21398 (__arch_compare_and_exchange_val_16_acq)
21399 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
21400 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
21401 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
21402
a98275aa
UD
214032011-12-02 Joseph Myers <joseph@codesourcery.com>
21404
21405 * sysdeps/sh/backtrace.c: New file.
21406
d4cc29a2
AS
214072011-12-02 Andreas Schwab <schwab@redhat.com>
21408
21409 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
21410 parenthesis.
21411
6257af2d
AS
214122011-12-01 Andreas Schwab <schwab@redhat.com>
21413
21414 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
21415 falling back to utime.
21416
b5f44c1a
AS
214172011-11-30 Andreas Schwab <schwab@redhat.com>
21418
21419 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
21420 expectations for float.
21421
f3a6cc0a
AS
214222011-11-29 Andreas Schwab <schwab@redhat.com>
21423
21424 * locale/weight.h (findidx): Add parameter len.
21425 * locale/weightwc.h (findidx): Likewise.
21426 * posix/fnmatch_loop.c (FCT): Adjust caller.
21427 * posix/regcomp.c (build_equiv_class): Likewise.
21428 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
21429 * posix/regexec.c (check_node_accept_bytes): Likewise.
21430 * string/strcoll_l.c (STRCOLL): Likewise.
21431 * string/strxfrm_l.c (STRXFRM): Likewise.
21432
9d65ea3a
UD
214332011-11-17 Ulrich Drepper <drepper@gmail.com>
21434
21435 * Makefile.in: Remove CVSOPT handling.
21436 * configure.in: Remove use of AC_REVISION.
21437 * iconvdata/Makefile (distribute): No need to filter out CVS.
21438 * scripts/list-sources.sh: Remove CVS, subversion and monotone
21439 handling.
21440
5583a086
AS
214412011-11-16 Andreas Schwab <schwab@redhat.com>
21442
21443 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
21444 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
21445 [USE_AS_STRNCASECMP_L]: Likewise.
21446 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
21447 NO_TLS_DIRECT_SEG_REFS.
21448 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
21449 Fix argument offsets for non-PIC.
21450 [USE_AS_STRNCASECMP_L]: Likewise.
21451 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
21452 NO_TLS_DIRECT_SEG_REFS.
21453
d62a8200
UD
214542011-11-15 Ulrich Drepper <drepper@gmail.com>
21455
9d65ea3a 21456 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
21457 O_CLOEXEC.
21458 * locale/loadlocale.c (_nl_load_locale): Likewise.
21459
09f93bd3
AS
214602011-11-15 Andreas Schwab <schwab@redhat.com>
21461
446514f9
AS
21462 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
21463 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
21464 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
21465 (SYSCALL_GETTIME): Set errno on error.
21466
09f93bd3
AS
21467 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
21468 count references to noai6ai_cached.
21469
312be3f9
UD
214702011-11-15 Ulrich Drepper <drepper@gmail.com>
21471
21472 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
21473
21474 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
21475 FD_CLOEXEC for /proc/self/maps.
21476
21477 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
21478 FD_CLOEXEC for /proc/meminfo.
21479
21480 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
21481 gai.conf.
21482
21483 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
21484 FD_CLOEXEC for given file.
21485
21486 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
21487
21488 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
21489 FD_CLOEXEC for /etc/hosts.
21490 (_gethtent): Likewise.
21491
21492 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
21493
21494 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
21495 cancellation and set FD_CLOEXEC for /etc/netgroup.
21496
21497 * nss/nss_files/files-key.c (search): Don't allow cancellation when
21498 reading /etc/publickey.
21499
21500 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
21501 allow cancellation when reading /etc/group.
21502
21503 * nss/nss_files/files-alias.c (internal_setent): Don't allow
21504 cancellation.
21505 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
21506
21507 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
21508 when using data file.
21509
21510 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
21511
21512 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
21513 (write_nis_obj): Use "c" and "e" in fopen.
21514
21515 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
21516
21517 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
21518
21519 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
21520
21521 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
21522
21523 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
21524 locale.alias.
21525
21526 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
21527
21528 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
21529
21530 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
21531
21532 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
21533 file parsing and set FD_CLOEXEC.
21534
82af0fa8
UD
215352011-11-14 Ulrich Drepper <drepper@gmail.com>
21536
21537 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
21538
a5fb313c
AS
215392011-11-14 Andreas Schwab <schwab@redhat.com>
21540
21541 * malloc/arena.c (arena_get2): Don't call reused_arena when
21542 _int_new_arena failed.
21543
6abf3465
UD
215442011-11-14 Ulrich Drepper <drepper@gmail.com>
21545
21546 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
21547 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
21548 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
21549 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21550 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21551 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
21552 to compile strcasecmp and strncasecmp.
21553 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
21554 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
21555
21556 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
21557
76e3966e
UD
215582011-11-13 Ulrich Drepper <drepper@gmail.com>
21559
21560 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
21561 locale-defines.sym to gen-as-const-headers.
21562 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
21563 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
21564 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
21565 to compile strcasecmp and strncasecmp.
21566 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
21567 strcasecmp_l and strncasecmp_l.
21568 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
21569 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
21570 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
21571 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
21572 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
21573 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
21574 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
21575 * sysdeps/i386/i686/multiarch/strncase.S: New file.
21576 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
21577 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
21578 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
21579
ab26144e
UD
215802011-11-12 Ulrich Drepper <drepper@gmail.com>
21581
7edb22ef
UD
21582 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
21583 result of SYSDEP_GETTIME_CPU to retval.
21584 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
21585 parameter list to macro. Remove trailing semicolon. Adjust users.
21586
9694fc44
UD
21587 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
21588 variable.
21589
8ad89ef8
UD
21590 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
21591 mantissa words.
21592 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
21593
0c822ef9
UD
21594 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
21595 from unused variable.
21596
874e0564
UD
21597 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
21598 DWARF definitions.
21599 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
21600 for assembling.
21601
3a2edc79
UD
21602 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
21603 over namespaces.
21604
f3c2577f
UD
21605 * sunrpc/rpc_prot.c (rejected): Fix case value.
21606
294ce126
UD
21607 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
21608 unsigned long long int to avoid warnings in shift.
21609
5e2b63c6
UD
21610 * posix/regex_internal.c (re_string_reconstruct): Actually use result
21611 of use of trans.
21612 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
21613 variable tmp.
21614
e7f4b08e
UD
21615 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
21616 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
21617 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
21618
ab26144e
UD
21619 * nis/nis_table.c (nis_list): Use variable of correct type for
21620 result of __follow_path call.
21621
8a6d5255
AZ
216222011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21623
21624 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
21625 of math functions ceil, trunc, floor, round, and sqrt, when
21626 avaliable on the platform.
21627 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
21628 name clash.
21629 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
21630 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
21631 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
21632
aaddc98c
MP
216332011-10-30 Marek Polacek <mpolacek@redhat.com>
21634
21635 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
21636 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21637
95b7042b
RM
216382011-11-11 Roland McGrath <roland@hack.frob.com>
21639
21640 * include/unistd.h: Fix __readlink return type.
21641 Reported by Chris Metcalf <cmetcalf@tilera.com>.
21642
57769839
UD
216432011-11-11 Ulrich Drepper <drepper@gmail.com>
21644
21645 * stdlib/ucontext.h: Undo last change for makecontext.
21646
edc5984d
AS
216472011-11-11 Andreas Schwab <schwab@redhat.com>
21648
98591e58
AS
21649 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
21650
edc5984d
AS
21651 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
21652 * setjmp/setjmp.h: Mark functions as non-leaf.
21653 * setjmp/bits/setjmp2.h: Likewise.
21654 * stdlib/ucontext.h: Likewise.
21655
77cdc054
AS
216562011-11-10 Andreas Schwab <schwab@redhat.com>
21657
21658 * malloc/arena.c (_int_new_arena): Don't increment narenas.
21659 (reused_arena): Don't check arena limit.
21660 (arena_get2): Atomically check arena limit.
21661
fe72eebd
UD
216622011-11-08 Ulrich Drepper <drepper@gmail.com>
21663
5f078c32
UD
21664 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
21665 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
21666
fe72eebd
UD
21667 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
21668 instructions.
21669
ae1bc2fa
AS
216702011-11-07 Andreas Schwab <schwab@redhat.com>
21671
7583a88d
AS
21672 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
21673 handler when locking.
21674
ae1bc2fa
AS
21675 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
21676 Fix size of allocated buffer.
21677
10fb0bfa
AS
216782011-11-04 Andreas Schwab <schwab@redhat.com>
21679
998832a4
AS
21680 [BZ #10103]
21681 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
21682 declarations for long double functions.
21683 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
21684
10fb0bfa
AS
21685 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
21686
3d7ba52b
AS
216872011-11-03 Andreas Schwab <schwab@redhat.com>
21688
a9ae54a1
AS
21689 * nscd/nscd.c (main): Don't start AVC thread until credentials are
21690 installed.
21691
3d7ba52b
AS
21692 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
21693 is disabled.
21694
bc8db248
ST
216952011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
21696
21697 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
21698
45b96dd6
AS
216992011-11-01 Andreas Schwab <schwab@linux-m68k.org>
21700
647776f6
AS
21701 * include/alloca.h (stackinfo_alloca_round): Define.
21702 (extend_alloca): Use it.
21703 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
21704 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
21705 here.
21706
d91a8b93
AS
21707 * scripts/check-local-headers.sh: Ignore libaudit.h.
21708
45b96dd6
AS
21709 * nscd/Makefile (extra-objs): Make recursively expanded.
21710
432d41ce
UD
217112011-11-01 Ulrich Drepper <drepper@gmail.com>
21712
34372fc6
UD
21713 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
21714 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
21715
fadb59f8
UD
21716 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
21717 * posix/tst-rfc3484-2.c: Likewise.
21718 * posix/tst-rfc3484-3.c: Likewise.
21719
78239589
UD
21720 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
21721 process_vm_writev.
21722 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
21723 process_vm_writev.
21724 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
21725 process_vm_writev from libc using GLIBC_2.15 version.
21726
432d41ce
UD
21727 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
21728
02f9c6cf
PP
217292011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
21730
21731 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
21732 stack usage.
21733
3a2c0242
UD
217342011-10-31 Ulrich Drepper <drepper@gmail.com>
21735
f4ec4833
UD
21736 [BZ #13367]
21737 * nss/getent.c (initgroups_keys): Show error message in case no group
21738 names are given.
21739
3a2c0242
UD
21740 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
21741 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
21742 __bump_nl_timestamp.
21743 * nscd/connections (nscd_init): When host database is served open
21744 netlink socket and request notification about configuration changes.
21745 (main_loop_poll): Track netlink file descriptor and bump timestamp
21746 in case data becomes available.
21747 (main_loop_epoll): Likewise.
21748 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
21749 (database_pers_head): Add extra_data fileds.
21750 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
21751 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
21752 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
21753 Adjust caller.
21754 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
21755 in6ai data, call __free_in6ai.
21756 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
21757 Add -DHAVE_NETLINK.
21758 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
21759 interface information. Reuse previous data if netlink timestamp
21760 is not changed.
21761 (__bump_nl_timestamp): New function.
21762 (__free_in6ai): New function.
21763
636064eb
UD
217642011-10-30 Ulrich Drepper <drepper@gmail.com>
21765
21766 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
21767 close_not_cancel_no_status here.
21768 (__check_pf): Reorganize code a bit to not call close twice if OOM.
21769
9beb2334
UD
217702011-10-29 Ulrich Drepper <drepper@gmail.com>
21771
6ef76f3b
UD
21772 [BZ #13276]
21773 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
21774 return value.
21775
0ffc4f3e 21776 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
21777 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
21778 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
21779
cb95113e
UD
217802011-07-03 Andreas Jaeger <aj@suse.de>
21781
21782 [BZ #10709]
21783 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
21784 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
21785 * math/libm-test.inc (sin_test): Add test case.
21786
a1b560ff
UD
217872011-10-29 Ulrich Drepper <drepper@gmail.com>
21788
c9aaface
UD
21789 [BZ #13337]
21790 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
21791 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21792
d272e7f1
UD
21793 * elf/chroot_canon.c (chroot_canon): Cleanups.
21794
1bc33071
UD
21795 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
21796
1760874d
TJ
21797 [BZ #13335]
21798 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
21799 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
21800
51d91b18
UD
21801 * string/test-strchr.c: Make usable for strchrnul testing.
21802 * string/test-strchrnul.c: New file.
21803 * string/Makefile (strop-tests): Add strchrnul.
21804
a1b560ff 21805 * po/it.po: Update from translation team.
b611fb81 21806 * po/es.po: Likewise.
a1b560ff 21807
a5b81e1f
UD
218082011-10-28 Ulrich Drepper <drepper@gmail.com>
21809
fd52bc6d
UD
21810 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
21811 the three constants needed as parameters. Drop the others.
21812 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
21813 __m128i_strloadu_tolower.
52e4b9eb
UD
21814 Create and initialize variable zero and use it in all the places
21815 where _mm_setzero_si128 was used.
fd52bc6d 21816
a5b81e1f
UD
21817 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
21818 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
21819 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
21820 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
21821 anymore.
21822 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
21823 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
21824 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
21825 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
21826 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
21827 __mpranred, __mptan.
21828 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
21829 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
21830 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
21831 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
21832 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
21833 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
21834 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
21835 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
21836 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
21837
b4343346
AS
218382011-10-28 Andreas Schwab <schwab@redhat.com>
21839
0c92d8a8
AS
21840 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
21841 redefine if SHARED.
21842 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
21843
b4343346
AS
21844 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
21845 wide char related routines to wcsmbs subdir.
21846
3871f58f
AS
218472011-10-27 Andreas Schwab <schwab@redhat.com>
21848
21849 [BZ #13344]
21850 * misc/sys/cdefs.h (__THROWNL): Define.
21851 * posix/unistd.h: Use __THREADNL instead of __THREAD
21852 for memory synchronization functions.
21853
94d44d9f
RM
218542011-10-26 Roland McGrath <roland@hack.frob.com>
21855
21b64b15 21856 [BZ #13349]
94d44d9f
RM
21857 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
21858 doesn't exist.
21859 * manual/stdio.texi (Obstack Streams): Node removed.
21860
f6ce9294
AS
218612011-10-26 Andreas Schwab <schwab@redhat.com>
21862
80479147
AS
21863 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
21864 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21865 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21866
f6ce9294
AS
21867 * math/math_private.h (math_force_eval): Allow non-addressable
21868 arguments.
21869 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
21870
618280a1
UD
218712011-10-25 Ulrich Drepper <drepper@gmail.com>
21872
e0016b11
UD
21873 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
21874 file is not needed.
21875
21876 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
21877 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
21878 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
21879 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
21880 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
21881 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
21882 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
21883 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
21884 Add AVX variants.
21885 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
21886 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
21887 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
21888 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
21889 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
21890 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
21891 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
21892 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
21893 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
21894 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
21895 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
21896 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
21897 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
21898 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
21899 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
21900 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
21901 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
21902 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
21903 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
21904
21905 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
21906 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
21907
618280a1
UD
21908 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
21909 place. Use VEX encoding when compiling for AVX.
21910
37822576
AS
219112011-10-25 Andreas Schwab <schwab@redhat.com>
21912
1f1e1947
AS
21913 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
21914 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
21915
37822576
AS
21916 * string/test-strchr.c (do_test): Don't generate NUL bytes.
21917
31ea014d
UD
219182011-10-25 Ulrich Drepper <drepper@gmail.com>
21919
d7826aa1 21920 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 21921 useless if() expression.
d7826aa1
UD
21922 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21923 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21924 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21925 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21926 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21927 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21928 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
21929 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
21930 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
21931 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
21932 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
21933 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
21934 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
21935 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
21936 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
21937 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
21938 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
21939 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
21940 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
21941
31ea014d
UD
21942 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
21943
16437fec
AS
219442011-10-25 Andreas Schwab <schwab@redhat.com>
21945
21946 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
21947 condition.
21948 * elf/dl-fini.c (_dl_sort_fini): Likewise.
21949
31d3cc00
UD
219502011-10-25 Ulrich Drepper <drepper@gmail.com>
21951
21952 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
21953 .text section. Avoid duplicate constants.
21954 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21955 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21956 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21957 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21958 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21959 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21960 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21961 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21962 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21963 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
21964 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21965 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21966 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21967 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21968 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21969 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21970 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21971 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21972 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21973 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21974 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21975 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21976 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21977 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
21978 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
21979 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
21980 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
21981 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
21982 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
21983 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
21984 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
21985 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
21986 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21987 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
21988 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
21989 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
21990 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
21991 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
21992 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
21993 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
21994 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
21995 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
21996 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
21997 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
21998 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
21999
58985aa9
UD
220002011-10-24 Ulrich Drepper <drepper@gmail.com>
22001
202c9deb
UD
22002 * sysdeps/x86_64/dla.h: Move to ...
22003 * sysdeps/x86_64/fpu/dla.h: ...here.
22004 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
22005 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 22006
af968f62
UD
22007 * config.make.in: Add have-mfma4 entry.
22008 * configure.in: Substitute libc_cv_cc_fma4.
22009 * math/Makefile (dbl-only-routines): Add sincostab.
22010 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
22011 Use __sincostab not sincos.
22012 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
22013 name is a macro.
22014 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22015 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22016 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22017 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
22018 using __copysign.
22019 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
22020 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
22021 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
22022 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
22023 and __inv.
22024 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
22025 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
22026 __copysign.
22027 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
22028 define aliases when function name is a macro.
22029 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
22030 sysdeps/ieee754/dbl-64/sincos.tbl.
22031 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
22032 fma4-enabled routines.
22033 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
22034 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
22035 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
22036 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
22037 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
22038 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
22039 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
22040 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
22041 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
22042 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
22043 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
22044 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
22045 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
22046 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
22047 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
22048 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
22049 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
22050 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
22051 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
22052 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
22053 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
22054 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
22055 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
22056 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
22057 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
22058 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
22059 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
22060 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
22061 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
22062 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
22063
58985aa9
UD
22064 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
22065 rename.
22066 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22067 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22068 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22069 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22070 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22071 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22072 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22073 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22074
a201fbcf
AS
220752011-10-24 Andreas Schwab <schwab@redhat.com>
22076
22077 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
22078
fc2ee42a
LD
220792011-10-23 Ulrich Drepper <drepper@gmail.com>
22080
bb3129bd
UD
22081 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
22082
0275fff8
UD
22083 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
22084 prediction.
22085 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
22086
2fa2ae85
UD
22087 * string/strnlen.c: Don't define STRNLEN, reverse logic.
22088 Remove unused variable magic_bits.
22089 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
22090
fc2ee42a
LD
22091 * string/strnlen.c: Define and use STRNLEN macro.
22092 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
22093 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
22094 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
22095 * wcsmbs/wcslen.c: Define and use WCSLEN.
22096 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
22097 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
22098 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
22099 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
22100 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
22101 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
22102 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
22103
ce7dd29f
LD
221042011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22105
22106 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22107 strnlen-sse2-no-bsf.
22108 Rename strlen-no-bsf to strlen-sse2-no-bsf.
22109 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
22110 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
22111 Add strnlen support.
22112 (USE_AS_STRNLEN): New macro.
22113 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
22114 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
22115 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
22116 * sysdeps/x86_64/wcslen.S: New file.
22117
979c70a3
MZ
221182011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
22119
22120 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
22121 XMM-moves are used for copying on small sizes.
22122
2d09f82f
LD
221232011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22124
22125 * wcsmbs/Makefile (strop-tests): Add wcschr.
22126 * wcsmbs/test-wcschr.c: New file.
22127 * string/test-strchr.c: Update.
22128 Add wcschr support.
22129 (WIDE): New macro.
22130
619fccca
LD
221312011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22132
2d09f82f 22133 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
22134 * wcsmbs/test-wcslen.c: New file.
22135 * string/test-strlen.c: Update.
22136 Add wcslen support.
22137 (WIDE): New macro.
22138
09f699ea
UD
221392011-10-23 Ulrich Drepper <drepper@gmail.com>
22140
22141 * po/it.po: Update from translation team.
22142
95584d3b
LD
221432011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22144
22145 * sysdeps/x86_64/wcscmp.S: Update.
22146 Fix wrong comparison semantics.
22147 wcscmp shall use signed comparison not unsigned.
22148 Don't use substraction to avoid overflow bug.
22149 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22150 * wcsmbc/wcscmp.c: Likewise.
22151 * string/test-strcmp.c: Likewise.
22152 Add new tests to check cases with negative values.
22153
c8b3296b
UD
221542011-10-23 Ulrich Drepper <drepper@gmail.com>
22155
22156 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
22157 * sysdeps/x86_64/dla.h: ...here. New file.
22158 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
22159 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22160 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22161 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22162 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22163 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22164 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22165 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22166 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22167
246ad57a
AS
221682011-10-23 Andreas Schwab <schwab@linux-m68k.org>
22169
22170 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
22171 __ynl_finite aliases.
22172
a1a87169
UD
221732011-10-22 Ulrich Drepper <drepper@gmail.com>
22174
0d355eb7
UD
22175 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22176
a1a87169
UD
22177 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
22178 define DLA_FMA.
22179 [DLA_FMA] (EMULV): Use DLA_FMA.
22180 [DLA_FMA] (MUL12): Use EMULV.
22181 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
22182 that are not needed.
22183 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22184 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22185 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22186 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22187 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22188 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22189 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22190
ee2aafe0
AS
221912011-10-22 Andreas Schwab <schwab@linux-m68k.org>
22192
22193 * math/s_nan.c: Undef __nan.
22194 * math/s_nanf.c: Undef __nanf.
22195 * math/s_nanl.c: Undef __nanl.
22196 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
22197 "math_private.h".
22198
bc62c2fb
UD
221992011-10-22 Ulrich Drepper <drepper@gmail.com>
22200
77425c63
UD
22201 * math/s_catan.c: Add branch predictions.
22202 * math/s_catanf.c: Likewise.
22203 * math/s_catanh.c: Likewise.
22204 * math/s_catanhf.c: Likewise.
22205 * math/s_catanhl.c: Likewise.
22206 * math/s_catanl.c: Likewise.
22207 * math/s_cexp.c: Likewise.
22208 * math/s_cexpf.c: Likewise.
22209 * math/s_cexpl.c: Likewise.
22210 * math/s_clog.c: Likewise.
22211 * math/s_clog10.c: Likewise.
22212 * math/s_clog10f.c: Likewise.
22213 * math/s_clog10l.c: Likewise.
22214 * math/s_clogf.c: Likewise.
22215 * math/s_clogl.c: Likewise.
22216 * math/s_csqrt.c: Likewise.
22217 * math/s_csqrtf.c: Likewise.
22218 * math/s_csqrtl.c: Likewise.
22219 * math/s_ctanf.c: Likewise.
22220 * math/s_ctanh.c: Likewise.
22221 * math/s_ctanhf.c: Likewise.
22222 * math/s_ctanhl.c: Likewise.
22223 * math/s_ctanl.c: Likewise.
22224
bc62c2fb
UD
22225 * math/math_private.h: Define __nan, __nanf, __nanl.
22226 * math/s_cacosh.c: Include <math_private.h>.
22227 * math/s_cacoshl.c: Likewise.
22228 * math/s_casinh.c: Likewise.
22229 * math/s_casinhf.c: Likewise.
22230 * math/s_casinhl.c: Likewise.
22231 * math/s_ccos.c: Rely entire on ccosh.
22232 * math/s_ccosf.c: Rely entire on ccoshf.
22233 * math/s_ccosl.c: Rely entirely on ccoshl.
22234 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
22235 Remove tests for FE_INVALID.
22236 * math/s_ccoshf.c: Likewise.
22237 * math/s_ccoshl.c: Likewise.
22238 * math/s_csin.c: Likewise.
22239 * math/s_csinf.c: Likewise.
22240 * math/s_csinh.c Likewise.
22241 * math/s_csinhf.c: Likewise.
22242 * math/s_csinhl.c: Likewise.
22243 * math/s_csinl.c: Likewise.
22244 * math/s_ctan.c: Likewise.
22245 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
22246 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
22247 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
22248
8ec250a4
UD
222492011-10-21 Ulrich Drepper <drepper@gmail.com>
22250
c196fed8
UD
22251 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
22252 compilation problems.
22253
8ec250a4
UD
22254 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
22255 __builtin_expect.
22256
8d4f46c6
UD
222572011-10-20 Ulrich Drepper <drepper@gmail.com>
22258
ed72b654
UD
22259 * sysdeps/i386/configure.in: Test for -mfma4 option.
22260 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
22261 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
22262 COMMON_CPUID_INDEX_80000001.
22263 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
22264 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
22265 use it if FMA3 is not supported.
22266 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22267
8d4f46c6
UD
22268 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
22269 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
22270
d45c60c2
AS
222712011-10-20 Andreas Schwab <schwab@redhat.com>
22272
22273 [BZ #12892]
22274 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
22275 it would create a cycle with a link time dependency.
22276
d9a4d2ab
UD
222772011-10-19 Ulrich Drepper <drepper@gmail.com>
22278
855d1560
UD
22279 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
22280 instruction.
22281 * string/Makefile (strop-tests): Add rawmemchr.
22282 * string/test-rawmemchr.c: New file.
22283
d9a4d2ab
UD
22284 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
22285 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
22286 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
22287 when compiling str{,n}casecmp and when AVX is available. Hook up
22288 new optimized code in initializers.
22289
8f3b1ffe
AS
222902011-10-19 Andreas Schwab <schwab@redhat.com>
22291
22292 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
22293 __feraiseexcept instead of feraiseexcept.
22294
d38f1dba
UD
222952011-10-18 Ulrich Drepper <drepper@gmail.com>
22296
d9a8d0ab
UD
22297 * math/math_private.h: Define defaults for libc_fetestexcept and
22298 libc_feupdateenv.
22299 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
22300 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
22301 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22302 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22303 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22304 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22305 libc_fetestexcept and libc_feupdateenv.
22306
4855e3dd
UD
22307 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
22308 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
22309 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
22310 * sysdeps/x86_64/fpu/math_private.h: Define special version of
22311 libc_feholdexcept_setround.
22312
581d30e3
UD
22313 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
22314 Add s_nearbyint-c and s_nearbyintf-c.
22315 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
22316 nearbyintf inlines.
22317 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
22318 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
22319 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
22320 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
22321
d38f1dba
UD
22322 * math/math_private.h: Define defaults for libc_fegetround,
22323 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
22324 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
22325 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
22326 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
22327 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
22328 standard functions.
22329 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22330 Remove comments and hacks for old compiler versions.
22331 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
22332 libc_fegetround, libc_fesetround, libc_feholdexcept, and
22333 libc_feholdexceptl.
22334
caa6c9d8
AS
223352011-10-18 Andreas Schwab <schwab@redhat.com>
22336
22337 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
22338 (__feraiseexcept_renamed): Add __NTH.
22339 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
22340 namespace violations.
22341
97c066e6
UD
223422011-10-17 Ulrich Drepper <drepper@gmail.com>
22343
99ce7b04
UD
22344 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
22345
1004d182
UD
22346 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
22347
228a984d
UD
22348 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
22349 recently added interfaces.
22350 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
22351
c8553a6a
UD
22352 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
22353 about macro parameter expansion.
22354
ed22dcf6
UD
22355 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
22356 __NO_MATH_INLINES is defined. Cleanups.
22357
22358 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
22359 and __floorf is target has SSE4.1.
22360 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
22361 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
22362 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
22363 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
22364
b171c137
UD
22365 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
22366 name.
22367 (floorf): Likewise.
22368
97c066e6
UD
22369 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
22370
629f62ef
AS
223712011-10-17 Andreas Schwab <schwab@redhat.com>
22372
49a43d80
AS
22373 * misc/sys/cdefs.h: Fix last change.
22374
629f62ef
AS
22375 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
22376 database lookup.
22377
e453f6cd
UD
223782011-10-16 Ulrich Drepper <drepper@gmail.com>
22379
aa78043a
UD
22380 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
22381
ad0f5cad
UD
22382 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
22383 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22384 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22385 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22386 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22387 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22388 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22389 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22390 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22391 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
22392 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
22393 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
22394 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
22395 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
22396 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
22397 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
22398 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
22399 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
22400 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
22401 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
22402 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
22403 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
22404
22405 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
22406 ceil, ceilf, floor, floorf.
22407
22408 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
22409 Perform IRELATIVE relocations last.
22410
e453f6cd
UD
22411 * elf/do-rel.h: Add another parameter nrelative, replacing the
22412 local variable with the same name. Change name of the function
22413 to end in Rel or Rela (uppercase).
22414 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
22415 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
22416 elf_dynamic_do_##reloc function.
22417
fd5bdc09
UD
224182011-10-15 Ulrich Drepper <drepper@gmail.com>
22419
79b195b5
UD
22420 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
22421 is sufficient, at least on modern CPUs.
22422
d4a28569
UD
22423 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
22424
b61099b5
UD
22425 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
22426 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
22427
bcf01e6d
UD
22428 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
22429 __expl_finite.
22430 * math/bits/math-finite.h: Add entries for exp.
22431 * math/e_expl.c: Add __*_finite alias.
22432 * sysdeps/i386/fpu/e_exp.S: Likewise.
22433 * sysdeps/i386/fpu/e_expf.S: Likewise.
22434 * sysdeps/i386/fpu/e_expl.c: Likewise.
22435 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22436 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
22437 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22438 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22439 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
22440 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
22441 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
22442
ba1a0d59
UD
22443 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
22444 is sufficient, at least on modern CPUs.
22445
fd5bdc09
UD
22446 * ctype/ctype-info.c (__ctype_init): Define.
22447 * include/ctype.h (__ctype_init): Declare.
22448 (__ctype_b_loc): The variable is always initialized.
22449 (__ctype_toupper_loc): Likewise.
22450 (__ctype_tolower_loc): Likewise.
22451 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
22452 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
22453
7872cfb0
AS
224542011-10-15 Andreas Schwab <schwab@linux-m68k.org>
22455
b468825a
AS
22456 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
22457
7872cfb0
AS
22458 * configure.in: Also look in $cxxmachine/include for C++ system
22459 headers.
22460
be13f7bf
LD
224612011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22462
22463 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
22464 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
22465 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
22466 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
22467 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
22468 (USE_AS_WMEMCMP): New macro.
22469 Fixing indents.
22470 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
22471 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
22472 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
22473 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
22474 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22475 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
22476 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
22477 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
22478 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
22479 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
22480 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
22481 (USE_AS_WMEMCMP): New macro.
22482 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
22483 * sysdeps/string/test-memcmp.c: Update.
22484 Fix simple_wmemcmp.
22485 Add new tests.
22486 * wcsmbs/wmemcmp.c: Update.
22487 (WMEMCMP): New macro.
22488 Fix overflow bug.
22489
556a2007
AJ
224902011-10-12 Andreas Jaeger <aj@suse.de>
22491
22492 [BZ #13268]
22493 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
22494
538faaa7
UD
224952011-10-15 Ulrich Drepper <drepper@gmail.com>
22496
ab6737ff
UD
22497 * libio/iofwide.c (do_length): Avoid warning.
22498
538faaa7
UD
22499 * ctype/ctype.h (__isctype_f): Add missing __THROW.
22500
396a21b1
UD
225012011-10-14 Ulrich Drepper <drepper@gmail.com>
22502
cdf2901f
UD
22503 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
22504
38ad40ce
UD
22505 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
22506 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
22507 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
22508 * sysdeps/i386/i686/fpu/e_log.S: New file.
22509 * sysdeps/i386/i686/fpu/e_logf.S: New file.
22510 * sysdeps/i386/i686/fpu/e_logl.S: New file.
22511
396a21b1
UD
22512 * ctype/ctype.h: Add support for inlined isXXX functions when
22513 compiling C++ code.
22514
6b1f68c9
AS
225152011-10-14 Andreas Schwab <schwab@redhat.com>
22516
349290c0
AS
22517 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
22518
6b1f68c9
AS
22519 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
22520
f2282d42
RM
225212011-10-13 Roland McGrath <roland@hack.frob.com>
22522
22523 [BZ #13291]
22524 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
22525
5298ffa8
AS
225262011-10-13 Andreas Schwab <schwab@redhat.com>
22527
714fad23
AS
22528 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
22529 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
22530 feraiseexcept.
22531
81dcc7fb
AS
22532 * sysdeps/x86_64/memrchr.S: Check for zero size.
22533
5298ffa8
AS
22534 * string/stratcliff.c: Add memrchr tests.
22535
951fbcec
LD
225362011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22537
22538 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
22539 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
22540 rawmemchr-sse2 rawmemchr-sse2-bsf.
22541 * sysdeps/i386/i686/multiarch/memchr.S: New file.
22542 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
22543 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
22544 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
22545 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
22546 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
22547 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
22548 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
22549 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
22550 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
22551 * string/memrchr.c (MEMRCHR): New macro.
22552
0ac5ae23
UD
225532011-10-12 Ulrich Drepper <drepper@gmail.com>
22554
22555 Add integration with gcc's -ffinite-math-only and optimize wrapper
22556 functions in libm.
22557 * Versions.def: Define GLIBC_2.15 version for libm.
22558 * math/Makefile (headers): Add bits/math-finite.h.
22559 * math/bits/math-finite.h: New file.
22560 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
22561 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
22562 * math/e_acoshl.c: Add __*_finite alias.
22563 * math/e_acosl.c: Likewise.
22564 * math/e_asinl.c: Likewise.
22565 * math/e_atan2l.c: Likewise.
22566 * math/e_atanhl.c: Likewise.
22567 * math/e_coshl.c: Likewise.
22568 * math/e_exp10.c: Likewise.
22569 * math/e_exp10f.c: Likewise.
22570 * math/e_exp10l.c: Likewise.
22571 * math/e_exp2l.c: Likewise.
22572 * math/e_fmodl.c: Likewise.
22573 * math/e_gammal_r.c: Likewise.
22574 * math/e_hypotl.c: Likewise.
22575 * math/e_j0l.c: Likewise.
22576 * math/e_j1l.c: Likewise.
22577 * math/e_jnl.c: Likewise.
22578 * math/e_lgammal_r.c: Likewise.
22579 * math/e_log10l.c: Likewise.
22580 * math/e_log2l.c: Likewise.
22581 * math/e_logl.c: Likewise.
22582 * math/e_powl.c: Likewise.
22583 * math/e_sinhl.c: Likewise.
22584 * math/e_sqrtl.c: Likewise.
22585 * math/e_scalb.c: Completely rewritten and optimized.
22586 * math/e_scalbf.c: Likewise.
22587 * math/e_scalbl.c: Likewise.
22588 * math/w_acos.c: Likewise.
22589 * math/w_acosf.c: Likewise.
22590 * math/w_acosl.c: Likewise.
22591 * math/w_acosh.c: Likewise.
22592 * math/w_acoshf.c: Likewise.
22593 * math/w_acoshl.c: Likewise.
22594 * math/w_asin.c: Likewise.
22595 * math/w_asinf.c: Likewise.
22596 * math/w_asinl.c: Likewise.
22597 * math/w_atan2.c: Likewise.
22598 * math/w_atan2f.c: Likewise.
22599 * math/w_atan2l.c: Likewise.
22600 * math/w_atanh.c: Likewise.
22601 * math/w_atanhf.c: Likewise.
22602 * math/w_atanhl.c: Likewise.
22603 * math/w_exp10.c: Likewise.
22604 * math/w_exp10f.c: Likewise.
22605 * math/w_exp10l.c: Likewise.
22606 * math/w_fmod.c: Likewise.
22607 * math/w_fmodf.c: Likewise.
22608 * math/w_fmodl.c: Likewise.
22609 * math/w_j0.c: Likewise.
22610 * math/w_j0f.c: Likewise.
22611 * math/w_j0l.c: Likewise.
22612 * math/w_j1.c: Likewise.
22613 * math/w_j1f.c: Likewise.
22614 * math/w_j1l.c: Likewise.
22615 * math/w_jn.c: Likewise.
22616 * math/w_jnf.c: Likewise.
22617 * math/w_log.c: Likewise.
22618 * math/w_logf.c: Likewise.
22619 * math/w_logl.c: Likewise.
22620 * math/w_log10.c: Likewise.
22621 * math/w_log10f.c: Likewise.
22622 * math/w_log10l.c: Likewise.
22623 * math/w_log2.c: Likewise.
22624 * math/w_log2f.c: Likewise.
22625 * math/w_log2l.c: Likewise.
22626 * math/w_pow.c: Likewise.
22627 * math/w_powf.c: Likewise.
22628 * math/w_powl.c: Likewise.
22629 * math/w_remainder.c: Likewise.
22630 * math/w_remainderf.c: Likewise.
22631 * math/w_remainderl.c: Likewise.
22632 * math/w_scalb.c: Likewise.
22633 * math/w_scalbf.c: Likewise.
22634 * math/w_scalbl.c: Likewise.
22635 * math/w_sqrt.c: Likewise.
22636 * math/w_sqrtf.c: Likewise.
22637 * math/w_sqrtl.c: Likewise.
22638 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
22639 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
22640 used.
22641 * math/math_private.h: Declare __kernel_standard_f.
22642 * math/w_cosh.c: Remove cruft and optimize a bit.
22643 * math/w_coshf.c: Likewise.
22644 * math/w_coshl.c: Likewise.
22645 * math/w_exp2.c: Likewise.
22646 * math/w_exp2f.c: Likewise.
22647 * math/w_exp2l.c: Likewise.
22648 * math/w_hypot.c: Likewise.
22649 * math/w_hypotf.c: Likewise.
22650 * math/w_hypotl.c: Likewise.
22651 * math/w_lgamma.c: Likewise.
22652 * math/w_lgamma_r.c: Likewise.
22653 * math/w_lgammaf.c: Likewise.
22654 * math/w_lgammaf_r.c: Likewise.
22655 * math/w_lgammal.c: Likewise.
22656 * math/w_lgammal_r.c: Likewise.
22657 * math/w_sinh.c: Likewise.
22658 * math/w_sinhf.c: Likewise.
22659 * math/w_sinhl.c: Likewise.
22660 * math/w_tgamma.c: Likewise.
22661 * math/w_tgammaf.c: Likewise.
22662 * math/w_tgammal.c: Likewise.
22663 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22664 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22665 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
22666 Minor optimizations. Pretty printing. Remove cruft.
22667 * sysdeps/i386/fpu/e_acosf.S: Likewise.
22668 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22669 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22670 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22671 * sysdeps/i386/fpu/e_acosl.c: Likewise.
22672 * sysdeps/i386/fpu/e_asin.S: Likewise.
22673 * sysdeps/i386/fpu/e_asinf.S: Likewise.
22674 * sysdeps/i386/fpu/e_atan2.S: Likewise.
22675 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
22676 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
22677 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22678 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22679 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22680 * sysdeps/i386/fpu/e_exp10.S: Likewise.
22681 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
22682 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
22683 * sysdeps/i386/fpu/e_exp2.S: Likewise.
22684 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
22685 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
22686 * sysdeps/i386/fpu/e_fmod.S: Likewise.
22687 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
22688 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
22689 * sysdeps/i386/fpu/e_hypot.S: Likewise.
22690 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
22691 * sysdeps/i386/fpu/e_log.S: Likewise.
22692 * sysdeps/i386/fpu/e_log10.S: Likewise.
22693 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22694 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22695 * sysdeps/i386/fpu/e_log2.S: Likewise.
22696 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22697 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22698 * sysdeps/i386/fpu/e_logf.S: Likewise.
22699 * sysdeps/i386/fpu/e_logl.S: Likewise.
22700 * sysdeps/i386/fpu/e_pow.S: Likewise.
22701 * sysdeps/i386/fpu/e_powf.S: Likewise.
22702 * sysdeps/i386/fpu/e_powl.S: Likewise.
22703 * sysdeps/i386/fpu/e_remainder.S: Likewise.
22704 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
22705 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
22706 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22707 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22708 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22709 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
22710 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
22711 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
22712 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22713 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22714 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22715 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22716 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22717 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22718 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22719 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22720 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22721 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22722 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22723 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22724 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22725 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22726 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22727 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22728 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22729 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22730 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22731 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22732 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22733 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22734 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22735 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22736 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22737 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22738 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
22739 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22740 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
22741 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22742 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22743 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22744 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22745 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22746 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22747 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22748 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22749 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22750 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22751 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22752 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22753 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22754 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22755 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22756 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22757 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22758 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22759 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22760 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22761 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
22762 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22763 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22764 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22765 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22766 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22767 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22768 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22769 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22770 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22771 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22772 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22773 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22774 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22775 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22776 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22777 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22778 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22779 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22780 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
22781 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22782 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22783 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22784 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22785 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22786 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22787 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22788 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
22789 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22790 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22791 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22792 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22793 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22794 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
22795 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22796 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22797 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22798 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22799 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22800 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22801 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22802 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22803 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22804 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22805 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
22806 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
22807 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
22808 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
22809 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
22810 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
22811 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
22812 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
22813 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
22814 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
22815 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
22816 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22817 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22818 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22819 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22820 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
22821 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22822 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
22823 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
22824 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
22825 (__isnanf): Likewise.
22826 (__isinf_ns): Likewise.
22827 (__isinf_nsf): Likewise.
22828 (__finite): Likewise.
22829 (__finitef): Likewise.
22830 (__ieee754_sqrt): Define as macro.
22831 (__ieee754_sqrtf): Define as macro.
22832 (__ieee754_sqrtl): Define as macro.
22833 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
22834 inlined copy.
22835 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
22836 __FINITE_MATH_ONLY__ consistent.
22837 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
22838
12cc2fcd
AS
228392011-10-10 Andreas Schwab <schwab@linux-m68k.org>
22840
a843a204
AS
22841 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
22842 of rawmemchr.
22843
12cc2fcd
AS
22844 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
22845
c853acd5
UD
228462011-10-09 Ulrich Drepper <drepper@gmail.com>
22847
22848 * po/ja.po: Update from translation team.
22849
c658d255
RM
228502011-10-08 Roland McGrath <roland@hack.frob.com>
22851
110946e4
RM
22852 * locale/programs/locarchive.c (prepare_address_space): New function.
22853 (create_archive, enlarge_archive, open_archive): Use it.
22854
50604220
RM
22855 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
22856 inside [SHARED], where it is used.
22857
c658d255
RM
22858 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
22859
22860 * nss/getent.c (netgroup_keys): Remove unused variable.
22861 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22862
6a621eb7
UD
228632011-10-08 Ulrich Drepper <drepper@gmail.com>
22864
7edb55ce
UD
22865 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
22866 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
22867 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
22868 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
22869 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
22870 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
22871 * math/Makefile (libm-calls): Add s_isinf_ns.
22872 * math/divtc3.c: Use __isinf_nsl instead of isinf.
22873 * math/multc3.c: Likewise.
22874 * math/s_casin.c: Likewise.
22875 * math/s_casinf.c: Likewise.
22876 * math/s_casinl.c: Likewise.
22877 * math/s_ccos.c: Likewise.
22878 * math/s_ccosf.c: Likewise.
22879 * math/s_ccosl.c: Likewise.
22880 * math/s_ctan.c: Likewise.
22881 * math/s_ctanf.c: Likewise.
22882 * math/s_ctanh.c: Likewise.
22883 * math/s_ctanhf.c: Likewise.
22884 * math/s_ctanhl.c: Likewise.
22885 * math/s_ctanl.c: Likewise.
22886 * math/w_fmod.c: Likewise.
22887 * math/w_fmodf.c: Likewise.
22888 * math/w_fmodl.c: Likewise.
22889 * math/w_remainder.c: Likewise.
22890 * math/w_remainderf.c: Likewise.
22891 * math/w_remainderl.c: Likewise.
22892 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
22893 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
22894 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
22895 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
22896 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
22897 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
22898 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
22899 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
22900
187da0ae
UD
22901 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
22902 of the number.
22903 * stdio-common/printf_fphex.c: Likewise.
22904 * stdio-common/printf_size.c: Likewise.
22905
9277c064
UD
22906 * math/e_exp10.c: Include math_private.h using <...> not "...".
22907 * math/e_exp10f.c: Likewise.
22908 * math/e_exp10l.c: Likewise.
22909 * math/e_exp2l.c: Likewise.
22910 * math/e_j0l.c: Likewise.
22911 * math/e_j1l.c: Likewise.
22912 * math/e_jnl.c: Likewise.
22913 * math/e_lgammal_r.c: Likewise.
22914 * math/e_rem_pio2l.c: Likewise.
22915 * math/e_scalb.c: Likewise.
22916 * math/e_scalbf.c: Likewise.
22917 * math/e_scalbl.c: Likewise.
22918 * math/k_cosl.c: Likewise.
22919 * math/k_sinl.c: Likewise.
22920 * math/k_tanl.c: Likewise.
22921 * math/s_cacoshf.c: Likewise.
22922 * math/s_catan.c: Likewise.
22923 * math/s_catanf.c: Likewise.
22924 * math/s_catanh.c: Likewise.
22925 * math/s_catanhf.c: Likewise.
22926 * math/s_catanhl.c: Likewise.
22927 * math/s_catanl.c: Likewise.
22928 * math/s_ccosh.c: Likewise.
22929 * math/s_ccoshf.c: Likewise.
22930 * math/s_ccoshl.c: Likewise.
22931 * math/s_cexp.c: Likewise.
22932 * math/s_cexpf.c: Likewise.
22933 * math/s_cexpl.c: Likewise.
22934 * math/s_clog.c: Likewise.
22935 * math/s_clog10.c: Likewise.
22936 * math/s_clog10f.c: Likewise.
22937 * math/s_clog10l.c: Likewise.
22938 * math/s_clogf.c: Likewise.
22939 * math/s_clogl.c: Likewise.
22940 * math/s_csin.c: Likewise.
22941 * math/s_csinf.c: Likewise.
22942 * math/s_csinh.c: Likewise.
22943 * math/s_csinhf.c: Likewise.
22944 * math/s_csinhl.c: Likewise.
22945 * math/s_csinl.c: Likewise.
22946 * math/s_csqrt.c: Likewise.
22947 * math/s_csqrtf.c: Likewise.
22948 * math/s_csqrtl.c: Likewise.
22949 * math/s_ctan.c: Likewise.
22950 * math/s_ctanf.c: Likewise.
22951 * math/s_ctanh.c: Likewise.
22952 * math/s_ctanhf.c: Likewise.
22953 * math/s_ctanhl.c: Likewise.
22954 * math/s_ctanl.c: Likewise.
22955 * math/s_ldexp.c: Likewise.
22956 * math/s_ldexpf.c: Likewise.
22957 * math/s_ldexpl.c: Likewise.
22958 * math/s_significand.c: Likewise.
22959 * math/s_significandf.c: Likewise.
22960 * math/s_significandl.c: Likewise.
22961 * math/w_acos.c: Likewise.
22962 * math/w_acosf.c: Likewise.
22963 * math/w_acosh.c: Likewise.
22964 * math/w_acoshf.c: Likewise.
22965 * math/w_acoshl.c: Likewise.
22966 * math/w_acosl.c: Likewise.
22967 * math/w_asin.c: Likewise.
22968 * math/w_asinf.c: Likewise.
22969 * math/w_asinl.c: Likewise.
22970 * math/w_atan2.c: Likewise.
22971 * math/w_atan2f.c: Likewise.
22972 * math/w_atan2l.c: Likewise.
22973 * math/w_atanh.c: Likewise.
22974 * math/w_atanhf.c: Likewise.
22975 * math/w_atanhl.c: Likewise.
22976 * math/w_cosh.c: Likewise.
22977 * math/w_coshf.c: Likewise.
22978 * math/w_coshl.c: Likewise.
22979 * math/w_dremf.c: Likewise.
22980 * math/w_exp10.c: Likewise.
22981 * math/w_exp10f.c: Likewise.
22982 * math/w_exp10l.c: Likewise.
22983 * math/w_exp2.c: Likewise.
22984 * math/w_exp2f.c: Likewise.
22985 * math/w_fmod.c: Likewise.
22986 * math/w_fmodf.c: Likewise.
22987 * math/w_fmodl.c: Likewise.
22988 * math/w_hypot.c: Likewise.
22989 * math/w_hypotf.c: Likewise.
22990 * math/w_hypotl.c: Likewise.
22991 * math/w_j0.c: Likewise.
22992 * math/w_j0f.c: Likewise.
22993 * math/w_j0l.c: Likewise.
22994 * math/w_j1.c: Likewise.
22995 * math/w_j1f.c: Likewise.
22996 * math/w_j1l.c: Likewise.
22997 * math/w_jn.c: Likewise.
22998 * math/w_jnf.c: Likewise.
22999 * math/w_jnl.c: Likewise.
23000 * math/w_lgamma.c: Likewise.
23001 * math/w_lgamma_r.c: Likewise.
23002 * math/w_lgammaf.c: Likewise.
23003 * math/w_lgammaf_r.c: Likewise.
23004 * math/w_lgammal.c: Likewise.
23005 * math/w_lgammal_r.c: Likewise.
23006 * math/w_log.c: Likewise.
23007 * math/w_log10.c: Likewise.
23008 * math/w_log10f.c: Likewise.
23009 * math/w_log10l.c: Likewise.
23010 * math/w_log2.c: Likewise.
23011 * math/w_log2f.c: Likewise.
23012 * math/w_log2l.c: Likewise.
23013 * math/w_logf.c: Likewise.
23014 * math/w_logl.c: Likewise.
23015 * math/w_pow.c: Likewise.
23016 * math/w_powf.c: Likewise.
23017 * math/w_powl.c: Likewise.
23018 * math/w_remainder.c: Likewise.
23019 * math/w_remainderf.c: Likewise.
23020 * math/w_remainderl.c: Likewise.
23021 * math/w_scalb.c: Likewise.
23022 * math/w_scalbf.c: Likewise.
23023 * math/w_scalbl.c: Likewise.
23024 * math/w_sinh.c: Likewise.
23025 * math/w_sinhf.c: Likewise.
23026 * math/w_sinhl.c: Likewise.
23027 * math/w_sqrt.c: Likewise.
23028 * math/w_sqrtf.c: Likewise.
23029 * math/w_sqrtl.c: Likewise.
23030 * math/w_tgamma.c: Likewise.
23031 * math/w_tgammaf.c: Likewise.
23032 * math/w_tgammal.c: Likewise.
23033
6a621eb7
UD
23034 * po/ja.po: Update from translation team.
23035
bf582445
AJ
230362011-09-29 Andreas Jaeger <aj@suse.de>
23037
f9efbf3a
AJ
23038 [BZ #13179]
23039 * sunrpc/netname.c (netname2host): Fix logic.
23040
bf582445
AJ
23041 [BZ #6779]
23042 [BZ #6783]
23043 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
23044 correctly.
23045 * math/w_remainder.c (__remainder): Likewise.
23046 * math/w_remainderf.c (__remainderf): Likewise.
23047 * math/libm-test.inc (remainder_test): Add test cases.
23048
48693bea
AK
230492011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23050
23051 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
23052 sdiv_qrnnd.
23053
42622229
LD
230542011-10-07 Ulrich Drepper <drepper@gmail.com>
23055
23056 * string/test-memcmp.c: Avoid unncessary #defines.
23057 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
23058
093ecf92
LD
230592011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23060
23061 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
23062 Use new sse2 version for core i3 - i7 as it's faster
23063 than sse42 version.
23064 (bit_Prefer_PMINUB_for_stringop): New.
23065 * sysdeps/x86_64/rawmemchr.S: Update.
23066 Replace with faster SSE2 version.
23067 * sysdeps/x86_64/memrchr.S: New file.
23068 * sysdeps/x86_64/memchr.S: Update.
23069 Replace with faster SSE2 version.
23070
fde56e5c
MP
230712011-09-12 Marek Polacek <mpolacek@redhat.com>
23072
23073 * elf/dl-load.c (lose): Add cast to avoid warning.
23074
21fd49a9
UD
230752011-10-07 Ulrich Drepper <drepper@gmail.com>
23076
5a06e643
UD
23077 * po/ca.po: Update from translation team.
23078
684ae515
UD
23079 * inet/getnetgrent_r.c: Hook up nscd.
23080 * nscd/Makefile (routines): Add nscd_netgroup.
23081 (nscd-modules): Add netgroupcache.
23082 (CFLAGS-netgroupcache.c): Define.
23083 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
23084 (cache_search): Add const to second parameter.
23085 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
23086 INNETGR.
23087 (dbs): Add netgrdb entry.
23088 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
23089 (verify_persistent_db): Handle netgrdb.
23090 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
23091 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
23092 GETFDNETGR.
23093 (netgroup_response_header): Define.
23094 (innetgroup_response_header): Define.
23095 (datahead): Add netgroup_response_header and innetgroup_response_header
23096 elements.
23097 * nscd/nscd.conf: Add entries for netgroup cache.
23098 * nscd/nscd.h (dbtype): Add netgrdb.
23099 (_PATH_NSCD_NETGROUP_DB): Define.
23100 (netgroup_iov_disabled): Declare.
23101 (xmalloc, xcalloc, xrealloc): Move declarations here.
23102 (cache_search): Adjust prototype.
23103 Add netgroup-related prototypes.
23104 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
23105 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
23106 (__nscd_innetgr): Declare.
23107 * nscd/selinux.c (perms): Use access_vector_t as element type and
23108 add netgroup-related initializers.
23109 * nscd/netgroupcache.c: New file.
23110 * nscd/nscd_netgroup.c: New file.
23111 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
23112 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
23113 For four parameters use innetgr.
23114 * nss/nss_files/files-init.c: Add definition and callback for netgr.
23115 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
23116 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
23117 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
23118
21fd49a9
UD
23119 * nscd/connections.c (register_traced_file): Don't register file
23120 for disabled databases.
23121
054c0457
UD
231222011-10-06 Ulrich Drepper <drepper@gmail.com>
23123
32b63198
UD
23124 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
23125
054c0457
UD
23126 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
23127 from tree and freeing node.
23128
64031225
JO
231292011-09-25 Jiri Olsa <jolsa@redhat.com>
23130
23131 * nss/nsswitch.c (__nss_database_lookup): Handle
23132 nss_parse_service_list out of memory case.
23133
0490345c
JO
231342011-09-15 Jiri Olsa <jolsa@redhat.com>
23135
23136 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
23137 out of memory case.
23138
3a62d00d
AS
231392011-10-04 Andreas Schwab <schwab@redhat.com>
23140
23141 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
23142 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
23143 pass it down.
23144 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
23145 elf_machine_rela, elf_machine_lazy_rel.
23146 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
23147 (ELF_DYNAMIC_DO_REL): Likewise.
23148 (ELF_DYNAMIC_DO_RELA): Likewise.
23149 (ELF_DYNAMIC_RELOCATE): Likewise.
23150 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
23151 to ELF_DYNAMIC_DO_REL.
23152 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
23153 (dl_main): In trace mode always set __RTLD_NOIFUNC.
23154 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
23155 elf_machine_rela.
23156 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
23157 skip_ifunc, don't call ifunc function if non-zero.
23158 (elf_machine_rela): Likewise.
23159 (elf_machine_lazy_rel): Likewise.
23160 (elf_machine_lazy_rela): Likewise.
23161 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
23162 (elf_machine_lazy_rel): Likewise.
23163 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
23164 Likewise.
23165 (elf_machine_lazy_rel): Likewise.
23166 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23167 Likewise.
23168 (elf_machine_lazy_rel): Likewise.
23169 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
23170 (elf_machine_lazy_rel): Likewise.
23171 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
23172 (elf_machine_lazy_rel): Likewise.
23173 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
23174 (elf_machine_lazy_rel): Likewise.
23175 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
23176 (elf_machine_lazy_rel): Likewise.
23177 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
23178 (elf_machine_lazy_rel): Likewise.
23179 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
23180 (elf_machine_lazy_rel): Likewise.
23181
68577918
UD
231822011-09-28 Ulrich Drepper <drepper@gmail.com>
23183
23184 * nss/nss_files/files-init.c (_nss_files_init): Use static
23185 initialization for all the *_traced_file variables.
23186
68822d74
AS
231872011-09-28 Andreas Schwab <schwab@redhat.com>
23188
23189 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23190
2056100b
RM
231912011-09-27 Roland McGrath <roland@hack.frob.com>
23192
23193 [BZ #13226]
23194 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
23195
32c76b63
AS
231962011-09-27 Andreas Schwab <schwab@redhat.com>
23197
23198 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
23199 Reread the line before reparsing it.
23200
bf972c9d
AS
232012011-09-26 Andreas Schwab <schwab@redhat.com>
23202
23203 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
23204
e057a1b5
JM
232052011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
23206 Maxim Kuvyrkov <maxim@codesourcery.com>
23207 Joseph Myers <joseph@codesourcery.com>
23208
23209 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
23210 if needed for __stack_chk_guard.
23211
bc7e1c36
RM
232122011-09-19 Roland McGrath <roland@hack.frob.com>
23213
ecb1482f
RM
23214 * sysdeps/posix/spawni.c (script_execute): Always define it.
23215 It will be optimized away if unused.
23216 (maybe_script_execute): New function.
23217 (__spawni): Call it.
23218
bc7e1c36
RM
23219 * Makerules: Don't include tls.make.
23220 (config-tls): Always set to thread.
23221 * tls.make.c: File removed.
23222
1c3b002b
MF
232232011-09-19 Mike Frysinger <vapier@gentoo.org>
23224
23225 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
23226 * config.make.in (CPPFLAGS-config): New substituted variable.
23227
2840865d
UD
232282011-09-15 Ulrich Drepper <drepper@gmail.com>
23229
88738eb6
UD
23230 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
23231
cbf645a6 23232 [BZ #13192]
2840865d
UD
23233 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
23234 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
23235
b402e91a
RM
232362011-09-15 Roland McGrath <roland@hack.frob.com>
23237
23238 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
23239 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
23240 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
23241 (CALL_FAIL): Likewise.
23242 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
23243 (CALL_FAIL): Macro removed.
23244 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
23245
4c1a1f71
UD
232462011-09-15 Ulrich Drepper <drepper@gmail.com>
23247
23248 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
23249 for __FINITE_MATH_ONLY__ == 1.
23250
edc121be
AS
232512011-09-15 Andreas Schwab <schwab@redhat.com>
23252
23253 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
23254 __ieee754_sqrt instead of sqrt.
23255 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
23256 __ieee754_sqrtf instead of sqrtf.
23257 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
23258 __floorf instead of floorf.
23259 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
23260 __floorf, __truncf instead of floorf, truncf.
23261
cd205654
UD
232622011-09-14 Ulrich Drepper <drepper@gmail.com>
23263
ee4d0315
UD
23264 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
23265
cd205654
UD
23266 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
23267 __extern_always_inline.
23268 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
23269 32-bit.
23270
48b67d71
AS
232712011-09-14 Andreas Schwab <schwab@redhat.com>
23272
23273 * elf/rtld.c (dl_main): Also relocate in dependency order when
23274 doing symbol dependency testing.
23275
1ae12c75
AS
232762011-09-13 Andreas Schwab <schwab@linux-m68k.org>
23277
23278 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
23279 Always define `refsym'.
23280
995a80df
AS
232812011-09-13 Andreas Schwab <schwab@redhat.com>
23282
e529793b
AS
23283 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
23284 (__FD_ELT): Renamed from __FDELT.
23285 * misc/bits/select2.h (__FD_ELT): Likewise.
23286 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
23287 __FD_MASK instead of __FDELT, __FDMASK.
23288 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23289 Likewise.
23290 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
23291 Likewise.
23292
52d4fef8
AS
23293 * elf/Makefile (gen-ldd): Fix pattern.
23294
995a80df
AS
23295 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
23296 (init_tls): Likewise.
23297
8682f8b0
UD
232982011-09-12 Ulrich Drepper <drepper@gmail.com>
23299
23300 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
23301
de82006d
AS
233022011-09-12 Andreas Schwab <schwab@redhat.com>
23303
a7c8e6a1
AS
23304 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
23305 `struct cmsghdr *' instead of `void *'.
23306 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
23307 Likewise.
23308
0f31fe77
AS
233092011-09-11 Andreas Schwab <schwab@linux-m68k.org>
23310
23311 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
23312 if non-absolute.
23313 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
23314 ldd_rewrite_script.
0f31fe77 23315
32b4c839
UD
233162011-09-11 Ulrich Drepper <drepper@gmail.com>
23317
83cd1420
UD
23318 * configure.in: Remove --with-tls option.
23319 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
23320 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
23321 out in case it is missing.
23322 * sysdeps/ia64/elf/configure.in: Likewise.
23323 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
23324 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
23325 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
23326 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
23327 * sysdeps/sh/elf/configure.in: Likewise.
23328 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
23329 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23330 * sysdeps/x86_64/elf/configure.in: Likewise.
23331 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
23332 * sysdeps/mach/hurd/tls.h: Likewise.
23333
633f745d
UD
23334 [BZ #13067]
23335 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
23336
f318beb8
UD
23337 [BZ #13090]
23338 * configure.in: Fix use of AC_INIT.
23339
32b4c839
UD
23340 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
23341
3ce1f295
UD
233422011-09-10 Ulrich Drepper <drepper@gmail.com>
23343
bb016596
UD
23344 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
23345 __set_errno.
8e58439c
UD
23346 * malloc/hooks.c: Likewise.
23347
aebae053 23348 [BZ #11929]
02d46fc4
UD
23349 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
23350 variables statically.
23351 (narenas): Initialize.
23352 (list_lock): Initialize.
bb016596
UD
23353 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
23354 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
23355 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
23356 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
23357 Add initializers to main_arena and mp_.
23358 (malloc_state): Remove pagesize member. Change all users to use
23359 GLRO(dl_pagesize).
23360
23361 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
23362 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
23363 is always initialized.
23364
22a89187
UD
23365 * malloc/malloc.c: Removed unused configurations and dead code.
23366 * malloc/arena.c: Likewise.
23367 * malloc/hooks.c: Likewise.
02d46fc4 23368 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 23369
d063d164
UD
23370 * include/tls.h: Removed. USE___THREAD must always be defined.
23371 * bits/libc-tsd.h: Don't handle !USE___THREAD.
23372 * elf/dl-libc.c: Likewise.
23373 * elf/dl-tsd.c: Likewise.
23374 * include/errno.h: Likewise.
23375 * include/netdb.h: Likewise.
23376 * include/resolv.h: Likewise.
23377 * inet/herrno-loc.c: Likewise.
23378 * inet/herrno.c: Likewise.
23379 * malloc/arena.c: Likewise.
23380 * malloc/hooks.c: Likewise.
23381 * malloc/malloc.c: Likewise.
23382 * resolv/res-state.c: Likewise.
23383 * resolv/res_libc.c: Likewise.
23384 * sysdeps/i386/dl-machine.h: Likewise.
23385 * sysdeps/ia64/dl-machine.h: Likewise.
23386 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
23387 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23388 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23389 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23390 * sysdeps/sh/dl-machine.h: Likewise.
23391 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23392 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23393 * sysdeps/unix/i386/sysdep.S: Likewise.
23394 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
23395 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
23396 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
23397 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23398 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
23399 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23400 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
23401 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23402 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23403 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
23404 * sysdeps/unix/x86_64/sysdep.S: Likewise.
23405 * sysdeps/x86_64/dl-machine.h: Likewise.
23406 * tls.make.c: Likewise.
23407
3ce1f295
UD
23408 * configure.in: Remove --with-__thread option. Make tests for
23409 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
23410 tls_model attribute fail if no support is available. Remove
23411 USE_IN_LIBIO.
23412 * Makeconfig: Adjust for dropped configure option. All features are
23413 now mandatory.
23414 * Makerules: Likewise.
23415 * Versions.def: Likewise.
23416 * argp/argp-fmtstream.c: Likewise.
23417 * argp/argp-fmtstream.h: Likewise.
23418 * argp/argp-help.c: Likewise.
23419 * assert/assert.c: Likewise.
23420 * config.h.in: Likewise.
23421 * config.make.in: Likewise.
23422 * configure: Likewise.
23423 * configure.in: Likewise.
23424 * csu/Versions: Likewise.
23425 * csu/init.c: Likewise.
23426 * elf/tst-audit2.c: Likewise.
23427 * elf/tst-tls10.c: Likewise.
23428 * elf/tst-tls10.h: Likewise.
23429 * elf/tst-tls11.c: Likewise.
23430 * elf/tst-tls12.c: Likewise.
23431 * elf/tst-tls14.c: Likewise.
23432 * elf/tst-tlsmod11.c: Likewise.
23433 * elf/tst-tlsmod12.c: Likewise.
23434 * elf/tst-tlsmod13.c: Likewise.
23435 * elf/tst-tlsmod13a.c: Likewise.
23436 * elf/tst-tlsmod14a.c: Likewise.
23437 * elf/tst-tlsmod15b.c: Likewise.
23438 * elf/tst-tlsmod16a.c: Likewise.
23439 * elf/tst-tlsmod16b.c: Likewise.
23440 * elf/tst-tlsmod7.c: Likewise.
23441 * elf/tst-tlsmod8.c: Likewise.
23442 * elf/tst-tlsmod9.c: Likewise.
23443 * gmon/gmon.c: Likewise.
23444 * grp/fgetgrent_r.c: Likewise.
23445 * grp/putgrent.c: Likewise.
23446 * hurd/fopenport.c: Likewise.
23447 * include/libc-symbols.h: Likewise.
23448 * include/tls.h: Likewise.
23449 * intl/gettextP.h: Likewise.
23450 * intl/loadinfo.h: Likewise.
23451 * locale/global-locale.c: Likewise.
23452 * locale/localeinfo.h: Likewise.
23453 * mach/devstream.c: Likewise.
23454 * malloc/arena.c: Likewise.
23455 * malloc/set-freeres.c: Likewise.
23456 * misc/err.c: Likewise.
23457 * misc/getttyent.c: Likewise.
23458 * misc/mntent_r.c: Likewise.
23459 * posix/getopt.c: Likewise.
23460 * posix/wordexp.c: Likewise.
23461 * pwd/fgetpwent_r.c: Likewise.
23462 * resolv/Versions: Likewise.
23463 * resolv/res_hconf.c: Likewise.
23464 * shadow/fgetspent_r.c: Likewise.
23465 * shadow/putspent.c: Likewise.
23466 * stdio-common/printf_fphex.c: Likewise.
23467 * stdio-common/tmpfile.c: Likewise.
23468 * stdlib/abort.c: Likewise.
23469 * stdlib/fmtmsg.c: Likewise.
23470 * sunrpc/auth_unix.c: Likewise.
23471 * sunrpc/clnt_perr.c: Likewise.
23472 * sunrpc/clnt_tcp.c: Likewise.
23473 * sunrpc/clnt_udp.c: Likewise.
23474 * sunrpc/clnt_unix.c: Likewise.
23475 * sunrpc/openchild.c: Likewise.
23476 * sunrpc/svc_simple.c: Likewise.
23477 * sunrpc/svc_tcp.c: Likewise.
23478 * sunrpc/svc_udp.c: Likewise.
23479 * sunrpc/svc_unix.c: Likewise.
23480 * sunrpc/xdr.c: Likewise.
23481 * sunrpc/xdr_array.c: Likewise.
23482 * sunrpc/xdr_rec.c: Likewise.
23483 * sunrpc/xdr_ref.c: Likewise.
23484 * sunrpc/xdr_stdio.c: Likewise.
23485
1248c1c4
PB
234862011-09-09 Ulrich Drepper <drepper@gmail.com>
23487
23488 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23489
234902011-07-03 Andreas Jaeger <aj@suse.de>
23491
23492 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
23493 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
23494 regenerate with gen-libm-tests.pl.
23495
234962010-05-12 Petr Baudis <pasky@suse.cz>
23497
23498 [BZ #11589]
23499 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
23500 around j0() zero points by switching to j1().
23501 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23502 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23503 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23504 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23505
f22e1074
UD
235062011-09-09 Ulrich Drepper <drepper@gmail.com>
23507
f19009c1
UD
23508 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
23509 instead of 0.
23510 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 23511 instead of 0.
f19009c1
UD
23512 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23513 Patch in part by Pavel Roskin <proski@gnu.org>.
23514
3f8cc204
UD
23515 [BZ #13138]
23516 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
23517 realloc.
23518 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
23519 Free memory block if necessary.
23520
f22e1074
UD
23521 [BZ #12847]
23522 * libio/genops.c (INTDEF): For string streams the _lock pointer can
23523 be NULL. Don't lock in this case.
23524
0a2349f9
RM
235252011-09-09 Roland McGrath <roland@hack.frob.com>
23526
23527 * elf/elf.h (ELFOSABI_GNU): New macro.
23528 (ELFOSABI_LINUX): Define to that.
23529
f3cdd467
DZ
235302011-07-29 Denis Zaitceff <zaitceff@gmail.com>
23531
23532 * string/strncat.c (strncat): Undef the symbol in case it has been
23533 defined in bits/string.h.
23534
74718d13
UD
235352011-09-09 Ulrich Drepper <drepper@gmail.com>
23536
633e9e0f
UD
23537 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
23538
0a2349f9 23539 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
23540 link map.
23541
f9924780
AJ
235422011-08-17 Andreas Jaeger <aj@suse.de>
23543
23544 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
23545
7f5517aa
PP
235462011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23547 Ian Lance Taylor <iant@google.com>
23548
23549 * math/libm-test.inc (lround_test): New testcase.
23550 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
23551
762011fe
UD
235522011-09-08 Ulrich Drepper <drepper@gmail.com>
23553
92963737
UD
23554 * Makefile: Remove support for automatic cvs check-ins.
23555 * Makerules: Likewise.
23556 * config.make.in: Likewise.
23557 * configure.in: Likewise.
23558 * intl/Makefile: Likewise.
23559 * locale/Makefile: Likewise.
23560 * po/Makefile: Likewise.
23561 * posix/Makefile: Likewise.
23562 * sysdeps/gnu/Makefile: Likewise.
23563 * sysdeps/mach/hurd/Makefile: Likewise.
23564 * sysdeps/sparc/sparc32/Makefile: Likewise.
23565
b0727fd8
JS
23566 [BZ #13118]
23567 * posix/Makefile (bug-regex32-ENV): Define.
23568 Patch by John Stanley <jpsinthemix@verizon.net>.
23569
a0f33f99
UD
23570 * misc/Makefile (headers): Add bits/select2.h.
23571 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
23572 * misc/bits/select2.h: New file.
23573 * include/bits/select2.h: New file.
23574 * debug/Makefile (routines): Add fdelt_chk.
23575 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
23576 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
23577 FD_ISSET.
23578 * debug/fdelt_chk.c: New file.
23579
762011fe
UD
23580 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
23581 * wcsmbs/test-wmemcmp.c: Likewise.
23582 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 23583 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
23584
235852011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23586
23587 * string/Makefile (strop-tests): Add memcmp.
23588 * string/test-wmemcmp.c: New file.
23589 * string/test-memcmp.c: Add wmemcmp support.
23590
7f513ec8
RM
235912011-09-08 Roland McGrath <roland@hack.frob.com>
23592
0442afb4
RM
23593 [BZ #13153]
23594 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
23595 2011-07-19 change.
23596
7f513ec8
RM
23597 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
23598 garbage value in a __mach_port_mod_refs call in the cases of the
23599 task-self and thread-self ports.
23600
a12b2239
ST
236012011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
23602
23603 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
23604
610f9ab4
AS
236052011-09-08 Andreas Schwab <schwab@redhat.com>
23606
7f513ec8 23607 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 23608
48882a1a
LD
236092011-09-07 Ulrich Drepper <drepper@gmail.com>
23610
b49865be
UD
23611 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
23612
fdc86bc9
UD
23613 * elf/dl-libc.c (dlerror_run): Pass back error code from
23614 dl_catch_error.
23615
c966526a
UD
23616 [BZ #13123]
23617 * elf/dl-load.c (lose): Free l_origin if it is valid.
23618
48882a1a
LD
23619 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
23620 names.
23621 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
23622 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23623 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
23624 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23625 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
23626 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
23627
77a2a8b4
AZ
236282011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23629
23630 * sysdeps/powerpc/fpu/e_hypot.c: New file.
23631 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
23632 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
23633 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
23634 * sysdeps/powerpc/fpu/k_cosf.c: New file.
23635 * sysdeps/powerpc/fpu/k_sinf.c: New file.
23636 * sysdeps/powerpc/fpu/s_cosf.c: New file.
23637 * sysdeps/powerpc/fpu/s_sinf.c: New file.
23638 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
23639 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
23640
24f579d8
AM
236412011-08-15 Alan Modra <amodra@gmail.com>
23642
23643 [BZ #13092]
23644 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
23645 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
23646 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
23647 ppc_mcount to static-only-routines.
23648 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
23649 __mcount_internal.
23650 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
23651 __mcount_internal with usual JUMPTARGET. Remove useless nop.
23652
3d4837df
UD
236532011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
23654
23655 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
23656 for finite and infinity parameters.
23657
22700377
WS
236582011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
23659
23660 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
23661 and add nop instructions for throughput optimization.
23662 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23663
5025581e
WS
236642011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
23665
23666 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
23667 aligned copy for power7 with vector-scalar instructions.
23668 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23669
08a300c9
L
236702011-07-24 H.J. Lu <hongjiu.lu@intel.com>
23671
23672 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
23673 AVX check.
23674
59178ef9
AS
236752011-09-07 Andreas Schwab <schwab@redhat.com>
23676
23677 [BZ #13144]
23678 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
23679 last change.
23680
e38ba7ab
UD
236812011-09-07 Ulrich Drepper <drepper@gmail.com>
23682
23683 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23684 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
23685 syscall wrapper around clock_gettime in __vdso_clock_gettime.
23686 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
23687 clock_gettime.
23688
d53a73ac
UD
236892011-09-06 Ulrich Drepper <drepper@gmail.com>
23690
fc8bffcc
UD
23691 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
23692 Forgot to demangle the pointer.
23693
ceaa0c5d
UD
23694 * sysdeps/i386/sysdep.h: Define atom_text_section.
23695 * sysdeps/x86_64/sysdep.h: Likewise.
23696 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
23697 section with atom_text_section.
23698 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
23699 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
23700 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
23701 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
23702 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
23703
a77d3c17
UD
23704 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
23705 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
23706 already be defined. Change to take two parameters and don't assign
23707 result to variable. Adjust all users.
23708 Define INTERNAL_GETTIME if not already defined.
23709 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
23710 call.
23711 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
23712 HAVE_CLOCK_GETTIME_VSYSCALL.
23713 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
23714
d53a73ac
UD
23715 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
23716 gettimeofday vsyscall, just use time.
23717
a8f84144
AS
237182011-09-06 Andreas Schwab <schwab@redhat.com>
23719
23720 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
23721 <errno.h>.
23722
ef606249
UD
237232011-09-06 Ulrich Drepper <drepper@gmail.com>
23724
23725 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
23726 syscall on x86-64.
23727 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
23728 syscall.
23729 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
23730 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
23731 syscall if possible.
23732
6585cb60
UD
237332011-09-05 Ulrich Drepper <drepper@gmail.com>
23734
23735 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
23736 e_ident. Don't pass to find_mapsXX.
23737 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
23738
a5f524e4
LD
237392011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23740
23741 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23742 strchr-sse2-no-bsf strrchr-sse2-no-bsf
23743 * sysdeps/x86_64/multiarch/strchr.S: Update.
23744 Check bit_slow_BSF bit.
23745 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23746 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
23747 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
23748
554881ef
UD
237492011-09-05 Ulrich Drepper <drepper@gmail.com>
23750
d96de963
UD
23751 [BZ #13134]
23752 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
23753 before glibc 2.15.
23754 (tryshell): Define.
23755 (__spawni): Change last parameter to be flag. Test
23756 SPAWN_XFLAGS_USE_PATH flag to use path or not.
23757 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
23758 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
23759 * posix/spawni.c: Likewise.
23760 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
23761 * posix/spawnp.c: Likewise. Change normal version to use
23762 SPAWN_XFLAGS_USE_PATH.
23763 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
23764 SPAWN_XFLAGS_TRY_SHELL.
23765
d48e5868
UD
23766 [BZ #13150]
23767 * posix/glob.h: Remove gcc 1.x support.
23768
554881ef
UD
23769 [BZ #13068]
23770 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
23771
693fb948
LD
237722011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23773
23774 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
23775 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
23776 strrchr-sse2-bsf
23777 * sysdeps/i386/i686/multiarch/strchr.S: New file.
23778 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
23779 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
23780 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
23781 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
23782 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
23783
1b48c537
UD
237842011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23785
49d42c37
UD
23786 * sysdeps/x86_64/wcscmp.S: New file.
23787
1b48c537
UD
23788 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
23789 wcscmp-c wcscmp-sse2
23790 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
23791 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
23792 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
23793 * wcsmbs/wcscmp.c: Allow renaming.
23794
15c95c5d
DM
237952011-09-05 David S. Miller <davem@davemloft.net>
23796
23797 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
23798 stack slot, rather than the struct return pointer slot.
23799 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
23800 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
23801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
23802 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
23803
2f0ad8f3
UD
238042011-09-05 Ulrich Drepper <drepper@gmail.com>
23805
d88ae418
UD
23806 * po/ja.po: Update from translation team.
23807
2f0ad8f3
UD
23808 [BZ #13144]
23809 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
23810 kernel in 64-bit binaries.
23811
5f4318d1
DM
238122011-09-01 David S. Miller <davem@davemloft.net>
23813
23814 * elf/elf.h (HWCAP_SPARC_*): Move to..
23815 * sysdeps/sparc/sysdep.h: this new file and add new values.
23816 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
23817 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
23818 _DL_HWCAP_COUNT to 24.
23819 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
23820 entries.
23821 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
23822 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
23823 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
23824 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
23825 instead of magic constants.
23826 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23827
3ba57516
DM
238282011-08-31 David S. Miller <davem@davemloft.net>
23829
23830 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
23831 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
23832 Reimplement to do errno handling inline.
23833 (SYSCALL_ERROR_HANDLER): New macro.
23834 (__SYSCALL_STRING): Do not do errno handling in asm.
23835 (__CLONE_SYSCALL_STRING): Delete.
23836 (__INTERNAL_SYSCALL_STRING): Delete.
23837 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
23838 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
23839 (PSEUDO): Reimplement to do errno handling inline.
23840 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
23841 (SYSCALL_ERROR_HANDLER): New macro.
23842 (__SYSCALL_STRING): Do not do errno handling in asm.
23843 (__CLONE_SYSCALL_STRING): Delete.
23844 (__INTERNAL_SYSCALL_STRING): Delete.
23845 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
23846 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
23847 i386.
23848 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
23849 (inline_syscall*): Add 'err' argument.
23850 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
23851 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
23852 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
23853 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
23854
23855 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
23856 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23857
2bc17433
AS
238582011-08-30 Andreas Schwab <schwab@redhat.com>
23859
23860 * elf/rtld.c (dl_main): Relocate objects in dependency order.
23861
fbeb5f4d
JO
238622011-08-29 Jiri Olsa <jolsa@redhat.com>
23863
23864 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
23865 directive.
23866
ad69cc26
DM
238672011-08-24 David S. Miller <davem@davemloft.net>
23868
23869 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
23870
39dd69df
AS
238712011-08-24 Andreas Schwab <schwab@redhat.com>
23872
23873 * elf/Makefile: Add rules to build and run unload8 test.
23874 * elf/unload8.c: New file.
23875 * elf/unload8mod1.c: New file.
23876 * elf/unload8mod1x.c: New file.
23877 * elf/unload8mod2.c: New file.
23878 * elf/unload8mod3.c: New file.
23879
23880 * elf/dl-close.c (_dl_close_worker): Reset private search list if
23881 it wasn't used.
23882
2c0b250a
DM
238832011-08-23 David S. Miller <davem@davemloft.net>
23884
23885 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
23886 subtract stack bias.
23887 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
23888 %sp not %fp in calculations.
23889 (_JMPBUF_UNWINDS_ADJ): Likewise.
23890
22044b48
DM
23891 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
23892 (aio_suspend): Call it to force an exception region around the
23893 AIO_MISC_WAIT() invocation.
23894
2cae4995
AS
238952011-08-23 Andreas Schwab <schwab@redhat.com>
23896
23897 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
23898 backslash.
23899
873a772e
AJ
239002011-07-04 Aurelien Jarno <aurelien@aurel32.net>
23901
23902 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
23903 protection macro.
23904 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
23905 and <dl-machine.h>.
23906 (Elf64_FuncDesc): Remove.
23907
25ad0df1
DM
239082011-08-22 David S. Miller <davem@davemloft.net>
23909
23910 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
23911 sigaltstack check, add missing cfi directives.
23912 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
23913 missing cfi directives, and sigaltstack handling.
23914
e888bcbe
AS
239152011-08-16 Andreas Schwab <schwab@redhat.com>
23916
23917 [BZ #11724]
23918 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
23919 object is seen twice.
23920 * elf/dl-fini.c (_dl_sort_fini): Likewise.
23921
23922 * elf/Makefile (distribute): Add tst-initorder2.c.
23923 (tests): Add tst-initorder2.
23924 (modules-names): Add tst-initorder2a tst-initorder2b
23925 tst-initorder2c tst-initorder2d. Add rules to build them.
23926 ($(objpfx)tst-initorder2.out): New rule.
23927 * elf/tst-initorder2.c: New file.
23928 * elf/tst-initorder2.exp: New file.
23929
87162f46
AS
239302011-08-22 Andreas Schwab <schwab@redhat.com>
23931
70538b7f
AS
23932 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
23933
f55ffe58
AS
23934 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
23935 dependencies back to end of function.
23936
87162f46
AS
23937 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
23938 $(elfobjdir)/ld.so.
23939
91b392a4
UD
239402011-08-21 Ulrich Drepper <drepper@gmail.com>
23941
23942 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
23943 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
23944 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
23945 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
23946 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
23947 of __vdso_gettimeofday.
23948 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
23949 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
23950 attribute_hidden.
23951 (_libc_vdso_platform_setup): Remove initialization of
23952 __vdso_gettimeofday and __vdso_time.
23953
5c43483f
UD
239542011-08-20 Ulrich Drepper <drepper@gmail.com>
23955
775a77e7
UD
23956 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
23957 and fgetc_unlocked.
23958 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
23959 getc_unlocked.
89f447ed 23960
49c74ba9
UD
23961 * elf/dl-open.c (add_to_global): Report additions to the global scope
23962 for LD_DEBUG=scopes.
23963 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 23964 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 23965
5c43483f
UD
23966 [BZ #13114]
23967 * stdio-common/Makefile (tests): Add bug24.
23968 * stdio-common/bug24.c: New file.
23969
a101b025
AJ
239702011-08-19 Andreas Jaeger <aj@suse.de>
23971
23972 [BZ #13114]
23973 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
23974 non-existant file when using close-on-exec mode.
23975
c88f1766
UD
239762011-08-20 Ulrich Drepper <drepper@gmail.com>
23977
0276a718
UD
23978 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
23979 the very first instruction.
23980
c88f1766
UD
23981 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
23982 the CFI state in the end.
23983 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
23984 inclusion of dl-trampoline.h.
23985 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
23986
51ccffa0
AS
239872011-08-19 Andreas Schwab <schwab@redhat.com>
23988
94d7165f
AS
23989 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
23990 expectations for long double.
23991
51ccffa0
AS
23992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
23993 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
23994
fd708658 239952011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
23996
23997 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
23998 artificual limit depends upon the system page size.
23999
44f0a71e
UD
240002011-08-17 Ulrich Drepper <drepper@gmail.com>
24001
24002 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
24003 * resolv/Makefile: Define CFLAGS-libresolv.
24004
8de79a24
AS
240052011-08-17 Andreas Schwab <schwab@redhat.com>
24006
24007 * nss/makedb.c (compute_tables): Make variables used in nested
24008 function static.
24009
27724598
UD
240102011-08-17 Ulrich Drepper <drepper@gmail.com>
24011
c5305d88
UD
24012 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
24013 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
24014 if buffer was too small.
24015
27724598
UD
24016 * elf/pldd.c (main): Attach to all threads in the process.
24017 Rewrite /proc handling to use *at functions.
24018
076fe015
UD
240192011-08-16 Ulrich Drepper <drepper@gmail.com>
24020
174baab3
UD
24021 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
24022 specifies first scope to show.
24023 (dl_open_worker): Update callers. Move printing scope of new
24024 object to before the relocation.
44f0a71e 24025 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
24026 * sysdeps/generic/ldsodefs.h: Update declaration.
24027
076fe015
UD
24028 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
24029 string for the scope number.
24030
a60df2c3
UD
240312011-08-14 Ulrich Drepper <drepper@gmail.com>
24032
24033 * nscd/servicescache.c (cache_addserv): Make sure written is always
24034 initialized.
24035
5e4287d1
RM
240362011-08-14 Roland McGrath <roland@hack.frob.com>
24037
85ae0589
RM
24038 * sysdeps/i386/i486/bits/atomic.h
24039 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
24040 statement expression, so as to suppress "set but not used" warning.
24041 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
24042
69f63097
RM
24043 * string/strncat.c (STRNCAT): Use prototype definition.
24044
675456ef
RM
24045 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
24046 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
24047 -Iprograms here.
24048 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
24049 (localedef-modules): Add localedef.
24050 (locale-modules): Add locale.
24051
5e4287d1
RM
24052 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
24053 * elf/rtld.c (dl_main): Invert order of assignment in last change,
24054 to avoid a warning.
24055
9c96ff23
DM
240562011-08-14 David S. Miller <davem@davemloft.net>
24057
24058 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
24059 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
24060
f9ddf089
UD
240612011-08-13 Ulrich Drepper <drepper@gmail.com>
24062
44f0a71e 24063 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
24064 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
24065 * elf/rtld.c (dl_main): Set l_name of vDSO.
24066 Call _dl_show_scope when DL_DEBUG_SCOPES.
24067 (process_dl_debug): Recognize scopes flag and also set it for all.
24068 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
24069 Declare _dl_show_scope.
24070
1dc27704
UD
24071 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
24072 (do_dlopen): Pass caller_dlopen to dl_open.
24073 (__libc_dlopen_mode): Initialize caller_dlopen.
24074
f9ddf089
UD
24075 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
24076 of libc. Make tolower call locale-independent. Optimize a bit by
24077 using isdigit instead of isalnum.
24078 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
24079
9ac533d3
UD
240802011-08-12 Ulrich Drepper <drepper@gmail.com>
24081
24082 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
24083 was a dependency or dynamically loaded.
24084
89edf2e9
UD
240852011-08-11 Ulrich Drepper <drepper@gmail.com>
24086
8e999d29
UD
24087 * intl/l10nflist.c: Allow architecture-specific pop function.
24088 * sysdeps/x86_64/l10nflist.c: New file.
24089
89edf2e9
UD
24090 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
24091 classification.
24092
14d96785
AS
240932011-08-10 Andreas Schwab <schwab@redhat.com>
24094
24095 * include/dirent.h: Add libc_hidden_proto for scandirat and
24096 scandirat64. Don't declare __scandirat64.
24097 * dirent/scandirat.c: Add libc_hidden_def.
24098 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
24099 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
24100
6761ac04
DM
241012011-08-10 David S. Miller <davem@davemloft.net>
24102
24103 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
24104 enum.
24105 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24106 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24107 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24108
c55fbd1e
UD
241092011-08-09 Ulrich Drepper <drepper@gmail.com>
24110
24111 * Versions.def [libc]: Add GLIBC_2.15.
24112 * dirent/Makefile (routines): Add scandirat and scandirat64.
24113 * dirent/Versions [libc]: Export scandirat and scandirat64 for
24114 GLIBC_2.15.
24115 * dirent/dirent.h: Declare scandirat and scandirat64.
24116 * dirent/scandirat.c: New file.
24117 * dirent/scandirat64.c: New file.
24118 * sysdeps/wordsize-64/scandirat.c: New file.
24119 * sysdeps/wordsize-64/scandirat64.c: New file.
24120 * dirent/opendir.c: Define opendirat.
24121 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
24122 using scandirat.
24123 * dirent/scandir64.c: Adjust for scandir.c change.
24124 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
24125 __scandirat64, and __scandir_cancel_handler.
24126 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
24127 additional parameter and use openat instead of open (outside of ld.so).
24128 Add new __opendir as wrapper around __opendirat.
24129 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
24130 here without requiring old scandirat implementation.
24131
879165f2
UD
241322011-08-08 Ulrich Drepper <drepper@gmail.com>
24133
24134 * dirent/scandir.c (cancel_handler): Renamed to
24135 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
24136 defined. Adjust users.
24137 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
24138 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
24139
cb7e923b
UD
241402011-08-04 Ulrich Drepper <drepper@gmail.com>
24141
16292edd
UD
24142 * string/test-string.h (IMPL): Use __STRING to expand name and then
24143 stringify it.
24144
cb7e923b
UD
24145 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
24146 of cleanups.
24147
cff82933
LD
241482011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24149
24150 * string/Makefile: Update.
24151 (strop-tests): Append strncat.
24152 * string/test-wcscmp.c: New file.
24153 New comprehensive test for wcscmp.
24154 * string/test-strcmp.c: Update.
24155 (WIDE): New define.
24156
9be9bfcc
AS
241572011-07-22 Andreas Schwab <schwab@redhat.com>
24158
24159 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
24160 line.
24161
2e96f1c7
AS
241622011-07-26 Andreas Schwab <schwab@redhat.com>
24163
24164 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
24165 encoding to ACE if AI_IDN.
24166
85188888
JJ
241672011-08-01 Jakub Jelinek <jakub@redhat.com>
24168
24169 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
24170 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
24171
5fa16e9b
LD
241722011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24173
24174 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
24175 Fix overflow bug in strncat.
24176 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
24177
24178 * string/test-strncat.c: Update.
24179 Add new tests for checking overflow bugs.
24180
241812011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24182
24183 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24184 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
24185 * sysdeps/i386/i686/multiarch/strcat.S: New file.
24186 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
24187 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
24188 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
24189 * sysdeps/i386/i686/multiarch/strncat.S: New file.
24190 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
24191 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
24192
24193 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
24194 (USE_AS_STRCAT): Define.
24195 Add strcat and strncat support.
24196 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
24197
8c1a459f
AS
241982011-07-25 Andreas Schwab <schwab@redhat.com>
24199
24200 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
24201 __n bigger than INT_MAX+1.
24202 (__strncmp_g): Likewise.
24203
bba33c28
UD
242042011-07-23 Ulrich Drepper <drepper@gmail.com>
24205
798be72d
UD
24206 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
24207 * libio/stido.h: Likewise.
24208
8accd4dc
UD
24209 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
24210 (AF_NFC): Define.
24211 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
24212 (AF_NFC): Define.
24213
cbff0d96
UD
24214 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
24215 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24216 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24217 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
24218 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24219
9191c04a
UD
24220 [BZ #13021]
24221 * scripts/test-installation.pl: Don't expect libnss_test1 to be
24222 installed.
24223
bba33c28
UD
24224 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
24225 typo.
24226 (_dl_x86_64_save_sse): Likewise.
24227
90f139dd
UD
242282011-07-22 Ulrich Drepper <drepper@gmail.com>
24229
1aae088a
UD
24230 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
24231 OSXSAVE.
24232 (_dl_x86_64_save_sse): Likewise.
24233
8e2045f5
UD
24234 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
24235
90f139dd
UD
24236 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
24237
1d002f25
AS
242382011-07-21 Andreas Schwab <schwab@redhat.com>
24239
24240 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
24241 change.
24242 (_dl_x86_64_save_sse): Use correct AVX check.
24243
21137f89
UD
242442011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24245
24246 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
24247 bug in strncpy/strncat.
24248 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
24249
a65c0b7a
UD
242502011-07-21 Ulrich Drepper <drepper@gmail.com>
24251
24252 * string/tester.c (test_strcat): Add tests for different alignments
24253 of source and destination.
24254 (test_strncat): Likewise.
24255
6986b98a
UD
242562011-07-20 Ulrich Drepper <drepper@gmail.com>
24257
90bb2039
UD
24258 [BZ #12852]
24259 * posix/glob.c (glob): Check passed in values before using them in
24260 expressions to avoid some overflows.
24261 (glob_in_dir): Likewise.
24262
5644ef54
UD
24263 [BZ #13007]
24264 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
24265 check for AVX enablement so that we don't crash with old kernels and
24266 new hardware.
24267 * elf/tst-audit4.c: Add same checks here.
24268 * elf/tst-audit6.c: Likewise.
24269
24270 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 24271
bfc9dc9b
AS
242722011-07-09 Andreas Schwab <schwab@linux-m68k.org>
24273
24274 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
24275
702e64bb
UD
242762011-07-20 Ulrich Drepper <drepper@gmail.com>
24277
24278 * po/cs.po: Update from translation team.
24279 * po/bg.po: Likewise.
24280
295e904f
MP
242812011-07-12 Marek Polacek <mpolacek@redhat.com>
24282
24283 * misc/sys/cdefs.h: Add support for const attribute.
24284 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
24285 to gnu_dev_{major,minor,makedev} functions.
24286
3ff94596
MP
242872011-07-20 Marek Polacek <mpolacek@redhat.com>
24288
24289 * intl/dcigettext.c (get_output_charset): Add missing bracket.
24290
28b59fca
AS
242912011-07-20 Andreas Schwab <schwab@redhat.com>
24292
24293 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
24294 strlen results.
24295
19df733e
AK
242962011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24297
24298 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
24299 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
24300 register in order to avoid conflicts with the soft frame pointer
24301 being held in r11 when necessary.
24302 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
24303 (INTERNAL_VSYSCALL_NCS): Likewise.
24304
c8835729
MP
243052011-07-14 Marek Polacek <mpolacek@redhat.com>
24306
24307 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
24308 * elf/dl-fini.c (_dl_fini): Adjust caller.
24309 * elf/dl-close.c (_dl_close_worker): Likewise.
24310 * sysdeps/generic/ldsodefs.h: Adjust declaration.
24311
b902330c
MP
243122011-07-15 Marek Polacek <mpolacek@redhat.com>
24313
8991e135
MP
24314 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
24315 "aux_cache->nlibs < 0".
24316
b902330c
MP
24317 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
24318 in the reload-count case.
24319
99710781
LD
243202011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24321
24322 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24323 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
24324 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
24325 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
24326 * sysdeps/x86_64/multiarch/strcat.S: New file.
24327 * sysdeps/x86_64/multiarch/strncat.S: New file.
24328 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
24329 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
24330 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
24331 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
24332 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
24333 (USE_AS_STRCAT): Define.
24334 Add strcat and strncat support.
24335 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
24336 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24337 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
24338 * string/strncat.c: Update.
24339 (USE_AS_STRNCAT): Define.
24340 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24341 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
24342 and i7.
24343 * sysdeps/x86_64/multiarch/init-arch.h
24344 (bit_Prefer_PMINUB_for_stringop): New.
24345 (index_Prefer_PMINUB_for_stringop): Likewise.
24346 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
24347 bit_Prefer_PMINUB_for_stringop.
24348
7dc6bd90
UD
243492011-07-19 Ulrich Drepper <drepper@gmail.com>
24350
24351 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
24352 buffer64.
24353 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
24354 of casting of buffer.
24355 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
24356 buffer32 and buffer64.
24357 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
24358 writes instead of casting of buffer.
24359 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
24360 buffer32.
24361 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
24362 casting of buffer.
24363
e0e72284
AS
243642011-07-19 Andreas Schwab <schwab@redhat.com>
24365
24366 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
24367
feb1eb0b
UD
243682011-07-19 Ulrich Drepper <drepper@gmail.com>
24369
24370 * nscd/nscd.c (termination_handler): Don't do anything for a database
24371 if it has not yet been initialized.
24372
298711ff
UD
243732011-07-18 Ulrich Drepper <drepper@gmail.com>
24374
24375 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24376
243772011-07-15 Marek Polacek <mpolacek@redhat.com>
24378
24379 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
24380
f9d68389
UD
243812011-07-18 Ulrich Drepper <drepper@gmail.com>
24382
24383 * po/nl.po: Update from translation team.
24384 * po/sv.po: Likewise.
24385
db290cf5
RM
243862011-07-16 Roland McGrath <roland@hack.frob.com>
24387
24388 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
24389 now disallowed by GCC.
5c550700 24390
fd5e21c7
RM
24391 * configure.in (use-default-link): Default to yes if a test -shared
24392 link meets our qualifications.
24393 * configure: Regenerated.
24394
5c550700
RM
24395 * config.make.in (output-format): New variable.
24396 * configure.in: Check for ld --print-output-format support.
24397 * configure: Regenerated.
24398 * Makerules ($(common-objpfx)format.lds)
24399 [$(output-format) != unknown]: Just use $(output-format),
24400 instead of the linker-script munging.
24401
9fa2c032
RM
244022011-07-14 Roland McGrath <roland@hack.frob.com>
24403
a6928d51
RM
24404 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
24405 of $(common-objpfx)shlib.lds.
24406 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
24407
661607b3
RM
24408 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
24409 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
24410
9fa2c032
RM
24411 * configure.in (-z relro check): Adjust test code to add a large
24412 writable data section after it.
24413 * configure: Regenerated.
24414
defe9061
RM
244152011-07-11 Roland McGrath <roland@hack.frob.com>
24416
24417 * configure.in (-z relro check): Fix test code to make the variable
24418 truly const.
24419 * configure: Regenerated.
24420
319b9ad4
UD
244212011-07-11 Ulrich Drepper <drepper@gmail.com>
24422
24423 * nscd/nscd.h (struct traced_file): Define.
24424 (struct database_dyn): Remove inotify_descr, reset_res, and filename
24425 elements. Add traced_files.
24426 (inotify_fd): Declare.
24427 (register_traced_file): Declare.
24428 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
24429 (inotify_fd): Export.
24430 (resolv_conf_descr): Remove.
24431 (nscd_init): Move inotify descriptor creation to main.
24432 Don't register files for notification here.
24433 (register_traced_file): New function.
24434 (invalidate_cache): Don't use reset_res to determine whether to call
24435 res_init, go through the list of registered files.
24436 (main_loop_poll): The inotify descriptors are now stored in the
24437 structures for the traced files.
24438 (main_loop_epoll): Likewise
24439 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
24440 to __nss_disable_nscd.
24441 * nscd/cache.c (prune_cache): There is no single inotify descriptor
24442 for a database anymore. Check the records for all the registered
24443 files instead.
24444 * nss/Makefile (libnss_files-routines): Add files-init.
24445 (libnss_db-routines): Add db-init.
24446 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
24447 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
24448 * nss/nss_db/db-init.c: New file.
24449 * nss/nss_files/files-init.c: New file.
24450 * nss/nsswitch.c (nss_load_library): New function. Broken out of
24451 __nss_lookup_function.
24452 (__nss_lookup_function): Call nss_load_library.
24453 (nss_load_all_libraries): New function.
24454 (__nss_disable_nscd): Take parameter with callback function for files
24455 to register. Set is_nscd. Load all the DSOs for the NSS modules
24456 used for the cached services.
24457 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
24458 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
24459 options for features to all the files in nscd.
24460
24461 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
24462
23bee3e8
RM
244632011-07-10 Roland McGrath <roland@hack.frob.com>
24464
24465 * csu/elf-init.c (__libc_csu_init): Comment typo.
24466
46a5b7f0
UD
244672011-07-09 Ulrich Drepper <drepper@gmail.com>
24468
24469 * po/pl.po: Update from translation team.
24470 * po/ja.po: Likewise.
24471 * po/ru.po: Likewise.
24472 * po/ko.po: Likewise.
24473 * po/fr.po: Likewise.
24474
d30cf5bb
RM
244752011-07-09 Roland McGrath <roland@hack.frob.com>
24476
113ddea4
RM
24477 * configure.in (.ctors/.dtors header and trailer check):
24478 Use an empirical test on a built program.
24479 * configure: Regenerated.
24480
574920b4
RM
24481 * configure.in (-z relro check): Use an empirical test on a built DSO.
24482 Detect, but do not require, on ia64.
24483 * configure: Regenerated.
24484
d30cf5bb
RM
24485 * configure.in (READELF): Find it with AC_CHECK_TOOL.
24486 Update tests that use readelf to use $READELF instead.
24487 * configure: Regenerated.
24488
8538fdb3
UD
244892011-07-08 Ulrich Drepper <drepper@gmail.com>
24490
24491 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
24492 if the result is not used.
24493
04d08991
AJ
244942011-07-05 Andreas Jaeger <aj@suse.de>
24495
24496 [BZ#9696]
24497 * stdlib/tst-strtod.c: Add testcase.
24498
de283087
AD
244992011-07-07 Ulrich Drepper <drepper@gmail.com>
24500
4e5f31c8 24501 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 24502 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
24503 The latter has a higher limit. Take additional parameter to pass to
24504 the new function.
24505 (__pathconf): Pass file to __statfs_link_max.
24506 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
24507 __statfs_link_max.
24508 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
24509 __statfs_link_max.
24510
de283087
AD
24511 [BZ #12868]
24512 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
24513 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
24514 Handle Lustre.
24515 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
24516 (__statfs_filesize_max): Likewise.
24517 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
24518
c75fa153
AJ
245192011-07-05 Andreas Jaeger <aj@suse.de>
24520
24521 * resolv/res_comp.c (dn_skipname): Remove unused variable.
24522
1a544854
UD
245232011-07-06 Marek Polacek <mpolacek@redhat.com>
24524
24525 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
24526 `status' variable.
24527 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
24528 Likewise.
24529
6f0eec67
UD
245302011-07-04 H.J. Lu <hongjiu.lu@intel.com>
24531
24532 * Makefile (strop-tests): Add strncat.
24533 * string/test-strncat.c: New file.
24534
aae30307
UD
245352011-06-30 Marek Polacek <mpolacek@redhat.com>
24536
24537 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
24538
c0cfb5eb
UD
245392011-06-21 Andreas Jaeger <aj@suse.de>
24540
24541 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
24542 Copy rule from iconvdata/Makefile.
24543
01636b21
UD
245442011-07-06 Ulrich Drepper <drepper@gmail.com>
24545
24546 [BZ #12922]
24547 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
24548 but no long options are defined, just return 'W'.
24549
9895c8bc
UD
245502011-06-22 Marek Polacek <mpolacek@redhat.com>
24551
24552 [BZ #9696]
24553 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
24554
5d4cf042
UD
245552011-07-06 Ulrich Drepper <drepper@gmail.com>
24556
24557 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
24558 netgroups to read.
960e5535 24559 (innetgr): Likewise.
5d4cf042 24560
751eb97e
RM
245612011-07-05 Roland McGrath <roland@hack.frob.com>
24562
24563 * config.make.in (install_root): Default to $(DESTDIR).
24564
f15f1e45
UD
245652011-07-05 Ulrich Drepper <drepper@gmail.com>
24566
24567 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
24568
4e34ac6a
RM
245692011-07-02 Roland McGrath <roland@hack.frob.com>
24570
5e9b6af4
RM
24571 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
24572
84f9ea0f
RM
24573 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
24574 containing directory rather than embedding absolute directory names.
24575
ea5ee9f7
RM
24576 * scripts/check-local-headers.sh: Rewritten using awk.
24577 Match by word, not by line. Print error messages for matches.
24578 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
24579
1b74661a
RM
24580 * Makerules [shlib-lds-flags empty]:
24581 ($(common-objpfx)libc_pic.opts): New target.
24582 ($(common-objpfx)libc_pic.os.clean): New target.
24583 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
24584
24585 * config.make.in (OBJCOPY): New variable.
24586 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
24587 * configure: Regenerated.
24588
f781ef40
RM
24589 * config.make.in (use-default-link): New variable.
24590 * configure.in (use_default_link): Grok --with-default-link to set it.
24591 * configure: Regenerated.
24592 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
24593 (shlib-lds, shlib-lds-flags): Define to empty.
24594
2d4fa81e
RM
24595 * Makerules (shlib-lds): New variable.
24596 (shlib-lds-flags): New variable.
24597 (build-shlib, build-moduile, build-module-asneeded): Use it.
24598 ($(common-objpfx)libc.so): Use $(shlib-lds).
24599 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
24600 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
24601
31fffa6b
RM
24602 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
24603 DT_FLAGS/DT_FLAGS_1 with zero flags.
24604
4e34ac6a
RM
24605 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
24606 linker script munging.
24607
fcfc776b
UD
246082011-07-02 Ulrich Drepper <drepper@gmail.com>
24609
24610 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
24611 as 128-bit value.
24612 * crypt/sha512.c (sha512_process_block): Perform total addition using
24613 128-bit if possible.
24614 (__sha512_finish_ctx): Likewise.
24615 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
24616 as 64-bit value.
24617 * crypt/sha256.c (SWAP64): Define.
24618 (sha256_process_block): Perform total addition using 64-bit if
24619 possible.
24620 (__sha256_finish_ctx): Likewise.
24621
99231d9a
UD
246222011-07-01 Ulrich Drepper <drepper@gmail.com>
24623
24624 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
24625 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24626 * nscd/hstcache.c (cache_addhst): Likewise.
24627 * nscd/grpcache.c (cache_addgr): Likewise.
24628 * nscd/aicache.c (addhstaiX): Likewise
24629 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
24630
445b4a53
TK
246312011-07-01 Thorsten Kukuk <kukuk@suse.de>
24632
24633 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
24634 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24635 * nscd/hstcache.c (cache_addhst): Likewise.
24636 * nscd/grpcache.c (cache_addgr): Likewise.
24637 * nscd/aicache.c (addhstaiX): Likewise
24638
6d4d8e8e
AS
246392011-07-01 Andreas Schwab <schwab@redhat.com>
24640
24641 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
24642 domain only when needed.
24643
89f654c5
AS
246442011-06-30 Andreas Schwab <schwab@redhat.com>
24645
24646 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
24647 is always restored.
24648
cf3b23ff
UD
246492011-06-29 Ulrich Drepper <drepper@gmail.com>
24650
24651 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
24652 are re-adding the entry.
24653 * nscd/servicescache.c (cache_addserv): Likewise.
24654
751626f9
AJ
246552011-06-30 Aurelien Jarno <aurelien@aurel32.net>
24656
24657 * sysdeps/generic/dl-irel.h: fix protection against multiple
24658 inclusions.
24659 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
24660
9113ea1f
UD
246612011-06-28 Ulrich Drepper <drepper@gmail.com>
24662
5c0b8d90
UD
24663 [BZ #12935]
24664 * malloc/memusage.sh: Fix quoting in message.
24665 * debug/xtrace.sh: Likewise.
24666
9113ea1f
UD
24667 * configure.in: Remove support for --experimental-malloc option, make
24668 it the default.
24669 * config.make.in: Likewise.
24670 * malloc/Makefile: Likewise.
24671
a4172181
AS
246722011-06-27 Andreas Schwab <schwab@redhat.com>
24673
24674 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
24675 two-byte characters.
24676
78a7eee7
RM
246772011-06-27 Roland McGrath <roland@hack.frob.com>
24678
62bede13
RM
24679 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
24680 AC_CACHE_CHECK invocation.
24681 * configure: Regenerated.
24682
78a7eee7
RM
24683 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
24684
5ce33a62
UD
246852011-06-27 Ulrich Drepper <drepper@gmail.com>
24686
034807a9
UD
24687 [BZ #12350]
24688 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
24689 bit from old_res_options.
24690
4902da17
UD
24691 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
24692
5ce33a62
UD
24693 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
24694 value type for setfct.
24695
c2344f56
L
246962011-06-23 H.J. Lu <hongjiu.lu@intel.com>
24697
24698 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24699 __gettimeofday instead of gettimeofday.
24700
68468076
UD
247012011-06-26 Ulrich Drepper <drepper@gmail.com>
24702
24703 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
24704
acb0d739
L
247052011-06-24 H.J. Lu <hongjiu.lu@intel.com>
24706
24707 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
24708
24709 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
24710 info.
24711
8912479f
L
247122011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24713
24714 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24715 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24716 strcpy-sse2-unaligned strncpy-sse2-unaligned
24717 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
24718 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
24719 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
24720 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
24721 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
24722 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
24723 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
24724 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
24725 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
24726 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
24727 (STRCPY): Support SSE2 and SSSE3 versions.
24728
d5495a11
UD
247292011-06-24 Ulrich Drepper <drepper@gmail.com>
24730
24731 [BZ #12874]
24732 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
24733 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
24734 kernels which artificially limit size of requests.
24735
0b1cbaae
L
247362011-06-22 H.J. Lu <hongjiu.lu@intel.com>
24737
24738 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24739 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
24740 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
24741 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
24742 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
24743 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
24744 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
24745 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
24746 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
24747 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
24748 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
24749 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
24750 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
24751 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
24752 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
24753 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24754 Enable unaligned load optimization for Intel Core i3, i5 and i7
24755 processors.
24756 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
24757 Define.
24758 (index_Fast_Unaligned_Load): Define.
24759 (HAS_FAST_UNALIGNED_LOAD): Define.
24760
07f494a0
MP
247612011-06-23 Marek Polacek <mpolacek@redhat.com>
24762
24763 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
24764
fa3fc0fe
UD
247652011-06-22 Ulrich Drepper <drepper@gmail.com>
24766
24767 [BZ #12907]
24768 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
24769 until it is clear that the information is realy needed.
24770 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
24771
e12df166
AS
247722011-06-22 Andreas Schwab <schwab@redhat.com>
24773
24774 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
24775
852eb34d
UD
247762011-06-22 Ulrich Drepper <drepper@gmail.com>
24777
84e2a551
UD
24778 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
24779 /sys/devices/system/cpu/online if it is usable.
24780
852eb34d
UD
24781 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
24782 reading the information from the /proc filesystem to once a second.
24783
6e502e19
UD
247842011-06-21 Andreas Jaeger <aj@suse.de>
24785
24786 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
24787 NULL after inclusion of kernel headers.
24788
75d39ff2
UD
247892011-06-21 Ulrich Drepper <drepper@gmail.com>
24790
51f9aa6a
UD
24791 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
24792 calls to internal_setent.
24793
c0244a9d
UD
24794 [BZ #12885]
24795 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
24796 addresses using gethostbyname4_r ignore IPv4 addresses.
24797
c5e3c2ae
UD
24798 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
24799 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
24800
75d39ff2
UD
24801 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
24802
42675c6f
DM
248032011-06-20 David S. Miller <davem@davemloft.net>
24804
24805 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
24806 inclusions.
24807 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
24808
24809 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
24810 (elf_irel): Use it.
24811 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
24812 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
24813 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
24814 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
24815 * sysdeps/x86_64/dl-irel.h: Likewise.
24816
24817 * elf/dl-runtime.c: Use elf_ifunc_invoke.
24818 * elf/dl-sym.c: Likewise.
24819
57912a71
UD
248202011-06-15 Ulrich Drepper <drepper@gmail.com>
24821
24822 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
24823 need to dereference resplen2.
24824
ee22793d
AS
248252011-06-14 Andreas Schwab <schwab@redhat.com>
24826
24827 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
24828
a9e836b0
UD
248292011-06-15 Ulrich Drepper <drepper@gmail.com>
24830
77fb9117
UD
24831 * Makeconfig: Define vardbdir and inst_vardbdir.
24832 * nss/Makefile: Add rules to install db-Makefile.
24833
40c1b22c
UD
24834 * nss/nss_db/db-XXX.c: Cleanup.
24835
9f2da732
UD
24836 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
24837 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
24838 GLIBC_PRIVATE.
24839 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
24840 * nss/makedb.c: Implement -g option to specify that value strings
24841 are generated and should not be added to table iterated over for
24842 get*ent calls.
24843 * nss/nss_db/db-initgroups.c: New file.
24844
82e9a1f7
UD
24845 * nss/getent.c: Add support for initgroups lookups through getgrouplist
24846 interface.
24847
c41af17e
UD
24848 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
24849 (internal_getgrouplist): Adjust to name change.
24850 Update use_initgroups_entry if this is not the first call.
24851 * nss/databases.def: Add initgroups entry.
24852
a9e836b0
UD
24853 * nss/makedb.c (compute_tables): Check result of multiple hash table
24854 sizes to minimize maximum chain length.
24855
2666d441
UD
248562011-06-14 Ulrich Drepper <drepper@gmail.com>
24857
24858 * Versions.def: Add entry for libnss_db.
24859 * shlib-versions: Likewise.
24860 * nss/Makefile: Add rules to build libnss_db.
24861 * nss/Versions: Add libnss_db information. Organize libnss_files
24862 entries better.
24863 * nss/db-Makefile: Add gshadow support. Change rules for the new
24864 makedb progra. Some minor improvements to generate smaller files.
24865 * nss/nss_db/nss_db.h: Move NSS database header data structures to
24866 here from...
24867 * nss/makedb.c: ...here.
24868 Improve database format to be smaller and require less memory at
24869 runtime.
24870 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
24871 db anymore.
24872 * nss/nss_db/db-netgrp.c: Likewise.
24873 * nss/nss_db/db-open.c: Likewise.
24874 * nss/nss_files/flies-XXX.x: Adjust comments.
24875 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
24876 * nss/nss_files/files-grp.c: Likewise.
24877 * nss/nss_files/files-hosts.c: Likewise.
24878 * nss/nss_files/files-network.c: Likewise.
24879 * nss/nss_files/files-proto.c: Likewise.
24880 * nss/nss_files/files-pwd.c: Likewise.
24881 * nss/nss_files/files-rpc.c: Likewise.
24882 * nss/nss_files/files-service.c: Likewise.
24883 * nss/nss_files/files-sgrp.c: Likewise.
24884 * nss/nss_files/files-spwd.c: Likewise.
24885 * nss/nss_db/db-alias.c: Removed.
24886 * nss/nss_db/dummy-db.h: Removed.
24887
9ee76b5a
UD
248882011-06-02 Ulrich Drepper <drepper@gmail.com>
24889
24890 * nss/makedb.c: Rewritten to not use database library.
24891 * nss/Makefile: Update to build new makedb program.
24892
c71ca1f8
AJ
248932011-06-14 Andreas Jaeger <aj@suse.de>
24894
24895 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
24896 memset declaration.
24897
3154bfb8
UD
248982011-06-10 Andreas Schwab <schwab@redhat.com>
24899
24900 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
24901 tmpbuf.
24902
b350afab
RM
249032011-06-10 Roland McGrath <roland@hack.frob.com>
24904
decd4e50
RM
24905 * Makerules (shlib.lds): Fail if the linker script comes out empty.
24906 * elf/Makefile ($(objpfx)ld.so): Likewise.
24907
5615eaf2
RM
24908 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
24909 Don't list ld.so twice in dependencies.
24910
24911 * posix/bug-regex31.c: Include <stdlib.h>.
24912
24913 * nscd/hstcache.c (cache_addhst): Remove unused variable.
24914
24915 * nis/nss_compat/compat-spwd.c
24916 (getspent_next_nss_netgr): Remove unused variable.
24917 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
24918
24919 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
24920 nonmembers" output to use the right array.
24921
24922 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
24923
24924 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
24925
24926 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
24927 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
24928 * catgets/gencat.c (read_input_file): Likewise.
24929 * locale/programs/locarchive.c (enlarge_archive): Likewise.
24930
24931 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
24932 variable definition inside #if's controlling its use.
24933
24934 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
24935
24936 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
24937
24938 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
24939
24940 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
24941 unreachable code.
24942
24943 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
24944
b68e08db
RM
24945 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
24946 * configure: Regenerated.
24947
b350afab
RM
24948 * Makerules: Revert last change.
24949 * elf/Makefile: Likewise.
24950
28368601
RM
249512011-06-09 Roland McGrath <roland@hack.frob.com>
24952
24953 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
24954 * elf/Makefile ($(objpfx)librtld.os): Likewise.
24955 (reloc-link): Likewise.
24956
11988f8f
UD
249572011-06-09 Ulrich Drepper <drepper@gmail.com>
24958
24959 * elf/Makefile: Add rules to build pldd.
24960 * elf/pldd.c: New file.
24961 * elf/pldd-xx.c: New file.
24962
e80fab37
UD
249632011-06-07 Ulrich Drepper <drepper@gmail.com>
24964
24965 * version.h: Update for 2.15 development version.
24966
9b849836
DM
249672011-06-07 David S. Miller <davem@davemloft.net>
24968
24969 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
24970 ifuncs.
24971 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
24972 elf_machine_lazy_rel): Likewise.
24973 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
24974 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
24975 elf_machine_lazy_rel): Likewise.
24976 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
24977 dl_hwcap via passed in argument.
24978 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
24979 Likewise.
24980
5a31b283
AK
249812011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24982
24983 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
24984
069e52f8
RM
249852011-06-06 Roland McGrath <roland@hack.frob.com>
24986
24987 [BZ #12849]
24988 * manual/fdl-1.1.texi: New file, verbatim from:
24989 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
24990 * manual/lgpl-2.1.texi: New file, verbatim from:
24991 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
24992 * manual/Makefile (licenses): New variable, list those new file names.
24993 (texis): Use it.
24994 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
24995
24996 * manual/fdl.texi: File removed.
24997 * manual/lesser.texi: File removed.
24998 * manual/libc.texinfo (Copying, Documentation License):
24999 Use new @include file names, put @appendix directive before @include.
25000
f16846a5
JJ
250012011-06-04 Jakub Jelinek <jakub@redhat.com>
25002
25003 [BZ #12841]
25004 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
25005 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
25006 (mq_open): Add __NTH.
25007
3d29045b
L
250082011-06-02 H.J. Lu <hongjiu.lu@intel.com>
25009
25010 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25011 Assume Intel Core i3/i5/i7 processor if AVX is available.
25012
8c297311
UD
250132011-05-31 Ulrich Drepper <drepper@gmail.com>
25014
25015 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25016 typo.
25017
c8fc0c91
UD
250182011-05-31 Andreas Schwab <schwab@redhat.com>
25019
25020 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
25021 memory. Use alloca_account. Fix memory leak when retrying.
25022
5b27a807
UD
250232011-05-31 Ulrich Drepper <drepper@gmail.com>
25024
356f8bc6
UD
25025 * version.h (RELEASE): Bump for 2.14 release.
25026 * include/features.h (__GLIBC_MINOR__): Bump to 14.
25027
5b27a807
UD
25028 * config.make.in (RANLIB): Remove entry.
25029
01f16ab0
UD
250302011-05-30 Ulrich Drepper <drepper@gmail.com>
25031
41fce8bd
UD
25032 * po/Makefile (po-sed-cmd): Add ksh to extensions.
25033 (libc.pot): Work around missing support for .ksh extension in xgettext.
25034
4769ae77
UD
25035 [BZ #12684]
25036 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
25037 if both request failed.
25038 (send_dg): In case of server errors clear resplen or *resplen2.
25039
6b1e7d19
UD
25040 [BZ #12454]
25041 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
25042 when there are multiple maps.
25043 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
25044 (_dl_fini): Remove test here.
25045
01f16ab0
UD
25046 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
25047
b1ebd700
UD
250482011-05-29 Ulrich Drepper <drepper@gmail.com>
25049
7ae22829
UD
25050 [BZ #12350]
25051 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
25052 bit from old_res_options.
25053 (gaih_inet): Likewise.
25054
553149f6 25055 [BZ #11099]
18a84741 25056 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
25057 as signed.
25058
652ffab1
UD
25059 * resolv/res_init.c (res_setoptions): Make the code more compact.
25060
16985fd0
UD
25061 [BZ #11558]
25062 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
25063 set RES_USEVC.
25064
0464f746
UD
25065 [BZ #11634]
25066 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
25067
7d17596c
UD
25068 * malloc/malloc.h: Mark malloc hook variables as deprecated.
25069
cf6bbbd7
UD
25070 [BZ #11781]
25071 * malloc/malloc.h: Declare malloc hook variables as volatile.
25072
13f1ab36
UD
25073 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
25074 in last patch.
25075
b1ebd700
UD
25076 [BZ #11799]
25077 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 25078 raise in the comment.
80e2212d
UD
25079 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
25080 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25081 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 25082
ce67228d
UD
250832011-05-28 Ulrich Drepper <drepper@gmail.com>
25084
8887a920
UD
25085 [BZ #12811]
25086 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
25087 grow the buffers more if it already has to be sufficient.
25088 (build_wcs_upper_buffer): Likewise.
25089 * posix/regexec.c (check_matching): Likewise.
25090 (clean_state_log_if_needed): Likewise.
25091 (extend_buffers): Don't enlarge buffers beyond size of the input
25092 buffer.
25093 Patches mostly by Emil Wojak <emil@wojak.eu>.
25094 * posix/bug-regex32.c: New file.
25095 * posix/Makefile (tests): Add bug-regex32.
25096
4f031072
UD
25097 * locale/findlocale.c (_nl_find_locale): Return right away if
25098 _nl_explode_name failed.
25099 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
25100
d0478f0c
UD
25101 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
25102
de81b246
UD
25103 * debug/xtrace.sh: Unify messages.
25104 * malloc/memusage.sh: Likewise.
25105
c738465a
UD
25106 [BZ #12813]
25107 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
25108 time symbol from vDSO. Substitute with vsyscall if not available.
25109 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
25110 __vdso_time.
25111
f1f929d7
UD
25112 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
25113 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
25114 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
25115 Add sendmmsg and internal_sendmmsg.
25116 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
25117 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
25118 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
25119
ce67228d
UD
25120 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
25121 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
25122 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
25123
e57420c6
UD
251242011-05-27 Ulrich Drepper <drepper@gmail.com>
25125
a8509ca5
UD
25126 [BZ #12813]
25127 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
25128 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
25129 available.
25130 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
25131 __vdso_getcpu.
25132
e57420c6
UD
25133 [BZ #12814]
25134 * iconvdata/Makefile (tests): Add bug-iconv9.
25135 * iconvdata/bug-iconv9.c: New file.
25136
4d07db15
AS
251372011-05-27 Andreas Schwab <schwab@redhat.com>
25138
25139 [BZ #12814]
25140 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
25141
ea486f69
JJ
251422011-05-25 Jakub Jelinek <jakub@redhat.com>
25143
25144 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25145 (struct user_regs_struct): Change intcs field back to cs.
25146
6f038433
UD
251472011-05-25 Ulrich Drepper <drepper@gmail.com>
25148
25149 * po/ja.po: Update from translation team.
25150
67f86a25
UD
251512011-05-23 Ulrich Drepper <drepper@gmail.com>
25152
25153 [BZ #12795]
25154 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
25155 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
25156
def7fbd6
AS
251572011-05-20 Andreas Schwab <schwab@redhat.com>
25158
25159 * stdlib/longlong.h: Update from GCC.
25160
f50ef8f1
AS
251612011-05-23 Andreas Schwab <schwab@redhat.com>
25162
25163 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
25164 parameter name.
25165 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
25166 Add parameter name.
25167 (__sysconf): Pass it down.
25168
de7ce8f1
UD
251692011-05-22 Ulrich Drepper <drepper@gmail.com>
25170
f2962a71
UD
25171 [BZ #12671]
25172 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
25173 some situations.
25174 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
25175 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
25176 add in in __libc_use_alloca calls. Adjust callers.
25177 (glob): Use malloc in some situations.
25178
de7ce8f1
UD
25179 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
25180 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
25181 pltexit.
25182
aec84f53
UD
251832011-05-21 Ulrich Drepper <drepper@gmail.com>
25184
05bb4a68
UD
25185 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
25186 and CLOCK_BOOTTIME_ALARM.
25187
7ea72f99
UD
25188 [BZ #12782]
25189 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
25190 is returned.
25191
7e4afad5
UD
25192 * string/_strerror.c (__strerror_r): Print negative errors as signed
25193 numbers.
25194
8e211fec
UD
25195 [BZ #12777]
25196 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
25197 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
25198 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
25199
f7d82dc9
UD
25200 * configure.in: Fix typo in redirection and correct removal of test
25201 files in two cases.
25202
cc9e536d
UD
25203 [BZ #12788]
25204 * locale/setlocale.c (new_composite_name): Fix test to check for
25205 identical name of all categories.
25206
aec84f53
UD
25207 [BZ #12792]
25208 * libio/filedoalloc.c (local_isatty): New function.
25209 (_IO_file_doallocate): Use local_isatty.
25210 * stdio-common/perror.c (perror): In case a new stream is used
25211 forward the stream error.
25212 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
25213 error flag.
25214
78e64fdc
RT
252152011-05-20 Ulrich Drepper <drepper@gmail.com>
25216
34a9094f
UD
25217 [BZ #11869]
25218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
25219 alloca.
25220 * include/alloca.h (extend_alloca_account): Define.
25221
78e64fdc
RT
25222 [BZ #11857]
25223 * posix/regex.h: Fix comments with documentation of user-accessible
25224 fields after compilation and describe correct free'ing of pattern
25225 after re_compile_pattern.
25226 Patch by Reuben Thomas <rrt@sc3d.org>.
25227
457bddfc
RA
252282011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
25229
25230 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
25231 and -mno-altivec to prevent the compiler from using Altivec and/or
25232 VSX instructions when the corresponding registers are not available.
25233
a4527b51
AS
252342011-05-19 Andreas Schwab <schwab@redhat.com>
25235
25236 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
25237
ed690b2f
UD
252382011-05-19 Ulrich Drepper <drepper@gmail.com>
25239
25240 * libio/freopen.c (freopen): Use __dup2, not dup2.
25241 * libio/freopen64.c (freopen64): Likewise.
25242
8db73634
L
252432011-05-17 H.J. Lu <hongjiu.lu@intel.com>
25244
25245 [BZ #12775]
25246 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
25247 * math/Makefile (tests): Add test-powl.
25248 (CFLAGS-test-powl.c): Define.
25249 * math/test-powl.c: New file.
25250
0a197a9d
L
252512011-05-16 H.J. Lu <hongjiu.lu@intel.com>
25252
25253 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
25254
ee30c380
UD
252552011-05-17 Ulrich Drepper <drepper@gmail.com>
25256
25257 [BZ #11837]
25258 * iconvdata/gb18030.c: Update to GB18020-2005.
25259
6ce75379
UD
252602011-05-16 Ulrich Drepper <drepper@gmail.com>
25261
a4b89fd8
AR
25262 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
25263 RE_SYNTAX_POSIX_AWK): Update to match recent development.
25264 Patch by Aharon Robbins <arnold@skeeve.com>.
25265
ea389b12
UD
25266 [BZ #11892]
25267 * stdlib/putenv.c (putenv): Don't always create copy of the variable
25268 on the stack.
25269
68a3f91f
UD
25270 [BZ #11895]
25271 * misc/pselect.c (__pselect): Handle timeout value errors hidden
25272 through underflows.
25273
15cc7dd1
UD
25274 [BZ #12766]
25275 * misc/error.c (error_at_line): Ensure file_name and old_file_name
25276 point to strings before performing equality test for error_one_per_line
25277 mode.
25278
f3799213
UD
25279 [BZ #11697]
25280 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
25281
d79a9c94
UD
25282 [BZ #11820]
25283 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
25284 (struct user_fpregs_struct): Avoid __uint*_t types.
25285
56e5eb46
UD
25286 [BZ #6420]
25287 * malloc/mtrace.c (tr_where): Add additional parameter to point to
25288 symbol info. Use it instead of calling _dl_addr locally.
25289 (lock_and_info): New function.
25290 (tr_freehook): Call lock_and_info and pass symbol info as additional
25291 parameter to tr_where.
25292 (tr_mallochook): Likewise.
25293 (tr_reallochook): Likewise.
25294 (tr_memalignhook): Likewise.
25295
6ce75379
UD
25296 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
25297 used and couldn't be at all thread-safe.
25298
f8a3b5bf
UD
252992011-05-15 Ulrich Drepper <drepper@gmail.com>
25300
94b7cc37
UD
25301 * libio/freopen.c (freopen): Don't close old file descriptor
25302 before the new one is opened. Instead dup the new file descriptor
25303 to the old one after the new stream is created.
25304 * libio/freopen64.c (freopen64): Likewise.
25305 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
25306 * libio/fileops.c (_IO_new_file_close_it): Handle new
25307 _IO_FLAGS2_NOCLOSE flag.
25308 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
25309 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
25310 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
25311 _IO_FLAGS2_NOCLOSE flag.
25312 * include/unistd.h: Add hidden_proto for dup3.
25313 Define __have_dup3.
25314 * io/dup3.c: Define hidden symbol.
25315 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
25316
bd25564e
UD
25317 [BZ #7101]
25318 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
25319 when an incomplete long option is used.
25320 * posix/tst-getopt_long1.c: New file.
25321 * posix/Makefile (tests): Add tst-getopt_long1.
25322
c84cfef4
UD
25323 [BZ #10138]
25324 * scripts/config.guess: Update from autoconf-2.68.
25325 * scripts/config.sub: Likewise.
25326
3b85df27
UD
25327 [BZ #10157]
25328 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
25329 tests into ...
25330 (has_cpuclock): ...this. New function.
25331 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
25332 macro here based on has_cpuclock code.
25333
15a856b1
UD
25334 [BZ #10149]
25335 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25336 First byte (not low byte) is now always NUL.
25337 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
25338
05f399e6
UD
25339 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25340 Use non-cancelable interfaces.
25341
10a52685 25342 [BZ #9809]
94ecc67d
UD
25343 * locale/iso-639.def: Add entry for Sorani.
25344
f8a3b5bf
UD
25345 [BZ #11901]
25346 * include/stdlib.h: Move include protection to the right place.
25347 Define abort_msg_s. Declare __abort_msg with it.
25348 * stdlib/abort.c (__abort_msg): Adjust type.
25349 * assert/assert.c (__assert_fail_base): New function. Majority
25350 of code from __assert_fail. Allocate memory for __abort_msg with
25351 mmap.
25352 (__assert_fail): Now call __assert_fail_base.
25353 * assert/assert-perr.c: Remove bulk of implementation. Use
25354 __assert_fail_base.
25355 * include/assert.hL Declare __assert_fail_base.
25356 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
25357 mmap.
25358 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
25359
1af4e298
UD
253602011-05-14 Ulrich Drepper <drepper@gmail.com>
25361
f8a3b5bf 25362 [BZ #11952]
d26dfc60
MG
25363 [BZ #12453]
25364 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
25365 until all modules are registered in the DTV.
25366 * elf/Makefile: Add rules to build and run tst-tls19.
25367 * elf/tst-tls19.c: New file.
25368 * elf/tst-tls19mod1.c: New file.
25369 * elf/tst-tls19mod2.c: New file.
25370 * elf/tst-tls19mod3.c: New file.
25371 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
25372
2fc54d6f
UD
25373 [BZ #12083]
25374 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
25375 correctly.
25376
98d76b46
UD
25377 [BZ #12601]
25378 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
25379 two-byte sequence errors.
25380 * iconvdata/Makefile (tests): Add bug-iconv8.
25381 * iconvdata/bug-iconv8.c: New file.
25382
da3c19ef
UD
25383 [BZ #12626]
25384 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
25385 buf2 definition.
25386
ca408c15
UD
25387 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
25388
d6f67f7d
UD
25389 [BZ #12432]
25390 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
25391 (dummy_getcfa): New function.
25392 (init): Get _Unwind_GetCFA address, use dummy if not found.
25393 (backtrace_helper): In recursion check, also check whether CFA changes.
25394 (__backtrace): Completely initialize arg.
25395
1af4e298 25396 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
25397 storing incomplete byte sequence in state object. Avoid testing for
25398 guaranteed too small input if we know there is enough data available.
1af4e298 25399
da62f81b
AS
254002011-05-11 Andreas Schwab <schwab@redhat.com>
25401
25402 * Makeconfig (+link-pie): Indent.
25403 * Rules (binaries-pie): Define if $(have-fpie) and
25404 $(build-shared).
25405 (binaries-shared): Also filter out $(binaries-pie).
25406 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
25407 * nscd/Makefile (others-pie): Add nscd.
25408 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
25409 ($(objpfx)nscd): Remove command override.
25410 * login/Makefile (others-pie): Add pt_chown.
25411 ($(objpfx)pt_chown): Remove command override.
25412 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
25413 remove command overrides.
25414
fcabc0f8
UD
254152011-05-13 Ulrich Drepper <drepper@gmail.com>
25416
20030ae6
UD
25417 * libio/tst_putwc.c: Fix error messages.
25418
fcabc0f8
UD
25419 [BZ #12724]
25420 * libio/fileops.c (_IO_new_file_close_it): Always flush when
25421 currently writing and seek to current position when not.
25422 * libio/Makefile (tests): Add bug-fclose1.
25423 * libio/bug-fclose1.c: New file.
25424
320a5dc0
PB
254252011-05-12 Ulrich Drepper <drepper@gmail.com>
25426
25427 [BZ #12511]
25428 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
25429 don't set DF_1_NODELETE here.
25430 (do_lookup_x): When entering new entry test for copy relocation
25431 and if necessary set DF_1_NODELETE flag.
25432 * elf/tst-unique4.cc: New file.
25433 * elf/tst-unique4.h: New file.
25434 * elf/tst-unique4lib.cc: New file.
25435 * elf/Makefile: Add rules to build and run tst-unique4.
25436 Patch by Piotr Bury <pbury@goahead.com>.
25437
22836f52
UD
254382011-05-11 Ulrich Drepper <drepper@gmail.com>
25439
f574184a
UD
25440 [BZ #12052]
25441 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
25442
e1fb097f
UD
25443 [BZ #12625]
25444 * misc/mntent_r.c (addmntent): Flush the stream after the output
25445
22836f52
UD
25446 [BZ #12393]
25447 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
25448 (is_trusted_path_normalize): Skip initial colon. Append slash
25449 to empty buffer. Duplicate is_trusted_path code but allow
25450 constructed patch to be prefix.
25451 (is_dst): Allow $ORIGIN followed by /.
25452 (_dl_dst_substitute): Correct clearing of check_for_trusted.
25453 Correct testing of result of is_trusted_path_normalize
25454 (decompose_rpath): Fix warning.
25455
7b3b0b2a
UD
254562011-05-10 Ulrich Drepper <drepper@gmail.com>
25457
25458 [BZ #11257]
25459 * grp/initgroups.c (internal_getgrouplist): When we found the service
25460 list through the initgroups entry in nsswitch.conf do not always
25461 continue on a successful lookup. Don't always use the
eac80ce2 25462 __nss_group_database value if it is set.
7b3b0b2a
UD
25463 * nss/nsswitch.conf (initgroups): Change action for successful db
25464 lookup to continue for compatibility.
25465
2a81eaa5
UD
254662011-05-09 Ulrich Drepper <drepper@gmail.com>
25467
be97a69e
UD
25468 [BZ #11532]
25469 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
25470 and CP774 modules.
25471 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
25472 and CP774 modules.
25473 * iconvdata/tst-tables.sh: Likewise.
25474 * iconvdata/cp770.c: New file.
25475 * iconvdata/cp771.c: New file.
25476 * iconvdata/cp772.c: New file.
25477 * iconvdata/cp773.c: New file.
25478 * iconvdata/cp774.c: New file.
25479 * iconvdata/testdata/CP770: New file.
25480 * iconvdata/testdata/CP770..UTF8: New file.
25481 * iconvdata/testdata/CP771: New file.
25482 * iconvdata/testdata/CP771..UTF8: New file.
25483 * iconvdata/testdata/CP772: New file.
25484 * iconvdata/testdata/CP772..UTF8: New file.
25485 * iconvdata/testdata/CP773: New file.
25486 * iconvdata/testdata/CP773..UTF8: New file.
25487 * iconvdata/testdata/CP774: New file.
25488 * iconvdata/testdata/CP774..UTF8: New file.
25489
25490 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
25491 END CHARMAP line.
25492 * iconvdata/gen-8bit-gap.sh: Likewise.
25493 * iconvdata/gen-8bit.sh: Likewise.
25494
c1e9e399
UD
25495 * locale/iso-639.def: Add ary entry.
25496
24c55fb3 25497 [BZ #11258]
96b4b1b0
UD
25498 * locale/C-translit.h.in: Add U20A1 transliteration.
25499
bdc2f971
KB
25500 [BZ #12178]
25501 * locale/iso-639.def: Add wae entry.
25502 Patch by Kevin Bortis <bortis@translate-wae.ch>.
25503
2952b117
UD
25504 [BZ #12545]
25505 * locale/programs/localedef.c (construct_output_path): Use ssize_t
25506 for n.
25507
2a81eaa5
UD
25508 [BZ #12711]
25509 * locale/C-translit.h.in: Add entry for U20B9.
25510 Patch by pravin.d.s@gmail.com.
25511
28377d1b
UD
255122011-05-08 Ulrich Drepper <drepper@gmail.com>
25513
7fb90fb8
UD
25514 [BZ #12713]
25515 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
25516 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
25517 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
25518 in rtld. Use *stat64.
7fb90fb8 25519 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 25520 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 25521 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
25522 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
25523 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
25524 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
25525 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
25526 __fstatat64 macros.
7fb90fb8
UD
25527 * include/dirent.h: Add libc_hidden_proto for rewinddir.
25528 * dirent/rewinddir.c: Add libc_hidden_def.
25529 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 25530 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 25531
28377d1b
UD
25532 * include/dirent.h (__alloc_dir): Add flags parameter.
25533 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
25534 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
25535 __alloc_dir.
25536 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
25537 from fdopendir if O_CLOEXEC is already set.
25538
66bdbaa4
AM
255392011-03-15 Alan Modra <amodra@gmail.com>
25540
25541 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
25542 l_tls_firstbyte_offset non-zero. Save padding offset in
25543 l_tls_firstbyte_offset for later use.
25544 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
25545 freeing static tls block.
25546
95721191
JN
255472011-03-05 Jonathan Nieder <jrnieder@gmail.com>
25548
25549 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
25550 where #ifdef was intended. The intent is to prevent ARG_MAX from
25551 being defined by the kernel headers.
25552
f87dfb1f
UD
255532011-05-07 Ulrich Drepper <drepper@gmail.com>
25554
25555 [BZ #12734]
25556 * resolv/resolv.h: Define RES_NOTLDQUERY.
25557 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
25558 no-tld-query and set RES_NOTLDQUERY.
25559 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
25560 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
25561 modern BIND to search name as TLD unless forbidden.
25562
47c3cd7a
UD
255632011-05-07 Petr Baudis <pasky@suse.cz>
25564 Ulrich Drepper <drepper@gmail.com>
25565
25566 [BZ #12393]
25567 * elf/dl-load.c (fillin_rpath): Move trusted path check...
25568 (is_trusted_path): ...to here.
c1e9ea35 25569 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 25570 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 25571 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 25572
8a35c912
PP
255732011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25574
25575 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
25576 __BEGIN/__END_DECLS.
25577
acd41f47
UD
255782011-05-06 Ulrich Drepper <drepper@gmail.com>
25579
25580 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
25581 NSS_STATUS_NOTFOUND if no record was found.
25582
597df647
AS
255832011-05-05 Andreas Schwab <schwab@redhat.com>
25584
25585 * sunrpc/Makefile (headers): Add rpc/netdb.h.
25586 (headers-not-in-tirpc): Remove rpc/netdb.h
25587 * resolv/netdb.h: Revert last change.
25588
b9af1301
PP
255892011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
25590
25591 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
25592 circular dependency between libgcc.a and libc.a.
25593
4e34d5f5
AS
255942011-05-05 Andreas Schwab <schwab@redhat.com>
25595
25596 * resolv/netdb.h: Don't include <rpc/netdb.h>.
25597 * nis/Makefile: Don't install rpcsvc/*.
25598 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
25599 instead of <rpc/types.h>.
25600 (MAXHOSTNAMELEN): Define.
25601
00ee369c
AS
256022011-05-03 Andreas Schwab <schwab@redhat.com>
25603
25604 * elf/ldconfig.c (add_dir): Don't crash on empty path.
25605
0b592a30
MB
256062011-04-28 Maciej Babinski <mbabinski@google.com>
25607
25608 [BZ #12714]
25609 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
25610 gethostbyname4_r when IPv6 results are possible.
25611
6e04cbbe
UD
256122011-05-02 Ulrich Drepper <drepper@gmail.com>
25613
25614 [BZ #12723]
25615 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
25616 _PC_PIPE_BUF handling.
25617
e4ecafe0
BH
256182011-04-30 Bruno Haible <bruno@clisp.org>
25619
25620 [BZ #12717]
25621 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
25622 * resolv/netdb.h (getnameinfo): Change type of flags parameter
25623 to 'int'.
25624 * inet/getnameinfo.c (getnameinfo): Likewise.
25625
125ee683
UD
256262011-04-29 Ulrich Drepper <drepper@gmail.com>
25627
25628 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
25629 to groups setting in database lookup.
25630 * nss/nsswitch.conf: Add initgroups entry.
25631
b722481a
EB
256322011-04-22 Ulrich Drepper <drepper@gmail.com>
25633
25634 [BZ #12685]
25635 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
25636 mode string.
25637 Patch by Eric Blake <eblake@redhat.com>.
25638
4df46dbd
L
256392011-04-20 H.J. Lu <hongjiu.lu@intel.com>
25640
25641 * sunrpc/Makefile (need-export-routines): Add svc_run.
25642 (routines): Remove svc_run.
25643 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
25644 * sunrpc/clnt_perr.c (clnt_perrno): Export.
25645 * sunrpc/svc_run.c (svc_run): Likewise.
25646 * sunrpc/svc_udp.c (svcudp_create): Likewise.
25647
e84142d2
UD
256482011-04-21 Ulrich Drepper <drepper@gmail.com>
25649
25650 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
25651 problem in reallocation in last patch.
25652
877175d8
UD
256532011-04-20 Ulrich Drepper <drepper@gmail.com>
25654
25655 * sunrpc/Makefile: Move inclusion of Rules.
25656
ab8eed78
UD
256572011-04-19 Ulrich Drepper <drepper@gmail.com>
25658
25659 * nss/nss_files/files-initgroups.c: New file.
25660 * nss/Makefile (libnss_files-routines): Add files-initgroups.
25661 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
25662 _nss_files_initgroups_dyn.
25663
e3d8f584
RS
256642011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
25665
25666 * elf/elf.h (R_ARM_IRELATIVE): Define.
25667
af190f45
UD
256682011-04-19 Ulrich Drepper <drepper@gmail.com>
25669
25670 * po/ru.po: Update from translation team.
25671
53cf59ef
UD
256722011-04-17 Ulrich Drepper <drepper@gmail.com>
25673
25674 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
25675 dependencies.
25676
4c559bcd
MF
256772011-02-06 Mike Frysinger <vapier@gentoo.org>
25678
25679 [BZ #12653]
25680 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
25681 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
25682 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25683 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25684 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25685
4420675c
AS
256862011-03-28 Andreas Schwab <schwab@linux-m68k.org>
25687
25688 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
25689 differing bytes.
25690 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
25691 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
25692 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
25693
75ea32ab
UD
256942011-04-17 Ulrich Drepper <drepper@gmail.com>
25695
25696 [BZ #12420]
25697 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
25698 storing it.
25699 * stdlib/bug-getcontext.c: New file.
25700 * stdlib/Makefile: Add rules to build and run bug-getcontext.
25701
27390476
AK
257022011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25703
25704 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
25705 instructions into .machine "z9-109".
25706 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25707 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25708
10442705
AK
257092011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
25710
25711 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
25712 between environment variables and auxiliary vector.
25713
7b57bfe5
UD
257142011-04-16 Ulrich Drepper <drepper@gmail.com>
25715
25716 * Makefile: Add rules to build linkobj/libc.so.
25717 * include/libc-symbols.h: Define libc_hidden_nolink.
25718 * include/rpc/auth.h: Mark functions which are to be hidden.
25719 * include/rpc/auth_des.h: Likewise.
25720 * include/rpc/auth_unix.h: Likewise.
25721 * include/rpc/clnt.h: Likewise.
25722 * include/rpc/des_crypt.h: Likewise.
25723 * include/rpc/key_prot.h: Likewise.
25724 * include/rpc/pmap_clnt.h: Likewise.
25725 * include/rpc/pmap_prot.h: Likewise.
25726 * include/rpc/pmap_rmt.h: Likewise.
25727 * include/rpc/rpc_msg.h: Likewise.
25728 * include/rpc/svc.h: Likewise.
25729 * include/rpc/svc_auth.h: Likewise.
25730 * include/rpc/xdr.h: Likewise.
25731 * nis/Makefile: Link all DSOs against linkobj/libc.so.
25732 * nss/Makefile: Likewise.
25733 * sunrpc/Makefile: Don't install headers. Build library with normal
25734 entry points. Don't build rpcinfo. Link RPC tests appropriately.
25735 * sunrpc/auth_des.c: Hide exported symbols by default, export some
25736 for the compat linking library. Remove use of INTDEF/INTUSE.
25737 * sunrpc/auth_none.c: Likewise.
25738 * sunrpc/auth_unix.c: Likewise.
25739 * sunrpc/authdes_prot.c: Likewise.
25740 * sunrpc/authuxprot.c: Likewise.
25741 * sunrpc/clnt_gen.c: Likewise.
25742 * sunrpc/clnt_perr.c: Likewise.
25743 * sunrpc/clnt_raw.c: Likewise.
25744 * sunrpc/clnt_simp.c: Likewise.
25745 * sunrpc/clnt_tcp.c: Likewise.
25746 * sunrpc/clnt_udp.c: Likewise.
25747 * sunrpc/clnt_unix.c: Likewise.
25748 * sunrpc/des_crypt.c: Likewise.
25749 * sunrpc/des_soft.c: Likewise.
25750 * sunrpc/get_myaddr.c: Likewise.
25751 * sunrpc/key_call.c: Likewise.
25752 * sunrpc/key_prot.c: Likewise.
25753 * sunrpc/netname.c: Likewise.
25754 * sunrpc/pm_getmaps.c: Likewise.
25755 * sunrpc/pm_getport.c: Likewise.
25756 * sunrpc/pmap_clnt.c: Likewise.
25757 * sunrpc/pmap_prot.c: Likewise.
25758 * sunrpc/pmap_prot2.c: Likewise.
25759 * sunrpc/pmap_rmt.c: Likewise.
25760 * sunrpc/publickey.c: Likewise.
25761 * sunrpc/rpc_cmsg.c: Likewise.
25762 * sunrpc/rpc_common.c: Likewise.
25763 * sunrpc/rpc_dtable.c: Likewise.
25764 * sunrpc/rpc_prot.c: Likewise.
25765 * sunrpc/rpc_thread.c: Likewise.
25766 * sunrpc/rtime.c: Likewise.
25767 * sunrpc/svc.c: Likewise.
25768 * sunrpc/svc_auth.c: Likewise.
25769 * sunrpc/svc_authux.c: Likewise.
25770 * sunrpc/svc_raw.c: Likewise.
25771 * sunrpc/svc_run.c: Likewise.
25772 * sunrpc/svc_simple.c: Likewise.
25773 * sunrpc/svc_tcp.c: Likewise.
25774 * sunrpc/svc_udp.c: Likewise.
25775 * sunrpc/svc_unix.c: Likewise.
25776 * sunrpc/svcauth_des.c: Likewise.
25777 * sunrpc/xcrypt.c: Likewise.
25778 * sunrpc/xdr.c: Likewise.
25779 * sunrpc/xdr_array.c: Likewise.
25780 * sunrpc/xdr_float.c: Likewise.
25781 * sunrpc/xdr_intXX_t.c: Likewise.
25782 * sunrpc/xdr_mem.c: Likewise.
25783 * sunrpc/xdr_rec.c: Likewise.
25784 * sunrpc/xdr_ref.c: Likewise.
25785 * sunrpc/xdr_sizeof.c: Likewise.
25786 * sunrpc/xdr_stdio.c: Likewise.
25787
e6c61494
UD
257882011-04-10 Ulrich Drepper <drepper@gmail.com>
25789
25790 [BZ #12650]
25791 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
25792 * sysdeps/ia64/dl-tls.h: Likewise.
25793 * sysdeps/powerpc/dl-tls.h: Likewise.
25794 * sysdeps/s390/dl-tls.h: Likewise.
25795 * sysdeps/sh/dl-tls.h: Likewise.
25796 * sysdeps/sparc/dl-tls.h: Likewise.
25797 * sysdeps/x86_64/dl-tls.h: Likewise.
25798 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
25799
34fe483e
AS
258002011-03-14 Andreas Schwab <schwab@redhat.com>
25801
25802 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
25803 rpath element also skip the following colon.
25804 (expand_dynamic_string_token): Add is_path parameter and pass
25805 down to DL_DST_REQUIRED and _dl_dst_substitute.
25806 (decompose_rpath): Call expand_dynamic_string_token with
25807 non-zero is_path. Ignore empty rpaths.
25808 (_dl_map_object_from_fd): Call expand_dynamic_string_token
25809 with zero is_path.
25810
f12a32e6
AS
258112011-04-08 Andreas Schwab <schwab@linux-m68k.org>
25812
25813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25814 Make cancelable.
25815
38a7d692
UD
258162011-04-09 Ulrich Drepper <drepper@gmail.com>
25817
25818 [BZ #12655]
25819 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
25820 Patch by Filipe David Manana <fdmanana@apache.org>.
25821
e451d22b
AS
258222011-04-07 Andreas Schwab <schwab@redhat.com>
25823
25824 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
25825 Maintain aligned stack.
25826 (CHECK_RSP): Remove unused macro.
25827
dedc7c7b
UD
258282011-04-03 Ulrich Drepper <drepper@gmail.com>
25829
25830 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
25831 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
25832
94521213
UD
258332011-04-02 Ulrich Drepper <drepper@gmail.com>
25834
25835 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
25836
8cb700c0 25837 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 25838
0354e355
L
258392011-03-26 H.J. Lu <hongjiu.lu@intel.com>
25840
25841 [BZ #12518]
25842 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
25843 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
25844 * sysdeps/x86_64/memmove.c: New file.
25845 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
25846 (memcpy): Renamed to ...
25847 (__new_memcpy): This.
25848 (memcpy): Provide GLIBC_2_14 memcpy.
25849 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
25850 (memcpy): Provide GLIBC_2_2_5 memcpy.
25851
8593482f
UD
258522011-04-01 Ulrich Drepper <drepper@gmail.com>
25853
25854 [BZ #12631]
25855 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
25856
81a5726b
AS
258572011-03-30 Andreas Schwab <schwab@redhat.com>
25858
25859 * misc/syncfs.c: New file.
25860 * misc/Makefile (routines): Add syncfs.
25861 * posix/unistd.h: Declare syncfs.
25862 * sysdeps/unix/syscalls.list: Add syncfs.
25863
00e5419f
AS
258642011-04-01 Andreas Schwab <schwab@redhat.com>
25865
25866 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
25867 open_by_handle_at.
25868 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
25869 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25870 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25871 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25872 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25873 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
25874 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25875
748876bf
UD
258762011-04-01 Ulrich Drepper <drepper@gmail.com>
25877
658e451d
UD
25878 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
25879 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25880 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
25881 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25882 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25883 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25884 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25885
748876bf
UD
25886 * io/Makefile: Compile fallocate.c, fallocate64.c, and
25887 sync_file_range.c with -fexceptions.
25888 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
25889 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
25890 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
25891 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
25892 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
25893 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25894 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
25895 sync_file_range as cancellation point
25896 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
25897 now a wrapper around __call_sync_file_range with cancellation handling.
25898 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
25899 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
25900 function name to __call_sync_file_range.
25901 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
25902 Add call_sync_file_range.
748876bf 25903
6e63d5e1
AS
259042011-04-01 Andreas Schwab <schwab@redhat.com>
25905
25906 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 25907 bits/timex.h.
6e63d5e1 25908
46998f74
UD
259092011-04-01 Ulrich Drepper <drepper@gmail.com>
25910
4c1423ed
UD
25911 * iconv/iconv.h: Fix typo in comment.
25912 * io/fcntl.h: Likewise.
25913 * libio/stdio.h: Likewise.
25914 * posix/spawn.h: Likewise.
25915 * posix/unistd.h: Likewise.
25916 * stdlib/stdlib.h: Likewise.
25917 * time/time.h: Likewise.
25918 * wcsmbs/wchar.h: Likewise.
25919
158648c0
UD
25920 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
25921 open_by_handle): Add.
25922 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
25923 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
25924 Augment a few comments.
25925 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
25926 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
25927 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
25928 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25929 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
25930 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
25931 open_by_handle.
25932
46998f74
UD
25933 * io/fcntl.h (AT_EMPTY_PATH): Define.
25934
83fe108b
UD
259352011-03-30 Ulrich Drepper <drepper@gmail.com>
25936
25937 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
25938 * sysdeps/unix/sysv/linux/bits/time.h: New file.
25939 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
25940 to...
25941 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
25942 * Versions.def: Add GLIBC_2.14.
25943 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
25944 Export.
83fe108b 25945
bb242059
UD
259462011-03-22 Ulrich Drepper <drepper@gmail.com>
25947
25948 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
25949 round counter.
25950 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25951
c97a1282
L
259522011-03-20 H.J. Lu <hongjiu.lu@intel.com>
25953
25954 [BZ #12597]
25955 * string/test-strncmp.c (do_page_test): New function.
25956 (check2): Likewise.
25957 (test_main): Call check2.
25958 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
25959
2a115601
UD
259602011-03-20 Ulrich Drepper <drepper@gmail.com>
25961
25962 [BZ #12587]
25963 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
25964 Handle cache information in CPU leaf 4.
25965 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
25966
8126d904
UD
259672011-03-18 Ulrich Drepper <drepper@gmail.com>
25968
042c49c6 25969 [BZ #12583]
8126d904
UD
25970 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
25971 character representation.
25972 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
25973
ccfe366e
RA
259742011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
25975
25976 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
25977 END(__isnan) to END(__isnanf) to match function entry point/label
25978 EALIGN(__isnanf,...).
25979
c6e13027
JJ
259802011-03-10 Jakub Jelinek <jakub@redhat.com>
25981
25982 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
25983
33f85a3f
UD
259842011-03-10 Ulrich Drepper <drepper@gmail.com>
25985
028478fa
UD
25986 [BZ #12510]
25987 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
25988 copy from the symbol referenced in the relocation to initialize the
25989 used variable.
25990 Patch by Piotr Bury <pbury@goahead.com>.
25991 * elf/Makefile: Add rules to build and tst-unique3.
25992 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
25993 * elf/tst-unique3.cc: New file.
25994 * elf/tst-unique3.h: New file.
25995 * elf/tst-unique3lib.cc: New file.
25996 * elf/tst-unique3lib2.cc: New file.
25997
33f85a3f
UD
25998 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
25999
03592fc7
MF
260002011-03-10 Mike Frysinger <vapier@gentoo.org>
26001
26002 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
26003 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
26004 to _start.
03592fc7 26005
6a5ee102
UD
260062011-03-06 Ulrich Drepper <drepper@gmail.com>
26007
26008 * elf/dl-load.c (_dl_map_object): If we are looking for the first
26009 to-be-loaded object along a path to loader is ld.so.
26010
7e4ba49c
HJ
260112011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26012 Ulrich Drepper <drepper@gmail.com>
26013
26014 * sysdeps/x86_64/memset.S: After aligning destination, code
26015 branches to different locations depending on the value of
26016 misalignment, when multiarch is enabled. Fix this.
26017
260182011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
26019
26020 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
26021 Set _x86_64_preferred_memory_instruction for AMD processsors.
26022 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26023 Set bit_Prefer_SSE_for_memop for AMD processors.
26024
13a804de
UD
260252011-03-04 Ulrich Drepper <drepper@gmail.com>
26026
26027 * libio/fmemopen.c (fmemopen): Optimize a bit.
26028
9d25c392
AS
260292011-03-03 Andreas Schwab <schwab@redhat.com>
26030
26031 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
26032
a5543c6a
RM
260332011-03-03 Roland McGrath <roland@redhat.com>
26034
26035 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
26036
012d35f7
DM
260372011-02-28 Aurelien Jarno <aurelien@aurel32.net>
26038
7e4ba49c 26039 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
26040 __bzero_ultra1 instead of __memset_ultra1.
26041
4bff6e01
AS
260422011-02-23 Andreas Schwab <schwab@redhat.com>
26043 Ulrich Drepper <drepper@gmail.com>
26044
26045 [BZ #12509]
26046 * include/link.h (struct link_map): Add l_orig_initfini.
26047 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
26048 returning unsuccessfully.
26049 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
26050 close of a file loaded at startup, restore the original l_initfini
26051 list.
26052 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
26053 list, store the pointer.
26054 * elf/Makefile ($(objpfx)noload-mem): New rule.
26055 (noload-ENV): Define.
26056 (tests): Add $(objpfx)noload-mem.
26057 * elf/noload.c: Include <memcheck.h>.
26058 (main): Call mtrace. Close all opened handles.
26059
f2092faf
AS
260602011-02-17 Andreas Schwab <schwab@redhat.com>
26061
26062 [BZ #12454]
26063 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
26064 dependencies are missing.
26065
6c8a2e88
ST
260662011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
26067
f2092faf 26068 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
26069 Hurd needs munmap.
26070 * sysdeps/mach/hurd/ifreq.h: New file.
26071
84a42118
PB
260722011-01-27 Petr Baudis <pasky@suse.cz>
26073 Ulrich Drepper <drepper@gmail.com>
26074
071f805e 26075 [BZ 12445]#
84a42118
PB
26076 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
26077 to extend_alloca().
26078 * stdio-common/bug23.c: New file.
26079 * stdio-common/Makefile (tests): Add bug23.
26080
e23fe25b
AS
260812010-09-28 Andreas Schwab <schwab@redhat.com>
26082 Ulrich Drepper <drepper@gmail.com>
26083
26084 [BZ #12489]
26085 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
26086 before performing relro protection. At old place add assertion
26087 to make sure nothing changed.
26088
d3f02e10
NS
260892011-02-17 Nathan Sidwell <nathan@codesourcery.com>
26090 Glauber de Oliveira Costa <glommer@gmail.com>
26091
26092 * elf/elf.h: Add new ARM TLS relocs.
26093
d55fd7a5
RA
260942011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
26095
26096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26097 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
26098 cast from r3.
26099 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
26100 'tests' variable.
26101 * sysdeps/wordsize-64/tst-writev.c: New file.
26102
2206397e
RA
261032011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
26104
26105 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
26106 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
26107 insns in _dl_start to prevent a TOC reference before relocs are
26108 resolved.
26109
e9433893
UD
261102011-02-15 Ulrich Drepper <drepper@gmail.com>
26111
26112 [BZ #12469]
26113 * Makeconfig: Remove RANLIB definition.
26114 * Makerules: Don't use RANLIB.
26115 * aclocal.m4: Remove ranlib test.
26116 * configure.in: No need to check for ranlib.
26117 * elf/rtld-Rules: Don't use RANLIB.
26118
f75286c6
ST
261192011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
26120
8e31c82d
ST
26121 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
26122 protection macro.
26123 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
26124 inclusion protection macro.
26125
f75286c6
ST
26126 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
26127 SIGRTMIN and SIGRTMAX and print information in that case only when
26128 SIGRTMIN is defined.
26129
c1d0e639
JJ
261302011-02-11 Jakub Jelinek <jakub@redhat.com>
26131
26132 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
26133 arginfo fn returning -1.
26134
26135 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
26136 and thousands string is zero terminated.
26137
edf9294e
AS
261382011-02-03 Andreas Schwab <schwab@redhat.com>
26139
26140 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
26141 sysdeps/unix/sysv/linux/bits/socket.h.
26142
2b7e92df
ST
261432011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
26144
edf9294e
AS
26145 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
26146 (__CPU_COUNT): Remove old macros.
26147 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
26148 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
26149 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
26150 (__sched_cpualloc, __sched_cpufree): Add declarations.
26151
a4c7ea7b
UD
261522011-02-05 Ulrich Drepper <drepper@gmail.com>
26153
26154 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
26155 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
26156 * nscd/aicache.c (addhstaiX): Return timeout of added value.
26157 (readdhstai): Return value of addhstaiX call.
26158 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
26159 (addgrbyX): Return value returned by cache_addgr.
26160 (readdgrbyname): Return value returned by addgrbyX.
26161 (readdgrbygid): Likewise.
26162 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
26163 (addpwbyX): Return value returned by cache_addpw.
26164 (readdpwbyname): Return value returned by addhstbyX.
26165 (readdpwbyuid): Likewise.
26166 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
26167 (addservbyX): Return value returned by cache_addserv.
26168 (readdservbyname): Return value returned by addservbyX:
26169 (readdservbyport): Likewise.
26170 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
26171 (addhstbyX): Return value returned by cache_addhst.
26172 (readdhstbyname): Return value returned by addhstbyX.
26173 (readdhstbyaddr): Likewise.
26174 (readdhstbynamev6): Likewise.
26175 (readdhstbyaddrv6): Likewise.
26176 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
26177 (readdinitgroups): Return value returned by addinitgroupsX.
26178 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
26179 (prune_cache): Keep track of timeout value of re-added entries.
26180 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
26181 * nscd/nscd.h: Adjust prototypes of readd* functions.
26182
a0bf67cc
RM
261832011-02-04 Roland McGrath <roland@redhat.com>
26184
26185 * nis/nis_server.c (nis_servstate): Use the right name for 0.
26186 (nis_stats): Likewise.
26187 * nis/nis_modify.c (nis_modify): Likewise.
26188 * nis/nis_remove.c (nis_remove): Likewise.
26189 * nis/nis_add.c (nis_add): Likewise.
26190
26191 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
26192
26193 * posix/fnmatch_loop.c: Add some consts.
26194
26195 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
26196
435b95eb
L
261972011-02-02 H.J. Lu <hongjiu.lu@intel.com>
26198
26199 [BZ #12460]
26200 * config.make.in (config-cflags-novzeroupper): Define.
26201 * configure.in: Substitute libc_cv_cc_novzeroupper.
26202 * elf/Makefile (AVX-CFLAGS): Define.
26203 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
26204 (CFLAGS-tst-auditmod4a.c): Likewise.
26205 (CFLAGS-tst-auditmod4b.c): Likewise.
26206 (CFLAGS-tst-auditmod6b.c): Likewise.
26207 (CFLAGS-tst-auditmod6c.c): Likewise.
26208 (CFLAGS-tst-auditmod7b.c): Likewise.
26209 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
26210
8517b15e
UD
262112011-02-02 Ulrich Drepper <drepper@gmail.com>
26212
26213 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
26214 function to the callback.
26215 Patch partly by Jiri Olsa <jolsa@redhat.com>.
26216
10a656fe
AS
262172011-02-02 Andreas Schwab <schwab@redhat.com>
26218
26219 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
26220 of errno.
26221
968dad0a
UD
262222011-01-19 Ulrich Drepper <drepper@gmail.com>
26223
9f94d2ea 26224 [BZ #11724]
968dad0a
UD
26225 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
26226 of constructors.
26227 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
26228 of destructors.
26229 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
26230
26231 [BZ #11724]
26232 * elf/Makefile: Add rules to build and run new test.
26233 * elf/tst-initorder.c: New file.
26234 * elf/tst-initorder.exp: New file.
26235 * elf/tst-initordera1.c: New file.
26236 * elf/tst-initordera2.c: New file.
26237 * elf/tst-initordera3.c: New file.
26238 * elf/tst-initordera4.c: New file.
26239 * elf/tst-initorderb1.c: New file.
26240 * elf/tst-initorderb2.c: New file.
26241 * elf/tst-order-a1.c: New file.
26242 * elf/tst-order-a2.c: New file.
26243 * elf/tst-order-a3.c: New file.
26244 * elf/tst-order-a4.c: New file.
26245 * elf/tst-order-b1.c: New file.
26246 * elf/tst-order-b2.c: New file.
26247 * elf/tst-order-main.c: New file.
26248 New test case by George Gensure <werkt0@gmail.com>.
26249
86e92359
UD
262502010-10-01 Andreas Schwab <schwab@redhat.com>
26251
26252 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
26253 decoding ACE if AI_CANONIDN.
26254
5d5732b0
UD
262552011-01-18 Ulrich Drepper <drepper@gmail.com>
26256
26257 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
26258
a77e8cbc
UD
262592011-01-17 Ulrich Drepper <drepper@gmail.com>
26260
6392473f
UD
26261 * version.h (RELEASE): Bump for 2.13 release.
26262 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
26263
620a0529
UD
26264 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
26265
18ba70a5
UD
26266 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
26267 MADV_NOHUGEPAGE.
32465c3e
UD
26268 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
26269 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26270 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26271 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26272 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26273 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26274
c0dafcf1
UD
26275 * posix/getconf.c: Update copyright year.
26276 * catgets/gencat.c: Likewise.
26277 * csu/version.c: Likewise.
26278 * debug/catchsegv.sh: Likewise.
26279 * debug/xtrace.sh: Likewise.
26280 * elf/ldconfig.c: Likewise.
26281 * elf/ldd.bash.in: Likewise.
26282 * elf/sprof.c (print_version): Likewise.
26283 * iconv/iconv_prog.c: Likewise.
26284 * iconv/iconvconfig.c: Likewise.
26285 * locale/programs/locale.c: Likewise.
26286 * locale/programs/localedef.c: Likewise.
26287 * malloc/memusage.sh: Likewise.
26288 * malloc/mtrace.pl: Likewise.
26289 * nscd/nscd.c (print_version): Likewise.
26290 * nss/getent.c: Likewise.
26291
a77e8cbc
UD
26292 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
26293 PF_CAIF, and PF_ALG.
26294 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26295
77e8bddf
AS
262962011-01-16 Andreas Schwab <schwab@linux-m68k.org>
26297
1f20b93a
AS
26298 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
26299 (modules-names): Use them.
26300 (ifunc-test-modules, ifunc-pie-tests): Define.
26301 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
26302 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
26303 (test-extras): Likewise.
26304 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
26305 $(compile-command.c).
26306 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
26307 (all-built-dso): Define.
26308 (check-textrel.out, check-execstack.out): Depend on it.
26309
77e8bddf
AS
26310 * configure.in: Don't override --enable-multi-arch.
26311
bc425b33
UD
263122011-01-15 Ulrich Drepper <drepper@gmail.com>
26313
26314 [BZ #6812]
26315 * nscd/hstcache.c (tryagain): Define.
26316 (cache_addhst): Return tryagain not notfound for temporary errors.
26317 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
26318 failed.
26319
794c3ad3
UD
263202011-01-14 Ulrich Drepper <drepper@gmail.com>
26321
70181fdd
UD
26322 [BZ #10563]
26323 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
26324 to make the syscall.
26325 * sysdeps/unix/sysv/linux/setgroups.c: New file.
26326
794c3ad3
UD
26327 [BZ #12378]
26328 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
26329 and fall back to matching as normal character if the string ends before
26330 the matching ']' is found. This is what POSIX requires.
26331 * posix/testfnm.c: Adjust test result.
26332 * posix/globtest.sh: Adjust test result. Add new test.
26333 * posix/tst-fnmatch.input: Likewise.
26334 * posix/tst-fnmatch2.c: Add new test.
26335
68dc9497
AS
263362010-12-28 Andreas Schwab <schwab@linux-m68k.org>
26337
26338 * elf/Makefile (check-execstack): Revert last change. Depend on
26339 check-execstack.h.
26340 (check-execstack.h): New target.
26341 (generated): Add check-execstack.h.
26342 * elf/check-execstack.c: Include "check-execstack.h".
26343 (main): Revert last change.
26344 (handle_file): Return zero if GNU_STACK is absent and
26345 DEFAULT_STACK_PERMS doesn't include PF_X.
26346
451f001b
UD
263472011-01-13 Ulrich Drepper <drepper@gmail.com>
26348
cfa28e56
UD
26349 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
26350 in child fails because the descriptor is already closed.
8cf8ce17
UD
26351 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
26352 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
26353 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 26354
1086d70d
UD
26355 [BZ #12397]
26356 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
26357 syscall.
26358
451f001b
UD
26359 [BZ #10484]
26360 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
26361 temporary buffer used to handle multi lookups locally.
a85b5cb4 26362 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 26363
08769175
UD
263642011-01-12 Ulrich Drepper <drepper@gmail.com>
26365
26366 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
26367 loader is ld.so.
26368
5e49c52e
UD
263692011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
26370
26371 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
26372 alignment for SSE2.
26373
60522a5f
UD
263742011-01-12 Ulrich Drepper <drepper@gmail.com>
26375
26376 [BZ #12394]
26377 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
26378 characters. When rounding increased number of integer digits recompute
26379 number of groups.
26380 * stdio-common/tst-grouping.c: New file.
26381 * stdio-common/Makefile: Add rules to build and run tst-grouping.
26382
f257bbd7
UD
263832011-01-09 Ulrich Drepper <drepper@gmail.com>
26384
26385 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
26386 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
26387
26388 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
26389 void.
26390 * bits/select.h: Likewise.
26391
fa9c15cb
UD
263922011-01-08 Ulrich Drepper <drepper@gmail.com>
26393
26394 * po/ja.po: Update from translation team.
26395
16c2895f
DM
263962011-01-04 David S. Miller <davem@sunset.davemloft.net>
26397
26398 [BZ #11155]
26399 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
26400 implementation just like for lxstat, fxstatat, et al.
26401
2543fef2
JM
264022010-12-27 Jim Meyering <meyering@redhat.com>
26403
26404 [BZ #12348]
26405 * posix/regexec.c (build_trtable): Return failure indication upon
26406 calloc failure. Otherwise, re_search_internal could infloop on OOM.
26407
98727dbe
UD
264082010-12-25 Ulrich Drepper <drepper@gmail.com>
26409
5bd6dc5c
UD
26410 [BZ #12201]
26411 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
26412 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
26413 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
26414 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
26415
97983464
UD
26416 [BZ #12207]
26417 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
26418
98727dbe
UD
26419 [BZ #12204]
26420 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
26421 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
26422
4a531bb0
L
264232010-12-15 H.J. Lu <hongjiu.lu@intel.com>
26424
26425 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
26426 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
26427 script has SORT_BY_INIT_PRIORITY.
26428 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
26429 NO_CTORS_DTORS_SECTIONS is defined.
26430 * elf/soinit.c: Likewise.
26431 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
26432 NO_CTORS_DTORS_SECTIONS is defined.
26433 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
26434 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
26435 * sysdeps/sh/init-first.c: Likewise.
26436 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
26437
07eb4b71
UD
264382010-12-24 Ulrich Drepper <drepper@gmail.com>
26439
26440 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
26441 always use the slow path.
26442
30950a5f
RA
264432010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
26444
26445 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
26446 similar rule which adds the sysdep directories to the header search in
26447 order to pick up the correct platform stackinfo.h.
26448 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
26449 perform test if it is, otherwise return successfully without testing.
26450 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
26451 DEFAULT_STACK_PERMS define in stackinfo.h.
26452 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
26453 defined in stackinfo.h.
26454 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
26455 DEFAULT_STACK_PERMS defined in stackinfo.h.
26456 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
26457 * sysdeps/ia64/stackinfo.h: Likewise.
26458 * sysdeps/s390/stackinfo.h: Likewise.
26459 * sysdeps/sh/stackinfo.h: Likewise.
26460 * sysdeps/sparc/stackinfo.h: Likewise.
26461 * sysdeps/x86_64/stackinfo.h: Likewise.
26462 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
26463 PF_X for powerpc64. Retain PF_X for powerpc32.
26464
db753e2c
UD
264652010-12-19 Ulrich Drepper <drepper@gmail.com>
26466
14b697f7
UD
26467 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
26468 accurately.
db753e2c
UD
26469 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
26470 GETDENTS_64BIT_ALIGNED.
26471
28300719
UD
264722010-12-14 Ulrich Drepper <dreper@gmail.com>
26473
14b697f7 26474 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 26475
4f197237
AS
264762010-12-10 Andreas Schwab <schwab@redhat.com>
26477
dbb0472f
AS
26478 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
26479 _GNU_SOURCE.
26480
4f197237
AS
26481 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
26482 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
26483 Remove __restrict.
26484 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
26485 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
26486
fb88ac72
UD
264872010-12-09 Ulrich Drepper <drepper@gmail.com>
26488
26489 [BZ #11655]
26490 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
26491 are initialized.
26492
42acbb92
JJ
264932010-12-09 Jakub Jelinek <jakub@redhat.com>
26494
26495 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
26496
c038d98d
UD
264972010-12-03 Ulrich Drepper <drepper@gmail.com>
26498
26499 * po/it.po: Update from translation team.
26500
3a4a2499
L
265012010-12-01 H.J. Lu <hongjiu.lu@intel.com>
26502
26503 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
26504 unused codes.
26505
1e24cf6e
UD
265062010-11-30 Ulrich Drepper <drepper@gmail.com>
26507
26508 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
26509
a7690819
AS
265102010-11-24 Andreas Schwab <schwab@redhat.com>
26511
26512 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
26513 specially.
26514 (gaih_getanswer_slice): Likewise.
26515
3bf8d1b1
JJ
265162010-10-20 Jakub Jelinek <jakub@redhat.com>
26517
26518 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
26519
6db52fbb
PB
265202010-05-31 Petr Baudis <pasky@suse.cz>
26521
26522 [BZ #11149]
26523 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
26524 silently even in the chroot mode.
26525
eaca7569
UD
265262010-11-22 Ulrich Drepper <drepper@gmail.com>
26527
26528 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
26529 last patch a bit. Pretty printing
26530
3056dcdb
UD
265312010-05-31 Petr Baudis <pasky@suse.cz>
26532
26533 [BZ #10085]
26534 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
26535 initialization of skip_initgroups_dyn.
26536
cf7c9078
UD
265372010-11-19 Ulrich Drepper <drepper@gmail.com>
26538
26539 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
26540 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
26541
a1fb5e3e
UD
265422010-11-16 Ulrich Drepper <drepper@gmail.com>
26543
26544 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
26545
3540d66b
AS
265462010-11-11 Andreas Schwab <schwab@redhat.com>
26547
26548 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
26549 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
26550 (tst-fnmatch-ENV): Set MALLOC_TRACE.
26551 ($(objpfx)tst-fnmatch-mem): New rule.
26552 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
26553 * posix/tst-fnmatch.c (main): Call mtrace.
26554
13b69574
L
265552010-11-11 H.J. Lu <hongjiu.lu@intel.com>
26556
26557 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26558 Support Intel processor model 6 and model 0x2c.
26559
da93d214
LM
265602010-11-10 Luis Machado <luisgpm@br.ibm.com>
26561
26562 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
26563 signed comparison.
26564
8ca52c6e
L
265652010-11-09 H.J. Lu <hongjiu.lu@intel.com>
26566
26567 [BZ #12205]
26568 * string/test-strncasecmp.c (check_result): New function.
26569 (do_one_test): Use it.
26570 (check1): New function.
26571 (test_main): Use it.
26572 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
26573 Support strcasecmp and strncasecmp.
26574
69da074d
UD
265752010-11-08 Ulrich Drepper <drepper@gmail.com>
26576
26577 [BZ #12194]
26578 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
26579 * sysdeps/x86_64/bits/byteswap.h: Likewise.
26580
ff02d528
L
265812010-11-07 H.J. Lu <hongjiu.lu@intel.com>
26582
26583 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
26584 IFUNC support.
26585 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26586 memset-x86-64.
26587 * sysdeps/x86_64/multiarch/bzero.S: New file.
26588 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
26589 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
26590 * sysdeps/x86_64/multiarch/memset.S: New file.
26591 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
26592 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26593 Set bit_Prefer_SSE_for_memop for Intel processors.
26594 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
26595 Define.
26596 (index_Prefer_SSE_for_memop): Define.
26597 (HAS_PREFER_SSE_FOR_MEMOP): Define.
26598
344d0b54
LM
265992010-11-04 Luis Machado <luisgpm@br.ibm.com>
26600
26601 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
26602 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
26603
c0dde15b
UD
266042010-11-03 H.J. Lu <hongjiu.lu@intel.com>
26605
26606 [BZ #12191]
26607 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26608 (__x86_64_raw_data_cache_size_half): Likewise.
26609 (__x86_64_raw_shared_cache_size): Likewise.
26610 (__x86_64_raw_shared_cache_size_half): Likewise.
26611
26612 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
26613 (__x86_64_raw_data_cache_size_half): Likewise.
26614 (__x86_64_raw_shared_cache_size): Likewise.
26615 (__x86_64_raw_shared_cache_size_half): Likewise.
26616 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
26617 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
26618 and __x86_64_raw_shared_cache_size_half. Round
26619 __x86_64_data_cache_size_half, __x86_64_data_cache_size
26620 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
26621 to multiple of 256 bytes.
26622
0e516e0e
MS
266232010-11-03 Ulrich Drepper <drepper@gmail.com>
26624
26625 [BZ #12167]
26626 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
26627 of inacessible symlinks. Verify result of symlink before returning it.
26628 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26629 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
26630
0e012e87
ER
266312010-10-28 Erich Ritz <erichritz@gmail.com>
26632
26633 * math/math.h (isinf): Fix typo in comment.
26634
de0ff7bc
UD
266352010-11-01 Ulrich Drepper <drepper@gmail.com>
26636
26637 * po/da.po: Update from translation team.
26638
fa41c84d
UD
266392010-10-26 Ulrich Drepper <drepper@gmail.com>
26640
26641 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
26642 is added to the list.
26643
f0967738
AK
266442010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26645 Ulrich Drepper <drepper@gmail.com>
26646
26647 * elf/dl-object.c (_dl_new_object): Don't append the new object to
26648 the global list here. Move code to...
26649 (_dl_add_to_namespace_list): ...here. New function.
26650 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
26651 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
26652 * elf/dl-load.c (lose): Don't remove the element from the list.
26653 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
26654 (_dl_map_object): Likewise.
26655
266562010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
26657
26658 [BZ #12159]
26659 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
26660 into all bytes of SSE register.
26661 Patch by Richard Li <richardpku@gmail.com>.
26662
f0967738 266632010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
26664
26665 [BZ #12140]
26666 * malloc/malloc.c (_int_free): Fill correct number of bytes when
26667 perturbing.
26668
d0b9e94f
MB
266692010-10-20 Michael B. Brutman <brutman@us.ibm.com>
26670
26671 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
26672 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
26673 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
26674 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
26675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
26676 submachine.
26677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
26678
8e9f92e9
AS
266792010-10-22 Andreas Schwab <schwab@redhat.com>
26680
26681 * include/dlfcn.h (__RTLD_SECURE): Define.
26682 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
26683 mode & __RTLD_SECURE instead.
26684 (open_path): Rename preloaded parameter to secure.
26685 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
26686 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
26687 * elf/dl-deps.c (openaux): Likewise.
26688 * elf/rtld.c (struct map_args): Remove is_preloaded.
26689 (map_doit): Don't use it.
26690 (dl_main): Likewise.
26691 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
26692 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
26693
bc96fbda
AS
266942010-09-09 Andreas Schwab <schwab@redhat.com>
26695
26696 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
26697 (sysd-rules-targets): Remove duplicates.
26698 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
26699 rtld-%.$o dependency.
26700
22cd1c9b
AS
267012010-10-18 Andreas Schwab <schwab@redhat.com>
26702
26703 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
26704 _dl_map_object do it.
26705
18edac48
UD
267062010-10-19 Ulrich Drepper <drepper@gmail.com>
26707
26708 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
26709 fast fma builtins, define the macros in the C99 standard.
26710 (FP_FAST_FMAF): Likewise.
26711 (FP_FAST_FMAL): Likewise.
26712 * sysdeps/x86_64/bits/mathdef.h: Likewise.
26713
26714 * bits/mathdef.h: Update copyright year.
26715 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26716
d2050124
MM
267172010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
26718
26719 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
26720 builtins, define the macros in the C99 standard.
26721 (FP_FAST_FMAF): Likewise.
26722 (FP_FAST_FMAL): Likewise.
26723 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
26724 multiply/add.
26725 (FP_FAST_FMAF): Likewise.
26726
475facd1
JJ
267272010-10-15 Jakub Jelinek <jakub@redhat.com>
26728
26729 [BZ #3268]
26730 * math/libm-test.inc (fma_test): Some new testcases.
26731 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
26732 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
26733 y and infinite z. Do multiplication by C already in long double.
26734 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
26735 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
26736 y and infinite z. Do bitwise or of inexact bit into u.d.
26737 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
26738 * sysdeps/i386/fpu/s_fmaf.S: Removed.
26739 * sysdeps/i386/fpu/s_fma.S: Removed.
26740 * sysdeps/i386/fpu/s_fmal.S: Removed.
26741
7c08a05c
JJ
267422010-10-16 Jakub Jelinek <jakub@redhat.com>
26743
26744 [BZ #3268]
26745 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
26746 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
26747 computation is not scheduled after fetestexcept. Fix value
26748 of minimum denormal long double.
26749
f3f7372d
JJ
267502010-10-14 Jakub Jelinek <jakub@redhat.com>
26751
26752 [BZ #3268]
26753 * math/libm-test.inc (fma_test): Add some more tests.
26754 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
26755 correctly.
26756
14d43591
AS
267572010-10-15 Andreas Schwab <schwab@redhat.com>
26758
26759 * scripts/data/localplt-s390-linux-gnu.data: New file.
26760 * scripts/data/localplt-s390x-linux-gnu.data: New file.
26761
5e908464
JJ
267622010-10-13 Jakub Jelinek <jakub@redhat.com>
26763
26764 [BZ #3268]
26765 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
26766 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
26767 instead of dbl-64.
26768 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
26769 inlines.
26770 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
26771 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
26772 if one of x and y is very large and the other is subnormal.
26773 * sysdeps/s390/fpu/s_fmaf.c: New file.
26774 * sysdeps/s390/fpu/s_fma.c: New file.
26775 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
26776 * sysdeps/powerpc/fpu/s_fma.S: New file.
26777 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
26778 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
26779 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
26780
267812010-10-12 Jakub Jelinek <jakub@redhat.com>
26782
26783 [BZ #3268]
26784 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
26785 fma tests.
26786 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
26787 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
26788 * sysdeps/i386/i686/multiarch/s_fma.c: Include
26789 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
26790 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
26791 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
26792 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
26793
b833d51f
UD
267942010-10-12 Ulrich Drepper <drepper@redhat.com>
26795
26796 [BZ #12078]
26797 * posix/regcomp.c (parse_branch): One more memory leak plugged.
26798 * posix/bug-regex31.input: Add test case.
26799
1751705d
UD
268002010-10-11 Ulrich Drepper <drepper@gmail.com>
26801
e9b9cbf5
UD
26802 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
26803 * posix/bug-regex31.input: New file.
26804
26805 [BZ #12078]
26806 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
26807 (parse_sub_exp): Fix last change, use postorder.
26808
ef06edbe
UD
26809 * posix/bug-regex31.c: New file.
26810 * posix/Makefile: Add rules to build and run bug-regex31.
26811
a129c80d
UD
26812 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
26813
26814 [BZ #12078]
26815 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
26816
b76b818e
UD
26817 [BZ #12108]
26818 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
26819 to have entries in sys_siglist.
26820
1751705d
UD
26821 [BZ #12093]
26822 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
26823 be NULL.
26824
9ff8d36f
JJ
268252010-10-07 Jakub Jelinek <jakub@redhat.com>
26826
26827 [BZ #3268]
26828 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
26829 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
26830 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
26831 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
26832 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26833 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
26834 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
26835 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
26836 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
26837 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
26838 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
26839 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
26840 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26841 * math/ftestexcept.c (fetestexcept): Likewise.
26842 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
26843 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
26844 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
26845 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
26846 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
26847 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
26848 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26849
af325969
UD
268502010-10-11 Ulrich Drepper <drepper@gmail.com>
26851
c579b202 26852 [BZ #12107]
af325969
UD
26853 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
26854 newline.
26855
67a67b95
UD
268562010-10-06 Ulrich Drepper <drepper@gmail.com>
26857
26858 * string/bug-strstr1.c: New file.
26859 * string/Makefile: Add rules to build and run bug-strstr1.
26860
5fb308bc
EB
268612010-10-05 Eric Blake <eblake@redhat.com>
26862
26863 [BZ #12092]
26864 * string/str-two-way.h (two_way_long_needle): Always clear memory
26865 when skipping input due to the shift table.
26866
45db99c7
UD
268672010-10-03 Ulrich Drepper <drepper@gmail.com>
26868
3b111893
UD
26869 [BZ #12005]
26870 * malloc/mcheck.c: Handle large requests.
26871
45db99c7
UD
26872 [BZ #12077]
26873 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
26874 for strncmp and strncasecmp.
26875 * string/stratcliff.c: Add tests for strcmp and strncmp.
26876 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
26877
cf7a1eb8
NI
268782010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26879
26880 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
26881 __set_fpscr.
26882
6484ba5e
AJ
268832010-09-30 Andreas Jaeger <aj@suse.de>
26884
26885 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
26886 (CGROUP_SUPER_MAGIC): Define.
26887 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26888 Handle btrfs and cgroup file systems.
26889 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26890 Likewise.
26891
91c42559
LM
268922010-09-27 Luis Machado <luisgpm@br.ibm.com>
26893
26894 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
26895 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
26896
87a97932
AK
268972010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26898
26899 [BZ #12067]
26900 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
26901 trying to locate the ELF header.
26902
c21cc9bc
AS
269032010-09-27 Andreas Schwab <schwab@redhat.com>
26904
26905 [BZ #11611]
26906 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
26907 Mask out sign-bit copies when constructing f_fsid.
26908
315970f6
PB
269092010-09-24 Petr Baudis <pasky@suse.cz>
26910
26911 * debug/stack_chk_fail_local.c: Add missing licence exception.
26912 * debug/warning-nop.c: Likewise.
26913
1ac7a2c7
JM
269142010-09-15 Joseph Myers <joseph@codesourcery.com>
26915
26916 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
26917 implementing getdents64 using getdents syscall, set d_type if
26918 __ASSUME_GETDENTS32_D_TYPE.
26919
56801c50
AS
269202010-09-16 Andreas Schwab <schwab@redhat.com>
26921
26922 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
26923 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
26924
dda51327
UD
269252010-09-21 Ulrich Drepper <drepper@redhat.com>
26926
26927 [BZ #12037]
26928 * posix/unistd.h: Undo change of feature selection for ftruncate from
26929 2010-01-11.
26930
8ffcee4a
UD
269312010-09-20 Ulrich Drepper <drepper@redhat.com>
26932
a545ecd9 26933 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
26934 detection.
26935
e24f0a8b
AS
269362010-09-20 Andreas Schwab <schwab@redhat.com>
26937
26938 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
26939 fanotify_mark.
26940 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
26941
7291c56f
AS
269422010-09-14 Andreas Schwab <schwab@redhat.com>
26943
26944 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
26945 variables after CHECK_SP call.
26946 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
26947
bc5fb037
AS
269482010-09-13 Andreas Schwab <schwab@redhat.com>
26949 Ulrich Drepper <drepper@redhat.com>
26950
26951 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
26952 re-relocationg ld.so.
26953 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
26954 _dl_init_paths call.
26955 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
26956 here anymore.
26957
e66e7419
UD
269582010-09-14 Ulrich Drepper <drepper@redhat.com>
26959
26960 * resolv/res_init.c (__res_vinit): Count the default server we added.
26961
c044aa75
CLT
269622010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
26963 Ulrich Drepper <drepper@redhat.com>
26964
26965 [BZ #11968]
26966 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
26967 (____longjmp_chk): Use %ebx for saving value across system call.
26968 Add unwind info.
26969
32cf4069
AS
269702010-09-06 Andreas Schwab <schwab@redhat.com>
26971
26972 * manual/Makefile: Don't mix pattern rules with normal rules.
26973
817328ee
AS
269742010-09-05 Andreas Schwab <schwab@linux-m68k.org>
26975
26976 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
26977 operation.
26978 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
26979 * libio/iofopncook.c (_IO_cookie_init): Likewise.
26980 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
26981 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26982 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26983 Likewise.
26984
29fddf61
UD
269852010-09-04 Ulrich Drepper <drepper@redhat.com>
26986
26987 [BZ #11979]
26988 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
26989 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
26990
0959ffc9
UD
269912010-09-02 Ulrich Drepper <drepper@redhat.com>
26992
26993 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
26994 * sysdeps/x86_64/addmul_1.S: Likewise.
26995 * sysdeps/x86_64/lshift.S: Likewise.
26996 * sysdeps/x86_64/mul_1.S: Likewise.
26997 * sysdeps/x86_64/rshift.S: Likewise.
26998 * sysdeps/x86_64/sub_n.S: Likewise.
26999 * sysdeps/x86_64/submul_1.S: Likewise.
27000
ece29840
ST
270012010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
27002
0959ffc9
UD
27003 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
27004 Define __sched_param instead of SCHED_* and sched_param when
ece29840 27005 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 27006 * bits/sched.h [__need_schedparam]
ece29840 27007 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
27008 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
27009 (__defined_schedparam): Define to 1.
ece29840
ST
27010 (__sched_param): New structure, identical to sched_param.
27011 (__need_schedparam): Undefine.
27012
e53a31fe
MF
270132010-08-31 Mike Frysinger <vapier@gentoo.org>
27014
fdc0c10d
MF
27015 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
27016 (epoll_create1): Declare.
27017
e53a31fe
MF
27018 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
27019
a726d796
AS
270202010-08-31 Andreas Schwab <schwab@redhat.com>
27021
27022 [BZ #7066]
27023 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
27024 shifting retval into place.
27025
2f3e3dc7
UD
270262010-09-01 Ulrich Drepper <drepper@redhat.com>
27027
f2933da9
UD
27028 * nis/rpcsvc/nis.h: Update copyright notice.
27029 * nis/rpcsvc/nis.x: Likewise.
27030 * nis/rpcsvc/nis_callback.h: Likewise.
27031 * nis/rpcsvc/nis_callback.x: Likewise.
27032 * nis/rpcsvc/nis_object.x: Likewise.
27033 * nis/rpcsvc/nis_tags.h: Likewise.
27034 * nis/rpcsvc/yp.h: Likewise.
27035 * nis/rpcsvc/yp.x: Likewise.
27036 * nis/rpcsvc/ypupd.h: Likewise.
27037 * nis/yp_xdr.c: Likewise.
27038 * nis/ypupdate_xdr.c: Likewise.
27039
2f3e3dc7
UD
27040 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
27041 mainly the body of pmap_getport. Add parameters to specify timeouts.
27042 (pmap_getport): Use __libc_rpc_getport.
27043 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
27044 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
27045 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
27046
f3dcc2f9
AS
270472010-08-31 Andreas Schwab <schwab@linux-m68k.org>
27048
27049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
27050 fanotify_mark.
27051
6d34eb5b
RM
270522010-08-27 Roland McGrath <roland@redhat.com>
27053
27054 * sysdeps/i386/i686/multiarch/Makefile
27055 (CFLAGS-varshift.c): New variable.
27056
9ea3de11
UD
270572010-08-27 Ulrich Drepper <drepper@redhat.com>
27058
c96d23fc
UD
27059 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
27060 * sysdeps/i386/i686/multiarch/varshift.c: New file.
27061
9ea3de11
UD
27062 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
27063
27064 * sysdeps/x86_64/strlen.S: Minimal code improvement.
27065
623aac7f
L
270662010-08-26 H.J. Lu <hongjiu.lu@intel.com>
27067
27068 * sysdeps/x86_64/strlen.S: Unroll the loop.
27069 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27070 strlen-sse2 strlen-sse2-bsf.
27071 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
27072 __strlen_no_bsf if bit_Slow_BSF is set.
27073 (__strlen_sse42): Removed.
27074 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
27075 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
27076
8b2b7715
RM
270772010-08-25 Roland McGrath <roland@redhat.com>
27078
27079 * sysdeps/x86_64/multiarch/varshift.S: File removed.
27080 * sysdeps/x86_64/multiarch/varshift.c: New file.
27081 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
27082 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
27083 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
27084 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27085
e73015f2
L
270862010-08-25 H.J. Lu <hongjiu.lu@intel.com>
27087
27088 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27089 strlen-sse2 strlen-sse2-bsf.
27090 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
27091 __strlen_sse2_bsf if bit_Slow_BSF is unset.
27092 (__strlen_sse2): Removed.
27093 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
27094 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
27095 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
27096 bit_Slow_BSF for Atom.
27097 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
27098 (index_Slow_BSF): Define.
27099 (HAS_SLOW_BSF): Define.
27100
df24a73e
UD
271012010-08-25 Ulrich Drepper <drepper@redhat.com>
27102
27103 [BZ #10851]
27104 * resolv/res_init.c (__res_vinit): When no server address at all
27105 is given default to loopback.
27106
f2ac4868
RM
271072010-08-24 Roland McGrath <roland@redhat.com>
27108
09055553
RM
27109 * configure.in: Remove config-name.h generation.
27110 * configure: Regenerated.
27111 * config-name.in: File removed.
27112 * scripts/config-uname.sh: New file.
27113 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
27114 ($(objdir)config-name.h): New target.
27115
f2ac4868
RM
27116 * sunrpc/rpc_parse.h: Avoid nested comment.
27117
73f27d5e
RH
271182010-08-24 Richard Henderson <rth@redhat.com>
27119 Ulrich Drepper <drepper@redhat.com>
27120 H.J. Lu <hongjiu.lu@intel.com>
27121
27122 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
27123 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
27124 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
27125 Replace _mm_srli_si128 with __m128i_shift_right. Replace
27126 _mm_alignr_epi8 with _mm_loadu_si128.
27127 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
27128 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
27129 (__m128i_shift_right): Removed.
27130 * sysdeps/i386/i686/multiarch/varshift.h: New file.
27131 * sysdeps/i386/i686/multiarch/varshift.S: New file.
27132 * sysdeps/x86_64/multiarch/varshift.h: New file.
27133 * sysdeps/x86_64/multiarch/varshift.S: New file.
27134
84b9230c
MF
271352010-08-21 Mike Frysinger <vapier@gentoo.org>
27136
27137 * configure.in: Move assembler checks to before sysdep dir checking.
27138
9bbd0ddc
PB
271392010-08-20 Petr Baudis <pasky@suse.cz>
27140
27141 * LICENSES: Sync the sunrpc license.
27142
9da4bb31
UD
271432010-08-19 Ulrich Drepper <drepper@redhat.com>
27144
a7ab6ec8
UD
27145 * sunrpc/auth_des.c: Update copyright notice once again.
27146 * sunrpc/auth_none.c: Likewise.
27147 * sunrpc/auth_unix.c: Likewise.
27148 * sunrpc/authdes_prot.c: Likewise.
27149 * sunrpc/authuxprot.c: Likewise.
27150 * sunrpc/bindrsvprt.c: Likewise.
27151 * sunrpc/clnt_gen.c: Likewise.
27152 * sunrpc/clnt_perr.c: Likewise.
27153 * sunrpc/clnt_raw.c: Likewise.
27154 * sunrpc/clnt_simp.c: Likewise.
27155 * sunrpc/clnt_tcp.c: Likewise.
27156 * sunrpc/clnt_udp.c: Likewise.
27157 * sunrpc/clnt_unix.c: Likewise.
27158 * sunrpc/des_crypt.c: Likewise.
27159 * sunrpc/des_soft.c: Likewise.
27160 * sunrpc/get_myaddr.c: Likewise.
27161 * sunrpc/getrpcport.c: Likewise.
27162 * sunrpc/key_call.c: Likewise.
27163 * sunrpc/key_prot.c: Likewise.
27164 * sunrpc/openchild.c: Likewise.
27165 * sunrpc/pm_getmaps.c: Likewise.
27166 * sunrpc/pm_getport.c: Likewise.
27167 * sunrpc/pmap_clnt.c: Likewise.
27168 * sunrpc/pmap_prot.c: Likewise.
27169 * sunrpc/pmap_prot2.c: Likewise.
27170 * sunrpc/pmap_rmt.c: Likewise.
27171 * sunrpc/rpc/auth.h: Likewise.
27172 * sunrpc/rpc/auth_unix.h: Likewise.
27173 * sunrpc/rpc/clnt.h: Likewise.
27174 * sunrpc/rpc/des_crypt.h: Likewise.
27175 * sunrpc/rpc/key_prot.h: Likewise.
27176 * sunrpc/rpc/netdb.h: Likewise.
27177 * sunrpc/rpc/pmap_clnt.h: Likewise.
27178 * sunrpc/rpc/pmap_prot.h: Likewise.
27179 * sunrpc/rpc/pmap_rmt.h: Likewise.
27180 * sunrpc/rpc/rpc.h: Likewise.
27181 * sunrpc/rpc/rpc_des.h: Likewise.
27182 * sunrpc/rpc/rpc_msg.h: Likewise.
27183 * sunrpc/rpc/svc.h: Likewise.
27184 * sunrpc/rpc/svc_auth.h: Likewise.
27185 * sunrpc/rpc/types.h: Likewise.
27186 * sunrpc/rpc/xdr.h: Likewise.
27187 * sunrpc/rpc_clntout.c: Likewise.
27188 * sunrpc/rpc_cmsg.c: Likewise.
27189 * sunrpc/rpc_common.c: Likewise.
27190 * sunrpc/rpc_cout.c: Likewise.
27191 * sunrpc/rpc_dtable.c: Likewise.
27192 * sunrpc/rpc_hout.c: Likewise.
27193 * sunrpc/rpc_main.c: Likewise.
27194 * sunrpc/rpc_parse.c: Likewise.
27195 * sunrpc/rpc_parse.h: Likewise.
27196 * sunrpc/rpc_prot.c: Likewise.
27197 * sunrpc/rpc_sample.c: Likewise.
27198 * sunrpc/rpc_scan.c: Likewise.
27199 * sunrpc/rpc_scan.h: Likewise.
27200 * sunrpc/rpc_svcout.c: Likewise.
27201 * sunrpc/rpc_tblout.c: Likewise.
27202 * sunrpc/rpc_util.c: Likewise.
27203 * sunrpc/rpc_util.h: Likewise.
27204 * sunrpc/rpcinfo.c: Likewise.
27205 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
27206 * sunrpc/rpcsvc/key_prot.x: Likewise.
27207 * sunrpc/rpcsvc/klm_prot.x: Likewise.
27208 * sunrpc/rpcsvc/mount.x: Likewise.
27209 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
27210 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
27211 * sunrpc/rpcsvc/rex.x: Likewise.
27212 * sunrpc/rpcsvc/rstat.x: Likewise.
27213 * sunrpc/rpcsvc/rusers.x: Likewise.
27214 * sunrpc/rpcsvc/sm_inter.x: Likewise.
27215 * sunrpc/rpcsvc/spray.x: Likewise.
27216 * sunrpc/rpcsvc/yppasswd.x: Likewise.
27217 * sunrpc/rtime.c: Likewise.
27218 * sunrpc/svc.c: Likewise.
27219 * sunrpc/svc_auth.c: Likewise.
27220 * sunrpc/svc_authux.c: Likewise.
27221 * sunrpc/svc_raw.c: Likewise.
27222 * sunrpc/svc_run.c: Likewise.
27223 * sunrpc/svc_simple.c: Likewise.
27224 * sunrpc/svc_tcp.c: Likewise.
27225 * sunrpc/svc_udp.c: Likewise.
27226 * sunrpc/svc_unix.c: Likewise.
27227 * sunrpc/svcauth_des.c: Likewise.
27228 * sunrpc/xcrypt.c: Likewise.
27229 * sunrpc/xdr.c: Likewise.
27230 * sunrpc/xdr_array.c: Likewise.
27231 * sunrpc/xdr_float.c: Likewise.
27232 * sunrpc/xdr_mem.c: Likewise.
27233 * sunrpc/xdr_rec.c: Likewise.
27234 * sunrpc/xdr_ref.c: Likewise.
27235 * sunrpc/xdr_sizeof.c: Likewise.
27236 * sunrpc/xdr_stdio.c: Likewise.
27237
9da4bb31
UD
27238 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
27239 handling.
27240
bdaa77bc
AS
272412010-08-19 Andreas Schwab <schwab@redhat.com>
27242
27243 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
27244
fe2f79db
LM
272452010-08-19 Luis Machado <luisgpm@br.ibm.com>
27246
27247 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
27248 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
27249 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
27250 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
27251 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
27252 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
27253 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
27254 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
27255 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
27256 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
27257 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
27258 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
27259 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
27260 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
27261
b9b42ee0
AB
272622010-07-26 Anton Blanchard <anton@samba.org>
27263
27264 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
27265 * malloc/arena.c (heap_trim): Likewise.
27266
1c06ba31
UD
272672010-08-16 Ulrich Drepper <drepper@redhat.com>
27268
27269 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
27270 here. Not...
27271 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
27272 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
27273
f8392f40
L
272742010-08-12 H.J. Lu <hongjiu.lu@intel.com>
27275
27276 * sysdeps/i386/elf/Makefile: New file.
27277
3162f12e
AS
272782010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27279
27280 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
27281 from fanotify_init.
27282 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
27283 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27284
28c90b2c
UD
272852010-08-15 Ulrich Drepper <drepper@redhat.com>
27286
27287 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
27288 of strncasecmp_l.
1feccb6c 27289 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 27290
ca6bb004
UD
272912010-08-14 Ulrich Drepper <drepper@redhat.com>
27292
e9f82e0d
UD
27293 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27294 strncase_l-nonascii.
27295 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27296 Add strncase_l-ssse3.
27297 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
27298 * sysdeps/x86_64/strcmp.S: Likewise.
27299 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
27300 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
27301 * sysdeps/x86_64/strncase.S: New file.
27302 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
27303 * sysdeps/x86_64/strncase_l.S: New file.
27304 * string/Makefile (strop-tests): Add strncasecmp.
27305 * string/test-strncasecmp.c: New file.
27306
27307 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
27308 warning.
27309
ca6bb004
UD
27310 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
27311 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
27312
052fa7b3
AS
273132010-08-14 Andreas Schwab <schwab@linux-m68k.org>
27314
27315 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
27316
962dba78
UD
273172010-08-12 Ulrich Drepper <drepper@redhat.com>
27318
27319 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
27320 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
27321 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
27322
bebff237
AM
273232010-05-01 Alan Modra <amodra@gmail.com>
27324
27325 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
27326 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
27327 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
27328 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
27329 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
27330 tidying. Don't tail-call __sigjmp_save for static lib.
27331 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
27332 save location.
27333 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
27334 (CALL_MCOUNT): Add eh info, and nop after bl.
27335 (TAIL_CALL_SYSCALL_ERROR): New macro.
27336 (PSEUDO_RET): Use it.
27337 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
27338 Correct save location of integer regs and cr.
27339 (_dl_profile_resolve): Correct cr save location. Delete nops
27340 after bl when SHARED. Reduce cfi size a little by better
27341 placement of cfi directives.
27342 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
27343 make a stack frame. Instead use parm save area as a temp.
27344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
27345 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
27346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
27347 Don't make a stack frame for parent, use parm save area.
27348 Increase child stack frame to 112 bytes. Don't save unused reg,
27349 and adjust reg usage. Set up cfi on error recovery and
27350 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
27351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27352 (__makecontext): Add dummy nop after jump to exit.
27353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
27354 Use correct parm save area and cr save, reduce stack frame.
27355 Correct cfi for possible PSEUDO_RET frame setup.
27356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
27357 Branch to local label emitted by PSEUDO_RET rather than
27358 __syscall_error.
27359
02637374
AS
273602010-08-12 Andreas Schwab <schwab@redhat.com>
27361
27362 [BZ #11904]
27363 * locale/programs/locale.c (print_assignment): New function.
27364 (show_locale_vars): Use it.
27365
c3e2f19b
UD
273662010-08-11 Ulrich Drepper <drepper@redhat.com>
27367
3cdaa6ad
UD
27368 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
27369 field.
27370 (struct statfs64): Likewise.
27371 (_STATFS_F_FLAGS): Define.
27372 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
27373 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
27374 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
27375 (ST_VALID): Define locally.
27376 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
27377 __statvfs_getflags, use the provided value.
27378 * sysdeps/unix/sysv/linux/kernel-features.h: Define
27379 __ASSUME_STATFS_F_FLAGS.
27380
754f7da3
UD
27381 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
27382
10b3bedc
UD
27383 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
27384 Add sys/fanotify.h.
27385 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
27386 fanotify_mask for GLIBC_2.13.
27387 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
27388 fanotify_init and fanotify_mark.
27389 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
27390 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
27391
c08fb0d7
UD
27392 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
27393 Add prlimit.
27394 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
27395 prlimit64 for GLIBC_2.13.
27396 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
27397 prlimit64.
27398 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
27399 syscall.
27400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
27401 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
27402 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
27403 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
27404 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
27405 add prlimit alias.
27406 * sysdeps/unix/sysv/linux/prlimit.c: New file.
27407
15bac72b
UD
27408 [BZ #11903]
27409 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
27410 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
27411
c3e2f19b
UD
27412 * nss/Makefile: Add rules to build and run tst-nss-test1.
27413 * shlib-versions: Add entry for libnss_test1.
27414 * nss/nss_test1.c: New file.
27415 * nss/tst-nss-test1.c: New file.
27416
27417 * nss/nsswitch.c (__nss_database_custom): Define new variable.
27418 (__nss_configure_lookup): Set appropriate entry in
27419 __nss_configure_lookup to true.
27420 * nss/nsswitch.h: Define enum with indeces of databases in
27421 databases and __nss_database_custom arrays. Declare
27422 __nss_database_custom.
27423 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
27424 to avoid using nscd when custom rules are installed.
27425 * nss/getXXbyYY_r.c: Likewise.
27426 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27427
27428 * nss/nss_files/files-parse.c: Whitespace fixes.
27429
f15ce4d8
UD
274302010-08-09 Ulrich Drepper <drepper@redhat.com>
27431
27432 [BZ #11883]
27433 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
27434 * posix/fnmatch_loop.c: Likewise.
27435
d22e4cc9
AK
274362010-07-17 Andi Kleen <ak@linux.intel.com>
27437
27438 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
27439 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
27440 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
27441 * Versions.def [GLIBC_2.13]: Add.
27442
805bc17d
UD
274432010-08-06 Ulrich Drepper <drepper@redhat.com>
27444
27445 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27446 Also fail if tpwd after pwuid call is NULL.
27447
5a42321d
ST
274482010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
27449
27450 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
27451 when converting to ms.
27452
fd3ebeda
ST
274532010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27454
27455 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
27456 EOPNOTSUPP errors with ENOTTY.
27457 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
27458 EOPNOTSUPP errors with ENOTTY.
27459
73507d3a
UD
274602010-07-31 Ulrich Drepper <drepper@redhat.com>
27461
27462 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
27463 Add strcasecmp_l-ssse3.
27464 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
27465 strcasecmp.
27466 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
27467 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
27468 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
27469
fe36dd02
UD
274702010-07-30 Ulrich Drepper <drepper@redhat.com>
27471
66f6765a
UD
27472 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
27473
42e08a54
UD
27474 * string/Makefile (strop-tests): Add strcasecmp.
27475 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
27476 strcasecmp_l-nonascii.
27477 (gen-as-const-headers): Add locale-defines.sym.
27478 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
27479 * sysdeps/x86_64/strcasecmp.S: New file.
27480 * sysdeps/x86_64/strcasecmp_l.S: New file.
27481 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
27482 * sysdeps/x86_64/locale-defines.sym: New file.
27483 * string/test-strcasecmp.c: New file.
27484
fe36dd02
UD
27485 * string/test-strcasestr.c: Test both ends of the range of characters.
27486 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
27487
48cbc0d6
RM
274882010-07-29 Roland McGrath <roland@redhat.com>
27489
76e6d6bc 27490 [BZ #11856]
48cbc0d6
RM
27491 * manual/locale.texi (Yes-or-No Questions): Fix example code.
27492
880113d9
UD
274932010-07-27 Ulrich Drepper <drepper@redhat.com>
27494
27495 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
27496 for ld.so.
27497
deb9cabb
AS
274982010-07-27 Andreas Schwab <schwab@redhat.com>
27499
27500 * manual/memory.texi (Malloc Tunable Parameters): Document
27501 M_PERTURB.
27502
1c7570ff
RM
275032010-07-26 Roland McGrath <roland@redhat.com>
27504
27505 [BZ #11840]
27506 * configure.in (-fgnu89-inline check): Set and substitute
27507 gnu89_inline, not libc_cv_gnu89_inline.
27508 * configure: Regenerated.
27509 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
27510
24fb0f88
UD
275112010-07-26 Ulrich Drepper <drepper@redhat.com>
27512
27513 * string/test-strnlen.c: New file.
27514 * string/Makefile (strop-tests): Add strnlen.
27515 * string/tester.c (test_strnlen): Add a few more test cases.
27516 * string/tst-strlen.c: Better error reporting.
27517
27518 * sysdeps/x86_64/strnlen.S: New file.
27519
8e96b93a
UD
275202010-07-24 Ulrich Drepper <drepper@redhat.com>
27521
27522 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
27523 lower-latency instructions.
27524
dbc676d4
UD
275252010-07-23 Ulrich Drepper <drepper@redhat.com>
27526
27527 * string/test-strcasestr.c: New file.
27528 * string/test-strstr.c: New file.
27529 * string/Makefile (strop-tests): Add strstr and strcasestr.
27530 * string/str-two-way.h: Don't undefine MAX.
27531 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
27532
f6a31e0e
AS
275332010-07-21 Andreas Schwab <schwab@redhat.com>
27534
27535 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27536 strcasestr-nonascii.
27537 (CFLAGS-strcasestr-nonascii.c): Define.
27538 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
27539 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
27540 Remove unused attribute.
27541
5dbc3b6c
RM
275422010-07-20 Roland McGrath <roland@redhat.com>
27543
27544 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
27545 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
27546 ld.so.cache was broken. With it, there is no way to disable dsocaps
27547 like LD_HWCAP_MASK can disable hwcaps.
27548
23d101d8
EPM
275492010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27550
27551 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
27552
cc9f2e47
UD
275532010-07-16 Ulrich Drepper <drepper@redhat.com>
27554
27555 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
27556 call in strcasestr.
27557 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
27558 __strcasestr_sse42_nonascii.
27559 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
27560 strcasestr-nonascii.c.
27561 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
27562
77c1b069
LM
275632010-06-15 Luis Machado <luisgpm@br.ibm.com>
27564
27565 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
27566 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
27567 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
27568 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
27569
440566c3
UD
275702010-07-09 Ulrich Drepper <drepper@redhat.com>
27571
27572 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
27573 fcntl.
27574
5be9d05d
AS
275752010-07-06 Andreas Schwab <schwab@redhat.com>
27576
c30b7ee2 27577 [BZ #11577]
5be9d05d
AS
27578 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
27579 dl_signal_cerror.
27580
8a492a67
UD
275812010-07-06 Ulrich Drepper <drepper@redhat.com>
27582
27583 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
27584 _PC_PIPE_BUF using F_GETPIPE_SZ.
27585
713df3d5
RM
275862010-07-05 Roland McGrath <roland@redhat.com>
27587
27588 * manual/arith.texi (Rounding Functions): Fix rint description
27589 implicit in round description.
27590
702e8f14
UD
275912010-07-02 Ulrich Drepper <drepper@redhat.com>
27592
27593 * elf/Makefile: Fix linking for a few tests to make recent linker
27594 happy.
27595
52ed8be9
AS
275962010-06-30 Andreas Schwab <schwab@redhat.com>
27597
27598 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27599 $(common-objpfx)libc_nonshared.a.
27600
f47c9a11
LM
276012010-06-21 Luis Machado <luisgpm@br.ibm.com>
27602
27603 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
27604 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
27605 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27606 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27607 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
27608 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
27609 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27610 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
27612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
27613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
27614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
27615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
27616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
27617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
27618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
27619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
27620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
27621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
27622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
27623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
27624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
27625 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
27626 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
27627 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
27628 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
27629 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
27630 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
27631 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
27632 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
27633 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
27634 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
27635 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
27636 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
27637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
27638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
27639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
27640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
27641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
27642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
27643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
27644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
27645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
27646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
27647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
27648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
27649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
27650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
27651
6fb8cbcb
L
276522010-06-25 H.J. Lu <hongjiu.lu@intel.com>
27653
27654 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
27655 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
27656 * string/memmove.c (memmove): Renamed to ...
27657 (MEMMOVE): ...this. Default to memmove.
27658 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
27659 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
27660 (END_CHK): Define.
27661 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27662 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
27663 mempcpy-ssse3-back memmove-ssse3-back.
27664 * sysdeps/x86_64/multiarch/bcopy.S: New file .
27665 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
27666 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
27667 * sysdeps/x86_64/multiarch/memcpy.S: New file.
27668 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
27669 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
27670 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
27671 * sysdeps/x86_64/multiarch/memmove.c: New file.
27672 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
27673 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
27674 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
27675 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
27676 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
27677 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
27678 Define.
27679 (index_Fast_Copy_Backward): Define.
27680 (HAS_ARCH_FEATURE): Define.
27681 (HAS_FAST_REP_STRING): Define.
27682 (HAS_FAST_COPY_BACKWARD): Define.
27683
4e733bac 276842010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
27685
27686 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27687 Restore proper fallback handling.
27688
63c4ed22
UD
276892010-06-19 Ulrich Drepper <drepper@redhat.com>
27690
ac2b484c
UD
27691 [BZ #11701]
27692 * posix/group_member.c (__group_member): Correct checking loop.
27693
63c4ed22
UD
27694 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
27695 OOM in getpwuid_r correctly. Return error number when the caller
27696 should return, otherwise -1.
27697 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
27698 call returning > 0 value.
27699 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
27700
765ade4b
AS
277012010-06-07 Andreas Schwab <schwab@redhat.com>
27702
27703 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
27704 libc_nonshared.a from targets in modules-names.
27705
80da2e09
KS
277062010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
27707
27708 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
27709 requires it.
27710
158db122
LM
277112010-06-10 Luis Machado <luisgpm@br.ibm.com>
27712
27713 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
27714 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
27715 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
27716 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
27717
caa78cf8
AS
277182010-06-02 Andreas Schwab <schwab@redhat.com>
27719
27720 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
27721
b2ef2c01
UD
277222010-06-14 Ulrich Drepper <drepper@redhat.com>
27723
27724 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
27725 and F_GETPIPE_SZ.
27726 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
27727 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
27728 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27729 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27730 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
27731 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
27732
fbd643b6
RM
277332010-06-14 Roland McGrath <roland@redhat.com>
27734
27735 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
27736
f32f2869
JJ
277372010-06-07 Jakub Jelinek <jakub@redhat.com>
27738
27739 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
27740 __REDIRECT followed by __THROW.
27741 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
27742 * posix/getopt.h (getopt): Likewise.
27743
2a50c078
EPM
277442010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
27745
27746 * hurd/lookup-at.c (__file_name_lookup_at): Accept
27747 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
27748 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
27749 in AT_FLAGS.
27750 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
27751 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
27752
eb5ad2eb
LM
277532010-05-28 Luis Machado <luisgpm@br.ibm.com>
27754
27755 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
27756
3c88fe1e
L
277572010-05-26 H.J. Lu <hongjiu.lu@intel.com>
27758
27759 [BZ #11640]
27760 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27761 Properly check family and model.
27762
d2f73151
TY
277632010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
27764
27765 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
27766
ebd2e13d
LM
277672010-05-24 Luis Machado <luisgpm@br.ibm.com>
27768
27769 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
27770
b32b8b45
UD
277712010-05-21 Ulrich Drepper <drepper@redhat.com>
27772
27773 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
27774 symbol reference.
27775
9acbe24d
AS
277762010-05-19 Andreas Schwab <schwab@redhat.com>
27777
27778 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
27779 symbol reference.
27780
f0ccf6ea
AS
277812010-05-21 Andreas Schwab <schwab@redhat.com>
27782
3d04ff3a
AS
27783 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
27784 and internal_recvmmsg.
27785 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
27786 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
27787 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
27788 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
27789
f0ccf6ea
AS
27790 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
27791 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27792 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27793
5b08ac57
AS
277942010-05-20 Andreas Schwab <schwab@redhat.com>
27795
27796 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
27797
4828935d
LM
277982010-05-17 Luis Machado <luisgpm@br.ibm.com>
27799
27800 POWER7 optimizations.
27801 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
27802 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
27803
373d545e
UD
278042010-05-19 Ulrich Drepper <drepper@redhat.com>
27805
27806 * version.h: Update for 2.13 development version.
27807
21a2b1ae
AS
278082010-05-12 Andrew Stubbs <ams@codesourcery.com>
27809
27810 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
27811 exceptions. Return 0.
27812
3f7dcb2b
RM
278132010-05-07 Roland McGrath <roland@redhat.com>
27814
27815 * elf/ldconfig.c (main): Add a const.
27816
5f24d53a 278172010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 27818
a160f8d8
UD
27819 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
27820 (args_options): Add no-idn option.
27821 (ahosts_keys_int): Add idn_flags to ai_flags.
27822 (parse_option): Handle 'i' option to clear idn_flags.
27823
5f24d53a
UD
27824 * malloc/malloc.c (_int_free): Possible race in the most recently
27825 added check. Only act on the data if no current modification
27826 happened.
265bb1ce
UD
27827
27828See ChangeLog.17 for earlier changes.